@superinterface/react 3.9.2 → 3.9.4

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.js CHANGED
@@ -4054,55 +4054,99 @@ var AnnotationBase = function(_ref) {
4054
4054
  };
4055
4055
  // src/contexts/markdown/MarkdownContext/lib/components/Annotation/index.tsx
4056
4056
  import { jsx as _jsx42 } from "react/jsx-runtime";
4057
+ var _excluded = [
4058
+ "children"
4059
+ ];
4060
+ function _objectWithoutProperties(e, t) {
4061
+ if (null == e) return {};
4062
+ var o, r, i = _objectWithoutPropertiesLoose(e, t);
4063
+ if (Object.getOwnPropertySymbols) {
4064
+ var s = Object.getOwnPropertySymbols(e);
4065
+ for(r = 0; r < s.length; r++)o = s[r], t.includes(o) || ({}).propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
4066
+ }
4067
+ return i;
4068
+ }
4069
+ function _objectWithoutPropertiesLoose(r, e) {
4070
+ if (null == r) return {};
4071
+ var t = {};
4072
+ for(var n in r)if (({}).hasOwnProperty.call(r, n)) {
4073
+ if (e.includes(n)) continue;
4074
+ t[n] = r[n];
4075
+ }
4076
+ return t;
4077
+ }
4057
4078
  var Annotation = function(t0) {
4058
- var $ = _c21(4);
4059
- var annotation = t0.annotation, children = t0.children;
4079
+ var $ = _c21(9);
4080
+ var children;
4081
+ var rest;
4082
+ if ($[0] !== t0) {
4083
+ var _t = t0;
4084
+ children = _t.children;
4085
+ rest = _objectWithoutProperties(_t, _excluded);
4086
+ _t;
4087
+ $[0] = t0;
4088
+ $[1] = children;
4089
+ $[2] = rest;
4090
+ } else {
4091
+ children = $[1];
4092
+ rest = $[2];
4093
+ }
4094
+ var t1;
4095
+ if ($[3] !== rest) {
4096
+ var _rest$dataAnnotation;
4097
+ t1 = JSON.parse((_rest$dataAnnotation = rest["data-annotation"]) !== null && _rest$dataAnnotation !== void 0 ? _rest$dataAnnotation : "{}");
4098
+ $[3] = rest;
4099
+ $[4] = t1;
4100
+ } else {
4101
+ t1 = $[4];
4102
+ }
4103
+ var annotation = t1;
4060
4104
  if (annotation.type === "file_citation") {
4061
- var t1;
4062
- if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
4063
- t1 = /* @__PURE__ */ _jsx42(AnnotationBase, {
4105
+ var t2;
4106
+ if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
4107
+ t2 = /* @__PURE__ */ _jsx42(AnnotationBase, {
4064
4108
  icon: /* @__PURE__ */ _jsx42(QuoteIcon, {}),
4065
4109
  content: "File cited."
4066
4110
  });
4067
- $[0] = t1;
4111
+ $[5] = t2;
4068
4112
  } else {
4069
- t1 = $[0];
4113
+ t2 = $[5];
4070
4114
  }
4071
- return t1;
4115
+ return t2;
4072
4116
  } else {
4073
4117
  if (annotation.type === "file_path") {
4074
- var _t;
4075
- if ($[1] !== annotation || $[2] !== children) {
4076
- _t = /* @__PURE__ */ _jsx42(FilePathAnnotation, {
4118
+ var _t2;
4119
+ if ($[6] !== annotation || $[7] !== children) {
4120
+ _t2 = /* @__PURE__ */ _jsx42(FilePathAnnotation, {
4077
4121
  annotation: annotation,
4078
4122
  children: children
4079
4123
  });
4080
- $[1] = annotation;
4081
- $[2] = children;
4082
- $[3] = _t;
4124
+ $[6] = annotation;
4125
+ $[7] = children;
4126
+ $[8] = _t2;
4083
4127
  } else {
4084
- _t = $[3];
4128
+ _t2 = $[8];
4085
4129
  }
4086
- return _t;
4130
+ return _t2;
4087
4131
  }
4088
4132
  }
4089
4133
  return null;
4090
4134
  };
4091
4135
  // src/contexts/markdown/MarkdownContext/lib/components/index.tsx
4092
4136
  import { jsx as _jsx43, Fragment as _Fragment, jsxs as _jsxs15 } from "react/jsx-runtime";
4093
- var _excluded = [
4137
+ var _excluded2 = [
4094
4138
  "width"
4095
4139
  ];
4096
- function _objectWithoutProperties(e, t) {
4140
+ function _objectWithoutProperties2(e, t) {
4097
4141
  if (null == e) return {};
4098
- var o, r, i = _objectWithoutPropertiesLoose(e, t);
4142
+ var o, r, i = _objectWithoutPropertiesLoose2(e, t);
4099
4143
  if (Object.getOwnPropertySymbols) {
4100
4144
  var s = Object.getOwnPropertySymbols(e);
4101
4145
  for(r = 0; r < s.length; r++)o = s[r], t.includes(o) || ({}).propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
4102
4146
  }
4103
4147
  return i;
4104
4148
  }
4105
- function _objectWithoutPropertiesLoose(r, e) {
4149
+ function _objectWithoutPropertiesLoose2(r, e) {
4106
4150
  if (null == r) return {};
4107
4151
  var t = {};
4108
4152
  for(var n in r)if (({}).hasOwnProperty.call(r, n)) {
@@ -4229,7 +4273,7 @@ var components = {
4229
4273
  return /* @__PURE__ */ _jsx43(Table.Row, _objectSpread22({}, props));
4230
4274
  },
4231
4275
  td: function(_ref) {
4232
- var width2 = _ref.width, rest = _objectWithoutProperties(_ref, _excluded);
4276
+ var width2 = _ref.width, rest = _objectWithoutProperties2(_ref, _excluded2);
4233
4277
  return /* @__PURE__ */ _jsx43(Table.Cell, _objectSpread22(_objectSpread22({}, rest), {}, {
4234
4278
  width: width2
4235
4279
  }));
@@ -4437,9 +4481,7 @@ var createAnnotationNode = function(_ref6) {
4437
4481
  },
4438
4482
  data: {
4439
4483
  hName: "annotation",
4440
- hProperties: {
4441
- annotation: annotation
4442
- }
4484
+ hProperties: _define_property({}, "data-annotation", JSON.stringify(annotation))
4443
4485
  }
4444
4486
  };
4445
4487
  };
@@ -6322,11 +6364,9 @@ var Root4 = function(_ref) {
6322
6364
  });
6323
6365
  };
6324
6366
  // src/components/threads/Thread/MessageForm/Field/index.tsx
6325
- import { c as _c42 } from "react-compiler-runtime";
6326
6367
  import { useFormContext as useFormContext2 } from "react-hook-form";
6327
6368
  import { Container as RadixContainer, Flex as Flex23 } from "@radix-ui/themes";
6328
6369
  // src/components/threads/Thread/MessageForm/Field/Control.tsx
6329
- import { c as _c39 } from "react-compiler-runtime";
6330
6370
  import { Flex as Flex20 } from "@radix-ui/themes";
6331
6371
  import { useFormContext } from "react-hook-form";
6332
6372
  // src/hooks/misc/usePrevious.ts
@@ -6345,7 +6385,7 @@ import { c as _c38 } from "react-compiler-runtime";
6345
6385
  import { forwardRef as forwardRef4 } from "react";
6346
6386
  import TextareaAutosize from "react-textarea-autosize";
6347
6387
  import { jsx as _jsx65, Fragment as _Fragment3, jsxs as _jsxs22 } from "react/jsx-runtime";
6348
- var _excluded2 = [
6388
+ var _excluded3 = [
6349
6389
  "style",
6350
6390
  "className"
6351
6391
  ];
@@ -6392,16 +6432,16 @@ function _toPrimitive29(t, r) {
6392
6432
  }
6393
6433
  return ("string" === r ? String : Number)(t);
6394
6434
  }
6395
- function _objectWithoutProperties2(e, t) {
6435
+ function _objectWithoutProperties3(e, t) {
6396
6436
  if (null == e) return {};
6397
- var o, r, i = _objectWithoutPropertiesLoose2(e, t);
6437
+ var o, r, i = _objectWithoutPropertiesLoose3(e, t);
6398
6438
  if (Object.getOwnPropertySymbols) {
6399
6439
  var s = Object.getOwnPropertySymbols(e);
6400
6440
  for(r = 0; r < s.length; r++)o = s[r], t.includes(o) || ({}).propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
6401
6441
  }
6402
6442
  return i;
6403
6443
  }
6404
- function _objectWithoutPropertiesLoose2(r, e) {
6444
+ function _objectWithoutPropertiesLoose3(r, e) {
6405
6445
  if (null == r) return {};
6406
6446
  var t = {};
6407
6447
  for(var n in r)if (({}).hasOwnProperty.call(r, n)) {
@@ -6420,7 +6460,7 @@ var TextareaBase = /* @__PURE__ */ forwardRef4(function TextareaBase2(t0, ref) {
6420
6460
  var _t = t0;
6421
6461
  var _$ref;
6422
6462
  _$ref = _t, style = _$ref.style, className = _$ref.className, _$ref;
6423
- rest = _objectWithoutProperties2(_t, _excluded2);
6463
+ rest = _objectWithoutProperties3(_t, _excluded3);
6424
6464
  _t;
6425
6465
  $[0] = t0;
6426
6466
  $[1] = className;
@@ -6544,110 +6584,48 @@ var Root5 = function(_ref) {
6544
6584
  });
6545
6585
  };
6546
6586
  var Input = function(props) {
6587
+ "use no memo";
6547
6588
  var _props$placeholder;
6548
- var $ = _c39(20);
6549
6589
  var assistantNameContext = useContext12(AssistantNameContext);
6550
6590
  var register = useFormContext().register;
6551
6591
  var _useMessageFormContext = useMessageFormContext(), isDisabled = _useMessageFormContext.isDisabled, isLoading = _useMessageFormContext.isLoading;
6552
- var t0;
6553
- t0 = isDisabled || isLoading;
6554
- var isSubmitDisabled = t0;
6592
+ var isSubmitDisabled = useMemo14(function() {
6593
+ return isDisabled || isLoading;
6594
+ }, [
6595
+ isDisabled,
6596
+ isLoading
6597
+ ]);
6555
6598
  var isDisabledPrevious = usePrevious(isDisabled);
6556
6599
  var textareaRef = useRef5(null);
6557
- var t1;
6558
- if ($[0] !== register) {
6559
- t1 = register("content");
6560
- $[0] = register;
6561
- $[1] = t1;
6562
- } else {
6563
- t1 = $[1];
6564
- }
6565
- var textareaProps = t1;
6566
- var t2;
6567
- if ($[2] !== isDisabled || $[3] !== isDisabledPrevious) {
6568
- t2 = function() {
6569
- if (isDisabled) {
6570
- return;
6571
- }
6572
- if (!isDisabledPrevious) {
6573
- return;
6574
- }
6575
- if (!textareaRef.current) {
6576
- return;
6577
- }
6578
- textareaRef.current.focus();
6579
- };
6580
- $[2] = isDisabled;
6581
- $[3] = isDisabledPrevious;
6582
- $[4] = t2;
6583
- } else {
6584
- t2 = $[4];
6585
- }
6586
- var t3;
6587
- if ($[5] !== isDisabled || $[6] !== isDisabledPrevious || $[7] !== textareaProps) {
6588
- t3 = [
6589
- isDisabled,
6590
- isDisabledPrevious,
6591
- textareaProps
6592
- ];
6593
- $[5] = isDisabled;
6594
- $[6] = isDisabledPrevious;
6595
- $[7] = textareaProps;
6596
- $[8] = t3;
6597
- } else {
6598
- t3 = $[8];
6599
- }
6600
- useEffect6(t2, t3);
6601
- var t4 = (_props$placeholder = props.placeholder) !== null && _props$placeholder !== void 0 ? _props$placeholder : "Message ".concat(assistantNameContext, "...");
6602
- var t5;
6603
- if ($[9] !== isSubmitDisabled) {
6604
- t5 = function(e) {
6600
+ var textareaProps = register("content");
6601
+ useEffect6(function() {
6602
+ if (isDisabled) return;
6603
+ if (!isDisabledPrevious) return;
6604
+ if (!textareaRef.current) return;
6605
+ textareaRef.current.focus();
6606
+ }, [
6607
+ isDisabled,
6608
+ isDisabledPrevious,
6609
+ textareaProps
6610
+ ]);
6611
+ return /* @__PURE__ */ _jsx66(TextareaBase, _objectSpread30(_objectSpread30(_objectSpread30({
6612
+ minRows: 1,
6613
+ placeholder: (_props$placeholder = props.placeholder) !== null && _props$placeholder !== void 0 ? _props$placeholder : "Message ".concat(assistantNameContext, "..."),
6614
+ disabled: isDisabled,
6615
+ onKeyDown: function(e) {
6605
6616
  if (e.key === "Enter" && !e.shiftKey) {
6606
6617
  var _e$currentTarget$form;
6607
6618
  e.preventDefault();
6608
- if (isSubmitDisabled) {
6609
- return;
6610
- }
6619
+ if (isSubmitDisabled) return;
6611
6620
  (_e$currentTarget$form = e.currentTarget.form) === null || _e$currentTarget$form === void 0 || _e$currentTarget$form.requestSubmit();
6612
6621
  }
6613
- };
6614
- $[9] = isSubmitDisabled;
6615
- $[10] = t5;
6616
- } else {
6617
- t5 = $[10];
6618
- }
6619
- var t6;
6620
- if ($[11] !== textareaProps) {
6621
- t6 = function(e_0) {
6622
+ }
6623
+ }, textareaProps), props), {}, {
6624
+ ref: function(e_0) {
6622
6625
  textareaProps.ref(e_0);
6623
6626
  textareaRef.current = e_0;
6624
- };
6625
- $[11] = textareaProps;
6626
- $[12] = t6;
6627
- } else {
6628
- t6 = $[12];
6629
- }
6630
- var t7;
6631
- if ($[13] !== isDisabled || $[14] !== props || $[15] !== t4 || $[16] !== t5 || $[17] !== t6 || $[18] !== textareaProps) {
6632
- t7 = /* @__PURE__ */ _jsx66(TextareaBase, _objectSpread30(_objectSpread30(_objectSpread30({
6633
- minRows: 1,
6634
- placeholder: t4,
6635
- disabled: isDisabled,
6636
- onKeyDown: t5
6637
- }, textareaProps), props), {}, {
6638
- ref: t6
6639
- }));
6640
- $[13] = isDisabled;
6641
- $[14] = props;
6642
- $[15] = t4;
6643
- $[16] = t5;
6644
- $[17] = t6;
6645
- $[18] = textareaProps;
6646
- $[19] = t7;
6647
- } else {
6648
- t7 = $[19];
6649
- }
6650
- return t7;
6627
+ }
6628
+ }));
6651
6629
  };
6652
6630
  var Control = function(props) {
6653
6631
  return /* @__PURE__ */ _jsx66(Root5, _objectSpread30(_objectSpread30({}, props), {}, {
@@ -6657,7 +6635,7 @@ var Control = function(props) {
6657
6635
  Control.Root = Root5;
6658
6636
  Control.Input = Input;
6659
6637
  // src/components/threads/Thread/MessageForm/Field/Files/Preview.tsx
6660
- import { c as _c40 } from "react-compiler-runtime";
6638
+ import { c as _c39 } from "react-compiler-runtime";
6661
6639
  import { Flex as Flex21, Card as Card2, Spinner as Spinner2, Text as Text7, IconButton as IconButton6 } from "@radix-ui/themes";
6662
6640
  import { FileIcon as FileIcon2, Cross2Icon } from "@radix-ui/react-icons";
6663
6641
  import { jsx as _jsx67, jsxs as _jsxs23 } from "react/jsx-runtime";
@@ -6705,7 +6683,7 @@ function _toPrimitive31(t, r) {
6705
6683
  return ("string" === r ? String : Number)(t);
6706
6684
  }
6707
6685
  var Preview = function(props) {
6708
- var $ = _c40(8);
6686
+ var $ = _c39(8);
6709
6687
  var _useMessageFormContext = useMessageFormContext(), files = _useMessageFormContext.files, setFiles = _useMessageFormContext.setFiles;
6710
6688
  if (!files.length) {
6711
6689
  return null;
@@ -6803,7 +6781,7 @@ import dayjs2 from "dayjs";
6803
6781
  import { FilePlusIcon } from "@radix-ui/react-icons";
6804
6782
  import { IconButton as IconButton7, Flex as Flex22 } from "@radix-ui/themes";
6805
6783
  // src/hooks/files/useCreateFile/index.ts
6806
- import { c as _c41 } from "react-compiler-runtime";
6784
+ import { c as _c40 } from "react-compiler-runtime";
6807
6785
  import { useMutation as useMutation2, useQueryClient as useQueryClient5 } from "@tanstack/react-query";
6808
6786
  // src/hooks/files/useCreateFile/lib/mutationOptions/mutationFn/body/formData.ts
6809
6787
  var formData = function(variables) {
@@ -7039,7 +7017,7 @@ function _toPrimitive34(t, r) {
7039
7017
  return ("string" === r ? String : Number)(t);
7040
7018
  }
7041
7019
  var useCreateFile = function(t0) {
7042
- var $ = _c41(15);
7020
+ var $ = _c40(15);
7043
7021
  var t1;
7044
7022
  if ($[0] !== t0) {
7045
7023
  t1 = t0 === void 0 ? {
@@ -7481,76 +7459,38 @@ function _toPrimitive36(t, r) {
7481
7459
  }
7482
7460
  return ("string" === r ? String : Number)(t);
7483
7461
  }
7484
- var Root6 = function(t0) {
7485
- var $ = _c42(12);
7486
- var children = t0.children, className = t0.className, style = t0.style;
7487
- var _useFormContext2 = useFormContext2(), t1 = _useFormContext2.formState;
7488
- var errors = t1.errors;
7489
- var t2 = errors.content ? "var(--red-9)" : "var(--gray-5)";
7490
- var t3;
7491
- if ($[0] !== errors.content) {
7492
- t3 = errors.content ? {
7493
- backgroundColor: "var(--red-2)"
7494
- } : {};
7495
- $[0] = errors.content;
7496
- $[1] = t3;
7497
- } else {
7498
- t3 = $[1];
7499
- }
7500
- var t4;
7501
- if ($[2] !== t2 || $[3] !== t3) {
7502
- t4 = _objectSpread36({
7503
- borderRadius: "var(--radius-2)",
7504
- borderWidth: "1px",
7505
- borderStyle: "solid",
7506
- borderColor: t2
7507
- }, t3);
7508
- $[2] = t2;
7509
- $[3] = t3;
7510
- $[4] = t4;
7511
- } else {
7512
- t4 = $[4];
7513
- }
7514
- var t5;
7515
- if ($[5] !== children || $[6] !== t4) {
7516
- t5 = /* @__PURE__ */ _jsx69(Flex23, {
7462
+ var Root6 = function(_ref) {
7463
+ "use no memo";
7464
+ var children = _ref.children, className = _ref.className, style = _ref.style;
7465
+ var _useFormContext2 = useFormContext2(), errors = _useFormContext2.formState.errors;
7466
+ return /* @__PURE__ */ _jsx69(RadixContainer, {
7467
+ size: "2",
7468
+ flexGrow: "0",
7469
+ className: className,
7470
+ style: style,
7471
+ children: /* @__PURE__ */ _jsx69(Flex23, {
7517
7472
  direction: "column",
7518
7473
  flexShrink: "0",
7519
7474
  children: /* @__PURE__ */ _jsx69(Flex23, {
7520
7475
  direction: "column",
7521
7476
  flexShrink: "0",
7522
7477
  children: /* @__PURE__ */ _jsx69(Flex23, {
7523
- style: t4,
7478
+ style: _objectSpread36({
7479
+ borderRadius: "var(--radius-2)",
7480
+ borderWidth: "1px",
7481
+ borderStyle: "solid",
7482
+ borderColor: errors.content ? "var(--red-9)" : "var(--gray-5)"
7483
+ }, errors.content ? {
7484
+ backgroundColor: "var(--red-2)"
7485
+ } : {}),
7524
7486
  p: "2",
7525
7487
  pl: "3",
7526
7488
  wrap: "wrap",
7527
7489
  children: children
7528
7490
  })
7529
7491
  })
7530
- });
7531
- $[5] = children;
7532
- $[6] = t4;
7533
- $[7] = t5;
7534
- } else {
7535
- t5 = $[7];
7536
- }
7537
- var t6;
7538
- if ($[8] !== className || $[9] !== style || $[10] !== t5) {
7539
- t6 = /* @__PURE__ */ _jsx69(RadixContainer, {
7540
- size: "2",
7541
- flexGrow: "0",
7542
- className: className,
7543
- style: style,
7544
- children: t5
7545
- });
7546
- $[8] = className;
7547
- $[9] = style;
7548
- $[10] = t5;
7549
- $[11] = t6;
7550
- } else {
7551
- t6 = $[11];
7552
- }
7553
- return t6;
7492
+ })
7493
+ });
7554
7494
  };
7555
7495
  var Field = {
7556
7496
  Root: Root6,
@@ -7620,7 +7560,7 @@ import { Flex as Flex25 } from "@radix-ui/themes";
7620
7560
  // src/components/threads/Thread/Provider/index.tsx
7621
7561
  var Provider2 = SuperinterfaceProvider;
7622
7562
  // src/components/toasts/ToastsProvider/index.tsx
7623
- import { c as _c43 } from "react-compiler-runtime";
7563
+ import { c as _c41 } from "react-compiler-runtime";
7624
7564
  import { useState as useState5, useCallback as useCallback4 } from "react";
7625
7565
  import * as Toast2 from "@radix-ui/react-toast";
7626
7566
  // src/components/toasts/ToastsProvider/CustomToast.tsx
@@ -7659,7 +7599,7 @@ var CustomToast = function(_ref) {
7659
7599
  // src/components/toasts/ToastsProvider/index.tsx
7660
7600
  import { jsx as _jsx72, jsxs as _jsxs27 } from "react/jsx-runtime";
7661
7601
  var ToastsProvider = function(t0) {
7662
- var $ = _c43(15);
7602
+ var $ = _c41(15);
7663
7603
  var children = t0.children, t1 = t0.bottom;
7664
7604
  var bottom = t1 === void 0 ? 0 : t1;
7665
7605
  var t2;
@@ -7764,7 +7704,7 @@ function _temp7(toast_0, index) {
7764
7704
  }
7765
7705
  // src/components/threads/Thread/Root/index.tsx
7766
7706
  import { jsx as _jsx73 } from "react/jsx-runtime";
7767
- var _excluded3 = [
7707
+ var _excluded4 = [
7768
7708
  "children",
7769
7709
  "style",
7770
7710
  "className"
@@ -7812,16 +7752,16 @@ function _toPrimitive38(t, r) {
7812
7752
  }
7813
7753
  return ("string" === r ? String : Number)(t);
7814
7754
  }
7815
- function _objectWithoutProperties3(e, t) {
7755
+ function _objectWithoutProperties4(e, t) {
7816
7756
  if (null == e) return {};
7817
- var o, r, i = _objectWithoutPropertiesLoose3(e, t);
7757
+ var o, r, i = _objectWithoutPropertiesLoose4(e, t);
7818
7758
  if (Object.getOwnPropertySymbols) {
7819
7759
  var s = Object.getOwnPropertySymbols(e);
7820
7760
  for(r = 0; r < s.length; r++)o = s[r], t.includes(o) || ({}).propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
7821
7761
  }
7822
7762
  return i;
7823
7763
  }
7824
- function _objectWithoutPropertiesLoose3(r, e) {
7764
+ function _objectWithoutPropertiesLoose4(r, e) {
7825
7765
  if (null == r) return {};
7826
7766
  var t = {};
7827
7767
  for(var n in r)if (({}).hasOwnProperty.call(r, n)) {
@@ -7831,7 +7771,7 @@ function _objectWithoutPropertiesLoose3(r, e) {
7831
7771
  return t;
7832
7772
  }
7833
7773
  var Root8 = function(_ref) {
7834
- var children = _ref.children, style = _ref.style, className = _ref.className, rest = _objectWithoutProperties3(_ref, _excluded3);
7774
+ var children = _ref.children, style = _ref.style, className = _ref.className, rest = _objectWithoutProperties4(_ref, _excluded4);
7835
7775
  return /* @__PURE__ */ _jsx73(ToastsProvider, {
7836
7776
  bottom: "var(--space-9)",
7837
7777
  children: /* @__PURE__ */ _jsx73(Provider2, _objectSpread38(_objectSpread38({}, rest), {}, {
@@ -7907,7 +7847,7 @@ var useMessageContext = function() {
7907
7847
  return useContext13(MessageContext);
7908
7848
  };
7909
7849
  // src/hooks/assistants/useAssistant/index.ts
7910
- import { c as _c44 } from "react-compiler-runtime";
7850
+ import { c as _c42 } from "react-compiler-runtime";
7911
7851
  import { useMemo as useMemo15 } from "react";
7912
7852
  import { useQuery } from "@tanstack/react-query";
7913
7853
  // src/hooks/assistants/useAssistant/lib/queryOptions/index.ts
@@ -8057,7 +7997,7 @@ function _toPrimitive40(t, r) {
8057
7997
  return ("string" === r ? String : Number)(t);
8058
7998
  }
8059
7999
  var useAssistant = function(t0) {
8060
- var $ = _c44(6);
8000
+ var $ = _c42(6);
8061
8001
  var assistantId = t0.assistantId;
8062
8002
  var superinterfaceContext = useSuperinterfaceContext();
8063
8003
  var t1;
@@ -8090,7 +8030,7 @@ var useAssistant = function(t0) {
8090
8030
  return t2;
8091
8031
  };
8092
8032
  // src/components/threads/ThreadDialog/Provider/index.tsx
8093
- import { c as _c45 } from "react-compiler-runtime";
8033
+ import { c as _c43 } from "react-compiler-runtime";
8094
8034
  import { useState as useState6 } from "react";
8095
8035
  // src/contexts/threads/ThreadDialogContext/index.ts
8096
8036
  import { createContext as createContext12 } from "react";
@@ -8106,7 +8046,7 @@ var useThreadDialogContext = function() {
8106
8046
  // src/components/threads/ThreadDialog/Provider/index.tsx
8107
8047
  import { jsx as _jsx75 } from "react/jsx-runtime";
8108
8048
  var Provider4 = function(t0) {
8109
- var $ = _c45(5);
8049
+ var $ = _c43(5);
8110
8050
  var children = t0.children;
8111
8051
  var threadDialogContext = useThreadDialogContext();
8112
8052
  var _useState6 = _sliced_to_array(useState6(threadDialogContext.isOpen), 2), isOpen = _useState6[0], setIsOpen = _useState6[1];
@@ -8144,7 +8084,7 @@ var Root9 = function(_ref) {
8144
8084
  });
8145
8085
  };
8146
8086
  // src/components/threads/ThreadDialog/Trigger/index.tsx
8147
- import { c as _c46 } from "react-compiler-runtime";
8087
+ import { c as _c44 } from "react-compiler-runtime";
8148
8088
  import { Flex as Flex26 } from "@radix-ui/themes";
8149
8089
  // src/components/threads/ThreadDialog/Trigger/Button.tsx
8150
8090
  import { IconButton as IconButton8 } from "@radix-ui/themes";
@@ -8247,7 +8187,7 @@ function _toPrimitive42(t, r) {
8247
8187
  return ("string" === r ? String : Number)(t);
8248
8188
  }
8249
8189
  var Root10 = function(t0) {
8250
- var $ = _c46(14);
8190
+ var $ = _c44(14);
8251
8191
  var children = t0.children, style = t0.style, className = t0.className;
8252
8192
  var _useThreadDialogContext = useThreadDialogContext(), setIsOpen = _useThreadDialogContext.setIsOpen, isOpen = _useThreadDialogContext.isOpen;
8253
8193
  var t1 = isOpen ? "none" : "flex";
@@ -8328,15 +8268,15 @@ function _temp8(prev) {
8328
8268
  return !prev;
8329
8269
  }
8330
8270
  // src/components/threads/ThreadDialog/Content/index.tsx
8331
- import { c as _c48 } from "react-compiler-runtime";
8271
+ import { c as _c46 } from "react-compiler-runtime";
8332
8272
  import { Card as Card4, Inset as Inset2, Flex as Flex28 } from "@radix-ui/themes";
8333
8273
  // src/components/threads/ThreadDialog/Close/index.tsx
8334
- import { c as _c47 } from "react-compiler-runtime";
8274
+ import { c as _c45 } from "react-compiler-runtime";
8335
8275
  import { Cross1Icon } from "@radix-ui/react-icons";
8336
8276
  import { IconButton as IconButton9, Flex as Flex27 } from "@radix-ui/themes";
8337
8277
  import { jsx as _jsx79 } from "react/jsx-runtime";
8338
8278
  var Close = function() {
8339
- var $ = _c47(9);
8279
+ var $ = _c45(9);
8340
8280
  var _useThreadDialogContext = useThreadDialogContext(), setIsOpen = _useThreadDialogContext.setIsOpen, isOpen = _useThreadDialogContext.isOpen;
8341
8281
  var t0 = isOpen ? "flex" : "none";
8342
8282
  var t1;
@@ -8452,7 +8392,7 @@ function _toPrimitive43(t, r) {
8452
8392
  return ("string" === r ? String : Number)(t);
8453
8393
  }
8454
8394
  var Root11 = function(t0) {
8455
- var $ = _c48(19);
8395
+ var $ = _c46(19);
8456
8396
  var children = t0.children, className = t0.className, style = t0.style;
8457
8397
  var isOpen = useThreadDialogContext().isOpen;
8458
8398
  if (!isOpen) {
@@ -8651,7 +8591,7 @@ ThreadDialog.Root = Root9;
8651
8591
  ThreadDialog.Trigger = Trigger;
8652
8592
  ThreadDialog.Content = Content7;
8653
8593
  // src/components/threads/AudioThread/Root/index.tsx
8654
- import { c as _c53 } from "react-compiler-runtime";
8594
+ import { c as _c51 } from "react-compiler-runtime";
8655
8595
  import { Flex as Flex29 } from "@radix-ui/themes";
8656
8596
  // src/contexts/threads/AudioThreadContext/index.ts
8657
8597
  import { createContext as createContext13 } from "react";
@@ -8771,7 +8711,7 @@ var AudioThreadContext = /* @__PURE__ */ createContext13({
8771
8711
  }
8772
8712
  });
8773
8713
  // src/hooks/misc/usePermission/index.ts
8774
- import { c as _c49 } from "react-compiler-runtime";
8714
+ import { c as _c47 } from "react-compiler-runtime";
8775
8715
  import { useEffect as useEffect7, useState as useState7 } from "react";
8776
8716
  // src/hooks/misc/usePermission/util.ts
8777
8717
  var noop = function() {};
@@ -8795,7 +8735,7 @@ function off(obj) {
8795
8735
  }
8796
8736
  // src/hooks/misc/usePermission/index.ts
8797
8737
  var usePermission = function(permissionDesc) {
8798
- var $ = _c49(3);
8738
+ var $ = _c47(3);
8799
8739
  var _useState7 = _sliced_to_array(useState7(""), 2), state = _useState7[0], setState = _useState7[1];
8800
8740
  var t0;
8801
8741
  var t1;
@@ -8849,10 +8789,10 @@ var blobToData = function(blob) {
8849
8789
  });
8850
8790
  };
8851
8791
  // src/hooks/audioThreads/useStatus/index.ts
8852
- import { c as _c50 } from "react-compiler-runtime";
8792
+ import { c as _c48 } from "react-compiler-runtime";
8853
8793
  import { useMemo as useMemo16 } from "react";
8854
8794
  var useStatus = function(t0) {
8855
- var $ = _c50(2);
8795
+ var $ = _c48(2);
8856
8796
  var messageAudioProps = t0.messageAudioProps, recorderProps = t0.recorderProps, createMessageProps = t0.createMessageProps;
8857
8797
  var latestMessageProps = useLatestMessage();
8858
8798
  var t1;
@@ -8911,10 +8851,10 @@ import { useAudioCapture } from "use-audio-capture";
8911
8851
  import { useMemo as useMemo17, useRef as useRef7, useState as useState8, useCallback as useCallback5, useEffect as useEffect9 } from "react";
8912
8852
  import { useAudioPlayer } from "react-use-audio-player";
8913
8853
  // src/hooks/misc/useInterval.ts
8914
- import { c as _c51 } from "react-compiler-runtime";
8854
+ import { c as _c49 } from "react-compiler-runtime";
8915
8855
  import { useEffect as useEffect8, useRef as useRef6 } from "react";
8916
8856
  var useInterval = function(callback, delay) {
8917
- var $ = _c51(5);
8857
+ var $ = _c49(5);
8918
8858
  var savedCallback = useRef6(_temp10);
8919
8859
  var t0;
8920
8860
  if ($[0] !== callback) {
@@ -9167,7 +9107,7 @@ var useRecorder = function(_ref) {
9167
9107
  });
9168
9108
  };
9169
9109
  // src/hooks/audioThreads/useMessageAudio/index.ts
9170
- import { c as _c52 } from "react-compiler-runtime";
9110
+ import { c as _c50 } from "react-compiler-runtime";
9171
9111
  import { useMemo as useMemo18, useRef as useRef8, useState as useState9, useEffect as useEffect10, useCallback as useCallback6 } from "react";
9172
9112
  import nlp from "compromise";
9173
9113
  import { Howler } from "howler";
@@ -9249,7 +9189,7 @@ var getMessageSentences = function(_ref) {
9249
9189
  });
9250
9190
  };
9251
9191
  var useMessageAudio = function(t0) {
9252
- var $ = _c52(50);
9192
+ var $ = _c50(50);
9253
9193
  var _onEnd = t0.onEnd, passedPlay = t0.play;
9254
9194
  var _useState9 = _sliced_to_array(useState9(false), 2), isAudioPlayed = _useState9[0], setIsAudioPlayed = _useState9[1];
9255
9195
  var t1;
@@ -9596,7 +9536,7 @@ function _temp11() {
9596
9536
  // src/components/threads/AudioThread/Root/index.tsx
9597
9537
  import { useQueryClient as useQueryClient6 } from "@tanstack/react-query";
9598
9538
  import { jsx as _jsx82 } from "react/jsx-runtime";
9599
- var _excluded4 = [
9539
+ var _excluded5 = [
9600
9540
  "children"
9601
9541
  ];
9602
9542
  function ownKeys46(e, r) {
@@ -9642,16 +9582,16 @@ function _toPrimitive46(t, r) {
9642
9582
  }
9643
9583
  return ("string" === r ? String : Number)(t);
9644
9584
  }
9645
- function _objectWithoutProperties4(e, t) {
9585
+ function _objectWithoutProperties5(e, t) {
9646
9586
  if (null == e) return {};
9647
- var o, r, i = _objectWithoutPropertiesLoose4(e, t);
9587
+ var o, r, i = _objectWithoutPropertiesLoose5(e, t);
9648
9588
  if (Object.getOwnPropertySymbols) {
9649
9589
  var s = Object.getOwnPropertySymbols(e);
9650
9590
  for(r = 0; r < s.length; r++)o = s[r], t.includes(o) || ({}).propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
9651
9591
  }
9652
9592
  return i;
9653
9593
  }
9654
- function _objectWithoutPropertiesLoose4(r, e) {
9594
+ function _objectWithoutPropertiesLoose5(r, e) {
9655
9595
  if (null == r) return {};
9656
9596
  var t = {};
9657
9597
  for(var n in r)if (({}).hasOwnProperty.call(r, n)) {
@@ -9684,7 +9624,7 @@ function _asyncToGenerator12(n) {
9684
9624
  };
9685
9625
  }
9686
9626
  var Content8 = function(t0) {
9687
- var $ = _c53(24);
9627
+ var $ = _c51(24);
9688
9628
  var children = t0.children, className = t0.className, style = t0.style, play = t0.play;
9689
9629
  var addToast = useToasts().addToast;
9690
9630
  var queryClient = useQueryClient6();
@@ -9839,7 +9779,7 @@ var Content8 = function(t0) {
9839
9779
  return t10;
9840
9780
  };
9841
9781
  var Root12 = function(_ref) {
9842
- var children = _ref.children, rest = _objectWithoutProperties4(_ref, _excluded4);
9782
+ var children = _ref.children, rest = _objectWithoutProperties5(_ref, _excluded5);
9843
9783
  return /* @__PURE__ */ _jsx82(ToastsProvider, {
9844
9784
  children: /* @__PURE__ */ _jsx82(Content8, _objectSpread46(_objectSpread46({}, rest), {}, {
9845
9785
  children: children
@@ -10044,7 +9984,7 @@ var Visualization = function(props) {
10044
9984
  }));
10045
9985
  };
10046
9986
  // src/components/threads/AudioThread/Status/index.tsx
10047
- import { c as _c54 } from "react-compiler-runtime";
9987
+ import { c as _c52 } from "react-compiler-runtime";
10048
9988
  // src/components/threads/AudioThread/Status/StatusMessages.tsx
10049
9989
  import { Flex as Flex32, Text as Text9 } from "@radix-ui/themes";
10050
9990
  import { jsx as _jsx85, jsxs as _jsxs32 } from "react/jsx-runtime";
@@ -10124,7 +10064,7 @@ function _toPrimitive48(t, r) {
10124
10064
  return ("string" === r ? String : Number)(t);
10125
10065
  }
10126
10066
  var Status = function(props) {
10127
- var $ = _c54(12);
10067
+ var $ = _c52(12);
10128
10068
  var audioThreadContext = useAudioThreadContext();
10129
10069
  if (audioThreadContext.status === "recording") {
10130
10070
  var _t;
@@ -10221,7 +10161,7 @@ var Status = function(props) {
10221
10161
  return t1;
10222
10162
  };
10223
10163
  // src/components/threads/AudioThread/Form/index.tsx
10224
- import { c as _c56 } from "react-compiler-runtime";
10164
+ import { c as _c54 } from "react-compiler-runtime";
10225
10165
  import { Flex as Flex34 } from "@radix-ui/themes";
10226
10166
  // src/components/threads/AudioThread/Form/MicIcon.tsx
10227
10167
  import { jsx as _jsx87 } from "react/jsx-runtime";
@@ -10285,12 +10225,12 @@ var MicIcon = function(props) {
10285
10225
  }));
10286
10226
  };
10287
10227
  // src/components/threads/AudioThread/Form/ActionButton/index.tsx
10288
- import { c as _c55 } from "react-compiler-runtime";
10228
+ import { c as _c53 } from "react-compiler-runtime";
10289
10229
  import { Flex as Flex33, IconButton as IconButton10 } from "@radix-ui/themes";
10290
10230
  import { StopIcon as StopIcon2, PauseIcon as PauseIcon2, ArrowUpIcon as ArrowUpIcon3, ResumeIcon } from "@radix-ui/react-icons";
10291
10231
  import { jsx as _jsx88, jsxs as _jsxs33 } from "react/jsx-runtime";
10292
10232
  var ActionButton = function() {
10293
- var $ = _c55(27);
10233
+ var $ = _c53(27);
10294
10234
  var audioThreadContext = useAudioThreadContext();
10295
10235
  var superinterfaceContext = useSuperinterfaceContext();
10296
10236
  if (audioThreadContext.status === "recording") {
@@ -10527,7 +10467,7 @@ function _toPrimitive50(t, r) {
10527
10467
  return ("string" === r ? String : Number)(t);
10528
10468
  }
10529
10469
  var Form = function(props) {
10530
- var $ = _c56(17);
10470
+ var $ = _c54(17);
10531
10471
  var audioThreadContext = useAudioThreadContext();
10532
10472
  var t0 = audioThreadContext.status === "recording" ? "var(--accent-11)" : "var(--gray-11)";
10533
10473
  var t1;
@@ -10747,22 +10687,22 @@ AudioThreadDialog.Root = Root9;
10747
10687
  AudioThreadDialog.Trigger = Trigger;
10748
10688
  AudioThreadDialog.Content = Content7;
10749
10689
  // src/components/markdown/MarkdownProvider/index.tsx
10750
- import { c as _c57 } from "react-compiler-runtime";
10690
+ import { c as _c55 } from "react-compiler-runtime";
10751
10691
  import { useMemo as useMemo19 } from "react";
10752
10692
  import { jsx as _jsx92 } from "react/jsx-runtime";
10753
- var _excluded5 = [
10693
+ var _excluded6 = [
10754
10694
  "children"
10755
10695
  ];
10756
- function _objectWithoutProperties5(e, t) {
10696
+ function _objectWithoutProperties6(e, t) {
10757
10697
  if (null == e) return {};
10758
- var o, r, i = _objectWithoutPropertiesLoose5(e, t);
10698
+ var o, r, i = _objectWithoutPropertiesLoose6(e, t);
10759
10699
  if (Object.getOwnPropertySymbols) {
10760
10700
  var s = Object.getOwnPropertySymbols(e);
10761
10701
  for(r = 0; r < s.length; r++)o = s[r], t.includes(o) || ({}).propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
10762
10702
  }
10763
10703
  return i;
10764
10704
  }
10765
- function _objectWithoutPropertiesLoose5(r, e) {
10705
+ function _objectWithoutPropertiesLoose6(r, e) {
10766
10706
  if (null == r) return {};
10767
10707
  var t = {};
10768
10708
  for(var n in r)if (({}).hasOwnProperty.call(r, n)) {
@@ -10772,13 +10712,13 @@ function _objectWithoutPropertiesLoose5(r, e) {
10772
10712
  return t;
10773
10713
  }
10774
10714
  var MarkdownProvider = function(t0) {
10775
- var $ = _c57(9);
10715
+ var $ = _c55(9);
10776
10716
  var children;
10777
10717
  var rest;
10778
10718
  if ($[0] !== t0) {
10779
10719
  var _t = t0;
10780
10720
  children = _t.children;
10781
- rest = _objectWithoutProperties5(_t, _excluded5);
10721
+ rest = _objectWithoutProperties6(_t, _excluded6);
10782
10722
  _t;
10783
10723
  $[0] = t0;
10784
10724
  $[1] = children;
@@ -10815,7 +10755,7 @@ var MarkdownProvider = function(t0) {
10815
10755
  return t3;
10816
10756
  };
10817
10757
  // src/components/avatars/Avatar.tsx
10818
- import { c as _c60 } from "react-compiler-runtime";
10758
+ import { c as _c58 } from "react-compiler-runtime";
10819
10759
  // src/lib/enums/index.ts
10820
10760
  var IconAvatarName = /* @__PURE__ */ function(IconAvatarName2) {
10821
10761
  IconAvatarName2["BACKPACK"] = "BACKPACK";
@@ -10840,7 +10780,7 @@ var AvatarType = /* @__PURE__ */ function(AvatarType2) {
10840
10780
  // src/components/avatars/Avatar.tsx
10841
10781
  import { Avatar as RadixAvatar } from "@radix-ui/themes";
10842
10782
  // src/components/imageAvatars/ImageAvatar/index.tsx
10843
- import { c as _c58 } from "react-compiler-runtime";
10783
+ import { c as _c56 } from "react-compiler-runtime";
10844
10784
  import { Avatar as Avatar4 } from "@radix-ui/themes";
10845
10785
  // src/components/imageAvatars/ImageAvatar/lib/optimizedSrc/path.ts
10846
10786
  var width = function(_ref) {
@@ -10894,7 +10834,7 @@ var optimizedSrc = function(_ref) {
10894
10834
  // src/components/imageAvatars/ImageAvatar/index.tsx
10895
10835
  import { jsx as _jsx93 } from "react/jsx-runtime";
10896
10836
  var ImageAvatar = function(t0) {
10897
- var $ = _c58(9);
10837
+ var $ = _c56(9);
10898
10838
  var imageAvatar = t0.imageAvatar, size = t0.size, className = t0.className, style = t0.style;
10899
10839
  var superinterfaceContext = useSuperinterfaceContext();
10900
10840
  var t1;
@@ -10931,7 +10871,7 @@ var ImageAvatar = function(t0) {
10931
10871
  return t2;
10932
10872
  };
10933
10873
  // src/components/iconAvatars/IconAvatar.tsx
10934
- import { c as _c59 } from "react-compiler-runtime";
10874
+ import { c as _c57 } from "react-compiler-runtime";
10935
10875
  import { useMemo as useMemo20 } from "react";
10936
10876
  import { Avatar as Avatar5 } from "@radix-ui/themes";
10937
10877
  // src/lib/iconAvatars/iconAvatarComponents.ts
@@ -10941,7 +10881,7 @@ var iconAvatarComponents = (_obj = {}, _define_property(_obj, IconAvatarName.BAC
10941
10881
  // src/components/iconAvatars/IconAvatar.tsx
10942
10882
  import { jsx as _jsx94 } from "react/jsx-runtime";
10943
10883
  var IconAvatar = function(t0) {
10944
- var $ = _c59(7);
10884
+ var $ = _c57(7);
10945
10885
  var iconAvatar = t0.iconAvatar, size = t0.size, className = t0.className, style = t0.style;
10946
10886
  var t1;
10947
10887
  t1 = iconAvatarComponents[iconAvatar.name];
@@ -10975,7 +10915,7 @@ var IconAvatar = function(t0) {
10975
10915
  // src/components/avatars/Avatar.tsx
10976
10916
  import { jsx as _jsx95 } from "react/jsx-runtime";
10977
10917
  var Avatar6 = function(t0) {
10978
- var $ = _c60(14);
10918
+ var $ = _c58(14);
10979
10919
  var avatar = t0.avatar, t1 = t0.size, className = t0.className, style = t0.style;
10980
10920
  var size = t1 === void 0 ? "1" : t1;
10981
10921
  if (avatar) {
@@ -11036,7 +10976,7 @@ var Avatar6 = function(t0) {
11036
10976
  return t2;
11037
10977
  };
11038
10978
  // src/components/components/ComponentsProvider.tsx
11039
- import { c as _c61 } from "react-compiler-runtime";
10979
+ import { c as _c59 } from "react-compiler-runtime";
11040
10980
  import { useMemo as useMemo21 } from "react";
11041
10981
  // src/hooks/components/useComponents.ts
11042
10982
  import { useContext as useContext17 } from "react";
@@ -11045,19 +10985,19 @@ var useComponents = function() {
11045
10985
  };
11046
10986
  // src/components/components/ComponentsProvider.tsx
11047
10987
  import { jsx as _jsx96 } from "react/jsx-runtime";
11048
- var _excluded6 = [
10988
+ var _excluded7 = [
11049
10989
  "children"
11050
10990
  ];
11051
- function _objectWithoutProperties6(e, t) {
10991
+ function _objectWithoutProperties7(e, t) {
11052
10992
  if (null == e) return {};
11053
- var o, r, i = _objectWithoutPropertiesLoose6(e, t);
10993
+ var o, r, i = _objectWithoutPropertiesLoose7(e, t);
11054
10994
  if (Object.getOwnPropertySymbols) {
11055
10995
  var s = Object.getOwnPropertySymbols(e);
11056
10996
  for(r = 0; r < s.length; r++)o = s[r], t.includes(o) || ({}).propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
11057
10997
  }
11058
10998
  return i;
11059
10999
  }
11060
- function _objectWithoutPropertiesLoose6(r, e) {
11000
+ function _objectWithoutPropertiesLoose7(r, e) {
11061
11001
  if (null == r) return {};
11062
11002
  var t = {};
11063
11003
  for(var n in r)if (({}).hasOwnProperty.call(r, n)) {
@@ -11067,13 +11007,13 @@ function _objectWithoutPropertiesLoose6(r, e) {
11067
11007
  return t;
11068
11008
  }
11069
11009
  var ComponentsProvider = function(t0) {
11070
- var $ = _c61(9);
11010
+ var $ = _c59(9);
11071
11011
  var children;
11072
11012
  var rest;
11073
11013
  if ($[0] !== t0) {
11074
11014
  var _t = t0;
11075
11015
  children = _t.children;
11076
- rest = _objectWithoutProperties6(_t, _excluded6);
11016
+ rest = _objectWithoutProperties7(_t, _excluded7);
11077
11017
  _t;
11078
11018
  $[0] = t0;
11079
11019
  $[1] = children;
@@ -11110,11 +11050,11 @@ var ComponentsProvider = function(t0) {
11110
11050
  return t3;
11111
11051
  };
11112
11052
  // src/components/assistants/AssistantProvider/index.tsx
11113
- import { c as _c62 } from "react-compiler-runtime";
11053
+ import { c as _c60 } from "react-compiler-runtime";
11114
11054
  import { jsx as _jsx97 } from "react/jsx-runtime";
11115
11055
  var AssistantProvider = function(t0) {
11116
11056
  var _assistant$name;
11117
- var $ = _c62(10);
11057
+ var $ = _c60(10);
11118
11058
  var children = t0.children;
11119
11059
  var superinterfaceContext = useSuperinterfaceContext();
11120
11060
  var t1;