@superinterface/react 4.2.2 → 4.4.0
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/index.cjs +247 -180
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -4
- package/dist/index.d.ts +9 -4
- package/dist/index.js +254 -191
- package/dist/index.js.map +1 -1
- package/dist/utils.cjs +6 -0
- package/dist/utils.cjs.map +1 -1
- package/dist/utils.d.cts +3 -1
- package/dist/utils.d.ts +3 -1
- package/dist/utils.js +3 -1
- package/dist/utils.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -37734,6 +37734,9 @@ __export(index_exports, {
|
|
|
37734
37734
|
useAudioThreadContext: function() {
|
|
37735
37735
|
return useAudioThreadContext;
|
|
37736
37736
|
},
|
|
37737
|
+
useChangeFilesField: function() {
|
|
37738
|
+
return useChangeFilesField;
|
|
37739
|
+
},
|
|
37737
37740
|
useComponents: function() {
|
|
37738
37741
|
return useComponents;
|
|
37739
37742
|
},
|
|
@@ -37957,7 +37960,7 @@ var SuperinterfaceProvider = function(_ref) {
|
|
|
37957
37960
|
});
|
|
37958
37961
|
};
|
|
37959
37962
|
// src/components/threads/Thread/index.tsx
|
|
37960
|
-
var
|
|
37963
|
+
var import_react_compiler_runtime76 = require("react-compiler-runtime");
|
|
37961
37964
|
// src/components/threads/Thread/Messages/index.tsx
|
|
37962
37965
|
var import_react_compiler_runtime65 = require("react-compiler-runtime");
|
|
37963
37966
|
var import_themes45 = require("@radix-ui/themes");
|
|
@@ -44699,7 +44702,7 @@ Messages2.Message = Message;
|
|
|
44699
44702
|
Messages2.NextPageSkeleton = NextPageSkeleton;
|
|
44700
44703
|
Messages2.Content = Content7;
|
|
44701
44704
|
// src/components/threads/Thread/MessageForm/index.tsx
|
|
44702
|
-
var
|
|
44705
|
+
var import_react_compiler_runtime72 = require("react-compiler-runtime");
|
|
44703
44706
|
// src/components/threads/Thread/MessageForm/Submit/index.tsx
|
|
44704
44707
|
var import_react_compiler_runtime66 = require("react-compiler-runtime");
|
|
44705
44708
|
var import_react_icons11 = require("@radix-ui/react-icons");
|
|
@@ -44960,7 +44963,7 @@ var Root8 = function(_ref) {
|
|
|
44960
44963
|
var children = _ref.children, onSubmitArg = _ref.onSubmit, isDisabledArg = _ref.isDisabled, style = _ref.style, className = _ref.className;
|
|
44961
44964
|
var _$_ref = _sliced_to_array((0, import_react51.useState)([]), 2), files = _$_ref[0], setFiles = _$_ref[1];
|
|
44962
44965
|
var formProps = (0, import_react_hook_form.useForm)(formOptions);
|
|
44963
|
-
var handleSubmit = formProps.handleSubmit, isSubmitting = formProps.formState.isSubmitting,
|
|
44966
|
+
var handleSubmit = formProps.handleSubmit, isSubmitting = formProps.formState.isSubmitting, formReset = formProps.reset, watch = formProps.watch;
|
|
44964
44967
|
var addToast = useToasts().addToast;
|
|
44965
44968
|
var queryClient = (0, import_react_query6.useQueryClient)();
|
|
44966
44969
|
var threadContext = useSuperinterfaceContext();
|
|
@@ -44995,9 +44998,16 @@ var Root8 = function(_ref) {
|
|
|
44995
44998
|
latestMessage,
|
|
44996
44999
|
isDisabledArg
|
|
44997
45000
|
]);
|
|
45001
|
+
var reset = (0, import_react51.useCallback)(function() {
|
|
45002
|
+
formReset();
|
|
45003
|
+
setFiles([]);
|
|
45004
|
+
}, [
|
|
45005
|
+
formReset
|
|
45006
|
+
]);
|
|
44998
45007
|
var onSubmit = onSubmitArg ? (0, import_radash14.partob)(onSubmitArg, {
|
|
44999
45008
|
reset: reset,
|
|
45000
|
-
createMessage: createMessage
|
|
45009
|
+
createMessage: createMessage,
|
|
45010
|
+
files: files
|
|
45001
45011
|
}) : /* @__PURE__ */ function() {
|
|
45002
45012
|
var _ref2 = _asyncToGenerator6(function(data2) {
|
|
45003
45013
|
var attachments, imageFileContentParts, content2;
|
|
@@ -45014,7 +45024,6 @@ var Root8 = function(_ref) {
|
|
|
45014
45024
|
2
|
|
45015
45025
|
];
|
|
45016
45026
|
reset();
|
|
45017
|
-
setFiles([]);
|
|
45018
45027
|
attachments = files.filter(function(file_0) {
|
|
45019
45028
|
return file_0.purpose === "assistants";
|
|
45020
45029
|
}).map(function(file_1) {
|
|
@@ -45525,11 +45534,13 @@ var Preview = function(props) {
|
|
|
45525
45534
|
return t1;
|
|
45526
45535
|
};
|
|
45527
45536
|
// src/components/threads/Thread/MessageForm/Field/Files/Control.tsx
|
|
45537
|
+
var import_react_compiler_runtime71 = require("react-compiler-runtime");
|
|
45538
|
+
var import_react_icons13 = require("@radix-ui/react-icons");
|
|
45539
|
+
var import_themes50 = require("@radix-ui/themes");
|
|
45540
|
+
// src/hooks/files/useChangeFilesField/index.ts
|
|
45528
45541
|
var import_react55 = require("react");
|
|
45529
45542
|
var import_radash15 = require("radash");
|
|
45530
45543
|
var import_dayjs2 = __toESM(require("dayjs"), 1);
|
|
45531
|
-
var import_react_icons13 = require("@radix-ui/react-icons");
|
|
45532
|
-
var import_themes50 = require("@radix-ui/themes");
|
|
45533
45544
|
// src/hooks/files/useCreateFile/index.ts
|
|
45534
45545
|
var import_react_compiler_runtime70 = require("react-compiler-runtime");
|
|
45535
45546
|
var import_react_query7 = require("@tanstack/react-query");
|
|
@@ -45842,51 +45853,7 @@ var useCreateFile = function(t0) {
|
|
|
45842
45853
|
};
|
|
45843
45854
|
function _temp4() {}
|
|
45844
45855
|
function _temp23() {}
|
|
45845
|
-
// src/
|
|
45846
|
-
var import_jsx_runtime72 = require("react/jsx-runtime");
|
|
45847
|
-
function ownKeys36(e, r) {
|
|
45848
|
-
var t = Object.keys(e);
|
|
45849
|
-
if (Object.getOwnPropertySymbols) {
|
|
45850
|
-
var o = Object.getOwnPropertySymbols(e);
|
|
45851
|
-
r && (o = o.filter(function(r2) {
|
|
45852
|
-
return Object.getOwnPropertyDescriptor(e, r2).enumerable;
|
|
45853
|
-
})), t.push.apply(t, o);
|
|
45854
|
-
}
|
|
45855
|
-
return t;
|
|
45856
|
-
}
|
|
45857
|
-
function _objectSpread36(e) {
|
|
45858
|
-
for(var r = 1; r < arguments.length; r++){
|
|
45859
|
-
var t = null != arguments[r] ? arguments[r] : {};
|
|
45860
|
-
r % 2 ? ownKeys36(Object(t), true).forEach(function(r2) {
|
|
45861
|
-
_defineProperty36(e, r2, t[r2]);
|
|
45862
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys36(Object(t)).forEach(function(r2) {
|
|
45863
|
-
Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t, r2));
|
|
45864
|
-
});
|
|
45865
|
-
}
|
|
45866
|
-
return e;
|
|
45867
|
-
}
|
|
45868
|
-
function _defineProperty36(e, r, t) {
|
|
45869
|
-
return (r = _toPropertyKey36(r)) in e ? Object.defineProperty(e, r, {
|
|
45870
|
-
value: t,
|
|
45871
|
-
enumerable: true,
|
|
45872
|
-
configurable: true,
|
|
45873
|
-
writable: true
|
|
45874
|
-
}) : e[r] = t, e;
|
|
45875
|
-
}
|
|
45876
|
-
function _toPropertyKey36(t) {
|
|
45877
|
-
var i = _toPrimitive36(t, "string");
|
|
45878
|
-
return "symbol" == (typeof i === "undefined" ? "undefined" : _type_of(i)) ? i : i + "";
|
|
45879
|
-
}
|
|
45880
|
-
function _toPrimitive36(t, r) {
|
|
45881
|
-
if ("object" != (typeof t === "undefined" ? "undefined" : _type_of(t)) || !t) return t;
|
|
45882
|
-
var e = t[Symbol.toPrimitive];
|
|
45883
|
-
if (void 0 !== e) {
|
|
45884
|
-
var i = e.call(t, r || "default");
|
|
45885
|
-
if ("object" != (typeof i === "undefined" ? "undefined" : _type_of(i))) return i;
|
|
45886
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
45887
|
-
}
|
|
45888
|
-
return ("string" === r ? String : Number)(t);
|
|
45889
|
-
}
|
|
45856
|
+
// src/hooks/files/useChangeFilesField/index.ts
|
|
45890
45857
|
function asyncGeneratorStep8(n, t, e, r, o, a, c) {
|
|
45891
45858
|
try {
|
|
45892
45859
|
var i = n[a](c), u = i.value;
|
|
@@ -45951,7 +45918,6 @@ function AsyncFromSyncIterator(r) {
|
|
|
45951
45918
|
}
|
|
45952
45919
|
}, new AsyncFromSyncIterator(r);
|
|
45953
45920
|
}
|
|
45954
|
-
var accept = ".c,text/x-c,\n.cs,text/x-csharp,\n.cpp,text/x-c++,\n.doc,application/msword,\n.docx,application/vnd.openxmlformats-officedocument.wordprocessingml.document,\n.html,text/html,\n.java,text/x-java,\n.json,application/json,\n.md,text/markdown,\n.pdf,application/pdf,\n.php,text/x-php,\n.pptx,application/vnd.openxmlformats-officedocument.presentationml.presentation,\n.py,text/x-python,\n.py,text/x-script.python,\n.rb,text/x-ruby,\n.tex,text/x-tex,\n.txt,text/plain,\n.css,text/css,\n.js,text/javascript,\n.sh,application/x-sh,\n.ts,application/typescript,\n.png,image/png,\n.jpeg,image/jpeg,\n.jpg,image/jpeg,\n.webp,image/webp,\n.gif,image/gif";
|
|
45955
45921
|
var purpose = function(_ref) {
|
|
45956
45922
|
var fileObject = _ref.fileObject;
|
|
45957
45923
|
if (fileObject.type.startsWith("image/")) {
|
|
@@ -45959,11 +45925,11 @@ var purpose = function(_ref) {
|
|
|
45959
45925
|
}
|
|
45960
45926
|
return "assistants";
|
|
45961
45927
|
};
|
|
45962
|
-
var
|
|
45963
|
-
var
|
|
45928
|
+
var useChangeFilesField = function() {
|
|
45929
|
+
var setFiles = useMessageFormContext().setFiles;
|
|
45964
45930
|
var createFile = useCreateFile().createFile;
|
|
45965
45931
|
var addToast = useToasts().addToast;
|
|
45966
|
-
var
|
|
45932
|
+
var changeFilesField = (0, import_react55.useCallback)(/* @__PURE__ */ function() {
|
|
45967
45933
|
var _ref2 = _asyncToGenerator8(function(event) {
|
|
45968
45934
|
var fileObjects, newFiles, _iteratorAbruptCompletion, _didIteratorError, _iteratorError, _loop, _iterator, _step, err;
|
|
45969
45935
|
return _ts_generator(this, function(_state) {
|
|
@@ -46134,40 +46100,140 @@ var Control2 = function(props) {
|
|
|
46134
46100
|
createFile,
|
|
46135
46101
|
setFiles
|
|
46136
46102
|
]);
|
|
46137
|
-
return
|
|
46138
|
-
|
|
46139
|
-
|
|
46140
|
-
|
|
46141
|
-
|
|
46142
|
-
|
|
46103
|
+
return {
|
|
46104
|
+
changeFilesField: changeFilesField
|
|
46105
|
+
};
|
|
46106
|
+
};
|
|
46107
|
+
// src/lib/files/filesFieldAccept.ts
|
|
46108
|
+
var filesFieldAccept = ".c,text/x-c,\n.cs,text/x-csharp,\n.cpp,text/x-c++,\n.doc,application/msword,\n.docx,application/vnd.openxmlformats-officedocument.wordprocessingml.document,\n.html,text/html,\n.java,text/x-java,\n.json,application/json,\n.md,text/markdown,\n.pdf,application/pdf,\n.php,text/x-php,\n.pptx,application/vnd.openxmlformats-officedocument.presentationml.presentation,\n.py,text/x-python,\n.py,text/x-script.python,\n.rb,text/x-ruby,\n.tex,text/x-tex,\n.txt,text/plain,\n.css,text/css,\n.js,text/javascript,\n.sh,application/x-sh,\n.ts,application/typescript,\n.png,image/png,\n.jpeg,image/jpeg,\n.jpg,image/jpeg,\n.webp,image/webp,\n.gif,image/gif";
|
|
46109
|
+
// src/components/threads/Thread/MessageForm/Field/Files/Control.tsx
|
|
46110
|
+
var import_jsx_runtime72 = require("react/jsx-runtime");
|
|
46111
|
+
function ownKeys36(e, r) {
|
|
46112
|
+
var t = Object.keys(e);
|
|
46113
|
+
if (Object.getOwnPropertySymbols) {
|
|
46114
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
46115
|
+
r && (o = o.filter(function(r2) {
|
|
46116
|
+
return Object.getOwnPropertyDescriptor(e, r2).enumerable;
|
|
46117
|
+
})), t.push.apply(t, o);
|
|
46118
|
+
}
|
|
46119
|
+
return t;
|
|
46120
|
+
}
|
|
46121
|
+
function _objectSpread36(e) {
|
|
46122
|
+
for(var r = 1; r < arguments.length; r++){
|
|
46123
|
+
var t = null != arguments[r] ? arguments[r] : {};
|
|
46124
|
+
r % 2 ? ownKeys36(Object(t), true).forEach(function(r2) {
|
|
46125
|
+
_defineProperty36(e, r2, t[r2]);
|
|
46126
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys36(Object(t)).forEach(function(r2) {
|
|
46127
|
+
Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t, r2));
|
|
46128
|
+
});
|
|
46129
|
+
}
|
|
46130
|
+
return e;
|
|
46131
|
+
}
|
|
46132
|
+
function _defineProperty36(e, r, t) {
|
|
46133
|
+
return (r = _toPropertyKey36(r)) in e ? Object.defineProperty(e, r, {
|
|
46134
|
+
value: t,
|
|
46135
|
+
enumerable: true,
|
|
46136
|
+
configurable: true,
|
|
46137
|
+
writable: true
|
|
46138
|
+
}) : e[r] = t, e;
|
|
46139
|
+
}
|
|
46140
|
+
function _toPropertyKey36(t) {
|
|
46141
|
+
var i = _toPrimitive36(t, "string");
|
|
46142
|
+
return "symbol" == (typeof i === "undefined" ? "undefined" : _type_of(i)) ? i : i + "";
|
|
46143
|
+
}
|
|
46144
|
+
function _toPrimitive36(t, r) {
|
|
46145
|
+
if ("object" != (typeof t === "undefined" ? "undefined" : _type_of(t)) || !t) return t;
|
|
46146
|
+
var e = t[Symbol.toPrimitive];
|
|
46147
|
+
if (void 0 !== e) {
|
|
46148
|
+
var i = e.call(t, r || "default");
|
|
46149
|
+
if ("object" != (typeof i === "undefined" ? "undefined" : _type_of(i))) return i;
|
|
46150
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
46151
|
+
}
|
|
46152
|
+
return ("string" === r ? String : Number)(t);
|
|
46153
|
+
}
|
|
46154
|
+
var Control2 = function(props) {
|
|
46155
|
+
var $ = (0, import_react_compiler_runtime71.c)(11);
|
|
46156
|
+
var _useMessageFormContext = useMessageFormContext(), isDisabled = _useMessageFormContext.isDisabled, isLoading = _useMessageFormContext.isLoading;
|
|
46157
|
+
var changeFilesField = useChangeFilesField().changeFilesField;
|
|
46158
|
+
var t0 = isDisabled || isLoading;
|
|
46159
|
+
var t1;
|
|
46160
|
+
var t2;
|
|
46161
|
+
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
46162
|
+
t1 = {
|
|
46163
|
+
position: "relative",
|
|
46164
|
+
overflow: "hidden"
|
|
46165
|
+
};
|
|
46166
|
+
t2 = /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_react_icons13.FilePlusIcon, {});
|
|
46167
|
+
$[0] = t1;
|
|
46168
|
+
$[1] = t2;
|
|
46169
|
+
} else {
|
|
46170
|
+
t1 = $[0];
|
|
46171
|
+
t2 = $[1];
|
|
46172
|
+
}
|
|
46173
|
+
var t3;
|
|
46174
|
+
if ($[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
46175
|
+
t3 = {
|
|
46176
|
+
cursor: "pointer",
|
|
46177
|
+
position: "absolute",
|
|
46178
|
+
top: 0,
|
|
46179
|
+
left: 0,
|
|
46180
|
+
right: 0,
|
|
46181
|
+
bottom: 0,
|
|
46182
|
+
opacity: 0
|
|
46183
|
+
};
|
|
46184
|
+
$[2] = t3;
|
|
46185
|
+
} else {
|
|
46186
|
+
t3 = $[2];
|
|
46187
|
+
}
|
|
46188
|
+
var t4;
|
|
46189
|
+
if ($[3] !== changeFilesField) {
|
|
46190
|
+
t4 = /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("input", {
|
|
46191
|
+
type: "file",
|
|
46192
|
+
multiple: true,
|
|
46193
|
+
accept: filesFieldAccept,
|
|
46194
|
+
onChange: changeFilesField,
|
|
46195
|
+
style: t3
|
|
46196
|
+
});
|
|
46197
|
+
$[3] = changeFilesField;
|
|
46198
|
+
$[4] = t4;
|
|
46199
|
+
} else {
|
|
46200
|
+
t4 = $[4];
|
|
46201
|
+
}
|
|
46202
|
+
var t5;
|
|
46203
|
+
if ($[5] !== t0 || $[6] !== t4) {
|
|
46204
|
+
t5 = /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(import_themes50.IconButton, {
|
|
46143
46205
|
type: "button",
|
|
46144
46206
|
variant: "ghost",
|
|
46145
46207
|
color: "gray",
|
|
46146
|
-
disabled:
|
|
46147
|
-
style:
|
|
46148
|
-
position: "relative",
|
|
46149
|
-
overflow: "hidden"
|
|
46150
|
-
},
|
|
46208
|
+
disabled: t0,
|
|
46209
|
+
style: t1,
|
|
46151
46210
|
children: [
|
|
46152
|
-
|
|
46153
|
-
|
|
46154
|
-
type: "file",
|
|
46155
|
-
multiple: true,
|
|
46156
|
-
accept: accept,
|
|
46157
|
-
onChange: onChange,
|
|
46158
|
-
style: {
|
|
46159
|
-
cursor: "pointer",
|
|
46160
|
-
position: "absolute",
|
|
46161
|
-
top: 0,
|
|
46162
|
-
left: 0,
|
|
46163
|
-
right: 0,
|
|
46164
|
-
bottom: 0,
|
|
46165
|
-
opacity: 0
|
|
46166
|
-
}
|
|
46167
|
-
})
|
|
46211
|
+
t2,
|
|
46212
|
+
t4
|
|
46168
46213
|
]
|
|
46169
|
-
})
|
|
46170
|
-
|
|
46214
|
+
});
|
|
46215
|
+
$[5] = t0;
|
|
46216
|
+
$[6] = t4;
|
|
46217
|
+
$[7] = t5;
|
|
46218
|
+
} else {
|
|
46219
|
+
t5 = $[7];
|
|
46220
|
+
}
|
|
46221
|
+
var t6;
|
|
46222
|
+
if ($[8] !== props || $[9] !== t5) {
|
|
46223
|
+
t6 = /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_themes50.Flex, _objectSpread36(_objectSpread36({
|
|
46224
|
+
pt: "2",
|
|
46225
|
+
pr: "2",
|
|
46226
|
+
flexGrow: "0"
|
|
46227
|
+
}, props), {}, {
|
|
46228
|
+
children: t5
|
|
46229
|
+
}));
|
|
46230
|
+
$[8] = props;
|
|
46231
|
+
$[9] = t5;
|
|
46232
|
+
$[10] = t6;
|
|
46233
|
+
} else {
|
|
46234
|
+
t6 = $[10];
|
|
46235
|
+
}
|
|
46236
|
+
return t6;
|
|
46171
46237
|
};
|
|
46172
46238
|
// src/components/threads/Thread/MessageForm/Field/Files/index.tsx
|
|
46173
46239
|
var Files = {
|
|
@@ -46303,7 +46369,7 @@ function _toPrimitive38(t, r) {
|
|
|
46303
46369
|
return ("string" === r ? String : Number)(t);
|
|
46304
46370
|
}
|
|
46305
46371
|
var MessageForm = function(props) {
|
|
46306
|
-
var $ = (0,
|
|
46372
|
+
var $ = (0, import_react_compiler_runtime72.c)(3);
|
|
46307
46373
|
var t0;
|
|
46308
46374
|
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
46309
46375
|
t0 = /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(Field.Root, {
|
|
@@ -46332,22 +46398,22 @@ MessageForm.Root = Root8;
|
|
|
46332
46398
|
MessageForm.Field = Field;
|
|
46333
46399
|
MessageForm.Submit = Submit;
|
|
46334
46400
|
// src/components/threads/Thread/Root/index.tsx
|
|
46335
|
-
var
|
|
46401
|
+
var import_react_compiler_runtime75 = require("react-compiler-runtime");
|
|
46336
46402
|
var import_themes53 = require("@radix-ui/themes");
|
|
46337
46403
|
// src/components/threads/Thread/Provider/index.tsx
|
|
46338
46404
|
var Provider2 = SuperinterfaceProvider;
|
|
46339
46405
|
// src/components/toasts/ToastsProvider/index.tsx
|
|
46340
|
-
var
|
|
46406
|
+
var import_react_compiler_runtime74 = require("react-compiler-runtime");
|
|
46341
46407
|
var import_react56 = require("react");
|
|
46342
46408
|
var Toast2 = __toESM(require("@radix-ui/react-toast"), 1);
|
|
46343
46409
|
// src/components/toasts/ToastsProvider/CustomToast.tsx
|
|
46344
|
-
var
|
|
46410
|
+
var import_react_compiler_runtime73 = require("react-compiler-runtime");
|
|
46345
46411
|
var Toast = __toESM(require("@radix-ui/react-toast"), 1);
|
|
46346
46412
|
var import_themes52 = require("@radix-ui/themes");
|
|
46347
46413
|
var import_react_icons14 = require("@radix-ui/react-icons");
|
|
46348
46414
|
var import_jsx_runtime75 = require("react/jsx-runtime");
|
|
46349
46415
|
var CustomToast = function(t0) {
|
|
46350
|
-
var $ = (0,
|
|
46416
|
+
var $ = (0, import_react_compiler_runtime73.c)(7);
|
|
46351
46417
|
var toast = t0.toast;
|
|
46352
46418
|
var t1;
|
|
46353
46419
|
if ($[0] !== toast.type) {
|
|
@@ -46403,7 +46469,7 @@ var CustomToast = function(t0) {
|
|
|
46403
46469
|
// src/components/toasts/ToastsProvider/index.tsx
|
|
46404
46470
|
var import_jsx_runtime76 = require("react/jsx-runtime");
|
|
46405
46471
|
var ToastsProvider = function(t0) {
|
|
46406
|
-
var $ = (0,
|
|
46472
|
+
var $ = (0, import_react_compiler_runtime74.c)(15);
|
|
46407
46473
|
var children = t0.children, t1 = t0.bottom;
|
|
46408
46474
|
var bottom = t1 === void 0 ? 0 : t1;
|
|
46409
46475
|
var t2;
|
|
@@ -46575,7 +46641,7 @@ function _objectWithoutPropertiesLoose4(r, e) {
|
|
|
46575
46641
|
return t;
|
|
46576
46642
|
}
|
|
46577
46643
|
var Root12 = function(t0) {
|
|
46578
|
-
var $ = (0,
|
|
46644
|
+
var $ = (0, import_react_compiler_runtime75.c)(12);
|
|
46579
46645
|
var children;
|
|
46580
46646
|
var className;
|
|
46581
46647
|
var rest;
|
|
@@ -46675,7 +46741,7 @@ function _toPrimitive40(t, r) {
|
|
|
46675
46741
|
return ("string" === r ? String : Number)(t);
|
|
46676
46742
|
}
|
|
46677
46743
|
var Thread = function(props) {
|
|
46678
|
-
var $ = (0,
|
|
46744
|
+
var $ = (0, import_react_compiler_runtime76.c)(4);
|
|
46679
46745
|
var t0;
|
|
46680
46746
|
var t1;
|
|
46681
46747
|
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
@@ -46711,7 +46777,7 @@ var useMessageContext = function() {
|
|
|
46711
46777
|
return (0, import_react57.useContext)(MessageContext);
|
|
46712
46778
|
};
|
|
46713
46779
|
// src/hooks/assistants/useAssistant/index.ts
|
|
46714
|
-
var
|
|
46780
|
+
var import_react_compiler_runtime77 = require("react-compiler-runtime");
|
|
46715
46781
|
var import_react58 = require("react");
|
|
46716
46782
|
var import_react_query9 = require("@tanstack/react-query");
|
|
46717
46783
|
// src/hooks/assistants/useAssistant/lib/queryOptions/index.ts
|
|
@@ -46861,7 +46927,7 @@ function _toPrimitive41(t, r) {
|
|
|
46861
46927
|
return ("string" === r ? String : Number)(t);
|
|
46862
46928
|
}
|
|
46863
46929
|
var useAssistant = function(t0) {
|
|
46864
|
-
var $ = (0,
|
|
46930
|
+
var $ = (0, import_react_compiler_runtime77.c)(6);
|
|
46865
46931
|
var assistantId = t0.assistantId;
|
|
46866
46932
|
var superinterfaceContext = useSuperinterfaceContext();
|
|
46867
46933
|
var t1;
|
|
@@ -46894,11 +46960,11 @@ var useAssistant = function(t0) {
|
|
|
46894
46960
|
return t2;
|
|
46895
46961
|
};
|
|
46896
46962
|
// src/components/threads/ThreadDialog/index.tsx
|
|
46897
|
-
var
|
|
46963
|
+
var import_react_compiler_runtime84 = require("react-compiler-runtime");
|
|
46898
46964
|
// src/components/threads/ThreadDialog/Root/index.tsx
|
|
46899
|
-
var
|
|
46965
|
+
var import_react_compiler_runtime79 = require("react-compiler-runtime");
|
|
46900
46966
|
// src/components/threads/ThreadDialog/Provider/index.tsx
|
|
46901
|
-
var
|
|
46967
|
+
var import_react_compiler_runtime78 = require("react-compiler-runtime");
|
|
46902
46968
|
var import_react61 = require("react");
|
|
46903
46969
|
// src/contexts/threads/ThreadDialogContext/index.ts
|
|
46904
46970
|
var import_react59 = require("react");
|
|
@@ -46914,7 +46980,7 @@ var useThreadDialogContext = function() {
|
|
|
46914
46980
|
// src/components/threads/ThreadDialog/Provider/index.tsx
|
|
46915
46981
|
var import_jsx_runtime79 = require("react/jsx-runtime");
|
|
46916
46982
|
var Provider4 = function(t0) {
|
|
46917
|
-
var $ = (0,
|
|
46983
|
+
var $ = (0, import_react_compiler_runtime78.c)(5);
|
|
46918
46984
|
var children = t0.children;
|
|
46919
46985
|
var threadDialogContext = useThreadDialogContext();
|
|
46920
46986
|
var _ref = _sliced_to_array((0, import_react61.useState)(threadDialogContext.isOpen), 2), isOpen = _ref[0], setIsOpen = _ref[1];
|
|
@@ -46946,7 +47012,7 @@ var Provider4 = function(t0) {
|
|
|
46946
47012
|
// src/components/threads/ThreadDialog/Root/index.tsx
|
|
46947
47013
|
var import_jsx_runtime80 = require("react/jsx-runtime");
|
|
46948
47014
|
var Root13 = function(t0) {
|
|
46949
|
-
var $ = (0,
|
|
47015
|
+
var $ = (0, import_react_compiler_runtime79.c)(2);
|
|
46950
47016
|
var children = t0.children;
|
|
46951
47017
|
var t1;
|
|
46952
47018
|
if ($[0] !== children) {
|
|
@@ -46961,10 +47027,10 @@ var Root13 = function(t0) {
|
|
|
46961
47027
|
return t1;
|
|
46962
47028
|
};
|
|
46963
47029
|
// src/components/threads/ThreadDialog/Trigger/index.tsx
|
|
46964
|
-
var
|
|
47030
|
+
var import_react_compiler_runtime81 = require("react-compiler-runtime");
|
|
46965
47031
|
var import_themes55 = require("@radix-ui/themes");
|
|
46966
47032
|
// src/components/threads/ThreadDialog/Trigger/Button.tsx
|
|
46967
|
-
var
|
|
47033
|
+
var import_react_compiler_runtime80 = require("react-compiler-runtime");
|
|
46968
47034
|
var import_themes54 = require("@radix-ui/themes");
|
|
46969
47035
|
var import_react_icons15 = require("@radix-ui/react-icons");
|
|
46970
47036
|
var import_jsx_runtime81 = require("react/jsx-runtime");
|
|
@@ -47012,7 +47078,7 @@ function _toPrimitive42(t, r) {
|
|
|
47012
47078
|
return ("string" === r ? String : Number)(t);
|
|
47013
47079
|
}
|
|
47014
47080
|
var Button4 = function(props) {
|
|
47015
|
-
var $ = (0,
|
|
47081
|
+
var $ = (0, import_react_compiler_runtime80.c)(3);
|
|
47016
47082
|
var t0;
|
|
47017
47083
|
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
47018
47084
|
t0 = /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_react_icons15.ChatBubbleIcon, {});
|
|
@@ -47081,7 +47147,7 @@ function _toPrimitive43(t, r) {
|
|
|
47081
47147
|
return ("string" === r ? String : Number)(t);
|
|
47082
47148
|
}
|
|
47083
47149
|
var Root14 = function(t0) {
|
|
47084
|
-
var $ = (0,
|
|
47150
|
+
var $ = (0, import_react_compiler_runtime81.c)(14);
|
|
47085
47151
|
var children = t0.children, style = t0.style, className = t0.className;
|
|
47086
47152
|
var _useThreadDialogContext = useThreadDialogContext(), setIsOpen = _useThreadDialogContext.setIsOpen, isOpen = _useThreadDialogContext.isOpen;
|
|
47087
47153
|
var t1 = isOpen ? "none" : "flex";
|
|
@@ -47152,7 +47218,7 @@ var Root14 = function(t0) {
|
|
|
47152
47218
|
return t6;
|
|
47153
47219
|
};
|
|
47154
47220
|
var Trigger = function(args) {
|
|
47155
|
-
var $ = (0,
|
|
47221
|
+
var $ = (0, import_react_compiler_runtime81.c)(3);
|
|
47156
47222
|
var t0;
|
|
47157
47223
|
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
47158
47224
|
t0 = /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(Button4, {});
|
|
@@ -47178,15 +47244,15 @@ function _temp6(prev) {
|
|
|
47178
47244
|
return !prev;
|
|
47179
47245
|
}
|
|
47180
47246
|
// src/components/threads/ThreadDialog/Content/index.tsx
|
|
47181
|
-
var
|
|
47247
|
+
var import_react_compiler_runtime83 = require("react-compiler-runtime");
|
|
47182
47248
|
var import_themes57 = require("@radix-ui/themes");
|
|
47183
47249
|
// src/components/threads/ThreadDialog/Close/index.tsx
|
|
47184
|
-
var
|
|
47250
|
+
var import_react_compiler_runtime82 = require("react-compiler-runtime");
|
|
47185
47251
|
var import_react_icons16 = require("@radix-ui/react-icons");
|
|
47186
47252
|
var import_themes56 = require("@radix-ui/themes");
|
|
47187
47253
|
var import_jsx_runtime83 = require("react/jsx-runtime");
|
|
47188
47254
|
var Close = function() {
|
|
47189
|
-
var $ = (0,
|
|
47255
|
+
var $ = (0, import_react_compiler_runtime82.c)(9);
|
|
47190
47256
|
var _useThreadDialogContext = useThreadDialogContext(), setIsOpen = _useThreadDialogContext.setIsOpen, isOpen = _useThreadDialogContext.isOpen;
|
|
47191
47257
|
var t0 = isOpen ? "flex" : "none";
|
|
47192
47258
|
var t1;
|
|
@@ -47302,7 +47368,7 @@ function _toPrimitive44(t, r) {
|
|
|
47302
47368
|
return ("string" === r ? String : Number)(t);
|
|
47303
47369
|
}
|
|
47304
47370
|
var Root15 = function(t0) {
|
|
47305
|
-
var $ = (0,
|
|
47371
|
+
var $ = (0, import_react_compiler_runtime83.c)(19);
|
|
47306
47372
|
var children = t0.children, className = t0.className, style = t0.style;
|
|
47307
47373
|
var isOpen = useThreadDialogContext().isOpen;
|
|
47308
47374
|
if (!isOpen) {
|
|
@@ -47449,7 +47515,7 @@ var Root15 = function(t0) {
|
|
|
47449
47515
|
return t13;
|
|
47450
47516
|
};
|
|
47451
47517
|
var Messages3 = function(t0) {
|
|
47452
|
-
var $ = (0,
|
|
47518
|
+
var $ = (0, import_react_compiler_runtime83.c)(5);
|
|
47453
47519
|
var className = t0.className, style = t0.style;
|
|
47454
47520
|
var t1;
|
|
47455
47521
|
if ($[0] !== style) {
|
|
@@ -47478,7 +47544,7 @@ var Messages3 = function(t0) {
|
|
|
47478
47544
|
return t2;
|
|
47479
47545
|
};
|
|
47480
47546
|
var FormContainer = function(t0) {
|
|
47481
|
-
var $ = (0,
|
|
47547
|
+
var $ = (0, import_react_compiler_runtime83.c)(4);
|
|
47482
47548
|
var children = t0.children, className = t0.className, style = t0.style;
|
|
47483
47549
|
var t1;
|
|
47484
47550
|
if ($[0] !== children || $[1] !== className || $[2] !== style) {
|
|
@@ -47502,7 +47568,7 @@ var FormContainer = function(t0) {
|
|
|
47502
47568
|
return t1;
|
|
47503
47569
|
};
|
|
47504
47570
|
var Content8 = function(props) {
|
|
47505
|
-
var $ = (0,
|
|
47571
|
+
var $ = (0, import_react_compiler_runtime83.c)(4);
|
|
47506
47572
|
var t0;
|
|
47507
47573
|
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
47508
47574
|
t0 = /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(Messages3, {});
|
|
@@ -47542,7 +47608,7 @@ Content8.FormContainer = FormContainer;
|
|
|
47542
47608
|
// src/components/threads/ThreadDialog/index.tsx
|
|
47543
47609
|
var import_jsx_runtime85 = require("react/jsx-runtime");
|
|
47544
47610
|
var ThreadDialog = function() {
|
|
47545
|
-
var $ = (0,
|
|
47611
|
+
var $ = (0, import_react_compiler_runtime84.c)(1);
|
|
47546
47612
|
var t0;
|
|
47547
47613
|
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
47548
47614
|
t0 = /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(Root13, {
|
|
@@ -47561,11 +47627,11 @@ ThreadDialog.Root = Root13;
|
|
|
47561
47627
|
ThreadDialog.Trigger = Trigger;
|
|
47562
47628
|
ThreadDialog.Content = Content8;
|
|
47563
47629
|
// src/components/threads/AudioThreadDialog/index.tsx
|
|
47564
|
-
var
|
|
47630
|
+
var import_react_compiler_runtime99 = require("react-compiler-runtime");
|
|
47565
47631
|
// src/components/threads/AudioThread/index.tsx
|
|
47566
|
-
var
|
|
47632
|
+
var import_react_compiler_runtime98 = require("react-compiler-runtime");
|
|
47567
47633
|
// src/components/threads/AudioThread/Root/index.tsx
|
|
47568
|
-
var
|
|
47634
|
+
var import_react_compiler_runtime90 = require("react-compiler-runtime");
|
|
47569
47635
|
var import_themes58 = require("@radix-ui/themes");
|
|
47570
47636
|
// src/contexts/threads/AudioThreadContext/index.ts
|
|
47571
47637
|
var import_react62 = require("react");
|
|
@@ -47578,12 +47644,12 @@ var useAudioThreadContext = function() {
|
|
|
47578
47644
|
return (0, import_react63.useContext)(AudioThreadContext);
|
|
47579
47645
|
};
|
|
47580
47646
|
// src/components/audioRuntimes/TtsAudioRuntimeProvider.tsx
|
|
47581
|
-
var
|
|
47647
|
+
var import_react_compiler_runtime89 = require("react-compiler-runtime");
|
|
47582
47648
|
// src/hooks/audioRuntimes/useTtsAudioRuntime/index.ts
|
|
47583
|
-
var
|
|
47649
|
+
var import_react_compiler_runtime88 = require("react-compiler-runtime");
|
|
47584
47650
|
var import_react68 = require("react");
|
|
47585
47651
|
// src/hooks/misc/usePermission/index.ts
|
|
47586
|
-
var
|
|
47652
|
+
var import_react_compiler_runtime85 = require("react-compiler-runtime");
|
|
47587
47653
|
var import_react64 = require("react");
|
|
47588
47654
|
// src/hooks/misc/usePermission/util.ts
|
|
47589
47655
|
var noop = function() {};
|
|
@@ -47607,7 +47673,7 @@ function off(obj) {
|
|
|
47607
47673
|
}
|
|
47608
47674
|
// src/hooks/misc/usePermission/index.ts
|
|
47609
47675
|
var usePermission = function(permissionDesc) {
|
|
47610
|
-
var $ = (0,
|
|
47676
|
+
var $ = (0, import_react_compiler_runtime85.c)(3);
|
|
47611
47677
|
var _ref = _sliced_to_array((0, import_react64.useState)(""), 2), state = _ref[0], setState = _ref[1];
|
|
47612
47678
|
var t0;
|
|
47613
47679
|
var t1;
|
|
@@ -47656,10 +47722,10 @@ var import_use_audio_capture = require("use-audio-capture");
|
|
|
47656
47722
|
var import_react66 = require("react");
|
|
47657
47723
|
var import_react_use_audio_player = require("react-use-audio-player");
|
|
47658
47724
|
// src/hooks/misc/useInterval.ts
|
|
47659
|
-
var
|
|
47725
|
+
var import_react_compiler_runtime86 = require("react-compiler-runtime");
|
|
47660
47726
|
var import_react65 = require("react");
|
|
47661
47727
|
var useInterval = function(callback, delay) {
|
|
47662
|
-
var $ = (0,
|
|
47728
|
+
var $ = (0, import_react_compiler_runtime86.c)(5);
|
|
47663
47729
|
var savedCallback = (0, import_react65.useRef)(_temp8);
|
|
47664
47730
|
var t0;
|
|
47665
47731
|
if ($[0] !== callback) {
|
|
@@ -47912,7 +47978,7 @@ var useRecorder = function(_ref) {
|
|
|
47912
47978
|
});
|
|
47913
47979
|
};
|
|
47914
47980
|
// src/hooks/audioThreads/useMessageAudio/index.ts
|
|
47915
|
-
var
|
|
47981
|
+
var import_react_compiler_runtime87 = require("react-compiler-runtime");
|
|
47916
47982
|
var import_react67 = require("react");
|
|
47917
47983
|
var import_compromise = __toESM(require("compromise"), 1);
|
|
47918
47984
|
var import_howler = require("howler");
|
|
@@ -47995,7 +48061,7 @@ var getMessageSentences = function(_ref) {
|
|
|
47995
48061
|
};
|
|
47996
48062
|
var useMessageAudio = function(t0) {
|
|
47997
48063
|
var _latestMessageProps$l;
|
|
47998
|
-
var $ = (0,
|
|
48064
|
+
var $ = (0, import_react_compiler_runtime87.c)(49);
|
|
47999
48065
|
var _onEnd = t0.onEnd, passedPlay = t0.play;
|
|
48000
48066
|
var _ref = _sliced_to_array((0, import_react67.useState)(false), 2), isAudioPlayed = _ref[0], setIsAudioPlayed = _ref[1];
|
|
48001
48067
|
var t1;
|
|
@@ -48375,7 +48441,7 @@ function _asyncToGenerator11(n) {
|
|
|
48375
48441
|
};
|
|
48376
48442
|
}
|
|
48377
48443
|
var useTtsAudioRuntime = function(t0) {
|
|
48378
|
-
var $ = (0,
|
|
48444
|
+
var $ = (0, import_react_compiler_runtime88.c)(30);
|
|
48379
48445
|
var play = t0.play;
|
|
48380
48446
|
var addToast = useToasts().addToast;
|
|
48381
48447
|
var queryClient = (0, import_react_query10.useQueryClient)();
|
|
@@ -48551,7 +48617,7 @@ function _temp24() {
|
|
|
48551
48617
|
// src/components/audioRuntimes/TtsAudioRuntimeProvider.tsx
|
|
48552
48618
|
var import_jsx_runtime86 = require("react/jsx-runtime");
|
|
48553
48619
|
var TtsAudioRuntimeProvider = function(t0) {
|
|
48554
|
-
var $ = (0,
|
|
48620
|
+
var $ = (0, import_react_compiler_runtime89.c)(7);
|
|
48555
48621
|
var children = t0.children, play = t0.play;
|
|
48556
48622
|
var t1;
|
|
48557
48623
|
if ($[0] !== play) {
|
|
@@ -48661,7 +48727,7 @@ function _objectWithoutPropertiesLoose5(r, e) {
|
|
|
48661
48727
|
return t;
|
|
48662
48728
|
}
|
|
48663
48729
|
var Content9 = function(t0) {
|
|
48664
|
-
var $ = (0,
|
|
48730
|
+
var $ = (0, import_react_compiler_runtime90.c)(4);
|
|
48665
48731
|
var children = t0.children, className = t0.className, style = t0.style;
|
|
48666
48732
|
var t1;
|
|
48667
48733
|
if ($[0] !== children || $[1] !== className || $[2] !== style) {
|
|
@@ -48683,7 +48749,7 @@ var Content9 = function(t0) {
|
|
|
48683
48749
|
return t1;
|
|
48684
48750
|
};
|
|
48685
48751
|
var AudioRuntimeProvider = function(t0) {
|
|
48686
|
-
var $ = (0,
|
|
48752
|
+
var $ = (0, import_react_compiler_runtime90.c)(3);
|
|
48687
48753
|
var children = t0.children, play = t0.play;
|
|
48688
48754
|
var audioThreadContext = useAudioThreadContext();
|
|
48689
48755
|
if (audioThreadContext.audioRuntime) {
|
|
@@ -48704,7 +48770,7 @@ var AudioRuntimeProvider = function(t0) {
|
|
|
48704
48770
|
return t1;
|
|
48705
48771
|
};
|
|
48706
48772
|
var Provider5 = function(t0) {
|
|
48707
|
-
var $ = (0,
|
|
48773
|
+
var $ = (0, import_react_compiler_runtime90.c)(9);
|
|
48708
48774
|
var children;
|
|
48709
48775
|
var rest;
|
|
48710
48776
|
if ($[0] !== t0) {
|
|
@@ -48744,7 +48810,7 @@ var Provider5 = function(t0) {
|
|
|
48744
48810
|
return t2;
|
|
48745
48811
|
};
|
|
48746
48812
|
var Root16 = function(t0) {
|
|
48747
|
-
var $ = (0,
|
|
48813
|
+
var $ = (0, import_react_compiler_runtime90.c)(16);
|
|
48748
48814
|
var children;
|
|
48749
48815
|
var className;
|
|
48750
48816
|
var play;
|
|
@@ -48811,7 +48877,7 @@ var Root16 = function(t0) {
|
|
|
48811
48877
|
return t3;
|
|
48812
48878
|
};
|
|
48813
48879
|
// src/components/threads/AudioThread/Visualization/index.tsx
|
|
48814
|
-
var
|
|
48880
|
+
var import_react_compiler_runtime92 = require("react-compiler-runtime");
|
|
48815
48881
|
var import_react71 = require("react");
|
|
48816
48882
|
var import_lodash9 = __toESM(require("lodash"), 1);
|
|
48817
48883
|
var import_themes60 = require("@radix-ui/themes");
|
|
@@ -48880,10 +48946,10 @@ var BarsVisualizer = function(_ref) {
|
|
|
48880
48946
|
});
|
|
48881
48947
|
};
|
|
48882
48948
|
// src/hooks/audioThreads/useStatus/index.ts
|
|
48883
|
-
var
|
|
48949
|
+
var import_react_compiler_runtime91 = require("react-compiler-runtime");
|
|
48884
48950
|
var import_react70 = require("react");
|
|
48885
48951
|
var useStatus = function() {
|
|
48886
|
-
var $ = (0,
|
|
48952
|
+
var $ = (0, import_react_compiler_runtime91.c)(2);
|
|
48887
48953
|
var audioRuntime = useAudioThreadContext().audioRuntime;
|
|
48888
48954
|
var t0;
|
|
48889
48955
|
bb0: {
|
|
@@ -49043,7 +49109,7 @@ var Provider6 = function(_ref) {
|
|
|
49043
49109
|
});
|
|
49044
49110
|
};
|
|
49045
49111
|
var Root17 = function(t0) {
|
|
49046
|
-
var $ = (0,
|
|
49112
|
+
var $ = (0, import_react_compiler_runtime92.c)(6);
|
|
49047
49113
|
var children;
|
|
49048
49114
|
var rest;
|
|
49049
49115
|
if ($[0] !== t0) {
|
|
@@ -49080,7 +49146,7 @@ var Root17 = function(t0) {
|
|
|
49080
49146
|
return t1;
|
|
49081
49147
|
};
|
|
49082
49148
|
var BarsVisualizer2 = function(t0) {
|
|
49083
|
-
var $ = (0,
|
|
49149
|
+
var $ = (0, import_react_compiler_runtime92.c)(10);
|
|
49084
49150
|
var rest;
|
|
49085
49151
|
var t1;
|
|
49086
49152
|
var t2;
|
|
@@ -49124,7 +49190,7 @@ var BarsVisualizer2 = function(t0) {
|
|
|
49124
49190
|
return t4;
|
|
49125
49191
|
};
|
|
49126
49192
|
var AssistantVisualizationRoot = function(t0) {
|
|
49127
|
-
var $ = (0,
|
|
49193
|
+
var $ = (0, import_react_compiler_runtime92.c)(17);
|
|
49128
49194
|
var children;
|
|
49129
49195
|
var rest;
|
|
49130
49196
|
var t1;
|
|
@@ -49197,7 +49263,7 @@ var AssistantVisualizationRoot = function(t0) {
|
|
|
49197
49263
|
return t6;
|
|
49198
49264
|
};
|
|
49199
49265
|
var AssistantVisualization = function(props) {
|
|
49200
|
-
var $ = (0,
|
|
49266
|
+
var $ = (0, import_react_compiler_runtime92.c)(3);
|
|
49201
49267
|
var t0;
|
|
49202
49268
|
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
49203
49269
|
t0 = /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(BarsVisualizer2, {});
|
|
@@ -49220,7 +49286,7 @@ var AssistantVisualization = function(props) {
|
|
|
49220
49286
|
AssistantVisualization.Root = AssistantVisualizationRoot;
|
|
49221
49287
|
AssistantVisualization.BarsVisualizer = BarsVisualizer2;
|
|
49222
49288
|
var AssistantInfo = function(props) {
|
|
49223
|
-
var $ = (0,
|
|
49289
|
+
var $ = (0, import_react_compiler_runtime92.c)(6);
|
|
49224
49290
|
var assistantNameContext = (0, import_react71.useContext)(AssistantNameContext);
|
|
49225
49291
|
var t0;
|
|
49226
49292
|
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
@@ -49260,7 +49326,7 @@ var AssistantInfo = function(props) {
|
|
|
49260
49326
|
return t2;
|
|
49261
49327
|
};
|
|
49262
49328
|
var Visualization = function(props) {
|
|
49263
|
-
var $ = (0,
|
|
49329
|
+
var $ = (0, import_react_compiler_runtime92.c)(4);
|
|
49264
49330
|
var t0;
|
|
49265
49331
|
var t1;
|
|
49266
49332
|
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
@@ -49292,9 +49358,9 @@ Visualization.Provider = Provider6;
|
|
|
49292
49358
|
Visualization.AssistantVisualization = AssistantVisualization;
|
|
49293
49359
|
Visualization.AssistantInfo = AssistantInfo;
|
|
49294
49360
|
// src/components/threads/AudioThread/Status/index.tsx
|
|
49295
|
-
var
|
|
49361
|
+
var import_react_compiler_runtime94 = require("react-compiler-runtime");
|
|
49296
49362
|
// src/components/threads/AudioThread/Status/StatusMessages.tsx
|
|
49297
|
-
var
|
|
49363
|
+
var import_react_compiler_runtime93 = require("react-compiler-runtime");
|
|
49298
49364
|
var import_themes61 = require("@radix-ui/themes");
|
|
49299
49365
|
var import_jsx_runtime90 = require("react/jsx-runtime");
|
|
49300
49366
|
var html = function(_ref) {
|
|
@@ -49304,7 +49370,7 @@ var html = function(_ref) {
|
|
|
49304
49370
|
}).join(""), "\n }");
|
|
49305
49371
|
};
|
|
49306
49372
|
var StatusMessages = function(t0) {
|
|
49307
|
-
var $ = (0,
|
|
49373
|
+
var $ = (0, import_react_compiler_runtime93.c)(9);
|
|
49308
49374
|
var texts = t0.texts, className = t0.className, style = t0.style;
|
|
49309
49375
|
var t1;
|
|
49310
49376
|
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
@@ -49408,7 +49474,7 @@ function _toPrimitive49(t, r) {
|
|
|
49408
49474
|
return ("string" === r ? String : Number)(t);
|
|
49409
49475
|
}
|
|
49410
49476
|
var Status = function(props) {
|
|
49411
|
-
var $ = (0,
|
|
49477
|
+
var $ = (0, import_react_compiler_runtime94.c)(12);
|
|
49412
49478
|
var status = useStatus().status;
|
|
49413
49479
|
if (status === "recording") {
|
|
49414
49480
|
var _t;
|
|
@@ -49505,10 +49571,10 @@ var Status = function(props) {
|
|
|
49505
49571
|
return t1;
|
|
49506
49572
|
};
|
|
49507
49573
|
// src/components/threads/AudioThread/Form/index.tsx
|
|
49508
|
-
var
|
|
49574
|
+
var import_react_compiler_runtime97 = require("react-compiler-runtime");
|
|
49509
49575
|
var import_themes63 = require("@radix-ui/themes");
|
|
49510
49576
|
// src/components/threads/AudioThread/Form/MicIcon.tsx
|
|
49511
|
-
var
|
|
49577
|
+
var import_react_compiler_runtime95 = require("react-compiler-runtime");
|
|
49512
49578
|
var import_jsx_runtime92 = require("react/jsx-runtime");
|
|
49513
49579
|
function ownKeys50(e, r) {
|
|
49514
49580
|
var t = Object.keys(e);
|
|
@@ -49554,7 +49620,7 @@ function _toPrimitive50(t, r) {
|
|
|
49554
49620
|
return ("string" === r ? String : Number)(t);
|
|
49555
49621
|
}
|
|
49556
49622
|
var MicIcon = function(props) {
|
|
49557
|
-
var $ = (0,
|
|
49623
|
+
var $ = (0, import_react_compiler_runtime95.c)(3);
|
|
49558
49624
|
var t0;
|
|
49559
49625
|
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
49560
49626
|
t0 = /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("path", {
|
|
@@ -49586,12 +49652,12 @@ var MicIcon = function(props) {
|
|
|
49586
49652
|
return t1;
|
|
49587
49653
|
};
|
|
49588
49654
|
// src/components/threads/AudioThread/Form/ActionButton/index.tsx
|
|
49589
|
-
var
|
|
49655
|
+
var import_react_compiler_runtime96 = require("react-compiler-runtime");
|
|
49590
49656
|
var import_themes62 = require("@radix-ui/themes");
|
|
49591
49657
|
var import_react_icons17 = require("@radix-ui/react-icons");
|
|
49592
49658
|
var import_jsx_runtime93 = require("react/jsx-runtime");
|
|
49593
49659
|
var ActionButton = function() {
|
|
49594
|
-
var $ = (0,
|
|
49660
|
+
var $ = (0, import_react_compiler_runtime96.c)(27);
|
|
49595
49661
|
var status = useStatus().status;
|
|
49596
49662
|
var audioThreadContext = useAudioThreadContext();
|
|
49597
49663
|
var superinterfaceContext = useSuperinterfaceContext();
|
|
@@ -49829,7 +49895,7 @@ function _toPrimitive51(t, r) {
|
|
|
49829
49895
|
return ("string" === r ? String : Number)(t);
|
|
49830
49896
|
}
|
|
49831
49897
|
var Form = function(props) {
|
|
49832
|
-
var $ = (0,
|
|
49898
|
+
var $ = (0, import_react_compiler_runtime97.c)(17);
|
|
49833
49899
|
var status = useStatus().status;
|
|
49834
49900
|
var audioThreadContext = useAudioThreadContext();
|
|
49835
49901
|
var t0 = status === "recording" ? "var(--accent-11)" : "var(--gray-11)";
|
|
@@ -49979,7 +50045,7 @@ function _toPrimitive52(t, r) {
|
|
|
49979
50045
|
return ("string" === r ? String : Number)(t);
|
|
49980
50046
|
}
|
|
49981
50047
|
var AudioThread = function(props) {
|
|
49982
|
-
var $ = (0,
|
|
50048
|
+
var $ = (0, import_react_compiler_runtime98.c)(5);
|
|
49983
50049
|
var t0;
|
|
49984
50050
|
var t1;
|
|
49985
50051
|
var t2;
|
|
@@ -50061,7 +50127,7 @@ function _toPrimitive53(t, r) {
|
|
|
50061
50127
|
return ("string" === r ? String : Number)(t);
|
|
50062
50128
|
}
|
|
50063
50129
|
var AudioThreadDialog = function(props) {
|
|
50064
|
-
var $ = (0,
|
|
50130
|
+
var $ = (0, import_react_compiler_runtime99.c)(4);
|
|
50065
50131
|
var t0;
|
|
50066
50132
|
var t1;
|
|
50067
50133
|
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
@@ -50583,10 +50649,10 @@ var useWebrtcAudioRuntime = function() {
|
|
|
50583
50649
|
]);
|
|
50584
50650
|
};
|
|
50585
50651
|
// src/components/audioRuntimes/WebrtcAudioRuntimeProvider.tsx
|
|
50586
|
-
var
|
|
50652
|
+
var import_react_compiler_runtime100 = require("react-compiler-runtime");
|
|
50587
50653
|
var import_jsx_runtime97 = require("react/jsx-runtime");
|
|
50588
50654
|
var WebrtcAudioRuntimeProvider = function(t0) {
|
|
50589
|
-
var $ = (0,
|
|
50655
|
+
var $ = (0, import_react_compiler_runtime100.c)(5);
|
|
50590
50656
|
var children = t0.children;
|
|
50591
50657
|
var webrtcAudioRuntime = useWebrtcAudioRuntime().webrtcAudioRuntime;
|
|
50592
50658
|
var t1;
|
|
@@ -50614,14 +50680,14 @@ var WebrtcAudioRuntimeProvider = function(t0) {
|
|
|
50614
50680
|
return t2;
|
|
50615
50681
|
};
|
|
50616
50682
|
// src/components/gui/Gui/index.tsx
|
|
50617
|
-
var
|
|
50683
|
+
var import_react_compiler_runtime103 = require("react-compiler-runtime");
|
|
50618
50684
|
var import_react75 = require("react");
|
|
50619
50685
|
var import_themes64 = require("@radix-ui/themes");
|
|
50620
50686
|
// src/hooks/messages/useLatestAssistantMessage/index.ts
|
|
50621
|
-
var
|
|
50687
|
+
var import_react_compiler_runtime101 = require("react-compiler-runtime");
|
|
50622
50688
|
var import_react73 = require("react");
|
|
50623
50689
|
var useLatestAssistantMessage = function() {
|
|
50624
|
-
var $ = (0,
|
|
50690
|
+
var $ = (0, import_react_compiler_runtime101.c)(4);
|
|
50625
50691
|
var _useMessages = useMessages(), messages2 = _useMessages.messages;
|
|
50626
50692
|
var t0;
|
|
50627
50693
|
var t1;
|
|
@@ -50650,11 +50716,11 @@ function _temp11(message) {
|
|
|
50650
50716
|
return message.role === "assistant";
|
|
50651
50717
|
}
|
|
50652
50718
|
// src/hooks/messages/useLatestAssistantMessageWithContent/index.ts
|
|
50653
|
-
var
|
|
50719
|
+
var import_react_compiler_runtime102 = require("react-compiler-runtime");
|
|
50654
50720
|
var import_radash18 = require("radash");
|
|
50655
50721
|
var import_react74 = require("react");
|
|
50656
50722
|
var useLatestAssistantMessageWithContent = function() {
|
|
50657
|
-
var $ = (0,
|
|
50723
|
+
var $ = (0, import_react_compiler_runtime102.c)(4);
|
|
50658
50724
|
var _useMessages = useMessages(), messages2 = _useMessages.messages;
|
|
50659
50725
|
var t0;
|
|
50660
50726
|
var t1;
|
|
@@ -50688,7 +50754,7 @@ function _temp25(message) {
|
|
|
50688
50754
|
// src/components/gui/Gui/index.tsx
|
|
50689
50755
|
var import_jsx_runtime98 = require("react/jsx-runtime");
|
|
50690
50756
|
var StartingToolCalls3 = function() {
|
|
50691
|
-
var $ = (0,
|
|
50757
|
+
var $ = (0, import_react_compiler_runtime103.c)(2);
|
|
50692
50758
|
var _useComponents = useComponents(), t0 = _useComponents.components;
|
|
50693
50759
|
var StartingToolCalls4 = t0.StartingToolCalls;
|
|
50694
50760
|
var t1;
|
|
@@ -50702,7 +50768,7 @@ var StartingToolCalls3 = function() {
|
|
|
50702
50768
|
return t1;
|
|
50703
50769
|
};
|
|
50704
50770
|
var Content10 = function(t0) {
|
|
50705
|
-
var $ = (0,
|
|
50771
|
+
var $ = (0, import_react_compiler_runtime103.c)(5);
|
|
50706
50772
|
var latestRunStep = t0.latestRunStep;
|
|
50707
50773
|
var t1;
|
|
50708
50774
|
bb0: {
|
|
@@ -50756,7 +50822,7 @@ var Content10 = function(t0) {
|
|
|
50756
50822
|
return t2;
|
|
50757
50823
|
};
|
|
50758
50824
|
var Progress2 = function(t0) {
|
|
50759
|
-
var $ = (0,
|
|
50825
|
+
var $ = (0, import_react_compiler_runtime103.c)(5);
|
|
50760
50826
|
var latestAssistantMessage = t0.latestAssistantMessage;
|
|
50761
50827
|
var isMutatingMessage = useIsMutatingMessage();
|
|
50762
50828
|
var t1;
|
|
@@ -50806,7 +50872,7 @@ var Progress2 = function(t0) {
|
|
|
50806
50872
|
return t4;
|
|
50807
50873
|
};
|
|
50808
50874
|
var Gui = function() {
|
|
50809
|
-
var $ = (0,
|
|
50875
|
+
var $ = (0, import_react_compiler_runtime103.c)(8);
|
|
50810
50876
|
var latestAssistantMessage = useLatestAssistantMessage().latestAssistantMessage;
|
|
50811
50877
|
var latestAssistantMessageWithContent = useLatestAssistantMessageWithContent().latestAssistantMessageWithContent;
|
|
50812
50878
|
if (!latestAssistantMessage || !latestAssistantMessageWithContent) {
|
|
@@ -50872,7 +50938,7 @@ function _temp13(rs) {
|
|
|
50872
50938
|
return rs.status === "in_progress";
|
|
50873
50939
|
}
|
|
50874
50940
|
// src/components/markdown/MarkdownProvider/index.tsx
|
|
50875
|
-
var
|
|
50941
|
+
var import_react_compiler_runtime104 = require("react-compiler-runtime");
|
|
50876
50942
|
var import_react76 = require("react");
|
|
50877
50943
|
var import_jsx_runtime99 = require("react/jsx-runtime");
|
|
50878
50944
|
var _excluded7 = [
|
|
@@ -50897,7 +50963,7 @@ function _objectWithoutPropertiesLoose7(r, e) {
|
|
|
50897
50963
|
return t;
|
|
50898
50964
|
}
|
|
50899
50965
|
var MarkdownProvider = function(t0) {
|
|
50900
|
-
var $ = (0,
|
|
50966
|
+
var $ = (0, import_react_compiler_runtime104.c)(9);
|
|
50901
50967
|
var children;
|
|
50902
50968
|
var rest;
|
|
50903
50969
|
if ($[0] !== t0) {
|
|
@@ -50940,18 +51006,18 @@ var MarkdownProvider = function(t0) {
|
|
|
50940
51006
|
return t3;
|
|
50941
51007
|
};
|
|
50942
51008
|
// src/components/annotations/SourceAnnotation/index.tsx
|
|
50943
|
-
var
|
|
51009
|
+
var import_react_compiler_runtime107 = require("react-compiler-runtime");
|
|
50944
51010
|
// src/components/annotations/SourceAnnotation/FileCitation/index.tsx
|
|
50945
|
-
var
|
|
51011
|
+
var import_react_compiler_runtime106 = require("react-compiler-runtime");
|
|
50946
51012
|
var import_react77 = require("react");
|
|
50947
51013
|
var import_react_icons18 = require("@radix-ui/react-icons");
|
|
50948
51014
|
var import_themes66 = require("@radix-ui/themes");
|
|
50949
51015
|
// src/components/annotations/SourceAnnotation/FileCitation/Content.tsx
|
|
50950
|
-
var
|
|
51016
|
+
var import_react_compiler_runtime105 = require("react-compiler-runtime");
|
|
50951
51017
|
var import_themes65 = require("@radix-ui/themes");
|
|
50952
51018
|
var import_jsx_runtime100 = require("react/jsx-runtime");
|
|
50953
51019
|
var Content11 = function(t0) {
|
|
50954
|
-
var $ = (0,
|
|
51020
|
+
var $ = (0, import_react_compiler_runtime105.c)(5);
|
|
50955
51021
|
var fileId = t0.fileId;
|
|
50956
51022
|
var superinterfaceContext = useSuperinterfaceContext();
|
|
50957
51023
|
var nextSearchParams = new URLSearchParams(superinterfaceContext.variables);
|
|
@@ -51017,7 +51083,7 @@ var Content11 = function(t0) {
|
|
|
51017
51083
|
// src/components/annotations/SourceAnnotation/FileCitation/index.tsx
|
|
51018
51084
|
var import_jsx_runtime101 = require("react/jsx-runtime");
|
|
51019
51085
|
var FileCitation = function(t0) {
|
|
51020
|
-
var $ = (0,
|
|
51086
|
+
var $ = (0, import_react_compiler_runtime106.c)(18);
|
|
51021
51087
|
var annotation = t0.annotation;
|
|
51022
51088
|
var _ref = _sliced_to_array((0, import_react77.useState)(null), 2), activeFileId = _ref[0], setActiveFileId = _ref[1];
|
|
51023
51089
|
var t1;
|
|
@@ -51166,7 +51232,7 @@ function _objectWithoutPropertiesLoose8(r, e) {
|
|
|
51166
51232
|
return t;
|
|
51167
51233
|
}
|
|
51168
51234
|
var SourceAnnotation = function(t0) {
|
|
51169
|
-
var $ = (0,
|
|
51235
|
+
var $ = (0, import_react_compiler_runtime107.c)(10);
|
|
51170
51236
|
var children;
|
|
51171
51237
|
var rest;
|
|
51172
51238
|
if ($[0] !== t0) {
|
|
@@ -51223,7 +51289,7 @@ var SourceAnnotation = function(t0) {
|
|
|
51223
51289
|
return null;
|
|
51224
51290
|
};
|
|
51225
51291
|
// src/components/avatars/Avatar.tsx
|
|
51226
|
-
var
|
|
51292
|
+
var import_react_compiler_runtime110 = require("react-compiler-runtime");
|
|
51227
51293
|
// src/enums/index.ts
|
|
51228
51294
|
var IconAvatarName = /* @__PURE__ */ function(IconAvatarName2) {
|
|
51229
51295
|
IconAvatarName2["BACKPACK"] = "BACKPACK";
|
|
@@ -51248,7 +51314,7 @@ var AvatarType = /* @__PURE__ */ function(AvatarType2) {
|
|
|
51248
51314
|
// src/components/avatars/Avatar.tsx
|
|
51249
51315
|
var import_themes69 = require("@radix-ui/themes");
|
|
51250
51316
|
// src/components/imageAvatars/ImageAvatar/index.tsx
|
|
51251
|
-
var
|
|
51317
|
+
var import_react_compiler_runtime108 = require("react-compiler-runtime");
|
|
51252
51318
|
var import_themes67 = require("@radix-ui/themes");
|
|
51253
51319
|
// src/components/imageAvatars/ImageAvatar/lib/optimizedSrc/path.ts
|
|
51254
51320
|
var width = function(_ref) {
|
|
@@ -51302,7 +51368,7 @@ var optimizedSrc = function(_ref) {
|
|
|
51302
51368
|
// src/components/imageAvatars/ImageAvatar/index.tsx
|
|
51303
51369
|
var import_jsx_runtime103 = require("react/jsx-runtime");
|
|
51304
51370
|
var ImageAvatar = function(t0) {
|
|
51305
|
-
var $ = (0,
|
|
51371
|
+
var $ = (0, import_react_compiler_runtime108.c)(9);
|
|
51306
51372
|
var imageAvatar = t0.imageAvatar, size = t0.size, className = t0.className, style = t0.style;
|
|
51307
51373
|
var superinterfaceContext = useSuperinterfaceContext();
|
|
51308
51374
|
var t1;
|
|
@@ -51339,7 +51405,7 @@ var ImageAvatar = function(t0) {
|
|
|
51339
51405
|
return t2;
|
|
51340
51406
|
};
|
|
51341
51407
|
// src/components/iconAvatars/IconAvatar.tsx
|
|
51342
|
-
var
|
|
51408
|
+
var import_react_compiler_runtime109 = require("react-compiler-runtime");
|
|
51343
51409
|
var import_react78 = require("react");
|
|
51344
51410
|
var import_themes68 = require("@radix-ui/themes");
|
|
51345
51411
|
// src/lib/iconAvatars/iconAvatarComponents.ts
|
|
@@ -51349,7 +51415,7 @@ var iconAvatarComponents = (_obj = {}, _define_property(_obj, IconAvatarName.BAC
|
|
|
51349
51415
|
// src/components/iconAvatars/IconAvatar.tsx
|
|
51350
51416
|
var import_jsx_runtime104 = require("react/jsx-runtime");
|
|
51351
51417
|
var IconAvatar = function(t0) {
|
|
51352
|
-
var $ = (0,
|
|
51418
|
+
var $ = (0, import_react_compiler_runtime109.c)(7);
|
|
51353
51419
|
var iconAvatar = t0.iconAvatar, size = t0.size, className = t0.className, style = t0.style;
|
|
51354
51420
|
var t1;
|
|
51355
51421
|
t1 = iconAvatarComponents[iconAvatar.name];
|
|
@@ -51383,7 +51449,7 @@ var IconAvatar = function(t0) {
|
|
|
51383
51449
|
// src/components/avatars/Avatar.tsx
|
|
51384
51450
|
var import_jsx_runtime105 = require("react/jsx-runtime");
|
|
51385
51451
|
var Avatar6 = function(t0) {
|
|
51386
|
-
var $ = (0,
|
|
51452
|
+
var $ = (0, import_react_compiler_runtime110.c)(14);
|
|
51387
51453
|
var avatar = t0.avatar, t1 = t0.size, className = t0.className, style = t0.style;
|
|
51388
51454
|
var size = t1 === void 0 ? "1" : t1;
|
|
51389
51455
|
if (avatar) {
|
|
@@ -51444,7 +51510,7 @@ var Avatar6 = function(t0) {
|
|
|
51444
51510
|
return t2;
|
|
51445
51511
|
};
|
|
51446
51512
|
// src/components/components/ComponentsProvider.tsx
|
|
51447
|
-
var
|
|
51513
|
+
var import_react_compiler_runtime111 = require("react-compiler-runtime");
|
|
51448
51514
|
var import_react79 = require("react");
|
|
51449
51515
|
var import_jsx_runtime106 = require("react/jsx-runtime");
|
|
51450
51516
|
var _excluded9 = [
|
|
@@ -51469,7 +51535,7 @@ function _objectWithoutPropertiesLoose9(r, e) {
|
|
|
51469
51535
|
return t;
|
|
51470
51536
|
}
|
|
51471
51537
|
var ComponentsProvider = function(t0) {
|
|
51472
|
-
var $ = (0,
|
|
51538
|
+
var $ = (0, import_react_compiler_runtime111.c)(9);
|
|
51473
51539
|
var children;
|
|
51474
51540
|
var rest;
|
|
51475
51541
|
if ($[0] !== t0) {
|
|
@@ -51512,11 +51578,11 @@ var ComponentsProvider = function(t0) {
|
|
|
51512
51578
|
return t3;
|
|
51513
51579
|
};
|
|
51514
51580
|
// src/components/assistants/AssistantProvider/index.tsx
|
|
51515
|
-
var
|
|
51581
|
+
var import_react_compiler_runtime112 = require("react-compiler-runtime");
|
|
51516
51582
|
var import_jsx_runtime107 = require("react/jsx-runtime");
|
|
51517
51583
|
var AssistantProvider = function(t0) {
|
|
51518
51584
|
var _assistant$name;
|
|
51519
|
-
var $ = (0,
|
|
51585
|
+
var $ = (0, import_react_compiler_runtime112.c)(10);
|
|
51520
51586
|
var children = t0.children;
|
|
51521
51587
|
var superinterfaceContext = useSuperinterfaceContext();
|
|
51522
51588
|
var t1;
|
|
@@ -51599,6 +51665,7 @@ var AssistantProvider = function(t0) {
|
|
|
51599
51665
|
WebrtcAudioRuntimeProvider: WebrtcAudioRuntimeProvider,
|
|
51600
51666
|
useAssistant: useAssistant,
|
|
51601
51667
|
useAudioThreadContext: useAudioThreadContext,
|
|
51668
|
+
useChangeFilesField: useChangeFilesField,
|
|
51602
51669
|
useComponents: useComponents,
|
|
51603
51670
|
useCreateFile: useCreateFile,
|
|
51604
51671
|
useCreateMessage: useCreateMessage,
|