@opentabs-dev/browser-extension 0.0.47 → 0.0.49

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.
@@ -58449,7 +58449,7 @@ var require_client = __commonJS({
58449
58449
  });
58450
58450
 
58451
58451
  // src/side-panel/App.tsx
58452
- var import_compiler_runtime31 = __toESM(require_compiler_runtime(), 1);
58452
+ var import_compiler_runtime32 = __toESM(require_compiler_runtime(), 1);
58453
58453
 
58454
58454
  // src/side-panel/bridge.ts
58455
58455
  var matchesTool = (tool, filterLower) => tool.displayName.toLowerCase().includes(filterLower) || tool.name.toLowerCase().includes(filterLower) || tool.description.toLowerCase().includes(filterLower);
@@ -58571,7 +58571,7 @@ var sendConfirmationResponse = (id, decision, scope) => {
58571
58571
  };
58572
58572
 
58573
58573
  // src/side-panel/components/BrowserToolsCard.tsx
58574
- var import_compiler_runtime12 = __toESM(require_compiler_runtime(), 1);
58574
+ var import_compiler_runtime13 = __toESM(require_compiler_runtime(), 1);
58575
58575
 
58576
58576
  // src/side-panel/components/BrowserToolsMenu.tsx
58577
58577
  var import_compiler_runtime2 = __toESM(require_compiler_runtime(), 1);
@@ -67474,7 +67474,6 @@ init_triangle_alert();
67474
67474
  init_arrow_up();
67475
67475
  init_chevron_down();
67476
67476
  init_ghost();
67477
- init_globe();
67478
67477
  init_moon();
67479
67478
  init_search();
67480
67479
  init_server();
@@ -67562,15 +67561,151 @@ function _temp2(e_0) {
67562
67561
  }
67563
67562
  }
67564
67563
 
67565
- // src/side-panel/components/retro/Accordion.tsx
67564
+ // src/side-panel/components/ChromeIcon.tsx
67566
67565
  var import_compiler_runtime3 = __toESM(require_compiler_runtime(), 1);
67566
+ var import_jsx_runtime19 = __toESM(require_jsx_runtime(), 1);
67567
+ var ChromeIcon = (t0) => {
67568
+ const $ = (0, import_compiler_runtime3.c)(11);
67569
+ const {
67570
+ className: t1
67571
+ } = t0;
67572
+ const className = t1 === void 0 ? "" : t1;
67573
+ let t2;
67574
+ if ($[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
67575
+ t2 = /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("linearGradient", {
67576
+ id: "chrome-a",
67577
+ x1: "3.2173",
67578
+ y1: "15",
67579
+ x2: "44.7812",
67580
+ y2: "15",
67581
+ gradientUnits: "userSpaceOnUse",
67582
+ children: [/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("stop", {
67583
+ offset: "0",
67584
+ stopColor: "#d93025"
67585
+ }), /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("stop", {
67586
+ offset: "1",
67587
+ stopColor: "#ea4335"
67588
+ })]
67589
+ });
67590
+ $[0] = t2;
67591
+ } else {
67592
+ t2 = $[0];
67593
+ }
67594
+ let t3;
67595
+ if ($[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
67596
+ t3 = /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("linearGradient", {
67597
+ id: "chrome-b",
67598
+ x1: "20.7219",
67599
+ y1: "47.6791",
67600
+ x2: "41.5039",
67601
+ y2: "11.6837",
67602
+ gradientUnits: "userSpaceOnUse",
67603
+ children: [/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("stop", {
67604
+ offset: "0",
67605
+ stopColor: "#fcc934"
67606
+ }), /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("stop", {
67607
+ offset: "1",
67608
+ stopColor: "#fbbc04"
67609
+ })]
67610
+ });
67611
+ $[1] = t3;
67612
+ } else {
67613
+ t3 = $[1];
67614
+ }
67615
+ let t10;
67616
+ let t4;
67617
+ let t5;
67618
+ let t6;
67619
+ let t7;
67620
+ let t8;
67621
+ let t9;
67622
+ if ($[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
67623
+ t4 = /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("defs", {
67624
+ children: [t2, t3, /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("linearGradient", {
67625
+ id: "chrome-c",
67626
+ x1: "26.5981",
67627
+ y1: "46.5015",
67628
+ x2: "5.8161",
67629
+ y2: "10.506",
67630
+ gradientUnits: "userSpaceOnUse",
67631
+ children: [/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("stop", {
67632
+ offset: "0",
67633
+ stopColor: "#1e8e3e"
67634
+ }), /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("stop", {
67635
+ offset: "1",
67636
+ stopColor: "#34a853"
67637
+ })]
67638
+ })]
67639
+ });
67640
+ t5 = /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("circle", {
67641
+ cx: "24",
67642
+ cy: "23.9947",
67643
+ r: "12",
67644
+ fill: "#fff"
67645
+ });
67646
+ t6 = /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("path", {
67647
+ d: "M3.2154,36A24,24,0,1,0,12,3.2154,24,24,0,0,0,3.2154,36ZM34.3923,18A12,12,0,1,1,18,13.6077,12,12,0,0,1,34.3923,18Z",
67648
+ fill: "none"
67649
+ });
67650
+ t7 = /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("path", {
67651
+ d: "M24,12H44.7812a23.9939,23.9939,0,0,0-41.5639.0029L13.6079,30l.0093-.0024A11.9852,11.9852,0,0,1,24,12Z",
67652
+ fill: "url(#chrome-a)"
67653
+ });
67654
+ t8 = /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("circle", {
67655
+ cx: "24",
67656
+ cy: "24",
67657
+ r: "9.5",
67658
+ fill: "#1a73e8"
67659
+ });
67660
+ t9 = /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("path", {
67661
+ d: "M34.3913,30.0029,24.0007,48A23.994,23.994,0,0,0,44.78,12.0031H23.9989l-.0025.0093A11.985,11.985,0,0,1,34.3913,30.0029Z",
67662
+ fill: "url(#chrome-b)"
67663
+ });
67664
+ t10 = /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("path", {
67665
+ d: "M13.6086,30.0031,3.218,12.006A23.994,23.994,0,0,0,24.0025,48L34.3931,30.0029l-.0067-.0068a11.9852,11.9852,0,0,1-20.7778.007Z",
67666
+ fill: "url(#chrome-c)"
67667
+ });
67668
+ $[2] = t10;
67669
+ $[3] = t4;
67670
+ $[4] = t5;
67671
+ $[5] = t6;
67672
+ $[6] = t7;
67673
+ $[7] = t8;
67674
+ $[8] = t9;
67675
+ } else {
67676
+ t10 = $[2];
67677
+ t4 = $[3];
67678
+ t5 = $[4];
67679
+ t6 = $[5];
67680
+ t7 = $[6];
67681
+ t8 = $[7];
67682
+ t9 = $[8];
67683
+ }
67684
+ let t11;
67685
+ if ($[9] !== className) {
67686
+ t11 = /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("svg", {
67687
+ xmlns: "http://www.w3.org/2000/svg",
67688
+ viewBox: "0 0 48 48",
67689
+ className,
67690
+ children: [t4, t5, t6, t7, t8, t9, t10]
67691
+ });
67692
+ $[9] = className;
67693
+ $[10] = t11;
67694
+ } else {
67695
+ t11 = $[10];
67696
+ }
67697
+ return t11;
67698
+ };
67699
+
67700
+ // src/side-panel/components/retro/Accordion.tsx
67701
+ var import_compiler_runtime4 = __toESM(require_compiler_runtime(), 1);
67567
67702
 
67568
67703
  // ../../node_modules/@radix-ui/react-accordion/dist/index.mjs
67569
67704
  var import_react7 = __toESM(require_react(), 1);
67570
67705
 
67571
67706
  // ../../node_modules/@radix-ui/react-collapsible/dist/index.mjs
67572
67707
  var React37 = __toESM(require_react(), 1);
67573
- var import_jsx_runtime19 = __toESM(require_jsx_runtime(), 1);
67708
+ var import_jsx_runtime20 = __toESM(require_jsx_runtime(), 1);
67574
67709
  var COLLAPSIBLE_NAME = "Collapsible";
67575
67710
  var [createCollapsibleContext, createCollapsibleScope] = createContextScope(COLLAPSIBLE_NAME);
67576
67711
  var [CollapsibleProvider, useCollapsibleContext] = createCollapsibleContext(COLLAPSIBLE_NAME);
@@ -67590,7 +67725,7 @@ var Collapsible = React37.forwardRef(
67590
67725
  onChange: onOpenChange,
67591
67726
  caller: COLLAPSIBLE_NAME
67592
67727
  });
67593
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
67728
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
67594
67729
  CollapsibleProvider,
67595
67730
  {
67596
67731
  scope: __scopeCollapsible,
@@ -67598,7 +67733,7 @@ var Collapsible = React37.forwardRef(
67598
67733
  contentId: useId(),
67599
67734
  open,
67600
67735
  onOpenToggle: React37.useCallback(() => setOpen((prevOpen) => !prevOpen), [setOpen]),
67601
- children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
67736
+ children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
67602
67737
  Primitive.div,
67603
67738
  {
67604
67739
  "data-state": getState(open),
@@ -67617,7 +67752,7 @@ var CollapsibleTrigger = React37.forwardRef(
67617
67752
  (props, forwardedRef) => {
67618
67753
  const { __scopeCollapsible, ...triggerProps } = props;
67619
67754
  const context = useCollapsibleContext(TRIGGER_NAME2, __scopeCollapsible);
67620
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
67755
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
67621
67756
  Primitive.button,
67622
67757
  {
67623
67758
  type: "button",
@@ -67639,7 +67774,7 @@ var CollapsibleContent = React37.forwardRef(
67639
67774
  (props, forwardedRef) => {
67640
67775
  const { forceMount, ...contentProps } = props;
67641
67776
  const context = useCollapsibleContext(CONTENT_NAME4, props.__scopeCollapsible);
67642
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Presence, { present: forceMount || context.open, children: ({ present }) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(CollapsibleContentImpl, { ...contentProps, ref: forwardedRef, present }) });
67777
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Presence, { present: forceMount || context.open, children: ({ present }) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(CollapsibleContentImpl, { ...contentProps, ref: forwardedRef, present }) });
67643
67778
  }
67644
67779
  );
67645
67780
  CollapsibleContent.displayName = CONTENT_NAME4;
@@ -67679,7 +67814,7 @@ var CollapsibleContentImpl = React37.forwardRef((props, forwardedRef) => {
67679
67814
  setIsPresent(present);
67680
67815
  }
67681
67816
  }, [context.open, present]);
67682
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
67817
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
67683
67818
  Primitive.div,
67684
67819
  {
67685
67820
  "data-state": getState(context.open),
@@ -67705,7 +67840,7 @@ var Trigger2 = CollapsibleTrigger;
67705
67840
  var Content3 = CollapsibleContent;
67706
67841
 
67707
67842
  // ../../node_modules/@radix-ui/react-accordion/dist/index.mjs
67708
- var import_jsx_runtime20 = __toESM(require_jsx_runtime(), 1);
67843
+ var import_jsx_runtime21 = __toESM(require_jsx_runtime(), 1);
67709
67844
  var ACCORDION_NAME = "Accordion";
67710
67845
  var ACCORDION_KEYS = ["Home", "End", "ArrowDown", "ArrowUp", "ArrowLeft", "ArrowRight"];
67711
67846
  var [Collection3, useCollection3, createCollectionScope3] = createCollection(ACCORDION_NAME);
@@ -67719,7 +67854,7 @@ var Accordion = import_react7.default.forwardRef(
67719
67854
  const { type, ...accordionProps } = props;
67720
67855
  const singleProps = accordionProps;
67721
67856
  const multipleProps = accordionProps;
67722
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Collection3.Provider, { scope: props.__scopeAccordion, children: type === "multiple" ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(AccordionImplMultiple, { ...multipleProps, ref: forwardedRef }) : /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(AccordionImplSingle, { ...singleProps, ref: forwardedRef }) });
67857
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Collection3.Provider, { scope: props.__scopeAccordion, children: type === "multiple" ? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(AccordionImplMultiple, { ...multipleProps, ref: forwardedRef }) : /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(AccordionImplSingle, { ...singleProps, ref: forwardedRef }) });
67723
67858
  }
67724
67859
  );
67725
67860
  Accordion.displayName = ACCORDION_NAME;
@@ -67744,14 +67879,14 @@ var AccordionImplSingle = import_react7.default.forwardRef(
67744
67879
  onChange: onValueChange,
67745
67880
  caller: ACCORDION_NAME
67746
67881
  });
67747
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
67882
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
67748
67883
  AccordionValueProvider,
67749
67884
  {
67750
67885
  scope: props.__scopeAccordion,
67751
67886
  value: import_react7.default.useMemo(() => value ? [value] : [], [value]),
67752
67887
  onItemOpen: setValue,
67753
67888
  onItemClose: import_react7.default.useCallback(() => collapsible && setValue(""), [collapsible, setValue]),
67754
- children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(AccordionCollapsibleProvider, { scope: props.__scopeAccordion, collapsible, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(AccordionImpl, { ...accordionSingleProps, ref: forwardedRef }) })
67889
+ children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(AccordionCollapsibleProvider, { scope: props.__scopeAccordion, collapsible, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(AccordionImpl, { ...accordionSingleProps, ref: forwardedRef }) })
67755
67890
  }
67756
67891
  );
67757
67892
  }
@@ -67778,14 +67913,14 @@ var AccordionImplMultiple = import_react7.default.forwardRef((props, forwardedRe
67778
67913
  (itemValue) => setValue((prevValue = []) => prevValue.filter((value2) => value2 !== itemValue)),
67779
67914
  [setValue]
67780
67915
  );
67781
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
67916
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
67782
67917
  AccordionValueProvider,
67783
67918
  {
67784
67919
  scope: props.__scopeAccordion,
67785
67920
  value,
67786
67921
  onItemOpen: handleItemOpen,
67787
67922
  onItemClose: handleItemClose,
67788
- children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(AccordionCollapsibleProvider, { scope: props.__scopeAccordion, collapsible: true, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(AccordionImpl, { ...accordionMultipleProps, ref: forwardedRef }) })
67923
+ children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(AccordionCollapsibleProvider, { scope: props.__scopeAccordion, collapsible: true, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(AccordionImpl, { ...accordionMultipleProps, ref: forwardedRef }) })
67789
67924
  }
67790
67925
  );
67791
67926
  });
@@ -67860,14 +67995,14 @@ var AccordionImpl = import_react7.default.forwardRef(
67860
67995
  const clampedIndex = nextIndex % triggerCount;
67861
67996
  triggerCollection[clampedIndex].ref.current?.focus();
67862
67997
  });
67863
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
67998
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
67864
67999
  AccordionImplProvider,
67865
68000
  {
67866
68001
  scope: __scopeAccordion,
67867
68002
  disabled,
67868
68003
  direction: dir,
67869
68004
  orientation,
67870
- children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Collection3.Slot, { scope: __scopeAccordion, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
68005
+ children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Collection3.Slot, { scope: __scopeAccordion, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
67871
68006
  Primitive.div,
67872
68007
  {
67873
68008
  ...accordionProps,
@@ -67891,14 +68026,14 @@ var AccordionItem = import_react7.default.forwardRef(
67891
68026
  const triggerId = useId();
67892
68027
  const open = value && valueContext.value.includes(value) || false;
67893
68028
  const disabled = accordionContext.disabled || props.disabled;
67894
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
68029
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
67895
68030
  AccordionItemProvider,
67896
68031
  {
67897
68032
  scope: __scopeAccordion,
67898
68033
  open,
67899
68034
  disabled,
67900
68035
  triggerId,
67901
- children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
68036
+ children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
67902
68037
  Root4,
67903
68038
  {
67904
68039
  "data-orientation": accordionContext.orientation,
@@ -67928,7 +68063,7 @@ var AccordionHeader = import_react7.default.forwardRef(
67928
68063
  const { __scopeAccordion, ...headerProps } = props;
67929
68064
  const accordionContext = useAccordionContext(ACCORDION_NAME, __scopeAccordion);
67930
68065
  const itemContext = useAccordionItemContext(HEADER_NAME, __scopeAccordion);
67931
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
68066
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
67932
68067
  Primitive.h3,
67933
68068
  {
67934
68069
  "data-orientation": accordionContext.orientation,
@@ -67949,7 +68084,7 @@ var AccordionTrigger = import_react7.default.forwardRef(
67949
68084
  const itemContext = useAccordionItemContext(TRIGGER_NAME3, __scopeAccordion);
67950
68085
  const collapsibleContext = useAccordionCollapsibleContext(TRIGGER_NAME3, __scopeAccordion);
67951
68086
  const collapsibleScope = useCollapsibleScope(__scopeAccordion);
67952
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Collection3.ItemSlot, { scope: __scopeAccordion, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
68087
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Collection3.ItemSlot, { scope: __scopeAccordion, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
67953
68088
  Trigger2,
67954
68089
  {
67955
68090
  "aria-disabled": itemContext.open && !collapsibleContext.collapsible || void 0,
@@ -67970,7 +68105,7 @@ var AccordionContent = import_react7.default.forwardRef(
67970
68105
  const accordionContext = useAccordionContext(ACCORDION_NAME, __scopeAccordion);
67971
68106
  const itemContext = useAccordionItemContext(CONTENT_NAME5, __scopeAccordion);
67972
68107
  const collapsibleScope = useCollapsibleScope(__scopeAccordion);
67973
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
68108
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
67974
68109
  Content3,
67975
68110
  {
67976
68111
  role: "region",
@@ -68000,10 +68135,10 @@ var Content23 = AccordionContent;
68000
68135
 
68001
68136
  // src/side-panel/components/retro/Accordion.tsx
68002
68137
  var React39 = __toESM(require_react(), 1);
68003
- var import_jsx_runtime21 = __toESM(require_jsx_runtime(), 1);
68138
+ var import_jsx_runtime22 = __toESM(require_jsx_runtime(), 1);
68004
68139
  var Accordion2 = Root23;
68005
68140
  var AccordionItem2 = /* @__PURE__ */ React39.forwardRef((t0, ref) => {
68006
- const $ = (0, import_compiler_runtime3.c)(9);
68141
+ const $ = (0, import_compiler_runtime4.c)(9);
68007
68142
  let className;
68008
68143
  let props;
68009
68144
  if ($[0] !== t0) {
@@ -68028,7 +68163,7 @@ var AccordionItem2 = /* @__PURE__ */ React39.forwardRef((t0, ref) => {
68028
68163
  }
68029
68164
  let t2;
68030
68165
  if ($[5] !== props || $[6] !== ref || $[7] !== t1) {
68031
- t2 = /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Item3, {
68166
+ t2 = /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Item3, {
68032
68167
  ref,
68033
68168
  className: t1,
68034
68169
  ...props
@@ -68044,7 +68179,7 @@ var AccordionItem2 = /* @__PURE__ */ React39.forwardRef((t0, ref) => {
68044
68179
  });
68045
68180
  AccordionItem2.displayName = Item3.displayName;
68046
68181
  var AccordionContent2 = /* @__PURE__ */ React39.forwardRef((t0, ref) => {
68047
- const $ = (0, import_compiler_runtime3.c)(13);
68182
+ const $ = (0, import_compiler_runtime4.c)(13);
68048
68183
  let children;
68049
68184
  let className;
68050
68185
  let props;
@@ -68073,7 +68208,7 @@ var AccordionContent2 = /* @__PURE__ */ React39.forwardRef((t0, ref) => {
68073
68208
  }
68074
68209
  let t2;
68075
68210
  if ($[6] !== children || $[7] !== t1) {
68076
- t2 = /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", {
68211
+ t2 = /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", {
68077
68212
  className: t1,
68078
68213
  children
68079
68214
  });
@@ -68085,7 +68220,7 @@ var AccordionContent2 = /* @__PURE__ */ React39.forwardRef((t0, ref) => {
68085
68220
  }
68086
68221
  let t3;
68087
68222
  if ($[9] !== props || $[10] !== ref || $[11] !== t2) {
68088
- t3 = /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Content23, {
68223
+ t3 = /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Content23, {
68089
68224
  ref,
68090
68225
  className: "data-[state=open]:animate-accordion-down data-[state=closed]:animate-accordion-up bg-card text-card-foreground overflow-hidden font-sans",
68091
68226
  ...props,
@@ -68107,10 +68242,10 @@ var AccordionComponent = Object.assign(Accordion2, {
68107
68242
  });
68108
68243
 
68109
68244
  // src/side-panel/components/retro/Alert.tsx
68110
- var import_compiler_runtime5 = __toESM(require_compiler_runtime(), 1);
68245
+ var import_compiler_runtime6 = __toESM(require_compiler_runtime(), 1);
68111
68246
 
68112
68247
  // src/side-panel/components/retro/Text.tsx
68113
- var import_compiler_runtime4 = __toESM(require_compiler_runtime(), 1);
68248
+ var import_compiler_runtime5 = __toESM(require_compiler_runtime(), 1);
68114
68249
 
68115
68250
  // ../../node_modules/class-variance-authority/dist/index.mjs
68116
68251
  var falsyToString = (value) => typeof value === "boolean" ? `${value}` : value === 0 ? "0" : value;
@@ -68155,7 +68290,7 @@ var cva = (base, config) => (props) => {
68155
68290
  };
68156
68291
 
68157
68292
  // src/side-panel/components/retro/Text.tsx
68158
- var import_jsx_runtime22 = __toESM(require_jsx_runtime(), 1);
68293
+ var import_jsx_runtime23 = __toESM(require_jsx_runtime(), 1);
68159
68294
  var textVariants = cva("font-head", {
68160
68295
  variants: {
68161
68296
  as: {
@@ -68175,7 +68310,7 @@ var textVariants = cva("font-head", {
68175
68310
  }
68176
68311
  });
68177
68312
  var Text = (props) => {
68178
- const $ = (0, import_compiler_runtime4.c)(11);
68313
+ const $ = (0, import_compiler_runtime5.c)(11);
68179
68314
  let as;
68180
68315
  let className;
68181
68316
  let otherProps;
@@ -68208,7 +68343,7 @@ var Text = (props) => {
68208
68343
  }
68209
68344
  let t1;
68210
68345
  if ($[7] !== Tag2 || $[8] !== otherProps || $[9] !== t0) {
68211
- t1 = /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Tag2, {
68346
+ t1 = /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Tag2, {
68212
68347
  className: t0,
68213
68348
  ...otherProps
68214
68349
  });
@@ -68223,7 +68358,7 @@ var Text = (props) => {
68223
68358
  };
68224
68359
 
68225
68360
  // src/side-panel/components/retro/Alert.tsx
68226
- var import_jsx_runtime23 = __toESM(require_jsx_runtime(), 1);
68361
+ var import_jsx_runtime24 = __toESM(require_jsx_runtime(), 1);
68227
68362
  var alertVariants = cva("relative w-full rounded border-2 p-4", {
68228
68363
  variants: {
68229
68364
  variant: {
@@ -68242,7 +68377,7 @@ var alertVariants = cva("relative w-full rounded border-2 p-4", {
68242
68377
  }
68243
68378
  });
68244
68379
  var Alert = (t0) => {
68245
- const $ = (0, import_compiler_runtime5.c)(12);
68380
+ const $ = (0, import_compiler_runtime6.c)(12);
68246
68381
  let className;
68247
68382
  let props;
68248
68383
  let status;
@@ -68280,7 +68415,7 @@ var Alert = (t0) => {
68280
68415
  }
68281
68416
  let t2;
68282
68417
  if ($[9] !== props || $[10] !== t1) {
68283
- t2 = /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", {
68418
+ t2 = /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", {
68284
68419
  role: "alert",
68285
68420
  className: t1,
68286
68421
  ...props
@@ -68295,7 +68430,7 @@ var Alert = (t0) => {
68295
68430
  };
68296
68431
  Alert.displayName = "Alert";
68297
68432
  var AlertTitle = (t0) => {
68298
- const $ = (0, import_compiler_runtime5.c)(8);
68433
+ const $ = (0, import_compiler_runtime6.c)(8);
68299
68434
  let className;
68300
68435
  let props;
68301
68436
  if ($[0] !== t0) {
@@ -68320,7 +68455,7 @@ var AlertTitle = (t0) => {
68320
68455
  }
68321
68456
  let t2;
68322
68457
  if ($[5] !== props || $[6] !== t1) {
68323
- t2 = /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Text, {
68458
+ t2 = /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Text, {
68324
68459
  as: "h5",
68325
68460
  className: t1,
68326
68461
  ...props
@@ -68335,7 +68470,7 @@ var AlertTitle = (t0) => {
68335
68470
  };
68336
68471
  AlertTitle.displayName = "AlertTitle";
68337
68472
  var AlertDescription = (t0) => {
68338
- const $ = (0, import_compiler_runtime5.c)(8);
68473
+ const $ = (0, import_compiler_runtime6.c)(8);
68339
68474
  let className;
68340
68475
  let props;
68341
68476
  if ($[0] !== t0) {
@@ -68360,7 +68495,7 @@ var AlertDescription = (t0) => {
68360
68495
  }
68361
68496
  let t2;
68362
68497
  if ($[5] !== props || $[6] !== t1) {
68363
- t2 = /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", {
68498
+ t2 = /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", {
68364
68499
  className: t1,
68365
68500
  ...props
68366
68501
  });
@@ -68379,8 +68514,8 @@ var AlertComponent = Object.assign(Alert, {
68379
68514
  });
68380
68515
 
68381
68516
  // src/side-panel/components/retro/Badge.tsx
68382
- var import_compiler_runtime6 = __toESM(require_compiler_runtime(), 1);
68383
- var import_jsx_runtime24 = __toESM(require_jsx_runtime(), 1);
68517
+ var import_compiler_runtime7 = __toESM(require_compiler_runtime(), 1);
68518
+ var import_jsx_runtime25 = __toESM(require_jsx_runtime(), 1);
68384
68519
  var badgeVariants = cva("inline-block rounded font-medium leading-none", {
68385
68520
  variants: {
68386
68521
  variant: {
@@ -68398,7 +68533,7 @@ var badgeVariants = cva("inline-block rounded font-medium leading-none", {
68398
68533
  }
68399
68534
  });
68400
68535
  var Badge2 = (t0) => {
68401
- const $ = (0, import_compiler_runtime6.c)(12);
68536
+ const $ = (0, import_compiler_runtime7.c)(12);
68402
68537
  let className;
68403
68538
  let props;
68404
68539
  let size4;
@@ -68436,7 +68571,7 @@ var Badge2 = (t0) => {
68436
68571
  }
68437
68572
  let t2;
68438
68573
  if ($[9] !== props || $[10] !== t1) {
68439
- t2 = /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", {
68574
+ t2 = /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", {
68440
68575
  className: t1,
68441
68576
  ...props
68442
68577
  });
@@ -68451,7 +68586,7 @@ var Badge2 = (t0) => {
68451
68586
  Badge2.displayName = "Badge";
68452
68587
 
68453
68588
  // src/side-panel/components/retro/Switch.tsx
68454
- var import_compiler_runtime7 = __toESM(require_compiler_runtime(), 1);
68589
+ var import_compiler_runtime8 = __toESM(require_compiler_runtime(), 1);
68455
68590
 
68456
68591
  // ../../node_modules/@radix-ui/react-switch/dist/index.mjs
68457
68592
  var React41 = __toESM(require_react(), 1);
@@ -68470,7 +68605,7 @@ function usePrevious(value) {
68470
68605
  }
68471
68606
 
68472
68607
  // ../../node_modules/@radix-ui/react-switch/dist/index.mjs
68473
- var import_jsx_runtime25 = __toESM(require_jsx_runtime(), 1);
68608
+ var import_jsx_runtime26 = __toESM(require_jsx_runtime(), 1);
68474
68609
  var SWITCH_NAME = "Switch";
68475
68610
  var [createSwitchContext, createSwitchScope] = createContextScope(SWITCH_NAME);
68476
68611
  var [SwitchProvider, useSwitchContext] = createSwitchContext(SWITCH_NAME);
@@ -68498,8 +68633,8 @@ var Switch = React41.forwardRef(
68498
68633
  onChange: onCheckedChange,
68499
68634
  caller: SWITCH_NAME
68500
68635
  });
68501
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(SwitchProvider, { scope: __scopeSwitch, checked, disabled, children: [
68502
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
68636
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(SwitchProvider, { scope: __scopeSwitch, checked, disabled, children: [
68637
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
68503
68638
  Primitive.button,
68504
68639
  {
68505
68640
  type: "button",
@@ -68521,7 +68656,7 @@ var Switch = React41.forwardRef(
68521
68656
  })
68522
68657
  }
68523
68658
  ),
68524
- isFormControl && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
68659
+ isFormControl && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
68525
68660
  SwitchBubbleInput,
68526
68661
  {
68527
68662
  control: button,
@@ -68544,7 +68679,7 @@ var SwitchThumb = React41.forwardRef(
68544
68679
  (props, forwardedRef) => {
68545
68680
  const { __scopeSwitch, ...thumbProps } = props;
68546
68681
  const context = useSwitchContext(THUMB_NAME, __scopeSwitch);
68547
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
68682
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
68548
68683
  Primitive.span,
68549
68684
  {
68550
68685
  "data-state": getState3(context.checked),
@@ -68584,7 +68719,7 @@ var SwitchBubbleInput = React41.forwardRef(
68584
68719
  input.dispatchEvent(event);
68585
68720
  }
68586
68721
  }, [prevChecked, checked, bubbles]);
68587
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
68722
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
68588
68723
  "input",
68589
68724
  {
68590
68725
  type: "checkbox",
@@ -68613,9 +68748,9 @@ var Root5 = Switch;
68613
68748
  var Thumb = SwitchThumb;
68614
68749
 
68615
68750
  // src/side-panel/components/retro/Switch.tsx
68616
- var import_jsx_runtime26 = __toESM(require_jsx_runtime(), 1);
68751
+ var import_jsx_runtime27 = __toESM(require_jsx_runtime(), 1);
68617
68752
  var Switch2 = (t0) => {
68618
- const $ = (0, import_compiler_runtime7.c)(9);
68753
+ const $ = (0, import_compiler_runtime8.c)(9);
68619
68754
  let className;
68620
68755
  let props;
68621
68756
  if ($[0] !== t0) {
@@ -68640,7 +68775,7 @@ var Switch2 = (t0) => {
68640
68775
  }
68641
68776
  let t2;
68642
68777
  if ($[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
68643
- t2 = /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Thumb, {
68778
+ t2 = /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Thumb, {
68644
68779
  className: cn("bg-primary border-border data-[state=checked]:bg-background pointer-events-none mx-0.5 block h-4 w-4 rounded border-2 ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0")
68645
68780
  });
68646
68781
  $[5] = t2;
@@ -68649,7 +68784,7 @@ var Switch2 = (t0) => {
68649
68784
  }
68650
68785
  let t3;
68651
68786
  if ($[6] !== props || $[7] !== t1) {
68652
- t3 = /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Root5, {
68787
+ t3 = /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Root5, {
68653
68788
  className: t1,
68654
68789
  ...props,
68655
68790
  children: t2
@@ -68664,12 +68799,12 @@ var Switch2 = (t0) => {
68664
68799
  };
68665
68800
 
68666
68801
  // src/side-panel/components/ToolRow.tsx
68667
- var import_compiler_runtime11 = __toESM(require_compiler_runtime(), 1);
68802
+ var import_compiler_runtime12 = __toESM(require_compiler_runtime(), 1);
68668
68803
 
68669
68804
  // src/side-panel/components/retro/Loader.tsx
68670
- var import_compiler_runtime8 = __toESM(require_compiler_runtime(), 1);
68805
+ var import_compiler_runtime9 = __toESM(require_compiler_runtime(), 1);
68671
68806
  var React42 = __toESM(require_react(), 1);
68672
- var import_jsx_runtime27 = __toESM(require_jsx_runtime(), 1);
68807
+ var import_jsx_runtime28 = __toESM(require_jsx_runtime(), 1);
68673
68808
  var loaderVariants = cva("flex gap-1", {
68674
68809
  variants: {
68675
68810
  variant: {
@@ -68689,7 +68824,7 @@ var loaderVariants = cva("flex gap-1", {
68689
68824
  }
68690
68825
  });
68691
68826
  var Loader2 = /* @__PURE__ */ React42.forwardRef((t0, ref) => {
68692
- const $ = (0, import_compiler_runtime8.c)(23);
68827
+ const $ = (0, import_compiler_runtime9.c)(23);
68693
68828
  let className;
68694
68829
  let props;
68695
68830
  let size4;
@@ -68752,7 +68887,7 @@ var Loader2 = /* @__PURE__ */ React42.forwardRef((t0, ref) => {
68752
68887
  }
68753
68888
  let t6;
68754
68889
  if ($[14] !== delayStep || $[15] !== duration || $[16] !== t5) {
68755
- t6 = t5.map((_, i) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", {
68890
+ t6 = t5.map((_, i) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", {
68756
68891
  className: "animate-bounce rounded border-2",
68757
68892
  style: {
68758
68893
  animationDuration: `${duration}s`,
@@ -68769,7 +68904,7 @@ var Loader2 = /* @__PURE__ */ React42.forwardRef((t0, ref) => {
68769
68904
  }
68770
68905
  let t7;
68771
68906
  if ($[18] !== props || $[19] !== ref || $[20] !== t4 || $[21] !== t6) {
68772
- t7 = /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", {
68907
+ t7 = /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", {
68773
68908
  className: t4,
68774
68909
  ref,
68775
68910
  role: "status",
@@ -68790,19 +68925,19 @@ var Loader2 = /* @__PURE__ */ React42.forwardRef((t0, ref) => {
68790
68925
  Loader2.displayName = "Loader";
68791
68926
 
68792
68927
  // src/side-panel/components/retro/Tooltip.tsx
68793
- var import_compiler_runtime9 = __toESM(require_compiler_runtime(), 1);
68928
+ var import_compiler_runtime10 = __toESM(require_compiler_runtime(), 1);
68794
68929
 
68795
68930
  // ../../node_modules/@radix-ui/react-tooltip/dist/index.mjs
68796
68931
  var React45 = __toESM(require_react(), 1);
68797
68932
 
68798
68933
  // ../../node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-slot/dist/index.mjs
68799
68934
  var React43 = __toESM(require_react(), 1);
68800
- var import_jsx_runtime28 = __toESM(require_jsx_runtime(), 1);
68935
+ var import_jsx_runtime29 = __toESM(require_jsx_runtime(), 1);
68801
68936
  var SLOTTABLE_IDENTIFIER4 = /* @__PURE__ */ Symbol("radix.slottable");
68802
68937
  // @__NO_SIDE_EFFECTS__
68803
68938
  function createSlottable(ownerName) {
68804
68939
  const Slottable2 = ({ children }) => {
68805
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_jsx_runtime28.Fragment, { children });
68940
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_jsx_runtime29.Fragment, { children });
68806
68941
  };
68807
68942
  Slottable2.displayName = `${ownerName}.Slottable`;
68808
68943
  Slottable2.__radixId = SLOTTABLE_IDENTIFIER4;
@@ -68811,7 +68946,7 @@ function createSlottable(ownerName) {
68811
68946
 
68812
68947
  // ../../node_modules/@radix-ui/react-visually-hidden/dist/index.mjs
68813
68948
  var React44 = __toESM(require_react(), 1);
68814
- var import_jsx_runtime29 = __toESM(require_jsx_runtime(), 1);
68949
+ var import_jsx_runtime30 = __toESM(require_jsx_runtime(), 1);
68815
68950
  var VISUALLY_HIDDEN_STYLES = Object.freeze({
68816
68951
  // See: https://github.com/twbs/bootstrap/blob/main/scss/mixins/_visually-hidden.scss
68817
68952
  position: "absolute",
@@ -68828,7 +68963,7 @@ var VISUALLY_HIDDEN_STYLES = Object.freeze({
68828
68963
  var NAME2 = "VisuallyHidden";
68829
68964
  var VisuallyHidden = React44.forwardRef(
68830
68965
  (props, forwardedRef) => {
68831
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
68966
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
68832
68967
  Primitive.span,
68833
68968
  {
68834
68969
  ...props,
@@ -68842,7 +68977,7 @@ VisuallyHidden.displayName = NAME2;
68842
68977
  var Root6 = VisuallyHidden;
68843
68978
 
68844
68979
  // ../../node_modules/@radix-ui/react-tooltip/dist/index.mjs
68845
- var import_jsx_runtime30 = __toESM(require_jsx_runtime(), 1);
68980
+ var import_jsx_runtime31 = __toESM(require_jsx_runtime(), 1);
68846
68981
  var [createTooltipContext, createTooltipScope] = createContextScope("Tooltip", [
68847
68982
  createPopperScope
68848
68983
  ]);
@@ -68866,7 +69001,7 @@ var TooltipProvider = (props) => {
68866
69001
  const skipDelayTimer = skipDelayTimerRef.current;
68867
69002
  return () => window.clearTimeout(skipDelayTimer);
68868
69003
  }, []);
68869
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
69004
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
68870
69005
  TooltipProviderContextProvider,
68871
69006
  {
68872
69007
  scope: __scopeTooltip,
@@ -68957,7 +69092,7 @@ var Tooltip = (props) => {
68957
69092
  }
68958
69093
  };
68959
69094
  }, []);
68960
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Root2, { ...popperScope, children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
69095
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Root2, { ...popperScope, children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
68961
69096
  TooltipContextProvider,
68962
69097
  {
68963
69098
  scope: __scopeTooltip,
@@ -69001,7 +69136,7 @@ var TooltipTrigger = React45.forwardRef(
69001
69136
  React45.useEffect(() => {
69002
69137
  return () => document.removeEventListener("pointerup", handlePointerUp);
69003
69138
  }, [handlePointerUp]);
69004
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Anchor, { asChild: true, ...popperScope, children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
69139
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Anchor, { asChild: true, ...popperScope, children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
69005
69140
  Primitive.button,
69006
69141
  {
69007
69142
  "aria-describedby": context.open ? context.contentId : void 0,
@@ -69043,7 +69178,7 @@ var [PortalProvider2, usePortalContext2] = createTooltipContext(PORTAL_NAME4, {
69043
69178
  var TooltipPortal = (props) => {
69044
69179
  const { __scopeTooltip, forceMount, children, container } = props;
69045
69180
  const context = useTooltipContext(PORTAL_NAME4, __scopeTooltip);
69046
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(PortalProvider2, { scope: __scopeTooltip, forceMount, children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Portal, { asChild: true, container, children }) }) });
69181
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(PortalProvider2, { scope: __scopeTooltip, forceMount, children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Portal, { asChild: true, container, children }) }) });
69047
69182
  };
69048
69183
  TooltipPortal.displayName = PORTAL_NAME4;
69049
69184
  var CONTENT_NAME6 = "TooltipContent";
@@ -69052,7 +69187,7 @@ var TooltipContent = React45.forwardRef(
69052
69187
  const portalContext = usePortalContext2(CONTENT_NAME6, props.__scopeTooltip);
69053
69188
  const { forceMount = portalContext.forceMount, side = "top", ...contentProps } = props;
69054
69189
  const context = useTooltipContext(CONTENT_NAME6, props.__scopeTooltip);
69055
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Presence, { present: forceMount || context.open, children: context.disableHoverableContent ? /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(TooltipContentImpl, { side, ...contentProps, ref: forwardedRef }) : /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(TooltipContentHoverable, { side, ...contentProps, ref: forwardedRef }) });
69190
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Presence, { present: forceMount || context.open, children: context.disableHoverableContent ? /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(TooltipContentImpl, { side, ...contentProps, ref: forwardedRef }) : /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(TooltipContentHoverable, { side, ...contentProps, ref: forwardedRef }) });
69056
69191
  }
69057
69192
  );
69058
69193
  var TooltipContentHoverable = React45.forwardRef((props, forwardedRef) => {
@@ -69114,7 +69249,7 @@ var TooltipContentHoverable = React45.forwardRef((props, forwardedRef) => {
69114
69249
  return () => document.removeEventListener("pointermove", handleTrackPointerGrace);
69115
69250
  }
69116
69251
  }, [trigger, content, pointerGraceArea, onClose, handleRemoveGraceArea]);
69117
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(TooltipContentImpl, { ...props, ref: composedRefs });
69252
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(TooltipContentImpl, { ...props, ref: composedRefs });
69118
69253
  });
69119
69254
  var [VisuallyHiddenContentContextProvider, useVisuallyHiddenContentContext] = createTooltipContext(TOOLTIP_NAME, { isInside: false });
69120
69255
  var Slottable = createSlottable("TooltipContent");
@@ -69145,7 +69280,7 @@ var TooltipContentImpl = React45.forwardRef(
69145
69280
  return () => window.removeEventListener("scroll", handleScroll2, { capture: true });
69146
69281
  }
69147
69282
  }, [context.trigger, onClose]);
69148
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
69283
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
69149
69284
  DismissableLayer,
69150
69285
  {
69151
69286
  asChild: true,
@@ -69154,7 +69289,7 @@ var TooltipContentImpl = React45.forwardRef(
69154
69289
  onPointerDownOutside,
69155
69290
  onFocusOutside: (event) => event.preventDefault(),
69156
69291
  onDismiss: onClose,
69157
- children: /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
69292
+ children: /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
69158
69293
  Content,
69159
69294
  {
69160
69295
  "data-state": context.stateAttribute,
@@ -69173,8 +69308,8 @@ var TooltipContentImpl = React45.forwardRef(
69173
69308
  }
69174
69309
  },
69175
69310
  children: [
69176
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Slottable, { children }),
69177
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(VisuallyHiddenContentContextProvider, { scope: __scopeTooltip, isInside: true, children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Root6, { id: context.contentId, role: "tooltip", children: ariaLabel || children }) })
69311
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Slottable, { children }),
69312
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(VisuallyHiddenContentContextProvider, { scope: __scopeTooltip, isInside: true, children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Root6, { id: context.contentId, role: "tooltip", children: ariaLabel || children }) })
69178
69313
  ]
69179
69314
  }
69180
69315
  )
@@ -69192,7 +69327,7 @@ var TooltipArrow = React45.forwardRef(
69192
69327
  ARROW_NAME4,
69193
69328
  __scopeTooltip
69194
69329
  );
69195
- return visuallyHiddenContentContext.isInside ? null : /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Arrow2, { ...popperScope, ...arrowProps, ref: forwardedRef });
69330
+ return visuallyHiddenContentContext.isInside ? null : /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Arrow2, { ...popperScope, ...arrowProps, ref: forwardedRef });
69196
69331
  }
69197
69332
  );
69198
69333
  TooltipArrow.displayName = ARROW_NAME4;
@@ -69319,7 +69454,7 @@ var Content24 = TooltipContent;
69319
69454
 
69320
69455
  // src/side-panel/components/retro/Tooltip.tsx
69321
69456
  var React46 = __toESM(require_react(), 1);
69322
- var import_jsx_runtime31 = __toESM(require_jsx_runtime(), 1);
69457
+ var import_jsx_runtime32 = __toESM(require_jsx_runtime(), 1);
69323
69458
  var tooltipContentVariants = cva("z-50 overflow-hidden rounded border-2 border-border bg-background px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-tooltip-content-transform-origin]", {
69324
69459
  variants: {
69325
69460
  variant: {
@@ -69336,7 +69471,7 @@ var TooltipProvider2 = Provider;
69336
69471
  var Tooltip2 = Root33;
69337
69472
  var TooltipTrigger2 = Trigger3;
69338
69473
  var TooltipContent2 = /* @__PURE__ */ React46.forwardRef((t0, ref) => {
69339
- const $ = (0, import_compiler_runtime9.c)(13);
69474
+ const $ = (0, import_compiler_runtime10.c)(13);
69340
69475
  let className;
69341
69476
  let props;
69342
69477
  let t1;
@@ -69374,8 +69509,8 @@ var TooltipContent2 = /* @__PURE__ */ React46.forwardRef((t0, ref) => {
69374
69509
  }
69375
69510
  let t3;
69376
69511
  if ($[8] !== props || $[9] !== ref || $[10] !== sideOffset || $[11] !== t2) {
69377
- t3 = /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Portal3, {
69378
- children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Content24, {
69512
+ t3 = /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Portal3, {
69513
+ children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Content24, {
69379
69514
  ref,
69380
69515
  sideOffset,
69381
69516
  className: t2,
@@ -69400,7 +69535,7 @@ var TooltipObject = Object.assign(Tooltip2, {
69400
69535
  });
69401
69536
 
69402
69537
  // src/side-panel/components/ToolIcon.tsx
69403
- var import_compiler_runtime10 = __toESM(require_compiler_runtime(), 1);
69538
+ var import_compiler_runtime11 = __toESM(require_compiler_runtime(), 1);
69404
69539
 
69405
69540
  // ../../node_modules/lucide-react/dist/esm/DynamicIcon.js
69406
69541
  var import_react8 = __toESM(require_react());
@@ -71381,12 +71516,12 @@ var DynamicIcon = /* @__PURE__ */ (0, import_react8.forwardRef)(({
71381
71516
 
71382
71517
  // src/side-panel/components/ToolIcon.tsx
71383
71518
  var import_react9 = __toESM(require_react(), 1);
71384
- var import_jsx_runtime32 = __toESM(require_jsx_runtime(), 1);
71519
+ var import_jsx_runtime33 = __toESM(require_jsx_runtime(), 1);
71385
71520
  var FallbackIcon = () => {
71386
- const $ = (0, import_compiler_runtime10.c)(1);
71521
+ const $ = (0, import_compiler_runtime11.c)(1);
71387
71522
  let t0;
71388
71523
  if ($[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
71389
- t0 = /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Wrench, {
71524
+ t0 = /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Wrench, {
71390
71525
  className: "text-muted-foreground h-3 w-3"
71391
71526
  });
71392
71527
  $[0] = t0;
@@ -71396,7 +71531,7 @@ var FallbackIcon = () => {
71396
71531
  return t0;
71397
71532
  };
71398
71533
  var ToolIcon = (t0) => {
71399
- const $ = (0, import_compiler_runtime10.c)(5);
71534
+ const $ = (0, import_compiler_runtime11.c)(5);
71400
71535
  const {
71401
71536
  icon,
71402
71537
  className: t1
@@ -71405,14 +71540,14 @@ var ToolIcon = (t0) => {
71405
71540
  const t2 = `border-border bg-muted/50 flex h-6 w-6 shrink-0 items-center justify-center rounded border-2 ${className}`;
71406
71541
  let t3;
71407
71542
  if ($[0] !== icon) {
71408
- t3 = icon ? /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_react9.Suspense, {
71409
- fallback: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(FallbackIcon, {}),
71410
- children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(DynamicIcon, {
71543
+ t3 = icon ? /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_react9.Suspense, {
71544
+ fallback: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(FallbackIcon, {}),
71545
+ children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(DynamicIcon, {
71411
71546
  name: icon,
71412
71547
  className: "text-muted-foreground h-3 w-3",
71413
71548
  fallback: FallbackIcon
71414
71549
  })
71415
- }) : /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(FallbackIcon, {});
71550
+ }) : /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(FallbackIcon, {});
71416
71551
  $[0] = icon;
71417
71552
  $[1] = t3;
71418
71553
  } else {
@@ -71420,7 +71555,7 @@ var ToolIcon = (t0) => {
71420
71555
  }
71421
71556
  let t4;
71422
71557
  if ($[2] !== t2 || $[3] !== t3) {
71423
- t4 = /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", {
71558
+ t4 = /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", {
71424
71559
  className: t2,
71425
71560
  children: t3
71426
71561
  });
@@ -71434,9 +71569,9 @@ var ToolIcon = (t0) => {
71434
71569
  };
71435
71570
 
71436
71571
  // src/side-panel/components/ToolRow.tsx
71437
- var import_jsx_runtime33 = __toESM(require_jsx_runtime(), 1);
71572
+ var import_jsx_runtime34 = __toESM(require_jsx_runtime(), 1);
71438
71573
  var ToolRow = (t0) => {
71439
- const $ = (0, import_compiler_runtime11.c)(25);
71574
+ const $ = (0, import_compiler_runtime12.c)(25);
71440
71575
  const {
71441
71576
  name,
71442
71577
  displayName,
@@ -71449,7 +71584,7 @@ var ToolRow = (t0) => {
71449
71584
  const t1 = `border-border hover:bg-muted/50 flex items-center gap-2 border-b px-3 py-2 transition-colors last:border-b-0 ${active ? "bg-accent/20" : ""}`;
71450
71585
  let t2;
71451
71586
  if ($[0] !== icon) {
71452
- t2 = /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(ToolIcon, {
71587
+ t2 = /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(ToolIcon, {
71453
71588
  icon
71454
71589
  });
71455
71590
  $[0] = icon;
@@ -71459,11 +71594,11 @@ var ToolRow = (t0) => {
71459
71594
  }
71460
71595
  let t3;
71461
71596
  if ($[2] !== displayName) {
71462
- t3 = /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(TooltipObject.Trigger, {
71597
+ t3 = /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(TooltipObject.Trigger, {
71463
71598
  asChild: true,
71464
- children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", {
71599
+ children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", {
71465
71600
  className: "min-w-0 flex-1",
71466
- children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", {
71601
+ children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", {
71467
71602
  className: "text-foreground truncate text-[13px]",
71468
71603
  children: displayName
71469
71604
  })
@@ -71476,7 +71611,7 @@ var ToolRow = (t0) => {
71476
71611
  }
71477
71612
  let t4;
71478
71613
  if ($[4] !== description) {
71479
- t4 = /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(TooltipObject.Content, {
71614
+ t4 = /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(TooltipObject.Content, {
71480
71615
  children: description
71481
71616
  });
71482
71617
  $[4] = description;
@@ -71486,7 +71621,7 @@ var ToolRow = (t0) => {
71486
71621
  }
71487
71622
  let t5;
71488
71623
  if ($[6] !== t3 || $[7] !== t4) {
71489
- t5 = /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(TooltipObject, {
71624
+ t5 = /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(TooltipObject, {
71490
71625
  children: [t3, t4]
71491
71626
  });
71492
71627
  $[6] = t3;
@@ -71497,7 +71632,7 @@ var ToolRow = (t0) => {
71497
71632
  }
71498
71633
  let t6;
71499
71634
  if ($[9] !== active) {
71500
- t6 = active && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Loader2, {
71635
+ t6 = active && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Loader2, {
71501
71636
  size: "sm",
71502
71637
  count: 2,
71503
71638
  duration: 0.4,
@@ -71519,7 +71654,7 @@ var ToolRow = (t0) => {
71519
71654
  const t8 = `Toggle ${name} tool`;
71520
71655
  let t9;
71521
71656
  if ($[13] !== enabled || $[14] !== t7 || $[15] !== t8) {
71522
- t9 = /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Switch2, {
71657
+ t9 = /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Switch2, {
71523
71658
  checked: enabled,
71524
71659
  onCheckedChange: t7,
71525
71660
  onClick: _temp3,
@@ -71534,7 +71669,7 @@ var ToolRow = (t0) => {
71534
71669
  }
71535
71670
  let t10;
71536
71671
  if ($[17] !== t6 || $[18] !== t9) {
71537
- t10 = /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", {
71672
+ t10 = /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", {
71538
71673
  className: "flex shrink-0 items-center gap-2",
71539
71674
  children: [t6, t9]
71540
71675
  });
@@ -71546,7 +71681,7 @@ var ToolRow = (t0) => {
71546
71681
  }
71547
71682
  let t11;
71548
71683
  if ($[20] !== t1 || $[21] !== t10 || $[22] !== t2 || $[23] !== t5) {
71549
- t11 = /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", {
71684
+ t11 = /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", {
71550
71685
  className: t1,
71551
71686
  children: [t2, t5, t10]
71552
71687
  });
@@ -71571,10 +71706,10 @@ var TOOL_INVOCATION_TIMEOUT_MS = 5 * 60 * 1e3;
71571
71706
 
71572
71707
  // src/side-panel/components/BrowserToolsCard.tsx
71573
71708
  var import_react10 = __toESM(require_react(), 1);
71574
- var import_jsx_runtime34 = __toESM(require_jsx_runtime(), 1);
71709
+ var import_jsx_runtime35 = __toESM(require_jsx_runtime(), 1);
71575
71710
  var toDisplayName = (name) => name.replace(/^browser_/, "").split("_").map((w) => w.charAt(0).toUpperCase() + w.slice(1)).join(" ");
71576
71711
  var BrowserToolsCard = (t0) => {
71577
- const $ = (0, import_compiler_runtime12.c)(14);
71712
+ const $ = (0, import_compiler_runtime13.c)(14);
71578
71713
  const {
71579
71714
  tools,
71580
71715
  activeTools,
@@ -71649,10 +71784,10 @@ var BrowserToolsCard = (t0) => {
71649
71784
  const visibleTools = filterLower ? tools.filter((t_2) => toDisplayName(t_2.name).toLowerCase().includes(filterLower) || t_2.name.toLowerCase().includes(filterLower) || t_2.description.toLowerCase().includes(filterLower)) : tools;
71650
71785
  let t4;
71651
71786
  if ($[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
71652
- t4 = /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", {
71787
+ t4 = /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", {
71653
71788
  className: "border-border bg-muted/50 flex h-8 w-8 shrink-0 items-center justify-center rounded border-2",
71654
- children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Globe, {
71655
- className: "text-muted-foreground h-4 w-4"
71789
+ children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(ChromeIcon, {
71790
+ className: "h-4 w-4"
71656
71791
  })
71657
71792
  });
71658
71793
  $[4] = t4;
@@ -71661,17 +71796,17 @@ var BrowserToolsCard = (t0) => {
71661
71796
  }
71662
71797
  let t5;
71663
71798
  if ($[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
71664
- t5 = /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(Trigger22, {
71799
+ t5 = /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(Trigger22, {
71665
71800
  className: "font-head flex min-w-0 flex-1 cursor-pointer items-center gap-2 px-3 py-2 focus:outline-hidden [&[data-state=open]>svg.chevron]:rotate-180",
71666
- children: [t4, /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", {
71801
+ children: [t4, /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", {
71667
71802
  className: "font-head text-foreground flex min-w-0 flex-1 items-center gap-1.5 truncate text-sm",
71668
- children: ["Browser", /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Badge2, {
71803
+ children: ["Browser", /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Badge2, {
71669
71804
  variant: "default",
71670
71805
  size: "sm",
71671
71806
  className: "align-middle",
71672
71807
  children: "CORE"
71673
71808
  })]
71674
- }), /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(ChevronDown, {
71809
+ }), /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(ChevronDown, {
71675
71810
  className: "chevron h-4 w-4 shrink-0 transition-transform duration-200"
71676
71811
  })]
71677
71812
  });
@@ -71681,7 +71816,7 @@ var BrowserToolsCard = (t0) => {
71681
71816
  }
71682
71817
  let t6;
71683
71818
  if ($[6] !== serverVersion) {
71684
- t6 = /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(BrowserToolsMenu, {
71819
+ t6 = /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(BrowserToolsMenu, {
71685
71820
  serverVersion,
71686
71821
  className: "flex shrink-0 items-center px-1"
71687
71822
  });
@@ -71692,7 +71827,7 @@ var BrowserToolsCard = (t0) => {
71692
71827
  }
71693
71828
  let t7;
71694
71829
  if ($[8] !== toggleError) {
71695
- t7 = toggleError && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(AlertComponent, {
71830
+ t7 = toggleError && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(AlertComponent, {
71696
71831
  status: "error",
71697
71832
  className: "mx-3 mb-1 px-2 py-1 text-[11px]",
71698
71833
  children: toggleError
@@ -71704,22 +71839,22 @@ var BrowserToolsCard = (t0) => {
71704
71839
  }
71705
71840
  const t8 = AccordionComponent;
71706
71841
  const t9 = "border-border border-t";
71707
- const t10 = toolFilter && /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", {
71842
+ const t10 = toolFilter && /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", {
71708
71843
  className: "text-muted-foreground mb-1 px-3 pt-2 text-xs",
71709
71844
  children: [visibleTools.length, " of ", tools.length, " tools"]
71710
71845
  });
71711
- const t11 = visibleTools.map((tool) => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(ToolRow, {
71846
+ const t11 = visibleTools.map((tool) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(ToolRow, {
71712
71847
  name: tool.name,
71713
71848
  displayName: toDisplayName(tool.name),
71714
71849
  description: tool.description,
71715
- icon: "globe",
71850
+ icon: tool.icon ?? "globe",
71716
71851
  enabled: tool.enabled,
71717
71852
  active: activeTools.has(`browser:${tool.name}`),
71718
71853
  onToggle: () => handleToggleTool(tool.name, tool.enabled)
71719
71854
  }, tool.name));
71720
71855
  let t12;
71721
71856
  if ($[10] !== t10 || $[11] !== t11 || $[12] !== t8.Content) {
71722
- t12 = /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(t8.Content, {
71857
+ t12 = /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(t8.Content, {
71723
71858
  className: t9,
71724
71859
  children: [t10, t11]
71725
71860
  });
@@ -71730,16 +71865,16 @@ var BrowserToolsCard = (t0) => {
71730
71865
  } else {
71731
71866
  t12 = $[13];
71732
71867
  }
71733
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(AccordionComponent.Item, {
71868
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(AccordionComponent.Item, {
71734
71869
  value: "browser-tools",
71735
- children: [/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(Header, {
71870
+ children: [/* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(Header, {
71736
71871
  className: "flex",
71737
- children: [t5, t6, /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", {
71872
+ children: [t5, t6, /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", {
71738
71873
  className: "flex shrink-0 items-center px-3",
71739
71874
  onClick: _temp22,
71740
71875
  onKeyDown: _temp32,
71741
71876
  role: "presentation",
71742
- children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Switch2, {
71877
+ children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Switch2, {
71743
71878
  checked: allEnabled,
71744
71879
  onCheckedChange: handleToggleAll,
71745
71880
  "aria-label": "Toggle all browser tools"
@@ -71761,14 +71896,14 @@ function _temp32(e_0) {
71761
71896
  }
71762
71897
 
71763
71898
  // src/side-panel/components/ConfirmationDialog.tsx
71764
- var import_compiler_runtime15 = __toESM(require_compiler_runtime(), 1);
71899
+ var import_compiler_runtime16 = __toESM(require_compiler_runtime(), 1);
71765
71900
 
71766
71901
  // src/side-panel/components/retro/Button.tsx
71767
- var import_compiler_runtime13 = __toESM(require_compiler_runtime(), 1);
71902
+ var import_compiler_runtime14 = __toESM(require_compiler_runtime(), 1);
71768
71903
 
71769
71904
  // ../../node_modules/@radix-ui/react-slot/dist/index.mjs
71770
71905
  var React47 = __toESM(require_react(), 1);
71771
- var import_jsx_runtime35 = __toESM(require_jsx_runtime(), 1);
71906
+ var import_jsx_runtime36 = __toESM(require_jsx_runtime(), 1);
71772
71907
  var REACT_LAZY_TYPE = /* @__PURE__ */ Symbol.for("react.lazy");
71773
71908
  var use = React47[" use ".trim().toString()];
71774
71909
  function isPromiseLike(value) {
@@ -71797,9 +71932,9 @@ function createSlot4(ownerName) {
71797
71932
  return child;
71798
71933
  }
71799
71934
  });
71800
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(SlotClone, { ...slotProps, ref: forwardedRef, children: React47.isValidElement(newElement) ? React47.cloneElement(newElement, void 0, newChildren) : null });
71935
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(SlotClone, { ...slotProps, ref: forwardedRef, children: React47.isValidElement(newElement) ? React47.cloneElement(newElement, void 0, newChildren) : null });
71801
71936
  }
71802
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(SlotClone, { ...slotProps, ref: forwardedRef, children });
71937
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(SlotClone, { ...slotProps, ref: forwardedRef, children });
71803
71938
  });
71804
71939
  Slot22.displayName = `${ownerName}.Slot`;
71805
71940
  return Slot22;
@@ -71869,7 +72004,7 @@ function getElementRef5(element) {
71869
72004
 
71870
72005
  // src/side-panel/components/retro/Button.tsx
71871
72006
  var import_react11 = __toESM(require_react(), 1);
71872
- var import_jsx_runtime36 = __toESM(require_jsx_runtime(), 1);
72007
+ var import_jsx_runtime37 = __toESM(require_jsx_runtime(), 1);
71873
72008
  var buttonVariants = cva("font-head transition-all rounded outline-hidden cursor-pointer duration-200 font-medium flex justify-center items-center disabled:opacity-60 disabled:cursor-not-allowed", {
71874
72009
  variants: {
71875
72010
  variant: {
@@ -71892,7 +72027,7 @@ var buttonVariants = cva("font-head transition-all rounded outline-hidden cursor
71892
72027
  }
71893
72028
  });
71894
72029
  var Button = /* @__PURE__ */ (0, import_react11.forwardRef)((t0, forwardedRef) => {
71895
- const $ = (0, import_compiler_runtime13.c)(17);
72030
+ const $ = (0, import_compiler_runtime14.c)(17);
71896
72031
  let children;
71897
72032
  let props;
71898
72033
  let t1;
@@ -71943,7 +72078,7 @@ var Button = /* @__PURE__ */ (0, import_react11.forwardRef)((t0, forwardedRef) =
71943
72078
  }
71944
72079
  let t6;
71945
72080
  if ($[11] !== Comp || $[12] !== children || $[13] !== forwardedRef || $[14] !== props || $[15] !== t5) {
71946
- t6 = /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Comp, {
72081
+ t6 = /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Comp, {
71947
72082
  ref: forwardedRef,
71948
72083
  className: t5,
71949
72084
  ...props,
@@ -71963,14 +72098,14 @@ var Button = /* @__PURE__ */ (0, import_react11.forwardRef)((t0, forwardedRef) =
71963
72098
  Button.displayName = "Button";
71964
72099
 
71965
72100
  // src/side-panel/components/retro/Progress.tsx
71966
- var import_compiler_runtime14 = __toESM(require_compiler_runtime(), 1);
72101
+ var import_compiler_runtime15 = __toESM(require_compiler_runtime(), 1);
71967
72102
 
71968
72103
  // ../../node_modules/@radix-ui/react-progress/dist/index.mjs
71969
72104
  var React50 = __toESM(require_react(), 1);
71970
72105
 
71971
72106
  // ../../node_modules/@radix-ui/react-progress/node_modules/@radix-ui/react-context/dist/index.mjs
71972
72107
  var React48 = __toESM(require_react(), 1);
71973
- var import_jsx_runtime37 = __toESM(require_jsx_runtime(), 1);
72108
+ var import_jsx_runtime38 = __toESM(require_jsx_runtime(), 1);
71974
72109
  function createContextScope2(scopeName, createContextScopeDeps = []) {
71975
72110
  let defaultContexts = [];
71976
72111
  function createContext32(rootComponentName, defaultContext) {
@@ -71982,7 +72117,7 @@ function createContextScope2(scopeName, createContextScopeDeps = []) {
71982
72117
  const { scope, children, ...context } = props;
71983
72118
  const Context = scope?.[scopeName]?.[index2] || BaseContext;
71984
72119
  const value = React48.useMemo(() => context, Object.values(context));
71985
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Context.Provider, { value, children });
72120
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Context.Provider, { value, children });
71986
72121
  };
71987
72122
  Provider2.displayName = rootComponentName + "Provider";
71988
72123
  function useContext22(consumerName, scope) {
@@ -72033,7 +72168,7 @@ function composeContextScopes2(...scopes) {
72033
72168
  // ../../node_modules/@radix-ui/react-progress/node_modules/@radix-ui/react-primitive/dist/index.mjs
72034
72169
  var React49 = __toESM(require_react(), 1);
72035
72170
  var ReactDOM4 = __toESM(require_react_dom(), 1);
72036
- var import_jsx_runtime38 = __toESM(require_jsx_runtime(), 1);
72171
+ var import_jsx_runtime39 = __toESM(require_jsx_runtime(), 1);
72037
72172
  var NODES2 = [
72038
72173
  "a",
72039
72174
  "button",
@@ -72061,14 +72196,14 @@ var Primitive2 = NODES2.reduce((primitive, node) => {
72061
72196
  if (typeof window !== "undefined") {
72062
72197
  window[/* @__PURE__ */ Symbol.for("radix-ui")] = true;
72063
72198
  }
72064
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Comp, { ...primitiveProps, ref: forwardedRef });
72199
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Comp, { ...primitiveProps, ref: forwardedRef });
72065
72200
  });
72066
72201
  Node2.displayName = `Primitive.${node}`;
72067
72202
  return { ...primitive, [node]: Node2 };
72068
72203
  }, {});
72069
72204
 
72070
72205
  // ../../node_modules/@radix-ui/react-progress/dist/index.mjs
72071
- var import_jsx_runtime39 = __toESM(require_jsx_runtime(), 1);
72206
+ var import_jsx_runtime40 = __toESM(require_jsx_runtime(), 1);
72072
72207
  var PROGRESS_NAME = "Progress";
72073
72208
  var DEFAULT_MAX = 100;
72074
72209
  var [createProgressContext, createProgressScope] = createContextScope2(PROGRESS_NAME);
@@ -72091,7 +72226,7 @@ var Progress = React50.forwardRef(
72091
72226
  }
72092
72227
  const value = isValidValueNumber(valueProp, max2) ? valueProp : null;
72093
72228
  const valueLabel = isNumber2(value) ? getValueLabel(value, max2) : void 0;
72094
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(ProgressProvider, { scope: __scopeProgress, value, max: max2, children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
72229
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(ProgressProvider, { scope: __scopeProgress, value, max: max2, children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
72095
72230
  Primitive2.div,
72096
72231
  {
72097
72232
  "aria-valuemax": max2,
@@ -72114,7 +72249,7 @@ var ProgressIndicator = React50.forwardRef(
72114
72249
  (props, forwardedRef) => {
72115
72250
  const { __scopeProgress, ...indicatorProps } = props;
72116
72251
  const context = useProgressContext(INDICATOR_NAME2, __scopeProgress);
72117
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
72252
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
72118
72253
  Primitive2.div,
72119
72254
  {
72120
72255
  "data-state": getProgressState(context.value, context.max),
@@ -72157,9 +72292,9 @@ var Root7 = Progress;
72157
72292
  var Indicator = ProgressIndicator;
72158
72293
 
72159
72294
  // src/side-panel/components/retro/Progress.tsx
72160
- var import_jsx_runtime40 = __toESM(require_jsx_runtime(), 1);
72295
+ var import_jsx_runtime41 = __toESM(require_jsx_runtime(), 1);
72161
72296
  var Progress2 = (t0) => {
72162
- const $ = (0, import_compiler_runtime14.c)(19);
72297
+ const $ = (0, import_compiler_runtime15.c)(19);
72163
72298
  let className;
72164
72299
  let indicatorClassName;
72165
72300
  let props;
@@ -72211,7 +72346,7 @@ var Progress2 = (t0) => {
72211
72346
  }
72212
72347
  let t5;
72213
72348
  if ($[11] !== t2 || $[12] !== t4) {
72214
- t5 = /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Indicator, {
72349
+ t5 = /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Indicator, {
72215
72350
  className: t2,
72216
72351
  style: t4
72217
72352
  });
@@ -72223,7 +72358,7 @@ var Progress2 = (t0) => {
72223
72358
  }
72224
72359
  let t6;
72225
72360
  if ($[14] !== props || $[15] !== t1 || $[16] !== t5 || $[17] !== value) {
72226
- t6 = /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Root7, {
72361
+ t6 = /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Root7, {
72227
72362
  className: t1,
72228
72363
  value,
72229
72364
  ...props,
@@ -72242,9 +72377,9 @@ var Progress2 = (t0) => {
72242
72377
 
72243
72378
  // src/side-panel/components/ConfirmationDialog.tsx
72244
72379
  var import_react12 = __toESM(require_react(), 1);
72245
- var import_jsx_runtime41 = __toESM(require_jsx_runtime(), 1);
72380
+ var import_jsx_runtime42 = __toESM(require_jsx_runtime(), 1);
72246
72381
  var CountdownBar = (t0) => {
72247
- const $ = (0, import_compiler_runtime15.c)(12);
72382
+ const $ = (0, import_compiler_runtime16.c)(12);
72248
72383
  const {
72249
72384
  timeoutMs,
72250
72385
  receivedAt
@@ -72282,7 +72417,7 @@ var CountdownBar = (t0) => {
72282
72417
  const t4 = fraction > 0.33 ? "bg-accent-foreground" : "bg-destructive";
72283
72418
  let t5;
72284
72419
  if ($[4] !== t3 || $[5] !== t4) {
72285
- t5 = /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Progress2, {
72420
+ t5 = /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Progress2, {
72286
72421
  value: t3,
72287
72422
  className: "flex-1",
72288
72423
  indicatorClassName: t4
@@ -72295,7 +72430,7 @@ var CountdownBar = (t0) => {
72295
72430
  }
72296
72431
  let t6;
72297
72432
  if ($[7] !== seconds) {
72298
- t6 = /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("span", {
72433
+ t6 = /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("span", {
72299
72434
  className: "text-muted-foreground font-mono text-xs tabular-nums",
72300
72435
  children: [seconds, "s"]
72301
72436
  });
@@ -72306,7 +72441,7 @@ var CountdownBar = (t0) => {
72306
72441
  }
72307
72442
  let t7;
72308
72443
  if ($[9] !== t5 || $[10] !== t6) {
72309
- t7 = /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", {
72444
+ t7 = /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", {
72310
72445
  className: "mt-2 flex items-center gap-2",
72311
72446
  children: [t5, t6]
72312
72447
  });
@@ -72319,20 +72454,20 @@ var CountdownBar = (t0) => {
72319
72454
  return t7;
72320
72455
  };
72321
72456
  var AllowAlwaysButton = (t0) => {
72322
- const $ = (0, import_compiler_runtime15.c)(12);
72457
+ const $ = (0, import_compiler_runtime16.c)(13);
72323
72458
  const {
72324
72459
  domain,
72325
72460
  onSelect
72326
72461
  } = t0;
72327
72462
  let t1;
72328
72463
  if ($[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
72329
- t1 = /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(MenuObject.Trigger, {
72464
+ t1 = /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(MenuObject.Trigger, {
72330
72465
  asChild: true,
72331
- children: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(Button, {
72466
+ children: /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(Button, {
72332
72467
  size: "sm",
72333
72468
  variant: "outline",
72334
72469
  className: "w-full gap-1 text-xs",
72335
- children: ["Allow Always", /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(ChevronDown, {
72470
+ children: ["Allow Always", /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(ChevronDown, {
72336
72471
  className: "h-3 w-3"
72337
72472
  })]
72338
72473
  })
@@ -72342,60 +72477,61 @@ var AllowAlwaysButton = (t0) => {
72342
72477
  t1 = $[0];
72343
72478
  }
72344
72479
  let t2;
72345
- if ($[1] !== onSelect) {
72346
- t2 = /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(MenuObject.Item, {
72480
+ if ($[1] !== domain || $[2] !== onSelect) {
72481
+ t2 = domain && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(MenuObject.Item, {
72347
72482
  onSelect: () => onSelect("tool_domain"),
72348
72483
  children: "For this tool on this domain"
72349
72484
  });
72350
- $[1] = onSelect;
72351
- $[2] = t2;
72485
+ $[1] = domain;
72486
+ $[2] = onSelect;
72487
+ $[3] = t2;
72352
72488
  } else {
72353
- t2 = $[2];
72489
+ t2 = $[3];
72354
72490
  }
72355
72491
  let t3;
72356
- if ($[3] !== onSelect) {
72357
- t3 = /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(MenuObject.Item, {
72492
+ if ($[4] !== onSelect) {
72493
+ t3 = /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(MenuObject.Item, {
72358
72494
  onSelect: () => onSelect("tool_all"),
72359
72495
  children: "For this tool everywhere"
72360
72496
  });
72361
- $[3] = onSelect;
72362
- $[4] = t3;
72497
+ $[4] = onSelect;
72498
+ $[5] = t3;
72363
72499
  } else {
72364
- t3 = $[4];
72500
+ t3 = $[5];
72365
72501
  }
72366
72502
  let t4;
72367
- if ($[5] !== domain || $[6] !== onSelect) {
72368
- t4 = domain && /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(MenuObject.Item, {
72503
+ if ($[6] !== domain || $[7] !== onSelect) {
72504
+ t4 = domain && /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(MenuObject.Item, {
72369
72505
  onSelect: () => onSelect("domain_all"),
72370
72506
  children: ["For all tools on ", domain]
72371
72507
  });
72372
- $[5] = domain;
72373
- $[6] = onSelect;
72374
- $[7] = t4;
72508
+ $[6] = domain;
72509
+ $[7] = onSelect;
72510
+ $[8] = t4;
72375
72511
  } else {
72376
- t4 = $[7];
72512
+ t4 = $[8];
72377
72513
  }
72378
72514
  let t5;
72379
- if ($[8] !== t2 || $[9] !== t3 || $[10] !== t4) {
72380
- t5 = /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(MenuObject, {
72381
- children: [t1, /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(MenuObject.Content, {
72515
+ if ($[9] !== t2 || $[10] !== t3 || $[11] !== t4) {
72516
+ t5 = /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(MenuObject, {
72517
+ children: [t1, /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(MenuObject.Content, {
72382
72518
  side: "top",
72383
72519
  align: "end",
72384
72520
  children: [t2, t3, t4]
72385
72521
  })]
72386
72522
  });
72387
- $[8] = t2;
72388
- $[9] = t3;
72389
- $[10] = t4;
72390
- $[11] = t5;
72523
+ $[9] = t2;
72524
+ $[10] = t3;
72525
+ $[11] = t4;
72526
+ $[12] = t5;
72391
72527
  } else {
72392
- t5 = $[11];
72528
+ t5 = $[12];
72393
72529
  }
72394
72530
  return t5;
72395
72531
  };
72396
72532
  var resolveDisplayIndex = (currentIndex, count3) => Math.min(currentIndex, count3 - 1);
72397
72533
  var ConfirmationDialog = (t0) => {
72398
- const $ = (0, import_compiler_runtime15.c)(52);
72534
+ const $ = (0, import_compiler_runtime16.c)(52);
72399
72535
  const {
72400
72536
  confirmations,
72401
72537
  onRespond,
@@ -72411,10 +72547,10 @@ var ConfirmationDialog = (t0) => {
72411
72547
  let t1;
72412
72548
  let t2;
72413
72549
  if ($[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
72414
- t1 = /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(ShieldAlert, {
72550
+ t1 = /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(ShieldAlert, {
72415
72551
  className: "text-accent-foreground h-4 w-4 shrink-0"
72416
72552
  });
72417
- t2 = /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Text, {
72553
+ t2 = /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Text, {
72418
72554
  as: "h6",
72419
72555
  className: "flex-1 text-sm",
72420
72556
  children: "Approval Required"
@@ -72427,7 +72563,7 @@ var ConfirmationDialog = (t0) => {
72427
72563
  }
72428
72564
  let t3;
72429
72565
  if ($[2] !== count3 || $[3] !== safeIndex) {
72430
- t3 = count3 > 1 && /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("span", {
72566
+ t3 = count3 > 1 && /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("span", {
72431
72567
  className: "text-muted-foreground font-mono text-xs",
72432
72568
  children: [safeIndex + 1, " of ", count3]
72433
72569
  });
@@ -72439,7 +72575,7 @@ var ConfirmationDialog = (t0) => {
72439
72575
  }
72440
72576
  let t4;
72441
72577
  if ($[5] !== t3) {
72442
- t4 = /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", {
72578
+ t4 = /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", {
72443
72579
  className: "border-accent-foreground flex items-center gap-2 border-b-2 px-3 py-2",
72444
72580
  children: [t1, t2, t3]
72445
72581
  });
@@ -72450,7 +72586,7 @@ var ConfirmationDialog = (t0) => {
72450
72586
  }
72451
72587
  let t5;
72452
72588
  if ($[7] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
72453
- t5 = /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", {
72589
+ t5 = /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", {
72454
72590
  className: "text-muted-foreground font-sans text-xs",
72455
72591
  children: "Tool"
72456
72592
  });
@@ -72460,8 +72596,8 @@ var ConfirmationDialog = (t0) => {
72460
72596
  }
72461
72597
  let t6;
72462
72598
  if ($[8] !== current.tool) {
72463
- t6 = /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", {
72464
- children: [t5, /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", {
72599
+ t6 = /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", {
72600
+ children: [t5, /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", {
72465
72601
  className: "font-mono text-sm",
72466
72602
  children: current.tool
72467
72603
  })]
@@ -72473,11 +72609,11 @@ var ConfirmationDialog = (t0) => {
72473
72609
  }
72474
72610
  let t7;
72475
72611
  if ($[10] !== current.domain) {
72476
- t7 = current.domain && /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", {
72477
- children: [/* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", {
72612
+ t7 = current.domain && /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", {
72613
+ children: [/* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", {
72478
72614
  className: "text-muted-foreground font-sans text-xs",
72479
72615
  children: "Domain"
72480
- }), /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", {
72616
+ }), /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", {
72481
72617
  className: "font-sans text-sm",
72482
72618
  children: current.domain
72483
72619
  })]
@@ -72489,11 +72625,11 @@ var ConfirmationDialog = (t0) => {
72489
72625
  }
72490
72626
  let t8;
72491
72627
  if ($[12] !== current.paramsPreview) {
72492
- t8 = current.paramsPreview && /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", {
72493
- children: [/* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", {
72628
+ t8 = current.paramsPreview && /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", {
72629
+ children: [/* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", {
72494
72630
  className: "text-muted-foreground font-sans text-xs",
72495
72631
  children: "Parameters"
72496
- }), /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("pre", {
72632
+ }), /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("pre", {
72497
72633
  className: "border-border bg-card mt-0.5 max-h-20 overflow-auto rounded border px-2 py-1 font-mono text-xs leading-tight",
72498
72634
  children: current.paramsPreview
72499
72635
  })]
@@ -72505,7 +72641,7 @@ var ConfirmationDialog = (t0) => {
72505
72641
  }
72506
72642
  let t9;
72507
72643
  if ($[14] !== current.receivedAt || $[15] !== current.timeoutMs) {
72508
- t9 = /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CountdownBar, {
72644
+ t9 = /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(CountdownBar, {
72509
72645
  timeoutMs: current.timeoutMs,
72510
72646
  receivedAt: current.receivedAt
72511
72647
  });
@@ -72517,7 +72653,7 @@ var ConfirmationDialog = (t0) => {
72517
72653
  }
72518
72654
  let t10;
72519
72655
  if ($[17] !== t6 || $[18] !== t7 || $[19] !== t8 || $[20] !== t9) {
72520
- t10 = /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", {
72656
+ t10 = /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", {
72521
72657
  className: "space-y-2 px-3 py-2",
72522
72658
  children: [t6, t7, t8, t9]
72523
72659
  });
@@ -72531,7 +72667,7 @@ var ConfirmationDialog = (t0) => {
72531
72667
  }
72532
72668
  let t11;
72533
72669
  if ($[22] !== current.id || $[23] !== onRespond) {
72534
- t11 = /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Button, {
72670
+ t11 = /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Button, {
72535
72671
  size: "sm",
72536
72672
  className: "w-full",
72537
72673
  onClick: () => onRespond(current.id, "allow_once"),
@@ -72554,7 +72690,7 @@ var ConfirmationDialog = (t0) => {
72554
72690
  }
72555
72691
  let t13;
72556
72692
  if ($[28] !== current.domain || $[29] !== t12) {
72557
- t13 = /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(AllowAlwaysButton, {
72693
+ t13 = /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(AllowAlwaysButton, {
72558
72694
  domain: current.domain,
72559
72695
  onSelect: t12
72560
72696
  });
@@ -72566,7 +72702,7 @@ var ConfirmationDialog = (t0) => {
72566
72702
  }
72567
72703
  let t14;
72568
72704
  if ($[31] !== current.id || $[32] !== onRespond) {
72569
- t14 = /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Button, {
72705
+ t14 = /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Button, {
72570
72706
  size: "sm",
72571
72707
  variant: "outline",
72572
72708
  className: "text-destructive w-full text-xs",
@@ -72581,7 +72717,7 @@ var ConfirmationDialog = (t0) => {
72581
72717
  }
72582
72718
  let t15;
72583
72719
  if ($[34] !== count3 || $[35] !== onDenyAll) {
72584
- t15 = count3 > 1 && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Button, {
72720
+ t15 = count3 > 1 && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Button, {
72585
72721
  size: "sm",
72586
72722
  variant: "outline",
72587
72723
  className: "text-destructive w-full text-xs",
@@ -72596,7 +72732,7 @@ var ConfirmationDialog = (t0) => {
72596
72732
  }
72597
72733
  let t16;
72598
72734
  if ($[37] !== t14 || $[38] !== t15) {
72599
- t16 = /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", {
72735
+ t16 = /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", {
72600
72736
  className: "flex items-center gap-2",
72601
72737
  children: [t14, t15]
72602
72738
  });
@@ -72608,7 +72744,7 @@ var ConfirmationDialog = (t0) => {
72608
72744
  }
72609
72745
  let t17;
72610
72746
  if ($[40] !== t11 || $[41] !== t13 || $[42] !== t16) {
72611
- t17 = /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", {
72747
+ t17 = /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", {
72612
72748
  className: "border-accent-foreground flex flex-col gap-1.5 border-t-2 py-2 pr-4 pl-3",
72613
72749
  children: [t11, t13, t16]
72614
72750
  });
@@ -72621,15 +72757,15 @@ var ConfirmationDialog = (t0) => {
72621
72757
  }
72622
72758
  let t18;
72623
72759
  if ($[44] !== count3 || $[45] !== safeIndex) {
72624
- t18 = count3 > 1 && /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", {
72760
+ t18 = count3 > 1 && /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", {
72625
72761
  className: "border-border flex justify-center gap-2 border-t px-3 py-1",
72626
- children: [/* @__PURE__ */ (0, import_jsx_runtime41.jsx)("button", {
72762
+ children: [/* @__PURE__ */ (0, import_jsx_runtime42.jsx)("button", {
72627
72763
  type: "button",
72628
72764
  className: "text-muted-foreground hover:text-foreground cursor-pointer font-mono text-xs disabled:cursor-not-allowed disabled:opacity-40",
72629
72765
  disabled: safeIndex === 0,
72630
72766
  onClick: () => setCurrentIndex(_temp5),
72631
72767
  children: "prev"
72632
- }), /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("button", {
72768
+ }), /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("button", {
72633
72769
  type: "button",
72634
72770
  className: "text-muted-foreground hover:text-foreground cursor-pointer font-mono text-xs disabled:cursor-not-allowed disabled:opacity-40",
72635
72771
  disabled: safeIndex >= count3 - 1,
@@ -72645,10 +72781,10 @@ var ConfirmationDialog = (t0) => {
72645
72781
  }
72646
72782
  let t19;
72647
72783
  if ($[47] !== t10 || $[48] !== t17 || $[49] !== t18 || $[50] !== t4) {
72648
- t19 = /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", {
72784
+ t19 = /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", {
72649
72785
  className: "mt-2 mr-5 ml-4",
72650
72786
  role: "alert",
72651
- children: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", {
72787
+ children: /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", {
72652
72788
  className: "border-accent-foreground bg-accent/30 rounded border-2 shadow-md",
72653
72789
  children: [t4, t10, t17, t18]
72654
72790
  })
@@ -72671,13 +72807,13 @@ function _temp23(i_0) {
72671
72807
  }
72672
72808
 
72673
72809
  // src/side-panel/components/EmptyStates.tsx
72674
- var import_compiler_runtime17 = __toESM(require_compiler_runtime(), 1);
72810
+ var import_compiler_runtime18 = __toESM(require_compiler_runtime(), 1);
72675
72811
 
72676
72812
  // src/side-panel/components/retro/Empty.tsx
72677
- var import_compiler_runtime16 = __toESM(require_compiler_runtime(), 1);
72678
- var import_jsx_runtime42 = __toESM(require_jsx_runtime(), 1);
72813
+ var import_compiler_runtime17 = __toESM(require_compiler_runtime(), 1);
72814
+ var import_jsx_runtime43 = __toESM(require_jsx_runtime(), 1);
72679
72815
  var Empty = (t0) => {
72680
- const $ = (0, import_compiler_runtime16.c)(8);
72816
+ const $ = (0, import_compiler_runtime17.c)(8);
72681
72817
  let className;
72682
72818
  let props;
72683
72819
  if ($[0] !== t0) {
@@ -72702,7 +72838,7 @@ var Empty = (t0) => {
72702
72838
  }
72703
72839
  let t2;
72704
72840
  if ($[5] !== props || $[6] !== t1) {
72705
- t2 = /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", {
72841
+ t2 = /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", {
72706
72842
  className: t1,
72707
72843
  ...props
72708
72844
  });
@@ -72716,7 +72852,7 @@ var Empty = (t0) => {
72716
72852
  };
72717
72853
  Empty.displayName = "Empty";
72718
72854
  var EmptyContent = (t0) => {
72719
- const $ = (0, import_compiler_runtime16.c)(8);
72855
+ const $ = (0, import_compiler_runtime17.c)(8);
72720
72856
  let className;
72721
72857
  let props;
72722
72858
  if ($[0] !== t0) {
@@ -72741,7 +72877,7 @@ var EmptyContent = (t0) => {
72741
72877
  }
72742
72878
  let t2;
72743
72879
  if ($[5] !== props || $[6] !== t1) {
72744
- t2 = /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", {
72880
+ t2 = /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", {
72745
72881
  className: t1,
72746
72882
  ...props
72747
72883
  });
@@ -72755,7 +72891,7 @@ var EmptyContent = (t0) => {
72755
72891
  };
72756
72892
  EmptyContent.displayName = "Empty.Content";
72757
72893
  var EmptyIcon = (t0) => {
72758
- const $ = (0, import_compiler_runtime16.c)(12);
72894
+ const $ = (0, import_compiler_runtime17.c)(12);
72759
72895
  let children;
72760
72896
  let className;
72761
72897
  let props;
@@ -72784,7 +72920,7 @@ var EmptyIcon = (t0) => {
72784
72920
  }
72785
72921
  let t2;
72786
72922
  if ($[6] !== children) {
72787
- t2 = children || /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Ghost, {
72923
+ t2 = children || /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Ghost, {
72788
72924
  className: "h-full w-full"
72789
72925
  });
72790
72926
  $[6] = children;
@@ -72794,7 +72930,7 @@ var EmptyIcon = (t0) => {
72794
72930
  }
72795
72931
  let t3;
72796
72932
  if ($[8] !== props || $[9] !== t1 || $[10] !== t2) {
72797
- t3 = /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", {
72933
+ t3 = /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", {
72798
72934
  className: t1,
72799
72935
  ...props,
72800
72936
  children: t2
@@ -72810,7 +72946,7 @@ var EmptyIcon = (t0) => {
72810
72946
  };
72811
72947
  EmptyIcon.displayName = "Empty.Icon";
72812
72948
  var EmptyTitle = (t0) => {
72813
- const $ = (0, import_compiler_runtime16.c)(8);
72949
+ const $ = (0, import_compiler_runtime17.c)(8);
72814
72950
  let className;
72815
72951
  let props;
72816
72952
  if ($[0] !== t0) {
@@ -72835,7 +72971,7 @@ var EmptyTitle = (t0) => {
72835
72971
  }
72836
72972
  let t2;
72837
72973
  if ($[5] !== props || $[6] !== t1) {
72838
- t2 = /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Text, {
72974
+ t2 = /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Text, {
72839
72975
  as: "h3",
72840
72976
  className: t1,
72841
72977
  ...props
@@ -72850,7 +72986,7 @@ var EmptyTitle = (t0) => {
72850
72986
  };
72851
72987
  EmptyTitle.displayName = "Empty.Title";
72852
72988
  var EmptySeparator = (t0) => {
72853
- const $ = (0, import_compiler_runtime16.c)(8);
72989
+ const $ = (0, import_compiler_runtime17.c)(8);
72854
72990
  let className;
72855
72991
  let props;
72856
72992
  if ($[0] !== t0) {
@@ -72875,7 +73011,7 @@ var EmptySeparator = (t0) => {
72875
73011
  }
72876
73012
  let t2;
72877
73013
  if ($[5] !== props || $[6] !== t1) {
72878
- t2 = /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", {
73014
+ t2 = /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", {
72879
73015
  role: "separator",
72880
73016
  className: t1,
72881
73017
  ...props
@@ -72890,7 +73026,7 @@ var EmptySeparator = (t0) => {
72890
73026
  };
72891
73027
  EmptySeparator.displayName = "Empty.Separator";
72892
73028
  var EmptyDescription = (t0) => {
72893
- const $ = (0, import_compiler_runtime16.c)(8);
73029
+ const $ = (0, import_compiler_runtime17.c)(8);
72894
73030
  let className;
72895
73031
  let props;
72896
73032
  if ($[0] !== t0) {
@@ -72915,7 +73051,7 @@ var EmptyDescription = (t0) => {
72915
73051
  }
72916
73052
  let t2;
72917
73053
  if ($[5] !== props || $[6] !== t1) {
72918
- t2 = /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("p", {
73054
+ t2 = /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("p", {
72919
73055
  className: t1,
72920
73056
  ...props
72921
73057
  });
@@ -72944,9 +73080,9 @@ var VALID_PLUGIN_NAME = /^[a-z0-9]+(-[a-z0-9]+)*$/;
72944
73080
 
72945
73081
  // src/side-panel/components/EmptyStates.tsx
72946
73082
  var import_react13 = __toESM(require_react(), 1);
72947
- var import_jsx_runtime43 = __toESM(require_jsx_runtime(), 1);
73083
+ var import_jsx_runtime44 = __toESM(require_jsx_runtime(), 1);
72948
73084
  var ConnectionRefusedState = () => {
72949
- const $ = (0, import_compiler_runtime17.c)(7);
73085
+ const $ = (0, import_compiler_runtime18.c)(7);
72950
73086
  const [port, setPort] = (0, import_react13.useState)(DEFAULT_SERVER_PORT);
72951
73087
  let t0;
72952
73088
  let t1;
@@ -72983,13 +73119,13 @@ var ConnectionRefusedState = () => {
72983
73119
  let t3;
72984
73120
  let t4;
72985
73121
  if ($[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
72986
- t2 = /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(EmptyComponent.Title, {
73122
+ t2 = /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(EmptyComponent.Title, {
72987
73123
  children: "Cannot Reach MCP Server"
72988
73124
  });
72989
- t3 = /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(EmptyComponent.Separator, {
73125
+ t3 = /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(EmptyComponent.Separator, {
72990
73126
  className: "bg-destructive"
72991
73127
  });
72992
- t4 = /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(EmptyComponent.Description, {
73128
+ t4 = /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(EmptyComponent.Description, {
72993
73129
  children: "Start the MCP server:"
72994
73130
  });
72995
73131
  $[2] = t2;
@@ -73002,10 +73138,10 @@ var ConnectionRefusedState = () => {
73002
73138
  }
73003
73139
  let t5;
73004
73140
  if ($[5] !== command) {
73005
- t5 = /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(EmptyComponent, {
73141
+ t5 = /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(EmptyComponent, {
73006
73142
  className: "border-destructive/60",
73007
- children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(EmptyComponent.Content, {
73008
- children: [t2, t3, t4, /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("code", {
73143
+ children: /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(EmptyComponent.Content, {
73144
+ children: [t2, t3, t4, /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("code", {
73009
73145
  className: "border-destructive/40 bg-destructive/10 rounded border-2 px-3 py-2 font-mono text-sm",
73010
73146
  children: command
73011
73147
  })]
@@ -73019,19 +73155,19 @@ var ConnectionRefusedState = () => {
73019
73155
  return t5;
73020
73156
  };
73021
73157
  var AuthFailedState = () => {
73022
- const $ = (0, import_compiler_runtime17.c)(1);
73158
+ const $ = (0, import_compiler_runtime18.c)(1);
73023
73159
  let t0;
73024
73160
  if ($[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
73025
- t0 = /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(EmptyComponent, {
73161
+ t0 = /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(EmptyComponent, {
73026
73162
  className: "border-destructive/60",
73027
- children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(EmptyComponent.Content, {
73028
- children: [/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(EmptyComponent.Title, {
73163
+ children: /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(EmptyComponent.Content, {
73164
+ children: [/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(EmptyComponent.Title, {
73029
73165
  children: "Authentication Failed"
73030
- }), /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(EmptyComponent.Separator, {
73166
+ }), /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(EmptyComponent.Separator, {
73031
73167
  className: "bg-destructive"
73032
- }), /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(EmptyComponent.Description, {
73168
+ }), /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(EmptyComponent.Description, {
73033
73169
  children: "The extension\u2019s secret does not match the server. Reload the extension to pick up the latest secret:"
73034
- }), /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("code", {
73170
+ }), /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("code", {
73035
73171
  className: "border-destructive/40 bg-destructive/10 rounded border-2 px-3 py-2 font-mono text-sm",
73036
73172
  children: "chrome://extensions/ \u2192 reload"
73037
73173
  })]
@@ -73044,14 +73180,14 @@ var AuthFailedState = () => {
73044
73180
  return t0;
73045
73181
  };
73046
73182
  var DisconnectedState = (t0) => {
73047
- const $ = (0, import_compiler_runtime17.c)(2);
73183
+ const $ = (0, import_compiler_runtime18.c)(2);
73048
73184
  const {
73049
73185
  reason
73050
73186
  } = t0;
73051
73187
  if (reason === "auth_failed") {
73052
73188
  let t12;
73053
73189
  if ($[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
73054
- t12 = /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(AuthFailedState, {});
73190
+ t12 = /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(AuthFailedState, {});
73055
73191
  $[0] = t12;
73056
73192
  } else {
73057
73193
  t12 = $[0];
@@ -73060,7 +73196,7 @@ var DisconnectedState = (t0) => {
73060
73196
  }
73061
73197
  let t1;
73062
73198
  if ($[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
73063
- t1 = /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(ConnectionRefusedState, {});
73199
+ t1 = /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(ConnectionRefusedState, {});
73064
73200
  $[1] = t1;
73065
73201
  } else {
73066
73202
  t1 = $[1];
@@ -73068,16 +73204,16 @@ var DisconnectedState = (t0) => {
73068
73204
  return t1;
73069
73205
  };
73070
73206
  var NoPluginsState = () => {
73071
- const $ = (0, import_compiler_runtime17.c)(1);
73207
+ const $ = (0, import_compiler_runtime18.c)(1);
73072
73208
  let t0;
73073
73209
  if ($[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
73074
- t0 = /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(EmptyComponent, {
73075
- children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(EmptyComponent.Content, {
73076
- children: [/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(EmptyComponent.Title, {
73210
+ t0 = /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(EmptyComponent, {
73211
+ children: /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(EmptyComponent.Content, {
73212
+ children: [/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(EmptyComponent.Title, {
73077
73213
  children: "No Plugins Installed"
73078
- }), /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(EmptyComponent.Separator, {}), /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(EmptyComponent.Description, {
73214
+ }), /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(EmptyComponent.Separator, {}), /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(EmptyComponent.Description, {
73079
73215
  children: "Search for plugins above or install via CLI:"
73080
- }), /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("code", {
73216
+ }), /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("code", {
73081
73217
  className: "rounded border-2 px-3 py-2 font-mono text-sm",
73082
73218
  children: "opentabs plugin"
73083
73219
  })]
@@ -73090,10 +73226,10 @@ var NoPluginsState = () => {
73090
73226
  return t0;
73091
73227
  };
73092
73228
  var LoadingState = () => {
73093
- const $ = (0, import_compiler_runtime17.c)(1);
73229
+ const $ = (0, import_compiler_runtime18.c)(1);
73094
73230
  let t0;
73095
73231
  if ($[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
73096
- t0 = /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Loader2, {
73232
+ t0 = /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Loader2, {
73097
73233
  size: "md"
73098
73234
  });
73099
73235
  $[0] = t0;
@@ -73106,14 +73242,14 @@ function _temp6() {
73106
73242
  }
73107
73243
 
73108
73244
  // src/side-panel/components/Footer.tsx
73109
- var import_compiler_runtime20 = __toESM(require_compiler_runtime(), 1);
73245
+ var import_compiler_runtime21 = __toESM(require_compiler_runtime(), 1);
73110
73246
 
73111
73247
  // src/side-panel/components/retro/NumberStepper.tsx
73112
- var import_compiler_runtime18 = __toESM(require_compiler_runtime(), 1);
73248
+ var import_compiler_runtime19 = __toESM(require_compiler_runtime(), 1);
73113
73249
  var import_react14 = __toESM(require_react(), 1);
73114
- var import_jsx_runtime44 = __toESM(require_jsx_runtime(), 1);
73250
+ var import_jsx_runtime45 = __toESM(require_jsx_runtime(), 1);
73115
73251
  var NumberStepper = (t0) => {
73116
- const $ = (0, import_compiler_runtime18.c)(42);
73252
+ const $ = (0, import_compiler_runtime19.c)(42);
73117
73253
  let className;
73118
73254
  let defaultValue;
73119
73255
  let onChange;
@@ -73223,7 +73359,7 @@ var NumberStepper = (t0) => {
73223
73359
  }
73224
73360
  let t9;
73225
73361
  if ($[20] !== commit || $[21] !== defaultValue || $[22] !== max2 || $[23] !== min2 || $[24] !== props || $[25] !== step || $[26] !== t8) {
73226
- t9 = /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("input", {
73362
+ t9 = /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("input", {
73227
73363
  ref: inputRef,
73228
73364
  type: "number",
73229
73365
  defaultValue,
@@ -73248,13 +73384,13 @@ var NumberStepper = (t0) => {
73248
73384
  }
73249
73385
  let t10;
73250
73386
  if ($[28] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
73251
- t10 = /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("svg", {
73387
+ t10 = /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("svg", {
73252
73388
  width: "8",
73253
73389
  height: "5",
73254
73390
  viewBox: "0 0 8 5",
73255
73391
  fill: "none",
73256
73392
  "aria-hidden": "true",
73257
- children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("path", {
73393
+ children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("path", {
73258
73394
  d: "M1 4L4 1L7 4",
73259
73395
  stroke: "currentColor",
73260
73396
  strokeWidth: "1.5",
@@ -73268,7 +73404,7 @@ var NumberStepper = (t0) => {
73268
73404
  }
73269
73405
  let t11;
73270
73406
  if ($[29] !== stepUp) {
73271
- t11 = /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("button", {
73407
+ t11 = /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("button", {
73272
73408
  type: "button",
73273
73409
  tabIndex: -1,
73274
73410
  onClick: stepUp,
@@ -73283,7 +73419,7 @@ var NumberStepper = (t0) => {
73283
73419
  }
73284
73420
  let t12;
73285
73421
  if ($[31] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
73286
- t12 = /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", {
73422
+ t12 = /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", {
73287
73423
  className: "border-border border-t"
73288
73424
  });
73289
73425
  $[31] = t12;
@@ -73292,13 +73428,13 @@ var NumberStepper = (t0) => {
73292
73428
  }
73293
73429
  let t13;
73294
73430
  if ($[32] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
73295
- t13 = /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("svg", {
73431
+ t13 = /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("svg", {
73296
73432
  width: "8",
73297
73433
  height: "5",
73298
73434
  viewBox: "0 0 8 5",
73299
73435
  fill: "none",
73300
73436
  "aria-hidden": "true",
73301
- children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("path", {
73437
+ children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("path", {
73302
73438
  d: "M1 1L4 4L7 1",
73303
73439
  stroke: "currentColor",
73304
73440
  strokeWidth: "1.5",
@@ -73312,7 +73448,7 @@ var NumberStepper = (t0) => {
73312
73448
  }
73313
73449
  let t14;
73314
73450
  if ($[33] !== stepDown) {
73315
- t14 = /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("button", {
73451
+ t14 = /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("button", {
73316
73452
  type: "button",
73317
73453
  tabIndex: -1,
73318
73454
  onClick: stepDown,
@@ -73327,7 +73463,7 @@ var NumberStepper = (t0) => {
73327
73463
  }
73328
73464
  let t15;
73329
73465
  if ($[35] !== t11 || $[36] !== t14) {
73330
- t15 = /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", {
73466
+ t15 = /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", {
73331
73467
  className: "border-border flex flex-col border-l",
73332
73468
  children: [t11, t12, t14]
73333
73469
  });
@@ -73339,7 +73475,7 @@ var NumberStepper = (t0) => {
73339
73475
  }
73340
73476
  let t16;
73341
73477
  if ($[38] !== t15 || $[39] !== t7 || $[40] !== t9) {
73342
- t16 = /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", {
73478
+ t16 = /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", {
73343
73479
  className: t7,
73344
73480
  children: [t9, t15]
73345
73481
  });
@@ -73354,14 +73490,14 @@ var NumberStepper = (t0) => {
73354
73490
  };
73355
73491
 
73356
73492
  // src/side-panel/hooks/useTheme.ts
73357
- var import_compiler_runtime19 = __toESM(require_compiler_runtime(), 1);
73493
+ var import_compiler_runtime20 = __toESM(require_compiler_runtime(), 1);
73358
73494
  var import_react15 = __toESM(require_react(), 1);
73359
73495
  var STORAGE_KEY = "theme";
73360
73496
  var applyTheme = (theme) => {
73361
73497
  document.documentElement.classList.toggle("dark", theme === "dark");
73362
73498
  };
73363
73499
  var useTheme = () => {
73364
- const $ = (0, import_compiler_runtime19.c)(5);
73500
+ const $ = (0, import_compiler_runtime20.c)(5);
73365
73501
  const [theme, setTheme] = (0, import_react15.useState)(_temp7);
73366
73502
  let t0;
73367
73503
  let t1;
@@ -73421,9 +73557,9 @@ function _temp33() {
73421
73557
 
73422
73558
  // src/side-panel/components/Footer.tsx
73423
73559
  var import_react16 = __toESM(require_react(), 1);
73424
- var import_jsx_runtime45 = __toESM(require_jsx_runtime(), 1);
73560
+ var import_jsx_runtime46 = __toESM(require_jsx_runtime(), 1);
73425
73561
  var PortEditor = () => {
73426
- const $ = (0, import_compiler_runtime20.c)(5);
73562
+ const $ = (0, import_compiler_runtime21.c)(5);
73427
73563
  const [initialPort, setInitialPort] = (0, import_react16.useState)(null);
73428
73564
  let t0;
73429
73565
  let t1;
@@ -73450,7 +73586,7 @@ var PortEditor = () => {
73450
73586
  }
73451
73587
  let t2;
73452
73588
  if ($[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
73453
- t2 = /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("span", {
73589
+ t2 = /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("span", {
73454
73590
  className: "text-muted-foreground font-mono text-xs",
73455
73591
  children: "Port:"
73456
73592
  });
@@ -73460,9 +73596,9 @@ var PortEditor = () => {
73460
73596
  }
73461
73597
  let t3;
73462
73598
  if ($[3] !== initialPort) {
73463
- t3 = /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", {
73599
+ t3 = /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("div", {
73464
73600
  className: "flex items-center gap-1.5",
73465
- children: [t2, /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(NumberStepper, {
73601
+ children: [t2, /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(NumberStepper, {
73466
73602
  defaultValue: initialPort,
73467
73603
  onChange: handleChange,
73468
73604
  min: 1,
@@ -73479,29 +73615,29 @@ var PortEditor = () => {
73479
73615
  return t3;
73480
73616
  };
73481
73617
  var Footer = () => {
73482
- const $ = (0, import_compiler_runtime20.c)(10);
73618
+ const $ = (0, import_compiler_runtime21.c)(10);
73483
73619
  const {
73484
73620
  theme,
73485
73621
  toggleTheme
73486
73622
  } = useTheme();
73487
73623
  let t0;
73488
73624
  if ($[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
73489
- t0 = /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Button, {
73625
+ t0 = /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Button, {
73490
73626
  variant: "outline",
73491
73627
  size: "icon",
73492
73628
  className: "h-9 w-9",
73493
73629
  asChild: true,
73494
- children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("a", {
73630
+ children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("a", {
73495
73631
  href: "https://github.com/opentabs-dev/opentabs",
73496
73632
  target: "_blank",
73497
73633
  rel: "noopener noreferrer",
73498
73634
  "aria-label": "GitHub",
73499
- children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("svg", {
73635
+ children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("svg", {
73500
73636
  className: "h-[18px] w-[18px]",
73501
73637
  viewBox: "0 0 24 24",
73502
73638
  fill: "currentColor",
73503
73639
  "aria-hidden": "true",
73504
- children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("path", {
73640
+ children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("path", {
73505
73641
  d: "M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"
73506
73642
  })
73507
73643
  })
@@ -73514,9 +73650,9 @@ var Footer = () => {
73514
73650
  const t1 = theme === "dark" ? "Switch to light mode" : "Switch to dark mode";
73515
73651
  let t2;
73516
73652
  if ($[1] !== theme) {
73517
- t2 = theme === "dark" ? /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Sun, {
73653
+ t2 = theme === "dark" ? /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Sun, {
73518
73654
  className: "h-[18px] w-[18px]"
73519
- }) : /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Moon, {
73655
+ }) : /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Moon, {
73520
73656
  className: "h-[18px] w-[18px]"
73521
73657
  });
73522
73658
  $[1] = theme;
@@ -73526,9 +73662,9 @@ var Footer = () => {
73526
73662
  }
73527
73663
  let t3;
73528
73664
  if ($[3] !== t1 || $[4] !== t2 || $[5] !== toggleTheme) {
73529
- t3 = /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", {
73665
+ t3 = /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("div", {
73530
73666
  className: "flex items-center gap-2",
73531
- children: [t0, /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Button, {
73667
+ children: [t0, /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Button, {
73532
73668
  variant: "outline",
73533
73669
  size: "icon",
73534
73670
  onClick: toggleTheme,
@@ -73546,14 +73682,14 @@ var Footer = () => {
73546
73682
  }
73547
73683
  let t4;
73548
73684
  if ($[7] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
73549
- t4 = /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(PortEditor, {});
73685
+ t4 = /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(PortEditor, {});
73550
73686
  $[7] = t4;
73551
73687
  } else {
73552
73688
  t4 = $[7];
73553
73689
  }
73554
73690
  let t5;
73555
73691
  if ($[8] !== t3) {
73556
- t5 = /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("footer", {
73692
+ t5 = /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("footer", {
73557
73693
  className: "border-border bg-card sticky bottom-0 flex items-center justify-between border-t-2 py-3 pr-3.5 pl-3 text-sm",
73558
73694
  children: [t3, t4]
73559
73695
  });
@@ -73580,25 +73716,25 @@ function _temp34(value) {
73580
73716
  }
73581
73717
 
73582
73718
  // src/side-panel/components/PluginList.tsx
73583
- var import_compiler_runtime26 = __toESM(require_compiler_runtime(), 1);
73719
+ var import_compiler_runtime27 = __toESM(require_compiler_runtime(), 1);
73584
73720
 
73585
73721
  // src/side-panel/components/FailedPluginCard.tsx
73586
- var import_compiler_runtime21 = __toESM(require_compiler_runtime(), 1);
73722
+ var import_compiler_runtime22 = __toESM(require_compiler_runtime(), 1);
73587
73723
  var import_react17 = __toESM(require_react(), 1);
73588
- var import_jsx_runtime46 = __toESM(require_jsx_runtime(), 1);
73724
+ var import_jsx_runtime47 = __toESM(require_jsx_runtime(), 1);
73589
73725
  var FailedPluginCard = (t0) => {
73590
- const $ = (0, import_compiler_runtime21.c)(13);
73726
+ const $ = (0, import_compiler_runtime22.c)(13);
73591
73727
  const {
73592
73728
  plugin
73593
73729
  } = t0;
73594
73730
  const [expanded, setExpanded] = (0, import_react17.useState)(false);
73595
73731
  let t1;
73596
73732
  if ($[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
73597
- t1 = /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("div", {
73733
+ t1 = /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", {
73598
73734
  className: "flex items-center gap-2",
73599
- children: [/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(TriangleAlert, {
73735
+ children: [/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(TriangleAlert, {
73600
73736
  className: "text-destructive h-4 w-4 shrink-0"
73601
- }), /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("span", {
73737
+ }), /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", {
73602
73738
  className: "text-destructive text-sm font-medium",
73603
73739
  children: "Failed to load"
73604
73740
  })]
@@ -73609,7 +73745,7 @@ var FailedPluginCard = (t0) => {
73609
73745
  }
73610
73746
  let t2;
73611
73747
  if ($[1] !== plugin.specifier) {
73612
- t2 = /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", {
73748
+ t2 = /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", {
73613
73749
  className: "text-muted-foreground mt-1 truncate text-xs",
73614
73750
  children: plugin.specifier
73615
73751
  });
@@ -73621,7 +73757,7 @@ var FailedPluginCard = (t0) => {
73621
73757
  const t3 = `text-destructive/80 mt-1 text-xs leading-snug select-text ${expanded ? "" : "line-clamp-2"}`;
73622
73758
  let t4;
73623
73759
  if ($[3] !== plugin.error || $[4] !== t3) {
73624
- t4 = /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", {
73760
+ t4 = /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", {
73625
73761
  className: t3,
73626
73762
  children: plugin.error
73627
73763
  });
@@ -73633,7 +73769,7 @@ var FailedPluginCard = (t0) => {
73633
73769
  }
73634
73770
  let t5;
73635
73771
  if ($[6] !== expanded || $[7] !== plugin.error.length) {
73636
- t5 = plugin.error.length > 100 && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("button", {
73772
+ t5 = plugin.error.length > 100 && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("button", {
73637
73773
  type: "button",
73638
73774
  onClick: () => setExpanded(!expanded),
73639
73775
  className: "text-muted-foreground mt-1 cursor-pointer text-xs underline",
@@ -73647,7 +73783,7 @@ var FailedPluginCard = (t0) => {
73647
73783
  }
73648
73784
  let t6;
73649
73785
  if ($[9] !== t2 || $[10] !== t4 || $[11] !== t5) {
73650
- t6 = /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("div", {
73786
+ t6 = /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", {
73651
73787
  className: "border-destructive/50 bg-destructive/10 rounded border-2 p-3",
73652
73788
  children: [t1, t2, t4, t5]
73653
73789
  });
@@ -73662,10 +73798,10 @@ var FailedPluginCard = (t0) => {
73662
73798
  };
73663
73799
 
73664
73800
  // src/side-panel/components/PluginCard.tsx
73665
- var import_compiler_runtime25 = __toESM(require_compiler_runtime(), 1);
73801
+ var import_compiler_runtime26 = __toESM(require_compiler_runtime(), 1);
73666
73802
 
73667
73803
  // src/side-panel/components/PluginIcon.tsx
73668
- var import_compiler_runtime22 = __toESM(require_compiler_runtime(), 1);
73804
+ var import_compiler_runtime23 = __toESM(require_compiler_runtime(), 1);
73669
73805
 
73670
73806
  // src/sanitize-svg.ts
73671
73807
  var ALLOWED_ELEMENTS = /* @__PURE__ */ new Set(["svg", "path", "circle", "ellipse", "rect", "line", "polyline", "polygon", "g", "defs", "clippath", "mask", "lineargradient", "radialgradient", "stop", "text", "tspan", "use", "symbol", "title", "desc"]);
@@ -73908,7 +74044,7 @@ var sanitizeSvg = (svg) => {
73908
74044
  };
73909
74045
 
73910
74046
  // src/side-panel/components/PluginIcon.tsx
73911
- var import_jsx_runtime47 = __toESM(require_jsx_runtime(), 1);
74047
+ var import_jsx_runtime48 = __toESM(require_jsx_runtime(), 1);
73912
74048
  var AVATAR_PALETTE_SIZE = 10;
73913
74049
  var hashString = (str) => {
73914
74050
  let hash = 5381;
@@ -73920,7 +74056,7 @@ var hashString = (str) => {
73920
74056
  var getAvatarVar = (pluginName) => `var(--avatar-${String(hashString(pluginName) % AVATAR_PALETTE_SIZE)})`;
73921
74057
  var getAvatarLetter = (displayName, pluginName) => (displayName[0] ?? pluginName[0] ?? "?").toUpperCase();
73922
74058
  var StatusIndicator = (t0) => {
73923
- const $ = (0, import_compiler_runtime22.c)(15);
74059
+ const $ = (0, import_compiler_runtime23.c)(15);
73924
74060
  const {
73925
74061
  tabState,
73926
74062
  hasUpdate,
@@ -73941,7 +74077,7 @@ var StatusIndicator = (t0) => {
73941
74077
  if (tabState === "unavailable") {
73942
74078
  let t22;
73943
74079
  if ($[2] !== dotSize) {
73944
- t22 = /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", {
74080
+ t22 = /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", {
73945
74081
  className: "bg-primary border-card absolute rounded-full border-2",
73946
74082
  style: {
73947
74083
  width: dotSize,
@@ -73982,7 +74118,7 @@ var StatusIndicator = (t0) => {
73982
74118
  }
73983
74119
  let t4;
73984
74120
  if ($[8] !== iconSize) {
73985
- t4 = /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(ArrowUp, {
74121
+ t4 = /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(ArrowUp, {
73986
74122
  className: "text-accent-foreground",
73987
74123
  style: {
73988
74124
  width: iconSize,
@@ -73997,7 +74133,7 @@ var StatusIndicator = (t0) => {
73997
74133
  }
73998
74134
  let t5;
73999
74135
  if ($[10] !== t3 || $[11] !== t4) {
74000
- t5 = /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", {
74136
+ t5 = /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", {
74001
74137
  className: "bg-accent border-card absolute flex items-center justify-center rounded-full border-2",
74002
74138
  style: t3,
74003
74139
  children: t4
@@ -74012,7 +74148,7 @@ var StatusIndicator = (t0) => {
74012
74148
  }
74013
74149
  let t2;
74014
74150
  if ($[13] !== dotSize) {
74015
- t2 = /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", {
74151
+ t2 = /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", {
74016
74152
  className: "bg-success border-card absolute rounded-full border-2",
74017
74153
  style: {
74018
74154
  width: dotSize,
@@ -74038,7 +74174,7 @@ var tryGetSanitizedSvg = (rawSvg, pluginName) => {
74038
74174
  }
74039
74175
  };
74040
74176
  var PluginIcon = (t0) => {
74041
- const $ = (0, import_compiler_runtime22.c)(57);
74177
+ const $ = (0, import_compiler_runtime23.c)(57);
74042
74178
  const {
74043
74179
  pluginName,
74044
74180
  displayName,
@@ -74122,7 +74258,7 @@ var PluginIcon = (t0) => {
74122
74258
  }
74123
74259
  let t122;
74124
74260
  if ($[13] !== t102 || $[14] !== t112) {
74125
- t122 = /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", {
74261
+ t122 = /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", {
74126
74262
  className: "overflow-hidden",
74127
74263
  style: t102,
74128
74264
  dangerouslySetInnerHTML: t112
@@ -74135,7 +74271,7 @@ var PluginIcon = (t0) => {
74135
74271
  }
74136
74272
  let t132;
74137
74273
  if ($[16] !== t122 || $[17] !== t92) {
74138
- t132 = /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", {
74274
+ t132 = /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", {
74139
74275
  className: "border-border flex h-full w-full items-center justify-center rounded border-2",
74140
74276
  style: t92,
74141
74277
  children: t122
@@ -74148,7 +74284,7 @@ var PluginIcon = (t0) => {
74148
74284
  }
74149
74285
  let t142;
74150
74286
  if ($[19] !== hasUpdate || $[20] !== size4 || $[21] !== tabState) {
74151
- t142 = /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(StatusIndicator, {
74287
+ t142 = /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(StatusIndicator, {
74152
74288
  tabState,
74153
74289
  hasUpdate,
74154
74290
  size: size4
@@ -74162,7 +74298,7 @@ var PluginIcon = (t0) => {
74162
74298
  }
74163
74299
  let t152;
74164
74300
  if ($[23] !== t132 || $[24] !== t142 || $[25] !== t72 || $[26] !== t82) {
74165
- t152 = /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", {
74301
+ t152 = /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", {
74166
74302
  className: t72,
74167
74303
  style: t82,
74168
74304
  children: [t132, t142]
@@ -74242,7 +74378,7 @@ var PluginIcon = (t0) => {
74242
74378
  }
74243
74379
  let t14;
74244
74380
  if ($[42] !== letter || $[43] !== t13) {
74245
- t14 = /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", {
74381
+ t14 = /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("span", {
74246
74382
  className: "font-head leading-none text-white select-none",
74247
74383
  style: t13,
74248
74384
  children: letter
@@ -74255,7 +74391,7 @@ var PluginIcon = (t0) => {
74255
74391
  }
74256
74392
  let t15;
74257
74393
  if ($[45] !== t12 || $[46] !== t14) {
74258
- t15 = /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", {
74394
+ t15 = /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", {
74259
74395
  className: "border-border flex h-full w-full items-center justify-center rounded border-2",
74260
74396
  style: t12,
74261
74397
  children: t14
@@ -74268,7 +74404,7 @@ var PluginIcon = (t0) => {
74268
74404
  }
74269
74405
  let t16;
74270
74406
  if ($[48] !== hasUpdate || $[49] !== size4 || $[50] !== tabState) {
74271
- t16 = /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(StatusIndicator, {
74407
+ t16 = /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(StatusIndicator, {
74272
74408
  tabState,
74273
74409
  hasUpdate,
74274
74410
  size: size4
@@ -74282,7 +74418,7 @@ var PluginIcon = (t0) => {
74282
74418
  }
74283
74419
  let t17;
74284
74420
  if ($[52] !== t10 || $[53] !== t15 || $[54] !== t16 || $[55] !== t9) {
74285
- t17 = /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", {
74421
+ t17 = /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", {
74286
74422
  className: t9,
74287
74423
  style: t10,
74288
74424
  children: [t15, t16]
@@ -74299,17 +74435,17 @@ var PluginIcon = (t0) => {
74299
74435
  };
74300
74436
 
74301
74437
  // src/side-panel/components/PluginMenu.tsx
74302
- var import_compiler_runtime24 = __toESM(require_compiler_runtime(), 1);
74438
+ var import_compiler_runtime25 = __toESM(require_compiler_runtime(), 1);
74303
74439
 
74304
74440
  // src/side-panel/components/retro/Dialog.tsx
74305
- var import_compiler_runtime23 = __toESM(require_compiler_runtime(), 1);
74441
+ var import_compiler_runtime24 = __toESM(require_compiler_runtime(), 1);
74306
74442
 
74307
74443
  // ../../node_modules/@radix-ui/react-dialog/dist/index.mjs
74308
74444
  var React52 = __toESM(require_react(), 1);
74309
74445
 
74310
74446
  // ../../node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-slot/dist/index.mjs
74311
74447
  var React51 = __toESM(require_react(), 1);
74312
- var import_jsx_runtime48 = __toESM(require_jsx_runtime(), 1);
74448
+ var import_jsx_runtime49 = __toESM(require_jsx_runtime(), 1);
74313
74449
  // @__NO_SIDE_EFFECTS__
74314
74450
  function createSlot5(ownerName) {
74315
74451
  const SlotClone = /* @__PURE__ */ createSlotClone5(ownerName);
@@ -74327,9 +74463,9 @@ function createSlot5(ownerName) {
74327
74463
  return child;
74328
74464
  }
74329
74465
  });
74330
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SlotClone, { ...slotProps, ref: forwardedRef, children: React51.isValidElement(newElement) ? React51.cloneElement(newElement, void 0, newChildren) : null });
74466
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SlotClone, { ...slotProps, ref: forwardedRef, children: React51.isValidElement(newElement) ? React51.cloneElement(newElement, void 0, newChildren) : null });
74331
74467
  }
74332
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SlotClone, { ...slotProps, ref: forwardedRef, children });
74468
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SlotClone, { ...slotProps, ref: forwardedRef, children });
74333
74469
  });
74334
74470
  Slot22.displayName = `${ownerName}.Slot`;
74335
74471
  return Slot22;
@@ -74394,7 +74530,7 @@ function getElementRef6(element) {
74394
74530
  }
74395
74531
 
74396
74532
  // ../../node_modules/@radix-ui/react-dialog/dist/index.mjs
74397
- var import_jsx_runtime49 = __toESM(require_jsx_runtime(), 1);
74533
+ var import_jsx_runtime50 = __toESM(require_jsx_runtime(), 1);
74398
74534
  var DIALOG_NAME = "Dialog";
74399
74535
  var [createDialogContext, createDialogScope] = createContextScope(DIALOG_NAME);
74400
74536
  var [DialogProvider, useDialogContext] = createDialogContext(DIALOG_NAME);
@@ -74415,7 +74551,7 @@ var Dialog = (props) => {
74415
74551
  onChange: onOpenChange,
74416
74552
  caller: DIALOG_NAME
74417
74553
  });
74418
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
74554
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
74419
74555
  DialogProvider,
74420
74556
  {
74421
74557
  scope: __scopeDialog,
@@ -74439,7 +74575,7 @@ var DialogTrigger = React52.forwardRef(
74439
74575
  const { __scopeDialog, ...triggerProps } = props;
74440
74576
  const context = useDialogContext(TRIGGER_NAME5, __scopeDialog);
74441
74577
  const composedTriggerRef = useComposedRefs(forwardedRef, context.triggerRef);
74442
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
74578
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
74443
74579
  Primitive.button,
74444
74580
  {
74445
74581
  type: "button",
@@ -74462,7 +74598,7 @@ var [PortalProvider3, usePortalContext3] = createDialogContext(PORTAL_NAME5, {
74462
74598
  var DialogPortal = (props) => {
74463
74599
  const { __scopeDialog, forceMount, children, container } = props;
74464
74600
  const context = useDialogContext(PORTAL_NAME5, __scopeDialog);
74465
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(PortalProvider3, { scope: __scopeDialog, forceMount, children: React52.Children.map(children, (child) => /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Portal, { asChild: true, container, children: child }) })) });
74601
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(PortalProvider3, { scope: __scopeDialog, forceMount, children: React52.Children.map(children, (child) => /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Portal, { asChild: true, container, children: child }) })) });
74466
74602
  };
74467
74603
  DialogPortal.displayName = PORTAL_NAME5;
74468
74604
  var OVERLAY_NAME = "DialogOverlay";
@@ -74471,7 +74607,7 @@ var DialogOverlay = React52.forwardRef(
74471
74607
  const portalContext = usePortalContext3(OVERLAY_NAME, props.__scopeDialog);
74472
74608
  const { forceMount = portalContext.forceMount, ...overlayProps } = props;
74473
74609
  const context = useDialogContext(OVERLAY_NAME, props.__scopeDialog);
74474
- return context.modal ? /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(DialogOverlayImpl, { ...overlayProps, ref: forwardedRef }) }) : null;
74610
+ return context.modal ? /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(DialogOverlayImpl, { ...overlayProps, ref: forwardedRef }) }) : null;
74475
74611
  }
74476
74612
  );
74477
74613
  DialogOverlay.displayName = OVERLAY_NAME;
@@ -74483,7 +74619,7 @@ var DialogOverlayImpl = React52.forwardRef(
74483
74619
  return (
74484
74620
  // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
74485
74621
  // ie. when `Overlay` and `Content` are siblings
74486
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Combination_default, { as: Slot3, allowPinchZoom: true, shards: [context.contentRef], children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
74622
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Combination_default, { as: Slot3, allowPinchZoom: true, shards: [context.contentRef], children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
74487
74623
  Primitive.div,
74488
74624
  {
74489
74625
  "data-state": getState4(context.open),
@@ -74501,7 +74637,7 @@ var DialogContent = React52.forwardRef(
74501
74637
  const portalContext = usePortalContext3(CONTENT_NAME7, props.__scopeDialog);
74502
74638
  const { forceMount = portalContext.forceMount, ...contentProps } = props;
74503
74639
  const context = useDialogContext(CONTENT_NAME7, props.__scopeDialog);
74504
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Presence, { present: forceMount || context.open, children: context.modal ? /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(DialogContentModal, { ...contentProps, ref: forwardedRef }) : /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(DialogContentNonModal, { ...contentProps, ref: forwardedRef }) });
74640
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Presence, { present: forceMount || context.open, children: context.modal ? /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(DialogContentModal, { ...contentProps, ref: forwardedRef }) : /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(DialogContentNonModal, { ...contentProps, ref: forwardedRef }) });
74505
74641
  }
74506
74642
  );
74507
74643
  DialogContent.displayName = CONTENT_NAME7;
@@ -74514,7 +74650,7 @@ var DialogContentModal = React52.forwardRef(
74514
74650
  const content = contentRef.current;
74515
74651
  if (content) return hideOthers(content);
74516
74652
  }, []);
74517
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
74653
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
74518
74654
  DialogContentImpl,
74519
74655
  {
74520
74656
  ...props,
@@ -74544,7 +74680,7 @@ var DialogContentNonModal = React52.forwardRef(
74544
74680
  const context = useDialogContext(CONTENT_NAME7, props.__scopeDialog);
74545
74681
  const hasInteractedOutsideRef = React52.useRef(false);
74546
74682
  const hasPointerDownOutsideRef = React52.useRef(false);
74547
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
74683
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
74548
74684
  DialogContentImpl,
74549
74685
  {
74550
74686
  ...props,
@@ -74586,8 +74722,8 @@ var DialogContentImpl = React52.forwardRef(
74586
74722
  const contentRef = React52.useRef(null);
74587
74723
  const composedRefs = useComposedRefs(forwardedRef, contentRef);
74588
74724
  useFocusGuards();
74589
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_jsx_runtime49.Fragment, { children: [
74590
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
74725
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(import_jsx_runtime50.Fragment, { children: [
74726
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
74591
74727
  FocusScope,
74592
74728
  {
74593
74729
  asChild: true,
@@ -74595,7 +74731,7 @@ var DialogContentImpl = React52.forwardRef(
74595
74731
  trapped: trapFocus,
74596
74732
  onMountAutoFocus: onOpenAutoFocus,
74597
74733
  onUnmountAutoFocus: onCloseAutoFocus,
74598
- children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
74734
+ children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
74599
74735
  DismissableLayer,
74600
74736
  {
74601
74737
  role: "dialog",
@@ -74610,9 +74746,9 @@ var DialogContentImpl = React52.forwardRef(
74610
74746
  )
74611
74747
  }
74612
74748
  ),
74613
- /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_jsx_runtime49.Fragment, { children: [
74614
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(TitleWarning, { titleId: context.titleId }),
74615
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(DescriptionWarning, { contentRef, descriptionId: context.descriptionId })
74749
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(import_jsx_runtime50.Fragment, { children: [
74750
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(TitleWarning, { titleId: context.titleId }),
74751
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(DescriptionWarning, { contentRef, descriptionId: context.descriptionId })
74616
74752
  ] })
74617
74753
  ] });
74618
74754
  }
@@ -74622,7 +74758,7 @@ var DialogTitle = React52.forwardRef(
74622
74758
  (props, forwardedRef) => {
74623
74759
  const { __scopeDialog, ...titleProps } = props;
74624
74760
  const context = useDialogContext(TITLE_NAME, __scopeDialog);
74625
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Primitive.h2, { id: context.titleId, ...titleProps, ref: forwardedRef });
74761
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Primitive.h2, { id: context.titleId, ...titleProps, ref: forwardedRef });
74626
74762
  }
74627
74763
  );
74628
74764
  DialogTitle.displayName = TITLE_NAME;
@@ -74631,7 +74767,7 @@ var DialogDescription = React52.forwardRef(
74631
74767
  (props, forwardedRef) => {
74632
74768
  const { __scopeDialog, ...descriptionProps } = props;
74633
74769
  const context = useDialogContext(DESCRIPTION_NAME, __scopeDialog);
74634
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Primitive.p, { id: context.descriptionId, ...descriptionProps, ref: forwardedRef });
74770
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Primitive.p, { id: context.descriptionId, ...descriptionProps, ref: forwardedRef });
74635
74771
  }
74636
74772
  );
74637
74773
  DialogDescription.displayName = DESCRIPTION_NAME;
@@ -74640,7 +74776,7 @@ var DialogClose = React52.forwardRef(
74640
74776
  (props, forwardedRef) => {
74641
74777
  const { __scopeDialog, ...closeProps } = props;
74642
74778
  const context = useDialogContext(CLOSE_NAME, __scopeDialog);
74643
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
74779
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
74644
74780
  Primitive.button,
74645
74781
  {
74646
74782
  type: "button",
@@ -74700,12 +74836,12 @@ var Close = DialogClose;
74700
74836
 
74701
74837
  // src/side-panel/components/retro/Dialog.tsx
74702
74838
  var React53 = __toESM(require_react(), 1);
74703
- var import_jsx_runtime50 = __toESM(require_jsx_runtime(), 1);
74839
+ var import_jsx_runtime51 = __toESM(require_jsx_runtime(), 1);
74704
74840
  var Dialog2 = Root8;
74705
74841
  var DialogTrigger2 = Trigger4;
74706
74842
  var DialogClose2 = Close;
74707
74843
  var DialogOverlay2 = /* @__PURE__ */ React53.forwardRef((t0, ref) => {
74708
- const $ = (0, import_compiler_runtime23.c)(9);
74844
+ const $ = (0, import_compiler_runtime24.c)(9);
74709
74845
  let className;
74710
74846
  let props;
74711
74847
  if ($[0] !== t0) {
@@ -74730,7 +74866,7 @@ var DialogOverlay2 = /* @__PURE__ */ React53.forwardRef((t0, ref) => {
74730
74866
  }
74731
74867
  let t2;
74732
74868
  if ($[5] !== props || $[6] !== ref || $[7] !== t1) {
74733
- t2 = /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Overlay, {
74869
+ t2 = /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Overlay, {
74734
74870
  ref,
74735
74871
  className: t1,
74736
74872
  ...props
@@ -74746,7 +74882,7 @@ var DialogOverlay2 = /* @__PURE__ */ React53.forwardRef((t0, ref) => {
74746
74882
  });
74747
74883
  DialogOverlay2.displayName = Overlay.displayName;
74748
74884
  var DialogContent2 = /* @__PURE__ */ React53.forwardRef((t0, ref) => {
74749
- const $ = (0, import_compiler_runtime23.c)(15);
74885
+ const $ = (0, import_compiler_runtime24.c)(15);
74750
74886
  let children;
74751
74887
  let className;
74752
74888
  let props;
@@ -74767,7 +74903,7 @@ var DialogContent2 = /* @__PURE__ */ React53.forwardRef((t0, ref) => {
74767
74903
  }
74768
74904
  let t1;
74769
74905
  if ($[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
74770
- t1 = /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(DialogOverlay2, {});
74906
+ t1 = /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(DialogOverlay2, {});
74771
74907
  $[4] = t1;
74772
74908
  } else {
74773
74909
  t1 = $[4];
@@ -74782,8 +74918,8 @@ var DialogContent2 = /* @__PURE__ */ React53.forwardRef((t0, ref) => {
74782
74918
  }
74783
74919
  let t3;
74784
74920
  if ($[7] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
74785
- t3 = /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(VisuallyHidden, {
74786
- children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Title, {})
74921
+ t3 = /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(VisuallyHidden, {
74922
+ children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Title, {})
74787
74923
  });
74788
74924
  $[7] = t3;
74789
74925
  } else {
@@ -74791,7 +74927,7 @@ var DialogContent2 = /* @__PURE__ */ React53.forwardRef((t0, ref) => {
74791
74927
  }
74792
74928
  let t4;
74793
74929
  if ($[8] !== children) {
74794
- t4 = /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", {
74930
+ t4 = /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", {
74795
74931
  className: "relative flex flex-col",
74796
74932
  children
74797
74933
  });
@@ -74802,8 +74938,8 @@ var DialogContent2 = /* @__PURE__ */ React53.forwardRef((t0, ref) => {
74802
74938
  }
74803
74939
  let t5;
74804
74940
  if ($[10] !== props || $[11] !== ref || $[12] !== t2 || $[13] !== t4) {
74805
- t5 = /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(Portal4, {
74806
- children: [t1, /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(Content4, {
74941
+ t5 = /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(Portal4, {
74942
+ children: [t1, /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(Content4, {
74807
74943
  ref,
74808
74944
  className: t2,
74809
74945
  ...props,
@@ -74822,7 +74958,7 @@ var DialogContent2 = /* @__PURE__ */ React53.forwardRef((t0, ref) => {
74822
74958
  });
74823
74959
  DialogContent2.displayName = Content4.displayName;
74824
74960
  var DialogHeader = /* @__PURE__ */ React53.forwardRef((t0, ref) => {
74825
- const $ = (0, import_compiler_runtime23.c)(12);
74961
+ const $ = (0, import_compiler_runtime24.c)(12);
74826
74962
  let children;
74827
74963
  let className;
74828
74964
  let props;
@@ -74851,10 +74987,10 @@ var DialogHeader = /* @__PURE__ */ React53.forwardRef((t0, ref) => {
74851
74987
  }
74852
74988
  let t2;
74853
74989
  if ($[6] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
74854
- t2 = /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Close, {
74990
+ t2 = /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Close, {
74855
74991
  className: "cursor-pointer outline-none",
74856
74992
  "aria-label": "Close",
74857
- children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(X, {
74993
+ children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(X, {
74858
74994
  className: "h-4 w-4"
74859
74995
  })
74860
74996
  });
@@ -74864,7 +75000,7 @@ var DialogHeader = /* @__PURE__ */ React53.forwardRef((t0, ref) => {
74864
75000
  }
74865
75001
  let t3;
74866
75002
  if ($[7] !== children || $[8] !== props || $[9] !== ref || $[10] !== t1) {
74867
- t3 = /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", {
75003
+ t3 = /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", {
74868
75004
  ref,
74869
75005
  className: t1,
74870
75006
  ...props,
@@ -74882,7 +75018,7 @@ var DialogHeader = /* @__PURE__ */ React53.forwardRef((t0, ref) => {
74882
75018
  });
74883
75019
  DialogHeader.displayName = "DialogHeader";
74884
75020
  var DialogBody = /* @__PURE__ */ React53.forwardRef((t0, ref) => {
74885
- const $ = (0, import_compiler_runtime23.c)(9);
75021
+ const $ = (0, import_compiler_runtime24.c)(9);
74886
75022
  let className;
74887
75023
  let props;
74888
75024
  if ($[0] !== t0) {
@@ -74907,7 +75043,7 @@ var DialogBody = /* @__PURE__ */ React53.forwardRef((t0, ref) => {
74907
75043
  }
74908
75044
  let t2;
74909
75045
  if ($[5] !== props || $[6] !== ref || $[7] !== t1) {
74910
- t2 = /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", {
75046
+ t2 = /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", {
74911
75047
  ref,
74912
75048
  className: t1,
74913
75049
  ...props
@@ -74923,7 +75059,7 @@ var DialogBody = /* @__PURE__ */ React53.forwardRef((t0, ref) => {
74923
75059
  });
74924
75060
  DialogBody.displayName = "DialogBody";
74925
75061
  var DialogFooter = /* @__PURE__ */ React53.forwardRef((t0, ref) => {
74926
- const $ = (0, import_compiler_runtime23.c)(9);
75062
+ const $ = (0, import_compiler_runtime24.c)(9);
74927
75063
  let className;
74928
75064
  let props;
74929
75065
  if ($[0] !== t0) {
@@ -74948,7 +75084,7 @@ var DialogFooter = /* @__PURE__ */ React53.forwardRef((t0, ref) => {
74948
75084
  }
74949
75085
  let t2;
74950
75086
  if ($[5] !== props || $[6] !== ref || $[7] !== t1) {
74951
- t2 = /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", {
75087
+ t2 = /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", {
74952
75088
  ref,
74953
75089
  className: t1,
74954
75090
  ...props
@@ -74976,9 +75112,9 @@ var DialogObject = Object.assign(Dialog2, {
74976
75112
 
74977
75113
  // src/side-panel/components/PluginMenu.tsx
74978
75114
  var import_react18 = __toESM(require_react(), 1);
74979
- var import_jsx_runtime51 = __toESM(require_jsx_runtime(), 1);
75115
+ var import_jsx_runtime52 = __toESM(require_jsx_runtime(), 1);
74980
75116
  var PluginMenu = (t0) => {
74981
- const $ = (0, import_compiler_runtime24.c)(48);
75117
+ const $ = (0, import_compiler_runtime25.c)(48);
74982
75118
  const {
74983
75119
  plugin,
74984
75120
  onUpdate,
@@ -75004,12 +75140,12 @@ var PluginMenu = (t0) => {
75004
75140
  const handleConfirmRemove = t1;
75005
75141
  let t2;
75006
75142
  if ($[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
75007
- t2 = /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(MenuObject.Trigger, {
75143
+ t2 = /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(MenuObject.Trigger, {
75008
75144
  asChild: true,
75009
- children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("button", {
75145
+ children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("button", {
75010
75146
  className: "hover:bg-muted/50 flex h-6 w-6 items-center justify-center rounded",
75011
75147
  "aria-label": "Plugin options",
75012
- children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Ellipsis, {
75148
+ children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Ellipsis, {
75013
75149
  className: "h-4 w-4"
75014
75150
  })
75015
75151
  })
@@ -75020,11 +75156,11 @@ var PluginMenu = (t0) => {
75020
75156
  }
75021
75157
  let t3;
75022
75158
  if ($[3] !== onUpdate || $[4] !== plugin.update || $[5] !== updating) {
75023
- t3 = plugin.update && /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(MenuObject.Item, {
75159
+ t3 = plugin.update && /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(MenuObject.Item, {
75024
75160
  onClick: onUpdate,
75025
- children: [updating ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Loader2, {
75161
+ children: [updating ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Loader2, {
75026
75162
  size: "sm"
75027
- }) : /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(CircleArrowUp, {
75163
+ }) : /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(CircleArrowUp, {
75028
75164
  className: "h-3.5 w-3.5"
75029
75165
  }), "Update to v", plugin.update.latestVersion]
75030
75166
  });
@@ -75037,7 +75173,7 @@ var PluginMenu = (t0) => {
75037
75173
  }
75038
75174
  let t4;
75039
75175
  if ($[7] !== plugin.update) {
75040
- t4 = plugin.update && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(MenuObject.Separator, {});
75176
+ t4 = plugin.update && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(MenuObject.Separator, {});
75041
75177
  $[7] = plugin.update;
75042
75178
  $[8] = t4;
75043
75179
  } else {
@@ -75052,9 +75188,9 @@ var PluginMenu = (t0) => {
75052
75188
  }
75053
75189
  let t6;
75054
75190
  if ($[10] !== removing) {
75055
- t6 = removing ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Loader2, {
75191
+ t6 = removing ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Loader2, {
75056
75192
  size: "sm"
75057
- }) : /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Trash2, {
75193
+ }) : /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Trash2, {
75058
75194
  className: "h-3.5 w-3.5"
75059
75195
  });
75060
75196
  $[10] = removing;
@@ -75064,7 +75200,7 @@ var PluginMenu = (t0) => {
75064
75200
  }
75065
75201
  let t7;
75066
75202
  if ($[12] !== removeLabel || $[13] !== t6) {
75067
- t7 = /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(MenuObject.Item, {
75203
+ t7 = /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(MenuObject.Item, {
75068
75204
  onSelect: t5,
75069
75205
  className: "text-destructive focus:bg-destructive/10 focus:text-destructive data-[highlighted]:bg-destructive/10 data-[highlighted]:text-destructive",
75070
75206
  children: [t6, removeLabel]
@@ -75077,8 +75213,8 @@ var PluginMenu = (t0) => {
75077
75213
  }
75078
75214
  let t8;
75079
75215
  if ($[15] !== t3 || $[16] !== t4 || $[17] !== t7) {
75080
- t8 = /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(MenuObject, {
75081
- children: [t2, /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(MenuObject.Content, {
75216
+ t8 = /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(MenuObject, {
75217
+ children: [t2, /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(MenuObject.Content, {
75082
75218
  align: "end",
75083
75219
  children: [t3, t4, t7]
75084
75220
  })]
@@ -75092,7 +75228,7 @@ var PluginMenu = (t0) => {
75092
75228
  }
75093
75229
  let t9;
75094
75230
  if ($[19] !== removeLabel) {
75095
- t9 = /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(DialogObject.Header, {
75231
+ t9 = /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(DialogObject.Header, {
75096
75232
  className: "bg-destructive text-destructive-foreground border-destructive",
75097
75233
  children: [removeLabel, " Plugin"]
75098
75234
  });
@@ -75111,7 +75247,7 @@ var PluginMenu = (t0) => {
75111
75247
  }
75112
75248
  let t11;
75113
75249
  if ($[23] !== plugin.displayName) {
75114
- t11 = /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("strong", {
75250
+ t11 = /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("strong", {
75115
75251
  className: "font-head",
75116
75252
  children: plugin.displayName
75117
75253
  });
@@ -75122,7 +75258,7 @@ var PluginMenu = (t0) => {
75122
75258
  }
75123
75259
  let t12;
75124
75260
  if ($[25] !== t10 || $[26] !== t11) {
75125
- t12 = /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("p", {
75261
+ t12 = /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("p", {
75126
75262
  className: "text-foreground text-sm",
75127
75263
  children: ["Are you sure you want to ", t10, " ", t11, "?"]
75128
75264
  });
@@ -75134,10 +75270,10 @@ var PluginMenu = (t0) => {
75134
75270
  }
75135
75271
  let t13;
75136
75272
  if ($[28] !== isLocal) {
75137
- t13 = isLocal ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("p", {
75273
+ t13 = isLocal ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("p", {
75138
75274
  className: "text-muted-foreground mt-1 text-xs",
75139
75275
  children: "This will remove the plugin path from your config."
75140
- }) : /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("p", {
75276
+ }) : /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("p", {
75141
75277
  className: "text-muted-foreground mt-1 text-xs",
75142
75278
  children: "This will run npm uninstall and remove the plugin globally."
75143
75279
  });
@@ -75148,7 +75284,7 @@ var PluginMenu = (t0) => {
75148
75284
  }
75149
75285
  let t14;
75150
75286
  if ($[30] !== t12 || $[31] !== t13) {
75151
- t14 = /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(DialogObject.Body, {
75287
+ t14 = /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(DialogObject.Body, {
75152
75288
  children: [t12, t13]
75153
75289
  });
75154
75290
  $[30] = t12;
@@ -75159,9 +75295,9 @@ var PluginMenu = (t0) => {
75159
75295
  }
75160
75296
  let t15;
75161
75297
  if ($[33] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
75162
- t15 = /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(DialogObject.Close, {
75298
+ t15 = /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(DialogObject.Close, {
75163
75299
  asChild: true,
75164
- children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Button, {
75300
+ children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Button, {
75165
75301
  size: "sm",
75166
75302
  variant: "outline",
75167
75303
  children: "Cancel"
@@ -75173,8 +75309,8 @@ var PluginMenu = (t0) => {
75173
75309
  }
75174
75310
  let t16;
75175
75311
  if ($[34] !== handleConfirmRemove || $[35] !== removeLabel) {
75176
- t16 = /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(DialogObject.Footer, {
75177
- children: [t15, /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Button, {
75312
+ t16 = /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(DialogObject.Footer, {
75313
+ children: [t15, /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Button, {
75178
75314
  size: "sm",
75179
75315
  variant: "outline",
75180
75316
  className: "text-destructive border-destructive",
@@ -75190,7 +75326,7 @@ var PluginMenu = (t0) => {
75190
75326
  }
75191
75327
  let t17;
75192
75328
  if ($[37] !== t14 || $[38] !== t16 || $[39] !== t9) {
75193
- t17 = /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(DialogObject.Content, {
75329
+ t17 = /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(DialogObject.Content, {
75194
75330
  children: [t9, t14, t16]
75195
75331
  });
75196
75332
  $[37] = t14;
@@ -75202,7 +75338,7 @@ var PluginMenu = (t0) => {
75202
75338
  }
75203
75339
  let t18;
75204
75340
  if ($[41] !== confirmOpen || $[42] !== t17) {
75205
- t18 = /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(DialogObject, {
75341
+ t18 = /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(DialogObject, {
75206
75342
  open: confirmOpen,
75207
75343
  onOpenChange: setConfirmOpen,
75208
75344
  children: t17
@@ -75215,7 +75351,7 @@ var PluginMenu = (t0) => {
75215
75351
  }
75216
75352
  let t19;
75217
75353
  if ($[44] !== className || $[45] !== t18 || $[46] !== t8) {
75218
- t19 = /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", {
75354
+ t19 = /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("div", {
75219
75355
  className,
75220
75356
  onClick: _temp9,
75221
75357
  onKeyDown: _temp26,
@@ -75243,9 +75379,9 @@ function _temp26(e_0) {
75243
75379
 
75244
75380
  // src/side-panel/components/PluginCard.tsx
75245
75381
  var import_react19 = __toESM(require_react(), 1);
75246
- var import_jsx_runtime52 = __toESM(require_jsx_runtime(), 1);
75382
+ var import_jsx_runtime53 = __toESM(require_jsx_runtime(), 1);
75247
75383
  var PluginCard = (t0) => {
75248
- const $ = (0, import_compiler_runtime25.c)(47);
75384
+ const $ = (0, import_compiler_runtime26.c)(47);
75249
75385
  const {
75250
75386
  plugin,
75251
75387
  activeTools,
@@ -75332,10 +75468,10 @@ var PluginCard = (t0) => {
75332
75468
  const t5 = !!plugin.update;
75333
75469
  let t6;
75334
75470
  if ($[5] !== plugin.displayName || $[6] !== plugin.iconInactiveSvg || $[7] !== plugin.iconSvg || $[8] !== plugin.name || $[9] !== plugin.tabState || $[10] !== t5) {
75335
- t6 = /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(TooltipObject.Trigger, {
75471
+ t6 = /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(TooltipObject.Trigger, {
75336
75472
  asChild: true,
75337
- children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", {
75338
- children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(PluginIcon, {
75473
+ children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", {
75474
+ children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(PluginIcon, {
75339
75475
  pluginName: plugin.name,
75340
75476
  displayName: plugin.displayName,
75341
75477
  tabState: plugin.tabState,
@@ -75358,7 +75494,7 @@ var PluginCard = (t0) => {
75358
75494
  }
75359
75495
  let t7;
75360
75496
  if ($[12] !== plugin.update) {
75361
- t7 = plugin.update && /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_jsx_runtime52.Fragment, {
75497
+ t7 = plugin.update && /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_jsx_runtime53.Fragment, {
75362
75498
  children: [" \xB7 Update: ", plugin.update.latestVersion]
75363
75499
  });
75364
75500
  $[12] = plugin.update;
@@ -75368,7 +75504,7 @@ var PluginCard = (t0) => {
75368
75504
  }
75369
75505
  let t8;
75370
75506
  if ($[14] !== plugin.trustTier || $[15] !== plugin.version || $[16] !== t7) {
75371
- t8 = /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(TooltipObject.Content, {
75507
+ t8 = /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(TooltipObject.Content, {
75372
75508
  children: ["v", plugin.version, " \xB7 ", plugin.trustTier, t7]
75373
75509
  });
75374
75510
  $[14] = plugin.trustTier;
@@ -75380,7 +75516,7 @@ var PluginCard = (t0) => {
75380
75516
  }
75381
75517
  let t9;
75382
75518
  if ($[18] !== t6 || $[19] !== t8) {
75383
- t9 = /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(TooltipObject, {
75519
+ t9 = /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(TooltipObject, {
75384
75520
  children: [t6, t8]
75385
75521
  });
75386
75522
  $[18] = t6;
@@ -75391,7 +75527,7 @@ var PluginCard = (t0) => {
75391
75527
  }
75392
75528
  let t10;
75393
75529
  if ($[21] !== plugin.source) {
75394
- t10 = plugin.source === "local" && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Badge2, {
75530
+ t10 = plugin.source === "local" && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Badge2, {
75395
75531
  variant: "default",
75396
75532
  size: "sm",
75397
75533
  className: "align-middle",
@@ -75404,16 +75540,16 @@ var PluginCard = (t0) => {
75404
75540
  }
75405
75541
  let t11;
75406
75542
  if ($[23] !== plugin.sdkVersion) {
75407
- t11 = !plugin.sdkVersion && /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(TooltipObject, {
75408
- children: [/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(TooltipObject.Trigger, {
75543
+ t11 = !plugin.sdkVersion && /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(TooltipObject, {
75544
+ children: [/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(TooltipObject.Trigger, {
75409
75545
  asChild: true,
75410
- children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Badge2, {
75546
+ children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Badge2, {
75411
75547
  variant: "outline",
75412
75548
  size: "sm",
75413
75549
  className: "border-accent bg-accent/10 text-accent-foreground align-middle",
75414
75550
  children: "SDK"
75415
75551
  })
75416
- }), /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(TooltipObject.Content, {
75552
+ }), /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(TooltipObject.Content, {
75417
75553
  children: "SDK version mismatch \u2014 rebuild plugin"
75418
75554
  })]
75419
75555
  });
@@ -75424,7 +75560,7 @@ var PluginCard = (t0) => {
75424
75560
  }
75425
75561
  let t12;
75426
75562
  if ($[25] !== plugin.displayName || $[26] !== t10 || $[27] !== t11) {
75427
- t12 = /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("div", {
75563
+ t12 = /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", {
75428
75564
  className: "font-head text-foreground flex min-w-0 flex-1 items-center gap-1.5 truncate text-sm",
75429
75565
  children: [plugin.displayName, t10, t11]
75430
75566
  });
@@ -75437,7 +75573,7 @@ var PluginCard = (t0) => {
75437
75573
  }
75438
75574
  let t13;
75439
75575
  if ($[29] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
75440
- t13 = /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(ChevronDown, {
75576
+ t13 = /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(ChevronDown, {
75441
75577
  className: "h-4 w-4 shrink-0 transition-transform duration-200"
75442
75578
  });
75443
75579
  $[29] = t13;
@@ -75446,7 +75582,7 @@ var PluginCard = (t0) => {
75446
75582
  }
75447
75583
  let t14;
75448
75584
  if ($[30] !== t12 || $[31] !== t9) {
75449
- t14 = /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(Trigger22, {
75585
+ t14 = /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(Trigger22, {
75450
75586
  className: "font-head flex min-w-0 flex-1 cursor-pointer items-center gap-2 px-3 py-2 focus:outline-hidden [&[data-state=open]>svg]:rotate-180",
75451
75587
  children: [t9, t12, t13]
75452
75588
  });
@@ -75462,7 +75598,7 @@ var PluginCard = (t0) => {
75462
75598
  const t18 = removingPlugin ?? false;
75463
75599
  let t19;
75464
75600
  if ($[33] !== plugin || $[34] !== t15 || $[35] !== t16 || $[36] !== t17 || $[37] !== t18) {
75465
- t19 = /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(PluginMenu, {
75601
+ t19 = /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(PluginMenu, {
75466
75602
  plugin,
75467
75603
  onUpdate: t15,
75468
75604
  onRemove: t16,
@@ -75481,7 +75617,7 @@ var PluginCard = (t0) => {
75481
75617
  }
75482
75618
  let t20;
75483
75619
  if ($[39] !== toggleError) {
75484
- t20 = toggleError && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(AlertComponent, {
75620
+ t20 = toggleError && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(AlertComponent, {
75485
75621
  status: "error",
75486
75622
  className: "mx-3 mb-1 px-2 py-1 text-[11px]",
75487
75623
  children: toggleError
@@ -75493,7 +75629,7 @@ var PluginCard = (t0) => {
75493
75629
  }
75494
75630
  let t21;
75495
75631
  if ($[41] !== actionError) {
75496
- t21 = actionError && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(AlertComponent, {
75632
+ t21 = actionError && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(AlertComponent, {
75497
75633
  status: "error",
75498
75634
  className: "mx-3 mb-1 px-2 py-1 text-[11px]",
75499
75635
  children: actionError
@@ -75505,11 +75641,11 @@ var PluginCard = (t0) => {
75505
75641
  }
75506
75642
  const t22 = AccordionComponent;
75507
75643
  const t23 = "border-border border-t";
75508
- const t24 = toolFilter && /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("div", {
75644
+ const t24 = toolFilter && /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", {
75509
75645
  className: "text-muted-foreground mb-1 px-3 pt-2 text-xs",
75510
75646
  children: [visibleTools.length, " of ", pluginTools.length, " tools"]
75511
75647
  });
75512
- const t25 = visibleTools.map((tool) => /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(ToolRow, {
75648
+ const t25 = visibleTools.map((tool) => /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(ToolRow, {
75513
75649
  name: tool.name,
75514
75650
  displayName: tool.displayName,
75515
75651
  description: tool.description,
@@ -75520,7 +75656,7 @@ var PluginCard = (t0) => {
75520
75656
  }, tool.name));
75521
75657
  let t26;
75522
75658
  if ($[43] !== t22.Content || $[44] !== t24 || $[45] !== t25) {
75523
- t26 = /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(t22.Content, {
75659
+ t26 = /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(t22.Content, {
75524
75660
  className: t23,
75525
75661
  children: [t24, t25]
75526
75662
  });
@@ -75531,17 +75667,17 @@ var PluginCard = (t0) => {
75531
75667
  } else {
75532
75668
  t26 = $[46];
75533
75669
  }
75534
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(AccordionComponent.Item, {
75670
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(AccordionComponent.Item, {
75535
75671
  value: t4,
75536
75672
  className: removingPlugin ? "pointer-events-none opacity-60 transition-opacity" : void 0,
75537
- children: [/* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(Header, {
75673
+ children: [/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(Header, {
75538
75674
  className: "flex",
75539
- children: [t14, t19, /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", {
75675
+ children: [t14, t19, /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", {
75540
75676
  className: "flex shrink-0 items-center px-3",
75541
75677
  onClick: _temp42,
75542
75678
  onKeyDown: _temp52,
75543
75679
  role: "presentation",
75544
- children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Switch2, {
75680
+ children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Switch2, {
75545
75681
  checked: allEnabled,
75546
75682
  onCheckedChange: handleToggleAll,
75547
75683
  "aria-label": `Toggle all tools for ${plugin.name}`
@@ -75567,9 +75703,9 @@ function _temp52(e_0) {
75567
75703
  }
75568
75704
 
75569
75705
  // src/side-panel/components/PluginList.tsx
75570
- var import_jsx_runtime53 = __toESM(require_jsx_runtime(), 1);
75706
+ var import_jsx_runtime54 = __toESM(require_jsx_runtime(), 1);
75571
75707
  var PluginList = (t0) => {
75572
- const $ = (0, import_compiler_runtime26.c)(33);
75708
+ const $ = (0, import_compiler_runtime27.c)(33);
75573
75709
  const {
75574
75710
  plugins,
75575
75711
  failedPlugins,
@@ -75608,7 +75744,7 @@ var PluginList = (t0) => {
75608
75744
  if (filterLower && visiblePlugins.length === 0) {
75609
75745
  let t32;
75610
75746
  if ($[7] !== toolFilter) {
75611
- t32 = /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", {
75747
+ t32 = /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", {
75612
75748
  className: "text-muted-foreground py-8 text-center text-sm",
75613
75749
  children: ["No tools matching \u201C", toolFilter, "\u201D"]
75614
75750
  });
@@ -75621,7 +75757,7 @@ var PluginList = (t0) => {
75621
75757
  }
75622
75758
  let t3;
75623
75759
  if ($[9] !== visibleFailed) {
75624
- t3 = visibleFailed.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", {
75760
+ t3 = visibleFailed.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", {
75625
75761
  className: "mb-3 space-y-2",
75626
75762
  children: visibleFailed.map(_temp11)
75627
75763
  });
@@ -75634,7 +75770,7 @@ var PluginList = (t0) => {
75634
75770
  if ($[11] !== activeTools || $[12] !== onRemove || $[13] !== onUpdate || $[14] !== pluginErrors || $[15] !== removingPlugins || $[16] !== setPlugins || $[17] !== toolFilter || $[18] !== visiblePlugins) {
75635
75771
  let t52;
75636
75772
  if ($[20] !== activeTools || $[21] !== onRemove || $[22] !== onUpdate || $[23] !== pluginErrors || $[24] !== removingPlugins || $[25] !== setPlugins || $[26] !== toolFilter) {
75637
- t52 = (plugin) => /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(PluginCard, {
75773
+ t52 = (plugin) => /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(PluginCard, {
75638
75774
  plugin,
75639
75775
  activeTools,
75640
75776
  setPlugins,
@@ -75670,7 +75806,7 @@ var PluginList = (t0) => {
75670
75806
  }
75671
75807
  let t5;
75672
75808
  if ($[28] !== t4) {
75673
- t5 = /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(AccordionComponent, {
75809
+ t5 = /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(AccordionComponent, {
75674
75810
  type: "multiple",
75675
75811
  className: "space-y-2",
75676
75812
  children: t4
@@ -75682,7 +75818,7 @@ var PluginList = (t0) => {
75682
75818
  }
75683
75819
  let t6;
75684
75820
  if ($[30] !== t3 || $[31] !== t5) {
75685
- t6 = /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_jsx_runtime53.Fragment, {
75821
+ t6 = /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_jsx_runtime54.Fragment, {
75686
75822
  children: [t3, t5]
75687
75823
  });
75688
75824
  $[30] = t3;
@@ -75694,17 +75830,17 @@ var PluginList = (t0) => {
75694
75830
  return t6;
75695
75831
  };
75696
75832
  function _temp11(fp) {
75697
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(FailedPluginCard, {
75833
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(FailedPluginCard, {
75698
75834
  plugin: fp
75699
75835
  }, fp.specifier);
75700
75836
  }
75701
75837
 
75702
75838
  // src/side-panel/components/retro/Input.tsx
75703
- var import_compiler_runtime27 = __toESM(require_compiler_runtime(), 1);
75839
+ var import_compiler_runtime28 = __toESM(require_compiler_runtime(), 1);
75704
75840
  var import_react20 = __toESM(require_react(), 1);
75705
- var import_jsx_runtime54 = __toESM(require_jsx_runtime(), 1);
75841
+ var import_jsx_runtime55 = __toESM(require_jsx_runtime(), 1);
75706
75842
  var Input = /* @__PURE__ */ (0, import_react20.forwardRef)((t0, ref) => {
75707
- const $ = (0, import_compiler_runtime27.c)(16);
75843
+ const $ = (0, import_compiler_runtime28.c)(16);
75708
75844
  let ariaInvalid;
75709
75845
  let className;
75710
75846
  let props;
@@ -75745,7 +75881,7 @@ var Input = /* @__PURE__ */ (0, import_react20.forwardRef)((t0, ref) => {
75745
75881
  }
75746
75882
  let t5;
75747
75883
  if ($[9] !== ariaInvalid || $[10] !== placeholder || $[11] !== props || $[12] !== ref || $[13] !== t4 || $[14] !== type) {
75748
- t5 = /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("input", {
75884
+ t5 = /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("input", {
75749
75885
  ref,
75750
75886
  type,
75751
75887
  placeholder,
@@ -75768,14 +75904,13 @@ var Input = /* @__PURE__ */ (0, import_react20.forwardRef)((t0, ref) => {
75768
75904
  Input.displayName = "Input";
75769
75905
 
75770
75906
  // src/side-panel/components/SearchResults.tsx
75771
- var import_compiler_runtime29 = __toESM(require_compiler_runtime(), 1);
75907
+ var import_compiler_runtime30 = __toESM(require_compiler_runtime(), 1);
75772
75908
 
75773
75909
  // src/side-panel/components/NpmPluginCard.tsx
75774
- var import_compiler_runtime28 = __toESM(require_compiler_runtime(), 1);
75775
- var import_jsx_runtime55 = __toESM(require_jsx_runtime(), 1);
75776
- var deriveDisplayName = (packageName) => (packageName.split("/").pop() ?? packageName).replace(/^opentabs-plugin-/, "");
75910
+ var import_compiler_runtime29 = __toESM(require_compiler_runtime(), 1);
75911
+ var import_jsx_runtime56 = __toESM(require_jsx_runtime(), 1);
75777
75912
  var NpmPluginCard = (t0) => {
75778
- const $ = (0, import_compiler_runtime28.c)(38);
75913
+ const $ = (0, import_compiler_runtime29.c)(38);
75779
75914
  const {
75780
75915
  plugin,
75781
75916
  installing,
@@ -75784,7 +75919,7 @@ var NpmPluginCard = (t0) => {
75784
75919
  } = t0;
75785
75920
  let t1;
75786
75921
  if ($[0] !== plugin.name) {
75787
- t1 = deriveDisplayName(plugin.name);
75922
+ t1 = extractShortName(plugin.name);
75788
75923
  $[0] = plugin.name;
75789
75924
  $[1] = t1;
75790
75925
  } else {
@@ -75793,7 +75928,7 @@ var NpmPluginCard = (t0) => {
75793
75928
  const displayName = t1;
75794
75929
  let t2;
75795
75930
  if ($[2] !== displayName || $[3] !== plugin.name) {
75796
- t2 = /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(PluginIcon, {
75931
+ t2 = /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(PluginIcon, {
75797
75932
  pluginName: plugin.name,
75798
75933
  displayName,
75799
75934
  tabState: "closed",
@@ -75807,7 +75942,7 @@ var NpmPluginCard = (t0) => {
75807
75942
  }
75808
75943
  let t3;
75809
75944
  if ($[5] !== displayName) {
75810
- t3 = /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("span", {
75945
+ t3 = /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", {
75811
75946
  className: "font-head text-foreground truncate text-sm",
75812
75947
  children: displayName
75813
75948
  });
@@ -75818,7 +75953,7 @@ var NpmPluginCard = (t0) => {
75818
75953
  }
75819
75954
  let t4;
75820
75955
  if ($[7] !== plugin.version) {
75821
- t4 = /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Badge2, {
75956
+ t4 = /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Badge2, {
75822
75957
  variant: "default",
75823
75958
  size: "sm",
75824
75959
  children: plugin.version
@@ -75830,7 +75965,7 @@ var NpmPluginCard = (t0) => {
75830
75965
  }
75831
75966
  let t5;
75832
75967
  if ($[9] !== plugin.isOfficial) {
75833
- t5 = plugin.isOfficial && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Badge2, {
75968
+ t5 = plugin.isOfficial && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Badge2, {
75834
75969
  size: "sm",
75835
75970
  className: "bg-primary/20 text-primary-foreground",
75836
75971
  children: "OFFICIAL"
@@ -75842,7 +75977,7 @@ var NpmPluginCard = (t0) => {
75842
75977
  }
75843
75978
  let t6;
75844
75979
  if ($[11] !== t3 || $[12] !== t4 || $[13] !== t5) {
75845
- t6 = /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", {
75980
+ t6 = /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", {
75846
75981
  className: "flex flex-wrap items-center gap-1",
75847
75982
  children: [t3, t4, t5]
75848
75983
  });
@@ -75855,7 +75990,7 @@ var NpmPluginCard = (t0) => {
75855
75990
  }
75856
75991
  let t7;
75857
75992
  if ($[15] !== plugin.author) {
75858
- t7 = /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("span", {
75993
+ t7 = /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", {
75859
75994
  className: "text-muted-foreground truncate font-mono text-xs",
75860
75995
  children: plugin.author
75861
75996
  });
@@ -75866,7 +76001,7 @@ var NpmPluginCard = (t0) => {
75866
76001
  }
75867
76002
  let t8;
75868
76003
  if ($[17] !== t6 || $[18] !== t7) {
75869
- t8 = /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", {
76004
+ t8 = /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", {
75870
76005
  className: "flex min-w-0 flex-1 flex-col",
75871
76006
  children: [t6, t7]
75872
76007
  });
@@ -75878,7 +76013,7 @@ var NpmPluginCard = (t0) => {
75878
76013
  }
75879
76014
  let t9;
75880
76015
  if ($[20] !== installing) {
75881
- t9 = installing ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Loader2, {
76016
+ t9 = installing ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Loader2, {
75882
76017
  size: "sm"
75883
76018
  }) : "Install";
75884
76019
  $[20] = installing;
@@ -75888,7 +76023,7 @@ var NpmPluginCard = (t0) => {
75888
76023
  }
75889
76024
  let t10;
75890
76025
  if ($[22] !== installing || $[23] !== onInstall || $[24] !== t9) {
75891
- t10 = /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Button, {
76026
+ t10 = /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Button, {
75892
76027
  size: "sm",
75893
76028
  variant: "default",
75894
76029
  disabled: installing,
@@ -75905,7 +76040,7 @@ var NpmPluginCard = (t0) => {
75905
76040
  }
75906
76041
  let t11;
75907
76042
  if ($[26] !== t10 || $[27] !== t2 || $[28] !== t8) {
75908
- t11 = /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", {
76043
+ t11 = /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", {
75909
76044
  className: "flex items-center gap-2",
75910
76045
  children: [t2, t8, t10]
75911
76046
  });
@@ -75918,7 +76053,7 @@ var NpmPluginCard = (t0) => {
75918
76053
  }
75919
76054
  let t12;
75920
76055
  if ($[30] !== plugin.description) {
75921
- t12 = /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("p", {
76056
+ t12 = /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("p", {
75922
76057
  className: "text-muted-foreground line-clamp-2 text-xs",
75923
76058
  children: plugin.description
75924
76059
  });
@@ -75929,7 +76064,7 @@ var NpmPluginCard = (t0) => {
75929
76064
  }
75930
76065
  let t13;
75931
76066
  if ($[32] !== error) {
75932
- t13 = error && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(AlertComponent, {
76067
+ t13 = error && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(AlertComponent, {
75933
76068
  status: "error",
75934
76069
  className: "px-3 py-2 text-xs",
75935
76070
  children: error
@@ -75941,7 +76076,7 @@ var NpmPluginCard = (t0) => {
75941
76076
  }
75942
76077
  let t14;
75943
76078
  if ($[34] !== t11 || $[35] !== t12 || $[36] !== t13) {
75944
- t14 = /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", {
76079
+ t14 = /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", {
75945
76080
  className: "border-border bg-card space-y-2 rounded border-2 p-3 shadow-md transition-all hover:shadow-sm",
75946
76081
  children: [t11, t12, t13]
75947
76082
  });
@@ -75957,15 +76092,15 @@ var NpmPluginCard = (t0) => {
75957
76092
  NpmPluginCard.displayName = "NpmPluginCard";
75958
76093
 
75959
76094
  // src/side-panel/components/SearchResults.tsx
75960
- var import_jsx_runtime56 = __toESM(require_jsx_runtime(), 1);
76095
+ var import_jsx_runtime57 = __toESM(require_jsx_runtime(), 1);
75961
76096
  var SectionHeader = (t0) => {
75962
- const $ = (0, import_compiler_runtime29.c)(2);
76097
+ const $ = (0, import_compiler_runtime30.c)(2);
75963
76098
  const {
75964
76099
  children
75965
76100
  } = t0;
75966
76101
  let t1;
75967
76102
  if ($[0] !== children) {
75968
- t1 = /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", {
76103
+ t1 = /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", {
75969
76104
  className: "font-head text-muted-foreground mb-1.5 text-[10px] tracking-widest uppercase",
75970
76105
  children
75971
76106
  });
@@ -75978,9 +76113,10 @@ var SectionHeader = (t0) => {
75978
76113
  };
75979
76114
  var matchesBrowserTool = (tool, filterLower) => toDisplayName(tool.name).toLowerCase().includes(filterLower) || tool.name.toLowerCase().includes(filterLower) || tool.description.toLowerCase().includes(filterLower);
75980
76115
  var SearchResults = (t0) => {
75981
- const $ = (0, import_compiler_runtime29.c)(52);
76116
+ const $ = (0, import_compiler_runtime30.c)(56);
75982
76117
  const {
75983
76118
  plugins,
76119
+ failedPlugins,
75984
76120
  browserTools,
75985
76121
  activeTools,
75986
76122
  setPlugins,
@@ -75997,65 +76133,70 @@ var SearchResults = (t0) => {
75997
76133
  pluginErrors,
75998
76134
  serverVersion
75999
76135
  } = t0;
76136
+ let failedMatches;
76000
76137
  let installedMatches;
76001
76138
  let t1;
76002
- if ($[0] !== browserTools || $[1] !== plugins || $[2] !== toolFilter) {
76139
+ if ($[0] !== browserTools || $[1] !== failedPlugins || $[2] !== plugins || $[3] !== toolFilter) {
76003
76140
  const filterLower = toolFilter.toLowerCase();
76004
76141
  installedMatches = filterLower ? plugins.filter((p) => matchesPlugin(p, filterLower)) : plugins;
76142
+ failedMatches = filterLower ? failedPlugins.filter((p_0) => p_0.specifier.toLowerCase().includes(filterLower) || p_0.error.toLowerCase().includes(filterLower)) : failedPlugins;
76005
76143
  t1 = browserTools.length > 0 && (!filterLower || "browser".includes(filterLower) || browserTools.some((t) => matchesBrowserTool(t, filterLower)));
76006
76144
  $[0] = browserTools;
76007
- $[1] = plugins;
76008
- $[2] = toolFilter;
76009
- $[3] = installedMatches;
76010
- $[4] = t1;
76145
+ $[1] = failedPlugins;
76146
+ $[2] = plugins;
76147
+ $[3] = toolFilter;
76148
+ $[4] = failedMatches;
76149
+ $[5] = installedMatches;
76150
+ $[6] = t1;
76011
76151
  } else {
76012
- installedMatches = $[3];
76013
- t1 = $[4];
76152
+ failedMatches = $[4];
76153
+ installedMatches = $[5];
76154
+ t1 = $[6];
76014
76155
  }
76015
76156
  const hasBrowserToolMatches = t1;
76016
76157
  let t2;
76017
- if ($[5] !== plugins) {
76158
+ if ($[7] !== plugins) {
76018
76159
  t2 = new Set(plugins.map(_temp12));
76019
- $[5] = plugins;
76020
- $[6] = t2;
76160
+ $[7] = plugins;
76161
+ $[8] = t2;
76021
76162
  } else {
76022
- t2 = $[6];
76163
+ t2 = $[8];
76023
76164
  }
76024
76165
  const installedShortNames = t2;
76025
76166
  let showNoResults;
76026
76167
  let t3;
76027
76168
  let t4;
76028
76169
  let t5;
76029
- if ($[7] !== activeTools || $[8] !== browserTools || $[9] !== hasBrowserToolMatches || $[10] !== installErrors || $[11] !== installedMatches || $[12] !== installedShortNames || $[13] !== installingPlugins || $[14] !== npmResults || $[15] !== npmSearching || $[16] !== onInstall || $[17] !== onRemove || $[18] !== onUpdate || $[19] !== pluginErrors || $[20] !== removingPlugins || $[21] !== serverVersion || $[22] !== setBrowserTools || $[23] !== setPlugins || $[24] !== toolFilter) {
76170
+ if ($[9] !== activeTools || $[10] !== browserTools || $[11] !== failedMatches || $[12] !== hasBrowserToolMatches || $[13] !== installErrors || $[14] !== installedMatches || $[15] !== installedShortNames || $[16] !== installingPlugins || $[17] !== npmResults || $[18] !== npmSearching || $[19] !== onInstall || $[20] !== onRemove || $[21] !== onUpdate || $[22] !== pluginErrors || $[23] !== removingPlugins || $[24] !== serverVersion || $[25] !== setBrowserTools || $[26] !== setPlugins || $[27] !== toolFilter) {
76030
76171
  let t62;
76031
- if ($[29] !== installedShortNames) {
76172
+ if ($[32] !== installedShortNames) {
76032
76173
  t62 = (r2) => !installedShortNames.has(extractShortName(r2.name));
76033
- $[29] = installedShortNames;
76034
- $[30] = t62;
76174
+ $[32] = installedShortNames;
76175
+ $[33] = t62;
76035
76176
  } else {
76036
- t62 = $[30];
76177
+ t62 = $[33];
76037
76178
  }
76038
76179
  const availableResults = npmResults.filter(t62);
76039
- const hasInstalledResults = installedMatches.length > 0 || hasBrowserToolMatches;
76180
+ const hasInstalledResults = installedMatches.length > 0 || failedMatches.length > 0 || hasBrowserToolMatches;
76040
76181
  showNoResults = toolFilter && !hasInstalledResults && !npmSearching && availableResults.length === 0;
76041
76182
  t3 = "space-y-4";
76042
- if ($[31] !== activeTools || $[32] !== browserTools || $[33] !== hasBrowserToolMatches || $[34] !== hasInstalledResults || $[35] !== installedMatches || $[36] !== onRemove || $[37] !== onUpdate || $[38] !== pluginErrors || $[39] !== removingPlugins || $[40] !== serverVersion || $[41] !== setBrowserTools || $[42] !== setPlugins || $[43] !== toolFilter) {
76043
- t4 = hasInstalledResults && /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", {
76044
- children: [/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(SectionHeader, {
76183
+ if ($[34] !== activeTools || $[35] !== browserTools || $[36] !== failedMatches || $[37] !== hasBrowserToolMatches || $[38] !== hasInstalledResults || $[39] !== installedMatches || $[40] !== onRemove || $[41] !== onUpdate || $[42] !== pluginErrors || $[43] !== removingPlugins || $[44] !== serverVersion || $[45] !== setBrowserTools || $[46] !== setPlugins || $[47] !== toolFilter) {
76184
+ t4 = hasInstalledResults && /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", {
76185
+ children: [/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(SectionHeader, {
76045
76186
  children: "Installed"
76046
- }), hasBrowserToolMatches && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(AccordionComponent, {
76187
+ }), hasBrowserToolMatches && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(AccordionComponent, {
76047
76188
  type: "multiple",
76048
76189
  className: "mb-2 space-y-2",
76049
- children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(BrowserToolsCard, {
76190
+ children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(BrowserToolsCard, {
76050
76191
  tools: browserTools,
76051
76192
  activeTools,
76052
76193
  onToolsChange: setBrowserTools,
76053
76194
  toolFilter,
76054
76195
  serverVersion
76055
76196
  })
76056
- }), /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(PluginList, {
76197
+ }), /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(PluginList, {
76057
76198
  plugins: installedMatches,
76058
- failedPlugins: [],
76199
+ failedPlugins: failedMatches,
76059
76200
  activeTools,
76060
76201
  setPlugins,
76061
76202
  toolFilter: "",
@@ -76065,34 +76206,35 @@ var SearchResults = (t0) => {
76065
76206
  pluginErrors
76066
76207
  })]
76067
76208
  });
76068
- $[31] = activeTools;
76069
- $[32] = browserTools;
76070
- $[33] = hasBrowserToolMatches;
76071
- $[34] = hasInstalledResults;
76072
- $[35] = installedMatches;
76073
- $[36] = onRemove;
76074
- $[37] = onUpdate;
76075
- $[38] = pluginErrors;
76076
- $[39] = removingPlugins;
76077
- $[40] = serverVersion;
76078
- $[41] = setBrowserTools;
76079
- $[42] = setPlugins;
76080
- $[43] = toolFilter;
76081
- $[44] = t4;
76209
+ $[34] = activeTools;
76210
+ $[35] = browserTools;
76211
+ $[36] = failedMatches;
76212
+ $[37] = hasBrowserToolMatches;
76213
+ $[38] = hasInstalledResults;
76214
+ $[39] = installedMatches;
76215
+ $[40] = onRemove;
76216
+ $[41] = onUpdate;
76217
+ $[42] = pluginErrors;
76218
+ $[43] = removingPlugins;
76219
+ $[44] = serverVersion;
76220
+ $[45] = setBrowserTools;
76221
+ $[46] = setPlugins;
76222
+ $[47] = toolFilter;
76223
+ $[48] = t4;
76082
76224
  } else {
76083
- t4 = $[44];
76225
+ t4 = $[48];
76084
76226
  }
76085
- t5 = toolFilter && (npmSearching ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", {
76227
+ t5 = toolFilter && (npmSearching ? /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", {
76086
76228
  className: "flex justify-center py-4",
76087
- children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Loader2, {
76229
+ children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Loader2, {
76088
76230
  size: "sm"
76089
76231
  })
76090
- }) : availableResults.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", {
76091
- children: [/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(SectionHeader, {
76232
+ }) : availableResults.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", {
76233
+ children: [/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(SectionHeader, {
76092
76234
  children: "Available"
76093
- }), /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", {
76235
+ }), /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", {
76094
76236
  className: "space-y-2",
76095
- children: availableResults.map((result) => /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(NpmPluginCard, {
76237
+ children: availableResults.map((result) => /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(NpmPluginCard, {
76096
76238
  plugin: result,
76097
76239
  installing: installingPlugins.has(result.name),
76098
76240
  error: installErrors.get(result.name) ?? null,
@@ -76100,72 +76242,73 @@ var SearchResults = (t0) => {
76100
76242
  }, result.name))
76101
76243
  })]
76102
76244
  }));
76103
- $[7] = activeTools;
76104
- $[8] = browserTools;
76105
- $[9] = hasBrowserToolMatches;
76106
- $[10] = installErrors;
76107
- $[11] = installedMatches;
76108
- $[12] = installedShortNames;
76109
- $[13] = installingPlugins;
76110
- $[14] = npmResults;
76111
- $[15] = npmSearching;
76112
- $[16] = onInstall;
76113
- $[17] = onRemove;
76114
- $[18] = onUpdate;
76115
- $[19] = pluginErrors;
76116
- $[20] = removingPlugins;
76117
- $[21] = serverVersion;
76118
- $[22] = setBrowserTools;
76119
- $[23] = setPlugins;
76120
- $[24] = toolFilter;
76121
- $[25] = showNoResults;
76122
- $[26] = t3;
76123
- $[27] = t4;
76124
- $[28] = t5;
76245
+ $[9] = activeTools;
76246
+ $[10] = browserTools;
76247
+ $[11] = failedMatches;
76248
+ $[12] = hasBrowserToolMatches;
76249
+ $[13] = installErrors;
76250
+ $[14] = installedMatches;
76251
+ $[15] = installedShortNames;
76252
+ $[16] = installingPlugins;
76253
+ $[17] = npmResults;
76254
+ $[18] = npmSearching;
76255
+ $[19] = onInstall;
76256
+ $[20] = onRemove;
76257
+ $[21] = onUpdate;
76258
+ $[22] = pluginErrors;
76259
+ $[23] = removingPlugins;
76260
+ $[24] = serverVersion;
76261
+ $[25] = setBrowserTools;
76262
+ $[26] = setPlugins;
76263
+ $[27] = toolFilter;
76264
+ $[28] = showNoResults;
76265
+ $[29] = t3;
76266
+ $[30] = t4;
76267
+ $[31] = t5;
76125
76268
  } else {
76126
- showNoResults = $[25];
76127
- t3 = $[26];
76128
- t4 = $[27];
76129
- t5 = $[28];
76269
+ showNoResults = $[28];
76270
+ t3 = $[29];
76271
+ t4 = $[30];
76272
+ t5 = $[31];
76130
76273
  }
76131
76274
  let t6;
76132
- if ($[45] !== showNoResults) {
76133
- t6 = showNoResults && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", {
76275
+ if ($[49] !== showNoResults) {
76276
+ t6 = showNoResults && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", {
76134
76277
  className: "text-muted-foreground py-8 text-center text-sm",
76135
76278
  children: "No results"
76136
76279
  });
76137
- $[45] = showNoResults;
76138
- $[46] = t6;
76280
+ $[49] = showNoResults;
76281
+ $[50] = t6;
76139
76282
  } else {
76140
- t6 = $[46];
76283
+ t6 = $[50];
76141
76284
  }
76142
76285
  let t7;
76143
- if ($[47] !== t3 || $[48] !== t4 || $[49] !== t5 || $[50] !== t6) {
76144
- t7 = /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", {
76286
+ if ($[51] !== t3 || $[52] !== t4 || $[53] !== t5 || $[54] !== t6) {
76287
+ t7 = /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", {
76145
76288
  className: t3,
76146
76289
  children: [t4, t5, t6]
76147
76290
  });
76148
- $[47] = t3;
76149
- $[48] = t4;
76150
- $[49] = t5;
76151
- $[50] = t6;
76152
- $[51] = t7;
76291
+ $[51] = t3;
76292
+ $[52] = t4;
76293
+ $[53] = t5;
76294
+ $[54] = t6;
76295
+ $[55] = t7;
76153
76296
  } else {
76154
- t7 = $[51];
76297
+ t7 = $[55];
76155
76298
  }
76156
76299
  return t7;
76157
76300
  };
76158
76301
  SearchResults.displayName = "SearchResults";
76159
- function _temp12(p_0) {
76160
- return extractShortName(p_0.name);
76302
+ function _temp12(p_1) {
76303
+ return extractShortName(p_1.name);
76161
76304
  }
76162
76305
 
76163
76306
  // src/side-panel/hooks/useServerNotifications.ts
76164
- var import_compiler_runtime30 = __toESM(require_compiler_runtime(), 1);
76307
+ var import_compiler_runtime31 = __toESM(require_compiler_runtime(), 1);
76165
76308
  var import_react21 = __toESM(require_react(), 1);
76166
76309
  var validTabStates = /* @__PURE__ */ new Set(["closed", "unavailable", "ready"]);
76167
76310
  var useServerNotifications = (t0) => {
76168
- const $ = (0, import_compiler_runtime30.c)(10);
76311
+ const $ = (0, import_compiler_runtime31.c)(10);
76169
76312
  const {
76170
76313
  setPlugins,
76171
76314
  setActiveTools,
@@ -76328,9 +76471,9 @@ function _temp13() {
76328
76471
 
76329
76472
  // src/side-panel/App.tsx
76330
76473
  var import_react22 = __toESM(require_react(), 1);
76331
- var import_jsx_runtime57 = __toESM(require_jsx_runtime(), 1);
76474
+ var import_jsx_runtime58 = __toESM(require_jsx_runtime(), 1);
76332
76475
  var App = () => {
76333
- const $ = (0, import_compiler_runtime31.c)(68);
76476
+ const $ = (0, import_compiler_runtime32.c)(68);
76334
76477
  const [connected, setConnected] = (0, import_react22.useState)(false);
76335
76478
  const [disconnectReason, setDisconnectReason] = (0, import_react22.useState)();
76336
76479
  let t0;
@@ -76802,7 +76945,7 @@ var App = () => {
76802
76945
  const showNoPlugins = pluginsLoaded && !hasContent && !searchQuery;
76803
76946
  let t27;
76804
76947
  if ($[34] !== connected || $[35] !== handleConfirmationRespond || $[36] !== handleDenyAll || $[37] !== pendingConfirmations) {
76805
- t27 = connected && pendingConfirmations.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(ConfirmationDialog, {
76948
+ t27 = connected && pendingConfirmations.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(ConfirmationDialog, {
76806
76949
  confirmations: pendingConfirmations,
76807
76950
  onRespond: handleConfirmationRespond,
76808
76951
  onDenyAll: handleDenyAll
@@ -76817,22 +76960,22 @@ var App = () => {
76817
76960
  }
76818
76961
  let t28;
76819
76962
  if ($[39] !== searchQuery || $[40] !== showSearchBar) {
76820
- t28 = showSearchBar && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", {
76963
+ t28 = showSearchBar && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", {
76821
76964
  className: "pt-4 pr-5 pb-2 pl-4",
76822
- children: /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", {
76965
+ children: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", {
76823
76966
  className: "relative",
76824
- children: [/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Search, {
76967
+ children: [/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Search, {
76825
76968
  className: "text-muted-foreground pointer-events-none absolute top-1/2 left-2 h-4 w-4 -translate-y-1/2"
76826
- }), /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Input, {
76969
+ }), /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Input, {
76827
76970
  value: searchQuery,
76828
76971
  onChange: (e) => handleSearchChange(e.target.value),
76829
76972
  placeholder: "Search plugins and tools...",
76830
76973
  className: "pr-8 pl-9"
76831
- }), searchQuery && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("button", {
76974
+ }), searchQuery && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("button", {
76832
76975
  type: "button",
76833
76976
  onClick: () => handleSearchChange(""),
76834
76977
  className: "text-muted-foreground hover:text-foreground absolute top-1/2 right-2 -translate-y-1/2 cursor-pointer",
76835
- children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(X, {
76978
+ children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(X, {
76836
76979
  className: "h-4 w-4"
76837
76980
  })
76838
76981
  })]
@@ -76847,9 +76990,9 @@ var App = () => {
76847
76990
  const t29 = `flex-1 pr-5 pb-2 pl-4 ${showSearchBar ? "pt-2" : "pt-4"} ${showPlugins ? "" : "flex items-center justify-center"}`;
76848
76991
  let t30;
76849
76992
  if ($[42] !== activeTools || $[43] !== browserTools || $[44] !== connected || $[45] !== disconnectReason || $[46] !== failedPlugins || $[47] !== hasContent || $[48] !== installErrors || $[49] !== installingPlugins || $[50] !== loading || $[51] !== npmResults || $[52] !== npmSearching || $[53] !== pluginErrors || $[54] !== plugins || $[55] !== removingPlugins || $[56] !== searchQuery || $[57] !== serverVersion || $[58] !== showNoPlugins) {
76850
- t30 = loading ? /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(LoadingState, {}) : !connected ? /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(DisconnectedState, {
76993
+ t30 = loading ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(LoadingState, {}) : !connected ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(DisconnectedState, {
76851
76994
  reason: disconnectReason
76852
- }) : showNoPlugins ? /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(NoPluginsState, {}) : searchQuery ? /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(SearchResults, {
76995
+ }) : showNoPlugins ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(NoPluginsState, {}) : searchQuery ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(SearchResults, {
76853
76996
  plugins,
76854
76997
  failedPlugins,
76855
76998
  browserTools,
@@ -76867,17 +77010,17 @@ var App = () => {
76867
77010
  removingPlugins,
76868
77011
  pluginErrors,
76869
77012
  serverVersion
76870
- }) : hasContent ? /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_jsx_runtime57.Fragment, {
76871
- children: [browserTools.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(AccordionComponent, {
77013
+ }) : hasContent ? /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_jsx_runtime58.Fragment, {
77014
+ children: [browserTools.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(AccordionComponent, {
76872
77015
  type: "multiple",
76873
77016
  className: "mb-2 space-y-2",
76874
- children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(BrowserToolsCard, {
77017
+ children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(BrowserToolsCard, {
76875
77018
  tools: browserTools,
76876
77019
  activeTools,
76877
77020
  onToolsChange: setBrowserTools,
76878
77021
  serverVersion
76879
77022
  })
76880
- }), /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(PluginList, {
77023
+ }), /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(PluginList, {
76881
77024
  plugins,
76882
77025
  failedPlugins,
76883
77026
  activeTools,
@@ -76912,7 +77055,7 @@ var App = () => {
76912
77055
  }
76913
77056
  let t31;
76914
77057
  if ($[60] !== t29 || $[61] !== t30) {
76915
- t31 = /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("main", {
77058
+ t31 = /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("main", {
76916
77059
  className: t29,
76917
77060
  children: t30
76918
77061
  });
@@ -76924,15 +77067,15 @@ var App = () => {
76924
77067
  }
76925
77068
  let t32;
76926
77069
  if ($[63] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
76927
- t32 = /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Footer, {});
77070
+ t32 = /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Footer, {});
76928
77071
  $[63] = t32;
76929
77072
  } else {
76930
77073
  t32 = $[63];
76931
77074
  }
76932
77075
  let t33;
76933
77076
  if ($[64] !== t27 || $[65] !== t28 || $[66] !== t31) {
76934
- t33 = /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(TooltipObject.Provider, {
76935
- children: /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", {
77077
+ t33 = /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(TooltipObject.Provider, {
77078
+ children: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", {
76936
77079
  className: "text-foreground flex min-h-screen flex-col",
76937
77080
  children: [t27, t28, t31, t32]
76938
77081
  })
@@ -76957,7 +77100,7 @@ function _temp28(p_1) {
76957
77100
 
76958
77101
  // src/side-panel/components/ErrorBoundary.tsx
76959
77102
  var import_react23 = __toESM(require_react(), 1);
76960
- var import_jsx_runtime58 = __toESM(require_jsx_runtime(), 1);
77103
+ var import_jsx_runtime59 = __toESM(require_jsx_runtime(), 1);
76961
77104
  var ErrorBoundary = class extends import_react23.Component {
76962
77105
  state = {
76963
77106
  hasError: false
@@ -76972,16 +77115,16 @@ var ErrorBoundary = class extends import_react23.Component {
76972
77115
  }
76973
77116
  render() {
76974
77117
  if (this.state.hasError) {
76975
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", {
77118
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", {
76976
77119
  className: "flex min-h-screen flex-col items-center justify-center px-4 py-16 text-center",
76977
- children: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(AlertComponent, {
77120
+ children: /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(AlertComponent, {
76978
77121
  status: "error",
76979
77122
  className: "max-w-xs",
76980
- children: [/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(AlertComponent.Title, {
77123
+ children: [/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(AlertComponent.Title, {
76981
77124
  children: "Something went wrong"
76982
- }), /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(AlertComponent.Description, {
77125
+ }), /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(AlertComponent.Description, {
76983
77126
  children: "The side panel encountered an unexpected error."
76984
- }), /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Button, {
77127
+ }), /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Button, {
76985
77128
  variant: "default",
76986
77129
  size: "sm",
76987
77130
  className: "mt-4 w-full",
@@ -76998,15 +77141,15 @@ var ErrorBoundary = class extends import_react23.Component {
76998
77141
  // src/side-panel/index.tsx
76999
77142
  var import_react24 = __toESM(require_react(), 1);
77000
77143
  var import_client = __toESM(require_client(), 1);
77001
- var import_jsx_runtime59 = __toESM(require_jsx_runtime(), 1);
77144
+ var import_jsx_runtime60 = __toESM(require_jsx_runtime(), 1);
77002
77145
  var rootEl = document.getElementById("root");
77003
77146
  if (!rootEl) {
77004
77147
  throw new Error("Root element not found");
77005
77148
  }
77006
77149
  var root = (0, import_client.createRoot)(rootEl);
77007
- root.render(/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_react24.StrictMode, {
77008
- children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(ErrorBoundary, {
77009
- children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(App, {})
77150
+ root.render(/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_react24.StrictMode, {
77151
+ children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(ErrorBoundary, {
77152
+ children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(App, {})
77010
77153
  })
77011
77154
  }));
77012
77155
  /*! Bundled license information: