deep-chat-dev 9.0.29 → 9.0.33
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/custom-elements.json +2920 -2900
- package/dist/deepChat.bundle.js +1 -1
- package/dist/deepChat.d.ts +1 -0
- package/dist/deepChat.d.ts.map +1 -1
- package/dist/deepChat.js +105 -90
- package/package.json +1 -1
package/dist/deepChat.d.ts
CHANGED
package/dist/deepChat.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"deepChat.d.ts","sourceRoot":"","sources":["../../src/deepChat.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,wBAAwB,EAAE,kBAAkB,EAAE,4BAA4B,EAAC,MAAM,4BAA4B,CAAC;AACtH,OAAO,EAAC,aAAa,EAAE,cAAc,EAAE,YAAY,EAAE,aAAa,EAAE,YAAY,EAAC,MAAM,kBAAkB,CAAC;AAG1G,OAAO,EAAC,4BAA4B,EAAC,MAAM,sCAAsC,CAAC;AAClF,OAAO,EAAC,kBAAkB,EAAE,mBAAmB,EAAC,MAAM,sBAAsB,CAAC;AAG7E,OAAO,EAAC,YAAY,EAAC,MAAM,mCAAmC,CAAC;AAI/D,OAAO,EAAC,gBAAgB,EAAC,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAC,kBAAkB,EAAC,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAC,kBAAkB,EAAC,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAC,kBAAkB,EAAC,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAC,iBAAiB,EAAC,MAAM,oBAAoB,CAAC;AAGrD,OAAO,EAAC,YAAY,EAAC,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAC,kBAAkB,EAAC,MAAM,cAAc,CAAC;AAEhD,OAAO,EAAC,SAAS,EAAC,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAE3C,OAAO,EAAC,OAAO,EAAC,MAAM,iBAAiB,CAAC;AACxC,OAAO,EAAC,OAAO,EAAC,MAAM,iBAAiB,CAAC;AACxC,OAAO,EAAC,MAAM,EAAC,MAAM,gBAAgB,CAAC;AACtC,OAAO,EAAC,KAAK,EAAC,MAAM,eAAe,CAAC;AACpC,OAAO,EAAC,IAAI,EAAC,MAAM,cAAc,CAAC;
|
1
|
+
{"version":3,"file":"deepChat.d.ts","sourceRoot":"","sources":["../../src/deepChat.ts"],"names":[],"mappings":"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"}
|
package/dist/deepChat.js
CHANGED
@@ -574,13 +574,13 @@ function fetchEventSource(r, e) {
|
|
574
574
|
y(), h();
|
575
575
|
});
|
576
576
|
var S = u !== null && u !== void 0 ? u : window.fetch,
|
577
|
-
|
577
|
+
x = s !== null && s !== void 0 ? s : defaultOnOpen;
|
578
578
|
function E() {
|
579
579
|
return _E.apply(this, arguments);
|
580
580
|
}
|
581
581
|
function _E() {
|
582
582
|
_E = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
|
583
|
-
var R, w,
|
583
|
+
var R, w, _;
|
584
584
|
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
585
585
|
while (1) switch (_context3.prev = _context3.next) {
|
586
586
|
case 0:
|
@@ -594,13 +594,13 @@ function fetchEventSource(r, e) {
|
|
594
594
|
case 4:
|
595
595
|
w = _context3.sent;
|
596
596
|
_context3.next = 7;
|
597
|
-
return
|
597
|
+
return x(w);
|
598
598
|
case 7:
|
599
599
|
_context3.next = 9;
|
600
|
-
return getBytes(w.body, getLines(getMessages(function (
|
601
|
-
|
602
|
-
}, function (
|
603
|
-
g =
|
600
|
+
return getBytes(w.body, getLines(getMessages(function (_) {
|
601
|
+
_ ? p[LastEventId] = _ : delete p[LastEventId];
|
602
|
+
}, function (_) {
|
603
|
+
g = _;
|
604
604
|
}, o)));
|
605
605
|
case 9:
|
606
606
|
a == null || a();
|
@@ -612,10 +612,10 @@ function fetchEventSource(r, e) {
|
|
612
612
|
_context3.prev = 14;
|
613
613
|
_context3.t0 = _context3["catch"](1);
|
614
614
|
if (!b.signal.aborted) try {
|
615
|
-
|
616
|
-
window.clearTimeout(v), v = window.setTimeout(E,
|
617
|
-
} catch (
|
618
|
-
y(), f(
|
615
|
+
_ = (R = l == null ? void 0 : l(_context3.t0)) !== null && R !== void 0 ? R : g;
|
616
|
+
window.clearTimeout(v), v = window.setTimeout(E, _);
|
617
|
+
} catch (_) {
|
618
|
+
y(), f(_);
|
619
619
|
}
|
620
620
|
case 17:
|
621
621
|
case "end":
|
@@ -808,8 +808,8 @@ var Stream = /*#__PURE__*/function () {
|
|
808
808
|
onmessage: function onmessage(y) {
|
809
809
|
var S;
|
810
810
|
if (JSON.stringify(y.data) !== JSON.stringify("[DONE]")) {
|
811
|
-
var
|
812
|
-
(S = e.extractResultData) == null || S.call(e,
|
811
|
+
var x = JSON.parse(y.data);
|
812
|
+
(S = e.extractResultData) == null || S.call(e, x).then(function (E) {
|
813
813
|
(E == null ? void 0 : E.text) === void 0 ? console.error("Response data: ".concat(y.data, " \n ").concat(ErrorMessages.INVALID_STREAM_RESPONSE)) : f && n.updateStreamedMessage(E.text, f);
|
814
814
|
})["catch"](function (E) {
|
815
815
|
return RequestUtils.displayError(n, E);
|
@@ -827,8 +827,8 @@ var Stream = /*#__PURE__*/function () {
|
|
827
827
|
var S;
|
828
828
|
(S = e.extractResultData) == null || S.call(e, y).then(function () {
|
829
829
|
RequestUtils.displayError(n, y);
|
830
|
-
})["catch"](function (
|
831
|
-
RequestUtils.displayError(n,
|
830
|
+
})["catch"](function (x) {
|
831
|
+
RequestUtils.displayError(n, x);
|
832
832
|
});
|
833
833
|
});
|
834
834
|
case 20:
|
@@ -1113,7 +1113,7 @@ var HTTPRequest = /*#__PURE__*/function () {
|
|
1113
1113
|
return RequestUtils.processResponseByType(g);
|
1114
1114
|
}).then( /*#__PURE__*/function () {
|
1115
1115
|
var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee10(g) {
|
1116
|
-
var S,
|
1116
|
+
var S, x, v, y;
|
1117
1117
|
return _regeneratorRuntime().wrap(function _callee10$(_context10) {
|
1118
1118
|
while (1) switch (_context10.prev = _context10.next) {
|
1119
1119
|
case 0:
|
@@ -1124,7 +1124,7 @@ var HTTPRequest = /*#__PURE__*/function () {
|
|
1124
1124
|
return _context10.abrupt("return");
|
1125
1125
|
case 2:
|
1126
1126
|
_context10.next = 4;
|
1127
|
-
return (
|
1127
|
+
return (x = (S = e.deepChat).responseInterceptor) == null ? void 0 : x.call(S, g);
|
1128
1128
|
case 4:
|
1129
1129
|
_context10.t0 = _context10.sent;
|
1130
1130
|
if (_context10.t0) {
|
@@ -2402,11 +2402,11 @@ function list(r, e, t, n) {
|
|
2402
2402
|
v,
|
2403
2403
|
y,
|
2404
2404
|
S,
|
2405
|
-
|
2405
|
+
x,
|
2406
2406
|
E,
|
2407
2407
|
R = !0,
|
2408
2408
|
w,
|
2409
|
-
|
2409
|
+
_,
|
2410
2410
|
H,
|
2411
2411
|
U;
|
2412
2412
|
if ((h = skipOrderedListMarker(r, e)) >= 0) g = !0;else if ((h = skipBulletListMarker(r, e)) >= 0) g = !1;else return !1;
|
@@ -2415,11 +2415,11 @@ function list(r, e, t, n) {
|
|
2415
2415
|
for (y = r.tokens.length, g ? (d = r.bMarks[e] + r.tShift[e], b = Number(r.src.substr(d, h - d - 1)), r.tokens.push({
|
2416
2416
|
type: "ordered_list_open",
|
2417
2417
|
order: b,
|
2418
|
-
lines:
|
2418
|
+
lines: x = [e, 0],
|
2419
2419
|
level: r.level++
|
2420
2420
|
})) : r.tokens.push({
|
2421
2421
|
type: "bullet_list_open",
|
2422
|
-
lines:
|
2422
|
+
lines: x = [e, 0],
|
2423
2423
|
level: r.level++
|
2424
2424
|
}), s = e, S = !1, w = r.parser.ruler.getRules("list"); s < t && (v = r.skipSpaces(h), f = r.eMarks[s], v >= f ? p = 1 : p = v - h, p > 4 && (p = 1), p < 1 && (p = 1), o = h - r.bMarks[s] + p, r.tokens.push({
|
2425
2425
|
type: "list_item_open",
|
@@ -2429,7 +2429,7 @@ function list(r, e, t, n) {
|
|
2429
2429
|
type: "list_item_close",
|
2430
2430
|
level: --r.level
|
2431
2431
|
}), s = e = r.line, E[1] = s, v = r.bMarks[e], !(s >= t || r.isEmpty(s) || r.tShift[s] < r.blkIndent));) {
|
2432
|
-
for (U = !1,
|
2432
|
+
for (U = !1, _ = 0, H = w.length; _ < H; _++) if (w[_](r, s, t, !0)) {
|
2433
2433
|
U = !0;
|
2434
2434
|
break;
|
2435
2435
|
}
|
@@ -2442,7 +2442,7 @@ function list(r, e, t, n) {
|
|
2442
2442
|
return r.tokens.push({
|
2443
2443
|
type: g ? "ordered_list_close" : "bullet_list_close",
|
2444
2444
|
level: --r.level
|
2445
|
-
}),
|
2445
|
+
}), x[1] = s, r.line = s, R && markTightParagraphs(r, y), !0;
|
2446
2446
|
}
|
2447
2447
|
function footnote(r, e, t, n) {
|
2448
2448
|
var s,
|
@@ -7689,10 +7689,10 @@ var Messages = /*#__PURE__*/function () {
|
|
7689
7689
|
return Messages;
|
7690
7690
|
}();
|
7691
7691
|
var _InputButtonStyleAdjustments = /*#__PURE__*/function () {
|
7692
|
-
function
|
7693
|
-
_classCallCheck(this,
|
7692
|
+
function C() {
|
7693
|
+
_classCallCheck(this, C);
|
7694
7694
|
}
|
7695
|
-
_createClass(
|
7695
|
+
_createClass(C, null, [{
|
7696
7696
|
key: "adjustInputPadding",
|
7697
7697
|
value: function adjustInputPadding(e, t) {
|
7698
7698
|
t["inside-left"].length > 0 && e.classList.add("text-input-inner-left-adjustment"), t["inside-right"].length > 0 && e.classList.add("text-input-inner-right-adjustment");
|
@@ -7700,7 +7700,7 @@ var _InputButtonStyleAdjustments = /*#__PURE__*/function () {
|
|
7700
7700
|
}, {
|
7701
7701
|
key: "adjustForOutsideButton",
|
7702
7702
|
value: function adjustForOutsideButton(e, t, n) {
|
7703
|
-
n["outside-right"].length === 0 && n["outside-left"].length > 0 ? (e[0].classList.add(
|
7703
|
+
n["outside-right"].length === 0 && n["outside-left"].length > 0 ? (e[0].classList.add(C.INPUT_OUTSIDE_LEFT_SMALL_ADJUSTMENT_CLASS), t.classList.add(C.INPUT_OUTSIDE_LEFT_SMALL_ADJUSTMENT_CLASS)) : n["outside-left"].length === 0 && n["outside-right"].length > 0 && (e[3].classList.add(C.INPUT_OUTSIDE_RIGHT_SMALL_ADJUSTMENT_CLASS), t.classList.add(C.INPUT_OUTSIDE_RIGHT_SMALL_ADJUSTMENT_CLASS));
|
7704
7704
|
}
|
7705
7705
|
// when submit is the only button
|
7706
7706
|
// when submit button is outside by itself - we increase the height for a better look
|
@@ -7708,10 +7708,10 @@ var _InputButtonStyleAdjustments = /*#__PURE__*/function () {
|
|
7708
7708
|
key: "adjustOutsideSubmit",
|
7709
7709
|
value: function adjustOutsideSubmit(e, t, n) {
|
7710
7710
|
if (!(n["inside-left"].length > 0 || n["inside-right"].length > 0)) {
|
7711
|
-
if (n["outside-right"].length === 0 && n["outside-left"].length > 0) return e[0].classList.add(
|
7711
|
+
if (n["outside-right"].length === 0 && n["outside-left"].length > 0) return e[0].classList.add(C.INPUT_OUTSIDE_LEFT_ADJUSTMENT_CLASS), t.classList.add(C.INPUT_OUTSIDE_LEFT_ADJUSTMENT_CLASS), n["outside-left"].map(function (s) {
|
7712
7712
|
return s.button.elementRef.classList.add("submit-button-enlarged");
|
7713
7713
|
});
|
7714
|
-
if (n["outside-left"].length === 0 && n["outside-right"].length > 0) return e[3].classList.add(
|
7714
|
+
if (n["outside-left"].length === 0 && n["outside-right"].length > 0) return e[3].classList.add(C.INPUT_OUTSIDE_RIGHT_ADJUSTMENT_CLASS), t.classList.add(C.INPUT_OUTSIDE_RIGHT_ADJUSTMENT_CLASS), n["outside-right"].map(function (s) {
|
7715
7715
|
return s.button.elementRef.classList.add("submit-button-enlarged");
|
7716
7716
|
});
|
7717
7717
|
}
|
@@ -7719,10 +7719,10 @@ var _InputButtonStyleAdjustments = /*#__PURE__*/function () {
|
|
7719
7719
|
}, {
|
7720
7720
|
key: "set",
|
7721
7721
|
value: function set(e, t, n, s) {
|
7722
|
-
!!
|
7722
|
+
!!C.adjustOutsideSubmit(t, n, s) || C.adjustForOutsideButton(t, n, s), C.adjustInputPadding(e, s);
|
7723
7723
|
}
|
7724
7724
|
}]);
|
7725
|
-
return
|
7725
|
+
return C;
|
7726
7726
|
}();
|
7727
7727
|
_InputButtonStyleAdjustments.INPUT_OUTSIDE_LEFT_ADJUSTMENT_CLASS = "text-input-container-left-adjustment";
|
7728
7728
|
_InputButtonStyleAdjustments.INPUT_OUTSIDE_RIGHT_ADJUSTMENT_CLASS = "text-input-container-right-adjustment";
|
@@ -8552,11 +8552,11 @@ var FileAttachments = /*#__PURE__*/function () {
|
|
8552
8552
|
return FileAttachments;
|
8553
8553
|
}();
|
8554
8554
|
var _Modal = /*#__PURE__*/function () {
|
8555
|
-
function
|
8556
|
-
_classCallCheck(this,
|
8557
|
-
this._isOpen = !1, this._contentRef =
|
8555
|
+
function T(e, t, n) {
|
8556
|
+
_classCallCheck(this, T);
|
8557
|
+
this._isOpen = !1, this._contentRef = T.createModalContent(t, n == null ? void 0 : n.backgroundColor), this._buttonPanel = T.createButtonPanel(n == null ? void 0 : n.backgroundColor), this._elementRef = T.createContainer(this._contentRef, n), this._elementRef.appendChild(this._buttonPanel), e.appendChild(this._elementRef), this._backgroundPanelRef = T.createDarkBackgroundPanel(), e.appendChild(this._backgroundPanelRef), this.addWindowEvents();
|
8558
8558
|
}
|
8559
|
-
_createClass(
|
8559
|
+
_createClass(T, [{
|
8560
8560
|
key: "isOpen",
|
8561
8561
|
value: function isOpen() {
|
8562
8562
|
return this._isOpen;
|
@@ -8578,7 +8578,7 @@ var _Modal = /*#__PURE__*/function () {
|
|
8578
8578
|
var _this40 = this;
|
8579
8579
|
this._elementRef.classList.remove("show-modal"), this._elementRef.classList.add("hide-modal"), this._backgroundPanelRef.classList.remove("show-modal-background"), this._backgroundPanelRef.classList.add("hide-modal-background"), this._isOpen = !1, setTimeout(function () {
|
8580
8580
|
_this40._elementRef.style.display = "none", _this40._backgroundPanelRef.style.display = "none";
|
8581
|
-
},
|
8581
|
+
}, T.MODAL_CLOSE_TIMEOUT_MS);
|
8582
8582
|
}
|
8583
8583
|
}, {
|
8584
8584
|
key: "displayModalElements",
|
@@ -8594,7 +8594,7 @@ var _Modal = /*#__PURE__*/function () {
|
|
8594
8594
|
key: "addCloseButton",
|
8595
8595
|
value: function addCloseButton(e, t, n) {
|
8596
8596
|
var _this41 = this;
|
8597
|
-
var s = t ?
|
8597
|
+
var s = t ? T.createSVGButton(e) : T.createTextButton(e);
|
8598
8598
|
return this.addButtons(s), s.onclick = function () {
|
8599
8599
|
_this41.close(), setTimeout(function () {
|
8600
8600
|
n == null || n();
|
@@ -8654,12 +8654,12 @@ var _Modal = /*#__PURE__*/function () {
|
|
8654
8654
|
value: function createTextModalFunc(e, t, n) {
|
8655
8655
|
var s;
|
8656
8656
|
if (_typeof(t) == "object" && (s = t.files) != null && s.infoModal) {
|
8657
|
-
var o = new
|
8657
|
+
var o = new T(e, ["modal-content"], t.files.infoModal.containerStyle);
|
8658
8658
|
return o.addCloseButton("OK", !1, n), o.openTextModal.bind(o, t.infoModalTextMarkUp || "");
|
8659
8659
|
}
|
8660
8660
|
}
|
8661
8661
|
}]);
|
8662
|
-
return
|
8662
|
+
return T;
|
8663
8663
|
}();
|
8664
8664
|
_Modal.MODAL_CLOSE_TIMEOUT_MS = 190;
|
8665
8665
|
var Modal = _Modal;
|
@@ -10701,20 +10701,20 @@ var ChatView = /*#__PURE__*/function () {
|
|
10701
10701
|
}]);
|
10702
10702
|
return ChatView;
|
10703
10703
|
}();
|
10704
|
-
var style = "#validate-property-key-view{height:100%;position:relative;display:flex;justify-content:center;align-items:center;padding:8px}#large-loading-ring{display:inline-block;width:50px;height:50px}#large-loading-ring:after{content:\" \";display:block;width:38px;height:38px;margin:1px;border-radius:50%;border:5px solid #5fb2ff;border-color:#5fb2ff transparent #5fb2ff transparent;animation:large-loading-ring 1.4s linear infinite}@keyframes large-loading-ring{0%{transform:rotate(0)}to{transform:rotate(360deg)}}#insert-key-view{height:100%;position:relative}#insert-key-contents{text-align:center;position:absolute;top:44%;left:50%;transform:translate(-50%,-50%);width:82%;display:flex;max-width:700px}#insert-key-title{margin-bottom:15px}#insert-key-input-container{margin-right:2.7em;width:calc(100% - 80px)}#insert-key-input{padding:.3em 1.7em .3em .3em;border-width:1px;border-style:solid;border-radius:3px;width:100%;font-size:inherit}.insert-key-input-valid{border-color:gray}.insert-key-input-invalid{border-color:red}#visibility-icon-container{position:relative;float:right;cursor:pointer;-webkit-user-select:none;user-select:none}.visibility-icon{filter:brightness(0) saturate(100%) invert(63%) sepia(1%) saturate(9%) hue-rotate(43deg) brightness(98%) contrast(92%);position:absolute;right:-1.7em;top:-1.43em}#visible-icon{top:-1.4em}.visibility-icon:hover{filter:unset}.visibility-icon>*{pointer-events:none}#start-button{border:1px solid grey;color:#454545;border-radius:4px;width:3em;display:flex;justify-content:center;align-items:center;cursor:pointer;padding:.28em .3em;-webkit-user-select:none;user-select:none;background-color:#fff}#start-button:hover{background-color:#f2f2f2}#start-button:active{background-color:#d2d2d2}#insert-key-help-text-container{width:100%;position:absolute;margin-top:32px;margin-bottom:20px}#insert-key-help-text-contents{width:100%;position:absolute}#insert-key-input-invalid-text{display:block;margin-top:1em;margin-bottom:.5em;color:red}.insert-key-input-help-text{display:block;margin-top:16px}#loading-ring{display:inline-block;width:16px;height:16px}#loading-ring:after{content:\" \";display:block;width:11px;height:11px;margin:1px;border-radius:50%;border:2px solid #0084ff;border-color:#0084ff transparent #0084ff transparent;animation:loading-ring 1.2s linear infinite}@keyframes loading-ring{0%{transform:rotate(0)}to{transform:rotate(360deg)}}#error-view{color:red;font-size:1.2em;line-height:1.3em;margin-top:-5px;text-align:center;height:100%;display:flex;justify-content:center;align-items:center;padding-left:8px;padding-right:8px}.intro-panel{position:absolute;display:flex;justify-content:center;right:0;bottom:0;left:0;margin:auto;height:fit-content;top:-2.5em}#internal-intro-panel{width:250px;height:min-content;display:block;border-radius:5px;overflow:auto;border:1px solid rgb(203,203,203);padding:10px;max-height:calc(100% - 6.8em)}#internal-intro-panel>p{margin-block-start:.8em;margin-block-end:.8em}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*!\n Theme: a11y-dark\n Author: @ericwbailey\n Maintainer: @ericwbailey\n\n Based on the Tomorrow Night Eighties theme: https://github.com/isagalaev/highlight.js/blob/master/src/styles/tomorrow-night-eighties.css\n*/.hljs{background:#2b2b2b;color:#f8f8f2}.hljs-comment,.hljs-quote{color:#d4d0ab}.hljs-deletion,.hljs-name,.hljs-regexp,.hljs-selector-class,.hljs-selector-id,.hljs-tag,.hljs-template-variable,.hljs-variable{color:#ffa07a}.hljs-built_in,.hljs-link,.hljs-literal,.hljs-meta,.hljs-number,.hljs-params,.hljs-type{color:#f5ab35}.hljs-attribute{color:gold}.hljs-addition,.hljs-bullet,.hljs-string,.hljs-symbol{color:#abe338}.hljs-section,.hljs-title{color:#00e0e0}.hljs-keyword,.hljs-selector-tag{color:#dcc6e0}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}@media screen and (-ms-high-contrast: active){.hljs-addition,.hljs-attribute,.hljs-built_in,.hljs-bullet,.hljs-comment,.hljs-link,.hljs-literal,.hljs-meta,.hljs-number,.hljs-params,.hljs-quote,.hljs-string,.hljs-symbol,.hljs-type{color:highlight}.hljs-keyword,.hljs-selector-tag{font-weight:700}}#messages{overflow:auto}.outer-message-container:last-child{margin-bottom:5px}.inner-message-container{display:flex;width:90%;margin-left:auto;margin-right:auto;max-width:100%}.message-bubble{margin-top:10px;word-wrap:break-word;width:fit-content;max-width:60%;border-radius:10px;padding:.42em .55em;height:fit-content}.user-message-text{color:#fff;background-color:#0084ff;margin-right:0;margin-left:auto}.ai-message-text{color:#000;background-color:#e4e6eb;margin-left:0;margin-right:auto}.error-message-text{margin:14px auto 10px;background-color:#f4c0c0;color:#474747;text-align:center;max-width:95%}.loading-message-text{width:1em;padding:.6em .75em .6em 1.3em}.message-bubble>p{line-height:1.26em}.message-bubble>p:first-child{margin-top:0}.message-bubble>p:last-child{margin-bottom:0}pre{overflow:auto;display:block;word-break:break-all;word-wrap:break-word;border-radius:7px;background:#2b2b2b;color:#f8f8f2;margin-top:.8em;margin-bottom:.8em;padding:.6em;font-size:.9em;line-height:1.5em}.image-message{padding:0;display:flex;background-color:#ddd}.image-message>*,.image-message>*>*{width:100%;border-radius:8px;display:flex}.audio-message{width:60%;max-width:300px;height:2.2em;max-height:54px;padding:0;background-color:unset}.audio-player{width:100%;height:100%}.audio-player-safari{height:fit-content;width:40px}.audio-player-safari-left{float:left}.audio-player-safari-right{float:right}.any-file-message-bubble{padding:1px}.any-file-message-contents{display:flex}.any-file-message-icon-container{width:1.3em;min-width:1.3em;position:relative;border-radius:4px;margin-left:6px;margin-right:2px}.any-file-message-icon{background-color:#fff;border-radius:4px;position:absolute;width:1em;height:1.25em;padding:1px;margin-top:auto;margin-bottom:auto;top:0;bottom:0}.any-file-message-text{padding-top:5px;overflow-wrap:anywhere;padding-bottom:5px;padding-right:7px}.message-bubble>a{color:inherit}.left-item-position{margin-right:10px}.right-item-position{margin-left:10px}.avatar{padding-top:5px;width:1.5em;height:1.5em;border-radius:1px}.avatar-container{margin-top:9px}.name{margin-top:16px;font-size:15px}#drag-and-drop{position:absolute;display:none;z-index:10;height:calc(100% - 10px);width:calc(100% - 10px);background-color:#70c6ff4d;border:5px dashed #6dafff}#file-attachment-container{position:absolute;height:3.6em;width:calc(80% - 4px);top:-2.5em;border-radius:5px;overflow:auto;text-align:left;background-color:#d7d7d73b;padding-left:4px}.file-attachment{width:2.85em;height:2.85em;display:inline-flex;margin-right:.6em;margin-bottom:.44em;margin-top:4px;position:relative;background-color:#fff;border-radius:5px}.image-attachment{width:100%;height:100%;object-fit:cover;border-radius:5px}.border-bound-attachment{width:calc(100% - 2px);height:calc(100% - 2px);border:1px solid #c3c3c3;border-radius:5px;overflow:hidden}.border-bound-attachment-safari{width:calc(100% - 1px);height:calc(100% - 1px)}.audio-attachment-icon-container{cursor:pointer}.audio-attachment-icon-container:hover{background-color:#f8f8f8}.attachment-icon{left:0;right:0;bottom:0;top:2px;margin:auto;position:absolute;width:25px;-webkit-user-select:none;user-select:none}.not-removable-attachment-icon{top:0;right:0;bottom:0;left:0}.play-icon{filter:brightness(0) saturate(100%) invert(17%) sepia(0%) saturate(1392%) hue-rotate(67deg) brightness(98%) contrast(97%)}.stop-icon{filter:brightness(0) saturate(100%) invert(29%) sepia(90%) saturate(1228%) hue-rotate(198deg) brightness(93%) contrast(98%)}.audio-placeholder-text-3-digits{padding-left:.26rem}.audio-placeholder-text-4-digits{padding-left:.1rem}.any-file-attachment{padding:2px 0}.file-attachment-text-container{position:absolute;width:inherit;display:flex;align-items:center;height:100%;top:-1px}.audio-placeholder-text-3-digits-container{padding-top:1px;cursor:default}.any-file-attachment-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;padding-left:.13em;margin-left:auto;margin-right:auto}.remove-file-attachment-button{height:1.25em;width:1.25em;border:1px solid #cfcfcf;border-radius:25px;background-color:#fff;top:-4px;right:-5px;position:absolute;display:flex;justify-content:center;cursor:pointer;-webkit-user-select:none;user-select:none}.remove-file-attachment-button:hover{background-color:#e4e4e4}.remove-file-attachment-button:active{background-color:#d7d7d7}.x-icon{color:#4e4e4e;top:-.075em;position:relative;font-size:1.05em}.modal{display:none;flex-direction:column;align-items:center;justify-content:center;position:absolute;width:80%;max-width:420px;max-height:80%;margin:auto;top:0;right:0;bottom:0;left:0;z-index:2}.modal-content{border-top:1px solid rgb(217,217,217);border-left:1px solid rgb(217,217,217);border-right:1px solid rgb(217,217,217);border-top-left-radius:inherit;border-top-right-radius:inherit;background-color:#fff;overflow-y:auto;height:fit-content;max-height:calc(100% - 3.3em);width:100%}.modal-content>p{margin-left:1em;margin-right:1em}.modal-content>ul{margin-right:1em}.modal-button-panel{height:3.3em;border:1px solid;border-color:rgb(223,223,223) rgb(217,217,217) rgb(217,217,217);border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;background-color:#fff;text-align:center;justify-content:center;display:flex;width:100%}.modal-button{min-width:2.5em;text-align:center;color:#fff;border-radius:5px;padding:.4em .4em .3em;height:1.25em;background-color:#3279b2;top:0;bottom:0;cursor:pointer;-webkit-user-select:none;user-select:none;margin:auto .31em}.modal-button:hover{background-color:#276da7}.modal-button:active{background-color:#1b5687}.modal-svg-button{padding:0 0 2px;width:2em;height:1.8em}.modal-svg-button-icon{width:100%;height:100%;filter:brightness(0) saturate(100%) invert(100%) sepia(15%) saturate(4%) hue-rotate(346deg) brightness(101%) contrast(102%)}#modal-background-panel{position:absolute;width:100%;height:100%;background-color:#00000042;z-index:1;display:none}.show-modal-background{animation:fadeInBackground .3s ease-in-out}@keyframes fadeInBackground{0%{opacity:0}to{opacity:1}}.show-modal{animation:fadeInModal .3s ease-in-out}@keyframes fadeInModal{0%{opacity:0;scale:.95}to{opacity:1;scale:1}}.hide-modal-background{animation:fadeOutBackground .2s ease-in-out}@keyframes fadeOutBackground{0%{opacity:1}to{opacity:0}}.hide-modal{animation:fadeOutModal .2s ease-in-out}@keyframes fadeOutModal{0%{opacity:1;scale:1}to{opacity:0;scale:.95}}.modal-camera-content{overflow:hidden;text-align:center;border:unset;height:100%;background-color:#2a2a2a;display:flex;justify-content:center}.camera-modal-canvas{max-width:100%;max-height:100%;margin-top:auto;margin-bottom:auto}.modal-svg-submit-button{background-color:green}.modal-svg-submit-button:hover{background-color:#007500}.modal-svg-submit-button:active{background-color:#006500}.modal-svg-submit-disabled{pointer-events:none;background-color:#747474}.modal-svg-close-button{height:1.56em;padding-top:.37em;padding-bottom:0;background-color:#c13e3e}.modal-svg-close-button:hover{background-color:#b43434}.modal-svg-close-button:active{background-color:#972929}.modal-svg-close-icon{width:80%;height:80%}.modal-svg-camera-button{height:1.6em;padding-top:.38em;padding-bottom:0}.modal-svg-camera-icon{height:76%}.modal-svg-refresh-icon{height:105%}.modal-svg-refresh-button{height:1.66em;padding-top:.11em;padding-bottom:.21em}.input-button-container{position:relative;z-index:1}.inside-right{position:absolute;right:calc(10% + .35em);bottom:.85em}.inside-left{position:absolute;left:calc(10% + .35em);bottom:.85em}.outside-left{position:absolute;right:calc(11px - .55em);bottom:.88em}.outside-right{position:absolute;left:calc(11px - .55em);bottom:.88em}#upload-images-icon{position:absolute;pointer-events:none;width:1.45em;height:1.45em;left:.11em;bottom:.08em;filter:brightness(0) saturate(100%) invert(43%) sepia(0%) saturate(740%) hue-rotate(77deg) brightness(99%) contrast(92%)}#upload-gifs-icon{position:absolute;pointer-events:none;width:1.5em;height:1.48em;left:.07em;bottom:.08em;filter:brightness(0) saturate(100%) invert(49%) sepia(0%) saturate(2586%) hue-rotate(12deg) brightness(93%) contrast(90%)}#upload-audio-icon{position:absolute;pointer-events:none;width:1.21em;height:1.21em;left:.17em;bottom:.2em;filter:brightness(0) saturate(100%) invert(15%) sepia(0%) saturate(337%) hue-rotate(125deg) brightness(91%) contrast(94%);transform:scaleX(.95)}#camera-icon{position:absolute;pointer-events:none;width:1.21em;height:1.21em;left:.23em;bottom:.2em;filter:brightness(0) saturate(100%) invert(52%) sepia(0%) saturate(161%) hue-rotate(164deg) brightness(91%) contrast(92%);transform:scaleX(.95)}#upload-mixed-files-icon{position:absolute;pointer-events:none;width:1.21em;height:1.21em;left:.25em;bottom:.2em;filter:brightness(0) saturate(100%) invert(53%) sepia(0%) saturate(36%) hue-rotate(74deg) brightness(98%) contrast(93%);transform:scaleX(.95)}#interim-text{color:gray}#microphone-button{padding-top:.5px}.outer-button-container>#microphone-button{padding-bottom:1px}#microphone-icon{position:absolute;pointer-events:none;width:1.21em;height:1.21em;left:.25em;bottom:.25em}.default-microphone-icon{filter:brightness(0) saturate(100%) invert(32%) sepia(0%) saturate(924%) hue-rotate(46deg) brightness(95%) contrast(99%)}.active-microphone-icon{filter:brightness(0) saturate(100%) invert(10%) sepia(97%) saturate(7495%) hue-rotate(0deg) brightness(101%) contrast(107%);border-radius:10px}.command-microphone-icon{filter:brightness(0) saturate(100%) invert(42%) sepia(96%) saturate(1067%) hue-rotate(77deg) brightness(99%) contrast(102%)}.unsupported-microphone{display:none}#submit-icon{height:100%;filter:brightness(0) saturate(100%) invert(32%) sepia(0%) saturate(924%) hue-rotate(46deg) brightness(95%) contrast(99%);width:1.21em}#stop-icon{background-color:#acacac;position:absolute;width:.95em;height:.95em;left:.35em;bottom:.35em;border-radius:2px}.submit-button-enlarged{scale:1.1;margin-right:.3em;margin-left:.3em}.dots-jumping{position:relative;left:calc(-9990px + .275em);width:.22em;height:.22em;border-radius:5px;background-color:#848484;color:#848484;box-shadow:9990px 0 #848484,calc(9990px + .44em) 0 0 0 #848484,calc(9990px + .8em) 0 0 0 #848484;animation:dots-jumping 1.5s infinite linear;bottom:-.7em}@keyframes dots-jumping{0%{box-shadow:9990px 0 #848484,calc(9990px + .44em) 0 0 0 #848484,calc(9990px + .8em) 0 0 0 #848484}16.667%{box-shadow:9990px -6px #848484,calc(9990px + .44em) 0 0 0 #848484,calc(9990px + .8em) 0 0 0 #848484}33.333%{box-shadow:9990px 0 #848484,calc(9990px + .44em) 0 0 0 #848484,calc(9990px + .8em) 0 0 0 #848484}50%{box-shadow:9990px 0 #848484,calc(9990px + .44em) -6px 0 0 #848484,calc(9990px + .8em) 0 0 0 #848484}66.667%{box-shadow:9990px 0 #848484,calc(9990px + .44em) 0 0 0 #848484,calc(9990px + .8em) 0 0 0 #848484}83.333%{box-shadow:9990px 0 #848484,calc(9990px + .44em) 0 0 0 #848484,calc(9990px + .8em) -6px 0 0 #848484}to{box-shadow:9990px 0 #848484,calc(9990px + .44em) 0 0 0 #848484,calc(9990px + .8em) 0 0 0 #848484}}.dots-flashing{position:relative;width:.45em;height:.45em;border-radius:5px;background-color:var(--message-dots-color);color:var(--message-dots-color);animation:dots-flashing 1s infinite linear alternate;animation-delay:.5s}.dots-flashing:before,.dots-flashing:after{content:\"\";display:inline-block;position:absolute;top:0}.dots-flashing:before{left:-.7em;width:.45em;height:.45em;border-radius:5px;background-color:var(--message-dots-color);color:var(--message-dots-color);animation:dots-flashing 1s infinite alternate;animation-delay:0s}.dots-flashing:after{left:.7em;width:.45em;height:.45em;border-radius:5px;background-color:var(--message-dots-color);color:var(--message-dots-color);animation:dots-flashing 1s infinite alternate;animation-delay:1s}@keyframes dots-flashing{0%{background-color:var(--message-dots-color)}50%,to{background-color:var(--message-dots-color-fade)}}.input-button{border-radius:4px;cursor:pointer;margin-bottom:.2em;-webkit-user-select:none;user-select:none}.input-button-svg{width:1.65em;height:1.65em}.input-button:hover{background-color:#9c9c9c2e}.input-button:active{background-color:#9c9c9c5e}.loading-button{background-color:#fff;cursor:auto}.loading-button:hover,.loading-button:active{background-color:#fff}.text-button{filter:unset!important;display:flex;justify-content:center;align-items:center;margin-left:4px;margin-right:4px;height:1.6em}#text-input-container{background-color:#fff;width:80%;display:flex;border:1px solid #0000001a;border-radius:5px;margin-top:.8em;margin-bottom:.8em;box-shadow:#959da533 0 1px 12px;overflow-y:auto;max-height:200px;position:relative}.text-input-container-left-adjustment{margin-left:1.5em}.text-input-container-right-adjustment{margin-right:1.5em}.text-input-container-left-small-adjustment{margin-left:1.1em}.text-input-container-left-small-adjustment>.outside-left{right:calc(14px - .55em)}.text-input-container-right-small-adjustment{margin-right:1.1em}.text-input-container-right-small-adjustment>.outside-right{left:calc(14px - .55em)}#text-input{text-align:left;outline:none;word-wrap:break-word;line-break:auto}.text-input-styling{padding:.4em .5em;overflow:overlay;width:100%}.text-input-inner-left-adjustment{padding-left:2.2em}.text-input-inner-right-adjustment{padding-right:2em}.text-input-disabled{pointer-events:none;-webkit-user-select:none;user-select:none}.text-input-placeholder{color:gray}.outside-right>#dropup-menu,.inside-right>#dropup-menu{right:0}#dropup-icon{position:absolute;pointer-events:none;width:1.16em;height:1.2em;left:.265em;bottom:.43em;filter:brightness(0) saturate(100%) invert(54%) sepia(0%) saturate(724%) hue-rotate(6deg) brightness(92%) contrast(90%)}#dropup-menu{background-color:#fff;position:absolute;transform:translateY(-100%);border-radius:5px;z-index:1;top:-.49em;box-shadow:#0003 -1px 2px 10px,#0000001a 0 2px 4px;cursor:pointer;-webkit-user-select:none;user-select:none}.dropup-menu-item{height:1.4em;padding:.28em .84em .28em .35em;display:flex;position:relative}.dropup-menu-item:first-child{padding-top:.49em;border-top-left-radius:inherit;border-top-right-radius:inherit}.dropup-menu-item:last-child{padding-bottom:.45em;border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.dropup-menu-item-icon{width:1.39em;position:relative;margin-right:.56em}.dropup-menu-item-icon>svg{bottom:0!important;top:0!important;margin-bottom:auto;margin-top:auto}.dropup-menu-item-text{margin-top:.08em;width:max-content}#input{width:100%;display:inline-flex;text-align:center;margin-left:auto;margin-right:auto;margin-top:auto;position:relative;justify-content:center}#chat-view{height:100%;display:grid;grid-template-columns:100%}::-webkit-scrollbar{width:9px;height:9px}::-webkit-scrollbar-thumb{background-color:#d0d0d0;border-radius:5px}::-webkit-scrollbar-track{background-color:#f2f2f2}:host{all:initial;display:table-cell}#container{height:350px;width:320px;border:1px solid #cacaca;font-family:Inter,sans-serif,Avenir,Helvetica,Arial;font-size:.9rem;background-color:#fff;position:relative;overflow:hidden}\n";
|
10704
|
+
var style = "#validate-property-key-view{height:100%;position:relative;display:flex;justify-content:center;align-items:center;padding:8px}#large-loading-ring{display:inline-block;width:50px;height:50px}#large-loading-ring:after{content:\" \";display:block;width:38px;height:38px;margin:1px;border-radius:50%;border:5px solid #5fb2ff;border-color:#5fb2ff transparent #5fb2ff transparent;animation:large-loading-ring 1.4s linear infinite}@keyframes large-loading-ring{0%{transform:rotate(0)}to{transform:rotate(360deg)}}#insert-key-view{height:100%;position:relative}#insert-key-contents{text-align:center;position:absolute;top:44%;left:50%;transform:translate(-50%,-50%);width:82%;display:flex;max-width:700px}#insert-key-title{margin-bottom:15px}#insert-key-input-container{margin-right:2.7em;width:calc(100% - 80px)}#insert-key-input{padding:.3em 1.7em .3em .3em;border-width:1px;border-style:solid;border-radius:3px;width:100%;font-size:inherit}.insert-key-input-valid{border-color:gray}.insert-key-input-invalid{border-color:red}#visibility-icon-container{position:relative;float:right;cursor:pointer;-webkit-user-select:none;user-select:none}.visibility-icon{filter:brightness(0) saturate(100%) invert(63%) sepia(1%) saturate(9%) hue-rotate(43deg) brightness(98%) contrast(92%);position:absolute;right:-1.7em;top:-1.43em}#visible-icon{top:-1.4em}.visibility-icon:hover{filter:unset}.visibility-icon>*{pointer-events:none}#start-button{border:1px solid grey;color:#454545;border-radius:4px;width:3em;display:flex;justify-content:center;align-items:center;cursor:pointer;padding:.28em .3em;-webkit-user-select:none;user-select:none;background-color:#fff}#start-button:hover{background-color:#f2f2f2}#start-button:active{background-color:#d2d2d2}#insert-key-help-text-container{width:100%;position:absolute;margin-top:32px;margin-bottom:20px}#insert-key-help-text-contents{width:100%;position:absolute}#insert-key-input-invalid-text{display:block;margin-top:1em;margin-bottom:.5em;color:red}.insert-key-input-help-text{display:block;margin-top:16px}#loading-ring{display:inline-block;width:16px;height:16px}#loading-ring:after{content:\" \";display:block;width:11px;height:11px;margin:1px;border-radius:50%;border:2px solid #0084ff;border-color:#0084ff transparent #0084ff transparent;animation:loading-ring 1.2s linear infinite}@keyframes loading-ring{0%{transform:rotate(0)}to{transform:rotate(360deg)}}#error-view{color:red;font-size:1.2em;line-height:1.3em;margin-top:-5px;text-align:center;height:100%;display:flex;justify-content:center;align-items:center;padding-left:8px;padding-right:8px}.intro-panel{position:absolute;display:flex;justify-content:center;right:0;bottom:0;left:0;margin:auto;height:fit-content;top:-2.5em}#internal-intro-panel{width:250px;height:min-content;display:block;border-radius:5px;overflow:auto;border:1px solid rgb(203,203,203);padding:10px;max-height:calc(100% - 6.8em)}#internal-intro-panel>p{margin-block-start:.8em;margin-block-end:.8em}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*!\n Theme: a11y-dark\n Author: @ericwbailey\n Maintainer: @ericwbailey\n\n Based on the Tomorrow Night Eighties theme: https://github.com/isagalaev/highlight.js/blob/master/src/styles/tomorrow-night-eighties.css\n*/.hljs{background:#2b2b2b;color:#f8f8f2}.hljs-comment,.hljs-quote{color:#d4d0ab}.hljs-deletion,.hljs-name,.hljs-regexp,.hljs-selector-class,.hljs-selector-id,.hljs-tag,.hljs-template-variable,.hljs-variable{color:#ffa07a}.hljs-built_in,.hljs-link,.hljs-literal,.hljs-meta,.hljs-number,.hljs-params,.hljs-type{color:#f5ab35}.hljs-attribute{color:gold}.hljs-addition,.hljs-bullet,.hljs-string,.hljs-symbol{color:#abe338}.hljs-section,.hljs-title{color:#00e0e0}.hljs-keyword,.hljs-selector-tag{color:#dcc6e0}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}@media screen and (-ms-high-contrast: active){.hljs-addition,.hljs-attribute,.hljs-built_in,.hljs-bullet,.hljs-comment,.hljs-link,.hljs-literal,.hljs-meta,.hljs-number,.hljs-params,.hljs-quote,.hljs-string,.hljs-symbol,.hljs-type{color:highlight}.hljs-keyword,.hljs-selector-tag{font-weight:700}}#messages{overflow:auto}.outer-message-container:last-child{margin-bottom:5px}.inner-message-container{display:flex;width:90%;margin-left:auto;margin-right:auto;max-width:100%}.message-bubble{margin-top:10px;word-wrap:break-word;width:fit-content;max-width:60%;border-radius:10px;padding:.42em .55em;height:fit-content}.user-message-text{color:#fff;background-color:#0084ff;margin-right:0;margin-left:auto}.ai-message-text{color:#000;background-color:#e4e6eb;margin-left:0;margin-right:auto}.error-message-text{margin:14px auto 10px;background-color:#f4c0c0;color:#474747;text-align:center;max-width:95%}.loading-message-text{width:1em;padding:.6em .75em .6em 1.3em}.message-bubble>p{line-height:1.26em}.message-bubble>p:first-child{margin-top:0}.message-bubble>p:last-child{margin-bottom:0}pre{overflow:auto;display:block;word-break:break-all;word-wrap:break-word;border-radius:7px;background:#2b2b2b;color:#f8f8f2;margin-top:.8em;margin-bottom:.8em;padding:.6em;font-size:.9em;line-height:1.5em}.image-message{padding:0;display:flex;background-color:#ddd}.image-message>*,.image-message>*>*{width:100%;border-radius:8px;display:flex}.audio-message{width:60%;max-width:300px;height:2.2em;max-height:54px;padding:0;background-color:unset}.audio-player{width:100%;height:100%}.audio-player-safari{height:fit-content;width:40px}.audio-player-safari-left{float:left}.audio-player-safari-right{float:right}.any-file-message-bubble{padding:1px}.any-file-message-contents{display:flex}.any-file-message-icon-container{width:1.3em;min-width:1.3em;position:relative;border-radius:4px;margin-left:6px;margin-right:2px}.any-file-message-icon{background-color:#fff;border-radius:4px;position:absolute;width:1em;height:1.25em;padding:1px;margin-top:auto;margin-bottom:auto;top:0;bottom:0}.any-file-message-text{padding-top:5px;overflow-wrap:anywhere;padding-bottom:5px;padding-right:7px}.message-bubble>a{color:inherit}.left-item-position{margin-right:10px}.right-item-position{margin-left:10px}.avatar{padding-top:5px;width:1.5em;height:1.5em;border-radius:1px}.avatar-container{margin-top:9px}.name{margin-top:16px;font-size:15px}#drag-and-drop{position:absolute;display:none;z-index:10;height:calc(100% - 10px);width:calc(100% - 10px);background-color:#70c6ff4d;border:5px dashed #6dafff}#file-attachment-container{position:absolute;height:3.6em;width:calc(80% - 4px);top:-2.5em;border-radius:5px;overflow:auto;text-align:left;background-color:#d7d7d73b;padding-left:4px}.file-attachment{width:2.85em;height:2.85em;display:inline-flex;margin-right:.6em;margin-bottom:.44em;margin-top:4px;position:relative;background-color:#fff;border-radius:5px}.image-attachment{width:100%;height:100%;object-fit:cover;border-radius:5px}.border-bound-attachment{width:calc(100% - 2px);height:calc(100% - 2px);border:1px solid #c3c3c3;border-radius:5px;overflow:hidden}.border-bound-attachment-safari{width:calc(100% - 1px);height:calc(100% - 1px)}.audio-attachment-icon-container{cursor:pointer}.audio-attachment-icon-container:hover{background-color:#f8f8f8}.attachment-icon{left:0;right:0;bottom:0;top:2px;margin:auto;position:absolute;width:25px;-webkit-user-select:none;user-select:none}.not-removable-attachment-icon{top:0;right:0;bottom:0;left:0}.play-icon{filter:brightness(0) saturate(100%) invert(17%) sepia(0%) saturate(1392%) hue-rotate(67deg) brightness(98%) contrast(97%)}.stop-icon{filter:brightness(0) saturate(100%) invert(29%) sepia(90%) saturate(1228%) hue-rotate(198deg) brightness(93%) contrast(98%)}.audio-placeholder-text-3-digits{padding-left:.26rem}.audio-placeholder-text-4-digits{padding-left:.1rem}.any-file-attachment{padding:2px 0}.file-attachment-text-container{position:absolute;width:inherit;display:flex;align-items:center;height:100%;top:-1px}.audio-placeholder-text-3-digits-container{padding-top:1px;cursor:default}.any-file-attachment-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;padding-left:.13em;margin-left:auto;margin-right:auto}.remove-file-attachment-button{height:1.25em;width:1.25em;border:1px solid #cfcfcf;border-radius:25px;background-color:#fff;top:-4px;right:-5px;position:absolute;display:flex;justify-content:center;cursor:pointer;-webkit-user-select:none;user-select:none}.remove-file-attachment-button:hover{background-color:#e4e4e4}.remove-file-attachment-button:active{background-color:#d7d7d7}.x-icon{color:#4e4e4e;top:-.075em;position:relative;font-size:1.05em}.modal{display:none;flex-direction:column;align-items:center;justify-content:center;position:absolute;width:80%;max-width:420px;max-height:80%;margin:auto;top:0;right:0;bottom:0;left:0;z-index:2}.modal-content{border-top:1px solid rgb(217,217,217);border-left:1px solid rgb(217,217,217);border-right:1px solid rgb(217,217,217);border-top-left-radius:inherit;border-top-right-radius:inherit;background-color:#fff;overflow-y:auto;height:fit-content;max-height:calc(100% - 3.3em);width:100%}.modal-content>p{margin-left:1em;margin-right:1em}.modal-content>ul{margin-right:1em}.modal-button-panel{height:3.3em;border:1px solid;border-color:rgb(223,223,223) rgb(217,217,217) rgb(217,217,217);border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;background-color:#fff;text-align:center;justify-content:center;display:flex;width:100%}.modal-button{min-width:2.5em;text-align:center;color:#fff;border-radius:5px;padding:.4em .4em .3em;height:1.25em;background-color:#3279b2;top:0;bottom:0;cursor:pointer;-webkit-user-select:none;user-select:none;margin:auto .31em}.modal-button:hover{background-color:#276da7}.modal-button:active{background-color:#1b5687}.modal-svg-button{padding:0 0 2px;width:2em;height:1.8em}.modal-svg-button-icon{width:100%;height:100%;filter:brightness(0) saturate(100%) invert(100%) sepia(15%) saturate(4%) hue-rotate(346deg) brightness(101%) contrast(102%)}#modal-background-panel{position:absolute;width:100%;height:100%;background-color:#00000042;z-index:1;display:none}.show-modal-background{animation:fadeInBackground .3s ease-in-out}@keyframes fadeInBackground{0%{opacity:0}to{opacity:1}}.show-modal{animation:fadeInModal .3s ease-in-out}@keyframes fadeInModal{0%{opacity:0;scale:.95}to{opacity:1;scale:1}}.hide-modal-background{animation:fadeOutBackground .2s ease-in-out}@keyframes fadeOutBackground{0%{opacity:1}to{opacity:0}}.hide-modal{animation:fadeOutModal .2s ease-in-out}@keyframes fadeOutModal{0%{opacity:1;scale:1}to{opacity:0;scale:.95}}.modal-camera-content{overflow:hidden;text-align:center;border:unset;height:100%;background-color:#2a2a2a;display:flex;justify-content:center}.camera-modal-canvas{max-width:100%;max-height:100%;margin-top:auto;margin-bottom:auto}.modal-svg-submit-button{background-color:green}.modal-svg-submit-button:hover{background-color:#007500}.modal-svg-submit-button:active{background-color:#006500}.modal-svg-submit-disabled{pointer-events:none;background-color:#747474}.modal-svg-close-button{height:1.56em;padding-top:.37em;padding-bottom:0;background-color:#c13e3e}.modal-svg-close-button:hover{background-color:#b43434}.modal-svg-close-button:active{background-color:#972929}.modal-svg-close-icon{width:80%;height:80%}.modal-svg-camera-button{height:1.6em;padding-top:.38em;padding-bottom:0}.modal-svg-camera-icon{height:76%}.modal-svg-refresh-icon{height:105%}.modal-svg-refresh-button{height:1.66em;padding-top:.11em;padding-bottom:.21em}.input-button-container{position:relative;z-index:1}.inside-right{position:absolute;right:calc(10% + .35em);bottom:.85em}.inside-left{position:absolute;left:calc(10% + .35em);bottom:.85em}.outside-left{position:absolute;right:calc(11px - .55em);bottom:.88em}.outside-right{position:absolute;left:calc(11px - .55em);bottom:.88em}#upload-images-icon{position:absolute;pointer-events:none;width:1.45em;height:1.45em;left:.11em;bottom:.08em;filter:brightness(0) saturate(100%) invert(43%) sepia(0%) saturate(740%) hue-rotate(77deg) brightness(99%) contrast(92%)}#upload-gifs-icon{position:absolute;pointer-events:none;width:1.5em;height:1.48em;left:.07em;bottom:.08em;filter:brightness(0) saturate(100%) invert(49%) sepia(0%) saturate(2586%) hue-rotate(12deg) brightness(93%) contrast(90%)}#upload-audio-icon{position:absolute;pointer-events:none;width:1.21em;height:1.21em;left:.17em;bottom:.2em;filter:brightness(0) saturate(100%) invert(15%) sepia(0%) saturate(337%) hue-rotate(125deg) brightness(91%) contrast(94%);transform:scaleX(.95)}#camera-icon{position:absolute;pointer-events:none;width:1.21em;height:1.21em;left:.23em;bottom:.2em;filter:brightness(0) saturate(100%) invert(52%) sepia(0%) saturate(161%) hue-rotate(164deg) brightness(91%) contrast(92%);transform:scaleX(.95)}#upload-mixed-files-icon{position:absolute;pointer-events:none;width:1.21em;height:1.21em;left:.25em;bottom:.2em;filter:brightness(0) saturate(100%) invert(53%) sepia(0%) saturate(36%) hue-rotate(74deg) brightness(98%) contrast(93%);transform:scaleX(.95)}#interim-text{color:gray}#microphone-button{padding-top:.5px}.outer-button-container>#microphone-button{padding-bottom:1px}#microphone-icon{position:absolute;pointer-events:none;width:1.21em;height:1.21em;left:.25em;bottom:.25em}.default-microphone-icon{filter:brightness(0) saturate(100%) invert(32%) sepia(0%) saturate(924%) hue-rotate(46deg) brightness(95%) contrast(99%)}.active-microphone-icon{filter:brightness(0) saturate(100%) invert(10%) sepia(97%) saturate(7495%) hue-rotate(0deg) brightness(101%) contrast(107%);border-radius:10px}.command-microphone-icon{filter:brightness(0) saturate(100%) invert(42%) sepia(96%) saturate(1067%) hue-rotate(77deg) brightness(99%) contrast(102%)}.unsupported-microphone{display:none}#submit-icon{height:100%;filter:brightness(0) saturate(100%) invert(32%) sepia(0%) saturate(924%) hue-rotate(46deg) brightness(95%) contrast(99%);width:1.21em}#stop-icon{background-color:#acacac;position:absolute;width:.95em;height:.95em;left:.35em;bottom:.35em;border-radius:2px}.submit-button-enlarged{scale:1.1;margin-right:.3em;margin-left:.3em}.dots-jumping{position:relative;left:calc(-9990px + .275em);width:.22em;height:.22em;border-radius:5px;background-color:#848484;color:#848484;box-shadow:9990px 0 #848484,calc(9990px + .44em) 0 0 0 #848484,calc(9990px + .8em) 0 0 0 #848484;animation:dots-jumping 1.5s infinite linear;bottom:-.7em}@keyframes dots-jumping{0%{box-shadow:9990px 0 #848484,calc(9990px + .44em) 0 0 0 #848484,calc(9990px + .8em) 0 0 0 #848484}16.667%{box-shadow:9990px -6px #848484,calc(9990px + .44em) 0 0 0 #848484,calc(9990px + .8em) 0 0 0 #848484}33.333%{box-shadow:9990px 0 #848484,calc(9990px + .44em) 0 0 0 #848484,calc(9990px + .8em) 0 0 0 #848484}50%{box-shadow:9990px 0 #848484,calc(9990px + .44em) -6px 0 0 #848484,calc(9990px + .8em) 0 0 0 #848484}66.667%{box-shadow:9990px 0 #848484,calc(9990px + .44em) 0 0 0 #848484,calc(9990px + .8em) 0 0 0 #848484}83.333%{box-shadow:9990px 0 #848484,calc(9990px + .44em) 0 0 0 #848484,calc(9990px + .8em) -6px 0 0 #848484}to{box-shadow:9990px 0 #848484,calc(9990px + .44em) 0 0 0 #848484,calc(9990px + .8em) 0 0 0 #848484}}.dots-flashing{position:relative;width:.45em;height:.45em;border-radius:5px;background-color:var(--message-dots-color);color:var(--message-dots-color);animation:dots-flashing 1s infinite linear alternate;animation-delay:.5s}.dots-flashing:before,.dots-flashing:after{content:\"\";display:inline-block;position:absolute;top:0}.dots-flashing:before{left:-.7em;width:.45em;height:.45em;border-radius:5px;background-color:var(--message-dots-color);color:var(--message-dots-color);animation:dots-flashing 1s infinite alternate;animation-delay:0s}.dots-flashing:after{left:.7em;width:.45em;height:.45em;border-radius:5px;background-color:var(--message-dots-color);color:var(--message-dots-color);animation:dots-flashing 1s infinite alternate;animation-delay:1s}@keyframes dots-flashing{0%{background-color:var(--message-dots-color)}50%,to{background-color:var(--message-dots-color-fade)}}.input-button{border-radius:4px;cursor:pointer;margin-bottom:.2em;-webkit-user-select:none;user-select:none}.input-button-svg{width:1.65em;height:1.65em}.input-button:hover{background-color:#9c9c9c2e}.input-button:active{background-color:#9c9c9c5e}.loading-button{background-color:#fff;cursor:auto}.loading-button:hover,.loading-button:active{background-color:#fff}.text-button{filter:unset!important;display:flex;justify-content:center;align-items:center;margin-left:4px;margin-right:4px;height:1.6em}#text-input-container{background-color:#fff;width:80%;display:flex;border:1px solid #0000001a;border-radius:5px;margin-top:.8em;margin-bottom:.8em;box-shadow:#959da533 0 1px 12px;overflow-y:auto;max-height:200px;position:relative}.text-input-container-left-adjustment{margin-left:1.5em}.text-input-container-right-adjustment{margin-right:1.5em}.text-input-container-left-small-adjustment{margin-left:1.1em}.text-input-container-left-small-adjustment>.outside-left{right:calc(14px - .55em)}.text-input-container-right-small-adjustment{margin-right:1.1em}.text-input-container-right-small-adjustment>.outside-right{left:calc(14px - .55em)}#text-input{text-align:left;outline:none;word-wrap:break-word;line-break:auto}.text-input-styling{padding:.4em .5em;overflow:overlay;width:100%}.text-input-inner-left-adjustment{padding-left:2.2em}.text-input-inner-right-adjustment{padding-right:2em}.text-input-disabled{pointer-events:none;-webkit-user-select:none;user-select:none}.text-input-placeholder{color:gray}.outside-right>#dropup-menu,.inside-right>#dropup-menu{right:0}#dropup-icon{position:absolute;pointer-events:none;width:1.16em;height:1.2em;left:.265em;bottom:.43em;filter:brightness(0) saturate(100%) invert(54%) sepia(0%) saturate(724%) hue-rotate(6deg) brightness(92%) contrast(90%)}#dropup-menu{background-color:#fff;position:absolute;transform:translateY(-100%);border-radius:5px;z-index:1;top:-.49em;box-shadow:#0003 -1px 2px 10px,#0000001a 0 2px 4px;cursor:pointer;-webkit-user-select:none;user-select:none}.dropup-menu-item{height:1.4em;padding:.28em .84em .28em .35em;display:flex;position:relative}.dropup-menu-item:first-child{padding-top:.49em;border-top-left-radius:inherit;border-top-right-radius:inherit}.dropup-menu-item:last-child{padding-bottom:.45em;border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.dropup-menu-item-icon{width:1.39em;position:relative;margin-right:.56em}.dropup-menu-item-icon>svg{bottom:0!important;top:0!important;margin-bottom:auto;margin-top:auto}.dropup-menu-item-text{margin-top:.08em;width:max-content}#input{width:100%;display:inline-flex;text-align:center;margin-left:auto;margin-right:auto;margin-top:auto;position:relative;justify-content:center}#chat-view{height:100%;display:grid;grid-template-columns:100%}::-webkit-scrollbar{width:9px;height:9px}::-webkit-scrollbar-thumb{background-color:#d0d0d0;border-radius:5px}::-webkit-scrollbar-track{background-color:#f2f2f2}:host{all:initial;display:table-cell}#container{height:100%}\n";
|
10705
10705
|
var __defProp = Object.defineProperty,
|
10706
10706
|
__getOwnPropDesc = Object.getOwnPropertyDescriptor,
|
10707
10707
|
__decorateClass = function __decorateClass(r, e, t, n) {
|
10708
10708
|
for (var s = n > 1 ? void 0 : n ? __getOwnPropDesc(e, t) : e, o = r.length - 1, a; o >= 0; o--) (a = r[o]) && (s = (n ? a(e, t, s) : a(s)) || s);
|
10709
10709
|
return n && s && __defProp(e, t, s), s;
|
10710
10710
|
};
|
10711
|
-
var
|
10712
|
-
_inherits(
|
10713
|
-
var _super45 = _createSuper(
|
10711
|
+
var _DeepChat = /*#__PURE__*/function (_InternalHTML2) {
|
10712
|
+
_inherits(Y, _InternalHTML2);
|
10713
|
+
var _super45 = _createSuper(Y);
|
10714
10714
|
// TO-DO - key view style
|
10715
|
-
function
|
10715
|
+
function Y() {
|
10716
10716
|
var _this60;
|
10717
|
-
_classCallCheck(this,
|
10717
|
+
_classCallCheck(this, Y);
|
10718
10718
|
_this60 = _super45.call(this), _this60.getMessages = function () {
|
10719
10719
|
return [];
|
10720
10720
|
}, _this60.submitUserMessage = function () {
|
@@ -10728,59 +10728,74 @@ var DeepChat = /*#__PURE__*/function (_InternalHTML2) {
|
|
10728
10728
|
}, 20);
|
10729
10729
|
return _this60;
|
10730
10730
|
}
|
10731
|
-
_createClass(
|
10731
|
+
_createClass(Y, [{
|
10732
10732
|
key: "changeToChatView",
|
10733
10733
|
value: function changeToChatView() {
|
10734
10734
|
this._activeService && (this._activeService.validateConfigKey = !1), this.onRender();
|
10735
10735
|
}
|
10736
|
-
// prettier-ignore
|
10737
10736
|
}, {
|
10738
10737
|
key: "onRender",
|
10739
|
-
value:
|
10740
|
-
|
10741
|
-
|
10742
|
-
|
10743
|
-
(_this$_activeService = this._activeService) !== null && _this$_activeService !== void 0 ? _this$_activeService : this._activeService = ServiceIOFactory.create(this), this._activeService
|
10744
|
-
|
10745
|
-
|
10738
|
+
value:
|
10739
|
+
// prettier-ignore
|
10740
|
+
function onRender() {
|
10741
|
+
var _this$_activeService, _this$_childElement;
|
10742
|
+
if ((_this$_activeService = this._activeService) !== null && _this$_activeService !== void 0 ? _this$_activeService : this._activeService = ServiceIOFactory.create(this), !this._activeService) return;
|
10743
|
+
this.auxiliaryStyle && !this._auxiliaryStyleApplied && (WebComponentStyleUtils.apply(this.auxiliaryStyle, this.shadowRoot), this._auxiliaryStyleApplied = !0);
|
10744
|
+
var e = {
|
10745
|
+
height: "150px",
|
10746
|
+
width: "500px",
|
10747
|
+
border: "1px solid #cacaca",
|
10748
|
+
fontFamily: "'Inter', sans-serif, Avenir, Helvetica, Arial",
|
10749
|
+
fontSize: "0.9rem",
|
10750
|
+
backgroundColor: "white",
|
10751
|
+
position: "relative",
|
10752
|
+
overflow: "hidden"
|
10753
|
+
};
|
10754
|
+
Y.customAssign(this.style, e), this._activeService.key && this._activeService.validateConfigKey ? ValidateKeyPropertyView.render(this._elementRef, this.changeToChatView.bind(this), this._activeService) : !(this._activeService instanceof DirectServiceIO) || this._activeService.key ? ((_this$_childElement = this._childElement) !== null && _this$_childElement !== void 0 ? _this$_childElement : this._childElement = this.children[0], ChatView.render(this, this._elementRef, this._activeService, this._childElement)) : this._activeService instanceof DirectServiceIO && InsertKeyView.render(this._elementRef, this.changeToChatView.bind(this), this._activeService), this._hasBeenRendered = !0, FireEvents.onRender(this);
|
10755
|
+
}
|
10756
|
+
}], [{
|
10757
|
+
key: "customAssign",
|
10758
|
+
value: function customAssign(e, t) {
|
10759
|
+
for (var n in t) e[n] === "" && (e[n] = t[n]);
|
10746
10760
|
}
|
10747
10761
|
}]);
|
10748
|
-
return
|
10762
|
+
return Y;
|
10749
10763
|
}(InternalHTML);
|
10750
|
-
__decorateClass([Property("object")],
|
10751
|
-
__decorateClass([Property("object")],
|
10752
|
-
__decorateClass([Property("object")],
|
10753
|
-
__decorateClass([Property("object")],
|
10754
|
-
__decorateClass([Property("function")],
|
10755
|
-
__decorateClass([Property("function")],
|
10756
|
-
__decorateClass([Property("function")],
|
10757
|
-
__decorateClass([Property("object")],
|
10758
|
-
__decorateClass([Property("object")],
|
10759
|
-
__decorateClass([Property("object")],
|
10760
|
-
__decorateClass([Property("object")],
|
10761
|
-
__decorateClass([Property("object")],
|
10762
|
-
__decorateClass([Property("string")],
|
10763
|
-
__decorateClass([Property("array")],
|
10764
|
-
__decorateClass([Property("object")],
|
10765
|
-
__decorateClass([Property("object")],
|
10766
|
-
__decorateClass([Property("object")],
|
10767
|
-
__decorateClass([Property("boolean")],
|
10768
|
-
__decorateClass([Property("object")],
|
10769
|
-
__decorateClass([Property("object")],
|
10770
|
-
__decorateClass([Property("object")],
|
10771
|
-
__decorateClass([Property("object")],
|
10772
|
-
__decorateClass([Property("object")],
|
10773
|
-
__decorateClass([Property("object")],
|
10774
|
-
__decorateClass([Property("object")],
|
10775
|
-
__decorateClass([Property("object")],
|
10776
|
-
__decorateClass([Property("object")],
|
10777
|
-
__decorateClass([Property("object")],
|
10778
|
-
__decorateClass([Property("object")],
|
10779
|
-
__decorateClass([Property("object")],
|
10780
|
-
__decorateClass([Property("object")],
|
10781
|
-
__decorateClass([Property("function")],
|
10782
|
-
__decorateClass([Property("function")],
|
10783
|
-
__decorateClass([Property("function")],
|
10784
|
-
__decorateClass([Property("object")],
|
10764
|
+
__decorateClass([Property("object")], _DeepChat.prototype, "directConnection", 2);
|
10765
|
+
__decorateClass([Property("object")], _DeepChat.prototype, "request", 2);
|
10766
|
+
__decorateClass([Property("object")], _DeepChat.prototype, "stream", 2);
|
10767
|
+
__decorateClass([Property("object")], _DeepChat.prototype, "requestBodyLimits", 2);
|
10768
|
+
__decorateClass([Property("function")], _DeepChat.prototype, "requestInterceptor", 2);
|
10769
|
+
__decorateClass([Property("function")], _DeepChat.prototype, "responseInterceptor", 2);
|
10770
|
+
__decorateClass([Property("function")], _DeepChat.prototype, "validateMessageBeforeSending", 2);
|
10771
|
+
__decorateClass([Property("object")], _DeepChat.prototype, "attachmentContainerStyle", 2);
|
10772
|
+
__decorateClass([Property("object")], _DeepChat.prototype, "dropupStyles", 2);
|
10773
|
+
__decorateClass([Property("object")], _DeepChat.prototype, "inputAreaStyle", 2);
|
10774
|
+
__decorateClass([Property("object")], _DeepChat.prototype, "textInput", 2);
|
10775
|
+
__decorateClass([Property("object")], _DeepChat.prototype, "submitButtonStyles", 2);
|
10776
|
+
__decorateClass([Property("string")], _DeepChat.prototype, "auxiliaryStyle", 2);
|
10777
|
+
__decorateClass([Property("array")], _DeepChat.prototype, "initialMessages", 2);
|
10778
|
+
__decorateClass([Property("object")], _DeepChat.prototype, "introMessage", 2);
|
10779
|
+
__decorateClass([Property("object")], _DeepChat.prototype, "avatars", 2);
|
10780
|
+
__decorateClass([Property("object")], _DeepChat.prototype, "names", 2);
|
10781
|
+
__decorateClass([Property("boolean")], _DeepChat.prototype, "displayLoadingBubble", 2);
|
10782
|
+
__decorateClass([Property("object")], _DeepChat.prototype, "errorMessages", 2);
|
10783
|
+
__decorateClass([Property("object")], _DeepChat.prototype, "messageStyles", 2);
|
10784
|
+
__decorateClass([Property("object")], _DeepChat.prototype, "textToSpeech", 2);
|
10785
|
+
__decorateClass([Property("object")], _DeepChat.prototype, "speechToText", 2);
|
10786
|
+
__decorateClass([Property("object")], _DeepChat.prototype, "images", 2);
|
10787
|
+
__decorateClass([Property("object")], _DeepChat.prototype, "gifs", 2);
|
10788
|
+
__decorateClass([Property("object")], _DeepChat.prototype, "camera", 2);
|
10789
|
+
__decorateClass([Property("object")], _DeepChat.prototype, "audio", 2);
|
10790
|
+
__decorateClass([Property("object")], _DeepChat.prototype, "microphone", 2);
|
10791
|
+
__decorateClass([Property("object")], _DeepChat.prototype, "mixedFiles", 2);
|
10792
|
+
__decorateClass([Property("object")], _DeepChat.prototype, "dragAndDrop", 2);
|
10793
|
+
__decorateClass([Property("object")], _DeepChat.prototype, "introPanelStyle", 2);
|
10794
|
+
__decorateClass([Property("object")], _DeepChat.prototype, "htmlClassUtilities", 2);
|
10795
|
+
__decorateClass([Property("function")], _DeepChat.prototype, "onNewMessage", 2);
|
10796
|
+
__decorateClass([Property("function")], _DeepChat.prototype, "onClearMessages", 2);
|
10797
|
+
__decorateClass([Property("function")], _DeepChat.prototype, "onComponentRender", 2);
|
10798
|
+
__decorateClass([Property("object")], _DeepChat.prototype, "demo", 2);
|
10799
|
+
var DeepChat = _DeepChat;
|
10785
10800
|
customElements.define("deep-chat", DeepChat);
|
10786
10801
|
export { DeepChat };
|