@nlxai/touchpoint-ui 1.2.3-alpha.2 → 1.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1371 -7
- package/index.html +29 -167
- package/lib/bidirectional/analyzePageForms.d.ts +5 -1
- package/lib/components/FullscreenVoice.d.ts +1 -0
- package/lib/components/Ripple.d.ts +4 -0
- package/lib/components/ui/Carousel.d.ts +18 -0
- package/lib/components/ui/CustomCard.d.ts +47 -0
- package/lib/components/ui/DateInput.d.ts +15 -1
- package/lib/components/ui/IconButton.d.ts +20 -0
- package/lib/components/ui/TextButton.d.ts +17 -0
- package/lib/components/ui/Typography.d.ts +19 -0
- package/lib/index.d.ts +26 -2
- package/lib/index.js +660 -667
- package/lib/index.umd.js +23 -23
- package/lib/interface.d.ts +153 -127
- package/package.json +11 -6
- package/typedoc.cjs +19 -6
package/lib/index.js
CHANGED
|
@@ -5,7 +5,7 @@ var sv = (n) => {
|
|
|
5
5
|
var mw = (n, e, t) => e in n ? pw(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
|
|
6
6
|
var kt = (n, e, t) => mw(n, typeof e != "symbol" ? e + "" : e, t), ih = (n, e, t) => e.has(n) || sv("Cannot " + t);
|
|
7
7
|
var Cr = (n, e, t) => (ih(n, e, "read from private field"), t ? t.call(n) : e.get(n)), xa = (n, e, t) => e.has(n) ? sv("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(n) : e.set(n, t), Nl = (n, e, t, r) => (ih(n, e, "write to private field"), r ? r.call(n, t) : e.set(n, t), t), oh = (n, e, t) => (ih(n, e, "access private method"), t);
|
|
8
|
-
function
|
|
8
|
+
function y0(n) {
|
|
9
9
|
return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
|
|
10
10
|
}
|
|
11
11
|
var sh = { exports: {} }, jl = {}, ah = { exports: {} }, ut = {};
|
|
@@ -245,7 +245,7 @@ function yw() {
|
|
|
245
245
|
return uv || (uv = 1, sh.exports = vw()), sh.exports;
|
|
246
246
|
}
|
|
247
247
|
var R = yw(), be = Rp();
|
|
248
|
-
const Ms = /* @__PURE__ */
|
|
248
|
+
const Ms = /* @__PURE__ */ y0(be);
|
|
249
249
|
var Ou = {}, lh = { exports: {} }, cr = {}, ch = { exports: {} }, uh = {};
|
|
250
250
|
/**
|
|
251
251
|
* @license React
|
|
@@ -962,7 +962,7 @@ function ww() {
|
|
|
962
962
|
function Le(i, s, c) {
|
|
963
963
|
return s == null || typeof s == "boolean" || s === "" ? "" : c || typeof s != "number" || s === 0 || Ge.hasOwnProperty(i) && Ge[i] ? ("" + s).trim() : s + "px";
|
|
964
964
|
}
|
|
965
|
-
function
|
|
965
|
+
function st(i, s) {
|
|
966
966
|
i = i.style;
|
|
967
967
|
for (var c in s) if (s.hasOwnProperty(c)) {
|
|
968
968
|
var m = c.indexOf("--") === 0, b = Le(c, s[c], m);
|
|
@@ -3801,7 +3801,7 @@ Error generating stack: ` + k.message + `
|
|
|
3801
3801
|
$t(c, b), D = b;
|
|
3802
3802
|
for (k in D) if (D.hasOwnProperty(k)) {
|
|
3803
3803
|
var V = D[k];
|
|
3804
|
-
k === "style" ?
|
|
3804
|
+
k === "style" ? st(i, V) : k === "dangerouslySetInnerHTML" ? (V = V ? V.__html : void 0, V != null && ue(i, V)) : k === "children" ? typeof V == "string" ? (c !== "textarea" || V !== "") && ye(i, V) : typeof V == "number" && ye(i, "" + V) : k !== "suppressContentEditableWarning" && k !== "suppressHydrationWarning" && k !== "autoFocus" && (o.hasOwnProperty(k) ? V != null && k === "onScroll" && Lt("scroll", i) : V != null && U(i, k, V, E));
|
|
3805
3805
|
}
|
|
3806
3806
|
switch (c) {
|
|
3807
3807
|
case "input":
|
|
@@ -4229,7 +4229,7 @@ Error generating stack: ` + k.message + `
|
|
|
4229
4229
|
var ae = _t(D, k);
|
|
4230
4230
|
for (E = 0; E < V.length; E += 2) {
|
|
4231
4231
|
var we = V[E], Te = V[E + 1];
|
|
4232
|
-
we === "style" ?
|
|
4232
|
+
we === "style" ? st(b, Te) : we === "dangerouslySetInnerHTML" ? ue(b, Te) : we === "children" ? ye(b, Te) : U(b, we, Te, ae);
|
|
4233
4233
|
}
|
|
4234
4234
|
switch (D) {
|
|
4235
4235
|
case "input":
|
|
@@ -5651,18 +5651,18 @@ function Sw() {
|
|
|
5651
5651
|
var n = Cw();
|
|
5652
5652
|
return Ou.createRoot = n.createRoot, Ou.hydrateRoot = n.hydrateRoot, Ou;
|
|
5653
5653
|
}
|
|
5654
|
-
var Tw = Sw(),
|
|
5654
|
+
var Tw = Sw(), b0 = function(n, e, t, r) {
|
|
5655
5655
|
var o;
|
|
5656
5656
|
e[0] = 0;
|
|
5657
5657
|
for (var a = 1; a < e.length; a++) {
|
|
5658
5658
|
var l = e[a++], u = e[a] ? (e[0] |= l ? 1 : 2, t[e[a++]]) : e[++a];
|
|
5659
|
-
l === 3 ? r[0] = u : l === 4 ? r[1] = Object.assign(r[1] || {}, u) : l === 5 ? (r[1] = r[1] || {})[e[++a]] = u : l === 6 ? r[1][e[++a]] += u + "" : l ? (o = n.apply(u,
|
|
5659
|
+
l === 3 ? r[0] = u : l === 4 ? r[1] = Object.assign(r[1] || {}, u) : l === 5 ? (r[1] = r[1] || {})[e[++a]] = u : l === 6 ? r[1][e[++a]] += u + "" : l ? (o = n.apply(u, b0(n, u, t, ["", null])), r.push(o), u[0] ? e[0] |= 2 : (e[a - 2] = 0, e[a] = o)) : r.push(u);
|
|
5660
5660
|
}
|
|
5661
5661
|
return r;
|
|
5662
5662
|
}, gv = /* @__PURE__ */ new Map();
|
|
5663
5663
|
function _w(n) {
|
|
5664
5664
|
var e = gv.get(this);
|
|
5665
|
-
return e || (e = /* @__PURE__ */ new Map(), gv.set(this, e)), (e =
|
|
5665
|
+
return e || (e = /* @__PURE__ */ new Map(), gv.set(this, e)), (e = b0(this, e.get(n) || (e.set(n, e = function(t) {
|
|
5666
5666
|
for (var r, o, a = 1, l = "", u = "", f = [0], p = function(_) {
|
|
5667
5667
|
a === 1 && (_ || (l = l.replace(/^\s*\n\s*|\s*\n\s*$/g, ""))) ? f.push(0, _, l) : a === 3 && (_ || l) ? (f.push(3, _, l), a = 2) : a === 2 && l === "..." && _ ? f.push(4, _, 0) : a === 2 && l && !_ ? f.push(5, 0, !0, l) : a >= 5 && ((l || !_ && a === 5) && (f.push(a, 0, l, o), a = 6), _ && (f.push(a, _, 0, o), a = 6)), l = "";
|
|
5668
5668
|
}, g = 0; g < t.length; g++) {
|
|
@@ -5705,7 +5705,7 @@ const xw = Array.isArray || function(e) {
|
|
|
5705
5705
|
function Ew(n) {
|
|
5706
5706
|
return n != null && typeof n["@@transducer/step"] == "function";
|
|
5707
5707
|
}
|
|
5708
|
-
function
|
|
5708
|
+
function k0(n, e, t) {
|
|
5709
5709
|
return function() {
|
|
5710
5710
|
if (arguments.length === 0)
|
|
5711
5711
|
return t();
|
|
@@ -5923,7 +5923,7 @@ function _v(n, e) {
|
|
|
5923
5923
|
function Lw(n) {
|
|
5924
5924
|
return n;
|
|
5925
5925
|
}
|
|
5926
|
-
var Dw = /* @__PURE__ */ Is(Lw),
|
|
5926
|
+
var Dw = /* @__PURE__ */ Is(Lw), w0 = /* @__PURE__ */ function() {
|
|
5927
5927
|
function n() {
|
|
5928
5928
|
this._nativeSet = typeof Set == "function" ? /* @__PURE__ */ new Set() : null, this._items = {};
|
|
5929
5929
|
}
|
|
@@ -5972,7 +5972,7 @@ function jw(n) {
|
|
|
5972
5972
|
return new Nw(n, e);
|
|
5973
5973
|
};
|
|
5974
5974
|
}
|
|
5975
|
-
var Ev = /* @__PURE__ */ Ip(/* @__PURE__ */
|
|
5975
|
+
var Ev = /* @__PURE__ */ Ip(/* @__PURE__ */ k0([], jw, function(e, t) {
|
|
5976
5976
|
for (var r = t.length - 1; r >= 0; ) {
|
|
5977
5977
|
if (e(t[r]))
|
|
5978
5978
|
return r;
|
|
@@ -5981,7 +5981,7 @@ var Ev = /* @__PURE__ */ Ip(/* @__PURE__ */ ky([], jw, function(e, t) {
|
|
|
5981
5981
|
return -1;
|
|
5982
5982
|
})), Fw = /* @__PURE__ */ function() {
|
|
5983
5983
|
function n(e, t) {
|
|
5984
|
-
this.xf = t, this.f = e, this.set = new
|
|
5984
|
+
this.xf = t, this.f = e, this.set = new w0();
|
|
5985
5985
|
}
|
|
5986
5986
|
return n.prototype["@@transducer/init"] = Bh.init, n.prototype["@@transducer/result"] = Bh.result, n.prototype["@@transducer/step"] = function(e, t) {
|
|
5987
5987
|
return this.set.add(this.f(t)) ? this.xf["@@transducer/step"](e, t) : e;
|
|
@@ -5992,12 +5992,12 @@ function Uw(n) {
|
|
|
5992
5992
|
return new Fw(n, e);
|
|
5993
5993
|
};
|
|
5994
5994
|
}
|
|
5995
|
-
var Bw = /* @__PURE__ */ Ip(/* @__PURE__ */
|
|
5996
|
-
for (var t = new
|
|
5995
|
+
var Bw = /* @__PURE__ */ Ip(/* @__PURE__ */ k0([], Uw, function(n, e) {
|
|
5996
|
+
for (var t = new w0(), r = [], o = 0, a, l; o < e.length; )
|
|
5997
5997
|
l = e[o], a = n(l), t.add(a) && r.push(l), o += 1;
|
|
5998
5998
|
return r;
|
|
5999
5999
|
})), Vw = /* @__PURE__ */ Bw(Dw);
|
|
6000
|
-
const zw = "1.2.3
|
|
6000
|
+
const zw = "1.2.3", Ww = {
|
|
6001
6001
|
version: zw
|
|
6002
6002
|
};
|
|
6003
6003
|
var _n = typeof globalThis < "u" && globalThis || typeof self < "u" && self || // eslint-disable-next-line no-undef
|
|
@@ -6108,7 +6108,7 @@ function fh(n) {
|
|
|
6108
6108
|
n.bodyUsed = !0;
|
|
6109
6109
|
}
|
|
6110
6110
|
}
|
|
6111
|
-
function
|
|
6111
|
+
function C0(n) {
|
|
6112
6112
|
return new Promise(function(e, t) {
|
|
6113
6113
|
n.onload = function() {
|
|
6114
6114
|
e(n.result);
|
|
@@ -6118,11 +6118,11 @@ function Cy(n) {
|
|
|
6118
6118
|
});
|
|
6119
6119
|
}
|
|
6120
6120
|
function Gw(n) {
|
|
6121
|
-
var e = new FileReader(), t =
|
|
6121
|
+
var e = new FileReader(), t = C0(e);
|
|
6122
6122
|
return e.readAsArrayBuffer(n), t;
|
|
6123
6123
|
}
|
|
6124
6124
|
function Kw(n) {
|
|
6125
|
-
var e = new FileReader(), t =
|
|
6125
|
+
var e = new FileReader(), t = C0(e), r = /charset=([A-Za-z0-9_-]+)/.exec(n.type), o = r ? r[1] : "utf-8";
|
|
6126
6126
|
return e.readAsText(n, o), t;
|
|
6127
6127
|
}
|
|
6128
6128
|
function Jw(n) {
|
|
@@ -6136,7 +6136,7 @@ function Pv(n) {
|
|
|
6136
6136
|
var e = new Uint8Array(n.byteLength);
|
|
6137
6137
|
return e.set(new Uint8Array(n)), e.buffer;
|
|
6138
6138
|
}
|
|
6139
|
-
function
|
|
6139
|
+
function S0() {
|
|
6140
6140
|
return this.bodyUsed = !1, this._initBody = function(n) {
|
|
6141
6141
|
this.bodyUsed = this.bodyUsed, this._bodyInit = n, n ? typeof n == "string" ? this._bodyText = n : qn.blob && Blob.prototype.isPrototypeOf(n) ? this._bodyBlob = n : qn.formData && FormData.prototype.isPrototypeOf(n) ? this._bodyFormData = n : qn.searchParams && URLSearchParams.prototype.isPrototypeOf(n) ? this._bodyText = n.toString() : qn.arrayBuffer && qn.blob && Hw(n) ? (this._bodyArrayBuffer = Pv(n.buffer), this._bodyInit = new Blob([this._bodyArrayBuffer])) : qn.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(n) || qw(n)) ? this._bodyArrayBuffer = Pv(n) : this._bodyText = n = Object.prototype.toString.call(n) : (this._noBody = !0, this._bodyText = ""), this.headers.get("content-type") || (typeof n == "string" ? this.headers.set("content-type", "text/plain;charset=UTF-8") : this._bodyBlob && this._bodyBlob.type ? this.headers.set("content-type", this._bodyBlob.type) : qn.searchParams && URLSearchParams.prototype.isPrototypeOf(n) && this.headers.set("content-type", "application/x-www-form-urlencoded;charset=UTF-8"));
|
|
6142
6142
|
}, qn.blob && (this.blob = function() {
|
|
@@ -6243,7 +6243,7 @@ function Zw(n) {
|
|
|
6243
6243
|
}
|
|
6244
6244
|
}), e;
|
|
6245
6245
|
}
|
|
6246
|
-
|
|
6246
|
+
S0.call(As.prototype);
|
|
6247
6247
|
function Ri(n, e) {
|
|
6248
6248
|
if (!(this instanceof Ri))
|
|
6249
6249
|
throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');
|
|
@@ -6251,7 +6251,7 @@ function Ri(n, e) {
|
|
|
6251
6251
|
throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");
|
|
6252
6252
|
this.ok = this.status >= 200 && this.status < 300, this.statusText = e.statusText === void 0 ? "" : "" + e.statusText, this.headers = new dn(e.headers), this.url = e.url || "", this._initBody(n);
|
|
6253
6253
|
}
|
|
6254
|
-
|
|
6254
|
+
S0.call(Ri.prototype);
|
|
6255
6255
|
Ri.prototype.clone = function() {
|
|
6256
6256
|
return new Ri(this._bodyInit, {
|
|
6257
6257
|
status: this.status,
|
|
@@ -6280,7 +6280,7 @@ try {
|
|
|
6280
6280
|
this.stack = r.stack;
|
|
6281
6281
|
}, Ps.prototype = Object.create(Error.prototype), Ps.prototype.constructor = Ps;
|
|
6282
6282
|
}
|
|
6283
|
-
function
|
|
6283
|
+
function T0(n, e) {
|
|
6284
6284
|
return new Promise(function(t, r) {
|
|
6285
6285
|
var o = new As(n, e);
|
|
6286
6286
|
if (o.signal && o.signal.aborted)
|
|
@@ -6335,14 +6335,14 @@ function Ty(n, e) {
|
|
|
6335
6335
|
}), a.send(typeof o._bodyInit > "u" ? null : o._bodyInit);
|
|
6336
6336
|
});
|
|
6337
6337
|
}
|
|
6338
|
-
|
|
6339
|
-
_n.fetch || (_n.fetch =
|
|
6338
|
+
T0.polyfill = !0;
|
|
6339
|
+
_n.fetch || (_n.fetch = T0, _n.Headers = dn, _n.Request = As, _n.Response = Ri);
|
|
6340
6340
|
var hh, Rv;
|
|
6341
6341
|
function tC() {
|
|
6342
6342
|
return Rv || (Rv = 1, hh = self.fetch.bind(self)), hh;
|
|
6343
6343
|
}
|
|
6344
6344
|
var nC = tC();
|
|
6345
|
-
const ph = /* @__PURE__ */
|
|
6345
|
+
const ph = /* @__PURE__ */ y0(nC);
|
|
6346
6346
|
function zt(n) {
|
|
6347
6347
|
return n != null && typeof n == "object" && n["@@functional/placeholder"] === !0;
|
|
6348
6348
|
}
|
|
@@ -6440,7 +6440,7 @@ var Vh = function(n, e) {
|
|
|
6440
6440
|
for (var o in r) r.hasOwnProperty(o) && (t[o] = r[o]);
|
|
6441
6441
|
}, Vh(n, e);
|
|
6442
6442
|
};
|
|
6443
|
-
function
|
|
6443
|
+
function _0(n, e) {
|
|
6444
6444
|
Vh(n, e);
|
|
6445
6445
|
function t() {
|
|
6446
6446
|
this.constructor = n;
|
|
@@ -6477,7 +6477,7 @@ function aC() {
|
|
|
6477
6477
|
n = n.concat(sC(arguments[e]));
|
|
6478
6478
|
return n;
|
|
6479
6479
|
}
|
|
6480
|
-
var
|
|
6480
|
+
var x0 = (
|
|
6481
6481
|
/** @class */
|
|
6482
6482
|
/* @__PURE__ */ function() {
|
|
6483
6483
|
function n(e, t) {
|
|
@@ -6488,24 +6488,24 @@ var xy = (
|
|
|
6488
6488
|
), lC = (
|
|
6489
6489
|
/** @class */
|
|
6490
6490
|
function(n) {
|
|
6491
|
-
|
|
6491
|
+
_0(e, n);
|
|
6492
6492
|
function e(t, r) {
|
|
6493
6493
|
var o = n.call(this, "error", r) || this;
|
|
6494
6494
|
return o.message = t.message, o.error = t, o;
|
|
6495
6495
|
}
|
|
6496
6496
|
return e;
|
|
6497
|
-
}(
|
|
6497
|
+
}(x0)
|
|
6498
6498
|
), cC = (
|
|
6499
6499
|
/** @class */
|
|
6500
6500
|
function(n) {
|
|
6501
|
-
|
|
6501
|
+
_0(e, n);
|
|
6502
6502
|
function e(t, r, o) {
|
|
6503
6503
|
t === void 0 && (t = 1e3), r === void 0 && (r = "");
|
|
6504
6504
|
var a = n.call(this, "close", o) || this;
|
|
6505
6505
|
return a.wasClean = !0, a.code = t, a.reason = r, a;
|
|
6506
6506
|
}
|
|
6507
6507
|
return e;
|
|
6508
|
-
}(
|
|
6508
|
+
}(x0)
|
|
6509
6509
|
);
|
|
6510
6510
|
/*!
|
|
6511
6511
|
* Reconnecting WebSocket
|
|
@@ -6811,7 +6811,7 @@ function Av(n, e, t) {
|
|
|
6811
6811
|
const r = n.random || (n.rng || hC)();
|
|
6812
6812
|
return r[6] = r[6] & 15 | 64, r[8] = r[8] & 63 | 128, pC(r);
|
|
6813
6813
|
}
|
|
6814
|
-
var gC = "@nlxai/core", vC = "1.2.3
|
|
6814
|
+
var gC = "@nlxai/core", vC = "1.2.3", yC = "Low-level SDK for building NLX experiences", bC = "module", kC = "lib/index.cjs", wC = "lib/index.esm.js", CC = "lib/index.umd.js", SC = "lib/index.d.ts", TC = {
|
|
6815
6815
|
".": {
|
|
6816
6816
|
types: "./lib/index.d.ts",
|
|
6817
6817
|
import: "./lib/index.esm.js",
|
|
@@ -6819,34 +6819,34 @@ var gC = "@nlxai/core", vC = "1.2.3-alpha.2", yC = "Low-level SDK for building N
|
|
|
6819
6819
|
}
|
|
6820
6820
|
}, _C = {
|
|
6821
6821
|
build: "rm -rf lib && rollup -c --configPlugin typescript --configImportAttributesKey with",
|
|
6822
|
-
docs: "rm -rf docs/ && typedoc && concat-md --decrease-title-levels --dir-name-as-title docs/ > docs/index.md",
|
|
6823
6822
|
"lint:check": "eslint src/ --ext .ts,.tsx,.js,.jsx --max-warnings 0",
|
|
6824
6823
|
lint: "eslint src/ --ext .ts,.tsx,.js,.jsx --fix",
|
|
6825
6824
|
prepublish: "npm run build",
|
|
6826
|
-
"preview-docs": "npm run docs && comrak --unsafe --gfm -o docs/index.html docs/index.md && open docs/index.html",
|
|
6827
|
-
"publish-docs": "npm run docs && mv docs/index.md ../website/src/content/headless-api-reference.md",
|
|
6828
6825
|
test: "typedoc --emit none",
|
|
6829
|
-
tsc: "tsc"
|
|
6826
|
+
tsc: "tsc",
|
|
6827
|
+
"update-readme:docs": "rm -rf docs/ && typedoc",
|
|
6828
|
+
"update-readme:merge": "../../scripts/transclude-markdown.js",
|
|
6829
|
+
"update-readme": "npm run update-readme:docs && npm run update-readme:merge"
|
|
6830
6830
|
}, xC = "Peter Szerzo <peter@nlx.ai>", EC = "MIT", PC = {
|
|
6831
|
-
"@types/isomorphic-fetch": "^0.0.
|
|
6832
|
-
"@types/node": "^
|
|
6833
|
-
"@types/ramda": "0.
|
|
6831
|
+
"@types/isomorphic-fetch": "^0.0.39",
|
|
6832
|
+
"@types/node": "^24.10.1",
|
|
6833
|
+
"@types/ramda": "0.31.1",
|
|
6834
6834
|
"@types/uuid": "^9.0.7",
|
|
6835
6835
|
"concat-md": "^0.5.1",
|
|
6836
6836
|
"eslint-config-nlx": "*",
|
|
6837
6837
|
prettier: "^3.1.0",
|
|
6838
6838
|
"rollup-config-nlx": "*",
|
|
6839
|
-
typedoc: "^0.
|
|
6840
|
-
"typedoc-plugin-markdown": "^
|
|
6839
|
+
typedoc: "^0.28.14",
|
|
6840
|
+
"typedoc-plugin-markdown": "^4.9.0",
|
|
6841
6841
|
typescript: "^5.5.4"
|
|
6842
6842
|
}, RC = {
|
|
6843
6843
|
"isomorphic-fetch": "^3.0.0",
|
|
6844
|
-
ramda: "^0.
|
|
6844
|
+
ramda: "^0.32.0",
|
|
6845
6845
|
"reconnecting-websocket": "^4.4.0",
|
|
6846
6846
|
uuid: "^9.0.1"
|
|
6847
6847
|
}, IC = {
|
|
6848
6848
|
access: "public"
|
|
6849
|
-
}, MC = "
|
|
6849
|
+
}, MC = "3902161e95745dd4a9cfb68bb469755a62b421f5", gh = {
|
|
6850
6850
|
name: gC,
|
|
6851
6851
|
version: vC,
|
|
6852
6852
|
description: yC,
|
|
@@ -6869,34 +6869,34 @@ var Kn;
|
|
|
6869
6869
|
(function(n) {
|
|
6870
6870
|
n.Application = "bot", n.User = "user", n.Failure = "failure";
|
|
6871
6871
|
})(Kn || (Kn = {}));
|
|
6872
|
-
const Ov = "NLX.Welcome", AC = "We encountered an issue. Please try again soon.",
|
|
6872
|
+
const Ov = "NLX.Welcome", AC = "We encountered an issue. Please try again soon.", E0 = (n) => Array.isArray(n) ? n : Object.entries(n).map(([e, t]) => ({
|
|
6873
6873
|
slotId: e,
|
|
6874
6874
|
value: t
|
|
6875
6875
|
})), Lv = (n) => ({
|
|
6876
6876
|
...n,
|
|
6877
6877
|
intentId: n.flowId ?? n.intentId,
|
|
6878
|
-
slots: n.slots != null ?
|
|
6878
|
+
slots: n.slots != null ? E0(n.slots) : n.slots
|
|
6879
6879
|
}), Dv = (n) => n.responses, vh = (n) => {
|
|
6880
6880
|
try {
|
|
6881
6881
|
return JSON.parse(n);
|
|
6882
6882
|
} catch {
|
|
6883
6883
|
return null;
|
|
6884
6884
|
}
|
|
6885
|
-
},
|
|
6885
|
+
}, P0 = (n) => {
|
|
6886
6886
|
var e;
|
|
6887
6887
|
return ((e = n.match(/(bots\.dev\.studio\.nlx\.ai|bots\.studio\.nlx\.ai|apps\.nlx\.ai|dev\.apps\.nlx\.ai)/g)) == null ? void 0 : e[0]) ?? "apps.nlx.ai";
|
|
6888
6888
|
}, OC = (n) => {
|
|
6889
6889
|
if (Oo(n))
|
|
6890
6890
|
return n;
|
|
6891
|
-
const e =
|
|
6891
|
+
const e = P0(n), r = new URL(n).pathname.split("/"), o = r[2], a = r[3];
|
|
6892
6892
|
return `wss://us-east-1-ws.${e}?deploymentKey=${o}&channelKey=${a}`;
|
|
6893
6893
|
}, Nv = (n) => {
|
|
6894
6894
|
if (!Oo(n))
|
|
6895
6895
|
return n;
|
|
6896
|
-
const e =
|
|
6896
|
+
const e = P0(n), t = new URL(n), r = new URLSearchParams(t.search), o = r.get("channelKey"), a = r.get("deploymentKey");
|
|
6897
6897
|
return `https://${e}/c/${a}/${o}`;
|
|
6898
|
-
}, Oo = (n) => n.indexOf("wss://") === 0
|
|
6899
|
-
function
|
|
6898
|
+
}, Oo = (n) => n.indexOf("wss://") === 0;
|
|
6899
|
+
function LC(n) {
|
|
6900
6900
|
let e, t = [], r = null, o, a = [], l = null;
|
|
6901
6901
|
const u = n.applicationUrl ?? "";
|
|
6902
6902
|
/[-|_][a-z]{2,}[-|_][A-Z]{2,}$/.test(u) && _s.warn("Since v1.0.0, the language code is no longer added at the end of the application URL. Please remove the modifier (e.g. '-en-US') from the URL, and specify it in the `languageCode` parameter instead.");
|
|
@@ -7169,7 +7169,7 @@ function DC(n) {
|
|
|
7169
7169
|
context: Pe,
|
|
7170
7170
|
request: {
|
|
7171
7171
|
structured: {
|
|
7172
|
-
slots:
|
|
7172
|
+
slots: E0(re)
|
|
7173
7173
|
}
|
|
7174
7174
|
}
|
|
7175
7175
|
});
|
|
@@ -7250,17 +7250,18 @@ function DC(n) {
|
|
|
7250
7250
|
}
|
|
7251
7251
|
};
|
|
7252
7252
|
}
|
|
7253
|
-
|
|
7253
|
+
const DC = (n) => (n.applicationUrl ?? "").length > 0;
|
|
7254
|
+
function R0(n) {
|
|
7254
7255
|
var e, t, r = "";
|
|
7255
7256
|
if (typeof n == "string" || typeof n == "number") r += n;
|
|
7256
7257
|
else if (typeof n == "object") if (Array.isArray(n)) {
|
|
7257
7258
|
var o = n.length;
|
|
7258
|
-
for (e = 0; e < o; e++) n[e] && (t =
|
|
7259
|
+
for (e = 0; e < o; e++) n[e] && (t = R0(n[e])) && (r && (r += " "), r += t);
|
|
7259
7260
|
} else for (t in n) n[t] && (r && (r += " "), r += t);
|
|
7260
7261
|
return r;
|
|
7261
7262
|
}
|
|
7262
|
-
function
|
|
7263
|
-
for (var n, e, t = 0, r = "", o = arguments.length; t < o; t++) (n = arguments[t]) && (e =
|
|
7263
|
+
function ot() {
|
|
7264
|
+
for (var n, e, t = 0, r = "", o = arguments.length; t < o; t++) (n = arguments[t]) && (e = R0(n)) && (r && (r += " "), r += e);
|
|
7264
7265
|
return r;
|
|
7265
7266
|
}
|
|
7266
7267
|
const at = (n) => ({
|
|
@@ -7315,7 +7316,7 @@ const at = (n) => ({
|
|
|
7315
7316
|
d: "M6 13C5.45 13 5 13.45 5 14C5 14.55 5.45 15 6 15C6.55 15 7 14.55 7 14C7 13.45 6.55 13 6 13ZM6 17C5.45 17 5 17.45 5 18C5 18.55 5.45 19 6 19C6.55 19 7 18.55 7 18C7 17.45 6.55 17 6 17ZM6 9C5.45 9 5 9.45 5 10C5 10.55 5.45 11 6 11C6.55 11 7 10.55 7 10C7 9.45 6.55 9 6 9ZM3 9.5C2.72 9.5 2.5 9.72 2.5 10C2.5 10.28 2.72 10.5 3 10.5C3.28 10.5 3.5 10.28 3.5 10C3.5 9.72 3.28 9.5 3 9.5ZM6 5C5.45 5 5 5.45 5 6C5 6.55 5.45 7 6 7C6.55 7 7 6.55 7 6C7 5.45 6.55 5 6 5ZM21 10.5C21.28 10.5 21.5 10.28 21.5 10C21.5 9.72 21.28 9.5 21 9.5C20.72 9.5 20.5 9.72 20.5 10C20.5 10.28 20.72 10.5 21 10.5ZM14 7C14.55 7 15 6.55 15 6C15 5.45 14.55 5 14 5C13.45 5 13 5.45 13 6C13 6.55 13.45 7 14 7ZM14 3.5C14.28 3.5 14.5 3.28 14.5 3C14.5 2.72 14.28 2.5 14 2.5C13.72 2.5 13.5 2.72 13.5 3C13.5 3.28 13.72 3.5 14 3.5ZM3 13.5C2.72 13.5 2.5 13.72 2.5 14C2.5 14.28 2.72 14.5 3 14.5C3.28 14.5 3.5 14.28 3.5 14C3.5 13.72 3.28 13.5 3 13.5ZM10 20.5C9.72 20.5 9.5 20.72 9.5 21C9.5 21.28 9.72 21.5 10 21.5C10.28 21.5 10.5 21.28 10.5 21C10.5 20.72 10.28 20.5 10 20.5ZM10 3.5C10.28 3.5 10.5 3.28 10.5 3C10.5 2.72 10.28 2.5 10 2.5C9.72 2.5 9.5 2.72 9.5 3C9.5 3.28 9.72 3.5 10 3.5ZM10 7C10.55 7 11 6.55 11 6C11 5.45 10.55 5 10 5C9.45 5 9 5.45 9 6C9 6.55 9.45 7 10 7ZM10 12.5C9.17 12.5 8.5 13.17 8.5 14C8.5 14.83 9.17 15.5 10 15.5C10.83 15.5 11.5 14.83 11.5 14C11.5 13.17 10.83 12.5 10 12.5ZM18 13C17.45 13 17 13.45 17 14C17 14.55 17.45 15 18 15C18.55 15 19 14.55 19 14C19 13.45 18.55 13 18 13ZM18 17C17.45 17 17 17.45 17 18C17 18.55 17.45 19 18 19C18.55 19 19 18.55 19 18C19 17.45 18.55 17 18 17ZM18 9C17.45 9 17 9.45 17 10C17 10.55 17.45 11 18 11C18.55 11 19 10.55 19 10C19 9.45 18.55 9 18 9ZM18 5C17.45 5 17 5.45 17 6C17 6.55 17.45 7 18 7C18.55 7 19 6.55 19 6C19 5.45 18.55 5 18 5ZM21 13.5C20.72 13.5 20.5 13.72 20.5 14C20.5 14.28 20.72 14.5 21 14.5C21.28 14.5 21.5 14.28 21.5 14C21.5 13.72 21.28 13.5 21 13.5ZM14 17C13.45 17 13 17.45 13 18C13 18.55 13.45 19 14 19C14.55 19 15 18.55 15 18C15 17.45 14.55 17 14 17ZM14 20.5C13.72 20.5 13.5 20.72 13.5 21C13.5 21.28 13.72 21.5 14 21.5C14.28 21.5 14.5 21.28 14.5 21C14.5 20.72 14.28 20.5 14 20.5ZM10 8.5C9.17 8.5 8.5 9.17 8.5 10C8.5 10.83 9.17 11.5 10 11.5C10.83 11.5 11.5 10.83 11.5 10C11.5 9.17 10.83 8.5 10 8.5ZM10 17C9.45 17 9 17.45 9 18C9 18.55 9.45 19 10 19C10.55 19 11 18.55 11 18C11 17.45 10.55 17 10 17ZM14 12.5C13.17 12.5 12.5 13.17 12.5 14C12.5 14.83 13.17 15.5 14 15.5C14.83 15.5 15.5 14.83 15.5 14C15.5 13.17 14.83 12.5 14 12.5ZM14 8.5C13.17 8.5 12.5 9.17 12.5 10C12.5 10.83 13.17 11.5 14 11.5C14.83 11.5 15.5 10.83 15.5 10C15.5 9.17 14.83 8.5 14 8.5Z",
|
|
7316
7317
|
fill: "currentColor"
|
|
7317
7318
|
}
|
|
7318
|
-
) }), FC = (n) => /* @__PURE__ */ R.jsx("svg", { viewBox: "0 0 24 24", ...at(n), children: /* @__PURE__ */ R.jsx("path", { d: "M19 13H13V19H11V13H5V11H11V5H13V11H19V13Z", fill: "currentColor" }) }),
|
|
7319
|
+
) }), FC = (n) => /* @__PURE__ */ R.jsx("svg", { viewBox: "0 0 24 24", ...at(n), children: /* @__PURE__ */ R.jsx("path", { d: "M19 13H13V19H11V13H5V11H11V5H13V11H19V13Z", fill: "currentColor" }) }), I0 = (n) => /* @__PURE__ */ R.jsx("svg", { viewBox: "0 0 24 24", ...at(n), children: /* @__PURE__ */ R.jsx(
|
|
7319
7320
|
"path",
|
|
7320
7321
|
{
|
|
7321
7322
|
d: "M12 15.41L6 9.40997L7.41 7.99997L12 12.58L16.59 7.99997L18 9.40997L12 15.41Z",
|
|
@@ -7327,7 +7328,7 @@ const at = (n) => ({
|
|
|
7327
7328
|
d: "M7.59001 12L13.59 18L15 16.59L10.42 12L15 7.41002L13.59 6.00002L7.59001 12Z",
|
|
7328
7329
|
fill: "currentColor"
|
|
7329
7330
|
}
|
|
7330
|
-
) }),
|
|
7331
|
+
) }), M0 = (n) => /* @__PURE__ */ R.jsx("svg", { viewBox: "0 0 24 24", ...at(n), children: /* @__PURE__ */ R.jsx(
|
|
7331
7332
|
"path",
|
|
7332
7333
|
{
|
|
7333
7334
|
d: "M15 12L9.00005 18L7.59005 16.59L12.17 12L7.59005 7.41002L9.00005 6.00002L15 12Z",
|
|
@@ -7366,7 +7367,7 @@ const at = (n) => ({
|
|
|
7366
7367
|
fill: "currentColor"
|
|
7367
7368
|
}
|
|
7368
7369
|
)
|
|
7369
|
-
] }),
|
|
7370
|
+
] }), A0 = (n) => /* @__PURE__ */ R.jsx("svg", { viewBox: "0 0 24 24", ...at(n), children: /* @__PURE__ */ R.jsx(
|
|
7370
7371
|
"path",
|
|
7371
7372
|
{
|
|
7372
7373
|
d: "M8.99991 16.17L4.82991 12L3.40991 13.41L8.99991 19L20.9999 7L19.5899 5.59L8.99991 16.17Z",
|
|
@@ -7384,13 +7385,13 @@ const at = (n) => ({
|
|
|
7384
7385
|
d: "M16 1H4C2.9 1 2 1.9 2 3V17H4V3H16V1ZM19 5H8C6.9 5 6 5.9 6 7V21C6 22.1 6.9 23 8 23H19C20.1 23 21 22.1 21 21V7C21 5.9 20.1 5 19 5ZM19 21H8V7H19V21Z",
|
|
7385
7386
|
fill: "currentColor"
|
|
7386
7387
|
}
|
|
7387
|
-
) }),
|
|
7388
|
+
) }), O0 = (n) => /* @__PURE__ */ R.jsx("svg", { viewBox: "0 0 24 24", ...at(n), children: /* @__PURE__ */ R.jsx(
|
|
7388
7389
|
"path",
|
|
7389
7390
|
{
|
|
7390
7391
|
d: "M19 4H18V2H16V4H8V2H6V4H5C3.89 4 3.01 4.9 3.01 6L3 20C3 21.1 3.89 22 5 22H19C20.1 22 21 21.1 21 20V6C21 4.9 20.1 4 19 4ZM19 20H5V9H19V20Z",
|
|
7391
7392
|
fill: "currentColor"
|
|
7392
7393
|
}
|
|
7393
|
-
) }),
|
|
7394
|
+
) }), L0 = (n) => /* @__PURE__ */ R.jsxs("svg", { viewBox: "0 0 24 24", ...at(n), children: [
|
|
7394
7395
|
/* @__PURE__ */ R.jsx(
|
|
7395
7396
|
"path",
|
|
7396
7397
|
{
|
|
@@ -7401,7 +7402,7 @@ const at = (n) => ({
|
|
|
7401
7402
|
}
|
|
7402
7403
|
),
|
|
7403
7404
|
/* @__PURE__ */ R.jsx("path", { d: "M15.5 4H19V6H5V4H8.5L9.5 3H14.5L15.5 4Z", fill: "currentColor" })
|
|
7404
|
-
] }),
|
|
7405
|
+
] }), D0 = (n) => /* @__PURE__ */ R.jsxs("svg", { viewBox: "0 0 24 24", ...at(n), children: [
|
|
7405
7406
|
/* @__PURE__ */ R.jsx(
|
|
7406
7407
|
"path",
|
|
7407
7408
|
{
|
|
@@ -7513,7 +7514,7 @@ const at = (n) => ({
|
|
|
7513
7514
|
d: "M10 3C14.97 3 19 7.03 19 12H22L18.11 15.89L18.04 16.03L14 12H17C17 8.13 13.87 5 10 5C6.13 5 3 8.13 3 12C3 15.87 6.13 19 10 19V21C5.03 21 1 16.97 1 12C1 7.03 5.03 3 10 3Z",
|
|
7514
7515
|
fill: "currentColor"
|
|
7515
7516
|
}
|
|
7516
|
-
) }),
|
|
7517
|
+
) }), N0 = (n) => /* @__PURE__ */ R.jsx("svg", { viewBox: "0 0 24 24", ...at(n), children: /* @__PURE__ */ R.jsx(
|
|
7517
7518
|
"path",
|
|
7518
7519
|
{
|
|
7519
7520
|
d: "M19.1064 12.9302C19.1459 12.6333 19.1657 12.3266 19.1657 12C19.1657 11.6833 19.1459 11.3667 19.0965 11.0698L21.1053 9.50625C21.2834 9.36771 21.3329 9.10052 21.2241 8.9026L19.3241 5.61719C19.2053 5.39948 18.9579 5.33021 18.7402 5.39948L16.3751 6.34948C15.8803 5.97344 15.3558 5.65677 14.772 5.41927L14.4157 2.90573C14.3761 2.66823 14.1782 2.5 13.9407 2.5H10.1407C9.90323 2.5 9.71521 2.66823 9.67563 2.90573L9.31938 5.41927C8.73552 5.65677 8.20115 5.98333 7.71625 6.34948L5.35115 5.39948C5.13344 5.32031 4.88604 5.39948 4.7673 5.61719L2.87719 8.9026C2.75844 9.11042 2.79802 9.36771 2.99594 9.50625L5.00479 11.0698C4.95532 11.3667 4.91573 11.6932 4.91573 12C4.91573 12.3068 4.93552 12.6333 4.985 12.9302L2.97615 14.4938C2.79802 14.6323 2.74855 14.8995 2.8574 15.0974L4.7574 18.3828C4.87615 18.6005 5.12354 18.6698 5.34125 18.6005L7.70636 17.6505C8.20115 18.0266 8.72563 18.3432 9.30948 18.5807L9.66573 21.0943C9.71521 21.3318 9.90323 21.5 10.1407 21.5H13.9407C14.1782 21.5 14.3761 21.3318 14.4058 21.0943L14.7621 18.5807C15.3459 18.3432 15.8803 18.0266 16.3652 17.6505L18.7303 18.6005C18.948 18.6797 19.1954 18.6005 19.3142 18.3828L21.2142 15.0974C21.3329 14.8797 21.2834 14.6323 21.0954 14.4938L19.1064 12.9302ZM12.0407 15.5625C10.0814 15.5625 8.47823 13.9594 8.47823 12C8.47823 10.0406 10.0814 8.4375 12.0407 8.4375C14.0001 8.4375 15.6032 10.0406 15.6032 12C15.6032 13.9594 14.0001 15.5625 12.0407 15.5625Z",
|
|
@@ -7531,7 +7532,7 @@ const at = (n) => ({
|
|
|
7531
7532
|
d: "M18 16.08C17.24 16.08 16.56 16.38 16.04 16.85L8.91 12.7C8.96 12.47 9 12.24 9 12C9 11.76 8.96 11.53 8.91 11.3L15.96 7.19C16.5 7.69 17.21 8 18 8C19.66 8 21 6.66 21 5C21 3.34 19.66 2 18 2C16.34 2 15 3.34 15 5C15 5.24 15.04 5.47 15.09 5.7L8.04 9.81C7.5 9.31 6.79 9 6 9C4.34 9 3 10.34 3 12C3 13.66 4.34 15 6 15C6.79 15 7.5 14.69 8.04 14.19L15.16 18.35C15.11 18.56 15.08 18.78 15.08 19C15.08 20.61 16.39 21.92 18 21.92C19.61 21.92 20.92 20.61 20.92 19C20.92 17.39 19.61 16.08 18 16.08Z",
|
|
7532
7533
|
fill: "currentColor"
|
|
7533
7534
|
}
|
|
7534
|
-
) }),
|
|
7535
|
+
) }), j0 = (n) => /* @__PURE__ */ R.jsx("svg", { viewBox: "0 0 24 24", ...at(n), children: /* @__PURE__ */ R.jsx(
|
|
7535
7536
|
"path",
|
|
7536
7537
|
{
|
|
7537
7538
|
d: "M1 21H23L12 2L1 21ZM13 18H11V16H13V18ZM13 14H11V10H13V14Z",
|
|
@@ -7566,7 +7567,7 @@ const at = (n) => ({
|
|
|
7566
7567
|
fill: "currentColor"
|
|
7567
7568
|
}
|
|
7568
7569
|
)
|
|
7569
|
-
] }),
|
|
7570
|
+
] }), F0 = (n) => /* @__PURE__ */ R.jsx("svg", { viewBox: "0 0 24 24", ...at(n), children: /* @__PURE__ */ R.jsx(
|
|
7570
7571
|
"path",
|
|
7571
7572
|
{
|
|
7572
7573
|
d: "M13 3C8.03 3 4 7.03 4 12H1L4.89 15.89L4.96 16.03L9 12H6C6 8.13 9.13 5 13 5C16.87 5 20 8.13 20 12C20 15.87 16.87 19 13 19V21C17.97 21 22 16.97 22 12C22 7.03 17.97 3 13 3Z",
|
|
@@ -7584,58 +7585,58 @@ const at = (n) => ({
|
|
|
7584
7585
|
d: "M11 18H13V16H11V18ZM12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20ZM12 6C9.79 6 8 7.79 8 10H10C10 8.9 10.9 8 12 8C13.1 8 14 8.9 14 10C14 12 11 11.75 11 15H13C13 12.75 16 12.5 16 10C16 7.79 14.21 6 12 6Z",
|
|
7585
7586
|
fill: "currentColor"
|
|
7586
7587
|
}
|
|
7587
|
-
) }),
|
|
7588
|
+
) }), U0 = (n) => /* @__PURE__ */ R.jsxs("svg", { viewBox: "0 0 16 16", ...at(n), fill: "currentColor", children: [
|
|
7588
7589
|
/* @__PURE__ */ R.jsx("path", { d: "M12.6667 7.33326V12.6666H3.33333V3.33326H8.66667V1.99992H3.33333C2.6 1.99992 2 2.59992 2 3.33326V12.6666C2 13.3999 2.6 13.9999 3.33333 13.9999H12.6667C13.4 13.9999 14 13.3999 14 12.6666V7.33326H12.6667Z" }),
|
|
7589
7590
|
/* @__PURE__ */ R.jsx("path", { d: "M14.0183 1.97412L10.0699 1.97412L11.5506 3.45477L7.66668 7.33327L8.65378 8.32037L12.5377 4.44188L14.0183 5.92253V1.97412Z" })
|
|
7590
7591
|
] }), rS = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7591
7592
|
__proto__: null,
|
|
7592
7593
|
Action: NC,
|
|
7593
7594
|
Add: FC,
|
|
7594
|
-
ArrowDown:
|
|
7595
|
+
ArrowDown: I0,
|
|
7595
7596
|
ArrowForward: _d,
|
|
7596
7597
|
ArrowLeft: UC,
|
|
7597
|
-
ArrowRight:
|
|
7598
|
+
ArrowRight: M0,
|
|
7598
7599
|
ArrowUp: BC,
|
|
7599
7600
|
AssistantOld: jC,
|
|
7600
7601
|
Attachment: zh,
|
|
7601
7602
|
Camera: VC,
|
|
7602
|
-
Check:
|
|
7603
|
+
Check: A0,
|
|
7603
7604
|
Close: oc,
|
|
7604
7605
|
Copy: zC,
|
|
7605
|
-
Date:
|
|
7606
|
-
Delete:
|
|
7606
|
+
Date: O0,
|
|
7607
|
+
Delete: L0,
|
|
7607
7608
|
Error: Wh,
|
|
7608
|
-
Escalate:
|
|
7609
|
+
Escalate: D0,
|
|
7609
7610
|
FullScreen: WC,
|
|
7610
7611
|
Help: nS,
|
|
7611
7612
|
Location: HC,
|
|
7612
7613
|
Mic: sd,
|
|
7613
7614
|
MicOff: Dp,
|
|
7614
7615
|
OpenInNew: qC,
|
|
7615
|
-
OpenLink:
|
|
7616
|
+
OpenLink: U0,
|
|
7616
7617
|
Play: GC,
|
|
7617
7618
|
Preview: KC,
|
|
7618
7619
|
Refresh: tS,
|
|
7619
7620
|
Reorder: JC,
|
|
7620
7621
|
Restart: sc,
|
|
7621
7622
|
Search: YC,
|
|
7622
|
-
Settings:
|
|
7623
|
+
Settings: N0,
|
|
7623
7624
|
Share: QC,
|
|
7624
7625
|
ThumbDown: XC,
|
|
7625
7626
|
ThumbUp: ZC,
|
|
7626
7627
|
Time: eS,
|
|
7627
7628
|
Touchpoint: ic,
|
|
7628
7629
|
Translate: $C,
|
|
7629
|
-
Undo:
|
|
7630
|
+
Undo: F0,
|
|
7630
7631
|
Volume: ad,
|
|
7631
7632
|
VolumeOff: Np,
|
|
7632
|
-
Warning:
|
|
7633
|
+
Warning: j0
|
|
7633
7634
|
}, Symbol.toStringTag, { value: "Module" })), iS = (n) => {
|
|
7634
7635
|
const { Custom: e } = n;
|
|
7635
7636
|
return e != null ? /* @__PURE__ */ R.jsx(e, { className: n.className, onClick: n.onClick }) : /* @__PURE__ */ R.jsxs(
|
|
7636
7637
|
"button",
|
|
7637
7638
|
{
|
|
7638
|
-
className:
|
|
7639
|
+
className: ot(
|
|
7639
7640
|
"p-3 w-fit bg-background text-primary-80 rounded-outer",
|
|
7640
7641
|
"after:content-[''] after:rounded-outer after:absolute after:inset-0 after:pointer-events-none",
|
|
7641
7642
|
"hover:after:bg-primary-10",
|
|
@@ -7649,18 +7650,18 @@ const at = (n) => ({
|
|
|
7649
7650
|
]
|
|
7650
7651
|
}
|
|
7651
7652
|
);
|
|
7652
|
-
},
|
|
7653
|
+
}, B0 = "p-3 w-10 h-10 transition-colors rounded-inner relative z-10 overflow-hidden before:content-[''] before:absolute before:transition-colors before:-z-10 before:inset-0 before:bg-transparent focus:outline-0", V0 = "bg-primary-80 text-secondary-80 enabled:hover:before:bg-primary-80 focus:before:bg-primary-80 enabled:active:before:bg-secondary-10 disabled:bg-primary-10 disabled:text-secondary-40", z0 = "bg-primary-5 text-primary-80 enabled:hover:before:bg-primary-10 focus:before:bg-primary-10 enabled:active:before:bg-secondary-10 disabled:bg-primary-5 disabled:text-primary-20", W0 = "bg-accent text-secondary-80 enabled:hover:before:bg-primary-40 focus:before:bg-primary-40 enabled:active:before:bg-secondary-10 disabled:bg-accent-20", H0 = "bg-secondary-60 backdrop-blur-sm text-primary-80 enabled:hover:before:bg-primary-10 focus:before:bg-primary-10 enabled:active:before:bg-secondary-10 disabled:bg-secondary-20 disabled:text-primary-20", $0 = "bg-background backdrop-blur-sm text-primary-80 enabled:hover:before:bg-primary-10 focus:before:bg-primary-10 enabled:active:before:bg-secondary-10 disabled:bg-secondary-20 disabled:text-primary-20", q0 = "bg-error-primary text-secondary-80 enabled:hover:before:bg-primary-10", oS = ({ type: n, Icon: e }) => /* @__PURE__ */ R.jsx(
|
|
7653
7654
|
"span",
|
|
7654
7655
|
{
|
|
7655
|
-
className:
|
|
7656
|
-
|
|
7656
|
+
className: ot(
|
|
7657
|
+
B0,
|
|
7657
7658
|
"block",
|
|
7658
|
-
n === "main" ?
|
|
7659
|
-
n === "ghost" ?
|
|
7660
|
-
n === "activated" ?
|
|
7661
|
-
n === "coverup" ?
|
|
7662
|
-
n === "overlay" ? $
|
|
7663
|
-
n === "error" ?
|
|
7659
|
+
n === "main" ? V0 : null,
|
|
7660
|
+
n === "ghost" ? z0 : null,
|
|
7661
|
+
n === "activated" ? W0 : null,
|
|
7662
|
+
n === "coverup" ? H0 : null,
|
|
7663
|
+
n === "overlay" ? $0 : null,
|
|
7664
|
+
n === "error" ? q0 : null
|
|
7664
7665
|
),
|
|
7665
7666
|
children: /* @__PURE__ */ R.jsx(e, {})
|
|
7666
7667
|
}
|
|
@@ -7678,14 +7679,14 @@ const at = (n) => ({
|
|
|
7678
7679
|
onClick: a ? void 0 : n,
|
|
7679
7680
|
disabled: a,
|
|
7680
7681
|
"aria-label": t,
|
|
7681
|
-
className:
|
|
7682
|
-
|
|
7683
|
-
e === "main" ?
|
|
7684
|
-
e === "ghost" ?
|
|
7685
|
-
e === "activated" ?
|
|
7686
|
-
e === "coverup" ?
|
|
7687
|
-
e === "overlay" ? $
|
|
7688
|
-
e === "error" ?
|
|
7682
|
+
className: ot(
|
|
7683
|
+
B0,
|
|
7684
|
+
e === "main" ? V0 : null,
|
|
7685
|
+
e === "ghost" ? z0 : null,
|
|
7686
|
+
e === "activated" ? W0 : null,
|
|
7687
|
+
e === "coverup" ? H0 : null,
|
|
7688
|
+
e === "overlay" ? $0 : null,
|
|
7689
|
+
e === "error" ? q0 : null,
|
|
7689
7690
|
r
|
|
7690
7691
|
),
|
|
7691
7692
|
children: /* @__PURE__ */ R.jsx(o, {})
|
|
@@ -7736,7 +7737,7 @@ function jv(n, e, t = 0) {
|
|
|
7736
7737
|
const [r, o] = be.useState(n);
|
|
7737
7738
|
return [r, lS(o, [], e, t)];
|
|
7738
7739
|
}
|
|
7739
|
-
const Wa = /* @__PURE__ */ new Map(),
|
|
7740
|
+
const Wa = /* @__PURE__ */ new Map(), G0 = (n) => {
|
|
7740
7741
|
const e = matchMedia(n), t = /* @__PURE__ */ new Set(), r = () => {
|
|
7741
7742
|
for (const o of t)
|
|
7742
7743
|
o(e.matches);
|
|
@@ -7748,7 +7749,7 @@ const Wa = /* @__PURE__ */ new Map(), Gy = (n) => {
|
|
|
7748
7749
|
};
|
|
7749
7750
|
}, uS = (n, e) => {
|
|
7750
7751
|
let t = Wa.get(n);
|
|
7751
|
-
t || (t =
|
|
7752
|
+
t || (t = G0(n), Wa.set(n, t)), t.dispatchers.add(e), e(t.mql.matches);
|
|
7752
7753
|
}, dS = (n, e) => {
|
|
7753
7754
|
const t = Wa.get(n);
|
|
7754
7755
|
if (t) {
|
|
@@ -7762,14 +7763,14 @@ function fS(n, e = {}) {
|
|
|
7762
7763
|
const [r, o] = be.useState(() => {
|
|
7763
7764
|
if (t) {
|
|
7764
7765
|
let a = Wa.get(n);
|
|
7765
|
-
return a || (a =
|
|
7766
|
+
return a || (a = G0(n), Wa.set(n, a)), a.mql.matches;
|
|
7766
7767
|
}
|
|
7767
7768
|
});
|
|
7768
7769
|
return be.useEffect(() => (uS(n, o), () => {
|
|
7769
7770
|
dS(n, o);
|
|
7770
7771
|
}), [n]), r;
|
|
7771
7772
|
}
|
|
7772
|
-
const
|
|
7773
|
+
const K0 = (n) => {
|
|
7773
7774
|
let e;
|
|
7774
7775
|
switch (n) {
|
|
7775
7776
|
case "sm":
|
|
@@ -7795,11 +7796,11 @@ const Ky = (n) => {
|
|
|
7795
7796
|
reset: f,
|
|
7796
7797
|
enabled: p
|
|
7797
7798
|
}) => {
|
|
7798
|
-
const g = n === "half", C =
|
|
7799
|
+
const g = n === "half", C = K0("md"), _ = g && C ? "overlay" : "ghost";
|
|
7799
7800
|
return /* @__PURE__ */ R.jsxs(
|
|
7800
7801
|
"div",
|
|
7801
7802
|
{
|
|
7802
|
-
className:
|
|
7803
|
+
className: ot("flex p-2 md:p-3 items-center justify-between gap-2", {
|
|
7803
7804
|
"md:absolute md:w-fit md:flex-col md:left-0 md:transform md:-translate-x-full md:translate-y-0": n === "half",
|
|
7804
7805
|
"@3xl/main:absolute @3xl/main:left-0 @3xl/main:right-0 @3xl/main:top-0": n === "full" || n === "embedded"
|
|
7805
7806
|
}),
|
|
@@ -7821,14 +7822,14 @@ const Ky = (n) => {
|
|
|
7821
7822
|
onClick: p ? () => {
|
|
7822
7823
|
f();
|
|
7823
7824
|
} : void 0,
|
|
7824
|
-
Icon:
|
|
7825
|
+
Icon: F0
|
|
7825
7826
|
}
|
|
7826
7827
|
),
|
|
7827
7828
|
a != null ? /* @__PURE__ */ R.jsx(
|
|
7828
7829
|
xn,
|
|
7829
7830
|
{
|
|
7830
7831
|
className: u != null ? "" : "ml-auto",
|
|
7831
|
-
Icon:
|
|
7832
|
+
Icon: N0,
|
|
7832
7833
|
label: "Settings",
|
|
7833
7834
|
type: l ? "activated" : _,
|
|
7834
7835
|
onClick: p ? a : void 0
|
|
@@ -7850,7 +7851,7 @@ const Ky = (n) => {
|
|
|
7850
7851
|
{
|
|
7851
7852
|
label: "Collapse",
|
|
7852
7853
|
type: t ?? !1 ? "error" : _,
|
|
7853
|
-
className:
|
|
7854
|
+
className: ot(
|
|
7854
7855
|
a == null ? "ml-auto" : "",
|
|
7855
7856
|
g ? "md:-order-1" : ""
|
|
7856
7857
|
),
|
|
@@ -7863,10 +7864,10 @@ const Ky = (n) => {
|
|
|
7863
7864
|
]
|
|
7864
7865
|
}
|
|
7865
7866
|
);
|
|
7866
|
-
},
|
|
7867
|
+
}, J0 = () => /* @__PURE__ */ R.jsxs(
|
|
7867
7868
|
"div",
|
|
7868
7869
|
{
|
|
7869
|
-
className:
|
|
7870
|
+
className: ot(
|
|
7870
7871
|
"grow flex flex-col items-center justify-center gap-6 text-primary-80",
|
|
7871
7872
|
// Used in CSS
|
|
7872
7873
|
"fullscreen-error"
|
|
@@ -7885,7 +7886,7 @@ const Ky = (n) => {
|
|
|
7885
7886
|
return /* @__PURE__ */ R.jsx(
|
|
7886
7887
|
"div",
|
|
7887
7888
|
{
|
|
7888
|
-
className:
|
|
7889
|
+
className: ot("bg-current animate-ping absolute inset-0", e),
|
|
7889
7890
|
style: {
|
|
7890
7891
|
animationDelay: o(-1.5 * n),
|
|
7891
7892
|
animationDuration: o(1.5),
|
|
@@ -7894,7 +7895,7 @@ const Ky = (n) => {
|
|
|
7894
7895
|
}
|
|
7895
7896
|
);
|
|
7896
7897
|
}, ac = ({ className: n, style: e }) => {
|
|
7897
|
-
const t =
|
|
7898
|
+
const t = ot("text-accent-20", n);
|
|
7898
7899
|
return /* @__PURE__ */ R.jsxs(R.Fragment, { children: [
|
|
7899
7900
|
/* @__PURE__ */ R.jsx(Du, { k: 0.12, className: t, style: e }),
|
|
7900
7901
|
/* @__PURE__ */ R.jsx(Du, { k: 0.24, className: t, style: e }),
|
|
@@ -7948,15 +7949,15 @@ const Ky = (n) => {
|
|
|
7948
7949
|
children: /* @__PURE__ */ R.jsx("g", { transform: `translate(50 50) rotate(${o * 90})`, opacity: g, children: /* @__PURE__ */ R.jsx(vS, { d: pS * r }) })
|
|
7949
7950
|
}
|
|
7950
7951
|
);
|
|
7951
|
-
},
|
|
7952
|
+
}, Y0 = ({ label: n, className: e }) => /* @__PURE__ */ R.jsx(
|
|
7952
7953
|
"div",
|
|
7953
7954
|
{
|
|
7954
|
-
className:
|
|
7955
|
+
className: ot(
|
|
7955
7956
|
"h-full w-full flex items-center justify-center",
|
|
7956
7957
|
e
|
|
7957
7958
|
),
|
|
7958
7959
|
children: /* @__PURE__ */ R.jsxs("div", { className: "flex flex-col items-center justify-center gap-3", children: [
|
|
7959
|
-
/* @__PURE__ */ R.jsx("div", { className:
|
|
7960
|
+
/* @__PURE__ */ R.jsx("div", { className: ot("w-8 h-8 block text-accent"), children: /* @__PURE__ */ R.jsx(jp, {}) }),
|
|
7960
7961
|
n != null ? /* @__PURE__ */ R.jsx("p", { className: "text-primary-60", children: n }) : null
|
|
7961
7962
|
] })
|
|
7962
7963
|
}
|
|
@@ -7971,7 +7972,7 @@ const Ky = (n) => {
|
|
|
7971
7972
|
{
|
|
7972
7973
|
onClick: n,
|
|
7973
7974
|
disabled: n == null,
|
|
7974
|
-
className:
|
|
7975
|
+
className: ot(
|
|
7975
7976
|
"relative z-10 w-full px-5 py-4 transition-colors rounded-outer flex justify-between items-center focus:outline-0 overflow-hidden before:content-[''] before:absolute before:transition-colors before:-z-10 before:inset-0 before:bg-transparent",
|
|
7976
7977
|
{
|
|
7977
7978
|
"bg-primary-80 text-secondary-80 enabled:hover:before:bg-primary-80 focus:before:bg-primary-80 enabled:active:before:bg-secondary-10 disabled:bg-primary-10 disabled:text-secondary-40": t === "main",
|
|
@@ -8035,18 +8036,18 @@ function $h(n) {
|
|
|
8035
8036
|
if (typeof n != "number") throw new Error("invalid uint 32: " + typeof n);
|
|
8036
8037
|
if (!Number.isInteger(n) || n > TS || n < 0) throw new Error("invalid uint 32: " + n);
|
|
8037
8038
|
}
|
|
8038
|
-
function
|
|
8039
|
+
function Q0(n) {
|
|
8039
8040
|
if (typeof n != "number") throw new Error("invalid float 32: " + typeof n);
|
|
8040
8041
|
if (Number.isFinite(n) && (n > CS || n < SS))
|
|
8041
8042
|
throw new Error("invalid float 32: " + n);
|
|
8042
8043
|
}
|
|
8043
|
-
const
|
|
8044
|
+
const X0 = Symbol("@bufbuild/protobuf/enum-type");
|
|
8044
8045
|
function ES(n) {
|
|
8045
|
-
const e = n[
|
|
8046
|
+
const e = n[X0];
|
|
8046
8047
|
return Kt(e, "missing enum type on enum object"), e;
|
|
8047
8048
|
}
|
|
8048
|
-
function
|
|
8049
|
-
n[
|
|
8049
|
+
function Z0(n, e, t, r) {
|
|
8050
|
+
n[X0] = eb(e, t.map((o) => ({
|
|
8050
8051
|
no: o.no,
|
|
8051
8052
|
name: o.name,
|
|
8052
8053
|
localName: n[o.no]
|
|
@@ -8077,7 +8078,7 @@ function PS(n, e, t) {
|
|
|
8077
8078
|
const a = tb(o);
|
|
8078
8079
|
r[a.localName] = a.no, r[a.no] = a.localName;
|
|
8079
8080
|
}
|
|
8080
|
-
return
|
|
8081
|
+
return Z0(r, n, e), r;
|
|
8081
8082
|
}
|
|
8082
8083
|
function tb(n) {
|
|
8083
8084
|
return "localName" in n ? n : Object.assign(Object.assign({}, n), {
|
|
@@ -8535,7 +8536,7 @@ class DS {
|
|
|
8535
8536
|
* Write a `float` value, 32-bit floating point number.
|
|
8536
8537
|
*/
|
|
8537
8538
|
float(e) {
|
|
8538
|
-
|
|
8539
|
+
Q0(e);
|
|
8539
8540
|
let t = new Uint8Array(4);
|
|
8540
8541
|
return new DataView(t.buffer).setFloat32(0, e, !0), this.raw(t);
|
|
8541
8542
|
}
|
|
@@ -9195,7 +9196,7 @@ function Yl(n, e, t, r) {
|
|
|
9195
9196
|
const o = Number(e);
|
|
9196
9197
|
if (Number.isNaN(o) || !Number.isFinite(o))
|
|
9197
9198
|
break;
|
|
9198
|
-
return n == ve.FLOAT &&
|
|
9199
|
+
return n == ve.FLOAT && Q0(o), o;
|
|
9199
9200
|
// int32, fixed32, uint32: JSON value will be a decimal number. Either numbers or strings are accepted.
|
|
9200
9201
|
case ve.INT32:
|
|
9201
9202
|
case ve.FIXED32:
|
|
@@ -9644,7 +9645,7 @@ function db(n) {
|
|
|
9644
9645
|
}
|
|
9645
9646
|
function eT() {
|
|
9646
9647
|
return {
|
|
9647
|
-
setEnumType:
|
|
9648
|
+
setEnumType: Z0,
|
|
9648
9649
|
initPartial(n, e) {
|
|
9649
9650
|
if (n === void 0)
|
|
9650
9651
|
return;
|
|
@@ -11791,7 +11792,7 @@ const dT = /* @__PURE__ */ ie.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
11791
11792
|
kind: "message",
|
|
11792
11793
|
T: Ab,
|
|
11793
11794
|
oneof: "message"
|
|
11794
|
-
}]),
|
|
11795
|
+
}]), ey = /* @__PURE__ */ ie.makeMessageType("livekit.SignalResponse", () => [{
|
|
11795
11796
|
no: 1,
|
|
11796
11797
|
name: "join",
|
|
11797
11798
|
kind: "message",
|
|
@@ -12990,9 +12991,9 @@ const dT = /* @__PURE__ */ ie.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
12990
12991
|
function QT(n) {
|
|
12991
12992
|
return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
|
|
12992
12993
|
}
|
|
12993
|
-
var Ku = { exports: {} }, XT = Ku.exports,
|
|
12994
|
+
var Ku = { exports: {} }, XT = Ku.exports, ty;
|
|
12994
12995
|
function ZT() {
|
|
12995
|
-
return
|
|
12996
|
+
return ty || (ty = 1, function(n) {
|
|
12996
12997
|
(function(e, t) {
|
|
12997
12998
|
n.exports ? n.exports = t() : e.log = t();
|
|
12998
12999
|
})(XT, function() {
|
|
@@ -13190,7 +13191,7 @@ function j(n, e, t, r) {
|
|
|
13190
13191
|
p((r = r.apply(n, e || [])).next());
|
|
13191
13192
|
});
|
|
13192
13193
|
}
|
|
13193
|
-
function
|
|
13194
|
+
function ny(n) {
|
|
13194
13195
|
var e = typeof Symbol == "function" && Symbol.iterator, t = e && n[e], r = 0;
|
|
13195
13196
|
if (t) return t.call(n);
|
|
13196
13197
|
if (n && typeof n.length == "number") return {
|
|
@@ -13203,7 +13204,7 @@ function n0(n) {
|
|
|
13203
13204
|
function to(n) {
|
|
13204
13205
|
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
13205
13206
|
var e = n[Symbol.asyncIterator], t;
|
|
13206
|
-
return e ? e.call(n) : (n = typeof
|
|
13207
|
+
return e ? e.call(n) : (n = typeof ny == "function" ? ny(n) : n[Symbol.iterator](), t = {}, r("next"), r("throw"), r("return"), t[Symbol.asyncIterator] = function() {
|
|
13207
13208
|
return this;
|
|
13208
13209
|
}, t);
|
|
13209
13210
|
function r(a) {
|
|
@@ -13219,10 +13220,10 @@ function to(n) {
|
|
|
13219
13220
|
}, l);
|
|
13220
13221
|
}
|
|
13221
13222
|
}
|
|
13222
|
-
var Fu = { exports: {} },
|
|
13223
|
+
var Fu = { exports: {} }, ry;
|
|
13223
13224
|
function s2() {
|
|
13224
|
-
if (
|
|
13225
|
-
|
|
13225
|
+
if (ry) return Fu.exports;
|
|
13226
|
+
ry = 1;
|
|
13226
13227
|
var n = typeof Reflect == "object" ? Reflect : null, e = n && typeof n.apply == "function" ? n.apply : function(F, G, se) {
|
|
13227
13228
|
return Function.prototype.apply.call(F, G, se);
|
|
13228
13229
|
}, t;
|
|
@@ -13508,12 +13509,12 @@ function c2(n) {
|
|
|
13508
13509
|
return e.browser = "Not a supported browser.", e;
|
|
13509
13510
|
return e;
|
|
13510
13511
|
}
|
|
13511
|
-
function
|
|
13512
|
+
function iy(n) {
|
|
13512
13513
|
return Object.prototype.toString.call(n) === "[object Object]";
|
|
13513
13514
|
}
|
|
13514
13515
|
function Hb(n) {
|
|
13515
|
-
return
|
|
13516
|
-
const r =
|
|
13516
|
+
return iy(n) ? Object.keys(n).reduce(function(e, t) {
|
|
13517
|
+
const r = iy(n[t]), o = r ? Hb(n[t]) : n[t], a = r && !Object.keys(o).length;
|
|
13517
13518
|
return o === void 0 || a ? e : Object.assign(e, {
|
|
13518
13519
|
[t]: o
|
|
13519
13520
|
});
|
|
@@ -13526,7 +13527,7 @@ function Yh(n, e, t) {
|
|
|
13526
13527
|
});
|
|
13527
13528
|
}));
|
|
13528
13529
|
}
|
|
13529
|
-
function
|
|
13530
|
+
function oy(n, e, t) {
|
|
13530
13531
|
const r = t ? "outbound-rtp" : "inbound-rtp", o = /* @__PURE__ */ new Map();
|
|
13531
13532
|
if (e === null)
|
|
13532
13533
|
return o;
|
|
@@ -13539,7 +13540,7 @@ function o0(n, e, t) {
|
|
|
13539
13540
|
});
|
|
13540
13541
|
}), o;
|
|
13541
13542
|
}
|
|
13542
|
-
const
|
|
13543
|
+
const sy = Wb;
|
|
13543
13544
|
function $b(n, e) {
|
|
13544
13545
|
const t = n && n.navigator;
|
|
13545
13546
|
if (!t.mediaDevices)
|
|
@@ -13593,12 +13594,12 @@ function $b(n, e) {
|
|
|
13593
13594
|
exact: T.deviceId
|
|
13594
13595
|
} : {
|
|
13595
13596
|
ideal: T.deviceId
|
|
13596
|
-
}), u.video = r(u.video),
|
|
13597
|
+
}), u.video = r(u.video), sy("chrome: " + JSON.stringify(u)), f(u);
|
|
13597
13598
|
});
|
|
13598
13599
|
}
|
|
13599
13600
|
u.video = r(u.video);
|
|
13600
13601
|
}
|
|
13601
|
-
return
|
|
13602
|
+
return sy("chrome: " + JSON.stringify(u)), f(u);
|
|
13602
13603
|
}, a = function(u) {
|
|
13603
13604
|
return e.version >= 64 ? u : {
|
|
13604
13605
|
name: {
|
|
@@ -13758,7 +13759,7 @@ function Jb(n) {
|
|
|
13758
13759
|
* send a track with the same id as sender.track as
|
|
13759
13760
|
* it is not possible to identify the RTCRtpSender.
|
|
13760
13761
|
*/
|
|
13761
|
-
|
|
13762
|
+
oy(l, a.track, !0)
|
|
13762
13763
|
));
|
|
13763
13764
|
};
|
|
13764
13765
|
}
|
|
@@ -13769,7 +13770,7 @@ function Jb(n) {
|
|
|
13769
13770
|
return o.forEach((a) => a._pc = this), o;
|
|
13770
13771
|
}), Fs(n, "track", (r) => (r.receiver._pc = r.srcElement, r)), n.RTCRtpReceiver.prototype.getStats = function() {
|
|
13771
13772
|
const o = this;
|
|
13772
|
-
return this._pc.getStats().then((a) =>
|
|
13773
|
+
return this._pc.getStats().then((a) => oy(a, o.track, !1));
|
|
13773
13774
|
};
|
|
13774
13775
|
}
|
|
13775
13776
|
if (!("getStats" in n.RTCRtpSender.prototype && "getStats" in n.RTCRtpReceiver.prototype))
|
|
@@ -13940,7 +13941,7 @@ function Xb(n, e) {
|
|
|
13940
13941
|
return t;
|
|
13941
13942
|
});
|
|
13942
13943
|
}
|
|
13943
|
-
var
|
|
13944
|
+
var ay = /* @__PURE__ */ Object.freeze({
|
|
13944
13945
|
__proto__: null,
|
|
13945
13946
|
fixNegotiationNeeded: Xb,
|
|
13946
13947
|
shimAddTrackRemoveTrack: Qb,
|
|
@@ -14134,7 +14135,7 @@ function l1(n) {
|
|
|
14134
14135
|
}) : e.apply(this, arguments);
|
|
14135
14136
|
};
|
|
14136
14137
|
}
|
|
14137
|
-
var
|
|
14138
|
+
var ly = /* @__PURE__ */ Object.freeze({
|
|
14138
14139
|
__proto__: null,
|
|
14139
14140
|
shimAddTransceiver: o1,
|
|
14140
14141
|
shimCreateAnswer: l1,
|
|
@@ -14300,7 +14301,7 @@ function g1(n) {
|
|
|
14300
14301
|
function v1(n) {
|
|
14301
14302
|
typeof n != "object" || n.AudioContext || (n.AudioContext = n.webkitAudioContext);
|
|
14302
14303
|
}
|
|
14303
|
-
var
|
|
14304
|
+
var cy = /* @__PURE__ */ Object.freeze({
|
|
14304
14305
|
__proto__: null,
|
|
14305
14306
|
shimAudioContext: v1,
|
|
14306
14307
|
shimCallbacksAPI: d1,
|
|
@@ -14311,9 +14312,9 @@ var c0 = /* @__PURE__ */ Object.freeze({
|
|
|
14311
14312
|
shimRTCIceServerUrls: p1,
|
|
14312
14313
|
shimRemoteStreamsAPI: u1,
|
|
14313
14314
|
shimTrackEventTransceiver: m1
|
|
14314
|
-
}), wh = { exports: {} },
|
|
14315
|
+
}), wh = { exports: {} }, uy;
|
|
14315
14316
|
function d2() {
|
|
14316
|
-
return
|
|
14317
|
+
return uy || (uy = 1, function(n) {
|
|
14317
14318
|
const e = {};
|
|
14318
14319
|
e.generateIdentifier = function() {
|
|
14319
14320
|
return Math.random().toString(36).substring(2, 12);
|
|
@@ -14920,21 +14921,21 @@ function p2() {
|
|
|
14920
14921
|
};
|
|
14921
14922
|
switch (r.browser) {
|
|
14922
14923
|
case "chrome":
|
|
14923
|
-
if (!
|
|
14924
|
+
if (!ay || !Qh || !e.shimChrome)
|
|
14924
14925
|
return t("Chrome shim is not included in this adapter release."), o;
|
|
14925
14926
|
if (r.version === null)
|
|
14926
14927
|
return t("Chrome shim can not determine version, not shimming."), o;
|
|
14927
|
-
t("adapter.js shimming chrome."), o.browserShim =
|
|
14928
|
+
t("adapter.js shimming chrome."), o.browserShim = ay, Xu(n, r), Zu(n), $b(n, r), qb(n), Qh(n, r), Gb(n), Qb(n, r), Kb(n), Jb(n), Xb(n, r), Ju(n), Zh(n), ep(n), Yu(n, r), Qu(n), tp(n, r);
|
|
14928
14929
|
break;
|
|
14929
14930
|
case "firefox":
|
|
14930
|
-
if (!
|
|
14931
|
+
if (!ly || !Xh || !e.shimFirefox)
|
|
14931
14932
|
return t("Firefox shim is not included in this adapter release."), o;
|
|
14932
|
-
t("adapter.js shimming firefox."), o.browserShim =
|
|
14933
|
+
t("adapter.js shimming firefox."), o.browserShim = ly, Xu(n, r), Zu(n), Zb(n, r), Xh(n, r), e1(n), r1(n), t1(n), n1(n), i1(n), o1(n), s1(n), a1(n), l1(n), Ju(n), ep(n), Yu(n, r), Qu(n);
|
|
14933
14934
|
break;
|
|
14934
14935
|
case "safari":
|
|
14935
|
-
if (!
|
|
14936
|
+
if (!cy || !e.shimSafari)
|
|
14936
14937
|
return t("Safari shim is not included in this adapter release."), o;
|
|
14937
|
-
t("adapter.js shimming safari."), o.browserShim =
|
|
14938
|
+
t("adapter.js shimming safari."), o.browserShim = cy, Xu(n, r), Zu(n), p1(n), g1(n), d1(n), c1(n), u1(n), m1(n), f1(n), v1(n), Ju(n), Zh(n), Yu(n, r), Qu(n), tp(n, r);
|
|
14938
14939
|
break;
|
|
14939
14940
|
default:
|
|
14940
14941
|
t("Unsupported browser!");
|
|
@@ -14956,18 +14957,18 @@ var jo;
|
|
|
14956
14957
|
(function(n) {
|
|
14957
14958
|
n.SetKey = "setKey", n.RatchetRequest = "ratchetRequest", n.KeyRatcheted = "keyRatcheted";
|
|
14958
14959
|
})(jo || (jo = {}));
|
|
14959
|
-
var
|
|
14960
|
+
var dy;
|
|
14960
14961
|
(function(n) {
|
|
14961
14962
|
n.KeyRatcheted = "keyRatcheted";
|
|
14962
|
-
})(
|
|
14963
|
+
})(dy || (dy = {}));
|
|
14963
14964
|
var Do;
|
|
14964
14965
|
(function(n) {
|
|
14965
14966
|
n.ParticipantEncryptionStatusChanged = "participantEncryptionStatusChanged", n.EncryptionError = "encryptionError";
|
|
14966
14967
|
})(Do || (Do = {}));
|
|
14967
|
-
var
|
|
14968
|
+
var fy;
|
|
14968
14969
|
(function(n) {
|
|
14969
14970
|
n.Error = "cryptorError";
|
|
14970
|
-
})(
|
|
14971
|
+
})(fy || (fy = {}));
|
|
14971
14972
|
function y2() {
|
|
14972
14973
|
return b2() || np();
|
|
14973
14974
|
}
|
|
@@ -14985,7 +14986,7 @@ function k2(n) {
|
|
|
14985
14986
|
value: n.value
|
|
14986
14987
|
});
|
|
14987
14988
|
}
|
|
14988
|
-
class
|
|
14989
|
+
class LR extends Ai.EventEmitter {
|
|
14989
14990
|
constructor() {
|
|
14990
14991
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
14991
14992
|
super(), this.onKeyRatcheted = (t, r, o) => {
|
|
@@ -15061,12 +15062,12 @@ class rp extends oo {
|
|
|
15061
15062
|
super(13, e ?? "unable to negotiate"), this.name = "NegotiationError";
|
|
15062
15063
|
}
|
|
15063
15064
|
}
|
|
15064
|
-
class
|
|
15065
|
+
class hy extends oo {
|
|
15065
15066
|
constructor(e, t) {
|
|
15066
15067
|
super(15, e), this.name = "PublishTrackError", this.status = t;
|
|
15067
15068
|
}
|
|
15068
15069
|
}
|
|
15069
|
-
class
|
|
15070
|
+
class py extends oo {
|
|
15070
15071
|
constructor(e, t) {
|
|
15071
15072
|
super(15, e), this.reason = t, this.reasonName = typeof t == "string" ? t : Yp[t];
|
|
15072
15073
|
}
|
|
@@ -15091,10 +15092,10 @@ var md;
|
|
|
15091
15092
|
}
|
|
15092
15093
|
n.getFailure = e;
|
|
15093
15094
|
})(md || (md = {}));
|
|
15094
|
-
var
|
|
15095
|
+
var my;
|
|
15095
15096
|
(function(n) {
|
|
15096
15097
|
n[n.InvalidKey = 0] = "InvalidKey", n[n.MissingKey = 1] = "MissingKey", n[n.InternalError = 2] = "InternalError";
|
|
15097
|
-
})(
|
|
15098
|
+
})(my || (my = {}));
|
|
15098
15099
|
var _e;
|
|
15099
15100
|
(function(n) {
|
|
15100
15101
|
n.Connected = "connected", n.Reconnecting = "reconnecting", n.SignalReconnecting = "signalReconnecting", n.Reconnected = "reconnected", n.Disconnected = "disconnected", n.ConnectionStateChanged = "connectionStateChanged", n.Moved = "moved", n.MediaDevicesChanged = "mediaDevicesChanged", n.ParticipantConnected = "participantConnected", n.ParticipantDisconnected = "participantDisconnected", n.TrackPublished = "trackPublished", n.TrackSubscribed = "trackSubscribed", n.TrackSubscriptionFailed = "trackSubscriptionFailed", n.TrackUnpublished = "trackUnpublished", n.TrackUnsubscribed = "trackUnsubscribed", n.TrackMuted = "trackMuted", n.TrackUnmuted = "trackUnmuted", n.LocalTrackPublished = "localTrackPublished", n.LocalTrackUnpublished = "localTrackUnpublished", n.LocalAudioSilenceDetected = "localAudioSilenceDetected", n.ActiveSpeakersChanged = "activeSpeakersChanged", n.ParticipantMetadataChanged = "participantMetadataChanged", n.ParticipantNameChanged = "participantNameChanged", n.ParticipantAttributesChanged = "participantAttributesChanged", n.ParticipantActive = "participantActive", n.RoomMetadataChanged = "roomMetadataChanged", n.DataReceived = "dataReceived", n.SipDTMFReceived = "sipDTMFReceived", n.TranscriptionReceived = "transcriptionReceived", n.ConnectionQualityChanged = "connectionQualityChanged", n.TrackStreamStateChanged = "trackStreamStateChanged", n.TrackSubscriptionPermissionChanged = "trackSubscriptionPermissionChanged", n.TrackSubscriptionStatusChanged = "trackSubscriptionStatusChanged", n.AudioPlaybackStatusChanged = "audioPlaybackChanged", n.VideoPlaybackStatusChanged = "videoPlaybackChanged", n.MediaDevicesError = "mediaDevicesError", n.ParticipantPermissionsChanged = "participantPermissionsChanged", n.SignalConnected = "signalConnected", n.RecordingStatusChanged = "recordingStatusChanged", n.ParticipantEncryptionStatusChanged = "participantEncryptionStatusChanged", n.EncryptionError = "encryptionError", n.DCBufferStatusChanged = "dcBufferStatusChanged", n.ActiveDeviceChanged = "activeDeviceChanged", n.ChatMessage = "chatMessage", n.LocalTrackSubscribed = "localTrackSubscribed", n.MetricsReceived = "metricsReceived";
|
|
@@ -15427,10 +15428,10 @@ function M2(n) {
|
|
|
15427
15428
|
return !!R2.find((e) => e === n);
|
|
15428
15429
|
}
|
|
15429
15430
|
const A2 = M2;
|
|
15430
|
-
var
|
|
15431
|
+
var gy;
|
|
15431
15432
|
(function(n) {
|
|
15432
15433
|
n[n.PREFER_REGRESSION = 0] = "PREFER_REGRESSION", n[n.SIMULCAST = 1] = "SIMULCAST", n[n.REGRESSION = 2] = "REGRESSION";
|
|
15433
|
-
})(
|
|
15434
|
+
})(gy || (gy = {}));
|
|
15434
15435
|
var ip;
|
|
15435
15436
|
(function(n) {
|
|
15436
15437
|
n.telephone = {
|
|
@@ -15477,7 +15478,7 @@ const dc = {
|
|
|
15477
15478
|
h1080fps30: new Pt(1920, 1080, 5e6, 30, "medium"),
|
|
15478
15479
|
// original resolution, without resizing
|
|
15479
15480
|
original: new Pt(0, 0, 7e6, 30, "medium")
|
|
15480
|
-
}, O2 = "|",
|
|
15481
|
+
}, O2 = "|", vy = "https://aomediacodec.github.io/av1-rtp-spec/#dependency-descriptor-rtp-header-extension";
|
|
15481
15482
|
function L2(n) {
|
|
15482
15483
|
const e = n.split(O2);
|
|
15483
15484
|
return e.length > 1 ? [e[0], n.substr(e[0].length + 1)] : [n, ""];
|
|
@@ -15539,7 +15540,7 @@ function Ds() {
|
|
|
15539
15540
|
var n;
|
|
15540
15541
|
return ((n = fr()) === null || n === void 0 ? void 0 : n.name) === "Firefox";
|
|
15541
15542
|
}
|
|
15542
|
-
function
|
|
15543
|
+
function yy() {
|
|
15543
15544
|
const n = fr();
|
|
15544
15545
|
return !!n && n.name === "Chrome" && n.os !== "iOS";
|
|
15545
15546
|
}
|
|
@@ -15590,7 +15591,7 @@ function w1() {
|
|
|
15590
15591
|
if (n)
|
|
15591
15592
|
return n.platform;
|
|
15592
15593
|
}
|
|
15593
|
-
function
|
|
15594
|
+
function by() {
|
|
15594
15595
|
if (dr())
|
|
15595
15596
|
return window.devicePixelRatio;
|
|
15596
15597
|
if (Ii()) {
|
|
@@ -15619,9 +15620,9 @@ function z2(n) {
|
|
|
15619
15620
|
e.target.handleVisibilityChanged(e);
|
|
15620
15621
|
}
|
|
15621
15622
|
let Th = null;
|
|
15622
|
-
const
|
|
15623
|
+
const ky = () => (Th || (Th = new ResizeObserver(V2)), Th);
|
|
15623
15624
|
let _h = null;
|
|
15624
|
-
const
|
|
15625
|
+
const wy = () => (_h || (_h = new IntersectionObserver(z2, {
|
|
15625
15626
|
root: null,
|
|
15626
15627
|
rootMargin: "0px"
|
|
15627
15628
|
})), _h);
|
|
@@ -15634,7 +15635,7 @@ function W2() {
|
|
|
15634
15635
|
});
|
|
15635
15636
|
return Ii() && (e.os = (n = w1()) !== null && n !== void 0 ? n : ""), e;
|
|
15636
15637
|
}
|
|
15637
|
-
function
|
|
15638
|
+
function Cy() {
|
|
15638
15639
|
let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 16, e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 16, t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1, r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : !1;
|
|
15639
15640
|
const o = document.createElement("canvas");
|
|
15640
15641
|
o.width = n, o.height = e;
|
|
@@ -15728,7 +15729,7 @@ function G2(n) {
|
|
|
15728
15729
|
message: r
|
|
15729
15730
|
};
|
|
15730
15731
|
}
|
|
15731
|
-
function
|
|
15732
|
+
function Sy(n) {
|
|
15732
15733
|
switch (n.reason) {
|
|
15733
15734
|
case mt.LeaveRequest:
|
|
15734
15735
|
return n.context;
|
|
@@ -16004,7 +16005,7 @@ function r_(n) {
|
|
|
16004
16005
|
return ge.Source.Unknown;
|
|
16005
16006
|
}
|
|
16006
16007
|
}
|
|
16007
|
-
function
|
|
16008
|
+
function Ty(n, e) {
|
|
16008
16009
|
return n.width * n.height < e.width * e.height;
|
|
16009
16010
|
}
|
|
16010
16011
|
function i_(n, e) {
|
|
@@ -16271,7 +16272,7 @@ class o_ extends Ai.EventEmitter {
|
|
|
16271
16272
|
if (this.worker) {
|
|
16272
16273
|
if (np() && // Chrome occasionally throws an `InvalidState` error when using script transforms directly after introducing this API in 141.
|
|
16273
16274
|
// Disabling it for Chrome based browsers until the API has stabilized
|
|
16274
|
-
!
|
|
16275
|
+
!yy()) {
|
|
16275
16276
|
const a = {
|
|
16276
16277
|
kind: "decode",
|
|
16277
16278
|
participantIdentity: r,
|
|
@@ -16326,7 +16327,7 @@ class o_ extends Ai.EventEmitter {
|
|
|
16326
16327
|
throw TypeError("local identity needs to be known in order to set up encrypted sender");
|
|
16327
16328
|
if (np() && // Chrome occasionally throws an `InvalidState` error when using script transforms directly after introducing this API in 141.
|
|
16328
16329
|
// Disabling it for Chrome based browsers until the API has stabilized
|
|
16329
|
-
!
|
|
16330
|
+
!yy()) {
|
|
16330
16331
|
ct.info("initialize script transform");
|
|
16331
16332
|
const a = {
|
|
16332
16333
|
kind: "encode",
|
|
@@ -16544,13 +16545,13 @@ function u_(n) {
|
|
|
16544
16545
|
function x1(n, e) {
|
|
16545
16546
|
return n.pathname = "".concat(u_(n.pathname)).concat(e), n.toString();
|
|
16546
16547
|
}
|
|
16547
|
-
function
|
|
16548
|
+
function _y(n) {
|
|
16548
16549
|
if (typeof n == "string")
|
|
16549
|
-
return
|
|
16550
|
+
return ey.fromJson(JSON.parse(n), {
|
|
16550
16551
|
ignoreUnknownFields: !0
|
|
16551
16552
|
});
|
|
16552
16553
|
if (n instanceof ArrayBuffer)
|
|
16553
|
-
return
|
|
16554
|
+
return ey.fromBinary(new Uint8Array(n));
|
|
16554
16555
|
throw new Error("could not decode websocket message: ".concat(typeof n));
|
|
16555
16556
|
}
|
|
16556
16557
|
function d_(n) {
|
|
@@ -16679,7 +16680,7 @@ class tm {
|
|
|
16679
16680
|
const G = yield F.read();
|
|
16680
16681
|
if (F.releaseLock(), !G.value)
|
|
16681
16682
|
throw new Ct("no message received as first message", mt.InternalError);
|
|
16682
|
-
const se =
|
|
16683
|
+
const se = _y(G.value), Q = this.validateFirstMessage(se, (_ = r.reconnect) !== null && _ !== void 0 ? _ : !1);
|
|
16683
16684
|
if (!Q.isValid) {
|
|
16684
16685
|
C(Q.error);
|
|
16685
16686
|
return;
|
|
@@ -16711,7 +16712,7 @@ class tm {
|
|
|
16711
16712
|
} = yield e.read();
|
|
16712
16713
|
if (r)
|
|
16713
16714
|
break;
|
|
16714
|
-
const a =
|
|
16715
|
+
const a = _y(o);
|
|
16715
16716
|
this.handleSignalResponse(a);
|
|
16716
16717
|
}
|
|
16717
16718
|
});
|
|
@@ -16917,10 +16918,10 @@ class tm {
|
|
|
16917
16918
|
}
|
|
16918
16919
|
let a = !1;
|
|
16919
16920
|
if (o.case === "answer") {
|
|
16920
|
-
const l =
|
|
16921
|
+
const l = xy(o.value);
|
|
16921
16922
|
this.onAnswer && this.onAnswer(l, o.value.id, o.value.midToTrackId);
|
|
16922
16923
|
} else if (o.case === "offer") {
|
|
16923
|
-
const l =
|
|
16924
|
+
const l = xy(o.value);
|
|
16924
16925
|
this.onOffer && this.onOffer(l, o.value.id, o.value.midToTrackId);
|
|
16925
16926
|
} else if (o.case === "trickle") {
|
|
16926
16927
|
const l = JSON.parse(o.value.candidateInit);
|
|
@@ -17042,7 +17043,7 @@ class tm {
|
|
|
17042
17043
|
});
|
|
17043
17044
|
}
|
|
17044
17045
|
}
|
|
17045
|
-
function
|
|
17046
|
+
function xy(n) {
|
|
17046
17047
|
const e = {
|
|
17047
17048
|
type: "offer",
|
|
17048
17049
|
sdp: n.sdp
|
|
@@ -17087,7 +17088,7 @@ function g_(n, e, t) {
|
|
|
17087
17088
|
});
|
|
17088
17089
|
return r.set("join_request", btoa(new TextDecoder("utf-8").decode(a.toBinary()))), r;
|
|
17089
17090
|
}
|
|
17090
|
-
class
|
|
17091
|
+
class Ey {
|
|
17091
17092
|
constructor() {
|
|
17092
17093
|
this.buffer = [], this._totalSize = 0;
|
|
17093
17094
|
}
|
|
@@ -17181,10 +17182,10 @@ class v_ {
|
|
|
17181
17182
|
return e;
|
|
17182
17183
|
}
|
|
17183
17184
|
}
|
|
17184
|
-
var ii = {}, Rh = {}, Ih = { exports: {} },
|
|
17185
|
+
var ii = {}, Rh = {}, Ih = { exports: {} }, Py;
|
|
17185
17186
|
function nm() {
|
|
17186
|
-
if (
|
|
17187
|
-
|
|
17187
|
+
if (Py) return Ih.exports;
|
|
17188
|
+
Py = 1;
|
|
17188
17189
|
var n = Ih.exports = {
|
|
17189
17190
|
v: [{
|
|
17190
17191
|
name: "version",
|
|
@@ -17640,9 +17641,9 @@ function nm() {
|
|
|
17640
17641
|
});
|
|
17641
17642
|
}), Ih.exports;
|
|
17642
17643
|
}
|
|
17643
|
-
var
|
|
17644
|
+
var Ry;
|
|
17644
17645
|
function y_() {
|
|
17645
|
-
return
|
|
17646
|
+
return Ry || (Ry = 1, function(n) {
|
|
17646
17647
|
var e = function(u) {
|
|
17647
17648
|
return String(Number(u)) === u ? Number(u) : u;
|
|
17648
17649
|
}, t = function(u, f, p, g) {
|
|
@@ -17708,10 +17709,10 @@ function y_() {
|
|
|
17708
17709
|
};
|
|
17709
17710
|
}(Rh)), Rh;
|
|
17710
17711
|
}
|
|
17711
|
-
var Mh,
|
|
17712
|
+
var Mh, Iy;
|
|
17712
17713
|
function b_() {
|
|
17713
|
-
if (
|
|
17714
|
-
|
|
17714
|
+
if (Iy) return Mh;
|
|
17715
|
+
Iy = 1;
|
|
17715
17716
|
var n = nm(), e = /%[sdv%]/g, t = function(l) {
|
|
17716
17717
|
var u = 1, f = arguments, p = f.length;
|
|
17717
17718
|
return l.replace(e, function(g) {
|
|
@@ -17764,10 +17765,10 @@ function b_() {
|
|
|
17764
17765
|
`;
|
|
17765
17766
|
}, Mh;
|
|
17766
17767
|
}
|
|
17767
|
-
var
|
|
17768
|
+
var My;
|
|
17768
17769
|
function k_() {
|
|
17769
|
-
if (
|
|
17770
|
-
|
|
17770
|
+
if (My) return ii;
|
|
17771
|
+
My = 1;
|
|
17771
17772
|
var n = y_(), e = b_(), t = nm();
|
|
17772
17773
|
return ii.grammar = t, ii.write = e, ii.parse = n.parse, ii.parseParams = n.parseParams, ii.parseFmtpConfig = n.parseFmtpConfig, ii.parsePayloads = n.parsePayloads, ii.parseRemoteCandidates = n.parseRemoteCandidates, ii.parseImageAttributes = n.parseImageAttributes, ii.parseSimulcastStreamList = n.parseSimulcastStreamList, ii;
|
|
17773
17774
|
}
|
|
@@ -17815,7 +17816,7 @@ const w_ = 0.7, C_ = 20, Ba = {
|
|
|
17815
17816
|
NegotiationComplete: "negotiationComplete",
|
|
17816
17817
|
RTPVideoPayloadTypes: "rtpVideoPayloadTypes"
|
|
17817
17818
|
};
|
|
17818
|
-
class
|
|
17819
|
+
class Ay extends Ai.EventEmitter {
|
|
17819
17820
|
get pc() {
|
|
17820
17821
|
return this._pc || (this._pc = this.createPC()), this._pc;
|
|
17821
17822
|
}
|
|
@@ -17948,7 +17949,7 @@ class A0 extends Ai.EventEmitter {
|
|
|
17948
17949
|
}, this.logContext));
|
|
17949
17950
|
const l = Ao.parse((t = a.sdp) !== null && t !== void 0 ? t : "");
|
|
17950
17951
|
if (l.media.forEach((u) => {
|
|
17951
|
-
|
|
17952
|
+
Ly(u), u.type === "audio" ? Oy(u, ["all"], []) : u.type === "video" && this.trackBitrates.some((f) => {
|
|
17952
17953
|
if (!u.msid || !f.cid || !u.msid.includes(f.cid))
|
|
17953
17954
|
return !1;
|
|
17954
17955
|
let p = 0;
|
|
@@ -17980,7 +17981,7 @@ class A0 extends Ai.EventEmitter {
|
|
|
17980
17981
|
var e;
|
|
17981
17982
|
const t = yield this.pc.createAnswer(), r = Ao.parse((e = t.sdp) !== null && e !== void 0 ? e : "");
|
|
17982
17983
|
return r.media.forEach((o) => {
|
|
17983
|
-
|
|
17984
|
+
Ly(o), o.type === "audio" && Oy(o, this.remoteStereoMids, this.remoteNackMids);
|
|
17984
17985
|
}), yield this.setMungedSDP(t, Ao.write(r)), t;
|
|
17985
17986
|
});
|
|
17986
17987
|
}
|
|
@@ -18104,7 +18105,7 @@ class A0 extends Ai.EventEmitter {
|
|
|
18104
18105
|
}
|
|
18105
18106
|
ensureVideoDDExtensionForSVC(e, t) {
|
|
18106
18107
|
var r, o;
|
|
18107
|
-
if (!((r = e.ext) === null || r === void 0 ? void 0 : r.some((l) => l.uri ===
|
|
18108
|
+
if (!((r = e.ext) === null || r === void 0 ? void 0 : r.some((l) => l.uri === vy))) {
|
|
18108
18109
|
if (this.ddExtID === 0) {
|
|
18109
18110
|
let l = 0;
|
|
18110
18111
|
t.media.forEach((u) => {
|
|
@@ -18116,12 +18117,12 @@ class A0 extends Ai.EventEmitter {
|
|
|
18116
18117
|
}
|
|
18117
18118
|
(o = e.ext) === null || o === void 0 || o.push({
|
|
18118
18119
|
value: this.ddExtID,
|
|
18119
|
-
uri:
|
|
18120
|
+
uri: vy
|
|
18120
18121
|
});
|
|
18121
18122
|
}
|
|
18122
18123
|
}
|
|
18123
18124
|
}
|
|
18124
|
-
function
|
|
18125
|
+
function Oy(n, e, t) {
|
|
18125
18126
|
const r = im(n.mid);
|
|
18126
18127
|
let o = 0;
|
|
18127
18128
|
n.rtp.some((a) => a.codec === "opus" ? (o = a.payload, !0) : !1), o > 0 && (n.rtcpFb || (n.rtcpFb = []), t.includes(r) && !n.rtcpFb.some((a) => a.payload === o && a.type === "nack") && n.rtcpFb.push({
|
|
@@ -18142,7 +18143,7 @@ function S_(n) {
|
|
|
18142
18143
|
nackMids: r
|
|
18143
18144
|
};
|
|
18144
18145
|
}
|
|
18145
|
-
function
|
|
18146
|
+
function Ly(n) {
|
|
18146
18147
|
if (n.connection) {
|
|
18147
18148
|
const e = n.connection.ip.indexOf(":") >= 0;
|
|
18148
18149
|
(n.connection.version === 4 && e || n.connection.version === 6 && !e) && (n.connection.ip = "0.0.0.0", n.connection.version = 4);
|
|
@@ -18209,7 +18210,7 @@ class x_ {
|
|
|
18209
18210
|
var a, l;
|
|
18210
18211
|
const u = this.state, f = this.requiredTransports.map((p) => p.getConnectionState());
|
|
18211
18212
|
f.every((p) => p === "connected") ? this.state = Gt.CONNECTED : f.some((p) => p === "failed") ? this.state = Gt.FAILED : f.some((p) => p === "connecting") ? this.state = Gt.CONNECTING : f.every((p) => p === "closed") ? this.state = Gt.CLOSED : f.some((p) => p === "closed") ? this.state = Gt.CLOSING : f.every((p) => p === "new") && (this.state = Gt.NEW), u !== this.state && (this.log.debug("pc state change: from ".concat(Gt[u], " to ").concat(Gt[this.state]), this.logContext), (a = this.onStateChange) === null || a === void 0 || a.call(this, this.state, this.publisher.getConnectionState(), (l = this.subscriber) === null || l === void 0 ? void 0 : l.getConnectionState()));
|
|
18212
|
-
}, this.log = io((o = r.loggerName) !== null && o !== void 0 ? o : ui.PCManager), this.loggerOptions = r, this.isPublisherConnectionRequired = t !== "subscriber-primary", this.isSubscriberConnectionRequired = t === "subscriber-primary", this.publisher = new
|
|
18213
|
+
}, this.log = io((o = r.loggerName) !== null && o !== void 0 ? o : ui.PCManager), this.loggerOptions = r, this.isPublisherConnectionRequired = t !== "subscriber-primary", this.isSubscriberConnectionRequired = t === "subscriber-primary", this.publisher = new Ay(e, r), t !== "publisher-only" && (this.subscriber = new Ay(e, r), this.subscriber.onConnectionStateChange = this.updateState, this.subscriber.onIceConnectionStateChange = this.updateState, this.subscriber.onSignalingStatechange = this.updateState, this.subscriber.onIceCandidate = (a) => {
|
|
18213
18214
|
var l;
|
|
18214
18215
|
(l = this.onIceCandidate) === null || l === void 0 || l.call(this, a, li.SUBSCRIBER);
|
|
18215
18216
|
}, this.subscriber.onDataChannel = (a) => {
|
|
@@ -18474,7 +18475,7 @@ class Jt extends Error {
|
|
|
18474
18475
|
* Error codes 1001-1999 are reserved for built-in errors (see RpcError.ErrorCode for their meanings).
|
|
18475
18476
|
*/
|
|
18476
18477
|
constructor(e, t, r) {
|
|
18477
|
-
super(t), this.code = e, this.message =
|
|
18478
|
+
super(t), this.code = e, this.message = Dy(t, Jt.MAX_MESSAGE_BYTES), this.data = r ? Dy(r, Jt.MAX_DATA_BYTES) : void 0;
|
|
18478
18479
|
}
|
|
18479
18480
|
/**
|
|
18480
18481
|
* @internal
|
|
@@ -18533,7 +18534,7 @@ const I1 = 15360;
|
|
|
18533
18534
|
function sm(n) {
|
|
18534
18535
|
return new TextEncoder().encode(n).length;
|
|
18535
18536
|
}
|
|
18536
|
-
function
|
|
18537
|
+
function Dy(n, e) {
|
|
18537
18538
|
if (sm(n) <= e)
|
|
18538
18539
|
return n;
|
|
18539
18540
|
let t = 0, r = n.length;
|
|
@@ -19199,7 +19200,7 @@ function gp(n, e, t, r) {
|
|
|
19199
19200
|
if (!u)
|
|
19200
19201
|
return [l];
|
|
19201
19202
|
let _ = [];
|
|
19202
|
-
n ? _ = (o =
|
|
19203
|
+
n ? _ = (o = jy(r == null ? void 0 : r.screenShareSimulcastLayers)) !== null && o !== void 0 ? o : Ny(n, C) : _ = (a = jy(r == null ? void 0 : r.videoSimulcastLayers)) !== null && a !== void 0 ? a : Ny(n, C);
|
|
19203
19204
|
let T;
|
|
19204
19205
|
if (_.length > 0) {
|
|
19205
19206
|
const N = _[0];
|
|
@@ -19252,7 +19253,7 @@ function W_(n, e, t) {
|
|
|
19252
19253
|
const r = e > t ? e / t : t / e;
|
|
19253
19254
|
return Math.abs(r - 16 / 9) < Math.abs(r - 4 / 3) ? D_ : N_;
|
|
19254
19255
|
}
|
|
19255
|
-
function
|
|
19256
|
+
function Ny(n, e) {
|
|
19256
19257
|
if (n)
|
|
19257
19258
|
return B_(e);
|
|
19258
19259
|
const {
|
|
@@ -19287,7 +19288,7 @@ function Ah(n, e, t, r) {
|
|
|
19287
19288
|
}
|
|
19288
19289
|
return o;
|
|
19289
19290
|
}
|
|
19290
|
-
function
|
|
19291
|
+
function jy(n) {
|
|
19291
19292
|
if (n)
|
|
19292
19293
|
return n.sort((e, t) => {
|
|
19293
19294
|
const {
|
|
@@ -19636,7 +19637,7 @@ class vd extends M1 {
|
|
|
19636
19637
|
p.push(g.codec);
|
|
19637
19638
|
break;
|
|
19638
19639
|
}
|
|
19639
|
-
} else C.encodings && (this.log.debug("try setPublishingLayersForSender ".concat(g.codec), this.logContext), yield
|
|
19640
|
+
} else C.encodings && (this.log.debug("try setPublishingLayersForSender ".concat(g.codec), this.logContext), yield Fy(C.sender, C.encodings, g.qualities, this.senderLock, Ei(g.codec), this.log, this.logContext));
|
|
19640
19641
|
}
|
|
19641
19642
|
}
|
|
19642
19643
|
} catch (g) {
|
|
@@ -19667,7 +19668,7 @@ class vd extends M1 {
|
|
|
19667
19668
|
}
|
|
19668
19669
|
this.log.debug("setting publishing layers", Object.assign(Object.assign({}, this.logContext), {
|
|
19669
19670
|
qualities: t
|
|
19670
|
-
})), !(!this.sender || !this.encodings) && (yield
|
|
19671
|
+
})), !(!this.sender || !this.encodings) && (yield Fy(this.sender, this.encodings, t, this.senderLock, e, this.log, this.logContext));
|
|
19671
19672
|
});
|
|
19672
19673
|
}
|
|
19673
19674
|
/**
|
|
@@ -19714,7 +19715,7 @@ class vd extends M1 {
|
|
|
19714
19715
|
});
|
|
19715
19716
|
}
|
|
19716
19717
|
}
|
|
19717
|
-
function
|
|
19718
|
+
function Fy(n, e, t, r, o, a, l) {
|
|
19718
19719
|
return j(this, void 0, void 0, function* () {
|
|
19719
19720
|
const u = yield r.lock();
|
|
19720
19721
|
a.debug("setPublishingLayersForSender", Object.assign(Object.assign({}, l), {
|
|
@@ -19762,7 +19763,7 @@ function O1(n) {
|
|
|
19762
19763
|
return Sr.HIGH;
|
|
19763
19764
|
}
|
|
19764
19765
|
}
|
|
19765
|
-
function
|
|
19766
|
+
function Uy(n, e, t, r) {
|
|
19766
19767
|
if (!t)
|
|
19767
19768
|
return [new No({
|
|
19768
19769
|
quality: Sr.HIGH,
|
|
@@ -19796,7 +19797,7 @@ function U0(n, e, t, r) {
|
|
|
19796
19797
|
});
|
|
19797
19798
|
});
|
|
19798
19799
|
}
|
|
19799
|
-
const
|
|
19800
|
+
const By = "_lossy", Vy = "_reliable", q_ = 2 * 1e3, Oh = "leave-reconnect", G_ = 3e4;
|
|
19800
19801
|
var Ur;
|
|
19801
19802
|
(function(n) {
|
|
19802
19803
|
n[n.New = 0] = "New", n[n.Connected = 1] = "Connected", n[n.Disconnected = 2] = "Disconnected", n[n.Reconnecting = 3] = "Reconnecting", n[n.Closed = 4] = "Closed";
|
|
@@ -19810,16 +19811,16 @@ class K_ extends Ai.EventEmitter {
|
|
|
19810
19811
|
}
|
|
19811
19812
|
constructor(e) {
|
|
19812
19813
|
var t;
|
|
19813
|
-
super(), this.options = e, this.rtcConfig = {}, this.peerConnectionTimeout = om.peerConnectionTimeout, this.fullReconnectOnNext = !1, this.latestRemoteOfferId = 0, this.subscriberPrimary = !1, this.pcState = Ur.New, this._isClosed = !0, this.pendingTrackResolvers = {}, this.reconnectAttempts = 0, this.reconnectStart = 0, this.attemptingReconnect = !1, this.joinAttempts = 0, this.maxJoinAttempts = 1, this.shouldFailNext = !1, this.log = ct, this.reliableDataSequence = 1, this.reliableMessageBuffer = new
|
|
19814
|
+
super(), this.options = e, this.rtcConfig = {}, this.peerConnectionTimeout = om.peerConnectionTimeout, this.fullReconnectOnNext = !1, this.latestRemoteOfferId = 0, this.subscriberPrimary = !1, this.pcState = Ur.New, this._isClosed = !0, this.pendingTrackResolvers = {}, this.reconnectAttempts = 0, this.reconnectStart = 0, this.attemptingReconnect = !1, this.joinAttempts = 0, this.maxJoinAttempts = 1, this.shouldFailNext = !1, this.log = ct, this.reliableDataSequence = 1, this.reliableMessageBuffer = new Ey(), this.reliableReceivedState = new v_(G_), this.midToTrackId = {}, this.handleDataChannel = (r) => j(this, [r], void 0, function(o) {
|
|
19814
19815
|
var a = this;
|
|
19815
19816
|
let {
|
|
19816
19817
|
channel: l
|
|
19817
19818
|
} = o;
|
|
19818
19819
|
return function* () {
|
|
19819
19820
|
if (l) {
|
|
19820
|
-
if (l.label ===
|
|
19821
|
+
if (l.label === Vy)
|
|
19821
19822
|
a.reliableDCSub = l;
|
|
19822
|
-
else if (l.label ===
|
|
19823
|
+
else if (l.label === By)
|
|
19823
19824
|
a.lossyDCSub = l;
|
|
19824
19825
|
else
|
|
19825
19826
|
return;
|
|
@@ -19860,9 +19861,9 @@ class K_ extends Ai.EventEmitter {
|
|
|
19860
19861
|
participantIdentity: C.participantIdentity,
|
|
19861
19862
|
participantSid: C.participantSid
|
|
19862
19863
|
});
|
|
19863
|
-
((u = N.value) === null || u === void 0 ? void 0 : u.case) === "user" &&
|
|
19864
|
+
((u = N.value) === null || u === void 0 ? void 0 : u.case) === "user" && zy(N, N.value.value), this.emit(Ae.DataPacketReceived, N, C.value.value.encryptionType);
|
|
19864
19865
|
} else
|
|
19865
|
-
((f = C.value) === null || f === void 0 ? void 0 : f.case) === "user" &&
|
|
19866
|
+
((f = C.value) === null || f === void 0 ? void 0 : f.case) === "user" && zy(C, C.value.value), this.emit(Ae.DataPacketReceived, C, un.NONE);
|
|
19866
19867
|
} finally {
|
|
19867
19868
|
p();
|
|
19868
19869
|
}
|
|
@@ -19967,7 +19968,7 @@ class K_ extends Ai.EventEmitter {
|
|
|
19967
19968
|
const t = (r) => {
|
|
19968
19969
|
r && (r.close(), r.onbufferedamountlow = null, r.onclose = null, r.onclosing = null, r.onerror = null, r.onmessage = null, r.onopen = null);
|
|
19969
19970
|
};
|
|
19970
|
-
t(this.lossyDC), t(this.lossyDCSub), t(this.reliableDC), t(this.reliableDCSub), this.lossyDC = void 0, this.lossyDCSub = void 0, this.reliableDC = void 0, this.reliableDCSub = void 0, this.reliableMessageBuffer = new
|
|
19971
|
+
t(this.lossyDC), t(this.lossyDCSub), t(this.reliableDC), t(this.reliableDCSub), this.lossyDC = void 0, this.lossyDCSub = void 0, this.reliableDC = void 0, this.reliableDCSub = void 0, this.reliableMessageBuffer = new Ey(), this.reliableDataSequence = 1, this.reliableReceivedState.clear();
|
|
19971
19972
|
});
|
|
19972
19973
|
}
|
|
19973
19974
|
cleanupClient() {
|
|
@@ -20146,10 +20147,10 @@ class K_ extends Ai.EventEmitter {
|
|
|
20146
20147
|
return e.clientConfiguration && e.clientConfiguration.forceRelay === lc.ENABLED && (r.iceTransportPolicy = "relay"), r.sdpSemantics = "unified-plan", r.continualGatheringPolicy = "gather_continually", r;
|
|
20147
20148
|
}
|
|
20148
20149
|
createDataChannels() {
|
|
20149
|
-
this.pcManager && (this.lossyDC && (this.lossyDC.onmessage = null, this.lossyDC.onerror = null), this.reliableDC && (this.reliableDC.onmessage = null, this.reliableDC.onerror = null), this.lossyDC = this.pcManager.createPublisherDataChannel(
|
|
20150
|
+
this.pcManager && (this.lossyDC && (this.lossyDC.onmessage = null, this.lossyDC.onerror = null), this.reliableDC && (this.reliableDC.onmessage = null, this.reliableDC.onerror = null), this.lossyDC = this.pcManager.createPublisherDataChannel(By, {
|
|
20150
20151
|
ordered: !1,
|
|
20151
20152
|
maxRetransmits: 0
|
|
20152
|
-
}), this.reliableDC = this.pcManager.createPublisherDataChannel(
|
|
20153
|
+
}), this.reliableDC = this.pcManager.createPublisherDataChannel(Vy, {
|
|
20153
20154
|
ordered: !0
|
|
20154
20155
|
}), this.lossyDC.onmessage = this.handleDataMessage, this.reliableDC.onmessage = this.handleDataMessage, this.lossyDC.onerror = this.handleDataError, this.reliableDC.onerror = this.handleDataError, this.lossyDC.bufferedAmountLowThreshold = 65535, this.reliableDC.bufferedAmountLowThreshold = 65535, this.lossyDC.onbufferedamountlow = this.handleBufferedAmountLow, this.reliableDC.onbufferedamountlow = this.handleBufferedAmountLow);
|
|
20155
20156
|
}
|
|
@@ -20572,7 +20573,7 @@ class Ra extends Error {
|
|
|
20572
20573
|
function J_(n) {
|
|
20573
20574
|
return n !== void 0 && n > 13;
|
|
20574
20575
|
}
|
|
20575
|
-
function
|
|
20576
|
+
function zy(n, e) {
|
|
20576
20577
|
const t = n.participantIdentity ? n.participantIdentity : e.participantIdentity;
|
|
20577
20578
|
n.participantIdentity = t, e.participantIdentity = t;
|
|
20578
20579
|
const r = n.destinationIdentities.length !== 0 ? n.destinationIdentities : e.destinationIdentities;
|
|
@@ -20973,7 +20974,7 @@ class Z_ extends D1 {
|
|
|
20973
20974
|
}
|
|
20974
20975
|
class ex extends D1 {
|
|
20975
20976
|
}
|
|
20976
|
-
const
|
|
20977
|
+
const Wy = 15e3;
|
|
20977
20978
|
class tx {
|
|
20978
20979
|
constructor(e, t) {
|
|
20979
20980
|
this.engine = e, this.log = t;
|
|
@@ -21053,7 +21054,7 @@ class tx {
|
|
|
21053
21054
|
// Implement the sink
|
|
21054
21055
|
write(A) {
|
|
21055
21056
|
return j(this, void 0, void 0, function* () {
|
|
21056
|
-
for (const H of Y2(A,
|
|
21057
|
+
for (const H of Y2(A, Wy)) {
|
|
21057
21058
|
yield C.waitForBufferStatusLow(lt.RELIABLE);
|
|
21058
21059
|
const z = new hd({
|
|
21059
21060
|
content: H,
|
|
@@ -21168,7 +21169,7 @@ class tx {
|
|
|
21168
21169
|
let F = 0;
|
|
21169
21170
|
try {
|
|
21170
21171
|
for (; F < U.byteLength; ) {
|
|
21171
|
-
const G = U.slice(F, F +
|
|
21172
|
+
const G = U.slice(F, F + Wy);
|
|
21172
21173
|
yield A.waitForBufferStatusLow(lt.RELIABLE);
|
|
21173
21174
|
const se = new Jn({
|
|
21174
21175
|
destinationIdentities: p,
|
|
@@ -21551,7 +21552,7 @@ class rx extends N1 {
|
|
|
21551
21552
|
getPixelDensity() {
|
|
21552
21553
|
var e;
|
|
21553
21554
|
const t = (e = this.adaptiveStreamSettings) === null || e === void 0 ? void 0 : e.pixelDensity;
|
|
21554
|
-
return t === "screen" ?
|
|
21555
|
+
return t === "screen" ? by() : t || (by() > 2 ? 2 : 1);
|
|
21555
21556
|
}
|
|
21556
21557
|
}
|
|
21557
21558
|
class ix {
|
|
@@ -21588,11 +21589,11 @@ class ix {
|
|
|
21588
21589
|
this.isIntersecting = vp(this.element), this.isPiP = Hl(this.element), this.element.handleResize = () => {
|
|
21589
21590
|
var o;
|
|
21590
21591
|
(o = this.handleResize) === null || o === void 0 || o.call(this);
|
|
21591
|
-
}, this.element.handleVisibilityChanged = this.onVisibilityChanged,
|
|
21592
|
+
}, this.element.handleVisibilityChanged = this.onVisibilityChanged, wy().observe(this.element), ky().observe(this.element), this.element.addEventListener("enterpictureinpicture", this.onEnterPiP), this.element.addEventListener("leavepictureinpicture", this.onLeavePiP), (e = window.documentPictureInPicture) === null || e === void 0 || e.addEventListener("enter", this.onEnterPiP), (r = (t = window.documentPictureInPicture) === null || t === void 0 ? void 0 : t.window) === null || r === void 0 || r.addEventListener("pagehide", this.onLeavePiP);
|
|
21592
21593
|
}
|
|
21593
21594
|
stopObserving() {
|
|
21594
21595
|
var e, t, r, o, a;
|
|
21595
|
-
(e =
|
|
21596
|
+
(e = wy()) === null || e === void 0 || e.unobserve(this.element), (t = ky()) === null || t === void 0 || t.unobserve(this.element), this.element.removeEventListener("enterpictureinpicture", this.onEnterPiP), this.element.removeEventListener("leavepictureinpicture", this.onLeavePiP), (r = window.documentPictureInPicture) === null || r === void 0 || r.removeEventListener("enter", this.onEnterPiP), (a = (o = window.documentPictureInPicture) === null || o === void 0 ? void 0 : o.window) === null || a === void 0 || a.removeEventListener("pagehide", this.onLeavePiP);
|
|
21596
21597
|
}
|
|
21597
21598
|
}
|
|
21598
21599
|
function Hl(n) {
|
|
@@ -22029,7 +22030,7 @@ class cx extends j1 {
|
|
|
22029
22030
|
reason: p,
|
|
22030
22031
|
message: g
|
|
22031
22032
|
} = u, C = this.pendingSignalRequests.get(f);
|
|
22032
|
-
C && (p !== Yp.OK && C.reject(new
|
|
22033
|
+
C && (p !== Yp.OK && C.reject(new py(g, p)), this.pendingSignalRequests.delete(f));
|
|
22033
22034
|
}, this.handleDataPacket = (u) => {
|
|
22034
22035
|
switch (u.value.case) {
|
|
22035
22036
|
case "rpcResponse":
|
|
@@ -22237,7 +22238,7 @@ class cx extends j1 {
|
|
|
22237
22238
|
}
|
|
22238
22239
|
yield Xn(50);
|
|
22239
22240
|
}
|
|
22240
|
-
f(new
|
|
22241
|
+
f(new py("Request to update local metadata timed out", "TimeoutError"));
|
|
22241
22242
|
} catch (C) {
|
|
22242
22243
|
C instanceof Error && f(C);
|
|
22243
22244
|
}
|
|
@@ -22489,7 +22490,7 @@ class cx extends j1 {
|
|
|
22489
22490
|
track: ht(r)
|
|
22490
22491
|
}));
|
|
22491
22492
|
const U = setTimeout(() => {
|
|
22492
|
-
ee(new
|
|
22493
|
+
ee(new hy("publishing rejected as engine not connected within timeout", 408));
|
|
22493
22494
|
}, 15e3);
|
|
22494
22495
|
yield this.waitUntilEngineConnected(), clearTimeout(U);
|
|
22495
22496
|
const L = yield this.publish(r, T, A);
|
|
@@ -22532,7 +22533,7 @@ class cx extends j1 {
|
|
|
22532
22533
|
return j(this, void 0, void 0, function* () {
|
|
22533
22534
|
var o, a, l, u, f, p, g, C, _, T;
|
|
22534
22535
|
if (!this.hasPermissionsToPublish(e))
|
|
22535
|
-
throw new
|
|
22536
|
+
throw new hy("failed to publish track, insufficient permissions", 403);
|
|
22536
22537
|
Array.from(this.trackPublications.values()).find(($) => Ua(e) && $.source === e.source) && e.source !== ge.Source.Unknown && this.log.info("publishing a second track with the same source: ".concat(e.source), Object.assign(Object.assign({}, this.logContext), ht(e))), t.stopMicTrackOnMute && Pi(e) && (e.stopOnMute = !0), e.source === ge.Source.ScreenShare && Ds() && (t.simulcast = !1), t.videoCodec === "av1" && !D2() && (t.videoCodec = void 0), t.videoCodec === "vp9" && !N2() && (t.videoCodec = void 0), t.videoCodec === void 0 && (t.videoCodec = pp), this.enabledPublishVideoCodecs.length > 0 && (this.enabledPublishVideoCodecs.some(($) => t.videoCodec === Xl($.mime)) || (t.videoCodec = Xl(this.enabledPublishVideoCodecs[0].mime)));
|
|
22537
22538
|
const A = t.videoCodec;
|
|
22538
22539
|
e.on(Ee.Muted, this.onTrackMuted), e.on(Ee.Unmuted, this.onTrackUnmuted), e.on(Ee.Ended, this.handleTrackEnded), e.on(Ee.UpstreamPaused, this.onTrackUpstreamPaused), e.on(Ee.UpstreamResumed, this.onTrackUpstreamResumed), e.on(Ee.AudioTrackFeatureUpdate, this.onTrackFeatureUpdate);
|
|
@@ -22579,7 +22580,7 @@ class cx extends j1 {
|
|
|
22579
22580
|
U.encryption === un.NONE && (this.roomOptions.dynacast || (this.roomOptions.dynacast = !0), U.simulcastCodecs.push(new Kh({
|
|
22580
22581
|
codec: t.backupCodec.codec,
|
|
22581
22582
|
cid: ""
|
|
22582
|
-
})))), L = gp(e.source === ge.Source.ScreenShare, U.width, U.height, t), U.layers =
|
|
22583
|
+
})))), L = gp(e.source === ge.Source.ScreenShare, U.width, U.height, t), U.layers = Uy(U.width, U.height, L, Ei(t.videoCodec));
|
|
22583
22584
|
} else e.kind === ge.Kind.Audio && (L = [{
|
|
22584
22585
|
maxBitrate: (p = t.audioPreset) === null || p === void 0 ? void 0 : p.maxBitrate,
|
|
22585
22586
|
priority: (C = (g = t.audioPreset) === null || g === void 0 ? void 0 : g.priority) !== null && C !== void 0 ? C : "high",
|
|
@@ -22744,7 +22745,7 @@ class cx extends j1 {
|
|
|
22744
22745
|
cid: f.mediaStreamTrack.id
|
|
22745
22746
|
}]
|
|
22746
22747
|
});
|
|
22747
|
-
if (p.layers =
|
|
22748
|
+
if (p.layers = Uy(p.width, p.height, u), !this.engine || this.engine.isClosed)
|
|
22748
22749
|
throw new ln("cannot publish track when not connected");
|
|
22749
22750
|
const g = () => j(this, void 0, void 0, function* () {
|
|
22750
22751
|
yield this.engine.createSimulcastSender(e, f, l, u), yield this.engine.negotiate();
|
|
@@ -23262,10 +23263,10 @@ class ux extends Qi {
|
|
|
23262
23263
|
let t = this.requestedVideoDimensions;
|
|
23263
23264
|
if (this.videoDimensionsAdaptiveStream !== void 0)
|
|
23264
23265
|
if (t)
|
|
23265
|
-
|
|
23266
|
+
Ty(this.videoDimensionsAdaptiveStream, t) && (this.log.debug("using adaptive stream dimensions instead of requested", Object.assign(Object.assign({}, this.logContext), this.videoDimensionsAdaptiveStream)), t = this.videoDimensionsAdaptiveStream);
|
|
23266
23267
|
else if (this.requestedMaxQuality !== void 0 && this.trackInfo) {
|
|
23267
23268
|
const r = i_(this.trackInfo, this.requestedMaxQuality);
|
|
23268
|
-
r &&
|
|
23269
|
+
r && Ty(this.videoDimensionsAdaptiveStream, r) && (this.log.debug("using adaptive stream dimensions instead of max quality layer", Object.assign(Object.assign({}, this.logContext), this.videoDimensionsAdaptiveStream)), t = this.videoDimensionsAdaptiveStream);
|
|
23269
23270
|
} else
|
|
23270
23271
|
this.log.debug("using adaptive stream dimensions", Object.assign(Object.assign({}, this.logContext), this.videoDimensionsAdaptiveStream)), t = this.videoDimensionsAdaptiveStream;
|
|
23271
23272
|
t ? (e.width = Math.ceil(t.width), e.height = Math.ceil(t.height)) : this.requestedMaxQuality !== void 0 ? (this.log.debug("using requested max quality", Object.assign(Object.assign({}, this.logContext), {
|
|
@@ -23501,10 +23502,10 @@ class $a extends Ai.EventEmitter {
|
|
|
23501
23502
|
return;
|
|
23502
23503
|
}
|
|
23503
23504
|
}
|
|
23504
|
-
L && !(!((z = this.abortController) === null || z === void 0) && z.signal.aborted) ? (this.log.info("Initial connection failed with ConnectionError: ".concat(U.message, ". Retrying with another region: ").concat(L), this.logContext), this.recreateEngine(), yield C(T, N, L)) : (this.handleDisconnect(this.options.stopLocalTrackOnUnpublish,
|
|
23505
|
+
L && !(!((z = this.abortController) === null || z === void 0) && z.signal.aborted) ? (this.log.info("Initial connection failed with ConnectionError: ".concat(U.message, ". Retrying with another region: ").concat(L), this.logContext), this.recreateEngine(), yield C(T, N, L)) : (this.handleDisconnect(this.options.stopLocalTrackOnUnpublish, Sy(U)), N(U));
|
|
23505
23506
|
} else {
|
|
23506
23507
|
let L = ci.UNKNOWN_REASON;
|
|
23507
|
-
U instanceof Ct && (L =
|
|
23508
|
+
U instanceof Ct && (L = Sy(U)), this.handleDisconnect(this.options.stopLocalTrackOnUnpublish, L), N(U);
|
|
23508
23509
|
}
|
|
23509
23510
|
}
|
|
23510
23511
|
}), _ = this.regionUrl;
|
|
@@ -24514,7 +24515,7 @@ class $a extends Ai.EventEmitter {
|
|
|
24514
24515
|
name: "video-dummy"
|
|
24515
24516
|
}), new vd(o.useRealTracks ? (yield window.navigator.mediaDevices.getUserMedia({
|
|
24516
24517
|
video: !0
|
|
24517
|
-
})).getVideoTracks()[0] :
|
|
24518
|
+
})).getVideoTracks()[0] : Cy(160 * ((t = a.aspectRatios[0]) !== null && t !== void 0 ? t : 1), 160, !0, !0), void 0, !1, {
|
|
24518
24519
|
loggerName: this.options.loggerName,
|
|
24519
24520
|
loggerContextCb: () => this.logContext
|
|
24520
24521
|
}), {
|
|
@@ -24549,7 +24550,7 @@ class $a extends Ai.EventEmitter {
|
|
|
24549
24550
|
});
|
|
24550
24551
|
const f = this.getOrCreateParticipant(u.identity, u);
|
|
24551
24552
|
if (a.video) {
|
|
24552
|
-
const p =
|
|
24553
|
+
const p = Cy(160 * ((r = a.aspectRatios[l % a.aspectRatios.length]) !== null && r !== void 0 ? r : 1), 160, !1, !0), g = new Aa({
|
|
24553
24554
|
source: nn.CAMERA,
|
|
24554
24555
|
sid: Math.floor(Math.random() * 1e4).toString(),
|
|
24555
24556
|
type: ai.AUDIO
|
|
@@ -24980,7 +24981,7 @@ class kx extends zo {
|
|
|
24980
24981
|
});
|
|
24981
24982
|
}
|
|
24982
24983
|
}
|
|
24983
|
-
class
|
|
24984
|
+
class DR extends Ai.EventEmitter {
|
|
24984
24985
|
constructor(e, t) {
|
|
24985
24986
|
let r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
24986
24987
|
super(), this.options = {}, this.checkResults = /* @__PURE__ */ new Map(), this.url = e, this.token = t, this.options = r;
|
|
@@ -25390,7 +25391,7 @@ function Ux() {
|
|
|
25390
25391
|
return n.length !== e.length || n.some((t, r) => !Object.is(t, e[r]));
|
|
25391
25392
|
}
|
|
25392
25393
|
const hc = ({ message: n }) => /* @__PURE__ */ R.jsxs("div", { className: "bg-error-secondary text-error-primary text-base p-3 rounded-inner flex items-center gap-2", children: [
|
|
25393
|
-
/* @__PURE__ */ R.jsx(
|
|
25394
|
+
/* @__PURE__ */ R.jsx(j0, { className: "w-4 h-4 flex-none" }),
|
|
25394
25395
|
/* @__PURE__ */ R.jsx("p", { className: "text-primary-80", children: n })
|
|
25395
25396
|
] }), Uu = ({
|
|
25396
25397
|
className: n,
|
|
@@ -25398,36 +25399,42 @@ const hc = ({ message: n }) => /* @__PURE__ */ R.jsxs("div", { className: "bg-er
|
|
|
25398
25399
|
}) => /* @__PURE__ */ R.jsx(
|
|
25399
25400
|
"div",
|
|
25400
25401
|
{
|
|
25401
|
-
className:
|
|
25402
|
+
className: ot(
|
|
25402
25403
|
"relative flex flex-col items-center justify-center",
|
|
25403
25404
|
n
|
|
25404
25405
|
),
|
|
25405
25406
|
children: e
|
|
25406
25407
|
}
|
|
25407
|
-
), V1 = ({
|
|
25408
|
-
|
|
25409
|
-
|
|
25410
|
-
|
|
25411
|
-
|
|
25412
|
-
|
|
25413
|
-
|
|
25414
|
-
|
|
25408
|
+
), V1 = ({
|
|
25409
|
+
className: n,
|
|
25410
|
+
modalities: e,
|
|
25411
|
+
renderedAsOverlay: t,
|
|
25412
|
+
modalityComponents: r,
|
|
25413
|
+
handler: o
|
|
25414
|
+
}) => {
|
|
25415
|
+
const a = be.useRef(null), l = e.map((u) => {
|
|
25416
|
+
const f = Object.entries(u.modalities).map(([p, g]) => {
|
|
25417
|
+
const C = r[p];
|
|
25418
|
+
return C == null ? null : { key: p, value: g, Component: C };
|
|
25419
|
+
}).filter((p) => p != null);
|
|
25420
|
+
return f.length === 0 ? null : /* @__PURE__ */ R.jsx("div", { className: "space-y-2 last:h-full", children: f.map(({ key: p, value: g, Component: C }) => /* @__PURE__ */ R.jsx(
|
|
25421
|
+
C,
|
|
25415
25422
|
{
|
|
25416
|
-
|
|
25417
|
-
data:
|
|
25418
|
-
conversationHandler:
|
|
25423
|
+
renderedAsOverlay: t,
|
|
25424
|
+
data: g,
|
|
25425
|
+
conversationHandler: o,
|
|
25419
25426
|
enabled: !0
|
|
25420
25427
|
},
|
|
25421
|
-
|
|
25422
|
-
)) },
|
|
25428
|
+
p
|
|
25429
|
+
)) }, u.timestamp);
|
|
25423
25430
|
}).filter(Boolean);
|
|
25424
25431
|
return be.useEffect(() => {
|
|
25425
|
-
const
|
|
25426
|
-
if (
|
|
25432
|
+
const u = a.current;
|
|
25433
|
+
if (u == null)
|
|
25427
25434
|
return;
|
|
25428
|
-
const
|
|
25429
|
-
|
|
25430
|
-
}, [
|
|
25435
|
+
const f = u.lastChild;
|
|
25436
|
+
f instanceof HTMLElement && f.scrollIntoView({ behavior: "smooth" });
|
|
25437
|
+
}, [l.length]), l.length === 0 ? null : /* @__PURE__ */ R.jsx("div", { className: n, ref: a, children: /* @__PURE__ */ R.jsx(B1, { fallback: /* @__PURE__ */ R.jsx(hc, { message: "Something went wrong" }), children: l }) });
|
|
25431
25438
|
}, Bx = ({
|
|
25432
25439
|
handler: n,
|
|
25433
25440
|
speakersEnabled: e,
|
|
@@ -25449,8 +25456,8 @@ const hc = ({ message: n }) => /* @__PURE__ */ R.jsxs("div", { className: "bg-er
|
|
|
25449
25456
|
handler: n,
|
|
25450
25457
|
context: a
|
|
25451
25458
|
});
|
|
25452
|
-
return p === "pending" ? /* @__PURE__ */ R.jsx(Uu, { className: o, children: /* @__PURE__ */ R.jsx(
|
|
25453
|
-
/* @__PURE__ */ R.jsx(
|
|
25459
|
+
return p === "pending" ? /* @__PURE__ */ R.jsx(Uu, { className: o, children: /* @__PURE__ */ R.jsx(Y0, {}) }) : p === "error" || p === "noAudioPermissions" ? /* @__PURE__ */ R.jsxs(Uu, { className: o, children: [
|
|
25460
|
+
/* @__PURE__ */ R.jsx(J0, {}),
|
|
25454
25461
|
/* @__PURE__ */ R.jsx("div", { className: "w-full px-3 h-20 flex items-center", children: /* @__PURE__ */ R.jsx(
|
|
25455
25462
|
Os,
|
|
25456
25463
|
{
|
|
@@ -25465,7 +25472,7 @@ const hc = ({ message: n }) => /* @__PURE__ */ R.jsxs("div", { className: "bg-er
|
|
|
25465
25472
|
] }) : p === "terminated" ? /* @__PURE__ */ R.jsx(Uu, { className: o, children: /* @__PURE__ */ R.jsxs(
|
|
25466
25473
|
"div",
|
|
25467
25474
|
{
|
|
25468
|
-
className:
|
|
25475
|
+
className: ot(
|
|
25469
25476
|
"grow flex flex-col items-center justify-center gap-6 text-primary-80"
|
|
25470
25477
|
),
|
|
25471
25478
|
children: [
|
|
@@ -25481,7 +25488,7 @@ const hc = ({ message: n }) => /* @__PURE__ */ R.jsxs("div", { className: "bg-er
|
|
|
25481
25488
|
/* @__PURE__ */ R.jsx(
|
|
25482
25489
|
"div",
|
|
25483
25490
|
{
|
|
25484
|
-
className:
|
|
25491
|
+
className: ot(
|
|
25485
25492
|
"w-[128px] h-[128px] p-4 z-10 relative rounded-full overflow-hidden bg-cover bg-center",
|
|
25486
25493
|
// This color imitates primary5 overlayed on the regular background, but it has to be solid
|
|
25487
25494
|
r != null ? "" : t === "dark" ? "bg-[rgb(40,41,47)]" : "bg-[rgb(175,175,175)]"
|
|
@@ -25496,6 +25503,7 @@ const hc = ({ message: n }) => /* @__PURE__ */ R.jsxs("div", { className: "bg-er
|
|
|
25496
25503
|
V1,
|
|
25497
25504
|
{
|
|
25498
25505
|
className: "absolute p-4 top-0 left-0 right-0 bottom-[72px] z-10 space-y-2 max-h-full overflow-auto border-b border-primary-10",
|
|
25506
|
+
renderedAsOverlay: !0,
|
|
25499
25507
|
modalities: T,
|
|
25500
25508
|
modalityComponents: l,
|
|
25501
25509
|
handler: n
|
|
@@ -25516,7 +25524,7 @@ const hc = ({ message: n }) => /* @__PURE__ */ R.jsxs("div", { className: "bg-er
|
|
|
25516
25524
|
)
|
|
25517
25525
|
] })
|
|
25518
25526
|
] });
|
|
25519
|
-
},
|
|
25527
|
+
}, Hy = ({
|
|
25520
25528
|
onClose: n,
|
|
25521
25529
|
handler: e,
|
|
25522
25530
|
reset: t,
|
|
@@ -25524,7 +25532,7 @@ const hc = ({ message: n }) => /* @__PURE__ */ R.jsxs("div", { className: "bg-er
|
|
|
25524
25532
|
}) => /* @__PURE__ */ R.jsxs(
|
|
25525
25533
|
"div",
|
|
25526
25534
|
{
|
|
25527
|
-
className:
|
|
25535
|
+
className: ot(
|
|
25528
25536
|
"p-2 md:p-3 flex flex-col grow justify-center gap-2",
|
|
25529
25537
|
r
|
|
25530
25538
|
),
|
|
@@ -25542,7 +25550,7 @@ const hc = ({ message: n }) => /* @__PURE__ */ R.jsxs("div", { className: "bg-er
|
|
|
25542
25550
|
Os,
|
|
25543
25551
|
{
|
|
25544
25552
|
label: "Talk to an agent",
|
|
25545
|
-
Icon:
|
|
25553
|
+
Icon: D0,
|
|
25546
25554
|
type: "ghost",
|
|
25547
25555
|
onClick: () => {
|
|
25548
25556
|
e.sendIntent("NLX.Escalation"), n();
|
|
@@ -25653,10 +25661,10 @@ const Yn = {
|
|
|
25653
25661
|
paragraph: $1,
|
|
25654
25662
|
table: ec,
|
|
25655
25663
|
text: $x
|
|
25656
|
-
}, $
|
|
25664
|
+
}, $y = Rt("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", wc).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Dd).getRegex(), Yx = {
|
|
25657
25665
|
...hm,
|
|
25658
|
-
table: $
|
|
25659
|
-
paragraph: Rt(um).replace("hr", wc).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", $
|
|
25666
|
+
table: $y,
|
|
25667
|
+
paragraph: Rt(um).replace("hr", wc).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", $y).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Dd).getRegex()
|
|
25660
25668
|
}, Qx = {
|
|
25661
25669
|
...hm,
|
|
25662
25670
|
html: Rt(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", fm).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),
|
|
@@ -25718,16 +25726,16 @@ const Yn = {
|
|
|
25718
25726
|
">": ">",
|
|
25719
25727
|
'"': """,
|
|
25720
25728
|
"'": "'"
|
|
25721
|
-
},
|
|
25729
|
+
}, qy = (n) => yE[n];
|
|
25722
25730
|
function _i(n, e) {
|
|
25723
25731
|
if (e) {
|
|
25724
25732
|
if (Yn.escapeTest.test(n))
|
|
25725
|
-
return n.replace(Yn.escapeReplace,
|
|
25733
|
+
return n.replace(Yn.escapeReplace, qy);
|
|
25726
25734
|
} else if (Yn.escapeTestNoEncode.test(n))
|
|
25727
|
-
return n.replace(Yn.escapeReplaceNoEncode,
|
|
25735
|
+
return n.replace(Yn.escapeReplaceNoEncode, qy);
|
|
25728
25736
|
return n;
|
|
25729
25737
|
}
|
|
25730
|
-
function
|
|
25738
|
+
function Gy(n) {
|
|
25731
25739
|
try {
|
|
25732
25740
|
n = encodeURI(n).replace(Yn.percentDecode, "%");
|
|
25733
25741
|
} catch {
|
|
@@ -25735,7 +25743,7 @@ function G0(n) {
|
|
|
25735
25743
|
}
|
|
25736
25744
|
return n;
|
|
25737
25745
|
}
|
|
25738
|
-
function
|
|
25746
|
+
function Ky(n, e) {
|
|
25739
25747
|
var a;
|
|
25740
25748
|
const t = n.replace(Yn.findPipe, (l, u, f) => {
|
|
25741
25749
|
let p = !1, g = u;
|
|
@@ -25776,7 +25784,7 @@ function bE(n, e) {
|
|
|
25776
25784
|
return r;
|
|
25777
25785
|
return -1;
|
|
25778
25786
|
}
|
|
25779
|
-
function
|
|
25787
|
+
function Jy(n, e, t, r, o) {
|
|
25780
25788
|
const a = e.href, l = e.title || null, u = n[1].replace(o.other.outputLinkReplace, "$1");
|
|
25781
25789
|
if (n[0].charAt(0) !== "!") {
|
|
25782
25790
|
r.state.inLink = !0;
|
|
@@ -26038,7 +26046,7 @@ ${C}` : C;
|
|
|
26038
26046
|
const t = this.rules.block.table.exec(e);
|
|
26039
26047
|
if (!t || !this.rules.other.tableDelimiter.test(t[2]))
|
|
26040
26048
|
return;
|
|
26041
|
-
const r =
|
|
26049
|
+
const r = Ky(t[1]), o = t[2].replace(this.rules.other.tableAlignChars, "").split("|"), a = (u = t[3]) != null && u.trim() ? t[3].replace(this.rules.other.tableRowBlankLine, "").split(`
|
|
26042
26050
|
`) : [], l = {
|
|
26043
26051
|
type: "table",
|
|
26044
26052
|
raw: t[0],
|
|
@@ -26057,7 +26065,7 @@ ${C}` : C;
|
|
|
26057
26065
|
align: l.align[f]
|
|
26058
26066
|
});
|
|
26059
26067
|
for (const f of a)
|
|
26060
|
-
l.rows.push(
|
|
26068
|
+
l.rows.push(Ky(f, l.header.length).map((p, g) => ({
|
|
26061
26069
|
text: p,
|
|
26062
26070
|
tokens: this.lexer.inline(p),
|
|
26063
26071
|
header: !1,
|
|
@@ -26144,7 +26152,7 @@ ${C}` : C;
|
|
|
26144
26152
|
l && (o = l[1], a = l[3]);
|
|
26145
26153
|
} else
|
|
26146
26154
|
a = t[3] ? t[3].slice(1, -1) : "";
|
|
26147
|
-
return o = o.trim(), this.rules.other.startAngleBracket.test(o) && (this.options.pedantic && !this.rules.other.endAngleBracket.test(r) ? o = o.slice(1) : o = o.slice(1, -1)),
|
|
26155
|
+
return o = o.trim(), this.rules.other.startAngleBracket.test(o) && (this.options.pedantic && !this.rules.other.endAngleBracket.test(r) ? o = o.slice(1) : o = o.slice(1, -1)), Jy(t, {
|
|
26148
26156
|
href: o && o.replace(this.rules.inline.anyPunctuation, "$1"),
|
|
26149
26157
|
title: a && a.replace(this.rules.inline.anyPunctuation, "$1")
|
|
26150
26158
|
}, t[0], this.lexer, this.rules);
|
|
@@ -26162,7 +26170,7 @@ ${C}` : C;
|
|
|
26162
26170
|
text: l
|
|
26163
26171
|
};
|
|
26164
26172
|
}
|
|
26165
|
-
return
|
|
26173
|
+
return Jy(r, a, r[0], this.lexer, this.rules);
|
|
26166
26174
|
}
|
|
26167
26175
|
}
|
|
26168
26176
|
emStrong(e, t, r = "") {
|
|
@@ -26658,7 +26666,7 @@ ${e}</tr>
|
|
|
26658
26666
|
return `<del>${this.parser.parseInline(e)}</del>`;
|
|
26659
26667
|
}
|
|
26660
26668
|
link({ href: e, title: t, tokens: r }) {
|
|
26661
|
-
const o = this.parser.parseInline(r), a =
|
|
26669
|
+
const o = this.parser.parseInline(r), a = Gy(e);
|
|
26662
26670
|
if (a === null)
|
|
26663
26671
|
return o;
|
|
26664
26672
|
e = a;
|
|
@@ -26666,7 +26674,7 @@ ${e}</tr>
|
|
|
26666
26674
|
return t && (l += ' title="' + _i(t) + '"'), l += ">" + o + "</a>", l;
|
|
26667
26675
|
}
|
|
26668
26676
|
image({ href: e, title: t, text: r }) {
|
|
26669
|
-
const o =
|
|
26677
|
+
const o = Gy(e);
|
|
26670
26678
|
if (o === null)
|
|
26671
26679
|
return _i(r);
|
|
26672
26680
|
e = o;
|
|
@@ -27141,7 +27149,7 @@ const CE = ({ handler: n, message: e, responseIndex: t, messageIndex: r }) => e.
|
|
|
27141
27149
|
/* @__PURE__ */ R.jsx("div", { className: "flex justify-end pl-10 text-base", children: /* @__PURE__ */ R.jsx(
|
|
27142
27150
|
"div",
|
|
27143
27151
|
{
|
|
27144
|
-
className:
|
|
27152
|
+
className: ot(
|
|
27145
27153
|
"text-primary-60 rounded-inner whitespace-pre-wrap",
|
|
27146
27154
|
e ? "bg-primary-5 p-3" : ""
|
|
27147
27155
|
),
|
|
@@ -27159,7 +27167,7 @@ const CE = ({ handler: n, message: e, responseIndex: t, messageIndex: r }) => e.
|
|
|
27159
27167
|
o
|
|
27160
27168
|
)
|
|
27161
27169
|
)) }) : null
|
|
27162
|
-
] }),
|
|
27170
|
+
] }), Yy = ({
|
|
27163
27171
|
text: n,
|
|
27164
27172
|
number: e
|
|
27165
27173
|
}) => /* @__PURE__ */ R.jsxs("span", { className: "flex items-center gap-2", children: [
|
|
@@ -27205,7 +27213,7 @@ const CE = ({ handler: n, message: e, responseIndex: t, messageIndex: r }) => e.
|
|
|
27205
27213
|
oS,
|
|
27206
27214
|
{
|
|
27207
27215
|
type: "ghost",
|
|
27208
|
-
Icon: e ?
|
|
27216
|
+
Icon: e ? I0 : M0
|
|
27209
27217
|
}
|
|
27210
27218
|
),
|
|
27211
27219
|
"Sources"
|
|
@@ -27216,13 +27224,13 @@ const CE = ({ handler: n, message: e, responseIndex: t, messageIndex: r }) => e.
|
|
|
27216
27224
|
"a",
|
|
27217
27225
|
{
|
|
27218
27226
|
href: o.presignedUrl,
|
|
27219
|
-
className:
|
|
27227
|
+
className: ot(f, "hover:bg-primary-10"),
|
|
27220
27228
|
children: [
|
|
27221
|
-
/* @__PURE__ */ R.jsx(
|
|
27222
|
-
/* @__PURE__ */ R.jsx(
|
|
27229
|
+
/* @__PURE__ */ R.jsx(Yy, { text: u, number: p }),
|
|
27230
|
+
/* @__PURE__ */ R.jsx(U0, { className: "w-4 h-4 text-primary-60" })
|
|
27223
27231
|
]
|
|
27224
27232
|
}
|
|
27225
|
-
) : /* @__PURE__ */ R.jsx("div", { className: f, children: /* @__PURE__ */ R.jsx(
|
|
27233
|
+
) : /* @__PURE__ */ R.jsx("div", { className: f, children: /* @__PURE__ */ R.jsx(Yy, { text: u, number: p }) }) }, l);
|
|
27226
27234
|
}) })
|
|
27227
27235
|
]
|
|
27228
27236
|
}
|
|
@@ -27255,21 +27263,21 @@ const CE = ({ handler: n, message: e, responseIndex: t, messageIndex: r }) => e.
|
|
|
27255
27263
|
const A = (N = _.current) == null ? void 0 : N.lastChild;
|
|
27256
27264
|
A instanceof HTMLElement && A.scrollIntoView({ behavior: "smooth" });
|
|
27257
27265
|
}
|
|
27258
|
-
}, [n.length, t]), /* @__PURE__ */ R.jsxs("div", { className:
|
|
27266
|
+
}, [n.length, t]), /* @__PURE__ */ R.jsxs("div", { className: ot("relative", g), children: [
|
|
27259
27267
|
/* @__PURE__ */ R.jsx(
|
|
27260
27268
|
"div",
|
|
27261
27269
|
{
|
|
27262
27270
|
"data-theme": e === "dark" ? "light" : "dark",
|
|
27263
|
-
className:
|
|
27271
|
+
className: ot(
|
|
27264
27272
|
"absolute inset-x-0 h-px top-0 bg-background opacity-[0.01] backdrop-blur-md"
|
|
27265
27273
|
)
|
|
27266
27274
|
}
|
|
27267
27275
|
),
|
|
27268
|
-
!t && u ? /* @__PURE__ */ R.jsx(
|
|
27276
|
+
!t && u ? /* @__PURE__ */ R.jsx(Y0, { label: "Thinking", className: "absolute inset-0" }) : null,
|
|
27269
27277
|
/* @__PURE__ */ R.jsxs(
|
|
27270
27278
|
"div",
|
|
27271
27279
|
{
|
|
27272
|
-
className:
|
|
27280
|
+
className: ot(
|
|
27273
27281
|
"absolute inset-0 p-2 md:p-3 overflow-y-auto no-scrollbar space-y-8",
|
|
27274
27282
|
!t && u ? "opacity-0" : "opacity-100"
|
|
27275
27283
|
),
|
|
@@ -27307,7 +27315,7 @@ const CE = ({ handler: n, message: e, responseIndex: t, messageIndex: r }) => e.
|
|
|
27307
27315
|
/* @__PURE__ */ R.jsxs(
|
|
27308
27316
|
"div",
|
|
27309
27317
|
{
|
|
27310
|
-
className:
|
|
27318
|
+
className: ot(
|
|
27311
27319
|
"space-y-2",
|
|
27312
27320
|
!t && H ? "min-h-full" : ""
|
|
27313
27321
|
),
|
|
@@ -27316,7 +27324,7 @@ const CE = ({ handler: n, message: e, responseIndex: t, messageIndex: r }) => e.
|
|
|
27316
27324
|
N.payload.messages.map((ee, U) => /* @__PURE__ */ R.jsx("div", { className: "text-base", children: /* @__PURE__ */ R.jsx(
|
|
27317
27325
|
"div",
|
|
27318
27326
|
{
|
|
27319
|
-
className:
|
|
27327
|
+
className: ot(
|
|
27320
27328
|
"space-y-6 markdown",
|
|
27321
27329
|
a ? "p-3 w-fit bg-secondary-40 mr-10 rounded-inner" : ""
|
|
27322
27330
|
),
|
|
@@ -27402,7 +27410,7 @@ var EE = be.useLayoutEffect, PE = function(e) {
|
|
|
27402
27410
|
return EE(function() {
|
|
27403
27411
|
t.current = e;
|
|
27404
27412
|
}), t;
|
|
27405
|
-
},
|
|
27413
|
+
}, Qy = function(e, t) {
|
|
27406
27414
|
if (typeof e == "function") {
|
|
27407
27415
|
e(t);
|
|
27408
27416
|
return;
|
|
@@ -27411,9 +27419,9 @@ var EE = be.useLayoutEffect, PE = function(e) {
|
|
|
27411
27419
|
}, RE = function(e, t) {
|
|
27412
27420
|
var r = Ms.useRef();
|
|
27413
27421
|
return Ms.useCallback(function(o) {
|
|
27414
|
-
e.current = o, r.current &&
|
|
27422
|
+
e.current = o, r.current && Qy(r.current, null), r.current = t, t && Qy(t, o);
|
|
27415
27423
|
}, [t]);
|
|
27416
|
-
},
|
|
27424
|
+
}, Xy = {
|
|
27417
27425
|
"min-height": "0",
|
|
27418
27426
|
"max-height": "none",
|
|
27419
27427
|
height: "0",
|
|
@@ -27425,28 +27433,28 @@ var EE = be.useLayoutEffect, PE = function(e) {
|
|
|
27425
27433
|
right: "0",
|
|
27426
27434
|
display: "block"
|
|
27427
27435
|
}, IE = function(e) {
|
|
27428
|
-
Object.keys(
|
|
27429
|
-
e.style.setProperty(t,
|
|
27436
|
+
Object.keys(Xy).forEach(function(t) {
|
|
27437
|
+
e.style.setProperty(t, Xy[t], "important");
|
|
27430
27438
|
});
|
|
27431
|
-
},
|
|
27439
|
+
}, Zy = IE, $n = null, e0 = function(e, t) {
|
|
27432
27440
|
var r = e.scrollHeight;
|
|
27433
27441
|
return t.sizingStyle.boxSizing === "border-box" ? r + t.borderSize : r - t.paddingSize;
|
|
27434
27442
|
};
|
|
27435
27443
|
function ME(n, e, t, r) {
|
|
27436
|
-
t === void 0 && (t = 1), r === void 0 && (r = 1 / 0), $n || ($n = document.createElement("textarea"), $n.setAttribute("tabindex", "-1"), $n.setAttribute("aria-hidden", "true"),
|
|
27444
|
+
t === void 0 && (t = 1), r === void 0 && (r = 1 / 0), $n || ($n = document.createElement("textarea"), $n.setAttribute("tabindex", "-1"), $n.setAttribute("aria-hidden", "true"), Zy($n)), $n.parentNode === null && document.body.appendChild($n);
|
|
27437
27445
|
var o = n.paddingSize, a = n.borderSize, l = n.sizingStyle, u = l.boxSizing;
|
|
27438
27446
|
Object.keys(l).forEach(function(_) {
|
|
27439
27447
|
var T = _;
|
|
27440
27448
|
$n.style[T] = l[T];
|
|
27441
|
-
}),
|
|
27442
|
-
var f =
|
|
27443
|
-
$n.value = e, f =
|
|
27449
|
+
}), Zy($n), $n.value = e;
|
|
27450
|
+
var f = e0($n, n);
|
|
27451
|
+
$n.value = e, f = e0($n, n), $n.value = "x";
|
|
27444
27452
|
var p = $n.scrollHeight - o, g = p * t;
|
|
27445
27453
|
u === "border-box" && (g = g + o + a), f = Math.max(g, f);
|
|
27446
27454
|
var C = p * r;
|
|
27447
27455
|
return u === "border-box" && (C = C + o + a), f = Math.min(C, f), [f, p];
|
|
27448
27456
|
}
|
|
27449
|
-
var
|
|
27457
|
+
var t0 = function() {
|
|
27450
27458
|
}, AE = function(e, t) {
|
|
27451
27459
|
return e.reduce(function(r, o) {
|
|
27452
27460
|
return r[o] = t[o], r;
|
|
@@ -27509,7 +27517,7 @@ var jE = function(e) {
|
|
|
27509
27517
|
}, FE = function(e) {
|
|
27510
27518
|
Q1(document.fonts, "loadingdone", e);
|
|
27511
27519
|
}, UE = ["cacheMeasurements", "maxRows", "minRows", "onChange", "onHeightChange"], BE = function(e, t) {
|
|
27512
|
-
var r = e.cacheMeasurements, o = e.maxRows, a = e.minRows, l = e.onChange, u = l === void 0 ?
|
|
27520
|
+
var r = e.cacheMeasurements, o = e.maxRows, a = e.minRows, l = e.onChange, u = l === void 0 ? t0 : l, f = e.onHeightChange, p = f === void 0 ? t0 : f, g = xE(e, UE), C = g.value !== void 0, _ = be.useRef(null), T = RE(_, t), N = be.useRef(0), A = be.useRef(), H = function() {
|
|
27513
27521
|
var U = _.current, L = r && A.current ? A.current : NE(U);
|
|
27514
27522
|
if (L) {
|
|
27515
27523
|
A.current = L;
|
|
@@ -27526,7 +27534,7 @@ var jE = function(e) {
|
|
|
27526
27534
|
ref: T
|
|
27527
27535
|
}));
|
|
27528
27536
|
}, VE = /* @__PURE__ */ be.forwardRef(BE);
|
|
27529
|
-
const
|
|
27537
|
+
const n0 = 8, zE = ({
|
|
27530
27538
|
className: n,
|
|
27531
27539
|
handler: e,
|
|
27532
27540
|
uploadUrl: t,
|
|
@@ -27537,7 +27545,7 @@ const ny = 8, zE = ({
|
|
|
27537
27545
|
null
|
|
27538
27546
|
), [C, _] = be.useState(
|
|
27539
27547
|
null
|
|
27540
|
-
), T = be.useRef(null), N = be.useRef(null), A =
|
|
27548
|
+
), T = be.useRef(null), N = be.useRef(null), A = K0("md");
|
|
27541
27549
|
be.useEffect(() => {
|
|
27542
27550
|
var Q;
|
|
27543
27551
|
A && ((Q = N.current) == null || Q.focus());
|
|
@@ -27569,9 +27577,9 @@ const ny = 8, zE = ({
|
|
|
27569
27577
|
return;
|
|
27570
27578
|
}
|
|
27571
27579
|
const { name: q, size: Y, type: fe } = $;
|
|
27572
|
-
if (_({ name: q, size: Y, type: fe }), Y / 1024 ** 2 >
|
|
27580
|
+
if (_({ name: q, size: Y, type: fe }), Y / 1024 ** 2 > n0) {
|
|
27573
27581
|
g(
|
|
27574
|
-
`The file is too big. Max file size: ${
|
|
27582
|
+
`The file is too big. Max file size: ${n0}mb`
|
|
27575
27583
|
);
|
|
27576
27584
|
return;
|
|
27577
27585
|
}
|
|
@@ -27588,10 +27596,10 @@ const ny = 8, zE = ({
|
|
|
27588
27596
|
G();
|
|
27589
27597
|
});
|
|
27590
27598
|
};
|
|
27591
|
-
return /* @__PURE__ */ R.jsx("div", { className:
|
|
27599
|
+
return /* @__PURE__ */ R.jsx("div", { className: ot("relative", n), children: /* @__PURE__ */ R.jsxs(
|
|
27592
27600
|
"div",
|
|
27593
27601
|
{
|
|
27594
|
-
className:
|
|
27602
|
+
className: ot(
|
|
27595
27603
|
"bg-primary-5 transition-colors duration-200 p-2 rounded-outer text-base font-normal",
|
|
27596
27604
|
a ? "" : "hover:bg-secondary-20"
|
|
27597
27605
|
),
|
|
@@ -27603,14 +27611,14 @@ const ny = 8, zE = ({
|
|
|
27603
27611
|
C && /* @__PURE__ */ R.jsxs(R.Fragment, { children: [
|
|
27604
27612
|
/* @__PURE__ */ R.jsxs("div", { className: "flex items-center justify-between mb-2 w-full", children: [
|
|
27605
27613
|
/* @__PURE__ */ R.jsxs("p", { className: "flex items-center truncate mx-2", children: [
|
|
27606
|
-
p != null ? /* @__PURE__ */ R.jsx(Wh, { size: 16, className: "text-error-primary" }) : /* @__PURE__ */ R.jsx(
|
|
27614
|
+
p != null ? /* @__PURE__ */ R.jsx(Wh, { size: 16, className: "text-error-primary" }) : /* @__PURE__ */ R.jsx(A0, { size: 16, className: "text-primary-60" }),
|
|
27607
27615
|
/* @__PURE__ */ R.jsx("span", { className: "truncate ml-3", children: C.name })
|
|
27608
27616
|
] }),
|
|
27609
27617
|
/* @__PURE__ */ R.jsx(
|
|
27610
27618
|
xn,
|
|
27611
27619
|
{
|
|
27612
27620
|
className: "flex-none",
|
|
27613
|
-
Icon:
|
|
27621
|
+
Icon: L0,
|
|
27614
27622
|
label: "Delete",
|
|
27615
27623
|
onClick: F ? () => {
|
|
27616
27624
|
_(null), g(null), T.current != null && (T.current.value = "");
|
|
@@ -27621,7 +27629,7 @@ const ny = 8, zE = ({
|
|
|
27621
27629
|
] }),
|
|
27622
27630
|
/* @__PURE__ */ R.jsx("hr", { className: "border-b-px border-background mb-2 -mx-2" })
|
|
27623
27631
|
] }),
|
|
27624
|
-
/* @__PURE__ */ R.jsxs("div", { className:
|
|
27632
|
+
/* @__PURE__ */ R.jsxs("div", { className: ot("flex items-end gap-1"), children: [
|
|
27625
27633
|
F && C == null ? /* @__PURE__ */ R.jsxs(R.Fragment, { children: [
|
|
27626
27634
|
/* @__PURE__ */ R.jsx(
|
|
27627
27635
|
"label",
|
|
@@ -27658,7 +27666,7 @@ const ny = 8, zE = ({
|
|
|
27658
27666
|
VE,
|
|
27659
27667
|
{
|
|
27660
27668
|
disabled: z || !o,
|
|
27661
|
-
className:
|
|
27669
|
+
className: ot(
|
|
27662
27670
|
"h-10 w-full resize-none mr-2 px-2 py-2 outline-hidden",
|
|
27663
27671
|
"bg-transparent text-primary-80 placeholder:text-primary-40 caret-accent",
|
|
27664
27672
|
"disabled:text-primary-40"
|
|
@@ -27727,70 +27735,41 @@ const ny = 8, zE = ({
|
|
|
27727
27735
|
fontFamily: '"Neue Haas Grotesk", sans-serif',
|
|
27728
27736
|
innerBorderRadius: "12px",
|
|
27729
27737
|
outerBorderRadius: "20px",
|
|
27730
|
-
primary80: "rgba(0, 2, 9, 0.8)",
|
|
27731
|
-
primary60: "rgba(0, 2, 9, 0.6)",
|
|
27732
|
-
primary40: "rgba(0, 2, 9, 0.4)",
|
|
27733
|
-
primary20: "rgba(0, 2, 9, 0.2)",
|
|
27734
|
-
primary10: "rgba(0, 2, 9, 0.1)",
|
|
27735
|
-
primary5: "rgba(0, 2, 9, 0.05)",
|
|
27736
|
-
primary1: "rgba(0, 2, 9, 0.01)",
|
|
27737
|
-
secondary80: "rgba(255, 255, 255, 0.85)",
|
|
27738
|
-
secondary60: "rgba(255, 255, 255, 0.65)",
|
|
27739
|
-
secondary40: "rgba(255, 255, 255, 0.45)",
|
|
27740
|
-
secondary20: "rgba(255, 255, 255, 0.25)",
|
|
27741
|
-
secondary10: "rgba(255, 255, 255, 0.15)",
|
|
27742
|
-
secondary5: "rgba(255, 255, 255, 0.08)",
|
|
27743
|
-
secondary1: "rgba(255, 255, 255, 0.01)",
|
|
27744
|
-
accent: "rgb(28, 99, 218)",
|
|
27745
|
-
accent20: "rgba(28, 99, 218, 0.2)",
|
|
27746
|
-
background: "rgba(220, 220, 220, 0.9)",
|
|
27738
|
+
primary80: "light-dark(rgba(0, 2, 9, 0.8), rgba(255, 255, 255, 0.85))",
|
|
27739
|
+
primary60: "light-dark(rgba(0, 2, 9, 0.6), rgba(255, 255, 255, 0.65))",
|
|
27740
|
+
primary40: "light-dark(rgba(0, 2, 9, 0.4), rgba(255, 255, 255, 0.45))",
|
|
27741
|
+
primary20: "light-dark(rgba(0, 2, 9, 0.2), rgba(255, 255, 255, 0.25))",
|
|
27742
|
+
primary10: "light-dark(rgba(0, 2, 9, 0.1), rgba(255, 255, 255, 0.15))",
|
|
27743
|
+
primary5: "light-dark(rgba(0, 2, 9, 0.05), rgba(255, 255, 255, 0.08))",
|
|
27744
|
+
primary1: "light-dark(rgba(0, 2, 9, 0.01), rgba(255, 255, 255, 0.01))",
|
|
27745
|
+
secondary80: "light-dark(rgba(255, 255, 255, 0.85), rgba(0, 2, 9, 0.8))",
|
|
27746
|
+
secondary60: "light-dark(rgba(255, 255, 255, 0.65), rgba(0, 2, 9, 0.6))",
|
|
27747
|
+
secondary40: "light-dark(rgba(255, 255, 255, 0.45), rgba(0, 2, 9, 0.4))",
|
|
27748
|
+
secondary20: "light-dark(rgba(255, 255, 255, 0.25), rgba(0, 2, 9, 0.2))",
|
|
27749
|
+
secondary10: "light-dark(rgba(255, 255, 255, 0.15), rgba(0, 2, 9, 0.1))",
|
|
27750
|
+
secondary5: "light-dark(rgba(255, 255, 255, 0.08), rgba(0, 2, 9, 0.05))",
|
|
27751
|
+
secondary1: "light-dark(rgba(255, 255, 255, 0.01), rgba(0, 2, 9, 0.01))",
|
|
27752
|
+
accent: "light-dark(rgb(28, 99, 218), rgb(174, 202, 255))",
|
|
27753
|
+
accent20: "light-dark(rgba(28, 99, 218, 0.2), rgba(174, 202, 255, 0.25))",
|
|
27754
|
+
background: "light-dark(rgba(220, 220, 220, 0.9), rgba(0, 2, 9, 0.9))",
|
|
27747
27755
|
overlay: "rgba(0, 2, 9, 0.4)",
|
|
27748
|
-
warningPrimary: "rgb(220, 159, 3)",
|
|
27749
|
-
warningSecondary: "rgb(255, 242, 209)",
|
|
27750
|
-
errorPrimary: "rgb(157, 3, 3)",
|
|
27751
|
-
errorSecondary: "rgb(255, 223, 230)"
|
|
27752
|
-
}, $E = {
|
|
27753
|
-
|
|
27754
|
-
|
|
27755
|
-
|
|
27756
|
-
primary80: "rgba(255, 255, 255, 0.85)",
|
|
27757
|
-
primary60: "rgba(255, 255, 255, 0.65)",
|
|
27758
|
-
primary40: "rgba(255, 255, 255, 0.45)",
|
|
27759
|
-
primary20: "rgba(255, 255, 255, 0.25)",
|
|
27760
|
-
primary10: "rgba(255, 255, 255, 0.15)",
|
|
27761
|
-
primary5: "rgba(255, 255, 255, 0.08)",
|
|
27762
|
-
primary1: "rgba(255, 255, 255, 0.01)",
|
|
27763
|
-
secondary80: "rgba(0, 2, 9, 0.8)",
|
|
27764
|
-
secondary60: "rgba(0, 2, 9, 0.6)",
|
|
27765
|
-
secondary40: "rgba(0, 2, 9, 0.4)",
|
|
27766
|
-
secondary20: "rgba(0, 2, 9, 0.2)",
|
|
27767
|
-
secondary10: "rgba(0, 2, 9, 0.1)",
|
|
27768
|
-
secondary5: "rgba(0, 2, 9, 0.05)",
|
|
27769
|
-
secondary1: "rgba(0, 2, 9, 0.01)",
|
|
27770
|
-
accent: "rgb(174, 202, 255)",
|
|
27771
|
-
accent20: "rgba(174, 202, 255, 0.25)",
|
|
27772
|
-
background: "rgba(0, 2, 9, 0.9)",
|
|
27773
|
-
overlay: "rgba(0, 2, 9, 0.4)",
|
|
27774
|
-
warningPrimary: "rgb(255, 214, 108)",
|
|
27775
|
-
warningSecondary: "rgb(95, 65, 29)",
|
|
27776
|
-
errorPrimary: "rgb(255, 133, 162)",
|
|
27777
|
-
errorSecondary: "rgb(94, 4, 4)"
|
|
27778
|
-
}, qE = (n, e) => {
|
|
27779
|
-
const t = {};
|
|
27780
|
-
return n.accent != null && n.accent20 == null && (t.accent20 = `color-mix(in srgb, ${n.accent} 20%, transparent)`), n.primary80 != null && (n.primary60 == null && (t.primary60 = `rgb(from ${n.primary80} r g b / 0.6)`), n.primary40 == null && (t.primary40 = `rgb(from ${n.primary80} r g b / 0.4)`), n.primary20 == null && (t.primary20 = `rgb(from ${n.primary80} r g b / 0.2)`), n.primary10 == null && (t.primary10 = `rgb(from ${n.primary80} r g b / 0.1)`), n.primary5 == null && (t.primary5 = `rgb(from ${n.primary80} r g b / 0.05)`), n.primary1 == null && (t.primary1 = `rgb(from ${n.primary80} r g b / 0.01)`)), n.secondary80 != null && (n.secondary60 == null && (t.secondary60 = `rgb(from ${n.secondary80} r g b / 0.6)`), n.secondary40 == null && (t.secondary40 = `rgb(from ${n.secondary80} r g b / 0.4)`), n.secondary20 == null && (t.secondary20 = `rgb(from ${n.secondary80} r g b / 0.2)`), n.secondary10 == null && (t.secondary10 = `rgb(from ${n.secondary80} r g b / 0.1)`), n.secondary5 == null && (t.secondary5 = `rgb(from ${n.secondary80} r g b / 0.05)`), n.secondary1 == null && (t.secondary1 = `rgb(from ${n.secondary80} r g b / 0.01)`)), {
|
|
27756
|
+
warningPrimary: "light-dark(rgb(220, 159, 3), rgb(255, 214, 108))",
|
|
27757
|
+
warningSecondary: "light-dark(rgb(255, 242, 209), rgb(95, 65, 29))",
|
|
27758
|
+
errorPrimary: "light-dark(rgb(157, 3, 3), rgb(255, 133, 162))",
|
|
27759
|
+
errorSecondary: "light-dark(rgb(255, 223, 230), rgb(94, 4, 4))"
|
|
27760
|
+
}, $E = (n) => {
|
|
27761
|
+
const e = {};
|
|
27762
|
+
return n.accent != null && n.accent20 == null && (e.accent20 = `color-mix(in srgb, ${n.accent} 20%, transparent)`), n.primary80 != null && (n.primary60 == null && (e.primary60 = `rgb(from ${n.primary80} r g b / 0.6)`), n.primary40 == null && (e.primary40 = `rgb(from ${n.primary80} r g b / 0.4)`), n.primary20 == null && (e.primary20 = `rgb(from ${n.primary80} r g b / 0.2)`), n.primary10 == null && (e.primary10 = `rgb(from ${n.primary80} r g b / 0.1)`), n.primary5 == null && (e.primary5 = `rgb(from ${n.primary80} r g b / 0.05)`), n.primary1 == null && (e.primary1 = `rgb(from ${n.primary80} r g b / 0.01)`)), n.secondary80 != null && (n.secondary60 == null && (e.secondary60 = `rgb(from ${n.secondary80} r g b / 0.6)`), n.secondary40 == null && (e.secondary40 = `rgb(from ${n.secondary80} r g b / 0.4)`), n.secondary20 == null && (e.secondary20 = `rgb(from ${n.secondary80} r g b / 0.2)`), n.secondary10 == null && (e.secondary10 = `rgb(from ${n.secondary80} r g b / 0.1)`), n.secondary5 == null && (e.secondary5 = `rgb(from ${n.secondary80} r g b / 0.05)`), n.secondary1 == null && (e.secondary1 = `rgb(from ${n.secondary80} r g b / 0.01)`)), {
|
|
27763
|
+
...HE,
|
|
27781
27764
|
...e,
|
|
27782
|
-
...t,
|
|
27783
27765
|
...n
|
|
27784
27766
|
};
|
|
27785
27767
|
}, nd = ({ colorMode: n, children: e, theme: t, className: r }) => {
|
|
27786
|
-
const o =
|
|
27787
|
-
t ?? {},
|
|
27788
|
-
n === "dark" ? $E : HE
|
|
27789
|
-
);
|
|
27768
|
+
const o = $E(t ?? {});
|
|
27790
27769
|
return /* @__PURE__ */ R.jsx(
|
|
27791
27770
|
"div",
|
|
27792
27771
|
{
|
|
27793
|
-
className:
|
|
27772
|
+
className: ot(r, "font-sans"),
|
|
27794
27773
|
style: {
|
|
27795
27774
|
...WE(o),
|
|
27796
27775
|
colorScheme: n
|
|
@@ -27798,22 +27777,22 @@ const ny = 8, zE = ({
|
|
|
27798
27777
|
children: e
|
|
27799
27778
|
}
|
|
27800
27779
|
);
|
|
27801
|
-
}, X1 = "bg-background backdrop-blur-sm text-primary-80 rounded-outer p-2 w-[calc(100vw-16px)] max-w-[360px] space-y-4",
|
|
27780
|
+
}, X1 = "bg-background backdrop-blur-sm text-primary-80 rounded-outer p-2 w-[calc(100vw-16px)] max-w-[360px] space-y-4", r0 = ({ children: n, renderCollapse: e, onClose: t }) => /* @__PURE__ */ R.jsxs("div", { className: X1, children: [
|
|
27802
27781
|
e && /* @__PURE__ */ R.jsx("div", { className: "flex items-center justify-end", children: /* @__PURE__ */ R.jsx(xn, { onClick: t, Icon: oc, type: "ghost", label: "Close" }) }),
|
|
27803
27782
|
n
|
|
27804
|
-
] }),
|
|
27783
|
+
] }), i0 = ({
|
|
27805
27784
|
children: n,
|
|
27806
27785
|
className: e
|
|
27807
27786
|
}) => /* @__PURE__ */ R.jsx(
|
|
27808
27787
|
"div",
|
|
27809
27788
|
{
|
|
27810
|
-
className:
|
|
27789
|
+
className: ot(
|
|
27811
27790
|
"bg-background rounded-outer p-2 w-fit flex items-center gap-2",
|
|
27812
27791
|
e
|
|
27813
27792
|
),
|
|
27814
27793
|
children: n
|
|
27815
27794
|
}
|
|
27816
|
-
),
|
|
27795
|
+
), qE = ({
|
|
27817
27796
|
handler: n,
|
|
27818
27797
|
context: e,
|
|
27819
27798
|
onClose: t,
|
|
@@ -27836,7 +27815,7 @@ const ny = 8, zE = ({
|
|
|
27836
27815
|
context: e
|
|
27837
27816
|
});
|
|
27838
27817
|
if (C === "error")
|
|
27839
|
-
return /* @__PURE__ */ R.jsxs(
|
|
27818
|
+
return /* @__PURE__ */ R.jsxs(r0, { renderCollapse: o, onClose: g, children: [
|
|
27840
27819
|
/* @__PURE__ */ R.jsx(hc, { message: "I couldn’t connect" }),
|
|
27841
27820
|
/* @__PURE__ */ R.jsx(
|
|
27842
27821
|
Os,
|
|
@@ -27851,7 +27830,7 @@ const ny = 8, zE = ({
|
|
|
27851
27830
|
)
|
|
27852
27831
|
] });
|
|
27853
27832
|
if (C === "noAudioPermissions")
|
|
27854
|
-
return /* @__PURE__ */ R.jsxs(
|
|
27833
|
+
return /* @__PURE__ */ R.jsxs(r0, { renderCollapse: o, onClose: g, children: [
|
|
27855
27834
|
/* @__PURE__ */ R.jsx(hc, { message: "Connect your microphone and speaker" }),
|
|
27856
27835
|
/* @__PURE__ */ R.jsx(
|
|
27857
27836
|
Os,
|
|
@@ -27873,7 +27852,7 @@ const ny = 8, zE = ({
|
|
|
27873
27852
|
role: "presentation"
|
|
27874
27853
|
}
|
|
27875
27854
|
) : null;
|
|
27876
|
-
return C === "pending" ? /* @__PURE__ */ R.jsxs(
|
|
27855
|
+
return C === "pending" ? /* @__PURE__ */ R.jsxs(i0, { className: "relative", children: [
|
|
27877
27856
|
H,
|
|
27878
27857
|
/* @__PURE__ */ R.jsx(
|
|
27879
27858
|
xn,
|
|
@@ -27903,7 +27882,7 @@ const ny = 8, zE = ({
|
|
|
27903
27882
|
}
|
|
27904
27883
|
),
|
|
27905
27884
|
/* @__PURE__ */ R.jsx("span", { className: "w-6 h-6 block text-accent absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2", children: /* @__PURE__ */ R.jsx(jp, {}) })
|
|
27906
|
-
] }) : /* @__PURE__ */ R.jsxs(
|
|
27885
|
+
] }) : /* @__PURE__ */ R.jsxs(i0, { children: [
|
|
27907
27886
|
H,
|
|
27908
27887
|
/* @__PURE__ */ R.jsxs("div", { className: "w-fit relative", children: [
|
|
27909
27888
|
_ ? /* @__PURE__ */ R.jsx(ac, { className: "rounded-inner" }) : null,
|
|
@@ -27947,10 +27926,11 @@ const ny = 8, zE = ({
|
|
|
27947
27926
|
/* @__PURE__ */ R.jsx(
|
|
27948
27927
|
V1,
|
|
27949
27928
|
{
|
|
27950
|
-
className:
|
|
27929
|
+
className: ot(
|
|
27951
27930
|
X1,
|
|
27952
27931
|
"absolute right-0 -top-2 transform translate-x-0 -translate-y-full max-h-[360px] overflow-auto"
|
|
27953
27932
|
),
|
|
27933
|
+
renderedAsOverlay: !1,
|
|
27954
27934
|
modalities: A,
|
|
27955
27935
|
modalityComponents: r,
|
|
27956
27936
|
handler: n
|
|
@@ -27958,24 +27938,24 @@ const ny = 8, zE = ({
|
|
|
27958
27938
|
)
|
|
27959
27939
|
] });
|
|
27960
27940
|
};
|
|
27961
|
-
var
|
|
27962
|
-
function
|
|
27963
|
-
return typeof n == "function" ||
|
|
27941
|
+
var GE = Object.prototype.toString;
|
|
27942
|
+
function KE(n) {
|
|
27943
|
+
return typeof n == "function" || GE.call(n) === "[object Function]";
|
|
27964
27944
|
}
|
|
27965
|
-
function
|
|
27945
|
+
function JE(n) {
|
|
27966
27946
|
var e = Number(n);
|
|
27967
27947
|
return isNaN(e) ? 0 : e === 0 || !isFinite(e) ? e : (e > 0 ? 1 : -1) * Math.floor(Math.abs(e));
|
|
27968
27948
|
}
|
|
27969
|
-
var
|
|
27970
|
-
function
|
|
27971
|
-
var e =
|
|
27972
|
-
return Math.min(Math.max(e, 0),
|
|
27949
|
+
var YE = Math.pow(2, 53) - 1;
|
|
27950
|
+
function QE(n) {
|
|
27951
|
+
var e = JE(n);
|
|
27952
|
+
return Math.min(Math.max(e, 0), YE);
|
|
27973
27953
|
}
|
|
27974
27954
|
function si(n, e) {
|
|
27975
27955
|
var t = Array, r = Object(n);
|
|
27976
27956
|
if (n == null)
|
|
27977
27957
|
throw new TypeError("Array.from requires an array-like object - not null or undefined");
|
|
27978
|
-
for (var o =
|
|
27958
|
+
for (var o = QE(r.length), a = KE(t) ? Object(new t(o)) : new Array(o), l = 0, u; l < o; )
|
|
27979
27959
|
u = r[l], a[l] = u, l += 1;
|
|
27980
27960
|
return a.length = o, a;
|
|
27981
27961
|
}
|
|
@@ -27987,27 +27967,27 @@ function pc(n) {
|
|
|
27987
27967
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
27988
27968
|
}, pc(n);
|
|
27989
27969
|
}
|
|
27990
|
-
function
|
|
27970
|
+
function XE(n, e) {
|
|
27991
27971
|
if (!(n instanceof e))
|
|
27992
27972
|
throw new TypeError("Cannot call a class as a function");
|
|
27993
27973
|
}
|
|
27994
|
-
function
|
|
27974
|
+
function ZE(n, e) {
|
|
27995
27975
|
for (var t = 0; t < e.length; t++) {
|
|
27996
27976
|
var r = e[t];
|
|
27997
27977
|
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(n, Z1(r.key), r);
|
|
27998
27978
|
}
|
|
27999
27979
|
}
|
|
28000
|
-
function
|
|
28001
|
-
return e &&
|
|
27980
|
+
function eP(n, e, t) {
|
|
27981
|
+
return e && ZE(n.prototype, e), Object.defineProperty(n, "prototype", { writable: !1 }), n;
|
|
28002
27982
|
}
|
|
28003
|
-
function
|
|
27983
|
+
function tP(n, e, t) {
|
|
28004
27984
|
return e = Z1(e), e in n ? Object.defineProperty(n, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : n[e] = t, n;
|
|
28005
27985
|
}
|
|
28006
27986
|
function Z1(n) {
|
|
28007
|
-
var e =
|
|
27987
|
+
var e = nP(n, "string");
|
|
28008
27988
|
return pc(e) == "symbol" ? e : e + "";
|
|
28009
27989
|
}
|
|
28010
|
-
function
|
|
27990
|
+
function nP(n, e) {
|
|
28011
27991
|
if (pc(n) != "object" || !n) return n;
|
|
28012
27992
|
var t = n[Symbol.toPrimitive];
|
|
28013
27993
|
if (t !== void 0) {
|
|
@@ -28017,12 +27997,12 @@ function rP(n, e) {
|
|
|
28017
27997
|
}
|
|
28018
27998
|
return String(n);
|
|
28019
27999
|
}
|
|
28020
|
-
var
|
|
28000
|
+
var rP = /* @__PURE__ */ function() {
|
|
28021
28001
|
function n() {
|
|
28022
28002
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [];
|
|
28023
|
-
|
|
28003
|
+
XE(this, n), tP(this, "items", void 0), this.items = e;
|
|
28024
28004
|
}
|
|
28025
|
-
return
|
|
28005
|
+
return eP(n, [{
|
|
28026
28006
|
key: "add",
|
|
28027
28007
|
value: function(t) {
|
|
28028
28008
|
return this.has(t) === !1 && this.items.push(t), this;
|
|
@@ -28060,7 +28040,7 @@ var iP = /* @__PURE__ */ function() {
|
|
|
28060
28040
|
}
|
|
28061
28041
|
}]);
|
|
28062
28042
|
}();
|
|
28063
|
-
const
|
|
28043
|
+
const iP = typeof Set > "u" ? Set : rP;
|
|
28064
28044
|
function Fn(n) {
|
|
28065
28045
|
var e;
|
|
28066
28046
|
return (
|
|
@@ -28071,7 +28051,7 @@ function Fn(n) {
|
|
|
28071
28051
|
)
|
|
28072
28052
|
);
|
|
28073
28053
|
}
|
|
28074
|
-
var
|
|
28054
|
+
var oP = {
|
|
28075
28055
|
article: "article",
|
|
28076
28056
|
aside: "complementary",
|
|
28077
28057
|
button: "button",
|
|
@@ -28119,7 +28099,7 @@ var sP = {
|
|
|
28119
28099
|
thead: "rowgroup",
|
|
28120
28100
|
tr: "row",
|
|
28121
28101
|
ul: "list"
|
|
28122
|
-
},
|
|
28102
|
+
}, sP = {
|
|
28123
28103
|
caption: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
|
|
28124
28104
|
code: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
|
|
28125
28105
|
deletion: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
|
|
@@ -28133,7 +28113,7 @@ var sP = {
|
|
|
28133
28113
|
subscript: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
|
|
28134
28114
|
superscript: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"])
|
|
28135
28115
|
};
|
|
28136
|
-
function
|
|
28116
|
+
function aP(n, e) {
|
|
28137
28117
|
return [
|
|
28138
28118
|
"aria-atomic",
|
|
28139
28119
|
"aria-busy",
|
|
@@ -28159,23 +28139,23 @@ function lP(n, e) {
|
|
|
28159
28139
|
"aria-roledescription"
|
|
28160
28140
|
].some(function(t) {
|
|
28161
28141
|
var r;
|
|
28162
|
-
return n.hasAttribute(t) && !((r =
|
|
28142
|
+
return n.hasAttribute(t) && !((r = sP[e]) !== null && r !== void 0 && r.has(t));
|
|
28163
28143
|
});
|
|
28164
28144
|
}
|
|
28165
28145
|
function ek(n, e) {
|
|
28166
|
-
return
|
|
28146
|
+
return aP(n, e);
|
|
28167
28147
|
}
|
|
28168
|
-
function
|
|
28169
|
-
var e =
|
|
28148
|
+
function lP(n) {
|
|
28149
|
+
var e = uP(n);
|
|
28170
28150
|
if (e === null || wp.indexOf(e) !== -1) {
|
|
28171
|
-
var t =
|
|
28151
|
+
var t = cP(n);
|
|
28172
28152
|
if (wp.indexOf(e || "") === -1 || ek(n, t || ""))
|
|
28173
28153
|
return t;
|
|
28174
28154
|
}
|
|
28175
28155
|
return e;
|
|
28176
28156
|
}
|
|
28177
|
-
function
|
|
28178
|
-
var e =
|
|
28157
|
+
function cP(n) {
|
|
28158
|
+
var e = oP[Fn(n)];
|
|
28179
28159
|
if (e !== void 0)
|
|
28180
28160
|
return e;
|
|
28181
28161
|
switch (Fn(n)) {
|
|
@@ -28218,7 +28198,7 @@ function uP(n) {
|
|
|
28218
28198
|
}
|
|
28219
28199
|
return null;
|
|
28220
28200
|
}
|
|
28221
|
-
function
|
|
28201
|
+
function uP(n) {
|
|
28222
28202
|
var e = n.getAttribute("role");
|
|
28223
28203
|
if (e !== null) {
|
|
28224
28204
|
var t = e.trim().split(" ")[0];
|
|
@@ -28237,41 +28217,41 @@ function tk(n) {
|
|
|
28237
28217
|
function rd(n) {
|
|
28238
28218
|
return jt(n) && Fn(n) === "input";
|
|
28239
28219
|
}
|
|
28240
|
-
function
|
|
28220
|
+
function dP(n) {
|
|
28241
28221
|
return jt(n) && Fn(n) === "optgroup";
|
|
28242
28222
|
}
|
|
28243
|
-
function
|
|
28223
|
+
function fP(n) {
|
|
28244
28224
|
return jt(n) && Fn(n) === "select";
|
|
28245
28225
|
}
|
|
28246
|
-
function
|
|
28226
|
+
function hP(n) {
|
|
28247
28227
|
return jt(n) && Fn(n) === "table";
|
|
28248
28228
|
}
|
|
28249
|
-
function
|
|
28229
|
+
function pP(n) {
|
|
28250
28230
|
return jt(n) && Fn(n) === "textarea";
|
|
28251
28231
|
}
|
|
28252
|
-
function
|
|
28232
|
+
function mP(n) {
|
|
28253
28233
|
var e = n.ownerDocument === null ? n : n.ownerDocument, t = e.defaultView;
|
|
28254
28234
|
if (t === null)
|
|
28255
28235
|
throw new TypeError("no window available");
|
|
28256
28236
|
return t;
|
|
28257
28237
|
}
|
|
28258
|
-
function
|
|
28238
|
+
function gP(n) {
|
|
28259
28239
|
return jt(n) && Fn(n) === "fieldset";
|
|
28260
28240
|
}
|
|
28261
|
-
function
|
|
28241
|
+
function vP(n) {
|
|
28262
28242
|
return jt(n) && Fn(n) === "legend";
|
|
28263
28243
|
}
|
|
28264
|
-
function
|
|
28244
|
+
function yP(n) {
|
|
28265
28245
|
return jt(n) && Fn(n) === "slot";
|
|
28266
28246
|
}
|
|
28267
|
-
function
|
|
28247
|
+
function bP(n) {
|
|
28268
28248
|
return jt(n) && n.ownerSVGElement !== void 0;
|
|
28269
28249
|
}
|
|
28270
|
-
function
|
|
28250
|
+
function kP(n) {
|
|
28271
28251
|
return jt(n) && Fn(n) === "svg";
|
|
28272
28252
|
}
|
|
28273
|
-
function
|
|
28274
|
-
return
|
|
28253
|
+
function wP(n) {
|
|
28254
|
+
return bP(n) && Fn(n) === "title";
|
|
28275
28255
|
}
|
|
28276
28256
|
function Cd(n, e) {
|
|
28277
28257
|
if (jt(n) && n.hasAttribute(e)) {
|
|
@@ -28288,12 +28268,12 @@ function Cd(n, e) {
|
|
|
28288
28268
|
return [];
|
|
28289
28269
|
}
|
|
28290
28270
|
function ro(n, e) {
|
|
28291
|
-
return jt(n) ? e.indexOf(
|
|
28271
|
+
return jt(n) ? e.indexOf(lP(n)) !== -1 : !1;
|
|
28292
28272
|
}
|
|
28293
|
-
function
|
|
28273
|
+
function CP(n) {
|
|
28294
28274
|
return n.trim().replace(/\s\s+/g, " ");
|
|
28295
28275
|
}
|
|
28296
|
-
function
|
|
28276
|
+
function SP(n, e) {
|
|
28297
28277
|
if (!jt(n))
|
|
28298
28278
|
return !1;
|
|
28299
28279
|
if (n.hasAttribute("hidden") || n.getAttribute("aria-hidden") === "true")
|
|
@@ -28301,7 +28281,7 @@ function TP(n, e) {
|
|
|
28301
28281
|
var t = e(n);
|
|
28302
28282
|
return t.getPropertyValue("display") === "none" || t.getPropertyValue("visibility") === "hidden";
|
|
28303
28283
|
}
|
|
28304
|
-
function
|
|
28284
|
+
function TP(n) {
|
|
28305
28285
|
return ro(n, ["button", "combobox", "listbox", "textbox"]) || nk(n, "range");
|
|
28306
28286
|
}
|
|
28307
28287
|
function nk(n, e) {
|
|
@@ -28314,31 +28294,31 @@ function nk(n, e) {
|
|
|
28314
28294
|
throw new TypeError("No knowledge about abstract role '".concat(e, "'. This is likely a bug :("));
|
|
28315
28295
|
}
|
|
28316
28296
|
}
|
|
28317
|
-
function
|
|
28297
|
+
function o0(n, e) {
|
|
28318
28298
|
var t = si(n.querySelectorAll(e));
|
|
28319
28299
|
return Cd(n, "aria-owns").forEach(function(r) {
|
|
28320
28300
|
t.push.apply(t, si(r.querySelectorAll(e)));
|
|
28321
28301
|
}), t;
|
|
28322
28302
|
}
|
|
28323
|
-
function
|
|
28324
|
-
return
|
|
28303
|
+
function _P(n) {
|
|
28304
|
+
return fP(n) ? n.selectedOptions || o0(n, "[selected]") : o0(n, '[aria-selected="true"]');
|
|
28325
28305
|
}
|
|
28326
|
-
function
|
|
28306
|
+
function xP(n) {
|
|
28327
28307
|
return ro(n, wp);
|
|
28328
28308
|
}
|
|
28329
|
-
function
|
|
28309
|
+
function EP(n) {
|
|
28330
28310
|
return tk(n);
|
|
28331
28311
|
}
|
|
28332
|
-
function
|
|
28312
|
+
function PP(n) {
|
|
28333
28313
|
return ro(n, ["button", "cell", "checkbox", "columnheader", "gridcell", "heading", "label", "legend", "link", "menuitem", "menuitemcheckbox", "menuitemradio", "option", "radio", "row", "rowheader", "switch", "tab", "tooltip", "treeitem"]);
|
|
28334
28314
|
}
|
|
28335
|
-
function
|
|
28315
|
+
function RP(n) {
|
|
28336
28316
|
return !1;
|
|
28337
28317
|
}
|
|
28338
|
-
function
|
|
28339
|
-
return rd(n) ||
|
|
28318
|
+
function IP(n) {
|
|
28319
|
+
return rd(n) || pP(n) ? n.value : n.textContent || "";
|
|
28340
28320
|
}
|
|
28341
|
-
function
|
|
28321
|
+
function s0(n) {
|
|
28342
28322
|
var e = n.getPropertyValue("content");
|
|
28343
28323
|
return /^["'].*["']$/.test(e) ? e.slice(1, -1) : "";
|
|
28344
28324
|
}
|
|
@@ -28357,13 +28337,13 @@ function ik(n) {
|
|
|
28357
28337
|
}
|
|
28358
28338
|
}), e;
|
|
28359
28339
|
}
|
|
28360
|
-
function
|
|
28340
|
+
function MP(n) {
|
|
28361
28341
|
if (n.control !== void 0)
|
|
28362
28342
|
return n.control;
|
|
28363
28343
|
var e = n.getAttribute("for");
|
|
28364
28344
|
return e !== null ? n.ownerDocument.getElementById(e) : ik(n);
|
|
28365
28345
|
}
|
|
28366
|
-
function
|
|
28346
|
+
function AP(n) {
|
|
28367
28347
|
var e = n.labels;
|
|
28368
28348
|
if (e === null)
|
|
28369
28349
|
return e;
|
|
@@ -28373,15 +28353,15 @@ function OP(n) {
|
|
|
28373
28353
|
return null;
|
|
28374
28354
|
var t = n.ownerDocument;
|
|
28375
28355
|
return si(t.querySelectorAll("label")).filter(function(r) {
|
|
28376
|
-
return
|
|
28356
|
+
return MP(r) === n;
|
|
28377
28357
|
});
|
|
28378
28358
|
}
|
|
28379
|
-
function
|
|
28359
|
+
function OP(n) {
|
|
28380
28360
|
var e = n.assignedNodes();
|
|
28381
28361
|
return e.length === 0 ? si(n.childNodes) : e;
|
|
28382
28362
|
}
|
|
28383
28363
|
function ok(n) {
|
|
28384
|
-
var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = new
|
|
28364
|
+
var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = new iP(), r = typeof Map > "u" ? void 0 : /* @__PURE__ */ new Map(), o = mP(n), a = e.compute, l = a === void 0 ? "name" : a, u = e.computedStyleSupportsPseudoElements, f = u === void 0 ? e.getComputedStyle !== void 0 : u, p = e.getComputedStyle, g = p === void 0 ? o.getComputedStyle.bind(o) : p, C = e.hidden, _ = C === void 0 ? !1 : C, T = function(L, F) {
|
|
28385
28365
|
if (F !== void 0)
|
|
28386
28366
|
throw new Error("use uncachedGetComputedStyle directly for pseudo elements");
|
|
28387
28367
|
if (r === void 0)
|
|
@@ -28395,10 +28375,10 @@ function ok(n) {
|
|
|
28395
28375
|
function N(U, L) {
|
|
28396
28376
|
var F = "";
|
|
28397
28377
|
if (jt(U) && f) {
|
|
28398
|
-
var G = g(U, "::before"), se =
|
|
28378
|
+
var G = g(U, "::before"), se = s0(G);
|
|
28399
28379
|
F = "".concat(se, " ").concat(F);
|
|
28400
28380
|
}
|
|
28401
|
-
var Q =
|
|
28381
|
+
var Q = yP(U) ? OP(U) : si(U.childNodes).concat(Cd(U, "aria-owns"));
|
|
28402
28382
|
if (Q.forEach(function(Y) {
|
|
28403
28383
|
var fe = ee(Y, {
|
|
28404
28384
|
isEmbeddedInLabel: L.isEmbeddedInLabel,
|
|
@@ -28407,7 +28387,7 @@ function ok(n) {
|
|
|
28407
28387
|
}), Ie = jt(Y) ? T(Y).getPropertyValue("display") : "inline", We = Ie !== "inline" ? " " : "";
|
|
28408
28388
|
F += "".concat(We).concat(fe).concat(We);
|
|
28409
28389
|
}), jt(U) && f) {
|
|
28410
|
-
var $ = g(U, "::after"), q =
|
|
28390
|
+
var $ = g(U, "::after"), q = s0($);
|
|
28411
28391
|
F = "".concat(F, " ").concat(q);
|
|
28412
28392
|
}
|
|
28413
28393
|
return F.trim();
|
|
@@ -28422,18 +28402,18 @@ function ok(n) {
|
|
|
28422
28402
|
function z(U) {
|
|
28423
28403
|
if (!jt(U))
|
|
28424
28404
|
return null;
|
|
28425
|
-
if (
|
|
28405
|
+
if (gP(U)) {
|
|
28426
28406
|
t.add(U);
|
|
28427
28407
|
for (var L = si(U.childNodes), F = 0; F < L.length; F += 1) {
|
|
28428
28408
|
var G = L[F];
|
|
28429
|
-
if (
|
|
28409
|
+
if (vP(G))
|
|
28430
28410
|
return ee(G, {
|
|
28431
28411
|
isEmbeddedInLabel: !1,
|
|
28432
28412
|
isReferenced: !1,
|
|
28433
28413
|
recursion: !1
|
|
28434
28414
|
});
|
|
28435
28415
|
}
|
|
28436
|
-
} else if (
|
|
28416
|
+
} else if (hP(U)) {
|
|
28437
28417
|
t.add(U);
|
|
28438
28418
|
for (var se = si(U.childNodes), Q = 0; Q < se.length; Q += 1) {
|
|
28439
28419
|
var $ = se[Q];
|
|
@@ -28444,11 +28424,11 @@ function ok(n) {
|
|
|
28444
28424
|
recursion: !1
|
|
28445
28425
|
});
|
|
28446
28426
|
}
|
|
28447
|
-
} else if (
|
|
28427
|
+
} else if (kP(U)) {
|
|
28448
28428
|
t.add(U);
|
|
28449
28429
|
for (var q = si(U.childNodes), Y = 0; Y < q.length; Y += 1) {
|
|
28450
28430
|
var fe = q[Y];
|
|
28451
|
-
if (
|
|
28431
|
+
if (wP(fe))
|
|
28452
28432
|
return fe.textContent;
|
|
28453
28433
|
}
|
|
28454
28434
|
return null;
|
|
@@ -28456,7 +28436,7 @@ function ok(n) {
|
|
|
28456
28436
|
var Ie = A(U, "alt");
|
|
28457
28437
|
if (Ie !== null)
|
|
28458
28438
|
return Ie;
|
|
28459
|
-
} else if (
|
|
28439
|
+
} else if (dP(U)) {
|
|
28460
28440
|
var We = A(U, "label");
|
|
28461
28441
|
if (We !== null)
|
|
28462
28442
|
return We;
|
|
@@ -28470,7 +28450,7 @@ function ok(n) {
|
|
|
28470
28450
|
if (U.type === "reset")
|
|
28471
28451
|
return "Reset";
|
|
28472
28452
|
}
|
|
28473
|
-
var Pe =
|
|
28453
|
+
var Pe = AP(U);
|
|
28474
28454
|
if (Pe !== null && Pe.length !== 0)
|
|
28475
28455
|
return t.add(U), si(Pe).map(function(de) {
|
|
28476
28456
|
return ee(de, {
|
|
@@ -28500,7 +28480,7 @@ function ok(n) {
|
|
|
28500
28480
|
function ee(U, L) {
|
|
28501
28481
|
if (t.has(U))
|
|
28502
28482
|
return "";
|
|
28503
|
-
if (!_ &&
|
|
28483
|
+
if (!_ && SP(U, T) && !L.isReferenced)
|
|
28504
28484
|
return t.add(U), "";
|
|
28505
28485
|
var F = jt(U) ? U.getAttributeNode("aria-labelledby") : null, G = F !== null && !t.has(F) ? Cd(U, "aria-labelledby") : [];
|
|
28506
28486
|
if (l === "name" && !L.isReferenced && G.length > 0)
|
|
@@ -28514,12 +28494,12 @@ function ok(n) {
|
|
|
28514
28494
|
recursion: !1
|
|
28515
28495
|
});
|
|
28516
28496
|
}).join(" ");
|
|
28517
|
-
var se = L.recursion &&
|
|
28497
|
+
var se = L.recursion && TP(U) && l === "name";
|
|
28518
28498
|
if (!se) {
|
|
28519
28499
|
var Q = (jt(U) && U.getAttribute("aria-label") || "").trim();
|
|
28520
28500
|
if (Q !== "" && l === "name")
|
|
28521
28501
|
return t.add(U), Q;
|
|
28522
|
-
if (!
|
|
28502
|
+
if (!xP(U)) {
|
|
28523
28503
|
var $ = z(U);
|
|
28524
28504
|
if ($ !== null)
|
|
28525
28505
|
return t.add(U), $;
|
|
@@ -28530,7 +28510,7 @@ function ok(n) {
|
|
|
28530
28510
|
if (se || L.isEmbeddedInLabel || L.isReferenced) {
|
|
28531
28511
|
if (ro(U, ["combobox", "listbox"])) {
|
|
28532
28512
|
t.add(U);
|
|
28533
|
-
var q =
|
|
28513
|
+
var q = _P(U);
|
|
28534
28514
|
return q.length === 0 ? rd(U) ? U.value : "" : si(q).map(function(Ie) {
|
|
28535
28515
|
return ee(Ie, {
|
|
28536
28516
|
isEmbeddedInLabel: L.isEmbeddedInLabel,
|
|
@@ -28542,9 +28522,9 @@ function ok(n) {
|
|
|
28542
28522
|
if (nk(U, "range"))
|
|
28543
28523
|
return t.add(U), U.hasAttribute("aria-valuetext") ? U.getAttribute("aria-valuetext") : U.hasAttribute("aria-valuenow") ? U.getAttribute("aria-valuenow") : U.getAttribute("value") || "";
|
|
28544
28524
|
if (ro(U, ["textbox"]))
|
|
28545
|
-
return t.add(U),
|
|
28525
|
+
return t.add(U), IP(U);
|
|
28546
28526
|
}
|
|
28547
|
-
if (
|
|
28527
|
+
if (PP(U) || jt(U) && L.isReferenced || EP(U) || RP()) {
|
|
28548
28528
|
var Y = N(U, {
|
|
28549
28529
|
isEmbeddedInLabel: L.isEmbeddedInLabel
|
|
28550
28530
|
});
|
|
@@ -28560,7 +28540,7 @@ function ok(n) {
|
|
|
28560
28540
|
var fe = H(U);
|
|
28561
28541
|
return fe !== null ? (t.add(U), fe) : (t.add(U), "");
|
|
28562
28542
|
}
|
|
28563
|
-
return
|
|
28543
|
+
return CP(ee(n, {
|
|
28564
28544
|
isEmbeddedInLabel: !1,
|
|
28565
28545
|
// by spec computeAccessibleDescription starts with the referenced elements as roots
|
|
28566
28546
|
isReferenced: l === "description",
|
|
@@ -28575,7 +28555,7 @@ function mc(n) {
|
|
|
28575
28555
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
28576
28556
|
}, mc(n);
|
|
28577
28557
|
}
|
|
28578
|
-
function
|
|
28558
|
+
function a0(n, e) {
|
|
28579
28559
|
var t = Object.keys(n);
|
|
28580
28560
|
if (Object.getOwnPropertySymbols) {
|
|
28581
28561
|
var r = Object.getOwnPropertySymbols(n);
|
|
@@ -28585,25 +28565,25 @@ function ay(n, e) {
|
|
|
28585
28565
|
}
|
|
28586
28566
|
return t;
|
|
28587
28567
|
}
|
|
28588
|
-
function
|
|
28568
|
+
function l0(n) {
|
|
28589
28569
|
for (var e = 1; e < arguments.length; e++) {
|
|
28590
28570
|
var t = arguments[e] != null ? arguments[e] : {};
|
|
28591
|
-
e % 2 ?
|
|
28592
|
-
|
|
28593
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(t)) :
|
|
28571
|
+
e % 2 ? a0(Object(t), !0).forEach(function(r) {
|
|
28572
|
+
LP(n, r, t[r]);
|
|
28573
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(t)) : a0(Object(t)).forEach(function(r) {
|
|
28594
28574
|
Object.defineProperty(n, r, Object.getOwnPropertyDescriptor(t, r));
|
|
28595
28575
|
});
|
|
28596
28576
|
}
|
|
28597
28577
|
return n;
|
|
28598
28578
|
}
|
|
28599
|
-
function
|
|
28600
|
-
return e =
|
|
28579
|
+
function LP(n, e, t) {
|
|
28580
|
+
return e = DP(e), e in n ? Object.defineProperty(n, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : n[e] = t, n;
|
|
28601
28581
|
}
|
|
28602
|
-
function
|
|
28603
|
-
var e =
|
|
28582
|
+
function DP(n) {
|
|
28583
|
+
var e = NP(n, "string");
|
|
28604
28584
|
return mc(e) == "symbol" ? e : e + "";
|
|
28605
28585
|
}
|
|
28606
|
-
function
|
|
28586
|
+
function NP(n, e) {
|
|
28607
28587
|
if (mc(n) != "object" || !n) return n;
|
|
28608
28588
|
var t = n[Symbol.toPrimitive];
|
|
28609
28589
|
if (t !== void 0) {
|
|
@@ -28613,9 +28593,9 @@ function jP(n, e) {
|
|
|
28613
28593
|
}
|
|
28614
28594
|
return (e === "string" ? String : Number)(n);
|
|
28615
28595
|
}
|
|
28616
|
-
function
|
|
28596
|
+
function c0(n) {
|
|
28617
28597
|
var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = Cd(n, "aria-describedby").map(function(a) {
|
|
28618
|
-
return ok(a,
|
|
28598
|
+
return ok(a, l0(l0({}, e), {}, {
|
|
28619
28599
|
compute: "description"
|
|
28620
28600
|
}));
|
|
28621
28601
|
}).join(" ");
|
|
@@ -28629,34 +28609,34 @@ function cy(n) {
|
|
|
28629
28609
|
}
|
|
28630
28610
|
return t;
|
|
28631
28611
|
}
|
|
28632
|
-
function
|
|
28612
|
+
function jP(n) {
|
|
28633
28613
|
return ro(n, ["caption", "code", "deletion", "emphasis", "generic", "insertion", "none", "paragraph", "presentation", "strong", "subscript", "superscript"]);
|
|
28634
28614
|
}
|
|
28635
28615
|
function Cp(n) {
|
|
28636
28616
|
var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
28637
|
-
return
|
|
28617
|
+
return jP(n) ? "" : ok(n, e);
|
|
28638
28618
|
}
|
|
28639
|
-
const
|
|
28619
|
+
const FP = (n) => n instanceof HTMLTextAreaElement ? { value: n.value } : n.type === "checkbox" ? {
|
|
28640
28620
|
value: n.checked,
|
|
28641
28621
|
options: [
|
|
28642
28622
|
{ value: !0, selected: n.checked, text: "checked" },
|
|
28643
28623
|
{ value: !1, selected: !n.checked, text: "unchecked" }
|
|
28644
28624
|
]
|
|
28645
|
-
} : { value: n.value },
|
|
28625
|
+
} : { value: n.value }, UP = (n) => {
|
|
28646
28626
|
if (n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) {
|
|
28647
28627
|
const e = Cp(n) ?? "";
|
|
28648
28628
|
return {
|
|
28649
28629
|
name: e === "" ? n.name : e,
|
|
28650
|
-
description:
|
|
28630
|
+
description: c0(n),
|
|
28651
28631
|
type: n.type,
|
|
28652
28632
|
placeholder: n.placeholder,
|
|
28653
|
-
...
|
|
28633
|
+
...FP(n)
|
|
28654
28634
|
};
|
|
28655
28635
|
} else if (n instanceof HTMLSelectElement) {
|
|
28656
28636
|
const e = Cp(n) ?? "";
|
|
28657
28637
|
return {
|
|
28658
28638
|
name: e === "" ? n.name : e,
|
|
28659
|
-
description:
|
|
28639
|
+
description: c0(n),
|
|
28660
28640
|
type: n.type,
|
|
28661
28641
|
value: n.value,
|
|
28662
28642
|
options: Array.from(n.options).map((t) => ({
|
|
@@ -28667,7 +28647,7 @@ const UP = (n) => n instanceof HTMLTextAreaElement ? { value: n.value } : n.type
|
|
|
28667
28647
|
};
|
|
28668
28648
|
}
|
|
28669
28649
|
throw new TypeError("Unsupported element type");
|
|
28670
|
-
},
|
|
28650
|
+
}, BP = () => {
|
|
28671
28651
|
const e = Array.from(
|
|
28672
28652
|
document.querySelectorAll("input, textarea, select")
|
|
28673
28653
|
).map((r, o) => ({
|
|
@@ -28680,13 +28660,13 @@ const UP = (n) => n instanceof HTMLTextAreaElement ? { value: n.value } : n.type
|
|
|
28680
28660
|
}), {
|
|
28681
28661
|
context: e.map(({ id: r, element: o }) => ({
|
|
28682
28662
|
id: r,
|
|
28683
|
-
...
|
|
28663
|
+
...UP(o)
|
|
28684
28664
|
})),
|
|
28685
28665
|
formElements: t
|
|
28686
28666
|
};
|
|
28687
28667
|
}, Jl = (n, ...e) => {
|
|
28688
28668
|
console.debug(`[NLX V+] ${n}`, ...e);
|
|
28689
|
-
},
|
|
28669
|
+
}, VP = (n, e = 50, t = 1 / 0) => {
|
|
28690
28670
|
let r = null, o = null, a = Promise.resolve();
|
|
28691
28671
|
return (...l) => {
|
|
28692
28672
|
o ?? (o = Date.now());
|
|
@@ -28702,16 +28682,16 @@ const UP = (n) => n instanceof HTMLTextAreaElement ? { value: n.value } : n.type
|
|
|
28702
28682
|
u();
|
|
28703
28683
|
}, e);
|
|
28704
28684
|
};
|
|
28705
|
-
},
|
|
28685
|
+
}, zP = (n, e, t, r) => {
|
|
28706
28686
|
let o = {
|
|
28707
28687
|
// uri: "",
|
|
28708
28688
|
fields: [],
|
|
28709
28689
|
destinations: [],
|
|
28710
28690
|
actions: []
|
|
28711
28691
|
};
|
|
28712
|
-
const a =
|
|
28692
|
+
const a = VP(
|
|
28713
28693
|
async () => {
|
|
28714
|
-
const { context: u, state: f } = t(
|
|
28694
|
+
const { context: u, state: f } = t(WP(e));
|
|
28715
28695
|
if (!Ap(o, u)) {
|
|
28716
28696
|
try {
|
|
28717
28697
|
Jl("Automatic context sent:", u), await n.sendContext({ "nlx:vpContext": u });
|
|
@@ -28737,8 +28717,8 @@ const UP = (n) => n instanceof HTMLTextAreaElement ? { value: n.value } : n.type
|
|
|
28737
28717
|
e = u, a();
|
|
28738
28718
|
}
|
|
28739
28719
|
};
|
|
28740
|
-
},
|
|
28741
|
-
const { context: e, formElements: t } =
|
|
28720
|
+
}, WP = (n) => {
|
|
28721
|
+
const { context: e, formElements: t } = BP(), { context: r, links: o } = HP();
|
|
28742
28722
|
return {
|
|
28743
28723
|
context: {
|
|
28744
28724
|
uri: window.location.pathname,
|
|
@@ -28757,7 +28737,7 @@ const UP = (n) => n instanceof HTMLTextAreaElement ? { value: n.value } : n.type
|
|
|
28757
28737
|
)
|
|
28758
28738
|
}
|
|
28759
28739
|
};
|
|
28760
|
-
},
|
|
28740
|
+
}, HP = () => {
|
|
28761
28741
|
const n = Object.fromEntries(
|
|
28762
28742
|
Vw(
|
|
28763
28743
|
Array.from(document.querySelectorAll("a")).map((e) => [
|
|
@@ -28767,7 +28747,7 @@ const UP = (n) => n instanceof HTMLTextAreaElement ? { value: n.value } : n.type
|
|
|
28767
28747
|
)
|
|
28768
28748
|
);
|
|
28769
28749
|
return { context: Object.keys(n), links: n };
|
|
28770
|
-
},
|
|
28750
|
+
}, $P = (n, e, t) => {
|
|
28771
28751
|
const r = (o) => {
|
|
28772
28752
|
switch (Jl("Command received", o), o.classification) {
|
|
28773
28753
|
case "navigation":
|
|
@@ -28840,12 +28820,12 @@ setCustomBidirectionalCommands([{ action: "${o.action}", handler() { }}])`,
|
|
|
28840
28820
|
n.removeEventListener("voicePlusCommand", r);
|
|
28841
28821
|
};
|
|
28842
28822
|
};
|
|
28843
|
-
var id = { exports: {} },
|
|
28844
|
-
function
|
|
28845
|
-
return
|
|
28823
|
+
var id = { exports: {} }, qP = id.exports, u0;
|
|
28824
|
+
function GP() {
|
|
28825
|
+
return u0 || (u0 = 1, function(n, e) {
|
|
28846
28826
|
(function(r, o) {
|
|
28847
28827
|
n.exports = o();
|
|
28848
|
-
})(
|
|
28828
|
+
})(qP, () => (
|
|
28849
28829
|
/******/
|
|
28850
28830
|
(() => {
|
|
28851
28831
|
var t = [
|
|
@@ -29267,7 +29247,7 @@ function KP() {
|
|
|
29267
29247
|
w += String.fromCharCode(x);
|
|
29268
29248
|
}
|
|
29269
29249
|
return w;
|
|
29270
|
-
},
|
|
29250
|
+
}, st = [], Tt = (d) => {
|
|
29271
29251
|
for (var h = 0, v = 0; v < d.length; ++v) {
|
|
29272
29252
|
var w = d.charCodeAt(v);
|
|
29273
29253
|
127 >= w ? h++ : 2047 >= w ? h += 2 : 55296 <= w && 57343 >= w ? (h += 4, ++v) : h += 3;
|
|
@@ -29355,7 +29335,7 @@ function KP() {
|
|
|
29355
29335
|
return w && (d.node.timestamp = Date.now()), x;
|
|
29356
29336
|
} }, en = { jb: function() {
|
|
29357
29337
|
e: {
|
|
29358
|
-
if (!
|
|
29338
|
+
if (!st.length) {
|
|
29359
29339
|
var d = null;
|
|
29360
29340
|
if (typeof window < "u" && typeof window.prompt == "function" ? (d = window.prompt("Input: "), d !== null && (d += `
|
|
29361
29341
|
`)) : typeof readline == "function" && (d = readline(), d !== null && (d += `
|
|
@@ -29363,9 +29343,9 @@ function KP() {
|
|
|
29363
29343
|
d = null;
|
|
29364
29344
|
break e;
|
|
29365
29345
|
}
|
|
29366
|
-
|
|
29346
|
+
st = _t(d, !0);
|
|
29367
29347
|
}
|
|
29368
|
-
d =
|
|
29348
|
+
d = st.shift();
|
|
29369
29349
|
}
|
|
29370
29350
|
return d;
|
|
29371
29351
|
}, Ua: function(d, h) {
|
|
@@ -32241,22 +32221,22 @@ function KP() {
|
|
|
32241
32221
|
});
|
|
32242
32222
|
}
|
|
32243
32223
|
return new (S || (S = Promise))(function(ue, ye) {
|
|
32244
|
-
function Ge(
|
|
32224
|
+
function Ge(st) {
|
|
32245
32225
|
try {
|
|
32246
|
-
Le(M.next(
|
|
32226
|
+
Le(M.next(st));
|
|
32247
32227
|
} catch (Tt) {
|
|
32248
32228
|
ye(Tt);
|
|
32249
32229
|
}
|
|
32250
32230
|
}
|
|
32251
|
-
function rt(
|
|
32231
|
+
function rt(st) {
|
|
32252
32232
|
try {
|
|
32253
|
-
Le(M.throw(
|
|
32233
|
+
Le(M.throw(st));
|
|
32254
32234
|
} catch (Tt) {
|
|
32255
32235
|
ye(Tt);
|
|
32256
32236
|
}
|
|
32257
32237
|
}
|
|
32258
|
-
function Le(
|
|
32259
|
-
|
|
32238
|
+
function Le(st) {
|
|
32239
|
+
st.done ? ue(st.value) : J(st.value).then(Ge, rt);
|
|
32260
32240
|
}
|
|
32261
32241
|
Le((M = M.apply(P, y || [])).next());
|
|
32262
32242
|
});
|
|
@@ -32269,8 +32249,8 @@ function KP() {
|
|
|
32269
32249
|
return this;
|
|
32270
32250
|
}), ye;
|
|
32271
32251
|
function Ge(Le) {
|
|
32272
|
-
return function(
|
|
32273
|
-
return rt([Le,
|
|
32252
|
+
return function(st) {
|
|
32253
|
+
return rt([Le, st]);
|
|
32274
32254
|
};
|
|
32275
32255
|
}
|
|
32276
32256
|
function rt(Le) {
|
|
@@ -32311,8 +32291,8 @@ function KP() {
|
|
|
32311
32291
|
continue;
|
|
32312
32292
|
}
|
|
32313
32293
|
Le = y.call(P, S);
|
|
32314
|
-
} catch (
|
|
32315
|
-
Le = [6,
|
|
32294
|
+
} catch (st) {
|
|
32295
|
+
Le = [6, st], J = 0;
|
|
32316
32296
|
} finally {
|
|
32317
32297
|
M = ue = 0;
|
|
32318
32298
|
}
|
|
@@ -32567,8 +32547,8 @@ To resolve, you may need to:`,
|
|
|
32567
32547
|
else {
|
|
32568
32548
|
var Le = this.artboard.animationByName(y[ye]);
|
|
32569
32549
|
if (Le) {
|
|
32570
|
-
var
|
|
32571
|
-
|
|
32550
|
+
var st = new f.Animation(Le, this.artboard, this.runtime, S);
|
|
32551
|
+
st.advance(0), st.apply(1), this.animations.push(st);
|
|
32572
32552
|
} else {
|
|
32573
32553
|
var Tt = this.artboard.stateMachineByName(y[ye]);
|
|
32574
32554
|
if (Tt) {
|
|
@@ -33108,13 +33088,13 @@ To resolve, you may need to:`,
|
|
|
33108
33088
|
}, P.prototype.onSystemAudioChanged = function() {
|
|
33109
33089
|
this.volume = this._volume;
|
|
33110
33090
|
}, P.prototype.init = function(y) {
|
|
33111
|
-
var S = this, M = y.src, J = y.buffer, ue = y.riveFile, ye = y.animations, Ge = y.stateMachines, rt = y.artboard, Le = y.autoplay,
|
|
33091
|
+
var S = this, M = y.src, J = y.buffer, ue = y.riveFile, ye = y.animations, Ge = y.stateMachines, rt = y.artboard, Le = y.autoplay, st = Le === void 0 ? !1 : Le, Tt = y.useOffscreenRenderer, $t = Tt === void 0 ? !1 : Tt, _t = y.autoBind, Bn = _t === void 0 ? !1 : _t;
|
|
33112
33092
|
if (!this.destroyed) {
|
|
33113
33093
|
if (this.src = M, this.buffer = J, this.riveFile = ue, !this.src && !this.buffer && !this.riveFile)
|
|
33114
33094
|
throw new A(P.missingErrorMessage);
|
|
33115
33095
|
var Pn = yn(ye), bn = yn(Ge);
|
|
33116
33096
|
this.loaded = !1, this.readyForPlaying = !1, L.awaitInstance().then(function(en) {
|
|
33117
|
-
S.destroyed || (S.runtime = en, S.removeRiveListeners(), S.deleteRiveRenderer(), S.renderer = S.runtime.makeRenderer(S.canvas, $t), S.canvas.width || S.canvas.height || S.resizeDrawingSurfaceToCanvas(), S.initData(rt, Pn, bn,
|
|
33097
|
+
S.destroyed || (S.runtime = en, S.removeRiveListeners(), S.deleteRiveRenderer(), S.renderer = S.runtime.makeRenderer(S.canvas, $t), S.canvas.width || S.canvas.height || S.resizeDrawingSurfaceToCanvas(), S.initData(rt, Pn, bn, st, Bn).then(function(rn) {
|
|
33118
33098
|
if (rn)
|
|
33119
33099
|
return S.setupRiveListeners();
|
|
33120
33100
|
}).catch(function(rn) {
|
|
@@ -33159,26 +33139,26 @@ To resolve, you may need to:`,
|
|
|
33159
33139
|
}, P.prototype.initData = function(y, S, M, J, ue) {
|
|
33160
33140
|
return _(this, void 0, void 0, function() {
|
|
33161
33141
|
var ye, Ge, rt, Le;
|
|
33162
|
-
return T(this, function(
|
|
33163
|
-
switch (
|
|
33142
|
+
return T(this, function(st) {
|
|
33143
|
+
switch (st.label) {
|
|
33164
33144
|
case 0:
|
|
33165
|
-
return
|
|
33145
|
+
return st.trys.push([0, 3, , 4]), this.riveFile != null ? [3, 2] : (ye = new te({
|
|
33166
33146
|
src: this.src,
|
|
33167
33147
|
buffer: this.buffer,
|
|
33168
33148
|
enableRiveAssetCDN: this.enableRiveAssetCDN,
|
|
33169
33149
|
assetLoader: this.assetLoader
|
|
33170
33150
|
}), this.riveFile = ye, [4, ye.init()]);
|
|
33171
33151
|
case 1:
|
|
33172
|
-
if (
|
|
33152
|
+
if (st.sent(), this.destroyed)
|
|
33173
33153
|
return ye.destroyIfUnused(), [2, !1];
|
|
33174
|
-
|
|
33154
|
+
st.label = 2;
|
|
33175
33155
|
case 2:
|
|
33176
33156
|
return this.file = this.riveFile.getInstance(), this.initArtboard(y, S, M, J, ue), this.initArtboardSize(), this.initializeAudio(), this.loaded = !0, this.eventManager.fire({
|
|
33177
33157
|
type: Y.Load,
|
|
33178
33158
|
data: (Le = this.src) !== null && Le !== void 0 ? Le : "buffer"
|
|
33179
33159
|
}), this.animator.advanceIfPaused(), this.readyForPlaying = !0, this.taskQueue.process(), this.drawFrame(), [2, !0];
|
|
33180
33160
|
case 3:
|
|
33181
|
-
return Ge =
|
|
33161
|
+
return Ge = st.sent(), rt = H(Ge), console.warn(rt), this.eventManager.fire({ type: Y.LoadError, data: rt }), [2, Promise.reject(rt)];
|
|
33182
33162
|
case 4:
|
|
33183
33163
|
return [
|
|
33184
33164
|
2
|
|
@@ -33205,9 +33185,9 @@ To resolve, you may need to:`,
|
|
|
33205
33185
|
}), ue) {
|
|
33206
33186
|
var Le = this.file.defaultArtboardViewModel(ye);
|
|
33207
33187
|
if (Le !== null) {
|
|
33208
|
-
var
|
|
33209
|
-
if (
|
|
33210
|
-
var Tt = new et(
|
|
33188
|
+
var st = Le.defaultInstance();
|
|
33189
|
+
if (st !== null) {
|
|
33190
|
+
var Tt = new et(st, null);
|
|
33211
33191
|
this.bindViewModelInstance(Tt);
|
|
33212
33192
|
}
|
|
33213
33193
|
}
|
|
@@ -33231,9 +33211,9 @@ To resolve, you may need to:`,
|
|
|
33231
33211
|
var Le = rt[Ge];
|
|
33232
33212
|
Le.advance(ue), Le.instance.didLoop && (Le.loopCount += 1), Le.apply(1);
|
|
33233
33213
|
}
|
|
33234
|
-
for (var
|
|
33214
|
+
for (var st = this.animator.stateMachines.filter(function(zn) {
|
|
33235
33215
|
return zn.playing;
|
|
33236
|
-
}), Tt = 0, $t =
|
|
33216
|
+
}), Tt = 0, $t = st; Tt < $t.length; Tt++) {
|
|
33237
33217
|
var _t = $t[Tt], Bn = _t.reportedEventCount();
|
|
33238
33218
|
if (Bn)
|
|
33239
33219
|
for (var Pn = 0; Pn < Bn; Pn++) {
|
|
@@ -33623,8 +33603,8 @@ To resolve, you may need to:`,
|
|
|
33623
33603
|
J.animations.push(ye.name);
|
|
33624
33604
|
}
|
|
33625
33605
|
for (var Ge = 0; Ge < M.stateMachineCount(); Ge++) {
|
|
33626
|
-
for (var rt = M.stateMachineByIndex(Ge), Le = rt.name,
|
|
33627
|
-
var _t =
|
|
33606
|
+
for (var rt = M.stateMachineByIndex(Ge), Le = rt.name, st = new this.runtime.StateMachineInstance(rt, M), Tt = [], $t = 0; $t < st.inputCount(); $t++) {
|
|
33607
|
+
var _t = st.input($t);
|
|
33628
33608
|
Tt.push({ name: _t.name, type: _t.type });
|
|
33629
33609
|
}
|
|
33630
33610
|
J.stateMachines.push({
|
|
@@ -33876,7 +33856,7 @@ To resolve, you may need to:`,
|
|
|
33876
33856
|
var M = this.internalViewModelInstance(y[S]);
|
|
33877
33857
|
return M !== null ? S == y.length - 1 ? M : M.viewModelFromPathSegments(y, S++) : null;
|
|
33878
33858
|
}, P.prototype.propertyFromPathSegments = function(y, S, M) {
|
|
33879
|
-
var J, ue, ye, Ge, rt, Le,
|
|
33859
|
+
var J, ue, ye, Ge, rt, Le, st, Tt, $t, _t, Bn, Pn, bn, en, rn, xr, Ze, Er;
|
|
33880
33860
|
if (S < y.length - 1) {
|
|
33881
33861
|
var Vn = this.internalViewModelInstance(y[S]);
|
|
33882
33862
|
return Vn !== null ? Vn.propertyFromPathSegments(y, S + 1, M) : null;
|
|
@@ -33896,7 +33876,7 @@ To resolve, you may need to:`,
|
|
|
33896
33876
|
return new Ht(ft, this);
|
|
33897
33877
|
break;
|
|
33898
33878
|
case Fe.Color:
|
|
33899
|
-
if (ft = (Tt = (
|
|
33879
|
+
if (ft = (Tt = (st = this._runtimeInstance) === null || st === void 0 ? void 0 : st.color(y[S])) !== null && Tt !== void 0 ? Tt : null, ft !== null)
|
|
33900
33880
|
return new _r(ft, this);
|
|
33901
33881
|
break;
|
|
33902
33882
|
case Fe.Trigger:
|
|
@@ -34323,13 +34303,13 @@ To resolve, you may need to:`,
|
|
|
34323
34303
|
));
|
|
34324
34304
|
}(id)), id.exports;
|
|
34325
34305
|
}
|
|
34326
|
-
var Fh =
|
|
34327
|
-
function
|
|
34306
|
+
var Fh = GP();
|
|
34307
|
+
function KP(n, e) {
|
|
34328
34308
|
e.style.borderColor = n;
|
|
34329
34309
|
const t = getComputedStyle(e).getPropertyValue("border-color"), r = e.getContext("2d");
|
|
34330
34310
|
return r ? (r.fillStyle = t, r.fillRect(0, 0, 1, 1), e.style.display = "none", [...r.getImageData(0, 0, 1, 1).data]) : [0, 0, 0, 255];
|
|
34331
34311
|
}
|
|
34332
|
-
const
|
|
34312
|
+
const JP = ({ restored: n }) => {
|
|
34333
34313
|
const e = be.useRef(null), t = be.useRef(null);
|
|
34334
34314
|
return be.useEffect(() => {
|
|
34335
34315
|
const r = t.current, o = e.current;
|
|
@@ -34349,7 +34329,7 @@ const YP = ({ restored: n }) => {
|
|
|
34349
34329
|
const u = a.viewModelInstance;
|
|
34350
34330
|
if (u != null) {
|
|
34351
34331
|
const f = u.trigger("run"), p = u.trigger("runNoWave"), g = u.color("color"), C = u.number("voiceInput");
|
|
34352
|
-
C != null && (C.value = 100), g == null || g.rgba(...
|
|
34332
|
+
C != null && (C.value = 100), g == null || g.rgba(...KP("var(--color-accent)", o)), n ? p == null || p.trigger() : f == null || f.trigger();
|
|
34353
34333
|
}
|
|
34354
34334
|
}
|
|
34355
34335
|
}), l = () => {
|
|
@@ -34380,9 +34360,9 @@ const YP = ({ restored: n }) => {
|
|
|
34380
34360
|
} catch {
|
|
34381
34361
|
return null;
|
|
34382
34362
|
}
|
|
34383
|
-
}, [n.config.conversationId]), o = be.useMemo(() =>
|
|
34363
|
+
}, [n.config.conversationId]), o = be.useMemo(() => LC({ responses: r, ...n.config }), [n.config, r]), [a, l] = be.useState([]), u = ((Ce = a[a.length - 1]) == null ? void 0 : Ce.type) === Kn.User, f = n.colorMode ?? "dark", [p, g] = be.useState(
|
|
34384
34364
|
n.embedded || t
|
|
34385
|
-
), C =
|
|
34365
|
+
), C = DC(n.config), [_, T] = be.useState(!1), N = be.useRef(n.embedded || t), A = n.input ?? "text", H = be.useCallback(() => {
|
|
34386
34366
|
sessionStorage.removeItem("nlxActiveVoiceConversationId"), (A === "voice" || A === "voiceMini") && (U.current = !1, o.reset({ clearResponses: !0 }), sessionStorage.removeItem("nlxConversationId"));
|
|
34387
34367
|
}, [o, A]), z = n.onClose, ee = be.useCallback(
|
|
34388
34368
|
(de) => {
|
|
@@ -34445,7 +34425,7 @@ const YP = ({ restored: n }) => {
|
|
|
34445
34425
|
});
|
|
34446
34426
|
be.useEffect(() => {
|
|
34447
34427
|
if (p && n.bidirectional != null && n.bidirectional.automaticContext !== !1) {
|
|
34448
|
-
const { teardown: de, onCustomCommandsChange: O } =
|
|
34428
|
+
const { teardown: de, onCustomCommandsChange: O } = zP(
|
|
34449
34429
|
o,
|
|
34450
34430
|
F.current,
|
|
34451
34431
|
n.bidirectional.customizeAutomaticContext ?? ((te) => te),
|
|
@@ -34457,7 +34437,7 @@ const YP = ({ restored: n }) => {
|
|
|
34457
34437
|
}
|
|
34458
34438
|
}, [p, o, n.bidirectional]), be.useEffect(() => {
|
|
34459
34439
|
if (n.bidirectional != null && (n.bidirectional.navigation != null || n.bidirectional.input != null || n.bidirectional.custom != null || n.bidirectional.automaticContext !== !1))
|
|
34460
|
-
return
|
|
34440
|
+
return $P(o, n.bidirectional, L);
|
|
34461
34441
|
}, [n.bidirectional, o]);
|
|
34462
34442
|
const se = n.windowSize ?? (n.embedded ? "full" : "half"), Q = be.useMemo(() => {
|
|
34463
34443
|
const de = Ev(
|
|
@@ -34518,14 +34498,14 @@ const YP = ({ restored: n }) => {
|
|
|
34518
34498
|
{
|
|
34519
34499
|
theme: n.theme,
|
|
34520
34500
|
colorMode: f,
|
|
34521
|
-
className:
|
|
34501
|
+
className: ot(
|
|
34522
34502
|
"w-fit",
|
|
34523
34503
|
n.embedded ? "" : "fixed z-touchpoint bottom-2 right-2"
|
|
34524
34504
|
),
|
|
34525
34505
|
children: [
|
|
34526
|
-
n.animate ? /* @__PURE__ */ R.jsx(
|
|
34506
|
+
n.animate ? /* @__PURE__ */ R.jsx(JP, { restored: t }) : null,
|
|
34527
34507
|
/* @__PURE__ */ R.jsx(
|
|
34528
|
-
|
|
34508
|
+
qE,
|
|
34529
34509
|
{
|
|
34530
34510
|
handler: o,
|
|
34531
34511
|
context: n.initialContext,
|
|
@@ -34544,12 +34524,12 @@ const YP = ({ restored: n }) => {
|
|
|
34544
34524
|
const ce = () => {
|
|
34545
34525
|
var de, O;
|
|
34546
34526
|
return _ ? /* @__PURE__ */ R.jsx(
|
|
34547
|
-
|
|
34527
|
+
Hy,
|
|
34548
34528
|
{
|
|
34549
34529
|
reset: () => {
|
|
34550
34530
|
me(), T(!1);
|
|
34551
34531
|
},
|
|
34552
|
-
className:
|
|
34532
|
+
className: ot(
|
|
34553
34533
|
"flex-none",
|
|
34554
34534
|
se === "full" ? "w-full md:max-w-content md:mx-auto" : ""
|
|
34555
34535
|
),
|
|
@@ -34573,7 +34553,7 @@ const YP = ({ restored: n }) => {
|
|
|
34573
34553
|
handler: o,
|
|
34574
34554
|
uploadedFiles: q,
|
|
34575
34555
|
modalityComponents: fe,
|
|
34576
|
-
className:
|
|
34556
|
+
className: ot(
|
|
34577
34557
|
"grow",
|
|
34578
34558
|
se === "full" ? "w-full md:max-w-content md:mx-auto" : ""
|
|
34579
34559
|
)
|
|
@@ -34582,7 +34562,7 @@ const YP = ({ restored: n }) => {
|
|
|
34582
34562
|
/* @__PURE__ */ R.jsxs(
|
|
34583
34563
|
"div",
|
|
34584
34564
|
{
|
|
34585
|
-
className:
|
|
34565
|
+
className: ot(
|
|
34586
34566
|
"p-2 md:p-3 flex flex-col flex-none gap-2",
|
|
34587
34567
|
se === "full" ? "w-full md:max-w-content md:mx-auto" : ""
|
|
34588
34568
|
),
|
|
@@ -34605,14 +34585,14 @@ const YP = ({ restored: n }) => {
|
|
|
34605
34585
|
]
|
|
34606
34586
|
}
|
|
34607
34587
|
)
|
|
34608
|
-
] }) : /* @__PURE__ */ R.jsx(
|
|
34588
|
+
] }) : /* @__PURE__ */ R.jsx(J0, {});
|
|
34609
34589
|
};
|
|
34610
34590
|
return /* @__PURE__ */ R.jsxs(
|
|
34611
34591
|
nd,
|
|
34612
34592
|
{
|
|
34613
34593
|
theme: n.theme,
|
|
34614
34594
|
colorMode: f,
|
|
34615
|
-
className:
|
|
34595
|
+
className: ot(
|
|
34616
34596
|
"grid grid-cols-2 xl:grid-cols-[1fr_632px]",
|
|
34617
34597
|
n.embedded ? "w-full h-full" : "fixed inset-0 z-touchpoint"
|
|
34618
34598
|
),
|
|
@@ -34621,7 +34601,7 @@ const YP = ({ restored: n }) => {
|
|
|
34621
34601
|
/* @__PURE__ */ R.jsxs(
|
|
34622
34602
|
"div",
|
|
34623
34603
|
{
|
|
34624
|
-
className:
|
|
34604
|
+
className: ot(
|
|
34625
34605
|
"@container/main",
|
|
34626
34606
|
"w-full bg-background text-primary-80 flex relative flex-col h-full backdrop-blur-overlay",
|
|
34627
34607
|
{
|
|
@@ -34656,9 +34636,9 @@ const YP = ({ restored: n }) => {
|
|
|
34656
34636
|
),
|
|
34657
34637
|
A === "text" ? ce() : /* @__PURE__ */ R.jsxs(R.Fragment, { children: [
|
|
34658
34638
|
_ ? /* @__PURE__ */ R.jsx(
|
|
34659
|
-
|
|
34639
|
+
Hy,
|
|
34660
34640
|
{
|
|
34661
|
-
className:
|
|
34641
|
+
className: ot(
|
|
34662
34642
|
"flex-none",
|
|
34663
34643
|
se === "full" ? "w-full md:max-w-content md:mx-auto" : ""
|
|
34664
34644
|
),
|
|
@@ -34693,20 +34673,17 @@ const YP = ({ restored: n }) => {
|
|
|
34693
34673
|
);
|
|
34694
34674
|
});
|
|
34695
34675
|
sk.displayName = "App";
|
|
34696
|
-
const ak = `/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-content:"";--glow-opacity:0%}}}@layer theme{:root,:host{--color-gray-200:oklch(92.8% .006 264.531);--color-black:#000;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--font-weight-normal:400;--font-weight-bold:700;--animate-ping:ping 1s cubic-bezier(0,0,.2,1)infinite;--blur-sm:8px;--blur-md:12px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--font-sans:inherit;--backdrop-blur-overlay:48px;--container-content:640px;--radius-inner:inherit;--radius-outer:inherit;--z-index-touchpoint:1000;--z-index-launch-button:100;--color-primary-80:inherit;--color-primary-60:inherit;--color-primary-40:inherit;--color-primary-20:inherit;--color-primary-10:inherit;--color-primary-5:inherit;--color-primary-1:inherit;--color-secondary-80:inherit;--color-secondary-60:inherit;--color-secondary-40:inherit;--color-secondary-20:inherit;--color-secondary-10:inherit;--color-secondary-5:inherit;--color-secondary-1:inherit;--color-accent:inherit;--color-accent-20:inherit;--color-background:inherit;--color-overlay:inherit;--color-warning-primary:inherit;--color-warning-secondary:inherit;--color-error-primary:inherit;--color-error-secondary:inherit}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}*,:after,:before,::backdrop{border-color:var(--color-gray-200,currentcolor)}::file-selector-button{border-color:var(--color-gray-200,currentcolor)}button:not(:disabled),[role=button]:not(:disabled){cursor:pointer}*{font-family:var(--font-family)!important}}@layer components;@layer utilities{.\\@container\\/main{container:main/inline-size}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.inset-0{inset:calc(var(--spacing)*0)}.inset-x-0{inset-inline:calc(var(--spacing)*0)}.-top-2{top:calc(var(--spacing)*-2)}.top-0{top:calc(var(--spacing)*0)}.top-1\\/2{top:50%}.right-0{right:calc(var(--spacing)*0)}.right-2{right:calc(var(--spacing)*2)}.bottom-2{bottom:calc(var(--spacing)*2)}.bottom-4{bottom:calc(var(--spacing)*4)}.bottom-\\[72px\\]{bottom:72px}.left-0{left:calc(var(--spacing)*0)}.left-1\\/2{left:50%}.z-10{z-index:10}.z-launch-button{z-index:var(--z-index-launch-button)}.z-touchpoint{z-index:var(--z-index-touchpoint)}.col-span-2{grid-column:span 2/span 2}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.-mx-2{margin-inline:calc(var(--spacing)*-2)}.mx-2{margin-inline:calc(var(--spacing)*2)}.mx-auto{margin-inline:auto}.mr-2{margin-right:calc(var(--spacing)*2)}.mr-10{margin-right:calc(var(--spacing)*10)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.ml-1{margin-left:calc(var(--spacing)*1)}.ml-2{margin-left:calc(var(--spacing)*2)}.ml-3{margin-left:calc(var(--spacing)*3)}.ml-auto{margin-left:auto}.no-scrollbar::-webkit-scrollbar{display:none}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-8{height:calc(var(--spacing)*8)}.h-10{height:calc(var(--spacing)*10)}.h-20{height:calc(var(--spacing)*20)}.h-24{height:calc(var(--spacing)*24)}.h-52{height:calc(var(--spacing)*52)}.h-64{height:calc(var(--spacing)*64)}.h-72{height:calc(var(--spacing)*72)}.h-\\[128px\\]{height:128px}.h-\\[360px\\]{height:360px}.h-full{height:100%}.h-px{height:1px}.max-h-\\[40vh\\]{max-height:40vh}.max-h-\\[360px\\]{max-height:360px}.max-h-full{max-height:100%}.min-h-full{min-height:100%}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-6{width:calc(var(--spacing)*6)}.w-8{width:calc(var(--spacing)*8)}.w-10{width:calc(var(--spacing)*10)}.w-20{width:calc(var(--spacing)*20)}.w-24{width:calc(var(--spacing)*24)}.w-72{width:calc(var(--spacing)*72)}.w-80{width:calc(var(--spacing)*80)}.w-\\[128px\\]{width:128px}.w-\\[calc\\(100vw-16px\\)\\]{width:calc(100vw - 16px)}.w-fit{width:fit-content}.w-full{width:100%}.max-w-\\[360px\\]{max-width:360px}.max-w-content{max-width:var(--container-content)}.flex-none{flex:none}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.-translate-x-1\\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-0{--tw-translate-x:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-full{--tw-translate-x:100%;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-1\\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-0{--tw-translate-y:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-ping{animation:var(--animate-ping)}.cursor-pointer{cursor:pointer}.resize{resize:both}.resize-none{resize:none}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-\\[320px_1fr\\]{grid-template-columns:320px 1fr}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-end{align-items:flex-end}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.gap-6{gap:calc(var(--spacing)*6)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*6)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*6)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-8>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*8)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*8)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-px>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(1px*var(--tw-space-y-reverse));margin-block-end:calc(1px*calc(1 - var(--tw-space-y-reverse)))}.gap-x-2{column-gap:calc(var(--spacing)*2)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded-full{border-radius:3.40282e38px}.rounded-inner{border-radius:var(--radius-inner)}.rounded-outer{border-radius:var(--radius-outer)}.border{border-style:var(--tw-border-style);border-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-background{border-color:var(--color-background)}.border-primary-10{border-color:var(--color-primary-10)}.bg-\\[rgb\\(40\\,41\\,47\\)\\]{background-color:#28292f}.bg-\\[rgb\\(175\\,175\\,175\\)\\]{background-color:#afafaf}.bg-accent{background-color:var(--color-accent)}.bg-background{background-color:var(--color-background)}.bg-black\\/50{background-color:#00000080}@supports (color:color-mix(in lab,red,red)){.bg-black\\/50{background-color:color-mix(in oklab,var(--color-black)50%,transparent)}}.bg-current{background-color:currentColor}.bg-error-primary{background-color:var(--color-error-primary)}.bg-error-secondary{background-color:var(--color-error-secondary)}.bg-overlay{background-color:var(--color-overlay)}.bg-primary-5{background-color:var(--color-primary-5)}.bg-primary-10{background-color:var(--color-primary-10)}.bg-primary-80{background-color:var(--color-primary-80)}.bg-secondary-40{background-color:var(--color-secondary-40)}.bg-secondary-60{background-color:var(--color-secondary-60)}.bg-transparent{background-color:#0000}.bg-cover{background-size:cover}.bg-center{background-position:50%}.object-cover{object-fit:cover}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.px-1\\.5{padding-inline:calc(var(--spacing)*1.5)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-5{padding-inline:calc(var(--spacing)*5)}.py-0\\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-2{padding-block:calc(var(--spacing)*2)}.py-2\\.5{padding-block:calc(var(--spacing)*2.5)}.py-4{padding-block:calc(var(--spacing)*4)}.pr-2{padding-right:calc(var(--spacing)*2)}.pl-4{padding-left:calc(var(--spacing)*4)}.pl-10{padding-left:calc(var(--spacing)*10)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.font-sans{font-family:var(--font-sans)}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.whitespace-pre-wrap{white-space:pre-wrap}.text-accent{color:var(--color-accent)}.text-accent-20{color:var(--color-accent-20)}.text-error-primary{color:var(--color-error-primary)}.text-primary-20{color:var(--color-primary-20)}.text-primary-40{color:var(--color-primary-40)}.text-primary-60{color:var(--color-primary-60)}.text-primary-80{color:var(--color-primary-80)}.text-secondary-80{color:var(--color-secondary-80)}.placeholder-primary-20::placeholder{color:var(--color-primary-20)}.placeholder-primary-40::placeholder{color:var(--color-primary-40)}.caret-accent{caret-color:var(--color-accent)}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-\\[0\\.01\\]{opacity:.01}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline-hidden{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.outline-hidden{outline-offset:2px;outline:2px solid #0000}}.outline-0{outline-style:var(--tw-outline-style);outline-width:0}.outline-2{outline-style:var(--tw-outline-style);outline-width:2px}.outline-accent{outline-color:var(--color-accent)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.backdrop-blur-md{--tw-backdrop-blur:blur(var(--blur-md));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-blur-overlay{--tw-backdrop-blur:blur(var(--backdrop-blur-overlay));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-500{--tw-duration:.5s;transition-duration:.5s}.outline-solid{--tw-outline-style:solid;outline-style:solid}.placeholder\\:text-primary-40::placeholder{color:var(--color-primary-40)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:inset-0:before{content:var(--tw-content);inset:calc(var(--spacing)*0)}.before\\:-z-10:before{content:var(--tw-content);z-index:-10}.before\\:bg-transparent:before{content:var(--tw-content);background-color:#0000}.before\\:transition-colors:before{content:var(--tw-content);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.before\\:content-\\[\\'\\'\\]:before{--tw-content:"";content:var(--tw-content)}.after\\:pointer-events-none:after{content:var(--tw-content);pointer-events:none}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:inset-0:after{content:var(--tw-content);inset:calc(var(--spacing)*0)}.after\\:rounded-outer:after{content:var(--tw-content);border-radius:var(--radius-outer)}.after\\:content-\\[\\'\\'\\]:after{--tw-content:"";content:var(--tw-content)}.last\\:h-full:last-child{height:100%}@media (hover:hover){.hover\\:bg-primary-5:hover{background-color:var(--color-primary-5)}.hover\\:bg-primary-10:hover{background-color:var(--color-primary-10)}.hover\\:bg-primary-80:hover{background-color:var(--color-primary-80)}.hover\\:bg-secondary-20:hover{background-color:var(--color-secondary-20)}.hover\\:text-primary-80:hover{color:var(--color-primary-80)}.hover\\:after\\:bg-primary-10:hover:after{content:var(--tw-content);background-color:var(--color-primary-10)}}.focus\\:outline-0:focus{outline-style:var(--tw-outline-style);outline-width:0}.focus\\:before\\:bg-primary-5:focus:before{content:var(--tw-content);background-color:var(--color-primary-5)}.focus\\:before\\:bg-primary-10:focus:before{content:var(--tw-content);background-color:var(--color-primary-10)}.focus\\:before\\:bg-primary-40:focus:before{content:var(--tw-content);background-color:var(--color-primary-40)}.focus\\:before\\:bg-primary-80:focus:before{content:var(--tw-content);background-color:var(--color-primary-80)}@media (hover:hover){.enabled\\:hover\\:before\\:bg-primary-5:enabled:hover:before{content:var(--tw-content);background-color:var(--color-primary-5)}.enabled\\:hover\\:before\\:bg-primary-10:enabled:hover:before{content:var(--tw-content);background-color:var(--color-primary-10)}.enabled\\:hover\\:before\\:bg-primary-40:enabled:hover:before{content:var(--tw-content);background-color:var(--color-primary-40)}.enabled\\:hover\\:before\\:bg-primary-80:enabled:hover:before{content:var(--tw-content);background-color:var(--color-primary-80)}}.enabled\\:active\\:before\\:bg-secondary-10:enabled:active:before{content:var(--tw-content);background-color:var(--color-secondary-10)}.disabled\\:bg-accent-20:disabled{background-color:var(--color-accent-20)}.disabled\\:bg-primary-5:disabled{background-color:var(--color-primary-5)}.disabled\\:bg-primary-10:disabled{background-color:var(--color-primary-10)}.disabled\\:bg-secondary-20:disabled{background-color:var(--color-secondary-20)}.disabled\\:text-primary-20:disabled{color:var(--color-primary-20)}.disabled\\:text-primary-40:disabled{color:var(--color-primary-40)}.disabled\\:text-secondary-40:disabled{color:var(--color-secondary-40)}@media (min-width:48rem){.md\\:absolute{position:absolute}.md\\:left-0{left:calc(var(--spacing)*0)}.md\\:-order-1{order:-1}.md\\:col-span-1{grid-column:span 1/span 1}.md\\:mx-auto{margin-inline:auto}.md\\:block{display:block}.md\\:w-fit{width:fit-content}.md\\:max-w-content{max-width:var(--container-content)}.md\\:-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x)var(--tw-translate-y)}.md\\:translate-y-0{--tw-translate-y:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.md\\:transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.md\\:flex-col{flex-direction:column}.md\\:p-3{padding:calc(var(--spacing)*3)}}@media (min-width:80rem){.xl\\:grid-cols-\\[1fr_632px\\]{grid-template-columns:1fr 632px}}@container main (min-width:48rem){.\\@3xl\\/main\\:absolute{position:absolute}.\\@3xl\\/main\\:top-0{top:calc(var(--spacing)*0)}.\\@3xl\\/main\\:right-0{right:calc(var(--spacing)*0)}.\\@3xl\\/main\\:left-0{left:calc(var(--spacing)*0)}}}@property --glow-opacity{syntax:"<percentage>";inherits:false;initial-value:0%}.fullscreen-error svg{--glow-opacity:0%;filter:drop-shadow(0 0 6px #0000);animation:3s infinite error-glow}@supports (color:color-mix(in lab,red,red)){.fullscreen-error svg{filter:drop-shadow(0 0 6px color-mix(in srgb,transparent,var(--accent)var(--glow-opacity)))}}@keyframes error-glow{0%{color:var(--primary);fill-opacity:.08;--glow-opacity:0%}22%{color:var(--primary);fill-opacity:.08;--glow-opacity:0%}35%{color:var(--accent);fill-opacity:.8;--glow-opacity:60%}45%{color:var(--accent);fill-opacity:.7;--glow-opacity:30%}55%{color:var(--accent);fill-opacity:.6;--glow-opacity:60%}60%{color:var(--primary);fill-opacity:.08;--glow-opacity:0%}to{color:var(--primary);fill-opacity:.08;--glow-opacity:0%}}.markdown ul{list-style-type:disc;list-style-position:inside}.markdown ol{list-style-type:decimal;list-style-position:inside}.markdown hr{border-color:var(--color-primary-20)}.markdown a{text-decoration-line:underline}.markdown h1,.markdown h2,.markdown h3{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@keyframes ping{75%,to{opacity:0;transform:scale(2)}}`, gc = ({ children: n, className: e, faded: t }) => /* @__PURE__ */ R.jsx(
|
|
34676
|
+
const ak = `/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-font-weight:initial;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-content:"";--glow-opacity:0%}}}@layer theme{:root,:host{--color-gray-200:oklch(92.8% .006 264.531);--color-black:#000;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--font-weight-normal:400;--font-weight-bold:700;--animate-ping:ping 1s cubic-bezier(0,0,.2,1)infinite;--blur-sm:8px;--blur-md:12px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--font-sans:inherit;--backdrop-blur-overlay:48px;--container-content:640px;--radius-inner:inherit;--radius-outer:inherit;--z-index-touchpoint:1000;--z-index-launch-button:100;--color-primary-80:inherit;--color-primary-60:inherit;--color-primary-40:inherit;--color-primary-20:inherit;--color-primary-10:inherit;--color-primary-5:inherit;--color-primary-1:inherit;--color-secondary-80:inherit;--color-secondary-60:inherit;--color-secondary-40:inherit;--color-secondary-20:inherit;--color-secondary-10:inherit;--color-secondary-5:inherit;--color-secondary-1:inherit;--color-accent:inherit;--color-accent-20:inherit;--color-background:inherit;--color-overlay:inherit;--color-warning-primary:inherit;--color-warning-secondary:inherit;--color-error-primary:inherit;--color-error-secondary:inherit}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}*,:after,:before,::backdrop{border-color:var(--color-gray-200,currentcolor)}::file-selector-button{border-color:var(--color-gray-200,currentcolor)}button:not(:disabled),[role=button]:not(:disabled){cursor:pointer}*{font-family:var(--font-family)!important}}@layer components;@layer utilities{.\\@container\\/main{container:main/inline-size}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.inset-0{inset:calc(var(--spacing)*0)}.inset-x-0{inset-inline:calc(var(--spacing)*0)}.-top-2{top:calc(var(--spacing)*-2)}.top-0{top:calc(var(--spacing)*0)}.top-1\\/2{top:50%}.right-0{right:calc(var(--spacing)*0)}.right-2{right:calc(var(--spacing)*2)}.bottom-2{bottom:calc(var(--spacing)*2)}.bottom-4{bottom:calc(var(--spacing)*4)}.bottom-\\[72px\\]{bottom:72px}.left-0{left:calc(var(--spacing)*0)}.left-1\\/2{left:50%}.z-10{z-index:10}.z-launch-button{z-index:var(--z-index-launch-button)}.z-touchpoint{z-index:var(--z-index-touchpoint)}.col-span-2{grid-column:span 2/span 2}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.-mx-2{margin-inline:calc(var(--spacing)*-2)}.mx-2{margin-inline:calc(var(--spacing)*2)}.mx-auto{margin-inline:auto}.mr-2{margin-right:calc(var(--spacing)*2)}.mr-10{margin-right:calc(var(--spacing)*10)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.ml-1{margin-left:calc(var(--spacing)*1)}.ml-2{margin-left:calc(var(--spacing)*2)}.ml-3{margin-left:calc(var(--spacing)*3)}.ml-auto{margin-left:auto}.no-scrollbar::-webkit-scrollbar{display:none}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-8{height:calc(var(--spacing)*8)}.h-10{height:calc(var(--spacing)*10)}.h-20{height:calc(var(--spacing)*20)}.h-24{height:calc(var(--spacing)*24)}.h-52{height:calc(var(--spacing)*52)}.h-64{height:calc(var(--spacing)*64)}.h-72{height:calc(var(--spacing)*72)}.h-\\[128px\\]{height:128px}.h-\\[360px\\]{height:360px}.h-full{height:100%}.h-px{height:1px}.max-h-\\[40vh\\]{max-height:40vh}.max-h-\\[360px\\]{max-height:360px}.max-h-full{max-height:100%}.min-h-full{min-height:100%}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-6{width:calc(var(--spacing)*6)}.w-8{width:calc(var(--spacing)*8)}.w-10{width:calc(var(--spacing)*10)}.w-20{width:calc(var(--spacing)*20)}.w-24{width:calc(var(--spacing)*24)}.w-72{width:calc(var(--spacing)*72)}.w-80{width:calc(var(--spacing)*80)}.w-\\[128px\\]{width:128px}.w-\\[calc\\(100vw-16px\\)\\]{width:calc(100vw - 16px)}.w-fit{width:fit-content}.w-full{width:100%}.max-w-\\[360px\\]{max-width:360px}.max-w-content{max-width:var(--container-content)}.flex-none{flex:none}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.-translate-x-1\\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-0{--tw-translate-x:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-1\\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-0{--tw-translate-y:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-ping{animation:var(--animate-ping)}.cursor-pointer{cursor:pointer}.resize{resize:both}.resize-none{resize:none}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-\\[320px_1fr\\]{grid-template-columns:320px 1fr}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-end{align-items:flex-end}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.gap-6{gap:calc(var(--spacing)*6)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*6)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*6)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-8>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*8)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*8)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-px>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(1px*var(--tw-space-y-reverse));margin-block-end:calc(1px*calc(1 - var(--tw-space-y-reverse)))}.gap-x-2{column-gap:calc(var(--spacing)*2)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded-full{border-radius:3.40282e38px}.rounded-inner{border-radius:var(--radius-inner)}.rounded-outer{border-radius:var(--radius-outer)}.border{border-style:var(--tw-border-style);border-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-background{border-color:var(--color-background)}.border-primary-10{border-color:var(--color-primary-10)}.bg-\\[rgb\\(40\\,41\\,47\\)\\]{background-color:#28292f}.bg-\\[rgb\\(175\\,175\\,175\\)\\]{background-color:#afafaf}.bg-accent{background-color:var(--color-accent)}.bg-background{background-color:var(--color-background)}.bg-black\\/50{background-color:#00000080}@supports (color:color-mix(in lab,red,red)){.bg-black\\/50{background-color:color-mix(in oklab,var(--color-black)50%,transparent)}}.bg-current{background-color:currentColor}.bg-error-primary{background-color:var(--color-error-primary)}.bg-error-secondary{background-color:var(--color-error-secondary)}.bg-overlay{background-color:var(--color-overlay)}.bg-primary-5{background-color:var(--color-primary-5)}.bg-primary-10{background-color:var(--color-primary-10)}.bg-primary-80{background-color:var(--color-primary-80)}.bg-secondary-40{background-color:var(--color-secondary-40)}.bg-secondary-60{background-color:var(--color-secondary-60)}.bg-transparent{background-color:#0000}.bg-cover{background-size:cover}.bg-center{background-position:50%}.object-cover{object-fit:cover}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.px-1\\.5{padding-inline:calc(var(--spacing)*1.5)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-5{padding-inline:calc(var(--spacing)*5)}.py-0\\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-2{padding-block:calc(var(--spacing)*2)}.py-2\\.5{padding-block:calc(var(--spacing)*2.5)}.py-4{padding-block:calc(var(--spacing)*4)}.pr-2{padding-right:calc(var(--spacing)*2)}.pl-4{padding-left:calc(var(--spacing)*4)}.pl-10{padding-left:calc(var(--spacing)*10)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.font-sans{font-family:var(--font-sans)}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.whitespace-pre-wrap{white-space:pre-wrap}.text-accent{color:var(--color-accent)}.text-accent-20{color:var(--color-accent-20)}.text-error-primary{color:var(--color-error-primary)}.text-primary-20{color:var(--color-primary-20)}.text-primary-40{color:var(--color-primary-40)}.text-primary-60{color:var(--color-primary-60)}.text-primary-80{color:var(--color-primary-80)}.text-secondary-80{color:var(--color-secondary-80)}.placeholder-primary-20::placeholder{color:var(--color-primary-20)}.placeholder-primary-40::placeholder{color:var(--color-primary-40)}.caret-accent{caret-color:var(--color-accent)}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-\\[0\\.01\\]{opacity:.01}.outline-hidden{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.outline-hidden{outline-offset:2px;outline:2px solid #0000}}.outline-0{outline-style:var(--tw-outline-style);outline-width:0}.outline-2{outline-style:var(--tw-outline-style);outline-width:2px}.outline-accent{outline-color:var(--color-accent)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.backdrop-blur-md{--tw-backdrop-blur:blur(var(--blur-md));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-blur-overlay{--tw-backdrop-blur:blur(var(--backdrop-blur-overlay));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-500{--tw-duration:.5s;transition-duration:.5s}.outline-solid{--tw-outline-style:solid;outline-style:solid}.placeholder\\:text-primary-40::placeholder{color:var(--color-primary-40)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:inset-0:before{content:var(--tw-content);inset:calc(var(--spacing)*0)}.before\\:-z-10:before{content:var(--tw-content);z-index:-10}.before\\:bg-transparent:before{content:var(--tw-content);background-color:#0000}.before\\:transition-colors:before{content:var(--tw-content);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.before\\:content-\\[\\'\\'\\]:before{--tw-content:"";content:var(--tw-content)}.after\\:pointer-events-none:after{content:var(--tw-content);pointer-events:none}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:inset-0:after{content:var(--tw-content);inset:calc(var(--spacing)*0)}.after\\:rounded-outer:after{content:var(--tw-content);border-radius:var(--radius-outer)}.after\\:content-\\[\\'\\'\\]:after{--tw-content:"";content:var(--tw-content)}.last\\:h-full:last-child{height:100%}@media (hover:hover){.hover\\:bg-primary-5:hover{background-color:var(--color-primary-5)}.hover\\:bg-primary-10:hover{background-color:var(--color-primary-10)}.hover\\:bg-primary-80:hover{background-color:var(--color-primary-80)}.hover\\:bg-secondary-20:hover{background-color:var(--color-secondary-20)}.hover\\:text-primary-80:hover{color:var(--color-primary-80)}.hover\\:after\\:bg-primary-10:hover:after{content:var(--tw-content);background-color:var(--color-primary-10)}}.focus\\:outline-0:focus{outline-style:var(--tw-outline-style);outline-width:0}.focus\\:before\\:bg-primary-5:focus:before{content:var(--tw-content);background-color:var(--color-primary-5)}.focus\\:before\\:bg-primary-10:focus:before{content:var(--tw-content);background-color:var(--color-primary-10)}.focus\\:before\\:bg-primary-40:focus:before{content:var(--tw-content);background-color:var(--color-primary-40)}.focus\\:before\\:bg-primary-80:focus:before{content:var(--tw-content);background-color:var(--color-primary-80)}@media (hover:hover){.enabled\\:hover\\:before\\:bg-primary-5:enabled:hover:before{content:var(--tw-content);background-color:var(--color-primary-5)}.enabled\\:hover\\:before\\:bg-primary-10:enabled:hover:before{content:var(--tw-content);background-color:var(--color-primary-10)}.enabled\\:hover\\:before\\:bg-primary-40:enabled:hover:before{content:var(--tw-content);background-color:var(--color-primary-40)}.enabled\\:hover\\:before\\:bg-primary-80:enabled:hover:before{content:var(--tw-content);background-color:var(--color-primary-80)}}.enabled\\:active\\:before\\:bg-secondary-10:enabled:active:before{content:var(--tw-content);background-color:var(--color-secondary-10)}.disabled\\:bg-accent-20:disabled{background-color:var(--color-accent-20)}.disabled\\:bg-primary-5:disabled{background-color:var(--color-primary-5)}.disabled\\:bg-primary-10:disabled{background-color:var(--color-primary-10)}.disabled\\:bg-secondary-20:disabled{background-color:var(--color-secondary-20)}.disabled\\:text-primary-20:disabled{color:var(--color-primary-20)}.disabled\\:text-primary-40:disabled{color:var(--color-primary-40)}.disabled\\:text-secondary-40:disabled{color:var(--color-secondary-40)}@media (min-width:48rem){.md\\:absolute{position:absolute}.md\\:left-0{left:calc(var(--spacing)*0)}.md\\:-order-1{order:-1}.md\\:col-span-1{grid-column:span 1/span 1}.md\\:mx-auto{margin-inline:auto}.md\\:block{display:block}.md\\:w-fit{width:fit-content}.md\\:max-w-content{max-width:var(--container-content)}.md\\:-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x)var(--tw-translate-y)}.md\\:translate-y-0{--tw-translate-y:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.md\\:transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.md\\:flex-col{flex-direction:column}.md\\:p-3{padding:calc(var(--spacing)*3)}}@media (min-width:80rem){.xl\\:grid-cols-\\[1fr_632px\\]{grid-template-columns:1fr 632px}}@container main (min-width:48rem){.\\@3xl\\/main\\:absolute{position:absolute}.\\@3xl\\/main\\:top-0{top:calc(var(--spacing)*0)}.\\@3xl\\/main\\:right-0{right:calc(var(--spacing)*0)}.\\@3xl\\/main\\:left-0{left:calc(var(--spacing)*0)}}}@property --glow-opacity{syntax:"<percentage>";inherits:false;initial-value:0%}.fullscreen-error svg{--glow-opacity:0%;filter:drop-shadow(0 0 6px #0000);animation:3s infinite error-glow}@supports (color:color-mix(in lab,red,red)){.fullscreen-error svg{filter:drop-shadow(0 0 6px color-mix(in srgb,transparent,var(--accent)var(--glow-opacity)))}}@keyframes error-glow{0%{color:var(--primary);fill-opacity:.08;--glow-opacity:0%}22%{color:var(--primary);fill-opacity:.08;--glow-opacity:0%}35%{color:var(--accent);fill-opacity:.8;--glow-opacity:60%}45%{color:var(--accent);fill-opacity:.7;--glow-opacity:30%}55%{color:var(--accent);fill-opacity:.6;--glow-opacity:60%}60%{color:var(--primary);fill-opacity:.08;--glow-opacity:0%}to{color:var(--primary);fill-opacity:.08;--glow-opacity:0%}}.markdown ul{list-style-type:disc;list-style-position:inside}.markdown ol{list-style-type:decimal;list-style-position:inside}.markdown hr{border-color:var(--color-primary-20)}.markdown a{text-decoration-line:underline}.markdown h1,.markdown h2,.markdown h3{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@keyframes ping{75%,to{opacity:0;transform:scale(2)}}`, gc = ({ children: n, className: e, faded: t }) => /* @__PURE__ */ R.jsx(
|
|
34697
34677
|
"p",
|
|
34698
34678
|
{
|
|
34699
|
-
className:
|
|
34679
|
+
className: ot(
|
|
34700
34680
|
"text-base",
|
|
34701
34681
|
t ? "text-primary-60" : "text-primary-80",
|
|
34702
34682
|
e
|
|
34703
34683
|
),
|
|
34704
34684
|
children: n
|
|
34705
34685
|
}
|
|
34706
|
-
),
|
|
34707
|
-
children: n,
|
|
34708
|
-
className: e
|
|
34709
|
-
}) => /* @__PURE__ */ R.jsx("p", { className: st("text-sm text-primary-60", e), children: n });
|
|
34686
|
+
), YP = ({ children: n, className: e }) => /* @__PURE__ */ R.jsx("p", { className: ot("text-sm text-primary-60", e), children: n });
|
|
34710
34687
|
/*! *****************************************************************************
|
|
34711
34688
|
Copyright (c) Microsoft Corporation.
|
|
34712
34689
|
|
|
@@ -34727,7 +34704,7 @@ var lk = function(n, e) {
|
|
|
34727
34704
|
} || function(t, r) {
|
|
34728
34705
|
for (var o in r) r.hasOwnProperty(o) && (t[o] = r[o]);
|
|
34729
34706
|
})(n, e);
|
|
34730
|
-
},
|
|
34707
|
+
}, QP, Vu, XP = (function(n) {
|
|
34731
34708
|
/*!
|
|
34732
34709
|
Copyright (c) 2017 Jed Watson.
|
|
34733
34710
|
Licensed under the MIT License (MIT), see
|
|
@@ -34751,7 +34728,7 @@ var lk = function(n, e) {
|
|
|
34751
34728
|
}
|
|
34752
34729
|
n.exports ? (t.default = t, n.exports = t) : window.classNames = t;
|
|
34753
34730
|
})();
|
|
34754
|
-
}(Vu = { path:
|
|
34731
|
+
}(Vu = { path: QP, exports: {}, require: function(n, e) {
|
|
34755
34732
|
return function() {
|
|
34756
34733
|
throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs");
|
|
34757
34734
|
}(e == null && Vu.path);
|
|
@@ -34775,7 +34752,7 @@ function Sp(n, e, t) {
|
|
|
34775
34752
|
}, p;
|
|
34776
34753
|
}
|
|
34777
34754
|
Sp.debounce = Sp;
|
|
34778
|
-
var
|
|
34755
|
+
var ZP = Sp;
|
|
34779
34756
|
(function(n, e) {
|
|
34780
34757
|
e === void 0 && (e = {});
|
|
34781
34758
|
var t = e.insertAt;
|
|
@@ -34809,7 +34786,7 @@ var eR = Sp;
|
|
|
34809
34786
|
cursor: -webkit-grab;
|
|
34810
34787
|
cursor: grab; }
|
|
34811
34788
|
`);
|
|
34812
|
-
var Uh,
|
|
34789
|
+
var Uh, eR = (Uh = "indiana-scroll-container", function(n, e) {
|
|
34813
34790
|
if (!n) return Uh;
|
|
34814
34791
|
var t;
|
|
34815
34792
|
typeof n == "string" ? t = n : e = n;
|
|
@@ -34818,7 +34795,7 @@ var Uh, tR = (Uh = "indiana-scroll-container", function(n, e) {
|
|
|
34818
34795
|
var l = e[a];
|
|
34819
34796
|
return l && (o += " " + (typeof l == "boolean" ? r + "--" + a : r + "--" + a + "_" + l)), o;
|
|
34820
34797
|
}, "") : "");
|
|
34821
|
-
}),
|
|
34798
|
+
}), tR = function(n) {
|
|
34822
34799
|
function e(t) {
|
|
34823
34800
|
var r = n.call(this, t) || this;
|
|
34824
34801
|
return r.onEndScroll = function() {
|
|
@@ -34848,7 +34825,7 @@ var Uh, tR = (Uh = "indiana-scroll-container", function(n, e) {
|
|
|
34848
34825
|
r.pressed && (r.processMove(o, o.clientX, o.clientY), o.preventDefault(), r.props.stopPropagation && o.stopPropagation());
|
|
34849
34826
|
}, r.onMouseUp = function(o) {
|
|
34850
34827
|
r.pressed && (r.started ? r.processEnd() : (r.internal = !1, r.pressed = !1, r.forceUpdate(), r.props.onClick && r.props.onClick(o)), o.preventDefault(), r.props.stopPropagation && o.stopPropagation());
|
|
34851
|
-
}, r.container = Ms.createRef(), r.onEndScroll =
|
|
34828
|
+
}, r.container = Ms.createRef(), r.onEndScroll = ZP(r.onEndScroll, 300), r.scrolling = !1, r.started = !1, r.pressed = !1, r.internal = !1, r.getRef = r.getRef.bind(r), r;
|
|
34852
34829
|
}
|
|
34853
34830
|
return function(t, r) {
|
|
34854
34831
|
function o() {
|
|
@@ -34898,7 +34875,7 @@ var Uh, tR = (Uh = "indiana-scroll-container", function(n, e) {
|
|
|
34898
34875
|
});
|
|
34899
34876
|
}, e.prototype.render = function() {
|
|
34900
34877
|
var t = this.props, r = t.children, o = t.draggingClassName, a = t.className, l = t.style, u = t.hideScrollbars, f = t.component;
|
|
34901
|
-
return Ms.createElement(f, { className:
|
|
34878
|
+
return Ms.createElement(f, { className: XP(a, this.pressed && o, eR({ dragging: this.pressed, "hide-scrollbars": u, "native-scroll": this.isMobile })), style: l, ref: this.getRef, onScroll: this.onScroll }, r);
|
|
34902
34879
|
}, e.defaultProps = { nativeMobileScroll: !0, hideScrollbars: !0, activationDistance: 10, vertical: !0, horizontal: !0, stopPropagation: !1, style: {}, component: "div", buttons: [0] }, e;
|
|
34903
34880
|
}(be.PureComponent);
|
|
34904
34881
|
const ck = be.createContext({ recentlyEndedScrolling: !1 }), uk = (n) => {
|
|
@@ -34913,9 +34890,9 @@ const ck = be.createContext({ recentlyEndedScrolling: !1 }), uk = (n) => {
|
|
|
34913
34890
|
clearTimeout(r);
|
|
34914
34891
|
};
|
|
34915
34892
|
}, [e, t]), /* @__PURE__ */ R.jsx(ck.Provider, { value: { recentlyEndedScrolling: e }, children: /* @__PURE__ */ R.jsx(
|
|
34916
|
-
|
|
34893
|
+
tR,
|
|
34917
34894
|
{
|
|
34918
|
-
className:
|
|
34895
|
+
className: ot(
|
|
34919
34896
|
"flex gap-x-2 overflow-x-auto no-scrollbar px-2 -mx-2",
|
|
34920
34897
|
n.className
|
|
34921
34898
|
),
|
|
@@ -34933,7 +34910,7 @@ const ck = be.createContext({ recentlyEndedScrolling: !1 }), uk = (n) => {
|
|
|
34933
34910
|
href: o,
|
|
34934
34911
|
newTab: a
|
|
34935
34912
|
}) => {
|
|
34936
|
-
const l =
|
|
34913
|
+
const l = ot(
|
|
34937
34914
|
"block shrink-0 rounded-inner overflow-hidden",
|
|
34938
34915
|
"w-80 space-y-px",
|
|
34939
34916
|
t ? "outline-solid outline-2 outline-accent" : "",
|
|
@@ -34965,18 +34942,28 @@ const ck = be.createContext({ recentlyEndedScrolling: !1 }), uk = (n) => {
|
|
|
34965
34942
|
}) => /* @__PURE__ */ R.jsx("img", { src: n, alt: e, className: "w-full h-52 object-cover" }), bm = ({
|
|
34966
34943
|
left: n,
|
|
34967
34944
|
right: e,
|
|
34968
|
-
|
|
34969
|
-
|
|
34970
|
-
|
|
34971
|
-
|
|
34972
|
-
|
|
34973
|
-
|
|
34974
|
-
|
|
34945
|
+
className: t,
|
|
34946
|
+
icon: r
|
|
34947
|
+
}) => /* @__PURE__ */ R.jsxs(
|
|
34948
|
+
"div",
|
|
34949
|
+
{
|
|
34950
|
+
className: ot(
|
|
34951
|
+
t,
|
|
34952
|
+
"flex items-center relative justify-between gap-2 bg-primary-5 px-3 py-4"
|
|
34953
|
+
),
|
|
34954
|
+
children: [
|
|
34955
|
+
/* @__PURE__ */ R.jsx("div", { className: "space-y-1 text-left", children: n }),
|
|
34956
|
+
/* @__PURE__ */ R.jsx("div", { className: "space-y-1 text-right", children: e }),
|
|
34957
|
+
r != null ? /* @__PURE__ */ R.jsx(r, { className: "text-primary-60 w-4 h-4 absolute top-1/2 left-1/2 transform -translate-y-1/2 -translate-x-1/2" }) : null
|
|
34958
|
+
]
|
|
34959
|
+
}
|
|
34960
|
+
);
|
|
34961
|
+
function d0(n, e) {
|
|
34975
34962
|
(e == null || e > n.length) && (e = n.length);
|
|
34976
34963
|
for (var t = 0, r = Array(e); t < e; t++) r[t] = n[t];
|
|
34977
34964
|
return r;
|
|
34978
34965
|
}
|
|
34979
|
-
function
|
|
34966
|
+
function nR(n, e, t) {
|
|
34980
34967
|
return e = Td(e), function(r, o) {
|
|
34981
34968
|
if (o && (typeof o == "object" || typeof o == "function")) return o;
|
|
34982
34969
|
if (o !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
@@ -34986,10 +34973,10 @@ function rR(n, e, t) {
|
|
|
34986
34973
|
}(r);
|
|
34987
34974
|
}(n, hk() ? Reflect.construct(e, t || [], Td(n).constructor) : e.apply(n, t));
|
|
34988
34975
|
}
|
|
34989
|
-
function
|
|
34976
|
+
function rR(n, e) {
|
|
34990
34977
|
if (!(n instanceof e)) throw new TypeError("Cannot call a class as a function");
|
|
34991
34978
|
}
|
|
34992
|
-
function
|
|
34979
|
+
function iR(n, e, t) {
|
|
34993
34980
|
return Object.defineProperty(n, "prototype", { writable: !1 }), n;
|
|
34994
34981
|
}
|
|
34995
34982
|
function dk(n, e) {
|
|
@@ -34997,9 +34984,9 @@ function dk(n, e) {
|
|
|
34997
34984
|
if (!t) {
|
|
34998
34985
|
if (Array.isArray(n) || (t = function(f, p) {
|
|
34999
34986
|
if (f) {
|
|
35000
|
-
if (typeof f == "string") return
|
|
34987
|
+
if (typeof f == "string") return d0(f, p);
|
|
35001
34988
|
var g = {}.toString.call(f).slice(8, -1);
|
|
35002
|
-
return g === "Object" && f.constructor && (g = f.constructor.name), g === "Map" || g === "Set" ? Array.from(f) : g === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g) ?
|
|
34989
|
+
return g === "Object" && f.constructor && (g = f.constructor.name), g === "Map" || g === "Set" ? Array.from(f) : g === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g) ? d0(f, p) : void 0;
|
|
35003
34990
|
}
|
|
35004
34991
|
}(n)) || e) {
|
|
35005
34992
|
t && (n = t);
|
|
@@ -35059,7 +35046,7 @@ function Td(n) {
|
|
|
35059
35046
|
return e.__proto__ || Object.getPrototypeOf(e);
|
|
35060
35047
|
}, Td(n);
|
|
35061
35048
|
}
|
|
35062
|
-
function
|
|
35049
|
+
function oR(n, e) {
|
|
35063
35050
|
if (typeof e != "function" && e !== null) throw new TypeError("Super expression must either be null or a function");
|
|
35064
35051
|
n.prototype = Object.create(e && e.prototype, { constructor: { value: n, writable: !0, configurable: !0 } }), Object.defineProperty(n, "prototype", { writable: !1 }), e && Tp(n, e);
|
|
35065
35052
|
}
|
|
@@ -35073,7 +35060,7 @@ function hk() {
|
|
|
35073
35060
|
return !!n;
|
|
35074
35061
|
})();
|
|
35075
35062
|
}
|
|
35076
|
-
function
|
|
35063
|
+
function f0(n, e) {
|
|
35077
35064
|
var t = Object.keys(n);
|
|
35078
35065
|
if (Object.getOwnPropertySymbols) {
|
|
35079
35066
|
var r = Object.getOwnPropertySymbols(n);
|
|
@@ -35086,9 +35073,9 @@ function fy(n, e) {
|
|
|
35086
35073
|
function zu(n) {
|
|
35087
35074
|
for (var e = 1; e < arguments.length; e++) {
|
|
35088
35075
|
var t = arguments[e] != null ? arguments[e] : {};
|
|
35089
|
-
e % 2 ?
|
|
35076
|
+
e % 2 ? f0(Object(t), !0).forEach(function(r) {
|
|
35090
35077
|
fk(n, r, t[r]);
|
|
35091
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(t)) :
|
|
35078
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(t)) : f0(Object(t)).forEach(function(r) {
|
|
35092
35079
|
Object.defineProperty(n, r, Object.getOwnPropertyDescriptor(t, r));
|
|
35093
35080
|
});
|
|
35094
35081
|
}
|
|
@@ -35170,31 +35157,31 @@ function vk(n, e) {
|
|
|
35170
35157
|
var t = e.mask, r = e.replacement, o = typeof r == "string" ? Ga(r) : r, a = RegExp("[^".concat(Object.keys(o).join(""), "]"), "g");
|
|
35171
35158
|
return mk(nc(n, { replacementChars: t.replace(a, ""), replacement: o, separate: !1 }), { mask: t, replacement: o, separate: !1, showMask: !1 });
|
|
35172
35159
|
}
|
|
35173
|
-
function
|
|
35160
|
+
function sR(n, e) {
|
|
35174
35161
|
var t = e.mask, r = e.replacement, o = typeof r == "string" ? Ga(r) : r, a = _p(n, { mask: t, replacement: o, separate: !1 }), l = RegExp("[^".concat(Object.keys(o).join(""), "]"), "g");
|
|
35175
35162
|
return nc(a, { replacementChars: t.replace(l, ""), replacement: o, separate: !1 });
|
|
35176
35163
|
}
|
|
35177
|
-
function
|
|
35164
|
+
function aR(n, e) {
|
|
35178
35165
|
var t = e.mask, r = e.replacement, o = typeof r == "string" ? Ga(r) : r;
|
|
35179
35166
|
return gk(vk(n, { mask: t, replacement: o }), { mask: t, replacement: o });
|
|
35180
35167
|
}
|
|
35181
|
-
var
|
|
35182
|
-
function
|
|
35183
|
-
return
|
|
35168
|
+
var lR = ["[", "]", "\\", "/", "^", "$", ".", "|", "?", "*", "+", "(", ")", "{", "}"];
|
|
35169
|
+
function h0(n) {
|
|
35170
|
+
return lR.includes(n) ? "\\".concat(n) : n;
|
|
35184
35171
|
}
|
|
35185
|
-
function
|
|
35172
|
+
function cR(n, e) {
|
|
35186
35173
|
for (var t = e.mask, r = e.replacement, o = typeof r == "string" ? Ga(r) : r, a = n === "partial" || n === "partial-inexact", l = n === "full" || n === "partial", u = "", f = 0; f < t.length; f++) {
|
|
35187
35174
|
var p = t[f];
|
|
35188
|
-
f === 0 && (u = "^"), a && (u += "("), u += Object.prototype.hasOwnProperty.call(o, p) ? "".concat(l ? "(?!".concat(
|
|
35175
|
+
f === 0 && (u = "^"), a && (u += "("), u += Object.prototype.hasOwnProperty.call(o, p) ? "".concat(l ? "(?!".concat(h0(p), ")") : "", "(").concat(o[p].source, ")") : h0(p), f === t.length - 1 && (a && (u += ")?".repeat(t.length)), u += "$");
|
|
35189
35176
|
}
|
|
35190
35177
|
return u;
|
|
35191
35178
|
}
|
|
35192
|
-
function
|
|
35179
|
+
function uR(n, e) {
|
|
35193
35180
|
return new Proxy(n, { set: function(t, r, o) {
|
|
35194
35181
|
return r === "current" && (o !== n.current && (n.current !== null && e.unregister(n.current), o !== null && e.register(o)), t[r] = o, !0);
|
|
35195
35182
|
} });
|
|
35196
35183
|
}
|
|
35197
|
-
function
|
|
35184
|
+
function dR(n, e, t) {
|
|
35198
35185
|
return e = vc(e), function(r, o) {
|
|
35199
35186
|
if (o && (typeof o == "object" || typeof o == "function")) return o;
|
|
35200
35187
|
if (o !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
@@ -35210,7 +35197,7 @@ function yk(n, e) {
|
|
|
35210
35197
|
function bk(n, e, t) {
|
|
35211
35198
|
return Object.defineProperty(n, "prototype", { writable: !1 }), n;
|
|
35212
35199
|
}
|
|
35213
|
-
function
|
|
35200
|
+
function fR(n, e, t) {
|
|
35214
35201
|
return (e = function(r) {
|
|
35215
35202
|
var o = function(a, l) {
|
|
35216
35203
|
if (typeof a != "object" || !a) return a;
|
|
@@ -35230,7 +35217,7 @@ function vc(n) {
|
|
|
35230
35217
|
return e.__proto__ || Object.getPrototypeOf(e);
|
|
35231
35218
|
}, vc(n);
|
|
35232
35219
|
}
|
|
35233
|
-
function
|
|
35220
|
+
function hR(n, e) {
|
|
35234
35221
|
if (typeof e != "function" && e !== null) throw new TypeError("Super expression must either be null or a function");
|
|
35235
35222
|
n.prototype = Object.create(e && e.prototype, { constructor: { value: n, writable: !0, configurable: !0 } }), Object.defineProperty(n, "prototype", { writable: !1 }), e && yc(n, e);
|
|
35236
35223
|
}
|
|
@@ -35244,7 +35231,7 @@ function km() {
|
|
|
35244
35231
|
return !!n;
|
|
35245
35232
|
})();
|
|
35246
35233
|
}
|
|
35247
|
-
function
|
|
35234
|
+
function p0(n, e) {
|
|
35248
35235
|
var t = Object.keys(n);
|
|
35249
35236
|
if (Object.getOwnPropertySymbols) {
|
|
35250
35237
|
var r = Object.getOwnPropertySymbols(n);
|
|
@@ -35254,18 +35241,18 @@ function py(n, e) {
|
|
|
35254
35241
|
}
|
|
35255
35242
|
return t;
|
|
35256
35243
|
}
|
|
35257
|
-
function
|
|
35244
|
+
function m0(n) {
|
|
35258
35245
|
for (var e = 1; e < arguments.length; e++) {
|
|
35259
35246
|
var t = arguments[e] != null ? arguments[e] : {};
|
|
35260
|
-
e % 2 ?
|
|
35261
|
-
|
|
35262
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(t)) :
|
|
35247
|
+
e % 2 ? p0(Object(t), !0).forEach(function(r) {
|
|
35248
|
+
fR(n, r, t[r]);
|
|
35249
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(t)) : p0(Object(t)).forEach(function(r) {
|
|
35263
35250
|
Object.defineProperty(n, r, Object.getOwnPropertyDescriptor(t, r));
|
|
35264
35251
|
});
|
|
35265
35252
|
}
|
|
35266
35253
|
return n;
|
|
35267
35254
|
}
|
|
35268
|
-
function
|
|
35255
|
+
function pR(n, e) {
|
|
35269
35256
|
if (n == null) return {};
|
|
35270
35257
|
var t, r, o = function(l, u) {
|
|
35271
35258
|
if (l == null) return {};
|
|
@@ -35324,18 +35311,18 @@ function Ep(n) {
|
|
|
35324
35311
|
var rc = function(n) {
|
|
35325
35312
|
function e(t) {
|
|
35326
35313
|
var r;
|
|
35327
|
-
return yk(this, e), (r =
|
|
35314
|
+
return yk(this, e), (r = dR(this, e, [t])).name = "SyntheticChangeError", r;
|
|
35328
35315
|
}
|
|
35329
|
-
return
|
|
35330
|
-
}(Ep(Error)),
|
|
35316
|
+
return hR(e, n), bk(e);
|
|
35317
|
+
}(Ep(Error)), g0, mR = ["options"], gR = ["text", "email", "tel", "search", "url"], kk = bk(function n(e) {
|
|
35331
35318
|
var t = e.init, r = e.tracking;
|
|
35332
35319
|
yk(this, n);
|
|
35333
35320
|
var o = /* @__PURE__ */ new WeakMap();
|
|
35334
35321
|
this.register = function(a) {
|
|
35335
35322
|
var l;
|
|
35336
|
-
if (
|
|
35323
|
+
if (gR.includes(a.type)) {
|
|
35337
35324
|
var u = (l = a._wrapperState) !== null && l !== void 0 ? l : {}, f = u.initialValue, p = f === void 0 ? "" : f, g = u.controlled, C = g !== void 0 && g, _ = t({ initialValue: a.value || p, controlled: C }), T = _.value, N = _.options, A = { value: T, options: N, fallbackOptions: N }, H = { id: -1, cachedId: -1 }, z = { value: "", selectionStart: 0, selectionEnd: 0 }, ee = Object.getOwnPropertyDescriptor("_valueTracker" in a ? a : HTMLInputElement.prototype, "value");
|
|
35338
|
-
Object.defineProperty(a, "value",
|
|
35325
|
+
Object.defineProperty(a, "value", m0(m0({}, ee), {}, { set: function(G) {
|
|
35339
35326
|
var se;
|
|
35340
35327
|
z.value = G, ee == null || (se = ee.set) === null || se === void 0 || se.call(a, G);
|
|
35341
35328
|
} })), a.value = T;
|
|
@@ -35363,7 +35350,7 @@ var rc = function(n) {
|
|
|
35363
35350
|
re = q, Pe = q + me;
|
|
35364
35351
|
}
|
|
35365
35352
|
A.value !== Ie ? A.options = A.fallbackOptions : A.fallbackOptions = A.options;
|
|
35366
|
-
var ce = A.options, Ce = r({ inputType: fe, previousValue: Ie, previousOptions: ce, value: $, addedValue: We, changeStart: re, changeEnd: Pe, selectionStart: q, selectionEnd: Y }), de = Ce.options, O =
|
|
35353
|
+
var ce = A.options, Ce = r({ inputType: fe, previousValue: Ie, previousOptions: ce, value: $, addedValue: We, changeStart: re, changeEnd: Pe, selectionStart: q, selectionEnd: Y }), de = Ce.options, O = pR(Ce, mR);
|
|
35367
35354
|
a.value = O.value, a.setSelectionRange(O.selectionStart, O.selectionEnd), A.value = O.value, A.options = de, z.selectionStart = O.selectionStart, z.selectionEnd = O.selectionEnd, (se = a._valueTracker) === null || se === void 0 || (Q = se.setValue) === null || Q === void 0 || Q.call(se, Ie);
|
|
35368
35355
|
} catch (te) {
|
|
35369
35356
|
if (a.value = z.value, a.setSelectionRange(z.selectionStart, z.selectionEnd), G.preventDefault(), G.stopPropagation(), te.name !== "SyntheticChangeError") throw te;
|
|
@@ -35376,13 +35363,13 @@ var rc = function(n) {
|
|
|
35376
35363
|
l !== void 0 && (a.removeEventListener("focus", l.onFocus), a.removeEventListener("blur", l.onBlur), a.removeEventListener("input", l.onInput), o.delete(a));
|
|
35377
35364
|
};
|
|
35378
35365
|
});
|
|
35379
|
-
|
|
35380
|
-
function
|
|
35366
|
+
g0 = kk, Object.defineProperty(g0.prototype, Symbol.toStringTag, { writable: !1, enumerable: !1, configurable: !0, value: "Input" });
|
|
35367
|
+
function vR(n, e) {
|
|
35381
35368
|
return be.useCallback(function(t) {
|
|
35382
35369
|
n.current = t, typeof e == "function" ? e(t) : xp(e) === "object" && e !== null && (e.current = t);
|
|
35383
35370
|
}, [n, e]);
|
|
35384
35371
|
}
|
|
35385
|
-
var
|
|
35372
|
+
var v0, yR = ["track", "modify"];
|
|
35386
35373
|
function Ia(n) {
|
|
35387
35374
|
var e, t, r, o;
|
|
35388
35375
|
return { mask: (e = n.mask) !== null && e !== void 0 ? e : "", replacement: typeof n.replacement == "string" ? Ga(n.replacement) : (t = n.replacement) !== null && t !== void 0 ? t : {}, showMask: (r = n.showMask) !== null && r !== void 0 && r, separate: (o = n.separate) !== null && o !== void 0 && o, track: n.track, modify: n.modify };
|
|
@@ -35390,11 +35377,11 @@ function Ia(n) {
|
|
|
35390
35377
|
var wk = function(n) {
|
|
35391
35378
|
function e() {
|
|
35392
35379
|
var t, r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
35393
|
-
return
|
|
35380
|
+
return rR(this, e), (t = nR(this, e, [{ init: function(o) {
|
|
35394
35381
|
var a = o.initialValue, l = o.controlled, u = Ia(r), f = u.mask, p = u.replacement, g = u.separate, C = u.showMask;
|
|
35395
35382
|
return a = l || a ? a : C ? f : "", { value: a, options: { mask: f, replacement: p, separate: g } };
|
|
35396
35383
|
}, tracking: function(o) {
|
|
35397
|
-
var a = o.inputType, l = o.previousValue, u = o.previousOptions, f = o.addedValue, p = o.changeStart, g = o.changeEnd, C = Ia(r), _ = C.track, T = C.modify, N = pk(C,
|
|
35384
|
+
var a = o.inputType, l = o.previousValue, u = o.previousOptions, f = o.addedValue, p = o.changeStart, g = o.changeEnd, C = Ia(r), _ = C.track, T = C.modify, N = pk(C, yR), A = N.mask, H = N.replacement, z = N.showMask, ee = N.separate, U = zu(zu({}, a === "insert" ? { inputType: a, data: f } : { inputType: a, data: null }), {}, { value: l, selectionStart: p, selectionEnd: g }), L = _ == null ? void 0 : _(U);
|
|
35398
35385
|
if (L === !1) throw new rc("Custom tracking stop.");
|
|
35399
35386
|
L === null ? f = "" : L !== !0 && L !== void 0 && (f = L);
|
|
35400
35387
|
var F = T == null ? void 0 : T(U);
|
|
@@ -35433,29 +35420,29 @@ var wk = function(n) {
|
|
|
35433
35420
|
} }])).format = function(o) {
|
|
35434
35421
|
return vk(o, Ia(r));
|
|
35435
35422
|
}, t.formatToParts = function(o) {
|
|
35436
|
-
return lR(o, Ia(r));
|
|
35437
|
-
}, t.unformat = function(o) {
|
|
35438
35423
|
return aR(o, Ia(r));
|
|
35424
|
+
}, t.unformat = function(o) {
|
|
35425
|
+
return sR(o, Ia(r));
|
|
35439
35426
|
}, t.generatePattern = function(o) {
|
|
35440
|
-
return
|
|
35427
|
+
return cR(o, Ia(r));
|
|
35441
35428
|
}, t;
|
|
35442
35429
|
}
|
|
35443
|
-
return
|
|
35430
|
+
return oR(e, kk), iR(e);
|
|
35444
35431
|
}();
|
|
35445
|
-
|
|
35446
|
-
function
|
|
35432
|
+
v0 = wk, Object.defineProperty(v0.prototype, Symbol.toStringTag, { writable: !1, enumerable: !1, configurable: !0, value: "Mask" });
|
|
35433
|
+
function bR() {
|
|
35447
35434
|
var n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, e = n.mask, t = n.replacement, r = n.showMask, o = n.separate, a = n.track, l = n.modify, u = be.useRef(null), f = be.useRef({ mask: e, replacement: t, showMask: r, separate: o, track: a, modify: l });
|
|
35448
35435
|
return f.current.mask = e, f.current.replacement = t, f.current.showMask = r, f.current.separate = o, f.current.track = a, f.current.modify = l, be.useMemo(function() {
|
|
35449
|
-
return
|
|
35436
|
+
return uR(u, new wk(f.current));
|
|
35450
35437
|
}, []);
|
|
35451
35438
|
}
|
|
35452
|
-
var
|
|
35453
|
-
function
|
|
35454
|
-
var t = n.component, r = n.mask, o = n.replacement, a = n.showMask, l = n.separate, u = n.track, f = n.modify, p = pk(n,
|
|
35439
|
+
var kR = ["component", "mask", "replacement", "showMask", "separate", "track", "modify"];
|
|
35440
|
+
function wR(n, e) {
|
|
35441
|
+
var t = n.component, r = n.mask, o = n.replacement, a = n.showMask, l = n.separate, u = n.track, f = n.modify, p = pk(n, kR), g = bR({ mask: r, replacement: o, showMask: a, separate: l, track: u, modify: f }), C = vR(g, e);
|
|
35455
35442
|
return t ? Ms.createElement(t, Sd({ ref: C }, p)) : Ms.createElement("input", Sd({ ref: C }, p));
|
|
35456
35443
|
}
|
|
35457
|
-
var
|
|
35458
|
-
const
|
|
35444
|
+
var CR = be.forwardRef(wR);
|
|
35445
|
+
const SR = {
|
|
35459
35446
|
mask: "MM / DD / YYYY",
|
|
35460
35447
|
replacement: { D: /\d/, M: /\d/, Y: /\d/ },
|
|
35461
35448
|
showMask: !0
|
|
@@ -35464,19 +35451,19 @@ const TR = {
|
|
|
35464
35451
|
return /* @__PURE__ */ R.jsxs(
|
|
35465
35452
|
"div",
|
|
35466
35453
|
{
|
|
35467
|
-
className:
|
|
35454
|
+
className: ot(
|
|
35468
35455
|
"relative bg-primary-5 flex items-center justify-between pl-4 py-2 pr-2 rounded-outer transition-colors duration-500 before:content-[''] before:absolute before:transition-colors before:-z-10 before:inset-0 before:bg-transparent",
|
|
35469
35456
|
t ? "" : "hover:bg-secondary-20",
|
|
35470
35457
|
e
|
|
35471
35458
|
),
|
|
35472
35459
|
children: [
|
|
35473
35460
|
/* @__PURE__ */ R.jsxs("div", { className: "flex items-center", children: [
|
|
35474
|
-
/* @__PURE__ */ R.jsx(
|
|
35461
|
+
/* @__PURE__ */ R.jsx(O0, { className: "w-4 h-4 text-primary-60" }),
|
|
35475
35462
|
/* @__PURE__ */ R.jsx(
|
|
35476
|
-
|
|
35463
|
+
CR,
|
|
35477
35464
|
{
|
|
35478
|
-
...
|
|
35479
|
-
className:
|
|
35465
|
+
...SR,
|
|
35466
|
+
className: ot(
|
|
35480
35467
|
"bg-transparent text-primary-80 outline-0 ml-2 py-2.5",
|
|
35481
35468
|
t ? "placeholder-primary-20 pointer-events-none" : "placeholder-primary-40"
|
|
35482
35469
|
),
|
|
@@ -35507,51 +35494,57 @@ const TR = {
|
|
|
35507
35494
|
n != null && (n.type === "slot" && e.sendSlots({ [n.id]: t }), n.type === "context" && e.sendContext({ [n.id]: t }), n.type === "choiceId" && e.sendChoice(
|
|
35508
35495
|
typeof t == "string" ? t : JSON.stringify(t)
|
|
35509
35496
|
));
|
|
35510
|
-
},
|
|
35511
|
-
const
|
|
35512
|
-
() => Sk(n.$saveAs,
|
|
35513
|
-
[n.$saveAs,
|
|
35497
|
+
}, TR = ({ data: n, className: e, conversationHandler: t }) => {
|
|
35498
|
+
const r = be.useMemo(
|
|
35499
|
+
() => Sk(n.$saveAs, t),
|
|
35500
|
+
[n.$saveAs, t]
|
|
35514
35501
|
);
|
|
35515
|
-
return /* @__PURE__ */ R.jsx(Ck, { onSubmit:
|
|
35516
|
-
},
|
|
35502
|
+
return /* @__PURE__ */ R.jsx(Ck, { className: e, onSubmit: r });
|
|
35503
|
+
}, _R = ({
|
|
35504
|
+
data: n,
|
|
35505
|
+
className: e,
|
|
35506
|
+
renderedAsOverlay: t
|
|
35507
|
+
}) => /* @__PURE__ */ R.jsxs(vm, { className: ot(e), children: [
|
|
35517
35508
|
n.thumbnail != null ? /* @__PURE__ */ R.jsx(ym, { src: n.thumbnail, alt: n.thumbnailAlt }) : null,
|
|
35518
|
-
n.rows != null ? n.rows.map((
|
|
35509
|
+
n.rows != null ? n.rows.map((r, o) => /* @__PURE__ */ R.jsx(
|
|
35519
35510
|
bm,
|
|
35520
35511
|
{
|
|
35521
|
-
|
|
35522
|
-
|
|
35512
|
+
className: t ? "backdrop-blur-overlay" : "",
|
|
35513
|
+
left: /* @__PURE__ */ R.jsx(gc, { faded: !0, children: r.label }),
|
|
35514
|
+
right: /* @__PURE__ */ R.jsx(gc, { children: r.value })
|
|
35523
35515
|
},
|
|
35524
|
-
|
|
35516
|
+
o
|
|
35525
35517
|
)) : null
|
|
35526
|
-
] }),
|
|
35527
|
-
const [
|
|
35528
|
-
() => Sk(n.$saveAs,
|
|
35529
|
-
[n.$saveAs,
|
|
35530
|
-
),
|
|
35531
|
-
|
|
35518
|
+
] }), xR = ({ data: n, className: e, conversationHandler: t, renderedAsOverlay: r }) => {
|
|
35519
|
+
const [o, a] = be.useState(null), l = be.useMemo(
|
|
35520
|
+
() => Sk(n.$saveAs, t),
|
|
35521
|
+
[n.$saveAs, t]
|
|
35522
|
+
), u = (f) => {
|
|
35523
|
+
a(f), l(f);
|
|
35532
35524
|
};
|
|
35533
|
-
return /* @__PURE__ */ R.jsx(uk, { children: n.cards.map((
|
|
35525
|
+
return /* @__PURE__ */ R.jsx(uk, { className: e, children: n.cards.map((f, p) => /* @__PURE__ */ R.jsxs(
|
|
35534
35526
|
vm,
|
|
35535
35527
|
{
|
|
35536
|
-
|
|
35537
|
-
|
|
35538
|
-
|
|
35528
|
+
className: r ? "backdrop-blur-overlay" : "",
|
|
35529
|
+
selected: f.id === o,
|
|
35530
|
+
onClick: f.id != null && n.$saveAs != null ? () => {
|
|
35531
|
+
f.id != null && u(f.id);
|
|
35539
35532
|
} : void 0,
|
|
35540
35533
|
children: [
|
|
35541
|
-
|
|
35542
|
-
|
|
35534
|
+
f.thumbnail != null ? /* @__PURE__ */ R.jsx(ym, { src: f.thumbnail, alt: f.thumbnailAlt }) : null,
|
|
35535
|
+
f.rows != null ? f.rows.map((g, C) => /* @__PURE__ */ R.jsx(
|
|
35543
35536
|
bm,
|
|
35544
35537
|
{
|
|
35545
|
-
left: /* @__PURE__ */ R.jsx(gc, { faded: !0, children:
|
|
35546
|
-
right: /* @__PURE__ */ R.jsx(gc, { children:
|
|
35538
|
+
left: /* @__PURE__ */ R.jsx(gc, { faded: !0, children: g.label }),
|
|
35539
|
+
right: /* @__PURE__ */ R.jsx(gc, { children: g.value })
|
|
35547
35540
|
},
|
|
35548
|
-
|
|
35541
|
+
C
|
|
35549
35542
|
)) : null
|
|
35550
35543
|
]
|
|
35551
35544
|
},
|
|
35552
|
-
|
|
35545
|
+
f.id ?? p
|
|
35553
35546
|
)) });
|
|
35554
|
-
},
|
|
35547
|
+
}, NR = ({ children: n, mode: e, theme: t }) => /* @__PURE__ */ R.jsxs(R.Fragment, { children: [
|
|
35555
35548
|
/* @__PURE__ */ R.jsx("style", { children: ak }),
|
|
35556
35549
|
/* @__PURE__ */ R.jsx(
|
|
35557
35550
|
nd,
|
|
@@ -35562,14 +35555,14 @@ const TR = {
|
|
|
35562
35555
|
children: n
|
|
35563
35556
|
}
|
|
35564
35557
|
)
|
|
35565
|
-
] }),
|
|
35558
|
+
] }), jR = Ww.version, ER = (n) => (
|
|
35566
35559
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
|
35567
35560
|
_w.bind((e, ...t) => be.createElement(n[e] ?? e, ...t))
|
|
35568
|
-
),
|
|
35561
|
+
), FR = ER({
|
|
35569
35562
|
TextButton: Os,
|
|
35570
35563
|
IconButton: xn,
|
|
35571
35564
|
BaseText: gc,
|
|
35572
|
-
SmallText:
|
|
35565
|
+
SmallText: YP,
|
|
35573
35566
|
DateInput: Ck,
|
|
35574
35567
|
Carousel: uk,
|
|
35575
35568
|
CustomCard: vm,
|
|
@@ -35577,13 +35570,13 @@ const TR = {
|
|
|
35577
35570
|
CustomCardImageRow: ym,
|
|
35578
35571
|
Ripple: ac,
|
|
35579
35572
|
...rS
|
|
35580
|
-
}),
|
|
35573
|
+
}), PR = () => {
|
|
35581
35574
|
const n = crypto.randomUUID();
|
|
35582
35575
|
return sessionStorage.setItem("nlxConversationId", n), n;
|
|
35583
|
-
},
|
|
35576
|
+
}, RR = () => {
|
|
35584
35577
|
const n = crypto.randomUUID();
|
|
35585
35578
|
return localStorage.setItem("nlxUserId", n), n;
|
|
35586
|
-
},
|
|
35579
|
+
}, IR = (n) => {
|
|
35587
35580
|
const e = n.config.applicationUrl ?? // Make this not break and require a major version bump
|
|
35588
35581
|
("botUrl" in n.config ? n.config.botUrl : void 0);
|
|
35589
35582
|
"botUrl" in n.config && console.warn(
|
|
@@ -35593,17 +35586,17 @@ const TR = {
|
|
|
35593
35586
|
);
|
|
35594
35587
|
const t = {
|
|
35595
35588
|
...n.modalityComponents ?? n.customModalities ?? {},
|
|
35596
|
-
DefaultDateInput:
|
|
35597
|
-
DefaultCard:
|
|
35598
|
-
DefaultCarousel:
|
|
35589
|
+
DefaultDateInput: TR,
|
|
35590
|
+
DefaultCard: _R,
|
|
35591
|
+
DefaultCarousel: xR
|
|
35599
35592
|
};
|
|
35600
35593
|
return {
|
|
35601
35594
|
...n,
|
|
35602
35595
|
config: {
|
|
35603
35596
|
...n.config,
|
|
35604
35597
|
applicationUrl: e,
|
|
35605
|
-
conversationId: n.config.conversationId ?? sessionStorage.getItem("nlxConversationId") ??
|
|
35606
|
-
userId: n.config.userId ?? localStorage.getItem("nlxUserId") ??
|
|
35598
|
+
conversationId: n.config.conversationId ?? sessionStorage.getItem("nlxConversationId") ?? PR(),
|
|
35599
|
+
userId: n.config.userId ?? localStorage.getItem("nlxUserId") ?? RR(),
|
|
35607
35600
|
bidirectional: n.bidirectional == null ? n.config.bidirectional ?? !1 : !0
|
|
35608
35601
|
},
|
|
35609
35602
|
input: n.input ?? "text",
|
|
@@ -35626,7 +35619,7 @@ let Tk = () => {
|
|
|
35626
35619
|
};
|
|
35627
35620
|
};
|
|
35628
35621
|
var Va, bc, Xi, za, kc, Pp;
|
|
35629
|
-
class
|
|
35622
|
+
class MR extends HTMLElement {
|
|
35630
35623
|
constructor() {
|
|
35631
35624
|
super(...arguments);
|
|
35632
35625
|
xa(this, kc);
|
|
@@ -35694,7 +35687,7 @@ class AR extends HTMLElement {
|
|
|
35694
35687
|
}
|
|
35695
35688
|
Va = new WeakMap(), bc = new WeakMap(), Xi = new WeakMap(), za = new WeakMap(), kc = new WeakSet(), Pp = function() {
|
|
35696
35689
|
if (Cr(this, bc) ?? Nl(this, bc, this.attachShadow({ mode: "closed" })), Cr(this, Va) ?? Nl(this, Va, Tw.createRoot(Cr(this, bc))), Cr(this, Xi) != null) {
|
|
35697
|
-
const t =
|
|
35690
|
+
const t = IR(
|
|
35698
35691
|
Cr(this, Xi)
|
|
35699
35692
|
);
|
|
35700
35693
|
Cr(this, Va).render(
|
|
@@ -35718,11 +35711,11 @@ Va = new WeakMap(), bc = new WeakMap(), Xi = new WeakMap(), za = new WeakMap(),
|
|
|
35718
35711
|
);
|
|
35719
35712
|
}
|
|
35720
35713
|
};
|
|
35721
|
-
const
|
|
35714
|
+
const AR = (n, e) => {
|
|
35722
35715
|
customElements.get(n) == null && customElements.define(n, e);
|
|
35723
35716
|
};
|
|
35724
|
-
|
|
35725
|
-
const
|
|
35717
|
+
AR("nlx-touchpoint", MR);
|
|
35718
|
+
const UR = (n) => new Promise((e) => {
|
|
35726
35719
|
const t = document.createElement("nlx-touchpoint");
|
|
35727
35720
|
t.embedded = !1, t.onRef = (r) => {
|
|
35728
35721
|
e({
|
|
@@ -35754,13 +35747,13 @@ export {
|
|
|
35754
35747
|
Ck as DateInput,
|
|
35755
35748
|
xn as IconButton,
|
|
35756
35749
|
rS as Icons,
|
|
35757
|
-
|
|
35750
|
+
NR as PreviewContainer,
|
|
35758
35751
|
Ms as React,
|
|
35759
35752
|
ac as Ripple,
|
|
35760
|
-
|
|
35753
|
+
YP as SmallText,
|
|
35761
35754
|
Os as TextButton,
|
|
35762
|
-
|
|
35763
|
-
|
|
35764
|
-
|
|
35765
|
-
|
|
35755
|
+
BP as analyzePageForms,
|
|
35756
|
+
UR as create,
|
|
35757
|
+
FR as html,
|
|
35758
|
+
jR as version
|
|
35766
35759
|
};
|