@helpwave/hightide 0.1.45 → 0.1.47

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 (784) hide show
  1. package/README.md +1 -1
  2. package/dist/index.d.mts +1990 -0
  3. package/dist/index.d.ts +1990 -113
  4. package/dist/index.js +1514 -1353
  5. package/dist/index.js.map +1 -1
  6. package/dist/{components/index.js → index.mjs} +728 -18
  7. package/dist/index.mjs.map +1 -0
  8. package/package.json +5 -12
  9. package/dist/coloring/index.cjs +0 -85
  10. package/dist/coloring/index.cjs.map +0 -1
  11. package/dist/coloring/index.d.cts +0 -2
  12. package/dist/coloring/index.d.ts +0 -2
  13. package/dist/coloring/index.js +0 -48
  14. package/dist/coloring/index.js.map +0 -1
  15. package/dist/coloring/shading.cjs +0 -81
  16. package/dist/coloring/shading.cjs.map +0 -1
  17. package/dist/coloring/shading.d.cts +0 -5
  18. package/dist/coloring/shading.d.ts +0 -5
  19. package/dist/coloring/shading.js +0 -47
  20. package/dist/coloring/shading.js.map +0 -1
  21. package/dist/coloring/types.cjs +0 -30
  22. package/dist/coloring/types.cjs.map +0 -1
  23. package/dist/coloring/types.d.cts +0 -13
  24. package/dist/coloring/types.d.ts +0 -13
  25. package/dist/coloring/types.js +0 -6
  26. package/dist/coloring/types.js.map +0 -1
  27. package/dist/components/branding/HelpwaveBadge.cjs +0 -140
  28. package/dist/components/branding/HelpwaveBadge.cjs.map +0 -1
  29. package/dist/components/branding/HelpwaveBadge.d.cts +0 -13
  30. package/dist/components/branding/HelpwaveBadge.d.ts +0 -13
  31. package/dist/components/branding/HelpwaveBadge.js +0 -104
  32. package/dist/components/branding/HelpwaveBadge.js.map +0 -1
  33. package/dist/components/branding/index.cjs +0 -140
  34. package/dist/components/branding/index.cjs.map +0 -1
  35. package/dist/components/branding/index.d.cts +0 -3
  36. package/dist/components/branding/index.d.ts +0 -3
  37. package/dist/components/branding/index.js +0 -104
  38. package/dist/components/branding/index.js.map +0 -1
  39. package/dist/components/date/DatePicker.cjs +0 -1318
  40. package/dist/components/date/DatePicker.cjs.map +0 -1
  41. package/dist/components/date/DatePicker.d.cts +0 -26
  42. package/dist/components/date/DatePicker.d.ts +0 -26
  43. package/dist/components/date/DatePicker.js +0 -1283
  44. package/dist/components/date/DatePicker.js.map +0 -1
  45. package/dist/components/date/DayPicker.cjs +0 -261
  46. package/dist/components/date/DayPicker.cjs.map +0 -1
  47. package/dist/components/date/DayPicker.d.cts +0 -20
  48. package/dist/components/date/DayPicker.d.ts +0 -20
  49. package/dist/components/date/DayPicker.js +0 -224
  50. package/dist/components/date/DayPicker.js.map +0 -1
  51. package/dist/components/date/TimeDisplay.cjs +0 -638
  52. package/dist/components/date/TimeDisplay.cjs.map +0 -1
  53. package/dist/components/date/TimeDisplay.d.cts +0 -13
  54. package/dist/components/date/TimeDisplay.d.ts +0 -13
  55. package/dist/components/date/TimeDisplay.js +0 -612
  56. package/dist/components/date/TimeDisplay.js.map +0 -1
  57. package/dist/components/date/TimePicker.cjs +0 -237
  58. package/dist/components/date/TimePicker.cjs.map +0 -1
  59. package/dist/components/date/TimePicker.d.cts +0 -15
  60. package/dist/components/date/TimePicker.d.ts +0 -15
  61. package/dist/components/date/TimePicker.js +0 -202
  62. package/dist/components/date/TimePicker.js.map +0 -1
  63. package/dist/components/date/YearMonthPicker.cjs +0 -536
  64. package/dist/components/date/YearMonthPicker.cjs.map +0 -1
  65. package/dist/components/date/YearMonthPicker.d.cts +0 -15
  66. package/dist/components/date/YearMonthPicker.d.ts +0 -15
  67. package/dist/components/date/YearMonthPicker.js +0 -501
  68. package/dist/components/date/YearMonthPicker.js.map +0 -1
  69. package/dist/components/date/index.cjs +0 -1556
  70. package/dist/components/date/index.cjs.map +0 -1
  71. package/dist/components/date/index.d.cts +0 -7
  72. package/dist/components/date/index.d.ts +0 -7
  73. package/dist/components/date/index.js +0 -1512
  74. package/dist/components/date/index.js.map +0 -1
  75. package/dist/components/dialog/ConfirmDialog.cjs +0 -1165
  76. package/dist/components/dialog/ConfirmDialog.cjs.map +0 -1
  77. package/dist/components/dialog/ConfirmDialog.d.cts +0 -29
  78. package/dist/components/dialog/ConfirmDialog.d.ts +0 -29
  79. package/dist/components/dialog/ConfirmDialog.js +0 -1129
  80. package/dist/components/dialog/ConfirmDialog.js.map +0 -1
  81. package/dist/components/dialog/Dialog.cjs +0 -1108
  82. package/dist/components/dialog/Dialog.cjs.map +0 -1
  83. package/dist/components/dialog/Dialog.d.cts +0 -27
  84. package/dist/components/dialog/Dialog.d.ts +0 -27
  85. package/dist/components/dialog/Dialog.js +0 -1075
  86. package/dist/components/dialog/Dialog.js.map +0 -1
  87. package/dist/components/dialog/DiscardChangesDialog.cjs +0 -1192
  88. package/dist/components/dialog/DiscardChangesDialog.cjs.map +0 -1
  89. package/dist/components/dialog/DiscardChangesDialog.d.cts +0 -18
  90. package/dist/components/dialog/DiscardChangesDialog.d.ts +0 -18
  91. package/dist/components/dialog/DiscardChangesDialog.js +0 -1156
  92. package/dist/components/dialog/DiscardChangesDialog.js.map +0 -1
  93. package/dist/components/dialog/InputDialog.cjs +0 -1369
  94. package/dist/components/dialog/InputDialog.cjs.map +0 -1
  95. package/dist/components/dialog/InputDialog.d.cts +0 -17
  96. package/dist/components/dialog/InputDialog.d.ts +0 -17
  97. package/dist/components/dialog/InputDialog.js +0 -1333
  98. package/dist/components/dialog/InputDialog.js.map +0 -1
  99. package/dist/components/dialog/LanguageDialog.cjs +0 -2149
  100. package/dist/components/dialog/LanguageDialog.cjs.map +0 -1
  101. package/dist/components/dialog/LanguageDialog.d.cts +0 -16
  102. package/dist/components/dialog/LanguageDialog.d.ts +0 -16
  103. package/dist/components/dialog/LanguageDialog.js +0 -2124
  104. package/dist/components/dialog/LanguageDialog.js.map +0 -1
  105. package/dist/components/dialog/ThemeDialog.cjs +0 -2188
  106. package/dist/components/dialog/ThemeDialog.cjs.map +0 -1
  107. package/dist/components/dialog/ThemeDialog.d.cts +0 -16
  108. package/dist/components/dialog/ThemeDialog.d.ts +0 -16
  109. package/dist/components/dialog/ThemeDialog.js +0 -2163
  110. package/dist/components/dialog/ThemeDialog.js.map +0 -1
  111. package/dist/components/dialog/index.cjs +0 -2516
  112. package/dist/components/dialog/index.cjs.map +0 -1
  113. package/dist/components/dialog/index.d.cts +0 -11
  114. package/dist/components/dialog/index.d.ts +0 -11
  115. package/dist/components/dialog/index.js +0 -2486
  116. package/dist/components/dialog/index.js.map +0 -1
  117. package/dist/components/form/FormElementWrapper.cjs +0 -167
  118. package/dist/components/form/FormElementWrapper.cjs.map +0 -1
  119. package/dist/components/form/FormElementWrapper.d.cts +0 -35
  120. package/dist/components/form/FormElementWrapper.d.ts +0 -35
  121. package/dist/components/form/FormElementWrapper.js +0 -133
  122. package/dist/components/form/FormElementWrapper.js.map +0 -1
  123. package/dist/components/form/index.cjs +0 -169
  124. package/dist/components/form/index.cjs.map +0 -1
  125. package/dist/components/form/index.d.cts +0 -5
  126. package/dist/components/form/index.d.ts +0 -5
  127. package/dist/components/form/index.js +0 -133
  128. package/dist/components/form/index.js.map +0 -1
  129. package/dist/components/icons-and-geometry/Avatar.cjs +0 -670
  130. package/dist/components/icons-and-geometry/Avatar.cjs.map +0 -1
  131. package/dist/components/icons-and-geometry/Avatar.d.cts +0 -36
  132. package/dist/components/icons-and-geometry/Avatar.d.ts +0 -36
  133. package/dist/components/icons-and-geometry/Avatar.js +0 -663
  134. package/dist/components/icons-and-geometry/Avatar.js.map +0 -1
  135. package/dist/components/icons-and-geometry/Circle.cjs +0 -61
  136. package/dist/components/icons-and-geometry/Circle.cjs.map +0 -1
  137. package/dist/components/icons-and-geometry/Circle.d.cts +0 -10
  138. package/dist/components/icons-and-geometry/Circle.d.ts +0 -10
  139. package/dist/components/icons-and-geometry/Circle.js +0 -27
  140. package/dist/components/icons-and-geometry/Circle.js.map +0 -1
  141. package/dist/components/icons-and-geometry/HelpwaveLogo.cjs +0 -98
  142. package/dist/components/icons-and-geometry/HelpwaveLogo.cjs.map +0 -1
  143. package/dist/components/icons-and-geometry/HelpwaveLogo.d.cts +0 -14
  144. package/dist/components/icons-and-geometry/HelpwaveLogo.d.ts +0 -14
  145. package/dist/components/icons-and-geometry/HelpwaveLogo.js +0 -74
  146. package/dist/components/icons-and-geometry/HelpwaveLogo.js.map +0 -1
  147. package/dist/components/icons-and-geometry/Ring.cjs +0 -333
  148. package/dist/components/icons-and-geometry/Ring.cjs.map +0 -1
  149. package/dist/components/icons-and-geometry/Ring.d.cts +0 -35
  150. package/dist/components/icons-and-geometry/Ring.d.ts +0 -35
  151. package/dist/components/icons-and-geometry/Ring.js +0 -296
  152. package/dist/components/icons-and-geometry/Ring.js.map +0 -1
  153. package/dist/components/icons-and-geometry/Tag.cjs +0 -2945
  154. package/dist/components/icons-and-geometry/Tag.cjs.map +0 -1
  155. package/dist/components/icons-and-geometry/Tag.d.cts +0 -16
  156. package/dist/components/icons-and-geometry/Tag.d.ts +0 -16
  157. package/dist/components/icons-and-geometry/Tag.js +0 -2940
  158. package/dist/components/icons-and-geometry/Tag.js.map +0 -1
  159. package/dist/components/icons-and-geometry/index.cjs +0 -3950
  160. package/dist/components/icons-and-geometry/index.cjs.map +0 -1
  161. package/dist/components/icons-and-geometry/index.d.cts +0 -7
  162. package/dist/components/icons-and-geometry/index.d.ts +0 -7
  163. package/dist/components/icons-and-geometry/index.js +0 -3934
  164. package/dist/components/icons-and-geometry/index.js.map +0 -1
  165. package/dist/components/index.cjs +0 -15692
  166. package/dist/components/index.cjs.map +0 -1
  167. package/dist/components/index.d.cts +0 -78
  168. package/dist/components/index.d.ts +0 -78
  169. package/dist/components/index.js.map +0 -1
  170. package/dist/components/layout/Carousel.cjs +0 -1128
  171. package/dist/components/layout/Carousel.cjs.map +0 -1
  172. package/dist/components/layout/Carousel.d.cts +0 -35
  173. package/dist/components/layout/Carousel.d.ts +0 -35
  174. package/dist/components/layout/Carousel.js +0 -1103
  175. package/dist/components/layout/Carousel.js.map +0 -1
  176. package/dist/components/layout/Chip.cjs +0 -123
  177. package/dist/components/layout/Chip.cjs.map +0 -1
  178. package/dist/components/layout/Chip.d.cts +0 -31
  179. package/dist/components/layout/Chip.d.ts +0 -31
  180. package/dist/components/layout/Chip.js +0 -87
  181. package/dist/components/layout/Chip.js.map +0 -1
  182. package/dist/components/layout/DividerInserter.cjs +0 -59
  183. package/dist/components/layout/DividerInserter.cjs.map +0 -1
  184. package/dist/components/layout/DividerInserter.d.cts +0 -15
  185. package/dist/components/layout/DividerInserter.d.ts +0 -15
  186. package/dist/components/layout/DividerInserter.js +0 -25
  187. package/dist/components/layout/DividerInserter.js.map +0 -1
  188. package/dist/components/layout/Expandable.cjs +0 -171
  189. package/dist/components/layout/Expandable.cjs.map +0 -1
  190. package/dist/components/layout/Expandable.d.cts +0 -67
  191. package/dist/components/layout/Expandable.d.ts +0 -67
  192. package/dist/components/layout/Expandable.js +0 -135
  193. package/dist/components/layout/Expandable.js.map +0 -1
  194. package/dist/components/layout/FAQSection.cjs +0 -421
  195. package/dist/components/layout/FAQSection.cjs.map +0 -1
  196. package/dist/components/layout/FAQSection.d.cts +0 -26
  197. package/dist/components/layout/FAQSection.d.ts +0 -26
  198. package/dist/components/layout/FAQSection.js +0 -387
  199. package/dist/components/layout/FAQSection.js.map +0 -1
  200. package/dist/components/layout/FloatingContainer.cjs +0 -220
  201. package/dist/components/layout/FloatingContainer.cjs.map +0 -1
  202. package/dist/components/layout/FloatingContainer.d.cts +0 -38
  203. package/dist/components/layout/FloatingContainer.d.ts +0 -38
  204. package/dist/components/layout/FloatingContainer.js +0 -196
  205. package/dist/components/layout/FloatingContainer.js.map +0 -1
  206. package/dist/components/layout/ListBox.cjs +0 -339
  207. package/dist/components/layout/ListBox.cjs.map +0 -1
  208. package/dist/components/layout/ListBox.d.cts +0 -44
  209. package/dist/components/layout/ListBox.d.ts +0 -44
  210. package/dist/components/layout/ListBox.js +0 -300
  211. package/dist/components/layout/ListBox.js.map +0 -1
  212. package/dist/components/layout/MarkdownInterpreter.cjs +0 -260
  213. package/dist/components/layout/MarkdownInterpreter.cjs.map +0 -1
  214. package/dist/components/layout/MarkdownInterpreter.d.cts +0 -28
  215. package/dist/components/layout/MarkdownInterpreter.d.ts +0 -28
  216. package/dist/components/layout/MarkdownInterpreter.js +0 -235
  217. package/dist/components/layout/MarkdownInterpreter.js.map +0 -1
  218. package/dist/components/layout/ScrollArea.cjs +0 -1252
  219. package/dist/components/layout/ScrollArea.cjs.map +0 -1
  220. package/dist/components/layout/ScrollArea.d.cts +0 -15
  221. package/dist/components/layout/ScrollArea.d.ts +0 -15
  222. package/dist/components/layout/ScrollArea.js +0 -1216
  223. package/dist/components/layout/ScrollArea.js.map +0 -1
  224. package/dist/components/layout/TextImage.cjs +0 -657
  225. package/dist/components/layout/TextImage.cjs.map +0 -1
  226. package/dist/components/layout/TextImage.d.cts +0 -19
  227. package/dist/components/layout/TextImage.d.ts +0 -19
  228. package/dist/components/layout/TextImage.js +0 -623
  229. package/dist/components/layout/TextImage.js.map +0 -1
  230. package/dist/components/layout/VerticalDivider.cjs +0 -80
  231. package/dist/components/layout/VerticalDivider.cjs.map +0 -1
  232. package/dist/components/layout/VerticalDivider.d.cts +0 -15
  233. package/dist/components/layout/VerticalDivider.d.ts +0 -15
  234. package/dist/components/layout/VerticalDivider.js +0 -56
  235. package/dist/components/layout/VerticalDivider.js.map +0 -1
  236. package/dist/components/layout/index.cjs +0 -3434
  237. package/dist/components/layout/index.cjs.map +0 -1
  238. package/dist/components/layout/index.d.cts +0 -15
  239. package/dist/components/layout/index.d.ts +0 -15
  240. package/dist/components/layout/index.js +0 -3387
  241. package/dist/components/layout/index.js.map +0 -1
  242. package/dist/components/loading-states/ErrorComponent.cjs +0 -622
  243. package/dist/components/loading-states/ErrorComponent.cjs.map +0 -1
  244. package/dist/components/loading-states/ErrorComponent.d.cts +0 -12
  245. package/dist/components/loading-states/ErrorComponent.d.ts +0 -12
  246. package/dist/components/loading-states/ErrorComponent.js +0 -588
  247. package/dist/components/loading-states/ErrorComponent.js.map +0 -1
  248. package/dist/components/loading-states/LoadingAndErrorComponent.cjs +0 -67
  249. package/dist/components/loading-states/LoadingAndErrorComponent.cjs.map +0 -1
  250. package/dist/components/loading-states/LoadingAndErrorComponent.d.cts +0 -20
  251. package/dist/components/loading-states/LoadingAndErrorComponent.d.ts +0 -20
  252. package/dist/components/loading-states/LoadingAndErrorComponent.js +0 -43
  253. package/dist/components/loading-states/LoadingAndErrorComponent.js.map +0 -1
  254. package/dist/components/loading-states/LoadingAnimation.cjs +0 -694
  255. package/dist/components/loading-states/LoadingAnimation.cjs.map +0 -1
  256. package/dist/components/loading-states/LoadingAnimation.d.cts +0 -12
  257. package/dist/components/loading-states/LoadingAnimation.d.ts +0 -12
  258. package/dist/components/loading-states/LoadingAnimation.js +0 -658
  259. package/dist/components/loading-states/LoadingAnimation.js.map +0 -1
  260. package/dist/components/loading-states/LoadingButton.cjs +0 -257
  261. package/dist/components/loading-states/LoadingButton.cjs.map +0 -1
  262. package/dist/components/loading-states/LoadingButton.d.cts +0 -10
  263. package/dist/components/loading-states/LoadingButton.d.ts +0 -10
  264. package/dist/components/loading-states/LoadingButton.js +0 -223
  265. package/dist/components/loading-states/LoadingButton.js.map +0 -1
  266. package/dist/components/loading-states/LoadingContainer.cjs +0 -34
  267. package/dist/components/loading-states/LoadingContainer.cjs.map +0 -1
  268. package/dist/components/loading-states/LoadingContainer.d.cts +0 -8
  269. package/dist/components/loading-states/LoadingContainer.d.ts +0 -8
  270. package/dist/components/loading-states/LoadingContainer.js +0 -10
  271. package/dist/components/loading-states/LoadingContainer.js.map +0 -1
  272. package/dist/components/loading-states/ProgressIndicator.cjs +0 -83
  273. package/dist/components/loading-states/ProgressIndicator.cjs.map +0 -1
  274. package/dist/components/loading-states/ProgressIndicator.d.cts +0 -24
  275. package/dist/components/loading-states/ProgressIndicator.d.ts +0 -24
  276. package/dist/components/loading-states/ProgressIndicator.js +0 -59
  277. package/dist/components/loading-states/ProgressIndicator.js.map +0 -1
  278. package/dist/components/loading-states/index.cjs +0 -966
  279. package/dist/components/loading-states/index.cjs.map +0 -1
  280. package/dist/components/loading-states/index.d.cts +0 -9
  281. package/dist/components/loading-states/index.d.ts +0 -9
  282. package/dist/components/loading-states/index.js +0 -925
  283. package/dist/components/loading-states/index.js.map +0 -1
  284. package/dist/components/navigation/BreadCrumb.cjs +0 -3516
  285. package/dist/components/navigation/BreadCrumb.cjs.map +0 -1
  286. package/dist/components/navigation/BreadCrumb.d.cts +0 -20
  287. package/dist/components/navigation/BreadCrumb.d.ts +0 -20
  288. package/dist/components/navigation/BreadCrumb.js +0 -3511
  289. package/dist/components/navigation/BreadCrumb.js.map +0 -1
  290. package/dist/components/navigation/Navigation.cjs +0 -4041
  291. package/dist/components/navigation/Navigation.cjs.map +0 -1
  292. package/dist/components/navigation/Navigation.d.cts +0 -21
  293. package/dist/components/navigation/Navigation.d.ts +0 -21
  294. package/dist/components/navigation/Navigation.js +0 -4035
  295. package/dist/components/navigation/Navigation.js.map +0 -1
  296. package/dist/components/navigation/Pagination.cjs +0 -1007
  297. package/dist/components/navigation/Pagination.cjs.map +0 -1
  298. package/dist/components/navigation/Pagination.d.cts +0 -16
  299. package/dist/components/navigation/Pagination.d.ts +0 -16
  300. package/dist/components/navigation/Pagination.js +0 -973
  301. package/dist/components/navigation/Pagination.js.map +0 -1
  302. package/dist/components/navigation/StepperBar.cjs +0 -903
  303. package/dist/components/navigation/StepperBar.cjs.map +0 -1
  304. package/dist/components/navigation/StepperBar.d.cts +0 -23
  305. package/dist/components/navigation/StepperBar.d.ts +0 -23
  306. package/dist/components/navigation/StepperBar.js +0 -868
  307. package/dist/components/navigation/StepperBar.js.map +0 -1
  308. package/dist/components/navigation/index.cjs +0 -5035
  309. package/dist/components/navigation/index.cjs.map +0 -1
  310. package/dist/components/navigation/index.d.cts +0 -6
  311. package/dist/components/navigation/index.d.ts +0 -6
  312. package/dist/components/navigation/index.js +0 -5023
  313. package/dist/components/navigation/index.js.map +0 -1
  314. package/dist/components/properties/CheckboxProperty.cjs +0 -1736
  315. package/dist/components/properties/CheckboxProperty.cjs.map +0 -1
  316. package/dist/components/properties/CheckboxProperty.d.cts +0 -14
  317. package/dist/components/properties/CheckboxProperty.d.ts +0 -14
  318. package/dist/components/properties/CheckboxProperty.js +0 -1702
  319. package/dist/components/properties/CheckboxProperty.js.map +0 -1
  320. package/dist/components/properties/DateProperty.cjs +0 -1119
  321. package/dist/components/properties/DateProperty.cjs.map +0 -1
  322. package/dist/components/properties/DateProperty.d.cts +0 -16
  323. package/dist/components/properties/DateProperty.d.ts +0 -16
  324. package/dist/components/properties/DateProperty.js +0 -1085
  325. package/dist/components/properties/DateProperty.js.map +0 -1
  326. package/dist/components/properties/MultiSelectProperty.cjs +0 -2058
  327. package/dist/components/properties/MultiSelectProperty.cjs.map +0 -1
  328. package/dist/components/properties/MultiSelectProperty.d.cts +0 -14
  329. package/dist/components/properties/MultiSelectProperty.d.ts +0 -14
  330. package/dist/components/properties/MultiSelectProperty.js +0 -2035
  331. package/dist/components/properties/MultiSelectProperty.js.map +0 -1
  332. package/dist/components/properties/NumberProperty.cjs +0 -1125
  333. package/dist/components/properties/NumberProperty.cjs.map +0 -1
  334. package/dist/components/properties/NumberProperty.d.cts +0 -16
  335. package/dist/components/properties/NumberProperty.d.ts +0 -16
  336. package/dist/components/properties/NumberProperty.js +0 -1091
  337. package/dist/components/properties/NumberProperty.js.map +0 -1
  338. package/dist/components/properties/PropertyBase.cjs +0 -875
  339. package/dist/components/properties/PropertyBase.cjs.map +0 -1
  340. package/dist/components/properties/PropertyBase.d.cts +0 -22
  341. package/dist/components/properties/PropertyBase.d.ts +0 -22
  342. package/dist/components/properties/PropertyBase.js +0 -841
  343. package/dist/components/properties/PropertyBase.js.map +0 -1
  344. package/dist/components/properties/SelectProperty.cjs +0 -2058
  345. package/dist/components/properties/SelectProperty.cjs.map +0 -1
  346. package/dist/components/properties/SelectProperty.d.cts +0 -16
  347. package/dist/components/properties/SelectProperty.d.ts +0 -16
  348. package/dist/components/properties/SelectProperty.js +0 -2035
  349. package/dist/components/properties/SelectProperty.js.map +0 -1
  350. package/dist/components/properties/TextProperty.cjs +0 -1033
  351. package/dist/components/properties/TextProperty.cjs.map +0 -1
  352. package/dist/components/properties/TextProperty.d.cts +0 -15
  353. package/dist/components/properties/TextProperty.d.ts +0 -15
  354. package/dist/components/properties/TextProperty.js +0 -999
  355. package/dist/components/properties/TextProperty.js.map +0 -1
  356. package/dist/components/properties/index.cjs +0 -3383
  357. package/dist/components/properties/index.cjs.map +0 -1
  358. package/dist/components/properties/index.d.cts +0 -9
  359. package/dist/components/properties/index.d.ts +0 -9
  360. package/dist/components/properties/index.js +0 -3352
  361. package/dist/components/properties/index.js.map +0 -1
  362. package/dist/components/table/FillerRowElement.cjs +0 -36
  363. package/dist/components/table/FillerRowElement.cjs.map +0 -1
  364. package/dist/components/table/FillerRowElement.d.cts +0 -8
  365. package/dist/components/table/FillerRowElement.d.ts +0 -8
  366. package/dist/components/table/FillerRowElement.js +0 -12
  367. package/dist/components/table/FillerRowElement.js.map +0 -1
  368. package/dist/components/table/Filter.cjs +0 -41
  369. package/dist/components/table/Filter.cjs.map +0 -1
  370. package/dist/components/table/Filter.d.cts +0 -5
  371. package/dist/components/table/Filter.d.ts +0 -5
  372. package/dist/components/table/Filter.js +0 -17
  373. package/dist/components/table/Filter.js.map +0 -1
  374. package/dist/components/table/Table.cjs +0 -2678
  375. package/dist/components/table/Table.cjs.map +0 -1
  376. package/dist/components/table/Table.d.cts +0 -42
  377. package/dist/components/table/Table.d.ts +0 -42
  378. package/dist/components/table/Table.js +0 -2649
  379. package/dist/components/table/Table.js.map +0 -1
  380. package/dist/components/table/TableCell.cjs +0 -37
  381. package/dist/components/table/TableCell.cjs.map +0 -1
  382. package/dist/components/table/TableCell.d.cts +0 -9
  383. package/dist/components/table/TableCell.d.ts +0 -9
  384. package/dist/components/table/TableCell.js +0 -13
  385. package/dist/components/table/TableCell.js.map +0 -1
  386. package/dist/components/table/TableFilterButton.cjs +0 -1269
  387. package/dist/components/table/TableFilterButton.cjs.map +0 -1
  388. package/dist/components/table/TableFilterButton.d.cts +0 -11
  389. package/dist/components/table/TableFilterButton.d.ts +0 -11
  390. package/dist/components/table/TableFilterButton.js +0 -1233
  391. package/dist/components/table/TableFilterButton.js.map +0 -1
  392. package/dist/components/table/TableSortButton.cjs +0 -206
  393. package/dist/components/table/TableSortButton.cjs.map +0 -1
  394. package/dist/components/table/TableSortButton.d.cts +0 -15
  395. package/dist/components/table/TableSortButton.d.ts +0 -15
  396. package/dist/components/table/TableSortButton.js +0 -172
  397. package/dist/components/table/TableSortButton.js.map +0 -1
  398. package/dist/components/table/index.cjs +0 -2690
  399. package/dist/components/table/index.cjs.map +0 -1
  400. package/dist/components/table/index.d.cts +0 -10
  401. package/dist/components/table/index.d.ts +0 -10
  402. package/dist/components/table/index.js +0 -2654
  403. package/dist/components/table/index.js.map +0 -1
  404. package/dist/components/user-action/Button.cjs +0 -308
  405. package/dist/components/user-action/Button.cjs.map +0 -1
  406. package/dist/components/user-action/Button.d.cts +0 -104
  407. package/dist/components/user-action/Button.d.ts +0 -104
  408. package/dist/components/user-action/Button.js +0 -268
  409. package/dist/components/user-action/Button.js.map +0 -1
  410. package/dist/components/user-action/Checkbox.cjs +0 -878
  411. package/dist/components/user-action/Checkbox.cjs.map +0 -1
  412. package/dist/components/user-action/Checkbox.d.cts +0 -25
  413. package/dist/components/user-action/Checkbox.d.ts +0 -25
  414. package/dist/components/user-action/Checkbox.js +0 -843
  415. package/dist/components/user-action/Checkbox.js.map +0 -1
  416. package/dist/components/user-action/CopyToClipboardWrapper.cjs +0 -695
  417. package/dist/components/user-action/CopyToClipboardWrapper.cjs.map +0 -1
  418. package/dist/components/user-action/CopyToClipboardWrapper.d.cts +0 -30
  419. package/dist/components/user-action/CopyToClipboardWrapper.d.ts +0 -30
  420. package/dist/components/user-action/CopyToClipboardWrapper.js +0 -671
  421. package/dist/components/user-action/CopyToClipboardWrapper.js.map +0 -1
  422. package/dist/components/user-action/DateAndTimePicker.cjs +0 -1492
  423. package/dist/components/user-action/DateAndTimePicker.cjs.map +0 -1
  424. package/dist/components/user-action/DateAndTimePicker.d.cts +0 -25
  425. package/dist/components/user-action/DateAndTimePicker.d.ts +0 -25
  426. package/dist/components/user-action/DateAndTimePicker.js +0 -1458
  427. package/dist/components/user-action/DateAndTimePicker.js.map +0 -1
  428. package/dist/components/user-action/Label.cjs +0 -53
  429. package/dist/components/user-action/Label.cjs.map +0 -1
  430. package/dist/components/user-action/Label.d.cts +0 -14
  431. package/dist/components/user-action/Label.d.ts +0 -14
  432. package/dist/components/user-action/Label.js +0 -19
  433. package/dist/components/user-action/Label.js.map +0 -1
  434. package/dist/components/user-action/Menu.cjs +0 -282
  435. package/dist/components/user-action/Menu.cjs.map +0 -1
  436. package/dist/components/user-action/Menu.d.cts +0 -35
  437. package/dist/components/user-action/Menu.d.ts +0 -35
  438. package/dist/components/user-action/Menu.js +0 -247
  439. package/dist/components/user-action/Menu.js.map +0 -1
  440. package/dist/components/user-action/ScrollPicker.cjs +0 -301
  441. package/dist/components/user-action/ScrollPicker.cjs.map +0 -1
  442. package/dist/components/user-action/ScrollPicker.d.cts +0 -15
  443. package/dist/components/user-action/ScrollPicker.d.ts +0 -15
  444. package/dist/components/user-action/ScrollPicker.js +0 -267
  445. package/dist/components/user-action/ScrollPicker.js.map +0 -1
  446. package/dist/components/user-action/SearchBar.cjs +0 -956
  447. package/dist/components/user-action/SearchBar.cjs.map +0 -1
  448. package/dist/components/user-action/SearchBar.d.cts +0 -13
  449. package/dist/components/user-action/SearchBar.d.ts +0 -13
  450. package/dist/components/user-action/SearchBar.js +0 -920
  451. package/dist/components/user-action/SearchBar.js.map +0 -1
  452. package/dist/components/user-action/Textarea.cjs +0 -231
  453. package/dist/components/user-action/Textarea.cjs.map +0 -1
  454. package/dist/components/user-action/Textarea.d.cts +0 -41
  455. package/dist/components/user-action/Textarea.d.ts +0 -41
  456. package/dist/components/user-action/Textarea.js +0 -195
  457. package/dist/components/user-action/Textarea.js.map +0 -1
  458. package/dist/components/user-action/Tooltip.cjs +0 -139
  459. package/dist/components/user-action/Tooltip.cjs.map +0 -1
  460. package/dist/components/user-action/Tooltip.d.cts +0 -37
  461. package/dist/components/user-action/Tooltip.d.ts +0 -37
  462. package/dist/components/user-action/Tooltip.js +0 -113
  463. package/dist/components/user-action/Tooltip.js.map +0 -1
  464. package/dist/components/user-action/index.cjs +0 -4564
  465. package/dist/components/user-action/index.cjs.map +0 -1
  466. package/dist/components/user-action/index.d.cts +0 -26
  467. package/dist/components/user-action/index.d.ts +0 -26
  468. package/dist/components/user-action/index.js +0 -4503
  469. package/dist/components/user-action/index.js.map +0 -1
  470. package/dist/components/user-action/input/Input.cjs +0 -260
  471. package/dist/components/user-action/input/Input.cjs.map +0 -1
  472. package/dist/components/user-action/input/Input.d.cts +0 -37
  473. package/dist/components/user-action/input/Input.d.ts +0 -37
  474. package/dist/components/user-action/input/Input.js +0 -225
  475. package/dist/components/user-action/input/Input.js.map +0 -1
  476. package/dist/components/user-action/input/InsideLabelInput.cjs +0 -312
  477. package/dist/components/user-action/input/InsideLabelInput.cjs.map +0 -1
  478. package/dist/components/user-action/input/InsideLabelInput.d.cts +0 -20
  479. package/dist/components/user-action/input/InsideLabelInput.d.ts +0 -20
  480. package/dist/components/user-action/input/InsideLabelInput.js +0 -277
  481. package/dist/components/user-action/input/InsideLabelInput.js.map +0 -1
  482. package/dist/components/user-action/input/ToggleableInput.cjs +0 -315
  483. package/dist/components/user-action/input/ToggleableInput.cjs.map +0 -1
  484. package/dist/components/user-action/input/ToggleableInput.d.cts +0 -22
  485. package/dist/components/user-action/input/ToggleableInput.d.ts +0 -22
  486. package/dist/components/user-action/input/ToggleableInput.js +0 -280
  487. package/dist/components/user-action/input/ToggleableInput.js.map +0 -1
  488. package/dist/components/user-action/input/index.cjs +0 -403
  489. package/dist/components/user-action/input/index.cjs.map +0 -1
  490. package/dist/components/user-action/input/index.d.cts +0 -6
  491. package/dist/components/user-action/input/index.d.ts +0 -6
  492. package/dist/components/user-action/input/index.js +0 -362
  493. package/dist/components/user-action/input/index.js.map +0 -1
  494. package/dist/components/user-action/select/Select.cjs +0 -1970
  495. package/dist/components/user-action/select/Select.cjs.map +0 -1
  496. package/dist/components/user-action/select/Select.d.cts +0 -104
  497. package/dist/components/user-action/select/Select.d.ts +0 -104
  498. package/dist/components/user-action/select/Select.js +0 -1937
  499. package/dist/components/user-action/select/Select.js.map +0 -1
  500. package/dist/components/user-action/select/index.cjs +0 -1972
  501. package/dist/components/user-action/select/index.cjs.map +0 -1
  502. package/dist/components/user-action/select/index.d.cts +0 -4
  503. package/dist/components/user-action/select/index.d.ts +0 -4
  504. package/dist/components/user-action/select/index.js +0 -1937
  505. package/dist/components/user-action/select/index.js.map +0 -1
  506. package/dist/components/utils/FocusTrap.cjs +0 -252
  507. package/dist/components/utils/FocusTrap.cjs.map +0 -1
  508. package/dist/components/utils/FocusTrap.d.cts +0 -28
  509. package/dist/components/utils/FocusTrap.d.ts +0 -28
  510. package/dist/components/utils/FocusTrap.js +0 -229
  511. package/dist/components/utils/FocusTrap.js.map +0 -1
  512. package/dist/components/utils/Transition.cjs +0 -74
  513. package/dist/components/utils/Transition.cjs.map +0 -1
  514. package/dist/components/utils/Transition.d.cts +0 -26
  515. package/dist/components/utils/Transition.d.ts +0 -26
  516. package/dist/components/utils/Transition.js +0 -50
  517. package/dist/components/utils/Transition.js.map +0 -1
  518. package/dist/components/utils/index.cjs +0 -302
  519. package/dist/components/utils/index.cjs.map +0 -1
  520. package/dist/components/utils/index.d.cts +0 -4
  521. package/dist/components/utils/index.d.ts +0 -4
  522. package/dist/components/utils/index.js +0 -275
  523. package/dist/components/utils/index.js.map +0 -1
  524. package/dist/hooks/focus/index.cjs +0 -379
  525. package/dist/hooks/focus/index.cjs.map +0 -1
  526. package/dist/hooks/focus/index.d.cts +0 -6
  527. package/dist/hooks/focus/index.d.ts +0 -6
  528. package/dist/hooks/focus/index.js +0 -339
  529. package/dist/hooks/focus/index.js.map +0 -1
  530. package/dist/hooks/focus/useFocusGuards.cjs +0 -74
  531. package/dist/hooks/focus/useFocusGuards.cjs.map +0 -1
  532. package/dist/hooks/focus/useFocusGuards.d.cts +0 -3
  533. package/dist/hooks/focus/useFocusGuards.d.ts +0 -3
  534. package/dist/hooks/focus/useFocusGuards.js +0 -50
  535. package/dist/hooks/focus/useFocusGuards.js.map +0 -1
  536. package/dist/hooks/focus/useFocusManagement.cjs +0 -84
  537. package/dist/hooks/focus/useFocusManagement.cjs.map +0 -1
  538. package/dist/hooks/focus/useFocusManagement.d.cts +0 -9
  539. package/dist/hooks/focus/useFocusManagement.d.ts +0 -9
  540. package/dist/hooks/focus/useFocusManagement.js +0 -60
  541. package/dist/hooks/focus/useFocusManagement.js.map +0 -1
  542. package/dist/hooks/focus/useFocusOnceVisible.cjs +0 -60
  543. package/dist/hooks/focus/useFocusOnceVisible.cjs.map +0 -1
  544. package/dist/hooks/focus/useFocusOnceVisible.d.cts +0 -5
  545. package/dist/hooks/focus/useFocusOnceVisible.d.ts +0 -5
  546. package/dist/hooks/focus/useFocusOnceVisible.js +0 -26
  547. package/dist/hooks/focus/useFocusOnceVisible.js.map +0 -1
  548. package/dist/hooks/focus/useFocusTrap.cjs +0 -233
  549. package/dist/hooks/focus/useFocusTrap.cjs.map +0 -1
  550. package/dist/hooks/focus/useFocusTrap.d.cts +0 -16
  551. package/dist/hooks/focus/useFocusTrap.d.ts +0 -16
  552. package/dist/hooks/focus/useFocusTrap.js +0 -210
  553. package/dist/hooks/focus/useFocusTrap.js.map +0 -1
  554. package/dist/hooks/focus/useIsMounted.cjs +0 -43
  555. package/dist/hooks/focus/useIsMounted.cjs.map +0 -1
  556. package/dist/hooks/focus/useIsMounted.d.cts +0 -3
  557. package/dist/hooks/focus/useIsMounted.d.ts +0 -3
  558. package/dist/hooks/focus/useIsMounted.js +0 -20
  559. package/dist/hooks/focus/useIsMounted.js.map +0 -1
  560. package/dist/hooks/index.cjs +0 -1530
  561. package/dist/hooks/index.cjs.map +0 -1
  562. package/dist/hooks/index.d.cts +0 -18
  563. package/dist/hooks/index.d.ts +0 -18
  564. package/dist/hooks/index.js +0 -1477
  565. package/dist/hooks/index.js.map +0 -1
  566. package/dist/hooks/useDelay.cjs +0 -67
  567. package/dist/hooks/useDelay.cjs.map +0 -1
  568. package/dist/hooks/useDelay.d.cts +0 -12
  569. package/dist/hooks/useDelay.d.ts +0 -12
  570. package/dist/hooks/useDelay.js +0 -43
  571. package/dist/hooks/useDelay.js.map +0 -1
  572. package/dist/hooks/useFloatingElement.cjs +0 -162
  573. package/dist/hooks/useFloatingElement.cjs.map +0 -1
  574. package/dist/hooks/useFloatingElement.d.cts +0 -22
  575. package/dist/hooks/useFloatingElement.d.ts +0 -22
  576. package/dist/hooks/useFloatingElement.js +0 -139
  577. package/dist/hooks/useFloatingElement.js.map +0 -1
  578. package/dist/hooks/useHoverState.cjs +0 -71
  579. package/dist/hooks/useHoverState.cjs.map +0 -1
  580. package/dist/hooks/useHoverState.d.cts +0 -42
  581. package/dist/hooks/useHoverState.d.ts +0 -42
  582. package/dist/hooks/useHoverState.js +0 -47
  583. package/dist/hooks/useHoverState.js.map +0 -1
  584. package/dist/hooks/useLocalStorage.cjs +0 -97
  585. package/dist/hooks/useLocalStorage.cjs.map +0 -1
  586. package/dist/hooks/useLocalStorage.d.cts +0 -17
  587. package/dist/hooks/useLocalStorage.d.ts +0 -17
  588. package/dist/hooks/useLocalStorage.js +0 -74
  589. package/dist/hooks/useLocalStorage.js.map +0 -1
  590. package/dist/hooks/useLogOnce.cjs +0 -53
  591. package/dist/hooks/useLogOnce.cjs.map +0 -1
  592. package/dist/hooks/useLogOnce.d.cts +0 -7
  593. package/dist/hooks/useLogOnce.d.ts +0 -7
  594. package/dist/hooks/useLogOnce.js +0 -29
  595. package/dist/hooks/useLogOnce.js.map +0 -1
  596. package/dist/hooks/useOutsideClick.cjs +0 -47
  597. package/dist/hooks/useOutsideClick.cjs.map +0 -1
  598. package/dist/hooks/useOutsideClick.d.cts +0 -5
  599. package/dist/hooks/useOutsideClick.d.ts +0 -5
  600. package/dist/hooks/useOutsideClick.js +0 -23
  601. package/dist/hooks/useOutsideClick.js.map +0 -1
  602. package/dist/hooks/useOverwritableState.cjs +0 -49
  603. package/dist/hooks/useOverwritableState.cjs.map +0 -1
  604. package/dist/hooks/useOverwritableState.d.cts +0 -5
  605. package/dist/hooks/useOverwritableState.d.ts +0 -5
  606. package/dist/hooks/useOverwritableState.js +0 -25
  607. package/dist/hooks/useOverwritableState.js.map +0 -1
  608. package/dist/hooks/usePopoverPosition.cjs +0 -81
  609. package/dist/hooks/usePopoverPosition.cjs.map +0 -1
  610. package/dist/hooks/usePopoverPosition.d.cts +0 -15
  611. package/dist/hooks/usePopoverPosition.d.ts +0 -15
  612. package/dist/hooks/usePopoverPosition.js +0 -57
  613. package/dist/hooks/usePopoverPosition.js.map +0 -1
  614. package/dist/hooks/useRerender.cjs +0 -33
  615. package/dist/hooks/useRerender.cjs.map +0 -1
  616. package/dist/hooks/useRerender.d.cts +0 -5
  617. package/dist/hooks/useRerender.d.ts +0 -5
  618. package/dist/hooks/useRerender.js +0 -9
  619. package/dist/hooks/useRerender.js.map +0 -1
  620. package/dist/hooks/useResizeCallbackWrapper.cjs +0 -38
  621. package/dist/hooks/useResizeCallbackWrapper.cjs.map +0 -1
  622. package/dist/hooks/useResizeCallbackWrapper.d.cts +0 -11
  623. package/dist/hooks/useResizeCallbackWrapper.d.ts +0 -11
  624. package/dist/hooks/useResizeCallbackWrapper.js +0 -14
  625. package/dist/hooks/useResizeCallbackWrapper.js.map +0 -1
  626. package/dist/hooks/useSearch.cjs +0 -95
  627. package/dist/hooks/useSearch.cjs.map +0 -1
  628. package/dist/hooks/useSearch.d.cts +0 -22
  629. package/dist/hooks/useSearch.d.ts +0 -22
  630. package/dist/hooks/useSearch.js +0 -71
  631. package/dist/hooks/useSearch.js.map +0 -1
  632. package/dist/hooks/useValidators.cjs +0 -687
  633. package/dist/hooks/useValidators.cjs.map +0 -1
  634. package/dist/hooks/useValidators.d.cts +0 -16
  635. package/dist/hooks/useValidators.d.ts +0 -16
  636. package/dist/hooks/useValidators.js +0 -660
  637. package/dist/hooks/useValidators.js.map +0 -1
  638. package/dist/i18n/LocaleProvider.cjs +0 -202
  639. package/dist/i18n/LocaleProvider.cjs.map +0 -1
  640. package/dist/i18n/LocaleProvider.d.cts +0 -23
  641. package/dist/i18n/LocaleProvider.d.ts +0 -23
  642. package/dist/i18n/LocaleProvider.js +0 -175
  643. package/dist/i18n/LocaleProvider.js.map +0 -1
  644. package/dist/i18n/index.cjs +0 -761
  645. package/dist/i18n/index.cjs.map +0 -1
  646. package/dist/i18n/index.d.cts +0 -8
  647. package/dist/i18n/index.d.ts +0 -8
  648. package/dist/i18n/index.js +0 -727
  649. package/dist/i18n/index.js.map +0 -1
  650. package/dist/i18n/translations.cjs +0 -507
  651. package/dist/i18n/translations.cjs.map +0 -1
  652. package/dist/i18n/translations.d.cts +0 -189
  653. package/dist/i18n/translations.d.ts +0 -189
  654. package/dist/i18n/translations.js +0 -482
  655. package/dist/i18n/translations.js.map +0 -1
  656. package/dist/i18n/useHightideTranslation.cjs +0 -618
  657. package/dist/i18n/useHightideTranslation.cjs.map +0 -1
  658. package/dist/i18n/useHightideTranslation.d.cts +0 -21
  659. package/dist/i18n/useHightideTranslation.d.ts +0 -21
  660. package/dist/i18n/useHightideTranslation.js +0 -591
  661. package/dist/i18n/useHightideTranslation.js.map +0 -1
  662. package/dist/i18n/util.cjs +0 -49
  663. package/dist/i18n/util.cjs.map +0 -1
  664. package/dist/i18n/util.d.cts +0 -15
  665. package/dist/i18n/util.d.ts +0 -15
  666. package/dist/i18n/util.js +0 -23
  667. package/dist/i18n/util.js.map +0 -1
  668. package/dist/index.cjs +0 -16470
  669. package/dist/index.cjs.map +0 -1
  670. package/dist/index.d.cts +0 -113
  671. package/dist/storybook/helper.cjs +0 -61
  672. package/dist/storybook/helper.cjs.map +0 -1
  673. package/dist/storybook/helper.d.cts +0 -17
  674. package/dist/storybook/helper.d.ts +0 -17
  675. package/dist/storybook/helper.js +0 -37
  676. package/dist/storybook/helper.js.map +0 -1
  677. package/dist/theming/index.cjs +0 -190
  678. package/dist/theming/index.cjs.map +0 -1
  679. package/dist/theming/index.d.cts +0 -3
  680. package/dist/theming/index.d.ts +0 -3
  681. package/dist/theming/index.js +0 -161
  682. package/dist/theming/index.js.map +0 -1
  683. package/dist/theming/useTheme.cjs +0 -188
  684. package/dist/theming/useTheme.cjs.map +0 -1
  685. package/dist/theming/useTheme.d.cts +0 -26
  686. package/dist/theming/useTheme.d.ts +0 -26
  687. package/dist/theming/useTheme.js +0 -161
  688. package/dist/theming/useTheme.js.map +0 -1
  689. package/dist/utils/array.cjs +0 -172
  690. package/dist/utils/array.cjs.map +0 -1
  691. package/dist/utils/array.d.cts +0 -34
  692. package/dist/utils/array.d.ts +0 -34
  693. package/dist/utils/array.js +0 -142
  694. package/dist/utils/array.js.map +0 -1
  695. package/dist/utils/bagFunctions.cjs +0 -38
  696. package/dist/utils/bagFunctions.cjs.map +0 -1
  697. package/dist/utils/bagFunctions.d.cts +0 -15
  698. package/dist/utils/bagFunctions.d.ts +0 -15
  699. package/dist/utils/bagFunctions.js +0 -14
  700. package/dist/utils/bagFunctions.js.map +0 -1
  701. package/dist/utils/builder.cjs +0 -33
  702. package/dist/utils/builder.cjs.map +0 -1
  703. package/dist/utils/builder.d.cts +0 -8
  704. package/dist/utils/builder.d.ts +0 -8
  705. package/dist/utils/builder.js +0 -9
  706. package/dist/utils/builder.js.map +0 -1
  707. package/dist/utils/date.cjs +0 -193
  708. package/dist/utils/date.cjs.map +0 -1
  709. package/dist/utils/date.d.cts +0 -30
  710. package/dist/utils/date.d.ts +0 -30
  711. package/dist/utils/date.js +0 -156
  712. package/dist/utils/date.js.map +0 -1
  713. package/dist/utils/easeFunctions.cjs +0 -63
  714. package/dist/utils/easeFunctions.cjs.map +0 -1
  715. package/dist/utils/easeFunctions.d.cts +0 -11
  716. package/dist/utils/easeFunctions.d.ts +0 -11
  717. package/dist/utils/easeFunctions.js +0 -37
  718. package/dist/utils/easeFunctions.js.map +0 -1
  719. package/dist/utils/emailValidation.cjs +0 -32
  720. package/dist/utils/emailValidation.cjs.map +0 -1
  721. package/dist/utils/emailValidation.d.cts +0 -3
  722. package/dist/utils/emailValidation.d.ts +0 -3
  723. package/dist/utils/emailValidation.js +0 -8
  724. package/dist/utils/emailValidation.js.map +0 -1
  725. package/dist/utils/index.cjs +0 -562
  726. package/dist/utils/index.cjs.map +0 -1
  727. package/dist/utils/index.d.cts +0 -16
  728. package/dist/utils/index.d.ts +0 -16
  729. package/dist/utils/index.js +0 -502
  730. package/dist/utils/index.js.map +0 -1
  731. package/dist/utils/loopingArray.cjs +0 -96
  732. package/dist/utils/loopingArray.cjs.map +0 -1
  733. package/dist/utils/loopingArray.d.cts +0 -25
  734. package/dist/utils/loopingArray.d.ts +0 -25
  735. package/dist/utils/loopingArray.js +0 -72
  736. package/dist/utils/loopingArray.js.map +0 -1
  737. package/dist/utils/match.cjs +0 -32
  738. package/dist/utils/match.cjs.map +0 -1
  739. package/dist/utils/match.d.cts +0 -3
  740. package/dist/utils/match.d.ts +0 -3
  741. package/dist/utils/match.js +0 -8
  742. package/dist/utils/match.js.map +0 -1
  743. package/dist/utils/math.cjs +0 -33
  744. package/dist/utils/math.cjs.map +0 -1
  745. package/dist/utils/math.d.cts +0 -3
  746. package/dist/utils/math.d.ts +0 -3
  747. package/dist/utils/math.js +0 -9
  748. package/dist/utils/math.js.map +0 -1
  749. package/dist/utils/noop.cjs +0 -30
  750. package/dist/utils/noop.cjs.map +0 -1
  751. package/dist/utils/noop.d.cts +0 -3
  752. package/dist/utils/noop.d.ts +0 -3
  753. package/dist/utils/noop.js +0 -6
  754. package/dist/utils/noop.js.map +0 -1
  755. package/dist/utils/resolveSetState.cjs +0 -32
  756. package/dist/utils/resolveSetState.cjs.map +0 -1
  757. package/dist/utils/resolveSetState.d.cts +0 -5
  758. package/dist/utils/resolveSetState.d.ts +0 -5
  759. package/dist/utils/resolveSetState.js +0 -8
  760. package/dist/utils/resolveSetState.js.map +0 -1
  761. package/dist/utils/simpleSearch.cjs +0 -59
  762. package/dist/utils/simpleSearch.cjs.map +0 -1
  763. package/dist/utils/simpleSearch.d.cts +0 -50
  764. package/dist/utils/simpleSearch.d.ts +0 -50
  765. package/dist/utils/simpleSearch.js +0 -32
  766. package/dist/utils/simpleSearch.js.map +0 -1
  767. package/dist/utils/storage.cjs +0 -63
  768. package/dist/utils/storage.cjs.map +0 -1
  769. package/dist/utils/storage.d.cts +0 -16
  770. package/dist/utils/storage.d.ts +0 -16
  771. package/dist/utils/storage.js +0 -38
  772. package/dist/utils/storage.js.map +0 -1
  773. package/dist/utils/typing.cjs +0 -18
  774. package/dist/utils/typing.cjs.map +0 -1
  775. package/dist/utils/typing.d.cts +0 -8
  776. package/dist/utils/typing.d.ts +0 -8
  777. package/dist/utils/typing.js +0 -1
  778. package/dist/utils/typing.js.map +0 -1
  779. package/dist/utils/writeToClipboard.cjs +0 -33
  780. package/dist/utils/writeToClipboard.cjs.map +0 -1
  781. package/dist/utils/writeToClipboard.d.cts +0 -3
  782. package/dist/utils/writeToClipboard.d.ts +0 -3
  783. package/dist/utils/writeToClipboard.js +0 -10
  784. package/dist/utils/writeToClipboard.js.map +0 -1
@@ -1,2940 +0,0 @@
1
- var __create = Object.create;
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
8
- get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
9
- }) : x)(function(x) {
10
- if (typeof require !== "undefined") return require.apply(this, arguments);
11
- throw Error('Dynamic require of "' + x + '" is not supported');
12
- });
13
- var __commonJS = (cb, mod) => function __require2() {
14
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
15
- };
16
- var __copyProps = (to, from, except, desc) => {
17
- if (from && typeof from === "object" || typeof from === "function") {
18
- for (let key of __getOwnPropNames(from))
19
- if (!__hasOwnProp.call(to, key) && key !== except)
20
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
21
- }
22
- return to;
23
- };
24
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
25
- // If the importer is in node compatibility mode or this is not an ESM
26
- // file that has been converted to a CommonJS file using a Babel-
27
- // compatible transform (i.e. "__esModule" has not been set), then set
28
- // "default" to the CommonJS "module.exports" for node compatibility.
29
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
30
- mod
31
- ));
32
-
33
- // node_modules/@swc/helpers/cjs/_interop_require_default.cjs
34
- var require_interop_require_default = __commonJS({
35
- "node_modules/@swc/helpers/cjs/_interop_require_default.cjs"(exports) {
36
- "use strict";
37
- function _interop_require_default(obj) {
38
- return obj && obj.__esModule ? obj : { default: obj };
39
- }
40
- exports._ = _interop_require_default;
41
- }
42
- });
43
-
44
- // node_modules/next/dist/shared/lib/utils/warn-once.js
45
- var require_warn_once = __commonJS({
46
- "node_modules/next/dist/shared/lib/utils/warn-once.js"(exports) {
47
- "use strict";
48
- Object.defineProperty(exports, "__esModule", {
49
- value: true
50
- });
51
- Object.defineProperty(exports, "warnOnce", {
52
- enumerable: true,
53
- get: function() {
54
- return warnOnce;
55
- }
56
- });
57
- var warnOnce = (_) => {
58
- };
59
- if (process.env.NODE_ENV !== "production") {
60
- const warnings = /* @__PURE__ */ new Set();
61
- warnOnce = (msg) => {
62
- if (!warnings.has(msg)) {
63
- console.warn(msg);
64
- }
65
- warnings.add(msg);
66
- };
67
- }
68
- }
69
- });
70
-
71
- // node_modules/next/dist/shared/lib/image-blur-svg.js
72
- var require_image_blur_svg = __commonJS({
73
- "node_modules/next/dist/shared/lib/image-blur-svg.js"(exports) {
74
- "use strict";
75
- Object.defineProperty(exports, "__esModule", {
76
- value: true
77
- });
78
- Object.defineProperty(exports, "getImageBlurSvg", {
79
- enumerable: true,
80
- get: function() {
81
- return getImageBlurSvg;
82
- }
83
- });
84
- function getImageBlurSvg(param) {
85
- let { widthInt, heightInt, blurWidth, blurHeight, blurDataURL, objectFit } = param;
86
- const std = 20;
87
- const svgWidth = blurWidth ? blurWidth * 40 : widthInt;
88
- const svgHeight = blurHeight ? blurHeight * 40 : heightInt;
89
- const viewBox = svgWidth && svgHeight ? "viewBox='0 0 " + svgWidth + " " + svgHeight + "'" : "";
90
- const preserveAspectRatio = viewBox ? "none" : objectFit === "contain" ? "xMidYMid" : objectFit === "cover" ? "xMidYMid slice" : "none";
91
- return "%3Csvg xmlns='http://www.w3.org/2000/svg' " + viewBox + "%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='" + std + "'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='" + std + "'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='" + preserveAspectRatio + "' style='filter: url(%23b);' href='" + blurDataURL + "'/%3E%3C/svg%3E";
92
- }
93
- }
94
- });
95
-
96
- // node_modules/next/dist/shared/lib/image-config.js
97
- var require_image_config = __commonJS({
98
- "node_modules/next/dist/shared/lib/image-config.js"(exports) {
99
- "use strict";
100
- Object.defineProperty(exports, "__esModule", {
101
- value: true
102
- });
103
- function _export(target, all) {
104
- for (var name in all) Object.defineProperty(target, name, {
105
- enumerable: true,
106
- get: all[name]
107
- });
108
- }
109
- _export(exports, {
110
- VALID_LOADERS: function() {
111
- return VALID_LOADERS;
112
- },
113
- imageConfigDefault: function() {
114
- return imageConfigDefault;
115
- }
116
- });
117
- var VALID_LOADERS = [
118
- "default",
119
- "imgix",
120
- "cloudinary",
121
- "akamai",
122
- "custom"
123
- ];
124
- var imageConfigDefault = {
125
- deviceSizes: [
126
- 640,
127
- 750,
128
- 828,
129
- 1080,
130
- 1200,
131
- 1920,
132
- 2048,
133
- 3840
134
- ],
135
- imageSizes: [
136
- 16,
137
- 32,
138
- 48,
139
- 64,
140
- 96,
141
- 128,
142
- 256,
143
- 384
144
- ],
145
- path: "/_next/image",
146
- loader: "default",
147
- loaderFile: "",
148
- domains: [],
149
- disableStaticImages: false,
150
- minimumCacheTTL: 60,
151
- formats: [
152
- "image/webp"
153
- ],
154
- dangerouslyAllowSVG: false,
155
- contentSecurityPolicy: "script-src 'none'; frame-src 'none'; sandbox;",
156
- contentDispositionType: "attachment",
157
- localPatterns: void 0,
158
- remotePatterns: [],
159
- qualities: void 0,
160
- unoptimized: false
161
- };
162
- }
163
- });
164
-
165
- // node_modules/next/dist/shared/lib/get-img-props.js
166
- var require_get_img_props = __commonJS({
167
- "node_modules/next/dist/shared/lib/get-img-props.js"(exports) {
168
- "use strict";
169
- Object.defineProperty(exports, "__esModule", {
170
- value: true
171
- });
172
- Object.defineProperty(exports, "getImgProps", {
173
- enumerable: true,
174
- get: function() {
175
- return getImgProps;
176
- }
177
- });
178
- var _warnonce = require_warn_once();
179
- var _imageblursvg = require_image_blur_svg();
180
- var _imageconfig = require_image_config();
181
- var VALID_LOADING_VALUES = [
182
- "lazy",
183
- "eager",
184
- void 0
185
- ];
186
- var INVALID_BACKGROUND_SIZE_VALUES = [
187
- "-moz-initial",
188
- "fill",
189
- "none",
190
- "scale-down",
191
- void 0
192
- ];
193
- function isStaticRequire(src) {
194
- return src.default !== void 0;
195
- }
196
- function isStaticImageData(src) {
197
- return src.src !== void 0;
198
- }
199
- function isStaticImport(src) {
200
- return !!src && typeof src === "object" && (isStaticRequire(src) || isStaticImageData(src));
201
- }
202
- var allImgs = /* @__PURE__ */ new Map();
203
- var perfObserver;
204
- function getInt(x) {
205
- if (typeof x === "undefined") {
206
- return x;
207
- }
208
- if (typeof x === "number") {
209
- return Number.isFinite(x) ? x : NaN;
210
- }
211
- if (typeof x === "string" && /^[0-9]+$/.test(x)) {
212
- return parseInt(x, 10);
213
- }
214
- return NaN;
215
- }
216
- function getWidths(param, width, sizes) {
217
- let { deviceSizes, allSizes } = param;
218
- if (sizes) {
219
- const viewportWidthRe = /(^|\s)(1?\d?\d)vw/g;
220
- const percentSizes = [];
221
- for (let match; match = viewportWidthRe.exec(sizes); match) {
222
- percentSizes.push(parseInt(match[2]));
223
- }
224
- if (percentSizes.length) {
225
- const smallestRatio = Math.min(...percentSizes) * 0.01;
226
- return {
227
- widths: allSizes.filter((s) => s >= deviceSizes[0] * smallestRatio),
228
- kind: "w"
229
- };
230
- }
231
- return {
232
- widths: allSizes,
233
- kind: "w"
234
- };
235
- }
236
- if (typeof width !== "number") {
237
- return {
238
- widths: deviceSizes,
239
- kind: "w"
240
- };
241
- }
242
- const widths = [
243
- ...new Set(
244
- // > This means that most OLED screens that say they are 3x resolution,
245
- // > are actually 3x in the green color, but only 1.5x in the red and
246
- // > blue colors. Showing a 3x resolution image in the app vs a 2x
247
- // > resolution image will be visually the same, though the 3x image
248
- // > takes significantly more data. Even true 3x resolution screens are
249
- // > wasteful as the human eye cannot see that level of detail without
250
- // > something like a magnifying glass.
251
- // https://blog.twitter.com/engineering/en_us/topics/infrastructure/2019/capping-image-fidelity-on-ultra-high-resolution-devices.html
252
- [
253
- width,
254
- width * 2
255
- /*, width * 3*/
256
- ].map((w) => allSizes.find((p) => p >= w) || allSizes[allSizes.length - 1])
257
- )
258
- ];
259
- return {
260
- widths,
261
- kind: "x"
262
- };
263
- }
264
- function generateImgAttrs(param) {
265
- let { config, src, unoptimized, width, quality, sizes, loader } = param;
266
- if (unoptimized) {
267
- return {
268
- src,
269
- srcSet: void 0,
270
- sizes: void 0
271
- };
272
- }
273
- const { widths, kind } = getWidths(config, width, sizes);
274
- const last = widths.length - 1;
275
- return {
276
- sizes: !sizes && kind === "w" ? "100vw" : sizes,
277
- srcSet: widths.map((w, i) => loader({
278
- config,
279
- src,
280
- quality,
281
- width: w
282
- }) + " " + (kind === "w" ? w : i + 1) + kind).join(", "),
283
- // It's intended to keep `src` the last attribute because React updates
284
- // attributes in order. If we keep `src` the first one, Safari will
285
- // immediately start to fetch `src`, before `sizes` and `srcSet` are even
286
- // updated by React. That causes multiple unnecessary requests if `srcSet`
287
- // and `sizes` are defined.
288
- // This bug cannot be reproduced in Chrome or Firefox.
289
- src: loader({
290
- config,
291
- src,
292
- quality,
293
- width: widths[last]
294
- })
295
- };
296
- }
297
- function getImgProps(param, _state) {
298
- let { src, sizes, unoptimized = false, priority = false, loading, className, quality, width, height, fill = false, style, overrideSrc, onLoad, onLoadingComplete, placeholder = "empty", blurDataURL, fetchPriority, decoding = "async", layout, objectFit, objectPosition, lazyBoundary, lazyRoot, ...rest } = param;
299
- const { imgConf, showAltText, blurComplete, defaultLoader } = _state;
300
- let config;
301
- let c = imgConf || _imageconfig.imageConfigDefault;
302
- if ("allSizes" in c) {
303
- config = c;
304
- } else {
305
- var _c_qualities;
306
- const allSizes = [
307
- ...c.deviceSizes,
308
- ...c.imageSizes
309
- ].sort((a, b) => a - b);
310
- const deviceSizes = c.deviceSizes.sort((a, b) => a - b);
311
- const qualities = (_c_qualities = c.qualities) == null ? void 0 : _c_qualities.sort((a, b) => a - b);
312
- config = {
313
- ...c,
314
- allSizes,
315
- deviceSizes,
316
- qualities
317
- };
318
- }
319
- if (typeof defaultLoader === "undefined") {
320
- throw Object.defineProperty(new Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"), "__NEXT_ERROR_CODE", {
321
- value: "E163",
322
- enumerable: false,
323
- configurable: true
324
- });
325
- }
326
- let loader = rest.loader || defaultLoader;
327
- delete rest.loader;
328
- delete rest.srcSet;
329
- const isDefaultLoader = "__next_img_default" in loader;
330
- if (isDefaultLoader) {
331
- if (config.loader === "custom") {
332
- throw Object.defineProperty(new Error('Image with src "' + src + '" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader'), "__NEXT_ERROR_CODE", {
333
- value: "E252",
334
- enumerable: false,
335
- configurable: true
336
- });
337
- }
338
- } else {
339
- const customImageLoader = loader;
340
- loader = (obj) => {
341
- const { config: _, ...opts } = obj;
342
- return customImageLoader(opts);
343
- };
344
- }
345
- if (layout) {
346
- if (layout === "fill") {
347
- fill = true;
348
- }
349
- const layoutToStyle = {
350
- intrinsic: {
351
- maxWidth: "100%",
352
- height: "auto"
353
- },
354
- responsive: {
355
- width: "100%",
356
- height: "auto"
357
- }
358
- };
359
- const layoutToSizes = {
360
- responsive: "100vw",
361
- fill: "100vw"
362
- };
363
- const layoutStyle = layoutToStyle[layout];
364
- if (layoutStyle) {
365
- style = {
366
- ...style,
367
- ...layoutStyle
368
- };
369
- }
370
- const layoutSizes = layoutToSizes[layout];
371
- if (layoutSizes && !sizes) {
372
- sizes = layoutSizes;
373
- }
374
- }
375
- let staticSrc = "";
376
- let widthInt = getInt(width);
377
- let heightInt = getInt(height);
378
- let blurWidth;
379
- let blurHeight;
380
- if (isStaticImport(src)) {
381
- const staticImageData = isStaticRequire(src) ? src.default : src;
382
- if (!staticImageData.src) {
383
- throw Object.defineProperty(new Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received " + JSON.stringify(staticImageData)), "__NEXT_ERROR_CODE", {
384
- value: "E460",
385
- enumerable: false,
386
- configurable: true
387
- });
388
- }
389
- if (!staticImageData.height || !staticImageData.width) {
390
- throw Object.defineProperty(new Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received " + JSON.stringify(staticImageData)), "__NEXT_ERROR_CODE", {
391
- value: "E48",
392
- enumerable: false,
393
- configurable: true
394
- });
395
- }
396
- blurWidth = staticImageData.blurWidth;
397
- blurHeight = staticImageData.blurHeight;
398
- blurDataURL = blurDataURL || staticImageData.blurDataURL;
399
- staticSrc = staticImageData.src;
400
- if (!fill) {
401
- if (!widthInt && !heightInt) {
402
- widthInt = staticImageData.width;
403
- heightInt = staticImageData.height;
404
- } else if (widthInt && !heightInt) {
405
- const ratio = widthInt / staticImageData.width;
406
- heightInt = Math.round(staticImageData.height * ratio);
407
- } else if (!widthInt && heightInt) {
408
- const ratio = heightInt / staticImageData.height;
409
- widthInt = Math.round(staticImageData.width * ratio);
410
- }
411
- }
412
- }
413
- src = typeof src === "string" ? src : staticSrc;
414
- let isLazy = !priority && (loading === "lazy" || typeof loading === "undefined");
415
- if (!src || src.startsWith("data:") || src.startsWith("blob:")) {
416
- unoptimized = true;
417
- isLazy = false;
418
- }
419
- if (config.unoptimized) {
420
- unoptimized = true;
421
- }
422
- if (isDefaultLoader && !config.dangerouslyAllowSVG && src.split("?", 1)[0].endsWith(".svg")) {
423
- unoptimized = true;
424
- }
425
- const qualityInt = getInt(quality);
426
- if (process.env.NODE_ENV !== "production") {
427
- var _config_localPatterns;
428
- if (config.output === "export" && isDefaultLoader && !unoptimized) {
429
- throw Object.defineProperty(new Error("Image Optimization using the default loader is not compatible with `{ output: 'export' }`.\n Possible solutions:\n - Remove `{ output: 'export' }` and run \"next start\" to run server mode including the Image Optimization API.\n - Configure `{ images: { unoptimized: true } }` in `next.config.js` to disable the Image Optimization API.\n Read more: https://nextjs.org/docs/messages/export-image-api"), "__NEXT_ERROR_CODE", {
430
- value: "E500",
431
- enumerable: false,
432
- configurable: true
433
- });
434
- }
435
- if (!src) {
436
- unoptimized = true;
437
- } else {
438
- if (fill) {
439
- if (width) {
440
- throw Object.defineProperty(new Error('Image with src "' + src + '" has both "width" and "fill" properties. Only one should be used.'), "__NEXT_ERROR_CODE", {
441
- value: "E96",
442
- enumerable: false,
443
- configurable: true
444
- });
445
- }
446
- if (height) {
447
- throw Object.defineProperty(new Error('Image with src "' + src + '" has both "height" and "fill" properties. Only one should be used.'), "__NEXT_ERROR_CODE", {
448
- value: "E115",
449
- enumerable: false,
450
- configurable: true
451
- });
452
- }
453
- if ((style == null ? void 0 : style.position) && style.position !== "absolute") {
454
- throw Object.defineProperty(new Error('Image with src "' + src + '" has both "fill" and "style.position" properties. Images with "fill" always use position absolute - it cannot be modified.'), "__NEXT_ERROR_CODE", {
455
- value: "E216",
456
- enumerable: false,
457
- configurable: true
458
- });
459
- }
460
- if ((style == null ? void 0 : style.width) && style.width !== "100%") {
461
- throw Object.defineProperty(new Error('Image with src "' + src + '" has both "fill" and "style.width" properties. Images with "fill" always use width 100% - it cannot be modified.'), "__NEXT_ERROR_CODE", {
462
- value: "E73",
463
- enumerable: false,
464
- configurable: true
465
- });
466
- }
467
- if ((style == null ? void 0 : style.height) && style.height !== "100%") {
468
- throw Object.defineProperty(new Error('Image with src "' + src + '" has both "fill" and "style.height" properties. Images with "fill" always use height 100% - it cannot be modified.'), "__NEXT_ERROR_CODE", {
469
- value: "E404",
470
- enumerable: false,
471
- configurable: true
472
- });
473
- }
474
- } else {
475
- if (typeof widthInt === "undefined") {
476
- throw Object.defineProperty(new Error('Image with src "' + src + '" is missing required "width" property.'), "__NEXT_ERROR_CODE", {
477
- value: "E451",
478
- enumerable: false,
479
- configurable: true
480
- });
481
- } else if (isNaN(widthInt)) {
482
- throw Object.defineProperty(new Error('Image with src "' + src + '" has invalid "width" property. Expected a numeric value in pixels but received "' + width + '".'), "__NEXT_ERROR_CODE", {
483
- value: "E66",
484
- enumerable: false,
485
- configurable: true
486
- });
487
- }
488
- if (typeof heightInt === "undefined") {
489
- throw Object.defineProperty(new Error('Image with src "' + src + '" is missing required "height" property.'), "__NEXT_ERROR_CODE", {
490
- value: "E397",
491
- enumerable: false,
492
- configurable: true
493
- });
494
- } else if (isNaN(heightInt)) {
495
- throw Object.defineProperty(new Error('Image with src "' + src + '" has invalid "height" property. Expected a numeric value in pixels but received "' + height + '".'), "__NEXT_ERROR_CODE", {
496
- value: "E444",
497
- enumerable: false,
498
- configurable: true
499
- });
500
- }
501
- if (/^[\x00-\x20]/.test(src)) {
502
- throw Object.defineProperty(new Error('Image with src "' + src + '" cannot start with a space or control character. Use src.trimStart() to remove it or encodeURIComponent(src) to keep it.'), "__NEXT_ERROR_CODE", {
503
- value: "E176",
504
- enumerable: false,
505
- configurable: true
506
- });
507
- }
508
- if (/[\x00-\x20]$/.test(src)) {
509
- throw Object.defineProperty(new Error('Image with src "' + src + '" cannot end with a space or control character. Use src.trimEnd() to remove it or encodeURIComponent(src) to keep it.'), "__NEXT_ERROR_CODE", {
510
- value: "E21",
511
- enumerable: false,
512
- configurable: true
513
- });
514
- }
515
- }
516
- }
517
- if (!VALID_LOADING_VALUES.includes(loading)) {
518
- throw Object.defineProperty(new Error('Image with src "' + src + '" has invalid "loading" property. Provided "' + loading + '" should be one of ' + VALID_LOADING_VALUES.map(String).join(",") + "."), "__NEXT_ERROR_CODE", {
519
- value: "E357",
520
- enumerable: false,
521
- configurable: true
522
- });
523
- }
524
- if (priority && loading === "lazy") {
525
- throw Object.defineProperty(new Error('Image with src "' + src + `" has both "priority" and "loading='lazy'" properties. Only one should be used.`), "__NEXT_ERROR_CODE", {
526
- value: "E218",
527
- enumerable: false,
528
- configurable: true
529
- });
530
- }
531
- if (placeholder !== "empty" && placeholder !== "blur" && !placeholder.startsWith("data:image/")) {
532
- throw Object.defineProperty(new Error('Image with src "' + src + '" has invalid "placeholder" property "' + placeholder + '".'), "__NEXT_ERROR_CODE", {
533
- value: "E431",
534
- enumerable: false,
535
- configurable: true
536
- });
537
- }
538
- if (placeholder !== "empty") {
539
- if (widthInt && heightInt && widthInt * heightInt < 1600) {
540
- (0, _warnonce.warnOnce)('Image with src "' + src + '" is smaller than 40x40. Consider removing the "placeholder" property to improve performance.');
541
- }
542
- }
543
- if (qualityInt && qualityInt !== 75 && !config.qualities) {
544
- (0, _warnonce.warnOnce)('Image with src "' + src + '" is using quality "' + qualityInt + '" which is not configured in images.qualities. This config will be required starting in Next.js 16.\nRead more: https://nextjs.org/docs/messages/next-image-unconfigured-qualities');
545
- }
546
- if (src.startsWith("/") && src.includes("?") && (!(config == null ? void 0 : (_config_localPatterns = config.localPatterns) == null ? void 0 : _config_localPatterns.length) || config.localPatterns.length === 1 && config.localPatterns[0].pathname === "/_next/static/media/**")) {
547
- (0, _warnonce.warnOnce)('Image with src "' + src + '" is using a query string which is not configured in images.localPatterns. This config will be required starting in Next.js 16.\nRead more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns');
548
- }
549
- if (placeholder === "blur" && !blurDataURL) {
550
- const VALID_BLUR_EXT = [
551
- "jpeg",
552
- "png",
553
- "webp",
554
- "avif"
555
- ];
556
- throw Object.defineProperty(new Error('Image with src "' + src + `" has "placeholder='blur'" property but is missing the "blurDataURL" property.
557
- Possible solutions:
558
- - Add a "blurDataURL" property, the contents should be a small Data URL to represent the image
559
- - Change the "src" property to a static import with one of the supported file types: ` + VALID_BLUR_EXT.join(",") + ' (animated images not supported)\n - Remove the "placeholder" property, effectively no blur effect\n Read more: https://nextjs.org/docs/messages/placeholder-blur-data-url'), "__NEXT_ERROR_CODE", {
560
- value: "E371",
561
- enumerable: false,
562
- configurable: true
563
- });
564
- }
565
- if ("ref" in rest) {
566
- (0, _warnonce.warnOnce)('Image with src "' + src + '" is using unsupported "ref" property. Consider using the "onLoad" property instead.');
567
- }
568
- if (!unoptimized && !isDefaultLoader) {
569
- const urlStr = loader({
570
- config,
571
- src,
572
- width: widthInt || 400,
573
- quality: qualityInt || 75
574
- });
575
- let url;
576
- try {
577
- url = new URL(urlStr);
578
- } catch (err) {
579
- }
580
- if (urlStr === src || url && url.pathname === src && !url.search) {
581
- (0, _warnonce.warnOnce)('Image with src "' + src + '" has a "loader" property that does not implement width. Please implement it or use the "unoptimized" property instead.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader-width');
582
- }
583
- }
584
- if (onLoadingComplete) {
585
- (0, _warnonce.warnOnce)('Image with src "' + src + '" is using deprecated "onLoadingComplete" property. Please use the "onLoad" property instead.');
586
- }
587
- for (const [legacyKey, legacyValue] of Object.entries({
588
- layout,
589
- objectFit,
590
- objectPosition,
591
- lazyBoundary,
592
- lazyRoot
593
- })) {
594
- if (legacyValue) {
595
- (0, _warnonce.warnOnce)('Image with src "' + src + '" has legacy prop "' + legacyKey + '". Did you forget to run the codemod?\nRead more: https://nextjs.org/docs/messages/next-image-upgrade-to-13');
596
- }
597
- }
598
- if (typeof window !== "undefined" && !perfObserver && window.PerformanceObserver) {
599
- perfObserver = new PerformanceObserver((entryList) => {
600
- for (const entry of entryList.getEntries()) {
601
- var _entry_element;
602
- const imgSrc = (entry == null ? void 0 : (_entry_element = entry.element) == null ? void 0 : _entry_element.src) || "";
603
- const lcpImage = allImgs.get(imgSrc);
604
- if (lcpImage && !lcpImage.priority && lcpImage.placeholder === "empty" && !lcpImage.src.startsWith("data:") && !lcpImage.src.startsWith("blob:")) {
605
- (0, _warnonce.warnOnce)('Image with src "' + lcpImage.src + '" was detected as the Largest Contentful Paint (LCP). Please add the "priority" property if this image is above the fold.\nRead more: https://nextjs.org/docs/api-reference/next/image#priority');
606
- }
607
- }
608
- });
609
- try {
610
- perfObserver.observe({
611
- type: "largest-contentful-paint",
612
- buffered: true
613
- });
614
- } catch (err) {
615
- console.error(err);
616
- }
617
- }
618
- }
619
- const imgStyle = Object.assign(fill ? {
620
- position: "absolute",
621
- height: "100%",
622
- width: "100%",
623
- left: 0,
624
- top: 0,
625
- right: 0,
626
- bottom: 0,
627
- objectFit,
628
- objectPosition
629
- } : {}, showAltText ? {} : {
630
- color: "transparent"
631
- }, style);
632
- const backgroundImage = !blurComplete && placeholder !== "empty" ? placeholder === "blur" ? 'url("data:image/svg+xml;charset=utf-8,' + (0, _imageblursvg.getImageBlurSvg)({
633
- widthInt,
634
- heightInt,
635
- blurWidth,
636
- blurHeight,
637
- blurDataURL: blurDataURL || "",
638
- objectFit: imgStyle.objectFit
639
- }) + '")' : 'url("' + placeholder + '")' : null;
640
- const backgroundSize = !INVALID_BACKGROUND_SIZE_VALUES.includes(imgStyle.objectFit) ? imgStyle.objectFit : imgStyle.objectFit === "fill" ? "100% 100%" : "cover";
641
- let placeholderStyle = backgroundImage ? {
642
- backgroundSize,
643
- backgroundPosition: imgStyle.objectPosition || "50% 50%",
644
- backgroundRepeat: "no-repeat",
645
- backgroundImage
646
- } : {};
647
- if (process.env.NODE_ENV === "development") {
648
- if (placeholderStyle.backgroundImage && placeholder === "blur" && (blurDataURL == null ? void 0 : blurDataURL.startsWith("/"))) {
649
- placeholderStyle.backgroundImage = 'url("' + blurDataURL + '")';
650
- }
651
- }
652
- const imgAttributes = generateImgAttrs({
653
- config,
654
- src,
655
- unoptimized,
656
- width: widthInt,
657
- quality: qualityInt,
658
- sizes,
659
- loader
660
- });
661
- if (process.env.NODE_ENV !== "production") {
662
- if (typeof window !== "undefined") {
663
- let fullUrl;
664
- try {
665
- fullUrl = new URL(imgAttributes.src);
666
- } catch (e) {
667
- fullUrl = new URL(imgAttributes.src, window.location.href);
668
- }
669
- allImgs.set(fullUrl.href, {
670
- src,
671
- priority,
672
- placeholder
673
- });
674
- }
675
- }
676
- const props = {
677
- ...rest,
678
- loading: isLazy ? "lazy" : loading,
679
- fetchPriority,
680
- width: widthInt,
681
- height: heightInt,
682
- decoding,
683
- className,
684
- style: {
685
- ...imgStyle,
686
- ...placeholderStyle
687
- },
688
- sizes: imgAttributes.sizes,
689
- srcSet: imgAttributes.srcSet,
690
- src: overrideSrc || imgAttributes.src
691
- };
692
- const meta = {
693
- unoptimized,
694
- priority,
695
- placeholder,
696
- fill
697
- };
698
- return {
699
- props,
700
- meta
701
- };
702
- }
703
- }
704
- });
705
-
706
- // node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs
707
- var require_interop_require_wildcard = __commonJS({
708
- "node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs"(exports) {
709
- "use strict";
710
- function _getRequireWildcardCache(nodeInterop) {
711
- if (typeof WeakMap !== "function") return null;
712
- var cacheBabelInterop = /* @__PURE__ */ new WeakMap();
713
- var cacheNodeInterop = /* @__PURE__ */ new WeakMap();
714
- return (_getRequireWildcardCache = function(nodeInterop2) {
715
- return nodeInterop2 ? cacheNodeInterop : cacheBabelInterop;
716
- })(nodeInterop);
717
- }
718
- function _interop_require_wildcard(obj, nodeInterop) {
719
- if (!nodeInterop && obj && obj.__esModule) return obj;
720
- if (obj === null || typeof obj !== "object" && typeof obj !== "function") return { default: obj };
721
- var cache = _getRequireWildcardCache(nodeInterop);
722
- if (cache && cache.has(obj)) return cache.get(obj);
723
- var newObj = { __proto__: null };
724
- var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
725
- for (var key in obj) {
726
- if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
727
- var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
728
- if (desc && (desc.get || desc.set)) Object.defineProperty(newObj, key, desc);
729
- else newObj[key] = obj[key];
730
- }
731
- }
732
- newObj.default = obj;
733
- if (cache) cache.set(obj, newObj);
734
- return newObj;
735
- }
736
- exports._ = _interop_require_wildcard;
737
- }
738
- });
739
-
740
- // node_modules/next/dist/shared/lib/side-effect.js
741
- var require_side_effect = __commonJS({
742
- "node_modules/next/dist/shared/lib/side-effect.js"(exports) {
743
- "use strict";
744
- Object.defineProperty(exports, "__esModule", {
745
- value: true
746
- });
747
- Object.defineProperty(exports, "default", {
748
- enumerable: true,
749
- get: function() {
750
- return SideEffect;
751
- }
752
- });
753
- var _react = __require("react");
754
- var isServer = typeof window === "undefined";
755
- var useClientOnlyLayoutEffect = isServer ? () => {
756
- } : _react.useLayoutEffect;
757
- var useClientOnlyEffect = isServer ? () => {
758
- } : _react.useEffect;
759
- function SideEffect(props) {
760
- const { headManager, reduceComponentsToState } = props;
761
- function emitChange() {
762
- if (headManager && headManager.mountedInstances) {
763
- const headElements = _react.Children.toArray(Array.from(headManager.mountedInstances).filter(Boolean));
764
- headManager.updateHead(reduceComponentsToState(headElements, props));
765
- }
766
- }
767
- if (isServer) {
768
- var _headManager_mountedInstances;
769
- headManager == null ? void 0 : (_headManager_mountedInstances = headManager.mountedInstances) == null ? void 0 : _headManager_mountedInstances.add(props.children);
770
- emitChange();
771
- }
772
- useClientOnlyLayoutEffect(() => {
773
- var _headManager_mountedInstances2;
774
- headManager == null ? void 0 : (_headManager_mountedInstances2 = headManager.mountedInstances) == null ? void 0 : _headManager_mountedInstances2.add(props.children);
775
- return () => {
776
- var _headManager_mountedInstances3;
777
- headManager == null ? void 0 : (_headManager_mountedInstances3 = headManager.mountedInstances) == null ? void 0 : _headManager_mountedInstances3.delete(props.children);
778
- };
779
- });
780
- useClientOnlyLayoutEffect(() => {
781
- if (headManager) {
782
- headManager._pendingUpdate = emitChange;
783
- }
784
- return () => {
785
- if (headManager) {
786
- headManager._pendingUpdate = emitChange;
787
- }
788
- };
789
- });
790
- useClientOnlyEffect(() => {
791
- if (headManager && headManager._pendingUpdate) {
792
- headManager._pendingUpdate();
793
- headManager._pendingUpdate = null;
794
- }
795
- return () => {
796
- if (headManager && headManager._pendingUpdate) {
797
- headManager._pendingUpdate();
798
- headManager._pendingUpdate = null;
799
- }
800
- };
801
- });
802
- return null;
803
- }
804
- }
805
- });
806
-
807
- // node_modules/next/dist/shared/lib/amp-context.shared-runtime.js
808
- var require_amp_context_shared_runtime = __commonJS({
809
- "node_modules/next/dist/shared/lib/amp-context.shared-runtime.js"(exports) {
810
- "use strict";
811
- Object.defineProperty(exports, "__esModule", {
812
- value: true
813
- });
814
- Object.defineProperty(exports, "AmpStateContext", {
815
- enumerable: true,
816
- get: function() {
817
- return AmpStateContext;
818
- }
819
- });
820
- var _interop_require_default = require_interop_require_default();
821
- var _react = /* @__PURE__ */ _interop_require_default._(__require("react"));
822
- var AmpStateContext = _react.default.createContext({});
823
- if (process.env.NODE_ENV !== "production") {
824
- AmpStateContext.displayName = "AmpStateContext";
825
- }
826
- }
827
- });
828
-
829
- // node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.js
830
- var require_head_manager_context_shared_runtime = __commonJS({
831
- "node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.js"(exports) {
832
- "use strict";
833
- Object.defineProperty(exports, "__esModule", {
834
- value: true
835
- });
836
- Object.defineProperty(exports, "HeadManagerContext", {
837
- enumerable: true,
838
- get: function() {
839
- return HeadManagerContext;
840
- }
841
- });
842
- var _interop_require_default = require_interop_require_default();
843
- var _react = /* @__PURE__ */ _interop_require_default._(__require("react"));
844
- var HeadManagerContext = _react.default.createContext({});
845
- if (process.env.NODE_ENV !== "production") {
846
- HeadManagerContext.displayName = "HeadManagerContext";
847
- }
848
- }
849
- });
850
-
851
- // node_modules/next/dist/shared/lib/amp-mode.js
852
- var require_amp_mode = __commonJS({
853
- "node_modules/next/dist/shared/lib/amp-mode.js"(exports) {
854
- "use strict";
855
- Object.defineProperty(exports, "__esModule", {
856
- value: true
857
- });
858
- Object.defineProperty(exports, "isInAmpMode", {
859
- enumerable: true,
860
- get: function() {
861
- return isInAmpMode;
862
- }
863
- });
864
- function isInAmpMode(param) {
865
- let { ampFirst = false, hybrid = false, hasQuery = false } = param === void 0 ? {} : param;
866
- return ampFirst || hybrid && hasQuery;
867
- }
868
- }
869
- });
870
-
871
- // node_modules/next/dist/shared/lib/head.js
872
- var require_head = __commonJS({
873
- "node_modules/next/dist/shared/lib/head.js"(exports, module) {
874
- "use client";
875
- "use strict";
876
- Object.defineProperty(exports, "__esModule", {
877
- value: true
878
- });
879
- function _export(target, all) {
880
- for (var name in all) Object.defineProperty(target, name, {
881
- enumerable: true,
882
- get: all[name]
883
- });
884
- }
885
- _export(exports, {
886
- default: function() {
887
- return _default;
888
- },
889
- defaultHead: function() {
890
- return defaultHead;
891
- }
892
- });
893
- var _interop_require_default = require_interop_require_default();
894
- var _interop_require_wildcard = require_interop_require_wildcard();
895
- var _jsxruntime = __require("react/jsx-runtime");
896
- var _react = /* @__PURE__ */ _interop_require_wildcard._(__require("react"));
897
- var _sideeffect = /* @__PURE__ */ _interop_require_default._(require_side_effect());
898
- var _ampcontextsharedruntime = require_amp_context_shared_runtime();
899
- var _headmanagercontextsharedruntime = require_head_manager_context_shared_runtime();
900
- var _ampmode = require_amp_mode();
901
- var _warnonce = require_warn_once();
902
- function defaultHead(inAmpMode) {
903
- if (inAmpMode === void 0) inAmpMode = false;
904
- const head = [
905
- /* @__PURE__ */ (0, _jsxruntime.jsx)("meta", {
906
- charSet: "utf-8"
907
- }, "charset")
908
- ];
909
- if (!inAmpMode) {
910
- head.push(/* @__PURE__ */ (0, _jsxruntime.jsx)("meta", {
911
- name: "viewport",
912
- content: "width=device-width"
913
- }, "viewport"));
914
- }
915
- return head;
916
- }
917
- function onlyReactElement(list, child) {
918
- if (typeof child === "string" || typeof child === "number") {
919
- return list;
920
- }
921
- if (child.type === _react.default.Fragment) {
922
- return list.concat(
923
- // @ts-expect-error @types/react does not remove fragments but this could also return ReactPortal[]
924
- _react.default.Children.toArray(child.props.children).reduce(
925
- // @ts-expect-error @types/react does not remove fragments but this could also return ReactPortal[]
926
- (fragmentList, fragmentChild) => {
927
- if (typeof fragmentChild === "string" || typeof fragmentChild === "number") {
928
- return fragmentList;
929
- }
930
- return fragmentList.concat(fragmentChild);
931
- },
932
- []
933
- )
934
- );
935
- }
936
- return list.concat(child);
937
- }
938
- var METATYPES = [
939
- "name",
940
- "httpEquiv",
941
- "charSet",
942
- "itemProp"
943
- ];
944
- function unique() {
945
- const keys = /* @__PURE__ */ new Set();
946
- const tags = /* @__PURE__ */ new Set();
947
- const metaTypes = /* @__PURE__ */ new Set();
948
- const metaCategories = {};
949
- return (h) => {
950
- let isUnique = true;
951
- let hasKey = false;
952
- if (h.key && typeof h.key !== "number" && h.key.indexOf("$") > 0) {
953
- hasKey = true;
954
- const key = h.key.slice(h.key.indexOf("$") + 1);
955
- if (keys.has(key)) {
956
- isUnique = false;
957
- } else {
958
- keys.add(key);
959
- }
960
- }
961
- switch (h.type) {
962
- case "title":
963
- case "base":
964
- if (tags.has(h.type)) {
965
- isUnique = false;
966
- } else {
967
- tags.add(h.type);
968
- }
969
- break;
970
- case "meta":
971
- for (let i = 0, len = METATYPES.length; i < len; i++) {
972
- const metatype = METATYPES[i];
973
- if (!h.props.hasOwnProperty(metatype)) continue;
974
- if (metatype === "charSet") {
975
- if (metaTypes.has(metatype)) {
976
- isUnique = false;
977
- } else {
978
- metaTypes.add(metatype);
979
- }
980
- } else {
981
- const category = h.props[metatype];
982
- const categories = metaCategories[metatype] || /* @__PURE__ */ new Set();
983
- if ((metatype !== "name" || !hasKey) && categories.has(category)) {
984
- isUnique = false;
985
- } else {
986
- categories.add(category);
987
- metaCategories[metatype] = categories;
988
- }
989
- }
990
- }
991
- break;
992
- }
993
- return isUnique;
994
- };
995
- }
996
- function reduceComponents(headChildrenElements, props) {
997
- const { inAmpMode } = props;
998
- return headChildrenElements.reduce(onlyReactElement, []).reverse().concat(defaultHead(inAmpMode).reverse()).filter(unique()).reverse().map((c, i) => {
999
- const key = c.key || i;
1000
- if (process.env.NODE_ENV === "development") {
1001
- if (c.type === "script" && c.props["type"] !== "application/ld+json") {
1002
- const srcMessage = c.props["src"] ? '<script> tag with src="' + c.props["src"] + '"' : "inline <script>";
1003
- (0, _warnonce.warnOnce)("Do not add <script> tags using next/head (see " + srcMessage + "). Use next/script instead. \nSee more info here: https://nextjs.org/docs/messages/no-script-tags-in-head-component");
1004
- } else if (c.type === "link" && c.props["rel"] === "stylesheet") {
1005
- (0, _warnonce.warnOnce)('Do not add stylesheets using next/head (see <link rel="stylesheet"> tag with href="' + c.props["href"] + '"). Use Document instead. \nSee more info here: https://nextjs.org/docs/messages/no-stylesheets-in-head-component');
1006
- }
1007
- }
1008
- return /* @__PURE__ */ _react.default.cloneElement(c, {
1009
- key
1010
- });
1011
- });
1012
- }
1013
- function Head(param) {
1014
- let { children } = param;
1015
- const ampState = (0, _react.useContext)(_ampcontextsharedruntime.AmpStateContext);
1016
- const headManager = (0, _react.useContext)(_headmanagercontextsharedruntime.HeadManagerContext);
1017
- return /* @__PURE__ */ (0, _jsxruntime.jsx)(_sideeffect.default, {
1018
- reduceComponentsToState: reduceComponents,
1019
- headManager,
1020
- inAmpMode: (0, _ampmode.isInAmpMode)(ampState),
1021
- children
1022
- });
1023
- }
1024
- var _default = Head;
1025
- if ((typeof exports.default === "function" || typeof exports.default === "object" && exports.default !== null) && typeof exports.default.__esModule === "undefined") {
1026
- Object.defineProperty(exports.default, "__esModule", { value: true });
1027
- Object.assign(exports.default, exports);
1028
- module.exports = exports.default;
1029
- }
1030
- }
1031
- });
1032
-
1033
- // node_modules/next/dist/shared/lib/image-config-context.shared-runtime.js
1034
- var require_image_config_context_shared_runtime = __commonJS({
1035
- "node_modules/next/dist/shared/lib/image-config-context.shared-runtime.js"(exports) {
1036
- "use strict";
1037
- Object.defineProperty(exports, "__esModule", {
1038
- value: true
1039
- });
1040
- Object.defineProperty(exports, "ImageConfigContext", {
1041
- enumerable: true,
1042
- get: function() {
1043
- return ImageConfigContext;
1044
- }
1045
- });
1046
- var _interop_require_default = require_interop_require_default();
1047
- var _react = /* @__PURE__ */ _interop_require_default._(__require("react"));
1048
- var _imageconfig = require_image_config();
1049
- var ImageConfigContext = _react.default.createContext(_imageconfig.imageConfigDefault);
1050
- if (process.env.NODE_ENV !== "production") {
1051
- ImageConfigContext.displayName = "ImageConfigContext";
1052
- }
1053
- }
1054
- });
1055
-
1056
- // node_modules/next/dist/shared/lib/router-context.shared-runtime.js
1057
- var require_router_context_shared_runtime = __commonJS({
1058
- "node_modules/next/dist/shared/lib/router-context.shared-runtime.js"(exports) {
1059
- "use strict";
1060
- Object.defineProperty(exports, "__esModule", {
1061
- value: true
1062
- });
1063
- Object.defineProperty(exports, "RouterContext", {
1064
- enumerable: true,
1065
- get: function() {
1066
- return RouterContext;
1067
- }
1068
- });
1069
- var _interop_require_default = require_interop_require_default();
1070
- var _react = /* @__PURE__ */ _interop_require_default._(__require("react"));
1071
- var RouterContext = _react.default.createContext(null);
1072
- if (process.env.NODE_ENV !== "production") {
1073
- RouterContext.displayName = "RouterContext";
1074
- }
1075
- }
1076
- });
1077
-
1078
- // node_modules/next/dist/compiled/picomatch/index.js
1079
- var require_picomatch = __commonJS({
1080
- "node_modules/next/dist/compiled/picomatch/index.js"(exports, module) {
1081
- (() => {
1082
- "use strict";
1083
- var t = { 170: (t2, e2, u2) => {
1084
- const n = u2(510);
1085
- const isWindows = () => {
1086
- if (typeof navigator !== "undefined" && navigator.platform) {
1087
- const t3 = navigator.platform.toLowerCase();
1088
- return t3 === "win32" || t3 === "windows";
1089
- }
1090
- if (typeof process !== "undefined" && process.platform) {
1091
- return process.platform === "win32";
1092
- }
1093
- return false;
1094
- };
1095
- function picomatch(t3, e3, u3 = false) {
1096
- if (e3 && (e3.windows === null || e3.windows === void 0)) {
1097
- e3 = { ...e3, windows: isWindows() };
1098
- }
1099
- return n(t3, e3, u3);
1100
- }
1101
- Object.assign(picomatch, n);
1102
- t2.exports = picomatch;
1103
- }, 154: (t2) => {
1104
- const e2 = "\\\\/";
1105
- const u2 = `[^${e2}]`;
1106
- const n = "\\.";
1107
- const o = "\\+";
1108
- const s = "\\?";
1109
- const r = "\\/";
1110
- const a = "(?=.)";
1111
- const i = "[^/]";
1112
- const c = `(?:${r}|$)`;
1113
- const p = `(?:^|${r})`;
1114
- const l = `${n}{1,2}${c}`;
1115
- const f = `(?!${n})`;
1116
- const A = `(?!${p}${l})`;
1117
- const _ = `(?!${n}{0,1}${c})`;
1118
- const R = `(?!${l})`;
1119
- const E = `[^.${r}]`;
1120
- const h = `${i}*?`;
1121
- const g = "/";
1122
- const b = { DOT_LITERAL: n, PLUS_LITERAL: o, QMARK_LITERAL: s, SLASH_LITERAL: r, ONE_CHAR: a, QMARK: i, END_ANCHOR: c, DOTS_SLASH: l, NO_DOT: f, NO_DOTS: A, NO_DOT_SLASH: _, NO_DOTS_SLASH: R, QMARK_NO_DOT: E, STAR: h, START_ANCHOR: p, SEP: g };
1123
- const C = { ...b, SLASH_LITERAL: `[${e2}]`, QMARK: u2, STAR: `${u2}*?`, DOTS_SLASH: `${n}{1,2}(?:[${e2}]|$)`, NO_DOT: `(?!${n})`, NO_DOTS: `(?!(?:^|[${e2}])${n}{1,2}(?:[${e2}]|$))`, NO_DOT_SLASH: `(?!${n}{0,1}(?:[${e2}]|$))`, NO_DOTS_SLASH: `(?!${n}{1,2}(?:[${e2}]|$))`, QMARK_NO_DOT: `[^.${e2}]`, START_ANCHOR: `(?:^|[${e2}])`, END_ANCHOR: `(?:[${e2}]|$)`, SEP: "\\" };
1124
- const y = { alnum: "a-zA-Z0-9", alpha: "a-zA-Z", ascii: "\\x00-\\x7F", blank: " \\t", cntrl: "\\x00-\\x1F\\x7F", digit: "0-9", graph: "\\x21-\\x7E", lower: "a-z", print: "\\x20-\\x7E ", punct: "\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~", space: " \\t\\r\\n\\v\\f", upper: "A-Z", word: "A-Za-z0-9_", xdigit: "A-Fa-f0-9" };
1125
- t2.exports = { MAX_LENGTH: 1024 * 64, POSIX_REGEX_SOURCE: y, REGEX_BACKSLASH: /\\(?![*+?^${}(|)[\]])/g, REGEX_NON_SPECIAL_CHARS: /^[^@![\].,$*+?^{}()|\\/]+/, REGEX_SPECIAL_CHARS: /[-*+?.^${}(|)[\]]/, REGEX_SPECIAL_CHARS_BACKREF: /(\\?)((\W)(\3*))/g, REGEX_SPECIAL_CHARS_GLOBAL: /([-*+?.^${}(|)[\]])/g, REGEX_REMOVE_BACKSLASH: /(?:\[.*?[^\\]\]|\\(?=.))/g, REPLACEMENTS: { "***": "*", "**/**": "**", "**/**/**": "**" }, CHAR_0: 48, CHAR_9: 57, CHAR_UPPERCASE_A: 65, CHAR_LOWERCASE_A: 97, CHAR_UPPERCASE_Z: 90, CHAR_LOWERCASE_Z: 122, CHAR_LEFT_PARENTHESES: 40, CHAR_RIGHT_PARENTHESES: 41, CHAR_ASTERISK: 42, CHAR_AMPERSAND: 38, CHAR_AT: 64, CHAR_BACKWARD_SLASH: 92, CHAR_CARRIAGE_RETURN: 13, CHAR_CIRCUMFLEX_ACCENT: 94, CHAR_COLON: 58, CHAR_COMMA: 44, CHAR_DOT: 46, CHAR_DOUBLE_QUOTE: 34, CHAR_EQUAL: 61, CHAR_EXCLAMATION_MARK: 33, CHAR_FORM_FEED: 12, CHAR_FORWARD_SLASH: 47, CHAR_GRAVE_ACCENT: 96, CHAR_HASH: 35, CHAR_HYPHEN_MINUS: 45, CHAR_LEFT_ANGLE_BRACKET: 60, CHAR_LEFT_CURLY_BRACE: 123, CHAR_LEFT_SQUARE_BRACKET: 91, CHAR_LINE_FEED: 10, CHAR_NO_BREAK_SPACE: 160, CHAR_PERCENT: 37, CHAR_PLUS: 43, CHAR_QUESTION_MARK: 63, CHAR_RIGHT_ANGLE_BRACKET: 62, CHAR_RIGHT_CURLY_BRACE: 125, CHAR_RIGHT_SQUARE_BRACKET: 93, CHAR_SEMICOLON: 59, CHAR_SINGLE_QUOTE: 39, CHAR_SPACE: 32, CHAR_TAB: 9, CHAR_UNDERSCORE: 95, CHAR_VERTICAL_LINE: 124, CHAR_ZERO_WIDTH_NOBREAK_SPACE: 65279, extglobChars(t3) {
1126
- return { "!": { type: "negate", open: "(?:(?!(?:", close: `))${t3.STAR})` }, "?": { type: "qmark", open: "(?:", close: ")?" }, "+": { type: "plus", open: "(?:", close: ")+" }, "*": { type: "star", open: "(?:", close: ")*" }, "@": { type: "at", open: "(?:", close: ")" } };
1127
- }, globChars(t3) {
1128
- return t3 === true ? C : b;
1129
- } };
1130
- }, 697: (t2, e2, u2) => {
1131
- const n = u2(154);
1132
- const o = u2(96);
1133
- const { MAX_LENGTH: s, POSIX_REGEX_SOURCE: r, REGEX_NON_SPECIAL_CHARS: a, REGEX_SPECIAL_CHARS_BACKREF: i, REPLACEMENTS: c } = n;
1134
- const expandRange = (t3, e3) => {
1135
- if (typeof e3.expandRange === "function") {
1136
- return e3.expandRange(...t3, e3);
1137
- }
1138
- t3.sort();
1139
- const u3 = `[${t3.join("-")}]`;
1140
- try {
1141
- new RegExp(u3);
1142
- } catch (e4) {
1143
- return t3.map((t4) => o.escapeRegex(t4)).join("..");
1144
- }
1145
- return u3;
1146
- };
1147
- const syntaxError = (t3, e3) => `Missing ${t3}: "${e3}" - use "\\\\${e3}" to match literal characters`;
1148
- const parse = (t3, e3) => {
1149
- if (typeof t3 !== "string") {
1150
- throw new TypeError("Expected a string");
1151
- }
1152
- t3 = c[t3] || t3;
1153
- const u3 = { ...e3 };
1154
- const p = typeof u3.maxLength === "number" ? Math.min(s, u3.maxLength) : s;
1155
- let l = t3.length;
1156
- if (l > p) {
1157
- throw new SyntaxError(`Input length: ${l}, exceeds maximum allowed length: ${p}`);
1158
- }
1159
- const f = { type: "bos", value: "", output: u3.prepend || "" };
1160
- const A = [f];
1161
- const _ = u3.capture ? "" : "?:";
1162
- const R = n.globChars(u3.windows);
1163
- const E = n.extglobChars(R);
1164
- const { DOT_LITERAL: h, PLUS_LITERAL: g, SLASH_LITERAL: b, ONE_CHAR: C, DOTS_SLASH: y, NO_DOT: $, NO_DOT_SLASH: x, NO_DOTS_SLASH: S, QMARK: H, QMARK_NO_DOT: v, STAR: d, START_ANCHOR: L } = R;
1165
- const globstar = (t4) => `(${_}(?:(?!${L}${t4.dot ? y : h}).)*?)`;
1166
- const T = u3.dot ? "" : $;
1167
- const O = u3.dot ? H : v;
1168
- let k = u3.bash === true ? globstar(u3) : d;
1169
- if (u3.capture) {
1170
- k = `(${k})`;
1171
- }
1172
- if (typeof u3.noext === "boolean") {
1173
- u3.noextglob = u3.noext;
1174
- }
1175
- const m = { input: t3, index: -1, start: 0, dot: u3.dot === true, consumed: "", output: "", prefix: "", backtrack: false, negated: false, brackets: 0, braces: 0, parens: 0, quotes: 0, globstar: false, tokens: A };
1176
- t3 = o.removePrefix(t3, m);
1177
- l = t3.length;
1178
- const w = [];
1179
- const N = [];
1180
- const I = [];
1181
- let B = f;
1182
- let G;
1183
- const eos = () => m.index === l - 1;
1184
- const D = m.peek = (e4 = 1) => t3[m.index + e4];
1185
- const M = m.advance = () => t3[++m.index] || "";
1186
- const remaining = () => t3.slice(m.index + 1);
1187
- const consume = (t4 = "", e4 = 0) => {
1188
- m.consumed += t4;
1189
- m.index += e4;
1190
- };
1191
- const append = (t4) => {
1192
- m.output += t4.output != null ? t4.output : t4.value;
1193
- consume(t4.value);
1194
- };
1195
- const negate = () => {
1196
- let t4 = 1;
1197
- while (D() === "!" && (D(2) !== "(" || D(3) === "?")) {
1198
- M();
1199
- m.start++;
1200
- t4++;
1201
- }
1202
- if (t4 % 2 === 0) {
1203
- return false;
1204
- }
1205
- m.negated = true;
1206
- m.start++;
1207
- return true;
1208
- };
1209
- const increment = (t4) => {
1210
- m[t4]++;
1211
- I.push(t4);
1212
- };
1213
- const decrement = (t4) => {
1214
- m[t4]--;
1215
- I.pop();
1216
- };
1217
- const push = (t4) => {
1218
- if (B.type === "globstar") {
1219
- const e4 = m.braces > 0 && (t4.type === "comma" || t4.type === "brace");
1220
- const u4 = t4.extglob === true || w.length && (t4.type === "pipe" || t4.type === "paren");
1221
- if (t4.type !== "slash" && t4.type !== "paren" && !e4 && !u4) {
1222
- m.output = m.output.slice(0, -B.output.length);
1223
- B.type = "star";
1224
- B.value = "*";
1225
- B.output = k;
1226
- m.output += B.output;
1227
- }
1228
- }
1229
- if (w.length && t4.type !== "paren") {
1230
- w[w.length - 1].inner += t4.value;
1231
- }
1232
- if (t4.value || t4.output) append(t4);
1233
- if (B && B.type === "text" && t4.type === "text") {
1234
- B.output = (B.output || B.value) + t4.value;
1235
- B.value += t4.value;
1236
- return;
1237
- }
1238
- t4.prev = B;
1239
- A.push(t4);
1240
- B = t4;
1241
- };
1242
- const extglobOpen = (t4, e4) => {
1243
- const n2 = { ...E[e4], conditions: 1, inner: "" };
1244
- n2.prev = B;
1245
- n2.parens = m.parens;
1246
- n2.output = m.output;
1247
- const o2 = (u3.capture ? "(" : "") + n2.open;
1248
- increment("parens");
1249
- push({ type: t4, value: e4, output: m.output ? "" : C });
1250
- push({ type: "paren", extglob: true, value: M(), output: o2 });
1251
- w.push(n2);
1252
- };
1253
- const extglobClose = (t4) => {
1254
- let n2 = t4.close + (u3.capture ? ")" : "");
1255
- let o2;
1256
- if (t4.type === "negate") {
1257
- let s2 = k;
1258
- if (t4.inner && t4.inner.length > 1 && t4.inner.includes("/")) {
1259
- s2 = globstar(u3);
1260
- }
1261
- if (s2 !== k || eos() || /^\)+$/.test(remaining())) {
1262
- n2 = t4.close = `)$))${s2}`;
1263
- }
1264
- if (t4.inner.includes("*") && (o2 = remaining()) && /^\.[^\\/.]+$/.test(o2)) {
1265
- const u4 = parse(o2, { ...e3, fastpaths: false }).output;
1266
- n2 = t4.close = `)${u4})${s2})`;
1267
- }
1268
- if (t4.prev.type === "bos") {
1269
- m.negatedExtglob = true;
1270
- }
1271
- }
1272
- push({ type: "paren", extglob: true, value: G, output: n2 });
1273
- decrement("parens");
1274
- };
1275
- if (u3.fastpaths !== false && !/(^[*!]|[/()[\]{}"])/.test(t3)) {
1276
- let n2 = false;
1277
- let s2 = t3.replace(i, (t4, e4, u4, o2, s3, r2) => {
1278
- if (o2 === "\\") {
1279
- n2 = true;
1280
- return t4;
1281
- }
1282
- if (o2 === "?") {
1283
- if (e4) {
1284
- return e4 + o2 + (s3 ? H.repeat(s3.length) : "");
1285
- }
1286
- if (r2 === 0) {
1287
- return O + (s3 ? H.repeat(s3.length) : "");
1288
- }
1289
- return H.repeat(u4.length);
1290
- }
1291
- if (o2 === ".") {
1292
- return h.repeat(u4.length);
1293
- }
1294
- if (o2 === "*") {
1295
- if (e4) {
1296
- return e4 + o2 + (s3 ? k : "");
1297
- }
1298
- return k;
1299
- }
1300
- return e4 ? t4 : `\\${t4}`;
1301
- });
1302
- if (n2 === true) {
1303
- if (u3.unescape === true) {
1304
- s2 = s2.replace(/\\/g, "");
1305
- } else {
1306
- s2 = s2.replace(/\\+/g, (t4) => t4.length % 2 === 0 ? "\\\\" : t4 ? "\\" : "");
1307
- }
1308
- }
1309
- if (s2 === t3 && u3.contains === true) {
1310
- m.output = t3;
1311
- return m;
1312
- }
1313
- m.output = o.wrapOutput(s2, m, e3);
1314
- return m;
1315
- }
1316
- while (!eos()) {
1317
- G = M();
1318
- if (G === "\0") {
1319
- continue;
1320
- }
1321
- if (G === "\\") {
1322
- const t4 = D();
1323
- if (t4 === "/" && u3.bash !== true) {
1324
- continue;
1325
- }
1326
- if (t4 === "." || t4 === ";") {
1327
- continue;
1328
- }
1329
- if (!t4) {
1330
- G += "\\";
1331
- push({ type: "text", value: G });
1332
- continue;
1333
- }
1334
- const e5 = /^\\+/.exec(remaining());
1335
- let n3 = 0;
1336
- if (e5 && e5[0].length > 2) {
1337
- n3 = e5[0].length;
1338
- m.index += n3;
1339
- if (n3 % 2 !== 0) {
1340
- G += "\\";
1341
- }
1342
- }
1343
- if (u3.unescape === true) {
1344
- G = M();
1345
- } else {
1346
- G += M();
1347
- }
1348
- if (m.brackets === 0) {
1349
- push({ type: "text", value: G });
1350
- continue;
1351
- }
1352
- }
1353
- if (m.brackets > 0 && (G !== "]" || B.value === "[" || B.value === "[^")) {
1354
- if (u3.posix !== false && G === ":") {
1355
- const t4 = B.value.slice(1);
1356
- if (t4.includes("[")) {
1357
- B.posix = true;
1358
- if (t4.includes(":")) {
1359
- const t5 = B.value.lastIndexOf("[");
1360
- const e5 = B.value.slice(0, t5);
1361
- const u4 = B.value.slice(t5 + 2);
1362
- const n3 = r[u4];
1363
- if (n3) {
1364
- B.value = e5 + n3;
1365
- m.backtrack = true;
1366
- M();
1367
- if (!f.output && A.indexOf(B) === 1) {
1368
- f.output = C;
1369
- }
1370
- continue;
1371
- }
1372
- }
1373
- }
1374
- }
1375
- if (G === "[" && D() !== ":" || G === "-" && D() === "]") {
1376
- G = `\\${G}`;
1377
- }
1378
- if (G === "]" && (B.value === "[" || B.value === "[^")) {
1379
- G = `\\${G}`;
1380
- }
1381
- if (u3.posix === true && G === "!" && B.value === "[") {
1382
- G = "^";
1383
- }
1384
- B.value += G;
1385
- append({ value: G });
1386
- continue;
1387
- }
1388
- if (m.quotes === 1 && G !== '"') {
1389
- G = o.escapeRegex(G);
1390
- B.value += G;
1391
- append({ value: G });
1392
- continue;
1393
- }
1394
- if (G === '"') {
1395
- m.quotes = m.quotes === 1 ? 0 : 1;
1396
- if (u3.keepQuotes === true) {
1397
- push({ type: "text", value: G });
1398
- }
1399
- continue;
1400
- }
1401
- if (G === "(") {
1402
- increment("parens");
1403
- push({ type: "paren", value: G });
1404
- continue;
1405
- }
1406
- if (G === ")") {
1407
- if (m.parens === 0 && u3.strictBrackets === true) {
1408
- throw new SyntaxError(syntaxError("opening", "("));
1409
- }
1410
- const t4 = w[w.length - 1];
1411
- if (t4 && m.parens === t4.parens + 1) {
1412
- extglobClose(w.pop());
1413
- continue;
1414
- }
1415
- push({ type: "paren", value: G, output: m.parens ? ")" : "\\)" });
1416
- decrement("parens");
1417
- continue;
1418
- }
1419
- if (G === "[") {
1420
- if (u3.nobracket === true || !remaining().includes("]")) {
1421
- if (u3.nobracket !== true && u3.strictBrackets === true) {
1422
- throw new SyntaxError(syntaxError("closing", "]"));
1423
- }
1424
- G = `\\${G}`;
1425
- } else {
1426
- increment("brackets");
1427
- }
1428
- push({ type: "bracket", value: G });
1429
- continue;
1430
- }
1431
- if (G === "]") {
1432
- if (u3.nobracket === true || B && B.type === "bracket" && B.value.length === 1) {
1433
- push({ type: "text", value: G, output: `\\${G}` });
1434
- continue;
1435
- }
1436
- if (m.brackets === 0) {
1437
- if (u3.strictBrackets === true) {
1438
- throw new SyntaxError(syntaxError("opening", "["));
1439
- }
1440
- push({ type: "text", value: G, output: `\\${G}` });
1441
- continue;
1442
- }
1443
- decrement("brackets");
1444
- const t4 = B.value.slice(1);
1445
- if (B.posix !== true && t4[0] === "^" && !t4.includes("/")) {
1446
- G = `/${G}`;
1447
- }
1448
- B.value += G;
1449
- append({ value: G });
1450
- if (u3.literalBrackets === false || o.hasRegexChars(t4)) {
1451
- continue;
1452
- }
1453
- const e5 = o.escapeRegex(B.value);
1454
- m.output = m.output.slice(0, -B.value.length);
1455
- if (u3.literalBrackets === true) {
1456
- m.output += e5;
1457
- B.value = e5;
1458
- continue;
1459
- }
1460
- B.value = `(${_}${e5}|${B.value})`;
1461
- m.output += B.value;
1462
- continue;
1463
- }
1464
- if (G === "{" && u3.nobrace !== true) {
1465
- increment("braces");
1466
- const t4 = { type: "brace", value: G, output: "(", outputIndex: m.output.length, tokensIndex: m.tokens.length };
1467
- N.push(t4);
1468
- push(t4);
1469
- continue;
1470
- }
1471
- if (G === "}") {
1472
- const t4 = N[N.length - 1];
1473
- if (u3.nobrace === true || !t4) {
1474
- push({ type: "text", value: G, output: G });
1475
- continue;
1476
- }
1477
- let e5 = ")";
1478
- if (t4.dots === true) {
1479
- const t5 = A.slice();
1480
- const n3 = [];
1481
- for (let e6 = t5.length - 1; e6 >= 0; e6--) {
1482
- A.pop();
1483
- if (t5[e6].type === "brace") {
1484
- break;
1485
- }
1486
- if (t5[e6].type !== "dots") {
1487
- n3.unshift(t5[e6].value);
1488
- }
1489
- }
1490
- e5 = expandRange(n3, u3);
1491
- m.backtrack = true;
1492
- }
1493
- if (t4.comma !== true && t4.dots !== true) {
1494
- const u4 = m.output.slice(0, t4.outputIndex);
1495
- const n3 = m.tokens.slice(t4.tokensIndex);
1496
- t4.value = t4.output = "\\{";
1497
- G = e5 = "\\}";
1498
- m.output = u4;
1499
- for (const t5 of n3) {
1500
- m.output += t5.output || t5.value;
1501
- }
1502
- }
1503
- push({ type: "brace", value: G, output: e5 });
1504
- decrement("braces");
1505
- N.pop();
1506
- continue;
1507
- }
1508
- if (G === "|") {
1509
- if (w.length > 0) {
1510
- w[w.length - 1].conditions++;
1511
- }
1512
- push({ type: "text", value: G });
1513
- continue;
1514
- }
1515
- if (G === ",") {
1516
- let t4 = G;
1517
- const e5 = N[N.length - 1];
1518
- if (e5 && I[I.length - 1] === "braces") {
1519
- e5.comma = true;
1520
- t4 = "|";
1521
- }
1522
- push({ type: "comma", value: G, output: t4 });
1523
- continue;
1524
- }
1525
- if (G === "/") {
1526
- if (B.type === "dot" && m.index === m.start + 1) {
1527
- m.start = m.index + 1;
1528
- m.consumed = "";
1529
- m.output = "";
1530
- A.pop();
1531
- B = f;
1532
- continue;
1533
- }
1534
- push({ type: "slash", value: G, output: b });
1535
- continue;
1536
- }
1537
- if (G === ".") {
1538
- if (m.braces > 0 && B.type === "dot") {
1539
- if (B.value === ".") B.output = h;
1540
- const t4 = N[N.length - 1];
1541
- B.type = "dots";
1542
- B.output += G;
1543
- B.value += G;
1544
- t4.dots = true;
1545
- continue;
1546
- }
1547
- if (m.braces + m.parens === 0 && B.type !== "bos" && B.type !== "slash") {
1548
- push({ type: "text", value: G, output: h });
1549
- continue;
1550
- }
1551
- push({ type: "dot", value: G, output: h });
1552
- continue;
1553
- }
1554
- if (G === "?") {
1555
- const t4 = B && B.value === "(";
1556
- if (!t4 && u3.noextglob !== true && D() === "(" && D(2) !== "?") {
1557
- extglobOpen("qmark", G);
1558
- continue;
1559
- }
1560
- if (B && B.type === "paren") {
1561
- const t5 = D();
1562
- let e5 = G;
1563
- if (B.value === "(" && !/[!=<:]/.test(t5) || t5 === "<" && !/<([!=]|\w+>)/.test(remaining())) {
1564
- e5 = `\\${G}`;
1565
- }
1566
- push({ type: "text", value: G, output: e5 });
1567
- continue;
1568
- }
1569
- if (u3.dot !== true && (B.type === "slash" || B.type === "bos")) {
1570
- push({ type: "qmark", value: G, output: v });
1571
- continue;
1572
- }
1573
- push({ type: "qmark", value: G, output: H });
1574
- continue;
1575
- }
1576
- if (G === "!") {
1577
- if (u3.noextglob !== true && D() === "(") {
1578
- if (D(2) !== "?" || !/[!=<:]/.test(D(3))) {
1579
- extglobOpen("negate", G);
1580
- continue;
1581
- }
1582
- }
1583
- if (u3.nonegate !== true && m.index === 0) {
1584
- negate();
1585
- continue;
1586
- }
1587
- }
1588
- if (G === "+") {
1589
- if (u3.noextglob !== true && D() === "(" && D(2) !== "?") {
1590
- extglobOpen("plus", G);
1591
- continue;
1592
- }
1593
- if (B && B.value === "(" || u3.regex === false) {
1594
- push({ type: "plus", value: G, output: g });
1595
- continue;
1596
- }
1597
- if (B && (B.type === "bracket" || B.type === "paren" || B.type === "brace") || m.parens > 0) {
1598
- push({ type: "plus", value: G });
1599
- continue;
1600
- }
1601
- push({ type: "plus", value: g });
1602
- continue;
1603
- }
1604
- if (G === "@") {
1605
- if (u3.noextglob !== true && D() === "(" && D(2) !== "?") {
1606
- push({ type: "at", extglob: true, value: G, output: "" });
1607
- continue;
1608
- }
1609
- push({ type: "text", value: G });
1610
- continue;
1611
- }
1612
- if (G !== "*") {
1613
- if (G === "$" || G === "^") {
1614
- G = `\\${G}`;
1615
- }
1616
- const t4 = a.exec(remaining());
1617
- if (t4) {
1618
- G += t4[0];
1619
- m.index += t4[0].length;
1620
- }
1621
- push({ type: "text", value: G });
1622
- continue;
1623
- }
1624
- if (B && (B.type === "globstar" || B.star === true)) {
1625
- B.type = "star";
1626
- B.star = true;
1627
- B.value += G;
1628
- B.output = k;
1629
- m.backtrack = true;
1630
- m.globstar = true;
1631
- consume(G);
1632
- continue;
1633
- }
1634
- let e4 = remaining();
1635
- if (u3.noextglob !== true && /^\([^?]/.test(e4)) {
1636
- extglobOpen("star", G);
1637
- continue;
1638
- }
1639
- if (B.type === "star") {
1640
- if (u3.noglobstar === true) {
1641
- consume(G);
1642
- continue;
1643
- }
1644
- const n3 = B.prev;
1645
- const o2 = n3.prev;
1646
- const s2 = n3.type === "slash" || n3.type === "bos";
1647
- const r2 = o2 && (o2.type === "star" || o2.type === "globstar");
1648
- if (u3.bash === true && (!s2 || e4[0] && e4[0] !== "/")) {
1649
- push({ type: "star", value: G, output: "" });
1650
- continue;
1651
- }
1652
- const a2 = m.braces > 0 && (n3.type === "comma" || n3.type === "brace");
1653
- const i2 = w.length && (n3.type === "pipe" || n3.type === "paren");
1654
- if (!s2 && n3.type !== "paren" && !a2 && !i2) {
1655
- push({ type: "star", value: G, output: "" });
1656
- continue;
1657
- }
1658
- while (e4.slice(0, 3) === "/**") {
1659
- const u4 = t3[m.index + 4];
1660
- if (u4 && u4 !== "/") {
1661
- break;
1662
- }
1663
- e4 = e4.slice(3);
1664
- consume("/**", 3);
1665
- }
1666
- if (n3.type === "bos" && eos()) {
1667
- B.type = "globstar";
1668
- B.value += G;
1669
- B.output = globstar(u3);
1670
- m.output = B.output;
1671
- m.globstar = true;
1672
- consume(G);
1673
- continue;
1674
- }
1675
- if (n3.type === "slash" && n3.prev.type !== "bos" && !r2 && eos()) {
1676
- m.output = m.output.slice(0, -(n3.output + B.output).length);
1677
- n3.output = `(?:${n3.output}`;
1678
- B.type = "globstar";
1679
- B.output = globstar(u3) + (u3.strictSlashes ? ")" : "|$)");
1680
- B.value += G;
1681
- m.globstar = true;
1682
- m.output += n3.output + B.output;
1683
- consume(G);
1684
- continue;
1685
- }
1686
- if (n3.type === "slash" && n3.prev.type !== "bos" && e4[0] === "/") {
1687
- const t4 = e4[1] !== void 0 ? "|$" : "";
1688
- m.output = m.output.slice(0, -(n3.output + B.output).length);
1689
- n3.output = `(?:${n3.output}`;
1690
- B.type = "globstar";
1691
- B.output = `${globstar(u3)}${b}|${b}${t4})`;
1692
- B.value += G;
1693
- m.output += n3.output + B.output;
1694
- m.globstar = true;
1695
- consume(G + M());
1696
- push({ type: "slash", value: "/", output: "" });
1697
- continue;
1698
- }
1699
- if (n3.type === "bos" && e4[0] === "/") {
1700
- B.type = "globstar";
1701
- B.value += G;
1702
- B.output = `(?:^|${b}|${globstar(u3)}${b})`;
1703
- m.output = B.output;
1704
- m.globstar = true;
1705
- consume(G + M());
1706
- push({ type: "slash", value: "/", output: "" });
1707
- continue;
1708
- }
1709
- m.output = m.output.slice(0, -B.output.length);
1710
- B.type = "globstar";
1711
- B.output = globstar(u3);
1712
- B.value += G;
1713
- m.output += B.output;
1714
- m.globstar = true;
1715
- consume(G);
1716
- continue;
1717
- }
1718
- const n2 = { type: "star", value: G, output: k };
1719
- if (u3.bash === true) {
1720
- n2.output = ".*?";
1721
- if (B.type === "bos" || B.type === "slash") {
1722
- n2.output = T + n2.output;
1723
- }
1724
- push(n2);
1725
- continue;
1726
- }
1727
- if (B && (B.type === "bracket" || B.type === "paren") && u3.regex === true) {
1728
- n2.output = G;
1729
- push(n2);
1730
- continue;
1731
- }
1732
- if (m.index === m.start || B.type === "slash" || B.type === "dot") {
1733
- if (B.type === "dot") {
1734
- m.output += x;
1735
- B.output += x;
1736
- } else if (u3.dot === true) {
1737
- m.output += S;
1738
- B.output += S;
1739
- } else {
1740
- m.output += T;
1741
- B.output += T;
1742
- }
1743
- if (D() !== "*") {
1744
- m.output += C;
1745
- B.output += C;
1746
- }
1747
- }
1748
- push(n2);
1749
- }
1750
- while (m.brackets > 0) {
1751
- if (u3.strictBrackets === true) throw new SyntaxError(syntaxError("closing", "]"));
1752
- m.output = o.escapeLast(m.output, "[");
1753
- decrement("brackets");
1754
- }
1755
- while (m.parens > 0) {
1756
- if (u3.strictBrackets === true) throw new SyntaxError(syntaxError("closing", ")"));
1757
- m.output = o.escapeLast(m.output, "(");
1758
- decrement("parens");
1759
- }
1760
- while (m.braces > 0) {
1761
- if (u3.strictBrackets === true) throw new SyntaxError(syntaxError("closing", "}"));
1762
- m.output = o.escapeLast(m.output, "{");
1763
- decrement("braces");
1764
- }
1765
- if (u3.strictSlashes !== true && (B.type === "star" || B.type === "bracket")) {
1766
- push({ type: "maybe_slash", value: "", output: `${b}?` });
1767
- }
1768
- if (m.backtrack === true) {
1769
- m.output = "";
1770
- for (const t4 of m.tokens) {
1771
- m.output += t4.output != null ? t4.output : t4.value;
1772
- if (t4.suffix) {
1773
- m.output += t4.suffix;
1774
- }
1775
- }
1776
- }
1777
- return m;
1778
- };
1779
- parse.fastpaths = (t3, e3) => {
1780
- const u3 = { ...e3 };
1781
- const r2 = typeof u3.maxLength === "number" ? Math.min(s, u3.maxLength) : s;
1782
- const a2 = t3.length;
1783
- if (a2 > r2) {
1784
- throw new SyntaxError(`Input length: ${a2}, exceeds maximum allowed length: ${r2}`);
1785
- }
1786
- t3 = c[t3] || t3;
1787
- const { DOT_LITERAL: i2, SLASH_LITERAL: p, ONE_CHAR: l, DOTS_SLASH: f, NO_DOT: A, NO_DOTS: _, NO_DOTS_SLASH: R, STAR: E, START_ANCHOR: h } = n.globChars(u3.windows);
1788
- const g = u3.dot ? _ : A;
1789
- const b = u3.dot ? R : A;
1790
- const C = u3.capture ? "" : "?:";
1791
- const y = { negated: false, prefix: "" };
1792
- let $ = u3.bash === true ? ".*?" : E;
1793
- if (u3.capture) {
1794
- $ = `(${$})`;
1795
- }
1796
- const globstar = (t4) => {
1797
- if (t4.noglobstar === true) return $;
1798
- return `(${C}(?:(?!${h}${t4.dot ? f : i2}).)*?)`;
1799
- };
1800
- const create = (t4) => {
1801
- switch (t4) {
1802
- case "*":
1803
- return `${g}${l}${$}`;
1804
- case ".*":
1805
- return `${i2}${l}${$}`;
1806
- case "*.*":
1807
- return `${g}${$}${i2}${l}${$}`;
1808
- case "*/*":
1809
- return `${g}${$}${p}${l}${b}${$}`;
1810
- case "**":
1811
- return g + globstar(u3);
1812
- case "**/*":
1813
- return `(?:${g}${globstar(u3)}${p})?${b}${l}${$}`;
1814
- case "**/*.*":
1815
- return `(?:${g}${globstar(u3)}${p})?${b}${$}${i2}${l}${$}`;
1816
- case "**/.*":
1817
- return `(?:${g}${globstar(u3)}${p})?${i2}${l}${$}`;
1818
- default: {
1819
- const e4 = /^(.*?)\.(\w+)$/.exec(t4);
1820
- if (!e4) return;
1821
- const u4 = create(e4[1]);
1822
- if (!u4) return;
1823
- return u4 + i2 + e4[2];
1824
- }
1825
- }
1826
- };
1827
- const x = o.removePrefix(t3, y);
1828
- let S = create(x);
1829
- if (S && u3.strictSlashes !== true) {
1830
- S += `${p}?`;
1831
- }
1832
- return S;
1833
- };
1834
- t2.exports = parse;
1835
- }, 510: (t2, e2, u2) => {
1836
- const n = u2(716);
1837
- const o = u2(697);
1838
- const s = u2(96);
1839
- const r = u2(154);
1840
- const isObject = (t3) => t3 && typeof t3 === "object" && !Array.isArray(t3);
1841
- const picomatch = (t3, e3, u3 = false) => {
1842
- if (Array.isArray(t3)) {
1843
- const n3 = t3.map((t4) => picomatch(t4, e3, u3));
1844
- const arrayMatcher = (t4) => {
1845
- for (const e4 of n3) {
1846
- const u4 = e4(t4);
1847
- if (u4) return u4;
1848
- }
1849
- return false;
1850
- };
1851
- return arrayMatcher;
1852
- }
1853
- const n2 = isObject(t3) && t3.tokens && t3.input;
1854
- if (t3 === "" || typeof t3 !== "string" && !n2) {
1855
- throw new TypeError("Expected pattern to be a non-empty string");
1856
- }
1857
- const o2 = e3 || {};
1858
- const s2 = o2.windows;
1859
- const r2 = n2 ? picomatch.compileRe(t3, e3) : picomatch.makeRe(t3, e3, false, true);
1860
- const a = r2.state;
1861
- delete r2.state;
1862
- let isIgnored = () => false;
1863
- if (o2.ignore) {
1864
- const t4 = { ...e3, ignore: null, onMatch: null, onResult: null };
1865
- isIgnored = picomatch(o2.ignore, t4, u3);
1866
- }
1867
- const matcher = (u4, n3 = false) => {
1868
- const { isMatch: i, match: c, output: p } = picomatch.test(u4, r2, e3, { glob: t3, posix: s2 });
1869
- const l = { glob: t3, state: a, regex: r2, posix: s2, input: u4, output: p, match: c, isMatch: i };
1870
- if (typeof o2.onResult === "function") {
1871
- o2.onResult(l);
1872
- }
1873
- if (i === false) {
1874
- l.isMatch = false;
1875
- return n3 ? l : false;
1876
- }
1877
- if (isIgnored(u4)) {
1878
- if (typeof o2.onIgnore === "function") {
1879
- o2.onIgnore(l);
1880
- }
1881
- l.isMatch = false;
1882
- return n3 ? l : false;
1883
- }
1884
- if (typeof o2.onMatch === "function") {
1885
- o2.onMatch(l);
1886
- }
1887
- return n3 ? l : true;
1888
- };
1889
- if (u3) {
1890
- matcher.state = a;
1891
- }
1892
- return matcher;
1893
- };
1894
- picomatch.test = (t3, e3, u3, { glob: n2, posix: o2 } = {}) => {
1895
- if (typeof t3 !== "string") {
1896
- throw new TypeError("Expected input to be a string");
1897
- }
1898
- if (t3 === "") {
1899
- return { isMatch: false, output: "" };
1900
- }
1901
- const r2 = u3 || {};
1902
- const a = r2.format || (o2 ? s.toPosixSlashes : null);
1903
- let i = t3 === n2;
1904
- let c = i && a ? a(t3) : t3;
1905
- if (i === false) {
1906
- c = a ? a(t3) : t3;
1907
- i = c === n2;
1908
- }
1909
- if (i === false || r2.capture === true) {
1910
- if (r2.matchBase === true || r2.basename === true) {
1911
- i = picomatch.matchBase(t3, e3, u3, o2);
1912
- } else {
1913
- i = e3.exec(c);
1914
- }
1915
- }
1916
- return { isMatch: Boolean(i), match: i, output: c };
1917
- };
1918
- picomatch.matchBase = (t3, e3, u3) => {
1919
- const n2 = e3 instanceof RegExp ? e3 : picomatch.makeRe(e3, u3);
1920
- return n2.test(s.basename(t3));
1921
- };
1922
- picomatch.isMatch = (t3, e3, u3) => picomatch(e3, u3)(t3);
1923
- picomatch.parse = (t3, e3) => {
1924
- if (Array.isArray(t3)) return t3.map((t4) => picomatch.parse(t4, e3));
1925
- return o(t3, { ...e3, fastpaths: false });
1926
- };
1927
- picomatch.scan = (t3, e3) => n(t3, e3);
1928
- picomatch.compileRe = (t3, e3, u3 = false, n2 = false) => {
1929
- if (u3 === true) {
1930
- return t3.output;
1931
- }
1932
- const o2 = e3 || {};
1933
- const s2 = o2.contains ? "" : "^";
1934
- const r2 = o2.contains ? "" : "$";
1935
- let a = `${s2}(?:${t3.output})${r2}`;
1936
- if (t3 && t3.negated === true) {
1937
- a = `^(?!${a}).*$`;
1938
- }
1939
- const i = picomatch.toRegex(a, e3);
1940
- if (n2 === true) {
1941
- i.state = t3;
1942
- }
1943
- return i;
1944
- };
1945
- picomatch.makeRe = (t3, e3 = {}, u3 = false, n2 = false) => {
1946
- if (!t3 || typeof t3 !== "string") {
1947
- throw new TypeError("Expected a non-empty string");
1948
- }
1949
- let s2 = { negated: false, fastpaths: true };
1950
- if (e3.fastpaths !== false && (t3[0] === "." || t3[0] === "*")) {
1951
- s2.output = o.fastpaths(t3, e3);
1952
- }
1953
- if (!s2.output) {
1954
- s2 = o(t3, e3);
1955
- }
1956
- return picomatch.compileRe(s2, e3, u3, n2);
1957
- };
1958
- picomatch.toRegex = (t3, e3) => {
1959
- try {
1960
- const u3 = e3 || {};
1961
- return new RegExp(t3, u3.flags || (u3.nocase ? "i" : ""));
1962
- } catch (t4) {
1963
- if (e3 && e3.debug === true) throw t4;
1964
- return /$^/;
1965
- }
1966
- };
1967
- picomatch.constants = r;
1968
- t2.exports = picomatch;
1969
- }, 716: (t2, e2, u2) => {
1970
- const n = u2(96);
1971
- const { CHAR_ASTERISK: o, CHAR_AT: s, CHAR_BACKWARD_SLASH: r, CHAR_COMMA: a, CHAR_DOT: i, CHAR_EXCLAMATION_MARK: c, CHAR_FORWARD_SLASH: p, CHAR_LEFT_CURLY_BRACE: l, CHAR_LEFT_PARENTHESES: f, CHAR_LEFT_SQUARE_BRACKET: A, CHAR_PLUS: _, CHAR_QUESTION_MARK: R, CHAR_RIGHT_CURLY_BRACE: E, CHAR_RIGHT_PARENTHESES: h, CHAR_RIGHT_SQUARE_BRACKET: g } = u2(154);
1972
- const isPathSeparator = (t3) => t3 === p || t3 === r;
1973
- const depth = (t3) => {
1974
- if (t3.isPrefix !== true) {
1975
- t3.depth = t3.isGlobstar ? Infinity : 1;
1976
- }
1977
- };
1978
- const scan = (t3, e3) => {
1979
- const u3 = e3 || {};
1980
- const b = t3.length - 1;
1981
- const C = u3.parts === true || u3.scanToEnd === true;
1982
- const y = [];
1983
- const $ = [];
1984
- const x = [];
1985
- let S = t3;
1986
- let H = -1;
1987
- let v = 0;
1988
- let d = 0;
1989
- let L = false;
1990
- let T = false;
1991
- let O = false;
1992
- let k = false;
1993
- let m = false;
1994
- let w = false;
1995
- let N = false;
1996
- let I = false;
1997
- let B = false;
1998
- let G = false;
1999
- let D = 0;
2000
- let M;
2001
- let P;
2002
- let K = { value: "", depth: 0, isGlob: false };
2003
- const eos = () => H >= b;
2004
- const peek = () => S.charCodeAt(H + 1);
2005
- const advance = () => {
2006
- M = P;
2007
- return S.charCodeAt(++H);
2008
- };
2009
- while (H < b) {
2010
- P = advance();
2011
- let t4;
2012
- if (P === r) {
2013
- N = K.backslashes = true;
2014
- P = advance();
2015
- if (P === l) {
2016
- w = true;
2017
- }
2018
- continue;
2019
- }
2020
- if (w === true || P === l) {
2021
- D++;
2022
- while (eos() !== true && (P = advance())) {
2023
- if (P === r) {
2024
- N = K.backslashes = true;
2025
- advance();
2026
- continue;
2027
- }
2028
- if (P === l) {
2029
- D++;
2030
- continue;
2031
- }
2032
- if (w !== true && P === i && (P = advance()) === i) {
2033
- L = K.isBrace = true;
2034
- O = K.isGlob = true;
2035
- G = true;
2036
- if (C === true) {
2037
- continue;
2038
- }
2039
- break;
2040
- }
2041
- if (w !== true && P === a) {
2042
- L = K.isBrace = true;
2043
- O = K.isGlob = true;
2044
- G = true;
2045
- if (C === true) {
2046
- continue;
2047
- }
2048
- break;
2049
- }
2050
- if (P === E) {
2051
- D--;
2052
- if (D === 0) {
2053
- w = false;
2054
- L = K.isBrace = true;
2055
- G = true;
2056
- break;
2057
- }
2058
- }
2059
- }
2060
- if (C === true) {
2061
- continue;
2062
- }
2063
- break;
2064
- }
2065
- if (P === p) {
2066
- y.push(H);
2067
- $.push(K);
2068
- K = { value: "", depth: 0, isGlob: false };
2069
- if (G === true) continue;
2070
- if (M === i && H === v + 1) {
2071
- v += 2;
2072
- continue;
2073
- }
2074
- d = H + 1;
2075
- continue;
2076
- }
2077
- if (u3.noext !== true) {
2078
- const t5 = P === _ || P === s || P === o || P === R || P === c;
2079
- if (t5 === true && peek() === f) {
2080
- O = K.isGlob = true;
2081
- k = K.isExtglob = true;
2082
- G = true;
2083
- if (P === c && H === v) {
2084
- B = true;
2085
- }
2086
- if (C === true) {
2087
- while (eos() !== true && (P = advance())) {
2088
- if (P === r) {
2089
- N = K.backslashes = true;
2090
- P = advance();
2091
- continue;
2092
- }
2093
- if (P === h) {
2094
- O = K.isGlob = true;
2095
- G = true;
2096
- break;
2097
- }
2098
- }
2099
- continue;
2100
- }
2101
- break;
2102
- }
2103
- }
2104
- if (P === o) {
2105
- if (M === o) m = K.isGlobstar = true;
2106
- O = K.isGlob = true;
2107
- G = true;
2108
- if (C === true) {
2109
- continue;
2110
- }
2111
- break;
2112
- }
2113
- if (P === R) {
2114
- O = K.isGlob = true;
2115
- G = true;
2116
- if (C === true) {
2117
- continue;
2118
- }
2119
- break;
2120
- }
2121
- if (P === A) {
2122
- while (eos() !== true && (t4 = advance())) {
2123
- if (t4 === r) {
2124
- N = K.backslashes = true;
2125
- advance();
2126
- continue;
2127
- }
2128
- if (t4 === g) {
2129
- T = K.isBracket = true;
2130
- O = K.isGlob = true;
2131
- G = true;
2132
- break;
2133
- }
2134
- }
2135
- if (C === true) {
2136
- continue;
2137
- }
2138
- break;
2139
- }
2140
- if (u3.nonegate !== true && P === c && H === v) {
2141
- I = K.negated = true;
2142
- v++;
2143
- continue;
2144
- }
2145
- if (u3.noparen !== true && P === f) {
2146
- O = K.isGlob = true;
2147
- if (C === true) {
2148
- while (eos() !== true && (P = advance())) {
2149
- if (P === f) {
2150
- N = K.backslashes = true;
2151
- P = advance();
2152
- continue;
2153
- }
2154
- if (P === h) {
2155
- G = true;
2156
- break;
2157
- }
2158
- }
2159
- continue;
2160
- }
2161
- break;
2162
- }
2163
- if (O === true) {
2164
- G = true;
2165
- if (C === true) {
2166
- continue;
2167
- }
2168
- break;
2169
- }
2170
- }
2171
- if (u3.noext === true) {
2172
- k = false;
2173
- O = false;
2174
- }
2175
- let U = S;
2176
- let X = "";
2177
- let F = "";
2178
- if (v > 0) {
2179
- X = S.slice(0, v);
2180
- S = S.slice(v);
2181
- d -= v;
2182
- }
2183
- if (U && O === true && d > 0) {
2184
- U = S.slice(0, d);
2185
- F = S.slice(d);
2186
- } else if (O === true) {
2187
- U = "";
2188
- F = S;
2189
- } else {
2190
- U = S;
2191
- }
2192
- if (U && U !== "" && U !== "/" && U !== S) {
2193
- if (isPathSeparator(U.charCodeAt(U.length - 1))) {
2194
- U = U.slice(0, -1);
2195
- }
2196
- }
2197
- if (u3.unescape === true) {
2198
- if (F) F = n.removeBackslashes(F);
2199
- if (U && N === true) {
2200
- U = n.removeBackslashes(U);
2201
- }
2202
- }
2203
- const Q = { prefix: X, input: t3, start: v, base: U, glob: F, isBrace: L, isBracket: T, isGlob: O, isExtglob: k, isGlobstar: m, negated: I, negatedExtglob: B };
2204
- if (u3.tokens === true) {
2205
- Q.maxDepth = 0;
2206
- if (!isPathSeparator(P)) {
2207
- $.push(K);
2208
- }
2209
- Q.tokens = $;
2210
- }
2211
- if (u3.parts === true || u3.tokens === true) {
2212
- let e4;
2213
- for (let n2 = 0; n2 < y.length; n2++) {
2214
- const o2 = e4 ? e4 + 1 : v;
2215
- const s2 = y[n2];
2216
- const r2 = t3.slice(o2, s2);
2217
- if (u3.tokens) {
2218
- if (n2 === 0 && v !== 0) {
2219
- $[n2].isPrefix = true;
2220
- $[n2].value = X;
2221
- } else {
2222
- $[n2].value = r2;
2223
- }
2224
- depth($[n2]);
2225
- Q.maxDepth += $[n2].depth;
2226
- }
2227
- if (n2 !== 0 || r2 !== "") {
2228
- x.push(r2);
2229
- }
2230
- e4 = s2;
2231
- }
2232
- if (e4 && e4 + 1 < t3.length) {
2233
- const n2 = t3.slice(e4 + 1);
2234
- x.push(n2);
2235
- if (u3.tokens) {
2236
- $[$.length - 1].value = n2;
2237
- depth($[$.length - 1]);
2238
- Q.maxDepth += $[$.length - 1].depth;
2239
- }
2240
- }
2241
- Q.slashes = y;
2242
- Q.parts = x;
2243
- }
2244
- return Q;
2245
- };
2246
- t2.exports = scan;
2247
- }, 96: (t2, e2, u2) => {
2248
- const { REGEX_BACKSLASH: n, REGEX_REMOVE_BACKSLASH: o, REGEX_SPECIAL_CHARS: s, REGEX_SPECIAL_CHARS_GLOBAL: r } = u2(154);
2249
- e2.isObject = (t3) => t3 !== null && typeof t3 === "object" && !Array.isArray(t3);
2250
- e2.hasRegexChars = (t3) => s.test(t3);
2251
- e2.isRegexChar = (t3) => t3.length === 1 && e2.hasRegexChars(t3);
2252
- e2.escapeRegex = (t3) => t3.replace(r, "\\$1");
2253
- e2.toPosixSlashes = (t3) => t3.replace(n, "/");
2254
- e2.removeBackslashes = (t3) => t3.replace(o, (t4) => t4 === "\\" ? "" : t4);
2255
- e2.escapeLast = (t3, u3, n2) => {
2256
- const o2 = t3.lastIndexOf(u3, n2);
2257
- if (o2 === -1) return t3;
2258
- if (t3[o2 - 1] === "\\") return e2.escapeLast(t3, u3, o2 - 1);
2259
- return `${t3.slice(0, o2)}\\${t3.slice(o2)}`;
2260
- };
2261
- e2.removePrefix = (t3, e3 = {}) => {
2262
- let u3 = t3;
2263
- if (u3.startsWith("./")) {
2264
- u3 = u3.slice(2);
2265
- e3.prefix = "./";
2266
- }
2267
- return u3;
2268
- };
2269
- e2.wrapOutput = (t3, e3 = {}, u3 = {}) => {
2270
- const n2 = u3.contains ? "" : "^";
2271
- const o2 = u3.contains ? "" : "$";
2272
- let s2 = `${n2}(?:${t3})${o2}`;
2273
- if (e3.negated === true) {
2274
- s2 = `(?:^(?!${s2}).*$)`;
2275
- }
2276
- return s2;
2277
- };
2278
- e2.basename = (t3, { windows: e3 } = {}) => {
2279
- const u3 = t3.split(e3 ? /[\\/]/ : "/");
2280
- const n2 = u3[u3.length - 1];
2281
- if (n2 === "") {
2282
- return u3[u3.length - 2];
2283
- }
2284
- return n2;
2285
- };
2286
- } };
2287
- var e = {};
2288
- function __nccwpck_require__(u2) {
2289
- var n = e[u2];
2290
- if (n !== void 0) {
2291
- return n.exports;
2292
- }
2293
- var o = e[u2] = { exports: {} };
2294
- var s = true;
2295
- try {
2296
- t[u2](o, o.exports, __nccwpck_require__);
2297
- s = false;
2298
- } finally {
2299
- if (s) delete e[u2];
2300
- }
2301
- return o.exports;
2302
- }
2303
- if (typeof __nccwpck_require__ !== "undefined") __nccwpck_require__.ab = __dirname + "/";
2304
- var u = __nccwpck_require__(170);
2305
- module.exports = u;
2306
- })();
2307
- }
2308
- });
2309
-
2310
- // node_modules/next/dist/shared/lib/match-local-pattern.js
2311
- var require_match_local_pattern = __commonJS({
2312
- "node_modules/next/dist/shared/lib/match-local-pattern.js"(exports) {
2313
- "use strict";
2314
- Object.defineProperty(exports, "__esModule", {
2315
- value: true
2316
- });
2317
- function _export(target, all) {
2318
- for (var name in all) Object.defineProperty(target, name, {
2319
- enumerable: true,
2320
- get: all[name]
2321
- });
2322
- }
2323
- _export(exports, {
2324
- hasLocalMatch: function() {
2325
- return hasLocalMatch;
2326
- },
2327
- matchLocalPattern: function() {
2328
- return matchLocalPattern;
2329
- }
2330
- });
2331
- var _picomatch = require_picomatch();
2332
- function matchLocalPattern(pattern, url) {
2333
- if (pattern.search !== void 0) {
2334
- if (pattern.search !== url.search) {
2335
- return false;
2336
- }
2337
- }
2338
- var _pattern_pathname;
2339
- if (!(0, _picomatch.makeRe)((_pattern_pathname = pattern.pathname) != null ? _pattern_pathname : "**", {
2340
- dot: true
2341
- }).test(url.pathname)) {
2342
- return false;
2343
- }
2344
- return true;
2345
- }
2346
- function hasLocalMatch(localPatterns, urlPathAndQuery) {
2347
- if (!localPatterns) {
2348
- return true;
2349
- }
2350
- const url = new URL(urlPathAndQuery, "http://n");
2351
- return localPatterns.some((p) => matchLocalPattern(p, url));
2352
- }
2353
- }
2354
- });
2355
-
2356
- // node_modules/next/dist/shared/lib/match-remote-pattern.js
2357
- var require_match_remote_pattern = __commonJS({
2358
- "node_modules/next/dist/shared/lib/match-remote-pattern.js"(exports) {
2359
- "use strict";
2360
- Object.defineProperty(exports, "__esModule", {
2361
- value: true
2362
- });
2363
- function _export(target, all) {
2364
- for (var name in all) Object.defineProperty(target, name, {
2365
- enumerable: true,
2366
- get: all[name]
2367
- });
2368
- }
2369
- _export(exports, {
2370
- hasRemoteMatch: function() {
2371
- return hasRemoteMatch;
2372
- },
2373
- matchRemotePattern: function() {
2374
- return matchRemotePattern;
2375
- }
2376
- });
2377
- var _picomatch = require_picomatch();
2378
- function matchRemotePattern(pattern, url) {
2379
- if (pattern.protocol !== void 0) {
2380
- if (pattern.protocol.replace(/:$/, "") !== url.protocol.replace(/:$/, "")) {
2381
- return false;
2382
- }
2383
- }
2384
- if (pattern.port !== void 0) {
2385
- if (pattern.port !== url.port) {
2386
- return false;
2387
- }
2388
- }
2389
- if (pattern.hostname === void 0) {
2390
- throw Object.defineProperty(new Error("Pattern should define hostname but found\n" + JSON.stringify(pattern)), "__NEXT_ERROR_CODE", {
2391
- value: "E410",
2392
- enumerable: false,
2393
- configurable: true
2394
- });
2395
- } else {
2396
- if (!(0, _picomatch.makeRe)(pattern.hostname).test(url.hostname)) {
2397
- return false;
2398
- }
2399
- }
2400
- if (pattern.search !== void 0) {
2401
- if (pattern.search !== url.search) {
2402
- return false;
2403
- }
2404
- }
2405
- var _pattern_pathname;
2406
- if (!(0, _picomatch.makeRe)((_pattern_pathname = pattern.pathname) != null ? _pattern_pathname : "**", {
2407
- dot: true
2408
- }).test(url.pathname)) {
2409
- return false;
2410
- }
2411
- return true;
2412
- }
2413
- function hasRemoteMatch(domains, remotePatterns, url) {
2414
- return domains.some((domain) => url.hostname === domain) || remotePatterns.some((p) => matchRemotePattern(p, url));
2415
- }
2416
- }
2417
- });
2418
-
2419
- // node_modules/next/dist/shared/lib/image-loader.js
2420
- var require_image_loader = __commonJS({
2421
- "node_modules/next/dist/shared/lib/image-loader.js"(exports) {
2422
- "use strict";
2423
- Object.defineProperty(exports, "__esModule", {
2424
- value: true
2425
- });
2426
- Object.defineProperty(exports, "default", {
2427
- enumerable: true,
2428
- get: function() {
2429
- return _default;
2430
- }
2431
- });
2432
- var DEFAULT_Q = 75;
2433
- function defaultLoader(param) {
2434
- let { config, src, width, quality } = param;
2435
- var _config_qualities;
2436
- if (process.env.NODE_ENV !== "production") {
2437
- const missingValues = [];
2438
- if (!src) missingValues.push("src");
2439
- if (!width) missingValues.push("width");
2440
- if (missingValues.length > 0) {
2441
- throw Object.defineProperty(new Error("Next Image Optimization requires " + missingValues.join(", ") + " to be provided. Make sure you pass them as props to the `next/image` component. Received: " + JSON.stringify({
2442
- src,
2443
- width,
2444
- quality
2445
- })), "__NEXT_ERROR_CODE", {
2446
- value: "E188",
2447
- enumerable: false,
2448
- configurable: true
2449
- });
2450
- }
2451
- if (src.startsWith("//")) {
2452
- throw Object.defineProperty(new Error('Failed to parse src "' + src + '" on `next/image`, protocol-relative URL (//) must be changed to an absolute URL (http:// or https://)'), "__NEXT_ERROR_CODE", {
2453
- value: "E360",
2454
- enumerable: false,
2455
- configurable: true
2456
- });
2457
- }
2458
- if (src.startsWith("/") && config.localPatterns) {
2459
- if (process.env.NODE_ENV !== "test" && // micromatch isn't compatible with edge runtime
2460
- process.env.NEXT_RUNTIME !== "edge") {
2461
- const { hasLocalMatch } = require_match_local_pattern();
2462
- if (!hasLocalMatch(config.localPatterns, src)) {
2463
- throw Object.defineProperty(new Error("Invalid src prop (" + src + ") on `next/image` does not match `images.localPatterns` configured in your `next.config.js`\nSee more info: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns"), "__NEXT_ERROR_CODE", {
2464
- value: "E426",
2465
- enumerable: false,
2466
- configurable: true
2467
- });
2468
- }
2469
- }
2470
- }
2471
- if (!src.startsWith("/") && (config.domains || config.remotePatterns)) {
2472
- let parsedSrc;
2473
- try {
2474
- parsedSrc = new URL(src);
2475
- } catch (err) {
2476
- console.error(err);
2477
- throw Object.defineProperty(new Error('Failed to parse src "' + src + '" on `next/image`, if using relative image it must start with a leading slash "/" or be an absolute URL (http:// or https://)'), "__NEXT_ERROR_CODE", {
2478
- value: "E63",
2479
- enumerable: false,
2480
- configurable: true
2481
- });
2482
- }
2483
- if (process.env.NODE_ENV !== "test" && // micromatch isn't compatible with edge runtime
2484
- process.env.NEXT_RUNTIME !== "edge") {
2485
- const { hasRemoteMatch } = require_match_remote_pattern();
2486
- if (!hasRemoteMatch(config.domains, config.remotePatterns, parsedSrc)) {
2487
- throw Object.defineProperty(new Error("Invalid src prop (" + src + ') on `next/image`, hostname "' + parsedSrc.hostname + '" is not configured under images in your `next.config.js`\nSee more info: https://nextjs.org/docs/messages/next-image-unconfigured-host'), "__NEXT_ERROR_CODE", {
2488
- value: "E231",
2489
- enumerable: false,
2490
- configurable: true
2491
- });
2492
- }
2493
- }
2494
- }
2495
- if (quality && config.qualities && !config.qualities.includes(quality)) {
2496
- throw Object.defineProperty(new Error("Invalid quality prop (" + quality + ") on `next/image` does not match `images.qualities` configured in your `next.config.js`\nSee more info: https://nextjs.org/docs/messages/next-image-unconfigured-qualities"), "__NEXT_ERROR_CODE", {
2497
- value: "E623",
2498
- enumerable: false,
2499
- configurable: true
2500
- });
2501
- }
2502
- }
2503
- const q = quality || ((_config_qualities = config.qualities) == null ? void 0 : _config_qualities.reduce((prev, cur) => Math.abs(cur - DEFAULT_Q) < Math.abs(prev - DEFAULT_Q) ? cur : prev)) || DEFAULT_Q;
2504
- return config.path + "?url=" + encodeURIComponent(src) + "&w=" + width + "&q=" + q + (src.startsWith("/_next/static/media/") && process.env.NEXT_DEPLOYMENT_ID ? "&dpl=" + process.env.NEXT_DEPLOYMENT_ID : "");
2505
- }
2506
- defaultLoader.__next_img_default = true;
2507
- var _default = defaultLoader;
2508
- }
2509
- });
2510
-
2511
- // node_modules/next/dist/client/use-merged-ref.js
2512
- var require_use_merged_ref = __commonJS({
2513
- "node_modules/next/dist/client/use-merged-ref.js"(exports, module) {
2514
- "use strict";
2515
- Object.defineProperty(exports, "__esModule", {
2516
- value: true
2517
- });
2518
- Object.defineProperty(exports, "useMergedRef", {
2519
- enumerable: true,
2520
- get: function() {
2521
- return useMergedRef;
2522
- }
2523
- });
2524
- var _react = __require("react");
2525
- function useMergedRef(refA, refB) {
2526
- const cleanupA = (0, _react.useRef)(null);
2527
- const cleanupB = (0, _react.useRef)(null);
2528
- return (0, _react.useCallback)((current) => {
2529
- if (current === null) {
2530
- const cleanupFnA = cleanupA.current;
2531
- if (cleanupFnA) {
2532
- cleanupA.current = null;
2533
- cleanupFnA();
2534
- }
2535
- const cleanupFnB = cleanupB.current;
2536
- if (cleanupFnB) {
2537
- cleanupB.current = null;
2538
- cleanupFnB();
2539
- }
2540
- } else {
2541
- if (refA) {
2542
- cleanupA.current = applyRef(refA, current);
2543
- }
2544
- if (refB) {
2545
- cleanupB.current = applyRef(refB, current);
2546
- }
2547
- }
2548
- }, [
2549
- refA,
2550
- refB
2551
- ]);
2552
- }
2553
- function applyRef(refA, current) {
2554
- if (typeof refA === "function") {
2555
- const cleanup = refA(current);
2556
- if (typeof cleanup === "function") {
2557
- return cleanup;
2558
- } else {
2559
- return () => refA(null);
2560
- }
2561
- } else {
2562
- refA.current = current;
2563
- return () => {
2564
- refA.current = null;
2565
- };
2566
- }
2567
- }
2568
- if ((typeof exports.default === "function" || typeof exports.default === "object" && exports.default !== null) && typeof exports.default.__esModule === "undefined") {
2569
- Object.defineProperty(exports.default, "__esModule", { value: true });
2570
- Object.assign(exports.default, exports);
2571
- module.exports = exports.default;
2572
- }
2573
- }
2574
- });
2575
-
2576
- // node_modules/next/dist/client/image-component.js
2577
- var require_image_component = __commonJS({
2578
- "node_modules/next/dist/client/image-component.js"(exports, module) {
2579
- "use client";
2580
- "use strict";
2581
- Object.defineProperty(exports, "__esModule", {
2582
- value: true
2583
- });
2584
- Object.defineProperty(exports, "Image", {
2585
- enumerable: true,
2586
- get: function() {
2587
- return Image2;
2588
- }
2589
- });
2590
- var _interop_require_default = require_interop_require_default();
2591
- var _interop_require_wildcard = require_interop_require_wildcard();
2592
- var _jsxruntime = __require("react/jsx-runtime");
2593
- var _react = /* @__PURE__ */ _interop_require_wildcard._(__require("react"));
2594
- var _reactdom = /* @__PURE__ */ _interop_require_default._(__require("react-dom"));
2595
- var _head = /* @__PURE__ */ _interop_require_default._(require_head());
2596
- var _getimgprops = require_get_img_props();
2597
- var _imageconfig = require_image_config();
2598
- var _imageconfigcontextsharedruntime = require_image_config_context_shared_runtime();
2599
- var _warnonce = require_warn_once();
2600
- var _routercontextsharedruntime = require_router_context_shared_runtime();
2601
- var _imageloader = /* @__PURE__ */ _interop_require_default._(require_image_loader());
2602
- var _usemergedref = require_use_merged_ref();
2603
- var configEnv = process.env.__NEXT_IMAGE_OPTS;
2604
- if (typeof window === "undefined") {
2605
- ;
2606
- globalThis.__NEXT_IMAGE_IMPORTED = true;
2607
- }
2608
- function handleLoading(img, placeholder, onLoadRef, onLoadingCompleteRef, setBlurComplete, unoptimized, sizesInput) {
2609
- const src = img == null ? void 0 : img.src;
2610
- if (!img || img["data-loaded-src"] === src) {
2611
- return;
2612
- }
2613
- img["data-loaded-src"] = src;
2614
- const p = "decode" in img ? img.decode() : Promise.resolve();
2615
- p.catch(() => {
2616
- }).then(() => {
2617
- if (!img.parentElement || !img.isConnected) {
2618
- return;
2619
- }
2620
- if (placeholder !== "empty") {
2621
- setBlurComplete(true);
2622
- }
2623
- if (onLoadRef == null ? void 0 : onLoadRef.current) {
2624
- const event = new Event("load");
2625
- Object.defineProperty(event, "target", {
2626
- writable: false,
2627
- value: img
2628
- });
2629
- let prevented = false;
2630
- let stopped = false;
2631
- onLoadRef.current({
2632
- ...event,
2633
- nativeEvent: event,
2634
- currentTarget: img,
2635
- target: img,
2636
- isDefaultPrevented: () => prevented,
2637
- isPropagationStopped: () => stopped,
2638
- persist: () => {
2639
- },
2640
- preventDefault: () => {
2641
- prevented = true;
2642
- event.preventDefault();
2643
- },
2644
- stopPropagation: () => {
2645
- stopped = true;
2646
- event.stopPropagation();
2647
- }
2648
- });
2649
- }
2650
- if (onLoadingCompleteRef == null ? void 0 : onLoadingCompleteRef.current) {
2651
- onLoadingCompleteRef.current(img);
2652
- }
2653
- if (process.env.NODE_ENV !== "production") {
2654
- const origSrc = new URL(src, "http://n").searchParams.get("url") || src;
2655
- if (img.getAttribute("data-nimg") === "fill") {
2656
- if (!unoptimized && (!sizesInput || sizesInput === "100vw")) {
2657
- let widthViewportRatio = img.getBoundingClientRect().width / window.innerWidth;
2658
- if (widthViewportRatio < 0.6) {
2659
- if (sizesInput === "100vw") {
2660
- (0, _warnonce.warnOnce)('Image with src "' + origSrc + '" has "fill" prop and "sizes" prop of "100vw", but image is not rendered at full viewport width. Please adjust "sizes" to improve page performance. Read more: https://nextjs.org/docs/api-reference/next/image#sizes');
2661
- } else {
2662
- (0, _warnonce.warnOnce)('Image with src "' + origSrc + '" has "fill" but is missing "sizes" prop. Please add it to improve page performance. Read more: https://nextjs.org/docs/api-reference/next/image#sizes');
2663
- }
2664
- }
2665
- }
2666
- if (img.parentElement) {
2667
- const { position } = window.getComputedStyle(img.parentElement);
2668
- const valid = [
2669
- "absolute",
2670
- "fixed",
2671
- "relative"
2672
- ];
2673
- if (!valid.includes(position)) {
2674
- (0, _warnonce.warnOnce)('Image with src "' + origSrc + '" has "fill" and parent element with invalid "position". Provided "' + position + '" should be one of ' + valid.map(String).join(",") + ".");
2675
- }
2676
- }
2677
- if (img.height === 0) {
2678
- (0, _warnonce.warnOnce)('Image with src "' + origSrc + '" has "fill" and a height value of 0. This is likely because the parent element of the image has not been styled to have a set height.');
2679
- }
2680
- }
2681
- const heightModified = img.height.toString() !== img.getAttribute("height");
2682
- const widthModified = img.width.toString() !== img.getAttribute("width");
2683
- if (heightModified && !widthModified || !heightModified && widthModified) {
2684
- (0, _warnonce.warnOnce)('Image with src "' + origSrc + `" has either width or height modified, but not the other. If you use CSS to change the size of your image, also include the styles 'width: "auto"' or 'height: "auto"' to maintain the aspect ratio.`);
2685
- }
2686
- }
2687
- });
2688
- }
2689
- function getDynamicProps(fetchPriority) {
2690
- if (Boolean(_react.use)) {
2691
- return {
2692
- fetchPriority
2693
- };
2694
- }
2695
- return {
2696
- fetchpriority: fetchPriority
2697
- };
2698
- }
2699
- var ImageElement = /* @__PURE__ */ (0, _react.forwardRef)((param, forwardedRef) => {
2700
- let { src, srcSet, sizes, height, width, decoding, className, style, fetchPriority, placeholder, loading, unoptimized, fill, onLoadRef, onLoadingCompleteRef, setBlurComplete, setShowAltText, sizesInput, onLoad, onError, ...rest } = param;
2701
- const ownRef = (0, _react.useCallback)((img) => {
2702
- if (!img) {
2703
- return;
2704
- }
2705
- if (onError) {
2706
- img.src = img.src;
2707
- }
2708
- if (process.env.NODE_ENV !== "production") {
2709
- if (!src) {
2710
- console.error('Image is missing required "src" property:', img);
2711
- }
2712
- if (img.getAttribute("alt") === null) {
2713
- console.error('Image is missing required "alt" property. Please add Alternative Text to describe the image for screen readers and search engines.');
2714
- }
2715
- }
2716
- if (img.complete) {
2717
- handleLoading(img, placeholder, onLoadRef, onLoadingCompleteRef, setBlurComplete, unoptimized, sizesInput);
2718
- }
2719
- }, [
2720
- src,
2721
- placeholder,
2722
- onLoadRef,
2723
- onLoadingCompleteRef,
2724
- setBlurComplete,
2725
- onError,
2726
- unoptimized,
2727
- sizesInput
2728
- ]);
2729
- const ref = (0, _usemergedref.useMergedRef)(forwardedRef, ownRef);
2730
- return /* @__PURE__ */ (0, _jsxruntime.jsx)("img", {
2731
- ...rest,
2732
- ...getDynamicProps(fetchPriority),
2733
- // It's intended to keep `loading` before `src` because React updates
2734
- // props in order which causes Safari/Firefox to not lazy load properly.
2735
- // See https://github.com/facebook/react/issues/25883
2736
- loading,
2737
- width,
2738
- height,
2739
- decoding,
2740
- "data-nimg": fill ? "fill" : "1",
2741
- className,
2742
- style,
2743
- // It's intended to keep `src` the last attribute because React updates
2744
- // attributes in order. If we keep `src` the first one, Safari will
2745
- // immediately start to fetch `src`, before `sizes` and `srcSet` are even
2746
- // updated by React. That causes multiple unnecessary requests if `srcSet`
2747
- // and `sizes` are defined.
2748
- // This bug cannot be reproduced in Chrome or Firefox.
2749
- sizes,
2750
- srcSet,
2751
- src,
2752
- ref,
2753
- onLoad: (event) => {
2754
- const img = event.currentTarget;
2755
- handleLoading(img, placeholder, onLoadRef, onLoadingCompleteRef, setBlurComplete, unoptimized, sizesInput);
2756
- },
2757
- onError: (event) => {
2758
- setShowAltText(true);
2759
- if (placeholder !== "empty") {
2760
- setBlurComplete(true);
2761
- }
2762
- if (onError) {
2763
- onError(event);
2764
- }
2765
- }
2766
- });
2767
- });
2768
- function ImagePreload(param) {
2769
- let { isAppRouter, imgAttributes } = param;
2770
- const opts = {
2771
- as: "image",
2772
- imageSrcSet: imgAttributes.srcSet,
2773
- imageSizes: imgAttributes.sizes,
2774
- crossOrigin: imgAttributes.crossOrigin,
2775
- referrerPolicy: imgAttributes.referrerPolicy,
2776
- ...getDynamicProps(imgAttributes.fetchPriority)
2777
- };
2778
- if (isAppRouter && _reactdom.default.preload) {
2779
- _reactdom.default.preload(imgAttributes.src, opts);
2780
- return null;
2781
- }
2782
- return /* @__PURE__ */ (0, _jsxruntime.jsx)(_head.default, {
2783
- children: /* @__PURE__ */ (0, _jsxruntime.jsx)("link", {
2784
- rel: "preload",
2785
- // Note how we omit the `href` attribute, as it would only be relevant
2786
- // for browsers that do not support `imagesrcset`, and in those cases
2787
- // it would cause the incorrect image to be preloaded.
2788
- //
2789
- // https://html.spec.whatwg.org/multipage/semantics.html#attr-link-imagesrcset
2790
- href: imgAttributes.srcSet ? void 0 : imgAttributes.src,
2791
- ...opts
2792
- }, "__nimg-" + imgAttributes.src + imgAttributes.srcSet + imgAttributes.sizes)
2793
- });
2794
- }
2795
- var Image2 = /* @__PURE__ */ (0, _react.forwardRef)((props, forwardedRef) => {
2796
- const pagesRouter = (0, _react.useContext)(_routercontextsharedruntime.RouterContext);
2797
- const isAppRouter = !pagesRouter;
2798
- const configContext = (0, _react.useContext)(_imageconfigcontextsharedruntime.ImageConfigContext);
2799
- const config = (0, _react.useMemo)(() => {
2800
- var _c_qualities;
2801
- const c = configEnv || configContext || _imageconfig.imageConfigDefault;
2802
- const allSizes = [
2803
- ...c.deviceSizes,
2804
- ...c.imageSizes
2805
- ].sort((a, b) => a - b);
2806
- const deviceSizes = c.deviceSizes.sort((a, b) => a - b);
2807
- const qualities = (_c_qualities = c.qualities) == null ? void 0 : _c_qualities.sort((a, b) => a - b);
2808
- return {
2809
- ...c,
2810
- allSizes,
2811
- deviceSizes,
2812
- qualities
2813
- };
2814
- }, [
2815
- configContext
2816
- ]);
2817
- const { onLoad, onLoadingComplete } = props;
2818
- const onLoadRef = (0, _react.useRef)(onLoad);
2819
- (0, _react.useEffect)(() => {
2820
- onLoadRef.current = onLoad;
2821
- }, [
2822
- onLoad
2823
- ]);
2824
- const onLoadingCompleteRef = (0, _react.useRef)(onLoadingComplete);
2825
- (0, _react.useEffect)(() => {
2826
- onLoadingCompleteRef.current = onLoadingComplete;
2827
- }, [
2828
- onLoadingComplete
2829
- ]);
2830
- const [blurComplete, setBlurComplete] = (0, _react.useState)(false);
2831
- const [showAltText, setShowAltText] = (0, _react.useState)(false);
2832
- const { props: imgAttributes, meta: imgMeta } = (0, _getimgprops.getImgProps)(props, {
2833
- defaultLoader: _imageloader.default,
2834
- imgConf: config,
2835
- blurComplete,
2836
- showAltText
2837
- });
2838
- return /* @__PURE__ */ (0, _jsxruntime.jsxs)(_jsxruntime.Fragment, {
2839
- children: [
2840
- /* @__PURE__ */ (0, _jsxruntime.jsx)(ImageElement, {
2841
- ...imgAttributes,
2842
- unoptimized: imgMeta.unoptimized,
2843
- placeholder: imgMeta.placeholder,
2844
- fill: imgMeta.fill,
2845
- onLoadRef,
2846
- onLoadingCompleteRef,
2847
- setBlurComplete,
2848
- setShowAltText,
2849
- sizesInput: props.sizes,
2850
- ref: forwardedRef
2851
- }),
2852
- imgMeta.priority ? /* @__PURE__ */ (0, _jsxruntime.jsx)(ImagePreload, {
2853
- isAppRouter,
2854
- imgAttributes
2855
- }) : null
2856
- ]
2857
- });
2858
- });
2859
- if ((typeof exports.default === "function" || typeof exports.default === "object" && exports.default !== null) && typeof exports.default.__esModule === "undefined") {
2860
- Object.defineProperty(exports.default, "__esModule", { value: true });
2861
- Object.assign(exports.default, exports);
2862
- module.exports = exports.default;
2863
- }
2864
- }
2865
- });
2866
-
2867
- // node_modules/next/dist/shared/lib/image-external.js
2868
- var require_image_external = __commonJS({
2869
- "node_modules/next/dist/shared/lib/image-external.js"(exports) {
2870
- "use strict";
2871
- Object.defineProperty(exports, "__esModule", {
2872
- value: true
2873
- });
2874
- function _export(target, all) {
2875
- for (var name in all) Object.defineProperty(target, name, {
2876
- enumerable: true,
2877
- get: all[name]
2878
- });
2879
- }
2880
- _export(exports, {
2881
- default: function() {
2882
- return _default;
2883
- },
2884
- getImageProps: function() {
2885
- return getImageProps;
2886
- }
2887
- });
2888
- var _interop_require_default = require_interop_require_default();
2889
- var _getimgprops = require_get_img_props();
2890
- var _imagecomponent = require_image_component();
2891
- var _imageloader = /* @__PURE__ */ _interop_require_default._(require_image_loader());
2892
- function getImageProps(imgProps) {
2893
- const { props } = (0, _getimgprops.getImgProps)(imgProps, {
2894
- defaultLoader: _imageloader.default,
2895
- // This is replaced by webpack define plugin
2896
- imgConf: process.env.__NEXT_IMAGE_OPTS
2897
- });
2898
- for (const [key, value] of Object.entries(props)) {
2899
- if (value === void 0) {
2900
- delete props[key];
2901
- }
2902
- }
2903
- return {
2904
- props
2905
- };
2906
- }
2907
- var _default = _imagecomponent.Image;
2908
- }
2909
- });
2910
-
2911
- // node_modules/next/image.js
2912
- var require_image = __commonJS({
2913
- "node_modules/next/image.js"(exports, module) {
2914
- module.exports = require_image_external();
2915
- }
2916
- });
2917
-
2918
- // src/components/icons-and-geometry/Tag.tsx
2919
- var import_image = __toESM(require_image(), 1);
2920
- import { jsx } from "react/jsx-runtime";
2921
- var TagIcon = ({
2922
- className,
2923
- size = 16
2924
- }) => {
2925
- return /* @__PURE__ */ jsx(
2926
- import_image.default,
2927
- {
2928
- style: { width: `${size}px`, height: `${size}px`, minWidth: `${size}px`, minHeight: `${size}px` },
2929
- width: size,
2930
- height: size,
2931
- alt: "",
2932
- src: "https://cdn.helpwave.de/icons/label.png",
2933
- className
2934
- }
2935
- );
2936
- };
2937
- export {
2938
- TagIcon
2939
- };
2940
- //# sourceMappingURL=Tag.js.map