@vendure/dashboard 3.7.3-master-202609010213 → 3.7.3

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.
@@ -1,5 +1,5 @@
1
- import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, b as ParentPanel, C as ContentView, Q as QueryDevtoolsContext } from "./AP7HFJJL-YpODpqYM.js";
2
- import { g as getPreferredColorScheme, c as createMemo, a as createComponent } from "./main-Cd1_UkGH.js";
1
+ import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, b as ParentPanel, C as ContentView, Q as QueryDevtoolsContext } from "./AP7HFJJL-BJdLqnVW.js";
2
+ import { g as getPreferredColorScheme, c as createMemo, a as createComponent } from "./main-9UGYMBwq.js";
3
3
  var DevtoolsPanelComponent = (props) => {
4
4
  const [localStore, setLocalStore] = createLocalStorage({
5
5
  prefix: "TanstackQueryDevtools"
@@ -1,4 +1,4 @@
1
- import { b as createContext, d as createSignal, o as onMount, e as createEffect, c as createMemo, a as createComponent, P as Portal, m as memo, S as Show, t as template, i as insert, f as createRenderEffect, h as className, j as clearDelegatedEvents, k as delegateEvents, u as useContext, l as onCleanup, s as sortFns, n as mutationSortFns, p as on, q as setAttribute, r as getSidedProp, v as use, w as convertRemToPixels, x as createUniqueId, y as batch, z as getQueryStatusLabel, A as getMutationStatusColor, B as getQueryStatusColor, C as getQueryStatusColorByLabel, D as displayValue, F as For, E as untrack, $ as $TRACK, G as useTransition, H as spread, I as mergeProps, J as createRoot, K as serialize, L as Index, M as updateNestedDataByPath, N as addEventListener, O as stringify, Q as Match, R as Switch, T as deleteNestedDataByPath, U as splitProps, V as Dynamic, W as createComputed } from "./main-Cd1_UkGH.js";
1
+ import { b as createContext, d as createSignal, o as onMount, e as createEffect, c as createMemo, a as createComponent, P as Portal, m as memo, S as Show, t as template, i as insert, f as createRenderEffect, h as className, j as clearDelegatedEvents, k as delegateEvents, u as useContext, l as onCleanup, s as sortFns, n as mutationSortFns, p as on, q as setAttribute, r as getSidedProp, v as use, w as convertRemToPixels, x as createUniqueId, y as batch, z as getQueryStatusLabel, A as getMutationStatusColor, B as getQueryStatusColor, C as getQueryStatusColorByLabel, D as displayValue, F as For, E as untrack, $ as $TRACK, G as useTransition, H as spread, I as mergeProps, J as createRoot, K as serialize, L as Index, M as updateNestedDataByPath, N as addEventListener, O as stringify, Q as Match, R as Switch, T as deleteNestedDataByPath, U as splitProps, V as Dynamic, W as createComputed } from "./main-9UGYMBwq.js";
2
2
  var isNonNullable = (i2) => i2 != null;
3
3
  var filterNonNullable = (arr) => arr.filter(isNonNullable);
4
4
  function chain(callbacks) {
@@ -1,5 +1,5 @@
1
- import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, D as Devtools, Q as QueryDevtoolsContext } from "./AP7HFJJL-YpODpqYM.js";
2
- import { g as getPreferredColorScheme, c as createMemo, a as createComponent } from "./main-Cd1_UkGH.js";
1
+ import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, D as Devtools, Q as QueryDevtoolsContext } from "./AP7HFJJL-BJdLqnVW.js";
2
+ import { g as getPreferredColorScheme, c as createMemo, a as createComponent } from "./main-9UGYMBwq.js";
3
3
  var DevtoolsComponent = (props) => {
4
4
  const [localStore, setLocalStore] = createLocalStorage({
5
5
  prefix: "TanstackQueryDevtools"
@@ -1,4 +1,4 @@
1
- import { op as normalizeDates$1, oq as startOfWeek$1, or as buildFormatLongFn$1, os as buildLocalizeFn$1, ot as buildMatchFn$1, ou as buildMatchPatternFn$1, ov as toDate$1, ow as match$1l, ox as localize$1n, oy as formatRelative$1n, oz as formatDistance$1n, oA as DateLib, oB as enUS$1 } from "./use-job-queue-polling-D72qcrwX.js";
1
+ import { op as normalizeDates$1, oq as startOfWeek$1, or as buildFormatLongFn$1, os as buildLocalizeFn$1, ot as buildMatchFn$1, ou as buildMatchPatternFn$1, ov as toDate$1, ow as match$1l, ox as localize$1n, oy as formatRelative$1n, oz as formatDistance$1n, oA as DateLib, oB as enUS$1 } from "./use-job-queue-polling-BrMR-IHJ.js";
2
2
  function isSameWeek$1(laterDate, earlierDate, options2) {
3
3
  const [laterDate_, earlierDate_] = normalizeDates$1(
4
4
  options2?.in,
@@ -1,5 +1,5 @@
1
1
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
- import { c as createLucideIcon, nu as loadI18nMessages, nE as UserSettingsProvider, nF as ThemeProvider, nG as AuthProvider, nH as ServerConfigProvider, nI as ChannelProvider, nJ as AlertsProvider, l5 as CustomProviders, df as objectType, du as stringType, mV as useAuth, gv as LoginForm, hq as LoginBranding, gk as AppLayout, nK as endOfDay, nL as startOfMonth, bD as useUserSettings, nc as usePermissions, kx as getDashboardWidgetRegistry, eL as Page, eM as PageTitle, eN as PageActionBar, me as ActionBarItem, gi as DateRangePicker, dP as Button, eP as PageLayout, mp as FullWidthPageBlock, kA as WidgetFiltersProvider, i$ as GridLayout, ky as getDashboardWidget, nb as usePaginatedList, mF as api, kV as getMutationName, fA as DataTableBulkActionItem, nM as Trash, mN as graphql, gf as useGeneratedColumns, fU as DataTable, gY as CountrySelector, jt as Sheet, jA as SheetTrigger, jv as SheetContent, jy as SheetHeader, jz as SheetTitle, jw as SheetDescription, jm as ScrollArea, mx as ListPage, dQ as Plus, h3 as DetailPageButton, eX as BooleanDisplayBadge, dR as Badge, mS as setSettingsStoreValueDocument, nN as createColumnHelper, gX as CopyableText, jV as Switch$1, iE as Dialog, iM as DialogTrigger, iG as DialogContent, iJ as DialogHeader, iD as DialogTitle, iH as DialogDescription, eZ as JsonViewer, iI as DialogFooter, dO as Input, n7 as useLocalFormat, bR as DropdownMenu, bS as DropdownMenuTrigger, bT as Ellipsis, bV as DropdownMenuContent, bW as DropdownMenuItem, nO as Clock, nP as Check, nQ as RefreshCw, nR as ChevronDown, nS as EllipsisVertical, bF as Select, bG as SelectTrigger, bI as SelectValue, bJ as SelectContent, bK as SelectItem, gJ as AssignToChannelBulkAction, mW as useChannel, hs as RemoveFromChannelBulkAction, mJ as configurableOperationFragment, nq as LS_KEY_SHIPPING_TEST_ADDRESS, nT as useAvailableCountries, hR as AccordionItem, hS as AccordionTrigger, hQ as AccordionContent, i_ as Form, eS as FormFieldWrapper, nr as LS_KEY_SHIPPING_TEST_ORDER, nU as useReactTable, nV as getCoreRowModel, jW as Table, k0 as TableHeader, k1 as TableRow, j$ as TableHead, nW as flexRender, jX as TableBody, jZ as TableCell, hr as ProductVariantSelector, hJ as VendureImage, bZ as Trash2, e$ as Money, ij as Card, ip as CardHeader, iq as CardTitle, il as CardContent, i3 as Alert, i4 as AlertDescription, hP as Accordion, hG as RichTextDescriptionCell, nt as SUPER_ADMIN_ROLE_CODE, nl as CUSTOMER_ROLE_CODE, nX as Layers, gP as ChannelCodeLabel, hz as RoleCodeLabel, mH as getEntityDuplicatorsDocument, nY as getInitialConfigArgValue, gS as ConfigurableOperationInput, mG as duplicateEntityDocument, nZ as Copy, h5 as ErrorPage, kI as extendDetailFormQuery, kP as addCustomFields, mA as getDetailQueryOptions, eJ as useDetailPage, eQ as PageBlock, eR as DetailFormGrid, jd as PasswordInput, eU as CustomFieldsPageBlock, mI as assetFragment, h7 as FacetValueSelector, h6 as FacetValueChip, gL as usePriceFactor, fF as FacetValueFacetedFilter, hC as StockLevelLabel, mM as errorResultFragment, mL as configurableOperationDefFragment, bC as useServerConfig, hD as CustomerCell, hE as OrderStateCell, hF as OrderMoneyCell, eH as NEW_ENTITY_PATH, hh as LanguageSelector, mP as schemaLanguageCodes, fb as NumberInput, hn as PaginatedListDataTable, hm as PaginatedListDataTableKey, h2 as CustomerSelector, n_ as useDebounce, bX as Folder, n$ as Search, o0 as ChevronRight, o1 as getExpandedRowModel, fO as getItemParentId, fR as calculateDragTargetPosition, fQ as isCircularReference, fS as calculateSiblingIndex, o2 as deleteAssetsDocument, cW as enumType, cP as coerce, gD as AssetGallery, mw as detailPageRouteLoader, hH as TaxCategorySelector, hO as ZoneSelector, k7 as Textarea, gV as ConfigurableOperationSelector, eT as TranslatableFormFieldWrapper, fq as RichTextInput, n5 as useGroupedPermissions, ke as TooltipProvider, kc as Tooltip, kf as TooltipTrigger, o3 as Info, kd as TooltipContent, gQ as ChannelSelector, gU as ConfigurableOperationMultiSelector, f7 as DateTimeInput, dS as X, cM as arrayType, nD as a, k2 as Tabs, k4 as TabsList, k5 as TabsTrigger, o4 as Link$1, k3 as TabsContent, iu as Command, iy as CommandInput, iA as CommandList, iw as CommandEmpty, iz as CommandItem, cO as booleanType, cl as ZodIssueCode, dq as recordType, C as Checkbox, iQ as Field, iT as FieldError, fa as MoneyInput, gW as ConfirmationDialog, hU as AlertDialog, hX as AlertDialogContent, h_ as AlertDialogHeader, hT as AlertDialogTitle, hY as AlertDialogDescription, hZ as AlertDialogFooter, hW as AlertDialogCancel, hV as AlertDialogAction, ho as PermissionGuard, na as usePage, fs as SlugInput, gN as AssignedFacetValues, gM as AssignedChannels, h4 as EntityAssets, dV as Separator, g_ as CustomFieldsForm, iV as FieldLabel, m$ as useDynamicTranslations, o5 as getTypeForState, bH as cn, nn as DEFAULT_CHANNEL_CODE, fp as createRelationSelectorConfig, fo as RelationSelector, j5 as Label, o6 as CircleAlert, mX as useCustomFieldConfig, gj as LabeledData, ir as Collapsible, is as CollapsibleTrigger, it as CollapsibleContent, o7 as Globe, md as HistoryEntry, o8 as SquarePen, hf as useHistoryNoteEditor, hd as HistoryTimelineWithGrouping, hc as HistoryNoteInput, ha as HistoryNoteEditor, hb as HistoryNoteEntry, jS as Skeleton, kR as getFieldsFromDocumentNode, fL as getColumnVisibility, o9 as Pencil, oa as stateTypeToBadgeVariant, ob as ChevronLeft, g$ as CustomerAddressForm$1, oc as Users, h0 as CustomerGroupChip, h1 as CustomerGroupSelector, od as availableCountriesQueryKey, oe as Eye, i5 as AlertTitle, n6 as useJobQueuePolling, hB as SellerSelector, gZ as CurrencySelector, of as tagListDocument, og as updateTagDocument, oh as deleteTagDocument, oi as createTagDocument, je as Popover, jj as PopoverTrigger, oj as ChevronsUpDown, jf as PopoverContent, ix as CommandGroup, ok as Settings2, ol as assetDetailDocument, om as assetUpdateDocument, gB as AssetFocalPointEditor, gI as AssetProperties, gG as AssetPreviewSelector, on as Focus, hA as RoleSelector, hj as MultiSelect, oo as useRedirectToListOnNotFound, fh as SingleRelationInput, lD as useGeneratedForm, de as numberType, f0 as AffixedInput, iF as DialogClose, jU as Spinner, lq as useDashboardExtensions, kH as registerDefaults, l7 as executeDashboardExtensionCallbacks, jT as Toaster, mB as useExtendedRouter, mZ as useDisplayLocale, nh as useUiLanguageLoader, kL as setCustomFieldsMap, iN as DirectionProvider, kM as clearCustomFieldsMap } from "./use-job-queue-polling-D72qcrwX.js";
2
+ import { c as createLucideIcon, nu as loadI18nMessages, nE as UserSettingsProvider, nF as ThemeProvider, nG as AuthProvider, nH as ServerConfigProvider, nI as ChannelProvider, nJ as AlertsProvider, l5 as CustomProviders, df as objectType, du as stringType, mV as useAuth, gv as LoginForm, hq as LoginBranding, gk as AppLayout, nK as endOfDay, nL as startOfMonth, bD as useUserSettings, nc as usePermissions, kx as getDashboardWidgetRegistry, eL as Page, eM as PageTitle, eN as PageActionBar, me as ActionBarItem, gi as DateRangePicker, dP as Button, eP as PageLayout, mp as FullWidthPageBlock, kA as WidgetFiltersProvider, i$ as GridLayout, ky as getDashboardWidget, nb as usePaginatedList, mF as api, kV as getMutationName, fA as DataTableBulkActionItem, nM as Trash, mN as graphql, gf as useGeneratedColumns, fU as DataTable, gY as CountrySelector, jt as Sheet, jA as SheetTrigger, jv as SheetContent, jy as SheetHeader, jz as SheetTitle, jw as SheetDescription, jm as ScrollArea, mx as ListPage, dQ as Plus, h3 as DetailPageButton, eX as BooleanDisplayBadge, dR as Badge, mS as setSettingsStoreValueDocument, nN as createColumnHelper, gX as CopyableText, jV as Switch$1, iE as Dialog, iM as DialogTrigger, iG as DialogContent, iJ as DialogHeader, iD as DialogTitle, iH as DialogDescription, eZ as JsonViewer, iI as DialogFooter, dO as Input, n7 as useLocalFormat, bR as DropdownMenu, bS as DropdownMenuTrigger, bT as Ellipsis, bV as DropdownMenuContent, bW as DropdownMenuItem, nO as Clock, nP as Check, nQ as RefreshCw, nR as ChevronDown, nS as EllipsisVertical, bF as Select, bG as SelectTrigger, bI as SelectValue, bJ as SelectContent, bK as SelectItem, gJ as AssignToChannelBulkAction, mW as useChannel, hs as RemoveFromChannelBulkAction, mJ as configurableOperationFragment, nq as LS_KEY_SHIPPING_TEST_ADDRESS, nT as useAvailableCountries, hR as AccordionItem, hS as AccordionTrigger, hQ as AccordionContent, i_ as Form, eS as FormFieldWrapper, nr as LS_KEY_SHIPPING_TEST_ORDER, nU as useReactTable, nV as getCoreRowModel, jW as Table, k0 as TableHeader, k1 as TableRow, j$ as TableHead, nW as flexRender, jX as TableBody, jZ as TableCell, hr as ProductVariantSelector, hJ as VendureImage, bZ as Trash2, e$ as Money, ij as Card, ip as CardHeader, iq as CardTitle, il as CardContent, i3 as Alert, i4 as AlertDescription, hP as Accordion, hG as RichTextDescriptionCell, nt as SUPER_ADMIN_ROLE_CODE, nl as CUSTOMER_ROLE_CODE, nX as Layers, gP as ChannelCodeLabel, hz as RoleCodeLabel, mH as getEntityDuplicatorsDocument, nY as getInitialConfigArgValue, gS as ConfigurableOperationInput, mG as duplicateEntityDocument, nZ as Copy, h5 as ErrorPage, kI as extendDetailFormQuery, kP as addCustomFields, mA as getDetailQueryOptions, eJ as useDetailPage, eQ as PageBlock, eR as DetailFormGrid, jd as PasswordInput, eU as CustomFieldsPageBlock, mI as assetFragment, h7 as FacetValueSelector, h6 as FacetValueChip, gL as usePriceFactor, fF as FacetValueFacetedFilter, hC as StockLevelLabel, mM as errorResultFragment, mL as configurableOperationDefFragment, bC as useServerConfig, hD as CustomerCell, hE as OrderStateCell, hF as OrderMoneyCell, eH as NEW_ENTITY_PATH, hh as LanguageSelector, mP as schemaLanguageCodes, fb as NumberInput, hn as PaginatedListDataTable, hm as PaginatedListDataTableKey, h2 as CustomerSelector, n_ as useDebounce, bX as Folder, n$ as Search, o0 as ChevronRight, o1 as getExpandedRowModel, fO as getItemParentId, fR as calculateDragTargetPosition, fQ as isCircularReference, fS as calculateSiblingIndex, o2 as deleteAssetsDocument, cW as enumType, cP as coerce, gD as AssetGallery, mw as detailPageRouteLoader, hH as TaxCategorySelector, hO as ZoneSelector, k7 as Textarea, gV as ConfigurableOperationSelector, eT as TranslatableFormFieldWrapper, fq as RichTextInput, n5 as useGroupedPermissions, ke as TooltipProvider, kc as Tooltip, kf as TooltipTrigger, o3 as Info, kd as TooltipContent, gQ as ChannelSelector, gU as ConfigurableOperationMultiSelector, f7 as DateTimeInput, dS as X, cM as arrayType, nD as a, k2 as Tabs, k4 as TabsList, k5 as TabsTrigger, o4 as Link$1, k3 as TabsContent, iu as Command, iy as CommandInput, iA as CommandList, iw as CommandEmpty, iz as CommandItem, cO as booleanType, cl as ZodIssueCode, dq as recordType, C as Checkbox, iQ as Field, iT as FieldError, fa as MoneyInput, gW as ConfirmationDialog, hU as AlertDialog, hX as AlertDialogContent, h_ as AlertDialogHeader, hT as AlertDialogTitle, hY as AlertDialogDescription, hZ as AlertDialogFooter, hW as AlertDialogCancel, hV as AlertDialogAction, ho as PermissionGuard, na as usePage, fs as SlugInput, gN as AssignedFacetValues, gM as AssignedChannels, h4 as EntityAssets, dV as Separator, g_ as CustomFieldsForm, iV as FieldLabel, m$ as useDynamicTranslations, o5 as getTypeForState, bH as cn, nn as DEFAULT_CHANNEL_CODE, fp as createRelationSelectorConfig, fo as RelationSelector, j5 as Label, o6 as CircleAlert, mX as useCustomFieldConfig, gj as LabeledData, ir as Collapsible, is as CollapsibleTrigger, it as CollapsibleContent, o7 as Globe, md as HistoryEntry, o8 as SquarePen, hf as useHistoryNoteEditor, hd as HistoryTimelineWithGrouping, hc as HistoryNoteInput, ha as HistoryNoteEditor, hb as HistoryNoteEntry, jS as Skeleton, kR as getFieldsFromDocumentNode, fL as getColumnVisibility, o9 as Pencil, oa as stateTypeToBadgeVariant, ob as ChevronLeft, g$ as CustomerAddressForm$1, oc as Users, h0 as CustomerGroupChip, h1 as CustomerGroupSelector, od as availableCountriesQueryKey, oe as Eye, i5 as AlertTitle, n6 as useJobQueuePolling, hB as SellerSelector, gZ as CurrencySelector, of as tagListDocument, og as updateTagDocument, oh as deleteTagDocument, oi as createTagDocument, je as Popover, jj as PopoverTrigger, oj as ChevronsUpDown, jf as PopoverContent, ix as CommandGroup, ok as Settings2, ol as assetDetailDocument, om as assetUpdateDocument, gB as AssetFocalPointEditor, gI as AssetProperties, gG as AssetPreviewSelector, on as Focus, hA as RoleSelector, hj as MultiSelect, oo as useRedirectToListOnNotFound, fh as SingleRelationInput, lD as useGeneratedForm, de as numberType, f0 as AffixedInput, iF as DialogClose, jU as Spinner, lq as useDashboardExtensions, kH as registerDefaults, l7 as executeDashboardExtensionCallbacks, jT as Toaster, mB as useExtendedRouter, mZ as useDisplayLocale, nh as useUiLanguageLoader, kL as setCustomFieldsMap, iN as DirectionProvider, kM as clearCustomFieldsMap } from "./use-job-queue-polling-BrMR-IHJ.js";
3
3
  import { toast } from "sonner";
4
4
  import { i18n } from "@lingui/core";
5
5
  import { I18nProvider as I18nProvider$1, useLingui, Trans } from "@lingui/react";
@@ -2934,7 +2934,7 @@ var TanstackQueryDevtools = class {
2934
2934
  if (this.#Component) {
2935
2935
  Devtools = this.#Component;
2936
2936
  } else {
2937
- Devtools = lazy(() => import("./WDYDFRGG-BxsichQg.js"));
2937
+ Devtools = lazy(() => import("./WDYDFRGG-CplI2xmz.js"));
2938
2938
  this.#Component = Devtools;
2939
2939
  }
2940
2940
  setupStyleSheet(this.#styleNonce, this.#shadowDOMTarget);
@@ -3072,7 +3072,7 @@ var TanstackQueryDevtoolsPanel = class {
3072
3072
  if (this.#Component) {
3073
3073
  Devtools = this.#Component;
3074
3074
  } else {
3075
- Devtools = lazy(() => import("./2SSKDMRQ-C8mOKoPW.js"));
3075
+ Devtools = lazy(() => import("./2SSKDMRQ-rQCpZsiI.js"));
3076
3076
  this.#Component = Devtools;
3077
3077
  }
3078
3078
  setupStyleSheet(this.#styleNonce, this.#shadowDOMTarget);
@@ -14018,13 +14018,13 @@ function PromotionDetailPage() {
14018
14018
  id: "HudsrZ"
14019
14019
  } }), render: ({
14020
14020
  field
14021
- }) => /* @__PURE__ */ jsx(NumberInput, { ...field, value: field.value ?? "", min: 0, max: 1e3 }) }),
14021
+ }) => /* @__PURE__ */ jsx(NumberInput, { ...field, value: field.value ?? "", min: 0 }) }),
14022
14022
  /* @__PURE__ */ jsx(FormFieldWrapper, { control: form.control, name: "usageLimit", label: /* @__PURE__ */ jsx(Trans, { .../*i18n*/
14023
14023
  {
14024
14024
  id: "CXvrkf"
14025
14025
  } }), render: ({
14026
14026
  field
14027
- }) => /* @__PURE__ */ jsx(NumberInput, { ...field, value: field.value ?? "", min: 0, max: 1e3 }) })
14027
+ }) => /* @__PURE__ */ jsx(NumberInput, { ...field, value: field.value ?? "", min: 0 }) })
14028
14028
  ] })
14029
14029
  ] }),
14030
14030
  /* @__PURE__ */ jsx(CustomFieldsPageBlock, { column: "main", entityType: "Promotion", control: form.control }),
@@ -7948,13 +7948,13 @@ class GraphQLError2 extends Error {
7948
7948
  }
7949
7949
  }
7950
7950
  var i$4;
7951
- var n$2;
7951
+ var n$3;
7952
7952
  function error$1(e3) {
7953
- return new GraphQLError2(`Syntax Error: Unexpected token at ${n$2} in ${e3}`);
7953
+ return new GraphQLError2(`Syntax Error: Unexpected token at ${n$3} in ${e3}`);
7954
7954
  }
7955
7955
  function advance(e3) {
7956
- if (e3.lastIndex = n$2, e3.test(i$4)) {
7957
- return i$4.slice(n$2, n$2 = e3.lastIndex);
7956
+ if (e3.lastIndex = n$3, e3.test(i$4)) {
7957
+ return i$4.slice(n$3, n$3 = e3.lastIndex);
7958
7958
  }
7959
7959
  }
7960
7960
  var t$3 = / +(?=[^\s])/y;
@@ -7981,22 +7981,22 @@ function blockString(e3) {
7981
7981
  return i2;
7982
7982
  }
7983
7983
  function ignored() {
7984
- for (var e3 = 0 | i$4.charCodeAt(n$2++); 9 === e3 || 10 === e3 || 13 === e3 || 32 === e3 || 35 === e3 || 44 === e3 || 65279 === e3; e3 = 0 | i$4.charCodeAt(n$2++)) {
7984
+ for (var e3 = 0 | i$4.charCodeAt(n$3++); 9 === e3 || 10 === e3 || 13 === e3 || 32 === e3 || 35 === e3 || 44 === e3 || 65279 === e3; e3 = 0 | i$4.charCodeAt(n$3++)) {
7985
7985
  if (35 === e3) {
7986
- for (; (e3 = 0 | i$4.charCodeAt(n$2++)) && 10 !== e3 && 13 !== e3; ) {
7986
+ for (; (e3 = 0 | i$4.charCodeAt(n$3++)) && 10 !== e3 && 13 !== e3; ) {
7987
7987
  }
7988
7988
  }
7989
7989
  }
7990
- n$2--;
7990
+ n$3--;
7991
7991
  }
7992
7992
  function name() {
7993
- var e3 = n$2;
7994
- for (var r2 = 0 | i$4.charCodeAt(n$2++); r2 >= 48 && r2 <= 57 || r2 >= 65 && r2 <= 90 || 95 === r2 || r2 >= 97 && r2 <= 122; r2 = 0 | i$4.charCodeAt(n$2++)) {
7993
+ var e3 = n$3;
7994
+ for (var r2 = 0 | i$4.charCodeAt(n$3++); r2 >= 48 && r2 <= 57 || r2 >= 65 && r2 <= 90 || 95 === r2 || r2 >= 97 && r2 <= 122; r2 = 0 | i$4.charCodeAt(n$3++)) {
7995
7995
  }
7996
- if (e3 === n$2 - 1) {
7996
+ if (e3 === n$3 - 1) {
7997
7997
  throw error$1("Name");
7998
7998
  }
7999
- var t2 = i$4.slice(e3, --n$2);
7999
+ var t2 = i$4.slice(e3, --n$3);
8000
8000
  return ignored(), t2;
8001
8001
  }
8002
8002
  function nameNode() {
@@ -8005,27 +8005,27 @@ function nameNode() {
8005
8005
  value: name()
8006
8006
  };
8007
8007
  }
8008
- var a$4 = /(?:"""|(?:[\s\S]*?[^\\])""")/y;
8008
+ var a$3 = /(?:"""|(?:[\s\S]*?[^\\])""")/y;
8009
8009
  var o$2 = /(?:(?:\.\d+)?[eE][+-]?\d+|\.\d+)/y;
8010
8010
  function value(e3) {
8011
8011
  var r2;
8012
- switch (i$4.charCodeAt(n$2)) {
8012
+ switch (i$4.charCodeAt(n$3)) {
8013
8013
  case 91:
8014
- n$2++, ignored();
8014
+ n$3++, ignored();
8015
8015
  var t2 = [];
8016
- for (; 93 !== i$4.charCodeAt(n$2); ) {
8016
+ for (; 93 !== i$4.charCodeAt(n$3); ) {
8017
8017
  t2.push(value(e3));
8018
8018
  }
8019
- return n$2++, ignored(), {
8019
+ return n$3++, ignored(), {
8020
8020
  kind: "ListValue",
8021
8021
  values: t2
8022
8022
  };
8023
8023
  case 123:
8024
- n$2++, ignored();
8024
+ n$3++, ignored();
8025
8025
  var l = [];
8026
- for (; 125 !== i$4.charCodeAt(n$2); ) {
8026
+ for (; 125 !== i$4.charCodeAt(n$3); ) {
8027
8027
  var d = nameNode();
8028
- if (58 !== i$4.charCodeAt(n$2++)) {
8028
+ if (58 !== i$4.charCodeAt(n$3++)) {
8029
8029
  throw error$1("ObjectField");
8030
8030
  }
8031
8031
  ignored(), l.push({
@@ -8034,7 +8034,7 @@ function value(e3) {
8034
8034
  value: value(e3)
8035
8035
  });
8036
8036
  }
8037
- return n$2++, ignored(), {
8037
+ return n$3++, ignored(), {
8038
8038
  kind: "ObjectValue",
8039
8039
  fields: l
8040
8040
  };
@@ -8042,13 +8042,13 @@ function value(e3) {
8042
8042
  if (e3) {
8043
8043
  throw error$1("Variable");
8044
8044
  }
8045
- return n$2++, {
8045
+ return n$3++, {
8046
8046
  kind: "Variable",
8047
8047
  name: nameNode()
8048
8048
  };
8049
8049
  case 34:
8050
- if (34 === i$4.charCodeAt(n$2 + 1) && 34 === i$4.charCodeAt(n$2 + 2)) {
8051
- if (n$2 += 3, null == (r2 = advance(a$4))) {
8050
+ if (34 === i$4.charCodeAt(n$3 + 1) && 34 === i$4.charCodeAt(n$3 + 2)) {
8051
+ if (n$3 += 3, null == (r2 = advance(a$3))) {
8052
8052
  throw error$1("StringValue");
8053
8053
  }
8054
8054
  return ignored(), {
@@ -8057,16 +8057,16 @@ function value(e3) {
8057
8057
  block: true
8058
8058
  };
8059
8059
  } else {
8060
- var u2 = n$2;
8060
+ var u2 = n$3;
8061
8061
  var s2;
8062
- n$2++;
8062
+ n$3++;
8063
8063
  var c2 = false;
8064
- for (s2 = 0 | i$4.charCodeAt(n$2++); 92 === s2 && (n$2++, c2 = true) || 10 !== s2 && 13 !== s2 && 34 !== s2 && s2; s2 = 0 | i$4.charCodeAt(n$2++)) {
8064
+ for (s2 = 0 | i$4.charCodeAt(n$3++); 92 === s2 && (n$3++, c2 = true) || 10 !== s2 && 13 !== s2 && 34 !== s2 && s2; s2 = 0 | i$4.charCodeAt(n$3++)) {
8065
8065
  }
8066
8066
  if (34 !== s2) {
8067
8067
  throw error$1("StringValue");
8068
8068
  }
8069
- return r2 = i$4.slice(u2, n$2), ignored(), {
8069
+ return r2 = i$4.slice(u2, n$3), ignored(), {
8070
8070
  kind: "StringValue",
8071
8071
  value: c2 ? JSON.parse(r2) : r2.slice(1, -1),
8072
8072
  block: false
@@ -8083,12 +8083,12 @@ function value(e3) {
8083
8083
  case 55:
8084
8084
  case 56:
8085
8085
  case 57:
8086
- var v2 = n$2++;
8086
+ var v2 = n$3++;
8087
8087
  var f2;
8088
- for (; (f2 = 0 | i$4.charCodeAt(n$2++)) >= 48 && f2 <= 57; ) {
8088
+ for (; (f2 = 0 | i$4.charCodeAt(n$3++)) >= 48 && f2 <= 57; ) {
8089
8089
  }
8090
- var m2 = i$4.slice(v2, --n$2);
8091
- if (46 === (f2 = i$4.charCodeAt(n$2)) || 69 === f2 || 101 === f2) {
8090
+ var m2 = i$4.slice(v2, --n$3);
8091
+ if (46 === (f2 = i$4.charCodeAt(n$3)) || 69 === f2 || 101 === f2) {
8092
8092
  if (null == (r2 = advance(o$2))) {
8093
8093
  throw error$1("FloatValue");
8094
8094
  }
@@ -8103,16 +8103,16 @@ function value(e3) {
8103
8103
  };
8104
8104
  }
8105
8105
  case 110:
8106
- if (117 === i$4.charCodeAt(n$2 + 1) && 108 === i$4.charCodeAt(n$2 + 2) && 108 === i$4.charCodeAt(n$2 + 3)) {
8107
- return n$2 += 4, ignored(), {
8106
+ if (117 === i$4.charCodeAt(n$3 + 1) && 108 === i$4.charCodeAt(n$3 + 2) && 108 === i$4.charCodeAt(n$3 + 3)) {
8107
+ return n$3 += 4, ignored(), {
8108
8108
  kind: "NullValue"
8109
8109
  };
8110
8110
  } else {
8111
8111
  break;
8112
8112
  }
8113
8113
  case 116:
8114
- if (114 === i$4.charCodeAt(n$2 + 1) && 117 === i$4.charCodeAt(n$2 + 2) && 101 === i$4.charCodeAt(n$2 + 3)) {
8115
- return n$2 += 4, ignored(), {
8114
+ if (114 === i$4.charCodeAt(n$3 + 1) && 117 === i$4.charCodeAt(n$3 + 2) && 101 === i$4.charCodeAt(n$3 + 3)) {
8115
+ return n$3 += 4, ignored(), {
8116
8116
  kind: "BooleanValue",
8117
8117
  value: true
8118
8118
  };
@@ -8120,8 +8120,8 @@ function value(e3) {
8120
8120
  break;
8121
8121
  }
8122
8122
  case 102:
8123
- if (97 === i$4.charCodeAt(n$2 + 1) && 108 === i$4.charCodeAt(n$2 + 2) && 115 === i$4.charCodeAt(n$2 + 3) && 101 === i$4.charCodeAt(n$2 + 4)) {
8124
- return n$2 += 5, ignored(), {
8123
+ if (97 === i$4.charCodeAt(n$3 + 1) && 108 === i$4.charCodeAt(n$3 + 2) && 115 === i$4.charCodeAt(n$3 + 3) && 101 === i$4.charCodeAt(n$3 + 4)) {
8124
+ return n$3 += 5, ignored(), {
8125
8125
  kind: "BooleanValue",
8126
8126
  value: false
8127
8127
  };
@@ -8135,12 +8135,12 @@ function value(e3) {
8135
8135
  };
8136
8136
  }
8137
8137
  function arguments_(e3) {
8138
- if (40 === i$4.charCodeAt(n$2)) {
8138
+ if (40 === i$4.charCodeAt(n$3)) {
8139
8139
  var r2 = [];
8140
- n$2++, ignored();
8140
+ n$3++, ignored();
8141
8141
  do {
8142
8142
  var t2 = nameNode();
8143
- if (58 !== i$4.charCodeAt(n$2++)) {
8143
+ if (58 !== i$4.charCodeAt(n$3++)) {
8144
8144
  throw error$1("Argument");
8145
8145
  }
8146
8146
  ignored(), r2.push({
@@ -8148,41 +8148,41 @@ function arguments_(e3) {
8148
8148
  name: t2,
8149
8149
  value: value(e3)
8150
8150
  });
8151
- } while (41 !== i$4.charCodeAt(n$2));
8152
- return n$2++, ignored(), r2;
8151
+ } while (41 !== i$4.charCodeAt(n$3));
8152
+ return n$3++, ignored(), r2;
8153
8153
  }
8154
8154
  }
8155
8155
  function directives(e3) {
8156
- if (64 === i$4.charCodeAt(n$2)) {
8156
+ if (64 === i$4.charCodeAt(n$3)) {
8157
8157
  var r2 = [];
8158
8158
  do {
8159
- n$2++, r2.push({
8159
+ n$3++, r2.push({
8160
8160
  kind: "Directive",
8161
8161
  name: nameNode(),
8162
8162
  arguments: arguments_(e3)
8163
8163
  });
8164
- } while (64 === i$4.charCodeAt(n$2));
8164
+ } while (64 === i$4.charCodeAt(n$3));
8165
8165
  return r2;
8166
8166
  }
8167
8167
  }
8168
8168
  function type() {
8169
8169
  var e3 = 0;
8170
- for (; 91 === i$4.charCodeAt(n$2); ) {
8171
- e3++, n$2++, ignored();
8170
+ for (; 91 === i$4.charCodeAt(n$3); ) {
8171
+ e3++, n$3++, ignored();
8172
8172
  }
8173
8173
  var r2 = {
8174
8174
  kind: "NamedType",
8175
8175
  name: nameNode()
8176
8176
  };
8177
8177
  do {
8178
- if (33 === i$4.charCodeAt(n$2)) {
8179
- n$2++, ignored(), r2 = {
8178
+ if (33 === i$4.charCodeAt(n$3)) {
8179
+ n$3++, ignored(), r2 = {
8180
8180
  kind: "NonNullType",
8181
8181
  type: r2
8182
8182
  };
8183
8183
  }
8184
8184
  if (e3) {
8185
- if (93 !== i$4.charCodeAt(n$2++)) {
8185
+ if (93 !== i$4.charCodeAt(n$3++)) {
8186
8186
  throw error$1("NamedType");
8187
8187
  }
8188
8188
  ignored(), r2 = {
@@ -8194,7 +8194,7 @@ function type() {
8194
8194
  return r2;
8195
8195
  }
8196
8196
  function selectionSetStart() {
8197
- if (123 !== i$4.charCodeAt(n$2++)) {
8197
+ if (123 !== i$4.charCodeAt(n$3++)) {
8198
8198
  throw error$1("SelectionSet");
8199
8199
  }
8200
8200
  return ignored(), selectionSet();
@@ -8202,11 +8202,11 @@ function selectionSetStart() {
8202
8202
  function selectionSet() {
8203
8203
  var e3 = [];
8204
8204
  do {
8205
- if (46 === i$4.charCodeAt(n$2)) {
8206
- if (46 !== i$4.charCodeAt(++n$2) || 46 !== i$4.charCodeAt(++n$2)) {
8205
+ if (46 === i$4.charCodeAt(n$3)) {
8206
+ if (46 !== i$4.charCodeAt(++n$3) || 46 !== i$4.charCodeAt(++n$3)) {
8207
8207
  throw error$1("SelectionSet");
8208
8208
  }
8209
- switch (n$2++, ignored(), i$4.charCodeAt(n$2)) {
8209
+ switch (n$3++, ignored(), i$4.charCodeAt(n$3)) {
8210
8210
  case 64:
8211
8211
  e3.push({
8212
8212
  kind: "InlineFragment",
@@ -8216,8 +8216,8 @@ function selectionSet() {
8216
8216
  });
8217
8217
  break;
8218
8218
  case 111:
8219
- if (110 === i$4.charCodeAt(n$2 + 1)) {
8220
- n$2 += 2, ignored(), e3.push({
8219
+ if (110 === i$4.charCodeAt(n$3 + 1)) {
8220
+ n$3 += 2, ignored(), e3.push({
8221
8221
  kind: "InlineFragment",
8222
8222
  typeCondition: {
8223
8223
  kind: "NamedType",
@@ -8235,7 +8235,7 @@ function selectionSet() {
8235
8235
  }
8236
8236
  break;
8237
8237
  case 123:
8238
- n$2++, ignored(), e3.push({
8238
+ n$3++, ignored(), e3.push({
8239
8239
  kind: "InlineFragment",
8240
8240
  typeCondition: void 0,
8241
8241
  directives: void 0,
@@ -8252,14 +8252,14 @@ function selectionSet() {
8252
8252
  } else {
8253
8253
  var r2 = nameNode();
8254
8254
  var t2 = void 0;
8255
- if (58 === i$4.charCodeAt(n$2)) {
8256
- n$2++, ignored(), t2 = r2, r2 = nameNode();
8255
+ if (58 === i$4.charCodeAt(n$3)) {
8256
+ n$3++, ignored(), t2 = r2, r2 = nameNode();
8257
8257
  }
8258
8258
  var a2 = arguments_(false);
8259
8259
  var o2 = directives(false);
8260
8260
  var l = void 0;
8261
- if (123 === i$4.charCodeAt(n$2)) {
8262
- n$2++, ignored(), l = selectionSet();
8261
+ if (123 === i$4.charCodeAt(n$3)) {
8262
+ n$3++, ignored(), l = selectionSet();
8263
8263
  }
8264
8264
  e3.push({
8265
8265
  kind: "Field",
@@ -8270,33 +8270,33 @@ function selectionSet() {
8270
8270
  selectionSet: l
8271
8271
  });
8272
8272
  }
8273
- } while (125 !== i$4.charCodeAt(n$2));
8274
- return n$2++, ignored(), {
8273
+ } while (125 !== i$4.charCodeAt(n$3));
8274
+ return n$3++, ignored(), {
8275
8275
  kind: "SelectionSet",
8276
8276
  selections: e3
8277
8277
  };
8278
8278
  }
8279
8279
  function variableDefinitions() {
8280
- if (ignored(), 40 === i$4.charCodeAt(n$2)) {
8280
+ if (ignored(), 40 === i$4.charCodeAt(n$3)) {
8281
8281
  var e3 = [];
8282
- n$2++, ignored();
8282
+ n$3++, ignored();
8283
8283
  do {
8284
8284
  var r2 = void 0;
8285
- if (34 === i$4.charCodeAt(n$2)) {
8285
+ if (34 === i$4.charCodeAt(n$3)) {
8286
8286
  r2 = value(true);
8287
8287
  }
8288
- if (36 !== i$4.charCodeAt(n$2++)) {
8288
+ if (36 !== i$4.charCodeAt(n$3++)) {
8289
8289
  throw error$1("Variable");
8290
8290
  }
8291
8291
  var t2 = nameNode();
8292
- if (58 !== i$4.charCodeAt(n$2++)) {
8292
+ if (58 !== i$4.charCodeAt(n$3++)) {
8293
8293
  throw error$1("VariableDefinition");
8294
8294
  }
8295
8295
  ignored();
8296
8296
  var a2 = type();
8297
8297
  var o2 = void 0;
8298
- if (61 === i$4.charCodeAt(n$2)) {
8299
- n$2++, ignored(), o2 = value(true);
8298
+ if (61 === i$4.charCodeAt(n$3)) {
8299
+ n$3++, ignored(), o2 = value(true);
8300
8300
  }
8301
8301
  ignored();
8302
8302
  var l = {
@@ -8313,13 +8313,13 @@ function variableDefinitions() {
8313
8313
  l.description = r2;
8314
8314
  }
8315
8315
  e3.push(l);
8316
- } while (41 !== i$4.charCodeAt(n$2));
8317
- return n$2++, ignored(), e3;
8316
+ } while (41 !== i$4.charCodeAt(n$3));
8317
+ return n$3++, ignored(), e3;
8318
8318
  }
8319
8319
  }
8320
8320
  function fragmentDefinition(e3) {
8321
8321
  var r2 = nameNode();
8322
- if (111 !== i$4.charCodeAt(n$2++) || 110 !== i$4.charCodeAt(n$2++)) {
8322
+ if (111 !== i$4.charCodeAt(n$3++) || 110 !== i$4.charCodeAt(n$3++)) {
8323
8323
  throw error$1("FragmentDefinition");
8324
8324
  }
8325
8325
  ignored();
@@ -8342,14 +8342,14 @@ function definitions() {
8342
8342
  var e3 = [];
8343
8343
  do {
8344
8344
  var r2 = void 0;
8345
- if (34 === i$4.charCodeAt(n$2)) {
8345
+ if (34 === i$4.charCodeAt(n$3)) {
8346
8346
  r2 = value(true);
8347
8347
  }
8348
- if (123 === i$4.charCodeAt(n$2)) {
8348
+ if (123 === i$4.charCodeAt(n$3)) {
8349
8349
  if (r2) {
8350
8350
  throw error$1("Document");
8351
8351
  }
8352
- n$2++, ignored(), e3.push({
8352
+ n$3++, ignored(), e3.push({
8353
8353
  kind: "OperationDefinition",
8354
8354
  operation: "query",
8355
8355
  name: void 0,
@@ -8368,7 +8368,7 @@ function definitions() {
8368
8368
  case "subscription":
8369
8369
  var a2;
8370
8370
  var o2 = void 0;
8371
- if (40 !== (a2 = i$4.charCodeAt(n$2)) && 64 !== a2 && 123 !== a2) {
8371
+ if (40 !== (a2 = i$4.charCodeAt(n$3)) && 64 !== a2 && 123 !== a2) {
8372
8372
  o2 = nameNode();
8373
8373
  }
8374
8374
  var l = {
@@ -8388,11 +8388,11 @@ function definitions() {
8388
8388
  throw error$1("Document");
8389
8389
  }
8390
8390
  }
8391
- } while (n$2 < i$4.length);
8391
+ } while (n$3 < i$4.length);
8392
8392
  return e3;
8393
8393
  }
8394
8394
  function parse$2(e3, r2) {
8395
- if (i$4 = e3.body ? e3.body : e3, n$2 = 0, ignored(), r2) ;
8395
+ if (i$4 = e3.body ? e3.body : e3, n$3 = 0, ignored(), r2) ;
8396
8396
  else {
8397
8397
  return {
8398
8398
  kind: "Document",
@@ -8414,46 +8414,46 @@ function parse$2(e3, r2) {
8414
8414
  };
8415
8415
  }
8416
8416
  }
8417
- var a$3 = 0;
8417
+ var n$2 = 0;
8418
8418
  var e$2 = /* @__PURE__ */ new Set();
8419
8419
  function initGraphQLTada() {
8420
8420
  function graphql2(t2, i2) {
8421
8421
  var o2 = parse$2(t2).definitions;
8422
8422
  var s2 = /* @__PURE__ */ new Set();
8423
- for (var f2 of i2 || []) {
8424
- for (var u2 of f2.definitions) {
8425
- if (u2.kind === e$3.FRAGMENT_DEFINITION && !s2.has(u2)) {
8426
- o2.push(u2);
8427
- s2.add(u2);
8423
+ for (var d of i2 || []) {
8424
+ for (var f2 of d.definitions) {
8425
+ if (f2.kind === e$3.FRAGMENT_DEFINITION && !s2.has(f2)) {
8426
+ o2.push(f2);
8427
+ s2.add(f2);
8428
8428
  }
8429
8429
  }
8430
8430
  }
8431
- var d;
8432
- if ((d = o2[0].kind === e$3.FRAGMENT_DEFINITION) && o2[0].directives) {
8431
+ var c2;
8432
+ if ((c2 = o2[0].kind === e$3.FRAGMENT_DEFINITION) && o2[0].directives) {
8433
8433
  o2[0].directives = o2[0].directives.filter(((r2) => "_unmask" !== r2.name.value));
8434
8434
  }
8435
- var c2;
8435
+ var u2;
8436
8436
  return {
8437
8437
  kind: e$3.DOCUMENT,
8438
8438
  definitions: o2,
8439
8439
  get loc() {
8440
- if (!c2 && d) {
8440
+ if (!u2 && c2) {
8441
8441
  var r2 = t2 + (function concatLocSources(r3) {
8442
8442
  try {
8443
- a$3++;
8444
- var n2 = "";
8443
+ n$2++;
8444
+ var a2 = "";
8445
8445
  for (var t3 of r3) {
8446
8446
  if (!e$2.has(t3)) {
8447
8447
  e$2.add(t3);
8448
8448
  var { loc: i3 } = t3;
8449
8449
  if (i3) {
8450
- n2 += i3.source.body;
8450
+ a2 += i3.source.body;
8451
8451
  }
8452
8452
  }
8453
8453
  }
8454
- return n2;
8454
+ return a2;
8455
8455
  } finally {
8456
- if (0 == --a$3) {
8456
+ if (0 == --n$2) {
8457
8457
  e$2.clear();
8458
8458
  }
8459
8459
  }
@@ -8471,21 +8471,21 @@ function initGraphQLTada() {
8471
8471
  }
8472
8472
  };
8473
8473
  }
8474
- return c2;
8474
+ return u2;
8475
8475
  },
8476
8476
  set loc(r2) {
8477
- c2 = r2;
8477
+ u2 = r2;
8478
8478
  }
8479
8479
  };
8480
8480
  }
8481
- graphql2.scalar = function scalar(r2, n2) {
8482
- return n2;
8481
+ graphql2.scalar = function scalar(r2, a2) {
8482
+ return a2;
8483
8483
  };
8484
- graphql2.persisted = function persisted(n2, a2) {
8484
+ graphql2.persisted = function persisted(a2, n2) {
8485
8485
  return {
8486
8486
  kind: e$3.DOCUMENT,
8487
- definitions: a2 ? a2.definitions : [],
8488
- documentId: n2
8487
+ definitions: n2 ? n2.definitions : [],
8488
+ documentId: a2
8489
8489
  };
8490
8490
  };
8491
8491
  return graphql2;
@@ -39294,7 +39294,7 @@ function useDayPickerLocale() {
39294
39294
  } = useDisplayLocale();
39295
39295
  const [calendarLocale, setCalendarLocale] = useState(void 0);
39296
39296
  useEffect(() => {
39297
- import("./locale-yJKPNZYs.js").then((mod) => {
39297
+ import("./locale-CZ2vSp8-.js").then((mod) => {
39298
39298
  setCalendarLocale(bcpTagToDatePickerLocale(bcp47Tag, mod));
39299
39299
  });
39300
39300
  }, [bcp47Tag]);
@@ -39963,7 +39963,13 @@ function ChannelProvider({
39963
39963
  } else if (channels.length > 0) {
39964
39964
  const defaultChannel = channels[0];
39965
39965
  setSelectedChannelId(defaultChannel.id);
39966
- setChannelTokenInLocalStorage(defaultChannel.token);
39966
+ const currentToken = getChannelTokenFromLocalStorage();
39967
+ if (currentToken !== defaultChannel.token) {
39968
+ setChannelTokenInLocalStorage(defaultChannel.token);
39969
+ queryClient.invalidateQueries({
39970
+ queryKey: ["activeChannel", isAuthenticated]
39971
+ });
39972
+ }
39967
39973
  }
39968
39974
  }, [selectedChannelId, channels, queryClient, isAuthenticated]);
39969
39975
  const isLoading = isActiveChannelLoading;
@@ -1,5 +1,5 @@
1
- import { c as createLucideIcon, g as getComputedStyle$1, i as isHTMLElement, r as round, a as createLucideIcon$1, b as isFieldDisabled, C as Checkbox, u as useBaseUiId, d as useIsoLayoutEffect, f as formatErrorMessage, e as useRenderElement, N as NOOP, h as useTransitionStatus, j as useStableCallback, k as useOpenChangeComplete, t as transitionStatusMapping, l as useTimeout, m as createSelector, n as compareItemEquality, o as hasNullItemLabel, s as stringifyAsLabel, p as defaultItemEquality, q as useFormContext, v as useFieldRootContext, w as useLabelableId, x as useControlled, E as EMPTY_ARRAY, y as useRefWithInit, z as isGroupedItems, S as Store, A as EMPTY_OBJECT, B as stringifyAsValue, D as useStore, F as useValueAsRef, G as useOpenInteractionType, H as useField, I as createGenericEventDetails, J as inputClear, K as inputChange, L as createChangeEventDetails, M as focusOut, O as outsidePress, P as getTarget, Q as itemPress, R as selectedValueIncludes, T as removeItem, U as none, V as findItemIndex, W as useValueChanged, X as useFloatingRootContext, Y as useClick, Z as inputPress, _ as useDismiss, $ as contains, a0 as useListNavigation, a1 as useInteractions, a2 as useOnFirstRender, a3 as useMergedRefs, a4 as visuallyHiddenInput, a5 as visuallyHidden, a6 as resolveMultipleLabels, a7 as resolveSelectedLabel, a8 as fieldValidityMapping, a9 as pressableTriggerOpenStateMapping, aa as useButton, ab as closePress, ac as useLabelableContext, ad as useDirection, ae as DEFAULT_FIELD_STATE_ATTRIBUTES, af as resolveAriaLabelledBy, ag as stopEvent, ah as isFirefox, ai as escapeKey, aj as isAndroid, ak as useTypeahead, al as listNavigation, am as ownerDocument, an as getPseudoElementBounds, ao as CompositeList, ap as FloatingPortal, aq as DROPDOWN_COLLISION_AVOIDANCE, ar as useAnchorPositioning, as as useScrollLock, at as InternalBackdrop, au as inertValue, av as getDisabledMountTransitionStyles, aw as popupStateMapping, ax as FloatingFocusManager, ay as useCompositeListItem, az as IndexGuessBehavior, aA as chipRemovePress, aB as triggerOpenStateMapping, aC as clearPress, aD as useId, aE as ContextMenuRootContext, aF as MenuRootContext, aG as MenuRoot, aH as useContextMenuRootContext, aI as useMenuRootContext, aJ as findRootOwnerId, aK as cancelOpen, aL as triggerPress, aM as MenubarContext, aN as FloatingTree, aO as CompositeRoot, aP as useFloatingNodeId, aQ as useFloatingTree, aR as useMenubarContext, aS as FloatingNode, aT as useFloatingParentNodeId, aU as linkPress, aV as activeElement, aW as triggerHover, aX as getEmptyRootContext, aY as useHoverFloatingInteraction, aZ as getNodeChildren, a_ as useAnimationFrame, a$ as useAnimationsFinished, b0 as getWindow, b1 as TransitionStatusDataAttributes, b2 as useHoverInteractionSharedState, b3 as clearSafePolygonPointerEventsMutation, b4 as useHoverReferenceInteraction, b5 as safePolygon, b6 as isWebKit, b7 as CompositeItem, b8 as FocusGuard, b9 as isOutsideEvent, ba as getPreviousTabbable, bb as ownerVisuallyHidden, bc as isTabbable, bd as getNextTabbable, be as getTabbableAfterElement, bf as applySafePolygonPointerEventsMutation, bg as PATIENT_CLICK_THRESHOLD, bh as POPUP_COLLISION_AVOIDANCE, bi as adaptiveOrigin, bj as enableFocusInside, bk as disableFocusInside, bl as clamp, bm as warn, bn as getDefaultLabelId, bo as keyboard, bp as isElement, bq as drag, br as trackPress, bs as useCSPContext, bt as useOnMount, bu as mergeProps, bv as COMPOSITE_KEYS, bw as HOME, bx as END, by as ARROW_LEFT, bz as ARROW_DOWN, bA as ARROW_RIGHT, bB as ARROW_UP, bC as useServerConfig, bD as useUserSettings, bE as useSortedLanguages, bF as Select, bG as SelectTrigger, bH as cn, bI as SelectValue, bJ as SelectContent, bK as SelectItem, bL as useSidebar, bM as SidebarGroup, bN as SidebarGroupLabel, bO as SidebarMenu, bP as SidebarMenuItem, bQ as SidebarMenuButton, bR as DropdownMenu, bS as DropdownMenuTrigger, bT as Ellipsis, bU as SidebarMenuAction, bV as DropdownMenuContent, bW as DropdownMenuItem, bX as Folder, bY as DropdownMenuSeparator, bZ as Trash2, b_ as BRAND, b$ as DIRTY, c0 as EMPTY_PATH, c1 as INVALID, c2 as NEVER, c3 as OK, c4 as ParseStatus, c5 as ZodType, c6 as ZodAny, c7 as ZodArray, c8 as ZodBigInt, c9 as ZodBoolean, ca as ZodBranded, cb as ZodCatch, cc as ZodDate, cd as ZodDefault, ce as ZodDiscriminatedUnion, cf as ZodEffects, cg as ZodEnum, ch as ZodError, ci as ZodFirstPartyTypeKind, cj as ZodFunction, ck as ZodIntersection, cl as ZodIssueCode, cm as ZodLazy, cn as ZodLiteral, co as ZodMap, cp as ZodNaN, cq as ZodNativeEnum, cr as ZodNever, cs as ZodNull, ct as ZodNullable, cu as ZodNumber, cv as ZodObject, cw as ZodOptional, cx as ZodParsedType, cy as ZodPipeline, cz as ZodPromise, cA as ZodReadonly, cB as ZodRecord, cC as ZodSet, cD as ZodString, cE as ZodSymbol, cF as ZodTuple, cG as ZodUndefined, cH as ZodUnion, cI as ZodUnknown, cJ as ZodVoid, cK as addIssueToContext, cL as anyType, cM as arrayType, cN as bigIntType, cO as booleanType, cP as coerce, cQ as custom, cR as dateType, cS as datetimeRegex, cT as errorMap, cU as discriminatedUnionType, cV as effectsType, cW as enumType, cX as functionType, cY as getErrorMap, cZ as getParsedType, c_ as instanceOfType, c$ as intersectionType, d0 as isAborted, d1 as isAsync, d2 as isDirty, d3 as isValid, d4 as late, d5 as lazyType, d6 as literalType, d7 as makeIssue, d8 as mapType, d9 as nanType, da as nativeEnumType, db as neverType, dc as nullType, dd as nullableType, de as numberType, df as objectType, dg as objectUtil, dh as oboolean, di as onumber, dj as optionalType, dk as ostring, dl as pipelineType, dm as preprocessType, dn as promiseType, dp as quotelessJson, dq as recordType, dr as setType, ds as setErrorMap, dt as strictObjectType, du as stringType, dv as symbolType, dw as tupleType, dx as undefinedType, dy as unionType, dz as unknownType, dA as util, dB as voidType, dC as MotionConfigContext, dD as isHTMLElement$1, dE as useConstant, dF as PresenceContext, dG as usePresence, dH as useIsomorphicLayoutEffect$1, dI as LayoutGroupContext, dJ as frame, dK as animateVisualElement, dL as setTarget, dM as invariant, dN as resolveElements, dO as Input, dP as Button, dQ as Plus, dR as Badge, dS as X, dT as cn$1, dU as cva, dV as Separator, dW as useRender, dX as Button$1, dY as ChevronLeft, dZ as ChevronRight, d_ as throttle, d$ as warn$1, e0 as isPercent, e1 as getDisplayName, e2 as clsx, e3 as Tooltip, e4 as Legend, e5 as X$1, e6 as InputGroup, e7 as InputGroupInput, e8 as InputGroupAddon, e9 as InputGroupButton, ea as Check, eb as Separator$1, ec as ChevronDown, ed as MenuCheckboxItem, ee as MenuCheckboxItemIndicator, ef as MenuPortal, eg as MenuPositioner, eh as MenuPopup, ei as MenuGroup, ej as MenuItem, ek as MenuGroupLabel, el as MenuRadioGroup, em as MenuRadioItem, en as MenuRadioItemIndicator, eo as MenuSubmenuRoot, ep as MenuSubmenuTrigger, eq as Close, er as Description, es as Title, et as Trigger, eu as Root$1, ev as Content$1, ew as Overlay$1, ex as Portal$1, ey as DropdownMenuContent$1, ez as DropdownMenuGroup, eA as DropdownMenuLabel, eB as DropdownMenuPortal, eC as DropdownMenuRadioGroup, eD as DropdownMenuShortcut, eE as DropdownMenuSub, eF as DropdownMenuSubContent, eG as DropdownMenuSubTrigger, eH as NEW_ENTITY_PATH, eI as getEntityName, eJ as useDetailPage, eK as getOperationVariablesFields, eL as Page, eM as PageTitle, eN as PageActionBar, eO as PageActionBarRight, eP as PageLayout, eQ as PageBlock, eR as DetailFormGrid, eS as FormFieldWrapper, eT as TranslatableFormFieldWrapper, eU as CustomFieldsPageBlock, eV as DefaultInputForType } from "./chunks/use-job-queue-polling-D72qcrwX.js";
2
- import { nk, hP, hQ, hR, hS, me, mf, fz, fx, f0, i3, i6, i4, hU, hV, hW, hX, hY, hZ, h_, h$, i0, i1, hT, i2, kj, i5, gw, kk, gy, gx, gk, gl, gA, gB, gD, gE, gH, gF, gG, gI, gJ, gK, gM, gN, fV, eX, eW, f1, i8, i9, ia, ib, ic, id, ie, nl, ih, ii, ij, ik, il, im, io, ip, iq, gO, gP, gQ, gm, ir, it, is, fy, f2, iu, iv, iw, ix, iy, iz, iA, iB, iC, gR, gS, f3, gU, gV, gW, gX, gY, hM, nm, gZ, f4, g_, lu, l5, g$, hD, h0, f5, h1, h2, fX, nn, kq, fU, fW, fA, fB, fC, fD, f_, fG, fI, fH, fJ, g0, g2, fK, fE, g4, fT, gi, eY, f7, f8, h3, mg, gn, gu, iE, iF, iG, iH, iI, iJ, iK, iL, iD, iM, iN, ko, iO, iP, h4, h5, h6, fF, f9, h7, iQ, iR, iS, iT, iU, iV, iW, iX, iY, iZ, i_, lv, mp, go, g5, g6, i$, md, h8, h9, ha, hb, hc, he, hd, j0, j1, j2, g7, f$, hg, ht, j3, j4, e_, eZ, no, np, nq, nr, ns, j5, gj, gp, hh, hu, mx, ml, hq, gv, hi, g8, gq, hp, kt, e$, fa, fi, hj, g9, g1, gr, gs, gt, hk, fb, hF, hE, lC, mo, mm, mn, mr, hl, hn, hm, j6, j7, j8, j9, ja, jb, jc, fc, jd, ho, hK, je, jf, jg, jh, ji, jj, fg, ff, hr, jk, jl, ga, fo, fm, hs, hN, hv, hG, hw, fq, hz, hA, g3, nt, gb, gc, jm, jn, jo, jp, jq, jr, js, fr, hB, jt, ju, jv, jw, jx, jy, jz, jA, jB, jC, jD, jE, jF, jG, jH, jI, jJ, jK, jL, jM, jN, jO, jP, jQ, jR, fh, jS, fs, jU, hC, ft, fu, jV, jW, jX, jY, jZ, hx, hy, j_, j$, k0, k1, k2, k3, k4, k5, hH, fv, k7, fw, hL, jT, ka, k8, k9, kc, kd, ke, kf, hI, gg, hJ, gh, kp, kz, kA, hO, kC, lf, kP, kO, lt, lb, le, kE, mu, mv, kG, mF, gz, ly, mI, i7, fZ, ig, fR, fS, nz, kM, fl, mK, mL, mJ, lG, gC, lw, fp, fk, l8, mw, mG, mM, l7, kI, kJ, my, lZ, nA, la, ld, ki, kh, kB, fL, kN, mc, mi, l1, mk, ky, kx, lz, lx, ls, mA, l9, mH, k_, n2, kR, lB, lc, fO, fP, kD, kQ, kV, ms, kU, kW, kS, kT, mR, fN, mE, kX, ma, kF, lA, mC, kK, mN, m7, m4, l0, gT, lQ, m0, fQ, lK, lJ, lT, m1, kZ, m6, lS, l$, lR, l_, m2, lN, lP, m5, mq, m3, lU, kY, lL, lM, lX, lY, lV, lW, lO, m9, kr, ks, nu, fd, fe, nv, m8, gd, nB, l6, ku, kv, fY, fM, fj, mO, kg, lg, mh, l2, l3, mj, kw, lh, kH, li, lj, lk, ll, lm, ln, mz, lo, mD, lp, lF, nC, l4, kl, mQ, mP, km, kL, mt, mS, lH, lI, k6, kb, lE, mb, mU, mT, ge, mV, mW, kn, mX, lq, mY, f6, mZ, m_, m$, n0, n1, mB, n3, n4, gf, lD, n5, hf, n8, ne, n6, k$, n7, lr, nw, na, n9, nb, nc, gL, fn, ng, nd, nx, nf, ny, nh, ni, nj, nD } from "./chunks/use-job-queue-polling-D72qcrwX.js";
1
+ import { c as createLucideIcon, g as getComputedStyle$1, i as isHTMLElement, r as round, a as createLucideIcon$1, b as isFieldDisabled, C as Checkbox, u as useBaseUiId, d as useIsoLayoutEffect, f as formatErrorMessage, e as useRenderElement, N as NOOP, h as useTransitionStatus, j as useStableCallback, k as useOpenChangeComplete, t as transitionStatusMapping, l as useTimeout, m as createSelector, n as compareItemEquality, o as hasNullItemLabel, s as stringifyAsLabel, p as defaultItemEquality, q as useFormContext, v as useFieldRootContext, w as useLabelableId, x as useControlled, E as EMPTY_ARRAY, y as useRefWithInit, z as isGroupedItems, S as Store, A as EMPTY_OBJECT, B as stringifyAsValue, D as useStore, F as useValueAsRef, G as useOpenInteractionType, H as useField, I as createGenericEventDetails, J as inputClear, K as inputChange, L as createChangeEventDetails, M as focusOut, O as outsidePress, P as getTarget, Q as itemPress, R as selectedValueIncludes, T as removeItem, U as none, V as findItemIndex, W as useValueChanged, X as useFloatingRootContext, Y as useClick, Z as inputPress, _ as useDismiss, $ as contains, a0 as useListNavigation, a1 as useInteractions, a2 as useOnFirstRender, a3 as useMergedRefs, a4 as visuallyHiddenInput, a5 as visuallyHidden, a6 as resolveMultipleLabels, a7 as resolveSelectedLabel, a8 as fieldValidityMapping, a9 as pressableTriggerOpenStateMapping, aa as useButton, ab as closePress, ac as useLabelableContext, ad as useDirection, ae as DEFAULT_FIELD_STATE_ATTRIBUTES, af as resolveAriaLabelledBy, ag as stopEvent, ah as isFirefox, ai as escapeKey, aj as isAndroid, ak as useTypeahead, al as listNavigation, am as ownerDocument, an as getPseudoElementBounds, ao as CompositeList, ap as FloatingPortal, aq as DROPDOWN_COLLISION_AVOIDANCE, ar as useAnchorPositioning, as as useScrollLock, at as InternalBackdrop, au as inertValue, av as getDisabledMountTransitionStyles, aw as popupStateMapping, ax as FloatingFocusManager, ay as useCompositeListItem, az as IndexGuessBehavior, aA as chipRemovePress, aB as triggerOpenStateMapping, aC as clearPress, aD as useId, aE as ContextMenuRootContext, aF as MenuRootContext, aG as MenuRoot, aH as useContextMenuRootContext, aI as useMenuRootContext, aJ as findRootOwnerId, aK as cancelOpen, aL as triggerPress, aM as MenubarContext, aN as FloatingTree, aO as CompositeRoot, aP as useFloatingNodeId, aQ as useFloatingTree, aR as useMenubarContext, aS as FloatingNode, aT as useFloatingParentNodeId, aU as linkPress, aV as activeElement, aW as triggerHover, aX as getEmptyRootContext, aY as useHoverFloatingInteraction, aZ as getNodeChildren, a_ as useAnimationFrame, a$ as useAnimationsFinished, b0 as getWindow, b1 as TransitionStatusDataAttributes, b2 as useHoverInteractionSharedState, b3 as clearSafePolygonPointerEventsMutation, b4 as useHoverReferenceInteraction, b5 as safePolygon, b6 as isWebKit, b7 as CompositeItem, b8 as FocusGuard, b9 as isOutsideEvent, ba as getPreviousTabbable, bb as ownerVisuallyHidden, bc as isTabbable, bd as getNextTabbable, be as getTabbableAfterElement, bf as applySafePolygonPointerEventsMutation, bg as PATIENT_CLICK_THRESHOLD, bh as POPUP_COLLISION_AVOIDANCE, bi as adaptiveOrigin, bj as enableFocusInside, bk as disableFocusInside, bl as clamp, bm as warn, bn as getDefaultLabelId, bo as keyboard, bp as isElement, bq as drag, br as trackPress, bs as useCSPContext, bt as useOnMount, bu as mergeProps, bv as COMPOSITE_KEYS, bw as HOME, bx as END, by as ARROW_LEFT, bz as ARROW_DOWN, bA as ARROW_RIGHT, bB as ARROW_UP, bC as useServerConfig, bD as useUserSettings, bE as useSortedLanguages, bF as Select, bG as SelectTrigger, bH as cn, bI as SelectValue, bJ as SelectContent, bK as SelectItem, bL as useSidebar, bM as SidebarGroup, bN as SidebarGroupLabel, bO as SidebarMenu, bP as SidebarMenuItem, bQ as SidebarMenuButton, bR as DropdownMenu, bS as DropdownMenuTrigger, bT as Ellipsis, bU as SidebarMenuAction, bV as DropdownMenuContent, bW as DropdownMenuItem, bX as Folder, bY as DropdownMenuSeparator, bZ as Trash2, b_ as BRAND, b$ as DIRTY, c0 as EMPTY_PATH, c1 as INVALID, c2 as NEVER, c3 as OK, c4 as ParseStatus, c5 as ZodType, c6 as ZodAny, c7 as ZodArray, c8 as ZodBigInt, c9 as ZodBoolean, ca as ZodBranded, cb as ZodCatch, cc as ZodDate, cd as ZodDefault, ce as ZodDiscriminatedUnion, cf as ZodEffects, cg as ZodEnum, ch as ZodError, ci as ZodFirstPartyTypeKind, cj as ZodFunction, ck as ZodIntersection, cl as ZodIssueCode, cm as ZodLazy, cn as ZodLiteral, co as ZodMap, cp as ZodNaN, cq as ZodNativeEnum, cr as ZodNever, cs as ZodNull, ct as ZodNullable, cu as ZodNumber, cv as ZodObject, cw as ZodOptional, cx as ZodParsedType, cy as ZodPipeline, cz as ZodPromise, cA as ZodReadonly, cB as ZodRecord, cC as ZodSet, cD as ZodString, cE as ZodSymbol, cF as ZodTuple, cG as ZodUndefined, cH as ZodUnion, cI as ZodUnknown, cJ as ZodVoid, cK as addIssueToContext, cL as anyType, cM as arrayType, cN as bigIntType, cO as booleanType, cP as coerce, cQ as custom, cR as dateType, cS as datetimeRegex, cT as errorMap, cU as discriminatedUnionType, cV as effectsType, cW as enumType, cX as functionType, cY as getErrorMap, cZ as getParsedType, c_ as instanceOfType, c$ as intersectionType, d0 as isAborted, d1 as isAsync, d2 as isDirty, d3 as isValid, d4 as late, d5 as lazyType, d6 as literalType, d7 as makeIssue, d8 as mapType, d9 as nanType, da as nativeEnumType, db as neverType, dc as nullType, dd as nullableType, de as numberType, df as objectType, dg as objectUtil, dh as oboolean, di as onumber, dj as optionalType, dk as ostring, dl as pipelineType, dm as preprocessType, dn as promiseType, dp as quotelessJson, dq as recordType, dr as setType, ds as setErrorMap, dt as strictObjectType, du as stringType, dv as symbolType, dw as tupleType, dx as undefinedType, dy as unionType, dz as unknownType, dA as util, dB as voidType, dC as MotionConfigContext, dD as isHTMLElement$1, dE as useConstant, dF as PresenceContext, dG as usePresence, dH as useIsomorphicLayoutEffect$1, dI as LayoutGroupContext, dJ as frame, dK as animateVisualElement, dL as setTarget, dM as invariant, dN as resolveElements, dO as Input, dP as Button, dQ as Plus, dR as Badge, dS as X, dT as cn$1, dU as cva, dV as Separator, dW as useRender, dX as Button$1, dY as ChevronLeft, dZ as ChevronRight, d_ as throttle, d$ as warn$1, e0 as isPercent, e1 as getDisplayName, e2 as clsx, e3 as Tooltip, e4 as Legend, e5 as X$1, e6 as InputGroup, e7 as InputGroupInput, e8 as InputGroupAddon, e9 as InputGroupButton, ea as Check, eb as Separator$1, ec as ChevronDown, ed as MenuCheckboxItem, ee as MenuCheckboxItemIndicator, ef as MenuPortal, eg as MenuPositioner, eh as MenuPopup, ei as MenuGroup, ej as MenuItem, ek as MenuGroupLabel, el as MenuRadioGroup, em as MenuRadioItem, en as MenuRadioItemIndicator, eo as MenuSubmenuRoot, ep as MenuSubmenuTrigger, eq as Close, er as Description, es as Title, et as Trigger, eu as Root$1, ev as Content$1, ew as Overlay$1, ex as Portal$1, ey as DropdownMenuContent$1, ez as DropdownMenuGroup, eA as DropdownMenuLabel, eB as DropdownMenuPortal, eC as DropdownMenuRadioGroup, eD as DropdownMenuShortcut, eE as DropdownMenuSub, eF as DropdownMenuSubContent, eG as DropdownMenuSubTrigger, eH as NEW_ENTITY_PATH, eI as getEntityName, eJ as useDetailPage, eK as getOperationVariablesFields, eL as Page, eM as PageTitle, eN as PageActionBar, eO as PageActionBarRight, eP as PageLayout, eQ as PageBlock, eR as DetailFormGrid, eS as FormFieldWrapper, eT as TranslatableFormFieldWrapper, eU as CustomFieldsPageBlock, eV as DefaultInputForType } from "./chunks/use-job-queue-polling-BrMR-IHJ.js";
2
+ import { nk, hP, hQ, hR, hS, me, mf, fz, fx, f0, i3, i6, i4, hU, hV, hW, hX, hY, hZ, h_, h$, i0, i1, hT, i2, kj, i5, gw, kk, gy, gx, gk, gl, gA, gB, gD, gE, gH, gF, gG, gI, gJ, gK, gM, gN, fV, eX, eW, f1, i8, i9, ia, ib, ic, id, ie, nl, ih, ii, ij, ik, il, im, io, ip, iq, gO, gP, gQ, gm, ir, it, is, fy, f2, iu, iv, iw, ix, iy, iz, iA, iB, iC, gR, gS, f3, gU, gV, gW, gX, gY, hM, nm, gZ, f4, g_, lu, l5, g$, hD, h0, f5, h1, h2, fX, nn, kq, fU, fW, fA, fB, fC, fD, f_, fG, fI, fH, fJ, g0, g2, fK, fE, g4, fT, gi, eY, f7, f8, h3, mg, gn, gu, iE, iF, iG, iH, iI, iJ, iK, iL, iD, iM, iN, ko, iO, iP, h4, h5, h6, fF, f9, h7, iQ, iR, iS, iT, iU, iV, iW, iX, iY, iZ, i_, lv, mp, go, g5, g6, i$, md, h8, h9, ha, hb, hc, he, hd, j0, j1, j2, g7, f$, hg, ht, j3, j4, e_, eZ, no, np, nq, nr, ns, j5, gj, gp, hh, hu, mx, ml, hq, gv, hi, g8, gq, hp, kt, e$, fa, fi, hj, g9, g1, gr, gs, gt, hk, fb, hF, hE, lC, mo, mm, mn, mr, hl, hn, hm, j6, j7, j8, j9, ja, jb, jc, fc, jd, ho, hK, je, jf, jg, jh, ji, jj, fg, ff, hr, jk, jl, ga, fo, fm, hs, hN, hv, hG, hw, fq, hz, hA, g3, nt, gb, gc, jm, jn, jo, jp, jq, jr, js, fr, hB, jt, ju, jv, jw, jx, jy, jz, jA, jB, jC, jD, jE, jF, jG, jH, jI, jJ, jK, jL, jM, jN, jO, jP, jQ, jR, fh, jS, fs, jU, hC, ft, fu, jV, jW, jX, jY, jZ, hx, hy, j_, j$, k0, k1, k2, k3, k4, k5, hH, fv, k7, fw, hL, jT, ka, k8, k9, kc, kd, ke, kf, hI, gg, hJ, gh, kp, kz, kA, hO, kC, lf, kP, kO, lt, lb, le, kE, mu, mv, kG, mF, gz, ly, mI, i7, fZ, ig, fR, fS, nz, kM, fl, mK, mL, mJ, lG, gC, lw, fp, fk, l8, mw, mG, mM, l7, kI, kJ, my, lZ, nA, la, ld, ki, kh, kB, fL, kN, mc, mi, l1, mk, ky, kx, lz, lx, ls, mA, l9, mH, k_, n2, kR, lB, lc, fO, fP, kD, kQ, kV, ms, kU, kW, kS, kT, mR, fN, mE, kX, ma, kF, lA, mC, kK, mN, m7, m4, l0, gT, lQ, m0, fQ, lK, lJ, lT, m1, kZ, m6, lS, l$, lR, l_, m2, lN, lP, m5, mq, m3, lU, kY, lL, lM, lX, lY, lV, lW, lO, m9, kr, ks, nu, fd, fe, nv, m8, gd, nB, l6, ku, kv, fY, fM, fj, mO, kg, lg, mh, l2, l3, mj, kw, lh, kH, li, lj, lk, ll, lm, ln, mz, lo, mD, lp, lF, nC, l4, kl, mQ, mP, km, kL, mt, mS, lH, lI, k6, kb, lE, mb, mU, mT, ge, mV, mW, kn, mX, lq, mY, f6, mZ, m_, m$, n0, n1, mB, n3, n4, gf, lD, n5, hf, n8, ne, n6, k$, n7, lr, nw, na, n9, nb, nc, gL, fn, ng, nd, nx, nf, ny, nh, ni, nj, nD } from "./chunks/use-job-queue-polling-BrMR-IHJ.js";
3
3
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
4
4
  import * as React from "react";
5
5
  import React__default, { useId as useId$1, useRef, useContext, useInsertionEffect, useMemo, Children, isValidElement, useState, createContext, useCallback, useEffect, forwardRef, useImperativeHandle, cloneElement, useLayoutEffect, useSyncExternalStore } from "react";
@@ -1,7 +1,7 @@
1
1
  import "react/jsx-runtime";
2
- import "./chunks/use-job-queue-polling-D72qcrwX.js";
2
+ import "./chunks/use-job-queue-polling-BrMR-IHJ.js";
3
3
  import "sonner";
4
- import "./chunks/main-Cd1_UkGH.js";
4
+ import "./chunks/main-9UGYMBwq.js";
5
5
  import "@tanstack/react-router";
6
6
  import "react";
7
7
  import "react-dom";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vendure/dashboard",
3
3
  "private": false,
4
- "version": "3.7.3-master-202609010213",
4
+ "version": "3.7.3",
5
5
  "type": "module",
6
6
  "repository": {
7
7
  "type": "git",
@@ -140,14 +140,14 @@
140
140
  "@storybook/addon-vitest": "^10.3.1",
141
141
  "@storybook/react-vite": "^10.3.1",
142
142
  "@types/node": "^22.19.0",
143
- "@vendure/common": "^3.7.3-master-202609010213",
144
- "@vendure/core": "^3.7.3-master-202609010213",
143
+ "@vendure/common": "3.7.3",
144
+ "@vendure/core": "3.7.3",
145
145
  "@vitest/browser": "^3.2.4",
146
146
  "@vitest/coverage-v8": "^3.2.4",
147
147
  "eslint": "^9.39.0",
148
148
  "eslint-plugin-react": "^7.37.4",
149
149
  "eslint-plugin-react-hooks": "^5.0.0",
150
- "eslint-plugin-react-refresh": "^0.4.18",
150
+ "eslint-plugin-react-refresh": "^0.5.4",
151
151
  "eslint-plugin-storybook": "^10.3.1",
152
152
  "globals": "^15.14.0",
153
153
  "playwright": "^1.55.1",
@@ -211,7 +211,7 @@ function PromotionDetailPage() {
211
211
  name="perCustomerUsageLimit"
212
212
  label={<Trans>Per customer usage limit</Trans>}
213
213
  render={({ field }) => (
214
- <NumberInput {...field} value={field.value ?? ''} min={0} max={1000} />
214
+ <NumberInput {...field} value={field.value ?? ''} min={0} />
215
215
  )}
216
216
  />
217
217
  <FormFieldWrapper
@@ -219,7 +219,7 @@ function PromotionDetailPage() {
219
219
  name="usageLimit"
220
220
  label={<Trans>Usage limit</Trans>}
221
221
  render={({ field }) => (
222
- <NumberInput {...field} value={field.value ?? ''} min={0} max={1000} />
222
+ <NumberInput {...field} value={field.value ?? ''} min={0} />
223
223
  )}
224
224
  />
225
225
  </DetailFormGrid>
@@ -222,7 +222,19 @@ export function ChannelProvider({ children }: Readonly<{ children: React.ReactNo
222
222
  // If no selected channel is set, use the first available channel
223
223
  const defaultChannel = channels[0];
224
224
  setSelectedChannelId(defaultChannel.id);
225
- setChannelTokenInLocalStorage(defaultChannel.token);
225
+ const currentToken = getChannelTokenFromLocalStorage();
226
+ if (currentToken !== defaultChannel.token) {
227
+ setChannelTokenInLocalStorage(defaultChannel.token);
228
+ // The active channel query may have been refetched (e.g. by
229
+ // refreshChannels() after deleting the current channel) while
230
+ // localStorage still held the now-deleted channel's token, and
231
+ // it is not retried (retry: false). Invalidate it now that the
232
+ // token points at a valid channel so the active channel
233
+ // recovers without requiring a full page reload.
234
+ queryClient.invalidateQueries({
235
+ queryKey: ['activeChannel', isAuthenticated],
236
+ });
237
+ }
226
238
  }
227
239
  }, [selectedChannelId, channels, queryClient, isAuthenticated]);
228
240