@sprig-technologies/sprig-browser 2.32.7 → 2.32.9
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/{core-B-DyGs3n.js → core-Cpj6ibvg.js} +339 -329
- package/dist/core-DHmPygfT.cjs +12 -0
- package/dist/core.cjs +1 -1
- package/dist/core.d.ts +2 -0
- package/dist/core.js +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -2
- package/dist/{metricsReporter-rplm9tEP.js → metricsReporter-Cl6wG1Dn.js} +17 -16
- package/dist/metricsReporter-D1E3ePJA.cjs +1 -0
- package/dist/replay.cjs +1 -1
- package/dist/replay.js +1 -1
- package/dist/{view-Ck6u_lD1.js → view-CxqsZLB6.js} +72 -72
- package/dist/{view-DvJ_Vu4Z.cjs → view-PhfA05rs.cjs} +2 -2
- package/package.json +1 -1
- package/dist/core-DdcxBCQS.cjs +0 -12
- package/dist/metricsReporter-DNKMOwn_.cjs +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as Ht, A as Se, D as Gr, a as Kr, i as Yr, E as Qr, b as De, d as Ct, r as Jr, e as At } from "./core-
|
|
2
|
-
import { b as Xr, D as Bt, e as
|
|
3
|
-
var
|
|
1
|
+
import { C as Ht, A as Se, D as Gr, a as Kr, i as Yr, E as Qr, b as De, d as Ct, r as Jr, e as At } from "./core-Cpj6ibvg.js";
|
|
2
|
+
import { b as Xr, D as Bt, e as Be, h as We, S as ae, s as ht, v as mt } from "./metricsReporter-Cl6wG1Dn.js";
|
|
3
|
+
var Le, D, Rn, xe, qt, Nn, gt, Mn, Me = {}, Ln = [], eo = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, Ze = Array.isArray;
|
|
4
4
|
function pe(e, t) {
|
|
5
5
|
for (var n in t)
|
|
6
6
|
e[n] = t[n];
|
|
@@ -14,12 +14,12 @@ function z(e, t, n) {
|
|
|
14
14
|
var r, o, i, s = {};
|
|
15
15
|
for (i in t)
|
|
16
16
|
i == "key" ? r = t[i] : i == "ref" ? o = t[i] : s[i] = t[i];
|
|
17
|
-
if (arguments.length > 2 && (s.children = arguments.length > 3 ?
|
|
17
|
+
if (arguments.length > 2 && (s.children = arguments.length > 3 ? Le.call(arguments, 2) : n), typeof e == "function" && e.defaultProps != null)
|
|
18
18
|
for (i in e.defaultProps)
|
|
19
19
|
s[i] === void 0 && (s[i] = e.defaultProps[i]);
|
|
20
|
-
return
|
|
20
|
+
return Re(e, s, r, o, null);
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function Re(e, t, n, r, o) {
|
|
23
23
|
var i = { type: e, props: t, key: n, ref: r, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, constructor: void 0, __v: o ?? ++Rn, __i: -1, __u: 0 };
|
|
24
24
|
return o == null && D.vnode != null && D.vnode(i), i;
|
|
25
25
|
}
|
|
@@ -65,12 +65,12 @@ function Vt(e, t, n, r, o, i, s, d, l, p, h) {
|
|
|
65
65
|
for (n.__d = l, function(x, T, S) {
|
|
66
66
|
var w, k, j, P, g, v = T.length, E = S.length, I = E, O = 0;
|
|
67
67
|
for (x.__k = [], w = 0; w < v; w++)
|
|
68
|
-
(k = x.__k[w] = (k = T[w]) == null || typeof k == "boolean" || typeof k == "function" ? null : typeof k == "string" || typeof k == "number" || typeof k == "bigint" || k.constructor == String ?
|
|
68
|
+
(k = x.__k[w] = (k = T[w]) == null || typeof k == "boolean" || typeof k == "function" ? null : typeof k == "string" || typeof k == "number" || typeof k == "bigint" || k.constructor == String ? Re(null, k, null, null, k) : Ze(k) ? Re(G, { children: k }, null, null, null) : k.constructor === void 0 && k.__b > 0 ? Re(k.type, k.props, k.key, k.ref ? k.ref : null, k.__v) : k) != null ? (k.__ = x, k.__b = x.__b + 1, g = to(k, S, P = w + O, I), k.__i = g, j = null, g !== -1 && (I--, (j = S[g]) && (j.__u |= 131072)), j == null || j.__v === null ? (g == -1 && O--, typeof k.type != "function" && (k.__u |= 65536)) : g !== P && (g === P + 1 ? O++ : g > P ? I > v - P ? O += g - P : O-- : O = g < P && g == P - 1 ? g - P : 0, g !== w + O && (k.__u |= 65536))) : (j = S[w]) && j.key == null && j.__e && (j.__e == x.__d && (x.__d = je(j)), vt(j, j, !1), S[w] = null, I--);
|
|
69
69
|
if (I)
|
|
70
70
|
for (w = 0; w < E; w++)
|
|
71
71
|
(j = S[w]) != null && !(131072 & j.__u) && (j.__e == x.__d && (x.__d = je(j)), vt(j, j));
|
|
72
72
|
}(n, t, _), l = n.__d, c = 0; c < y; c++)
|
|
73
|
-
(m = n.__k[c]) != null && typeof m != "boolean" && typeof m != "function" && (u = m.__i === -1 ?
|
|
73
|
+
(m = n.__k[c]) != null && typeof m != "boolean" && typeof m != "function" && (u = m.__i === -1 ? Me : _[m.__i] || Me, m.__i = c, Et(e, m, u, o, i, s, d, l, p, h), f = m.__e, m.ref && u.ref != m.ref && (u.ref && St(u.ref, null, m), h.push(m.ref, m.__c || f, m)), b == null && f != null && (b = f), 65536 & m.__u || u.__k === m.__k ? l = An(m, l, e) : typeof m.type == "function" && m.__d !== void 0 ? l = m.__d : f && (l = f.nextSibling), m.__d = void 0, m.__u &= -196609);
|
|
74
74
|
n.__d = l, n.__e = b;
|
|
75
75
|
}
|
|
76
76
|
function An(e, t, n) {
|
|
@@ -109,7 +109,7 @@ function to(e, t, n, r) {
|
|
|
109
109
|
function zt(e, t, n) {
|
|
110
110
|
t[0] === "-" ? e.setProperty(t, n ?? "") : e[t] = n == null ? "" : typeof n != "number" || eo.test(t) ? n : n + "px";
|
|
111
111
|
}
|
|
112
|
-
function
|
|
112
|
+
function Ae(e, t, n, r, o) {
|
|
113
113
|
var i;
|
|
114
114
|
e:
|
|
115
115
|
if (t === "style")
|
|
@@ -202,19 +202,19 @@ function Et(e, t, n, r, o, i, s, d, l, p) {
|
|
|
202
202
|
if (ne === null)
|
|
203
203
|
te === ce || H && v.data === ce || (v.data = ce);
|
|
204
204
|
else {
|
|
205
|
-
if (M = M &&
|
|
205
|
+
if (M = M && Le.call(v.childNodes), te = I.props || Me, !H && M != null)
|
|
206
206
|
for (te = {}, R = 0; R < v.attributes.length; R++)
|
|
207
207
|
te[(F = v.attributes[R]).name] = F.value;
|
|
208
208
|
for (R in te)
|
|
209
|
-
F = te[R], R == "children" || (R == "dangerouslySetInnerHTML" ? K = F : R === "key" || R in ce ||
|
|
209
|
+
F = te[R], R == "children" || (R == "dangerouslySetInnerHTML" ? K = F : R === "key" || R in ce || Ae(v, R, null, F, C));
|
|
210
210
|
for (R in ce)
|
|
211
|
-
F = ce[R], R == "children" ? de = F : R == "dangerouslySetInnerHTML" ? W = F : R == "value" ? Y = F : R == "checked" ? be = F : R === "key" || H && typeof F != "function" || te[R] === F ||
|
|
211
|
+
F = ce[R], R == "children" ? de = F : R == "dangerouslySetInnerHTML" ? W = F : R == "value" ? Y = F : R == "checked" ? be = F : R === "key" || H && typeof F != "function" || te[R] === F || Ae(v, R, F, te[R], C);
|
|
212
212
|
if (W)
|
|
213
213
|
H || K && (W.__html === K.__html || W.__html === v.innerHTML) || (v.innerHTML = W.__html), E.__k = [];
|
|
214
214
|
else if (K && (v.innerHTML = ""), Vt(v, Ze(de) ? de : [de], E, I, O, C && ne !== "foreignObject", M, A, M ? M[0] : I.__k && je(I, 0), H, q), M != null)
|
|
215
215
|
for (R = M.length; R--; )
|
|
216
216
|
M[R] != null && On(M[R]);
|
|
217
|
-
H || (R = "value", Y !== void 0 && (Y !== v[R] || ne === "progress" && !Y || ne === "option" && Y !== te[R]) &&
|
|
217
|
+
H || (R = "value", Y !== void 0 && (Y !== v[R] || ne === "progress" && !Y || ne === "option" && Y !== te[R]) && Ae(v, R, Y, te[R], !1), R = "checked", be !== void 0 && be !== v[R] && Ae(v, R, be, te[R], !1));
|
|
218
218
|
}
|
|
219
219
|
return v;
|
|
220
220
|
}(n.__e, t, n, r, o, i, s, l, p);
|
|
@@ -262,7 +262,7 @@ function no(e, t, n) {
|
|
|
262
262
|
}
|
|
263
263
|
function Ie(e, t, n) {
|
|
264
264
|
var r, o, i, s;
|
|
265
|
-
D.__ && D.__(e, t), o = (r = typeof n == "function") ? null : n && n.__k || t.__k, i = [], s = [], Et(t, e = (!r && n || t).__k = z(G, null, [e]), o ||
|
|
265
|
+
D.__ && D.__(e, t), o = (r = typeof n == "function") ? null : n && n.__k || t.__k, i = [], s = [], Et(t, e = (!r && n || t).__k = z(G, null, [e]), o || Me, Me, t.ownerSVGElement !== void 0, !r && n ? [n] : o ? null : t.firstChild ? Le.call(t.childNodes) : null, i, !r && n ? n : o ? o.__e : t.firstChild, r, s), Bn(i, e, s);
|
|
266
266
|
}
|
|
267
267
|
function qn(e, t) {
|
|
268
268
|
Ie(e, t, qn);
|
|
@@ -271,7 +271,7 @@ function ro(e, t, n) {
|
|
|
271
271
|
var r, o, i, s, d = pe({}, e.props);
|
|
272
272
|
for (i in e.type && e.type.defaultProps && (s = e.type.defaultProps), t)
|
|
273
273
|
i == "key" ? r = t[i] : i == "ref" ? o = t[i] : d[i] = t[i] === void 0 && s !== void 0 ? s[i] : t[i];
|
|
274
|
-
return arguments.length > 2 && (d.children = arguments.length > 3 ?
|
|
274
|
+
return arguments.length > 2 && (d.children = arguments.length > 3 ? Le.call(arguments, 2) : n), Re(e.type, d, r || e.key, o || e.ref, null);
|
|
275
275
|
}
|
|
276
276
|
function Vn(e, t) {
|
|
277
277
|
var n = { __c: t = "__cC" + Mn++, __: e, Consumer: function(r, o) {
|
|
@@ -294,7 +294,7 @@ function Vn(e, t) {
|
|
|
294
294
|
} };
|
|
295
295
|
return n.Provider.__ = n.Consumer.contextType = n;
|
|
296
296
|
}
|
|
297
|
-
|
|
297
|
+
Le = Ln.slice, D = { __e: function(e, t, n, r) {
|
|
298
298
|
for (var o, i, s; t = t.__; )
|
|
299
299
|
if ((o = t.__c) && !o.__)
|
|
300
300
|
try {
|
|
@@ -312,11 +312,11 @@ Oe = Ln.slice, D = { __e: function(e, t, n, r) {
|
|
|
312
312
|
}, oe.prototype.render = G, xe = [], Nn = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, gt = function(e, t) {
|
|
313
313
|
return e.__v.__b - t.__v.__b;
|
|
314
314
|
}, Ge.__r = 0, Mn = 0;
|
|
315
|
-
var me, V, rt, Wt, Te = 0, zn = [],
|
|
315
|
+
var me, V, rt, Wt, Te = 0, zn = [], qe = [], Zt = D.__b, Gt = D.__r, Kt = D.diffed, Yt = D.__c, Qt = D.unmount;
|
|
316
316
|
function we(e, t) {
|
|
317
317
|
D.__h && D.__h(V, e, Te || t), Te = 0;
|
|
318
318
|
var n = V.__H || (V.__H = { __: [], __h: [] });
|
|
319
|
-
return e >= n.__.length && n.__.push({ __V:
|
|
319
|
+
return e >= n.__.length && n.__.push({ __V: qe }), n.__[e];
|
|
320
320
|
}
|
|
321
321
|
function $(e) {
|
|
322
322
|
return Te = 1, jt(Zn, e);
|
|
@@ -361,17 +361,17 @@ function Q(e, t) {
|
|
|
361
361
|
var n = we(me++, 3);
|
|
362
362
|
!D.__s && Tt(n.__H, t) && (n.__ = e, n.i = t, V.__H.__h.push(n));
|
|
363
363
|
}
|
|
364
|
-
function
|
|
364
|
+
function Oe(e, t) {
|
|
365
365
|
var n = we(me++, 4);
|
|
366
366
|
!D.__s && Tt(n.__H, t) && (n.__ = e, n.i = t, V.__h.push(n));
|
|
367
367
|
}
|
|
368
368
|
function ee(e) {
|
|
369
|
-
return Te = 5,
|
|
369
|
+
return Te = 5, Ue(function() {
|
|
370
370
|
return { current: e };
|
|
371
371
|
}, []);
|
|
372
372
|
}
|
|
373
373
|
function $n(e, t, n) {
|
|
374
|
-
Te = 6,
|
|
374
|
+
Te = 6, Oe(function() {
|
|
375
375
|
return typeof e == "function" ? (e(t()), function() {
|
|
376
376
|
return e(null);
|
|
377
377
|
}) : e ? (e.current = t(), function() {
|
|
@@ -379,12 +379,12 @@ function $n(e, t, n) {
|
|
|
379
379
|
}) : void 0;
|
|
380
380
|
}, n == null ? n : n.concat(e));
|
|
381
381
|
}
|
|
382
|
-
function
|
|
382
|
+
function Ue(e, t) {
|
|
383
383
|
var n = we(me++, 7);
|
|
384
384
|
return Tt(n.__H, t) ? (n.__V = e(), n.i = t, n.__h = e, n.__V) : n.__;
|
|
385
385
|
}
|
|
386
386
|
function Ke(e, t) {
|
|
387
|
-
return Te = 8,
|
|
387
|
+
return Te = 8, Ue(function() {
|
|
388
388
|
return e;
|
|
389
389
|
}, t);
|
|
390
390
|
}
|
|
@@ -409,7 +409,7 @@ function oo() {
|
|
|
409
409
|
for (var e; e = zn.shift(); )
|
|
410
410
|
if (e.__P && e.__H)
|
|
411
411
|
try {
|
|
412
|
-
e.__H.__h.forEach(
|
|
412
|
+
e.__H.__h.forEach(Ve), e.__H.__h.forEach(_t), e.__H.__h = [];
|
|
413
413
|
} catch (t) {
|
|
414
414
|
e.__H.__h = [], D.__e(t, e.__v);
|
|
415
415
|
}
|
|
@@ -420,18 +420,18 @@ D.__b = function(e) {
|
|
|
420
420
|
Gt && Gt(e), me = 0;
|
|
421
421
|
var t = (V = e.__c).__H;
|
|
422
422
|
t && (rt === V ? (t.__h = [], V.__h = [], t.__.forEach(function(n) {
|
|
423
|
-
n.__N && (n.__ = n.__N), n.__V =
|
|
424
|
-
})) : (t.__h.forEach(
|
|
423
|
+
n.__N && (n.__ = n.__N), n.__V = qe, n.__N = n.i = void 0;
|
|
424
|
+
})) : (t.__h.forEach(Ve), t.__h.forEach(_t), t.__h = [], me = 0)), rt = V;
|
|
425
425
|
}, D.diffed = function(e) {
|
|
426
426
|
Kt && Kt(e);
|
|
427
427
|
var t = e.__c;
|
|
428
428
|
t && t.__H && (t.__H.__h.length && (zn.push(t) !== 1 && Wt === D.requestAnimationFrame || ((Wt = D.requestAnimationFrame) || io)(oo)), t.__H.__.forEach(function(n) {
|
|
429
|
-
n.i && (n.__H = n.i), n.__V !==
|
|
429
|
+
n.i && (n.__H = n.i), n.__V !== qe && (n.__ = n.__V), n.i = void 0, n.__V = qe;
|
|
430
430
|
})), rt = V = null;
|
|
431
431
|
}, D.__c = function(e, t) {
|
|
432
432
|
t.some(function(n) {
|
|
433
433
|
try {
|
|
434
|
-
n.__h.forEach(
|
|
434
|
+
n.__h.forEach(Ve), n.__h = n.__h.filter(function(r) {
|
|
435
435
|
return !r.__ || _t(r);
|
|
436
436
|
});
|
|
437
437
|
} catch (r) {
|
|
@@ -445,7 +445,7 @@ D.__b = function(e) {
|
|
|
445
445
|
var t, n = e.__c;
|
|
446
446
|
n && n.__H && (n.__H.__.forEach(function(r) {
|
|
447
447
|
try {
|
|
448
|
-
|
|
448
|
+
Ve(r);
|
|
449
449
|
} catch (o) {
|
|
450
450
|
t = o;
|
|
451
451
|
}
|
|
@@ -458,7 +458,7 @@ function io(e) {
|
|
|
458
458
|
}, r = setTimeout(n, 100);
|
|
459
459
|
Jt && (t = requestAnimationFrame(n));
|
|
460
460
|
}
|
|
461
|
-
function
|
|
461
|
+
function Ve(e) {
|
|
462
462
|
var t = V, n = e.__c;
|
|
463
463
|
typeof n == "function" && (e.__c = void 0, n()), V = t;
|
|
464
464
|
}
|
|
@@ -547,7 +547,7 @@ function Jn(e, t, n) {
|
|
|
547
547
|
return Jn(r, t, n);
|
|
548
548
|
}), e.__c && e.__c.__P === t && (e.__e && n.appendChild(e.__e), e.__c.__e = !0, e.__c.__P = n)), e;
|
|
549
549
|
}
|
|
550
|
-
function
|
|
550
|
+
function Ne() {
|
|
551
551
|
this.__u = 0, this.t = null, this.__b = null;
|
|
552
552
|
}
|
|
553
553
|
function Xn(e) {
|
|
@@ -575,7 +575,7 @@ function Ee() {
|
|
|
575
575
|
D.unmount = function(e) {
|
|
576
576
|
var t = e.__c;
|
|
577
577
|
t && t.__R && t.__R(), t && 32 & e.__u && (e.type = null), tn && tn(e);
|
|
578
|
-
}, (
|
|
578
|
+
}, (Ne.prototype = new oe()).__c = function(e, t) {
|
|
579
579
|
var n = t.__c, r = this;
|
|
580
580
|
r.t == null && (r.t = []), r.t.push(n);
|
|
581
581
|
var o = Xn(r.__v), i = !1, s = function() {
|
|
@@ -594,9 +594,9 @@ D.unmount = function(e) {
|
|
|
594
594
|
}
|
|
595
595
|
};
|
|
596
596
|
r.__u++ || 32 & t.__u || r.setState({ __a: r.__b = r.__v.__k[0] }), e.then(s, s);
|
|
597
|
-
},
|
|
597
|
+
}, Ne.prototype.componentWillUnmount = function() {
|
|
598
598
|
this.t = [];
|
|
599
|
-
},
|
|
599
|
+
}, Ne.prototype.render = function(e, t) {
|
|
600
600
|
if (this.__b) {
|
|
601
601
|
if (this.__v.__k) {
|
|
602
602
|
var n = document.createElement("div"), r = this.__v.__k[0].__c;
|
|
@@ -723,14 +723,14 @@ var ir = { ReactCurrentDispatcher: { current: { readContext: function(e) {
|
|
|
723
723
|
function sr(e) {
|
|
724
724
|
return z.bind(null, e);
|
|
725
725
|
}
|
|
726
|
-
function
|
|
726
|
+
function He(e) {
|
|
727
727
|
return !!e && e.$$typeof === nr;
|
|
728
728
|
}
|
|
729
729
|
function ar(e) {
|
|
730
|
-
return
|
|
730
|
+
return He(e) && e.type === G;
|
|
731
731
|
}
|
|
732
732
|
function lr(e) {
|
|
733
|
-
return
|
|
733
|
+
return He(e) ? ro.apply(null, arguments) : e;
|
|
734
734
|
}
|
|
735
735
|
function dr(e) {
|
|
736
736
|
return !!e.__k && (Ie(null, e), !0);
|
|
@@ -752,10 +752,10 @@ function mr(e) {
|
|
|
752
752
|
function gr() {
|
|
753
753
|
return [!1, Rt];
|
|
754
754
|
}
|
|
755
|
-
var fr =
|
|
755
|
+
var fr = Oe, vr = He;
|
|
756
756
|
function _r(e, t) {
|
|
757
757
|
var n = t(), r = $({ h: { __: n, v: t } }), o = r[0].h, i = r[1];
|
|
758
|
-
return
|
|
758
|
+
return Oe(function() {
|
|
759
759
|
o.__ = n, o.v = t, ot(o) && i({ h: o });
|
|
760
760
|
}, [e, n, t]), Q(function() {
|
|
761
761
|
return ot(o) && i({ h: o }), e(function() {
|
|
@@ -772,15 +772,15 @@ function ot(e) {
|
|
|
772
772
|
return !0;
|
|
773
773
|
}
|
|
774
774
|
}
|
|
775
|
-
var yo = { useState: $, useId: Wn, useReducer: jt, useEffect: Q, useLayoutEffect:
|
|
776
|
-
const xo = Object.freeze(Object.defineProperty({ __proto__: null, Children: Yn, Component: oe, Fragment: G, PureComponent: Ye, StrictMode: hr, Suspense:
|
|
775
|
+
var yo = { useState: $, useId: Wn, useReducer: jt, useEffect: Q, useLayoutEffect: Oe, useInsertionEffect: fr, useTransition: gr, useDeferredValue: mr, useSyncExternalStore: _r, startTransition: Rt, useRef: ee, useImperativeHandle: $n, useMemo: Ue, useCallback: Ke, useContext: Fn, useDebugValue: It, version: "17.0.2", Children: Yn, render: rr, hydrate: or, unmountComponentAtNode: dr, createPortal: tr, createElement: z, createContext: Vn, createFactory: sr, cloneElement: lr, createRef: Un, Fragment: G, isValidElement: He, isElement: vr, isFragment: ar, findDOMNode: cr, Component: oe, PureComponent: Ye, memo: Kn, forwardRef: Pt, flushSync: pr, unstable_batchedUpdates: ur, StrictMode: hr, Suspense: Ne, SuspenseList: Ee, lazy: er, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: ir };
|
|
776
|
+
const xo = Object.freeze(Object.defineProperty({ __proto__: null, Children: Yn, Component: oe, Fragment: G, PureComponent: Ye, StrictMode: hr, Suspense: Ne, SuspenseList: Ee, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: ir, cloneElement: lr, createContext: Vn, createElement: z, createFactory: sr, createPortal: tr, createRef: Un, default: yo, findDOMNode: cr, flushSync: pr, forwardRef: Pt, hydrate: or, isElement: vr, isFragment: ar, isValidElement: He, lazy: er, memo: Kn, render: rr, startTransition: Rt, unmountComponentAtNode: dr, unstable_batchedUpdates: ur, useCallback: Ke, useContext: Fn, useDebugValue: It, useDeferredValue: mr, useEffect: Q, useErrorBoundary: function(e) {
|
|
777
777
|
var t = we(me++, 10), n = $();
|
|
778
778
|
return t.__ = e, V.componentDidCatch || (V.componentDidCatch = function(r, o) {
|
|
779
779
|
t.__ && t.__(r, o), n[1](r);
|
|
780
780
|
}), [n[0], function() {
|
|
781
781
|
n[1](void 0);
|
|
782
782
|
}];
|
|
783
|
-
}, useId: Wn, useImperativeHandle: $n, useInsertionEffect: fr, useLayoutEffect:
|
|
783
|
+
}, useId: Wn, useImperativeHandle: $n, useInsertionEffect: fr, useLayoutEffect: Oe, useMemo: Ue, useReducer: jt, useRef: ee, useState: $, useSyncExternalStore: _r, useTransition: gr, version: "17.0.2" }, Symbol.toStringTag, { value: "Module" })), ln = (e) => {
|
|
784
784
|
let t;
|
|
785
785
|
const n = /* @__PURE__ */ new Set(), r = (s, d) => {
|
|
786
786
|
const l = typeof s == "function" ? s(t) : s;
|
|
@@ -1060,9 +1060,9 @@ const Uo = ko(br.exports), { useSyncExternalStoreWithSelector: Ho } = Uo, un = (
|
|
|
1060
1060
|
}, customMetadata: {}, destroy: async (n) => {
|
|
1061
1061
|
const { eventEmitFn: r, fadeout: o, remove: i, studyType: s, surveyId: d } = t();
|
|
1062
1062
|
r("survey.complete", d), await o(n), Ht.enable(), i({ initiator: Bt.Complete, studyType: s });
|
|
1063
|
-
}, endCard: { headline: "" }, envId: "", eventEmitFn:
|
|
1063
|
+
}, endCard: { headline: "" }, envId: "", eventEmitFn: Be.emit.bind(Be), fadeout: async (n) => {
|
|
1064
1064
|
const { eventEmitFn: r, headers: o, viewDocument: i } = t();
|
|
1065
|
-
return
|
|
1065
|
+
return We(o) ? Promise.resolve() : (r(ae.SurveyFadingOut), new Promise((s) => {
|
|
1066
1066
|
const d = i.getElementById(n);
|
|
1067
1067
|
d ? (d.addEventListener("transitionend", () => {
|
|
1068
1068
|
s();
|
|
@@ -1101,7 +1101,7 @@ const Uo = ko(br.exports), { useSyncExternalStoreWithSelector: Ho } = Uo, un = (
|
|
|
1101
1101
|
const j = m[w];
|
|
1102
1102
|
m[w] && i && i("survey.question", { qid: j.name, props: j.props }), e({ cards: m, hasViewedEmbed: !1, index: w, viewedCardCount: c + 1 });
|
|
1103
1103
|
}, pendingRemoveIframeReason: null, previewKey: null, previewMode: void 0, recorder: () => {
|
|
1104
|
-
}, recorderEventEmitter:
|
|
1104
|
+
}, recorderEventEmitter: Be, resolveTrackedPromise: () => {
|
|
1105
1105
|
const { removeIframeIfReady: n } = t();
|
|
1106
1106
|
e((r) => ({ unresolvedRequestCount: r.unresolvedRequestCount - 1 })), n();
|
|
1107
1107
|
}, responseGroupUid: "", remove: ({ initiator: n, studyType: r }) => {
|
|
@@ -1118,7 +1118,7 @@ const Uo = ko(br.exports), { useSyncExternalStoreWithSelector: Ho } = Uo, un = (
|
|
|
1118
1118
|
if (!i || at(s))
|
|
1119
1119
|
return;
|
|
1120
1120
|
const d = { responseGroupUid: i, meta: s.meta, customMetadata: s.customMetadata, responses: [o], completedAt: n, previewKey: s.previewKey }, l = await s.trackPromise(ht(`${s.apiURL}/sdk/1/environments/${s.envId}/visitors/${s.userId}/responses/submit`, { body: JSON.stringify(d), headers: s.headers, method: "POST" }));
|
|
1121
|
-
l.ok ? s.eventEmitFn(ae.QuestionAnswered, { ...o, questionIndex: r }) : l.reportError && (console.warn("[Sprig] (ERR-427) Failed to submit response", l.error), await s.trackPromise(hn(s, "submitResponse", l.error)));
|
|
1121
|
+
l.ok ? s.eventEmitFn(ae.QuestionAnswered, { ...o, questionIndex: r, "survey.id": s.surveyId }) : l.reportError && (console.warn("[Sprig] (ERR-427) Failed to submit response", l.error), await s.trackPromise(hn(s, "submitResponse", l.error)));
|
|
1122
1122
|
}, surveyId: 0, tabTitle: "", trackHistory: async ({ event: n, index: r, isNew: o = !1 }) => {
|
|
1123
1123
|
const i = t();
|
|
1124
1124
|
if (at(i))
|
|
@@ -1131,12 +1131,12 @@ const Uo = ko(br.exports), { useSyncExternalStoreWithSelector: Ho } = Uo, un = (
|
|
|
1131
1131
|
throw r(), o;
|
|
1132
1132
|
});
|
|
1133
1133
|
}, unresolvedRequestCount: 0, update: () => {
|
|
1134
|
-
const { cards: n, index: r, headers: o, eventEmitFn: i, frame: s, useMobileStyling: d, surveyId: l, viewDocument: p } = t(), h = n[r],
|
|
1134
|
+
const { cards: n, index: r, headers: o, eventEmitFn: i, frame: s, useMobileStyling: d, surveyId: l, viewDocument: p } = t(), h = o["userleap-platform"] === "web", c = We(o), u = n[r], m = u.type === "matrix" && !(u.props.properties.displayMatrixAsAccordion || d);
|
|
1135
1135
|
e({ minScrollableHeight: void 0 }), setTimeout(() => {
|
|
1136
|
-
var
|
|
1137
|
-
!
|
|
1138
|
-
const [
|
|
1139
|
-
|
|
1136
|
+
var y, x, T;
|
|
1137
|
+
!c && !d && ((y = s == null ? void 0 : s.setWidth) == null || y.call(s, Gr));
|
|
1138
|
+
const [f, b, _] = Kr(p, h && !d, c);
|
|
1139
|
+
c ? (i(ae.SurveyHeight, { name: ae.SurveyHeight, contentFrameHeight: f, "survey.id": l }), i(ae.SurveyWidth, { name: ae.SurveyWidth, contentFrameWidth: b, "survey.id": l })) : ((x = s.setHeight) == null || x.call(s, f), e({ minScrollableHeight: _ }), !d && m && ((T = s.setWidth) == null || T.call(s, b)));
|
|
1140
1140
|
}, 100);
|
|
1141
1141
|
}, uploadingCardViewed: !1, uploadProgress: {}, useDesktopPrototype: void 0, useMobileStyling: !1, userId: "", viewDocument: window.document, viewedCardCount: 0 })), at = (e) => !e.userId || e.meta && e.meta.mode === "test" || e.isPreview || e.previewMode, hn = async (e, t, n) => {
|
|
1142
1142
|
const { mode: r, userId: o, envId: i, apiURL: s, headers: d, viewDocument: l } = e, p = l.documentElement, h = { mode: r, screenWidth: window.screen.width, screenHeight: window.screen.height, clientWidth: p.clientWidth, clientHeight: p.clientHeight, location: window.location.href, language: window.navigator.language }, c = { action: t, err: { message: `${n == null ? void 0 : n.name} - ${n == null ? void 0 : n.message}`, stack: n == null ? void 0 : n.stack }, meta: h, vid: o, envId: i };
|
|
@@ -1178,7 +1178,7 @@ const Zo = ({ visible: e }) => a("div", { className: "sprig-check-background", s
|
|
|
1178
1178
|
};
|
|
1179
1179
|
}, [e]), t;
|
|
1180
1180
|
}, gn = ({ plainText: e, richText: t, id: n, className: r, isHeader: o }) => t ? a("div", { className: r, dangerouslySetInnerHTML: { __html: t }, id: n }) : e ? a(o ? "h1" : "p", { className: r, id: n, children: e }) : null, Yo = () => {
|
|
1181
|
-
const { cards: e, close: t, endCard: n, headers: r, index: o } = B((d) => ({ cards: d.cards, close: d.close, endCard: d.endCard, headers: d.headers, index: d.index, useMobileStyling: d.useMobileStyling })), i = e.length, s =
|
|
1181
|
+
const { cards: e, close: t, endCard: n, headers: r, index: o } = B((d) => ({ cards: d.cards, close: d.close, endCard: d.endCard, headers: d.headers, index: d.index, useMobileStyling: d.useMobileStyling })), i = e.length, s = Ue(() => () => t(Se), [t]);
|
|
1182
1182
|
return ["email", "link"].includes(r["userleap-platform"]) || n && o + 1 === i ? null : a("div", { "aria-label": "Close button", className: "close-btn", onClick: s, onKeyPress: (d) => {
|
|
1183
1183
|
d.key === "Enter" && s();
|
|
1184
1184
|
}, role: "button", tabIndex: 0, children: a("svg", { fill: "none", height: "16px", viewBox: "0 0 13 13", width: "16px", xmlns: "http://www.w3.org/2000/svg", children: a("path", { d: "M2.54964 1.78369L1.78369 2.54964L5.73405 6.5L1.78369 10.4504L2.54964 11.2163L6.5 7.26595L10.4504 11.2163L11.2163 10.4504L7.26595 6.5L11.2163 2.54964L10.4504 1.78369L6.5 5.73405L2.54964 1.78369Z", fill: "#262136" }) }) });
|
|
@@ -1226,27 +1226,27 @@ const Zo = ({ visible: e }) => a("div", { className: "sprig-check-background", s
|
|
|
1226
1226
|
O.key !== "Enter" && O.key !== " " || S(O);
|
|
1227
1227
|
})(I) };
|
|
1228
1228
|
"ontouchstart" in _.documentElement ? (j.onTouchStart = k, j.onTouchCancel = k, j.onTouchEnd = k) : (j.onMouseDown = w, j.onMouseLeave = k);
|
|
1229
|
-
const P = l ? `radio-${d}` : `checkbox-${d}`, g = o || y ? [
|
|
1229
|
+
const P = l ? `radio-${d}` : `checkbox-${d}`, g = o || y ? [ze] : [], v = [...h ? [Pr] : [], ...g], E = r ? { "aria-labelledby": `label-${d}` } : { "aria-label": e };
|
|
1230
1230
|
return a("div", { className: L(Z("choice", p), ...v), id: `choice-div-${d}`, style: { ...n, ...h ? { borderColor: De } : {} }, ...j, children: [a("div", { className: L("choice-label-container"), children: [l ? a("div", { ...E, className: L("select-radio", ...g), id: P, role: "radio", tabIndex: 0 }) : a(Ir, { divId: P, id: d, isSelected: o, themeColor: t }), r && a("label", { className: L(Z("select-label", p)), htmlFor: P, id: `label-${d}`, children: r })] }), c && o && a("div", { className: L("choice-text-entry-container", ...g), children: a(Qo, { onTextChange: (I) => T({ isSelected: o, userText: I }), promptText: m || "Please specify", textValue: s, useMobileStyling: p }) })] });
|
|
1231
1231
|
}, Qo = ({ promptText: e, textValue: t, onTextChange: n, useMobileStyling: r }) => {
|
|
1232
1232
|
const o = ee(null), { update: i } = B((d) => ({ update: d.update })), s = Tr(o, () => i());
|
|
1233
|
-
return Q(() => {
|
|
1234
|
-
|
|
1235
|
-
}, []), a("textarea", { "aria-label": e, "aria-multiline": "true", "aria-placeholder": e, className: L(Z("choice-text-input", r)), "data-gramm": "false", maxLength: 5e3, name: "text", onChange: (d) => {
|
|
1233
|
+
return Q(() => (s(), o.current && o.current.focus(), () => {
|
|
1234
|
+
i();
|
|
1235
|
+
}), []), a("textarea", { "aria-label": e, "aria-multiline": "true", "aria-placeholder": e, className: L(Z("choice-text-input", r)), "data-gramm": "false", maxLength: 5e3, name: "text", onChange: (d) => {
|
|
1236
1236
|
s(), d.stopPropagation(), n(d.currentTarget.value);
|
|
1237
1237
|
}, onClick: (d) => {
|
|
1238
1238
|
d.stopPropagation();
|
|
1239
1239
|
}, onKeyPress: (d) => {
|
|
1240
1240
|
d.stopPropagation();
|
|
1241
1241
|
}, placeholder: e, ref: o, role: "textbox", rows: 1, value: t });
|
|
1242
|
-
}, vn = "ul-select-style-element",
|
|
1242
|
+
}, vn = "ul-select-style-element", ze = "ul-select-active-dynamic-style", Pr = "ul-select-error-dynamic-style", Jo = (e, t, n) => {
|
|
1243
1243
|
let r = e.getElementById(vn), o = !1;
|
|
1244
1244
|
r || (r = e.createElement("style"), o = !0), r.tagName.toLowerCase() === "style" && (r.id = vn, n && (r.nonce = n), r.textContent = Xo(t), o && e.head.appendChild(r));
|
|
1245
1245
|
}, Xo = (e) => `
|
|
1246
|
-
.${
|
|
1246
|
+
.${ze} {
|
|
1247
1247
|
border-color: ${e};
|
|
1248
1248
|
}
|
|
1249
|
-
.${
|
|
1249
|
+
.${ze} .select-radio, .${ze}.select-radio {
|
|
1250
1250
|
border: 6px solid ${e};
|
|
1251
1251
|
box-shadow: none;
|
|
1252
1252
|
}
|
|
@@ -2339,11 +2339,11 @@ const ve = async ({ event: e, apiBase: t, headers: n, visitorId: r, envId: o, me
|
|
|
2339
2339
|
}, Si = (e) => {
|
|
2340
2340
|
e.children().forEach((t) => {
|
|
2341
2341
|
if (re[t.name_]) {
|
|
2342
|
-
const n =
|
|
2342
|
+
const n = $e(re[t.name_], `ul-${re[t.name_]}`);
|
|
2343
2343
|
t.el_.appendChild(n);
|
|
2344
2344
|
}
|
|
2345
2345
|
});
|
|
2346
|
-
},
|
|
2346
|
+
}, $e = (e, t = "") => {
|
|
2347
2347
|
const n = N.document.createElement("span");
|
|
2348
2348
|
return n.className = "ul-button-text", n.innerHTML = e, n.id = t, n;
|
|
2349
2349
|
}, $r = (e, t, n, r, o = !1, i) => {
|
|
@@ -2384,7 +2384,7 @@ const ve = async ({ event: e, apiBase: t, headers: n, visitorId: r, envId: o, me
|
|
|
2384
2384
|
}, _ = new (N.videojs.getComponent("Button"))(l, { clickHandler: () => {
|
|
2385
2385
|
_.hasClass(J) || (ve({ event: "Video Delete Button Clicked", apiBase: r, headers: s, visitorId: u, envId: m, metadata: { questionId: h, responseGroupUid: c, surveyId: p } }), b(l.cameraOff), o(U.DELETE, {}), T.removeClass(J), _.addClass(J));
|
|
2386
2386
|
} });
|
|
2387
|
-
_.addClass("ul-video-recorder-delete-button"), _.el_.appendChild(
|
|
2387
|
+
_.addClass("ul-video-recorder-delete-button"), _.el_.appendChild($e(re.DeleteButton, "ul-delete-button"));
|
|
2388
2388
|
const y = N.document.getElementById(t), x = () => {
|
|
2389
2389
|
y.classList.contains("vjs-fullscreen") && l.cameraOff ? y.style.display = "table" : y.style.display = "flex";
|
|
2390
2390
|
};
|
|
@@ -2392,7 +2392,7 @@ const ve = async ({ event: e, apiBase: t, headers: n, visitorId: r, envId: o, me
|
|
|
2392
2392
|
const T = new (N.videojs.getComponent("Button"))(l, { clickHandler: () => {
|
|
2393
2393
|
l.record().isRecording() || (l.cameraOff = !l.cameraOff, ve({ event: "Video Camera Button Clicked", apiBase: r, headers: s, visitorId: n.visitorId, envId: n.envId, metadata: { questionId: h, responseGroupUid: c, surveyId: p, cameraOff: l.cameraOff } }), b(l.cameraOff), !_.hasClass(J) && _.addClass(J), o(U.DELETE, {}), x());
|
|
2394
2394
|
} });
|
|
2395
|
-
T.addClass(dt), T.el_.appendChild(
|
|
2395
|
+
T.addClass(dt), T.el_.appendChild($e(re.TurnOffCamera, "ul-camera-button"));
|
|
2396
2396
|
const S = new (N.videojs.getComponent("Button"))(l, { clickHandler: () => {
|
|
2397
2397
|
const v = N.document.getElementById("ul-recorder-toggle");
|
|
2398
2398
|
if (l.record().isRecording())
|
|
@@ -2408,7 +2408,7 @@ const ve = async ({ event: e, apiBase: t, headers: n, visitorId: r, envId: o, me
|
|
|
2408
2408
|
}
|
|
2409
2409
|
}
|
|
2410
2410
|
} });
|
|
2411
|
-
S.addClass("ul-video-recorder-toggle-button"), S.el_.appendChild(
|
|
2411
|
+
S.addClass("ul-video-recorder-toggle-button"), S.el_.appendChild($e(re.RecordButton, "ul-recorder-toggle"));
|
|
2412
2412
|
const w = N.document.createElement("p");
|
|
2413
2413
|
w.style.visibility = "hidden", w.className = "ul-upload-progress-label", e.appendChild(w), l.uploadProgressLabel = w;
|
|
2414
2414
|
const k = zr(l, [_, T, "PlayToggle", S, "FullscreenToggle"]), j = k.children().find((v) => v.name_ === "FullscreenToggle");
|
|
@@ -2648,7 +2648,7 @@ const ve = async ({ event: e, apiBase: t, headers: n, visitorId: r, envId: o, me
|
|
|
2648
2648
|
}
|
|
2649
2649
|
}
|
|
2650
2650
|
const O = !S && ((f == null ? void 0 : f.framePosition) === "center" || (f == null ? void 0 : f.desktopDisplay) === "center-modal" || ((f == null ? void 0 : f.placement) || "").includes("center"));
|
|
2651
|
-
return a("div", { className: L("ul-app",
|
|
2651
|
+
return a("div", { className: L("ul-app", We(p) ? "ul-app--visible" : "ul-app--overlay"), dir: "auto", id: Se, onClick: (C) => {
|
|
2652
2652
|
var q;
|
|
2653
2653
|
const M = window.sprigAPI, A = C.target;
|
|
2654
2654
|
if (!M || !A)
|
|
@@ -2803,8 +2803,8 @@ const Li = { state: { chunks: {} }, stopRecording(e) {
|
|
|
2803
2803
|
p.readyState === "live" && p.stop();
|
|
2804
2804
|
}));
|
|
2805
2805
|
});
|
|
2806
|
-
} },
|
|
2807
|
-
Object.freeze(
|
|
2806
|
+
} }, Fe = Object.create(Li);
|
|
2807
|
+
Object.freeze(Fe);
|
|
2808
2808
|
const Oi = ({ mode: e = null, viewWindow: t, viewDocument: n, trackPageViewUrl: r }) => {
|
|
2809
2809
|
const o = n.documentElement;
|
|
2810
2810
|
let i;
|
|
@@ -2816,26 +2816,26 @@ const Oi = ({ mode: e = null, viewWindow: t, viewDocument: n, trackPageViewUrl:
|
|
|
2816
2816
|
return { mode: e, sw: t.screen.width, sh: t.screen.height, cw: o.clientWidth, ch: o.clientHeight, p: r ?? i, l: t.navigator.language };
|
|
2817
2817
|
}, Ai = { configure: function(e, t = !0) {
|
|
2818
2818
|
var y;
|
|
2819
|
-
const { answers: n, apiURL: r, endCard: o, eventEmitFn: i, fontFamilyURL: s, frame: d, previewKey: l, viewDocument: p, viewWindow: h } = e, c =
|
|
2819
|
+
const { answers: n, apiURL: r, endCard: o, eventEmitFn: i, fontFamilyURL: s, frame: d, previewKey: l, viewDocument: p, viewWindow: h } = e, c = We(e.headers) ? e.frame : p.body, u = e.UpChunk || window.UpChunk, m = Be, f = ((x, T) => {
|
|
2820
2820
|
const S = [...x], w = /* @__PURE__ */ new Set(["videovoice", "recordedtask"]);
|
|
2821
2821
|
return x.some((k) => w.has(k.type)) && S.push({ name: -2, props: { routingOptions: [] }, type: "uploading" }), T && S.push({ name: -1, props: { routingOptions: [] }, type: "thanks" }), S;
|
|
2822
2822
|
})(e.cards, !!o);
|
|
2823
|
-
|
|
2823
|
+
Fe.configure(m, { cards: f, hasEndCard: !!o, apiURL: r, UpChunk: u }), B.setState({ apiURL: r, answers: n, border: e.border, index: e.startingQuestionIdx || 0, cards: f, configureExitOnOverlayClick: e.configureExitOnOverlayClick, customMetadata: e.customMetadata, endCard: e.endCard, envId: e.envId, eventEmitFn: i, fontFamily: e.fontFamily, forceBrandedLogo: e.forceBrandedLogo, frame: d, headers: e.headers, hasViewedEmbed: !1, isPreview: e.isPreview, marketingUrl: "https://sprig.com", meta: Oi({ mode: e.mode, viewWindow: h, viewDocument: p, trackPageViewUrl: e.trackPageViewUrl }), mode: e.mode, previewKey: l, previewMode: e.previewMode, productConfig: e.productConfig, recorder: Fe, recorderEventEmitter: m, responseGroupUid: e.responseGroupUid, showStripes: e.showStripes, showSurveyBrand: e.showSurveyBrand, slugName: e.slugName, styleNonce: e.styleNonce, studyType: e.studyType, surveyId: e.surveyId, tabTitle: e.tabTitle, uploadingCardViewed: !1, uploadProgress: {}, useMobileStyling: e.useMobileStyling, useDesktopPrototype: e.useDesktopPrototype, userId: e.userId, viewDocument: e.viewDocument, visitorAttributes: e.visitorAttributes, viewedCardCount: e.startingQuestionIdx || 0 });
|
|
2824
2824
|
const { head: b } = p;
|
|
2825
|
-
if (At({ document: p, elementId: "sprig-style", styleString: 'html,body,p,ol,ul,li,dl,dt,dd,blockquote,figure,fieldset,legend,textarea,pre,iframe,hr,h1,h2,h3,h4,h5,h6{margin:0;padding:0}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:400}button,input,select,textarea{margin:0}html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}ol,ul{padding-inline-start:1em}.ul-loading-spinner-container{font-size:1.8rem;flex-grow:1;width:100%;height:100%;display:flex;align-items:center;justify-content:center}.ul-loading-spinner{display:inline-block;position:relative;width:6rem;height:6rem}.ul-loading-spinner div{box-sizing:border-box;display:block;position:absolute;width:80%;height:80%;margin:5px;border:5px solid #152e3e;border-radius:50%;animation:lds-ring 1.2s cubic-bezier(.5,0,.5,1) infinite;border-color:#152e3e transparent transparent transparent}.ul-loading-spinner .first{animation-delay:-.45s}.ul-loading-spinner .second{animation-delay:-.3s}.ul-loading-spinner .third{animation-delay:-.15s}@keyframes lds-ring{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.fade-in-transition{animation:fadeIn .4s ease-in}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.ul-card{flex:1 1 auto;border-radius:2px;display:flex;flex-direction:column;font-size:17px;line-height:19px;text-align:start;min-width:200px;min-height:0;justify-content:center}.ul-card__container--desktop{border:2px solid #fff;box-shadow:0 0 15px #00000026;margin:15px}.ul-card__container--mobile{border-width:0;box-shadow:0 0 5px #00000040;margin-top:5px}.sprig-container{display:flex;flex-direction:column;width:100%;height:fit-content;flex:1 1 auto;min-height:0;justify-content:center}.ul-card__container{background:#fff;border-radius:6px;display:flex;flex-direction:column;flex-grow:1;flex:1 1 auto;font-size:17px;line-height:23px;padding:0;min-height:0;position:relative;text-align:center;word-break:break-word;overflow:auto}.ul-card__container--desktop_feedbackButton{box-shadow:unset}.ul-card-vertical__button-wrapper{flex-direction:column;align-items:center}.ul-card__button-wrapper{margin-top:4px;display:flex;gap:16px;justify-content:center;align-self:stretch}.sprig-question-footer-container{align-items:center;width:100%;height:fit-content;display:flex;flex-direction:column;padding:12px 20px 0}.ul-rich-text-body{min-height:2em}.ul-rich-text-body,.ul-rich-text-body p{margin-top:10px;margin-bottom:10px}.ul-rich-text-body li{margin:5px 0}.ul-rich-text-body p,.ul-rich-text-body li{font-size:15px;line-height:130.35%;letter-spacing:.02em;color:#343442;text-align:start;white-space:pre-line}.ul-rich-text-body:last-child,.ul-rich-text-body li:last-child{margin-bottom:15px}.ul-card-main-content__link,.ul-card-main-content__email,.ul-card-main-content__web,.ul-card-main-content__android,.ul-card-main-content__ios{display:flex;flex:1 1 auto;min-height:0;flex-direction:column;z-index:2;height:fit-content}.sprig-border-bottom{border-bottom:1px solid rgba(0,0,0,.1)}.sprig-border-top{border-top:1px solid rgba(0,0,0,.1)}.question-header-container{z-index:1}.sprig-header-container{padding:16px}.question-header-button-container{display:grid;grid-template-columns:97fr 3fr;align-items:center;justify-content:space-between;width:100%;height:fit-content}.ul-card--thanks-content .question-header-button-container{justify-content:center}.sprig-question-body{padding:0 20px;min-height:0;flex-shrink:1;overflow:auto;position:relative;align-self:stretch;width:100%}.sprig-stretch{align-self:stretch}.ul-question{color:#343442;display:block;font-size:17px;line-height:125%;font-weight:500;cursor:default;text-align:start}.ul-question ol,.ul-question ul,.ul-caption ol,.ul-caption ul{margin-left:1em}.ul-caption{flex:1 0 auto;font-size:14px;line-height:130.35%;letter-spacing:.02em;color:#6c6c6e;text-align:start;margin-top:4px}.ul-card__choices{margin:5px 0 0;flex:1 0}.choice--mobile{border:2px solid #e6e6e6}.choice--desktop{border:1px solid #e6e6e6}.choice{align-items:flex-start;color:#262136;cursor:pointer;display:flex;justify-content:flex-start;flex-direction:column;box-sizing:border-box;border-radius:3px;margin-bottom:7px;font-size:15px;line-height:20px;padding:10px 20px 10px 15px;background-color:#00000003}.choice--desktop:hover,.choice--desktop:active,.choice--mobile:active{background-color:#0000000d}.choice-label-container{align-items:center;display:flex;flex-direction:row;flex:0 0 fit-content;gap:15px;height:fit-content;justify-content:flex-start;width:100%}.choice-text-entry-container{width:100%;height:fit-content;flex:0 1 fit-content;overflow:hidden}.choice .choice-text-input--mobile{max-height:63px}.choice .choice-text-input--desktop{max-height:150px}.choice .choice-text-input{box-sizing:border-box;background-color:transparent;color:#343442;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;min-height:20px;max-height:60px;padding:0;margin-top:8px;resize:none;width:100%;font-size:14px;line-height:20px;outline:none;border:none;overflow-wrap:break-word}.choice .choice-text-input::placeholder{color:#6c6c6e80}.ul-thanks-check{text-align:center;margin-bottom:20px}.ul-card--thanks-content{padding:20px 0 10px}.ul-card--thanks .ul-question{padding-top:0;text-align:center}.ul-card--thanks .ul-caption{padding-top:0;text-align:center;overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;hyphenate-limit-lines:no-limit}.ul-card--uploading .ul-question{padding-top:15px;text-align:center}.ul-card--uploading .ul-caption{padding-top:5px;text-align:center;overflow-wrap:break-word}.select-checkbox{height:16px;width:16px;display:flex;box-sizing:border-box;background-color:"transparent";align-items:center;justify-content:center;border-radius:4px;border:1px solid #b0b5b7;flex-shrink:0}.select-radio{height:16px;width:16px;border-radius:16px;border:1px solid #323232;display:flex;box-sizing:border-box;box-shadow:inset 2px 2px #0000001a;background-color:"transparent";align-items:center;justify-content:center}.footer{width:100%;margin-top:12px;font-size:12px;line-height:12px;color:#000000b3}[class^=CenteredSurveyLayout] .ul-header__container,[class^=QuestionConceptTestLayout] .ul-header__container,.ul-websurvey-frame .ul-card__container,.ul-websurvey-frame-mobile .ul-card__container{margin-bottom:unset}[class^=CenteredSurveyLayout] .ul-card__container,[class^=QuestionConceptTestLayout] .ul-card__container,.ul-websurvey-frame .ul-card__container,.ul-websurvey-frame-mobile .ul-card__container{align-self:center;box-shadow:unset;border-radius:unset;border:none!important;position:unset;width:100%}@media only screen and (min-height: 600px) and (width: 600px){.ul-card{position:relative;top:-20px}}.ul-vertical-centered-container{display:flex;flex-direction:column;align-items:center;align-self:stretch}.sprig-accordion{width:100%;margin-bottom:8px}.sprig-accordion-body{width:100%;overflow:hidden}.sprig-accordion-header-container{background:transparent;border:none;display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;cursor:pointer;margin:8px 0 0;padding:0;font-family:inherit}.sprig-header-label-container{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:8px;flex:1 1 0}.sprig-header-label{color:#343442;font-size:15px;font-weight:590;line-height:21px;text-align:start;overflow:hidden}.sprig-check-background{flex:0 0 16px;height:16px;width:16px;border-radius:8px;margin-right:8px;background-color:#efefee;display:flex;align-items:center;justify-content:center}.sprig-check{height:9px;width:9px;margin-left:-1px}.sprig-check path{stroke:#506067;stroke-width:1.5}.sprig-caret{height:20px;width:20px;transition-property:transform}.sprig-caret path{stroke:#000}.ul-consent-legal__name-input--mobile{border:2px solid #e6e6e6}.ul-consent-legal__name-input--desktop{border:1px solid #e6e6e6}.ul-consent-legal__name-input{background:#00000003;box-sizing:border-box;color:#343442;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;padding:10px 20px 10px 15px;border-radius:3px;font-size:15px;line-height:20px;margin-bottom:7px;width:100%}.ul-consent-legal__name-input::placeholder{color:#6c6c6e80}.ul-consent-legal__name-input:focus{outline:none;background:#fff}.ul-consent-legal__name-input--desktop:hover:not(:focus){background-color:#0000000d}.ul-card__consent-legal .choice{font-size:15px;padding:10px 15px;background-color:#00000003}.ul-card__consent-legal .choice--desktop:hover,.ul-card__consent-legal .choice--desktop:active,.ul-card__consent-legal .choice--mobile:active{background-color:#0000000d}.ul-card--likert__numbers{align-items:center;border-radius:5px;display:flex;flex-direction:row;flex:1 0;justify-content:center;margin:5px 0 0}.ul-card--likert__numbers>button{padding:unset}.likert-number--mobile{border:2px solid #e6e6e6}.likert-number--mobile:not(:first-child){margin-inline-start:-2px}.likert-number--desktop{border:1px solid #e6e6e6}.likert-number--desktop:not(:first-child){margin-inline-start:-1px}.likert-number{align-items:center;cursor:pointer;display:flex;justify-content:center;flex:1 0;background-color:#00000003;font-size:18px;line-height:24px;height:67px}.likert-number:first-child{border-start-start-radius:5px;border-end-start-radius:5px}.likert-number:last-child{border-start-end-radius:5px;border-end-end-radius:5px}.likert-number:active,.likert-number--desktop:hover{background-color:#0000000d;font-weight:500}.likert-star--mobile:not(:first-child){margin-inline-start:-2px}.likert-star--desktop:not(:first-child){margin-inline-start:-1px}.likert-star{align-items:center;cursor:pointer;display:flex;justify-content:space-between;flex:1 0;color:transparent;font-size:18px;line-height:24px;height:67px;background:unset;border:unset}.likert-smiley--mobile:not(:first-child){margin-inline-start:-2px}.likert-smiley--desktop:not(:first-child){margin-inline-start:-1px}.likert-smiley{align-items:center;cursor:pointer;display:flex;justify-content:space-between;flex:1 0;color:transparent;line-height:24px;height:67px;background:unset;border:unset}.likert-smiley>svg{margin:0 auto}.likert-smiley circle:not(:first-child){fill-opacity:1}.ul-card--likert__labels{align-items:center;color:#262136;display:flex;flex-direction:row;flex:1 0;font-weight:500;font-size:13px;line-height:15px;justify-content:space-between;margin:7px 0 10px}.ul-card--matrix_grid{display:grid;grid-template-columns:max-content repeat(var(--numColumns),minmax(107px,1fr));grid-template-rows:repeat(var(--numRows),min-content);margin:0 auto;row-gap:4px;width:max-content}.ul-matrix-row-options{display:grid;grid-column:2/-1;grid-template-columns:subgrid}.ul-matrix-column-label{font-size:15px;max-width:150px;padding:10px 12px;text-align:center}.ul-card--matrix_container{margin-bottom:16px;overflow:auto}.ul-card--matrix_question_container{display:flex;flex-direction:column}.ul-matrix-scroll-gradient{-webkit-mask-image:linear-gradient(90deg,#000 90%,transparent);mask-image:linear-gradient(90deg,#000 90%,transparent)}.ul-matrix-scroll-gradient:dir(rtl){-webkit-mask-image:linear-gradient(270deg,#000,90%,transparent);mask-image:linear-gradient(270deg,#000,90%,transparent)}.ul-matrix-scroll-gradient:dir(rtl)+.ul-matrix-scroll-arrow{rotate:180deg}.ul-matrix-scroll-arrow{align-self:flex-end;background:none;border:none;color:#000;padding:0;position:absolute;top:45%}.ul-matrix-scroll-arrow:hover{cursor:pointer}.ul-matrix-option-wrapper{align-items:center;background:#f9f9f8;display:flex;justify-content:center;padding:10px 12px}.ul-matrix-last-option{border-start-end-radius:4px;border-end-end-radius:4px}.ul-matrix-row-label{align-items:center;background:#f9f9f8;border-end-start-radius:4px;border-start-start-radius:4px;display:flex;font-size:15px;left:0;right:0;max-width:200px;min-width:100px;padding:10px 12px;position:sticky}.ul-matrix-option-selected{border:6px solid var(--border);box-shadow:none}.ul-card__matrix{max-width:100%}.select-label{cursor:pointer;flex:1;overflow-wrap:anywhere;text-align:start}.ul-card--nps__numbers{align-items:center;border-radius:5px;display:flex;flex-direction:row;flex:1 0;justify-content:center;margin:5px 0 0}.nps-number--mobile{border:2px solid #e6e6e6}.nps-number--mobile:not(:first-child){margin-inline-start:-2px}.nps-number--desktop{border:1px solid #e6e6e6}.nps-number--desktop:not(:first-child){margin-inline-start:-1px}.nps-number{align-items:center;cursor:pointer;display:flex;justify-content:center;flex:1 0;background-color:#00000003;font-size:18px;line-height:24px;height:67px;padding:unset}.nps-number:first-child{border-start-start-radius:5px;border-end-start-radius:5px}.nps-number:last-child{border-start-end-radius:5px;border-end-end-radius:5px}.nps-number:active,.nps-number--desktop:hover{background-color:#0000000d;font-weight:500}.ul-card--nps__labels{align-items:center;color:#262136;display:flex;flex-direction:row;flex:1 0;font-weight:500;font-size:13px;line-height:15px;justify-content:space-between;margin:7px 0 10px}.ul-card-text{margin-top:2px;margin-bottom:3px;align-items:center;display:flex;flex-direction:column;justify-content:center;padding:0}.ul-card-text__container{align-items:center;box-sizing:border-box;border-radius:3px;display:flex;justify-content:center;margin-bottom:12px;flex:1 0 100%}.ul-card-text__input--mobile{border:2px solid #e6e6e6;max-height:63px}.ul-card-text__input--desktop{border:1px solid #e6e6e6;max-height:150px}.ul-card-text__input{background:#00000003;box-sizing:border-box;color:#343442;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;min-height:63px;overflow:auto;padding:12px;resize:none;width:100%;border-radius:3px;font-size:15px;line-height:20px;overflow-wrap:break-word}.ul-card-text__input::placeholder{color:#6c6c6e80}.ul-card-text__input:focus{outline:none;background:#fff}.ul-card-text__input--desktop:hover:not(:focus){background-color:#0000000d}.ul-card__text-url-prompt-button{text-decoration:none;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:-webkit-fill-available}#ul-card-video__player_recorder{width:100%;width:-moz-available;width:-webkit-fill-available;width:fill-available}.ul-card-record__task{flex:1 0 auto;margin-top:2px;margin-bottom:3px;align-items:center;display:flex;flex-wrap:wrap;justify-content:center;padding:0}#ul-record-task-upload-progress,#ul-record-task-video-preview{width:100%;height:150px}.ul-permission-graphics-container{width:100%;height:150px;background-color:#0000000d;text-align:center;flex-direction:column;margin-left:auto;margin-right:auto;border-radius:5px;display:flex;align-items:center;font-size:15px;color:#000000b3}.ul-av-permission-denied-paragraph{margin:auto 15px;font-size:12px}.ul-av-permission-denied-headline{font-size:14px;color:#262136;text-decoration:underline;font-size:12px}.ul-permission-body{color:#000;margin:5px auto 5px 5px;line-height:135%;text-align:center}.ul-select-tab-container{width:240px;height:46px;background:#fff;border-radius:5px;text-align:start;align-items:center;display:flex;padding:0 5px;margin-top:20px;margin-bottom:auto}.ul-select-tab-text{color:#4b575d;margin:5px;line-height:135%;text-align:center}button.ul-task-skip-button{color:#000;background-color:#fff}#ul-task-detail-container{margin-top:0;margin-bottom:0;overflow:auto}#ul-task-detail-container.ul-rich-text-body p,#ul-task-detail-container.ul-rich-text-body li,#ul-task-detail-container.ul-rich-text-body{color:#4c4c4c}#ul-task-detail-container :first-child{margin-top:0}#ul-task-detail-container :last-child{margin-bottom:20px}.ul-horizontal-button-container{width:100%;display:flex;flex-direction:row}.ul-skip-button-below{margin-top:5px}.ul-horizontal-button-container-center{justify-content:center}.ul-vertical-button-container-center{display:flex;flex-direction:column;align-items:center}.ul-horizontal-button-container-left{justify-content:flex-start}.ul_recorded-task-inset-spacing{margin-top:5px;margin-bottom:24px}.ul_permission_svg_container{justify-content:center}.ul-card-text__button{background-color:var(--theme);border-radius:3px;border:none;color:#fff;cursor:pointer;font-size:15px;font-weight:500;line-height:18px;padding:10.5px 21px}.ul-card-text__button:disabled,.ul-card-text__button.sprig-button-disabled{background-color:#0000001a;color:#0003}.ul-card-text__button.ul-button-inactive{background-color:#fff!important;color:#5d696f!important}.ul-card-skip__button{color:#00000080;background:none;border:none;font-size:15px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;cursor:pointer}.ul-card-button-group{align-items:center;display:flex;gap:15px;justify-content:center;flex-direction:column}.select-button{align-items:center;background-color:transparent;border-radius:8px;border:1px solid #0b2330;box-shadow:0 0 0 2px #c8cccc;cursor:pointer;display:flex;font-size:15px;justify-content:space-between;margin-bottom:8px;padding:4px 8px 4px 16px;width:100%}.select-button:hover{background-color:#f3f3f3}.select-button:active{background-color:#eee}.select-button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select-button.select-button-placeholder{color:#b0b5b7}.select-button svg{flex-shrink:0}.select-list{position:relative;height:fit-content;padding:4px 0;z-index:100;background-color:#fff;border:1px solid #E2E3E1;box-shadow:0 16px 24px #0b23300d,0 4px 12px #0b233008;border-radius:8px;overflow-y:scroll;width:100%}.select-option{align-items:center;cursor:pointer;display:flex;font-size:15px;gap:16px;line-height:20px;padding:8px 16px}.select-option:hover{background-color:#f3f3f3}html,body{cursor:default;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;height:100%;overflow:hidden;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;-webkit-touch-callout:none}b{font-weight:500}#ul-app{opacity:0;width:100%;flex-grow:2;display:flex}#ul-app.ul-app--overlay{position:absolute;bottom:0;transition:opacity .1s ease-out;transition-delay:.1s}#ul-app.ul-app--visible{opacity:1;bottom:0}.ul-app__container{width:100%;display:flex;flex-direction:column;max-height:100vh}.ul-header__container{margin-bottom:15px}.ul-header{align-items:center;background:repeating-linear-gradient(120deg,#ebebeb,#ebebeb 24px,#fff 24px,#fff 48px);border-bottom:2px solid #ebebeb;display:flex;font-size:14px;font-weight:500;height:40px;justify-content:center;width:100%}.ul-footer{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;margin-top:auto;flex-grow:0;width:100%;min-height:10px;height:fit-content;flex-shrink:0}.ul-footer>.yellow-footer-logo{background:#fad133;border:1px solid #f9c600;border-radius:14px;padding:6px 12px}.ul-footer>.yellow-footer-logo:hover{background:#f9c600}.ul-footer .thank-you-card-link{background:#00000003;border:1px solid #e6e6e6;border-radius:8px;cursor:pointer;display:inline-flex;font-size:14px;gap:12px;margin-bottom:15px;padding:12px;text-align:initial;width:280px}.ul-footer .thank-you-card-link:hover{background:#00000008}.ul-footer>a{color:inherit}.ul-footer-bubble{display:inline-block;margin:0 3px;width:7px;height:7px;border-radius:3px;border:1px solid transparent}.sprig-box-logo{background:#f9c600;border-radius:5px;display:flex;padding:4px}.close-container{display:flex;justify-content:flex-end;width:100%;height:0}.close-btn{cursor:pointer;height:16px;margin-inline-end:-10px;position:relative;top:-10px;width:16px;z-index:1;align-self:flex-start;justify-self:end;flex-shrink:0}.ul-app__container{transition:opacity .3s ease-out}.ul-center-horizontally{text-align:center}#ul-progress-bar-container{width:100%;height:2px;background-color:#0000001a;border-radius:2px;max-width:250px;margin:16px 0}#ul-progress-bar-current{transition:width 1s ease;width:0%;height:0;border-radius:2px}.prototype-button{align-self:stretch;background:#00000003;border:1.5px solid #e6e6e6;border-radius:4px 0 0 4px;flex:none;flex-grow:0;height:fit-content;line-height:16.5px;margin:0 20px;padding:20px 0;font-size:14px;font-family:inherit;text-decoration:underline}.prototype-button:hover{cursor:pointer}' }), e.customStyles && At({ document: p, elementId: "ul-custom-style", styleString: e.customStyles, nonce: e.styleNonce }), e.fontFamily && s && parent) {
|
|
2825
|
+
if (At({ document: p, elementId: "sprig-style", styleString: 'html,body,p,ol,ul,li,dl,dt,dd,blockquote,figure,fieldset,legend,textarea,pre,iframe,hr,h1,h2,h3,h4,h5,h6{margin:0;padding:0}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:400}button,input,select,textarea{margin:0}html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}ol,ul{padding-inline-start:1em}.ul-loading-spinner-container{font-size:1.8rem;flex-grow:1;width:100%;height:100%;display:flex;align-items:center;justify-content:center}.ul-loading-spinner{display:inline-block;position:relative;width:6rem;height:6rem}.ul-loading-spinner div{box-sizing:border-box;display:block;position:absolute;width:80%;height:80%;margin:5px;border:5px solid #152e3e;border-radius:50%;animation:lds-ring 1.2s cubic-bezier(.5,0,.5,1) infinite;border-color:#152e3e transparent transparent transparent}.ul-loading-spinner .first{animation-delay:-.45s}.ul-loading-spinner .second{animation-delay:-.3s}.ul-loading-spinner .third{animation-delay:-.15s}@keyframes lds-ring{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.fade-in-transition{animation:fadeIn .4s ease-in}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.ul-card{flex:1 1 auto;border-radius:2px;display:flex;flex-direction:column;font-size:17px;line-height:19px;text-align:start;min-width:200px;min-height:0;justify-content:center}.ul-card__container--desktop{border:2px solid #fff;box-shadow:0 0 15px #00000026;margin:15px}.ul-card__container--mobile{border-width:0;box-shadow:0 0 5px #00000040;margin-top:5px}.sprig-container{display:flex;flex-direction:column;width:100%;height:fit-content;flex:1 1 auto;min-height:0;justify-content:center}.ul-card__container{background:#fff;border-radius:6px;display:flex;flex-direction:column;flex-grow:1;flex:1 1 auto;font-size:17px;line-height:23px;padding:0;min-height:0;position:relative;text-align:center;word-break:break-word;overflow:auto}.ul-card__container--desktop_feedbackButton{box-shadow:unset}.ul-card-vertical__button-wrapper{flex-direction:column;align-items:center}.ul-card__button-wrapper{margin-top:4px;display:flex;gap:16px;justify-content:center;align-self:stretch}.sprig-question-footer-container{align-items:center;width:100%;height:fit-content;display:flex;flex-direction:column;padding:12px 20px 0}.ul-rich-text-body{min-height:2em}.ul-rich-text-body,.ul-rich-text-body p{margin-top:10px;margin-bottom:10px}.ul-rich-text-body li{margin:5px 0}.ul-rich-text-body p,.ul-rich-text-body li{font-size:15px;line-height:130.35%;letter-spacing:.02em;color:#343442;text-align:start;white-space:pre-line}.ul-rich-text-body:last-child,.ul-rich-text-body li:last-child{margin-bottom:15px}.ul-card-main-content__link,.ul-card-main-content__email,.ul-card-main-content__web,.ul-card-main-content__android,.ul-card-main-content__ios{display:flex;flex:1 1 auto;min-height:0;flex-direction:column;z-index:2;height:fit-content}.sprig-border-bottom{border-bottom:1px solid rgba(0,0,0,.1)}.sprig-border-top{border-top:1px solid rgba(0,0,0,.1)}.question-header-container{z-index:1}.sprig-header-container{padding:16px}.question-header-button-container{display:grid;grid-template-columns:97fr 3fr;align-items:center;justify-content:space-between;width:100%;height:fit-content}.ul-card--thanks-content .question-header-button-container{justify-content:center}.sprig-question-body{padding:0 20px;min-height:0;flex-shrink:1;overflow:auto;position:relative;align-self:stretch;width:100%}.sprig-stretch{align-self:stretch}.ul-question{color:#343442;display:block;font-size:17px;line-height:125%;font-weight:500;cursor:default;text-align:start}.ul-question ol,.ul-question ul,.ul-caption ol,.ul-caption ul{margin-left:1em}.ul-caption{flex:1 0 auto;font-size:14px;line-height:130.35%;letter-spacing:.02em;color:#6c6c6e;text-align:start;margin-top:4px}.ul-card__choices{margin:5px 0 0;flex:1 0}.choice--mobile{border:2px solid #e6e6e6}.choice--desktop{border:1px solid #e6e6e6}.choice{align-items:flex-start;color:#262136;cursor:pointer;display:flex;justify-content:flex-start;flex-direction:column;box-sizing:border-box;border-radius:3px;margin-bottom:7px;font-size:15px;line-height:20px;padding:10px 20px 10px 15px;background-color:#00000003}.choice--desktop:hover,.choice--desktop:active,.choice--mobile:active{background-color:#0000000d}.choice-label-container{align-items:center;display:flex;flex-direction:row;flex:0 0 fit-content;gap:15px;height:fit-content;justify-content:flex-start;width:100%}.choice-text-entry-container{width:100%;height:fit-content;flex:0 1 fit-content;overflow:hidden}.choice .choice-text-input--mobile{max-height:63px}.choice .choice-text-input--desktop{max-height:150px}.choice .choice-text-input{box-sizing:border-box;background-color:transparent;color:#343442;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;min-height:20px;max-height:60px;padding:0;margin-top:8px;resize:none;width:100%;font-size:14px;line-height:20px;outline:none;border:none;overflow-wrap:break-word}.choice .choice-text-input::placeholder{color:#6c6c6e80}.ul-thanks-check{text-align:center;margin-bottom:20px}.ul-card--thanks-content{padding:20px 0 10px}.ul-card--thanks .ul-question{padding-top:0;text-align:center}.ul-card--thanks .ul-caption{padding-top:0;text-align:center;overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;hyphenate-limit-lines:no-limit}.ul-card--uploading .ul-question{padding-top:15px;text-align:center}.ul-card--uploading .ul-caption{padding-top:5px;text-align:center;overflow-wrap:break-word}.select-checkbox{height:16px;width:16px;display:flex;box-sizing:border-box;background-color:"transparent";align-items:center;justify-content:center;border-radius:4px;border:1px solid #b0b5b7;flex-shrink:0}.select-radio{height:16px;width:16px;border-radius:16px;border:1px solid #323232;display:flex;box-sizing:border-box;box-shadow:inset 2px 2px #0000001a;background-color:"transparent";align-items:center;justify-content:center}.footer{width:100%;margin-top:12px;font-size:12px;line-height:12px;color:#000000b3}[class^=CenteredSurveyLayout] .ul-header__container,[class^=QuestionConceptTestLayout] .ul-header__container,.ul-websurvey-frame .ul-card__container,.ul-websurvey-frame-mobile .ul-card__container{margin-bottom:unset}[class^=CenteredSurveyLayout] .ul-card__container,[class^=QuestionConceptTestLayout] .ul-card__container,.ul-websurvey-frame .ul-card__container,.ul-websurvey-frame-mobile .ul-card__container{align-self:center;box-shadow:unset;border-radius:unset;border:none!important;position:unset;width:100%}@media only screen and (min-height: 600px) and (width: 600px){.ul-card{position:relative;top:-20px}}.ul-vertical-centered-container{display:flex;flex-direction:column;align-items:center;align-self:stretch}.sprig-accordion{width:100%;margin-bottom:8px}.sprig-accordion-body{width:100%;overflow:hidden}.sprig-accordion-header-container{background:transparent;border:none;display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;cursor:pointer;margin:8px 0 0;padding:0;font-family:inherit}.sprig-header-label-container{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:8px;flex:1 1 0}.sprig-header-label{color:#343442;font-size:15px;font-weight:590;line-height:21px;text-align:start;overflow:hidden}.sprig-check-background{flex:0 0 16px;height:16px;width:16px;border-radius:8px;margin-right:8px;background-color:#efefee;display:flex;align-items:center;justify-content:center}.sprig-check{height:9px;width:9px;margin-left:-1px}.sprig-check path{stroke:#506067;stroke-width:1.5}.sprig-caret{height:20px;width:20px;transition-property:transform}.sprig-caret path{stroke:#000}.ul-consent-legal__name-input--mobile{border:2px solid #e6e6e6}.ul-consent-legal__name-input--desktop{border:1px solid #e6e6e6}.ul-consent-legal__name-input{background:#00000003;box-sizing:border-box;color:#343442;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;padding:10px 20px 10px 15px;border-radius:3px;font-size:15px;line-height:20px;margin-bottom:7px;width:100%}.ul-consent-legal__name-input::placeholder{color:#6c6c6e80}.ul-consent-legal__name-input:focus{outline:none;background:#fff}.ul-consent-legal__name-input--desktop:hover:not(:focus){background-color:#0000000d}.ul-card__consent-legal .choice{font-size:15px;padding:10px 15px;background-color:#00000003}.ul-card__consent-legal .choice--desktop:hover,.ul-card__consent-legal .choice--desktop:active,.ul-card__consent-legal .choice--mobile:active{background-color:#0000000d}.ul-card--likert__numbers{align-items:center;border-radius:5px;display:flex;flex-direction:row;flex:1 0;justify-content:center;margin:5px 0 0}.ul-card--likert__numbers>button{padding:unset}.likert-number--mobile{border:2px solid #e6e6e6}.likert-number--mobile:not(:first-child){margin-inline-start:-2px}.likert-number--desktop{border:1px solid #e6e6e6}.likert-number--desktop:not(:first-child){margin-inline-start:-1px}.likert-number{align-items:center;cursor:pointer;display:flex;justify-content:center;flex:1 0;background-color:#00000003;font-size:18px;line-height:24px;height:67px}.likert-number:first-child{border-start-start-radius:5px;border-end-start-radius:5px}.likert-number:last-child{border-start-end-radius:5px;border-end-end-radius:5px}.likert-number:active,.likert-number--desktop:hover{background-color:#0000000d;font-weight:500}.likert-star--mobile:not(:first-child){margin-inline-start:-2px}.likert-star--desktop:not(:first-child){margin-inline-start:-1px}.likert-star{align-items:center;cursor:pointer;display:flex;justify-content:space-between;flex:1 0;color:transparent;font-size:18px;line-height:24px;height:67px;background:unset;border:unset}.likert-smiley--mobile:not(:first-child){margin-inline-start:-2px}.likert-smiley--desktop:not(:first-child){margin-inline-start:-1px}.likert-smiley{align-items:center;cursor:pointer;display:flex;justify-content:space-between;flex:1 0;color:transparent;line-height:24px;height:67px;background:unset;border:unset}.likert-smiley>svg{margin:0 auto}.likert-smiley circle:not(:first-child){fill-opacity:1}.ul-card--likert__labels{align-items:center;color:#262136;display:flex;flex-direction:row;flex:1 0;font-weight:500;font-size:13px;line-height:15px;justify-content:space-between;margin:7px 0 10px}.ul-card--matrix_grid{display:grid;grid-template-columns:max-content repeat(var(--numColumns),minmax(107px,1fr));grid-template-rows:repeat(var(--numRows),min-content);margin:0 auto;row-gap:4px;width:max-content}.ul-matrix-row-options{display:grid;grid-column:2/-1;grid-template-columns:subgrid}.ul-matrix-column-label{font-size:15px;max-width:150px;padding:10px 12px;text-align:center}.ul-card--matrix_container{margin-bottom:16px;overflow:auto}.ul-card--matrix_question_container{display:flex;flex-direction:column}.ul-matrix-scroll-gradient{-webkit-mask-image:linear-gradient(90deg,#000 90%,transparent);mask-image:linear-gradient(90deg,#000 90%,transparent)}.ul-matrix-scroll-gradient:dir(rtl){-webkit-mask-image:linear-gradient(270deg,#000,90%,transparent);mask-image:linear-gradient(270deg,#000,90%,transparent)}.ul-matrix-scroll-gradient:dir(rtl)+.ul-matrix-scroll-arrow{rotate:180deg}.ul-matrix-scroll-arrow{align-self:flex-end;background:none;border:none;color:#000;padding:0;position:absolute;top:45%}.ul-matrix-scroll-arrow:hover{cursor:pointer}.ul-matrix-option-wrapper{align-items:center;background:#f9f9f8;display:flex;justify-content:center;padding:10px 12px}.ul-matrix-last-option{border-start-end-radius:4px;border-end-end-radius:4px}.ul-matrix-row-label{align-items:center;background:#f9f9f8;border-end-start-radius:4px;border-start-start-radius:4px;display:flex;font-size:15px;left:0;right:0;max-width:200px;min-width:100px;padding:10px 12px;position:sticky}.ul-matrix-option-selected{border:6px solid var(--border);box-shadow:none}.ul-card__matrix{max-width:100%}.select-label{cursor:pointer;flex:1;overflow-wrap:anywhere;text-align:start}.ul-card--nps__numbers{align-items:center;border-radius:5px;display:flex;flex-direction:row;flex:1 0;justify-content:center;margin:5px 0 0}.nps-number--mobile{border:2px solid #e6e6e6}.nps-number--mobile:not(:first-child){margin-inline-start:-2px}.nps-number--desktop{border:1px solid #e6e6e6}.nps-number--desktop:not(:first-child){margin-inline-start:-1px}.nps-number{align-items:center;cursor:pointer;display:flex;justify-content:center;flex:1 0;background-color:#00000003;font-size:18px;line-height:24px;height:67px;padding:unset}.nps-number:first-child{border-start-start-radius:5px;border-end-start-radius:5px}.nps-number:last-child{border-start-end-radius:5px;border-end-end-radius:5px}.nps-number:active,.nps-number--desktop:hover{background-color:#0000000d;font-weight:500}.ul-card--nps__labels{align-items:center;color:#262136;display:flex;flex-direction:row;flex:1 0;font-weight:500;font-size:13px;line-height:15px;justify-content:space-between;margin:7px 0 10px}.ul-card-text{margin-top:2px;margin-bottom:3px;align-items:center;display:flex;flex-direction:column;justify-content:center;padding:0}.ul-card-text__container{align-items:center;box-sizing:border-box;border-radius:3px;display:flex;justify-content:center;margin-bottom:12px;flex:1 0 100%}.ul-card-text__input--mobile{border:2px solid #e6e6e6;max-height:63px}.ul-card-text__input--desktop{border:1px solid #e6e6e6;max-height:150px}.ul-card-text__input{background:#00000003;box-sizing:border-box;color:#343442;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;min-height:63px;overflow:auto;padding:12px;resize:none;width:100%;border-radius:3px;font-size:15px;line-height:20px;overflow-wrap:break-word}.ul-card-text__input::placeholder{color:#6c6c6e80}.ul-card-text__input:focus{outline:none;background:#fff}.ul-card-text__input--desktop:hover:not(:focus){background-color:#0000000d}.ul-card__text-url-prompt-button{text-decoration:none;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:-webkit-fill-available}#ul-card-video__player_recorder{width:100%;width:-moz-available;width:-webkit-fill-available;width:fill-available}.ul-card-record__task{flex:1 0 auto;margin-top:2px;margin-bottom:3px;align-items:center;display:flex;flex-wrap:wrap;justify-content:center;padding:0}#ul-record-task-upload-progress,#ul-record-task-video-preview{width:100%;height:150px}.ul-permission-graphics-container{width:100%;height:150px;background-color:#0000000d;text-align:center;flex-direction:column;margin-left:auto;margin-right:auto;border-radius:5px;display:flex;align-items:center;font-size:15px;color:#000000b3}.ul-av-permission-denied-paragraph{margin:auto 15px;font-size:12px}.ul-av-permission-denied-headline{font-size:14px;color:#262136;text-decoration:underline;font-size:12px}.ul-permission-body{color:#000;margin:5px auto 5px 5px;line-height:135%;text-align:center}.ul-select-tab-container{width:240px;height:46px;background:#fff;border-radius:5px;text-align:start;align-items:center;display:flex;padding:0 5px;margin-top:20px;margin-bottom:auto}.ul-select-tab-text{color:#4b575d;margin:5px;line-height:135%;text-align:center}button.ul-task-skip-button{color:#000;background-color:#fff}#ul-task-detail-container{margin-top:0;margin-bottom:0;overflow:auto}#ul-task-detail-container.ul-rich-text-body p,#ul-task-detail-container.ul-rich-text-body li,#ul-task-detail-container.ul-rich-text-body{color:#4c4c4c}#ul-task-detail-container :first-child{margin-top:0}#ul-task-detail-container :last-child{margin-bottom:20px}.ul-horizontal-button-container{width:100%;display:flex;flex-direction:row}.ul-skip-button-below{margin-top:5px}.ul-horizontal-button-container-center{justify-content:center}.ul-vertical-button-container-center{display:flex;flex-direction:column;align-items:center}.ul-horizontal-button-container-left{justify-content:flex-start}.ul_recorded-task-inset-spacing{margin-top:5px;margin-bottom:24px}.ul_permission_svg_container{justify-content:center}.ul-card-text__button{background-color:var(--theme);border-radius:3px;border:none;color:#fff;cursor:pointer;font-size:15px;font-weight:500;line-height:18px;padding:10.5px 21px}.ul-card-text__button:disabled,.ul-card-text__button.sprig-button-disabled{background-color:#0000001a;color:#0003}.ul-card-text__button.ul-button-inactive{background-color:#fff!important;color:#5d696f!important}.ul-card-skip__button{color:#00000080;background:none;border:none;font-size:15px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;cursor:pointer}.ul-card-button-group{align-items:center;display:flex;gap:15px;justify-content:center;flex-direction:column}.select-button{align-items:center;background-color:transparent;border-radius:8px;border:1px solid #0b2330;box-shadow:0 0 0 2px #c8cccc;cursor:pointer;display:flex;font-size:15px;justify-content:space-between;margin-bottom:8px;padding:4px 8px 4px 16px;width:100%}.select-button:hover{background-color:#f3f3f3}.select-button:active{background-color:#eee}.select-button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select-button.select-button-placeholder{color:#b0b5b7}.select-button svg{flex-shrink:0}.select-list{position:relative;height:fit-content;padding:4px 0;z-index:100;background-color:#fff;border:1px solid #E2E3E1;box-shadow:0 16px 24px #0b23300d,0 4px 12px #0b233008;border-radius:8px;overflow-y:scroll;width:100%}.select-option{align-items:center;cursor:pointer;display:flex;font-size:15px;gap:16px;line-height:20px;padding:8px 16px}.select-option:hover{background-color:#f3f3f3}html,body{cursor:default;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;height:100%;overflow:hidden;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;-webkit-touch-callout:none}b{font-weight:500}form{margin-block-end:0;margin-block-start:0}#ul-app{opacity:0;width:100%;flex-grow:2;display:flex}#ul-app.ul-app--overlay{position:absolute;bottom:0;transition:opacity .1s ease-out;transition-delay:.1s}#ul-app.ul-app--visible{opacity:1;bottom:0}.ul-app__container{width:100%;display:flex;flex-direction:column;max-height:100vh}.ul-header__container{margin-bottom:15px}.ul-header{align-items:center;background:repeating-linear-gradient(120deg,#ebebeb,#ebebeb 24px,#fff 24px,#fff 48px);border-bottom:2px solid #ebebeb;display:flex;font-size:14px;font-weight:500;height:40px;justify-content:center;width:100%}.ul-footer{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;margin-top:auto;flex-grow:0;width:100%;min-height:10px;height:fit-content;flex-shrink:0}.ul-footer>.yellow-footer-logo{background:#fad133;border:1px solid #f9c600;border-radius:14px;padding:6px 12px}.ul-footer>.yellow-footer-logo:hover{background:#f9c600}.ul-footer .thank-you-card-link{background:#00000003;border:1px solid #e6e6e6;border-radius:8px;cursor:pointer;display:inline-flex;font-size:14px;gap:12px;margin-bottom:15px;padding:12px;text-align:initial;width:280px}.ul-footer .thank-you-card-link:hover{background:#00000008}.ul-footer>a{color:inherit}.ul-footer-bubble{display:inline-block;margin:0 3px;width:7px;height:7px;border-radius:3px;border:1px solid transparent}.sprig-box-logo{background:#f9c600;border-radius:5px;display:flex;padding:4px}.close-container{display:flex;justify-content:flex-end;width:100%;height:0}.close-btn{cursor:pointer;height:16px;margin-inline-end:-10px;position:relative;top:-10px;width:16px;z-index:1;align-self:flex-start;justify-self:end;flex-shrink:0}.ul-app__container{transition:opacity .3s ease-out}.ul-center-horizontally{text-align:center}#ul-progress-bar-container{width:100%;height:2px;background-color:#0000001a;border-radius:2px;max-width:250px;margin:16px 0}#ul-progress-bar-current{transition:width 1s ease;width:0%;height:0;border-radius:2px}.prototype-button{align-self:stretch;background:#00000003;border:1.5px solid #e6e6e6;border-radius:4px 0 0 4px;flex:none;flex-grow:0;height:fit-content;line-height:16.5px;margin:0 20px;padding:20px 0;font-size:14px;font-family:inherit;text-decoration:underline}.prototype-button:hover{cursor:pointer}' }), e.customStyles && At({ document: p, elementId: "ul-custom-style", styleString: e.customStyles, nonce: e.styleNonce }), e.fontFamily && s && parent) {
|
|
2826
2826
|
const x = p.createElement("link");
|
|
2827
2827
|
x.rel = "stylesheet", x.href = s, b.appendChild(x);
|
|
2828
2828
|
}
|
|
2829
2829
|
if (!u && e.cards.some((x) => x.type === "recordedtask")) {
|
|
2830
2830
|
const x = p.createElement("script");
|
|
2831
2831
|
x.src = e.upchunkLibraryURL ?? "https://cdn.sprig.com/userleap-web-upchunk-v2.2.2.js", x.onload = () => {
|
|
2832
|
-
|
|
2832
|
+
Fe.setUpChunk(h.UpChunk);
|
|
2833
2833
|
}, x.onerror = () => {
|
|
2834
2834
|
console.warn("[Sprig] - recording functionality not configured due to UpChunk library load failure");
|
|
2835
2835
|
}, b.appendChild(x);
|
|
2836
2836
|
}
|
|
2837
2837
|
const _ = i || ((y = d.eventEmitter) == null ? void 0 : y.emit);
|
|
2838
|
-
_ == null || _("verify.view.version", { "view.version": "2.32.
|
|
2838
|
+
_ == null || _("verify.view.version", { "view.version": "2.32.9" }), c && t && Ie(a(Mi, {}), c);
|
|
2839
2839
|
} };
|
|
2840
2840
|
export {
|
|
2841
2841
|
Ai as default
|