@enya-learning/nova 0.4.0 → 0.4.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 (148) hide show
  1. package/dist/chunks/{button-npy7isi3nsvlhf86.js → button-kvgr8g13fe959ju0.js} +19 -19
  2. package/dist/chunks/{button-npy7isi3nsvlhf86.js.map → button-kvgr8g13fe959ju0.js.map} +1 -1
  3. package/dist/chunks/vendor-utils-egkaeebaqpft6cxj.js +473 -0
  4. package/dist/chunks/vendor-utils-egkaeebaqpft6cxj.js.map +1 -0
  5. package/dist/components/button.js +1 -1
  6. package/dist/components/enya-logo.js +1 -1
  7. package/dist/index.js +6782 -7036
  8. package/dist/index.js.map +1 -1
  9. package/package.json +26 -11
  10. package/changelog.md +0 -44
  11. package/components.json +0 -23
  12. package/dist/chunks/vendor-base-ui-efqwzv4oinwg1f0d.js +0 -16049
  13. package/dist/chunks/vendor-base-ui-efqwzv4oinwg1f0d.js.map +0 -1
  14. package/eslint.config.js +0 -30
  15. package/plopfile.mjs +0 -49
  16. package/src/components/.gitkeep +0 -0
  17. package/src/components/accordion/accordion.mdx +0 -83
  18. package/src/components/accordion/accordion.tsx +0 -81
  19. package/src/components/accordion/index.ts +0 -1
  20. package/src/components/alert/alert.tsx +0 -76
  21. package/src/components/alert/index.ts +0 -1
  22. package/src/components/alert-dialog/alert-dialog.tsx +0 -187
  23. package/src/components/alert-dialog/index.ts +0 -1
  24. package/src/components/aspect-ratio/aspect-ratio.tsx +0 -22
  25. package/src/components/aspect-ratio/index.ts +0 -1
  26. package/src/components/avatar/avatar.tsx +0 -107
  27. package/src/components/avatar/index.ts +0 -1
  28. package/src/components/badge/badge.tsx +0 -52
  29. package/src/components/badge/index.ts +0 -1
  30. package/src/components/breadcrumb/breadcrumb.tsx +0 -122
  31. package/src/components/breadcrumb/index.ts +0 -1
  32. package/src/components/button/button.mdx +0 -255
  33. package/src/components/button/button.tsx +0 -59
  34. package/src/components/button/index.ts +0 -1
  35. package/src/components/button-group/button-group.tsx +0 -87
  36. package/src/components/button-group/index.ts +0 -1
  37. package/src/components/calendar/calendar.tsx +0 -228
  38. package/src/components/calendar/index.ts +0 -1
  39. package/src/components/card/card.tsx +0 -100
  40. package/src/components/card/index.ts +0 -1
  41. package/src/components/carousel/carousel.tsx +0 -243
  42. package/src/components/carousel/index.ts +0 -1
  43. package/src/components/chart/chart.tsx +0 -371
  44. package/src/components/chart/index.ts +0 -1
  45. package/src/components/checkbox/checkbox.tsx +0 -28
  46. package/src/components/checkbox/index.ts +0 -1
  47. package/src/components/collapsible/collapsible.tsx +0 -19
  48. package/src/components/collapsible/index.ts +0 -1
  49. package/src/components/combobox/combobox.tsx +0 -298
  50. package/src/components/combobox/index.ts +0 -1
  51. package/src/components/command/command.tsx +0 -193
  52. package/src/components/command/index.ts +0 -1
  53. package/src/components/context-menu/context-menu.tsx +0 -272
  54. package/src/components/context-menu/index.ts +0 -1
  55. package/src/components/dialog/dialog.tsx +0 -157
  56. package/src/components/dialog/index.ts +0 -1
  57. package/src/components/direction/direction.tsx +0 -4
  58. package/src/components/direction/index.ts +0 -1
  59. package/src/components/drawer/drawer.tsx +0 -134
  60. package/src/components/drawer/index.ts +0 -1
  61. package/src/components/dropdown-menu/dropdown-menu.tsx +0 -270
  62. package/src/components/dropdown-menu/index.ts +0 -1
  63. package/src/components/empty/empty.tsx +0 -104
  64. package/src/components/empty/index.ts +0 -1
  65. package/src/components/enya-logo/enya-logo.mdx +0 -174
  66. package/src/components/enya-logo/enya-logo.tsx +0 -383
  67. package/src/components/enya-logo/index.ts +0 -1
  68. package/src/components/field/field.tsx +0 -236
  69. package/src/components/field/index.ts +0 -1
  70. package/src/components/hover-card/hover-card.tsx +0 -51
  71. package/src/components/hover-card/index.ts +0 -1
  72. package/src/components/input/index.ts +0 -1
  73. package/src/components/input/input.tsx +0 -20
  74. package/src/components/input-group/index.ts +0 -1
  75. package/src/components/input-group/input-group.tsx +0 -157
  76. package/src/components/input-otp/index.ts +0 -1
  77. package/src/components/input-otp/input-otp.tsx +0 -84
  78. package/src/components/item/index.ts +0 -1
  79. package/src/components/item/item.tsx +0 -201
  80. package/src/components/kbd/index.ts +0 -1
  81. package/src/components/kbd/kbd.tsx +0 -26
  82. package/src/components/label/index.ts +0 -1
  83. package/src/components/label/label.tsx +0 -20
  84. package/src/components/menubar/index.ts +0 -1
  85. package/src/components/menubar/menubar.tsx +0 -281
  86. package/src/components/native-select/index.ts +0 -1
  87. package/src/components/native-select/native-select.tsx +0 -65
  88. package/src/components/navigation-menu/index.ts +0 -1
  89. package/src/components/navigation-menu/navigation-menu.tsx +0 -171
  90. package/src/components/pagination/index.ts +0 -1
  91. package/src/components/pagination/pagination.tsx +0 -133
  92. package/src/components/popover/index.ts +0 -1
  93. package/src/components/popover/popover.tsx +0 -88
  94. package/src/components/progress/index.ts +0 -1
  95. package/src/components/progress/progress.tsx +0 -83
  96. package/src/components/radio-group/index.ts +0 -1
  97. package/src/components/radio-group/radio-group.tsx +0 -36
  98. package/src/components/resizable/index.ts +0 -1
  99. package/src/components/resizable/resizable.tsx +0 -50
  100. package/src/components/scroll-area/index.ts +0 -1
  101. package/src/components/scroll-area/scroll-area.tsx +0 -53
  102. package/src/components/select/index.ts +0 -1
  103. package/src/components/select/select.tsx +0 -205
  104. package/src/components/separator/index.ts +0 -1
  105. package/src/components/separator/separator.tsx +0 -23
  106. package/src/components/sheet/index.ts +0 -1
  107. package/src/components/sheet/sheet.tsx +0 -137
  108. package/src/components/sidebar/index.ts +0 -1
  109. package/src/components/sidebar/sidebar.tsx +0 -722
  110. package/src/components/skeleton/index.ts +0 -1
  111. package/src/components/skeleton/skeleton.tsx +0 -13
  112. package/src/components/slider/index.ts +0 -1
  113. package/src/components/slider/slider.tsx +0 -52
  114. package/src/components/sonner/index.ts +0 -1
  115. package/src/components/sonner/sonner.tsx +0 -45
  116. package/src/components/spinner/index.ts +0 -1
  117. package/src/components/spinner/spinner.tsx +0 -15
  118. package/src/components/switch/index.ts +0 -1
  119. package/src/components/switch/switch.tsx +0 -30
  120. package/src/components/table/index.ts +0 -1
  121. package/src/components/table/table.tsx +0 -116
  122. package/src/components/tabs/index.ts +0 -1
  123. package/src/components/tabs/tabs.tsx +0 -80
  124. package/src/components/textarea/index.ts +0 -1
  125. package/src/components/textarea/textarea.tsx +0 -18
  126. package/src/components/toggle/index.ts +0 -1
  127. package/src/components/toggle/toggle.tsx +0 -45
  128. package/src/components/toggle-group/index.ts +0 -1
  129. package/src/components/toggle-group/toggle-group.tsx +0 -87
  130. package/src/components/tooltip/index.ts +0 -1
  131. package/src/components/tooltip/tooltip.tsx +0 -64
  132. package/src/hooks/use-mobile.ts +0 -21
  133. package/src/index.ts +0 -58
  134. package/src/lib/.gitkeep +0 -0
  135. package/src/lib/utils.ts +0 -6
  136. package/src/styles/nova-binding.css +0 -290
  137. package/src/styles/nova.css +0 -58
  138. package/src/styles/theme-nova.css +0 -201
  139. package/src/styles/typography.css +0 -215
  140. package/src/utils/index.ts +0 -1
  141. package/templates/component/component.tsx.hbs +0 -16
  142. package/templates/component/index.ts.hbs +0 -1
  143. package/templates/component/stories.tsx.hbs +0 -13
  144. package/tsconfig.json +0 -18
  145. package/tsconfig.lint.json +0 -14
  146. package/vite.config.ts +0 -101
  147. /package/{Readme.md → README.md} +0 -0
  148. /package/{src → dist}/styles/globals.css +0 -0
@@ -1,21 +1,21 @@
1
1
  "use client";
2
- import { pn as m } from "./vendor-base-ui-efqwzv4oinwg1f0d.js";
3
- import { n as p } from "./vendor-styling-eeiy57tyznmxsfky.js";
4
- import { t as y } from "./utils-kyb5nny4y41y7hd8.js";
5
- import { jsx as k } from "react/jsx-runtime";
6
- var g = (i) => typeof i == "boolean" ? `${i}` : i === 0 ? "0" : i, b = p, z = (i, t) => (e) => {
2
+ import { n as m } from "./vendor-styling-eeiy57tyznmxsfky.js";
3
+ import { t as p } from "./utils-kyb5nny4y41y7hd8.js";
4
+ import { jsx as y } from "react/jsx-runtime";
5
+ import { Button as k } from "@base-ui/react/button";
6
+ var g = (n) => typeof n == "boolean" ? `${n}` : n === 0 ? "0" : n, b = m, z = (n, t) => (e) => {
7
7
  var s;
8
- if (t?.variants == null) return b(i, e?.class, e?.className);
9
- const { variants: u, defaultVariants: d } = t, x = Object.keys(u).map((n) => {
10
- const a = e?.[n], o = d?.[n];
8
+ if (t?.variants == null) return b(n, e?.class, e?.className);
9
+ const { variants: u, defaultVariants: d } = t, x = Object.keys(u).map((i) => {
10
+ const a = e?.[i], o = d?.[i];
11
11
  if (a === null) return null;
12
12
  const r = g(a) || g(o);
13
- return u[n][r];
14
- }), c = e && Object.entries(e).reduce((n, a) => {
13
+ return u[i][r];
14
+ }), c = e && Object.entries(e).reduce((i, a) => {
15
15
  let [o, r] = a;
16
- return r === void 0 || (n[o] = r), n;
16
+ return r === void 0 || (i[o] = r), i;
17
17
  }, {});
18
- return b(i, x, t == null || (s = t.compoundVariants) === null || s === void 0 ? void 0 : s.reduce((n, a) => {
18
+ return b(n, x, t == null || (s = t.compoundVariants) === null || s === void 0 ? void 0 : s.reduce((i, a) => {
19
19
  let { class: o, className: r, ...f } = a;
20
20
  return Object.entries(f).every((h) => {
21
21
  let [v, l] = h;
@@ -27,10 +27,10 @@ var g = (i) => typeof i == "boolean" ? `${i}` : i === 0 ? "0" : i, b = p, z = (i
27
27
  ...c
28
28
  }[v] === l;
29
29
  }) ? [
30
- ...n,
30
+ ...i,
31
31
  o,
32
32
  r
33
- ] : n;
33
+ ] : i;
34
34
  }, []), e?.class, e?.className);
35
35
  }, _ = z("group/button inline-flex shrink-0 items-center justify-center rounded-4xl border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all duration-150 outline-none select-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 active:not-aria-[haspopup]:scale-[0.97] disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", {
36
36
  variants: {
@@ -61,13 +61,13 @@ var g = (i) => typeof i == "boolean" ? `${i}` : i === 0 ? "0" : i, b = p, z = (i
61
61
  size: "default"
62
62
  }
63
63
  });
64
- function w({ className: i, variant: t = "default", size: e = "default", ...s }) {
65
- return /* @__PURE__ */ k(m, {
64
+ function w({ className: n, variant: t = "default", size: e = "default", ...s }) {
65
+ return /* @__PURE__ */ y(k, {
66
66
  "data-slot": "button",
67
- className: y(_({
67
+ className: p(_({
68
68
  variant: t,
69
69
  size: e,
70
- className: i
70
+ className: n
71
71
  })),
72
72
  ...s
73
73
  });
@@ -78,4 +78,4 @@ export {
78
78
  w as t
79
79
  };
80
80
 
81
- //# sourceMappingURL=button-npy7isi3nsvlhf86.js.map
81
+ //# sourceMappingURL=button-kvgr8g13fe959ju0.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"button-npy7isi3nsvlhf86.js","names":[],"sources":["../../../../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.mjs","../../src/components/button/button.tsx"],"sourcesContent":["/**\n * Copyright 2022 Joe Bell. All rights reserved.\n *\n * This file is licensed to you under the Apache License, Version 2.0\n * (the \"License\"); you may not use this file except in compliance with the\n * License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR REPRESENTATIONS OF ANY KIND, either express or implied. See the\n * License for the specific language governing permissions and limitations under\n * the License.\n */ import { clsx } from \"clsx\";\nconst falsyToString = (value)=>typeof value === \"boolean\" ? `${value}` : value === 0 ? \"0\" : value;\nexport const cx = clsx;\nexport const cva = (base, config)=>(props)=>{\n var _config_compoundVariants;\n if ((config === null || config === void 0 ? void 0 : config.variants) == null) return cx(base, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);\n const { variants, defaultVariants } = config;\n const getVariantClassNames = Object.keys(variants).map((variant)=>{\n const variantProp = props === null || props === void 0 ? void 0 : props[variant];\n const defaultVariantProp = defaultVariants === null || defaultVariants === void 0 ? void 0 : defaultVariants[variant];\n if (variantProp === null) return null;\n const variantKey = falsyToString(variantProp) || falsyToString(defaultVariantProp);\n return variants[variant][variantKey];\n });\n const propsWithoutUndefined = props && Object.entries(props).reduce((acc, param)=>{\n let [key, value] = param;\n if (value === undefined) {\n return acc;\n }\n acc[key] = value;\n return acc;\n }, {});\n const getCompoundVariantClassNames = config === null || config === void 0 ? void 0 : (_config_compoundVariants = config.compoundVariants) === null || _config_compoundVariants === void 0 ? void 0 : _config_compoundVariants.reduce((acc, param)=>{\n let { class: cvClass, className: cvClassName, ...compoundVariantOptions } = param;\n return Object.entries(compoundVariantOptions).every((param)=>{\n let [key, value] = param;\n return Array.isArray(value) ? value.includes({\n ...defaultVariants,\n ...propsWithoutUndefined\n }[key]) : ({\n ...defaultVariants,\n ...propsWithoutUndefined\n })[key] === value;\n }) ? [\n ...acc,\n cvClass,\n cvClassName\n ] : acc;\n }, []);\n return cx(base, getVariantClassNames, getCompoundVariantClassNames, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);\n };\n\n","import { Button as ButtonPrimitive } from \"@base-ui/react/button\"\nimport { cva, type VariantProps } from \"class-variance-authority\"\n\nimport { cn } from \"../../lib/utils\"\n\nconst buttonVariants = cva(\n \"group/button inline-flex shrink-0 items-center justify-center rounded-4xl border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all duration-150 outline-none select-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 active:not-aria-[haspopup]:scale-[0.97] disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n {\n variants: {\n variant: {\n accent: \"bg-accent text-primary-foreground hover:bg-accent/80\",\n default: \"bg-foreground text-primary-foreground hover:bg-foreground/80\",\n outline:\n \"border-border bg-nova-white hover:bg-input/30 hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground\",\n secondary:\n \"bg-secondary text-secondary-foreground hover:bg-[color-mix(in_oklch,var(--secondary),var(--foreground)_5%)] aria-expanded:bg-secondary aria-expanded:text-secondary-foreground\",\n ghost:\n \"hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50\",\n destructive:\n \"bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40\",\n link: \"text-primary underline-offset-4 hover:underline\",\n },\n size: {\n default:\n \"h-9 gap-1.5 px-3 has-data-[icon=inline-end]:pe-2.5 has-data-[icon=inline-start]:ps-2.5\",\n xs: \"h-6 gap-1 px-2.5 text-xs has-data-[icon=inline-end]:pe-2 has-data-[icon=inline-start]:ps-2 [&_svg:not([class*='size-'])]:size-3\",\n sm: \"h-8 gap-1 px-3 has-data-[icon=inline-end]:pe-2 has-data-[icon=inline-start]:ps-2\",\n lg: \"h-10 gap-1.5 px-4 has-data-[icon=inline-end]:pe-3 has-data-[icon=inline-start]:ps-3\",\n xl: \"h-15 gap-2 rounded-full px-5 text-2xl has-data-[icon=inline-end]:pe-4 has-data-[icon=inline-start]:ps-4\",\n icon: \"size-9\",\n \"icon-xs\": \"size-6 [&_svg:not([class*='size-'])]:size-3\",\n \"icon-sm\": \"size-8\",\n \"icon-lg\": \"size-10\",\n \"icon-xl\": \"size-12\",\n },\n },\n defaultVariants: {\n variant: \"default\",\n size: \"default\",\n },\n }\n)\n\nfunction Button({\n className,\n variant = \"default\",\n size = \"default\",\n ...props\n}: ButtonPrimitive.Props & VariantProps<typeof buttonVariants>) {\n return (\n <ButtonPrimitive\n data-slot=\"button\"\n className={cn(buttonVariants({ variant, size, className }))}\n {...props}\n />\n )\n}\n\nexport { Button, buttonVariants }\n"],"x_google_ignoreList":[0],"mappings":";;;;;AAeA,IAAM,IAAA,CAAiB,MAAQ,OAAO,KAAU,YAAY,GAAG,CAAA,KAAU,MAAU,IAAI,MAAM,GAChF,IAAK,GACL,IAAA,CAAO,GAAM,MAAA,CAAU,MAAQ;AACpC,MAAI;AACJ,MAAqD,GAAO,YAAa,KAAM,QAAO,EAAG,GAAoD,GAAM,OAAqD,GAAM,SAAS;AACvN,QAAM,EAAE,UAAA,GAAU,iBAAA,EAAA,IAAoB,GAChC,IAAuB,OAAO,KAAK,CAAQ,EAAE,IAAA,CAAK,MAAU;AAC9D,UAAM,IAA4D,IAAM,CAAA,GAClE,IAAuF,IAAgB,CAAA;AAC7G,QAAI,MAAgB,KAAM,QAAO;AACjC,UAAM,IAAa,EAAc,CAAW,KAAK,EAAc,CAAkB;AACjF,WAAO,EAAS,CAAA,EAAS,CAAA;AAAA,EAC7B,CAAC,GACK,IAAwB,KAAS,OAAO,QAAQ,CAAK,EAAE,OAAA,CAAQ,GAAK,MAAQ;AAC9E,QAAI,CAAC,GAAK,CAAA,IAAS;AACnB,WAAI,MAAU,WAGd,EAAI,CAAA,IAAO,IACJ;AAAA,EACX,GAAG,CAAC,CAAC;AAkBL,SAAO,EAAG,GAAM,GAjBqB,KAAW,SAAsC,IAA2B,EAAO,sBAAsB,QAAQ,MAA6B,SAAvG,SAAyH,EAAyB,OAAA,CAAQ,GAAK,MAAQ;AAC/O,QAAI,EAAE,OAAO,GAAS,WAAW,GAAa,GAAG,EAAA,IAA2B;AAC5E,WAAO,OAAO,QAAQ,CAAsB,EAAE,MAAA,CAAO,MAAQ;AACzD,UAAI,CAAC,GAAK,CAAA,IAAS;AACnB,aAAO,MAAM,QAAQ,CAAK,IAAI,EAAM,SAAS;AAAA,QACzC,GAAG;AAAA,QACH,GAAG;AAAA,MACP,EAAE,CAAA,CAAI,IAAK;AAAA,QACP,GAAG;AAAA,QACH,GAAG;AAAA,MACP,EAAG,CAAA,MAAS;AAAA,IAChB,CAAC,IAAI;AAAA,MACD,GAAG;AAAA,MACH;AAAA,MACA;AAAA,IACJ,IAAI;AAAA,EACR,GAAG,CAAC,CAAC,GAC6G,GAAM,OAAqD,GAAM,SAAS;AAChM,GCjDE,IAAiB,EACrB,knBACA;AAAA,EACE,UAAU;AAAA,IACR,SAAS;AAAA,MACP,QAAQ;AAAA,MACR,SAAS;AAAA,MACT,SACE;AAAA,MACF,WACE;AAAA,MACF,OACE;AAAA,MACF,aACE;AAAA,MACF,MAAM;AAAA,IACR;AAAA,IACA,MAAM;AAAA,MACJ,SACE;AAAA,MACF,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,MAAM;AAAA,MACN,WAAW;AAAA,MACX,WAAW;AAAA,MACX,WAAW;AAAA,MACX,WAAW;AAAA,IACb;AAAA,EACF;AAAA,EACA,iBAAiB;AAAA,IACf,SAAS;AAAA,IACT,MAAM;AAAA,EACR;AACF,CACF;AAEA,SAAS,EAAO,EACd,WAAA,GACA,SAAA,IAAU,WACV,MAAA,IAAO,WACP,GAAG,EAAA,GAC2D;AAC9D,SACE,gBAAA,EAAC,GAAD;AAAA,IACE,aAAU;AAAA,IACV,WAAW,EAAG,EAAe;AAAA,MAAE,SAAA;AAAA,MAAS,MAAA;AAAA,MAAM,WAAA;AAAA,IAAU,CAAC,CAAC;AAAA,IAC1D,GAAI;AAAA,EACL,CAAA;AAEL"}
1
+ {"version":3,"file":"button-kvgr8g13fe959ju0.js","names":[],"sources":["../../../../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.mjs","../../src/components/button/button.tsx"],"sourcesContent":["/**\n * Copyright 2022 Joe Bell. All rights reserved.\n *\n * This file is licensed to you under the Apache License, Version 2.0\n * (the \"License\"); you may not use this file except in compliance with the\n * License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR REPRESENTATIONS OF ANY KIND, either express or implied. See the\n * License for the specific language governing permissions and limitations under\n * the License.\n */ import { clsx } from \"clsx\";\nconst falsyToString = (value)=>typeof value === \"boolean\" ? `${value}` : value === 0 ? \"0\" : value;\nexport const cx = clsx;\nexport const cva = (base, config)=>(props)=>{\n var _config_compoundVariants;\n if ((config === null || config === void 0 ? void 0 : config.variants) == null) return cx(base, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);\n const { variants, defaultVariants } = config;\n const getVariantClassNames = Object.keys(variants).map((variant)=>{\n const variantProp = props === null || props === void 0 ? void 0 : props[variant];\n const defaultVariantProp = defaultVariants === null || defaultVariants === void 0 ? void 0 : defaultVariants[variant];\n if (variantProp === null) return null;\n const variantKey = falsyToString(variantProp) || falsyToString(defaultVariantProp);\n return variants[variant][variantKey];\n });\n const propsWithoutUndefined = props && Object.entries(props).reduce((acc, param)=>{\n let [key, value] = param;\n if (value === undefined) {\n return acc;\n }\n acc[key] = value;\n return acc;\n }, {});\n const getCompoundVariantClassNames = config === null || config === void 0 ? void 0 : (_config_compoundVariants = config.compoundVariants) === null || _config_compoundVariants === void 0 ? void 0 : _config_compoundVariants.reduce((acc, param)=>{\n let { class: cvClass, className: cvClassName, ...compoundVariantOptions } = param;\n return Object.entries(compoundVariantOptions).every((param)=>{\n let [key, value] = param;\n return Array.isArray(value) ? value.includes({\n ...defaultVariants,\n ...propsWithoutUndefined\n }[key]) : ({\n ...defaultVariants,\n ...propsWithoutUndefined\n })[key] === value;\n }) ? [\n ...acc,\n cvClass,\n cvClassName\n ] : acc;\n }, []);\n return cx(base, getVariantClassNames, getCompoundVariantClassNames, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);\n };\n\n","import { Button as ButtonPrimitive } from \"@base-ui/react/button\"\nimport { cva, type VariantProps } from \"class-variance-authority\"\n\nimport { cn } from \"../../lib/utils\"\n\nconst buttonVariants = cva(\n \"group/button inline-flex shrink-0 items-center justify-center rounded-4xl border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all duration-150 outline-none select-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 active:not-aria-[haspopup]:scale-[0.97] disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n {\n variants: {\n variant: {\n accent: \"bg-accent text-primary-foreground hover:bg-accent/80\",\n default: \"bg-foreground text-primary-foreground hover:bg-foreground/80\",\n outline:\n \"border-border bg-nova-white hover:bg-input/30 hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground\",\n secondary:\n \"bg-secondary text-secondary-foreground hover:bg-[color-mix(in_oklch,var(--secondary),var(--foreground)_5%)] aria-expanded:bg-secondary aria-expanded:text-secondary-foreground\",\n ghost:\n \"hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50\",\n destructive:\n \"bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40\",\n link: \"text-primary underline-offset-4 hover:underline\",\n },\n size: {\n default:\n \"h-9 gap-1.5 px-3 has-data-[icon=inline-end]:pe-2.5 has-data-[icon=inline-start]:ps-2.5\",\n xs: \"h-6 gap-1 px-2.5 text-xs has-data-[icon=inline-end]:pe-2 has-data-[icon=inline-start]:ps-2 [&_svg:not([class*='size-'])]:size-3\",\n sm: \"h-8 gap-1 px-3 has-data-[icon=inline-end]:pe-2 has-data-[icon=inline-start]:ps-2\",\n lg: \"h-10 gap-1.5 px-4 has-data-[icon=inline-end]:pe-3 has-data-[icon=inline-start]:ps-3\",\n xl: \"h-15 gap-2 rounded-full px-5 text-2xl has-data-[icon=inline-end]:pe-4 has-data-[icon=inline-start]:ps-4\",\n icon: \"size-9\",\n \"icon-xs\": \"size-6 [&_svg:not([class*='size-'])]:size-3\",\n \"icon-sm\": \"size-8\",\n \"icon-lg\": \"size-10\",\n \"icon-xl\": \"size-12\",\n },\n },\n defaultVariants: {\n variant: \"default\",\n size: \"default\",\n },\n }\n)\n\nfunction Button({\n className,\n variant = \"default\",\n size = \"default\",\n ...props\n}: ButtonPrimitive.Props & VariantProps<typeof buttonVariants>) {\n return (\n <ButtonPrimitive\n data-slot=\"button\"\n className={cn(buttonVariants({ variant, size, className }))}\n {...props}\n />\n )\n}\n\nexport { Button, buttonVariants }\n"],"x_google_ignoreList":[0],"mappings":";;;;;AAeA,IAAM,IAAA,CAAiB,MAAQ,OAAO,KAAU,YAAY,GAAG,CAAA,KAAU,MAAU,IAAI,MAAM,GAChF,IAAK,GACL,IAAA,CAAO,GAAM,MAAA,CAAU,MAAQ;AACpC,MAAI;AACJ,MAAqD,GAAO,YAAa,KAAM,QAAO,EAAG,GAAoD,GAAM,OAAqD,GAAM,SAAS;AACvN,QAAM,EAAE,UAAA,GAAU,iBAAA,EAAA,IAAoB,GAChC,IAAuB,OAAO,KAAK,CAAQ,EAAE,IAAA,CAAK,MAAU;AAC9D,UAAM,IAA4D,IAAM,CAAA,GAClE,IAAuF,IAAgB,CAAA;AAC7G,QAAI,MAAgB,KAAM,QAAO;AACjC,UAAM,IAAa,EAAc,CAAW,KAAK,EAAc,CAAkB;AACjF,WAAO,EAAS,CAAA,EAAS,CAAA;AAAA,EAC7B,CAAC,GACK,IAAwB,KAAS,OAAO,QAAQ,CAAK,EAAE,OAAA,CAAQ,GAAK,MAAQ;AAC9E,QAAI,CAAC,GAAK,CAAA,IAAS;AACnB,WAAI,MAAU,WAGd,EAAI,CAAA,IAAO,IACJ;AAAA,EACX,GAAG,CAAC,CAAC;AAkBL,SAAO,EAAG,GAAM,GAjBqB,KAAW,SAAsC,IAA2B,EAAO,sBAAsB,QAAQ,MAA6B,SAAvG,SAAyH,EAAyB,OAAA,CAAQ,GAAK,MAAQ;AAC/O,QAAI,EAAE,OAAO,GAAS,WAAW,GAAa,GAAG,EAAA,IAA2B;AAC5E,WAAO,OAAO,QAAQ,CAAsB,EAAE,MAAA,CAAO,MAAQ;AACzD,UAAI,CAAC,GAAK,CAAA,IAAS;AACnB,aAAO,MAAM,QAAQ,CAAK,IAAI,EAAM,SAAS;AAAA,QACzC,GAAG;AAAA,QACH,GAAG;AAAA,MACP,EAAE,CAAA,CAAI,IAAK;AAAA,QACP,GAAG;AAAA,QACH,GAAG;AAAA,MACP,EAAG,CAAA,MAAS;AAAA,IAChB,CAAC,IAAI;AAAA,MACD,GAAG;AAAA,MACH;AAAA,MACA;AAAA,IACJ,IAAI;AAAA,EACR,GAAG,CAAC,CAAC,GAC6G,GAAM,OAAqD,GAAM,SAAS;AAChM,GCjDE,IAAiB,EACrB,knBACA;AAAA,EACE,UAAU;AAAA,IACR,SAAS;AAAA,MACP,QAAQ;AAAA,MACR,SAAS;AAAA,MACT,SACE;AAAA,MACF,WACE;AAAA,MACF,OACE;AAAA,MACF,aACE;AAAA,MACF,MAAM;AAAA,IACR;AAAA,IACA,MAAM;AAAA,MACJ,SACE;AAAA,MACF,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,MAAM;AAAA,MACN,WAAW;AAAA,MACX,WAAW;AAAA,MACX,WAAW;AAAA,MACX,WAAW;AAAA,IACb;AAAA,EACF;AAAA,EACA,iBAAiB;AAAA,IACf,SAAS;AAAA,IACT,MAAM;AAAA,EACR;AACF,CACF;AAEA,SAAS,EAAO,EACd,WAAA,GACA,SAAA,IAAU,WACV,MAAA,IAAO,WACP,GAAG,EAAA,GAC2D;AAC9D,SACE,gBAAA,EAAC,GAAD;AAAA,IACE,aAAU;AAAA,IACV,WAAW,EAAG,EAAe;AAAA,MAAE,SAAA;AAAA,MAAS,MAAA;AAAA,MAAM,WAAA;AAAA,IAAU,CAAC,CAAC;AAAA,IAC1D,GAAI;AAAA,EACL,CAAA;AAEL"}
@@ -0,0 +1,473 @@
1
+ "use client";
2
+ import { r as C, t as T } from "./rolldown-runtime-fifbipqm1abz4ydz.js";
3
+ var j = /* @__PURE__ */ T(((n) => {
4
+ var t = C("react");
5
+ function c(a, o) {
6
+ return a === o && (a !== 0 || 1 / a === 1 / o) || a !== a && o !== o;
7
+ }
8
+ var l = typeof Object.is == "function" ? Object.is : c, _ = t.useState, p = t.useEffect, m = t.useLayoutEffect, v = t.useDebugValue;
9
+ function L(a, o) {
10
+ var e = o(), r = _({ inst: {
11
+ value: e,
12
+ getSnapshot: o
13
+ } }), i = r[0].inst, O = r[1];
14
+ return m(function() {
15
+ i.value = e, i.getSnapshot = o, s(i) && O({ inst: i });
16
+ }, [
17
+ a,
18
+ e,
19
+ o
20
+ ]), p(function() {
21
+ return s(i) && O({ inst: i }), a(function() {
22
+ s(i) && O({ inst: i });
23
+ });
24
+ }, [a]), v(e), e;
25
+ }
26
+ function s(a) {
27
+ var o = a.getSnapshot;
28
+ a = a.value;
29
+ try {
30
+ var e = o();
31
+ return !l(a, e);
32
+ } catch {
33
+ return !0;
34
+ }
35
+ }
36
+ function u(a, o) {
37
+ return o();
38
+ }
39
+ var f = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? u : L;
40
+ n.useSyncExternalStore = t.useSyncExternalStore !== void 0 ? t.useSyncExternalStore : f;
41
+ })), k = /* @__PURE__ */ T(((n) => {
42
+ process.env.NODE_ENV !== "production" && (function() {
43
+ function t(e, r) {
44
+ return e === r && (e !== 0 || 1 / e === 1 / r) || e !== e && r !== r;
45
+ }
46
+ function c(e, r) {
47
+ f || p.startTransition === void 0 || (f = !0, console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));
48
+ var i = r();
49
+ if (!a) {
50
+ var O = r();
51
+ m(i, O) || (console.error("The result of getSnapshot should be cached to avoid an infinite loop"), a = !0);
52
+ }
53
+ O = v({ inst: {
54
+ value: i,
55
+ getSnapshot: r
56
+ } });
57
+ var E = O[0].inst, h = O[1];
58
+ return s(function() {
59
+ E.value = i, E.getSnapshot = r, l(E) && h({ inst: E });
60
+ }, [
61
+ e,
62
+ i,
63
+ r
64
+ ]), L(function() {
65
+ return l(E) && h({ inst: E }), e(function() {
66
+ l(E) && h({ inst: E });
67
+ });
68
+ }, [e]), u(i), i;
69
+ }
70
+ function l(e) {
71
+ var r = e.getSnapshot;
72
+ e = e.value;
73
+ try {
74
+ var i = r();
75
+ return !m(e, i);
76
+ } catch {
77
+ return !0;
78
+ }
79
+ }
80
+ function _(e, r) {
81
+ return r();
82
+ }
83
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
84
+ var p = C("react"), m = typeof Object.is == "function" ? Object.is : t, v = p.useState, L = p.useEffect, s = p.useLayoutEffect, u = p.useDebugValue, f = !1, a = !1, o = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? _ : c;
85
+ n.useSyncExternalStore = p.useSyncExternalStore !== void 0 ? p.useSyncExternalStore : o, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
86
+ })();
87
+ })), M = /* @__PURE__ */ T(((n, t) => {
88
+ process.env.NODE_ENV === "production" ? t.exports = j() : t.exports = k();
89
+ })), z = /* @__PURE__ */ T(((n) => {
90
+ var t = C("react"), c = M();
91
+ function l(u, f) {
92
+ return u === f && (u !== 0 || 1 / u === 1 / f) || u !== u && f !== f;
93
+ }
94
+ var _ = typeof Object.is == "function" ? Object.is : l, p = c.useSyncExternalStore, m = t.useRef, v = t.useEffect, L = t.useMemo, s = t.useDebugValue;
95
+ n.useSyncExternalStoreWithSelector = function(u, f, a, o, e) {
96
+ var r = m(null);
97
+ if (r.current === null) {
98
+ var i = {
99
+ hasValue: !1,
100
+ value: null
101
+ };
102
+ r.current = i;
103
+ } else i = r.current;
104
+ r = L(function() {
105
+ function E(d) {
106
+ if (!h) {
107
+ if (h = !0, S = d, d = o(d), e !== void 0 && i.hasValue) {
108
+ var R = i.value;
109
+ if (e(R, d)) return b = R;
110
+ }
111
+ return b = d;
112
+ }
113
+ if (R = b, _(S, d)) return R;
114
+ var w = o(d);
115
+ return e !== void 0 && e(R, w) ? (S = d, R) : (S = d, b = w);
116
+ }
117
+ var h = !1, S, b, y = a === void 0 ? null : a;
118
+ return [function() {
119
+ return E(f());
120
+ }, y === null ? void 0 : function() {
121
+ return E(y());
122
+ }];
123
+ }, [
124
+ f,
125
+ a,
126
+ o,
127
+ e
128
+ ]);
129
+ var O = p(u, r[0], r[1]);
130
+ return v(function() {
131
+ i.hasValue = !0, i.value = O;
132
+ }, [O]), s(O), O;
133
+ };
134
+ })), G = /* @__PURE__ */ T(((n) => {
135
+ process.env.NODE_ENV !== "production" && (function() {
136
+ function t(u, f) {
137
+ return u === f && (u !== 0 || 1 / u === 1 / f) || u !== u && f !== f;
138
+ }
139
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
140
+ var c = C("react"), l = M(), _ = typeof Object.is == "function" ? Object.is : t, p = l.useSyncExternalStore, m = c.useRef, v = c.useEffect, L = c.useMemo, s = c.useDebugValue;
141
+ n.useSyncExternalStoreWithSelector = function(u, f, a, o, e) {
142
+ var r = m(null);
143
+ if (r.current === null) {
144
+ var i = {
145
+ hasValue: !1,
146
+ value: null
147
+ };
148
+ r.current = i;
149
+ } else i = r.current;
150
+ r = L(function() {
151
+ function E(d) {
152
+ if (!h) {
153
+ if (h = !0, S = d, d = o(d), e !== void 0 && i.hasValue) {
154
+ var R = i.value;
155
+ if (e(R, d)) return b = R;
156
+ }
157
+ return b = d;
158
+ }
159
+ if (R = b, _(S, d)) return R;
160
+ var w = o(d);
161
+ return e !== void 0 && e(R, w) ? (S = d, R) : (S = d, b = w);
162
+ }
163
+ var h = !1, S, b, y = a === void 0 ? null : a;
164
+ return [function() {
165
+ return E(f());
166
+ }, y === null ? void 0 : function() {
167
+ return E(y());
168
+ }];
169
+ }, [
170
+ f,
171
+ a,
172
+ o,
173
+ e
174
+ ]);
175
+ var O = p(u, r[0], r[1]);
176
+ return v(function() {
177
+ i.hasValue = !0, i.value = O;
178
+ }, [O]), s(O), O;
179
+ }, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
180
+ })();
181
+ })), te = /* @__PURE__ */ T(((n, t) => {
182
+ process.env.NODE_ENV === "production" ? t.exports = z() : t.exports = G();
183
+ })), N = (n, t, c) => {
184
+ if (t.length === 1 && t[0] === c) {
185
+ let l = !1;
186
+ try {
187
+ const _ = {};
188
+ n(_) === _ && (l = !0);
189
+ } catch {
190
+ }
191
+ if (l) {
192
+ let _;
193
+ try {
194
+ throw new Error();
195
+ } catch (p) {
196
+ ({ stack: _ } = p);
197
+ }
198
+ console.warn(`The result function returned its own inputs without modification. e.g
199
+ \`createSelector([state => state.todos], todos => todos)\`
200
+ This could lead to inefficient memoization and unnecessary re-renders.
201
+ Ensure transformation logic is in the result function, and extraction logic is in the input selectors.`, { stack: _ });
202
+ }
203
+ }
204
+ }, K = (n, t, c) => {
205
+ const { memoize: l, memoizeOptions: _ } = t, { inputSelectorResults: p, inputSelectorResultsCopy: m } = n, v = l(() => ({}), ..._);
206
+ if (v.apply(null, p) !== v.apply(null, m)) {
207
+ let L;
208
+ try {
209
+ throw new Error();
210
+ } catch (s) {
211
+ ({ stack: L } = s);
212
+ }
213
+ console.warn(`An input selector returned a different result when passed same arguments.
214
+ This means your output selector will likely run more frequently than intended.
215
+ Avoid returning a new reference inside your input selector, e.g.
216
+ \`createSelector([state => state.todos.map(todo => todo.id)], todoIds => todoIds.length)\``, {
217
+ arguments: c,
218
+ firstInputs: p,
219
+ secondInputs: m,
220
+ stack: L
221
+ });
222
+ }
223
+ }, B = {
224
+ inputStabilityCheck: "once",
225
+ identityFunctionCheck: "once"
226
+ };
227
+ function H(n, t = `expected a function, instead received ${typeof n}`) {
228
+ if (typeof n != "function") throw new TypeError(t);
229
+ }
230
+ function $(n, t = `expected an object, instead received ${typeof n}`) {
231
+ if (typeof n != "object") throw new TypeError(t);
232
+ }
233
+ function W(n, t = "expected all items to be functions, instead received the following types: ") {
234
+ if (!n.every((c) => typeof c == "function")) {
235
+ const c = n.map((l) => typeof l == "function" ? `function ${l.name || "unnamed"}()` : typeof l).join(", ");
236
+ throw new TypeError(`${t}[${c}]`);
237
+ }
238
+ }
239
+ var A = (n) => Array.isArray(n) ? n : [n];
240
+ function F(n) {
241
+ const t = Array.isArray(n[0]) ? n[0] : n;
242
+ return W(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;
243
+ }
244
+ function g(n, t) {
245
+ const c = [], { length: l } = n;
246
+ for (let _ = 0; _ < l; _++) c.push(n[_].apply(null, t));
247
+ return c;
248
+ }
249
+ var U = (n, t) => {
250
+ const { identityFunctionCheck: c, inputStabilityCheck: l } = {
251
+ ...B,
252
+ ...t
253
+ };
254
+ return {
255
+ identityFunctionCheck: {
256
+ shouldRun: c === "always" || c === "once" && n,
257
+ run: N
258
+ },
259
+ inputStabilityCheck: {
260
+ shouldRun: l === "always" || l === "once" && n,
261
+ run: K
262
+ }
263
+ };
264
+ }, J = class {
265
+ constructor(n) {
266
+ this.value = n;
267
+ }
268
+ deref() {
269
+ return this.value;
270
+ }
271
+ }, P = typeof WeakRef < "u" ? WeakRef : J, Y = 0, D = 1;
272
+ function V() {
273
+ return {
274
+ s: Y,
275
+ v: void 0,
276
+ o: null,
277
+ p: null
278
+ };
279
+ }
280
+ function I(n, t = {}) {
281
+ let c = V();
282
+ const { resultEqualityCheck: l } = t;
283
+ let _, p = 0;
284
+ function m() {
285
+ let v = c;
286
+ const { length: L } = arguments;
287
+ for (let f = 0, a = L; f < a; f++) {
288
+ const o = arguments[f];
289
+ if (typeof o == "function" || typeof o == "object" && o !== null) {
290
+ let e = v.o;
291
+ e === null && (v.o = e = /* @__PURE__ */ new WeakMap());
292
+ const r = e.get(o);
293
+ r === void 0 ? (v = V(), e.set(o, v)) : v = r;
294
+ } else {
295
+ let e = v.p;
296
+ e === null && (v.p = e = /* @__PURE__ */ new Map());
297
+ const r = e.get(o);
298
+ r === void 0 ? (v = V(), e.set(o, v)) : v = r;
299
+ }
300
+ }
301
+ const s = v;
302
+ let u;
303
+ if (v.s === D) u = v.v;
304
+ else if (u = n.apply(null, arguments), p++, l) {
305
+ const f = _?.deref?.() ?? _;
306
+ f != null && l(f, u) && (u = f, p !== 0 && p--), _ = typeof u == "object" && u !== null || typeof u == "function" ? new P(u) : u;
307
+ }
308
+ return s.s = D, s.v = u, u;
309
+ }
310
+ return m.clearCache = () => {
311
+ c = V(), m.resetResultsCount();
312
+ }, m.resultsCount = () => p, m.resetResultsCount = () => {
313
+ p = 0;
314
+ }, m;
315
+ }
316
+ function Q(n, ...t) {
317
+ const c = typeof n == "function" ? {
318
+ memoize: n,
319
+ memoizeOptions: t
320
+ } : n, l = (..._) => {
321
+ let p = 0, m = 0, v, L = {}, s = _.pop();
322
+ typeof s == "object" && (L = s, s = _.pop()), H(s, `createSelector expects an output function after the inputs, but received: [${typeof s}]`);
323
+ const { memoize: u, memoizeOptions: f = [], argsMemoize: a = I, argsMemoizeOptions: o = [], devModeChecks: e = {} } = {
324
+ ...c,
325
+ ...L
326
+ }, r = A(f), i = A(o), O = F(_), E = u(function() {
327
+ return p++, s.apply(null, arguments);
328
+ }, ...r);
329
+ let h = !0;
330
+ const S = a(function() {
331
+ m++;
332
+ const y = g(O, arguments);
333
+ if (v = E.apply(null, y), process.env.NODE_ENV !== "production") {
334
+ const { identityFunctionCheck: d, inputStabilityCheck: R } = U(h, e);
335
+ if (d.shouldRun && d.run(s, y, v), R.shouldRun) {
336
+ const w = g(O, arguments);
337
+ R.run({
338
+ inputSelectorResults: y,
339
+ inputSelectorResultsCopy: w
340
+ }, {
341
+ memoize: u,
342
+ memoizeOptions: r
343
+ }, arguments);
344
+ }
345
+ h && (h = !1);
346
+ }
347
+ return v;
348
+ }, ...i);
349
+ return Object.assign(S, {
350
+ resultFunc: s,
351
+ memoizedResultFunc: E,
352
+ dependencies: O,
353
+ dependencyRecomputations: () => m,
354
+ resetDependencyRecomputations: () => {
355
+ m = 0;
356
+ },
357
+ lastResult: () => v,
358
+ recomputations: () => p,
359
+ resetRecomputations: () => {
360
+ p = 0;
361
+ },
362
+ memoize: u,
363
+ argsMemoize: a
364
+ });
365
+ };
366
+ return Object.assign(l, { withTypes: () => l }), l;
367
+ }
368
+ var X = /* @__PURE__ */ Q(I), Z = Object.assign((n, t = X) => {
369
+ $(n, `createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof n}`);
370
+ const c = Object.keys(n);
371
+ return t(c.map((l) => n[l]), (...l) => l.reduce((_, p, m) => (_[c[m]] = p, _), {}));
372
+ }, { withTypes: () => Z }), q = /* @__PURE__ */ T(((n) => {
373
+ var t = C("react");
374
+ function c(s, u) {
375
+ return s === u && (s !== 0 || 1 / s === 1 / u) || s !== s && u !== u;
376
+ }
377
+ var l = typeof Object.is == "function" ? Object.is : c, _ = t.useSyncExternalStore, p = t.useRef, m = t.useEffect, v = t.useMemo, L = t.useDebugValue;
378
+ n.useSyncExternalStoreWithSelector = function(s, u, f, a, o) {
379
+ var e = p(null);
380
+ if (e.current === null) {
381
+ var r = {
382
+ hasValue: !1,
383
+ value: null
384
+ };
385
+ e.current = r;
386
+ } else r = e.current;
387
+ e = v(function() {
388
+ function O(y) {
389
+ if (!E) {
390
+ if (E = !0, h = y, y = a(y), o !== void 0 && r.hasValue) {
391
+ var d = r.value;
392
+ if (o(d, y)) return S = d;
393
+ }
394
+ return S = y;
395
+ }
396
+ if (d = S, l(h, y)) return d;
397
+ var R = a(y);
398
+ return o !== void 0 && o(d, R) ? (h = y, d) : (h = y, S = R);
399
+ }
400
+ var E = !1, h, S, b = f === void 0 ? null : f;
401
+ return [function() {
402
+ return O(u());
403
+ }, b === null ? void 0 : function() {
404
+ return O(b());
405
+ }];
406
+ }, [
407
+ u,
408
+ f,
409
+ a,
410
+ o
411
+ ]);
412
+ var i = _(s, e[0], e[1]);
413
+ return m(function() {
414
+ r.hasValue = !0, r.value = i;
415
+ }, [i]), L(i), i;
416
+ };
417
+ })), x = /* @__PURE__ */ T(((n) => {
418
+ process.env.NODE_ENV !== "production" && (function() {
419
+ function t(s, u) {
420
+ return s === u && (s !== 0 || 1 / s === 1 / u) || s !== s && u !== u;
421
+ }
422
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
423
+ var c = C("react"), l = typeof Object.is == "function" ? Object.is : t, _ = c.useSyncExternalStore, p = c.useRef, m = c.useEffect, v = c.useMemo, L = c.useDebugValue;
424
+ n.useSyncExternalStoreWithSelector = function(s, u, f, a, o) {
425
+ var e = p(null);
426
+ if (e.current === null) {
427
+ var r = {
428
+ hasValue: !1,
429
+ value: null
430
+ };
431
+ e.current = r;
432
+ } else r = e.current;
433
+ e = v(function() {
434
+ function O(y) {
435
+ if (!E) {
436
+ if (E = !0, h = y, y = a(y), o !== void 0 && r.hasValue) {
437
+ var d = r.value;
438
+ if (o(d, y)) return S = d;
439
+ }
440
+ return S = y;
441
+ }
442
+ if (d = S, l(h, y)) return d;
443
+ var R = a(y);
444
+ return o !== void 0 && o(d, R) ? (h = y, d) : (h = y, S = R);
445
+ }
446
+ var E = !1, h, S, b = f === void 0 ? null : f;
447
+ return [function() {
448
+ return O(u());
449
+ }, b === null ? void 0 : function() {
450
+ return O(b());
451
+ }];
452
+ }, [
453
+ u,
454
+ f,
455
+ a,
456
+ o
457
+ ]);
458
+ var i = _(s, e[0], e[1]);
459
+ return m(function() {
460
+ r.hasValue = !0, r.value = i;
461
+ }, [i]), L(i), i;
462
+ }, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
463
+ })();
464
+ })), re = /* @__PURE__ */ T(((n, t) => {
465
+ process.env.NODE_ENV === "production" ? t.exports = q() : t.exports = x();
466
+ }));
467
+ export {
468
+ X as n,
469
+ te as r,
470
+ re as t
471
+ };
472
+
473
+ //# sourceMappingURL=vendor-utils-egkaeebaqpft6cxj.js.map