@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/dist/index.js CHANGED
@@ -1,67 +1,67 @@
1
- var fn = Object.defineProperty;
2
- var St = Object.getOwnPropertySymbols, ln = Object.getPrototypeOf, hn = Object.prototype.hasOwnProperty, mn = Object.prototype.propertyIsEnumerable, pn = Reflect.get;
3
- var xt = (c) => {
4
- throw TypeError(c);
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 vn = (c, d, h) => d in c ? fn(c, d, { enumerable: !0, configurable: !0, writable: !0, value: h }) : c[d] = h;
7
- var bt = (c, d) => {
8
- var h = {};
9
- for (var f in c)
10
- hn.call(c, f) && d.indexOf(f) < 0 && (h[f] = c[f]);
11
- if (c != null && St)
12
- for (var f of St(c))
13
- d.indexOf(f) < 0 && mn.call(c, f) && (h[f] = c[f]);
14
- return h;
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 N = (c, d, h) => vn(c, typeof d != "symbol" ? d + "" : d, h), wn = (c, d, h) => d.has(c) || xt("Cannot " + h);
17
- var It = (c, d, h) => d.has(c) ? xt("Cannot add the same private member more than once") : d instanceof WeakSet ? d.add(c) : d.set(c, h);
18
- var Wt = (c, d, h) => (wn(c, d, "access private method"), h);
19
- var Pt = (c, d, h) => pn(ln(c), h, d);
20
- var q = (c, d, h) => new Promise((f, v) => {
21
- var y = (R) => {
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(h.next(R));
24
- } catch (D) {
25
- v(D);
23
+ v(S.next(T));
24
+ } catch (A) {
25
+ h(A);
26
26
  }
27
- }, E = (R) => {
27
+ }, m = (T) => {
28
28
  try {
29
- S(h.throw(R));
30
- } catch (D) {
31
- v(D);
29
+ v(S.throw(T));
30
+ } catch (A) {
31
+ h(A);
32
32
  }
33
- }, S = (R) => R.done ? f(R.value) : Promise.resolve(R.value).then(y, E);
34
- S((h = h.apply(c, d)).next());
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 gn(c, d) {
37
- for (var h = 0; h < d.length; h++) {
38
- const f = d[h];
39
- if (typeof f != "string" && !Array.isArray(f)) {
40
- for (const v in f)
41
- if (v !== "default" && !(v in c)) {
42
- const y = Object.getOwnPropertyDescriptor(f, v);
43
- y && Object.defineProperty(c, v, y.get ? y : {
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: () => f[v]
45
+ get: () => p[h]
46
46
  });
47
47
  }
48
48
  }
49
49
  }
50
- return Object.freeze(Object.defineProperty(c, Symbol.toStringTag, { value: "Module" }));
50
+ return Object.freeze(Object.defineProperty(a, Symbol.toStringTag, { value: "Module" }));
51
51
  }
52
- const be = !!(typeof window != "undefined" && window.document && window.document.createElement), Tt = 200;
53
- class He {
52
+ const Re = !!(typeof window != "undefined" && window.document && window.document.createElement), xi = 200;
53
+ class _e {
54
54
  constructor() {
55
- N(this, "tooltipElement", null);
56
- N(this, "tooltipContent", null);
57
- N(this, "tooltipClass", "soyio-tooltip");
58
- N(this, "hideTimeout", null);
59
- be && this.createTooltipElement();
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 d = document.querySelector(`.${this.tooltipClass}`);
63
- if (d) {
64
- this.tooltipElement = d, this.tooltipContent = this.tooltipElement.querySelector(".soyio-tooltip-content");
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 ${Tt}ms ease, transform ${Tt}ms ease;
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(d, h, f) {
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 = d, this.tooltipElement.style.opacity = "0", this.tooltipElement.style.transform = "scale(0.95)";
90
- const v = this.calculateOptimalPlacement(h, f);
91
- this.applyPlacement(v), requestAnimationFrame(() => {
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(d, h) {
96
- const f = this.tooltipElement.offsetWidth, v = this.tooltipElement.offsetHeight, { innerWidth: y, innerHeight: E } = window, S = 4, R = {
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: h - v - S,
99
- left: d - f / 2,
98
+ top: S - h - v,
99
+ left: c - p / 2,
100
100
  placement: "top"
101
101
  },
102
102
  bottom: {
103
- top: h + S,
104
- left: d - f / 2,
103
+ top: S + v,
104
+ left: c - p / 2,
105
105
  placement: "bottom"
106
106
  },
107
107
  right: {
108
- top: h - v / 2,
109
- left: d + S,
108
+ top: S - h / 2,
109
+ left: c + v,
110
110
  placement: "right"
111
111
  },
112
112
  left: {
113
- top: h - v / 2,
114
- left: d - f - S,
113
+ top: S - h / 2,
114
+ left: c - p - v,
115
115
  placement: "left"
116
116
  }
117
117
  };
118
- for (const [, k] of Object.entries(R))
119
- if (He.fitsInViewport(k, f, v, y, E))
120
- return k;
121
- const D = R.top;
122
- return D.left = Math.max(S, Math.min(D.left, y - f - S)), D.top = Math.max(S, Math.min(D.top, E - v - S)), D;
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(d, h, f, v, y) {
125
- return d.top >= 0 && d.left >= 0 && d.top + f <= y && d.left + h <= v;
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(d) {
128
- this.tooltipElement && (this.tooltipElement.style.left = `${d.left}px`, this.tooltipElement.style.top = `${d.top}px`);
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 d;
135
- (d = this.tooltipElement) == null || d.remove(), this.tooltipElement = null, this.tooltipContent = null, this.hideTimeout && (clearTimeout(this.hideTimeout), this.hideTimeout = null);
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 yn(c, d, h) {
139
- return q(this, null, function* () {
140
- if (!c.contentWindow)
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 f = yield Promise.resolve().then(() => _e);
142
+ const p = yield Promise.resolve().then(() => Ve);
143
143
  try {
144
- yield f.send(c.contentWindow, "SET_APPEARANCE", { appearance: d, identifier: h });
145
- } catch (v) {
146
- console.error("Failed to send appearance config:", v);
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 En = "IFRAME_READY", Sn = "IFRAME_HEIGHT_CHANGE", xn = "TOOLTIP_STATE_CHANGE", bn = "INFO_EVENT", In = "CONSENT_STATE_CHANGE", U = {
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 Ct, Rt, Ot, At, Nt;
160
- function Wn() {
161
- return q(this, null, function* () {
162
- const c = yield Promise.resolve().then(() => _e);
163
- Ct || Rt || Ot || At || Nt || (Ct = c.on(Sn, (d) => q(null, null, function* () {
164
- const h = d.data, f = U.onHeightChange[h.identifier];
165
- return f && f(h.height), Promise.resolve();
166
- })), Rt = c.on(En, (d) => q(null, null, function* () {
167
- const h = d.data, f = U.onIframeReady[h.identifier];
168
- return f && f(), Promise.resolve();
169
- })), Ot = c.on(xn, (d) => q(null, null, function* () {
170
- const h = d.data, f = U.onTooltipChange[h.identifier];
171
- return f && f(h), Promise.resolve();
172
- })), At = c.on(In, (d) => q(null, null, function* () {
173
- const h = d.data, f = U.onStateChange[h.identifier];
174
- return f && f(h), Promise.resolve();
175
- })), Nt = c.on(bn, (h) => q(null, [h], function* ({ data: d }) {
176
- const E = d, { identifier: f } = E, v = bt(E, ["identifier"]), y = U.onInfo[f];
177
- return y && y(v), Promise.resolve();
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 Mt(c, d) {
181
+ function Mi(a, c) {
182
182
  const {
183
- onHeightChange: h,
184
- onIframeReady: f,
185
- onTooltipChange: v,
186
- onStateChange: y,
187
- onInfo: E
188
- } = d;
189
- h && (U.onHeightChange[c] = h), f && (U.onIframeReady[c] = f), v && (U.onTooltipChange[c] = v), y && (U.onStateChange[c] = y), E && (U.onInfo[c] = E);
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 Pn(c) {
192
- delete U.onHeightChange[c], delete U.onIframeReady[c], delete U.onTooltipChange[c], delete U.onStateChange[c], delete U.onInfo[c];
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 Tn(c) {
195
- const d = document.getElementById(c);
196
- d && (console.warn("ConsentBox iframe already exists. Removing existing before mounting new one."), d.remove());
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 Cn(c) {
199
- const d = document.querySelector(c);
200
- if (!d)
201
- throw new Error(`Iframe div container with id '${c}' not found`);
202
- if (d.tagName.toLowerCase() !== "div")
203
- throw new Error(`Iframe container with id '${c}' must be a <div> element`);
204
- const h = d;
205
- return h.style.position = "relative", h.style.cssText += `
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: center !important;
215
+ align-items: flex-start !important;
211
216
  border: none !important;
212
217
  transition: height 0.35s !important;
213
218
  opacity: 1 !important;
214
- `, h;
219
+ width: 100% !important;
220
+ `, c;
215
221
  }
216
- function Rn(c, d, h) {
217
- const f = document.createElement("iframe");
218
- return f.id = d, f.src = c, f.style.cssText += `
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: ${h.minWidth} !important;
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
- `, f;
232
+ `, p;
227
233
  }
228
- function On() {
234
+ function Et() {
229
235
  return Math.random().toString(36).substring(2, 10);
230
236
  }
231
- const zt = "https://app.soyio.id", Lt = "https://sandbox.soyio.id", An = "https://privacy.soyio.id", Nn = "https://privacy-sandbox.soyio.id", Dn = [
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
- ], jn = "WIDGET_CLOSED", Mn = 420, zn = 720, Ln = 500, kn = {
245
+ ], Wt = "WIDGET_CLOSED", Ot = 420, Nt = 720, Bt = 500, Mt = {
240
246
  minWidth: "375px"
241
- }, Un = {
247
+ }, jt = {
242
248
  minWidth: "0px"
243
- }, Fn = {
249
+ }, zt = {
244
250
  minWidth: "375px"
245
251
  };
246
- class We {
247
- constructor(d) {
248
- N(this, "iframe", null);
249
- N(this, "skeleton", null);
250
- N(this, "options");
251
- N(this, "appearance");
252
- N(this, "tooltipManager");
253
- N(this, "defaultIframeCSSConfig", kn);
254
- N(this, "Skeleton", null);
255
- N(this, "defaultUniqueId");
256
- this.options = d, this.appearance = d.appearance || null, this.tooltipManager = new He(), this.defaultUniqueId = We.generateUniqueId();
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 On();
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(d) {
268
- if (!this.iframe || (this.iframe.style.height = `${d}px`, d > 0)) return;
269
- const { parentElement: h } = this.iframe;
270
- h && (h.style.display = "none");
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 q(this, null, function* () {
274
- this.iframe && (this.options.onReady && this.options.onReady(), yield yn(this.iframe, this.appearance, this.uniqueIdentifier), this.skeleton && this.skeleton.hide());
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(d) {
285
+ handleTooltipChange(c) {
278
286
  if (!this.iframe) return;
279
- const h = this.iframe.getBoundingClientRect(), { text: f, coordinates: v, isVisible: y } = d, E = v.x + h.left, S = v.y + h.top;
280
- y ? this.tooltipManager.show(f, E, S) : this.tooltipManager.hide();
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 q(this, null, function* () {
284
- yield Wn();
285
- const d = {
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
- Mt(this.uniqueIdentifier, d);
299
+ Mi(this.uniqueIdentifier, c);
292
300
  });
293
301
  }
294
- mount(d) {
295
- return q(this, null, function* () {
296
- if (!be) return this;
297
- yield this.setupListeners(), Tn(this.iframeIdentifier);
298
- const h = Cn(d), f = this.iframeUrl();
299
- return this.iframe = Rn(f, this.iframeIdentifier, this.defaultIframeCSSConfig), this.Skeleton && (this.skeleton = new this.Skeleton(this.uniqueIdentifier), this.skeleton.mount(h)), h.appendChild(this.iframe), this;
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
- be && (Pn(this.uniqueIdentifier), this.skeleton && (this.skeleton.hide(), this.skeleton = null), this.iframe && (this.iframe.remove(), this.iframe = null));
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 Hn {
307
- constructor(d) {
308
- N(this, "element");
309
- N(this, "identifier");
310
- this.identifier = `skeleton-${d}`, this.element = document.createElement("div"), this.element.id = this.identifier, this.element.style.cssText = `
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
- left: 50%;
313
- top: 50%;
314
- transform: translate(-50%, -50%);
336
+ top: 0;
337
+ left: 0;
315
338
  width: 100%;
316
- min-width: 375px;
317
- height: 120px;
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
- gap: 1rem;
346
+ box-sizing: border-box;
347
+ z-index: 1;
326
348
  `;
327
- const h = document.createElement("div");
328
- h.style.cssText = `
349
+ const A = document.createElement("div");
350
+ A.style.cssText = `
329
351
  padding: 1rem;
330
- height: 100%;
331
- max-width: 100%;
352
+ width: 100%;
353
+ box-sizing: border-box;
332
354
  display: flex;
333
355
  flex-direction: column;
334
- justify-content: space-between;
356
+ justify-content: flex-start;
357
+ gap: 0.75rem;
335
358
  `;
336
- const f = document.createElement("div");
337
- f.style.cssText = `
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 v = document.createElement("div");
343
- v.style.cssText = `
365
+ const K = document.createElement("div");
366
+ K.style.cssText = `
344
367
  width: 2rem;
345
368
  height: 2rem;
346
- background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
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 y = document.createElement("div");
353
- y.style.cssText = `
375
+ const Y = document.createElement("div");
376
+ Y.style.cssText = `
354
377
  height: 1rem;
355
378
  width: 30%;
356
- background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
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 E = document.createElement("div");
362
- E.style.cssText = `
363
- width: 1.5rem;
364
- height: 1.5rem;
365
- background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
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: 50%;
391
+ border-radius: .25rem;
369
392
  margin-left: auto;
370
- margin-right: 3px;
393
+ flex-shrink: 0;
371
394
  `;
372
- const S = document.createElement("div");
373
- S.style.cssText = `
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
- gap: 1rem;
408
+ flex-shrink: 0;
377
409
  `;
378
- const R = document.createElement("div");
379
- R.style.cssText = `
410
+ const ie = document.createElement("div");
411
+ ie.style.cssText = `
380
412
  width: 1rem;
381
413
  height: 1rem;
382
- background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
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 D = document.createElement("div");
390
- D.style.cssText = `
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 k = document.createElement("div");
397
- k.style.cssText = `
427
+ const de = document.createElement("div");
428
+ de.style.cssText = `
398
429
  height: 0.875rem;
399
430
  width: 80%;
400
- background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
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 X = document.createElement("div");
406
- if (X.style.cssText = `
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, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
440
+ background: linear-gradient(90deg, ${m} 25%, ${v} 50%, ${T} 75%);
410
441
  background-size: 200% 100%;
411
- animation: shimmer 1.5s infinite;
442
+ animation: shimmer 2s infinite;
412
443
  border-radius: 0.125rem;
413
444
  `, !document.getElementById("skeleton-animation")) {
414
- const J = document.createElement("style");
415
- J.id = "skeleton-animation", J.textContent = `
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
- `, document.head.appendChild(J);
451
+ @keyframes skeletonFadeOut {
452
+ 0% { opacity: 1; }
453
+ 100% { opacity: 0; }
454
+ }
455
+ `, document.head.appendChild(ae);
421
456
  }
422
- f.appendChild(v), f.appendChild(y), f.appendChild(E), D.appendChild(k), D.appendChild(X), S.appendChild(R), S.appendChild(D), h.appendChild(f), h.appendChild(S), this.element.appendChild(h);
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 d = document.getElementById(this.identifier);
426
- d && d.remove();
460
+ const c = document.getElementById(this.identifier);
461
+ c && c.remove();
427
462
  }
428
- mount(d) {
429
- this.cleanupExistingSkeleton(), d.appendChild(this.element);
463
+ mount(c) {
464
+ this.cleanupExistingSkeleton(), c.appendChild(this.element);
430
465
  }
431
466
  hide() {
432
- this.element.style.opacity = "0", setTimeout(() => this.element.remove(), 300);
467
+ this.element.style.animation = "skeletonFadeOut 0.2s ease-out forwards", setTimeout(() => this.element.remove(), 200);
433
468
  }
434
469
  }
435
- const qe = "2.17.0";
436
- function qn(c) {
437
- var E;
438
- const d = [
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
- ], h = (E = c.isSandbox) != null ? E : !1, f = c.developmentUrl || (h ? Lt : zt), v = new URLSearchParams();
445
- v.set("sdkVersion", qe), d.forEach((S) => {
446
- c[S] && v.set(S, c[S]);
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 y = v.toString();
449
- return `${f}/embed/consents/${c.consentTemplateId}${y ? `?${y}` : ""}`;
483
+ const g = h.toString();
484
+ return `${p}/embed/consents/${a.consentTemplateId}${g ? `?${g}` : ""}`;
450
485
  }
451
- class kt extends We {
452
- constructor(h) {
453
- super(h);
454
- N(this, "defaultIframePrefix", "consent-box");
455
- N(this, "defaultIframeCSSConfig", Un);
456
- N(this, "state", {
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 = Hn;
495
+ this.Skeleton = Ft;
461
496
  }
462
497
  get uniqueIdentifier() {
463
498
  return this.options.consentTemplateId;
464
499
  }
465
500
  iframeUrl() {
466
- return qn(this.options);
501
+ return Ht(this.options);
467
502
  }
468
- handleStateChange(h) {
469
- const { isSelected: f, actionToken: v } = h;
470
- this.state = { isSelected: f, actionToken: v }, this.options.onEvent({
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: f,
473
- actionToken: v
507
+ isSelected: p,
508
+ actionToken: h
474
509
  });
475
510
  }
476
511
  setupListeners() {
477
- return q(this, null, function* () {
478
- yield Pt(kt.prototype, this, "setupListeners").call(this), Mt(this.uniqueIdentifier, {
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 _n(c) {
488
- var y, E, S;
489
- const d = (y = c.isSandbox) != null ? y : !1, h = c.developmentUrl || (d ? Nn : An), f = new URLSearchParams();
490
- if (f.set("sdkVersion", qe), c.sessionToken ? f.set("sessionToken", c.sessionToken) : c.companyId && f.set("companyId", c.companyId), (E = c.enabledFeatures) != null && E.length && f.set("enabledFeatures", c.enabledFeatures.join(",")), (S = c.dataSubjects) != null && S.length && f.set("dataSubjects", c.dataSubjects.join(",")), c.requestReference && f.set("requestReference", c.requestReference), c.fileRequisites) {
491
- const R = JSON.stringify(c.fileRequisites);
492
- R !== "{}" && f.set("fileRequisites", R);
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
- const v = f.toString();
495
- return `${h}${v ? `?${v}` : ""}`;
529
+ a.demo && p.set("demo", "true");
530
+ const h = p.toString();
531
+ return `${S}${h ? `?${h}` : ""}`;
496
532
  }
497
- class ir extends We {
533
+ class pr extends xe {
498
534
  constructor() {
499
535
  super(...arguments);
500
- N(this, "defaultIframePrefix", "privacy-center");
501
- N(this, "_uniqueIdentifier", "privacy-center");
502
- N(this, "defaultIframeCSSConfig", Fn);
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 _n(this.options);
544
+ return Ut(this.options);
509
545
  }
510
546
  }
511
- const ar = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
547
+ const lr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
512
548
  __proto__: null
513
- }, Symbol.toStringTag, { value: "Module" })), Bn = "WIDGET_EVENT";
514
- function $n(c) {
515
- let d = "widget/";
516
- return "disclosureRequestId" in c.configProps ? d += ["disclosures", c.configProps.disclosureRequestId].join("/") : d += c.request, d;
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 Gn(c) {
519
- var y;
520
- const d = (y = c.isSandbox) != null ? y : !1, h = c.developmentUrl || (d ? Lt : zt), f = Object.entries(c.configProps).filter(([E, S]) => S || E === "disclosureRequestId").map(([E, S]) => `${E}=${encodeURIComponent(S)}`).join("&"), v = $n(c);
521
- return `${h}/${v}?sdk=web&sdkVersion=${qe}&${f}`;
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 Z = null, ke = null;
524
- function Fe(c = null) {
525
- Z && !Z.closed && Z.focus(), c == null || c.preventDefault();
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 Pe() {
528
- document.body.style.filter = "", document.body.removeEventListener("click", Fe);
563
+ function Ee() {
564
+ document.body.style.filter = "", document.body.removeEventListener("click", qe);
529
565
  }
530
- function Vn() {
531
- ke = setInterval(() => {
532
- (!Z || Z.closed) && (ke && clearInterval(ke), Pe());
533
- }, Ln);
566
+ function Vt() {
567
+ He = setInterval(() => {
568
+ (!Q || Q.closed) && (He && clearInterval(He), Ee());
569
+ }, Bt);
534
570
  }
535
- function Jn(c) {
536
- const d = Gn(c), h = Mn, f = zn, v = window.screenLeft !== void 0 ? window.screenLeft : window.screenX, y = window.screenTop !== void 0 ? window.screenTop : window.screenY, E = window.innerWidth || document.documentElement.clientWidth || window.screen.width, S = window.innerHeight || document.documentElement.clientHeight || window.screen.height, R = E / window.screen.availWidth, D = (E - h) / 2 / R + v, k = (S - f) / 2 / R + y, X = [
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=${h}`,
539
- `height=${f}`,
540
- `top=${k}`,
541
- `left=${D}`
542
- ].join(","), J = window.open("about:blank", "Soyio", X);
543
- J ? (Z = J, Z.location.href = d, document.body.style.filter = "blur(5px)", document.body.addEventListener("click", Fe), Fe(), Vn()) : (Pe(), alert("Debes habilitar las ventanas emergentes para poder iniciar el flujo."));
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 Yn() {
546
- Z && (Z.close(), Z = null), Pe();
581
+ function Yt() {
582
+ Q && (Q.close(), Q = null), Ee();
547
583
  }
548
- let me = null;
549
- function Zn() {
550
- me && (me.cancel(), me = null);
584
+ let ge = null;
585
+ function Zt() {
586
+ ge && (ge.cancel(), ge = null);
551
587
  }
552
- function Kn(c) {
553
- return q(this, null, function* () {
554
- const { onEvent: d } = c, h = yield Promise.resolve().then(() => _e);
555
- me && Zn(), me = h.on(Bn, (v) => q(null, [v], function* ({ data: f }) {
556
- return d(f), Dn.includes(f.eventName) ? Yn() : f.eventName === jn && Pe(), Promise.resolve();
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 Xn(c) {
561
- Kn(c);
596
+ function Xt(a) {
597
+ Qt(a);
562
598
  }
563
- var Ie, Ut;
564
- class sr {
565
- constructor(d) {
566
- It(this, Ie);
567
- N(this, "onEvent");
568
- this.onEvent = d.onEvent, be && (Jn(d), Xn({
569
- onEvent: Wt(this, Ie, Ut).bind(this)
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
- Ie = new WeakSet(), Ut = function(d) {
574
- this.onEvent(d);
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 Qn(c) {
577
- return c && c.__esModule && Object.prototype.hasOwnProperty.call(c, "default") ? c.default : c;
621
+ function or(a) {
622
+ return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
578
623
  }
579
- var Ue = { exports: {} }, xe = { exports: {} }, er = xe.exports, Dt;
580
- function tr() {
581
- return Dt || (Dt = 1, function(c, d) {
582
- (function(h, f) {
583
- c.exports = f();
584
- })(typeof self != "undefined" ? self : er, function() {
585
- return function(h) {
586
- var f = {};
587
- function v(y) {
588
- if (f[y]) return f[y].exports;
589
- var E = f[y] = {
590
- i: y,
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 h[y].call(E.exports, E, E.exports, v), E.l = !0, E.exports;
639
+ return S[g].call(m.exports, m, m.exports, h), m.l = !0, m.exports;
595
640
  }
596
- return v.m = h, v.c = f, v.d = function(y, E, S) {
597
- v.o(y, E) || Object.defineProperty(y, E, {
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: S
644
+ get: v
600
645
  });
601
- }, v.r = function(y) {
602
- typeof Symbol != "undefined" && Symbol.toStringTag && Object.defineProperty(y, Symbol.toStringTag, {
646
+ }, h.r = function(g) {
647
+ typeof Symbol != "undefined" && Symbol.toStringTag && Object.defineProperty(g, Symbol.toStringTag, {
603
648
  value: "Module"
604
- }), Object.defineProperty(y, "__esModule", {
649
+ }), Object.defineProperty(g, "__esModule", {
605
650
  value: !0
606
651
  });
607
- }, v.t = function(y, E) {
608
- if (1 & E && (y = v(y)), 8 & E || 4 & E && typeof y == "object" && y && y.__esModule) return y;
609
- var S = /* @__PURE__ */ Object.create(null);
610
- if (v.r(S), Object.defineProperty(S, "default", {
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: y
613
- }), 2 & E && typeof y != "string") for (var R in y) v.d(S, R, function(D) {
614
- return y[D];
615
- }.bind(null, R));
616
- return S;
617
- }, v.n = function(y) {
618
- var E = y && y.__esModule ? function() {
619
- return y.default;
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 y;
666
+ return g;
622
667
  };
623
- return v.d(E, "a", E), E;
624
- }, v.o = function(y, E) {
625
- return {}.hasOwnProperty.call(y, E);
626
- }, v.p = "", v(v.s = 0);
627
- }([function(h, f, v) {
628
- v.r(f), v.d(f, "Promise", function() {
629
- return P;
630
- }), v.d(f, "TYPES", function() {
631
- return cn;
632
- }), v.d(f, "ProxyWindow", function() {
633
- return $;
634
- }), v.d(f, "setup", function() {
635
- return Et;
636
- }), v.d(f, "destroy", function() {
637
- return un;
638
- }), v.d(f, "serializeMessage", function() {
639
- return rn;
640
- }), v.d(f, "deserializeMessage", function() {
641
- return on;
642
- }), v.d(f, "createProxyWindow", function() {
643
- return an;
644
- }), v.d(f, "toProxyWindow", function() {
645
- return sn;
646
- }), v.d(f, "on", function() {
647
- return re;
648
- }), v.d(f, "once", function() {
649
- return nn;
650
- }), v.d(f, "send", function() {
651
- return K;
652
- }), v.d(f, "markWindowKnown", function() {
653
- return ut;
654
- }), v.d(f, "cleanUpWindow", function() {
655
- return dn;
656
- }), v.d(f, "bridge", function() {
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 y(e) {
703
+ function g(e) {
659
704
  return {}.toString.call(e) === "[object RegExp]";
660
705
  }
661
- var E = `Call was rejected by callee.\r
706
+ var m = `Call was rejected by callee.\r
662
707
  `;
663
- function S(e) {
708
+ function v(e) {
664
709
  return e === void 0 && (e = window), e.location.protocol;
665
710
  }
666
- function R(e) {
711
+ function T(e) {
667
712
  if (e === void 0 && (e = window), e.mockDomain) {
668
- var n = e.mockDomain.split("//")[0];
669
- if (n) return n;
713
+ var t = e.mockDomain.split("//")[0];
714
+ if (t) return t;
670
715
  }
671
- return S(e);
716
+ return v(e);
672
717
  }
673
- function D(e) {
674
- return e === void 0 && (e = window), R(e) === "about:";
718
+ function A(e) {
719
+ return e === void 0 && (e = window), T(e) === "about:";
675
720
  }
676
- function k(e) {
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 (n) {
724
+ } catch (t) {
680
725
  }
681
726
  }
682
- function X(e) {
683
- if (e === void 0 && (e = window), e && !k(e)) try {
727
+ function K(e) {
728
+ if (e === void 0 && (e = window), e && !B(e)) try {
684
729
  return e.opener;
685
- } catch (n) {
730
+ } catch (t) {
686
731
  }
687
732
  }
688
- function J(e) {
733
+ function Y(e) {
689
734
  try {
690
735
  return !0;
691
- } catch (n) {
736
+ } catch (t) {
692
737
  }
693
738
  return !1;
694
739
  }
695
- function pe(e) {
740
+ function ee(e) {
696
741
  e === void 0 && (e = window);
697
- var n = e.location;
698
- if (!n) throw new Error("Can not read window location");
699
- var t = S(e);
700
- if (!t) throw new Error("Can not read window protocol");
701
- if (t === "file:") return "file://";
702
- if (t === "about:") {
703
- var r = k(e);
704
- return r && J() ? pe(r) : "about://";
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 o = n.host;
707
- if (!o) throw new Error("Can not read window host");
708
- return t + "//" + o;
751
+ var n = t.host;
752
+ if (!n) throw new Error("Can not read window host");
753
+ return i + "//" + n;
709
754
  }
710
- function F(e) {
755
+ function O(e) {
711
756
  e === void 0 && (e = window);
712
- var n = pe(e);
713
- return n && e.mockDomain && e.mockDomain.indexOf("mock:") === 0 ? e.mockDomain : n;
757
+ var t = ee(e);
758
+ return t && e.mockDomain && e.mockDomain.indexOf("mock:") === 0 ? e.mockDomain : t;
714
759
  }
715
- function Q(e) {
716
- if (!function(n) {
760
+ function J(e) {
761
+ if (!function(t) {
717
762
  try {
718
- if (n === window) return !0;
763
+ if (t === window) return !0;
719
764
  } catch (r) {
720
765
  }
721
766
  try {
722
- var t = Object.getOwnPropertyDescriptor(n, "location");
723
- if (t && t.enumerable === !1) return !1;
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 (D(n) && J()) return !0;
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), R(r) === "mock:";
733
- }(n) && J()) return !0;
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 (pe(n) === pe(window)) return !0;
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 || D(e) && J() || F(window) === F(e)) return !0;
744
- } catch (n) {
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 ve(e) {
749
- if (!Q(e)) throw new Error("Expected window to be same domain");
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 Be(e, n) {
753
- if (!e || !n) return !1;
754
- var t = k(n);
755
- return t ? t === e : function(r) {
756
- var o = [];
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
- o.push(r.parent), r = r.parent;
760
- } catch (i) {
804
+ n.push(r.parent), r = r.parent;
805
+ } catch (o) {
761
806
  }
762
- return o;
763
- }(n).indexOf(e) !== -1;
807
+ return n;
808
+ }(t).indexOf(e) !== -1;
764
809
  }
765
- function $e(e) {
766
- var n = [], t;
810
+ function de(e) {
811
+ var t = [], i;
767
812
  try {
768
- t = e.frames;
769
- } catch (u) {
770
- t = e;
813
+ i = e.frames;
814
+ } catch (d) {
815
+ i = e;
771
816
  }
772
817
  var r;
773
818
  try {
774
- r = t.length;
775
- } catch (u) {
819
+ r = i.length;
820
+ } catch (d) {
776
821
  }
777
- if (r === 0) return n;
822
+ if (r === 0) return t;
778
823
  if (r) {
779
- for (var o = 0; o < r; o++) {
780
- var i = void 0;
824
+ for (var n = 0; n < r; n++) {
825
+ var o = void 0;
781
826
  try {
782
- i = t[o];
783
- } catch (u) {
827
+ o = i[n];
828
+ } catch (d) {
784
829
  continue;
785
830
  }
786
- n.push(i);
831
+ t.push(o);
787
832
  }
788
- return n;
833
+ return t;
789
834
  }
790
- for (var a = 0; a < 100; a++) {
835
+ for (var s = 0; s < 100; s++) {
791
836
  var l = void 0;
792
837
  try {
793
- l = t[a];
794
- } catch (u) {
795
- return n;
838
+ l = i[s];
839
+ } catch (d) {
840
+ return t;
796
841
  }
797
- if (!l) return n;
798
- n.push(l);
842
+ if (!l) return t;
843
+ t.push(l);
799
844
  }
800
- return n;
845
+ return t;
801
846
  }
802
- var Ht = [], qt = [];
803
- function G(e, n) {
804
- n === void 0 && (n = !0);
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 (o) {
852
+ } catch (n) {
808
853
  return !0;
809
854
  }
810
855
  try {
811
856
  if (!e) return !0;
812
- } catch (o) {
857
+ } catch (n) {
813
858
  return !0;
814
859
  }
815
860
  try {
816
861
  if (e.closed) return !0;
817
- } catch (o) {
818
- return !o || o.message !== E;
862
+ } catch (n) {
863
+ return !n || n.message !== m;
819
864
  }
820
- if (n && Q(e)) try {
865
+ if (t && J(e)) try {
821
866
  if (e.mockclosed) return !0;
822
- } catch (o) {
867
+ } catch (n) {
823
868
  }
824
869
  try {
825
870
  if (!e.parent || !e.top) return !0;
826
- } catch (o) {
871
+ } catch (n) {
827
872
  }
828
- var t = function(o, i) {
829
- for (var a = 0; a < o.length; a++) try {
830
- if (o[a] === i) return a;
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
- }(Ht, e);
835
- if (t !== -1) {
836
- var r = qt[t];
837
- if (r && function(o) {
838
- if (!o.contentWindow || !o.parentNode) return !0;
839
- var i = o.ownerDocument;
840
- if (i && i.documentElement && !i.documentElement.contains(o)) {
841
- for (var a = o; a.parentNode && a.parentNode !== a; ) a = a.parentNode;
842
- if (!a.host || !i.documentElement.contains(a.host)) return !0;
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 Ge(e) {
850
- return e === void 0 && (e = window), X(e = e || window) || k(e) || void 0;
894
+ function Je(e) {
895
+ return e === void 0 && (e = window), K(e = e || window) || B(e) || void 0;
851
896
  }
852
- function oe(e, n) {
897
+ function fe(e, t) {
853
898
  if (typeof e == "string") {
854
- if (typeof n == "string") return e === "*" || n === e;
855
- if (y(n) || Array.isArray(n)) return !1;
899
+ if (typeof t == "string") return e === "*" || t === e;
900
+ if (g(t) || Array.isArray(t)) return !1;
856
901
  }
857
- return y(e) ? y(n) ? e.toString() === n.toString() : !Array.isArray(n) && !!n.match(e) : !!Array.isArray(e) && (Array.isArray(n) ? JSON.stringify(e) === JSON.stringify(n) : !y(n) && e.some(function(t) {
858
- return oe(t, n);
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 we(e) {
906
+ function ve(e) {
862
907
  try {
863
908
  if (e === window) return !0;
864
- } catch (n) {
865
- if (n && n.message === E) return !0;
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 (n) {
870
- if (n && n.message === E) return !0;
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 (n) {
875
- if (n && n.message === E) return !0;
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 (n) {
880
- if (n && n.message === E) return !0;
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 (n) {
885
- if (n && n.message === E) return !0;
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 (n) {
890
- if (n && n.message === E) return !0;
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 (n) {
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 (n) {
944
+ } catch (t) {
900
945
  }
901
946
  return !1;
902
947
  }
903
- function Ve(e) {
904
- if (Q(e)) return ve(e).frameElement;
905
- for (var n = 0, t = document.querySelectorAll("iframe"); n < t.length; n++) {
906
- var r = t[n];
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 _t(e) {
911
- if (function(t) {
912
- return t === void 0 && (t = window), !!k(t);
955
+ function qi(e) {
956
+ if (function(i) {
957
+ return i === void 0 && (i = window), !!B(i);
913
958
  }(e)) {
914
- var n = Ve(e);
915
- if (n && n.parentElement) {
916
- n.parentElement.removeChild(n);
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 (t) {
967
+ } catch (i) {
923
968
  }
924
969
  }
925
- function ee(e) {
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 n = {}.toString;
931
- if (n) {
932
- var t = n.call(e);
933
- if (t === "[object Window]" || t === "[object global]" || t === "[object DOMWindow]") return !1;
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 Je = [], ie = [], Te = 0, ae;
942
- function Ye() {
943
- if (!Te && ae) {
944
- var e = ae;
945
- ae = null, e.resolve();
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 Ce() {
949
- Te += 1;
993
+ function Ae() {
994
+ De += 1;
950
995
  }
951
- function se() {
952
- Te -= 1, Ye();
996
+ function le() {
997
+ De -= 1, Qe();
953
998
  }
954
- var P = function() {
955
- function e(t) {
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 = [], t) {
958
- var o, i, a = !1, l = !1, u = !1;
959
- Ce();
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
- t(function(s) {
962
- u ? r.resolve(s) : (a = !0, o = s);
963
- }, function(s) {
964
- u ? r.reject(s) : (l = !0, i = s);
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 (s) {
967
- se(), this.reject(s);
1011
+ } catch (f) {
1012
+ le(), this.reject(f);
968
1013
  return;
969
1014
  }
970
- se(), u = !0, a ? this.resolve(o) : l && this.reject(i);
1015
+ le(), d = !0, s ? this.resolve(n) : l && this.reject(o);
971
1016
  }
972
1017
  }
973
- var n = e.prototype;
974
- return n.resolve = function(t) {
1018
+ var t = e.prototype;
1019
+ return t.resolve = function(i) {
975
1020
  if (this.resolved || this.rejected) return this;
976
- if (ee(t)) throw new Error("Can not resolve promise with another promise");
977
- return this.resolved = !0, this.value = t, this.dispatch(), this;
978
- }, n.reject = function(t) {
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 (ee(t)) throw new Error("Can not reject promise with another promise");
982
- if (!t) {
983
- var o = t && typeof t.toString == "function" ? t.toString() : {}.toString.call(t);
984
- t = new Error("Expected reject to be called with Error, got " + o);
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 = t, this.errorHandled || setTimeout(function() {
987
- r.errorHandled || function(i, a) {
988
- if (Je.indexOf(i) === -1) {
989
- Je.push(i), setTimeout(function() {
990
- throw i;
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 < ie.length; l++) ie[l](i, a);
1037
+ for (var l = 0; l < ce.length; l++) ce[l](o, s);
993
1038
  }
994
- }(t, r);
1039
+ }(i, r);
995
1040
  }, 1), this.dispatch(), this;
996
- }, n.asyncReject = function(t) {
997
- return this.errorHandled = !0, this.reject(t), this;
998
- }, n.dispatch = function() {
999
- var t = this.resolved, r = this.rejected, o = this.handlers;
1000
- if (!this.dispatching && (t || r)) {
1001
- this.dispatching = !0, Ce();
1002
- for (var i = function(g, I) {
1003
- return g.then(function(x) {
1004
- I.resolve(x);
1005
- }, function(x) {
1006
- I.reject(x);
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
- }, a = 0; a < o.length; a++) {
1009
- var l = o[a], u = l.onSuccess, s = l.onError, w = l.promise, m = void 0;
1010
- if (t) try {
1011
- m = u ? u(this.value) : this.value;
1012
- } catch (g) {
1013
- w.reject(g);
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 (!s) {
1018
- w.reject(this.error);
1062
+ if (!f) {
1063
+ P.reject(this.error);
1019
1064
  continue;
1020
1065
  }
1021
1066
  try {
1022
- m = s(this.error);
1023
- } catch (g) {
1024
- w.reject(g);
1067
+ u = f(this.error);
1068
+ } catch ($) {
1069
+ P.reject($);
1025
1070
  continue;
1026
1071
  }
1027
1072
  }
1028
- if (m instanceof e && (m.resolved || m.rejected)) {
1029
- var p = m;
1030
- p.resolved ? w.resolve(p.value) : w.reject(p.error), p.errorHandled = !0;
1031
- } else ee(m) ? m instanceof e && (m.resolved || m.rejected) ? m.resolved ? w.resolve(m.value) : w.reject(m.error) : i(m, w) : w.resolve(m);
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
- o.length = 0, this.dispatching = !1, se();
1078
+ n.length = 0, this.dispatching = !1, le();
1034
1079
  }
1035
- }, n.then = function(t, r) {
1036
- if (t && typeof t != "function" && !t.call) throw new Error("Promise.then expected a function for success handler");
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 o = new e();
1083
+ var n = new e();
1039
1084
  return this.handlers.push({
1040
- promise: o,
1041
- onSuccess: t,
1085
+ promise: n,
1086
+ onSuccess: i,
1042
1087
  onError: r
1043
- }), this.errorHandled = !0, this.dispatch(), o;
1044
- }, n.catch = function(t) {
1045
- return this.then(void 0, t);
1046
- }, n.finally = function(t) {
1047
- if (t && typeof t != "function" && !t.call) throw new Error("Promise.finally expected a function");
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(t).then(function() {
1094
+ return e.try(i).then(function() {
1050
1095
  return r;
1051
1096
  });
1052
1097
  }, function(r) {
1053
- return e.try(t).then(function() {
1098
+ return e.try(i).then(function() {
1054
1099
  throw r;
1055
1100
  });
1056
1101
  });
1057
- }, n.timeout = function(t, r) {
1058
- var o = this;
1102
+ }, t.timeout = function(i, r) {
1103
+ var n = this;
1059
1104
  if (this.resolved || this.rejected) return this;
1060
- var i = setTimeout(function() {
1061
- o.resolved || o.rejected || o.reject(r || new Error("Promise timed out after " + t + "ms"));
1062
- }, t);
1063
- return this.then(function(a) {
1064
- return clearTimeout(i), a;
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
- }, n.toPromise = function() {
1111
+ }, t.toPromise = function() {
1067
1112
  if (typeof Promise == "undefined") throw new TypeError("Could not find Promise");
1068
1113
  return Promise.resolve(this);
1069
- }, n.lazy = function() {
1114
+ }, t.lazy = function() {
1070
1115
  return this.errorHandled = !0, this;
1071
- }, e.resolve = function(t) {
1072
- return t instanceof e ? t : ee(t) ? new e(function(r, o) {
1073
- return t.then(r, o);
1074
- }) : new e().resolve(t);
1075
- }, e.reject = function(t) {
1076
- return new e().reject(t);
1077
- }, e.asyncReject = function(t) {
1078
- return new e().asyncReject(t);
1079
- }, e.all = function(t) {
1080
- var r = new e(), o = t.length, i = [].slice();
1081
- if (!o)
1082
- return r.resolve(i), r;
1083
- for (var a = function(s, w, m) {
1084
- return w.then(function(p) {
1085
- i[s] = p, (o -= 1) == 0 && r.resolve(i);
1086
- }, function(p) {
1087
- m.reject(p);
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 < t.length; l++) {
1090
- var u = t[l];
1091
- if (u instanceof e) {
1092
- if (u.resolved) {
1093
- i[l] = u.value, o -= 1;
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 (!ee(u)) {
1097
- i[l] = u, o -= 1;
1141
+ } else if (!re(d)) {
1142
+ o[l] = d, n -= 1;
1098
1143
  continue;
1099
1144
  }
1100
- a(l, e.resolve(u), r);
1145
+ s(l, e.resolve(d), r);
1101
1146
  }
1102
- return o === 0 && r.resolve(i), r;
1103
- }, e.hash = function(t) {
1104
- var r = {}, o = [], i = function(l) {
1105
- if (t.hasOwnProperty(l)) {
1106
- var u = t[l];
1107
- ee(u) ? o.push(u.then(function(s) {
1108
- r[l] = s;
1109
- })) : r[l] = u;
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 a in t) i(a);
1113
- return e.all(o).then(function() {
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(t, r) {
1117
- return e.all(t.map(r));
1118
- }, e.onPossiblyUnhandledException = function(t) {
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 ie.push(r), {
1165
+ return ce.push(r), {
1121
1166
  cancel: function() {
1122
- ie.splice(ie.indexOf(r), 1);
1167
+ ce.splice(ce.indexOf(r), 1);
1123
1168
  }
1124
1169
  };
1125
- }(t);
1126
- }, e.try = function(t, r, o) {
1127
- if (t && typeof t != "function" && !t.call) throw new Error("Promise.try expected a function");
1128
- var i;
1129
- Ce();
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
- i = t.apply(r, o || []);
1132
- } catch (a) {
1133
- return se(), e.reject(a);
1176
+ o = i.apply(r, n || []);
1177
+ } catch (s) {
1178
+ return le(), e.reject(s);
1134
1179
  }
1135
- return se(), e.resolve(i);
1136
- }, e.delay = function(t) {
1180
+ return le(), e.resolve(o);
1181
+ }, e.delay = function(i) {
1137
1182
  return new e(function(r) {
1138
- setTimeout(r, t);
1183
+ setTimeout(r, i);
1139
1184
  });
1140
- }, e.isPromise = function(t) {
1141
- return !!(t && t instanceof e) || ee(t);
1185
+ }, e.isPromise = function(i) {
1186
+ return !!(i && i instanceof e) || re(i);
1142
1187
  }, e.flush = function() {
1143
- return function(t) {
1144
- var r = ae = ae || new t();
1145
- return Ye(), r;
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 ge(e, n) {
1150
- for (var t = 0; t < e.length; t++) try {
1151
- if (e[t] === n) return t;
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 Re = function() {
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 t = /* @__PURE__ */ new WeakMap(), r = {};
1162
- return Object.freeze(r), t.set(r, "__testvalue__"), t.get(r) === "__testvalue__";
1163
- } catch (o) {
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 (t) {
1213
+ } catch (i) {
1169
1214
  }
1170
1215
  this.keys = [], this.values = [];
1171
1216
  }
1172
- var n = e.prototype;
1173
- return n._cleanupClosedWindows = function() {
1174
- for (var t = this.weakmap, r = this.keys, o = 0; o < r.length; o++) {
1175
- var i = r[o];
1176
- if (we(i) && G(i)) {
1177
- if (t) try {
1178
- t.delete(i);
1179
- } catch (a) {
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(o, 1), this.values.splice(o, 1), o -= 1;
1226
+ r.splice(n, 1), this.values.splice(n, 1), n -= 1;
1182
1227
  }
1183
1228
  }
1184
- }, n.isSafeToReadWrite = function(t) {
1185
- return !we(t);
1186
- }, n.set = function(t, r) {
1187
- if (!t) throw new Error("WeakMap expected key");
1188
- var o = this.weakmap;
1189
- if (o) try {
1190
- o.set(t, r);
1191
- } catch (w) {
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(t)) try {
1195
- var i = this.name, a = t[i];
1196
- a && a[0] === t ? a[1] = r : Object.defineProperty(t, i, {
1197
- value: [t, r],
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 (w) {
1246
+ } catch (P) {
1202
1247
  }
1203
1248
  this._cleanupClosedWindows();
1204
- var l = this.keys, u = this.values, s = ge(l, t);
1205
- s === -1 ? (l.push(t), u.push(r)) : u[s] = r;
1206
- }, n.get = function(t) {
1207
- if (!t) throw new Error("WeakMap expected key");
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(t)) return r.get(t);
1211
- } catch (a) {
1255
+ if (r.has(i)) return r.get(i);
1256
+ } catch (s) {
1212
1257
  delete this.weakmap;
1213
1258
  }
1214
- if (this.isSafeToReadWrite(t)) try {
1215
- var o = t[this.name];
1216
- return o && o[0] === t ? o[1] : void 0;
1217
- } catch (a) {
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 i = ge(this.keys, t);
1221
- if (i !== -1) return this.values[i];
1222
- }, n.delete = function(t) {
1223
- if (!t) throw new Error("WeakMap expected key");
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(t);
1271
+ r.delete(i);
1227
1272
  } catch (l) {
1228
1273
  delete this.weakmap;
1229
1274
  }
1230
- if (this.isSafeToReadWrite(t)) try {
1231
- var o = t[this.name];
1232
- o && o[0] === t && (o[0] = o[1] = void 0);
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 i = this.keys, a = ge(i, t);
1237
- a !== -1 && (i.splice(a, 1), this.values.splice(a, 1));
1238
- }, n.has = function(t) {
1239
- if (!t) throw new Error("WeakMap expected key");
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(t)) return !0;
1243
- } catch (i) {
1287
+ if (r.has(i)) return !0;
1288
+ } catch (o) {
1244
1289
  delete this.weakmap;
1245
1290
  }
1246
- if (this.isSafeToReadWrite(t)) try {
1247
- var o = t[this.name];
1248
- return !(!o || o[0] !== t);
1249
- } catch (i) {
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(), ge(this.keys, t) !== -1;
1252
- }, n.getOrSet = function(t, r) {
1253
- if (this.has(t)) return this.get(t);
1254
- var o = r();
1255
- return this.set(t, o), o;
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 Ze(e) {
1303
+ function Xe(e) {
1259
1304
  return e.name || e.__name__ || e.displayName || "anonymous";
1260
1305
  }
1261
- function Ke(e, n) {
1306
+ function Ke(e, t) {
1262
1307
  try {
1263
- delete e.name, e.name = n;
1264
- } catch (t) {
1308
+ delete e.name, e.name = t;
1309
+ } catch (i) {
1265
1310
  }
1266
- return e.__name__ = e.displayName = n, e;
1311
+ return e.__name__ = e.displayName = t, e;
1267
1312
  }
1268
- function Y() {
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(n) {
1273
- if (typeof btoa == "function") return btoa(encodeURIComponent(n).replace(/%([0-9A-F]{2})/g, function(t, r) {
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(n, "utf8").toString("base64").replace(/[=]/g, "");
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 ye;
1281
- function Xe(e) {
1325
+ var be;
1326
+ function ei(e) {
1282
1327
  try {
1283
- return JSON.stringify([].slice.call(e), function(n, t) {
1284
- return typeof t == "function" ? "memoize[" + function(r) {
1285
- if (ye = ye || new Re(), r == null || typeof r != "object" && typeof r != "function") throw new Error("Invalid object");
1286
- var o = ye.get(r);
1287
- return o || (o = typeof r + ":" + Y(), ye.set(r, o)), o;
1288
- }(t) + "]" : typeof window != "undefined" && t instanceof window.Element || t !== null && typeof t == "object" && t.nodeType === 1 && typeof t.style == "object" && typeof t.ownerDocument == "object" ? {} : t;
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 (n) {
1335
+ } catch (t) {
1291
1336
  throw new Error("Arguments not serializable -- can not be used to memoize");
1292
1337
  }
1293
1338
  }
1294
- function Bt() {
1339
+ function _i() {
1295
1340
  return {};
1296
1341
  }
1297
- var ue = 0, Qe = 0;
1298
- function ce(e, n) {
1299
- n === void 0 && (n = {});
1300
- var t = n.thisNamespace, r = t !== void 0 && t, o = n.time, i, a, l = ue;
1301
- ue += 1;
1302
- var u = function() {
1303
- for (var s = arguments.length, w = new Array(s), m = 0; m < s; m++) w[m] = arguments[m];
1304
- l < Qe && (i = null, a = null, l = ue, ue += 1);
1305
- var p;
1306
- p = r ? (a = a || new Re()).getOrSet(this, Bt) : i = i || {};
1307
- var g;
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
- g = Xe(w);
1310
- } catch (T) {
1354
+ $ = ei(P);
1355
+ } catch (k) {
1311
1356
  return e.apply(this, arguments);
1312
1357
  }
1313
- var I = p[g];
1314
- if (I && o && Date.now() - I.time < o && (delete p[g], I = null), I) return I.value;
1315
- var x = Date.now(), b = e.apply(this, arguments);
1316
- return p[g] = {
1317
- time: x,
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 u.reset = function() {
1322
- i = null, a = null;
1323
- }, Ke(u, (n.name || Ze(e)) + "::memoized");
1366
+ return d.reset = function() {
1367
+ o = null, s = null;
1368
+ }, Ke(d, (t.name || Xe(e)) + "::memoized");
1324
1369
  }
1325
- ce.clear = function() {
1326
- Qe = ue;
1370
+ ue.clear = function() {
1371
+ ii = Se;
1327
1372
  };
1328
- function $t(e) {
1329
- var n = {};
1330
- function t() {
1331
- for (var r = arguments, o = this, i = arguments.length, a = new Array(i), l = 0; l < i; l++) a[l] = arguments[l];
1332
- var u = Xe(a);
1333
- return n.hasOwnProperty(u) || (n[u] = P.try(function() {
1334
- return e.apply(o, r);
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 n[u];
1337
- })), n[u];
1381
+ delete t[d];
1382
+ })), t[d];
1338
1383
  }
1339
- return t.reset = function() {
1340
- n = {};
1341
- }, Ke(t, Ze(e) + "::promiseMemoized");
1384
+ return i.reset = function() {
1385
+ t = {};
1386
+ }, Ke(i, Xe(e) + "::promiseMemoized");
1342
1387
  }
1343
- function te() {
1388
+ function ne() {
1344
1389
  }
1345
- function de(e, n) {
1346
- if (n === void 0 && (n = 1), n >= 3) return "stringifyError stack overflow";
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 t = e && e.stack, r = e && e.message;
1352
- if (t && r) return t.indexOf(r) !== -1 ? t : r + `
1353
- ` + t;
1354
- if (t) return t;
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 (o) {
1359
- return "Error while stringifying error: " + de(o, n + 1);
1403
+ } catch (n) {
1404
+ return "Error while stringifying error: " + Ce(n, t + 1);
1360
1405
  }
1361
1406
  }
1362
- function et(e) {
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
- ce(function(e) {
1410
+ ue(function(e) {
1366
1411
  if (Object.values) return Object.values(e);
1367
- var n = [];
1368
- for (var t in e) e.hasOwnProperty(t) && n.push(e[t]);
1369
- return n;
1412
+ var t = [];
1413
+ for (var i in e) e.hasOwnProperty(i) && t.push(e[i]);
1414
+ return t;
1370
1415
  });
1371
- function Oe(e) {
1416
+ function We(e) {
1372
1417
  return {}.toString.call(e) === "[object RegExp]";
1373
1418
  }
1374
- function fe(e, n, t) {
1375
- if (e.hasOwnProperty(n)) return e[n];
1376
- var r = t();
1377
- return e[n] = r, r;
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 tt() {
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 nt() {
1429
+ function ni() {
1385
1430
  return !!document.body && document.readyState === "complete";
1386
1431
  }
1387
- function rt() {
1432
+ function oi() {
1388
1433
  return !!document.body && document.readyState === "interactive";
1389
1434
  }
1390
- ce(function() {
1391
- return new P(function(e) {
1392
- if (nt() || rt()) return e();
1393
- var n = setInterval(function() {
1394
- if (nt() || rt())
1395
- return clearInterval(n), e();
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 Ee = typeof document != "undefined" ? document.currentScript : null, Gt = ce(function() {
1400
- if (Ee || (Ee = function() {
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 (a) {
1406
- return a.stack || "";
1450
+ } catch (s) {
1451
+ return s.stack || "";
1407
1452
  }
1408
- }(), n = /.*at [^(]*\((.*):(.+):(.+)\)$/gi.exec(e), t = n && n[1];
1409
- if (!t) return;
1410
- for (var r = 0, o = [].slice.call(document.getElementsByTagName("script")).reverse(); r < o.length; r++) {
1411
- var i = o[r];
1412
- if (i.src && i.src === t) return i;
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 (a) {
1459
+ } catch (s) {
1415
1460
  }
1416
- }())) return Ee;
1461
+ }())) return we;
1417
1462
  throw new Error("Can not determine current script");
1418
- }), Vt = Y();
1419
- ce(function() {
1463
+ }), Ji = Z();
1464
+ ue(function() {
1420
1465
  var e;
1421
1466
  try {
1422
- e = Gt();
1467
+ e = Vi();
1423
1468
  } catch (r) {
1424
- return Vt;
1469
+ return Ji;
1425
1470
  }
1426
- var n = e.getAttribute("data-uid");
1427
- if (n && typeof n == "string" || (n = e.getAttribute("data-uid-auto")) && typeof n == "string") return n;
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 t = function(r) {
1430
- for (var o = "", i = 0; i < r.length; i++) {
1431
- var a = r[i].charCodeAt(0) * i;
1432
- r[i + 1] && (a += r[i + 1].charCodeAt(0) * (i - 1)), o += String.fromCharCode(97 + Math.abs(a) % 26);
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 o;
1479
+ return n;
1435
1480
  }(JSON.stringify({
1436
1481
  src: e.src,
1437
1482
  dataset: e.dataset
1438
1483
  }));
1439
- n = "uid_" + t.slice(t.length - 30);
1440
- } else n = Y();
1441
- return e.setAttribute("data-uid-auto", n), n;
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 le(e) {
1488
+ function Pe(e) {
1444
1489
  e === void 0 && (e = window);
1445
- var n = "__post_robot_10_0_46__";
1446
- return e !== window ? e[n] : e[n] = e[n] || {};
1490
+ var t = "__post_robot_10_0_46__";
1491
+ return e !== window ? e[t] : e[t] = e[t] || {};
1447
1492
  }
1448
- var ot = function() {
1493
+ var si = function() {
1449
1494
  return {};
1450
1495
  };
1451
- function z(e, n) {
1452
- return e === void 0 && (e = "store"), n === void 0 && (n = ot), fe(le(), e, function() {
1453
- var t = n();
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 t.hasOwnProperty(r);
1501
+ return i.hasOwnProperty(r);
1457
1502
  },
1458
- get: function(r, o) {
1459
- return t.hasOwnProperty(r) ? t[r] : o;
1503
+ get: function(r, n) {
1504
+ return i.hasOwnProperty(r) ? i[r] : n;
1460
1505
  },
1461
- set: function(r, o) {
1462
- return t[r] = o, o;
1506
+ set: function(r, n) {
1507
+ return i[r] = n, n;
1463
1508
  },
1464
1509
  del: function(r) {
1465
- delete t[r];
1510
+ delete i[r];
1466
1511
  },
1467
- getOrSet: function(r, o) {
1468
- return fe(t, r, o);
1512
+ getOrSet: function(r, n) {
1513
+ return he(i, r, n);
1469
1514
  },
1470
1515
  reset: function() {
1471
- t = n();
1516
+ i = t();
1472
1517
  },
1473
1518
  keys: function() {
1474
- return Object.keys(t);
1519
+ return Object.keys(i);
1475
1520
  }
1476
1521
  };
1477
1522
  });
1478
1523
  }
1479
- var Jt = function() {
1524
+ var Yi = function() {
1480
1525
  };
1481
- function Se() {
1482
- var e = le();
1483
- return e.WINDOW_WILDCARD = e.WINDOW_WILDCARD || new Jt(), e.WINDOW_WILDCARD;
1484
- }
1485
- function H(e, n) {
1486
- return e === void 0 && (e = "store"), n === void 0 && (n = ot), z("windowStore").getOrSet(e, function() {
1487
- var t = new Re(), r = function(o) {
1488
- return t.getOrSet(o, n);
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(o) {
1492
- return r(o).hasOwnProperty(e);
1536
+ has: function(n) {
1537
+ return r(n).hasOwnProperty(e);
1493
1538
  },
1494
- get: function(o, i) {
1495
- var a = r(o);
1496
- return a.hasOwnProperty(e) ? a[e] : i;
1539
+ get: function(n, o) {
1540
+ var s = r(n);
1541
+ return s.hasOwnProperty(e) ? s[e] : o;
1497
1542
  },
1498
- set: function(o, i) {
1499
- return r(o)[e] = i, i;
1543
+ set: function(n, o) {
1544
+ return r(n)[e] = o, o;
1500
1545
  },
1501
- del: function(o) {
1502
- delete r(o)[e];
1546
+ del: function(n) {
1547
+ delete r(n)[e];
1503
1548
  },
1504
- getOrSet: function(o, i) {
1505
- return fe(r(o), e, i);
1549
+ getOrSet: function(n, o) {
1550
+ return he(r(n), e, o);
1506
1551
  }
1507
1552
  };
1508
1553
  });
1509
1554
  }
1510
- function it() {
1511
- return z("instance").getOrSet("instanceID", Y);
1555
+ function fi() {
1556
+ return M("instance").getOrSet("instanceID", Z);
1512
1557
  }
1513
- function at(e, n) {
1514
- var t = n.domain, r = H("helloPromises"), o = r.get(e);
1515
- o && o.resolve({
1516
- domain: t
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 i = P.resolve({
1519
- domain: t
1563
+ var o = R.resolve({
1564
+ domain: i
1520
1565
  });
1521
- return r.set(e, i), i;
1566
+ return r.set(e, o), o;
1522
1567
  }
1523
- function Ae(e, n) {
1524
- return (0, n.send)(e, "postrobot_hello", {
1525
- instanceID: it()
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(t) {
1530
- var r = t.origin, o = t.data.instanceID;
1531
- return at(e, {
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: o
1581
+ instanceID: n
1537
1582
  };
1538
1583
  });
1539
1584
  }
1540
- function st(e, n) {
1541
- var t = n.send;
1585
+ function ai(e, t) {
1586
+ var i = t.send;
1542
1587
  return H("windowInstanceIDPromises").getOrSet(e, function() {
1543
- return Ae(e, {
1544
- send: t
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 ut(e) {
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 ct(e) {
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 ne(e, n) {
1604
+ function oe(e, t) {
1560
1605
  return {
1561
1606
  __type__: e,
1562
- __val__: n
1607
+ __val__: t
1563
1608
  };
1564
1609
  }
1565
- var _, Yt = ((_ = {}).function = function() {
1566
- }, _.error = function(e) {
1567
- return ne("error", {
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
- }, _.promise = function() {
1574
- }, _.regex = function(e) {
1575
- return ne("regex", e.source);
1576
- }, _.date = function(e) {
1577
- return ne("date", e.toJSON());
1578
- }, _.array = function(e) {
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
- }, _.object = function(e) {
1625
+ }, U.object = function(e) {
1581
1626
  return e;
1582
- }, _.string = function(e) {
1627
+ }, U.string = function(e) {
1583
1628
  return e;
1584
- }, _.number = function(e) {
1629
+ }, U.number = function(e) {
1585
1630
  return e;
1586
- }, _.boolean = function(e) {
1631
+ }, U.boolean = function(e) {
1587
1632
  return e;
1588
- }, _.null = function(e) {
1633
+ }, U.null = function(e) {
1589
1634
  return e;
1590
- }, _[void 0] = function(e) {
1591
- return ne("undefined", e);
1592
- }, _), Zt = {}, B, Kt = ((B = {}).function = function() {
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
- }, B.error = function(e) {
1595
- var n = e.stack, t = e.code, r = e.data, o = new Error(e.message);
1596
- return o.code = t, r && (o.data = r), o.stack = n + `
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
- ` + o.stack, o;
1599
- }, B.promise = function() {
1643
+ ` + n.stack, n;
1644
+ }, q.promise = function() {
1600
1645
  throw new Error("Promise serialization is not implemented; nothing to deserialize");
1601
- }, B.regex = function(e) {
1646
+ }, q.regex = function(e) {
1602
1647
  return new RegExp(e);
1603
- }, B.date = function(e) {
1648
+ }, q.date = function(e) {
1604
1649
  return new Date(e);
1605
- }, B.array = function(e) {
1650
+ }, q.array = function(e) {
1606
1651
  return e;
1607
- }, B.object = function(e) {
1652
+ }, q.object = function(e) {
1608
1653
  return e;
1609
- }, B.string = function(e) {
1654
+ }, q.string = function(e) {
1610
1655
  return e;
1611
- }, B.number = function(e) {
1656
+ }, q.number = function(e) {
1612
1657
  return e;
1613
- }, B.boolean = function(e) {
1658
+ }, q.boolean = function(e) {
1614
1659
  return e;
1615
- }, B.null = function(e) {
1660
+ }, q.null = function(e) {
1616
1661
  return e;
1617
- }, B[void 0] = function() {
1618
- }, B), Xt = {};
1619
- new P(function(e) {
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 n = setInterval(function() {
1666
+ var t = setInterval(function() {
1622
1667
  if (window.document && window.document.body)
1623
- return clearInterval(n), e(window.document.body);
1668
+ return clearInterval(t), e(window.document.body);
1624
1669
  }, 10);
1625
1670
  });
1626
- function De() {
1627
- for (var e = z("idToProxyWindow"), n = 0, t = e.keys(); n < t.length; n++) {
1628
- var r = t[n];
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 dt(e, n) {
1633
- var t = n.send, r = n.id, o = r === void 0 ? Y() : r, i = e.then(function(u) {
1634
- if (Q(u)) return ve(u).name;
1635
- }), a = e.then(function(u) {
1636
- if (G(u)) throw new Error("Window is closed, can not determine type");
1637
- return X(u) ? "popup" : "iframe";
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
- i.catch(te), a.catch(te);
1684
+ o.catch(ne), s.catch(ne);
1640
1685
  var l = function() {
1641
- return e.then(function(u) {
1642
- if (!G(u)) return Q(u) ? ve(u).name : i;
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: o,
1691
+ id: n,
1647
1692
  getType: function() {
1648
- return a;
1693
+ return s;
1649
1694
  },
1650
- getInstanceID: $t(function() {
1651
- return e.then(function(u) {
1652
- return st(u, {
1653
- send: t
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(_t);
1703
+ return e.then(qi);
1659
1704
  },
1660
1705
  getName: l,
1661
1706
  focus: function() {
1662
- return e.then(function(u) {
1663
- u.focus();
1707
+ return e.then(function(d) {
1708
+ d.focus();
1664
1709
  });
1665
1710
  },
1666
1711
  isClosed: function() {
1667
- return e.then(function(u) {
1668
- return G(u);
1712
+ return e.then(function(d) {
1713
+ return G(d);
1669
1714
  });
1670
1715
  },
1671
- setLocation: function(u, s) {
1672
- return s === void 0 && (s = {}), e.then(function(w) {
1673
- var m = window.location.protocol + "//" + window.location.host, p = s.method, g = p === void 0 ? "get" : p, I = s.body;
1674
- if (u.indexOf("/") === 0) u = "" + m + u;
1675
- else if (!u.match(/^https?:\/\//) && u.indexOf(m) !== 0) throw new Error("Expected url to be http or https url, or absolute path, got " + JSON.stringify(u));
1676
- if (g === "post") return l().then(function(x) {
1677
- if (!x) throw new Error("Can not post to window without target name");
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 T = b.url, M = b.target, O = b.body, C = b.method, L = C === void 0 ? "post" : C, W = document.createElement("form");
1680
- if (W.setAttribute("target", M), W.setAttribute("method", L), W.setAttribute("action", T), W.style.display = "none", O) for (var A = 0, V = Object.keys(O); A < V.length; A++) {
1681
- var j, he = V[A], Le = document.createElement("input");
1682
- Le.setAttribute("name", he), Le.setAttribute("value", (j = O[he]) == null ? void 0 : j.toString()), W.appendChild(Le);
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
- tt().appendChild(W), W.submit(), tt().removeChild(W);
1729
+ ri().appendChild(I), I.submit(), ri().removeChild(I);
1685
1730
  })({
1686
- url: u,
1687
- target: x,
1688
- method: g,
1689
- body: I
1731
+ url: d,
1732
+ target: y,
1733
+ method: $,
1734
+ body: w
1690
1735
  });
1691
1736
  });
1692
- if (g !== "get") throw new Error("Unsupported method: " + g);
1693
- if (Q(w)) try {
1694
- if (w.location && typeof w.location.replace == "function") {
1695
- w.location.replace(u);
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 (x) {
1743
+ } catch (y) {
1699
1744
  }
1700
- w.location = u;
1745
+ P.location = d;
1701
1746
  });
1702
1747
  },
1703
- setName: function(u) {
1704
- return e.then(function(s) {
1705
- var w = Q(s), m = Ve(s);
1706
- if (!w) throw new Error("Can not set name for cross-domain window: " + u);
1707
- ve(s).name = u, m && m.setAttribute("name", u), i = P.resolve(u);
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 $ = function() {
1713
- function e(t) {
1714
- var r = t.send, o = t.win, i = t.serializedWindow;
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 P(), this.serializedWindow = i || dt(this.actualWindowPromise, {
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
- }), z("idToProxyWindow").set(this.getID(), this), o && this.setWindow(o, {
1762
+ }), M("idToProxyWindow").set(this.getID(), this), n && this.setWindow(n, {
1718
1763
  send: r
1719
1764
  });
1720
1765
  }
1721
- var n = e.prototype;
1722
- return n.getID = function() {
1766
+ var t = e.prototype;
1767
+ return t.getID = function() {
1723
1768
  return this.serializedWindow.id;
1724
- }, n.getType = function() {
1769
+ }, t.getType = function() {
1725
1770
  return this.serializedWindow.getType();
1726
- }, n.isPopup = function() {
1727
- return this.getType().then(function(t) {
1728
- return t === "popup";
1771
+ }, t.isPopup = function() {
1772
+ return this.getType().then(function(i) {
1773
+ return i === "popup";
1729
1774
  });
1730
- }, n.setLocation = function(t, r) {
1731
- var o = this;
1732
- return this.serializedWindow.setLocation(t, r).then(function() {
1733
- return o;
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
- }, n.getName = function() {
1780
+ }, t.getName = function() {
1736
1781
  return this.serializedWindow.getName();
1737
- }, n.setName = function(t) {
1782
+ }, t.setName = function(i) {
1738
1783
  var r = this;
1739
- return this.serializedWindow.setName(t).then(function() {
1784
+ return this.serializedWindow.setName(i).then(function() {
1740
1785
  return r;
1741
1786
  });
1742
- }, n.close = function() {
1743
- var t = this;
1787
+ }, t.close = function() {
1788
+ var i = this;
1744
1789
  return this.serializedWindow.close().then(function() {
1745
- return t;
1790
+ return i;
1746
1791
  });
1747
- }, n.focus = function() {
1748
- var t = this, r = this.isPopup(), o = this.getName(), i = P.hash({
1792
+ }, t.focus = function() {
1793
+ var i = this, r = this.isPopup(), n = this.getName(), o = R.hash({
1749
1794
  isPopup: r,
1750
- name: o
1795
+ name: n
1751
1796
  }).then(function(l) {
1752
- var u = l.name;
1753
- l.isPopup && u && window.open("", u, "noopener");
1754
- }), a = this.serializedWindow.focus();
1755
- return P.all([i, a]).then(function() {
1756
- return t;
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
- }, n.isClosed = function() {
1803
+ }, t.isClosed = function() {
1759
1804
  return this.serializedWindow.isClosed();
1760
- }, n.getWindow = function() {
1805
+ }, t.getWindow = function() {
1761
1806
  return this.actualWindow;
1762
- }, n.setWindow = function(t, r) {
1763
- var o = r.send;
1764
- this.actualWindow = t, this.actualWindowPromise.resolve(this.actualWindow), this.serializedWindow = dt(this.actualWindowPromise, {
1765
- send: o,
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(t, this);
1768
- }, n.awaitWindow = function() {
1812
+ }), H("winToProxyWindow").set(i, this);
1813
+ }, t.awaitWindow = function() {
1769
1814
  return this.actualWindowPromise;
1770
- }, n.matchWindow = function(t, r) {
1771
- var o = this, i = r.send;
1772
- return P.try(function() {
1773
- return o.actualWindow ? t === o.actualWindow : P.hash({
1774
- proxyInstanceID: o.getInstanceID(),
1775
- knownWindowInstanceID: st(t, {
1776
- send: i
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(a) {
1779
- var l = a.proxyInstanceID === a.knownWindowInstanceID;
1780
- return l && o.setWindow(t, {
1781
- send: i
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
- }, n.unwrap = function() {
1830
+ }, t.unwrap = function() {
1786
1831
  return this.actualWindow || this;
1787
- }, n.getInstanceID = function() {
1832
+ }, t.getInstanceID = function() {
1788
1833
  return this.serializedWindow.getInstanceID();
1789
- }, n.shouldClean = function() {
1834
+ }, t.shouldClean = function() {
1790
1835
  return !!(this.actualWindow && G(this.actualWindow));
1791
- }, n.serialize = function() {
1836
+ }, t.serialize = function() {
1792
1837
  return this.serializedWindow;
1793
- }, e.unwrap = function(t) {
1794
- return e.isProxyWindow(t) ? t.unwrap() : t;
1795
- }, e.serialize = function(t, r) {
1796
- var o = r.send;
1797
- return De(), e.toProxyWindow(t, {
1798
- send: o
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(t, r) {
1801
- var o = r.send;
1802
- return De(), z("idToProxyWindow").get(t.id) || new e({
1803
- serializedWindow: t,
1804
- send: o
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(t) {
1807
- return !!(t && !we(t) && t.isProxyWindow);
1808
- }, e.toProxyWindow = function(t, r) {
1809
- var o = r.send;
1810
- if (De(), e.isProxyWindow(t)) return t;
1811
- var i = t;
1812
- return H("winToProxyWindow").get(i) || new e({
1813
- win: i,
1814
- send: o
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 je(e, n, t, r, o) {
1819
- var i = H("methodStore"), a = z("proxyWindowMethods");
1820
- $.isProxyWindow(r) ? a.set(e, {
1821
- val: n,
1822
- name: t,
1823
- domain: o,
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
- }) : (a.del(e), i.getOrSet(r, function() {
1870
+ }) : (s.del(e), o.getOrSet(r, function() {
1826
1871
  return {};
1827
1872
  })[e] = {
1828
- domain: o,
1829
- name: t,
1830
- val: n,
1873
+ domain: n,
1874
+ name: i,
1875
+ val: t,
1831
1876
  source: r
1832
1877
  });
1833
1878
  }
1834
- function ft(e, n) {
1835
- var t = H("methodStore"), r = z("proxyWindowMethods");
1836
- return t.getOrSet(e, function() {
1879
+ function Si(e, t) {
1880
+ var i = H("methodStore"), r = M("proxyWindowMethods");
1881
+ return i.getOrSet(e, function() {
1837
1882
  return {};
1838
- })[n] || r.get(n);
1839
- }
1840
- function lt(e, n, t, r, o) {
1841
- a = (i = {
1842
- on: o.on,
1843
- send: o.send
1844
- }).on, l = i.send, z("builtinListeners").getOrSet("functionCalls", function() {
1845
- return a("postrobot_method", {
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(w) {
1848
- var m = w.source, p = w.origin, g = w.data, I = g.id, x = g.name, b = ft(m, I);
1849
- if (!b) throw new Error("Could not find method '" + x + "' with id: " + g.id + " in " + F(window));
1850
- var T = b.source, M = b.domain, O = b.val;
1851
- return P.try(function() {
1852
- if (!oe(M, p)) throw new Error("Method '" + g.name + "' domain " + JSON.stringify(Oe(b.domain) ? b.domain.source : b.domain) + " does not match origin " + p + " in " + F(window));
1853
- if ($.isProxyWindow(T)) return T.matchWindow(m, {
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(C) {
1856
- if (!C) throw new Error("Method call '" + g.name + "' failed - proxy window does not match source in " + F(window));
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 O.apply({
1860
- source: m,
1861
- origin: p
1862
- }, g.args);
1863
- }, function(C) {
1864
- return P.try(function() {
1865
- if (O.onError) return O.onError(C);
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 C.stack && (C.stack = "Remote call to " + x + "(" + function(L) {
1868
- return L === void 0 && (L = []), (W = L, [].slice.call(W)).map(function(A) {
1869
- return typeof A == "string" ? "'" + A + "'" : A === void 0 ? "undefined" : A === null ? "null" : typeof A == "boolean" ? A.toString() : Array.isArray(A) ? "[ ... ]" : typeof A == "object" ? "{ ... }" : typeof A == "function" ? "() => { ... }" : "<" + typeof A + ">";
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 W;
1872
- }(g.args) + `) failed
1916
+ var I;
1917
+ }($.args) + `) failed
1873
1918
 
1874
- ` + C.stack), C;
1919
+ ` + x.stack), x;
1875
1920
  });
1876
- }).then(function(C) {
1921
+ }).then(function(x) {
1877
1922
  return {
1878
- result: C,
1879
- id: I,
1880
- name: x
1923
+ result: x,
1924
+ id: w,
1925
+ name: y
1881
1926
  };
1882
1927
  });
1883
1928
  });
1884
1929
  });
1885
- var i, a, l, u = t.__id__ || Y();
1886
- e = $.unwrap(e);
1887
- var s = t.__name__ || t.name || r;
1888
- return typeof s == "string" && typeof s.indexOf == "function" && s.indexOf("anonymous::") === 0 && (s = s.replace("anonymous::", r + "::")), $.isProxyWindow(e) ? (je(u, t, s, e, n), e.awaitWindow().then(function(w) {
1889
- je(u, t, s, w, n);
1890
- })) : je(u, t, s, e, n), ne("cross_domain_function", {
1891
- id: u,
1892
- name: s
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 ht(e, n, t, r) {
1896
- var o, i = r.on, a = r.send;
1897
- return function(l, u) {
1898
- u === void 0 && (u = Zt);
1899
- var s = JSON.stringify(l, function(w) {
1900
- var m = this[w];
1901
- if (Ne(this)) return m;
1902
- var p = ct(m);
1903
- if (!p) return m;
1904
- var g = u[p] || Yt[p];
1905
- return g ? g(m, w) : m;
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 s === void 0 ? "undefined" : s;
1908
- }(t, ((o = {}).promise = function(l, u) {
1909
- return function(s, w, m, p, g) {
1910
- return ne("cross_domain_zalgo_promise", {
1911
- then: lt(s, w, function(I, x) {
1912
- return m.then(I, x);
1913
- }, p, {
1914
- on: g.on,
1915
- send: g.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, n, l, u, {
1919
- on: i,
1920
- send: a
1963
+ }(e, t, l, d, {
1964
+ on: o,
1965
+ send: s
1921
1966
  });
1922
- }, o.function = function(l, u) {
1923
- return lt(e, n, l, u, {
1924
- on: i,
1925
- send: a
1967
+ }, n.function = function(l, d) {
1968
+ return ui(e, t, l, d, {
1969
+ on: o,
1970
+ send: s
1926
1971
  });
1927
- }, o.object = function(l) {
1928
- return we(l) || $.isProxyWindow(l) ? ne("cross_domain_window", $.serialize(l, {
1929
- send: a
1972
+ }, n.object = function(l) {
1973
+ return ve(l) || _.isProxyWindow(l) ? oe("cross_domain_window", _.serialize(l, {
1974
+ send: s
1930
1975
  })) : l;
1931
- }, o));
1932
- }
1933
- function mt(e, n, t, r) {
1934
- var o, i = r.send;
1935
- return function(a, l) {
1936
- if (l === void 0 && (l = Xt), a !== "undefined") return JSON.parse(a, function(u, s) {
1937
- if (Ne(this)) return s;
1938
- var w, m;
1939
- if (Ne(s) ? (w = s.__type__, m = s.__val__) : (w = ct(s), m = s), !w) return m;
1940
- var p = l[w] || Kt[w];
1941
- return p ? p(m, u) : m;
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
- }(t, ((o = {}).cross_domain_zalgo_promise = function(a) {
1944
- return function(l, u, s) {
1945
- return new P(s.then);
1946
- }(0, 0, a);
1947
- }, o.cross_domain_function = function(a) {
1948
- return function(l, u, s, w) {
1949
- var m = s.id, p = s.name, g = w.send, I = function(b) {
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 T() {
1952
- var M = arguments;
1953
- return $.toProxyWindow(l, {
1954
- send: g
1955
- }).awaitWindow().then(function(O) {
1956
- var C = ft(O, m);
1957
- if (C && C.val !== T) return C.val.apply({
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: F()
1960
- }, M);
1961
- var L = [].slice.call(M);
1962
- return b.fireAndForget ? g(O, "postrobot_method", {
1963
- id: m,
1964
- name: p,
1965
- args: L
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: u,
2012
+ domain: d,
1968
2013
  fireAndForget: !0
1969
- }) : g(O, "postrobot_method", {
1970
- id: m,
1971
- name: p,
1972
- args: L
2014
+ }) : $(E, "postrobot_method", {
2015
+ id: u,
2016
+ name: C,
2017
+ args: j
1973
2018
  }, {
1974
- domain: u,
2019
+ domain: d,
1975
2020
  fireAndForget: !1
1976
- }).then(function(W) {
1977
- return W.data.result;
2021
+ }).then(function(I) {
2022
+ return I.data.result;
1978
2023
  });
1979
- }).catch(function(O) {
1980
- throw O;
2024
+ }).catch(function(E) {
2025
+ throw E;
1981
2026
  });
1982
2027
  }
1983
- return T.__name__ = p, T.__origin__ = u, T.__source__ = l, T.__id__ = m, T.origin = u, T;
1984
- }, x = I();
1985
- return x.fireAndForget = I({
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
- }), x;
1988
- }(e, n, a, {
1989
- send: i
2032
+ }), y;
2033
+ }(e, t, s, {
2034
+ send: o
1990
2035
  });
1991
- }, o.cross_domain_window = function(a) {
1992
- return $.deserialize(a, {
1993
- send: i
2036
+ }, n.cross_domain_window = function(s) {
2037
+ return _.deserialize(s, {
2038
+ send: o
1994
2039
  });
1995
- }, o));
2040
+ }, n));
1996
2041
  }
1997
- var Me = {};
1998
- Me.postrobot_post_message = function(e, n, t) {
1999
- t.indexOf("file:") === 0 && (t = "*"), e.postMessage(n, t);
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, n, t, r) {
2002
- var o = r.on, i = r.send;
2003
- return P.try(function() {
2004
- var a = H().getOrSet(e, function() {
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 a.buffer = a.buffer || [], a.buffer.push(t), a.flush = a.flush || P.flush().then(function() {
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 = ht(e, n, ((u = {}).__post_robot_10_0_46__ = a.buffer || [], u), {
2010
- on: o,
2011
- send: i
2012
- }), u;
2013
- delete a.buffer;
2014
- for (var s = Object.keys(Me), w = [], m = 0; m < s.length; m++) {
2015
- var p = s[m];
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
- Me[p](e, l, n);
2018
- } catch (g) {
2019
- w.push(g);
2062
+ je[C](e, l, t);
2063
+ } catch ($) {
2064
+ P.push($);
2020
2065
  }
2021
2066
  }
2022
- if (w.length === s.length) throw new Error(`All post-robot messaging strategies failed:
2067
+ if (P.length === f.length) throw new Error(`All post-robot messaging strategies failed:
2023
2068
 
2024
- ` + w.map(function(g, I) {
2025
- return I + ". " + de(g);
2069
+ ` + P.map(function($, w) {
2070
+ return w + ". " + Ce($);
2026
2071
  }).join(`
2027
2072
 
2028
2073
  `));
2029
- }), a.flush.then(function() {
2030
- delete a.flush;
2074
+ }), s.flush.then(function() {
2075
+ delete s.flush;
2031
2076
  });
2032
- }).then(te);
2077
+ }).then(ne);
2033
2078
  }
2034
- function pt(e) {
2035
- return z("responseListeners").get(e);
2079
+ function Pi(e) {
2080
+ return M("responseListeners").get(e);
2036
2081
  }
2037
- function vt(e) {
2038
- z("responseListeners").del(e);
2082
+ function $i(e) {
2083
+ M("responseListeners").del(e);
2039
2084
  }
2040
- function wt(e) {
2041
- return z("erroredResponseListeners").has(e);
2085
+ function gi(e) {
2086
+ return M("erroredResponseListeners").has(e);
2042
2087
  }
2043
- function gt(e) {
2044
- var n = e.name, t = e.win, r = e.domain, o = H("requestListeners");
2045
- if (t === "*" && (t = null), r === "*" && (r = null), !n) throw new Error("Name required to get request listener");
2046
- for (var i = 0, a = [t, Se()]; i < a.length; i++) {
2047
- var l = a[i];
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 u = o.get(l);
2050
- if (u) {
2051
- var s = u[n];
2052
- if (s) {
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 (s[r]) return s[r];
2055
- if (s.__domain_regex__) for (var w = 0, m = s.__domain_regex__; w < m.length; w++) {
2056
- var p = m[w], g = p.listener;
2057
- if (oe(p.regex, r)) return g;
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 (s["*"]) return s["*"];
2105
+ if (f["*"]) return f["*"];
2061
2106
  }
2062
2107
  }
2063
2108
  }
2064
2109
  }
2065
2110
  }
2066
- function Qt(e, n, t, r) {
2067
- var o = r.on, i = r.send, a = gt({
2068
- name: t.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: n
2071
- }), l = t.name === "postrobot_method" && t.data && typeof t.data.name == "string" ? t.data.name + "()" : t.name;
2072
- function u(s, w, m) {
2073
- return P.flush().then(function() {
2074
- if (!t.fireAndForget && !G(e)) try {
2075
- return ze(e, n, {
2076
- id: Y(),
2077
- origin: F(window),
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: t.hash,
2080
- name: t.name,
2081
- ack: s,
2082
- data: w,
2083
- error: m
2124
+ hash: i.hash,
2125
+ name: i.name,
2126
+ ack: f,
2127
+ data: P,
2128
+ error: u
2084
2129
  }, {
2085
- on: o,
2086
- send: i
2130
+ on: n,
2131
+ send: o
2087
2132
  });
2088
- } catch (p) {
2089
- throw new Error("Send response message failed for " + l + " in " + F() + `
2133
+ } catch (C) {
2134
+ throw new Error("Send response message failed for " + l + " in " + O() + `
2090
2135
 
2091
- ` + de(p));
2136
+ ` + Ce(C));
2092
2137
  }
2093
2138
  });
2094
2139
  }
2095
- return P.all([P.flush().then(function() {
2096
- if (!t.fireAndForget && !G(e)) try {
2097
- return ze(e, n, {
2098
- id: Y(),
2099
- origin: F(window),
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: t.hash,
2102
- name: t.name
2146
+ hash: i.hash,
2147
+ name: i.name
2103
2148
  }, {
2104
- on: o,
2105
- send: i
2149
+ on: n,
2150
+ send: o
2106
2151
  });
2107
- } catch (s) {
2108
- throw new Error("Send ack message failed for " + l + " in " + F() + `
2152
+ } catch (f) {
2153
+ throw new Error("Send ack message failed for " + l + " in " + O() + `
2109
2154
 
2110
- ` + de(s));
2155
+ ` + Ce(f));
2111
2156
  }
2112
- }), P.try(function() {
2113
- if (!a) throw new Error("No handler found for post message: " + t.name + " from " + n + " in " + window.location.protocol + "//" + window.location.host + window.location.pathname);
2114
- return a.handler({
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: n,
2117
- data: t.data
2161
+ origin: t,
2162
+ data: i.data
2118
2163
  });
2119
- }).then(function(s) {
2120
- return u("success", s);
2121
- }, function(s) {
2122
- return u("error", null, s);
2123
- })]).then(te).catch(function(s) {
2124
- if (a && a.handleError) return a.handleError(s);
2125
- throw s;
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 en(e, n, t) {
2129
- if (!wt(t.hash)) {
2130
- var r = pt(t.hash);
2131
- if (!r) throw new Error("No handler found for post message ack for message: " + t.name + " from " + n + " in " + window.location.protocol + "//" + window.location.host + window.location.pathname);
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 (!oe(r.domain, n)) throw new Error("Ack origin " + n + " does not match domain " + r.domain.toString());
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 (o) {
2136
- r.promise.reject(o);
2180
+ } catch (n) {
2181
+ r.promise.reject(n);
2137
2182
  }
2138
2183
  r.ack = !0;
2139
2184
  }
2140
2185
  }
2141
- function tn(e, n, t) {
2142
- if (!wt(t.hash)) {
2143
- var r = pt(t.hash);
2144
- if (!r) throw new Error("No handler found for post message response for message: " + t.name + " from " + n + " in " + window.location.protocol + "//" + window.location.host + window.location.pathname);
2145
- if (!oe(r.domain, n)) throw new Error("Response origin " + n + " does not match domain " + (o = r.domain, Array.isArray(o) ? "(" + o.join(" | ") + ")" : y(o) ? "RegExp(" + o.toString() + ")" : o.toString()));
2146
- var o;
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
- vt(t.hash), t.ack === "error" ? r.promise.reject(t.error) : t.ack === "success" && r.promise.resolve({
2193
+ $i(i.hash), i.ack === "error" ? r.promise.reject(i.error) : i.ack === "success" && r.promise.resolve({
2149
2194
  source: e,
2150
- origin: n,
2151
- data: t.data
2195
+ origin: t,
2196
+ data: i.data
2152
2197
  });
2153
2198
  }
2154
2199
  }
2155
- function yt(e, n) {
2156
- var t = n.on, r = n.send, o = z("receivedMessages");
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 (w) {
2204
+ } catch (P) {
2160
2205
  return;
2161
2206
  }
2162
- var i = e.source, a = e.origin, l = function(w, m, p, g) {
2163
- var I = g.on, x = g.send, b;
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 = mt(m, p, w, {
2166
- on: I,
2167
- send: x
2210
+ b = hi(u, C, P, {
2211
+ on: w,
2212
+ send: y
2168
2213
  });
2169
- } catch (M) {
2214
+ } catch (N) {
2170
2215
  return;
2171
2216
  }
2172
2217
  if (b && typeof b == "object" && b !== null) {
2173
- var T = b.__post_robot_10_0_46__;
2174
- if (Array.isArray(T)) return T;
2218
+ var k = b.__post_robot_10_0_46__;
2219
+ if (Array.isArray(k)) return k;
2175
2220
  }
2176
- }(e.data, i, a, {
2177
- on: t,
2221
+ }(e.data, o, s, {
2222
+ on: i,
2178
2223
  send: r
2179
2224
  });
2180
2225
  if (l) {
2181
- ut(i);
2182
- for (var u = 0; u < l.length; u++) {
2183
- var s = l[u];
2184
- if (o.has(s.id) || (o.set(s.id, !0), G(i) && !s.fireAndForget)) return;
2185
- s.origin.indexOf("file:") === 0 && (a = "file://");
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
- s.type === "postrobot_message_request" ? Qt(i, a, s, {
2188
- on: t,
2232
+ f.type === "postrobot_message_request" ? et(o, s, f, {
2233
+ on: i,
2189
2234
  send: r
2190
- }) : s.type === "postrobot_message_response" ? tn(i, a, s) : s.type === "postrobot_message_ack" && en(i, a, s);
2191
- } catch (w) {
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 w;
2238
+ throw P;
2194
2239
  }, 0);
2195
2240
  }
2196
2241
  }
2197
2242
  }
2198
2243
  }
2199
- function re(e, n, t) {
2244
+ function se(e, t, i) {
2200
2245
  if (!e) throw new Error("Expected name");
2201
- if (typeof (n = n || {}) == "function" && (t = n, n = {}), !t) throw new Error("Expected handler");
2202
- var r = function o(i, a) {
2203
- var l = i.name, u = i.win, s = i.domain, w = H("requestListeners");
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 (u && u !== "*" && $.isProxyWindow(u)) {
2206
- var m = u.awaitWindow().then(function(j) {
2207
- return o({
2250
+ if (d && d !== "*" && _.isProxyWindow(d)) {
2251
+ var u = d.awaitWindow().then(function(W) {
2252
+ return n({
2208
2253
  name: l,
2209
- win: j,
2210
- domain: s
2211
- }, a);
2254
+ win: W,
2255
+ domain: f
2256
+ }, s);
2212
2257
  });
2213
2258
  return {
2214
2259
  cancel: function() {
2215
- m.then(function(j) {
2216
- return j.cancel();
2217
- }, te);
2260
+ u.then(function(W) {
2261
+ return W.cancel();
2262
+ }, ne);
2218
2263
  }
2219
2264
  };
2220
2265
  }
2221
- var p = u;
2222
- if (Array.isArray(p)) {
2223
- for (var g = [], I = 0, x = p; I < x.length; I++) g.push(o({
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: s,
2226
- win: x[I]
2227
- }, a));
2270
+ domain: f,
2271
+ win: y[w]
2272
+ }, s));
2228
2273
  return {
2229
2274
  cancel: function() {
2230
- for (var j = 0; j < g.length; j++) g[j].cancel();
2275
+ for (var W = 0; W < $.length; W++) $[W].cancel();
2231
2276
  }
2232
2277
  };
2233
2278
  }
2234
- if (Array.isArray(s)) {
2235
- for (var b = [], T = 0, M = s; T < M.length; T++) b.push(o({
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: p,
2238
- domain: M[T]
2239
- }, a));
2282
+ win: C,
2283
+ domain: N[k]
2284
+ }, s));
2240
2285
  return {
2241
2286
  cancel: function() {
2242
- for (var j = 0; j < b.length; j++) b[j].cancel();
2287
+ for (var W = 0; W < b.length; W++) b[W].cancel();
2243
2288
  }
2244
2289
  };
2245
2290
  }
2246
- var O = gt({
2291
+ var E = mi({
2247
2292
  name: l,
2248
- win: p,
2249
- domain: s
2293
+ win: C,
2294
+ domain: f
2250
2295
  });
2251
- p && p !== "*" || (p = Se());
2252
- var C = (s = s || "*").toString();
2253
- if (O) throw p && s ? new Error("Request listener already exists for " + l + " on domain " + s.toString() + " for " + (p === Se() ? "wildcard" : "specified") + " window") : p ? new Error("Request listener already exists for " + l + " for " + (p === Se() ? "wildcard" : "specified") + " window") : s ? new Error("Request listener already exists for " + l + " on domain " + s.toString()) : new Error("Request listener already exists for " + l);
2254
- var L = w.getOrSet(p, function() {
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
- }), W = fe(L, l, function() {
2301
+ }), I = he(j, l, function() {
2257
2302
  return {};
2258
- }), A, V;
2259
- return Oe(s) ? (A = fe(W, "__domain_regex__", function() {
2303
+ }), D, V;
2304
+ return We(f) ? (D = he(I, "__domain_regex__", function() {
2260
2305
  return [];
2261
2306
  })).push(V = {
2262
- regex: s,
2263
- listener: a
2264
- }) : W[C] = a, {
2307
+ regex: f,
2308
+ listener: s
2309
+ }) : I[x] = s, {
2265
2310
  cancel: function() {
2266
- delete W[C], V && (A.splice(A.indexOf(V, 1)), A.length || delete W.__domain_regex__), Object.keys(W).length || delete L[l], p && !Object.keys(L).length && w.del(p);
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: n.window,
2272
- domain: n.domain || "*"
2316
+ win: t.window,
2317
+ domain: t.domain || "*"
2273
2318
  }, {
2274
- handler: t || n.handler,
2275
- handleError: n.errorHandler || function(o) {
2276
- throw o;
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 nn(e, n, t) {
2286
- typeof (n = n || {}) == "function" && (t = n, n = {});
2287
- var r = new P(), o;
2288
- return n.errorHandler = function(i) {
2289
- o.cancel(), r.reject(i);
2290
- }, o = re(e, n, function(i) {
2291
- if (o.cancel(), r.resolve(i), t) return t(i);
2292
- }), r.cancel = o.cancel, r;
2293
- }
2294
- var K = function e(n, t, r, o) {
2295
- var i = (o = o || {}).domain || "*", a = o.timeout || -1, l = o.timeout || 5e3, u = o.fireAndForget || !1;
2296
- return $.toProxyWindow(n, {
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(s) {
2299
- return P.try(function() {
2300
- if (function(w, m, p) {
2301
- if (!w) throw new Error("Expected name");
2302
- if (typeof p != "string" && !Array.isArray(p) && !Oe(p)) throw new TypeError("Can not send " + w + ". Expected domain " + JSON.stringify(p) + " to be a string, array, or regex");
2303
- if (G(m)) throw new Error("Can not send " + w + ". Target window is closed");
2304
- }(t, s, i), function(w, m) {
2305
- var p = Ge(m);
2306
- if (p) return p === w;
2307
- if (m === w || function(x) {
2308
- x === void 0 && (x = window);
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 (x.top) return x.top;
2311
- } catch (O) {
2355
+ if (y.top) return y.top;
2356
+ } catch (E) {
2312
2357
  }
2313
- if (k(x) === x) return x;
2358
+ if (B(y) === y) return y;
2314
2359
  try {
2315
- if (Be(window, x) && window.top) return window.top;
2316
- } catch (O) {
2360
+ if (te(window, y) && window.top) return window.top;
2361
+ } catch (E) {
2317
2362
  }
2318
2363
  try {
2319
- if (Be(x, window) && window.top) return window.top;
2320
- } catch (O) {
2364
+ if (te(y, window) && window.top) return window.top;
2365
+ } catch (E) {
2321
2366
  }
2322
- for (var b = 0, T = function O(C) {
2323
- for (var L = [], W = 0, A = $e(C); W < A.length; W++) {
2324
- var V = A[W];
2325
- L.push(V);
2326
- for (var j = 0, he = O(V); j < he.length; j++) L.push(he[j]);
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 L;
2329
- }(x); b < T.length; b++) {
2330
- var M = T[b];
2373
+ return j;
2374
+ }(y); b < k.length; b++) {
2375
+ var N = k[b];
2331
2376
  try {
2332
- if (M.top) return M.top;
2333
- } catch (O) {
2377
+ if (N.top) return N.top;
2378
+ } catch (E) {
2334
2379
  }
2335
- if (k(M) === M) return M;
2380
+ if (B(N) === N) return N;
2336
2381
  }
2337
- }(m) === m) return !1;
2338
- for (var g = 0, I = $e(w); g < I.length; g++) if (I[g] === m) return !0;
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, s)) return function(w, m, p) {
2341
- m === void 0 && (m = 5e3), p === void 0 && (p = "Window");
2342
- var g = function(I) {
2343
- return H("helloPromises").getOrSet(I, function() {
2344
- return new P();
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
- }(w);
2347
- return m !== -1 && (g = g.timeout(m, new Error(p + " did not load after " + m + "ms"))), g;
2348
- }(s, l);
2349
- }).then(function(w) {
2350
- return function(m, p, g, I) {
2351
- var x = I.send;
2352
- return P.try(function() {
2353
- return typeof p == "string" ? p : P.try(function() {
2354
- return g || Ae(m, {
2355
- send: x
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 (!oe(p, p)) throw new Error("Domain " + et(p) + " does not match " + et(p));
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
- }(s, i, (w === void 0 ? {} : w).domain, {
2409
+ }(f, o, (P === void 0 ? {} : P).domain, {
2365
2410
  send: e
2366
2411
  });
2367
- }).then(function(w) {
2368
- var m = w, p = t === "postrobot_method" && r && typeof r.name == "string" ? r.name + "()" : t, g = new P(), I = t + "_" + Y();
2369
- if (!u) {
2370
- var x = {
2371
- name: t,
2372
- win: s,
2373
- domain: m,
2374
- promise: g
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(W, A) {
2377
- z("responseListeners").set(W, A);
2378
- })(I, x);
2379
- var b = H("requestPromises").getOrSet(s, function() {
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(g), g.catch(function() {
2383
- (function(W) {
2384
- z("erroredResponseListeners").set(W, !0);
2385
- })(I), vt(I);
2427
+ b.push($), $.catch(function() {
2428
+ (function(I) {
2429
+ M("erroredResponseListeners").set(I, !0);
2430
+ })(w), $i(w);
2386
2431
  });
2387
- var T = function(W) {
2388
- return H("knownWindows").get(W, !1);
2389
- }(s) ? 1e4 : 2e3, M = a, O = T, C = M, L = function(W, A) {
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 j() {
2436
+ return function W() {
2392
2437
  V = setTimeout(function() {
2393
2438
  (function() {
2394
- if (G(s)) return g.reject(new Error("Window closed for " + t + " before " + (x.ack ? "response" : "ack")));
2395
- if (x.cancelled) return g.reject(new Error("Response listener was cancelled for " + t));
2396
- O = Math.max(O - 500, 0), C !== -1 && (C = Math.max(C - 500, 0)), x.ack || O !== 0 ? C === 0 && g.reject(new Error("No response for postMessage " + p + " in " + F() + " in " + M + "ms")) : g.reject(new Error("No ack for postMessage " + p + " in " + F() + " in " + T + "ms"));
2397
- })(), j();
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
- g.finally(function() {
2406
- L.cancel(), b.splice(b.indexOf(g, 1));
2407
- }).catch(te);
2450
+ $.finally(function() {
2451
+ j.cancel(), b.splice(b.indexOf($, 1));
2452
+ }).catch(ne);
2408
2453
  }
2409
- return ze(s, m, {
2410
- id: Y(),
2411
- origin: F(window),
2454
+ return ze(f, u, {
2455
+ id: Z(),
2456
+ origin: O(window),
2412
2457
  type: "postrobot_message_request",
2413
- hash: I,
2414
- name: t,
2458
+ hash: w,
2459
+ name: i,
2415
2460
  data: r,
2416
- fireAndForget: u
2461
+ fireAndForget: d
2417
2462
  }, {
2418
- on: re,
2463
+ on: se,
2419
2464
  send: e
2420
2465
  }).then(function() {
2421
- return u ? g.resolve() : g;
2422
- }, function(W) {
2423
- throw new Error("Send request message failed for " + p + " in " + F() + `
2466
+ return d ? $.resolve() : $;
2467
+ }, function(I) {
2468
+ throw new Error("Send request message failed for " + C + " in " + O() + `
2424
2469
 
2425
- ` + de(W));
2470
+ ` + Ce(I));
2426
2471
  });
2427
2472
  });
2428
2473
  });
2429
2474
  };
2430
- function rn(e, n, t) {
2431
- return ht(e, n, t, {
2432
- on: re,
2433
- send: K
2475
+ function nt(e, t, i) {
2476
+ return Ci(e, t, i, {
2477
+ on: se,
2478
+ send: X
2434
2479
  });
2435
2480
  }
2436
- function on(e, n, t) {
2437
- return mt(e, n, t, {
2438
- send: K
2481
+ function ot(e, t, i) {
2482
+ return hi(e, t, i, {
2483
+ send: X
2439
2484
  });
2440
2485
  }
2441
- function an(e) {
2442
- return new $({
2443
- send: K,
2486
+ function st(e) {
2487
+ return new _({
2488
+ send: X,
2444
2489
  win: e
2445
2490
  });
2446
2491
  }
2447
- function sn(e) {
2448
- return $.toProxyWindow(e, {
2449
- send: K
2492
+ function ft(e) {
2493
+ return _.toProxyWindow(e, {
2494
+ send: X
2450
2495
  });
2451
2496
  }
2452
- function Et() {
2453
- le().initialized || (le().initialized = !0, n = (e = {
2454
- on: re,
2455
- send: K
2456
- }).on, t = e.send, (r = le()).receiveMessage = r.receiveMessage || function(o) {
2457
- return yt(o, {
2458
- on: n,
2459
- send: t
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(o) {
2462
- var i = o.on, a = o.send;
2463
- z().getOrSet("postMessageListener", function() {
2464
- return function(l, u, s) {
2465
- return l.addEventListener("message", s), {
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", s);
2512
+ l.removeEventListener("message", f);
2468
2513
  }
2469
2514
  };
2470
2515
  }(window, 0, function(l) {
2471
- (function(u, s) {
2472
- var w = s.on, m = s.send;
2473
- P.try(function() {
2474
- var p = u.source || u.sourceElement, g = u.origin || u.originalEvent && u.originalEvent.origin, I = u.data;
2475
- if (g === "null" && (g = "file://"), p) {
2476
- if (!g) throw new Error("Post message did not have origin domain");
2477
- yt({
2478
- source: p,
2479
- origin: g,
2480
- data: I
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: w,
2483
- send: m
2527
+ on: P,
2528
+ send: u
2484
2529
  });
2485
2530
  }
2486
2531
  });
2487
2532
  })(l, {
2488
- on: i,
2489
- send: a
2533
+ on: o,
2534
+ send: s
2490
2535
  });
2491
2536
  });
2492
2537
  });
2493
2538
  }({
2494
- on: re,
2495
- send: K
2496
- }), function(o) {
2497
- var i = o.on, a = o.send;
2498
- z("builtinListeners").getOrSet("helloListener", function() {
2499
- var l = i("postrobot_hello", {
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(s) {
2502
- return at(s.source, {
2503
- domain: s.origin
2546
+ }, function(f) {
2547
+ return di(f.source, {
2548
+ domain: f.origin
2504
2549
  }), {
2505
- instanceID: it()
2550
+ instanceID: fi()
2506
2551
  };
2507
- }), u = Ge();
2508
- return u && Ae(u, {
2509
- send: a
2510
- }).catch(function(s) {
2552
+ }), d = Je();
2553
+ return d && Oe(d, {
2554
+ send: s
2555
+ }).catch(function(f) {
2511
2556
  }), l;
2512
2557
  });
2513
2558
  }({
2514
- on: re,
2515
- send: K
2559
+ on: se,
2560
+ send: X
2516
2561
  }));
2517
- var e, n, t, r;
2562
+ var e, t, i, r;
2518
2563
  }
2519
- function un() {
2564
+ function dt() {
2520
2565
  (function() {
2521
- for (var n = z("responseListeners"), t = 0, r = n.keys(); t < r.length; t++) {
2522
- var o = r[t], i = n.get(o);
2523
- i && (i.cancelled = !0), n.del(o);
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 = z().get("postMessageListener")) && e.cancel();
2570
+ })(), (e = M().get("postMessageListener")) && e.cancel();
2526
2571
  var e;
2527
2572
  delete window.__post_robot_10_0_46__;
2528
2573
  }
2529
- var cn = !0;
2530
- function dn(e) {
2531
- for (var n = 0, t = H("requestPromises").get(e, []); n < t.length; n++) t[n].reject(new Error("Window " + (G(e) ? "closed" : "cleaned up") + " before response")).catch(te);
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
- Et();
2578
+ yi();
2534
2579
  }]);
2535
2580
  });
2536
- }(xe)), xe.exports;
2581
+ }(Te)), Te.exports;
2537
2582
  }
2538
- var jt;
2539
- function nr() {
2540
- return jt || (jt = 1, function(c) {
2541
- c.exports = tr(), c.exports.default = c.exports;
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 Ft = nr();
2545
- const rr = /* @__PURE__ */ Qn(Ft), _e = /* @__PURE__ */ gn({
2589
+ var Ui = dr();
2590
+ const ar = /* @__PURE__ */ or(Ui), Ve = /* @__PURE__ */ $t({
2546
2591
  __proto__: null,
2547
- default: rr
2548
- }, [Ft]);
2592
+ default: ar
2593
+ }, [Ui]);
2549
2594
  export {
2550
- kt as ConsentBox,
2551
- ir as PrivacyCenterBox,
2552
- ar as SoyioTypes,
2553
- sr as SoyioWidget,
2554
- He as _TooltipManager,
2555
- sr as default
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
  };