@mercurjs/admin 2.3.6-canary.1 → 2.3.6-canary.2

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.
Files changed (131) hide show
  1. package/dist/{add-campaign-promotions-PBGDZSCD.js → add-campaign-promotions-VFRAB2NN.js} +3 -3
  2. package/dist/{adjust-inventory-BBAU3NMM.js → adjust-inventory-TWESAGKE.js} +1 -1
  3. package/dist/{api-key-management-detail-ZGGQBQAM.js → api-key-management-detail-ZFA3YPJ6.js} +1 -1
  4. package/dist/{attribute-create-C435ZHB2.js → attribute-create-OHAZ4X75.js} +1 -1
  5. package/dist/{attribute-detail-SPYDB3I5.js → attribute-detail-YJ4ZZYCL.js} +1 -1
  6. package/dist/{attribute-list-SCFBKH4L.js → attribute-list-MEXPF4TG.js} +1 -1
  7. package/dist/{campaign-detail-BHRCOKL3.js → campaign-detail-3HKWD7UR.js} +5 -5
  8. package/dist/{categories-metadata-MJAYSCTW.js → categories-metadata-6LMZAUOF.js} +1 -1
  9. package/dist/{category-detail-GVEDFNM7.js → category-detail-RWLX5N2M.js} +3 -3
  10. package/dist/{category-products-VVF5NXCE.js → category-products-HS4FHYZM.js} +2 -2
  11. package/dist/{chunk-PAG3PYAQ.js → chunk-2RVWPHH7.js} +1 -1
  12. package/dist/{chunk-RW3NEG36.js → chunk-6CD2A2OS.js} +2 -2
  13. package/dist/{chunk-HFM6N7R3.js → chunk-AYT2CZ4A.js} +1 -1
  14. package/dist/{chunk-B7QLJF77.js → chunk-BDXJOPLO.js} +1 -1
  15. package/dist/{chunk-Q6M2TNLO.js → chunk-BEBP26XV.js} +0 -290
  16. package/dist/{chunk-BQZ5P3IA.js → chunk-BVAVPYHI.js} +1 -1
  17. package/dist/{chunk-VWPX7GLC.js → chunk-DBGBLXBS.js} +1 -1
  18. package/dist/{chunk-6UYV7B42.js → chunk-EACE4252.js} +2 -2
  19. package/dist/{chunk-5TIADRZ7.js → chunk-FPIFYOMN.js} +1 -1
  20. package/dist/{chunk-Q732RWRD.js → chunk-FS4E6GS6.js} +2 -2
  21. package/dist/{chunk-R2ODJ3D3.js → chunk-GD7FWYHP.js} +1 -1
  22. package/dist/{chunk-G2KWNZV6.js → chunk-HEGUG6HH.js} +1 -1
  23. package/dist/{chunk-NQEXDESI.js → chunk-IAJ5F227.js} +1 -1
  24. package/dist/{chunk-P2KYQNXQ.js → chunk-JNZPAM34.js} +1 -1
  25. package/dist/{chunk-6P7HBAUM.js → chunk-KRCHKYDN.js} +1 -1
  26. package/dist/{chunk-VE5FQQTG.js → chunk-N2733YCW.js} +1 -1
  27. package/dist/{chunk-B6KT5U7W.js → chunk-NHDNRGKP.js} +1 -1
  28. package/dist/{chunk-7YBZ2PEZ.js → chunk-NYMDLCWP.js} +1 -1
  29. package/dist/{chunk-EJGGX3ON.js → chunk-OUXIGGB5.js} +3 -3
  30. package/dist/{chunk-5ENOJFDI.js → chunk-OVVFJY7I.js} +1 -1
  31. package/dist/{chunk-ESNSDIEC.js → chunk-PDPCFFFH.js} +1 -1
  32. package/dist/{chunk-JBT2FR4K.js → chunk-QQNSPKSH.js} +1 -1
  33. package/dist/{chunk-M336ZIRO.js → chunk-R2DDRU77.js} +1 -1
  34. package/dist/{chunk-7I7G5ZJE.js → chunk-RJYASAQO.js} +1 -1
  35. package/dist/{chunk-NCDKLTDP.js → chunk-T3T6OYAT.js} +1 -1
  36. package/dist/{chunk-XMIDY45X.js → chunk-TDLIW2TU.js} +1 -1
  37. package/dist/{chunk-ENKVW7JW.js → chunk-TUDKRZ6P.js} +1 -1
  38. package/dist/{chunk-MXM5ZD4Y.js → chunk-W5U6NPSN.js} +10 -25
  39. package/dist/{chunk-5SNW2DCY.js → chunk-YTQY4EOW.js} +1 -1
  40. package/dist/{collection-add-products-HCY2YT3W.js → collection-add-products-FFYCZINV.js} +2 -2
  41. package/dist/{collection-detail-QAEPOJZX.js → collection-detail-JT4DSP7V.js} +3 -3
  42. package/dist/{collection-list-AWLZYMWL.js → collection-list-3DODRV34.js} +2 -2
  43. package/dist/{collection-metadata-XM2EBCWF.js → collection-metadata-7XMJPJCT.js} +1 -1
  44. package/dist/{customer-detail-XO7RBVUC.js → customer-detail-AMGUVNTH.js} +1 -1
  45. package/dist/{customer-group-detail-4G53UKOS.js → customer-group-detail-PDA3JCAZ.js} +1 -1
  46. package/dist/{customer-group-list-5VA7HGD5.js → customer-group-list-2NP5GAKQ.js} +1 -1
  47. package/dist/{customer-group-metadata-FUJFFWCO.js → customer-group-metadata-B7LBRM5F.js} +1 -1
  48. package/dist/{customer-metadata-GWZC456X.js → customer-metadata-WL5W5JSC.js} +1 -1
  49. package/dist/{customers-add-customer-group-MYC76YGW.js → customers-add-customer-group-GNDYPKUO.js} +1 -1
  50. package/dist/{edit-inventory-item-ZSV4WF6G.js → edit-inventory-item-QNTKH7KR.js} +1 -1
  51. package/dist/{edit-inventory-item-attributes-NWSAQMKX.js → edit-inventory-item-attributes-KB4GVOGP.js} +1 -1
  52. package/dist/{edit-rules-RJC3AYJN.js → edit-rules-HIC7UOV5.js} +1 -1
  53. package/dist/extension-targets.d.ts +2 -0
  54. package/dist/index.css +0 -3
  55. package/dist/index.d.ts +1 -3
  56. package/dist/index.js +476 -888
  57. package/dist/{inventory-detail-7HB5QEL4.js → inventory-detail-OLBIFY6Y.js} +1 -1
  58. package/dist/{inventory-metadata-FGHOW3YG.js → inventory-metadata-2QNV2PF7.js} +1 -1
  59. package/dist/{inventory-stock-PZ2ENOGF.js → inventory-stock-M5YSKXC4.js} +1 -1
  60. package/dist/{location-detail-B2BWLVAD.js → location-detail-FFKVKFUX.js} +1 -1
  61. package/dist/{location-fulfillment-providers-XIYMIEFN.js → location-fulfillment-providers-YY2TKMLH.js} +2 -2
  62. package/dist/{location-list-VIAP63HV.js → location-list-R3OABFPG.js} +1 -1
  63. package/dist/{location-service-zone-shipping-option-create-6O2JXV6I.js → location-service-zone-shipping-option-create-EMPXW67L.js} +1 -1
  64. package/dist/{login-TZHRVYA5.js → login-ZCAW7Z7Q.js} +1 -1
  65. package/dist/{manage-locations-ZFIRHMNH.js → manage-locations-TCMY6A4J.js} +145 -34
  66. package/dist/{marketplace-detail-4IP5HIEW.js → marketplace-detail-BIQF75Y7.js} +1 -1
  67. package/dist/{marketplace-metadata-EGDXYKCE.js → marketplace-metadata-U6LXZNTN.js} +1 -1
  68. package/dist/{offers-VG334CFD.js → offers-KJTLBFTM.js} +2 -2
  69. package/dist/{order-create-exchange-CC7CQECO.js → order-create-exchange-TSGTAOEF.js} +1 -1
  70. package/dist/{order-create-refund-FJLL4CUD.js → order-create-refund-KYTIPPQK.js} +1 -1
  71. package/dist/{order-detail-3ODC5NOT.js → order-detail-P7R4U4YU.js} +2 -2
  72. package/dist/{order-edit-billing-address-SBVWRA25.js → order-edit-billing-address-6ALJ7U6O.js} +2 -2
  73. package/dist/{order-edit-email-BREEW246.js → order-edit-email-CYCFGHE4.js} +1 -1
  74. package/dist/{order-edit-shipping-address-XUG74AFY.js → order-edit-shipping-address-XJUKP3JP.js} +1 -1
  75. package/dist/{order-metadata-VIG5MGYV.js → order-metadata-PQKBD7ZT.js} +1 -1
  76. package/dist/{order-request-transfer-RYVK4WYW.js → order-request-transfer-R3FCUU7R.js} +1 -1
  77. package/dist/pages/index.js +28 -28
  78. package/dist/{price-list-create-JFXLTNOJ.js → price-list-create-PHJFJOQA.js} +3 -3
  79. package/dist/{price-list-detail-5YTX66KF.js → price-list-detail-CGZ5DS6T.js} +3 -3
  80. package/dist/{price-list-prices-add-HVTEQOWQ.js → price-list-prices-add-O5JDIJ3O.js} +3 -3
  81. package/dist/{price-list-prices-edit-OVHIDATP.js → price-list-prices-edit-ITO6ZTGD.js} +1 -1
  82. package/dist/{product-add-existing-attributes-2UFTXE2N.js → product-add-existing-attributes-5XGJZSIY.js} +1 -1
  83. package/dist/{product-create-SHIGHLQN.js → product-create-P7F2RZPS.js} +4 -4
  84. package/dist/{product-detail-UGSTCK7J.js → product-detail-G6HRH4ND.js} +1 -1
  85. package/dist/{product-list-XDJB3HX7.js → product-list-O35LY6T7.js} +3 -3
  86. package/dist/{product-media-CO3F57JT.js → product-media-3ERT2APJ.js} +2 -2
  87. package/dist/{product-metadata-5CRGB7TR.js → product-metadata-2QQGBVV5.js} +1 -1
  88. package/dist/{product-organization-TNS7GBKN.js → product-organization-VXTSCBHU.js} +1 -1
  89. package/dist/{product-tag-create-QORH6X2D.js → product-tag-create-4CDCZZNR.js} +1 -1
  90. package/dist/{product-tag-detail-CDSYBTAM.js → product-tag-detail-5YX4ET5N.js} +4 -4
  91. package/dist/{product-tag-edit-JWYVCPCC.js → product-tag-edit-UBXKLVUN.js} +1 -1
  92. package/dist/{product-tag-list-RKLCU3UE.js → product-tag-list-GNGDIW54.js} +4 -4
  93. package/dist/{product-tag-metadata-BCUPIIJ5.js → product-tag-metadata-CDXKXZPM.js} +1 -1
  94. package/dist/{product-type-detail-IY7TWXUQ.js → product-type-detail-A3MUWNM4.js} +3 -3
  95. package/dist/{product-type-metadata-DKBBQB6R.js → product-type-metadata-IISED7XQ.js} +1 -1
  96. package/dist/{product-variant-detail-XHMS2UT5.js → product-variant-detail-TIULIJ3X.js} +1 -1
  97. package/dist/{product-variant-edit-4DPXTYPT.js → product-variant-edit-Y4BJFQTK.js} +1 -1
  98. package/dist/{product-variant-metadata-ETVJBXSW.js → product-variant-metadata-7SKGOEEA.js} +1 -1
  99. package/dist/{promotion-create-7ZUJ4W2J.js → promotion-create-D6PTGIAY.js} +1 -1
  100. package/dist/{promotion-detail-SWO4PZDC.js → promotion-detail-4VYJAJ2N.js} +4 -4
  101. package/dist/{promotion-list-S4B6SVD6.js → promotion-list-6OBFAIOU.js} +4 -4
  102. package/dist/{refund-reason-create-P5FUFEGK.js → refund-reason-create-DAOTHCMY.js} +1 -1
  103. package/dist/{refund-reason-edit-AKOTWXCE.js → refund-reason-edit-M3AKWJZR.js} +1 -1
  104. package/dist/{refund-reason-list-ABRFC3OQ.js → refund-reason-list-WGRCZWXL.js} +2 -2
  105. package/dist/{region-metadata-Q6HEMCHD.js → region-metadata-IK6ZPUJW.js} +1 -1
  106. package/dist/{reservation-detail-5GYGVM3M.js → reservation-detail-7PLHNOS4.js} +1 -1
  107. package/dist/{reservation-metadata-P4G3JEDW.js → reservation-metadata-L42C7DPK.js} +1 -1
  108. package/dist/{reset-password-VJY5CXJU.js → reset-password-EUAOKJDU.js} +1 -1
  109. package/dist/{sales-channel-add-products-MPJ7UCEJ.js → sales-channel-add-products-EHFMW73I.js} +2 -2
  110. package/dist/{sales-channel-detail-F37LBP6R.js → sales-channel-detail-5CL3LMRD.js} +3 -3
  111. package/dist/{sales-channel-list-XAWN5OKC.js → sales-channel-list-ZEERNIJZ.js} +1 -1
  112. package/dist/{sales-channel-metadata-NBWFH4QX.js → sales-channel-metadata-OFHAFCOM.js} +1 -1
  113. package/dist/{shipping-option-type-create-M23CI42D.js → shipping-option-type-create-4TZVLPFU.js} +1 -1
  114. package/dist/{shipping-option-type-detail-QIJZQ5WW.js → shipping-option-type-detail-TPG7NKCT.js} +3 -3
  115. package/dist/{shipping-option-type-edit-WXTEQM32.js → shipping-option-type-edit-BIWXDVMF.js} +1 -1
  116. package/dist/{shipping-option-type-list-PRXZQSPR.js → shipping-option-type-list-5DOYVCD6.js} +3 -3
  117. package/dist/{shipping-profile-metadata-S7Z3IC6I.js → shipping-profile-metadata-SQFRUAIH.js} +1 -1
  118. package/dist/{store-create-J4SL6SY3.js → store-create-RYYOB2FV.js} +1 -1
  119. package/dist/{store-details-ITYKAZSI.js → store-details-A2L6YQDB.js} +3 -3
  120. package/dist/{store-edit-NZMI7PNS.js → store-edit-BORBEPWF.js} +2 -2
  121. package/dist/{store-list-RXPN3VVO.js → store-list-JADJQPSK.js} +2 -2
  122. package/dist/{tax-region-create-PIDKQEWT.js → tax-region-create-Q2QYTIHC.js} +2 -2
  123. package/dist/{tax-region-detail-7RNNZ4UE.js → tax-region-detail-AJ2O7YKC.js} +1 -1
  124. package/dist/{tax-region-edit-I27QZZPB.js → tax-region-edit-A6C4VTTZ.js} +1 -1
  125. package/dist/{tax-region-metadata-6YIZSRLO.js → tax-region-metadata-6QI4VPCV.js} +1 -1
  126. package/dist/{tax-region-province-detail-AHS5SRP5.js → tax-region-province-detail-SZAUBE23.js} +1 -1
  127. package/dist/{tax-region-tax-override-create-Z6S43XQ6.js → tax-region-tax-override-create-IPHOMPVG.js} +3 -3
  128. package/dist/{tax-region-tax-override-edit-4EOURL2M.js → tax-region-tax-override-edit-IV57DNYU.js} +3 -3
  129. package/dist/{user-metadata-2PEU2IJE.js → user-metadata-M72ZGLGH.js} +1 -1
  130. package/package.json +6 -6
  131. package/dist/chunk-WMA3WTCM.js +0 -117
package/dist/index.js CHANGED
@@ -11,9 +11,6 @@ import {
11
11
  import {
12
12
  isClientError
13
13
  } from "./chunk-C6SUTRP2.js";
14
- import {
15
- InfiniteList
16
- } from "./chunk-WMA3WTCM.js";
17
14
  import "./chunk-FMFVTERD.js";
18
15
  import "./chunk-JRTZWK77.js";
19
16
  import {
@@ -29,7 +26,7 @@ import {
29
26
  } from "./chunk-KDE4HKH2.js";
30
27
  import {
31
28
  I18n
32
- } from "./chunk-Q6M2TNLO.js";
29
+ } from "./chunk-BEBP26XV.js";
33
30
  import {
34
31
  SwitchBox
35
32
  } from "./chunk-2EME4AWX.js";
@@ -60,10 +57,8 @@ import "./chunk-IKAUNMRC.js";
60
57
  import "./chunk-EIWPJWKF.js";
61
58
  import "./chunk-46WEBDVJ.js";
62
59
  import {
63
- notificationQueryKeys,
64
- useNotifications,
65
60
  useProductTags
66
- } from "./chunk-MXM5ZD4Y.js";
61
+ } from "./chunk-W5U6NPSN.js";
67
62
  import {
68
63
  useLogout
69
64
  } from "./chunk-DSQRFZCO.js";
@@ -138,9 +133,7 @@ import {
138
133
  queryClient
139
134
  } from "./chunk-RHKRREUU.js";
140
135
  import "./chunk-ZA2KFUFR.js";
141
- import {
142
- sdk
143
- } from "./chunk-DTGEFKK4.js";
136
+ import "./chunk-DTGEFKK4.js";
144
137
  import "./chunk-NBMM2TZK.js";
145
138
 
146
139
  // src/app.tsx
@@ -1556,9 +1549,9 @@ import {
1556
1549
  Tag,
1557
1550
  Users
1558
1551
  } from "@medusajs/icons";
1559
- import { Avatar as Avatar2, Divider, DropdownMenu as DropdownMenu3, Text as Text7, clx as clx6 } from "@medusajs/ui";
1552
+ import { Avatar as Avatar2, Divider, DropdownMenu as DropdownMenu3, Text as Text5, clx as clx5 } from "@medusajs/ui";
1560
1553
  import { useMemo as useMemo5 } from "react";
1561
- import { useTranslation as useTranslation9 } from "react-i18next";
1554
+ import { useTranslation as useTranslation8 } from "react-i18next";
1562
1555
  import { Link as Link3, useLocation as useLocation6, useNavigate as useNavigate4 } from "react-router-dom";
1563
1556
 
1564
1557
  // src/components/layout/nav-item/nav-item.tsx
@@ -1787,17 +1780,18 @@ var Icon = ({ icon, type }) => {
1787
1780
 
1788
1781
  // src/components/layout/shell/shell.tsx
1789
1782
  import { SidebarLeft, TriangleRightMini, XMark } from "@medusajs/icons";
1790
- import { IconButton as IconButton4, clx as clx4 } from "@medusajs/ui";
1783
+ import { IconButton as IconButton2, clx as clx3 } from "@medusajs/ui";
1791
1784
  import { AnimatePresence } from "motion/react";
1792
1785
  import { Dialog as RadixDialog2 } from "radix-ui";
1793
- import { useEffect as useEffect8, useState as useState9 } from "react";
1794
- import { useTranslation as useTranslation6 } from "react-i18next";
1786
+ import { useEffect as useEffect7, useState as useState8 } from "react";
1787
+ import { useTranslation as useTranslation5 } from "react-i18next";
1795
1788
  import {
1796
1789
  Link,
1797
1790
  Outlet as Outlet2,
1798
1791
  useMatches,
1799
1792
  useNavigation
1800
1793
  } from "react-router-dom";
1794
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
1801
1795
 
1802
1796
  // src/components/common/progress-bar/progress-bar.tsx
1803
1797
  import { motion } from "motion/react";
@@ -1826,443 +1820,38 @@ var ProgressBar = ({ duration = 2 }) => {
1826
1820
  );
1827
1821
  };
1828
1822
 
1829
- // src/components/layout/notifications/notifications.tsx
1830
- import {
1831
- BellAlert,
1832
- BellAlertDone,
1833
- InformationCircleSolid
1834
- } from "@medusajs/icons";
1835
- import { clx as clx3, Drawer, Heading, IconButton as IconButton3, Text as Text4 } from "@medusajs/ui";
1836
- import { formatDistance } from "date-fns";
1837
- import { useEffect as useEffect7, useState as useState8 } from "react";
1838
- import { useTranslation as useTranslation5 } from "react-i18next";
1839
-
1840
- // src/components/common/file-preview/file-preview.tsx
1841
- import { ArrowDownTray, Spinner as Spinner3 } from "@medusajs/icons";
1842
- import { IconButton as IconButton2, Text as Text3 } from "@medusajs/ui";
1843
- import { jsx as jsx8, jsxs as jsxs4 } from "react/jsx-runtime";
1844
- var FilePreview = ({
1845
- filename,
1846
- url,
1847
- loading,
1848
- activity,
1849
- actions,
1850
- hideThumbnail
1851
- }) => {
1852
- return /* @__PURE__ */ jsx8("div", { className: "shadow-elevation-card-rest bg-ui-bg-component transition-fg rounded-md px-3 py-2", children: /* @__PURE__ */ jsxs4("div", { className: "flex flex-row items-center justify-between gap-2", children: [
1853
- /* @__PURE__ */ jsxs4("div", { className: "flex flex-row items-center gap-3", children: [
1854
- !hideThumbnail && /* @__PURE__ */ jsx8(FileThumbnail, {}),
1855
- /* @__PURE__ */ jsxs4("div", { className: "flex flex-col justify-center", children: [
1856
- /* @__PURE__ */ jsx8(
1857
- Text3,
1858
- {
1859
- size: "small",
1860
- leading: "compact",
1861
- className: "truncate max-w-[260px]",
1862
- children: filename
1863
- }
1864
- ),
1865
- loading && !!activity && /* @__PURE__ */ jsx8(
1866
- Text3,
1867
- {
1868
- leading: "compact",
1869
- size: "xsmall",
1870
- className: "text-ui-fg-interactive",
1871
- children: activity
1872
- }
1873
- )
1874
- ] })
1875
- ] }),
1876
- loading && /* @__PURE__ */ jsx8(Spinner3, { className: "animate-spin" }),
1877
- !loading && actions && /* @__PURE__ */ jsx8(ActionMenu, { groups: actions }),
1878
- !loading && url && /* @__PURE__ */ jsx8(IconButton2, { variant: "transparent", asChild: true, children: /* @__PURE__ */ jsx8("a", { href: url, download: filename ?? `${Date.now()}`, children: /* @__PURE__ */ jsx8(ArrowDownTray, {}) }) })
1879
- ] }) });
1880
- };
1881
- var FileThumbnail = () => {
1882
- return /* @__PURE__ */ jsxs4(
1883
- "svg",
1884
- {
1885
- width: "24",
1886
- height: "32",
1887
- viewBox: "0 0 24 32",
1888
- fill: "none",
1889
- xmlns: "http://www.w3.org/2000/svg",
1890
- children: [
1891
- /* @__PURE__ */ jsx8(
1892
- "path",
1893
- {
1894
- d: "M20 31.75H4C1.92893 31.75 0.25 30.0711 0.25 28V4C0.25 1.92893 1.92893 0.25 4 0.25H15.9431C16.9377 0.25 17.8915 0.645088 18.5948 1.34835L22.6516 5.4052C23.3549 6.10847 23.75 7.06229 23.75 8.05685V28C23.75 30.0711 22.0711 31.75 20 31.75Z",
1895
- fill: "url(#paint0_linear_6594_388107)",
1896
- stroke: "url(#paint1_linear_6594_388107)",
1897
- "stroke-width": "0.5"
1898
- }
1899
- ),
1900
- /* @__PURE__ */ jsx8(
1901
- "path",
1902
- {
1903
- opacity: "0.4",
1904
- d: "M17.7857 12.8125V13.5357H10.3393V10.9643H15.9375C16.9569 10.9643 17.7857 11.7931 17.7857 12.8125ZM6.21429 16.9107V15.0893H8.78571V16.9107H6.21429ZM10.3393 16.9107V15.0893H17.7857V16.9107H10.3393ZM15.9375 21.0357H10.3393V18.4643H17.7857V19.1875C17.7857 20.2069 16.9569 21.0357 15.9375 21.0357ZM6.21429 19.1875V18.4643H8.78571V21.0357H8.0625C7.0431 21.0357 6.21429 20.2069 6.21429 19.1875ZM8.0625 10.9643H8.78571V13.5357H6.21429V12.8125C6.21429 11.7931 7.0431 10.9643 8.0625 10.9643Z",
1905
- fill: "url(#paint2_linear_6594_388107)",
1906
- stroke: "url(#paint3_linear_6594_388107)",
1907
- "stroke-width": "0.428571"
1908
- }
1909
- ),
1910
- /* @__PURE__ */ jsxs4("defs", { children: [
1911
- /* @__PURE__ */ jsxs4(
1912
- "linearGradient",
1913
- {
1914
- id: "paint0_linear_6594_388107",
1915
- x1: "12",
1916
- y1: "0",
1917
- x2: "12",
1918
- y2: "32",
1919
- gradientUnits: "userSpaceOnUse",
1920
- children: [
1921
- /* @__PURE__ */ jsx8("stop", { "stop-color": "#F4F4F5" }),
1922
- /* @__PURE__ */ jsx8("stop", { offset: "1", "stop-color": "#E4E4E7" })
1923
- ]
1924
- }
1925
- ),
1926
- /* @__PURE__ */ jsxs4(
1927
- "linearGradient",
1928
- {
1929
- id: "paint1_linear_6594_388107",
1930
- x1: "12",
1931
- y1: "0",
1932
- x2: "12",
1933
- y2: "32",
1934
- gradientUnits: "userSpaceOnUse",
1935
- children: [
1936
- /* @__PURE__ */ jsx8("stop", { "stop-color": "#E4E4E7" }),
1937
- /* @__PURE__ */ jsx8("stop", { offset: "1", "stop-color": "#D4D4D8" })
1938
- ]
1939
- }
1940
- ),
1941
- /* @__PURE__ */ jsxs4(
1942
- "linearGradient",
1943
- {
1944
- id: "paint2_linear_6594_388107",
1945
- x1: "12",
1946
- y1: "10.75",
1947
- x2: "12",
1948
- y2: "21.25",
1949
- gradientUnits: "userSpaceOnUse",
1950
- children: [
1951
- /* @__PURE__ */ jsx8("stop", { "stop-color": "#52525B" }),
1952
- /* @__PURE__ */ jsx8("stop", { offset: "1", "stop-color": "#A1A1AA" })
1953
- ]
1954
- }
1955
- ),
1956
- /* @__PURE__ */ jsxs4(
1957
- "linearGradient",
1958
- {
1959
- id: "paint3_linear_6594_388107",
1960
- x1: "12",
1961
- y1: "10.75",
1962
- x2: "12",
1963
- y2: "21.25",
1964
- gradientUnits: "userSpaceOnUse",
1965
- children: [
1966
- /* @__PURE__ */ jsx8("stop", { "stop-color": "#18181B" }),
1967
- /* @__PURE__ */ jsx8("stop", { offset: "1", "stop-color": "#52525B" })
1968
- ]
1969
- }
1970
- )
1971
- ] })
1972
- ]
1973
- }
1974
- );
1975
- };
1976
-
1977
- // src/components/layout/notifications/notifications.tsx
1978
- import { Fragment as Fragment2, jsx as jsx9, jsxs as jsxs5 } from "react/jsx-runtime";
1979
- var LAST_READ_NOTIFICATION_KEY = "notificationsLastReadAt";
1980
- var Notifications = () => {
1981
- const { t: t2 } = useTranslation5();
1982
- const [open, setOpen] = useState8(false);
1983
- const [hasUnread, setHasUnread] = useUnreadNotifications();
1984
- const [lastReadAt, setLastReadAt] = useState8(
1985
- localStorage.getItem(LAST_READ_NOTIFICATION_KEY)
1986
- );
1987
- useEffect7(() => {
1988
- const onKeyDown = (e) => {
1989
- if (e.key === "n" && (e.metaKey || e.ctrlKey)) {
1990
- setOpen((prev) => !prev);
1991
- }
1992
- };
1993
- document.addEventListener("keydown", onKeyDown);
1994
- return () => {
1995
- document.removeEventListener("keydown", onKeyDown);
1996
- };
1997
- }, []);
1998
- const handleOnOpen = (shouldOpen) => {
1999
- if (shouldOpen) {
2000
- setHasUnread(false);
2001
- setOpen(true);
2002
- localStorage.setItem(
2003
- LAST_READ_NOTIFICATION_KEY,
2004
- (/* @__PURE__ */ new Date()).toISOString()
2005
- );
2006
- } else {
2007
- setOpen(false);
2008
- setLastReadAt(localStorage.getItem(LAST_READ_NOTIFICATION_KEY));
2009
- }
2010
- };
2011
- return /* @__PURE__ */ jsxs5(
2012
- Drawer,
2013
- {
2014
- open,
2015
- onOpenChange: handleOnOpen,
2016
- "data-testid": "notifications-drawer",
2017
- children: [
2018
- /* @__PURE__ */ jsx9(Drawer.Trigger, { asChild: true, children: /* @__PURE__ */ jsx9(
2019
- IconButton3,
2020
- {
2021
- variant: "transparent",
2022
- size: "small",
2023
- className: "text-ui-fg-muted hover:text-ui-fg-subtle",
2024
- "data-testid": "notifications-trigger-button",
2025
- children: hasUnread ? /* @__PURE__ */ jsx9(BellAlertDone, { "data-testid": "notifications-icon-unread" }) : /* @__PURE__ */ jsx9(BellAlert, { "data-testid": "notifications-icon" })
2026
- }
2027
- ) }),
2028
- /* @__PURE__ */ jsxs5(Drawer.Content, { "data-testid": "notifications-content", children: [
2029
- /* @__PURE__ */ jsxs5(Drawer.Header, { "data-testid": "notifications-header", children: [
2030
- /* @__PURE__ */ jsx9(Drawer.Title, { asChild: true, children: /* @__PURE__ */ jsx9(Heading, { "data-testid": "notifications-title", children: t2("notifications.domain") }) }),
2031
- /* @__PURE__ */ jsx9(
2032
- Drawer.Description,
2033
- {
2034
- className: "sr-only",
2035
- "data-testid": "notifications-description",
2036
- children: t2("notifications.accessibility.description")
2037
- }
2038
- )
2039
- ] }),
2040
- /* @__PURE__ */ jsx9(
2041
- Drawer.Body,
2042
- {
2043
- className: "overflow-y-auto px-0",
2044
- "data-testid": "notifications-body",
2045
- children: /* @__PURE__ */ jsx9("div", { "data-testid": "notifications-list", children: /* @__PURE__ */ jsx9(
2046
- InfiniteList,
2047
- {
2048
- responseKey: "notifications",
2049
- queryKey: notificationQueryKeys.all,
2050
- queryFn: (params) => sdk.admin.notifications.query({
2051
- ...params
2052
- }),
2053
- queryOptions: { enabled: open },
2054
- renderEmpty: () => /* @__PURE__ */ jsx9(NotificationsEmptyState, { t: t2 }),
2055
- renderItem: (notification) => {
2056
- return /* @__PURE__ */ jsx9(
2057
- Notification,
2058
- {
2059
- notification,
2060
- unread: Date.parse(notification.created_at) > (lastReadAt ? Date.parse(lastReadAt) : 0)
2061
- },
2062
- notification.id
2063
- );
2064
- }
2065
- }
2066
- ) })
2067
- }
2068
- )
2069
- ] })
2070
- ]
2071
- }
2072
- );
2073
- };
2074
- var Notification = ({
2075
- notification,
2076
- unread
2077
- }) => {
2078
- const data = notification.data;
2079
- if (!data?.title) {
2080
- return null;
2081
- }
2082
- return /* @__PURE__ */ jsx9(Fragment2, { children: /* @__PURE__ */ jsxs5(
2083
- "div",
2084
- {
2085
- className: "relative flex items-start justify-center gap-3 border-b p-6",
2086
- "data-testid": `notification-${notification.id}`,
2087
- children: [
2088
- /* @__PURE__ */ jsx9(
2089
- "div",
2090
- {
2091
- className: "text-ui-fg-muted flex size-5 items-center justify-center",
2092
- "data-testid": `notification-${notification.id}-icon`,
2093
- children: /* @__PURE__ */ jsx9(InformationCircleSolid, {})
2094
- }
2095
- ),
2096
- /* @__PURE__ */ jsxs5(
2097
- "div",
2098
- {
2099
- className: "flex w-full flex-col gap-y-3",
2100
- "data-testid": `notification-${notification.id}-content`,
2101
- children: [
2102
- /* @__PURE__ */ jsxs5(
2103
- "div",
2104
- {
2105
- className: "flex flex-col",
2106
- "data-testid": `notification-${notification.id}-header`,
2107
- children: [
2108
- /* @__PURE__ */ jsxs5("div", { className: "flex items-center justify-between", children: [
2109
- /* @__PURE__ */ jsx9(
2110
- Text4,
2111
- {
2112
- size: "small",
2113
- leading: "compact",
2114
- weight: "plus",
2115
- "data-testid": `notification-${notification.id}-title`,
2116
- children: data.title
2117
- }
2118
- ),
2119
- /* @__PURE__ */ jsxs5(
2120
- "div",
2121
- {
2122
- className: "align-center flex items-center justify-center gap-2",
2123
- "data-testid": `notification-${notification.id}-meta`,
2124
- children: [
2125
- /* @__PURE__ */ jsx9(
2126
- Text4,
2127
- {
2128
- as: "span",
2129
- className: clx3("text-ui-fg-subtle", {
2130
- "text-ui-fg-base": unread
2131
- }),
2132
- size: "small",
2133
- leading: "compact",
2134
- weight: "plus",
2135
- "data-testid": `notification-${notification.id}-time`,
2136
- children: formatDistance(notification.created_at, /* @__PURE__ */ new Date(), {
2137
- addSuffix: true
2138
- })
2139
- }
2140
- ),
2141
- unread && /* @__PURE__ */ jsx9(
2142
- "div",
2143
- {
2144
- className: "bg-ui-bg-interactive h-2 w-2 rounded",
2145
- role: "status",
2146
- "data-testid": `notification-${notification.id}-unread-indicator`
2147
- }
2148
- )
2149
- ]
2150
- }
2151
- )
2152
- ] }),
2153
- !!data.description && /* @__PURE__ */ jsx9(
2154
- Text4,
2155
- {
2156
- className: "text-ui-fg-subtle whitespace-pre-line",
2157
- size: "small",
2158
- "data-testid": `notification-${notification.id}-description`,
2159
- children: data.description
2160
- }
2161
- )
2162
- ]
2163
- }
2164
- ),
2165
- !!data?.file?.url && /* @__PURE__ */ jsx9(
2166
- FilePreview,
2167
- {
2168
- filename: data.file.filename ?? "",
2169
- url: data.file.url,
2170
- hideThumbnail: true,
2171
- "data-testid": `notification-${notification.id}-file`
2172
- }
2173
- )
2174
- ]
2175
- }
2176
- )
2177
- ]
2178
- }
2179
- ) });
2180
- };
2181
- var NotificationsEmptyState = ({ t: t2 }) => {
2182
- return /* @__PURE__ */ jsxs5(
2183
- "div",
2184
- {
2185
- className: "flex h-full flex-col items-center justify-center",
2186
- "data-testid": "notifications-empty-state",
2187
- children: [
2188
- /* @__PURE__ */ jsx9(BellAlertDone, { "data-testid": "notifications-empty-icon" }),
2189
- /* @__PURE__ */ jsx9(
2190
- Text4,
2191
- {
2192
- size: "small",
2193
- leading: "compact",
2194
- weight: "plus",
2195
- className: "mt-3",
2196
- "data-testid": "notifications-empty-title",
2197
- children: t2("notifications.emptyState.title")
2198
- }
2199
- ),
2200
- /* @__PURE__ */ jsx9(
2201
- Text4,
2202
- {
2203
- size: "small",
2204
- className: "text-ui-fg-muted mt-1 max-w-[294px] text-center",
2205
- "data-testid": "notifications-empty-description",
2206
- children: t2("notifications.emptyState.description")
2207
- }
2208
- )
2209
- ]
2210
- }
2211
- );
2212
- };
2213
- var useUnreadNotifications = () => {
2214
- const [hasUnread, setHasUnread] = useState8(false);
2215
- const { notifications } = useNotifications(
2216
- { limit: 1, offset: 0, fields: "created_at" },
2217
- { refetchInterval: 6e4 }
2218
- );
2219
- const lastNotification = notifications?.[0];
2220
- useEffect7(() => {
2221
- if (!lastNotification) {
2222
- return;
2223
- }
2224
- const lastNotificationAsTimestamp = Date.parse(lastNotification.created_at);
2225
- const lastReadDatetime = localStorage.getItem(LAST_READ_NOTIFICATION_KEY);
2226
- const lastReadAsTimestamp = lastReadDatetime ? Date.parse(lastReadDatetime) : 0;
2227
- if (lastNotificationAsTimestamp > lastReadAsTimestamp) {
2228
- setHasUnread(true);
2229
- }
2230
- }, [lastNotification]);
2231
- return [hasUnread, setHasUnread];
2232
- };
2233
-
2234
1823
  // src/components/layout/shell/shell.tsx
2235
- import { jsx as jsx10, jsxs as jsxs6 } from "react/jsx-runtime";
1824
+ import { jsx as jsx8, jsxs as jsxs4 } from "react/jsx-runtime";
2236
1825
  var Shell = ({ children }) => {
2237
1826
  const globalShortcuts = useGlobalShortcuts();
2238
1827
  const navigation2 = useNavigation();
2239
1828
  const loading = navigation2.state === "loading";
2240
- return /* @__PURE__ */ jsx10(KeybindProvider, { shortcuts: globalShortcuts, children: /* @__PURE__ */ jsxs6("div", { className: "relative flex h-screen flex-col items-start overflow-hidden lg:flex-row", children: [
2241
- /* @__PURE__ */ jsx10(NavigationBar, { loading }),
2242
- /* @__PURE__ */ jsxs6("div", { children: [
2243
- /* @__PURE__ */ jsx10(MobileSidebarContainer, { children }),
2244
- /* @__PURE__ */ jsx10(DesktopSidebarContainer, { children })
1829
+ return /* @__PURE__ */ jsx8(KeybindProvider, { shortcuts: globalShortcuts, children: /* @__PURE__ */ jsxs4("div", { className: "relative flex h-screen flex-col items-start overflow-hidden lg:flex-row", children: [
1830
+ /* @__PURE__ */ jsx8(NavigationBar, { loading }),
1831
+ /* @__PURE__ */ jsxs4("div", { children: [
1832
+ /* @__PURE__ */ jsx8(MobileSidebarContainer, { children }),
1833
+ /* @__PURE__ */ jsx8(DesktopSidebarContainer, { children })
2245
1834
  ] }),
2246
- /* @__PURE__ */ jsxs6("div", { className: "flex h-screen w-full flex-col overflow-auto", children: [
2247
- /* @__PURE__ */ jsx10(Topbar, {}),
2248
- /* @__PURE__ */ jsx10(
1835
+ /* @__PURE__ */ jsxs4("div", { className: "flex h-screen w-full flex-col overflow-auto", children: [
1836
+ /* @__PURE__ */ jsx8(Topbar, {}),
1837
+ /* @__PURE__ */ jsx8(
2249
1838
  "main",
2250
1839
  {
2251
- className: clx4(
1840
+ className: clx3(
2252
1841
  "flex h-full w-full flex-col items-center overflow-y-auto transition-opacity delay-200 duration-200",
2253
1842
  {
2254
1843
  "opacity-25": loading
2255
1844
  }
2256
1845
  ),
2257
- children: /* @__PURE__ */ jsx10(Gutter, { children: /* @__PURE__ */ jsx10(Outlet2, {}) })
1846
+ children: /* @__PURE__ */ jsx8(Gutter, { children: /* @__PURE__ */ jsx8(Outlet2, {}) })
2258
1847
  }
2259
1848
  )
2260
1849
  ] })
2261
1850
  ] }) });
2262
1851
  };
2263
1852
  var NavigationBar = ({ loading }) => {
2264
- const [showBar, setShowBar] = useState9(false);
2265
- useEffect8(() => {
1853
+ const [showBar, setShowBar] = useState8(false);
1854
+ useEffect7(() => {
2266
1855
  let timeout;
2267
1856
  if (loading) {
2268
1857
  timeout = setTimeout(() => {
@@ -2275,10 +1864,10 @@ var NavigationBar = ({ loading }) => {
2275
1864
  clearTimeout(timeout);
2276
1865
  };
2277
1866
  }, [loading]);
2278
- return /* @__PURE__ */ jsx10("div", { className: "fixed inset-x-0 top-0 z-50 h-1", children: /* @__PURE__ */ jsx10(AnimatePresence, { children: showBar ? /* @__PURE__ */ jsx10(ProgressBar, {}) : null }) });
1867
+ return /* @__PURE__ */ jsx8("div", { className: "fixed inset-x-0 top-0 z-50 h-1", children: /* @__PURE__ */ jsx8(AnimatePresence, { children: showBar ? /* @__PURE__ */ jsx8(ProgressBar, {}) : null }) });
2279
1868
  };
2280
1869
  var Gutter = ({ children }) => {
2281
- return /* @__PURE__ */ jsx10("div", { className: "flex w-full max-w-[1600px] flex-col gap-y-2 p-3", children });
1870
+ return /* @__PURE__ */ jsx8("div", { className: "flex w-full max-w-[1600px] flex-col gap-y-2 p-3", children });
2282
1871
  };
2283
1872
  var Breadcrumbs = () => {
2284
1873
  const matches = useMatches();
@@ -2297,29 +1886,29 @@ var Breadcrumbs = () => {
2297
1886
  path: match.pathname
2298
1887
  };
2299
1888
  }).filter(Boolean);
2300
- return /* @__PURE__ */ jsx10(
1889
+ return /* @__PURE__ */ jsx8(
2301
1890
  "ol",
2302
1891
  {
2303
- className: clx4(
1892
+ className: clx3(
2304
1893
  "text-ui-fg-muted txt-compact-small-plus flex select-none items-center"
2305
1894
  ),
2306
1895
  children: crumbs.map((crumb, index) => {
2307
1896
  const isLast = index === crumbs.length - 1;
2308
1897
  const isSingle = crumbs.length === 1;
2309
- return /* @__PURE__ */ jsxs6("li", { className: clx4("flex items-center"), children: [
2310
- !isLast ? /* @__PURE__ */ jsx10(
1898
+ return /* @__PURE__ */ jsxs4("li", { className: clx3("flex items-center"), children: [
1899
+ !isLast ? /* @__PURE__ */ jsx8(
2311
1900
  Link,
2312
1901
  {
2313
1902
  className: "transition-fg hover:text-ui-fg-subtle",
2314
1903
  to: crumb.path,
2315
1904
  children: crumb.label
2316
1905
  }
2317
- ) : /* @__PURE__ */ jsxs6("div", { children: [
2318
- !isSingle && /* @__PURE__ */ jsx10("span", { className: "block lg:hidden", children: "..." }),
2319
- /* @__PURE__ */ jsx10(
1906
+ ) : /* @__PURE__ */ jsxs4("div", { children: [
1907
+ !isSingle && /* @__PURE__ */ jsx8("span", { className: "block lg:hidden", children: "..." }),
1908
+ /* @__PURE__ */ jsx8(
2320
1909
  "span",
2321
1910
  {
2322
- className: clx4({
1911
+ className: clx3({
2323
1912
  "hidden lg:block": !isSingle
2324
1913
  }),
2325
1914
  children: crumb.label
@@ -2327,7 +1916,7 @@ var Breadcrumbs = () => {
2327
1916
  index
2328
1917
  )
2329
1918
  ] }),
2330
- !isLast && /* @__PURE__ */ jsx10("span", { className: "mx-2", children: /* @__PURE__ */ jsx10(TriangleRightMini, { className: "rtl:rotate-180" }) })
1919
+ !isLast && /* @__PURE__ */ jsx8("span", { className: "mx-2", children: /* @__PURE__ */ jsx8(TriangleRightMini, { className: "rtl:rotate-180" }) })
2331
1920
  ] }, index);
2332
1921
  })
2333
1922
  }
@@ -2335,46 +1924,46 @@ var Breadcrumbs = () => {
2335
1924
  };
2336
1925
  var ToggleSidebar = () => {
2337
1926
  const { toggle, state } = useSidebar();
2338
- return /* @__PURE__ */ jsxs6("div", { children: [
2339
- /* @__PURE__ */ jsx10(
2340
- IconButton4,
1927
+ return /* @__PURE__ */ jsxs4("div", { children: [
1928
+ /* @__PURE__ */ jsx8(
1929
+ IconButton2,
2341
1930
  {
2342
1931
  className: "hidden lg:flex",
2343
1932
  variant: "transparent",
2344
1933
  onClick: () => toggle("desktop"),
2345
1934
  size: "small",
2346
1935
  "aria-expanded": state === "expanded",
2347
- children: /* @__PURE__ */ jsx10(SidebarLeft, { className: "text-ui-fg-muted rtl:rotate-180" })
1936
+ children: /* @__PURE__ */ jsx8(SidebarLeft, { className: "text-ui-fg-muted rtl:rotate-180" })
2348
1937
  }
2349
1938
  ),
2350
- /* @__PURE__ */ jsx10(
2351
- IconButton4,
1939
+ /* @__PURE__ */ jsx8(
1940
+ IconButton2,
2352
1941
  {
2353
1942
  className: "hidden max-lg:flex",
2354
1943
  variant: "transparent",
2355
1944
  onClick: () => toggle("mobile"),
2356
1945
  size: "small",
2357
- children: /* @__PURE__ */ jsx10(SidebarLeft, { className: "text-ui-fg-muted rtl:rotate-180" })
1946
+ children: /* @__PURE__ */ jsx8(SidebarLeft, { className: "text-ui-fg-muted rtl:rotate-180" })
2358
1947
  }
2359
1948
  )
2360
1949
  ] });
2361
1950
  };
2362
1951
  var Topbar = () => {
2363
- return /* @__PURE__ */ jsxs6("div", { className: "grid w-full grid-cols-2 border-b p-3", children: [
2364
- /* @__PURE__ */ jsxs6("div", { className: "flex items-center gap-x-1.5", children: [
2365
- /* @__PURE__ */ jsx10(ToggleSidebar, {}),
2366
- /* @__PURE__ */ jsx10(Breadcrumbs, {})
1952
+ return /* @__PURE__ */ jsxs4("div", { className: "grid w-full grid-cols-2 border-b p-3", children: [
1953
+ /* @__PURE__ */ jsxs4("div", { className: "flex items-center gap-x-1.5", children: [
1954
+ /* @__PURE__ */ jsx8(ToggleSidebar, {}),
1955
+ /* @__PURE__ */ jsx8(Breadcrumbs, {})
2367
1956
  ] }),
2368
- /* @__PURE__ */ jsx10("div", { className: "flex items-center justify-end gap-x-3", children: /* @__PURE__ */ jsx10(Notifications, {}) })
1957
+ /* @__PURE__ */ jsx8("div", { className: "flex items-center justify-end gap-x-3", children: /* @__PURE__ */ jsx8(WidgetZone, { id: "topbar" }) })
2369
1958
  ] });
2370
1959
  };
2371
1960
  var DesktopSidebarContainer = ({ children }) => {
2372
1961
  const { state } = useSidebar();
2373
- return /* @__PURE__ */ jsx10(
1962
+ return /* @__PURE__ */ jsx8(
2374
1963
  "div",
2375
1964
  {
2376
1965
  "data-state": state,
2377
- className: clx4(
1966
+ className: clx3(
2378
1967
  "group/sidebar hidden h-screen w-[220px] shrink-0 overflow-x-hidden border-e lg:flex",
2379
1968
  "transition-[width] duration-200 ease-sidebar motion-reduce:transition-none",
2380
1969
  "data-[state=collapsed]:w-[52px]"
@@ -2384,38 +1973,38 @@ var DesktopSidebarContainer = ({ children }) => {
2384
1973
  );
2385
1974
  };
2386
1975
  var MobileSidebarContainer = ({ children }) => {
2387
- const { t: t2 } = useTranslation6();
1976
+ const { t: t2 } = useTranslation5();
2388
1977
  const { mobile, toggle } = useSidebar();
2389
- return /* @__PURE__ */ jsx10(RadixDialog2.Root, { open: mobile, onOpenChange: () => toggle("mobile"), children: /* @__PURE__ */ jsxs6(RadixDialog2.Portal, { children: [
2390
- /* @__PURE__ */ jsx10(
1978
+ return /* @__PURE__ */ jsx8(RadixDialog2.Root, { open: mobile, onOpenChange: () => toggle("mobile"), children: /* @__PURE__ */ jsxs4(RadixDialog2.Portal, { children: [
1979
+ /* @__PURE__ */ jsx8(
2391
1980
  RadixDialog2.Overlay,
2392
1981
  {
2393
- className: clx4(
1982
+ className: clx3(
2394
1983
  "bg-ui-bg-overlay fixed inset-0",
2395
1984
  "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0"
2396
1985
  )
2397
1986
  }
2398
1987
  ),
2399
- /* @__PURE__ */ jsxs6(
1988
+ /* @__PURE__ */ jsxs4(
2400
1989
  RadixDialog2.Content,
2401
1990
  {
2402
- className: clx4(
1991
+ className: clx3(
2403
1992
  "bg-ui-bg-subtle shadow-elevation-modal fixed inset-y-2 start-2 flex w-full max-w-[304px] flex-col overflow-hidden rounded-lg border-r",
2404
1993
  "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:slide-out-to-start-1/2 data-[state=open]:slide-in-from-start-1/2 duration-200"
2405
1994
  ),
2406
1995
  children: [
2407
- /* @__PURE__ */ jsxs6("div", { className: "p-3", children: [
2408
- /* @__PURE__ */ jsx10(RadixDialog2.Close, { asChild: true, children: /* @__PURE__ */ jsx10(
2409
- IconButton4,
1996
+ /* @__PURE__ */ jsxs4("div", { className: "p-3", children: [
1997
+ /* @__PURE__ */ jsx8(RadixDialog2.Close, { asChild: true, children: /* @__PURE__ */ jsx8(
1998
+ IconButton2,
2410
1999
  {
2411
2000
  size: "small",
2412
2001
  variant: "transparent",
2413
2002
  className: "text-ui-fg-subtle",
2414
- children: /* @__PURE__ */ jsx10(XMark, {})
2003
+ children: /* @__PURE__ */ jsx8(XMark, {})
2415
2004
  }
2416
2005
  ) }),
2417
- /* @__PURE__ */ jsx10(RadixDialog2.Title, { className: "sr-only", children: t2("app.nav.accessibility.title") }),
2418
- /* @__PURE__ */ jsx10(RadixDialog2.Description, { className: "sr-only", children: t2("app.nav.accessibility.description") })
2006
+ /* @__PURE__ */ jsx8(RadixDialog2.Title, { className: "sr-only", children: t2("app.nav.accessibility.title") }),
2007
+ /* @__PURE__ */ jsx8(RadixDialog2.Description, { className: "sr-only", children: t2("app.nav.accessibility.description") })
2419
2008
  ] }),
2420
2009
  children
2421
2010
  ]
@@ -2438,58 +2027,58 @@ import {
2438
2027
  import {
2439
2028
  Avatar,
2440
2029
  DropdownMenu as DropdownMenu2,
2441
- Heading as Heading2,
2442
- IconButton as IconButton5,
2030
+ Heading,
2031
+ IconButton as IconButton3,
2443
2032
  Input,
2444
2033
  Kbd as Kbd3,
2445
- Text as Text5,
2446
- clx as clx5
2034
+ Text as Text3,
2035
+ clx as clx4
2447
2036
  } from "@medusajs/ui";
2448
2037
  import { Dialog as RadixDialog3 } from "radix-ui";
2449
- import { useTranslation as useTranslation7 } from "react-i18next";
2450
- import { useState as useState10 } from "react";
2038
+ import { useTranslation as useTranslation6 } from "react-i18next";
2039
+ import { useState as useState9 } from "react";
2451
2040
  import { Link as Link2, useLocation as useLocation4, useNavigate as useNavigate3 } from "react-router-dom";
2452
- import { jsx as jsx11, jsxs as jsxs7 } from "react/jsx-runtime";
2041
+ import { jsx as jsx9, jsxs as jsxs5 } from "react/jsx-runtime";
2453
2042
  var UserMenu = () => {
2454
- const { t: t2 } = useTranslation7();
2043
+ const { t: t2 } = useTranslation6();
2455
2044
  const location = useLocation4();
2456
2045
  const direction = useDocumentDirection();
2457
- const [openMenu, setOpenMenu] = useState10(false);
2458
- const [openModal, setOpenModal] = useState10(false);
2046
+ const [openMenu, setOpenMenu] = useState9(false);
2047
+ const [openModal, setOpenModal] = useState9(false);
2459
2048
  const toggleModal = () => {
2460
2049
  setOpenMenu(false);
2461
2050
  setOpenModal(!openModal);
2462
2051
  };
2463
- return /* @__PURE__ */ jsxs7("div", { "data-testid": "sidebar-user-menu", children: [
2464
- /* @__PURE__ */ jsxs7(DropdownMenu2, { dir: direction, open: openMenu, onOpenChange: setOpenMenu, "data-testid": "sidebar-user-menu-dropdown", children: [
2465
- /* @__PURE__ */ jsx11(UserBadge, {}),
2466
- /* @__PURE__ */ jsxs7(DropdownMenu2.Content, { className: "min-w-[var(--radix-dropdown-menu-trigger-width)] max-w-[var(--radix-dropdown-menu-trigger-width)]", "data-testid": "sidebar-user-menu-content", children: [
2467
- /* @__PURE__ */ jsx11(UserItem, {}),
2468
- /* @__PURE__ */ jsx11(DropdownMenu2.Separator, { "data-testid": "sidebar-user-menu-separator-1" }),
2469
- /* @__PURE__ */ jsx11(DropdownMenu2.Item, { asChild: true, "data-testid": "sidebar-user-menu-profile-settings", children: /* @__PURE__ */ jsxs7(Link2, { to: "/settings/profile", state: { from: location.pathname }, children: [
2470
- /* @__PURE__ */ jsx11(UserIcon, { className: "text-ui-fg-subtle me-2" }),
2052
+ return /* @__PURE__ */ jsxs5("div", { "data-testid": "sidebar-user-menu", children: [
2053
+ /* @__PURE__ */ jsxs5(DropdownMenu2, { dir: direction, open: openMenu, onOpenChange: setOpenMenu, "data-testid": "sidebar-user-menu-dropdown", children: [
2054
+ /* @__PURE__ */ jsx9(UserBadge, {}),
2055
+ /* @__PURE__ */ jsxs5(DropdownMenu2.Content, { className: "min-w-[var(--radix-dropdown-menu-trigger-width)] max-w-[var(--radix-dropdown-menu-trigger-width)]", "data-testid": "sidebar-user-menu-content", children: [
2056
+ /* @__PURE__ */ jsx9(UserItem, {}),
2057
+ /* @__PURE__ */ jsx9(DropdownMenu2.Separator, { "data-testid": "sidebar-user-menu-separator-1" }),
2058
+ /* @__PURE__ */ jsx9(DropdownMenu2.Item, { asChild: true, "data-testid": "sidebar-user-menu-profile-settings", children: /* @__PURE__ */ jsxs5(Link2, { to: "/settings/profile", state: { from: location.pathname }, children: [
2059
+ /* @__PURE__ */ jsx9(UserIcon, { className: "text-ui-fg-subtle me-2" }),
2471
2060
  t2("app.menus.user.profileSettings")
2472
2061
  ] }) }),
2473
- /* @__PURE__ */ jsx11(DropdownMenu2.Separator, { "data-testid": "sidebar-user-menu-separator-2" }),
2474
- /* @__PURE__ */ jsx11(DropdownMenu2.Item, { asChild: true, "data-testid": "sidebar-user-menu-documentation", children: /* @__PURE__ */ jsxs7(Link2, { to: "https://docs.mercurjs.com/welcome", target: "_blank", children: [
2475
- /* @__PURE__ */ jsx11(BookOpen, { className: "text-ui-fg-subtle me-2" }),
2062
+ /* @__PURE__ */ jsx9(DropdownMenu2.Separator, { "data-testid": "sidebar-user-menu-separator-2" }),
2063
+ /* @__PURE__ */ jsx9(DropdownMenu2.Item, { asChild: true, "data-testid": "sidebar-user-menu-documentation", children: /* @__PURE__ */ jsxs5(Link2, { to: "https://docs.mercurjs.com/welcome", target: "_blank", children: [
2064
+ /* @__PURE__ */ jsx9(BookOpen, { className: "text-ui-fg-subtle me-2" }),
2476
2065
  t2("app.menus.user.documentation")
2477
2066
  ] }) }),
2478
- /* @__PURE__ */ jsx11(DropdownMenu2.Item, { asChild: true, "data-testid": "sidebar-user-menu-changelog", children: /* @__PURE__ */ jsxs7(Link2, { to: "https://www.mercurjs.com/updates", target: "_blank", children: [
2479
- /* @__PURE__ */ jsx11(TimelineVertical, { className: "text-ui-fg-subtle me-2" }),
2067
+ /* @__PURE__ */ jsx9(DropdownMenu2.Item, { asChild: true, "data-testid": "sidebar-user-menu-changelog", children: /* @__PURE__ */ jsxs5(Link2, { to: "https://www.mercurjs.com/updates", target: "_blank", children: [
2068
+ /* @__PURE__ */ jsx9(TimelineVertical, { className: "text-ui-fg-subtle me-2" }),
2480
2069
  t2("app.menus.user.changelog")
2481
2070
  ] }) }),
2482
- /* @__PURE__ */ jsx11(DropdownMenu2.Separator, { "data-testid": "sidebar-user-menu-separator-3" }),
2483
- /* @__PURE__ */ jsxs7(DropdownMenu2.Item, { onClick: toggleModal, "data-testid": "sidebar-user-menu-shortcuts", children: [
2484
- /* @__PURE__ */ jsx11(Keyboard, { className: "text-ui-fg-subtle me-2" }),
2071
+ /* @__PURE__ */ jsx9(DropdownMenu2.Separator, { "data-testid": "sidebar-user-menu-separator-3" }),
2072
+ /* @__PURE__ */ jsxs5(DropdownMenu2.Item, { onClick: toggleModal, "data-testid": "sidebar-user-menu-shortcuts", children: [
2073
+ /* @__PURE__ */ jsx9(Keyboard, { className: "text-ui-fg-subtle me-2" }),
2485
2074
  t2("app.menus.user.shortcuts")
2486
2075
  ] }),
2487
- /* @__PURE__ */ jsx11(ThemeToggle, {}),
2488
- /* @__PURE__ */ jsx11(DropdownMenu2.Separator, { "data-testid": "sidebar-user-menu-separator-4" }),
2489
- /* @__PURE__ */ jsx11(Logout, {})
2076
+ /* @__PURE__ */ jsx9(ThemeToggle, {}),
2077
+ /* @__PURE__ */ jsx9(DropdownMenu2.Separator, { "data-testid": "sidebar-user-menu-separator-4" }),
2078
+ /* @__PURE__ */ jsx9(Logout, {})
2490
2079
  ] })
2491
2080
  ] }),
2492
- /* @__PURE__ */ jsx11(GlobalKeybindsModal, { open: openModal, onOpenChange: setOpenModal })
2081
+ /* @__PURE__ */ jsx9(GlobalKeybindsModal, { open: openModal, onOpenChange: setOpenModal })
2493
2082
  ] });
2494
2083
  };
2495
2084
  var UserBadge = () => {
@@ -2498,19 +2087,19 @@ var UserBadge = () => {
2498
2087
  const displayName = name || user?.email;
2499
2088
  const fallback = displayName ? displayName[0].toUpperCase() : null;
2500
2089
  if (isPending) {
2501
- return /* @__PURE__ */ jsxs7("button", { className: "shadow-borders-base flex max-w-[192px] select-none items-center gap-x-2 overflow-hidden text-ellipsis whitespace-nowrap rounded-full py-1 ps-1 pe-2.5", children: [
2502
- /* @__PURE__ */ jsx11(Skeleton, { className: "h-5 w-5 rounded-full" }),
2503
- /* @__PURE__ */ jsx11(Skeleton, { className: "h-[9px] w-[70px]" })
2090
+ return /* @__PURE__ */ jsxs5("button", { className: "shadow-borders-base flex max-w-[192px] select-none items-center gap-x-2 overflow-hidden text-ellipsis whitespace-nowrap rounded-full py-1 ps-1 pe-2.5", children: [
2091
+ /* @__PURE__ */ jsx9(Skeleton, { className: "h-5 w-5 rounded-full" }),
2092
+ /* @__PURE__ */ jsx9(Skeleton, { className: "h-[9px] w-[70px]" })
2504
2093
  ] });
2505
2094
  }
2506
2095
  if (isError) {
2507
2096
  throw error;
2508
2097
  }
2509
- return /* @__PURE__ */ jsx11("div", { className: "p-3", "data-testid": "sidebar-user-menu-badge", children: /* @__PURE__ */ jsxs7(
2098
+ return /* @__PURE__ */ jsx9("div", { className: "p-3", "data-testid": "sidebar-user-menu-badge", children: /* @__PURE__ */ jsxs5(
2510
2099
  DropdownMenu2.Trigger,
2511
2100
  {
2512
2101
  disabled: !user,
2513
- className: clx5(
2102
+ className: clx4(
2514
2103
  "bg-ui-bg-subtle grid w-full cursor-pointer grid-cols-[24px_1fr_15px] items-center gap-2 rounded-md py-1 ps-0.5 pe-2 outline-none",
2515
2104
  "hover:bg-ui-bg-subtle-hover",
2516
2105
  "data-[state=open]:bg-ui-bg-subtle-hover",
@@ -2518,9 +2107,9 @@ var UserBadge = () => {
2518
2107
  ),
2519
2108
  "data-testid": "sidebar-user-menu-trigger",
2520
2109
  children: [
2521
- /* @__PURE__ */ jsx11("div", { className: "flex size-6 shrink-0 items-center justify-center", "data-testid": "sidebar-user-menu-avatar-container", children: fallback ? /* @__PURE__ */ jsx11(Avatar, { size: "xsmall", fallback, "data-testid": "sidebar-user-menu-avatar" }) : /* @__PURE__ */ jsx11(Skeleton, { className: "h-6 w-6 rounded-full" }) }),
2522
- /* @__PURE__ */ jsx11("div", { className: clx5("flex items-center overflow-hidden whitespace-nowrap", SIDEBAR_RAIL_FADE), "data-testid": "sidebar-user-menu-name-container", children: displayName ? /* @__PURE__ */ jsx11(
2523
- Text5,
2110
+ /* @__PURE__ */ jsx9("div", { className: "flex size-6 shrink-0 items-center justify-center", "data-testid": "sidebar-user-menu-avatar-container", children: fallback ? /* @__PURE__ */ jsx9(Avatar, { size: "xsmall", fallback, "data-testid": "sidebar-user-menu-avatar" }) : /* @__PURE__ */ jsx9(Skeleton, { className: "h-6 w-6 rounded-full" }) }),
2111
+ /* @__PURE__ */ jsx9("div", { className: clx4("flex items-center overflow-hidden whitespace-nowrap", SIDEBAR_RAIL_FADE), "data-testid": "sidebar-user-menu-name-container", children: displayName ? /* @__PURE__ */ jsx9(
2112
+ Text3,
2524
2113
  {
2525
2114
  size: "xsmall",
2526
2115
  weight: "plus",
@@ -2529,22 +2118,22 @@ var UserBadge = () => {
2529
2118
  "data-testid": "sidebar-user-menu-name",
2530
2119
  children: displayName
2531
2120
  }
2532
- ) : /* @__PURE__ */ jsx11(Skeleton, { className: "h-[9px] w-[70px]" }) }),
2533
- /* @__PURE__ */ jsx11(EllipsisHorizontal, { className: clx5("text-ui-fg-muted", SIDEBAR_RAIL_FADE) })
2121
+ ) : /* @__PURE__ */ jsx9(Skeleton, { className: "h-[9px] w-[70px]" }) }),
2122
+ /* @__PURE__ */ jsx9(EllipsisHorizontal, { className: clx4("text-ui-fg-muted", SIDEBAR_RAIL_FADE) })
2534
2123
  ]
2535
2124
  }
2536
2125
  ) });
2537
2126
  };
2538
2127
  var ThemeToggle = () => {
2539
- const { t: t2 } = useTranslation7();
2128
+ const { t: t2 } = useTranslation6();
2540
2129
  const { theme, setTheme } = useTheme();
2541
- return /* @__PURE__ */ jsxs7(DropdownMenu2.SubMenu, { "data-testid": "sidebar-user-menu-theme-toggle", children: [
2542
- /* @__PURE__ */ jsxs7(DropdownMenu2.SubMenuTrigger, { dir: "ltr", className: "rounded-md rtl:rotate-180", "data-testid": "sidebar-user-menu-theme-trigger", children: [
2543
- /* @__PURE__ */ jsx11(CircleHalfSolid, { className: "text-ui-fg-subtle me-2" }),
2544
- /* @__PURE__ */ jsx11("span", { className: "rtl:rotate-180", children: t2("app.menus.user.theme.label") })
2130
+ return /* @__PURE__ */ jsxs5(DropdownMenu2.SubMenu, { "data-testid": "sidebar-user-menu-theme-toggle", children: [
2131
+ /* @__PURE__ */ jsxs5(DropdownMenu2.SubMenuTrigger, { dir: "ltr", className: "rounded-md rtl:rotate-180", "data-testid": "sidebar-user-menu-theme-trigger", children: [
2132
+ /* @__PURE__ */ jsx9(CircleHalfSolid, { className: "text-ui-fg-subtle me-2" }),
2133
+ /* @__PURE__ */ jsx9("span", { className: "rtl:rotate-180", children: t2("app.menus.user.theme.label") })
2545
2134
  ] }),
2546
- /* @__PURE__ */ jsx11(DropdownMenu2.SubMenuContent, { "data-testid": "sidebar-user-menu-theme-content", children: /* @__PURE__ */ jsxs7(DropdownMenu2.RadioGroup, { value: theme, "data-testid": "sidebar-user-menu-theme-radio-group", children: [
2547
- /* @__PURE__ */ jsx11(
2135
+ /* @__PURE__ */ jsx9(DropdownMenu2.SubMenuContent, { "data-testid": "sidebar-user-menu-theme-content", children: /* @__PURE__ */ jsxs5(DropdownMenu2.RadioGroup, { value: theme, "data-testid": "sidebar-user-menu-theme-radio-group", children: [
2136
+ /* @__PURE__ */ jsx9(
2548
2137
  DropdownMenu2.RadioItem,
2549
2138
  {
2550
2139
  value: "system",
@@ -2556,7 +2145,7 @@ var ThemeToggle = () => {
2556
2145
  children: t2("app.menus.user.theme.system")
2557
2146
  }
2558
2147
  ),
2559
- /* @__PURE__ */ jsx11(
2148
+ /* @__PURE__ */ jsx9(
2560
2149
  DropdownMenu2.RadioItem,
2561
2150
  {
2562
2151
  value: "light",
@@ -2568,7 +2157,7 @@ var ThemeToggle = () => {
2568
2157
  children: t2("app.menus.user.theme.light")
2569
2158
  }
2570
2159
  ),
2571
- /* @__PURE__ */ jsx11(
2160
+ /* @__PURE__ */ jsx9(
2572
2161
  DropdownMenu2.RadioItem,
2573
2162
  {
2574
2163
  value: "dark",
@@ -2584,7 +2173,7 @@ var ThemeToggle = () => {
2584
2173
  ] });
2585
2174
  };
2586
2175
  var Logout = () => {
2587
- const { t: t2 } = useTranslation7();
2176
+ const { t: t2 } = useTranslation6();
2588
2177
  const navigate = useNavigate3();
2589
2178
  const { mutateAsync: logoutMutation } = useLogout();
2590
2179
  const handleLogout = async () => {
@@ -2595,33 +2184,33 @@ var Logout = () => {
2595
2184
  }
2596
2185
  });
2597
2186
  };
2598
- return /* @__PURE__ */ jsx11(DropdownMenu2.Item, { onClick: handleLogout, "data-testid": "sidebar-user-menu-logout", children: /* @__PURE__ */ jsxs7("div", { className: "flex items-center gap-x-2", children: [
2599
- /* @__PURE__ */ jsx11(OpenRectArrowOut, { className: "text-ui-fg-subtle" }),
2600
- /* @__PURE__ */ jsx11("span", { children: t2("app.menus.actions.logout") })
2187
+ return /* @__PURE__ */ jsx9(DropdownMenu2.Item, { onClick: handleLogout, "data-testid": "sidebar-user-menu-logout", children: /* @__PURE__ */ jsxs5("div", { className: "flex items-center gap-x-2", children: [
2188
+ /* @__PURE__ */ jsx9(OpenRectArrowOut, { className: "text-ui-fg-subtle" }),
2189
+ /* @__PURE__ */ jsx9("span", { children: t2("app.menus.actions.logout") })
2601
2190
  ] }) });
2602
2191
  };
2603
2192
  var GlobalKeybindsModal = (props) => {
2604
- const { t: t2 } = useTranslation7();
2193
+ const { t: t2 } = useTranslation6();
2605
2194
  const globalShortcuts = useGlobalShortcuts();
2606
- const [searchValue, onSearchValueChange] = useState10("");
2195
+ const [searchValue, onSearchValueChange] = useState9("");
2607
2196
  const searchResults = searchValue ? globalShortcuts.filter((shortcut) => {
2608
2197
  return shortcut.label.toLowerCase().includes(searchValue?.toLowerCase());
2609
2198
  }) : globalShortcuts;
2610
- return /* @__PURE__ */ jsx11(RadixDialog3.Root, { ...props, "data-testid": "shortcuts-modal", children: /* @__PURE__ */ jsxs7(RadixDialog3.Portal, { children: [
2611
- /* @__PURE__ */ jsx11(RadixDialog3.Overlay, { className: "bg-ui-bg-overlay fixed inset-0", "data-testid": "shortcuts-modal-overlay" }),
2612
- /* @__PURE__ */ jsxs7(RadixDialog3.Content, { className: "bg-ui-bg-subtle shadow-elevation-modal fixed left-[50%] top-[50%] flex h-full max-h-[612px] w-full max-w-[560px] translate-x-[-50%] translate-y-[-50%] flex-col divide-y overflow-hidden rounded-lg", "data-testid": "shortcuts-modal-content", children: [
2613
- /* @__PURE__ */ jsxs7("div", { className: "flex flex-col gap-y-3 px-6 py-4", "data-testid": "shortcuts-modal-header", children: [
2614
- /* @__PURE__ */ jsxs7("div", { className: "flex items-center justify-between", "data-testid": "shortcuts-modal-header-top", children: [
2615
- /* @__PURE__ */ jsxs7("div", { "data-testid": "shortcuts-modal-title-container", children: [
2616
- /* @__PURE__ */ jsx11(RadixDialog3.Title, { asChild: true, children: /* @__PURE__ */ jsx11(Heading2, { "data-testid": "shortcuts-modal-title", children: t2("app.menus.user.shortcuts") }) }),
2617
- /* @__PURE__ */ jsx11(RadixDialog3.Description, { className: "sr-only", "data-testid": "shortcuts-modal-description" })
2199
+ return /* @__PURE__ */ jsx9(RadixDialog3.Root, { ...props, "data-testid": "shortcuts-modal", children: /* @__PURE__ */ jsxs5(RadixDialog3.Portal, { children: [
2200
+ /* @__PURE__ */ jsx9(RadixDialog3.Overlay, { className: "bg-ui-bg-overlay fixed inset-0", "data-testid": "shortcuts-modal-overlay" }),
2201
+ /* @__PURE__ */ jsxs5(RadixDialog3.Content, { className: "bg-ui-bg-subtle shadow-elevation-modal fixed left-[50%] top-[50%] flex h-full max-h-[612px] w-full max-w-[560px] translate-x-[-50%] translate-y-[-50%] flex-col divide-y overflow-hidden rounded-lg", "data-testid": "shortcuts-modal-content", children: [
2202
+ /* @__PURE__ */ jsxs5("div", { className: "flex flex-col gap-y-3 px-6 py-4", "data-testid": "shortcuts-modal-header", children: [
2203
+ /* @__PURE__ */ jsxs5("div", { className: "flex items-center justify-between", "data-testid": "shortcuts-modal-header-top", children: [
2204
+ /* @__PURE__ */ jsxs5("div", { "data-testid": "shortcuts-modal-title-container", children: [
2205
+ /* @__PURE__ */ jsx9(RadixDialog3.Title, { asChild: true, children: /* @__PURE__ */ jsx9(Heading, { "data-testid": "shortcuts-modal-title", children: t2("app.menus.user.shortcuts") }) }),
2206
+ /* @__PURE__ */ jsx9(RadixDialog3.Description, { className: "sr-only", "data-testid": "shortcuts-modal-description" })
2618
2207
  ] }),
2619
- /* @__PURE__ */ jsxs7("div", { className: "flex items-center gap-x-2", "data-testid": "shortcuts-modal-close-container", children: [
2620
- /* @__PURE__ */ jsx11(Kbd3, { "data-testid": "shortcuts-modal-close-hint", children: "esc" }),
2621
- /* @__PURE__ */ jsx11(RadixDialog3.Close, { asChild: true, children: /* @__PURE__ */ jsx11(IconButton5, { variant: "transparent", size: "small", "data-testid": "shortcuts-modal-close-button", children: /* @__PURE__ */ jsx11(XMark2, {}) }) })
2208
+ /* @__PURE__ */ jsxs5("div", { className: "flex items-center gap-x-2", "data-testid": "shortcuts-modal-close-container", children: [
2209
+ /* @__PURE__ */ jsx9(Kbd3, { "data-testid": "shortcuts-modal-close-hint", children: "esc" }),
2210
+ /* @__PURE__ */ jsx9(RadixDialog3.Close, { asChild: true, children: /* @__PURE__ */ jsx9(IconButton3, { variant: "transparent", size: "small", "data-testid": "shortcuts-modal-close-button", children: /* @__PURE__ */ jsx9(XMark2, {}) }) })
2622
2211
  ] })
2623
2212
  ] }),
2624
- /* @__PURE__ */ jsx11("div", { "data-testid": "shortcuts-modal-search-container", children: /* @__PURE__ */ jsx11(
2213
+ /* @__PURE__ */ jsx9("div", { "data-testid": "shortcuts-modal-search-container", children: /* @__PURE__ */ jsx9(
2625
2214
  Input,
2626
2215
  {
2627
2216
  type: "search",
@@ -2631,18 +2220,18 @@ var GlobalKeybindsModal = (props) => {
2631
2220
  }
2632
2221
  ) })
2633
2222
  ] }),
2634
- /* @__PURE__ */ jsx11("div", { className: "flex flex-col divide-y overflow-y-auto", "data-testid": "shortcuts-modal-list", children: searchResults.map((shortcut, index) => {
2635
- return /* @__PURE__ */ jsxs7(
2223
+ /* @__PURE__ */ jsx9("div", { className: "flex flex-col divide-y overflow-y-auto", "data-testid": "shortcuts-modal-list", children: searchResults.map((shortcut, index) => {
2224
+ return /* @__PURE__ */ jsxs5(
2636
2225
  "div",
2637
2226
  {
2638
2227
  className: "text-ui-fg-subtle flex items-center justify-between px-6 py-3",
2639
2228
  "data-testid": `shortcut-item-${shortcut.label.toLowerCase().replace(/\s/g, "-")}`,
2640
2229
  children: [
2641
- /* @__PURE__ */ jsx11(Text5, { size: "small", "data-testid": `shortcut-item-${shortcut.label.toLowerCase().replace(/\s/g, "-")}-label`, children: shortcut.label }),
2642
- /* @__PURE__ */ jsx11("div", { className: "flex items-center gap-x-1", "data-testid": `shortcut-item-${shortcut.label.toLowerCase().replace(/\s/g, "-")}-keys`, children: shortcut.keys.Mac?.map((key, index2) => {
2643
- return /* @__PURE__ */ jsxs7("div", { className: "flex items-center gap-x-1", "data-testid": `shortcut-item-${shortcut.label.toLowerCase().replace(/\s/g, "-")}-key-${index2}`, children: [
2644
- /* @__PURE__ */ jsx11(Kbd3, { "data-testid": `shortcut-item-${shortcut.label.toLowerCase().replace(/\s/g, "-")}-kbd-${index2}`, children: key }),
2645
- index2 < (shortcut.keys.Mac?.length || 0) - 1 && /* @__PURE__ */ jsx11("span", { className: "txt-compact-xsmall text-ui-fg-subtle", "data-testid": `shortcut-item-${shortcut.label.toLowerCase().replace(/\s/g, "-")}-separator-${index2}`, children: t2("app.keyboardShortcuts.then") })
2230
+ /* @__PURE__ */ jsx9(Text3, { size: "small", "data-testid": `shortcut-item-${shortcut.label.toLowerCase().replace(/\s/g, "-")}-label`, children: shortcut.label }),
2231
+ /* @__PURE__ */ jsx9("div", { className: "flex items-center gap-x-1", "data-testid": `shortcut-item-${shortcut.label.toLowerCase().replace(/\s/g, "-")}-keys`, children: shortcut.keys.Mac?.map((key, index2) => {
2232
+ return /* @__PURE__ */ jsxs5("div", { className: "flex items-center gap-x-1", "data-testid": `shortcut-item-${shortcut.label.toLowerCase().replace(/\s/g, "-")}-key-${index2}`, children: [
2233
+ /* @__PURE__ */ jsx9(Kbd3, { "data-testid": `shortcut-item-${shortcut.label.toLowerCase().replace(/\s/g, "-")}-kbd-${index2}`, children: key }),
2234
+ index2 < (shortcut.keys.Mac?.length || 0) - 1 && /* @__PURE__ */ jsx9("span", { className: "txt-compact-xsmall text-ui-fg-subtle", "data-testid": `shortcut-item-${shortcut.label.toLowerCase().replace(/\s/g, "-")}-separator-${index2}`, children: t2("app.keyboardShortcuts.then") })
2646
2235
  ] }, index2);
2647
2236
  }) })
2648
2237
  ]
@@ -2657,7 +2246,7 @@ var UserItem = () => {
2657
2246
  const { user, isPending, isError, error } = useMe();
2658
2247
  const loaded = !isPending && !!user;
2659
2248
  if (!loaded) {
2660
- return /* @__PURE__ */ jsx11("div", {});
2249
+ return /* @__PURE__ */ jsx9("div", {});
2661
2250
  }
2662
2251
  const name = [user.first_name, user.last_name].filter(Boolean).join(" ");
2663
2252
  const email = user.email;
@@ -2666,8 +2255,8 @@ var UserItem = () => {
2666
2255
  if (isError) {
2667
2256
  throw error;
2668
2257
  }
2669
- return /* @__PURE__ */ jsxs7("div", { className: "flex items-center gap-x-3 overflow-hidden px-2 py-1", "data-testid": "sidebar-user-menu-item", children: [
2670
- /* @__PURE__ */ jsx11(
2258
+ return /* @__PURE__ */ jsxs5("div", { className: "flex items-center gap-x-3 overflow-hidden px-2 py-1", "data-testid": "sidebar-user-menu-item", children: [
2259
+ /* @__PURE__ */ jsx9(
2671
2260
  Avatar,
2672
2261
  {
2673
2262
  size: "small",
@@ -2677,9 +2266,9 @@ var UserItem = () => {
2677
2266
  "data-testid": "sidebar-user-menu-item-avatar"
2678
2267
  }
2679
2268
  ),
2680
- /* @__PURE__ */ jsxs7("div", { className: "block w-full min-w-0 max-w-[187px] overflow-hidden whitespace-nowrap", "data-testid": "sidebar-user-menu-item-details", children: [
2681
- /* @__PURE__ */ jsx11(
2682
- Text5,
2269
+ /* @__PURE__ */ jsxs5("div", { className: "block w-full min-w-0 max-w-[187px] overflow-hidden whitespace-nowrap", "data-testid": "sidebar-user-menu-item-details", children: [
2270
+ /* @__PURE__ */ jsx9(
2271
+ Text3,
2683
2272
  {
2684
2273
  size: "small",
2685
2274
  weight: "plus",
@@ -2689,8 +2278,8 @@ var UserItem = () => {
2689
2278
  children: name || email
2690
2279
  }
2691
2280
  ),
2692
- !!name && /* @__PURE__ */ jsx11(
2693
- Text5,
2281
+ !!name && /* @__PURE__ */ jsx9(
2282
+ Text3,
2694
2283
  {
2695
2284
  size: "xsmall",
2696
2285
  leading: "compact",
@@ -2713,18 +2302,18 @@ import {
2713
2302
 
2714
2303
  // src/components/utilities/error-boundary/error-boundary.tsx
2715
2304
  import { ExclamationCircle } from "@medusajs/icons";
2716
- import { Text as Text6 } from "@medusajs/ui";
2717
- import { useTranslation as useTranslation8 } from "react-i18next";
2305
+ import { Text as Text4 } from "@medusajs/ui";
2306
+ import { useTranslation as useTranslation7 } from "react-i18next";
2718
2307
  import { Navigate as Navigate2, useLocation as useLocation5, useRouteError } from "react-router-dom";
2719
- import { jsx as jsx12, jsxs as jsxs8 } from "react/jsx-runtime";
2308
+ import { jsx as jsx10, jsxs as jsxs6 } from "react/jsx-runtime";
2720
2309
  var ErrorBoundary = () => {
2721
2310
  const error = useRouteError();
2722
2311
  const location = useLocation5();
2723
- const { t: t2 } = useTranslation8();
2312
+ const { t: t2 } = useTranslation7();
2724
2313
  let code = null;
2725
2314
  if (isClientError(error)) {
2726
2315
  if (error.status === 401) {
2727
- return /* @__PURE__ */ jsx12(Navigate2, { to: "/login", state: { from: location }, replace: true });
2316
+ return /* @__PURE__ */ jsx10(Navigate2, { to: "/login", state: { from: location }, replace: true });
2728
2317
  }
2729
2318
  code = error.status ?? null;
2730
2319
  }
@@ -2751,12 +2340,12 @@ var ErrorBoundary = () => {
2751
2340
  message = t2("errorBoundary.defaultMessage");
2752
2341
  break;
2753
2342
  }
2754
- return /* @__PURE__ */ jsx12("div", { className: "flex size-full min-h-[calc(100vh-57px-24px)] items-center justify-center", children: /* @__PURE__ */ jsx12("div", { className: "flex flex-col gap-y-6", children: /* @__PURE__ */ jsxs8("div", { className: "text-ui-fg-subtle flex flex-col items-center gap-y-3", children: [
2755
- /* @__PURE__ */ jsx12(ExclamationCircle, {}),
2756
- /* @__PURE__ */ jsxs8("div", { className: "flex flex-col items-center justify-center gap-y-1", children: [
2757
- /* @__PURE__ */ jsx12(Text6, { size: "small", leading: "compact", weight: "plus", children: title }),
2758
- /* @__PURE__ */ jsx12(
2759
- Text6,
2343
+ return /* @__PURE__ */ jsx10("div", { className: "flex size-full min-h-[calc(100vh-57px-24px)] items-center justify-center", children: /* @__PURE__ */ jsx10("div", { className: "flex flex-col gap-y-6", children: /* @__PURE__ */ jsxs6("div", { className: "text-ui-fg-subtle flex flex-col items-center gap-y-3", children: [
2344
+ /* @__PURE__ */ jsx10(ExclamationCircle, {}),
2345
+ /* @__PURE__ */ jsxs6("div", { className: "flex flex-col items-center justify-center gap-y-1", children: [
2346
+ /* @__PURE__ */ jsx10(Text4, { size: "small", leading: "compact", weight: "plus", children: title }),
2347
+ /* @__PURE__ */ jsx10(
2348
+ Text4,
2760
2349
  {
2761
2350
  size: "small",
2762
2351
  className: "text-ui-fg-muted text-balance text-center",
@@ -2959,7 +2548,7 @@ var ROUTE_PERMISSIONS = {
2959
2548
  var getRoutePermission = (path) => ROUTE_PERMISSIONS[path];
2960
2549
 
2961
2550
  // src/components/layout/main-layout/main-layout.tsx
2962
- import { jsx as jsx13, jsxs as jsxs9 } from "react/jsx-runtime";
2551
+ import { jsx as jsx11, jsxs as jsxs7 } from "react/jsx-runtime";
2963
2552
  var navId = (to) => to.replace(/^\//, "");
2964
2553
  var toCoreNavItem = (route) => ({
2965
2554
  id: navId(route.to),
@@ -2973,7 +2562,7 @@ var toCoreNavItem = (route) => ({
2973
2562
  }))
2974
2563
  });
2975
2564
  var MainLayout = () => {
2976
- return /* @__PURE__ */ jsx13(Shell, { children: /* @__PURE__ */ jsx13(MainSidebar, {}) });
2565
+ return /* @__PURE__ */ jsx11(Shell, { children: /* @__PURE__ */ jsx11(MainSidebar, {}) });
2977
2566
  };
2978
2567
  var allMenuItems = menuItemsModule.menuItems ?? [];
2979
2568
  var addNestedItems = (to, menuItems, items) => {
@@ -3016,50 +2605,50 @@ var MainSidebar = () => {
3016
2605
  const customRoutesWithNested = customMenuItems.sort((a, b) => (a.rank ?? 0) - (b.rank ?? 0)).map((item) => ({
3017
2606
  label: item.label,
3018
2607
  to: item.path,
3019
- icon: item.icon ? /* @__PURE__ */ jsx13(item.icon, {}) : void 0,
2608
+ icon: item.icon ? /* @__PURE__ */ jsx11(item.icon, {}) : void 0,
3020
2609
  translationNs: item.translationNs,
3021
2610
  items: addNestedItems(item.path, visibleMenuItems)
3022
2611
  }));
3023
- return /* @__PURE__ */ jsx13(
2612
+ return /* @__PURE__ */ jsx11(
3024
2613
  "aside",
3025
2614
  {
3026
2615
  className: "flex flex-1 flex-col justify-between overflow-y-auto overflow-x-hidden",
3027
2616
  "data-testid": "sidebar",
3028
- children: /* @__PURE__ */ jsxs9("div", { className: "flex flex-1 flex-col", children: [
3029
- /* @__PURE__ */ jsxs9(
2617
+ children: /* @__PURE__ */ jsxs7("div", { className: "flex flex-1 flex-col", children: [
2618
+ /* @__PURE__ */ jsxs7(
3030
2619
  "div",
3031
2620
  {
3032
2621
  className: "sticky top-0 bg-ui-bg-subtle",
3033
2622
  "data-testid": "sidebar-header-section",
3034
2623
  children: [
3035
- /* @__PURE__ */ jsx13(Header, {}),
3036
- /* @__PURE__ */ jsx13("div", { className: "px-3", children: /* @__PURE__ */ jsx13(Divider, { variant: "dashed" }) })
2624
+ /* @__PURE__ */ jsx11(Header, {}),
2625
+ /* @__PURE__ */ jsx11("div", { className: "px-3", children: /* @__PURE__ */ jsx11(Divider, { variant: "dashed" }) })
3037
2626
  ]
3038
2627
  }
3039
2628
  ),
3040
- /* @__PURE__ */ jsxs9("div", { className: "flex flex-1 flex-col justify-between", children: [
3041
- /* @__PURE__ */ jsx13("div", { className: "flex flex-1 flex-col", children: /* @__PURE__ */ jsxs9(
2629
+ /* @__PURE__ */ jsxs7("div", { className: "flex flex-1 flex-col justify-between", children: [
2630
+ /* @__PURE__ */ jsx11("div", { className: "flex flex-1 flex-col", children: /* @__PURE__ */ jsxs7(
3042
2631
  "nav",
3043
2632
  {
3044
2633
  className: "flex flex-col gap-y-1 py-3",
3045
2634
  "data-testid": "sidebar-core-routes",
3046
2635
  children: [
3047
- /* @__PURE__ */ jsx13(Searchbar, {}),
2636
+ /* @__PURE__ */ jsx11(Searchbar, {}),
3048
2637
  routesWithNested.map((route) => {
3049
- return /* @__PURE__ */ jsx13(NavItem, { ...route }, route.to);
2638
+ return /* @__PURE__ */ jsx11(NavItem, { ...route }, route.to);
3050
2639
  }),
3051
- customRoutesWithNested.map((route) => /* @__PURE__ */ jsx13(NavItem, { ...route }, route.to))
2640
+ customRoutesWithNested.map((route) => /* @__PURE__ */ jsx11(NavItem, { ...route }, route.to))
3052
2641
  ]
3053
2642
  }
3054
2643
  ) }),
3055
- /* @__PURE__ */ jsx13(UtilitySection, {})
2644
+ /* @__PURE__ */ jsx11(UtilitySection, {})
3056
2645
  ] }),
3057
- /* @__PURE__ */ jsx13(
2646
+ /* @__PURE__ */ jsx11(
3058
2647
  "div",
3059
2648
  {
3060
2649
  className: "sticky bottom-0 bg-ui-bg-subtle",
3061
2650
  "data-testid": "sidebar-user-section",
3062
- children: /* @__PURE__ */ jsx13(UserSection, {})
2651
+ children: /* @__PURE__ */ jsx11(UserSection, {})
3063
2652
  }
3064
2653
  )
3065
2654
  ] })
@@ -3067,7 +2656,7 @@ var MainSidebar = () => {
3067
2656
  );
3068
2657
  };
3069
2658
  var Logout2 = () => {
3070
- const { t: t2 } = useTranslation9();
2659
+ const { t: t2 } = useTranslation8();
3071
2660
  const navigate = useNavigate4();
3072
2661
  const { mutateAsync: logoutMutation } = useLogout();
3073
2662
  const handleLogout = async () => {
@@ -3078,20 +2667,20 @@ var Logout2 = () => {
3078
2667
  }
3079
2668
  });
3080
2669
  };
3081
- return /* @__PURE__ */ jsx13(
2670
+ return /* @__PURE__ */ jsx11(
3082
2671
  DropdownMenu3.Item,
3083
2672
  {
3084
2673
  onClick: handleLogout,
3085
2674
  "data-testid": "sidebar-header-dropdown-logout",
3086
- children: /* @__PURE__ */ jsxs9("div", { className: "flex items-center gap-x-2", children: [
3087
- /* @__PURE__ */ jsx13(OpenRectArrowOut2, { className: "text-ui-fg-subtle" }),
3088
- /* @__PURE__ */ jsx13("span", { children: t2("app.menus.actions.logout") })
2675
+ children: /* @__PURE__ */ jsxs7("div", { className: "flex items-center gap-x-2", children: [
2676
+ /* @__PURE__ */ jsx11(OpenRectArrowOut2, { className: "text-ui-fg-subtle" }),
2677
+ /* @__PURE__ */ jsx11("span", { children: t2("app.menus.actions.logout") })
3089
2678
  ] })
3090
2679
  }
3091
2680
  );
3092
2681
  };
3093
2682
  var Header = () => {
3094
- const { t: t2 } = useTranslation9();
2683
+ const { t: t2 } = useTranslation8();
3095
2684
  const { store, isPending, isError, error } = useStore();
3096
2685
  const direction = useDocumentDirection();
3097
2686
  const name = store?.name;
@@ -3100,12 +2689,12 @@ var Header = () => {
3100
2689
  if (isError) {
3101
2690
  throw error;
3102
2691
  }
3103
- return /* @__PURE__ */ jsx13("div", { className: "w-full p-3", "data-testid": "sidebar-header-dropdown", children: /* @__PURE__ */ jsxs9(DropdownMenu3, { dir: direction, "data-testid": "sidebar-header-dropdown-menu", children: [
3104
- /* @__PURE__ */ jsxs9(
2692
+ return /* @__PURE__ */ jsx11("div", { className: "w-full p-3", "data-testid": "sidebar-header-dropdown", children: /* @__PURE__ */ jsxs7(DropdownMenu3, { dir: direction, "data-testid": "sidebar-header-dropdown-menu", children: [
2693
+ /* @__PURE__ */ jsxs7(
3105
2694
  DropdownMenu3.Trigger,
3106
2695
  {
3107
2696
  disabled: !isLoaded,
3108
- className: clx6(
2697
+ className: clx5(
3109
2698
  "grid w-full grid-cols-[24px_1fr_15px] items-center gap-x-3 rounded-md bg-ui-bg-subtle p-0.5 pe-2 outline-none transition-fg",
3110
2699
  "hover:bg-ui-bg-subtle-hover",
3111
2700
  "data-[state=open]:bg-ui-bg-subtle-hover",
@@ -3113,7 +2702,7 @@ var Header = () => {
3113
2702
  ),
3114
2703
  "data-testid": "sidebar-header-dropdown-trigger",
3115
2704
  children: [
3116
- fallback ? /* @__PURE__ */ jsx13(
2705
+ fallback ? /* @__PURE__ */ jsx11(
3117
2706
  Avatar2,
3118
2707
  {
3119
2708
  variant: "squared",
@@ -3121,14 +2710,14 @@ var Header = () => {
3121
2710
  fallback,
3122
2711
  "data-testid": "sidebar-header-dropdown-avatar"
3123
2712
  }
3124
- ) : /* @__PURE__ */ jsx13(Skeleton, { className: "h-6 w-6 rounded-md" }),
3125
- /* @__PURE__ */ jsx13(
2713
+ ) : /* @__PURE__ */ jsx11(Skeleton, { className: "h-6 w-6 rounded-md" }),
2714
+ /* @__PURE__ */ jsx11(
3126
2715
  "div",
3127
2716
  {
3128
- className: clx6("block overflow-hidden whitespace-nowrap text-start", SIDEBAR_RAIL_FADE),
2717
+ className: clx5("block overflow-hidden whitespace-nowrap text-start", SIDEBAR_RAIL_FADE),
3129
2718
  "data-testid": "sidebar-header-dropdown-store-name",
3130
- children: name ? /* @__PURE__ */ jsx13(
3131
- Text7,
2719
+ children: name ? /* @__PURE__ */ jsx11(
2720
+ Text5,
3132
2721
  {
3133
2722
  size: "small",
3134
2723
  weight: "plus",
@@ -3136,26 +2725,26 @@ var Header = () => {
3136
2725
  className: "truncate",
3137
2726
  children: store.name
3138
2727
  }
3139
- ) : /* @__PURE__ */ jsx13(Skeleton, { className: "h-[9px] w-[120px]" })
2728
+ ) : /* @__PURE__ */ jsx11(Skeleton, { className: "h-[9px] w-[120px]" })
3140
2729
  }
3141
2730
  ),
3142
- /* @__PURE__ */ jsx13(EllipsisHorizontal2, { className: clx6("text-ui-fg-muted", SIDEBAR_RAIL_FADE) })
2731
+ /* @__PURE__ */ jsx11(EllipsisHorizontal2, { className: clx5("text-ui-fg-muted", SIDEBAR_RAIL_FADE) })
3143
2732
  ]
3144
2733
  }
3145
2734
  ),
3146
- isLoaded && /* @__PURE__ */ jsxs9(
2735
+ isLoaded && /* @__PURE__ */ jsxs7(
3147
2736
  DropdownMenu3.Content,
3148
2737
  {
3149
2738
  className: "w-[var(--radix-dropdown-menu-trigger-width)] min-w-0",
3150
2739
  "data-testid": "sidebar-header-dropdown-content",
3151
2740
  children: [
3152
- /* @__PURE__ */ jsxs9(
2741
+ /* @__PURE__ */ jsxs7(
3153
2742
  "div",
3154
2743
  {
3155
2744
  className: "flex items-center gap-x-3 px-2 py-1",
3156
2745
  "data-testid": "sidebar-header-dropdown-user-info",
3157
2746
  children: [
3158
- /* @__PURE__ */ jsx13(
2747
+ /* @__PURE__ */ jsx11(
3159
2748
  Avatar2,
3160
2749
  {
3161
2750
  variant: "squared",
@@ -3164,14 +2753,14 @@ var Header = () => {
3164
2753
  "data-testid": "sidebar-header-dropdown-user-avatar"
3165
2754
  }
3166
2755
  ),
3167
- /* @__PURE__ */ jsxs9(
2756
+ /* @__PURE__ */ jsxs7(
3168
2757
  "div",
3169
2758
  {
3170
2759
  className: "flex flex-col overflow-hidden",
3171
2760
  "data-testid": "sidebar-header-dropdown-user-details",
3172
2761
  children: [
3173
- /* @__PURE__ */ jsx13(
3174
- Text7,
2762
+ /* @__PURE__ */ jsx11(
2763
+ Text5,
3175
2764
  {
3176
2765
  size: "small",
3177
2766
  weight: "plus",
@@ -3181,8 +2770,8 @@ var Header = () => {
3181
2770
  children: name
3182
2771
  }
3183
2772
  ),
3184
- /* @__PURE__ */ jsx13(
3185
- Text7,
2773
+ /* @__PURE__ */ jsx11(
2774
+ Text5,
3186
2775
  {
3187
2776
  size: "xsmall",
3188
2777
  leading: "compact",
@@ -3197,31 +2786,31 @@ var Header = () => {
3197
2786
  ]
3198
2787
  }
3199
2788
  ),
3200
- /* @__PURE__ */ jsx13(DropdownMenu3.Separator, { "data-testid": "sidebar-header-dropdown-separator-1" }),
3201
- /* @__PURE__ */ jsx13(
2789
+ /* @__PURE__ */ jsx11(DropdownMenu3.Separator, { "data-testid": "sidebar-header-dropdown-separator-1" }),
2790
+ /* @__PURE__ */ jsx11(
3202
2791
  DropdownMenu3.Item,
3203
2792
  {
3204
2793
  className: "gap-x-2",
3205
2794
  asChild: true,
3206
2795
  "data-testid": "sidebar-header-dropdown-store-settings",
3207
- children: /* @__PURE__ */ jsxs9(Link3, { to: "/settings/marketplace", children: [
3208
- /* @__PURE__ */ jsx13(BuildingStorefront, { className: "text-ui-fg-subtle" }),
2796
+ children: /* @__PURE__ */ jsxs7(Link3, { to: "/settings/marketplace", children: [
2797
+ /* @__PURE__ */ jsx11(BuildingStorefront, { className: "text-ui-fg-subtle" }),
3209
2798
  t2("app.nav.main.marketplaceSettings")
3210
2799
  ] })
3211
2800
  }
3212
2801
  ),
3213
- /* @__PURE__ */ jsx13(DropdownMenu3.Separator, { "data-testid": "sidebar-header-dropdown-separator-2" }),
3214
- /* @__PURE__ */ jsx13(Logout2, {})
2802
+ /* @__PURE__ */ jsx11(DropdownMenu3.Separator, { "data-testid": "sidebar-header-dropdown-separator-2" }),
2803
+ /* @__PURE__ */ jsx11(Logout2, {})
3215
2804
  ]
3216
2805
  }
3217
2806
  )
3218
2807
  ] }) });
3219
2808
  };
3220
2809
  var useCoreRoutes = () => {
3221
- const { t: t2 } = useTranslation9();
2810
+ const { t: t2 } = useTranslation8();
3222
2811
  return [
3223
2812
  {
3224
- icon: /* @__PURE__ */ jsx13(ShoppingCart, {}),
2813
+ icon: /* @__PURE__ */ jsx11(ShoppingCart, {}),
3225
2814
  label: t2("orders.domain"),
3226
2815
  to: "/orders",
3227
2816
  items: [
@@ -3233,7 +2822,7 @@ var useCoreRoutes = () => {
3233
2822
  ]
3234
2823
  },
3235
2824
  {
3236
- icon: /* @__PURE__ */ jsx13(Tag, {}),
2825
+ icon: /* @__PURE__ */ jsx11(Tag, {}),
3237
2826
  label: t2("products.domain"),
3238
2827
  to: "/products",
3239
2828
  items: [
@@ -3257,7 +2846,7 @@ var useCoreRoutes = () => {
3257
2846
  ]
3258
2847
  },
3259
2848
  {
3260
- icon: /* @__PURE__ */ jsx13(Buildings, {}),
2849
+ icon: /* @__PURE__ */ jsx11(Buildings, {}),
3261
2850
  label: t2("inventory.domain"),
3262
2851
  to: "/inventory",
3263
2852
  items: [
@@ -3268,7 +2857,7 @@ var useCoreRoutes = () => {
3268
2857
  ]
3269
2858
  },
3270
2859
  {
3271
- icon: /* @__PURE__ */ jsx13(Users, {}),
2860
+ icon: /* @__PURE__ */ jsx11(Users, {}),
3272
2861
  label: t2("customers.domain"),
3273
2862
  to: "/customers",
3274
2863
  items: [
@@ -3279,7 +2868,7 @@ var useCoreRoutes = () => {
3279
2868
  ]
3280
2869
  },
3281
2870
  {
3282
- icon: /* @__PURE__ */ jsx13(ReceiptPercent, {}),
2871
+ icon: /* @__PURE__ */ jsx11(ReceiptPercent, {}),
3283
2872
  label: t2("promotions.domain"),
3284
2873
  to: "/promotions",
3285
2874
  items: [
@@ -3290,12 +2879,12 @@ var useCoreRoutes = () => {
3290
2879
  ]
3291
2880
  },
3292
2881
  {
3293
- icon: /* @__PURE__ */ jsx13(CurrencyDollar, {}),
2882
+ icon: /* @__PURE__ */ jsx11(CurrencyDollar, {}),
3294
2883
  label: t2("priceLists.domain"),
3295
2884
  to: "/price-lists"
3296
2885
  },
3297
2886
  {
3298
- icon: /* @__PURE__ */ jsx13(BuildingStorefront, {}),
2887
+ icon: /* @__PURE__ */ jsx11(BuildingStorefront, {}),
3299
2888
  label: t2("stores.domain"),
3300
2889
  to: "/stores",
3301
2890
  items: [
@@ -3306,72 +2895,72 @@ var useCoreRoutes = () => {
3306
2895
  ]
3307
2896
  },
3308
2897
  {
3309
- icon: /* @__PURE__ */ jsx13(CreditCardRefresh, {}),
2898
+ icon: /* @__PURE__ */ jsx11(CreditCardRefresh, {}),
3310
2899
  label: t2("payouts.domain"),
3311
2900
  to: "/payouts"
3312
2901
  }
3313
2902
  ];
3314
2903
  };
3315
2904
  var Searchbar = () => {
3316
- const { t: t2 } = useTranslation9();
2905
+ const { t: t2 } = useTranslation8();
3317
2906
  const { toggleSearch } = useSearch();
3318
- return /* @__PURE__ */ jsx13("div", { className: "px-3", "data-testid": "sidebar-search", children: /* @__PURE__ */ jsxs9(
2907
+ return /* @__PURE__ */ jsx11("div", { className: "px-3", "data-testid": "sidebar-search", children: /* @__PURE__ */ jsxs7(
3319
2908
  "button",
3320
2909
  {
3321
2910
  onClick: toggleSearch,
3322
- className: clx6(
2911
+ className: clx5(
3323
2912
  "flex w-full items-center gap-x-2.5 rounded-md bg-ui-bg-subtle px-2 py-1 text-ui-fg-subtle outline-none transition-[padding] duration-200 ease-sidebar motion-reduce:transition-none group-data-[state=collapsed]/sidebar:px-1",
3324
2913
  "hover:bg-ui-bg-subtle-hover",
3325
2914
  "focus-visible:shadow-borders-focus"
3326
2915
  ),
3327
2916
  "data-testid": "sidebar-search-button",
3328
2917
  children: [
3329
- /* @__PURE__ */ jsx13(MagnifyingGlass2, { className: "shrink-0" }),
3330
- /* @__PURE__ */ jsx13("div", { className: clx6("flex-1 whitespace-nowrap text-start", SIDEBAR_RAIL_FADE), children: /* @__PURE__ */ jsx13(Text7, { size: "small", leading: "compact", weight: "plus", children: t2("app.search.label") }) }),
3331
- /* @__PURE__ */ jsx13(Text7, { size: "small", leading: "compact", className: clx6("text-ui-fg-muted", SIDEBAR_RAIL_FADE), children: "\u2318K" })
2918
+ /* @__PURE__ */ jsx11(MagnifyingGlass2, { className: "shrink-0" }),
2919
+ /* @__PURE__ */ jsx11("div", { className: clx5("flex-1 whitespace-nowrap text-start", SIDEBAR_RAIL_FADE), children: /* @__PURE__ */ jsx11(Text5, { size: "small", leading: "compact", weight: "plus", children: t2("app.search.label") }) }),
2920
+ /* @__PURE__ */ jsx11(Text5, { size: "small", leading: "compact", className: clx5("text-ui-fg-muted", SIDEBAR_RAIL_FADE), children: "\u2318K" })
3332
2921
  ]
3333
2922
  }
3334
2923
  ) });
3335
2924
  };
3336
2925
  var UtilitySection = () => {
3337
2926
  const location = useLocation6();
3338
- const { t: t2 } = useTranslation9();
3339
- return /* @__PURE__ */ jsx13("div", { className: "flex flex-col gap-y-0.5 py-3", children: /* @__PURE__ */ jsx13(
2927
+ const { t: t2 } = useTranslation8();
2928
+ return /* @__PURE__ */ jsx11("div", { className: "flex flex-col gap-y-0.5 py-3", children: /* @__PURE__ */ jsx11(
3340
2929
  NavItem,
3341
2930
  {
3342
2931
  label: t2("app.nav.settings.header"),
3343
2932
  to: "/settings",
3344
2933
  from: location.pathname,
3345
- icon: /* @__PURE__ */ jsx13(CogSixTooth, {})
2934
+ icon: /* @__PURE__ */ jsx11(CogSixTooth, {})
3346
2935
  }
3347
2936
  ) });
3348
2937
  };
3349
2938
  var UserSection = () => {
3350
- return /* @__PURE__ */ jsxs9("div", { children: [
3351
- /* @__PURE__ */ jsx13("div", { className: "px-3", children: /* @__PURE__ */ jsx13(Divider, { variant: "dashed" }) }),
3352
- /* @__PURE__ */ jsx13(UserMenu, {})
2939
+ return /* @__PURE__ */ jsxs7("div", { children: [
2940
+ /* @__PURE__ */ jsx11("div", { className: "px-3", children: /* @__PURE__ */ jsx11(Divider, { variant: "dashed" }) }),
2941
+ /* @__PURE__ */ jsx11(UserMenu, {})
3353
2942
  ] });
3354
2943
  };
3355
2944
 
3356
2945
  // src/components/layout/public-layout/public-layout.tsx
3357
2946
  import { Outlet as Outlet3 } from "react-router-dom";
3358
- import { jsx as jsx14 } from "react/jsx-runtime";
2947
+ import { jsx as jsx12 } from "react/jsx-runtime";
3359
2948
  var PublicLayout = () => {
3360
- return /* @__PURE__ */ jsx14(Outlet3, {});
2949
+ return /* @__PURE__ */ jsx12(Outlet3, {});
3361
2950
  };
3362
2951
 
3363
2952
  // src/components/layout/settings-layout/settings-layout.tsx
3364
- import { useEffect as useEffect9, useMemo as useMemo6, useState as useState11 } from "react";
2953
+ import { useEffect as useEffect8, useMemo as useMemo6, useState as useState10 } from "react";
3365
2954
  import { ArrowUturnLeft as ArrowUturnLeft2, MinusMini } from "@medusajs/icons";
3366
- import { Divider as Divider2, IconButton as IconButton6, Text as Text8, clx as clx7 } from "@medusajs/ui";
2955
+ import { Divider as Divider2, IconButton as IconButton4, Text as Text6, clx as clx6 } from "@medusajs/ui";
3367
2956
  import { Collapsible as RadixCollapsible2 } from "radix-ui";
3368
- import { useTranslation as useTranslation10 } from "react-i18next";
2957
+ import { useTranslation as useTranslation9 } from "react-i18next";
3369
2958
  import { Link as Link4, useLocation as useLocation7 } from "react-router-dom";
3370
2959
  import menuItemsModule2 from "virtual:mercur/menu-items";
3371
2960
  import { usePermissions as usePermissions2 } from "@mercurjs/dashboard-shared";
3372
- import { jsx as jsx15, jsxs as jsxs10 } from "react/jsx-runtime";
2961
+ import { jsx as jsx13, jsxs as jsxs8 } from "react/jsx-runtime";
3373
2962
  var SettingsLayout = () => {
3374
- return /* @__PURE__ */ jsx15(Shell, { children: /* @__PURE__ */ jsx15(SettingsSidebar, {}) });
2963
+ return /* @__PURE__ */ jsx13(Shell, { children: /* @__PURE__ */ jsx13(SettingsSidebar, {}) });
3375
2964
  };
3376
2965
  var allMenuItems2 = menuItemsModule2.menuItems ?? [];
3377
2966
  var useExtensionNavItems = () => {
@@ -3392,7 +2981,7 @@ var useExtensionNavItems = () => {
3392
2981
  );
3393
2982
  };
3394
2983
  var useSettingRoutes = () => {
3395
- const { t: t2 } = useTranslation10();
2984
+ const { t: t2 } = useTranslation9();
3396
2985
  const extensionNavItems = useExtensionNavItems();
3397
2986
  return useMemo6(
3398
2987
  () => [
@@ -3450,7 +3039,7 @@ var useSettingRoutes = () => {
3450
3039
  );
3451
3040
  };
3452
3041
  var useDeveloperRoutes = () => {
3453
- const { t: t2 } = useTranslation10();
3042
+ const { t: t2 } = useTranslation9();
3454
3043
  return useMemo6(
3455
3044
  () => [
3456
3045
  {
@@ -3466,7 +3055,7 @@ var useDeveloperRoutes = () => {
3466
3055
  );
3467
3056
  };
3468
3057
  var useMyAccountRoutes = () => {
3469
- const { t: t2 } = useTranslation10();
3058
+ const { t: t2 } = useTranslation9();
3470
3059
  return useMemo6(
3471
3060
  () => [
3472
3061
  {
@@ -3492,31 +3081,31 @@ var SettingsSidebar = () => {
3492
3081
  const routes = useSettingRoutes().filter(canReach);
3493
3082
  const developerRoutes = useDeveloperRoutes().filter(canReach);
3494
3083
  const myAccountRoutes = useMyAccountRoutes();
3495
- const { t: t2 } = useTranslation10();
3496
- return /* @__PURE__ */ jsxs10("aside", { className: "relative flex flex-1 flex-col justify-between overflow-y-auto", children: [
3497
- /* @__PURE__ */ jsxs10("div", { className: "sticky top-0 bg-ui-bg-subtle", children: [
3498
- /* @__PURE__ */ jsx15(Header2, {}),
3499
- /* @__PURE__ */ jsx15("div", { className: "flex items-center justify-center px-3", children: /* @__PURE__ */ jsx15(Divider2, { variant: "dashed" }) })
3084
+ const { t: t2 } = useTranslation9();
3085
+ return /* @__PURE__ */ jsxs8("aside", { className: "relative flex flex-1 flex-col justify-between overflow-y-auto", children: [
3086
+ /* @__PURE__ */ jsxs8("div", { className: "sticky top-0 bg-ui-bg-subtle", children: [
3087
+ /* @__PURE__ */ jsx13(Header2, {}),
3088
+ /* @__PURE__ */ jsx13("div", { className: "flex items-center justify-center px-3", children: /* @__PURE__ */ jsx13(Divider2, { variant: "dashed" }) })
3500
3089
  ] }),
3501
- /* @__PURE__ */ jsxs10("div", { className: "flex flex-1 flex-col", children: [
3502
- /* @__PURE__ */ jsxs10("div", { className: "flex flex-1 flex-col overflow-y-auto", children: [
3503
- /* @__PURE__ */ jsx15(
3090
+ /* @__PURE__ */ jsxs8("div", { className: "flex flex-1 flex-col", children: [
3091
+ /* @__PURE__ */ jsxs8("div", { className: "flex flex-1 flex-col overflow-y-auto", children: [
3092
+ /* @__PURE__ */ jsx13(
3504
3093
  RadixCollapsibleSection,
3505
3094
  {
3506
3095
  label: t2("app.nav.settings.general"),
3507
3096
  items: routes
3508
3097
  }
3509
3098
  ),
3510
- /* @__PURE__ */ jsx15("div", { className: "flex items-center justify-center px-3", children: /* @__PURE__ */ jsx15(Divider2, { variant: "dashed" }) }),
3511
- /* @__PURE__ */ jsx15(
3099
+ /* @__PURE__ */ jsx13("div", { className: "flex items-center justify-center px-3", children: /* @__PURE__ */ jsx13(Divider2, { variant: "dashed" }) }),
3100
+ /* @__PURE__ */ jsx13(
3512
3101
  RadixCollapsibleSection,
3513
3102
  {
3514
3103
  label: t2("app.nav.settings.developer"),
3515
3104
  items: developerRoutes
3516
3105
  }
3517
3106
  ),
3518
- /* @__PURE__ */ jsx15("div", { className: "flex items-center justify-center px-3", children: /* @__PURE__ */ jsx15(Divider2, { variant: "dashed" }) }),
3519
- /* @__PURE__ */ jsx15(
3107
+ /* @__PURE__ */ jsx13("div", { className: "flex items-center justify-center px-3", children: /* @__PURE__ */ jsx13(Divider2, { variant: "dashed" }) }),
3108
+ /* @__PURE__ */ jsx13(
3520
3109
  RadixCollapsibleSection,
3521
3110
  {
3522
3111
  label: t2("app.nav.settings.myAccount"),
@@ -3524,32 +3113,32 @@ var SettingsSidebar = () => {
3524
3113
  }
3525
3114
  )
3526
3115
  ] }),
3527
- /* @__PURE__ */ jsx15("div", { className: "sticky bottom-0 bg-ui-bg-subtle", children: /* @__PURE__ */ jsx15(UserSection2, {}) })
3116
+ /* @__PURE__ */ jsx13("div", { className: "sticky bottom-0 bg-ui-bg-subtle", children: /* @__PURE__ */ jsx13(UserSection2, {}) })
3528
3117
  ] })
3529
3118
  ] });
3530
3119
  };
3531
3120
  var Header2 = () => {
3532
- const [from, setFrom] = useState11("/orders");
3533
- const { t: t2 } = useTranslation10();
3121
+ const [from, setFrom] = useState10("/orders");
3122
+ const { t: t2 } = useTranslation9();
3534
3123
  const location = useLocation7();
3535
- useEffect9(() => {
3124
+ useEffect8(() => {
3536
3125
  if (location.state?.from) {
3537
3126
  setFrom(getSafeFromValue(location.state.from));
3538
3127
  }
3539
3128
  }, [location]);
3540
- return /* @__PURE__ */ jsx15("div", { className: "bg-ui-bg-subtle p-3", children: /* @__PURE__ */ jsx15(
3129
+ return /* @__PURE__ */ jsx13("div", { className: "bg-ui-bg-subtle p-3", children: /* @__PURE__ */ jsx13(
3541
3130
  Link4,
3542
3131
  {
3543
3132
  to: from,
3544
3133
  replace: true,
3545
- className: clx7(
3134
+ className: clx6(
3546
3135
  "flex items-center rounded-md bg-ui-bg-subtle outline-none transition-fg",
3547
3136
  "hover:bg-ui-bg-subtle-hover",
3548
3137
  "focus-visible:shadow-borders-focus"
3549
3138
  ),
3550
- children: /* @__PURE__ */ jsxs10("div", { className: "flex items-center gap-x-2.5 px-2 py-1", children: [
3551
- /* @__PURE__ */ jsx15("div", { className: "flex items-center justify-center", children: /* @__PURE__ */ jsx15(ArrowUturnLeft2, { className: "text-ui-fg-subtle" }) }),
3552
- /* @__PURE__ */ jsx15(Text8, { leading: "compact", weight: "plus", size: "small", children: t2("app.nav.settings.header") })
3139
+ children: /* @__PURE__ */ jsxs8("div", { className: "flex items-center gap-x-2.5 px-2 py-1", children: [
3140
+ /* @__PURE__ */ jsx13("div", { className: "flex items-center justify-center", children: /* @__PURE__ */ jsx13(ArrowUturnLeft2, { className: "text-ui-fg-subtle" }) }),
3141
+ /* @__PURE__ */ jsx13(Text6, { leading: "compact", weight: "plus", size: "small", children: t2("app.nav.settings.header") })
3553
3142
  ] })
3554
3143
  }
3555
3144
  ) });
@@ -3558,24 +3147,24 @@ var RadixCollapsibleSection = ({
3558
3147
  label,
3559
3148
  items
3560
3149
  }) => {
3561
- return /* @__PURE__ */ jsxs10(RadixCollapsible2.Root, { defaultOpen: true, className: "py-3", children: [
3562
- /* @__PURE__ */ jsx15("div", { className: "px-3", children: /* @__PURE__ */ jsxs10("div", { className: "flex h-7 items-center justify-between px-2 text-ui-fg-muted", children: [
3563
- /* @__PURE__ */ jsx15(Text8, { size: "small", leading: "compact", children: label }),
3564
- /* @__PURE__ */ jsx15(RadixCollapsible2.Trigger, { asChild: true, children: /* @__PURE__ */ jsx15(IconButton6, { size: "2xsmall", variant: "transparent", className: "static", children: /* @__PURE__ */ jsx15(MinusMini, { className: "text-ui-fg-muted" }) }) })
3150
+ return /* @__PURE__ */ jsxs8(RadixCollapsible2.Root, { defaultOpen: true, className: "py-3", children: [
3151
+ /* @__PURE__ */ jsx13("div", { className: "px-3", children: /* @__PURE__ */ jsxs8("div", { className: "flex h-7 items-center justify-between px-2 text-ui-fg-muted", children: [
3152
+ /* @__PURE__ */ jsx13(Text6, { size: "small", leading: "compact", children: label }),
3153
+ /* @__PURE__ */ jsx13(RadixCollapsible2.Trigger, { asChild: true, children: /* @__PURE__ */ jsx13(IconButton4, { size: "2xsmall", variant: "transparent", className: "static", children: /* @__PURE__ */ jsx13(MinusMini, { className: "text-ui-fg-muted" }) }) })
3565
3154
  ] }) }),
3566
- /* @__PURE__ */ jsx15(RadixCollapsible2.Content, { children: /* @__PURE__ */ jsx15("div", { className: "pt-0.5", children: /* @__PURE__ */ jsx15("nav", { className: "flex flex-col gap-y-0.5", children: items.map((setting) => /* @__PURE__ */ jsx15(NavItem, { type: "setting", ...setting }, setting.to)) }) }) })
3155
+ /* @__PURE__ */ jsx13(RadixCollapsible2.Content, { children: /* @__PURE__ */ jsx13("div", { className: "pt-0.5", children: /* @__PURE__ */ jsx13("nav", { className: "flex flex-col gap-y-0.5", children: items.map((setting) => /* @__PURE__ */ jsx13(NavItem, { type: "setting", ...setting }, setting.to)) }) }) })
3567
3156
  ] });
3568
3157
  };
3569
3158
  var UserSection2 = () => {
3570
- return /* @__PURE__ */ jsxs10("div", { children: [
3571
- /* @__PURE__ */ jsx15("div", { className: "px-3", children: /* @__PURE__ */ jsx15(Divider2, { variant: "dashed" }) }),
3572
- /* @__PURE__ */ jsx15(UserMenu, {})
3159
+ return /* @__PURE__ */ jsxs8("div", { children: [
3160
+ /* @__PURE__ */ jsx13("div", { className: "px-3", children: /* @__PURE__ */ jsx13(Divider2, { variant: "dashed" }) }),
3161
+ /* @__PURE__ */ jsx13(UserMenu, {})
3573
3162
  ] });
3574
3163
  };
3575
3164
 
3576
3165
  // src/get-route-map.tsx
3577
3166
  import { RoutePermissionGuard } from "@mercurjs/dashboard-shared";
3578
- import { jsx as jsx16 } from "react/jsx-runtime";
3167
+ import { jsx as jsx14 } from "react/jsx-runtime";
3579
3168
  function mergeRoutes(baseRoutes, customRoutes2) {
3580
3169
  const result = baseRoutes.map((route) => ({ ...route }));
3581
3170
  for (const customRoute of customRoutes2) {
@@ -3609,27 +3198,27 @@ function getRouteMap({
3609
3198
  }) {
3610
3199
  return [
3611
3200
  {
3612
- element: /* @__PURE__ */ jsx16(ProtectedRoute, {}),
3613
- errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
3201
+ element: /* @__PURE__ */ jsx14(ProtectedRoute, {}),
3202
+ errorElement: /* @__PURE__ */ jsx14(ErrorBoundary, {}),
3614
3203
  children: [
3615
3204
  {
3616
- element: /* @__PURE__ */ jsx16(MainLayout, {}),
3205
+ element: /* @__PURE__ */ jsx14(MainLayout, {}),
3617
3206
  children: [
3618
3207
  {
3619
3208
  // Pathless wrapper so every route below — including extension
3620
3209
  // routes merged in from virtual:mercur/routes — is enforced
3621
3210
  // without each one wiring its own guard element.
3622
- element: /* @__PURE__ */ jsx16(RoutePermissionGuard, {}),
3211
+ element: /* @__PURE__ */ jsx14(RoutePermissionGuard, {}),
3623
3212
  children: mergeRoutes(
3624
3213
  [
3625
3214
  {
3626
3215
  path: "/",
3627
- errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
3216
+ errorElement: /* @__PURE__ */ jsx14(ErrorBoundary, {}),
3628
3217
  lazy: () => import("./home-I3OILW5Z.js")
3629
3218
  },
3630
3219
  {
3631
3220
  path: "/products",
3632
- errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
3221
+ errorElement: /* @__PURE__ */ jsx14(ErrorBoundary, {}),
3633
3222
  handle: {
3634
3223
  breadcrumb: () => t("products.domain"),
3635
3224
  permissions: "product:read"
@@ -3637,12 +3226,12 @@ function getRouteMap({
3637
3226
  children: [
3638
3227
  {
3639
3228
  path: "",
3640
- lazy: () => import("./product-list-XDJB3HX7.js"),
3229
+ lazy: () => import("./product-list-O35LY6T7.js"),
3641
3230
  children: [
3642
3231
  {
3643
3232
  path: "create",
3644
3233
  handle: { permissions: "product:create" },
3645
- lazy: () => import("./product-create-SHIGHLQN.js")
3234
+ lazy: () => import("./product-create-P7F2RZPS.js")
3646
3235
  },
3647
3236
  {
3648
3237
  path: "bulk-edit",
@@ -3652,21 +3241,21 @@ function getRouteMap({
3652
3241
  },
3653
3242
  {
3654
3243
  path: ":id",
3655
- errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
3244
+ errorElement: /* @__PURE__ */ jsx14(ErrorBoundary, {}),
3656
3245
  lazy: async () => {
3657
- const { Breadcrumb, loader } = await import("./product-detail-UGSTCK7J.js");
3246
+ const { Breadcrumb, loader } = await import("./product-detail-G6HRH4ND.js");
3658
3247
  return {
3659
3248
  Component: Outlet4,
3660
3249
  loader,
3661
3250
  handle: {
3662
- breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
3251
+ breadcrumb: (match) => /* @__PURE__ */ jsx14(Breadcrumb, { ...match })
3663
3252
  }
3664
3253
  };
3665
3254
  },
3666
3255
  children: [
3667
3256
  {
3668
3257
  path: "",
3669
- lazy: () => import("./product-detail-UGSTCK7J.js"),
3258
+ lazy: () => import("./product-detail-G6HRH4ND.js"),
3670
3259
  children: [
3671
3260
  {
3672
3261
  path: "edit",
@@ -3675,7 +3264,7 @@ function getRouteMap({
3675
3264
  },
3676
3265
  {
3677
3266
  path: "edit-variant",
3678
- lazy: () => import("./product-variant-edit-4DPXTYPT.js")
3267
+ lazy: () => import("./product-variant-edit-Y4BJFQTK.js")
3679
3268
  },
3680
3269
  {
3681
3270
  path: "sales-channels",
@@ -3691,7 +3280,7 @@ function getRouteMap({
3691
3280
  },
3692
3281
  {
3693
3282
  path: "attributes/add",
3694
- lazy: () => import("./product-add-existing-attributes-2UFTXE2N.js")
3283
+ lazy: () => import("./product-add-existing-attributes-5XGJZSIY.js")
3695
3284
  },
3696
3285
  {
3697
3286
  path: "attributes/:attribute_id/edit",
@@ -3699,7 +3288,7 @@ function getRouteMap({
3699
3288
  },
3700
3289
  {
3701
3290
  path: "organization",
3702
- lazy: () => import("./product-organization-TNS7GBKN.js")
3291
+ lazy: () => import("./product-organization-VXTSCBHU.js")
3703
3292
  },
3704
3293
  {
3705
3294
  path: "shipping-profile",
@@ -3707,7 +3296,7 @@ function getRouteMap({
3707
3296
  },
3708
3297
  {
3709
3298
  path: "media",
3710
- lazy: () => import("./product-media-CO3F57JT.js")
3299
+ lazy: () => import("./product-media-3ERT2APJ.js")
3711
3300
  },
3712
3301
  {
3713
3302
  path: "variants/create",
@@ -3715,35 +3304,35 @@ function getRouteMap({
3715
3304
  },
3716
3305
  {
3717
3306
  path: "metadata/edit",
3718
- lazy: () => import("./product-metadata-5CRGB7TR.js")
3307
+ lazy: () => import("./product-metadata-2QQGBVV5.js")
3719
3308
  }
3720
3309
  ]
3721
3310
  },
3722
3311
  {
3723
3312
  path: "variants/:variant_id",
3724
3313
  lazy: async () => {
3725
- const { Breadcrumb, loader } = await import("./product-variant-detail-XHMS2UT5.js");
3314
+ const { Breadcrumb, loader } = await import("./product-variant-detail-TIULIJ3X.js");
3726
3315
  return {
3727
3316
  Component: Outlet4,
3728
3317
  loader,
3729
3318
  handle: {
3730
- breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
3319
+ breadcrumb: (match) => /* @__PURE__ */ jsx14(Breadcrumb, { ...match })
3731
3320
  }
3732
3321
  };
3733
3322
  },
3734
3323
  children: [
3735
3324
  {
3736
3325
  path: "",
3737
- lazy: () => import("./product-variant-detail-XHMS2UT5.js"),
3326
+ lazy: () => import("./product-variant-detail-TIULIJ3X.js"),
3738
3327
  children: [
3739
3328
  {
3740
3329
  path: "edit",
3741
3330
  handle: { permissions: "product:update" },
3742
- lazy: () => import("./product-variant-edit-4DPXTYPT.js")
3331
+ lazy: () => import("./product-variant-edit-Y4BJFQTK.js")
3743
3332
  },
3744
3333
  {
3745
3334
  path: "metadata/edit",
3746
- lazy: () => import("./product-variant-metadata-ETVJBXSW.js")
3335
+ lazy: () => import("./product-variant-metadata-7SKGOEEA.js")
3747
3336
  }
3748
3337
  ]
3749
3338
  }
@@ -3755,7 +3344,7 @@ function getRouteMap({
3755
3344
  },
3756
3345
  {
3757
3346
  path: "/categories",
3758
- errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
3347
+ errorElement: /* @__PURE__ */ jsx14(ErrorBoundary, {}),
3759
3348
  handle: {
3760
3349
  breadcrumb: () => t("categories.domain"),
3761
3350
  permissions: "product_category:read"
@@ -3779,19 +3368,19 @@ function getRouteMap({
3779
3368
  {
3780
3369
  path: ":id",
3781
3370
  lazy: async () => {
3782
- const { Breadcrumb, loader } = await import("./category-detail-GVEDFNM7.js");
3371
+ const { Breadcrumb, loader } = await import("./category-detail-RWLX5N2M.js");
3783
3372
  return {
3784
3373
  Component: Outlet4,
3785
3374
  loader,
3786
3375
  handle: {
3787
- breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
3376
+ breadcrumb: (match) => /* @__PURE__ */ jsx14(Breadcrumb, { ...match })
3788
3377
  }
3789
3378
  };
3790
3379
  },
3791
3380
  children: [
3792
3381
  {
3793
3382
  path: "",
3794
- lazy: () => import("./category-detail-GVEDFNM7.js"),
3383
+ lazy: () => import("./category-detail-RWLX5N2M.js"),
3795
3384
  children: [
3796
3385
  {
3797
3386
  path: "edit",
@@ -3808,7 +3397,7 @@ function getRouteMap({
3808
3397
  },
3809
3398
  {
3810
3399
  path: "products",
3811
- lazy: () => import("./category-products-VVF5NXCE.js")
3400
+ lazy: () => import("./category-products-HS4FHYZM.js")
3812
3401
  },
3813
3402
  {
3814
3403
  path: "organize",
@@ -3816,7 +3405,7 @@ function getRouteMap({
3816
3405
  },
3817
3406
  {
3818
3407
  path: "metadata/edit",
3819
- lazy: () => import("./categories-metadata-MJAYSCTW.js")
3408
+ lazy: () => import("./categories-metadata-6LMZAUOF.js")
3820
3409
  }
3821
3410
  ]
3822
3411
  }
@@ -3826,7 +3415,7 @@ function getRouteMap({
3826
3415
  },
3827
3416
  {
3828
3417
  path: "/orders",
3829
- errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
3418
+ errorElement: /* @__PURE__ */ jsx14(ErrorBoundary, {}),
3830
3419
  handle: {
3831
3420
  breadcrumb: () => t("orders.domain"),
3832
3421
  permissions: "order:read"
@@ -3839,19 +3428,19 @@ function getRouteMap({
3839
3428
  {
3840
3429
  path: ":id",
3841
3430
  lazy: async () => {
3842
- const { Breadcrumb, loader } = await import("./order-detail-3ODC5NOT.js");
3431
+ const { Breadcrumb, loader } = await import("./order-detail-P7R4U4YU.js");
3843
3432
  return {
3844
3433
  Component: Outlet4,
3845
3434
  loader,
3846
3435
  handle: {
3847
- breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
3436
+ breadcrumb: (match) => /* @__PURE__ */ jsx14(Breadcrumb, { ...match })
3848
3437
  }
3849
3438
  };
3850
3439
  },
3851
3440
  children: [
3852
3441
  {
3853
3442
  path: "",
3854
- lazy: () => import("./order-detail-3ODC5NOT.js"),
3443
+ lazy: () => import("./order-detail-P7R4U4YU.js"),
3855
3444
  children: [
3856
3445
  {
3857
3446
  path: "returns",
@@ -3863,7 +3452,7 @@ function getRouteMap({
3863
3452
  },
3864
3453
  {
3865
3454
  path: "exchanges",
3866
- lazy: () => import("./order-create-exchange-CC7CQECO.js")
3455
+ lazy: () => import("./order-create-exchange-TSGTAOEF.js")
3867
3456
  },
3868
3457
  {
3869
3458
  path: "edits",
@@ -3871,27 +3460,27 @@ function getRouteMap({
3871
3460
  },
3872
3461
  {
3873
3462
  path: "refund",
3874
- lazy: () => import("./order-create-refund-FJLL4CUD.js")
3463
+ lazy: () => import("./order-create-refund-KYTIPPQK.js")
3875
3464
  },
3876
3465
  {
3877
3466
  path: "transfer",
3878
- lazy: () => import("./order-request-transfer-RYVK4WYW.js")
3467
+ lazy: () => import("./order-request-transfer-R3FCUU7R.js")
3879
3468
  },
3880
3469
  {
3881
3470
  path: "email",
3882
- lazy: () => import("./order-edit-email-BREEW246.js")
3471
+ lazy: () => import("./order-edit-email-CYCFGHE4.js")
3883
3472
  },
3884
3473
  {
3885
3474
  path: "shipping-address",
3886
- lazy: () => import("./order-edit-shipping-address-XUG74AFY.js")
3475
+ lazy: () => import("./order-edit-shipping-address-XJUKP3JP.js")
3887
3476
  },
3888
3477
  {
3889
3478
  path: "billing-address",
3890
- lazy: () => import("./order-edit-billing-address-SBVWRA25.js")
3479
+ lazy: () => import("./order-edit-billing-address-6ALJ7U6O.js")
3891
3480
  },
3892
3481
  {
3893
3482
  path: "metadata/edit",
3894
- lazy: () => import("./order-metadata-VIG5MGYV.js")
3483
+ lazy: () => import("./order-metadata-PQKBD7ZT.js")
3895
3484
  }
3896
3485
  ]
3897
3486
  }
@@ -3901,7 +3490,7 @@ function getRouteMap({
3901
3490
  },
3902
3491
  {
3903
3492
  path: "/promotions",
3904
- errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
3493
+ errorElement: /* @__PURE__ */ jsx14(ErrorBoundary, {}),
3905
3494
  handle: {
3906
3495
  breadcrumb: () => t("promotions.domain"),
3907
3496
  permissions: "promotion:read"
@@ -3909,29 +3498,29 @@ function getRouteMap({
3909
3498
  children: [
3910
3499
  {
3911
3500
  path: "",
3912
- lazy: () => import("./promotion-list-S4B6SVD6.js")
3501
+ lazy: () => import("./promotion-list-6OBFAIOU.js")
3913
3502
  },
3914
3503
  {
3915
3504
  path: "create",
3916
3505
  handle: { permissions: "promotion:create" },
3917
- lazy: () => import("./promotion-create-7ZUJ4W2J.js")
3506
+ lazy: () => import("./promotion-create-D6PTGIAY.js")
3918
3507
  },
3919
3508
  {
3920
3509
  path: ":id",
3921
3510
  lazy: async () => {
3922
- const { Breadcrumb, loader } = await import("./promotion-detail-SWO4PZDC.js");
3511
+ const { Breadcrumb, loader } = await import("./promotion-detail-4VYJAJ2N.js");
3923
3512
  return {
3924
3513
  Component: Outlet4,
3925
3514
  loader,
3926
3515
  handle: {
3927
- breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
3516
+ breadcrumb: (match) => /* @__PURE__ */ jsx14(Breadcrumb, { ...match })
3928
3517
  }
3929
3518
  };
3930
3519
  },
3931
3520
  children: [
3932
3521
  {
3933
3522
  path: "",
3934
- lazy: () => import("./promotion-detail-SWO4PZDC.js"),
3523
+ lazy: () => import("./promotion-detail-4VYJAJ2N.js"),
3935
3524
  children: [
3936
3525
  {
3937
3526
  path: "edit",
@@ -3944,7 +3533,7 @@ function getRouteMap({
3944
3533
  },
3945
3534
  {
3946
3535
  path: ":ruleType/edit",
3947
- lazy: () => import("./edit-rules-RJC3AYJN.js")
3536
+ lazy: () => import("./edit-rules-HIC7UOV5.js")
3948
3537
  }
3949
3538
  ]
3950
3539
  }
@@ -3954,7 +3543,7 @@ function getRouteMap({
3954
3543
  },
3955
3544
  {
3956
3545
  path: "/campaigns",
3957
- errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
3546
+ errorElement: /* @__PURE__ */ jsx14(ErrorBoundary, {}),
3958
3547
  handle: {
3959
3548
  breadcrumb: () => t("campaigns.domain"),
3960
3549
  permissions: "campaign:read"
@@ -3973,19 +3562,19 @@ function getRouteMap({
3973
3562
  {
3974
3563
  path: ":id",
3975
3564
  lazy: async () => {
3976
- const { Breadcrumb, loader } = await import("./campaign-detail-BHRCOKL3.js");
3565
+ const { Breadcrumb, loader } = await import("./campaign-detail-3HKWD7UR.js");
3977
3566
  return {
3978
3567
  Component: Outlet4,
3979
3568
  loader,
3980
3569
  handle: {
3981
- breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
3570
+ breadcrumb: (match) => /* @__PURE__ */ jsx14(Breadcrumb, { ...match })
3982
3571
  }
3983
3572
  };
3984
3573
  },
3985
3574
  children: [
3986
3575
  {
3987
3576
  path: "",
3988
- lazy: () => import("./campaign-detail-BHRCOKL3.js"),
3577
+ lazy: () => import("./campaign-detail-3HKWD7UR.js"),
3989
3578
  children: [
3990
3579
  {
3991
3580
  path: "edit",
@@ -4002,7 +3591,7 @@ function getRouteMap({
4002
3591
  },
4003
3592
  {
4004
3593
  path: "add-promotions",
4005
- lazy: () => import("./add-campaign-promotions-PBGDZSCD.js")
3594
+ lazy: () => import("./add-campaign-promotions-VFRAB2NN.js")
4006
3595
  }
4007
3596
  ]
4008
3597
  }
@@ -4012,7 +3601,7 @@ function getRouteMap({
4012
3601
  },
4013
3602
  {
4014
3603
  path: "/reviews",
4015
- errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
3604
+ errorElement: /* @__PURE__ */ jsx14(ErrorBoundary, {}),
4016
3605
  handle: {
4017
3606
  breadcrumb: () => t("reviews.domain"),
4018
3607
  permissions: "review:read"
@@ -4031,7 +3620,7 @@ function getRouteMap({
4031
3620
  Component: Outlet4,
4032
3621
  loader,
4033
3622
  handle: {
4034
- breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
3623
+ breadcrumb: (match) => /* @__PURE__ */ jsx14(Breadcrumb, { ...match })
4035
3624
  }
4036
3625
  };
4037
3626
  },
@@ -4057,7 +3646,7 @@ function getRouteMap({
4057
3646
  },
4058
3647
  {
4059
3648
  path: "/collections",
4060
- errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
3649
+ errorElement: /* @__PURE__ */ jsx14(ErrorBoundary, {}),
4061
3650
  handle: {
4062
3651
  breadcrumb: () => t("collections.domain"),
4063
3652
  permissions: "product_collection:read"
@@ -4065,7 +3654,7 @@ function getRouteMap({
4065
3654
  children: [
4066
3655
  {
4067
3656
  path: "",
4068
- lazy: () => import("./collection-list-AWLZYMWL.js"),
3657
+ lazy: () => import("./collection-list-3DODRV34.js"),
4069
3658
  children: [
4070
3659
  {
4071
3660
  path: "create",
@@ -4077,19 +3666,19 @@ function getRouteMap({
4077
3666
  {
4078
3667
  path: ":id",
4079
3668
  lazy: async () => {
4080
- const { Breadcrumb, loader } = await import("./collection-detail-QAEPOJZX.js");
3669
+ const { Breadcrumb, loader } = await import("./collection-detail-JT4DSP7V.js");
4081
3670
  return {
4082
3671
  Component: Outlet4,
4083
3672
  loader,
4084
3673
  handle: {
4085
- breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
3674
+ breadcrumb: (match) => /* @__PURE__ */ jsx14(Breadcrumb, { ...match })
4086
3675
  }
4087
3676
  };
4088
3677
  },
4089
3678
  children: [
4090
3679
  {
4091
3680
  path: "",
4092
- lazy: () => import("./collection-detail-QAEPOJZX.js"),
3681
+ lazy: () => import("./collection-detail-JT4DSP7V.js"),
4093
3682
  children: [
4094
3683
  {
4095
3684
  path: "edit",
@@ -4106,11 +3695,11 @@ function getRouteMap({
4106
3695
  },
4107
3696
  {
4108
3697
  path: "products",
4109
- lazy: () => import("./collection-add-products-HCY2YT3W.js")
3698
+ lazy: () => import("./collection-add-products-FFYCZINV.js")
4110
3699
  },
4111
3700
  {
4112
3701
  path: "metadata/edit",
4113
- lazy: () => import("./collection-metadata-XM2EBCWF.js")
3702
+ lazy: () => import("./collection-metadata-7XMJPJCT.js")
4114
3703
  }
4115
3704
  ]
4116
3705
  }
@@ -4120,7 +3709,7 @@ function getRouteMap({
4120
3709
  },
4121
3710
  {
4122
3711
  path: "/price-lists",
4123
- errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
3712
+ errorElement: /* @__PURE__ */ jsx14(ErrorBoundary, {}),
4124
3713
  handle: {
4125
3714
  breadcrumb: () => t("priceLists.domain"),
4126
3715
  permissions: "price_list:read"
@@ -4133,26 +3722,26 @@ function getRouteMap({
4133
3722
  {
4134
3723
  path: "create",
4135
3724
  handle: { permissions: "price_list:create" },
4136
- lazy: () => import("./price-list-create-JFXLTNOJ.js")
3725
+ lazy: () => import("./price-list-create-PHJFJOQA.js")
4137
3726
  }
4138
3727
  ]
4139
3728
  },
4140
3729
  {
4141
3730
  path: ":id",
4142
3731
  lazy: async () => {
4143
- const { Breadcrumb, loader } = await import("./price-list-detail-5YTX66KF.js");
3732
+ const { Breadcrumb, loader } = await import("./price-list-detail-CGZ5DS6T.js");
4144
3733
  return {
4145
3734
  Component: Outlet4,
4146
3735
  loader,
4147
3736
  handle: {
4148
- breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
3737
+ breadcrumb: (match) => /* @__PURE__ */ jsx14(Breadcrumb, { ...match })
4149
3738
  }
4150
3739
  };
4151
3740
  },
4152
3741
  children: [
4153
3742
  {
4154
3743
  path: "",
4155
- lazy: () => import("./price-list-detail-5YTX66KF.js"),
3744
+ lazy: () => import("./price-list-detail-CGZ5DS6T.js"),
4156
3745
  children: [
4157
3746
  {
4158
3747
  path: "edit",
@@ -4169,11 +3758,11 @@ function getRouteMap({
4169
3758
  },
4170
3759
  {
4171
3760
  path: "products/add",
4172
- lazy: () => import("./price-list-prices-add-HVTEQOWQ.js")
3761
+ lazy: () => import("./price-list-prices-add-O5JDIJ3O.js")
4173
3762
  },
4174
3763
  {
4175
3764
  path: "products/edit",
4176
- lazy: () => import("./price-list-prices-edit-OVHIDATP.js")
3765
+ lazy: () => import("./price-list-prices-edit-ITO6ZTGD.js")
4177
3766
  }
4178
3767
  ]
4179
3768
  }
@@ -4183,7 +3772,7 @@ function getRouteMap({
4183
3772
  },
4184
3773
  {
4185
3774
  path: "/customers",
4186
- errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
3775
+ errorElement: /* @__PURE__ */ jsx14(ErrorBoundary, {}),
4187
3776
  handle: {
4188
3777
  breadcrumb: () => t("customers.domain"),
4189
3778
  permissions: "customer:read"
@@ -4203,19 +3792,19 @@ function getRouteMap({
4203
3792
  {
4204
3793
  path: ":id",
4205
3794
  lazy: async () => {
4206
- const { Breadcrumb, loader } = await import("./customer-detail-XO7RBVUC.js");
3795
+ const { Breadcrumb, loader } = await import("./customer-detail-AMGUVNTH.js");
4207
3796
  return {
4208
3797
  Component: Outlet4,
4209
3798
  loader,
4210
3799
  handle: {
4211
- breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
3800
+ breadcrumb: (match) => /* @__PURE__ */ jsx14(Breadcrumb, { ...match })
4212
3801
  }
4213
3802
  };
4214
3803
  },
4215
3804
  children: [
4216
3805
  {
4217
3806
  path: "",
4218
- lazy: () => import("./customer-detail-XO7RBVUC.js"),
3807
+ lazy: () => import("./customer-detail-AMGUVNTH.js"),
4219
3808
  children: [
4220
3809
  {
4221
3810
  path: "edit",
@@ -4232,15 +3821,15 @@ function getRouteMap({
4232
3821
  },
4233
3822
  {
4234
3823
  path: "add-customer-groups",
4235
- lazy: () => import("./customers-add-customer-group-MYC76YGW.js")
3824
+ lazy: () => import("./customers-add-customer-group-GNDYPKUO.js")
4236
3825
  },
4237
3826
  {
4238
3827
  path: ":order_id/transfer",
4239
- lazy: () => import("./order-request-transfer-RYVK4WYW.js")
3828
+ lazy: () => import("./order-request-transfer-R3FCUU7R.js")
4240
3829
  },
4241
3830
  {
4242
3831
  path: "metadata/edit",
4243
- lazy: () => import("./customer-metadata-GWZC456X.js")
3832
+ lazy: () => import("./customer-metadata-WL5W5JSC.js")
4244
3833
  }
4245
3834
  ]
4246
3835
  }
@@ -4250,7 +3839,7 @@ function getRouteMap({
4250
3839
  },
4251
3840
  {
4252
3841
  path: "/customer-groups",
4253
- errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
3842
+ errorElement: /* @__PURE__ */ jsx14(ErrorBoundary, {}),
4254
3843
  handle: {
4255
3844
  breadcrumb: () => t("customerGroups.domain"),
4256
3845
  permissions: "customer_group:read"
@@ -4258,7 +3847,7 @@ function getRouteMap({
4258
3847
  children: [
4259
3848
  {
4260
3849
  path: "",
4261
- lazy: () => import("./customer-group-list-5VA7HGD5.js"),
3850
+ lazy: () => import("./customer-group-list-2NP5GAKQ.js"),
4262
3851
  children: [
4263
3852
  {
4264
3853
  path: "create",
@@ -4270,19 +3859,19 @@ function getRouteMap({
4270
3859
  {
4271
3860
  path: ":id",
4272
3861
  lazy: async () => {
4273
- const { Breadcrumb, loader } = await import("./customer-group-detail-4G53UKOS.js");
3862
+ const { Breadcrumb, loader } = await import("./customer-group-detail-PDA3JCAZ.js");
4274
3863
  return {
4275
3864
  Component: Outlet4,
4276
3865
  loader,
4277
3866
  handle: {
4278
- breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
3867
+ breadcrumb: (match) => /* @__PURE__ */ jsx14(Breadcrumb, { ...match })
4279
3868
  }
4280
3869
  };
4281
3870
  },
4282
3871
  children: [
4283
3872
  {
4284
3873
  path: "",
4285
- lazy: () => import("./customer-group-detail-4G53UKOS.js"),
3874
+ lazy: () => import("./customer-group-detail-PDA3JCAZ.js"),
4286
3875
  children: [
4287
3876
  {
4288
3877
  path: "edit",
@@ -4295,7 +3884,7 @@ function getRouteMap({
4295
3884
  },
4296
3885
  {
4297
3886
  path: "metadata/edit",
4298
- lazy: () => import("./customer-group-metadata-FUJFFWCO.js")
3887
+ lazy: () => import("./customer-group-metadata-B7LBRM5F.js")
4299
3888
  }
4300
3889
  ]
4301
3890
  }
@@ -4305,7 +3894,7 @@ function getRouteMap({
4305
3894
  },
4306
3895
  {
4307
3896
  path: "/stores",
4308
- errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
3897
+ errorElement: /* @__PURE__ */ jsx14(ErrorBoundary, {}),
4309
3898
  handle: {
4310
3899
  breadcrumb: () => t("stores.domain"),
4311
3900
  permissions: "seller:read"
@@ -4313,12 +3902,12 @@ function getRouteMap({
4313
3902
  children: [
4314
3903
  {
4315
3904
  path: "",
4316
- lazy: () => import("./store-list-RXPN3VVO.js"),
3905
+ lazy: () => import("./store-list-JADJQPSK.js"),
4317
3906
  children: [
4318
3907
  {
4319
3908
  path: "create",
4320
3909
  handle: { permissions: "seller:create" },
4321
- lazy: () => import("./store-create-J4SL6SY3.js")
3910
+ lazy: () => import("./store-create-RYYOB2FV.js")
4322
3911
  },
4323
3912
  {
4324
3913
  path: "bulk-edit",
@@ -4329,23 +3918,23 @@ function getRouteMap({
4329
3918
  {
4330
3919
  path: ":id",
4331
3920
  lazy: async () => {
4332
- const { Breadcrumb } = await import("./store-details-ITYKAZSI.js");
3921
+ const { Breadcrumb } = await import("./store-details-A2L6YQDB.js");
4333
3922
  return {
4334
3923
  Component: Outlet4,
4335
3924
  handle: {
4336
- breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
3925
+ breadcrumb: (match) => /* @__PURE__ */ jsx14(Breadcrumb, { ...match })
4337
3926
  }
4338
3927
  };
4339
3928
  },
4340
3929
  children: [
4341
3930
  {
4342
3931
  path: "",
4343
- lazy: () => import("./store-details-ITYKAZSI.js"),
3932
+ lazy: () => import("./store-details-A2L6YQDB.js"),
4344
3933
  children: [
4345
3934
  {
4346
3935
  path: "edit",
4347
3936
  handle: { permissions: "seller:update" },
4348
- lazy: () => import("./store-edit-NZMI7PNS.js")
3937
+ lazy: () => import("./store-edit-BORBEPWF.js")
4349
3938
  },
4350
3939
  {
4351
3940
  path: "edit-address",
@@ -4375,7 +3964,7 @@ function getRouteMap({
4375
3964
  },
4376
3965
  {
4377
3966
  path: "/payouts",
4378
- errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
3967
+ errorElement: /* @__PURE__ */ jsx14(ErrorBoundary, {}),
4379
3968
  handle: {
4380
3969
  breadcrumb: () => "Payouts",
4381
3970
  permissions: "payout:read"
@@ -4393,7 +3982,7 @@ function getRouteMap({
4393
3982
  Component: Outlet4,
4394
3983
  loader,
4395
3984
  handle: {
4396
- breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
3985
+ breadcrumb: (match) => /* @__PURE__ */ jsx14(Breadcrumb, { ...match })
4397
3986
  }
4398
3987
  };
4399
3988
  },
@@ -4408,7 +3997,7 @@ function getRouteMap({
4408
3997
  },
4409
3998
  {
4410
3999
  path: "/reservations",
4411
- errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
4000
+ errorElement: /* @__PURE__ */ jsx14(ErrorBoundary, {}),
4412
4001
  handle: {
4413
4002
  breadcrumb: () => t("reservations.domain"),
4414
4003
  permissions: "reservation_item:read"
@@ -4428,19 +4017,19 @@ function getRouteMap({
4428
4017
  {
4429
4018
  path: ":id",
4430
4019
  lazy: async () => {
4431
- const { Breadcrumb, loader } = await import("./reservation-detail-5GYGVM3M.js");
4020
+ const { Breadcrumb, loader } = await import("./reservation-detail-7PLHNOS4.js");
4432
4021
  return {
4433
4022
  Component: Outlet4,
4434
4023
  loader,
4435
4024
  handle: {
4436
- breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
4025
+ breadcrumb: (match) => /* @__PURE__ */ jsx14(Breadcrumb, { ...match })
4437
4026
  }
4438
4027
  };
4439
4028
  },
4440
4029
  children: [
4441
4030
  {
4442
4031
  path: "",
4443
- lazy: () => import("./reservation-detail-5GYGVM3M.js"),
4032
+ lazy: () => import("./reservation-detail-7PLHNOS4.js"),
4444
4033
  children: [
4445
4034
  {
4446
4035
  path: "edit",
@@ -4449,7 +4038,7 @@ function getRouteMap({
4449
4038
  },
4450
4039
  {
4451
4040
  path: "metadata/edit",
4452
- lazy: () => import("./reservation-metadata-P4G3JEDW.js")
4041
+ lazy: () => import("./reservation-metadata-L42C7DPK.js")
4453
4042
  }
4454
4043
  ]
4455
4044
  }
@@ -4459,7 +4048,7 @@ function getRouteMap({
4459
4048
  },
4460
4049
  {
4461
4050
  path: "/offers",
4462
- errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
4051
+ errorElement: /* @__PURE__ */ jsx14(ErrorBoundary, {}),
4463
4052
  handle: {
4464
4053
  breadcrumb: () => t("offers.domain"),
4465
4054
  permissions: "offer:read"
@@ -4468,7 +4057,7 @@ function getRouteMap({
4468
4057
  {
4469
4058
  path: "",
4470
4059
  lazy: async () => {
4471
- const { OfferListPage } = await import("./offers-VG334CFD.js");
4060
+ const { OfferListPage } = await import("./offers-KJTLBFTM.js");
4472
4061
  return { Component: OfferListPage };
4473
4062
  }
4474
4063
  },
@@ -4481,7 +4070,7 @@ function getRouteMap({
4481
4070
  Component: Outlet4,
4482
4071
  loader,
4483
4072
  handle: {
4484
- breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
4073
+ breadcrumb: (match) => /* @__PURE__ */ jsx14(Breadcrumb, { ...match })
4485
4074
  }
4486
4075
  };
4487
4076
  },
@@ -4502,7 +4091,7 @@ function getRouteMap({
4502
4091
  Component: Outlet4,
4503
4092
  loader,
4504
4093
  handle: {
4505
- breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
4094
+ breadcrumb: (match) => /* @__PURE__ */ jsx14(Breadcrumb, { ...match })
4506
4095
  }
4507
4096
  };
4508
4097
  },
@@ -4522,7 +4111,7 @@ function getRouteMap({
4522
4111
  },
4523
4112
  {
4524
4113
  path: "/inventory",
4525
- errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
4114
+ errorElement: /* @__PURE__ */ jsx14(ErrorBoundary, {}),
4526
4115
  handle: {
4527
4116
  breadcrumb: () => t("inventory.domain"),
4528
4117
  permissions: "inventory_item:read"
@@ -4534,47 +4123,47 @@ function getRouteMap({
4534
4123
  children: [
4535
4124
  {
4536
4125
  path: "stock",
4537
- lazy: () => import("./inventory-stock-PZ2ENOGF.js")
4126
+ lazy: () => import("./inventory-stock-M5YSKXC4.js")
4538
4127
  }
4539
4128
  ]
4540
4129
  },
4541
4130
  {
4542
4131
  path: ":id",
4543
4132
  lazy: async () => {
4544
- const { Breadcrumb, loader } = await import("./inventory-detail-7HB5QEL4.js");
4133
+ const { Breadcrumb, loader } = await import("./inventory-detail-OLBIFY6Y.js");
4545
4134
  return {
4546
4135
  Component: Outlet4,
4547
4136
  loader,
4548
4137
  handle: {
4549
- breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
4138
+ breadcrumb: (match) => /* @__PURE__ */ jsx14(Breadcrumb, { ...match })
4550
4139
  }
4551
4140
  };
4552
4141
  },
4553
4142
  children: [
4554
4143
  {
4555
4144
  path: "",
4556
- lazy: () => import("./inventory-detail-7HB5QEL4.js"),
4145
+ lazy: () => import("./inventory-detail-OLBIFY6Y.js"),
4557
4146
  children: [
4558
4147
  {
4559
4148
  path: "edit",
4560
4149
  handle: { permissions: "inventory_item:update" },
4561
- lazy: () => import("./edit-inventory-item-ZSV4WF6G.js")
4150
+ lazy: () => import("./edit-inventory-item-QNTKH7KR.js")
4562
4151
  },
4563
4152
  {
4564
4153
  path: "attributes",
4565
- lazy: () => import("./edit-inventory-item-attributes-NWSAQMKX.js")
4154
+ lazy: () => import("./edit-inventory-item-attributes-KB4GVOGP.js")
4566
4155
  },
4567
4156
  {
4568
4157
  path: "metadata/edit",
4569
- lazy: () => import("./inventory-metadata-FGHOW3YG.js")
4158
+ lazy: () => import("./inventory-metadata-2QNV2PF7.js")
4570
4159
  },
4571
4160
  {
4572
4161
  path: "locations",
4573
- lazy: () => import("./manage-locations-ZFIRHMNH.js")
4162
+ lazy: () => import("./manage-locations-TCMY6A4J.js")
4574
4163
  },
4575
4164
  {
4576
4165
  path: "locations/:location_id",
4577
- lazy: () => import("./adjust-inventory-BBAU3NMM.js")
4166
+ lazy: () => import("./adjust-inventory-TWESAGKE.js")
4578
4167
  }
4579
4168
  ]
4580
4169
  }
@@ -4591,29 +4180,29 @@ function getRouteMap({
4591
4180
  ]
4592
4181
  },
4593
4182
  {
4594
- element: /* @__PURE__ */ jsx16(ProtectedRoute, {}),
4595
- errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
4183
+ element: /* @__PURE__ */ jsx14(ProtectedRoute, {}),
4184
+ errorElement: /* @__PURE__ */ jsx14(ErrorBoundary, {}),
4596
4185
  children: [
4597
4186
  {
4598
4187
  path: "/settings",
4599
4188
  handle: {
4600
4189
  breadcrumb: () => t("app.nav.settings.header")
4601
4190
  },
4602
- element: /* @__PURE__ */ jsx16(SettingsLayout, {}),
4191
+ element: /* @__PURE__ */ jsx14(SettingsLayout, {}),
4603
4192
  children: [
4604
4193
  {
4605
- element: /* @__PURE__ */ jsx16(RoutePermissionGuard, {}),
4194
+ element: /* @__PURE__ */ jsx14(RoutePermissionGuard, {}),
4606
4195
  children: mergeRoutes(
4607
4196
  [
4608
4197
  {
4609
4198
  index: true,
4610
- errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
4199
+ errorElement: /* @__PURE__ */ jsx14(ErrorBoundary, {}),
4611
4200
  lazy: () => import("./settings-AVE3VCCM.js")
4612
4201
  },
4613
4202
  {
4614
4203
  path: "profile",
4615
- errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
4616
- element: /* @__PURE__ */ jsx16(Outlet4, {}),
4204
+ errorElement: /* @__PURE__ */ jsx14(ErrorBoundary, {}),
4205
+ element: /* @__PURE__ */ jsx14(Outlet4, {}),
4617
4206
  handle: {
4618
4207
  breadcrumb: () => t("profile.domain")
4619
4208
  },
@@ -4632,8 +4221,8 @@ function getRouteMap({
4632
4221
  },
4633
4222
  {
4634
4223
  path: "regions",
4635
- errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
4636
- element: /* @__PURE__ */ jsx16(Outlet4, {}),
4224
+ errorElement: /* @__PURE__ */ jsx14(ErrorBoundary, {}),
4225
+ element: /* @__PURE__ */ jsx14(Outlet4, {}),
4637
4226
  handle: {
4638
4227
  breadcrumb: () => t("regions.domain"),
4639
4228
  permissions: "region:read"
@@ -4658,7 +4247,7 @@ function getRouteMap({
4658
4247
  Component: Outlet4,
4659
4248
  loader,
4660
4249
  handle: {
4661
- breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
4250
+ breadcrumb: (match) => /* @__PURE__ */ jsx14(Breadcrumb, { ...match })
4662
4251
  }
4663
4252
  };
4664
4253
  },
@@ -4678,7 +4267,7 @@ function getRouteMap({
4678
4267
  },
4679
4268
  {
4680
4269
  path: "metadata/edit",
4681
- lazy: () => import("./region-metadata-Q6HEMCHD.js")
4270
+ lazy: () => import("./region-metadata-IK6ZPUJW.js")
4682
4271
  }
4683
4272
  ]
4684
4273
  }
@@ -4688,8 +4277,8 @@ function getRouteMap({
4688
4277
  },
4689
4278
  {
4690
4279
  path: "marketplace",
4691
- errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
4692
- element: /* @__PURE__ */ jsx16(Outlet4, {}),
4280
+ errorElement: /* @__PURE__ */ jsx14(ErrorBoundary, {}),
4281
+ element: /* @__PURE__ */ jsx14(Outlet4, {}),
4693
4282
  handle: {
4694
4283
  breadcrumb: () => t("marketplace.domain"),
4695
4284
  permissions: "store:read"
@@ -4697,7 +4286,7 @@ function getRouteMap({
4697
4286
  children: [
4698
4287
  {
4699
4288
  path: "",
4700
- lazy: () => import("./marketplace-detail-4IP5HIEW.js"),
4289
+ lazy: () => import("./marketplace-detail-BIQF75Y7.js"),
4701
4290
  children: [
4702
4291
  {
4703
4292
  path: "edit",
@@ -4710,7 +4299,7 @@ function getRouteMap({
4710
4299
  },
4711
4300
  {
4712
4301
  path: "metadata/edit",
4713
- lazy: () => import("./marketplace-metadata-EGDXYKCE.js")
4302
+ lazy: () => import("./marketplace-metadata-U6LXZNTN.js")
4714
4303
  }
4715
4304
  ]
4716
4305
  }
@@ -4718,8 +4307,8 @@ function getRouteMap({
4718
4307
  },
4719
4308
  {
4720
4309
  path: "commissions",
4721
- errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
4722
- element: /* @__PURE__ */ jsx16(Outlet4, {}),
4310
+ errorElement: /* @__PURE__ */ jsx14(ErrorBoundary, {}),
4311
+ element: /* @__PURE__ */ jsx14(Outlet4, {}),
4723
4312
  handle: {
4724
4313
  breadcrumb: () => t("commissions.domain"),
4725
4314
  permissions: "commission_rate:read"
@@ -4747,7 +4336,7 @@ function getRouteMap({
4747
4336
  return {
4748
4337
  Component: Outlet4,
4749
4338
  handle: {
4750
- breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
4339
+ breadcrumb: (match) => /* @__PURE__ */ jsx14(Breadcrumb, { ...match })
4751
4340
  }
4752
4341
  };
4753
4342
  },
@@ -4773,8 +4362,8 @@ function getRouteMap({
4773
4362
  },
4774
4363
  {
4775
4364
  path: "users",
4776
- errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
4777
- element: /* @__PURE__ */ jsx16(Outlet4, {}),
4365
+ errorElement: /* @__PURE__ */ jsx14(ErrorBoundary, {}),
4366
+ element: /* @__PURE__ */ jsx14(Outlet4, {}),
4778
4367
  handle: {
4779
4368
  breadcrumb: () => t("users.domain"),
4780
4369
  permissions: "user:read"
@@ -4799,7 +4388,7 @@ function getRouteMap({
4799
4388
  Component: Outlet4,
4800
4389
  loader,
4801
4390
  handle: {
4802
- breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
4391
+ breadcrumb: (match) => /* @__PURE__ */ jsx14(Breadcrumb, { ...match })
4803
4392
  }
4804
4393
  };
4805
4394
  },
@@ -4815,7 +4404,7 @@ function getRouteMap({
4815
4404
  },
4816
4405
  {
4817
4406
  path: "metadata/edit",
4818
- lazy: () => import("./user-metadata-2PEU2IJE.js")
4407
+ lazy: () => import("./user-metadata-M72ZGLGH.js")
4819
4408
  }
4820
4409
  ]
4821
4410
  }
@@ -4825,8 +4414,8 @@ function getRouteMap({
4825
4414
  },
4826
4415
  {
4827
4416
  path: "sales-channels",
4828
- errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
4829
- element: /* @__PURE__ */ jsx16(Outlet4, {}),
4417
+ errorElement: /* @__PURE__ */ jsx14(ErrorBoundary, {}),
4418
+ element: /* @__PURE__ */ jsx14(Outlet4, {}),
4830
4419
  handle: {
4831
4420
  breadcrumb: () => t("salesChannels.domain"),
4832
4421
  permissions: "sales_channel:read"
@@ -4834,7 +4423,7 @@ function getRouteMap({
4834
4423
  children: [
4835
4424
  {
4836
4425
  path: "",
4837
- lazy: () => import("./sales-channel-list-XAWN5OKC.js"),
4426
+ lazy: () => import("./sales-channel-list-ZEERNIJZ.js"),
4838
4427
  children: [
4839
4428
  {
4840
4429
  path: "create",
@@ -4846,19 +4435,19 @@ function getRouteMap({
4846
4435
  {
4847
4436
  path: ":id",
4848
4437
  lazy: async () => {
4849
- const { Breadcrumb, loader } = await import("./sales-channel-detail-F37LBP6R.js");
4438
+ const { Breadcrumb, loader } = await import("./sales-channel-detail-5CL3LMRD.js");
4850
4439
  return {
4851
4440
  Component: Outlet4,
4852
4441
  loader,
4853
4442
  handle: {
4854
- breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
4443
+ breadcrumb: (match) => /* @__PURE__ */ jsx14(Breadcrumb, { ...match })
4855
4444
  }
4856
4445
  };
4857
4446
  },
4858
4447
  children: [
4859
4448
  {
4860
4449
  path: "",
4861
- lazy: () => import("./sales-channel-detail-F37LBP6R.js"),
4450
+ lazy: () => import("./sales-channel-detail-5CL3LMRD.js"),
4862
4451
  children: [
4863
4452
  {
4864
4453
  path: "edit",
@@ -4867,11 +4456,11 @@ function getRouteMap({
4867
4456
  },
4868
4457
  {
4869
4458
  path: "add-products",
4870
- lazy: () => import("./sales-channel-add-products-MPJ7UCEJ.js")
4459
+ lazy: () => import("./sales-channel-add-products-EHFMW73I.js")
4871
4460
  },
4872
4461
  {
4873
4462
  path: "metadata/edit",
4874
- lazy: () => import("./sales-channel-metadata-NBWFH4QX.js")
4463
+ lazy: () => import("./sales-channel-metadata-OFHAFCOM.js")
4875
4464
  }
4876
4465
  ]
4877
4466
  }
@@ -4881,8 +4470,8 @@ function getRouteMap({
4881
4470
  },
4882
4471
  {
4883
4472
  path: "locations",
4884
- errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
4885
- element: /* @__PURE__ */ jsx16(Outlet4, {}),
4473
+ errorElement: /* @__PURE__ */ jsx14(ErrorBoundary, {}),
4474
+ element: /* @__PURE__ */ jsx14(Outlet4, {}),
4886
4475
  handle: {
4887
4476
  breadcrumb: () => t("locations.domain"),
4888
4477
  permissions: "stock_location:read"
@@ -4890,7 +4479,7 @@ function getRouteMap({
4890
4479
  children: [
4891
4480
  {
4892
4481
  path: "",
4893
- lazy: () => import("./location-list-VIAP63HV.js")
4482
+ lazy: () => import("./location-list-R3OABFPG.js")
4894
4483
  },
4895
4484
  {
4896
4485
  path: "create",
@@ -4899,7 +4488,7 @@ function getRouteMap({
4899
4488
  },
4900
4489
  {
4901
4490
  path: "shipping-profiles",
4902
- element: /* @__PURE__ */ jsx16(Outlet4, {}),
4491
+ element: /* @__PURE__ */ jsx14(Outlet4, {}),
4903
4492
  handle: {
4904
4493
  breadcrumb: () => t("shippingProfile.domain"),
4905
4494
  permissions: "shipping_profile:read"
@@ -4924,7 +4513,7 @@ function getRouteMap({
4924
4513
  Component: Outlet4,
4925
4514
  loader,
4926
4515
  handle: {
4927
- breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
4516
+ breadcrumb: (match) => /* @__PURE__ */ jsx14(Breadcrumb, { ...match })
4928
4517
  }
4929
4518
  };
4930
4519
  },
@@ -4935,7 +4524,7 @@ function getRouteMap({
4935
4524
  children: [
4936
4525
  {
4937
4526
  path: "metadata/edit",
4938
- lazy: () => import("./shipping-profile-metadata-S7Z3IC6I.js")
4527
+ lazy: () => import("./shipping-profile-metadata-SQFRUAIH.js")
4939
4528
  }
4940
4529
  ]
4941
4530
  }
@@ -4945,8 +4534,8 @@ function getRouteMap({
4945
4534
  },
4946
4535
  {
4947
4536
  path: "shipping-option-types",
4948
- errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
4949
- element: /* @__PURE__ */ jsx16(Outlet4, {}),
4537
+ errorElement: /* @__PURE__ */ jsx14(ErrorBoundary, {}),
4538
+ element: /* @__PURE__ */ jsx14(Outlet4, {}),
4950
4539
  handle: {
4951
4540
  breadcrumb: () => t("shippingOptionTypes.domain"),
4952
4541
  permissions: "shipping_option_type:read"
@@ -4954,36 +4543,36 @@ function getRouteMap({
4954
4543
  children: [
4955
4544
  {
4956
4545
  path: "",
4957
- lazy: () => import("./shipping-option-type-list-PRXZQSPR.js"),
4546
+ lazy: () => import("./shipping-option-type-list-5DOYVCD6.js"),
4958
4547
  children: [
4959
4548
  {
4960
4549
  path: "create",
4961
4550
  handle: { permissions: "shipping_option_type:create" },
4962
- lazy: () => import("./shipping-option-type-create-M23CI42D.js")
4551
+ lazy: () => import("./shipping-option-type-create-4TZVLPFU.js")
4963
4552
  }
4964
4553
  ]
4965
4554
  },
4966
4555
  {
4967
4556
  path: ":id",
4968
4557
  lazy: async () => {
4969
- const { Breadcrumb, loader } = await import("./shipping-option-type-detail-QIJZQ5WW.js");
4558
+ const { Breadcrumb, loader } = await import("./shipping-option-type-detail-TPG7NKCT.js");
4970
4559
  return {
4971
4560
  Component: Outlet4,
4972
4561
  loader,
4973
4562
  handle: {
4974
- breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
4563
+ breadcrumb: (match) => /* @__PURE__ */ jsx14(Breadcrumb, { ...match })
4975
4564
  }
4976
4565
  };
4977
4566
  },
4978
4567
  children: [
4979
4568
  {
4980
4569
  path: "",
4981
- lazy: () => import("./shipping-option-type-detail-QIJZQ5WW.js"),
4570
+ lazy: () => import("./shipping-option-type-detail-TPG7NKCT.js"),
4982
4571
  children: [
4983
4572
  {
4984
4573
  path: "edit",
4985
4574
  handle: { permissions: "shipping_option_type:update" },
4986
- lazy: () => import("./shipping-option-type-edit-WXTEQM32.js")
4575
+ lazy: () => import("./shipping-option-type-edit-BIWXDVMF.js")
4987
4576
  }
4988
4577
  ]
4989
4578
  }
@@ -4994,19 +4583,19 @@ function getRouteMap({
4994
4583
  {
4995
4584
  path: ":location_id",
4996
4585
  lazy: async () => {
4997
- const { Breadcrumb, loader } = await import("./location-detail-B2BWLVAD.js");
4586
+ const { Breadcrumb, loader } = await import("./location-detail-FFKVKFUX.js");
4998
4587
  return {
4999
4588
  Component: Outlet4,
5000
4589
  loader,
5001
4590
  handle: {
5002
- breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
4591
+ breadcrumb: (match) => /* @__PURE__ */ jsx14(Breadcrumb, { ...match })
5003
4592
  }
5004
4593
  };
5005
4594
  },
5006
4595
  children: [
5007
4596
  {
5008
4597
  path: "",
5009
- lazy: () => import("./location-detail-B2BWLVAD.js"),
4598
+ lazy: () => import("./location-detail-FFKVKFUX.js"),
5010
4599
  children: [
5011
4600
  {
5012
4601
  path: "edit",
@@ -5019,7 +4608,7 @@ function getRouteMap({
5019
4608
  },
5020
4609
  {
5021
4610
  path: "fulfillment-providers",
5022
- lazy: () => import("./location-fulfillment-providers-XIYMIEFN.js")
4611
+ lazy: () => import("./location-fulfillment-providers-YY2TKMLH.js")
5023
4612
  },
5024
4613
  {
5025
4614
  path: "fulfillment-set/:fset_id",
@@ -5046,7 +4635,7 @@ function getRouteMap({
5046
4635
  {
5047
4636
  path: "create",
5048
4637
  handle: { permissions: "shipping_option:create" },
5049
- lazy: () => import("./location-service-zone-shipping-option-create-6O2JXV6I.js")
4638
+ lazy: () => import("./location-service-zone-shipping-option-create-EMPXW67L.js")
5050
4639
  },
5051
4640
  {
5052
4641
  path: ":so_id",
@@ -5076,8 +4665,8 @@ function getRouteMap({
5076
4665
  },
5077
4666
  {
5078
4667
  path: "product-tags",
5079
- errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
5080
- element: /* @__PURE__ */ jsx16(Outlet4, {}),
4668
+ errorElement: /* @__PURE__ */ jsx14(ErrorBoundary, {}),
4669
+ element: /* @__PURE__ */ jsx14(Outlet4, {}),
5081
4670
  handle: {
5082
4671
  breadcrumb: () => t("productTags.domain"),
5083
4672
  permissions: "product_tag:read"
@@ -5085,40 +4674,40 @@ function getRouteMap({
5085
4674
  children: [
5086
4675
  {
5087
4676
  path: "",
5088
- lazy: () => import("./product-tag-list-RKLCU3UE.js"),
4677
+ lazy: () => import("./product-tag-list-GNGDIW54.js"),
5089
4678
  children: [
5090
4679
  {
5091
4680
  path: "create",
5092
4681
  handle: { permissions: "product_tag:create" },
5093
- lazy: () => import("./product-tag-create-QORH6X2D.js")
4682
+ lazy: () => import("./product-tag-create-4CDCZZNR.js")
5094
4683
  }
5095
4684
  ]
5096
4685
  },
5097
4686
  {
5098
4687
  path: ":id",
5099
4688
  lazy: async () => {
5100
- const { Breadcrumb, loader } = await import("./product-tag-detail-CDSYBTAM.js");
4689
+ const { Breadcrumb, loader } = await import("./product-tag-detail-5YX4ET5N.js");
5101
4690
  return {
5102
4691
  Component: Outlet4,
5103
4692
  loader,
5104
4693
  handle: {
5105
- breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
4694
+ breadcrumb: (match) => /* @__PURE__ */ jsx14(Breadcrumb, { ...match })
5106
4695
  }
5107
4696
  };
5108
4697
  },
5109
4698
  children: [
5110
4699
  {
5111
4700
  path: "",
5112
- lazy: () => import("./product-tag-detail-CDSYBTAM.js"),
4701
+ lazy: () => import("./product-tag-detail-5YX4ET5N.js"),
5113
4702
  children: [
5114
4703
  {
5115
4704
  path: "edit",
5116
4705
  handle: { permissions: "product_tag:update" },
5117
- lazy: () => import("./product-tag-edit-JWYVCPCC.js")
4706
+ lazy: () => import("./product-tag-edit-UBXKLVUN.js")
5118
4707
  },
5119
4708
  {
5120
4709
  path: "metadata/edit",
5121
- lazy: () => import("./product-tag-metadata-BCUPIIJ5.js")
4710
+ lazy: () => import("./product-tag-metadata-CDXKXZPM.js")
5122
4711
  }
5123
4712
  ]
5124
4713
  }
@@ -5128,8 +4717,8 @@ function getRouteMap({
5128
4717
  },
5129
4718
  {
5130
4719
  path: "attributes",
5131
- errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
5132
- element: /* @__PURE__ */ jsx16(Outlet4, {}),
4720
+ errorElement: /* @__PURE__ */ jsx14(ErrorBoundary, {}),
4721
+ element: /* @__PURE__ */ jsx14(Outlet4, {}),
5133
4722
  handle: {
5134
4723
  breadcrumb: () => t("attributes.domain"),
5135
4724
  permissions: "product_attribute:read"
@@ -5137,31 +4726,31 @@ function getRouteMap({
5137
4726
  children: [
5138
4727
  {
5139
4728
  path: "",
5140
- lazy: () => import("./attribute-list-SCFBKH4L.js"),
4729
+ lazy: () => import("./attribute-list-MEXPF4TG.js"),
5141
4730
  children: [
5142
4731
  {
5143
4732
  path: "create",
5144
4733
  handle: { permissions: "product_attribute:create" },
5145
- lazy: () => import("./attribute-create-C435ZHB2.js")
4734
+ lazy: () => import("./attribute-create-OHAZ4X75.js")
5146
4735
  }
5147
4736
  ]
5148
4737
  },
5149
4738
  {
5150
4739
  path: ":id",
5151
4740
  lazy: async () => {
5152
- const { Breadcrumb, loader } = await import("./attribute-detail-SPYDB3I5.js");
4741
+ const { Breadcrumb, loader } = await import("./attribute-detail-YJ4ZZYCL.js");
5153
4742
  return {
5154
4743
  Component: Outlet4,
5155
4744
  loader,
5156
4745
  handle: {
5157
- breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
4746
+ breadcrumb: (match) => /* @__PURE__ */ jsx14(Breadcrumb, { ...match })
5158
4747
  }
5159
4748
  };
5160
4749
  },
5161
4750
  children: [
5162
4751
  {
5163
4752
  path: "",
5164
- lazy: () => import("./attribute-detail-SPYDB3I5.js"),
4753
+ lazy: () => import("./attribute-detail-YJ4ZZYCL.js"),
5165
4754
  children: [
5166
4755
  {
5167
4756
  path: "edit",
@@ -5188,8 +4777,8 @@ function getRouteMap({
5188
4777
  },
5189
4778
  {
5190
4779
  path: "product-types",
5191
- errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
5192
- element: /* @__PURE__ */ jsx16(Outlet4, {}),
4780
+ errorElement: /* @__PURE__ */ jsx14(ErrorBoundary, {}),
4781
+ element: /* @__PURE__ */ jsx14(Outlet4, {}),
5193
4782
  handle: {
5194
4783
  breadcrumb: () => t("productTypes.domain"),
5195
4784
  permissions: "product_type:read"
@@ -5209,19 +4798,19 @@ function getRouteMap({
5209
4798
  {
5210
4799
  path: ":id",
5211
4800
  lazy: async () => {
5212
- const { Breadcrumb, loader } = await import("./product-type-detail-IY7TWXUQ.js");
4801
+ const { Breadcrumb, loader } = await import("./product-type-detail-A3MUWNM4.js");
5213
4802
  return {
5214
4803
  Component: Outlet4,
5215
4804
  loader,
5216
4805
  handle: {
5217
- breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
4806
+ breadcrumb: (match) => /* @__PURE__ */ jsx14(Breadcrumb, { ...match })
5218
4807
  }
5219
4808
  };
5220
4809
  },
5221
4810
  children: [
5222
4811
  {
5223
4812
  path: "",
5224
- lazy: () => import("./product-type-detail-IY7TWXUQ.js"),
4813
+ lazy: () => import("./product-type-detail-A3MUWNM4.js"),
5225
4814
  children: [
5226
4815
  {
5227
4816
  path: "edit",
@@ -5230,7 +4819,7 @@ function getRouteMap({
5230
4819
  },
5231
4820
  {
5232
4821
  path: "metadata/edit",
5233
- lazy: () => import("./product-type-metadata-DKBBQB6R.js")
4822
+ lazy: () => import("./product-type-metadata-IISED7XQ.js")
5234
4823
  }
5235
4824
  ]
5236
4825
  }
@@ -5240,7 +4829,7 @@ function getRouteMap({
5240
4829
  },
5241
4830
  {
5242
4831
  path: "publishable-api-keys",
5243
- element: /* @__PURE__ */ jsx16(Outlet4, {}),
4832
+ element: /* @__PURE__ */ jsx14(Outlet4, {}),
5244
4833
  handle: {
5245
4834
  breadcrumb: () => t("apiKeyManagement.domain.publishable"),
5246
4835
  permissions: "api_key:read"
@@ -5248,7 +4837,7 @@ function getRouteMap({
5248
4837
  children: [
5249
4838
  {
5250
4839
  path: "",
5251
- element: /* @__PURE__ */ jsx16(Outlet4, {}),
4840
+ element: /* @__PURE__ */ jsx14(Outlet4, {}),
5252
4841
  children: [
5253
4842
  {
5254
4843
  path: "",
@@ -5266,19 +4855,19 @@ function getRouteMap({
5266
4855
  {
5267
4856
  path: ":id",
5268
4857
  lazy: async () => {
5269
- const { Breadcrumb, loader } = await import("./api-key-management-detail-ZGGQBQAM.js");
4858
+ const { Breadcrumb, loader } = await import("./api-key-management-detail-ZFA3YPJ6.js");
5270
4859
  return {
5271
4860
  Component: Outlet4,
5272
4861
  loader,
5273
4862
  handle: {
5274
- breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
4863
+ breadcrumb: (match) => /* @__PURE__ */ jsx14(Breadcrumb, { ...match })
5275
4864
  }
5276
4865
  };
5277
4866
  },
5278
4867
  children: [
5279
4868
  {
5280
4869
  path: "",
5281
- lazy: () => import("./api-key-management-detail-ZGGQBQAM.js"),
4870
+ lazy: () => import("./api-key-management-detail-ZFA3YPJ6.js"),
5282
4871
  children: [
5283
4872
  {
5284
4873
  path: "edit",
@@ -5297,7 +4886,7 @@ function getRouteMap({
5297
4886
  },
5298
4887
  {
5299
4888
  path: "secret-api-keys",
5300
- element: /* @__PURE__ */ jsx16(Outlet4, {}),
4889
+ element: /* @__PURE__ */ jsx14(Outlet4, {}),
5301
4890
  handle: {
5302
4891
  breadcrumb: () => t("apiKeyManagement.domain.secret"),
5303
4892
  permissions: "api_key:read"
@@ -5305,7 +4894,7 @@ function getRouteMap({
5305
4894
  children: [
5306
4895
  {
5307
4896
  path: "",
5308
- element: /* @__PURE__ */ jsx16(Outlet4, {}),
4897
+ element: /* @__PURE__ */ jsx14(Outlet4, {}),
5309
4898
  children: [
5310
4899
  {
5311
4900
  path: "",
@@ -5323,19 +4912,19 @@ function getRouteMap({
5323
4912
  {
5324
4913
  path: ":id",
5325
4914
  lazy: async () => {
5326
- const { Breadcrumb, loader } = await import("./api-key-management-detail-ZGGQBQAM.js");
4915
+ const { Breadcrumb, loader } = await import("./api-key-management-detail-ZFA3YPJ6.js");
5327
4916
  return {
5328
4917
  Component: Outlet4,
5329
4918
  loader,
5330
4919
  handle: {
5331
- breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
4920
+ breadcrumb: (match) => /* @__PURE__ */ jsx14(Breadcrumb, { ...match })
5332
4921
  }
5333
4922
  };
5334
4923
  },
5335
4924
  children: [
5336
4925
  {
5337
4926
  path: "",
5338
- lazy: () => import("./api-key-management-detail-ZGGQBQAM.js"),
4927
+ lazy: () => import("./api-key-management-detail-ZFA3YPJ6.js"),
5339
4928
  children: [
5340
4929
  {
5341
4930
  path: "edit",
@@ -5350,7 +4939,7 @@ function getRouteMap({
5350
4939
  },
5351
4940
  {
5352
4941
  path: "tax-regions",
5353
- element: /* @__PURE__ */ jsx16(Outlet4, {}),
4942
+ element: /* @__PURE__ */ jsx14(Outlet4, {}),
5354
4943
  handle: {
5355
4944
  breadcrumb: () => t("taxRegions.domain"),
5356
4945
  permissions: "tax_region:read"
@@ -5363,7 +4952,7 @@ function getRouteMap({
5363
4952
  {
5364
4953
  path: "create",
5365
4954
  handle: { permissions: "tax_region:create" },
5366
- lazy: () => import("./tax-region-create-PIDKQEWT.js")
4955
+ lazy: () => import("./tax-region-create-Q2QYTIHC.js")
5367
4956
  }
5368
4957
  ]
5369
4958
  },
@@ -5372,13 +4961,13 @@ function getRouteMap({
5372
4961
  Component: Outlet4,
5373
4962
  loader: taxRegionLoader,
5374
4963
  handle: {
5375
- breadcrumb: (match) => /* @__PURE__ */ jsx16(TaxRegionDetailBreadcrumb, { ...match })
4964
+ breadcrumb: (match) => /* @__PURE__ */ jsx14(TaxRegionDetailBreadcrumb, { ...match })
5376
4965
  },
5377
4966
  children: [
5378
4967
  {
5379
4968
  path: "",
5380
4969
  lazy: async () => {
5381
- const { Component } = await import("./tax-region-detail-7RNNZ4UE.js");
4970
+ const { Component } = await import("./tax-region-detail-AJ2O7YKC.js");
5382
4971
  return {
5383
4972
  Component
5384
4973
  };
@@ -5387,7 +4976,7 @@ function getRouteMap({
5387
4976
  {
5388
4977
  path: "edit",
5389
4978
  handle: { permissions: "tax_region:update" },
5390
- lazy: () => import("./tax-region-edit-I27QZZPB.js")
4979
+ lazy: () => import("./tax-region-edit-A6C4VTTZ.js")
5391
4980
  },
5392
4981
  {
5393
4982
  path: "provinces/create",
@@ -5395,11 +4984,11 @@ function getRouteMap({
5395
4984
  },
5396
4985
  {
5397
4986
  path: "overrides/create",
5398
- lazy: () => import("./tax-region-tax-override-create-Z6S43XQ6.js")
4987
+ lazy: () => import("./tax-region-tax-override-create-IPHOMPVG.js")
5399
4988
  },
5400
4989
  {
5401
4990
  path: "overrides/:tax_rate_id/edit",
5402
- lazy: () => import("./tax-region-tax-override-edit-4EOURL2M.js")
4991
+ lazy: () => import("./tax-region-tax-override-edit-IV57DNYU.js")
5403
4992
  },
5404
4993
  {
5405
4994
  path: "tax-rates/create",
@@ -5411,26 +5000,26 @@ function getRouteMap({
5411
5000
  },
5412
5001
  {
5413
5002
  path: "metadata/edit",
5414
- lazy: () => import("./tax-region-metadata-6YIZSRLO.js")
5003
+ lazy: () => import("./tax-region-metadata-6QI4VPCV.js")
5415
5004
  }
5416
5005
  ]
5417
5006
  },
5418
5007
  {
5419
5008
  path: "provinces/:province_id",
5420
5009
  lazy: async () => {
5421
- const { Breadcrumb, loader } = await import("./tax-region-province-detail-AHS5SRP5.js");
5010
+ const { Breadcrumb, loader } = await import("./tax-region-province-detail-SZAUBE23.js");
5422
5011
  return {
5423
5012
  Component: Outlet4,
5424
5013
  loader,
5425
5014
  handle: {
5426
- breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
5015
+ breadcrumb: (match) => /* @__PURE__ */ jsx14(Breadcrumb, { ...match })
5427
5016
  }
5428
5017
  };
5429
5018
  },
5430
5019
  children: [
5431
5020
  {
5432
5021
  path: "",
5433
- lazy: () => import("./tax-region-province-detail-AHS5SRP5.js"),
5022
+ lazy: () => import("./tax-region-province-detail-SZAUBE23.js"),
5434
5023
  children: [
5435
5024
  {
5436
5025
  path: "tax-rates/create",
@@ -5442,11 +5031,11 @@ function getRouteMap({
5442
5031
  },
5443
5032
  {
5444
5033
  path: "overrides/create",
5445
- lazy: () => import("./tax-region-tax-override-create-Z6S43XQ6.js")
5034
+ lazy: () => import("./tax-region-tax-override-create-IPHOMPVG.js")
5446
5035
  },
5447
5036
  {
5448
5037
  path: "overrides/:tax_rate_id/edit",
5449
- lazy: () => import("./tax-region-tax-override-edit-4EOURL2M.js")
5038
+ lazy: () => import("./tax-region-tax-override-edit-IV57DNYU.js")
5450
5039
  }
5451
5040
  ]
5452
5041
  }
@@ -5458,7 +5047,7 @@ function getRouteMap({
5458
5047
  },
5459
5048
  {
5460
5049
  path: "return-reasons",
5461
- element: /* @__PURE__ */ jsx16(Outlet4, {}),
5050
+ element: /* @__PURE__ */ jsx14(Outlet4, {}),
5462
5051
  handle: {
5463
5052
  breadcrumb: () => t("returnReasons.domain"),
5464
5053
  permissions: "return_reason:read"
@@ -5489,7 +5078,7 @@ function getRouteMap({
5489
5078
  },
5490
5079
  {
5491
5080
  path: "refund-reasons",
5492
- element: /* @__PURE__ */ jsx16(Outlet4, {}),
5081
+ element: /* @__PURE__ */ jsx14(Outlet4, {}),
5493
5082
  handle: {
5494
5083
  breadcrumb: () => t("refundReasons.domain"),
5495
5084
  permissions: "refund_reason:read"
@@ -5497,12 +5086,12 @@ function getRouteMap({
5497
5086
  children: [
5498
5087
  {
5499
5088
  path: "",
5500
- lazy: () => import("./refund-reason-list-ABRFC3OQ.js"),
5089
+ lazy: () => import("./refund-reason-list-WGRCZWXL.js"),
5501
5090
  children: [
5502
5091
  {
5503
5092
  path: "create",
5504
5093
  handle: { permissions: "refund_reason:create" },
5505
- lazy: () => import("./refund-reason-create-P5FUFEGK.js")
5094
+ lazy: () => import("./refund-reason-create-DAOTHCMY.js")
5506
5095
  },
5507
5096
  {
5508
5097
  path: ":id",
@@ -5510,7 +5099,7 @@ function getRouteMap({
5510
5099
  {
5511
5100
  path: "edit",
5512
5101
  handle: { permissions: "refund_reason:update" },
5513
- lazy: () => import("./refund-reason-edit-AKOTWXCE.js")
5102
+ lazy: () => import("./refund-reason-edit-M3AKWJZR.js")
5514
5103
  }
5515
5104
  ]
5516
5105
  }
@@ -5527,18 +5116,18 @@ function getRouteMap({
5527
5116
  ]
5528
5117
  },
5529
5118
  {
5530
- element: /* @__PURE__ */ jsx16(PublicLayout, {}),
5119
+ element: /* @__PURE__ */ jsx14(PublicLayout, {}),
5531
5120
  children: [
5532
5121
  {
5533
- errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
5122
+ errorElement: /* @__PURE__ */ jsx14(ErrorBoundary, {}),
5534
5123
  children: [
5535
5124
  {
5536
5125
  path: "/login",
5537
- lazy: () => import("./login-TZHRVYA5.js")
5126
+ lazy: () => import("./login-ZCAW7Z7Q.js")
5538
5127
  },
5539
5128
  {
5540
5129
  path: "/reset-password",
5541
- lazy: () => import("./reset-password-VJY5CXJU.js")
5130
+ lazy: () => import("./reset-password-EUAOKJDU.js")
5542
5131
  },
5543
5132
  {
5544
5133
  path: "/invite",
@@ -5558,7 +5147,7 @@ function getRouteMap({
5558
5147
 
5559
5148
  // src/app.tsx
5560
5149
  import { useMemo as useMemo7 } from "react";
5561
- import { jsx as jsx17, jsxs as jsxs11 } from "react/jsx-runtime";
5150
+ import { jsx as jsx15, jsxs as jsxs9 } from "react/jsx-runtime";
5562
5151
  function App() {
5563
5152
  const routes = useMemo7(() => {
5564
5153
  return {
@@ -5567,15 +5156,15 @@ function App() {
5567
5156
  publicRoutes: createRouteMap(getRoutesByType(customRoutes, "public"))
5568
5157
  };
5569
5158
  }, []);
5570
- return /* @__PURE__ */ jsx17(TooltipProvider, { children: /* @__PURE__ */ jsx17(HelmetProvider, { children: /* @__PURE__ */ jsx17(QueryClientProvider, { client: queryClient, children: /* @__PURE__ */ jsx17(ThemeProvider, { children: /* @__PURE__ */ jsx17(FeatureFlagProvider, { children: /* @__PURE__ */ jsxs11(
5159
+ return /* @__PURE__ */ jsx15(TooltipProvider, { children: /* @__PURE__ */ jsx15(HelmetProvider, { children: /* @__PURE__ */ jsx15(QueryClientProvider, { client: queryClient, children: /* @__PURE__ */ jsx15(ThemeProvider, { children: /* @__PURE__ */ jsx15(FeatureFlagProvider, { children: /* @__PURE__ */ jsxs9(
5571
5160
  ExtensionProvider,
5572
5161
  {
5573
5162
  widgets,
5574
5163
  navigation,
5575
5164
  customFields,
5576
5165
  children: [
5577
- /* @__PURE__ */ jsx17(I18n, {}),
5578
- /* @__PURE__ */ jsx17(I18nProvider, { children: /* @__PURE__ */ jsx17(
5166
+ /* @__PURE__ */ jsx15(I18n, {}),
5167
+ /* @__PURE__ */ jsx15(I18nProvider, { children: /* @__PURE__ */ jsx15(
5579
5168
  RouterProvider,
5580
5169
  {
5581
5170
  router: createBrowserRouter(getRouteMap(routes), {
@@ -5583,7 +5172,7 @@ function App() {
5583
5172
  })
5584
5173
  }
5585
5174
  ) }),
5586
- /* @__PURE__ */ jsx17(Toaster, {})
5175
+ /* @__PURE__ */ jsx15(Toaster, {})
5587
5176
  ]
5588
5177
  }
5589
5178
  ) }) }) }) }) });
@@ -5608,7 +5197,6 @@ export {
5608
5197
  _DataTable as DataTable,
5609
5198
  FileUpload,
5610
5199
  Form,
5611
- Notifications,
5612
5200
  PRODUCT_DETAIL_FIELDS,
5613
5201
  PRODUCT_DETAIL_QUERY,
5614
5202
  PermissionGuard,