@epam/ai-dial-chat-shared 1.1.0-dev.383 → 1.1.0-dev.389

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.
@@ -0,0 +1,95 @@
1
+ //#region ../../node_modules/unist-util-is/lib/index.js
2
+ var e = (function(e) {
3
+ if (e == null) return a;
4
+ if (typeof e == "function") return i(e);
5
+ if (typeof e == "object") return Array.isArray(e) ? t(e) : n(e);
6
+ if (typeof e == "string") return r(e);
7
+ throw Error("Expected function, string, or object as test");
8
+ });
9
+ function t(t) {
10
+ let n = [], r = -1;
11
+ for (; ++r < t.length;) n[r] = e(t[r]);
12
+ return i(a);
13
+ function a(...e) {
14
+ let t = -1;
15
+ for (; ++t < n.length;) if (n[t].apply(this, e)) return !0;
16
+ return !1;
17
+ }
18
+ }
19
+ function n(e) {
20
+ let t = e;
21
+ return i(n);
22
+ function n(n) {
23
+ let r = n, i;
24
+ for (i in e) if (r[i] !== t[i]) return !1;
25
+ return !0;
26
+ }
27
+ }
28
+ function r(e) {
29
+ return i(t);
30
+ function t(t) {
31
+ return t && t.type === e;
32
+ }
33
+ }
34
+ function i(e) {
35
+ return t;
36
+ function t(t, n, r) {
37
+ return !!(o(t) && e.call(this, t, typeof n == "number" ? n : void 0, r || void 0));
38
+ }
39
+ }
40
+ function a() {
41
+ return !0;
42
+ }
43
+ function o(e) {
44
+ return typeof e == "object" && !!e && "type" in e;
45
+ }
46
+ //#endregion
47
+ //#region ../../node_modules/unist-util-visit-parents/lib/color.js
48
+ function s(e) {
49
+ return e;
50
+ }
51
+ //#endregion
52
+ //#region ../../node_modules/unist-util-visit-parents/lib/index.js
53
+ var c = [], l = "skip";
54
+ function u(t, n, r, i) {
55
+ let a;
56
+ typeof n == "function" && typeof r != "function" ? (i = r, r = n) : a = n;
57
+ let o = e(a), l = i ? -1 : 1;
58
+ u(t, void 0, [])();
59
+ function u(e, t, a) {
60
+ let f = e && typeof e == "object" ? e : {};
61
+ if (typeof f.type == "string") {
62
+ let t = typeof f.tagName == "string" ? f.tagName : typeof f.name == "string" ? f.name : void 0;
63
+ Object.defineProperty(p, "name", { value: "node (" + s(e.type + (t ? "<" + t + ">" : "")) + ")" });
64
+ }
65
+ return p;
66
+ function p() {
67
+ let s = c, f, p, m;
68
+ if ((!n || o(e, t, a[a.length - 1] || void 0)) && (s = d(r(e, a)), s[0] === !1)) return s;
69
+ if ("children" in e && e.children) {
70
+ let t = e;
71
+ if (t.children && s[0] !== "skip") for (p = (i ? t.children.length : -1) + l, m = a.concat(t); p > -1 && p < t.children.length;) {
72
+ let e = t.children[p];
73
+ if (f = u(e, p, m)(), f[0] === !1) return f;
74
+ p = typeof f[1] == "number" ? f[1] : p + l;
75
+ }
76
+ }
77
+ return s;
78
+ }
79
+ }
80
+ }
81
+ function d(e) {
82
+ return Array.isArray(e) ? e : typeof e == "number" ? [!0, e] : e == null ? c : [e];
83
+ }
84
+ //#endregion
85
+ //#region ../../node_modules/web-namespaces/index.js
86
+ var f = {
87
+ html: "http://www.w3.org/1999/xhtml",
88
+ mathml: "http://www.w3.org/1998/Math/MathML",
89
+ svg: "http://www.w3.org/2000/svg",
90
+ xlink: "http://www.w3.org/1999/xlink",
91
+ xml: "http://www.w3.org/XML/1998/namespace",
92
+ xmlns: "http://www.w3.org/2000/xmlns/"
93
+ };
94
+ //#endregion
95
+ export { e as i, l as n, u as r, f as t };