@eloquentai/chat-sdk 0.33.1-dev → 0.33.2-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/chat/chat.hook.d.ts +1 -1
- package/dist/components/chat/sdk-initialization.hook.d.ts +1 -1
- package/dist/{index-DKRnNaRL.js → index-D8M6x5pL.js} +2 -2
- package/dist/{index-DKRnNaRL.js.map → index-D8M6x5pL.js.map} +1 -1
- package/dist/{index-Bx3nf1cm.js → index-M37y5jG1.js} +183 -183
- package/dist/{index-Bx3nf1cm.js.map → index-M37y5jG1.js.map} +1 -1
- package/dist/index.mjs +1 -1
- package/dist/lib/eloquent-ai-api-client.d.ts +1 -1
- package/package.json +1 -1
|
@@ -6,16 +6,16 @@ import Wv, { createPortal as gl } from "react-dom";
|
|
|
6
6
|
import Hv from "react-dom/client";
|
|
7
7
|
try {
|
|
8
8
|
let e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {}, t = new e.Error().stack;
|
|
9
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
9
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "7b6299bd-3700-4c7e-8270-b8ecb8e04477", e._sentryDebugIdIdentifier = "sentry-dbid-7b6299bd-3700-4c7e-8270-b8ecb8e04477");
|
|
10
10
|
} catch {
|
|
11
11
|
}
|
|
12
12
|
{
|
|
13
13
|
let e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
14
|
-
e.SENTRY_RELEASE = { id: "
|
|
14
|
+
e.SENTRY_RELEASE = { id: "aa9ecf510f760d3aa8fa8486c4a1834d3400fb1b" };
|
|
15
15
|
}
|
|
16
16
|
if (typeof window < "u") {
|
|
17
17
|
const e = "development";
|
|
18
|
-
import("./index-
|
|
18
|
+
import("./index-D8M6x5pL.js").then((t) => {
|
|
19
19
|
t.init({
|
|
20
20
|
dsn: void 0,
|
|
21
21
|
environment: e,
|
|
@@ -30273,7 +30273,7 @@ const JO = (e, t = {}) => (n) => {
|
|
|
30273
30273
|
json_string: "json-string",
|
|
30274
30274
|
regex: ""
|
|
30275
30275
|
// do not set
|
|
30276
|
-
},
|
|
30276
|
+
}, eN = (e, t, n, r) => {
|
|
30277
30277
|
const o = n;
|
|
30278
30278
|
o.type = "string";
|
|
30279
30279
|
const { minimum: i, maximum: a, format: s, patterns: l, contentEncoding: u } = e._zod.bag;
|
|
@@ -30286,15 +30286,15 @@ const JO = (e, t = {}) => (n) => {
|
|
|
30286
30286
|
}))
|
|
30287
30287
|
]);
|
|
30288
30288
|
}
|
|
30289
|
-
},
|
|
30289
|
+
}, tN = (e, t, n, r) => {
|
|
30290
30290
|
t.target === "openapi-3.0" ? (n.type = "string", n.nullable = !0, n.enum = [null]) : n.type = "null";
|
|
30291
|
-
},
|
|
30291
|
+
}, nN = (e, t, n, r) => {
|
|
30292
30292
|
n.not = {};
|
|
30293
|
-
},
|
|
30294
|
-
},
|
|
30293
|
+
}, rN = (e, t, n, r) => {
|
|
30294
|
+
}, oN = (e, t, n, r) => {
|
|
30295
30295
|
const o = e._zod.def, i = Vg(o.entries);
|
|
30296
30296
|
i.every((a) => typeof a == "number") && (n.type = "number"), i.every((a) => typeof a == "string") && (n.type = "string"), n.enum = i;
|
|
30297
|
-
},
|
|
30297
|
+
}, iN = (e, t, n, r) => {
|
|
30298
30298
|
const o = e._zod.def, i = [];
|
|
30299
30299
|
for (const a of o.values)
|
|
30300
30300
|
if (a === void 0) {
|
|
@@ -30311,19 +30311,19 @@ const JO = (e, t = {}) => (n) => {
|
|
|
30311
30311
|
n.type = a === null ? "null" : typeof a, t.target === "draft-04" || t.target === "openapi-3.0" ? n.enum = [a] : n.const = a;
|
|
30312
30312
|
} else
|
|
30313
30313
|
i.every((a) => typeof a == "number") && (n.type = "number"), i.every((a) => typeof a == "string") && (n.type = "string"), i.every((a) => typeof a == "boolean") && (n.type = "boolean"), i.every((a) => a === null) && (n.type = "null"), n.enum = i;
|
|
30314
|
-
},
|
|
30314
|
+
}, aN = (e, t, n, r) => {
|
|
30315
30315
|
if (t.unrepresentable === "throw")
|
|
30316
30316
|
throw new Error("Custom types cannot be represented in JSON Schema");
|
|
30317
|
-
},
|
|
30317
|
+
}, sN = (e, t, n, r) => {
|
|
30318
30318
|
if (t.unrepresentable === "throw")
|
|
30319
30319
|
throw new Error("Transforms cannot be represented in JSON Schema");
|
|
30320
|
-
},
|
|
30320
|
+
}, lN = (e, t, n, r) => {
|
|
30321
30321
|
const o = n, i = e._zod.def, { minimum: a, maximum: s } = e._zod.bag;
|
|
30322
30322
|
typeof a == "number" && (o.minItems = a), typeof s == "number" && (o.maxItems = s), o.type = "array", o.items = sn(i.element, t, {
|
|
30323
30323
|
...r,
|
|
30324
30324
|
path: [...r.path, "items"]
|
|
30325
30325
|
});
|
|
30326
|
-
},
|
|
30326
|
+
}, cN = (e, t, n, r) => {
|
|
30327
30327
|
const o = n, i = e._zod.def;
|
|
30328
30328
|
o.type = "object", o.properties = {};
|
|
30329
30329
|
const a = i.shape;
|
|
@@ -30340,13 +30340,13 @@ const JO = (e, t = {}) => (n) => {
|
|
|
30340
30340
|
...r,
|
|
30341
30341
|
path: [...r.path, "additionalProperties"]
|
|
30342
30342
|
})) : t.io === "output" && (o.additionalProperties = !1);
|
|
30343
|
-
},
|
|
30343
|
+
}, uN = (e, t, n, r) => {
|
|
30344
30344
|
const o = e._zod.def, i = o.inclusive === !1, a = o.options.map((s, l) => sn(s, t, {
|
|
30345
30345
|
...r,
|
|
30346
30346
|
path: [...r.path, i ? "oneOf" : "anyOf", l]
|
|
30347
30347
|
}));
|
|
30348
30348
|
i ? n.oneOf = a : n.anyOf = a;
|
|
30349
|
-
},
|
|
30349
|
+
}, fN = (e, t, n, r) => {
|
|
30350
30350
|
const o = e._zod.def, i = sn(o.left, t, {
|
|
30351
30351
|
...r,
|
|
30352
30352
|
path: [...r.path, "allOf", 0]
|
|
@@ -30358,25 +30358,25 @@ const JO = (e, t = {}) => (n) => {
|
|
|
30358
30358
|
...s(a) ? a.allOf : [a]
|
|
30359
30359
|
];
|
|
30360
30360
|
n.allOf = l;
|
|
30361
|
-
},
|
|
30361
|
+
}, dN = (e, t, n, r) => {
|
|
30362
30362
|
const o = e._zod.def, i = sn(o.innerType, t, r), a = t.seen.get(e);
|
|
30363
30363
|
t.target === "openapi-3.0" ? (a.ref = o.innerType, n.nullable = !0) : n.anyOf = [i, { type: "null" }];
|
|
30364
|
-
},
|
|
30364
|
+
}, hN = (e, t, n, r) => {
|
|
30365
30365
|
const o = e._zod.def;
|
|
30366
30366
|
sn(o.innerType, t, r);
|
|
30367
30367
|
const i = t.seen.get(e);
|
|
30368
30368
|
i.ref = o.innerType;
|
|
30369
|
-
},
|
|
30369
|
+
}, pN = (e, t, n, r) => {
|
|
30370
30370
|
const o = e._zod.def;
|
|
30371
30371
|
sn(o.innerType, t, r);
|
|
30372
30372
|
const i = t.seen.get(e);
|
|
30373
30373
|
i.ref = o.innerType, n.default = JSON.parse(JSON.stringify(o.defaultValue));
|
|
30374
|
-
},
|
|
30374
|
+
}, mN = (e, t, n, r) => {
|
|
30375
30375
|
const o = e._zod.def;
|
|
30376
30376
|
sn(o.innerType, t, r);
|
|
30377
30377
|
const i = t.seen.get(e);
|
|
30378
30378
|
i.ref = o.innerType, t.io === "input" && (n._prefault = JSON.parse(JSON.stringify(o.defaultValue)));
|
|
30379
|
-
},
|
|
30379
|
+
}, gN = (e, t, n, r) => {
|
|
30380
30380
|
const o = e._zod.def;
|
|
30381
30381
|
sn(o.innerType, t, r);
|
|
30382
30382
|
const i = t.seen.get(e);
|
|
@@ -30388,12 +30388,12 @@ const JO = (e, t = {}) => (n) => {
|
|
|
30388
30388
|
throw new Error("Dynamic catch values are not supported in JSON Schema");
|
|
30389
30389
|
}
|
|
30390
30390
|
n.default = a;
|
|
30391
|
-
},
|
|
30391
|
+
}, vN = (e, t, n, r) => {
|
|
30392
30392
|
const o = e._zod.def, i = o.in._zod.traits.has("$ZodTransform"), a = t.io === "input" ? i ? o.out : o.in : o.out;
|
|
30393
30393
|
sn(a, t, r);
|
|
30394
30394
|
const s = t.seen.get(e);
|
|
30395
30395
|
s.ref = a;
|
|
30396
|
-
},
|
|
30396
|
+
}, bN = (e, t, n, r) => {
|
|
30397
30397
|
const o = e._zod.def;
|
|
30398
30398
|
sn(o.innerType, t, r);
|
|
30399
30399
|
const i = t.seen.get(e);
|
|
@@ -30403,31 +30403,31 @@ const JO = (e, t = {}) => (n) => {
|
|
|
30403
30403
|
sn(o.innerType, t, r);
|
|
30404
30404
|
const i = t.seen.get(e);
|
|
30405
30405
|
i.ref = o.innerType;
|
|
30406
|
-
},
|
|
30406
|
+
}, yN = /* @__PURE__ */ ce("ZodISODateTime", (e, t) => {
|
|
30407
30407
|
CP.init(e, t), Lt.init(e, t);
|
|
30408
30408
|
});
|
|
30409
|
-
function
|
|
30410
|
-
return /* @__PURE__ */ RO(
|
|
30409
|
+
function wN(e) {
|
|
30410
|
+
return /* @__PURE__ */ RO(yN, e);
|
|
30411
30411
|
}
|
|
30412
|
-
const
|
|
30412
|
+
const _N = /* @__PURE__ */ ce("ZodISODate", (e, t) => {
|
|
30413
30413
|
AP.init(e, t), Lt.init(e, t);
|
|
30414
30414
|
});
|
|
30415
|
-
function
|
|
30416
|
-
return /* @__PURE__ */ qO(
|
|
30415
|
+
function xN(e) {
|
|
30416
|
+
return /* @__PURE__ */ qO(_N, e);
|
|
30417
30417
|
}
|
|
30418
|
-
const
|
|
30418
|
+
const kN = /* @__PURE__ */ ce("ZodISOTime", (e, t) => {
|
|
30419
30419
|
TP.init(e, t), Lt.init(e, t);
|
|
30420
30420
|
});
|
|
30421
|
-
function
|
|
30422
|
-
return /* @__PURE__ */ PO(
|
|
30421
|
+
function SN(e) {
|
|
30422
|
+
return /* @__PURE__ */ PO(kN, e);
|
|
30423
30423
|
}
|
|
30424
|
-
const
|
|
30424
|
+
const EN = /* @__PURE__ */ ce("ZodISODuration", (e, t) => {
|
|
30425
30425
|
IP.init(e, t), Lt.init(e, t);
|
|
30426
30426
|
});
|
|
30427
|
-
function
|
|
30428
|
-
return /* @__PURE__ */ OO(
|
|
30427
|
+
function CN(e) {
|
|
30428
|
+
return /* @__PURE__ */ OO(EN, e);
|
|
30429
30429
|
}
|
|
30430
|
-
const
|
|
30430
|
+
const AN = (e, t) => {
|
|
30431
30431
|
Yg.init(e, t), e.name = "ZodError", Object.defineProperties(e, {
|
|
30432
30432
|
format: {
|
|
30433
30433
|
value: (n) => _q(e, n)
|
|
@@ -30456,9 +30456,9 @@ const A2 = (e, t) => {
|
|
|
30456
30456
|
// enumerable: false,
|
|
30457
30457
|
}
|
|
30458
30458
|
});
|
|
30459
|
-
}, Xn = /* @__PURE__ */ ce("ZodError",
|
|
30459
|
+
}, Xn = /* @__PURE__ */ ce("ZodError", AN, {
|
|
30460
30460
|
Parent: Error
|
|
30461
|
-
}),
|
|
30461
|
+
}), TN = /* @__PURE__ */ Wc(Xn), IN = /* @__PURE__ */ Hc(Xn), RN = /* @__PURE__ */ ls(Xn), qN = /* @__PURE__ */ cs(Xn), PN = /* @__PURE__ */ Sq(Xn), ON = /* @__PURE__ */ Eq(Xn), NN = /* @__PURE__ */ Cq(Xn), LN = /* @__PURE__ */ Aq(Xn), DN = /* @__PURE__ */ Tq(Xn), MN = /* @__PURE__ */ Iq(Xn), zN = /* @__PURE__ */ Rq(Xn), FN = /* @__PURE__ */ qq(Xn), eh = /* @__PURE__ */ new WeakMap();
|
|
30462
30462
|
function fs(e, t, n) {
|
|
30463
30463
|
const r = Object.getPrototypeOf(e);
|
|
30464
30464
|
let o = eh.get(r);
|
|
@@ -30495,7 +30495,7 @@ const Ft = /* @__PURE__ */ ce("ZodType", (e, t) => (zt.init(e, t), Object.assign
|
|
|
30495
30495
|
input: Ha(e, "input"),
|
|
30496
30496
|
output: Ha(e, "output")
|
|
30497
30497
|
}
|
|
30498
|
-
}), e.toJSONSchema = JO(e, {}), e.def = t, e.type = t.type, Object.defineProperty(e, "_def", { value: t }), e.parse = (n, r) =>
|
|
30498
|
+
}), e.toJSONSchema = JO(e, {}), e.def = t, e.type = t.type, Object.defineProperty(e, "_def", { value: t }), e.parse = (n, r) => TN(e, n, r, { callee: e.parse }), e.safeParse = (n, r) => RN(e, n, r), e.parseAsync = async (n, r) => IN(e, n, r, { callee: e.parseAsync }), e.safeParseAsync = async (n, r) => qN(e, n, r), e.spa = e.safeParseAsync, e.encode = (n, r) => PN(e, n, r), e.decode = (n, r) => ON(e, n, r), e.encodeAsync = async (n, r) => NN(e, n, r), e.decodeAsync = async (n, r) => LN(e, n, r), e.safeEncode = (n, r) => DN(e, n, r), e.safeDecode = (n, r) => MN(e, n, r), e.safeEncodeAsync = async (n, r) => zN(e, n, r), e.safeDecodeAsync = async (n, r) => FN(e, n, r), fs(e, "ZodType", {
|
|
30499
30499
|
check(...n) {
|
|
30500
30500
|
const r = this.def;
|
|
30501
30501
|
return this.clone($r(r, {
|
|
@@ -30518,10 +30518,10 @@ const Ft = /* @__PURE__ */ ce("ZodType", (e, t) => (zt.init(e, t), Object.assign
|
|
|
30518
30518
|
return n.add(this, r), this;
|
|
30519
30519
|
},
|
|
30520
30520
|
refine(n, r) {
|
|
30521
|
-
return this.check(
|
|
30521
|
+
return this.check(O2(n, r));
|
|
30522
30522
|
},
|
|
30523
30523
|
superRefine(n, r) {
|
|
30524
|
-
return this.check(
|
|
30524
|
+
return this.check(N2(n, r));
|
|
30525
30525
|
},
|
|
30526
30526
|
overwrite(n) {
|
|
30527
30527
|
return this.check(/* @__PURE__ */ Vo(n));
|
|
@@ -30530,7 +30530,7 @@ const Ft = /* @__PURE__ */ ce("ZodType", (e, t) => (zt.init(e, t), Object.assign
|
|
|
30530
30530
|
return rh(this);
|
|
30531
30531
|
},
|
|
30532
30532
|
exactOptional() {
|
|
30533
|
-
return
|
|
30533
|
+
return w2(this);
|
|
30534
30534
|
},
|
|
30535
30535
|
nullable() {
|
|
30536
30536
|
return oh(this);
|
|
@@ -30539,34 +30539,34 @@ const Ft = /* @__PURE__ */ ce("ZodType", (e, t) => (zt.init(e, t), Object.assign
|
|
|
30539
30539
|
return rh(oh(this));
|
|
30540
30540
|
},
|
|
30541
30541
|
nonoptional(n) {
|
|
30542
|
-
return
|
|
30542
|
+
return C2(this, n);
|
|
30543
30543
|
},
|
|
30544
30544
|
array() {
|
|
30545
|
-
return
|
|
30545
|
+
return u2(this);
|
|
30546
30546
|
},
|
|
30547
30547
|
or(n) {
|
|
30548
30548
|
return fv([this, n]);
|
|
30549
30549
|
},
|
|
30550
30550
|
and(n) {
|
|
30551
|
-
return
|
|
30551
|
+
return p2(this, n);
|
|
30552
30552
|
},
|
|
30553
30553
|
transform(n) {
|
|
30554
|
-
return ih(this,
|
|
30554
|
+
return ih(this, b2(n));
|
|
30555
30555
|
},
|
|
30556
30556
|
default(n) {
|
|
30557
|
-
return
|
|
30557
|
+
return k2(this, n);
|
|
30558
30558
|
},
|
|
30559
30559
|
prefault(n) {
|
|
30560
|
-
return
|
|
30560
|
+
return E2(this, n);
|
|
30561
30561
|
},
|
|
30562
30562
|
catch(n) {
|
|
30563
|
-
return
|
|
30563
|
+
return T2(this, n);
|
|
30564
30564
|
},
|
|
30565
30565
|
pipe(n) {
|
|
30566
30566
|
return ih(this, n);
|
|
30567
30567
|
},
|
|
30568
30568
|
readonly() {
|
|
30569
|
-
return
|
|
30569
|
+
return q2(this);
|
|
30570
30570
|
},
|
|
30571
30571
|
describe(n) {
|
|
30572
30572
|
const r = this.clone();
|
|
@@ -30593,7 +30593,7 @@ const Ft = /* @__PURE__ */ ce("ZodType", (e, t) => (zt.init(e, t), Object.assign
|
|
|
30593
30593
|
},
|
|
30594
30594
|
configurable: !0
|
|
30595
30595
|
}), e)), uv = /* @__PURE__ */ ce("_ZodString", (e, t) => {
|
|
30596
|
-
Gc.init(e, t), Ft.init(e, t), e._zod.processJSONSchema = (r, o, i) =>
|
|
30596
|
+
Gc.init(e, t), Ft.init(e, t), e._zod.processJSONSchema = (r, o, i) => eN(e, r, o);
|
|
30597
30597
|
const n = e._zod.bag;
|
|
30598
30598
|
e.format = n.format ?? null, e.minLength = n.minimum ?? null, e.maxLength = n.maximum ?? null, fs(e, "_ZodString", {
|
|
30599
30599
|
regex(...r) {
|
|
@@ -30642,72 +30642,72 @@ const Ft = /* @__PURE__ */ ce("ZodType", (e, t) => (zt.init(e, t), Object.assign
|
|
|
30642
30642
|
return this.check(/* @__PURE__ */ GO());
|
|
30643
30643
|
}
|
|
30644
30644
|
});
|
|
30645
|
-
}),
|
|
30646
|
-
Gc.init(e, t), uv.init(e, t), e.email = (n) => e.check(/* @__PURE__ */ cO($
|
|
30645
|
+
}), UN = /* @__PURE__ */ ce("ZodString", (e, t) => {
|
|
30646
|
+
Gc.init(e, t), uv.init(e, t), e.email = (n) => e.check(/* @__PURE__ */ cO($N, n)), e.url = (n) => e.check(/* @__PURE__ */ pO(jN, n)), e.jwt = (n) => e.check(/* @__PURE__ */ IO(r2, n)), e.emoji = (n) => e.check(/* @__PURE__ */ mO(BN, n)), e.guid = (n) => e.check(/* @__PURE__ */ Qd(th, n)), e.uuid = (n) => e.check(/* @__PURE__ */ uO(wa, n)), e.uuidv4 = (n) => e.check(/* @__PURE__ */ fO(wa, n)), e.uuidv6 = (n) => e.check(/* @__PURE__ */ dO(wa, n)), e.uuidv7 = (n) => e.check(/* @__PURE__ */ hO(wa, n)), e.nanoid = (n) => e.check(/* @__PURE__ */ gO(VN, n)), e.guid = (n) => e.check(/* @__PURE__ */ Qd(th, n)), e.cuid = (n) => e.check(/* @__PURE__ */ vO(WN, n)), e.cuid2 = (n) => e.check(/* @__PURE__ */ bO(HN, n)), e.ulid = (n) => e.check(/* @__PURE__ */ yO(GN, n)), e.base64 = (n) => e.check(/* @__PURE__ */ CO(e2, n)), e.base64url = (n) => e.check(/* @__PURE__ */ AO(t2, n)), e.xid = (n) => e.check(/* @__PURE__ */ wO(ZN, n)), e.ksuid = (n) => e.check(/* @__PURE__ */ _O(YN, n)), e.ipv4 = (n) => e.check(/* @__PURE__ */ xO(XN, n)), e.ipv6 = (n) => e.check(/* @__PURE__ */ kO(KN, n)), e.cidrv4 = (n) => e.check(/* @__PURE__ */ SO(JN, n)), e.cidrv6 = (n) => e.check(/* @__PURE__ */ EO(QN, n)), e.e164 = (n) => e.check(/* @__PURE__ */ TO(n2, n)), e.datetime = (n) => e.check(wN(n)), e.date = (n) => e.check(xN(n)), e.time = (n) => e.check(SN(n)), e.duration = (n) => e.check(CN(n));
|
|
30647
30647
|
});
|
|
30648
30648
|
function Ct(e) {
|
|
30649
|
-
return /* @__PURE__ */ lO(
|
|
30649
|
+
return /* @__PURE__ */ lO(UN, e);
|
|
30650
30650
|
}
|
|
30651
30651
|
const Lt = /* @__PURE__ */ ce("ZodStringFormat", (e, t) => {
|
|
30652
30652
|
Nt.init(e, t), uv.init(e, t);
|
|
30653
|
-
}), $
|
|
30653
|
+
}), $N = /* @__PURE__ */ ce("ZodEmail", (e, t) => {
|
|
30654
30654
|
vP.init(e, t), Lt.init(e, t);
|
|
30655
30655
|
}), th = /* @__PURE__ */ ce("ZodGUID", (e, t) => {
|
|
30656
30656
|
mP.init(e, t), Lt.init(e, t);
|
|
30657
30657
|
}), wa = /* @__PURE__ */ ce("ZodUUID", (e, t) => {
|
|
30658
30658
|
gP.init(e, t), Lt.init(e, t);
|
|
30659
|
-
}),
|
|
30659
|
+
}), jN = /* @__PURE__ */ ce("ZodURL", (e, t) => {
|
|
30660
30660
|
bP.init(e, t), Lt.init(e, t);
|
|
30661
|
-
}),
|
|
30661
|
+
}), BN = /* @__PURE__ */ ce("ZodEmoji", (e, t) => {
|
|
30662
30662
|
yP.init(e, t), Lt.init(e, t);
|
|
30663
|
-
}),
|
|
30663
|
+
}), VN = /* @__PURE__ */ ce("ZodNanoID", (e, t) => {
|
|
30664
30664
|
wP.init(e, t), Lt.init(e, t);
|
|
30665
|
-
}),
|
|
30665
|
+
}), WN = /* @__PURE__ */ ce("ZodCUID", (e, t) => {
|
|
30666
30666
|
_P.init(e, t), Lt.init(e, t);
|
|
30667
|
-
}),
|
|
30667
|
+
}), HN = /* @__PURE__ */ ce("ZodCUID2", (e, t) => {
|
|
30668
30668
|
xP.init(e, t), Lt.init(e, t);
|
|
30669
|
-
}),
|
|
30669
|
+
}), GN = /* @__PURE__ */ ce("ZodULID", (e, t) => {
|
|
30670
30670
|
kP.init(e, t), Lt.init(e, t);
|
|
30671
|
-
}),
|
|
30671
|
+
}), ZN = /* @__PURE__ */ ce("ZodXID", (e, t) => {
|
|
30672
30672
|
SP.init(e, t), Lt.init(e, t);
|
|
30673
|
-
}),
|
|
30673
|
+
}), YN = /* @__PURE__ */ ce("ZodKSUID", (e, t) => {
|
|
30674
30674
|
EP.init(e, t), Lt.init(e, t);
|
|
30675
|
-
}),
|
|
30675
|
+
}), XN = /* @__PURE__ */ ce("ZodIPv4", (e, t) => {
|
|
30676
30676
|
RP.init(e, t), Lt.init(e, t);
|
|
30677
|
-
}),
|
|
30677
|
+
}), KN = /* @__PURE__ */ ce("ZodIPv6", (e, t) => {
|
|
30678
30678
|
qP.init(e, t), Lt.init(e, t);
|
|
30679
|
-
}),
|
|
30679
|
+
}), JN = /* @__PURE__ */ ce("ZodCIDRv4", (e, t) => {
|
|
30680
30680
|
PP.init(e, t), Lt.init(e, t);
|
|
30681
|
-
}),
|
|
30681
|
+
}), QN = /* @__PURE__ */ ce("ZodCIDRv6", (e, t) => {
|
|
30682
30682
|
OP.init(e, t), Lt.init(e, t);
|
|
30683
|
-
}),
|
|
30683
|
+
}), e2 = /* @__PURE__ */ ce("ZodBase64", (e, t) => {
|
|
30684
30684
|
NP.init(e, t), Lt.init(e, t);
|
|
30685
|
-
}),
|
|
30685
|
+
}), t2 = /* @__PURE__ */ ce("ZodBase64URL", (e, t) => {
|
|
30686
30686
|
DP.init(e, t), Lt.init(e, t);
|
|
30687
|
-
}),
|
|
30687
|
+
}), n2 = /* @__PURE__ */ ce("ZodE164", (e, t) => {
|
|
30688
30688
|
MP.init(e, t), Lt.init(e, t);
|
|
30689
|
-
}),
|
|
30689
|
+
}), r2 = /* @__PURE__ */ ce("ZodJWT", (e, t) => {
|
|
30690
30690
|
FP.init(e, t), Lt.init(e, t);
|
|
30691
|
-
}),
|
|
30692
|
-
UP.init(e, t), Ft.init(e, t), e._zod.processJSONSchema = (n, r, o) =>
|
|
30691
|
+
}), o2 = /* @__PURE__ */ ce("ZodNull", (e, t) => {
|
|
30692
|
+
UP.init(e, t), Ft.init(e, t), e._zod.processJSONSchema = (n, r, o) => tN(e, n, r);
|
|
30693
30693
|
});
|
|
30694
|
-
function
|
|
30695
|
-
return /* @__PURE__ */ NO(
|
|
30694
|
+
function i2(e) {
|
|
30695
|
+
return /* @__PURE__ */ NO(o2, e);
|
|
30696
30696
|
}
|
|
30697
|
-
const
|
|
30698
|
-
$P.init(e, t), Ft.init(e, t), e._zod.processJSONSchema = (n, r, o) =>
|
|
30697
|
+
const a2 = /* @__PURE__ */ ce("ZodUnknown", (e, t) => {
|
|
30698
|
+
$P.init(e, t), Ft.init(e, t), e._zod.processJSONSchema = (n, r, o) => rN();
|
|
30699
30699
|
});
|
|
30700
30700
|
function nh() {
|
|
30701
|
-
return /* @__PURE__ */ LO(
|
|
30701
|
+
return /* @__PURE__ */ LO(a2);
|
|
30702
30702
|
}
|
|
30703
|
-
const
|
|
30704
|
-
jP.init(e, t), Ft.init(e, t), e._zod.processJSONSchema = (n, r, o) =>
|
|
30703
|
+
const s2 = /* @__PURE__ */ ce("ZodNever", (e, t) => {
|
|
30704
|
+
jP.init(e, t), Ft.init(e, t), e._zod.processJSONSchema = (n, r, o) => nN(e, n, r);
|
|
30705
30705
|
});
|
|
30706
|
-
function
|
|
30707
|
-
return /* @__PURE__ */ DO(
|
|
30706
|
+
function l2(e) {
|
|
30707
|
+
return /* @__PURE__ */ DO(s2, e);
|
|
30708
30708
|
}
|
|
30709
|
-
const
|
|
30710
|
-
BP.init(e, t), Ft.init(e, t), e._zod.processJSONSchema = (n, r, o) =>
|
|
30709
|
+
const c2 = /* @__PURE__ */ ce("ZodArray", (e, t) => {
|
|
30710
|
+
BP.init(e, t), Ft.init(e, t), e._zod.processJSONSchema = (n, r, o) => lN(e, n, r, o), e.element = t.element, fs(e, "ZodArray", {
|
|
30711
30711
|
min(n, r) {
|
|
30712
30712
|
return this.check(/* @__PURE__ */ Wa(n, r));
|
|
30713
30713
|
},
|
|
@@ -30725,13 +30725,13 @@ const cN = /* @__PURE__ */ ce("ZodArray", (e, t) => {
|
|
|
30725
30725
|
}
|
|
30726
30726
|
});
|
|
30727
30727
|
});
|
|
30728
|
-
function
|
|
30729
|
-
return /* @__PURE__ */ ZO(
|
|
30728
|
+
function u2(e, t) {
|
|
30729
|
+
return /* @__PURE__ */ ZO(c2, e, t);
|
|
30730
30730
|
}
|
|
30731
|
-
const
|
|
30732
|
-
WP.init(e, t), Ft.init(e, t), e._zod.processJSONSchema = (n, r, o) =>
|
|
30731
|
+
const f2 = /* @__PURE__ */ ce("ZodObject", (e, t) => {
|
|
30732
|
+
WP.init(e, t), Ft.init(e, t), e._zod.processJSONSchema = (n, r, o) => cN(e, n, r, o), Et(e, "shape", () => t.shape), fs(e, "ZodObject", {
|
|
30733
30733
|
keyof() {
|
|
30734
|
-
return
|
|
30734
|
+
return m2(Object.keys(this._zod.def.shape));
|
|
30735
30735
|
},
|
|
30736
30736
|
catchall(n) {
|
|
30737
30737
|
return this.clone({ ...this._zod.def, catchall: n });
|
|
@@ -30743,7 +30743,7 @@ const fN = /* @__PURE__ */ ce("ZodObject", (e, t) => {
|
|
|
30743
30743
|
return this.clone({ ...this._zod.def, catchall: nh() });
|
|
30744
30744
|
},
|
|
30745
30745
|
strict() {
|
|
30746
|
-
return this.clone({ ...this._zod.def, catchall:
|
|
30746
|
+
return this.clone({ ...this._zod.def, catchall: l2() });
|
|
30747
30747
|
},
|
|
30748
30748
|
strip() {
|
|
30749
30749
|
return this.clone({ ...this._zod.def, catchall: void 0 });
|
|
@@ -30777,30 +30777,30 @@ function Dt(e, t) {
|
|
|
30777
30777
|
shape: e ?? {},
|
|
30778
30778
|
...Ve(t)
|
|
30779
30779
|
};
|
|
30780
|
-
return new
|
|
30780
|
+
return new f2(n);
|
|
30781
30781
|
}
|
|
30782
|
-
const
|
|
30783
|
-
HP.init(e, t), Ft.init(e, t), e._zod.processJSONSchema = (n, r, o) =>
|
|
30782
|
+
const d2 = /* @__PURE__ */ ce("ZodUnion", (e, t) => {
|
|
30783
|
+
HP.init(e, t), Ft.init(e, t), e._zod.processJSONSchema = (n, r, o) => uN(e, n, r, o), e.options = t.options;
|
|
30784
30784
|
});
|
|
30785
30785
|
function fv(e, t) {
|
|
30786
|
-
return new
|
|
30786
|
+
return new d2({
|
|
30787
30787
|
type: "union",
|
|
30788
30788
|
options: e,
|
|
30789
30789
|
...Ve(t)
|
|
30790
30790
|
});
|
|
30791
30791
|
}
|
|
30792
|
-
const
|
|
30793
|
-
GP.init(e, t), Ft.init(e, t), e._zod.processJSONSchema = (n, r, o) =>
|
|
30792
|
+
const h2 = /* @__PURE__ */ ce("ZodIntersection", (e, t) => {
|
|
30793
|
+
GP.init(e, t), Ft.init(e, t), e._zod.processJSONSchema = (n, r, o) => fN(e, n, r, o);
|
|
30794
30794
|
});
|
|
30795
|
-
function
|
|
30796
|
-
return new
|
|
30795
|
+
function p2(e, t) {
|
|
30796
|
+
return new h2({
|
|
30797
30797
|
type: "intersection",
|
|
30798
30798
|
left: e,
|
|
30799
30799
|
right: t
|
|
30800
30800
|
});
|
|
30801
30801
|
}
|
|
30802
30802
|
const Bl = /* @__PURE__ */ ce("ZodEnum", (e, t) => {
|
|
30803
|
-
ZP.init(e, t), Ft.init(e, t), e._zod.processJSONSchema = (r, o, i) =>
|
|
30803
|
+
ZP.init(e, t), Ft.init(e, t), e._zod.processJSONSchema = (r, o, i) => oN(e, r, o), e.enum = t.entries, e.options = Object.values(t.entries);
|
|
30804
30804
|
const n = new Set(Object.keys(t.entries));
|
|
30805
30805
|
e.extract = (r, o) => {
|
|
30806
30806
|
const i = {};
|
|
@@ -30830,7 +30830,7 @@ const Bl = /* @__PURE__ */ ce("ZodEnum", (e, t) => {
|
|
|
30830
30830
|
});
|
|
30831
30831
|
};
|
|
30832
30832
|
});
|
|
30833
|
-
function
|
|
30833
|
+
function m2(e, t) {
|
|
30834
30834
|
const n = Array.isArray(e) ? Object.fromEntries(e.map((r) => [r, r])) : e;
|
|
30835
30835
|
return new Bl({
|
|
30836
30836
|
type: "enum",
|
|
@@ -30838,8 +30838,8 @@ function mN(e, t) {
|
|
|
30838
30838
|
...Ve(t)
|
|
30839
30839
|
});
|
|
30840
30840
|
}
|
|
30841
|
-
const
|
|
30842
|
-
YP.init(e, t), Ft.init(e, t), e._zod.processJSONSchema = (n, r, o) =>
|
|
30841
|
+
const g2 = /* @__PURE__ */ ce("ZodLiteral", (e, t) => {
|
|
30842
|
+
YP.init(e, t), Ft.init(e, t), e._zod.processJSONSchema = (n, r, o) => iN(e, n, r), e.values = new Set(t.values), Object.defineProperty(e, "value", {
|
|
30843
30843
|
get() {
|
|
30844
30844
|
if (t.values.length > 1)
|
|
30845
30845
|
throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");
|
|
@@ -30848,14 +30848,14 @@ const gN = /* @__PURE__ */ ce("ZodLiteral", (e, t) => {
|
|
|
30848
30848
|
});
|
|
30849
30849
|
});
|
|
30850
30850
|
function mr(e, t) {
|
|
30851
|
-
return new
|
|
30851
|
+
return new g2({
|
|
30852
30852
|
type: "literal",
|
|
30853
30853
|
values: Array.isArray(e) ? e : [e],
|
|
30854
30854
|
...Ve(t)
|
|
30855
30855
|
});
|
|
30856
30856
|
}
|
|
30857
|
-
const
|
|
30858
|
-
XP.init(e, t), Ft.init(e, t), e._zod.processJSONSchema = (n, r, o) =>
|
|
30857
|
+
const v2 = /* @__PURE__ */ ce("ZodTransform", (e, t) => {
|
|
30858
|
+
XP.init(e, t), Ft.init(e, t), e._zod.processJSONSchema = (n, r, o) => sN(e, n), e._zod.parse = (n, r) => {
|
|
30859
30859
|
if (r.direction === "backward")
|
|
30860
30860
|
throw new Bg(e.constructor.name);
|
|
30861
30861
|
n.addIssue = (i) => {
|
|
@@ -30870,8 +30870,8 @@ const vN = /* @__PURE__ */ ce("ZodTransform", (e, t) => {
|
|
|
30870
30870
|
return o instanceof Promise ? o.then((i) => (n.value = i, n.fallback = !0, n)) : (n.value = o, n.fallback = !0, n);
|
|
30871
30871
|
};
|
|
30872
30872
|
});
|
|
30873
|
-
function
|
|
30874
|
-
return new
|
|
30873
|
+
function b2(e) {
|
|
30874
|
+
return new v2({
|
|
30875
30875
|
type: "transform",
|
|
30876
30876
|
transform: e
|
|
30877
30877
|
});
|
|
@@ -30885,29 +30885,29 @@ function rh(e) {
|
|
|
30885
30885
|
innerType: e
|
|
30886
30886
|
});
|
|
30887
30887
|
}
|
|
30888
|
-
const
|
|
30888
|
+
const y2 = /* @__PURE__ */ ce("ZodExactOptional", (e, t) => {
|
|
30889
30889
|
KP.init(e, t), Ft.init(e, t), e._zod.processJSONSchema = (n, r, o) => cv(e, n, r, o), e.unwrap = () => e._zod.def.innerType;
|
|
30890
30890
|
});
|
|
30891
|
-
function
|
|
30892
|
-
return new
|
|
30891
|
+
function w2(e) {
|
|
30892
|
+
return new y2({
|
|
30893
30893
|
type: "optional",
|
|
30894
30894
|
innerType: e
|
|
30895
30895
|
});
|
|
30896
30896
|
}
|
|
30897
|
-
const
|
|
30898
|
-
JP.init(e, t), Ft.init(e, t), e._zod.processJSONSchema = (n, r, o) =>
|
|
30897
|
+
const _2 = /* @__PURE__ */ ce("ZodNullable", (e, t) => {
|
|
30898
|
+
JP.init(e, t), Ft.init(e, t), e._zod.processJSONSchema = (n, r, o) => dN(e, n, r, o), e.unwrap = () => e._zod.def.innerType;
|
|
30899
30899
|
});
|
|
30900
30900
|
function oh(e) {
|
|
30901
|
-
return new
|
|
30901
|
+
return new _2({
|
|
30902
30902
|
type: "nullable",
|
|
30903
30903
|
innerType: e
|
|
30904
30904
|
});
|
|
30905
30905
|
}
|
|
30906
|
-
const
|
|
30907
|
-
QP.init(e, t), Ft.init(e, t), e._zod.processJSONSchema = (n, r, o) =>
|
|
30906
|
+
const x2 = /* @__PURE__ */ ce("ZodDefault", (e, t) => {
|
|
30907
|
+
QP.init(e, t), Ft.init(e, t), e._zod.processJSONSchema = (n, r, o) => pN(e, n, r, o), e.unwrap = () => e._zod.def.innerType, e.removeDefault = e.unwrap;
|
|
30908
30908
|
});
|
|
30909
|
-
function
|
|
30910
|
-
return new
|
|
30909
|
+
function k2(e, t) {
|
|
30910
|
+
return new x2({
|
|
30911
30911
|
type: "default",
|
|
30912
30912
|
innerType: e,
|
|
30913
30913
|
get defaultValue() {
|
|
@@ -30915,11 +30915,11 @@ function kN(e, t) {
|
|
|
30915
30915
|
}
|
|
30916
30916
|
});
|
|
30917
30917
|
}
|
|
30918
|
-
const
|
|
30919
|
-
eO.init(e, t), Ft.init(e, t), e._zod.processJSONSchema = (n, r, o) =>
|
|
30918
|
+
const S2 = /* @__PURE__ */ ce("ZodPrefault", (e, t) => {
|
|
30919
|
+
eO.init(e, t), Ft.init(e, t), e._zod.processJSONSchema = (n, r, o) => mN(e, n, r, o), e.unwrap = () => e._zod.def.innerType;
|
|
30920
30920
|
});
|
|
30921
|
-
function
|
|
30922
|
-
return new
|
|
30921
|
+
function E2(e, t) {
|
|
30922
|
+
return new S2({
|
|
30923
30923
|
type: "prefault",
|
|
30924
30924
|
innerType: e,
|
|
30925
30925
|
get defaultValue() {
|
|
@@ -30928,129 +30928,129 @@ function EN(e, t) {
|
|
|
30928
30928
|
});
|
|
30929
30929
|
}
|
|
30930
30930
|
const hv = /* @__PURE__ */ ce("ZodNonOptional", (e, t) => {
|
|
30931
|
-
tO.init(e, t), Ft.init(e, t), e._zod.processJSONSchema = (n, r, o) =>
|
|
30931
|
+
tO.init(e, t), Ft.init(e, t), e._zod.processJSONSchema = (n, r, o) => hN(e, n, r, o), e.unwrap = () => e._zod.def.innerType;
|
|
30932
30932
|
});
|
|
30933
|
-
function
|
|
30933
|
+
function C2(e, t) {
|
|
30934
30934
|
return new hv({
|
|
30935
30935
|
type: "nonoptional",
|
|
30936
30936
|
innerType: e,
|
|
30937
30937
|
...Ve(t)
|
|
30938
30938
|
});
|
|
30939
30939
|
}
|
|
30940
|
-
const
|
|
30941
|
-
nO.init(e, t), Ft.init(e, t), e._zod.processJSONSchema = (n, r, o) =>
|
|
30940
|
+
const A2 = /* @__PURE__ */ ce("ZodCatch", (e, t) => {
|
|
30941
|
+
nO.init(e, t), Ft.init(e, t), e._zod.processJSONSchema = (n, r, o) => gN(e, n, r, o), e.unwrap = () => e._zod.def.innerType, e.removeCatch = e.unwrap;
|
|
30942
30942
|
});
|
|
30943
|
-
function
|
|
30944
|
-
return new
|
|
30943
|
+
function T2(e, t) {
|
|
30944
|
+
return new A2({
|
|
30945
30945
|
type: "catch",
|
|
30946
30946
|
innerType: e,
|
|
30947
30947
|
catchValue: typeof t == "function" ? t : () => t
|
|
30948
30948
|
});
|
|
30949
30949
|
}
|
|
30950
|
-
const
|
|
30951
|
-
rO.init(e, t), Ft.init(e, t), e._zod.processJSONSchema = (n, r, o) =>
|
|
30950
|
+
const I2 = /* @__PURE__ */ ce("ZodPipe", (e, t) => {
|
|
30951
|
+
rO.init(e, t), Ft.init(e, t), e._zod.processJSONSchema = (n, r, o) => vN(e, n, r, o), e.in = t.in, e.out = t.out;
|
|
30952
30952
|
});
|
|
30953
30953
|
function ih(e, t) {
|
|
30954
|
-
return new
|
|
30954
|
+
return new I2({
|
|
30955
30955
|
type: "pipe",
|
|
30956
30956
|
in: e,
|
|
30957
30957
|
out: t
|
|
30958
30958
|
// ...util.normalizeParams(params),
|
|
30959
30959
|
});
|
|
30960
30960
|
}
|
|
30961
|
-
const
|
|
30962
|
-
oO.init(e, t), Ft.init(e, t), e._zod.processJSONSchema = (n, r, o) =>
|
|
30961
|
+
const R2 = /* @__PURE__ */ ce("ZodReadonly", (e, t) => {
|
|
30962
|
+
oO.init(e, t), Ft.init(e, t), e._zod.processJSONSchema = (n, r, o) => bN(e, n, r, o), e.unwrap = () => e._zod.def.innerType;
|
|
30963
30963
|
});
|
|
30964
|
-
function
|
|
30965
|
-
return new
|
|
30964
|
+
function q2(e) {
|
|
30965
|
+
return new R2({
|
|
30966
30966
|
type: "readonly",
|
|
30967
30967
|
innerType: e
|
|
30968
30968
|
});
|
|
30969
30969
|
}
|
|
30970
|
-
const
|
|
30971
|
-
iO.init(e, t), Ft.init(e, t), e._zod.processJSONSchema = (n, r, o) =>
|
|
30970
|
+
const P2 = /* @__PURE__ */ ce("ZodCustom", (e, t) => {
|
|
30971
|
+
iO.init(e, t), Ft.init(e, t), e._zod.processJSONSchema = (n, r, o) => aN(e, n);
|
|
30972
30972
|
});
|
|
30973
|
-
function
|
|
30974
|
-
return /* @__PURE__ */ YO(
|
|
30973
|
+
function O2(e, t = {}) {
|
|
30974
|
+
return /* @__PURE__ */ YO(P2, e, t);
|
|
30975
30975
|
}
|
|
30976
|
-
function
|
|
30976
|
+
function N2(e, t) {
|
|
30977
30977
|
return /* @__PURE__ */ XO(e, t);
|
|
30978
30978
|
}
|
|
30979
30979
|
Mr({ jitless: !0 });
|
|
30980
|
-
const
|
|
30980
|
+
const L2 = Dt({
|
|
30981
30981
|
type: mr("utterance"),
|
|
30982
30982
|
content: Ct(),
|
|
30983
30983
|
role: Ct()
|
|
30984
|
-
}),
|
|
30984
|
+
}), D2 = Dt({
|
|
30985
30985
|
type: mr("agent_cognition"),
|
|
30986
30986
|
content: Ct()
|
|
30987
|
-
}),
|
|
30987
|
+
}), M2 = Dt({
|
|
30988
30988
|
type: mr("chat_closed_expired"),
|
|
30989
30989
|
content: Ct()
|
|
30990
|
-
}),
|
|
30990
|
+
}), z2 = Dt({
|
|
30991
30991
|
type: mr("agent_captured_url"),
|
|
30992
30992
|
content: Ct()
|
|
30993
|
-
}),
|
|
30993
|
+
}), F2 = Dt({
|
|
30994
30994
|
type: mr("agent_topic"),
|
|
30995
30995
|
content: Ct()
|
|
30996
|
-
}),
|
|
30996
|
+
}), U2 = Dt({
|
|
30997
30997
|
type: mr("agent_summary"),
|
|
30998
30998
|
content: Ct()
|
|
30999
|
-
}), $
|
|
30999
|
+
}), $2 = Dt({
|
|
31000
31000
|
type: mr("chat_rating"),
|
|
31001
31001
|
content: Ct()
|
|
31002
|
-
}),
|
|
31002
|
+
}), j2 = Dt({
|
|
31003
31003
|
type: mr("breadcrumb"),
|
|
31004
31004
|
content: Ct()
|
|
31005
|
-
}),
|
|
31005
|
+
}), B2 = Dt({
|
|
31006
31006
|
type: mr("chat_escalated"),
|
|
31007
|
-
content:
|
|
31008
|
-
}),
|
|
31007
|
+
content: i2()
|
|
31008
|
+
}), V2 = Dt({
|
|
31009
31009
|
type: mr("error"),
|
|
31010
31010
|
code: Ct()
|
|
31011
|
-
}),
|
|
31011
|
+
}), W2 = Dt({
|
|
31012
31012
|
message_id: Ct().nullable(),
|
|
31013
31013
|
created_at: Ct(),
|
|
31014
|
-
data:
|
|
31015
|
-
}),
|
|
31014
|
+
data: L2
|
|
31015
|
+
}), H2 = Dt({
|
|
31016
31016
|
created_at: Ct(),
|
|
31017
|
-
data:
|
|
31018
|
-
}),
|
|
31017
|
+
data: V2
|
|
31018
|
+
}), G2 = Dt({
|
|
31019
31019
|
created_at: Ct(),
|
|
31020
|
-
data:
|
|
31021
|
-
}),
|
|
31020
|
+
data: D2
|
|
31021
|
+
}), Z2 = Dt({
|
|
31022
31022
|
message_id: Ct().nullable(),
|
|
31023
31023
|
created_at: Ct(),
|
|
31024
|
-
data:
|
|
31025
|
-
}),
|
|
31024
|
+
data: M2
|
|
31025
|
+
}), Y2 = Dt({
|
|
31026
31026
|
created_at: Ct(),
|
|
31027
|
-
data:
|
|
31028
|
-
}),
|
|
31027
|
+
data: z2
|
|
31028
|
+
}), X2 = Dt({
|
|
31029
31029
|
created_at: Ct(),
|
|
31030
|
-
data:
|
|
31031
|
-
}),
|
|
31030
|
+
data: F2
|
|
31031
|
+
}), K2 = Dt({
|
|
31032
31032
|
created_at: Ct(),
|
|
31033
|
-
data:
|
|
31034
|
-
}),
|
|
31033
|
+
data: U2
|
|
31034
|
+
}), J2 = Dt({
|
|
31035
31035
|
created_at: Ct(),
|
|
31036
|
-
data: $
|
|
31037
|
-
}),
|
|
31036
|
+
data: $2
|
|
31037
|
+
}), Q2 = Dt({
|
|
31038
31038
|
created_at: Ct(),
|
|
31039
|
-
data:
|
|
31039
|
+
data: j2
|
|
31040
31040
|
}), eL = Dt({
|
|
31041
31041
|
message_id: Ct().nullable(),
|
|
31042
31042
|
created_at: Ct(),
|
|
31043
|
-
data:
|
|
31043
|
+
data: B2
|
|
31044
31044
|
}), tL = fv([
|
|
31045
|
-
|
|
31046
|
-
|
|
31047
|
-
|
|
31048
|
-
|
|
31049
|
-
|
|
31050
|
-
|
|
31051
|
-
|
|
31052
|
-
|
|
31053
|
-
|
|
31045
|
+
W2,
|
|
31046
|
+
H2,
|
|
31047
|
+
G2,
|
|
31048
|
+
Y2,
|
|
31049
|
+
X2,
|
|
31050
|
+
K2,
|
|
31051
|
+
Z2,
|
|
31052
|
+
J2,
|
|
31053
|
+
Q2,
|
|
31054
31054
|
eL
|
|
31055
31055
|
]);
|
|
31056
31056
|
Dt({
|
|
@@ -31682,7 +31682,7 @@ function hL({
|
|
|
31682
31682
|
return;
|
|
31683
31683
|
}
|
|
31684
31684
|
const re = L.chat_settings.welcome_message;
|
|
31685
|
-
E(L.chat_settings), H(L.chat_settings.
|
|
31685
|
+
E(L.chat_settings), H(L.chat_settings.is_active ?? !0), re && z((ue) => ue.length > 0 || ue.some((Q) => Q.isWelcomeMessage) ? ue : [
|
|
31686
31686
|
{
|
|
31687
31687
|
id: crypto.randomUUID(),
|
|
31688
31688
|
content: re,
|
|
@@ -31704,7 +31704,7 @@ function hL({
|
|
|
31704
31704
|
messages: j,
|
|
31705
31705
|
isReady: G,
|
|
31706
31706
|
isChatClosed: M,
|
|
31707
|
-
|
|
31707
|
+
isChatActive: oe
|
|
31708
31708
|
};
|
|
31709
31709
|
}
|
|
31710
31710
|
const pv = "(max-width: 640px)";
|
|
@@ -31756,7 +31756,7 @@ function bL({
|
|
|
31756
31756
|
messages: j,
|
|
31757
31757
|
isReady: z,
|
|
31758
31758
|
isChatClosed: G,
|
|
31759
|
-
|
|
31759
|
+
isChatActive: K
|
|
31760
31760
|
} = hL({
|
|
31761
31761
|
apiUrl: t,
|
|
31762
31762
|
appId: n,
|
|
@@ -31841,7 +31841,7 @@ function bL({
|
|
|
31841
31841
|
R?.welcome_message
|
|
31842
31842
|
]), {
|
|
31843
31843
|
isReady: z,
|
|
31844
|
-
|
|
31844
|
+
isChatActive: K,
|
|
31845
31845
|
isMobile: h,
|
|
31846
31846
|
chatInterfaceProps: M,
|
|
31847
31847
|
chatOpen: oe,
|
|
@@ -31950,7 +31950,7 @@ function EL({
|
|
|
31950
31950
|
}) {
|
|
31951
31951
|
const { hideSdk: z } = zi(), {
|
|
31952
31952
|
isReady: G,
|
|
31953
|
-
|
|
31953
|
+
isChatActive: K,
|
|
31954
31954
|
isMobile: M,
|
|
31955
31955
|
chatOpen: ie,
|
|
31956
31956
|
chatInterfaceProps: oe,
|
|
@@ -32138,4 +32138,4 @@ export {
|
|
|
32138
32138
|
PL as r,
|
|
32139
32139
|
iL as u
|
|
32140
32140
|
};
|
|
32141
|
-
//# sourceMappingURL=index-
|
|
32141
|
+
//# sourceMappingURL=index-M37y5jG1.js.map
|