@jigowatts/jigowatts-ui 1.1.7 → 1.1.9

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 (452) hide show
  1. package/dist/_commonjsHelpers-DKOUU3wS.cjs +2 -0
  2. package/dist/_commonjsHelpers-DKOUU3wS.cjs.map +1 -0
  3. package/dist/_commonjsHelpers-DaMA6jEr.js +9 -0
  4. package/dist/_commonjsHelpers-DaMA6jEr.js.map +1 -0
  5. package/dist/assets/index10.css +1 -1
  6. package/dist/assets/index11.css +1 -1
  7. package/dist/assets/index12.css +1 -1
  8. package/dist/assets/index13.css +1 -1
  9. package/dist/assets/index14.css +1 -1
  10. package/dist/assets/index15.css +1 -1
  11. package/dist/assets/index16.css +1 -1
  12. package/dist/assets/index17.css +1 -1
  13. package/dist/assets/index18.css +1 -1
  14. package/dist/assets/index19.css +1 -1
  15. package/dist/assets/index20.css +1 -1
  16. package/dist/assets/index21.css +1 -1
  17. package/dist/assets/index22.css +1 -1
  18. package/dist/assets/index23.css +1 -1
  19. package/dist/assets/index24.css +1 -1
  20. package/dist/assets/index25.css +1 -1
  21. package/dist/assets/index26.css +1 -1
  22. package/dist/assets/index27.css +1 -1
  23. package/dist/assets/index28.css +1 -1
  24. package/dist/assets/index29.css +1 -1
  25. package/dist/assets/index30.css +1 -1
  26. package/dist/assets/index31.css +1 -1
  27. package/dist/assets/index32.css +1 -1
  28. package/dist/assets/index33.css +1 -1
  29. package/dist/assets/index34.css +1 -1
  30. package/dist/assets/index4.css +1 -1
  31. package/dist/assets/index5.css +1 -1
  32. package/dist/assets/index6.css +1 -1
  33. package/dist/assets/index7.css +1 -1
  34. package/dist/assets/index8.css +1 -1
  35. package/dist/assets/index9.css +1 -1
  36. package/dist/components/Button/index.cjs.js +1 -1
  37. package/dist/components/Button/index.cjs.js.map +1 -1
  38. package/dist/components/Button/index.es.js +5 -5
  39. package/dist/components/Button/index.es.js.map +1 -1
  40. package/dist/components/Button/index.test.cjs.js +1 -1
  41. package/dist/components/Button/index.test.cjs.js.map +1 -1
  42. package/dist/components/Button/index.test.es.js +6 -6
  43. package/dist/components/Button/index.test.es.js.map +1 -1
  44. package/dist/components/Card/index.cjs.js +1 -1
  45. package/dist/components/Card/index.cjs.js.map +1 -1
  46. package/dist/components/Card/index.es.js +27 -27
  47. package/dist/components/Card/index.es.js.map +1 -1
  48. package/dist/components/Card/index.test.cjs.js +1 -1
  49. package/dist/components/Card/index.test.cjs.js.map +1 -1
  50. package/dist/components/Card/index.test.es.js +18 -18
  51. package/dist/components/Card/index.test.es.js.map +1 -1
  52. package/dist/components/CardWithTitle/index.cjs.js +1 -1
  53. package/dist/components/CardWithTitle/index.cjs.js.map +1 -1
  54. package/dist/components/CardWithTitle/index.es.js +14 -14
  55. package/dist/components/CardWithTitle/index.es.js.map +1 -1
  56. package/dist/components/CardWithTitle/index.test.cjs.js +1 -1
  57. package/dist/components/CardWithTitle/index.test.cjs.js.map +1 -1
  58. package/dist/components/CardWithTitle/index.test.es.js +7 -7
  59. package/dist/components/CardWithTitle/index.test.es.js.map +1 -1
  60. package/dist/components/CustomLink/index.cjs.js +1 -1
  61. package/dist/components/CustomLink/index.cjs.js.map +1 -1
  62. package/dist/components/CustomLink/index.es.js +7 -7
  63. package/dist/components/CustomLink/index.es.js.map +1 -1
  64. package/dist/components/CustomLink/index.test.cjs.js +1 -1
  65. package/dist/components/CustomLink/index.test.cjs.js.map +1 -1
  66. package/dist/components/CustomLink/index.test.es.js +9 -9
  67. package/dist/components/CustomLink/index.test.es.js.map +1 -1
  68. package/dist/components/DataTable/index.cjs.js +1 -1
  69. package/dist/components/DataTable/index.cjs.js.map +1 -1
  70. package/dist/components/DataTable/index.es.js +91 -96
  71. package/dist/components/DataTable/index.es.js.map +1 -1
  72. package/dist/components/DataTable/index.test.cjs.js +1 -1
  73. package/dist/components/DataTable/index.test.cjs.js.map +1 -1
  74. package/dist/components/DataTable/index.test.es.js +25 -25
  75. package/dist/components/DataTable/index.test.es.js.map +1 -1
  76. package/dist/components/DatePickerController/index.cjs.js +1 -1
  77. package/dist/components/DatePickerController/index.cjs.js.map +1 -1
  78. package/dist/components/DatePickerController/index.es.js +29 -28
  79. package/dist/components/DatePickerController/index.es.js.map +1 -1
  80. package/dist/components/DatePickerController/index.test.cjs.js +1 -1
  81. package/dist/components/DatePickerController/index.test.cjs.js.map +1 -1
  82. package/dist/components/DatePickerController/index.test.es.js +3 -3
  83. package/dist/components/DatePickerController/index.test.es.js.map +1 -1
  84. package/dist/components/ErrorMessage/index.cjs.js +1 -1
  85. package/dist/components/ErrorMessage/index.cjs.js.map +1 -1
  86. package/dist/components/ErrorMessage/index.es.js +7 -7
  87. package/dist/components/ErrorMessage/index.es.js.map +1 -1
  88. package/dist/components/ErrorMessage/index.test.cjs.js +1 -1
  89. package/dist/components/ErrorMessage/index.test.cjs.js.map +1 -1
  90. package/dist/components/ErrorMessage/index.test.es.js +7 -7
  91. package/dist/components/ErrorMessage/index.test.es.js.map +1 -1
  92. package/dist/components/EvseStateLabel/index.cjs.js +1 -1
  93. package/dist/components/EvseStateLabel/index.cjs.js.map +1 -1
  94. package/dist/components/EvseStateLabel/index.es.js +6 -6
  95. package/dist/components/EvseStateLabel/index.es.js.map +1 -1
  96. package/dist/components/FlexButtons/index.cjs.js +1 -1
  97. package/dist/components/FlexButtons/index.cjs.js.map +1 -1
  98. package/dist/components/FlexButtons/index.es.js +6 -6
  99. package/dist/components/FlexButtons/index.es.js.map +1 -1
  100. package/dist/components/FlexButtons/index.test.cjs.js +1 -1
  101. package/dist/components/FlexButtons/index.test.cjs.js.map +1 -1
  102. package/dist/components/FlexButtons/index.test.es.js +15 -15
  103. package/dist/components/FlexButtons/index.test.es.js.map +1 -1
  104. package/dist/components/Form/index.cjs.js +1 -1
  105. package/dist/components/Form/index.cjs.js.map +1 -1
  106. package/dist/components/Form/index.es.js +8 -8
  107. package/dist/components/Form/index.es.js.map +1 -1
  108. package/dist/components/Form/index.test.cjs.js +1 -1
  109. package/dist/components/Form/index.test.cjs.js.map +1 -1
  110. package/dist/components/Form/index.test.es.js +15 -15
  111. package/dist/components/Form/index.test.es.js.map +1 -1
  112. package/dist/components/FormItem/index.cjs.js +1 -1
  113. package/dist/components/FormItem/index.cjs.js.map +1 -1
  114. package/dist/components/FormItem/index.es.js +10 -10
  115. package/dist/components/FormItem/index.es.js.map +1 -1
  116. package/dist/components/FormItem/index.test.cjs.js +1 -1
  117. package/dist/components/FormItem/index.test.cjs.js.map +1 -1
  118. package/dist/components/FormItem/index.test.es.js +7 -7
  119. package/dist/components/FormItem/index.test.es.js.map +1 -1
  120. package/dist/components/FormTitle/index.cjs.js +1 -1
  121. package/dist/components/FormTitle/index.cjs.js.map +1 -1
  122. package/dist/components/FormTitle/index.es.js +7 -7
  123. package/dist/components/FormTitle/index.es.js.map +1 -1
  124. package/dist/components/FormTitle/index.test.cjs.js +1 -1
  125. package/dist/components/FormTitle/index.test.cjs.js.map +1 -1
  126. package/dist/components/FormTitle/index.test.es.js +8 -8
  127. package/dist/components/FormTitle/index.test.es.js.map +1 -1
  128. package/dist/components/HStack/index.cjs.js +1 -1
  129. package/dist/components/HStack/index.cjs.js.map +1 -1
  130. package/dist/components/HStack/index.es.js +5 -5
  131. package/dist/components/HStack/index.es.js.map +1 -1
  132. package/dist/components/HStack/index.test.cjs.js +1 -1
  133. package/dist/components/HStack/index.test.cjs.js.map +1 -1
  134. package/dist/components/HStack/index.test.es.js +8 -8
  135. package/dist/components/HStack/index.test.es.js.map +1 -1
  136. package/dist/components/HtmlRenderer/index.cjs.js +1 -1
  137. package/dist/components/HtmlRenderer/index.es.js +2 -2
  138. package/dist/components/HtmlRenderer/index.test.cjs.js +1 -1
  139. package/dist/components/HtmlRenderer/index.test.cjs.js.map +1 -1
  140. package/dist/components/HtmlRenderer/index.test.es.js +7 -7
  141. package/dist/components/HtmlRenderer/index.test.es.js.map +1 -1
  142. package/dist/components/Input/index.cjs.js +1 -1
  143. package/dist/components/Input/index.cjs.js.map +1 -1
  144. package/dist/components/Input/index.es.js +15 -15
  145. package/dist/components/Input/index.es.js.map +1 -1
  146. package/dist/components/Input/index.test.cjs.js +1 -1
  147. package/dist/components/Input/index.test.cjs.js.map +1 -1
  148. package/dist/components/Input/index.test.es.js +9 -9
  149. package/dist/components/Input/index.test.es.js.map +1 -1
  150. package/dist/components/InputController/index.cjs.js +1 -1
  151. package/dist/components/InputController/index.cjs.js.map +1 -1
  152. package/dist/components/InputController/index.es.js +29 -29
  153. package/dist/components/InputController/index.es.js.map +1 -1
  154. package/dist/components/InputController/index.test.cjs.js +1 -1
  155. package/dist/components/InputController/index.test.cjs.js.map +1 -1
  156. package/dist/components/InputController/index.test.es.js +14 -14
  157. package/dist/components/InputController/index.test.es.js.map +1 -1
  158. package/dist/components/InputGroup/index.cjs.js +1 -1
  159. package/dist/components/InputGroup/index.cjs.js.map +1 -1
  160. package/dist/components/InputGroup/index.es.js +7 -7
  161. package/dist/components/InputGroup/index.es.js.map +1 -1
  162. package/dist/components/InputGroup/index.test.cjs.js +1 -1
  163. package/dist/components/InputGroup/index.test.cjs.js.map +1 -1
  164. package/dist/components/InputGroup/index.test.es.js +7 -7
  165. package/dist/components/InputGroup/index.test.es.js.map +1 -1
  166. package/dist/components/Label/index.cjs.js +1 -1
  167. package/dist/components/Label/index.cjs.js.map +1 -1
  168. package/dist/components/Label/index.es.js +8 -8
  169. package/dist/components/Label/index.es.js.map +1 -1
  170. package/dist/components/Label/index.test.cjs.js +1 -1
  171. package/dist/components/Label/index.test.cjs.js.map +1 -1
  172. package/dist/components/Label/index.test.es.js +7 -7
  173. package/dist/components/Label/index.test.es.js.map +1 -1
  174. package/dist/components/LabeledContent/index.cjs.js +1 -1
  175. package/dist/components/LabeledContent/index.cjs.js.map +1 -1
  176. package/dist/components/LabeledContent/index.es.js +17 -17
  177. package/dist/components/LabeledContent/index.es.js.map +1 -1
  178. package/dist/components/LabeledContent/index.test.cjs.js +1 -1
  179. package/dist/components/LabeledContent/index.test.cjs.js.map +1 -1
  180. package/dist/components/LabeledContent/index.test.es.js +4 -4
  181. package/dist/components/LabeledContent/index.test.es.js.map +1 -1
  182. package/dist/components/LoadingOverlay/index.cjs.js +1 -5
  183. package/dist/components/LoadingOverlay/index.cjs.js.map +1 -1
  184. package/dist/components/LoadingOverlay/index.es.js +7 -127
  185. package/dist/components/LoadingOverlay/index.es.js.map +1 -1
  186. package/dist/components/LoadingOverlay/index.test.cjs.js +1 -1
  187. package/dist/components/LoadingOverlay/index.test.cjs.js.map +1 -1
  188. package/dist/components/LoadingOverlay/index.test.es.js +7 -7
  189. package/dist/components/LoadingOverlay/index.test.es.js.map +1 -1
  190. package/dist/components/Map/index.cjs.js +2 -2
  191. package/dist/components/Map/index.cjs.js.map +1 -1
  192. package/dist/components/Map/index.es.js +174 -174
  193. package/dist/components/Map/index.es.js.map +1 -1
  194. package/dist/components/MaxWidthContainer/index.cjs.js +1 -1
  195. package/dist/components/MaxWidthContainer/index.cjs.js.map +1 -1
  196. package/dist/components/MaxWidthContainer/index.es.js +9 -9
  197. package/dist/components/MaxWidthContainer/index.es.js.map +1 -1
  198. package/dist/components/MaxWidthContainer/index.test.cjs.js +1 -1
  199. package/dist/components/MaxWidthContainer/index.test.cjs.js.map +1 -1
  200. package/dist/components/MaxWidthContainer/index.test.es.js +9 -9
  201. package/dist/components/MaxWidthContainer/index.test.es.js.map +1 -1
  202. package/dist/components/NumericFieldController/index.cjs.js +1 -1
  203. package/dist/components/NumericFieldController/index.cjs.js.map +1 -1
  204. package/dist/components/NumericFieldController/index.es.js +31 -31
  205. package/dist/components/NumericFieldController/index.es.js.map +1 -1
  206. package/dist/components/NumericFieldController/index.test.cjs.js +1 -1
  207. package/dist/components/NumericFieldController/index.test.cjs.js.map +1 -1
  208. package/dist/components/NumericFieldController/index.test.es.js +3 -3
  209. package/dist/components/NumericFieldController/index.test.es.js.map +1 -1
  210. package/dist/components/OfflineLabel/index.cjs.js +1 -1
  211. package/dist/components/OfflineLabel/index.cjs.js.map +1 -1
  212. package/dist/components/OfflineLabel/index.es.js +12 -23
  213. package/dist/components/OfflineLabel/index.es.js.map +1 -1
  214. package/dist/components/PageSizeSelector/index.cjs.js +1 -1
  215. package/dist/components/PageSizeSelector/index.cjs.js.map +1 -1
  216. package/dist/components/PageSizeSelector/index.es.js +25 -25
  217. package/dist/components/PageSizeSelector/index.es.js.map +1 -1
  218. package/dist/components/Pagination/index.cjs.js +2 -1
  219. package/dist/components/Pagination/index.cjs.js.map +1 -1
  220. package/dist/components/Pagination/index.es.js +305 -5
  221. package/dist/components/Pagination/index.es.js.map +1 -1
  222. package/dist/components/Pagination/index.test.cjs.js +1 -1
  223. package/dist/components/Pagination/index.test.cjs.js.map +1 -1
  224. package/dist/components/Pagination/index.test.es.js +5 -5
  225. package/dist/components/Pagination/index.test.es.js.map +1 -1
  226. package/dist/components/PasswordInputController/index.cjs.js +1 -1
  227. package/dist/components/PasswordInputController/index.cjs.js.map +1 -1
  228. package/dist/components/PasswordInputController/index.es.js +31 -47
  229. package/dist/components/PasswordInputController/index.es.js.map +1 -1
  230. package/dist/components/PasswordInputController/index.test.cjs.js +1 -1
  231. package/dist/components/PasswordInputController/index.test.cjs.js.map +1 -1
  232. package/dist/components/PasswordInputController/index.test.es.js +4 -4
  233. package/dist/components/PasswordInputController/index.test.es.js.map +1 -1
  234. package/dist/components/RadioButton/index.cjs.js +1 -1
  235. package/dist/components/RadioButton/index.es.js +2 -2
  236. package/dist/components/RadioButton/index.test.cjs.js +1 -1
  237. package/dist/components/RadioButton/index.test.cjs.js.map +1 -1
  238. package/dist/components/RadioButton/index.test.es.js +18 -18
  239. package/dist/components/RadioButton/index.test.es.js.map +1 -1
  240. package/dist/components/RadioGroupController/index.cjs.js +1 -1
  241. package/dist/components/RadioGroupController/index.cjs.js.map +1 -1
  242. package/dist/components/RadioGroupController/index.es.js +19 -19
  243. package/dist/components/RadioGroupController/index.es.js.map +1 -1
  244. package/dist/components/RadioGroupController/index.test.cjs.js +1 -1
  245. package/dist/components/RadioGroupController/index.test.cjs.js.map +1 -1
  246. package/dist/components/RadioGroupController/index.test.es.js +4 -4
  247. package/dist/components/RadioGroupController/index.test.es.js.map +1 -1
  248. package/dist/components/RangeDatePicker/index.cjs.js +1 -1
  249. package/dist/components/RangeDatePicker/index.cjs.js.map +1 -1
  250. package/dist/components/RangeDatePicker/index.es.js +12 -11
  251. package/dist/components/RangeDatePicker/index.es.js.map +1 -1
  252. package/dist/components/RangeDatePickerController/index.cjs.js +1 -1
  253. package/dist/components/RangeDatePickerController/index.cjs.js.map +1 -1
  254. package/dist/components/RangeDatePickerController/index.es.js +32 -31
  255. package/dist/components/RangeDatePickerController/index.es.js.map +1 -1
  256. package/dist/components/RangeDatePickerController/index.test.cjs.js +1 -1
  257. package/dist/components/RangeDatePickerController/index.test.cjs.js.map +1 -1
  258. package/dist/components/RangeDatePickerController/index.test.es.js +8 -8
  259. package/dist/components/RangeDatePickerController/index.test.es.js.map +1 -1
  260. package/dist/components/ReportCard/index.cjs.js +1 -1
  261. package/dist/components/ReportCard/index.cjs.js.map +1 -1
  262. package/dist/components/ReportCard/index.es.js +17 -17
  263. package/dist/components/ReportCard/index.es.js.map +1 -1
  264. package/dist/components/ReportCard/index.test.cjs.js +1 -1
  265. package/dist/components/ReportCard/index.test.cjs.js.map +1 -1
  266. package/dist/components/ReportCard/index.test.es.js +8 -8
  267. package/dist/components/ReportCard/index.test.es.js.map +1 -1
  268. package/dist/components/ReportChart/index.cjs.js +1 -1
  269. package/dist/components/ReportChart/index.cjs.js.map +1 -1
  270. package/dist/components/ReportChart/index.es.js +22 -22
  271. package/dist/components/ReportChart/index.es.js.map +1 -1
  272. package/dist/components/ReportChartMulti/index.cjs.js +1 -1
  273. package/dist/components/ReportChartMulti/index.cjs.js.map +1 -1
  274. package/dist/components/ReportChartMulti/index.es.js +26 -26
  275. package/dist/components/ReportChartMulti/index.es.js.map +1 -1
  276. package/dist/components/ReportChartMulti/index.test.cjs.js +1 -1
  277. package/dist/components/ReportChartMulti/index.test.cjs.js.map +1 -1
  278. package/dist/components/ReportChartMulti/index.test.es.js +7 -7
  279. package/dist/components/ReportChartMulti/index.test.es.js.map +1 -1
  280. package/dist/components/ScrollableDialog/index.cjs.js +1 -1
  281. package/dist/components/ScrollableDialog/index.cjs.js.map +1 -1
  282. package/dist/components/ScrollableDialog/index.es.js +15 -15
  283. package/dist/components/ScrollableDialog/index.es.js.map +1 -1
  284. package/dist/components/ScrollableDialog/index.test.cjs.js +1 -1
  285. package/dist/components/ScrollableDialog/index.test.cjs.js.map +1 -1
  286. package/dist/components/ScrollableDialog/index.test.es.js +19 -20
  287. package/dist/components/ScrollableDialog/index.test.es.js.map +1 -1
  288. package/dist/components/SearchForm/index.cjs.js +1 -1
  289. package/dist/components/SearchForm/index.cjs.js.map +1 -1
  290. package/dist/components/SearchForm/index.es.js +39 -48
  291. package/dist/components/SearchForm/index.es.js.map +1 -1
  292. package/dist/components/SelectBox/index.cjs.js +1 -1
  293. package/dist/components/SelectBox/index.es.js +2 -2
  294. package/dist/components/SelectBox/index.test.cjs.js +1 -1
  295. package/dist/components/SelectBox/index.test.cjs.js.map +1 -1
  296. package/dist/components/SelectBox/index.test.es.js +16 -16
  297. package/dist/components/SelectBox/index.test.es.js.map +1 -1
  298. package/dist/components/SelectBoxController/index.cjs.js +1 -1
  299. package/dist/components/SelectBoxController/index.cjs.js.map +1 -1
  300. package/dist/components/SelectBoxController/index.es.js +44 -44
  301. package/dist/components/SelectBoxController/index.es.js.map +1 -1
  302. package/dist/components/SelectBoxController/index.test.cjs.js +1 -1
  303. package/dist/components/SelectBoxController/index.test.cjs.js.map +1 -1
  304. package/dist/components/SelectBoxController/index.test.es.js +12 -12
  305. package/dist/components/SelectBoxController/index.test.es.js.map +1 -1
  306. package/dist/components/SideMenu/index.cjs.js +1 -14
  307. package/dist/components/SideMenu/index.cjs.js.map +1 -1
  308. package/dist/components/SideMenu/index.es.js +61 -1745
  309. package/dist/components/SideMenu/index.es.js.map +1 -1
  310. package/dist/components/SideMenu/index.test.cjs.js +1 -1
  311. package/dist/components/SideMenu/index.test.cjs.js.map +1 -1
  312. package/dist/components/SideMenu/index.test.es.js +11 -11
  313. package/dist/components/SideMenu/index.test.es.js.map +1 -1
  314. package/dist/components/SpinnerButton/index.cjs.js +1 -1
  315. package/dist/components/SpinnerButton/index.cjs.js.map +1 -1
  316. package/dist/components/SpinnerButton/index.es.js +3 -3
  317. package/dist/components/SpinnerButton/index.es.js.map +1 -1
  318. package/dist/components/SpinnerButton/index.test.cjs.js +1 -1
  319. package/dist/components/SpinnerButton/index.test.cjs.js.map +1 -1
  320. package/dist/components/SpinnerButton/index.test.es.js +9 -9
  321. package/dist/components/SpinnerButton/index.test.es.js.map +1 -1
  322. package/dist/components/SubMenu/index.cjs.js +1 -1
  323. package/dist/components/SubMenu/index.cjs.js.map +1 -1
  324. package/dist/components/SubMenu/index.es.js +32 -32
  325. package/dist/components/SubMenu/index.es.js.map +1 -1
  326. package/dist/components/SubMenu/index.test.cjs.js +1 -1
  327. package/dist/components/SubMenu/index.test.cjs.js.map +1 -1
  328. package/dist/components/SubMenu/index.test.es.js +16 -16
  329. package/dist/components/SubMenu/index.test.es.js.map +1 -1
  330. package/dist/components/Tabs/index.cjs.js +1 -1
  331. package/dist/components/Tabs/index.cjs.js.map +1 -1
  332. package/dist/components/Tabs/index.es.js +18 -18
  333. package/dist/components/Tabs/index.es.js.map +1 -1
  334. package/dist/components/Tabs/index.test.cjs.js +1 -1
  335. package/dist/components/Tabs/index.test.cjs.js.map +1 -1
  336. package/dist/components/Tabs/index.test.es.js +13 -13
  337. package/dist/components/Tabs/index.test.es.js.map +1 -1
  338. package/dist/components/Textarea/index.cjs.js +1 -1
  339. package/dist/components/Textarea/index.cjs.js.map +1 -1
  340. package/dist/components/Textarea/index.es.js +15 -15
  341. package/dist/components/Textarea/index.es.js.map +1 -1
  342. package/dist/components/Textarea/index.test.cjs.js +1 -1
  343. package/dist/components/Textarea/index.test.cjs.js.map +1 -1
  344. package/dist/components/Textarea/index.test.es.js +7 -7
  345. package/dist/components/Textarea/index.test.es.js.map +1 -1
  346. package/dist/components/Title/index.cjs.js +1 -1
  347. package/dist/components/Title/index.cjs.js.map +1 -1
  348. package/dist/components/Title/index.es.js +8 -8
  349. package/dist/components/Title/index.es.js.map +1 -1
  350. package/dist/components/Title/index.test.cjs.js +1 -1
  351. package/dist/components/Title/index.test.cjs.js.map +1 -1
  352. package/dist/components/Title/index.test.es.js +6 -6
  353. package/dist/components/Title/index.test.es.js.map +1 -1
  354. package/dist/components/ToggleButton/index.cjs.js +1 -1
  355. package/dist/components/ToggleButton/index.cjs.js.map +1 -1
  356. package/dist/components/ToggleButton/index.es.js +22 -22
  357. package/dist/components/ToggleButton/index.es.js.map +1 -1
  358. package/dist/components/ToggleButton/index.test.cjs.js +1 -1
  359. package/dist/components/ToggleButton/index.test.cjs.js.map +1 -1
  360. package/dist/components/ToggleButton/index.test.es.js +10 -10
  361. package/dist/components/ToggleButton/index.test.es.js.map +1 -1
  362. package/dist/components/VStack/index.cjs.js +1 -1
  363. package/dist/components/VStack/index.cjs.js.map +1 -1
  364. package/dist/components/VStack/index.es.js +3 -3
  365. package/dist/components/VStack/index.es.js.map +1 -1
  366. package/dist/components/VStack/index.test.cjs.js +1 -1
  367. package/dist/components/VStack/index.test.cjs.js.map +1 -1
  368. package/dist/components/VStack/index.test.es.js +8 -8
  369. package/dist/components/VStack/index.test.es.js.map +1 -1
  370. package/dist/index-B663CLQ0.cjs +2 -0
  371. package/dist/{index-DOtVVz6D.cjs.map → index-B663CLQ0.cjs.map} +1 -1
  372. package/dist/{index-DwYqI3bz.cjs → index-BHsZ5xlA.cjs} +2 -2
  373. package/dist/{index-DwYqI3bz.cjs.map → index-BHsZ5xlA.cjs.map} +1 -1
  374. package/dist/{index-DD-KSgEi.cjs → index-BoNIpBs7.cjs} +4 -4
  375. package/dist/{index-DD-KSgEi.cjs.map → index-BoNIpBs7.cjs.map} +1 -1
  376. package/dist/{index-0ocAFlwM.cjs → index-BpMSrIOq.cjs} +2 -2
  377. package/dist/{index-0ocAFlwM.cjs.map → index-BpMSrIOq.cjs.map} +1 -1
  378. package/dist/{index-DgMRcQ1J.js → index-BqN32Ptm.js} +6 -6
  379. package/dist/{index-DgMRcQ1J.js.map → index-BqN32Ptm.js.map} +1 -1
  380. package/dist/{index-CKlK963j.cjs → index-C50NsnJO.cjs} +2 -2
  381. package/dist/{index-CKlK963j.cjs.map → index-C50NsnJO.cjs.map} +1 -1
  382. package/dist/index-CCbJ_2yU.cjs +2 -0
  383. package/dist/{index-CC8i8yVF.cjs.map → index-CCbJ_2yU.cjs.map} +1 -1
  384. package/dist/index-CSiE_l9r.js +51 -0
  385. package/dist/{index-BFpfBoIf.js.map → index-CSiE_l9r.js.map} +1 -1
  386. package/dist/{index-Cm_1lb-3.js → index-D5b3AasF.js} +2 -2
  387. package/dist/{index-Cm_1lb-3.js.map → index-D5b3AasF.js.map} +1 -1
  388. package/dist/{index-BWKwvsbv.js → index-DCSLk6pp.js} +2 -2
  389. package/dist/{index-BWKwvsbv.js.map → index-DCSLk6pp.js.map} +1 -1
  390. package/dist/{index-LAxM3Vwk.js → index-ZP4xL6Dt.js} +3 -3
  391. package/dist/{index-LAxM3Vwk.js.map → index-ZP4xL6Dt.js.map} +1 -1
  392. package/dist/index-pr0ncuNy.js +35 -0
  393. package/dist/{index-B4IV6BB3.js.map → index-pr0ncuNy.js.map} +1 -1
  394. package/dist/index.cjs.js +1 -1
  395. package/dist/index.es.js +90 -87
  396. package/dist/index.es.js.map +1 -1
  397. package/dist/{react.esm-BL1KU4o5.js → react.esm-2FJSSo-S.js} +2829 -3959
  398. package/dist/react.esm-2FJSSo-S.js.map +1 -0
  399. package/dist/react.esm-CiMn0Rnx.cjs +73 -0
  400. package/dist/react.esm-CiMn0Rnx.cjs.map +1 -0
  401. package/package.json +1 -1
  402. package/dist/Clear-CyYcHjou.js +0 -15
  403. package/dist/Clear-CyYcHjou.js.map +0 -1
  404. package/dist/Clear-DsR7N4Q8.cjs +0 -2
  405. package/dist/Clear-DsR7N4Q8.cjs.map +0 -1
  406. package/dist/ExpandMore-BwxQSgiA.js +0 -15
  407. package/dist/ExpandMore-BwxQSgiA.js.map +0 -1
  408. package/dist/ExpandMore-WGCtrXpN.cjs +0 -2
  409. package/dist/ExpandMore-WGCtrXpN.cjs.map +0 -1
  410. package/dist/LocalizationProvider-4-QUqEIG.js +0 -161
  411. package/dist/LocalizationProvider-4-QUqEIG.js.map +0 -1
  412. package/dist/LocalizationProvider-CVNn6-0m.cjs +0 -3
  413. package/dist/LocalizationProvider-CVNn6-0m.cjs.map +0 -1
  414. package/dist/_commonjsHelpers-BkfeUUK-.js +0 -29
  415. package/dist/_commonjsHelpers-BkfeUUK-.js.map +0 -1
  416. package/dist/_commonjsHelpers-DwTZ_eVU.cjs +0 -2
  417. package/dist/_commonjsHelpers-DwTZ_eVU.cjs.map +0 -1
  418. package/dist/createSvgIcon-DO5XgE_n.cjs +0 -28
  419. package/dist/createSvgIcon-DO5XgE_n.cjs.map +0 -1
  420. package/dist/createSvgIcon-DhxOl24O.js +0 -1550
  421. package/dist/createSvgIcon-DhxOl24O.js.map +0 -1
  422. package/dist/extends-GhUDsoav.cjs +0 -2
  423. package/dist/extends-GhUDsoav.cjs.map +0 -1
  424. package/dist/extends-hS2Bh-Yp.js +0 -13
  425. package/dist/extends-hS2Bh-Yp.js.map +0 -1
  426. package/dist/index-B4IV6BB3.js +0 -35
  427. package/dist/index-BFpfBoIf.js +0 -51
  428. package/dist/index-BPja4eo8.cjs +0 -3
  429. package/dist/index-BPja4eo8.cjs.map +0 -1
  430. package/dist/index-CC8i8yVF.cjs +0 -2
  431. package/dist/index-COE1iIM7.cjs +0 -4
  432. package/dist/index-COE1iIM7.cjs.map +0 -1
  433. package/dist/index-DOtVVz6D.cjs +0 -2
  434. package/dist/index-F101coZ0.js +0 -4355
  435. package/dist/index-F101coZ0.js.map +0 -1
  436. package/dist/index-IKsAEDzd.js +0 -369
  437. package/dist/index-IKsAEDzd.js.map +0 -1
  438. package/dist/jsx-runtime-CbmOdJhC.js +0 -616
  439. package/dist/jsx-runtime-CbmOdJhC.js.map +0 -1
  440. package/dist/jsx-runtime-Dajn0hD2.cjs +0 -26
  441. package/dist/jsx-runtime-Dajn0hD2.cjs.map +0 -1
  442. package/dist/link-DvineOMa.js +0 -1880
  443. package/dist/link-DvineOMa.js.map +0 -1
  444. package/dist/link-Dz7XpBNS.cjs +0 -5
  445. package/dist/link-Dz7XpBNS.cjs.map +0 -1
  446. package/dist/react.esm-BL1KU4o5.js.map +0 -1
  447. package/dist/react.esm-DzAzWxXs.cjs +0 -91
  448. package/dist/react.esm-DzAzWxXs.cjs.map +0 -1
  449. package/dist/resolveProps-BbPxVWKC.cjs +0 -43
  450. package/dist/resolveProps-BbPxVWKC.cjs.map +0 -1
  451. package/dist/resolveProps-uiOkGxuE.js +0 -2244
  452. package/dist/resolveProps-uiOkGxuE.js.map +0 -1
@@ -1,1880 +0,0 @@
1
- import { g as Wt } from "./_commonjsHelpers-BkfeUUK-.js";
2
- import { j as Bt } from "./jsx-runtime-CbmOdJhC.js";
3
- import he from "react";
4
- var Be = { exports: {} }, Z = {};
5
- Z._ = Z._interop_require_default = zt;
6
- function zt(r) {
7
- return r && r.__esModule ? r : { default: r };
8
- }
9
- var oe = { exports: {} }, Pe = {}, Je;
10
- function qt() {
11
- return Je || (Je = 1, function(r) {
12
- Object.defineProperty(r, "__esModule", {
13
- value: !0
14
- });
15
- function e(i, n) {
16
- for (var a in n) Object.defineProperty(i, a, {
17
- enumerable: !0,
18
- get: n[a]
19
- });
20
- }
21
- e(r, {
22
- assign: function() {
23
- return o;
24
- },
25
- searchParamsToUrlQuery: function() {
26
- return s;
27
- },
28
- urlQueryToSearchParams: function() {
29
- return t;
30
- }
31
- });
32
- function s(i) {
33
- const n = {};
34
- return i.forEach((a, c) => {
35
- typeof n[c] > "u" ? n[c] = a : Array.isArray(n[c]) ? n[c].push(a) : n[c] = [
36
- n[c],
37
- a
38
- ];
39
- }), n;
40
- }
41
- function u(i) {
42
- return typeof i == "string" || typeof i == "number" && !isNaN(i) || typeof i == "boolean" ? String(i) : "";
43
- }
44
- function t(i) {
45
- const n = new URLSearchParams();
46
- return Object.entries(i).forEach((a) => {
47
- let [c, f] = a;
48
- Array.isArray(f) ? f.forEach((p) => n.append(c, u(p))) : n.set(c, u(f));
49
- }), n;
50
- }
51
- function o(i) {
52
- for (var n = arguments.length, a = new Array(n > 1 ? n - 1 : 0), c = 1; c < n; c++)
53
- a[c - 1] = arguments[c];
54
- return a.forEach((f) => {
55
- Array.from(f.keys()).forEach((p) => i.delete(p)), f.forEach((p, R) => i.append(R, p));
56
- }), i;
57
- }
58
- }(Pe)), Pe;
59
- }
60
- var ve = {}, ze = {};
61
- function Ut(r) {
62
- if (typeof WeakMap != "function") return null;
63
- var e = /* @__PURE__ */ new WeakMap(), s = /* @__PURE__ */ new WeakMap();
64
- return (Ut = function(u) {
65
- return u ? s : e;
66
- })(r);
67
- }
68
- ze._ = ze._interop_require_wildcard = Kt;
69
- function Kt(r, e) {
70
- if (!e && r && r.__esModule) return r;
71
- if (r === null || typeof r != "object" && typeof r != "function") return { default: r };
72
- var s = Ut(e);
73
- if (s && s.has(r)) return s.get(r);
74
- var u = { __proto__: null }, t = Object.defineProperty && Object.getOwnPropertyDescriptor;
75
- for (var o in r)
76
- if (o !== "default" && Object.prototype.hasOwnProperty.call(r, o)) {
77
- var i = t ? Object.getOwnPropertyDescriptor(r, o) : null;
78
- i && (i.get || i.set) ? Object.defineProperty(u, o, i) : u[o] = r[o];
79
- }
80
- return u.default = r, s && s.set(r, u), u;
81
- }
82
- var et;
83
- function xt() {
84
- return et || (et = 1, function(r) {
85
- Object.defineProperty(r, "__esModule", {
86
- value: !0
87
- });
88
- function e(a, c) {
89
- for (var f in c) Object.defineProperty(a, f, {
90
- enumerable: !0,
91
- get: c[f]
92
- });
93
- }
94
- e(r, {
95
- formatUrl: function() {
96
- return o;
97
- },
98
- formatWithValidation: function() {
99
- return n;
100
- },
101
- urlObjectKeys: function() {
102
- return i;
103
- }
104
- });
105
- const u = /* @__PURE__ */ ze._(qt()), t = /https?|ftp|gopher|file/;
106
- function o(a) {
107
- let { auth: c, hostname: f } = a, p = a.protocol || "", R = a.pathname || "", h = a.hash || "", _ = a.query || "", l = !1;
108
- c = c ? encodeURIComponent(c).replace(/%3A/i, ":") + "@" : "", a.host ? l = c + a.host : f && (l = c + (~f.indexOf(":") ? "[" + f + "]" : f), a.port && (l += ":" + a.port)), _ && typeof _ == "object" && (_ = String(u.urlQueryToSearchParams(_)));
109
- let E = a.search || _ && "?" + _ || "";
110
- return p && !p.endsWith(":") && (p += ":"), a.slashes || (!p || t.test(p)) && l !== !1 ? (l = "//" + (l || ""), R && R[0] !== "/" && (R = "/" + R)) : l || (l = ""), h && h[0] !== "#" && (h = "#" + h), E && E[0] !== "?" && (E = "?" + E), R = R.replace(/[?#]/g, encodeURIComponent), E = E.replace("#", "%23"), "" + p + l + R + E + h;
111
- }
112
- const i = [
113
- "auth",
114
- "hash",
115
- "host",
116
- "hostname",
117
- "href",
118
- "path",
119
- "pathname",
120
- "port",
121
- "protocol",
122
- "query",
123
- "search",
124
- "slashes"
125
- ];
126
- function n(a) {
127
- return process.env.NODE_ENV === "development" && a !== null && typeof a == "object" && Object.keys(a).forEach((c) => {
128
- i.includes(c) || console.warn("Unknown key passed via urlObject into url.format: " + c);
129
- }), o(a);
130
- }
131
- }(ve)), ve;
132
- }
133
- var Te = {}, tt;
134
- function Yt() {
135
- return tt || (tt = 1, function(r) {
136
- Object.defineProperty(r, "__esModule", {
137
- value: !0
138
- }), Object.defineProperty(r, "omit", {
139
- enumerable: !0,
140
- get: function() {
141
- return e;
142
- }
143
- });
144
- function e(s, u) {
145
- const t = {};
146
- return Object.keys(s).forEach((o) => {
147
- u.includes(o) || (t[o] = s[o]);
148
- }), t;
149
- }
150
- }(Te)), Te;
151
- }
152
- var Ae = {}, rt;
153
- function Ee() {
154
- return rt || (rt = 1, function(r) {
155
- Object.defineProperty(r, "__esModule", {
156
- value: !0
157
- });
158
- function e(d, m) {
159
- for (var T in m) Object.defineProperty(d, T, {
160
- enumerable: !0,
161
- get: m[T]
162
- });
163
- }
164
- e(r, {
165
- DecodeError: function() {
166
- return _;
167
- },
168
- MiddlewareNotFoundError: function() {
169
- return N;
170
- },
171
- MissingStaticPage: function() {
172
- return A;
173
- },
174
- NormalizeError: function() {
175
- return l;
176
- },
177
- PageNotFoundError: function() {
178
- return E;
179
- },
180
- SP: function() {
181
- return R;
182
- },
183
- ST: function() {
184
- return h;
185
- },
186
- WEB_VITALS: function() {
187
- return s;
188
- },
189
- execOnce: function() {
190
- return u;
191
- },
192
- getDisplayName: function() {
193
- return a;
194
- },
195
- getLocationOrigin: function() {
196
- return i;
197
- },
198
- getURL: function() {
199
- return n;
200
- },
201
- isAbsoluteUrl: function() {
202
- return o;
203
- },
204
- isResSent: function() {
205
- return c;
206
- },
207
- loadGetInitialProps: function() {
208
- return p;
209
- },
210
- normalizeRepeatedSlashes: function() {
211
- return f;
212
- },
213
- stringifyError: function() {
214
- return P;
215
- }
216
- });
217
- const s = [
218
- "CLS",
219
- "FCP",
220
- "FID",
221
- "INP",
222
- "LCP",
223
- "TTFB"
224
- ];
225
- function u(d) {
226
- let m = !1, T;
227
- return function() {
228
- for (var g = arguments.length, v = new Array(g), b = 0; b < g; b++)
229
- v[b] = arguments[b];
230
- return m || (m = !0, T = d(...v)), T;
231
- };
232
- }
233
- const t = /^[a-zA-Z][a-zA-Z\d+\-.]*?:/, o = (d) => t.test(d);
234
- function i() {
235
- const { protocol: d, hostname: m, port: T } = window.location;
236
- return d + "//" + m + (T ? ":" + T : "");
237
- }
238
- function n() {
239
- const { href: d } = window.location, m = i();
240
- return d.substring(m.length);
241
- }
242
- function a(d) {
243
- return typeof d == "string" ? d : d.displayName || d.name || "Unknown";
244
- }
245
- function c(d) {
246
- return d.finished || d.headersSent;
247
- }
248
- function f(d) {
249
- const m = d.split("?");
250
- return m[0].replace(/\\/g, "/").replace(/\/\/+/g, "/") + (m[1] ? "?" + m.slice(1).join("?") : "");
251
- }
252
- async function p(d, m) {
253
- if (process.env.NODE_ENV !== "production") {
254
- var T;
255
- if ((T = d.prototype) != null && T.getInitialProps) {
256
- const b = '"' + a(d) + '.getInitialProps()" is defined as an instance method - visit https://nextjs.org/docs/messages/get-initial-props-as-an-instance-method for more information.';
257
- throw new Error(b);
258
- }
259
- }
260
- const g = m.res || m.ctx && m.ctx.res;
261
- if (!d.getInitialProps)
262
- return m.ctx && m.Component ? {
263
- pageProps: await p(m.Component, m.ctx)
264
- } : {};
265
- const v = await d.getInitialProps(m);
266
- if (g && c(g))
267
- return v;
268
- if (!v) {
269
- const b = '"' + a(d) + '.getInitialProps()" should resolve to an object. But found "' + v + '" instead.';
270
- throw new Error(b);
271
- }
272
- return process.env.NODE_ENV !== "production" && Object.keys(v).length === 0 && !m.ctx && console.warn("" + a(d) + " returned an empty object from `getInitialProps`. This de-optimizes and prevents automatic static optimization. https://nextjs.org/docs/messages/empty-object-getInitialProps"), v;
273
- }
274
- const R = typeof performance < "u", h = R && [
275
- "mark",
276
- "measure",
277
- "getEntriesByName"
278
- ].every((d) => typeof performance[d] == "function");
279
- class _ extends Error {
280
- }
281
- class l extends Error {
282
- }
283
- class E extends Error {
284
- constructor(m) {
285
- super(), this.code = "ENOENT", this.name = "PageNotFoundError", this.message = "Cannot find module for page: " + m;
286
- }
287
- }
288
- class A extends Error {
289
- constructor(m, T) {
290
- super(), this.message = "Failed to load static file for page: " + m + " " + T;
291
- }
292
- }
293
- class N extends Error {
294
- constructor() {
295
- super(), this.code = "ENOENT", this.message = "Cannot find the middleware module";
296
- }
297
- }
298
- function P(d) {
299
- return JSON.stringify({
300
- message: d.message,
301
- stack: d.stack
302
- });
303
- }
304
- }(Ae)), Ae;
305
- }
306
- var ie = { exports: {} }, ye = {}, nt;
307
- function Ht() {
308
- return nt || (nt = 1, function(r) {
309
- Object.defineProperty(r, "__esModule", {
310
- value: !0
311
- }), Object.defineProperty(r, "removeTrailingSlash", {
312
- enumerable: !0,
313
- get: function() {
314
- return e;
315
- }
316
- });
317
- function e(s) {
318
- return s.replace(/\/$/, "") || "/";
319
- }
320
- }(ye)), ye;
321
- }
322
- var Se = {}, ot;
323
- function Ke() {
324
- return ot || (ot = 1, function(r) {
325
- Object.defineProperty(r, "__esModule", {
326
- value: !0
327
- }), Object.defineProperty(r, "parsePath", {
328
- enumerable: !0,
329
- get: function() {
330
- return e;
331
- }
332
- });
333
- function e(s) {
334
- const u = s.indexOf("#"), t = s.indexOf("?"), o = t > -1 && (u < 0 || t < u);
335
- return o || u > -1 ? {
336
- pathname: s.substring(0, o ? t : u),
337
- query: o ? s.substring(t, u > -1 ? u : void 0) : "",
338
- hash: u > -1 ? s.slice(u) : ""
339
- } : {
340
- pathname: s,
341
- query: "",
342
- hash: ""
343
- };
344
- }
345
- }(Se)), Se;
346
- }
347
- var it;
348
- function Re() {
349
- return it || (it = 1, function(r, e) {
350
- Object.defineProperty(e, "__esModule", {
351
- value: !0
352
- }), Object.defineProperty(e, "normalizePathTrailingSlash", {
353
- enumerable: !0,
354
- get: function() {
355
- return t;
356
- }
357
- });
358
- const s = Ht(), u = Ke(), t = (o) => {
359
- if (!o.startsWith("/") || process.env.__NEXT_MANUAL_TRAILING_SLASH)
360
- return o;
361
- const { pathname: i, query: n, hash: a } = (0, u.parsePath)(o);
362
- return process.env.__NEXT_TRAILING_SLASH ? /\.[^/]+\/?$/.test(i) ? "" + (0, s.removeTrailingSlash)(i) + n + a : i.endsWith("/") ? "" + i + n + a : i + "/" + n + a : "" + (0, s.removeTrailingSlash)(i) + n + a;
363
- };
364
- (typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), r.exports = e.default);
365
- }(ie, ie.exports)), ie.exports;
366
- }
367
- var Oe = {}, ae = { exports: {} }, Ne = {}, at;
368
- function Ft() {
369
- return at || (at = 1, function(r) {
370
- Object.defineProperty(r, "__esModule", {
371
- value: !0
372
- }), Object.defineProperty(r, "pathHasPrefix", {
373
- enumerable: !0,
374
- get: function() {
375
- return s;
376
- }
377
- });
378
- const e = Ke();
379
- function s(u, t) {
380
- if (typeof u != "string")
381
- return !1;
382
- const { pathname: o } = (0, e.parsePath)(u);
383
- return o === t || o.startsWith(t + "/");
384
- }
385
- }(Ne)), Ne;
386
- }
387
- var ut;
388
- function $t() {
389
- return ut || (ut = 1, function(r, e) {
390
- Object.defineProperty(e, "__esModule", {
391
- value: !0
392
- }), Object.defineProperty(e, "hasBasePath", {
393
- enumerable: !0,
394
- get: function() {
395
- return t;
396
- }
397
- });
398
- const s = Ft(), u = process.env.__NEXT_ROUTER_BASEPATH || "";
399
- function t(o) {
400
- return (0, s.pathHasPrefix)(o, u);
401
- }
402
- (typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), r.exports = e.default);
403
- }(ae, ae.exports)), ae.exports;
404
- }
405
- var st;
406
- function Gt() {
407
- return st || (st = 1, function(r) {
408
- Object.defineProperty(r, "__esModule", {
409
- value: !0
410
- }), Object.defineProperty(r, "isLocalURL", {
411
- enumerable: !0,
412
- get: function() {
413
- return u;
414
- }
415
- });
416
- const e = Ee(), s = $t();
417
- function u(t) {
418
- if (!(0, e.isAbsoluteUrl)(t)) return !0;
419
- try {
420
- const o = (0, e.getLocationOrigin)(), i = new URL(t, o);
421
- return i.origin === o && (0, s.hasBasePath)(i.pathname);
422
- } catch {
423
- return !1;
424
- }
425
- }
426
- }(Oe)), Oe;
427
- }
428
- var be = {}, Ie = {}, ct;
429
- function Qt() {
430
- return ct || (ct = 1, function(r) {
431
- Object.defineProperty(r, "__esModule", {
432
- value: !0
433
- }), Object.defineProperty(r, "getSortedRoutes", {
434
- enumerable: !0,
435
- get: function() {
436
- return s;
437
- }
438
- });
439
- class e {
440
- insert(t) {
441
- this._insert(t.split("/").filter(Boolean), [], !1);
442
- }
443
- smoosh() {
444
- return this._smoosh();
445
- }
446
- _smoosh(t) {
447
- t === void 0 && (t = "/");
448
- const o = [
449
- ...this.children.keys()
450
- ].sort();
451
- this.slugName !== null && o.splice(o.indexOf("[]"), 1), this.restSlugName !== null && o.splice(o.indexOf("[...]"), 1), this.optionalRestSlugName !== null && o.splice(o.indexOf("[[...]]"), 1);
452
- const i = o.map((n) => this.children.get(n)._smoosh("" + t + n + "/")).reduce((n, a) => [
453
- ...n,
454
- ...a
455
- ], []);
456
- if (this.slugName !== null && i.push(...this.children.get("[]")._smoosh(t + "[" + this.slugName + "]/")), !this.placeholder) {
457
- const n = t === "/" ? "/" : t.slice(0, -1);
458
- if (this.optionalRestSlugName != null)
459
- throw new Error('You cannot define a route with the same specificity as a optional catch-all route ("' + n + '" and "' + n + "[[..." + this.optionalRestSlugName + ']]").');
460
- i.unshift(n);
461
- }
462
- return this.restSlugName !== null && i.push(...this.children.get("[...]")._smoosh(t + "[..." + this.restSlugName + "]/")), this.optionalRestSlugName !== null && i.push(...this.children.get("[[...]]")._smoosh(t + "[[..." + this.optionalRestSlugName + "]]/")), i;
463
- }
464
- _insert(t, o, i) {
465
- if (t.length === 0) {
466
- this.placeholder = !1;
467
- return;
468
- }
469
- if (i)
470
- throw new Error("Catch-all must be the last part of the URL.");
471
- let n = t[0];
472
- if (n.startsWith("[") && n.endsWith("]")) {
473
- let f = function(p, R) {
474
- if (p !== null && p !== R)
475
- throw new Error("You cannot use different slug names for the same dynamic path ('" + p + "' !== '" + R + "').");
476
- o.forEach((h) => {
477
- if (h === R)
478
- throw new Error('You cannot have the same slug name "' + R + '" repeat within a single dynamic path');
479
- if (h.replace(/\W/g, "") === n.replace(/\W/g, ""))
480
- throw new Error('You cannot have the slug names "' + h + '" and "' + R + '" differ only by non-word symbols within a single dynamic path');
481
- }), o.push(R);
482
- }, a = n.slice(1, -1), c = !1;
483
- if (a.startsWith("[") && a.endsWith("]") && (a = a.slice(1, -1), c = !0), a.startsWith("...") && (a = a.substring(3), i = !0), a.startsWith("[") || a.endsWith("]"))
484
- throw new Error("Segment names may not start or end with extra brackets ('" + a + "').");
485
- if (a.startsWith("."))
486
- throw new Error("Segment names may not start with erroneous periods ('" + a + "').");
487
- if (i)
488
- if (c) {
489
- if (this.restSlugName != null)
490
- throw new Error('You cannot use both an required and optional catch-all route at the same level ("[...' + this.restSlugName + ']" and "' + t[0] + '" ).');
491
- f(this.optionalRestSlugName, a), this.optionalRestSlugName = a, n = "[[...]]";
492
- } else {
493
- if (this.optionalRestSlugName != null)
494
- throw new Error('You cannot use both an optional and required catch-all route at the same level ("[[...' + this.optionalRestSlugName + ']]" and "' + t[0] + '").');
495
- f(this.restSlugName, a), this.restSlugName = a, n = "[...]";
496
- }
497
- else {
498
- if (c)
499
- throw new Error('Optional route parameters are not yet supported ("' + t[0] + '").');
500
- f(this.slugName, a), this.slugName = a, n = "[]";
501
- }
502
- }
503
- this.children.has(n) || this.children.set(n, new e()), this.children.get(n)._insert(t.slice(1), o, i);
504
- }
505
- constructor() {
506
- this.placeholder = !0, this.children = /* @__PURE__ */ new Map(), this.slugName = null, this.restSlugName = null, this.optionalRestSlugName = null;
507
- }
508
- }
509
- function s(u) {
510
- const t = new e();
511
- return u.forEach((o) => t.insert(o)), t.smoosh();
512
- }
513
- }(Ie)), Ie;
514
- }
515
- var Ce = {}, Le = {}, we = {}, Me = {}, lt;
516
- function Zt() {
517
- return lt || (lt = 1, function(r) {
518
- Object.defineProperty(r, "__esModule", {
519
- value: !0
520
- }), Object.defineProperty(r, "ensureLeadingSlash", {
521
- enumerable: !0,
522
- get: function() {
523
- return e;
524
- }
525
- });
526
- function e(s) {
527
- return s.startsWith("/") ? s : "/" + s;
528
- }
529
- }(Me)), Me;
530
- }
531
- var je = {}, ft;
532
- function Jt() {
533
- return ft || (ft = 1, function(r) {
534
- Object.defineProperty(r, "__esModule", {
535
- value: !0
536
- });
537
- function e(o, i) {
538
- for (var n in i) Object.defineProperty(o, n, {
539
- enumerable: !0,
540
- get: i[n]
541
- });
542
- }
543
- e(r, {
544
- DEFAULT_SEGMENT_KEY: function() {
545
- return t;
546
- },
547
- PAGE_SEGMENT_KEY: function() {
548
- return u;
549
- },
550
- isGroupSegment: function() {
551
- return s;
552
- }
553
- });
554
- function s(o) {
555
- return o[0] === "(" && o.endsWith(")");
556
- }
557
- const u = "__PAGE__", t = "__DEFAULT__";
558
- }(je)), je;
559
- }
560
- var dt;
561
- function er() {
562
- return dt || (dt = 1, function(r) {
563
- Object.defineProperty(r, "__esModule", {
564
- value: !0
565
- });
566
- function e(i, n) {
567
- for (var a in n) Object.defineProperty(i, a, {
568
- enumerable: !0,
569
- get: n[a]
570
- });
571
- }
572
- e(r, {
573
- normalizeAppPath: function() {
574
- return t;
575
- },
576
- normalizeRscURL: function() {
577
- return o;
578
- }
579
- });
580
- const s = Zt(), u = Jt();
581
- function t(i) {
582
- return (0, s.ensureLeadingSlash)(i.split("/").reduce((n, a, c, f) => !a || (0, u.isGroupSegment)(a) || a[0] === "@" || (a === "page" || a === "route") && c === f.length - 1 ? n : n + "/" + a, ""));
583
- }
584
- function o(i) {
585
- return i.replace(
586
- /\.rsc($|\?)/,
587
- // $1 ensures `?` is preserved
588
- "$1"
589
- );
590
- }
591
- }(we)), we;
592
- }
593
- var _t;
594
- function Xt() {
595
- return _t || (_t = 1, function(r) {
596
- Object.defineProperty(r, "__esModule", {
597
- value: !0
598
- });
599
- function e(i, n) {
600
- for (var a in n) Object.defineProperty(i, a, {
601
- enumerable: !0,
602
- get: n[a]
603
- });
604
- }
605
- e(r, {
606
- INTERCEPTION_ROUTE_MARKERS: function() {
607
- return u;
608
- },
609
- extractInterceptionRouteInformation: function() {
610
- return o;
611
- },
612
- isInterceptionRouteAppPath: function() {
613
- return t;
614
- }
615
- });
616
- const s = er(), u = [
617
- "(..)(..)",
618
- "(.)",
619
- "(..)",
620
- "(...)"
621
- ];
622
- function t(i) {
623
- return i.split("/").find((n) => u.find((a) => n.startsWith(a))) !== void 0;
624
- }
625
- function o(i) {
626
- let n, a, c;
627
- for (const f of i.split("/"))
628
- if (a = u.find((p) => f.startsWith(p)), a) {
629
- [n, c] = i.split(a, 2);
630
- break;
631
- }
632
- if (!n || !a || !c)
633
- throw new Error(`Invalid interception route: ${i}. Must be in the format /<intercepting route>/(..|...|..)(..)/<intercepted route>`);
634
- switch (n = (0, s.normalizeAppPath)(n), a) {
635
- case "(.)":
636
- n === "/" ? c = `/${c}` : c = n + "/" + c;
637
- break;
638
- case "(..)":
639
- if (n === "/")
640
- throw new Error(`Invalid interception route: ${i}. Cannot use (..) marker at the root level, use (.) instead.`);
641
- c = n.split("/").slice(0, -1).concat(c).join("/");
642
- break;
643
- case "(...)":
644
- c = "/" + c;
645
- break;
646
- case "(..)(..)":
647
- const f = n.split("/");
648
- if (f.length <= 2)
649
- throw new Error(`Invalid interception route: ${i}. Cannot use (..)(..) marker at the root level or one level up.`);
650
- c = f.slice(0, -2).concat(c).join("/");
651
- break;
652
- default:
653
- throw new Error("Invariant: unexpected marker");
654
- }
655
- return {
656
- interceptingRoute: n,
657
- interceptedRoute: c
658
- };
659
- }
660
- }(Le)), Le;
661
- }
662
- var pt;
663
- function tr() {
664
- return pt || (pt = 1, function(r) {
665
- Object.defineProperty(r, "__esModule", {
666
- value: !0
667
- }), Object.defineProperty(r, "isDynamicRoute", {
668
- enumerable: !0,
669
- get: function() {
670
- return u;
671
- }
672
- });
673
- const e = Xt(), s = /\/\[[^/]+?\](?=\/|$)/;
674
- function u(t) {
675
- return (0, e.isInterceptionRouteAppPath)(t) && (t = (0, e.extractInterceptionRouteInformation)(t).interceptedRoute), s.test(t);
676
- }
677
- }(Ce)), Ce;
678
- }
679
- var ht;
680
- function rr() {
681
- return ht || (ht = 1, function(r) {
682
- Object.defineProperty(r, "__esModule", {
683
- value: !0
684
- });
685
- function e(t, o) {
686
- for (var i in o) Object.defineProperty(t, i, {
687
- enumerable: !0,
688
- get: o[i]
689
- });
690
- }
691
- e(r, {
692
- getSortedRoutes: function() {
693
- return s.getSortedRoutes;
694
- },
695
- isDynamicRoute: function() {
696
- return u.isDynamicRoute;
697
- }
698
- });
699
- const s = Qt(), u = tr();
700
- }(be)), be;
701
- }
702
- var De = {}, qe = {}, Et;
703
- function nr() {
704
- return Et || (Et = 1, function(r) {
705
- Object.defineProperty(r, "__esModule", {
706
- value: !0
707
- }), Object.defineProperty(r, "getRouteMatcher", {
708
- enumerable: !0,
709
- get: function() {
710
- return s;
711
- }
712
- });
713
- const e = Ee();
714
- function s(u) {
715
- let { re: t, groups: o } = u;
716
- return (i) => {
717
- const n = t.exec(i);
718
- if (!n)
719
- return !1;
720
- const a = (f) => {
721
- try {
722
- return decodeURIComponent(f);
723
- } catch {
724
- throw new e.DecodeError("failed to decode param");
725
- }
726
- }, c = {};
727
- return Object.keys(o).forEach((f) => {
728
- const p = o[f], R = n[p.pos];
729
- R !== void 0 && (c[f] = ~R.indexOf("/") ? R.split("/").map((h) => a(h)) : p.repeat ? [
730
- a(R)
731
- ] : a(R));
732
- }), c;
733
- };
734
- }
735
- }(qe)), qe;
736
- }
737
- var Ue = {}, xe = {}, Rt;
738
- function or() {
739
- return Rt || (Rt = 1, function(r) {
740
- Object.defineProperty(r, "__esModule", {
741
- value: !0
742
- });
743
- function e(re, L) {
744
- for (var G in L) Object.defineProperty(re, G, {
745
- enumerable: !0,
746
- get: L[G]
747
- });
748
- }
749
- e(r, {
750
- ACTION_SUFFIX: function() {
751
- return a;
752
- },
753
- APP_DIR_ALIAS: function() {
754
- return w;
755
- },
756
- CACHE_ONE_YEAR: function() {
757
- return d;
758
- },
759
- DOT_NEXT_ALIAS: function() {
760
- return b;
761
- },
762
- ESLINT_DEFAULT_DIRS: function() {
763
- return B;
764
- },
765
- GSP_NO_RETURNED_VALUE: function() {
766
- return D;
767
- },
768
- GSSP_COMPONENT_MEMBER_ERROR: function() {
769
- return ge;
770
- },
771
- GSSP_NO_RETURNED_VALUE: function() {
772
- return me;
773
- },
774
- INSTRUMENTATION_HOOK_FILENAME: function() {
775
- return g;
776
- },
777
- MIDDLEWARE_FILENAME: function() {
778
- return m;
779
- },
780
- MIDDLEWARE_LOCATION_REGEXP: function() {
781
- return T;
782
- },
783
- NEXT_BODY_SUFFIX: function() {
784
- return p;
785
- },
786
- NEXT_CACHE_IMPLICIT_TAG_ID: function() {
787
- return P;
788
- },
789
- NEXT_CACHE_REVALIDATED_TAGS_HEADER: function() {
790
- return _;
791
- },
792
- NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER: function() {
793
- return l;
794
- },
795
- NEXT_CACHE_SOFT_TAGS_HEADER: function() {
796
- return h;
797
- },
798
- NEXT_CACHE_SOFT_TAG_MAX_LENGTH: function() {
799
- return N;
800
- },
801
- NEXT_CACHE_TAGS_HEADER: function() {
802
- return R;
803
- },
804
- NEXT_CACHE_TAG_MAX_ITEMS: function() {
805
- return E;
806
- },
807
- NEXT_CACHE_TAG_MAX_LENGTH: function() {
808
- return A;
809
- },
810
- NEXT_DATA_SUFFIX: function() {
811
- return c;
812
- },
813
- NEXT_INTERCEPTION_MARKER_PREFIX: function() {
814
- return u;
815
- },
816
- NEXT_META_SUFFIX: function() {
817
- return f;
818
- },
819
- NEXT_QUERY_PARAM_PREFIX: function() {
820
- return s;
821
- },
822
- NON_STANDARD_NODE_ENV: function() {
823
- return U;
824
- },
825
- PAGES_DIR_ALIAS: function() {
826
- return v;
827
- },
828
- PRERENDER_REVALIDATE_HEADER: function() {
829
- return t;
830
- },
831
- PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER: function() {
832
- return o;
833
- },
834
- PUBLIC_DIR_MIDDLEWARE_CONFLICT: function() {
835
- return J;
836
- },
837
- ROOT_DIR_ALIAS: function() {
838
- return I;
839
- },
840
- RSC_ACTION_CLIENT_WRAPPER_ALIAS: function() {
841
- return Y;
842
- },
843
- RSC_ACTION_ENCRYPTION_ALIAS: function() {
844
- return F;
845
- },
846
- RSC_ACTION_PROXY_ALIAS: function() {
847
- return H;
848
- },
849
- RSC_ACTION_VALIDATE_ALIAS: function() {
850
- return V;
851
- },
852
- RSC_MOD_REF_PROXY_ALIAS: function() {
853
- return j;
854
- },
855
- RSC_PREFETCH_SUFFIX: function() {
856
- return i;
857
- },
858
- RSC_SUFFIX: function() {
859
- return n;
860
- },
861
- SERVER_PROPS_EXPORT_ERROR: function() {
862
- return ee;
863
- },
864
- SERVER_PROPS_GET_INIT_PROPS_CONFLICT: function() {
865
- return q;
866
- },
867
- SERVER_PROPS_SSG_CONFLICT: function() {
868
- return $;
869
- },
870
- SERVER_RUNTIME: function() {
871
- return z;
872
- },
873
- SSG_FALLBACK_EXPORT_ERROR: function() {
874
- return x;
875
- },
876
- SSG_GET_INITIAL_PROPS_CONFLICT: function() {
877
- return W;
878
- },
879
- STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR: function() {
880
- return Q;
881
- },
882
- UNSTABLE_REVALIDATE_RENAME_ERROR: function() {
883
- return C;
884
- },
885
- WEBPACK_LAYERS: function() {
886
- return M;
887
- },
888
- WEBPACK_RESOURCE_QUERIES: function() {
889
- return te;
890
- }
891
- });
892
- const s = "nxtP", u = "nxtI", t = "x-prerender-revalidate", o = "x-prerender-revalidate-if-generated", i = ".prefetch.rsc", n = ".rsc", a = ".action", c = ".json", f = ".meta", p = ".body", R = "x-next-cache-tags", h = "x-next-cache-soft-tags", _ = "x-next-revalidated-tags", l = "x-next-revalidate-tag-token", E = 128, A = 256, N = 1024, P = "_N_T_", d = 31536e3, m = "middleware", T = `(?:src/)?${m}`, g = "instrumentation", v = "private-next-pages", b = "private-dot-next", I = "private-next-root-dir", w = "private-next-app-dir", j = "private-next-rsc-mod-ref-proxy", V = "private-next-rsc-action-validate", H = "private-next-rsc-server-reference", F = "private-next-rsc-action-encryption", Y = "private-next-rsc-action-client-wrapper", J = "You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict", W = "You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps", q = "You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.", $ = "You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps", Q = "can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props", ee = "pages with `getServerSideProps` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export", D = "Your `getStaticProps` function did not return an object. Did you forget to add a `return`?", me = "Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?", C = "The `unstable_revalidate` property is available for general use.\nPlease use `revalidate` instead.", ge = "can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member", U = 'You are using a non-standard "NODE_ENV" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env', x = "Pages with `fallback` enabled in `getStaticPaths` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export", B = [
893
- "app",
894
- "pages",
895
- "components",
896
- "lib",
897
- "src"
898
- ], z = {
899
- edge: "edge",
900
- experimentalEdge: "experimental-edge",
901
- nodejs: "nodejs"
902
- }, O = {
903
- /**
904
- * The layer for the shared code between the client and server bundles.
905
- */
906
- shared: "shared",
907
- /**
908
- * React Server Components layer (rsc).
909
- */
910
- reactServerComponents: "rsc",
911
- /**
912
- * Server Side Rendering layer for app (ssr).
913
- */
914
- serverSideRendering: "ssr",
915
- /**
916
- * The browser client bundle layer for actions.
917
- */
918
- actionBrowser: "action-browser",
919
- /**
920
- * The layer for the API routes.
921
- */
922
- api: "api",
923
- /**
924
- * The layer for the middleware code.
925
- */
926
- middleware: "middleware",
927
- /**
928
- * The layer for the instrumentation hooks.
929
- */
930
- instrument: "instrument",
931
- /**
932
- * The layer for assets on the edge.
933
- */
934
- edgeAsset: "edge-asset",
935
- /**
936
- * The browser client bundle layer for App directory.
937
- */
938
- appPagesBrowser: "app-pages-browser",
939
- /**
940
- * The server bundle layer for metadata routes.
941
- */
942
- appMetadataRoute: "app-metadata-route",
943
- /**
944
- * The layer for the server bundle for App Route handlers.
945
- */
946
- appRouteHandler: "app-route-handler"
947
- }, M = {
948
- ...O,
949
- GROUP: {
950
- serverOnly: [
951
- O.reactServerComponents,
952
- O.actionBrowser,
953
- O.appMetadataRoute,
954
- O.appRouteHandler,
955
- O.instrument
956
- ],
957
- clientOnly: [
958
- O.serverSideRendering,
959
- O.appPagesBrowser
960
- ],
961
- nonClientServerTarget: [
962
- // middleware and pages api
963
- O.middleware,
964
- O.api
965
- ],
966
- app: [
967
- O.reactServerComponents,
968
- O.actionBrowser,
969
- O.appMetadataRoute,
970
- O.appRouteHandler,
971
- O.serverSideRendering,
972
- O.appPagesBrowser,
973
- O.shared,
974
- O.instrument
975
- ]
976
- }
977
- }, te = {
978
- edgeSSREntry: "__next_edge_ssr_entry__",
979
- metadata: "__next_metadata__",
980
- metadataRoute: "__next_metadata_route__",
981
- metadataImageMeta: "__next_metadata_image_meta__"
982
- };
983
- }(xe)), xe;
984
- }
985
- var He = {}, mt;
986
- function ir() {
987
- return mt || (mt = 1, function(r) {
988
- Object.defineProperty(r, "__esModule", {
989
- value: !0
990
- }), Object.defineProperty(r, "escapeStringRegexp", {
991
- enumerable: !0,
992
- get: function() {
993
- return u;
994
- }
995
- });
996
- const e = /[|\\{}()[\]^$+*?.-]/, s = /[|\\{}()[\]^$+*?.-]/g;
997
- function u(t) {
998
- return e.test(t) ? t.replace(s, "\\$&") : t;
999
- }
1000
- }(He)), He;
1001
- }
1002
- var gt;
1003
- function ar() {
1004
- return gt || (gt = 1, function(r) {
1005
- Object.defineProperty(r, "__esModule", {
1006
- value: !0
1007
- });
1008
- function e(_, l) {
1009
- for (var E in l) Object.defineProperty(_, E, {
1010
- enumerable: !0,
1011
- get: l[E]
1012
- });
1013
- }
1014
- e(r, {
1015
- getNamedMiddlewareRegex: function() {
1016
- return h;
1017
- },
1018
- getNamedRouteRegex: function() {
1019
- return R;
1020
- },
1021
- getRouteRegex: function() {
1022
- return a;
1023
- },
1024
- parseParameter: function() {
1025
- return i;
1026
- }
1027
- });
1028
- const s = or(), u = Xt(), t = ir(), o = Ht();
1029
- function i(_) {
1030
- const l = _.startsWith("[") && _.endsWith("]");
1031
- l && (_ = _.slice(1, -1));
1032
- const E = _.startsWith("...");
1033
- return E && (_ = _.slice(3)), {
1034
- key: _,
1035
- repeat: E,
1036
- optional: l
1037
- };
1038
- }
1039
- function n(_) {
1040
- const l = (0, o.removeTrailingSlash)(_).slice(1).split("/"), E = {};
1041
- let A = 1;
1042
- return {
1043
- parameterizedRoute: l.map((N) => {
1044
- const P = u.INTERCEPTION_ROUTE_MARKERS.find((m) => N.startsWith(m)), d = N.match(/\[((?:\[.*\])|.+)\]/);
1045
- if (P && d) {
1046
- const { key: m, optional: T, repeat: g } = i(d[1]);
1047
- return E[m] = {
1048
- pos: A++,
1049
- repeat: g,
1050
- optional: T
1051
- }, "/" + (0, t.escapeStringRegexp)(P) + "([^/]+?)";
1052
- } else if (d) {
1053
- const { key: m, repeat: T, optional: g } = i(d[1]);
1054
- return E[m] = {
1055
- pos: A++,
1056
- repeat: T,
1057
- optional: g
1058
- }, T ? g ? "(?:/(.+?))?" : "/(.+?)" : "/([^/]+?)";
1059
- } else
1060
- return "/" + (0, t.escapeStringRegexp)(N);
1061
- }).join(""),
1062
- groups: E
1063
- };
1064
- }
1065
- function a(_) {
1066
- const { parameterizedRoute: l, groups: E } = n(_);
1067
- return {
1068
- re: new RegExp("^" + l + "(?:/)?$"),
1069
- groups: E
1070
- };
1071
- }
1072
- function c() {
1073
- let _ = 0;
1074
- return () => {
1075
- let l = "", E = ++_;
1076
- for (; E > 0; )
1077
- l += String.fromCharCode(97 + (E - 1) % 26), E = Math.floor((E - 1) / 26);
1078
- return l;
1079
- };
1080
- }
1081
- function f(_) {
1082
- let { interceptionMarker: l, getSafeRouteKey: E, segment: A, routeKeys: N, keyPrefix: P } = _;
1083
- const { key: d, optional: m, repeat: T } = i(A);
1084
- let g = d.replace(/\W/g, "");
1085
- P && (g = "" + P + g);
1086
- let v = !1;
1087
- (g.length === 0 || g.length > 30) && (v = !0), isNaN(parseInt(g.slice(0, 1))) || (v = !0), v && (g = E()), P ? N[g] = "" + P + d : N[g] = d;
1088
- const b = l ? (0, t.escapeStringRegexp)(l) : "";
1089
- return T ? m ? "(?:/" + b + "(?<" + g + ">.+?))?" : "/" + b + "(?<" + g + ">.+?)" : "/" + b + "(?<" + g + ">[^/]+?)";
1090
- }
1091
- function p(_, l) {
1092
- const E = (0, o.removeTrailingSlash)(_).slice(1).split("/"), A = c(), N = {};
1093
- return {
1094
- namedParameterizedRoute: E.map((P) => {
1095
- const d = u.INTERCEPTION_ROUTE_MARKERS.some((T) => P.startsWith(T)), m = P.match(/\[((?:\[.*\])|.+)\]/);
1096
- if (d && m) {
1097
- const [T] = P.split(m[0]);
1098
- return f({
1099
- getSafeRouteKey: A,
1100
- interceptionMarker: T,
1101
- segment: m[1],
1102
- routeKeys: N,
1103
- keyPrefix: l ? s.NEXT_INTERCEPTION_MARKER_PREFIX : void 0
1104
- });
1105
- } else return m ? f({
1106
- getSafeRouteKey: A,
1107
- segment: m[1],
1108
- routeKeys: N,
1109
- keyPrefix: l ? s.NEXT_QUERY_PARAM_PREFIX : void 0
1110
- }) : "/" + (0, t.escapeStringRegexp)(P);
1111
- }).join(""),
1112
- routeKeys: N
1113
- };
1114
- }
1115
- function R(_, l) {
1116
- const E = p(_, l);
1117
- return {
1118
- ...a(_),
1119
- namedRegex: "^" + E.namedParameterizedRoute + "(?:/)?$",
1120
- routeKeys: E.routeKeys
1121
- };
1122
- }
1123
- function h(_, l) {
1124
- const { parameterizedRoute: E } = n(_), { catchAll: A = !0 } = l;
1125
- if (E === "/")
1126
- return {
1127
- namedRegex: "^/" + (A ? ".*" : "") + "$"
1128
- };
1129
- const { namedParameterizedRoute: N } = p(_, !1);
1130
- let P = A ? "(?:(/.*)?)" : "";
1131
- return {
1132
- namedRegex: "^" + N + P + "$"
1133
- };
1134
- }
1135
- }(Ue)), Ue;
1136
- }
1137
- var Pt;
1138
- function ur() {
1139
- return Pt || (Pt = 1, function(r) {
1140
- Object.defineProperty(r, "__esModule", {
1141
- value: !0
1142
- }), Object.defineProperty(r, "interpolateAs", {
1143
- enumerable: !0,
1144
- get: function() {
1145
- return u;
1146
- }
1147
- });
1148
- const e = nr(), s = ar();
1149
- function u(t, o, i) {
1150
- let n = "";
1151
- const a = (0, s.getRouteRegex)(t), c = a.groups, f = (
1152
- // Try to match the dynamic route against the asPath
1153
- (o !== t ? (0, e.getRouteMatcher)(a)(o) : "") || // Fall back to reading the values from the href
1154
- // TODO: should this take priority; also need to change in the router.
1155
- i
1156
- );
1157
- n = t;
1158
- const p = Object.keys(c);
1159
- return p.every((R) => {
1160
- let h = f[R] || "";
1161
- const { repeat: _, optional: l } = c[R];
1162
- let E = "[" + (_ ? "..." : "") + R + "]";
1163
- return l && (E = (h ? "" : "/") + "[" + E + "]"), _ && !Array.isArray(h) && (h = [
1164
- h
1165
- ]), (l || R in f) && // Interpolate group into data URL if present
1166
- (n = n.replace(E, _ ? h.map(
1167
- // these values should be fully encoded instead of just
1168
- // path delimiter escaped since they are being inserted
1169
- // into the URL and we expect URL encoded segments
1170
- // when parsing dynamic route params
1171
- (A) => encodeURIComponent(A)
1172
- ).join("/") : encodeURIComponent(h)) || "/");
1173
- }) || (n = ""), {
1174
- params: p,
1175
- result: n
1176
- };
1177
- }
1178
- }(De)), De;
1179
- }
1180
- var vt;
1181
- function sr() {
1182
- return vt || (vt = 1, function(r, e) {
1183
- Object.defineProperty(e, "__esModule", {
1184
- value: !0
1185
- }), Object.defineProperty(e, "resolveHref", {
1186
- enumerable: !0,
1187
- get: function() {
1188
- return f;
1189
- }
1190
- });
1191
- const s = qt(), u = xt(), t = Yt(), o = Ee(), i = Re(), n = Gt(), a = rr(), c = ur();
1192
- function f(p, R, h) {
1193
- let _, l = typeof R == "string" ? R : (0, u.formatWithValidation)(R);
1194
- const E = l.match(/^[a-zA-Z]{1,}:\/\//), A = E ? l.slice(E[0].length) : l;
1195
- if ((A.split("?", 1)[0] || "").match(/(\/\/|\\)/)) {
1196
- console.error("Invalid href '" + l + "' passed to next/router in page: '" + p.pathname + "'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");
1197
- const P = (0, o.normalizeRepeatedSlashes)(A);
1198
- l = (E ? E[0] : "") + P;
1199
- }
1200
- if (!(0, n.isLocalURL)(l))
1201
- return h ? [
1202
- l
1203
- ] : l;
1204
- try {
1205
- _ = new URL(l.startsWith("#") ? p.asPath : p.pathname, "http://n");
1206
- } catch {
1207
- _ = new URL("/", "http://n");
1208
- }
1209
- try {
1210
- const P = new URL(l, _);
1211
- P.pathname = (0, i.normalizePathTrailingSlash)(P.pathname);
1212
- let d = "";
1213
- if ((0, a.isDynamicRoute)(P.pathname) && P.searchParams && h) {
1214
- const T = (0, s.searchParamsToUrlQuery)(P.searchParams), { result: g, params: v } = (0, c.interpolateAs)(P.pathname, P.pathname, T);
1215
- g && (d = (0, u.formatWithValidation)({
1216
- pathname: g,
1217
- hash: P.hash,
1218
- query: (0, t.omit)(T, v)
1219
- }));
1220
- }
1221
- const m = P.origin === _.origin ? P.href.slice(P.origin.length) : P.href;
1222
- return h ? [
1223
- m,
1224
- d || m
1225
- ] : m;
1226
- } catch {
1227
- return h ? [
1228
- l
1229
- ] : l;
1230
- }
1231
- }
1232
- (typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), r.exports = e.default);
1233
- }(oe, oe.exports)), oe.exports;
1234
- }
1235
- var ue = { exports: {} }, Fe = {}, Ge = {}, Tt;
1236
- function kt() {
1237
- return Tt || (Tt = 1, function(r) {
1238
- Object.defineProperty(r, "__esModule", {
1239
- value: !0
1240
- }), Object.defineProperty(r, "addPathPrefix", {
1241
- enumerable: !0,
1242
- get: function() {
1243
- return s;
1244
- }
1245
- });
1246
- const e = Ke();
1247
- function s(u, t) {
1248
- if (!u.startsWith("/") || !t)
1249
- return u;
1250
- const { pathname: o, query: i, hash: n } = (0, e.parsePath)(u);
1251
- return "" + t + o + i + n;
1252
- }
1253
- }(Ge)), Ge;
1254
- }
1255
- var At;
1256
- function cr() {
1257
- return At || (At = 1, function(r) {
1258
- Object.defineProperty(r, "__esModule", {
1259
- value: !0
1260
- }), Object.defineProperty(r, "addLocale", {
1261
- enumerable: !0,
1262
- get: function() {
1263
- return u;
1264
- }
1265
- });
1266
- const e = kt(), s = Ft();
1267
- function u(t, o, i, n) {
1268
- if (!o || o === i) return t;
1269
- const a = t.toLowerCase();
1270
- return !n && ((0, s.pathHasPrefix)(a, "/api") || (0, s.pathHasPrefix)(a, "/" + o.toLowerCase())) ? t : (0, e.addPathPrefix)(t, "/" + o);
1271
- }
1272
- }(Fe)), Fe;
1273
- }
1274
- var yt;
1275
- function lr() {
1276
- return yt || (yt = 1, function(r, e) {
1277
- Object.defineProperty(e, "__esModule", {
1278
- value: !0
1279
- }), Object.defineProperty(e, "addLocale", {
1280
- enumerable: !0,
1281
- get: function() {
1282
- return u;
1283
- }
1284
- });
1285
- const s = Re(), u = function(t) {
1286
- for (var o = arguments.length, i = new Array(o > 1 ? o - 1 : 0), n = 1; n < o; n++)
1287
- i[n - 1] = arguments[n];
1288
- return process.env.__NEXT_I18N_SUPPORT ? (0, s.normalizePathTrailingSlash)(cr().addLocale(t, ...i)) : t;
1289
- };
1290
- (typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), r.exports = e.default);
1291
- }(ue, ue.exports)), ue.exports;
1292
- }
1293
- var Xe = {}, St;
1294
- function fr() {
1295
- return St || (St = 1, function(r) {
1296
- Object.defineProperty(r, "__esModule", {
1297
- value: !0
1298
- }), Object.defineProperty(r, "RouterContext", {
1299
- enumerable: !0,
1300
- get: function() {
1301
- return u;
1302
- }
1303
- });
1304
- const u = (/* @__PURE__ */ Z._(he)).default.createContext(null);
1305
- process.env.NODE_ENV !== "production" && (u.displayName = "RouterContext");
1306
- }(Xe)), Xe;
1307
- }
1308
- var ke = {}, Ot;
1309
- function dr() {
1310
- return Ot || (Ot = 1, function(r) {
1311
- "use client";
1312
- Object.defineProperty(r, "__esModule", {
1313
- value: !0
1314
- });
1315
- function e(c, f) {
1316
- for (var p in f) Object.defineProperty(c, p, {
1317
- enumerable: !0,
1318
- get: f[p]
1319
- });
1320
- }
1321
- e(r, {
1322
- AppRouterContext: function() {
1323
- return t;
1324
- },
1325
- GlobalLayoutRouterContext: function() {
1326
- return i;
1327
- },
1328
- LayoutRouterContext: function() {
1329
- return o;
1330
- },
1331
- MissingSlotContext: function() {
1332
- return a;
1333
- },
1334
- TemplateContext: function() {
1335
- return n;
1336
- }
1337
- });
1338
- const u = /* @__PURE__ */ Z._(he), t = u.default.createContext(null), o = u.default.createContext(null), i = u.default.createContext(null), n = u.default.createContext(null);
1339
- process.env.NODE_ENV !== "production" && (t.displayName = "AppRouterContext", o.displayName = "LayoutRouterContext", i.displayName = "GlobalLayoutRouterContext", n.displayName = "TemplateContext");
1340
- const a = u.default.createContext(/* @__PURE__ */ new Set());
1341
- }(ke)), ke;
1342
- }
1343
- var se = { exports: {} }, ce = { exports: {} }, Nt;
1344
- function _r() {
1345
- return Nt || (Nt = 1, function(r, e) {
1346
- Object.defineProperty(e, "__esModule", {
1347
- value: !0
1348
- });
1349
- function s(o, i) {
1350
- for (var n in i) Object.defineProperty(o, n, {
1351
- enumerable: !0,
1352
- get: i[n]
1353
- });
1354
- }
1355
- s(e, {
1356
- cancelIdleCallback: function() {
1357
- return t;
1358
- },
1359
- requestIdleCallback: function() {
1360
- return u;
1361
- }
1362
- });
1363
- const u = typeof self < "u" && self.requestIdleCallback && self.requestIdleCallback.bind(window) || function(o) {
1364
- let i = Date.now();
1365
- return self.setTimeout(function() {
1366
- o({
1367
- didTimeout: !1,
1368
- timeRemaining: function() {
1369
- return Math.max(0, 50 - (Date.now() - i));
1370
- }
1371
- });
1372
- }, 1);
1373
- }, t = typeof self < "u" && self.cancelIdleCallback && self.cancelIdleCallback.bind(window) || function(o) {
1374
- return clearTimeout(o);
1375
- };
1376
- (typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), r.exports = e.default);
1377
- }(ce, ce.exports)), ce.exports;
1378
- }
1379
- var bt;
1380
- function pr() {
1381
- return bt || (bt = 1, function(r, e) {
1382
- Object.defineProperty(e, "__esModule", {
1383
- value: !0
1384
- }), Object.defineProperty(e, "useIntersection", {
1385
- enumerable: !0,
1386
- get: function() {
1387
- return c;
1388
- }
1389
- });
1390
- const s = he, u = _r(), t = typeof IntersectionObserver == "function", o = /* @__PURE__ */ new Map(), i = [];
1391
- function n(f) {
1392
- const p = {
1393
- root: f.root || null,
1394
- margin: f.rootMargin || ""
1395
- }, R = i.find((E) => E.root === p.root && E.margin === p.margin);
1396
- let h;
1397
- if (R && (h = o.get(R), h))
1398
- return h;
1399
- const _ = /* @__PURE__ */ new Map(), l = new IntersectionObserver((E) => {
1400
- E.forEach((A) => {
1401
- const N = _.get(A.target), P = A.isIntersecting || A.intersectionRatio > 0;
1402
- N && P && N(P);
1403
- });
1404
- }, f);
1405
- return h = {
1406
- id: p,
1407
- observer: l,
1408
- elements: _
1409
- }, i.push(p), o.set(p, h), h;
1410
- }
1411
- function a(f, p, R) {
1412
- const { id: h, observer: _, elements: l } = n(R);
1413
- return l.set(f, p), _.observe(f), function() {
1414
- if (l.delete(f), _.unobserve(f), l.size === 0) {
1415
- _.disconnect(), o.delete(h);
1416
- const A = i.findIndex((N) => N.root === h.root && N.margin === h.margin);
1417
- A > -1 && i.splice(A, 1);
1418
- }
1419
- };
1420
- }
1421
- function c(f) {
1422
- let { rootRef: p, rootMargin: R, disabled: h } = f;
1423
- const _ = h || !t, [l, E] = (0, s.useState)(!1), A = (0, s.useRef)(null), N = (0, s.useCallback)((d) => {
1424
- A.current = d;
1425
- }, []);
1426
- (0, s.useEffect)(() => {
1427
- if (t) {
1428
- if (_ || l) return;
1429
- const d = A.current;
1430
- if (d && d.tagName)
1431
- return a(d, (T) => T && E(T), {
1432
- root: p == null ? void 0 : p.current,
1433
- rootMargin: R
1434
- });
1435
- } else if (!l) {
1436
- const d = (0, u.requestIdleCallback)(() => E(!0));
1437
- return () => (0, u.cancelIdleCallback)(d);
1438
- }
1439
- }, [
1440
- _,
1441
- R,
1442
- p,
1443
- l,
1444
- A.current
1445
- ]);
1446
- const P = (0, s.useCallback)(() => {
1447
- E(!1);
1448
- }, []);
1449
- return [
1450
- N,
1451
- l,
1452
- P
1453
- ];
1454
- }
1455
- (typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), r.exports = e.default);
1456
- }(se, se.exports)), se.exports;
1457
- }
1458
- var le = { exports: {} }, fe = { exports: {} }, Ve = {}, It;
1459
- function hr() {
1460
- return It || (It = 1, function(r) {
1461
- Object.defineProperty(r, "__esModule", {
1462
- value: !0
1463
- }), Object.defineProperty(r, "normalizeLocalePath", {
1464
- enumerable: !0,
1465
- get: function() {
1466
- return e;
1467
- }
1468
- });
1469
- function e(s, u) {
1470
- let t;
1471
- const o = s.split("/");
1472
- return (u || []).some((i) => o[1] && o[1].toLowerCase() === i.toLowerCase() ? (t = i, o.splice(1, 1), s = o.join("/") || "/", !0) : !1), {
1473
- pathname: s,
1474
- detectedLocale: t
1475
- };
1476
- }
1477
- }(Ve)), Ve;
1478
- }
1479
- var Ct;
1480
- function Er() {
1481
- return Ct || (Ct = 1, function(r, e) {
1482
- Object.defineProperty(e, "__esModule", {
1483
- value: !0
1484
- }), Object.defineProperty(e, "normalizeLocalePath", {
1485
- enumerable: !0,
1486
- get: function() {
1487
- return s;
1488
- }
1489
- });
1490
- const s = (u, t) => process.env.__NEXT_I18N_SUPPORT ? hr().normalizeLocalePath(u, t) : {
1491
- pathname: u,
1492
- detectedLocale: void 0
1493
- };
1494
- (typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), r.exports = e.default);
1495
- }(fe, fe.exports)), fe.exports;
1496
- }
1497
- var de = { exports: {} }, We = {}, Lt;
1498
- function Rr() {
1499
- return Lt || (Lt = 1, function(r) {
1500
- Object.defineProperty(r, "__esModule", {
1501
- value: !0
1502
- }), Object.defineProperty(r, "detectDomainLocale", {
1503
- enumerable: !0,
1504
- get: function() {
1505
- return e;
1506
- }
1507
- });
1508
- function e(s, u, t) {
1509
- if (s) {
1510
- t && (t = t.toLowerCase());
1511
- for (const n of s) {
1512
- var o, i;
1513
- const a = (o = n.domain) == null ? void 0 : o.split(":", 1)[0].toLowerCase();
1514
- if (u === a || t === n.defaultLocale.toLowerCase() || (i = n.locales) != null && i.some((c) => c.toLowerCase() === t))
1515
- return n;
1516
- }
1517
- }
1518
- }
1519
- }(We)), We;
1520
- }
1521
- var wt;
1522
- function mr() {
1523
- return wt || (wt = 1, function(r, e) {
1524
- Object.defineProperty(e, "__esModule", {
1525
- value: !0
1526
- }), Object.defineProperty(e, "detectDomainLocale", {
1527
- enumerable: !0,
1528
- get: function() {
1529
- return s;
1530
- }
1531
- });
1532
- const s = function() {
1533
- for (var u = arguments.length, t = new Array(u), o = 0; o < u; o++)
1534
- t[o] = arguments[o];
1535
- if (process.env.__NEXT_I18N_SUPPORT)
1536
- return Rr().detectDomainLocale(...t);
1537
- };
1538
- (typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), r.exports = e.default);
1539
- }(de, de.exports)), de.exports;
1540
- }
1541
- var Mt;
1542
- function gr() {
1543
- return Mt || (Mt = 1, function(r, e) {
1544
- Object.defineProperty(e, "__esModule", {
1545
- value: !0
1546
- }), Object.defineProperty(e, "getDomainLocale", {
1547
- enumerable: !0,
1548
- get: function() {
1549
- return t;
1550
- }
1551
- });
1552
- const s = Re(), u = process.env.__NEXT_ROUTER_BASEPATH || "";
1553
- function t(o, i, n, a) {
1554
- if (process.env.__NEXT_I18N_SUPPORT) {
1555
- const c = Er().normalizeLocalePath, f = mr().detectDomainLocale, p = i || c(o, n).detectedLocale, R = f(a, void 0, p);
1556
- if (R) {
1557
- const h = "http" + (R.http ? "" : "s") + "://", _ = p === R.defaultLocale ? "" : "/" + p;
1558
- return "" + h + R.domain + (0, s.normalizePathTrailingSlash)("" + u + _ + o);
1559
- }
1560
- return !1;
1561
- } else
1562
- return !1;
1563
- }
1564
- (typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), r.exports = e.default);
1565
- }(le, le.exports)), le.exports;
1566
- }
1567
- var _e = { exports: {} }, jt;
1568
- function Pr() {
1569
- return jt || (jt = 1, function(r, e) {
1570
- Object.defineProperty(e, "__esModule", {
1571
- value: !0
1572
- }), Object.defineProperty(e, "addBasePath", {
1573
- enumerable: !0,
1574
- get: function() {
1575
- return o;
1576
- }
1577
- });
1578
- const s = kt(), u = Re(), t = process.env.__NEXT_ROUTER_BASEPATH || "";
1579
- function o(i, n) {
1580
- return (0, u.normalizePathTrailingSlash)(process.env.__NEXT_MANUAL_CLIENT_BASE_PATH && !n ? i : (0, s.addPathPrefix)(i, t));
1581
- }
1582
- (typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), r.exports = e.default);
1583
- }(_e, _e.exports)), _e.exports;
1584
- }
1585
- var pe = { exports: {} }, Dt;
1586
- function vr() {
1587
- return Dt || (Dt = 1, function(r, e) {
1588
- Object.defineProperty(e, "__esModule", {
1589
- value: !0
1590
- });
1591
- function s(h, _) {
1592
- for (var l in _) Object.defineProperty(h, l, {
1593
- enumerable: !0,
1594
- get: _[l]
1595
- });
1596
- }
1597
- s(e, {
1598
- ACTION_FAST_REFRESH: function() {
1599
- return a;
1600
- },
1601
- ACTION_NAVIGATE: function() {
1602
- return t;
1603
- },
1604
- ACTION_PREFETCH: function() {
1605
- return n;
1606
- },
1607
- ACTION_REFRESH: function() {
1608
- return u;
1609
- },
1610
- ACTION_RESTORE: function() {
1611
- return o;
1612
- },
1613
- ACTION_SERVER_ACTION: function() {
1614
- return c;
1615
- },
1616
- ACTION_SERVER_PATCH: function() {
1617
- return i;
1618
- },
1619
- PrefetchCacheEntryStatus: function() {
1620
- return p;
1621
- },
1622
- PrefetchKind: function() {
1623
- return f;
1624
- },
1625
- isThenable: function() {
1626
- return R;
1627
- }
1628
- });
1629
- const u = "refresh", t = "navigate", o = "restore", i = "server-patch", n = "prefetch", a = "fast-refresh", c = "server-action";
1630
- var f;
1631
- (function(h) {
1632
- h.AUTO = "auto", h.FULL = "full", h.TEMPORARY = "temporary";
1633
- })(f || (f = {}));
1634
- var p;
1635
- (function(h) {
1636
- h.fresh = "fresh", h.reusable = "reusable", h.expired = "expired", h.stale = "stale";
1637
- })(p || (p = {}));
1638
- function R(h) {
1639
- return h && (typeof h == "object" || typeof h == "function") && typeof h.then == "function";
1640
- }
1641
- (typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), r.exports = e.default);
1642
- }(pe, pe.exports)), pe.exports;
1643
- }
1644
- (function(r, e) {
1645
- "use client";
1646
- Object.defineProperty(e, "__esModule", {
1647
- value: !0
1648
- }), Object.defineProperty(e, "default", {
1649
- enumerable: !0,
1650
- get: function() {
1651
- return T;
1652
- }
1653
- });
1654
- const s = Z, u = Bt, t = /* @__PURE__ */ s._(he), o = sr(), i = Gt(), n = xt(), a = Ee(), c = lr(), f = fr(), p = dr(), R = pr(), h = gr(), _ = Pr(), l = vr(), E = /* @__PURE__ */ new Set();
1655
- function A(g, v, b, I, w, j) {
1656
- if (typeof window > "u" || !j && !(0, i.isLocalURL)(v))
1657
- return;
1658
- if (!I.bypassPrefetchedCheck) {
1659
- const H = (
1660
- // Let the link's locale prop override the default router locale.
1661
- typeof I.locale < "u" ? I.locale : "locale" in g ? g.locale : void 0
1662
- ), F = v + "%" + b + "%" + H;
1663
- if (E.has(F))
1664
- return;
1665
- E.add(F);
1666
- }
1667
- (async () => j ? g.prefetch(v, w) : g.prefetch(v, b, I))().catch((H) => {
1668
- if (process.env.NODE_ENV !== "production")
1669
- throw H;
1670
- });
1671
- }
1672
- function N(g) {
1673
- const b = g.currentTarget.getAttribute("target");
1674
- return b && b !== "_self" || g.metaKey || g.ctrlKey || g.shiftKey || g.altKey || // triggers resource download
1675
- g.nativeEvent && g.nativeEvent.which === 2;
1676
- }
1677
- function P(g, v, b, I, w, j, V, H, F) {
1678
- const { nodeName: Y } = g.currentTarget;
1679
- if (Y.toUpperCase() === "A" && (N(g) || // app-router supports external urls out of the box so it shouldn't short-circuit here as support for e.g. `replace` is added in the app-router.
1680
- !F && !(0, i.isLocalURL)(b)))
1681
- return;
1682
- g.preventDefault();
1683
- const W = () => {
1684
- const q = V ?? !0;
1685
- "beforePopState" in v ? v[w ? "replace" : "push"](b, I, {
1686
- shallow: j,
1687
- locale: H,
1688
- scroll: q
1689
- }) : v[w ? "replace" : "push"](I || b, {
1690
- scroll: q
1691
- });
1692
- };
1693
- F ? t.default.startTransition(W) : W();
1694
- }
1695
- function d(g) {
1696
- return typeof g == "string" ? g : (0, n.formatUrl)(g);
1697
- }
1698
- const T = /* @__PURE__ */ t.default.forwardRef(function(v, b) {
1699
- let I;
1700
- const { href: w, as: j, children: V, prefetch: H = null, passHref: F, replace: Y, shallow: J, scroll: W, locale: q, onClick: $, onMouseEnter: Q, onTouchStart: ee, legacyBehavior: D = !1, ...me } = v;
1701
- I = V, D && (typeof I == "string" || typeof I == "number") && (I = /* @__PURE__ */ (0, u.jsx)("a", {
1702
- children: I
1703
- }));
1704
- const C = t.default.useContext(f.RouterContext), ge = t.default.useContext(p.AppRouterContext), U = C ?? ge, x = !C, B = H !== !1, z = H === null ? l.PrefetchKind.AUTO : l.PrefetchKind.FULL;
1705
- if (process.env.NODE_ENV !== "production") {
1706
- let y = function(S) {
1707
- return new Error("Failed prop type: The prop `" + S.key + "` expects a " + S.expected + " in `<Link>`, but got `" + S.actual + "` instead." + (typeof window < "u" ? `
1708
- Open your browser's console to view the Component stack trace.` : ""));
1709
- };
1710
- Object.keys({
1711
- href: !0
1712
- }).forEach((S) => {
1713
- if (S === "href" && (v[S] == null || typeof v[S] != "string" && typeof v[S] != "object"))
1714
- throw y({
1715
- key: S,
1716
- expected: "`string` or `object`",
1717
- actual: v[S] === null ? "null" : typeof v[S]
1718
- });
1719
- }), Object.keys({
1720
- as: !0,
1721
- replace: !0,
1722
- scroll: !0,
1723
- shallow: !0,
1724
- passHref: !0,
1725
- prefetch: !0,
1726
- locale: !0,
1727
- onClick: !0,
1728
- onMouseEnter: !0,
1729
- onTouchStart: !0,
1730
- legacyBehavior: !0
1731
- }).forEach((S) => {
1732
- const X = typeof v[S];
1733
- if (S === "as") {
1734
- if (v[S] && X !== "string" && X !== "object")
1735
- throw y({
1736
- key: S,
1737
- expected: "`string` or `object`",
1738
- actual: X
1739
- });
1740
- } else if (S === "locale") {
1741
- if (v[S] && X !== "string")
1742
- throw y({
1743
- key: S,
1744
- expected: "`string`",
1745
- actual: X
1746
- });
1747
- } else if (S === "onClick" || S === "onMouseEnter" || S === "onTouchStart") {
1748
- if (v[S] && X !== "function")
1749
- throw y({
1750
- key: S,
1751
- expected: "`function`",
1752
- actual: X
1753
- });
1754
- } else if ((S === "replace" || S === "scroll" || S === "shallow" || S === "passHref" || S === "prefetch" || S === "legacyBehavior") && v[S] != null && X !== "boolean")
1755
- throw y({
1756
- key: S,
1757
- expected: "`boolean`",
1758
- actual: X
1759
- });
1760
- });
1761
- const Ze = t.default.useRef(!1);
1762
- v.prefetch && !Ze.current && !x && (Ze.current = !0, console.warn("Next.js auto-prefetches automatically based on viewport. The prefetch attribute is no longer needed. More: https://nextjs.org/docs/messages/prefetch-true-deprecated"));
1763
- }
1764
- if (process.env.NODE_ENV !== "production" && x && !j) {
1765
- let y;
1766
- if (typeof w == "string" ? y = w : typeof w == "object" && typeof w.pathname == "string" && (y = w.pathname), y && y.split("/").some((K) => K.startsWith("[") && K.endsWith("]")))
1767
- throw new Error("Dynamic href `" + y + "` found in <Link> while using the `/app` router, this is not supported. Read more: https://nextjs.org/docs/messages/app-dir-dynamic-href");
1768
- }
1769
- const { href: O, as: M } = t.default.useMemo(() => {
1770
- if (!C) {
1771
- const K = d(w);
1772
- return {
1773
- href: K,
1774
- as: j ? d(j) : K
1775
- };
1776
- }
1777
- const [y, k] = (0, o.resolveHref)(C, w, !0);
1778
- return {
1779
- href: y,
1780
- as: j ? (0, o.resolveHref)(C, j) : k || y
1781
- };
1782
- }, [
1783
- C,
1784
- w,
1785
- j
1786
- ]), te = t.default.useRef(O), re = t.default.useRef(M);
1787
- let L;
1788
- if (D)
1789
- if (process.env.NODE_ENV === "development") {
1790
- $ && console.warn('"onClick" was passed to <Link> with `href` of `' + w + '` but "legacyBehavior" was set. The legacy behavior requires onClick be set on the child of next/link'), Q && console.warn('"onMouseEnter" was passed to <Link> with `href` of `' + w + '` but "legacyBehavior" was set. The legacy behavior requires onMouseEnter be set on the child of next/link');
1791
- try {
1792
- L = t.default.Children.only(I);
1793
- } catch {
1794
- throw I ? new Error("Multiple children were passed to <Link> with `href` of `" + w + "` but only one child is supported https://nextjs.org/docs/messages/link-multiple-children" + (typeof window < "u" ? `
1795
- Open your browser's console to view the Component stack trace.` : "")) : new Error("No children were passed to <Link> with `href` of `" + w + "` but one child is required https://nextjs.org/docs/messages/link-no-children");
1796
- }
1797
- } else
1798
- L = t.default.Children.only(I);
1799
- else if (process.env.NODE_ENV === "development" && (I == null ? void 0 : I.type) === "a")
1800
- throw new Error(`Invalid <Link> with <a> child. Please remove <a> or use <Link legacyBehavior>.
1801
- Learn more: https://nextjs.org/docs/messages/invalid-new-link-with-extra-anchor`);
1802
- const G = D ? L && typeof L == "object" && L.ref : b, [Ye, $e, Qe] = (0, R.useIntersection)({
1803
- rootMargin: "200px"
1804
- }), Vt = t.default.useCallback((y) => {
1805
- (re.current !== M || te.current !== O) && (Qe(), re.current = M, te.current = O), Ye(y), G && (typeof G == "function" ? G(y) : typeof G == "object" && (G.current = y));
1806
- }, [
1807
- M,
1808
- G,
1809
- O,
1810
- Qe,
1811
- Ye
1812
- ]);
1813
- t.default.useEffect(() => {
1814
- process.env.NODE_ENV === "production" && U && (!$e || !B || A(U, O, M, {
1815
- locale: q
1816
- }, {
1817
- kind: z
1818
- }, x));
1819
- }, [
1820
- M,
1821
- O,
1822
- $e,
1823
- q,
1824
- B,
1825
- C == null ? void 0 : C.locale,
1826
- U,
1827
- x,
1828
- z
1829
- ]);
1830
- const ne = {
1831
- ref: Vt,
1832
- onClick(y) {
1833
- if (process.env.NODE_ENV !== "production" && !y)
1834
- throw new Error('Component rendered inside next/link has to pass click event to "onClick" prop.');
1835
- !D && typeof $ == "function" && $(y), D && L.props && typeof L.props.onClick == "function" && L.props.onClick(y), U && (y.defaultPrevented || P(y, U, O, M, Y, J, W, q, x));
1836
- },
1837
- onMouseEnter(y) {
1838
- !D && typeof Q == "function" && Q(y), D && L.props && typeof L.props.onMouseEnter == "function" && L.props.onMouseEnter(y), U && ((!B || process.env.NODE_ENV === "development") && x || A(U, O, M, {
1839
- locale: q,
1840
- priority: !0,
1841
- // @see {https://github.com/vercel/next.js/discussions/40268?sort=top#discussioncomment-3572642}
1842
- bypassPrefetchedCheck: !0
1843
- }, {
1844
- kind: z
1845
- }, x));
1846
- },
1847
- onTouchStart: process.env.__NEXT_LINK_NO_TOUCH_START ? void 0 : function(k) {
1848
- !D && typeof ee == "function" && ee(k), D && L.props && typeof L.props.onTouchStart == "function" && L.props.onTouchStart(k), U && (!B && x || A(U, O, M, {
1849
- locale: q,
1850
- priority: !0,
1851
- // @see {https://github.com/vercel/next.js/discussions/40268?sort=top#discussioncomment-3572642}
1852
- bypassPrefetchedCheck: !0
1853
- }, {
1854
- kind: z
1855
- }, x));
1856
- }
1857
- };
1858
- if ((0, a.isAbsoluteUrl)(M))
1859
- ne.href = M;
1860
- else if (!D || F || L.type === "a" && !("href" in L.props)) {
1861
- const y = typeof q < "u" ? q : C == null ? void 0 : C.locale, k = (C == null ? void 0 : C.isLocaleDomain) && (0, h.getDomainLocale)(M, y, C == null ? void 0 : C.locales, C == null ? void 0 : C.domainLocales);
1862
- ne.href = k || (0, _.addBasePath)((0, c.addLocale)(M, y, C == null ? void 0 : C.defaultLocale));
1863
- }
1864
- return D ? /* @__PURE__ */ t.default.cloneElement(L, ne) : /* @__PURE__ */ (0, u.jsx)("a", {
1865
- ...me,
1866
- ...ne,
1867
- children: I
1868
- });
1869
- });
1870
- (typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), r.exports = e.default);
1871
- })(Be, Be.exports);
1872
- var Tr = Be.exports, Ar = Tr;
1873
- const Ir = /* @__PURE__ */ Wt(Ar);
1874
- export {
1875
- Ir as L,
1876
- Z as _,
1877
- ze as a,
1878
- fr as r
1879
- };
1880
- //# sourceMappingURL=link-DvineOMa.js.map