@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,3934 +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/use-sync-external-store/cjs/use-sync-external-store-shim.production.js
34
- var require_use_sync_external_store_shim_production = __commonJS({
35
- "node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js"(exports) {
36
- "use strict";
37
- var React8 = __require("react");
38
- function is(x, y) {
39
- return x === y && (0 !== x || 1 / x === 1 / y) || x !== x && y !== y;
40
- }
41
- var objectIs = "function" === typeof Object.is ? Object.is : is;
42
- var useState3 = React8.useState;
43
- var useEffect4 = React8.useEffect;
44
- var useLayoutEffect3 = React8.useLayoutEffect;
45
- var useDebugValue = React8.useDebugValue;
46
- function useSyncExternalStore$2(subscribe2, getSnapshot) {
47
- var value = getSnapshot(), _useState = useState3({ inst: { value, getSnapshot } }), inst = _useState[0].inst, forceUpdate = _useState[1];
48
- useLayoutEffect3(
49
- function() {
50
- inst.value = value;
51
- inst.getSnapshot = getSnapshot;
52
- checkIfSnapshotChanged(inst) && forceUpdate({ inst });
53
- },
54
- [subscribe2, value, getSnapshot]
55
- );
56
- useEffect4(
57
- function() {
58
- checkIfSnapshotChanged(inst) && forceUpdate({ inst });
59
- return subscribe2(function() {
60
- checkIfSnapshotChanged(inst) && forceUpdate({ inst });
61
- });
62
- },
63
- [subscribe2]
64
- );
65
- useDebugValue(value);
66
- return value;
67
- }
68
- function checkIfSnapshotChanged(inst) {
69
- var latestGetSnapshot = inst.getSnapshot;
70
- inst = inst.value;
71
- try {
72
- var nextValue = latestGetSnapshot();
73
- return !objectIs(inst, nextValue);
74
- } catch (error) {
75
- return true;
76
- }
77
- }
78
- function useSyncExternalStore$1(subscribe2, getSnapshot) {
79
- return getSnapshot();
80
- }
81
- var shim = "undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement ? useSyncExternalStore$1 : useSyncExternalStore$2;
82
- exports.useSyncExternalStore = void 0 !== React8.useSyncExternalStore ? React8.useSyncExternalStore : shim;
83
- }
84
- });
85
-
86
- // node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js
87
- var require_use_sync_external_store_shim_development = __commonJS({
88
- "node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js"(exports) {
89
- "use strict";
90
- "production" !== process.env.NODE_ENV && function() {
91
- function is(x, y) {
92
- return x === y && (0 !== x || 1 / x === 1 / y) || x !== x && y !== y;
93
- }
94
- function useSyncExternalStore$2(subscribe2, getSnapshot) {
95
- didWarnOld18Alpha || void 0 === React8.startTransition || (didWarnOld18Alpha = true, console.error(
96
- "You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."
97
- ));
98
- var value = getSnapshot();
99
- if (!didWarnUncachedGetSnapshot) {
100
- var cachedValue = getSnapshot();
101
- objectIs(value, cachedValue) || (console.error(
102
- "The result of getSnapshot should be cached to avoid an infinite loop"
103
- ), didWarnUncachedGetSnapshot = true);
104
- }
105
- cachedValue = useState3({
106
- inst: { value, getSnapshot }
107
- });
108
- var inst = cachedValue[0].inst, forceUpdate = cachedValue[1];
109
- useLayoutEffect3(
110
- function() {
111
- inst.value = value;
112
- inst.getSnapshot = getSnapshot;
113
- checkIfSnapshotChanged(inst) && forceUpdate({ inst });
114
- },
115
- [subscribe2, value, getSnapshot]
116
- );
117
- useEffect4(
118
- function() {
119
- checkIfSnapshotChanged(inst) && forceUpdate({ inst });
120
- return subscribe2(function() {
121
- checkIfSnapshotChanged(inst) && forceUpdate({ inst });
122
- });
123
- },
124
- [subscribe2]
125
- );
126
- useDebugValue(value);
127
- return value;
128
- }
129
- function checkIfSnapshotChanged(inst) {
130
- var latestGetSnapshot = inst.getSnapshot;
131
- inst = inst.value;
132
- try {
133
- var nextValue = latestGetSnapshot();
134
- return !objectIs(inst, nextValue);
135
- } catch (error) {
136
- return true;
137
- }
138
- }
139
- function useSyncExternalStore$1(subscribe2, getSnapshot) {
140
- return getSnapshot();
141
- }
142
- "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
143
- var React8 = __require("react"), objectIs = "function" === typeof Object.is ? Object.is : is, useState3 = React8.useState, useEffect4 = React8.useEffect, useLayoutEffect3 = React8.useLayoutEffect, useDebugValue = React8.useDebugValue, didWarnOld18Alpha = false, didWarnUncachedGetSnapshot = false, shim = "undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement ? useSyncExternalStore$1 : useSyncExternalStore$2;
144
- exports.useSyncExternalStore = void 0 !== React8.useSyncExternalStore ? React8.useSyncExternalStore : shim;
145
- "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
146
- }();
147
- }
148
- });
149
-
150
- // node_modules/use-sync-external-store/shim/index.js
151
- var require_shim = __commonJS({
152
- "node_modules/use-sync-external-store/shim/index.js"(exports, module) {
153
- "use strict";
154
- if (process.env.NODE_ENV === "production") {
155
- module.exports = require_use_sync_external_store_shim_production();
156
- } else {
157
- module.exports = require_use_sync_external_store_shim_development();
158
- }
159
- }
160
- });
161
-
162
- // node_modules/@swc/helpers/cjs/_interop_require_default.cjs
163
- var require_interop_require_default = __commonJS({
164
- "node_modules/@swc/helpers/cjs/_interop_require_default.cjs"(exports) {
165
- "use strict";
166
- function _interop_require_default(obj) {
167
- return obj && obj.__esModule ? obj : { default: obj };
168
- }
169
- exports._ = _interop_require_default;
170
- }
171
- });
172
-
173
- // node_modules/next/dist/shared/lib/utils/warn-once.js
174
- var require_warn_once = __commonJS({
175
- "node_modules/next/dist/shared/lib/utils/warn-once.js"(exports) {
176
- "use strict";
177
- Object.defineProperty(exports, "__esModule", {
178
- value: true
179
- });
180
- Object.defineProperty(exports, "warnOnce", {
181
- enumerable: true,
182
- get: function() {
183
- return warnOnce;
184
- }
185
- });
186
- var warnOnce = (_) => {
187
- };
188
- if (process.env.NODE_ENV !== "production") {
189
- const warnings = /* @__PURE__ */ new Set();
190
- warnOnce = (msg) => {
191
- if (!warnings.has(msg)) {
192
- console.warn(msg);
193
- }
194
- warnings.add(msg);
195
- };
196
- }
197
- }
198
- });
199
-
200
- // node_modules/next/dist/shared/lib/image-blur-svg.js
201
- var require_image_blur_svg = __commonJS({
202
- "node_modules/next/dist/shared/lib/image-blur-svg.js"(exports) {
203
- "use strict";
204
- Object.defineProperty(exports, "__esModule", {
205
- value: true
206
- });
207
- Object.defineProperty(exports, "getImageBlurSvg", {
208
- enumerable: true,
209
- get: function() {
210
- return getImageBlurSvg;
211
- }
212
- });
213
- function getImageBlurSvg(param) {
214
- let { widthInt, heightInt, blurWidth, blurHeight, blurDataURL, objectFit } = param;
215
- const std = 20;
216
- const svgWidth = blurWidth ? blurWidth * 40 : widthInt;
217
- const svgHeight = blurHeight ? blurHeight * 40 : heightInt;
218
- const viewBox = svgWidth && svgHeight ? "viewBox='0 0 " + svgWidth + " " + svgHeight + "'" : "";
219
- const preserveAspectRatio = viewBox ? "none" : objectFit === "contain" ? "xMidYMid" : objectFit === "cover" ? "xMidYMid slice" : "none";
220
- 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";
221
- }
222
- }
223
- });
224
-
225
- // node_modules/next/dist/shared/lib/image-config.js
226
- var require_image_config = __commonJS({
227
- "node_modules/next/dist/shared/lib/image-config.js"(exports) {
228
- "use strict";
229
- Object.defineProperty(exports, "__esModule", {
230
- value: true
231
- });
232
- function _export(target, all) {
233
- for (var name in all) Object.defineProperty(target, name, {
234
- enumerable: true,
235
- get: all[name]
236
- });
237
- }
238
- _export(exports, {
239
- VALID_LOADERS: function() {
240
- return VALID_LOADERS;
241
- },
242
- imageConfigDefault: function() {
243
- return imageConfigDefault;
244
- }
245
- });
246
- var VALID_LOADERS = [
247
- "default",
248
- "imgix",
249
- "cloudinary",
250
- "akamai",
251
- "custom"
252
- ];
253
- var imageConfigDefault = {
254
- deviceSizes: [
255
- 640,
256
- 750,
257
- 828,
258
- 1080,
259
- 1200,
260
- 1920,
261
- 2048,
262
- 3840
263
- ],
264
- imageSizes: [
265
- 16,
266
- 32,
267
- 48,
268
- 64,
269
- 96,
270
- 128,
271
- 256,
272
- 384
273
- ],
274
- path: "/_next/image",
275
- loader: "default",
276
- loaderFile: "",
277
- domains: [],
278
- disableStaticImages: false,
279
- minimumCacheTTL: 60,
280
- formats: [
281
- "image/webp"
282
- ],
283
- dangerouslyAllowSVG: false,
284
- contentSecurityPolicy: "script-src 'none'; frame-src 'none'; sandbox;",
285
- contentDispositionType: "attachment",
286
- localPatterns: void 0,
287
- remotePatterns: [],
288
- qualities: void 0,
289
- unoptimized: false
290
- };
291
- }
292
- });
293
-
294
- // node_modules/next/dist/shared/lib/get-img-props.js
295
- var require_get_img_props = __commonJS({
296
- "node_modules/next/dist/shared/lib/get-img-props.js"(exports) {
297
- "use strict";
298
- Object.defineProperty(exports, "__esModule", {
299
- value: true
300
- });
301
- Object.defineProperty(exports, "getImgProps", {
302
- enumerable: true,
303
- get: function() {
304
- return getImgProps;
305
- }
306
- });
307
- var _warnonce = require_warn_once();
308
- var _imageblursvg = require_image_blur_svg();
309
- var _imageconfig = require_image_config();
310
- var VALID_LOADING_VALUES = [
311
- "lazy",
312
- "eager",
313
- void 0
314
- ];
315
- var INVALID_BACKGROUND_SIZE_VALUES = [
316
- "-moz-initial",
317
- "fill",
318
- "none",
319
- "scale-down",
320
- void 0
321
- ];
322
- function isStaticRequire(src) {
323
- return src.default !== void 0;
324
- }
325
- function isStaticImageData(src) {
326
- return src.src !== void 0;
327
- }
328
- function isStaticImport(src) {
329
- return !!src && typeof src === "object" && (isStaticRequire(src) || isStaticImageData(src));
330
- }
331
- var allImgs = /* @__PURE__ */ new Map();
332
- var perfObserver;
333
- function getInt(x) {
334
- if (typeof x === "undefined") {
335
- return x;
336
- }
337
- if (typeof x === "number") {
338
- return Number.isFinite(x) ? x : NaN;
339
- }
340
- if (typeof x === "string" && /^[0-9]+$/.test(x)) {
341
- return parseInt(x, 10);
342
- }
343
- return NaN;
344
- }
345
- function getWidths(param, width, sizes) {
346
- let { deviceSizes, allSizes } = param;
347
- if (sizes) {
348
- const viewportWidthRe = /(^|\s)(1?\d?\d)vw/g;
349
- const percentSizes = [];
350
- for (let match; match = viewportWidthRe.exec(sizes); match) {
351
- percentSizes.push(parseInt(match[2]));
352
- }
353
- if (percentSizes.length) {
354
- const smallestRatio = Math.min(...percentSizes) * 0.01;
355
- return {
356
- widths: allSizes.filter((s) => s >= deviceSizes[0] * smallestRatio),
357
- kind: "w"
358
- };
359
- }
360
- return {
361
- widths: allSizes,
362
- kind: "w"
363
- };
364
- }
365
- if (typeof width !== "number") {
366
- return {
367
- widths: deviceSizes,
368
- kind: "w"
369
- };
370
- }
371
- const widths = [
372
- ...new Set(
373
- // > This means that most OLED screens that say they are 3x resolution,
374
- // > are actually 3x in the green color, but only 1.5x in the red and
375
- // > blue colors. Showing a 3x resolution image in the app vs a 2x
376
- // > resolution image will be visually the same, though the 3x image
377
- // > takes significantly more data. Even true 3x resolution screens are
378
- // > wasteful as the human eye cannot see that level of detail without
379
- // > something like a magnifying glass.
380
- // https://blog.twitter.com/engineering/en_us/topics/infrastructure/2019/capping-image-fidelity-on-ultra-high-resolution-devices.html
381
- [
382
- width,
383
- width * 2
384
- /*, width * 3*/
385
- ].map((w) => allSizes.find((p) => p >= w) || allSizes[allSizes.length - 1])
386
- )
387
- ];
388
- return {
389
- widths,
390
- kind: "x"
391
- };
392
- }
393
- function generateImgAttrs(param) {
394
- let { config, src, unoptimized, width, quality, sizes, loader } = param;
395
- if (unoptimized) {
396
- return {
397
- src,
398
- srcSet: void 0,
399
- sizes: void 0
400
- };
401
- }
402
- const { widths, kind } = getWidths(config, width, sizes);
403
- const last = widths.length - 1;
404
- return {
405
- sizes: !sizes && kind === "w" ? "100vw" : sizes,
406
- srcSet: widths.map((w, i) => loader({
407
- config,
408
- src,
409
- quality,
410
- width: w
411
- }) + " " + (kind === "w" ? w : i + 1) + kind).join(", "),
412
- // It's intended to keep `src` the last attribute because React updates
413
- // attributes in order. If we keep `src` the first one, Safari will
414
- // immediately start to fetch `src`, before `sizes` and `srcSet` are even
415
- // updated by React. That causes multiple unnecessary requests if `srcSet`
416
- // and `sizes` are defined.
417
- // This bug cannot be reproduced in Chrome or Firefox.
418
- src: loader({
419
- config,
420
- src,
421
- quality,
422
- width: widths[last]
423
- })
424
- };
425
- }
426
- function getImgProps(param, _state) {
427
- 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;
428
- const { imgConf, showAltText, blurComplete, defaultLoader } = _state;
429
- let config;
430
- let c = imgConf || _imageconfig.imageConfigDefault;
431
- if ("allSizes" in c) {
432
- config = c;
433
- } else {
434
- var _c_qualities;
435
- const allSizes = [
436
- ...c.deviceSizes,
437
- ...c.imageSizes
438
- ].sort((a, b) => a - b);
439
- const deviceSizes = c.deviceSizes.sort((a, b) => a - b);
440
- const qualities = (_c_qualities = c.qualities) == null ? void 0 : _c_qualities.sort((a, b) => a - b);
441
- config = {
442
- ...c,
443
- allSizes,
444
- deviceSizes,
445
- qualities
446
- };
447
- }
448
- if (typeof defaultLoader === "undefined") {
449
- 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", {
450
- value: "E163",
451
- enumerable: false,
452
- configurable: true
453
- });
454
- }
455
- let loader = rest.loader || defaultLoader;
456
- delete rest.loader;
457
- delete rest.srcSet;
458
- const isDefaultLoader = "__next_img_default" in loader;
459
- if (isDefaultLoader) {
460
- if (config.loader === "custom") {
461
- 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", {
462
- value: "E252",
463
- enumerable: false,
464
- configurable: true
465
- });
466
- }
467
- } else {
468
- const customImageLoader = loader;
469
- loader = (obj) => {
470
- const { config: _, ...opts } = obj;
471
- return customImageLoader(opts);
472
- };
473
- }
474
- if (layout) {
475
- if (layout === "fill") {
476
- fill = true;
477
- }
478
- const layoutToStyle = {
479
- intrinsic: {
480
- maxWidth: "100%",
481
- height: "auto"
482
- },
483
- responsive: {
484
- width: "100%",
485
- height: "auto"
486
- }
487
- };
488
- const layoutToSizes = {
489
- responsive: "100vw",
490
- fill: "100vw"
491
- };
492
- const layoutStyle = layoutToStyle[layout];
493
- if (layoutStyle) {
494
- style = {
495
- ...style,
496
- ...layoutStyle
497
- };
498
- }
499
- const layoutSizes = layoutToSizes[layout];
500
- if (layoutSizes && !sizes) {
501
- sizes = layoutSizes;
502
- }
503
- }
504
- let staticSrc = "";
505
- let widthInt = getInt(width);
506
- let heightInt = getInt(height);
507
- let blurWidth;
508
- let blurHeight;
509
- if (isStaticImport(src)) {
510
- const staticImageData = isStaticRequire(src) ? src.default : src;
511
- if (!staticImageData.src) {
512
- 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", {
513
- value: "E460",
514
- enumerable: false,
515
- configurable: true
516
- });
517
- }
518
- if (!staticImageData.height || !staticImageData.width) {
519
- 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", {
520
- value: "E48",
521
- enumerable: false,
522
- configurable: true
523
- });
524
- }
525
- blurWidth = staticImageData.blurWidth;
526
- blurHeight = staticImageData.blurHeight;
527
- blurDataURL = blurDataURL || staticImageData.blurDataURL;
528
- staticSrc = staticImageData.src;
529
- if (!fill) {
530
- if (!widthInt && !heightInt) {
531
- widthInt = staticImageData.width;
532
- heightInt = staticImageData.height;
533
- } else if (widthInt && !heightInt) {
534
- const ratio = widthInt / staticImageData.width;
535
- heightInt = Math.round(staticImageData.height * ratio);
536
- } else if (!widthInt && heightInt) {
537
- const ratio = heightInt / staticImageData.height;
538
- widthInt = Math.round(staticImageData.width * ratio);
539
- }
540
- }
541
- }
542
- src = typeof src === "string" ? src : staticSrc;
543
- let isLazy = !priority && (loading === "lazy" || typeof loading === "undefined");
544
- if (!src || src.startsWith("data:") || src.startsWith("blob:")) {
545
- unoptimized = true;
546
- isLazy = false;
547
- }
548
- if (config.unoptimized) {
549
- unoptimized = true;
550
- }
551
- if (isDefaultLoader && !config.dangerouslyAllowSVG && src.split("?", 1)[0].endsWith(".svg")) {
552
- unoptimized = true;
553
- }
554
- const qualityInt = getInt(quality);
555
- if (process.env.NODE_ENV !== "production") {
556
- var _config_localPatterns;
557
- if (config.output === "export" && isDefaultLoader && !unoptimized) {
558
- 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", {
559
- value: "E500",
560
- enumerable: false,
561
- configurable: true
562
- });
563
- }
564
- if (!src) {
565
- unoptimized = true;
566
- } else {
567
- if (fill) {
568
- if (width) {
569
- throw Object.defineProperty(new Error('Image with src "' + src + '" has both "width" and "fill" properties. Only one should be used.'), "__NEXT_ERROR_CODE", {
570
- value: "E96",
571
- enumerable: false,
572
- configurable: true
573
- });
574
- }
575
- if (height) {
576
- throw Object.defineProperty(new Error('Image with src "' + src + '" has both "height" and "fill" properties. Only one should be used.'), "__NEXT_ERROR_CODE", {
577
- value: "E115",
578
- enumerable: false,
579
- configurable: true
580
- });
581
- }
582
- if ((style == null ? void 0 : style.position) && style.position !== "absolute") {
583
- 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", {
584
- value: "E216",
585
- enumerable: false,
586
- configurable: true
587
- });
588
- }
589
- if ((style == null ? void 0 : style.width) && style.width !== "100%") {
590
- 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", {
591
- value: "E73",
592
- enumerable: false,
593
- configurable: true
594
- });
595
- }
596
- if ((style == null ? void 0 : style.height) && style.height !== "100%") {
597
- 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", {
598
- value: "E404",
599
- enumerable: false,
600
- configurable: true
601
- });
602
- }
603
- } else {
604
- if (typeof widthInt === "undefined") {
605
- throw Object.defineProperty(new Error('Image with src "' + src + '" is missing required "width" property.'), "__NEXT_ERROR_CODE", {
606
- value: "E451",
607
- enumerable: false,
608
- configurable: true
609
- });
610
- } else if (isNaN(widthInt)) {
611
- 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", {
612
- value: "E66",
613
- enumerable: false,
614
- configurable: true
615
- });
616
- }
617
- if (typeof heightInt === "undefined") {
618
- throw Object.defineProperty(new Error('Image with src "' + src + '" is missing required "height" property.'), "__NEXT_ERROR_CODE", {
619
- value: "E397",
620
- enumerable: false,
621
- configurable: true
622
- });
623
- } else if (isNaN(heightInt)) {
624
- 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", {
625
- value: "E444",
626
- enumerable: false,
627
- configurable: true
628
- });
629
- }
630
- if (/^[\x00-\x20]/.test(src)) {
631
- 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", {
632
- value: "E176",
633
- enumerable: false,
634
- configurable: true
635
- });
636
- }
637
- if (/[\x00-\x20]$/.test(src)) {
638
- 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", {
639
- value: "E21",
640
- enumerable: false,
641
- configurable: true
642
- });
643
- }
644
- }
645
- }
646
- if (!VALID_LOADING_VALUES.includes(loading)) {
647
- 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", {
648
- value: "E357",
649
- enumerable: false,
650
- configurable: true
651
- });
652
- }
653
- if (priority && loading === "lazy") {
654
- throw Object.defineProperty(new Error('Image with src "' + src + `" has both "priority" and "loading='lazy'" properties. Only one should be used.`), "__NEXT_ERROR_CODE", {
655
- value: "E218",
656
- enumerable: false,
657
- configurable: true
658
- });
659
- }
660
- if (placeholder !== "empty" && placeholder !== "blur" && !placeholder.startsWith("data:image/")) {
661
- throw Object.defineProperty(new Error('Image with src "' + src + '" has invalid "placeholder" property "' + placeholder + '".'), "__NEXT_ERROR_CODE", {
662
- value: "E431",
663
- enumerable: false,
664
- configurable: true
665
- });
666
- }
667
- if (placeholder !== "empty") {
668
- if (widthInt && heightInt && widthInt * heightInt < 1600) {
669
- (0, _warnonce.warnOnce)('Image with src "' + src + '" is smaller than 40x40. Consider removing the "placeholder" property to improve performance.');
670
- }
671
- }
672
- if (qualityInt && qualityInt !== 75 && !config.qualities) {
673
- (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');
674
- }
675
- 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/**")) {
676
- (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');
677
- }
678
- if (placeholder === "blur" && !blurDataURL) {
679
- const VALID_BLUR_EXT = [
680
- "jpeg",
681
- "png",
682
- "webp",
683
- "avif"
684
- ];
685
- throw Object.defineProperty(new Error('Image with src "' + src + `" has "placeholder='blur'" property but is missing the "blurDataURL" property.
686
- Possible solutions:
687
- - Add a "blurDataURL" property, the contents should be a small Data URL to represent the image
688
- - 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", {
689
- value: "E371",
690
- enumerable: false,
691
- configurable: true
692
- });
693
- }
694
- if ("ref" in rest) {
695
- (0, _warnonce.warnOnce)('Image with src "' + src + '" is using unsupported "ref" property. Consider using the "onLoad" property instead.');
696
- }
697
- if (!unoptimized && !isDefaultLoader) {
698
- const urlStr = loader({
699
- config,
700
- src,
701
- width: widthInt || 400,
702
- quality: qualityInt || 75
703
- });
704
- let url;
705
- try {
706
- url = new URL(urlStr);
707
- } catch (err) {
708
- }
709
- if (urlStr === src || url && url.pathname === src && !url.search) {
710
- (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');
711
- }
712
- }
713
- if (onLoadingComplete) {
714
- (0, _warnonce.warnOnce)('Image with src "' + src + '" is using deprecated "onLoadingComplete" property. Please use the "onLoad" property instead.');
715
- }
716
- for (const [legacyKey, legacyValue] of Object.entries({
717
- layout,
718
- objectFit,
719
- objectPosition,
720
- lazyBoundary,
721
- lazyRoot
722
- })) {
723
- if (legacyValue) {
724
- (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');
725
- }
726
- }
727
- if (typeof window !== "undefined" && !perfObserver && window.PerformanceObserver) {
728
- perfObserver = new PerformanceObserver((entryList) => {
729
- for (const entry of entryList.getEntries()) {
730
- var _entry_element;
731
- const imgSrc = (entry == null ? void 0 : (_entry_element = entry.element) == null ? void 0 : _entry_element.src) || "";
732
- const lcpImage = allImgs.get(imgSrc);
733
- if (lcpImage && !lcpImage.priority && lcpImage.placeholder === "empty" && !lcpImage.src.startsWith("data:") && !lcpImage.src.startsWith("blob:")) {
734
- (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');
735
- }
736
- }
737
- });
738
- try {
739
- perfObserver.observe({
740
- type: "largest-contentful-paint",
741
- buffered: true
742
- });
743
- } catch (err) {
744
- console.error(err);
745
- }
746
- }
747
- }
748
- const imgStyle = Object.assign(fill ? {
749
- position: "absolute",
750
- height: "100%",
751
- width: "100%",
752
- left: 0,
753
- top: 0,
754
- right: 0,
755
- bottom: 0,
756
- objectFit,
757
- objectPosition
758
- } : {}, showAltText ? {} : {
759
- color: "transparent"
760
- }, style);
761
- const backgroundImage = !blurComplete && placeholder !== "empty" ? placeholder === "blur" ? 'url("data:image/svg+xml;charset=utf-8,' + (0, _imageblursvg.getImageBlurSvg)({
762
- widthInt,
763
- heightInt,
764
- blurWidth,
765
- blurHeight,
766
- blurDataURL: blurDataURL || "",
767
- objectFit: imgStyle.objectFit
768
- }) + '")' : 'url("' + placeholder + '")' : null;
769
- const backgroundSize = !INVALID_BACKGROUND_SIZE_VALUES.includes(imgStyle.objectFit) ? imgStyle.objectFit : imgStyle.objectFit === "fill" ? "100% 100%" : "cover";
770
- let placeholderStyle = backgroundImage ? {
771
- backgroundSize,
772
- backgroundPosition: imgStyle.objectPosition || "50% 50%",
773
- backgroundRepeat: "no-repeat",
774
- backgroundImage
775
- } : {};
776
- if (process.env.NODE_ENV === "development") {
777
- if (placeholderStyle.backgroundImage && placeholder === "blur" && (blurDataURL == null ? void 0 : blurDataURL.startsWith("/"))) {
778
- placeholderStyle.backgroundImage = 'url("' + blurDataURL + '")';
779
- }
780
- }
781
- const imgAttributes = generateImgAttrs({
782
- config,
783
- src,
784
- unoptimized,
785
- width: widthInt,
786
- quality: qualityInt,
787
- sizes,
788
- loader
789
- });
790
- if (process.env.NODE_ENV !== "production") {
791
- if (typeof window !== "undefined") {
792
- let fullUrl;
793
- try {
794
- fullUrl = new URL(imgAttributes.src);
795
- } catch (e) {
796
- fullUrl = new URL(imgAttributes.src, window.location.href);
797
- }
798
- allImgs.set(fullUrl.href, {
799
- src,
800
- priority,
801
- placeholder
802
- });
803
- }
804
- }
805
- const props = {
806
- ...rest,
807
- loading: isLazy ? "lazy" : loading,
808
- fetchPriority,
809
- width: widthInt,
810
- height: heightInt,
811
- decoding,
812
- className,
813
- style: {
814
- ...imgStyle,
815
- ...placeholderStyle
816
- },
817
- sizes: imgAttributes.sizes,
818
- srcSet: imgAttributes.srcSet,
819
- src: overrideSrc || imgAttributes.src
820
- };
821
- const meta = {
822
- unoptimized,
823
- priority,
824
- placeholder,
825
- fill
826
- };
827
- return {
828
- props,
829
- meta
830
- };
831
- }
832
- }
833
- });
834
-
835
- // node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs
836
- var require_interop_require_wildcard = __commonJS({
837
- "node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs"(exports) {
838
- "use strict";
839
- function _getRequireWildcardCache(nodeInterop) {
840
- if (typeof WeakMap !== "function") return null;
841
- var cacheBabelInterop = /* @__PURE__ */ new WeakMap();
842
- var cacheNodeInterop = /* @__PURE__ */ new WeakMap();
843
- return (_getRequireWildcardCache = function(nodeInterop2) {
844
- return nodeInterop2 ? cacheNodeInterop : cacheBabelInterop;
845
- })(nodeInterop);
846
- }
847
- function _interop_require_wildcard(obj, nodeInterop) {
848
- if (!nodeInterop && obj && obj.__esModule) return obj;
849
- if (obj === null || typeof obj !== "object" && typeof obj !== "function") return { default: obj };
850
- var cache = _getRequireWildcardCache(nodeInterop);
851
- if (cache && cache.has(obj)) return cache.get(obj);
852
- var newObj = { __proto__: null };
853
- var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
854
- for (var key in obj) {
855
- if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
856
- var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
857
- if (desc && (desc.get || desc.set)) Object.defineProperty(newObj, key, desc);
858
- else newObj[key] = obj[key];
859
- }
860
- }
861
- newObj.default = obj;
862
- if (cache) cache.set(obj, newObj);
863
- return newObj;
864
- }
865
- exports._ = _interop_require_wildcard;
866
- }
867
- });
868
-
869
- // node_modules/next/dist/shared/lib/side-effect.js
870
- var require_side_effect = __commonJS({
871
- "node_modules/next/dist/shared/lib/side-effect.js"(exports) {
872
- "use strict";
873
- Object.defineProperty(exports, "__esModule", {
874
- value: true
875
- });
876
- Object.defineProperty(exports, "default", {
877
- enumerable: true,
878
- get: function() {
879
- return SideEffect;
880
- }
881
- });
882
- var _react = __require("react");
883
- var isServer = typeof window === "undefined";
884
- var useClientOnlyLayoutEffect = isServer ? () => {
885
- } : _react.useLayoutEffect;
886
- var useClientOnlyEffect = isServer ? () => {
887
- } : _react.useEffect;
888
- function SideEffect(props) {
889
- const { headManager, reduceComponentsToState } = props;
890
- function emitChange() {
891
- if (headManager && headManager.mountedInstances) {
892
- const headElements = _react.Children.toArray(Array.from(headManager.mountedInstances).filter(Boolean));
893
- headManager.updateHead(reduceComponentsToState(headElements, props));
894
- }
895
- }
896
- if (isServer) {
897
- var _headManager_mountedInstances;
898
- headManager == null ? void 0 : (_headManager_mountedInstances = headManager.mountedInstances) == null ? void 0 : _headManager_mountedInstances.add(props.children);
899
- emitChange();
900
- }
901
- useClientOnlyLayoutEffect(() => {
902
- var _headManager_mountedInstances2;
903
- headManager == null ? void 0 : (_headManager_mountedInstances2 = headManager.mountedInstances) == null ? void 0 : _headManager_mountedInstances2.add(props.children);
904
- return () => {
905
- var _headManager_mountedInstances3;
906
- headManager == null ? void 0 : (_headManager_mountedInstances3 = headManager.mountedInstances) == null ? void 0 : _headManager_mountedInstances3.delete(props.children);
907
- };
908
- });
909
- useClientOnlyLayoutEffect(() => {
910
- if (headManager) {
911
- headManager._pendingUpdate = emitChange;
912
- }
913
- return () => {
914
- if (headManager) {
915
- headManager._pendingUpdate = emitChange;
916
- }
917
- };
918
- });
919
- useClientOnlyEffect(() => {
920
- if (headManager && headManager._pendingUpdate) {
921
- headManager._pendingUpdate();
922
- headManager._pendingUpdate = null;
923
- }
924
- return () => {
925
- if (headManager && headManager._pendingUpdate) {
926
- headManager._pendingUpdate();
927
- headManager._pendingUpdate = null;
928
- }
929
- };
930
- });
931
- return null;
932
- }
933
- }
934
- });
935
-
936
- // node_modules/next/dist/shared/lib/amp-context.shared-runtime.js
937
- var require_amp_context_shared_runtime = __commonJS({
938
- "node_modules/next/dist/shared/lib/amp-context.shared-runtime.js"(exports) {
939
- "use strict";
940
- Object.defineProperty(exports, "__esModule", {
941
- value: true
942
- });
943
- Object.defineProperty(exports, "AmpStateContext", {
944
- enumerable: true,
945
- get: function() {
946
- return AmpStateContext;
947
- }
948
- });
949
- var _interop_require_default = require_interop_require_default();
950
- var _react = /* @__PURE__ */ _interop_require_default._(__require("react"));
951
- var AmpStateContext = _react.default.createContext({});
952
- if (process.env.NODE_ENV !== "production") {
953
- AmpStateContext.displayName = "AmpStateContext";
954
- }
955
- }
956
- });
957
-
958
- // node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.js
959
- var require_head_manager_context_shared_runtime = __commonJS({
960
- "node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.js"(exports) {
961
- "use strict";
962
- Object.defineProperty(exports, "__esModule", {
963
- value: true
964
- });
965
- Object.defineProperty(exports, "HeadManagerContext", {
966
- enumerable: true,
967
- get: function() {
968
- return HeadManagerContext;
969
- }
970
- });
971
- var _interop_require_default = require_interop_require_default();
972
- var _react = /* @__PURE__ */ _interop_require_default._(__require("react"));
973
- var HeadManagerContext = _react.default.createContext({});
974
- if (process.env.NODE_ENV !== "production") {
975
- HeadManagerContext.displayName = "HeadManagerContext";
976
- }
977
- }
978
- });
979
-
980
- // node_modules/next/dist/shared/lib/amp-mode.js
981
- var require_amp_mode = __commonJS({
982
- "node_modules/next/dist/shared/lib/amp-mode.js"(exports) {
983
- "use strict";
984
- Object.defineProperty(exports, "__esModule", {
985
- value: true
986
- });
987
- Object.defineProperty(exports, "isInAmpMode", {
988
- enumerable: true,
989
- get: function() {
990
- return isInAmpMode;
991
- }
992
- });
993
- function isInAmpMode(param) {
994
- let { ampFirst = false, hybrid = false, hasQuery = false } = param === void 0 ? {} : param;
995
- return ampFirst || hybrid && hasQuery;
996
- }
997
- }
998
- });
999
-
1000
- // node_modules/next/dist/shared/lib/head.js
1001
- var require_head = __commonJS({
1002
- "node_modules/next/dist/shared/lib/head.js"(exports, module) {
1003
- "use client";
1004
- "use strict";
1005
- Object.defineProperty(exports, "__esModule", {
1006
- value: true
1007
- });
1008
- function _export(target, all) {
1009
- for (var name in all) Object.defineProperty(target, name, {
1010
- enumerable: true,
1011
- get: all[name]
1012
- });
1013
- }
1014
- _export(exports, {
1015
- default: function() {
1016
- return _default;
1017
- },
1018
- defaultHead: function() {
1019
- return defaultHead;
1020
- }
1021
- });
1022
- var _interop_require_default = require_interop_require_default();
1023
- var _interop_require_wildcard = require_interop_require_wildcard();
1024
- var _jsxruntime = __require("react/jsx-runtime");
1025
- var _react = /* @__PURE__ */ _interop_require_wildcard._(__require("react"));
1026
- var _sideeffect = /* @__PURE__ */ _interop_require_default._(require_side_effect());
1027
- var _ampcontextsharedruntime = require_amp_context_shared_runtime();
1028
- var _headmanagercontextsharedruntime = require_head_manager_context_shared_runtime();
1029
- var _ampmode = require_amp_mode();
1030
- var _warnonce = require_warn_once();
1031
- function defaultHead(inAmpMode) {
1032
- if (inAmpMode === void 0) inAmpMode = false;
1033
- const head = [
1034
- /* @__PURE__ */ (0, _jsxruntime.jsx)("meta", {
1035
- charSet: "utf-8"
1036
- }, "charset")
1037
- ];
1038
- if (!inAmpMode) {
1039
- head.push(/* @__PURE__ */ (0, _jsxruntime.jsx)("meta", {
1040
- name: "viewport",
1041
- content: "width=device-width"
1042
- }, "viewport"));
1043
- }
1044
- return head;
1045
- }
1046
- function onlyReactElement(list, child) {
1047
- if (typeof child === "string" || typeof child === "number") {
1048
- return list;
1049
- }
1050
- if (child.type === _react.default.Fragment) {
1051
- return list.concat(
1052
- // @ts-expect-error @types/react does not remove fragments but this could also return ReactPortal[]
1053
- _react.default.Children.toArray(child.props.children).reduce(
1054
- // @ts-expect-error @types/react does not remove fragments but this could also return ReactPortal[]
1055
- (fragmentList, fragmentChild) => {
1056
- if (typeof fragmentChild === "string" || typeof fragmentChild === "number") {
1057
- return fragmentList;
1058
- }
1059
- return fragmentList.concat(fragmentChild);
1060
- },
1061
- []
1062
- )
1063
- );
1064
- }
1065
- return list.concat(child);
1066
- }
1067
- var METATYPES = [
1068
- "name",
1069
- "httpEquiv",
1070
- "charSet",
1071
- "itemProp"
1072
- ];
1073
- function unique() {
1074
- const keys = /* @__PURE__ */ new Set();
1075
- const tags = /* @__PURE__ */ new Set();
1076
- const metaTypes = /* @__PURE__ */ new Set();
1077
- const metaCategories = {};
1078
- return (h) => {
1079
- let isUnique = true;
1080
- let hasKey = false;
1081
- if (h.key && typeof h.key !== "number" && h.key.indexOf("$") > 0) {
1082
- hasKey = true;
1083
- const key = h.key.slice(h.key.indexOf("$") + 1);
1084
- if (keys.has(key)) {
1085
- isUnique = false;
1086
- } else {
1087
- keys.add(key);
1088
- }
1089
- }
1090
- switch (h.type) {
1091
- case "title":
1092
- case "base":
1093
- if (tags.has(h.type)) {
1094
- isUnique = false;
1095
- } else {
1096
- tags.add(h.type);
1097
- }
1098
- break;
1099
- case "meta":
1100
- for (let i = 0, len = METATYPES.length; i < len; i++) {
1101
- const metatype = METATYPES[i];
1102
- if (!h.props.hasOwnProperty(metatype)) continue;
1103
- if (metatype === "charSet") {
1104
- if (metaTypes.has(metatype)) {
1105
- isUnique = false;
1106
- } else {
1107
- metaTypes.add(metatype);
1108
- }
1109
- } else {
1110
- const category = h.props[metatype];
1111
- const categories = metaCategories[metatype] || /* @__PURE__ */ new Set();
1112
- if ((metatype !== "name" || !hasKey) && categories.has(category)) {
1113
- isUnique = false;
1114
- } else {
1115
- categories.add(category);
1116
- metaCategories[metatype] = categories;
1117
- }
1118
- }
1119
- }
1120
- break;
1121
- }
1122
- return isUnique;
1123
- };
1124
- }
1125
- function reduceComponents(headChildrenElements, props) {
1126
- const { inAmpMode } = props;
1127
- return headChildrenElements.reduce(onlyReactElement, []).reverse().concat(defaultHead(inAmpMode).reverse()).filter(unique()).reverse().map((c, i) => {
1128
- const key = c.key || i;
1129
- if (process.env.NODE_ENV === "development") {
1130
- if (c.type === "script" && c.props["type"] !== "application/ld+json") {
1131
- const srcMessage = c.props["src"] ? '<script> tag with src="' + c.props["src"] + '"' : "inline <script>";
1132
- (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");
1133
- } else if (c.type === "link" && c.props["rel"] === "stylesheet") {
1134
- (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');
1135
- }
1136
- }
1137
- return /* @__PURE__ */ _react.default.cloneElement(c, {
1138
- key
1139
- });
1140
- });
1141
- }
1142
- function Head(param) {
1143
- let { children } = param;
1144
- const ampState = (0, _react.useContext)(_ampcontextsharedruntime.AmpStateContext);
1145
- const headManager = (0, _react.useContext)(_headmanagercontextsharedruntime.HeadManagerContext);
1146
- return /* @__PURE__ */ (0, _jsxruntime.jsx)(_sideeffect.default, {
1147
- reduceComponentsToState: reduceComponents,
1148
- headManager,
1149
- inAmpMode: (0, _ampmode.isInAmpMode)(ampState),
1150
- children
1151
- });
1152
- }
1153
- var _default = Head;
1154
- if ((typeof exports.default === "function" || typeof exports.default === "object" && exports.default !== null) && typeof exports.default.__esModule === "undefined") {
1155
- Object.defineProperty(exports.default, "__esModule", { value: true });
1156
- Object.assign(exports.default, exports);
1157
- module.exports = exports.default;
1158
- }
1159
- }
1160
- });
1161
-
1162
- // node_modules/next/dist/shared/lib/image-config-context.shared-runtime.js
1163
- var require_image_config_context_shared_runtime = __commonJS({
1164
- "node_modules/next/dist/shared/lib/image-config-context.shared-runtime.js"(exports) {
1165
- "use strict";
1166
- Object.defineProperty(exports, "__esModule", {
1167
- value: true
1168
- });
1169
- Object.defineProperty(exports, "ImageConfigContext", {
1170
- enumerable: true,
1171
- get: function() {
1172
- return ImageConfigContext;
1173
- }
1174
- });
1175
- var _interop_require_default = require_interop_require_default();
1176
- var _react = /* @__PURE__ */ _interop_require_default._(__require("react"));
1177
- var _imageconfig = require_image_config();
1178
- var ImageConfigContext = _react.default.createContext(_imageconfig.imageConfigDefault);
1179
- if (process.env.NODE_ENV !== "production") {
1180
- ImageConfigContext.displayName = "ImageConfigContext";
1181
- }
1182
- }
1183
- });
1184
-
1185
- // node_modules/next/dist/shared/lib/router-context.shared-runtime.js
1186
- var require_router_context_shared_runtime = __commonJS({
1187
- "node_modules/next/dist/shared/lib/router-context.shared-runtime.js"(exports) {
1188
- "use strict";
1189
- Object.defineProperty(exports, "__esModule", {
1190
- value: true
1191
- });
1192
- Object.defineProperty(exports, "RouterContext", {
1193
- enumerable: true,
1194
- get: function() {
1195
- return RouterContext;
1196
- }
1197
- });
1198
- var _interop_require_default = require_interop_require_default();
1199
- var _react = /* @__PURE__ */ _interop_require_default._(__require("react"));
1200
- var RouterContext = _react.default.createContext(null);
1201
- if (process.env.NODE_ENV !== "production") {
1202
- RouterContext.displayName = "RouterContext";
1203
- }
1204
- }
1205
- });
1206
-
1207
- // node_modules/next/dist/compiled/picomatch/index.js
1208
- var require_picomatch = __commonJS({
1209
- "node_modules/next/dist/compiled/picomatch/index.js"(exports, module) {
1210
- (() => {
1211
- "use strict";
1212
- var t = { 170: (t2, e2, u2) => {
1213
- const n = u2(510);
1214
- const isWindows = () => {
1215
- if (typeof navigator !== "undefined" && navigator.platform) {
1216
- const t3 = navigator.platform.toLowerCase();
1217
- return t3 === "win32" || t3 === "windows";
1218
- }
1219
- if (typeof process !== "undefined" && process.platform) {
1220
- return process.platform === "win32";
1221
- }
1222
- return false;
1223
- };
1224
- function picomatch(t3, e3, u3 = false) {
1225
- if (e3 && (e3.windows === null || e3.windows === void 0)) {
1226
- e3 = { ...e3, windows: isWindows() };
1227
- }
1228
- return n(t3, e3, u3);
1229
- }
1230
- Object.assign(picomatch, n);
1231
- t2.exports = picomatch;
1232
- }, 154: (t2) => {
1233
- const e2 = "\\\\/";
1234
- const u2 = `[^${e2}]`;
1235
- const n = "\\.";
1236
- const o = "\\+";
1237
- const s = "\\?";
1238
- const r = "\\/";
1239
- const a = "(?=.)";
1240
- const i = "[^/]";
1241
- const c = `(?:${r}|$)`;
1242
- const p = `(?:^|${r})`;
1243
- const l = `${n}{1,2}${c}`;
1244
- const f = `(?!${n})`;
1245
- const A = `(?!${p}${l})`;
1246
- const _ = `(?!${n}{0,1}${c})`;
1247
- const R = `(?!${l})`;
1248
- const E = `[^.${r}]`;
1249
- const h = `${i}*?`;
1250
- const g = "/";
1251
- 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 };
1252
- 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: "\\" };
1253
- 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" };
1254
- 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) {
1255
- return { "!": { type: "negate", open: "(?:(?!(?:", close: `))${t3.STAR})` }, "?": { type: "qmark", open: "(?:", close: ")?" }, "+": { type: "plus", open: "(?:", close: ")+" }, "*": { type: "star", open: "(?:", close: ")*" }, "@": { type: "at", open: "(?:", close: ")" } };
1256
- }, globChars(t3) {
1257
- return t3 === true ? C : b;
1258
- } };
1259
- }, 697: (t2, e2, u2) => {
1260
- const n = u2(154);
1261
- const o = u2(96);
1262
- const { MAX_LENGTH: s, POSIX_REGEX_SOURCE: r, REGEX_NON_SPECIAL_CHARS: a, REGEX_SPECIAL_CHARS_BACKREF: i, REPLACEMENTS: c } = n;
1263
- const expandRange = (t3, e3) => {
1264
- if (typeof e3.expandRange === "function") {
1265
- return e3.expandRange(...t3, e3);
1266
- }
1267
- t3.sort();
1268
- const u3 = `[${t3.join("-")}]`;
1269
- try {
1270
- new RegExp(u3);
1271
- } catch (e4) {
1272
- return t3.map((t4) => o.escapeRegex(t4)).join("..");
1273
- }
1274
- return u3;
1275
- };
1276
- const syntaxError = (t3, e3) => `Missing ${t3}: "${e3}" - use "\\\\${e3}" to match literal characters`;
1277
- const parse = (t3, e3) => {
1278
- if (typeof t3 !== "string") {
1279
- throw new TypeError("Expected a string");
1280
- }
1281
- t3 = c[t3] || t3;
1282
- const u3 = { ...e3 };
1283
- const p = typeof u3.maxLength === "number" ? Math.min(s, u3.maxLength) : s;
1284
- let l = t3.length;
1285
- if (l > p) {
1286
- throw new SyntaxError(`Input length: ${l}, exceeds maximum allowed length: ${p}`);
1287
- }
1288
- const f = { type: "bos", value: "", output: u3.prepend || "" };
1289
- const A = [f];
1290
- const _ = u3.capture ? "" : "?:";
1291
- const R = n.globChars(u3.windows);
1292
- const E = n.extglobChars(R);
1293
- 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;
1294
- const globstar = (t4) => `(${_}(?:(?!${L}${t4.dot ? y : h}).)*?)`;
1295
- const T = u3.dot ? "" : $;
1296
- const O = u3.dot ? H : v;
1297
- let k = u3.bash === true ? globstar(u3) : d;
1298
- if (u3.capture) {
1299
- k = `(${k})`;
1300
- }
1301
- if (typeof u3.noext === "boolean") {
1302
- u3.noextglob = u3.noext;
1303
- }
1304
- 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 };
1305
- t3 = o.removePrefix(t3, m);
1306
- l = t3.length;
1307
- const w = [];
1308
- const N = [];
1309
- const I = [];
1310
- let B = f;
1311
- let G;
1312
- const eos = () => m.index === l - 1;
1313
- const D = m.peek = (e4 = 1) => t3[m.index + e4];
1314
- const M = m.advance = () => t3[++m.index] || "";
1315
- const remaining = () => t3.slice(m.index + 1);
1316
- const consume = (t4 = "", e4 = 0) => {
1317
- m.consumed += t4;
1318
- m.index += e4;
1319
- };
1320
- const append = (t4) => {
1321
- m.output += t4.output != null ? t4.output : t4.value;
1322
- consume(t4.value);
1323
- };
1324
- const negate = () => {
1325
- let t4 = 1;
1326
- while (D() === "!" && (D(2) !== "(" || D(3) === "?")) {
1327
- M();
1328
- m.start++;
1329
- t4++;
1330
- }
1331
- if (t4 % 2 === 0) {
1332
- return false;
1333
- }
1334
- m.negated = true;
1335
- m.start++;
1336
- return true;
1337
- };
1338
- const increment = (t4) => {
1339
- m[t4]++;
1340
- I.push(t4);
1341
- };
1342
- const decrement = (t4) => {
1343
- m[t4]--;
1344
- I.pop();
1345
- };
1346
- const push = (t4) => {
1347
- if (B.type === "globstar") {
1348
- const e4 = m.braces > 0 && (t4.type === "comma" || t4.type === "brace");
1349
- const u4 = t4.extglob === true || w.length && (t4.type === "pipe" || t4.type === "paren");
1350
- if (t4.type !== "slash" && t4.type !== "paren" && !e4 && !u4) {
1351
- m.output = m.output.slice(0, -B.output.length);
1352
- B.type = "star";
1353
- B.value = "*";
1354
- B.output = k;
1355
- m.output += B.output;
1356
- }
1357
- }
1358
- if (w.length && t4.type !== "paren") {
1359
- w[w.length - 1].inner += t4.value;
1360
- }
1361
- if (t4.value || t4.output) append(t4);
1362
- if (B && B.type === "text" && t4.type === "text") {
1363
- B.output = (B.output || B.value) + t4.value;
1364
- B.value += t4.value;
1365
- return;
1366
- }
1367
- t4.prev = B;
1368
- A.push(t4);
1369
- B = t4;
1370
- };
1371
- const extglobOpen = (t4, e4) => {
1372
- const n2 = { ...E[e4], conditions: 1, inner: "" };
1373
- n2.prev = B;
1374
- n2.parens = m.parens;
1375
- n2.output = m.output;
1376
- const o2 = (u3.capture ? "(" : "") + n2.open;
1377
- increment("parens");
1378
- push({ type: t4, value: e4, output: m.output ? "" : C });
1379
- push({ type: "paren", extglob: true, value: M(), output: o2 });
1380
- w.push(n2);
1381
- };
1382
- const extglobClose = (t4) => {
1383
- let n2 = t4.close + (u3.capture ? ")" : "");
1384
- let o2;
1385
- if (t4.type === "negate") {
1386
- let s2 = k;
1387
- if (t4.inner && t4.inner.length > 1 && t4.inner.includes("/")) {
1388
- s2 = globstar(u3);
1389
- }
1390
- if (s2 !== k || eos() || /^\)+$/.test(remaining())) {
1391
- n2 = t4.close = `)$))${s2}`;
1392
- }
1393
- if (t4.inner.includes("*") && (o2 = remaining()) && /^\.[^\\/.]+$/.test(o2)) {
1394
- const u4 = parse(o2, { ...e3, fastpaths: false }).output;
1395
- n2 = t4.close = `)${u4})${s2})`;
1396
- }
1397
- if (t4.prev.type === "bos") {
1398
- m.negatedExtglob = true;
1399
- }
1400
- }
1401
- push({ type: "paren", extglob: true, value: G, output: n2 });
1402
- decrement("parens");
1403
- };
1404
- if (u3.fastpaths !== false && !/(^[*!]|[/()[\]{}"])/.test(t3)) {
1405
- let n2 = false;
1406
- let s2 = t3.replace(i, (t4, e4, u4, o2, s3, r2) => {
1407
- if (o2 === "\\") {
1408
- n2 = true;
1409
- return t4;
1410
- }
1411
- if (o2 === "?") {
1412
- if (e4) {
1413
- return e4 + o2 + (s3 ? H.repeat(s3.length) : "");
1414
- }
1415
- if (r2 === 0) {
1416
- return O + (s3 ? H.repeat(s3.length) : "");
1417
- }
1418
- return H.repeat(u4.length);
1419
- }
1420
- if (o2 === ".") {
1421
- return h.repeat(u4.length);
1422
- }
1423
- if (o2 === "*") {
1424
- if (e4) {
1425
- return e4 + o2 + (s3 ? k : "");
1426
- }
1427
- return k;
1428
- }
1429
- return e4 ? t4 : `\\${t4}`;
1430
- });
1431
- if (n2 === true) {
1432
- if (u3.unescape === true) {
1433
- s2 = s2.replace(/\\/g, "");
1434
- } else {
1435
- s2 = s2.replace(/\\+/g, (t4) => t4.length % 2 === 0 ? "\\\\" : t4 ? "\\" : "");
1436
- }
1437
- }
1438
- if (s2 === t3 && u3.contains === true) {
1439
- m.output = t3;
1440
- return m;
1441
- }
1442
- m.output = o.wrapOutput(s2, m, e3);
1443
- return m;
1444
- }
1445
- while (!eos()) {
1446
- G = M();
1447
- if (G === "\0") {
1448
- continue;
1449
- }
1450
- if (G === "\\") {
1451
- const t4 = D();
1452
- if (t4 === "/" && u3.bash !== true) {
1453
- continue;
1454
- }
1455
- if (t4 === "." || t4 === ";") {
1456
- continue;
1457
- }
1458
- if (!t4) {
1459
- G += "\\";
1460
- push({ type: "text", value: G });
1461
- continue;
1462
- }
1463
- const e5 = /^\\+/.exec(remaining());
1464
- let n3 = 0;
1465
- if (e5 && e5[0].length > 2) {
1466
- n3 = e5[0].length;
1467
- m.index += n3;
1468
- if (n3 % 2 !== 0) {
1469
- G += "\\";
1470
- }
1471
- }
1472
- if (u3.unescape === true) {
1473
- G = M();
1474
- } else {
1475
- G += M();
1476
- }
1477
- if (m.brackets === 0) {
1478
- push({ type: "text", value: G });
1479
- continue;
1480
- }
1481
- }
1482
- if (m.brackets > 0 && (G !== "]" || B.value === "[" || B.value === "[^")) {
1483
- if (u3.posix !== false && G === ":") {
1484
- const t4 = B.value.slice(1);
1485
- if (t4.includes("[")) {
1486
- B.posix = true;
1487
- if (t4.includes(":")) {
1488
- const t5 = B.value.lastIndexOf("[");
1489
- const e5 = B.value.slice(0, t5);
1490
- const u4 = B.value.slice(t5 + 2);
1491
- const n3 = r[u4];
1492
- if (n3) {
1493
- B.value = e5 + n3;
1494
- m.backtrack = true;
1495
- M();
1496
- if (!f.output && A.indexOf(B) === 1) {
1497
- f.output = C;
1498
- }
1499
- continue;
1500
- }
1501
- }
1502
- }
1503
- }
1504
- if (G === "[" && D() !== ":" || G === "-" && D() === "]") {
1505
- G = `\\${G}`;
1506
- }
1507
- if (G === "]" && (B.value === "[" || B.value === "[^")) {
1508
- G = `\\${G}`;
1509
- }
1510
- if (u3.posix === true && G === "!" && B.value === "[") {
1511
- G = "^";
1512
- }
1513
- B.value += G;
1514
- append({ value: G });
1515
- continue;
1516
- }
1517
- if (m.quotes === 1 && G !== '"') {
1518
- G = o.escapeRegex(G);
1519
- B.value += G;
1520
- append({ value: G });
1521
- continue;
1522
- }
1523
- if (G === '"') {
1524
- m.quotes = m.quotes === 1 ? 0 : 1;
1525
- if (u3.keepQuotes === true) {
1526
- push({ type: "text", value: G });
1527
- }
1528
- continue;
1529
- }
1530
- if (G === "(") {
1531
- increment("parens");
1532
- push({ type: "paren", value: G });
1533
- continue;
1534
- }
1535
- if (G === ")") {
1536
- if (m.parens === 0 && u3.strictBrackets === true) {
1537
- throw new SyntaxError(syntaxError("opening", "("));
1538
- }
1539
- const t4 = w[w.length - 1];
1540
- if (t4 && m.parens === t4.parens + 1) {
1541
- extglobClose(w.pop());
1542
- continue;
1543
- }
1544
- push({ type: "paren", value: G, output: m.parens ? ")" : "\\)" });
1545
- decrement("parens");
1546
- continue;
1547
- }
1548
- if (G === "[") {
1549
- if (u3.nobracket === true || !remaining().includes("]")) {
1550
- if (u3.nobracket !== true && u3.strictBrackets === true) {
1551
- throw new SyntaxError(syntaxError("closing", "]"));
1552
- }
1553
- G = `\\${G}`;
1554
- } else {
1555
- increment("brackets");
1556
- }
1557
- push({ type: "bracket", value: G });
1558
- continue;
1559
- }
1560
- if (G === "]") {
1561
- if (u3.nobracket === true || B && B.type === "bracket" && B.value.length === 1) {
1562
- push({ type: "text", value: G, output: `\\${G}` });
1563
- continue;
1564
- }
1565
- if (m.brackets === 0) {
1566
- if (u3.strictBrackets === true) {
1567
- throw new SyntaxError(syntaxError("opening", "["));
1568
- }
1569
- push({ type: "text", value: G, output: `\\${G}` });
1570
- continue;
1571
- }
1572
- decrement("brackets");
1573
- const t4 = B.value.slice(1);
1574
- if (B.posix !== true && t4[0] === "^" && !t4.includes("/")) {
1575
- G = `/${G}`;
1576
- }
1577
- B.value += G;
1578
- append({ value: G });
1579
- if (u3.literalBrackets === false || o.hasRegexChars(t4)) {
1580
- continue;
1581
- }
1582
- const e5 = o.escapeRegex(B.value);
1583
- m.output = m.output.slice(0, -B.value.length);
1584
- if (u3.literalBrackets === true) {
1585
- m.output += e5;
1586
- B.value = e5;
1587
- continue;
1588
- }
1589
- B.value = `(${_}${e5}|${B.value})`;
1590
- m.output += B.value;
1591
- continue;
1592
- }
1593
- if (G === "{" && u3.nobrace !== true) {
1594
- increment("braces");
1595
- const t4 = { type: "brace", value: G, output: "(", outputIndex: m.output.length, tokensIndex: m.tokens.length };
1596
- N.push(t4);
1597
- push(t4);
1598
- continue;
1599
- }
1600
- if (G === "}") {
1601
- const t4 = N[N.length - 1];
1602
- if (u3.nobrace === true || !t4) {
1603
- push({ type: "text", value: G, output: G });
1604
- continue;
1605
- }
1606
- let e5 = ")";
1607
- if (t4.dots === true) {
1608
- const t5 = A.slice();
1609
- const n3 = [];
1610
- for (let e6 = t5.length - 1; e6 >= 0; e6--) {
1611
- A.pop();
1612
- if (t5[e6].type === "brace") {
1613
- break;
1614
- }
1615
- if (t5[e6].type !== "dots") {
1616
- n3.unshift(t5[e6].value);
1617
- }
1618
- }
1619
- e5 = expandRange(n3, u3);
1620
- m.backtrack = true;
1621
- }
1622
- if (t4.comma !== true && t4.dots !== true) {
1623
- const u4 = m.output.slice(0, t4.outputIndex);
1624
- const n3 = m.tokens.slice(t4.tokensIndex);
1625
- t4.value = t4.output = "\\{";
1626
- G = e5 = "\\}";
1627
- m.output = u4;
1628
- for (const t5 of n3) {
1629
- m.output += t5.output || t5.value;
1630
- }
1631
- }
1632
- push({ type: "brace", value: G, output: e5 });
1633
- decrement("braces");
1634
- N.pop();
1635
- continue;
1636
- }
1637
- if (G === "|") {
1638
- if (w.length > 0) {
1639
- w[w.length - 1].conditions++;
1640
- }
1641
- push({ type: "text", value: G });
1642
- continue;
1643
- }
1644
- if (G === ",") {
1645
- let t4 = G;
1646
- const e5 = N[N.length - 1];
1647
- if (e5 && I[I.length - 1] === "braces") {
1648
- e5.comma = true;
1649
- t4 = "|";
1650
- }
1651
- push({ type: "comma", value: G, output: t4 });
1652
- continue;
1653
- }
1654
- if (G === "/") {
1655
- if (B.type === "dot" && m.index === m.start + 1) {
1656
- m.start = m.index + 1;
1657
- m.consumed = "";
1658
- m.output = "";
1659
- A.pop();
1660
- B = f;
1661
- continue;
1662
- }
1663
- push({ type: "slash", value: G, output: b });
1664
- continue;
1665
- }
1666
- if (G === ".") {
1667
- if (m.braces > 0 && B.type === "dot") {
1668
- if (B.value === ".") B.output = h;
1669
- const t4 = N[N.length - 1];
1670
- B.type = "dots";
1671
- B.output += G;
1672
- B.value += G;
1673
- t4.dots = true;
1674
- continue;
1675
- }
1676
- if (m.braces + m.parens === 0 && B.type !== "bos" && B.type !== "slash") {
1677
- push({ type: "text", value: G, output: h });
1678
- continue;
1679
- }
1680
- push({ type: "dot", value: G, output: h });
1681
- continue;
1682
- }
1683
- if (G === "?") {
1684
- const t4 = B && B.value === "(";
1685
- if (!t4 && u3.noextglob !== true && D() === "(" && D(2) !== "?") {
1686
- extglobOpen("qmark", G);
1687
- continue;
1688
- }
1689
- if (B && B.type === "paren") {
1690
- const t5 = D();
1691
- let e5 = G;
1692
- if (B.value === "(" && !/[!=<:]/.test(t5) || t5 === "<" && !/<([!=]|\w+>)/.test(remaining())) {
1693
- e5 = `\\${G}`;
1694
- }
1695
- push({ type: "text", value: G, output: e5 });
1696
- continue;
1697
- }
1698
- if (u3.dot !== true && (B.type === "slash" || B.type === "bos")) {
1699
- push({ type: "qmark", value: G, output: v });
1700
- continue;
1701
- }
1702
- push({ type: "qmark", value: G, output: H });
1703
- continue;
1704
- }
1705
- if (G === "!") {
1706
- if (u3.noextglob !== true && D() === "(") {
1707
- if (D(2) !== "?" || !/[!=<:]/.test(D(3))) {
1708
- extglobOpen("negate", G);
1709
- continue;
1710
- }
1711
- }
1712
- if (u3.nonegate !== true && m.index === 0) {
1713
- negate();
1714
- continue;
1715
- }
1716
- }
1717
- if (G === "+") {
1718
- if (u3.noextglob !== true && D() === "(" && D(2) !== "?") {
1719
- extglobOpen("plus", G);
1720
- continue;
1721
- }
1722
- if (B && B.value === "(" || u3.regex === false) {
1723
- push({ type: "plus", value: G, output: g });
1724
- continue;
1725
- }
1726
- if (B && (B.type === "bracket" || B.type === "paren" || B.type === "brace") || m.parens > 0) {
1727
- push({ type: "plus", value: G });
1728
- continue;
1729
- }
1730
- push({ type: "plus", value: g });
1731
- continue;
1732
- }
1733
- if (G === "@") {
1734
- if (u3.noextglob !== true && D() === "(" && D(2) !== "?") {
1735
- push({ type: "at", extglob: true, value: G, output: "" });
1736
- continue;
1737
- }
1738
- push({ type: "text", value: G });
1739
- continue;
1740
- }
1741
- if (G !== "*") {
1742
- if (G === "$" || G === "^") {
1743
- G = `\\${G}`;
1744
- }
1745
- const t4 = a.exec(remaining());
1746
- if (t4) {
1747
- G += t4[0];
1748
- m.index += t4[0].length;
1749
- }
1750
- push({ type: "text", value: G });
1751
- continue;
1752
- }
1753
- if (B && (B.type === "globstar" || B.star === true)) {
1754
- B.type = "star";
1755
- B.star = true;
1756
- B.value += G;
1757
- B.output = k;
1758
- m.backtrack = true;
1759
- m.globstar = true;
1760
- consume(G);
1761
- continue;
1762
- }
1763
- let e4 = remaining();
1764
- if (u3.noextglob !== true && /^\([^?]/.test(e4)) {
1765
- extglobOpen("star", G);
1766
- continue;
1767
- }
1768
- if (B.type === "star") {
1769
- if (u3.noglobstar === true) {
1770
- consume(G);
1771
- continue;
1772
- }
1773
- const n3 = B.prev;
1774
- const o2 = n3.prev;
1775
- const s2 = n3.type === "slash" || n3.type === "bos";
1776
- const r2 = o2 && (o2.type === "star" || o2.type === "globstar");
1777
- if (u3.bash === true && (!s2 || e4[0] && e4[0] !== "/")) {
1778
- push({ type: "star", value: G, output: "" });
1779
- continue;
1780
- }
1781
- const a2 = m.braces > 0 && (n3.type === "comma" || n3.type === "brace");
1782
- const i2 = w.length && (n3.type === "pipe" || n3.type === "paren");
1783
- if (!s2 && n3.type !== "paren" && !a2 && !i2) {
1784
- push({ type: "star", value: G, output: "" });
1785
- continue;
1786
- }
1787
- while (e4.slice(0, 3) === "/**") {
1788
- const u4 = t3[m.index + 4];
1789
- if (u4 && u4 !== "/") {
1790
- break;
1791
- }
1792
- e4 = e4.slice(3);
1793
- consume("/**", 3);
1794
- }
1795
- if (n3.type === "bos" && eos()) {
1796
- B.type = "globstar";
1797
- B.value += G;
1798
- B.output = globstar(u3);
1799
- m.output = B.output;
1800
- m.globstar = true;
1801
- consume(G);
1802
- continue;
1803
- }
1804
- if (n3.type === "slash" && n3.prev.type !== "bos" && !r2 && eos()) {
1805
- m.output = m.output.slice(0, -(n3.output + B.output).length);
1806
- n3.output = `(?:${n3.output}`;
1807
- B.type = "globstar";
1808
- B.output = globstar(u3) + (u3.strictSlashes ? ")" : "|$)");
1809
- B.value += G;
1810
- m.globstar = true;
1811
- m.output += n3.output + B.output;
1812
- consume(G);
1813
- continue;
1814
- }
1815
- if (n3.type === "slash" && n3.prev.type !== "bos" && e4[0] === "/") {
1816
- const t4 = e4[1] !== void 0 ? "|$" : "";
1817
- m.output = m.output.slice(0, -(n3.output + B.output).length);
1818
- n3.output = `(?:${n3.output}`;
1819
- B.type = "globstar";
1820
- B.output = `${globstar(u3)}${b}|${b}${t4})`;
1821
- B.value += G;
1822
- m.output += n3.output + B.output;
1823
- m.globstar = true;
1824
- consume(G + M());
1825
- push({ type: "slash", value: "/", output: "" });
1826
- continue;
1827
- }
1828
- if (n3.type === "bos" && e4[0] === "/") {
1829
- B.type = "globstar";
1830
- B.value += G;
1831
- B.output = `(?:^|${b}|${globstar(u3)}${b})`;
1832
- m.output = B.output;
1833
- m.globstar = true;
1834
- consume(G + M());
1835
- push({ type: "slash", value: "/", output: "" });
1836
- continue;
1837
- }
1838
- m.output = m.output.slice(0, -B.output.length);
1839
- B.type = "globstar";
1840
- B.output = globstar(u3);
1841
- B.value += G;
1842
- m.output += B.output;
1843
- m.globstar = true;
1844
- consume(G);
1845
- continue;
1846
- }
1847
- const n2 = { type: "star", value: G, output: k };
1848
- if (u3.bash === true) {
1849
- n2.output = ".*?";
1850
- if (B.type === "bos" || B.type === "slash") {
1851
- n2.output = T + n2.output;
1852
- }
1853
- push(n2);
1854
- continue;
1855
- }
1856
- if (B && (B.type === "bracket" || B.type === "paren") && u3.regex === true) {
1857
- n2.output = G;
1858
- push(n2);
1859
- continue;
1860
- }
1861
- if (m.index === m.start || B.type === "slash" || B.type === "dot") {
1862
- if (B.type === "dot") {
1863
- m.output += x;
1864
- B.output += x;
1865
- } else if (u3.dot === true) {
1866
- m.output += S;
1867
- B.output += S;
1868
- } else {
1869
- m.output += T;
1870
- B.output += T;
1871
- }
1872
- if (D() !== "*") {
1873
- m.output += C;
1874
- B.output += C;
1875
- }
1876
- }
1877
- push(n2);
1878
- }
1879
- while (m.brackets > 0) {
1880
- if (u3.strictBrackets === true) throw new SyntaxError(syntaxError("closing", "]"));
1881
- m.output = o.escapeLast(m.output, "[");
1882
- decrement("brackets");
1883
- }
1884
- while (m.parens > 0) {
1885
- if (u3.strictBrackets === true) throw new SyntaxError(syntaxError("closing", ")"));
1886
- m.output = o.escapeLast(m.output, "(");
1887
- decrement("parens");
1888
- }
1889
- while (m.braces > 0) {
1890
- if (u3.strictBrackets === true) throw new SyntaxError(syntaxError("closing", "}"));
1891
- m.output = o.escapeLast(m.output, "{");
1892
- decrement("braces");
1893
- }
1894
- if (u3.strictSlashes !== true && (B.type === "star" || B.type === "bracket")) {
1895
- push({ type: "maybe_slash", value: "", output: `${b}?` });
1896
- }
1897
- if (m.backtrack === true) {
1898
- m.output = "";
1899
- for (const t4 of m.tokens) {
1900
- m.output += t4.output != null ? t4.output : t4.value;
1901
- if (t4.suffix) {
1902
- m.output += t4.suffix;
1903
- }
1904
- }
1905
- }
1906
- return m;
1907
- };
1908
- parse.fastpaths = (t3, e3) => {
1909
- const u3 = { ...e3 };
1910
- const r2 = typeof u3.maxLength === "number" ? Math.min(s, u3.maxLength) : s;
1911
- const a2 = t3.length;
1912
- if (a2 > r2) {
1913
- throw new SyntaxError(`Input length: ${a2}, exceeds maximum allowed length: ${r2}`);
1914
- }
1915
- t3 = c[t3] || t3;
1916
- 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);
1917
- const g = u3.dot ? _ : A;
1918
- const b = u3.dot ? R : A;
1919
- const C = u3.capture ? "" : "?:";
1920
- const y = { negated: false, prefix: "" };
1921
- let $ = u3.bash === true ? ".*?" : E;
1922
- if (u3.capture) {
1923
- $ = `(${$})`;
1924
- }
1925
- const globstar = (t4) => {
1926
- if (t4.noglobstar === true) return $;
1927
- return `(${C}(?:(?!${h}${t4.dot ? f : i2}).)*?)`;
1928
- };
1929
- const create = (t4) => {
1930
- switch (t4) {
1931
- case "*":
1932
- return `${g}${l}${$}`;
1933
- case ".*":
1934
- return `${i2}${l}${$}`;
1935
- case "*.*":
1936
- return `${g}${$}${i2}${l}${$}`;
1937
- case "*/*":
1938
- return `${g}${$}${p}${l}${b}${$}`;
1939
- case "**":
1940
- return g + globstar(u3);
1941
- case "**/*":
1942
- return `(?:${g}${globstar(u3)}${p})?${b}${l}${$}`;
1943
- case "**/*.*":
1944
- return `(?:${g}${globstar(u3)}${p})?${b}${$}${i2}${l}${$}`;
1945
- case "**/.*":
1946
- return `(?:${g}${globstar(u3)}${p})?${i2}${l}${$}`;
1947
- default: {
1948
- const e4 = /^(.*?)\.(\w+)$/.exec(t4);
1949
- if (!e4) return;
1950
- const u4 = create(e4[1]);
1951
- if (!u4) return;
1952
- return u4 + i2 + e4[2];
1953
- }
1954
- }
1955
- };
1956
- const x = o.removePrefix(t3, y);
1957
- let S = create(x);
1958
- if (S && u3.strictSlashes !== true) {
1959
- S += `${p}?`;
1960
- }
1961
- return S;
1962
- };
1963
- t2.exports = parse;
1964
- }, 510: (t2, e2, u2) => {
1965
- const n = u2(716);
1966
- const o = u2(697);
1967
- const s = u2(96);
1968
- const r = u2(154);
1969
- const isObject = (t3) => t3 && typeof t3 === "object" && !Array.isArray(t3);
1970
- const picomatch = (t3, e3, u3 = false) => {
1971
- if (Array.isArray(t3)) {
1972
- const n3 = t3.map((t4) => picomatch(t4, e3, u3));
1973
- const arrayMatcher = (t4) => {
1974
- for (const e4 of n3) {
1975
- const u4 = e4(t4);
1976
- if (u4) return u4;
1977
- }
1978
- return false;
1979
- };
1980
- return arrayMatcher;
1981
- }
1982
- const n2 = isObject(t3) && t3.tokens && t3.input;
1983
- if (t3 === "" || typeof t3 !== "string" && !n2) {
1984
- throw new TypeError("Expected pattern to be a non-empty string");
1985
- }
1986
- const o2 = e3 || {};
1987
- const s2 = o2.windows;
1988
- const r2 = n2 ? picomatch.compileRe(t3, e3) : picomatch.makeRe(t3, e3, false, true);
1989
- const a = r2.state;
1990
- delete r2.state;
1991
- let isIgnored = () => false;
1992
- if (o2.ignore) {
1993
- const t4 = { ...e3, ignore: null, onMatch: null, onResult: null };
1994
- isIgnored = picomatch(o2.ignore, t4, u3);
1995
- }
1996
- const matcher = (u4, n3 = false) => {
1997
- const { isMatch: i, match: c, output: p } = picomatch.test(u4, r2, e3, { glob: t3, posix: s2 });
1998
- const l = { glob: t3, state: a, regex: r2, posix: s2, input: u4, output: p, match: c, isMatch: i };
1999
- if (typeof o2.onResult === "function") {
2000
- o2.onResult(l);
2001
- }
2002
- if (i === false) {
2003
- l.isMatch = false;
2004
- return n3 ? l : false;
2005
- }
2006
- if (isIgnored(u4)) {
2007
- if (typeof o2.onIgnore === "function") {
2008
- o2.onIgnore(l);
2009
- }
2010
- l.isMatch = false;
2011
- return n3 ? l : false;
2012
- }
2013
- if (typeof o2.onMatch === "function") {
2014
- o2.onMatch(l);
2015
- }
2016
- return n3 ? l : true;
2017
- };
2018
- if (u3) {
2019
- matcher.state = a;
2020
- }
2021
- return matcher;
2022
- };
2023
- picomatch.test = (t3, e3, u3, { glob: n2, posix: o2 } = {}) => {
2024
- if (typeof t3 !== "string") {
2025
- throw new TypeError("Expected input to be a string");
2026
- }
2027
- if (t3 === "") {
2028
- return { isMatch: false, output: "" };
2029
- }
2030
- const r2 = u3 || {};
2031
- const a = r2.format || (o2 ? s.toPosixSlashes : null);
2032
- let i = t3 === n2;
2033
- let c = i && a ? a(t3) : t3;
2034
- if (i === false) {
2035
- c = a ? a(t3) : t3;
2036
- i = c === n2;
2037
- }
2038
- if (i === false || r2.capture === true) {
2039
- if (r2.matchBase === true || r2.basename === true) {
2040
- i = picomatch.matchBase(t3, e3, u3, o2);
2041
- } else {
2042
- i = e3.exec(c);
2043
- }
2044
- }
2045
- return { isMatch: Boolean(i), match: i, output: c };
2046
- };
2047
- picomatch.matchBase = (t3, e3, u3) => {
2048
- const n2 = e3 instanceof RegExp ? e3 : picomatch.makeRe(e3, u3);
2049
- return n2.test(s.basename(t3));
2050
- };
2051
- picomatch.isMatch = (t3, e3, u3) => picomatch(e3, u3)(t3);
2052
- picomatch.parse = (t3, e3) => {
2053
- if (Array.isArray(t3)) return t3.map((t4) => picomatch.parse(t4, e3));
2054
- return o(t3, { ...e3, fastpaths: false });
2055
- };
2056
- picomatch.scan = (t3, e3) => n(t3, e3);
2057
- picomatch.compileRe = (t3, e3, u3 = false, n2 = false) => {
2058
- if (u3 === true) {
2059
- return t3.output;
2060
- }
2061
- const o2 = e3 || {};
2062
- const s2 = o2.contains ? "" : "^";
2063
- const r2 = o2.contains ? "" : "$";
2064
- let a = `${s2}(?:${t3.output})${r2}`;
2065
- if (t3 && t3.negated === true) {
2066
- a = `^(?!${a}).*$`;
2067
- }
2068
- const i = picomatch.toRegex(a, e3);
2069
- if (n2 === true) {
2070
- i.state = t3;
2071
- }
2072
- return i;
2073
- };
2074
- picomatch.makeRe = (t3, e3 = {}, u3 = false, n2 = false) => {
2075
- if (!t3 || typeof t3 !== "string") {
2076
- throw new TypeError("Expected a non-empty string");
2077
- }
2078
- let s2 = { negated: false, fastpaths: true };
2079
- if (e3.fastpaths !== false && (t3[0] === "." || t3[0] === "*")) {
2080
- s2.output = o.fastpaths(t3, e3);
2081
- }
2082
- if (!s2.output) {
2083
- s2 = o(t3, e3);
2084
- }
2085
- return picomatch.compileRe(s2, e3, u3, n2);
2086
- };
2087
- picomatch.toRegex = (t3, e3) => {
2088
- try {
2089
- const u3 = e3 || {};
2090
- return new RegExp(t3, u3.flags || (u3.nocase ? "i" : ""));
2091
- } catch (t4) {
2092
- if (e3 && e3.debug === true) throw t4;
2093
- return /$^/;
2094
- }
2095
- };
2096
- picomatch.constants = r;
2097
- t2.exports = picomatch;
2098
- }, 716: (t2, e2, u2) => {
2099
- const n = u2(96);
2100
- 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);
2101
- const isPathSeparator = (t3) => t3 === p || t3 === r;
2102
- const depth = (t3) => {
2103
- if (t3.isPrefix !== true) {
2104
- t3.depth = t3.isGlobstar ? Infinity : 1;
2105
- }
2106
- };
2107
- const scan = (t3, e3) => {
2108
- const u3 = e3 || {};
2109
- const b = t3.length - 1;
2110
- const C = u3.parts === true || u3.scanToEnd === true;
2111
- const y = [];
2112
- const $ = [];
2113
- const x = [];
2114
- let S = t3;
2115
- let H = -1;
2116
- let v = 0;
2117
- let d = 0;
2118
- let L = false;
2119
- let T = false;
2120
- let O = false;
2121
- let k = false;
2122
- let m = false;
2123
- let w = false;
2124
- let N = false;
2125
- let I = false;
2126
- let B = false;
2127
- let G = false;
2128
- let D = 0;
2129
- let M;
2130
- let P;
2131
- let K = { value: "", depth: 0, isGlob: false };
2132
- const eos = () => H >= b;
2133
- const peek = () => S.charCodeAt(H + 1);
2134
- const advance = () => {
2135
- M = P;
2136
- return S.charCodeAt(++H);
2137
- };
2138
- while (H < b) {
2139
- P = advance();
2140
- let t4;
2141
- if (P === r) {
2142
- N = K.backslashes = true;
2143
- P = advance();
2144
- if (P === l) {
2145
- w = true;
2146
- }
2147
- continue;
2148
- }
2149
- if (w === true || P === l) {
2150
- D++;
2151
- while (eos() !== true && (P = advance())) {
2152
- if (P === r) {
2153
- N = K.backslashes = true;
2154
- advance();
2155
- continue;
2156
- }
2157
- if (P === l) {
2158
- D++;
2159
- continue;
2160
- }
2161
- if (w !== true && P === i && (P = advance()) === i) {
2162
- L = K.isBrace = true;
2163
- O = K.isGlob = true;
2164
- G = true;
2165
- if (C === true) {
2166
- continue;
2167
- }
2168
- break;
2169
- }
2170
- if (w !== true && P === a) {
2171
- L = K.isBrace = true;
2172
- O = K.isGlob = true;
2173
- G = true;
2174
- if (C === true) {
2175
- continue;
2176
- }
2177
- break;
2178
- }
2179
- if (P === E) {
2180
- D--;
2181
- if (D === 0) {
2182
- w = false;
2183
- L = K.isBrace = true;
2184
- G = true;
2185
- break;
2186
- }
2187
- }
2188
- }
2189
- if (C === true) {
2190
- continue;
2191
- }
2192
- break;
2193
- }
2194
- if (P === p) {
2195
- y.push(H);
2196
- $.push(K);
2197
- K = { value: "", depth: 0, isGlob: false };
2198
- if (G === true) continue;
2199
- if (M === i && H === v + 1) {
2200
- v += 2;
2201
- continue;
2202
- }
2203
- d = H + 1;
2204
- continue;
2205
- }
2206
- if (u3.noext !== true) {
2207
- const t5 = P === _ || P === s || P === o || P === R || P === c;
2208
- if (t5 === true && peek() === f) {
2209
- O = K.isGlob = true;
2210
- k = K.isExtglob = true;
2211
- G = true;
2212
- if (P === c && H === v) {
2213
- B = true;
2214
- }
2215
- if (C === true) {
2216
- while (eos() !== true && (P = advance())) {
2217
- if (P === r) {
2218
- N = K.backslashes = true;
2219
- P = advance();
2220
- continue;
2221
- }
2222
- if (P === h) {
2223
- O = K.isGlob = true;
2224
- G = true;
2225
- break;
2226
- }
2227
- }
2228
- continue;
2229
- }
2230
- break;
2231
- }
2232
- }
2233
- if (P === o) {
2234
- if (M === o) m = K.isGlobstar = true;
2235
- O = K.isGlob = true;
2236
- G = true;
2237
- if (C === true) {
2238
- continue;
2239
- }
2240
- break;
2241
- }
2242
- if (P === R) {
2243
- O = K.isGlob = true;
2244
- G = true;
2245
- if (C === true) {
2246
- continue;
2247
- }
2248
- break;
2249
- }
2250
- if (P === A) {
2251
- while (eos() !== true && (t4 = advance())) {
2252
- if (t4 === r) {
2253
- N = K.backslashes = true;
2254
- advance();
2255
- continue;
2256
- }
2257
- if (t4 === g) {
2258
- T = K.isBracket = true;
2259
- O = K.isGlob = true;
2260
- G = true;
2261
- break;
2262
- }
2263
- }
2264
- if (C === true) {
2265
- continue;
2266
- }
2267
- break;
2268
- }
2269
- if (u3.nonegate !== true && P === c && H === v) {
2270
- I = K.negated = true;
2271
- v++;
2272
- continue;
2273
- }
2274
- if (u3.noparen !== true && P === f) {
2275
- O = K.isGlob = true;
2276
- if (C === true) {
2277
- while (eos() !== true && (P = advance())) {
2278
- if (P === f) {
2279
- N = K.backslashes = true;
2280
- P = advance();
2281
- continue;
2282
- }
2283
- if (P === h) {
2284
- G = true;
2285
- break;
2286
- }
2287
- }
2288
- continue;
2289
- }
2290
- break;
2291
- }
2292
- if (O === true) {
2293
- G = true;
2294
- if (C === true) {
2295
- continue;
2296
- }
2297
- break;
2298
- }
2299
- }
2300
- if (u3.noext === true) {
2301
- k = false;
2302
- O = false;
2303
- }
2304
- let U = S;
2305
- let X = "";
2306
- let F = "";
2307
- if (v > 0) {
2308
- X = S.slice(0, v);
2309
- S = S.slice(v);
2310
- d -= v;
2311
- }
2312
- if (U && O === true && d > 0) {
2313
- U = S.slice(0, d);
2314
- F = S.slice(d);
2315
- } else if (O === true) {
2316
- U = "";
2317
- F = S;
2318
- } else {
2319
- U = S;
2320
- }
2321
- if (U && U !== "" && U !== "/" && U !== S) {
2322
- if (isPathSeparator(U.charCodeAt(U.length - 1))) {
2323
- U = U.slice(0, -1);
2324
- }
2325
- }
2326
- if (u3.unescape === true) {
2327
- if (F) F = n.removeBackslashes(F);
2328
- if (U && N === true) {
2329
- U = n.removeBackslashes(U);
2330
- }
2331
- }
2332
- 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 };
2333
- if (u3.tokens === true) {
2334
- Q.maxDepth = 0;
2335
- if (!isPathSeparator(P)) {
2336
- $.push(K);
2337
- }
2338
- Q.tokens = $;
2339
- }
2340
- if (u3.parts === true || u3.tokens === true) {
2341
- let e4;
2342
- for (let n2 = 0; n2 < y.length; n2++) {
2343
- const o2 = e4 ? e4 + 1 : v;
2344
- const s2 = y[n2];
2345
- const r2 = t3.slice(o2, s2);
2346
- if (u3.tokens) {
2347
- if (n2 === 0 && v !== 0) {
2348
- $[n2].isPrefix = true;
2349
- $[n2].value = X;
2350
- } else {
2351
- $[n2].value = r2;
2352
- }
2353
- depth($[n2]);
2354
- Q.maxDepth += $[n2].depth;
2355
- }
2356
- if (n2 !== 0 || r2 !== "") {
2357
- x.push(r2);
2358
- }
2359
- e4 = s2;
2360
- }
2361
- if (e4 && e4 + 1 < t3.length) {
2362
- const n2 = t3.slice(e4 + 1);
2363
- x.push(n2);
2364
- if (u3.tokens) {
2365
- $[$.length - 1].value = n2;
2366
- depth($[$.length - 1]);
2367
- Q.maxDepth += $[$.length - 1].depth;
2368
- }
2369
- }
2370
- Q.slashes = y;
2371
- Q.parts = x;
2372
- }
2373
- return Q;
2374
- };
2375
- t2.exports = scan;
2376
- }, 96: (t2, e2, u2) => {
2377
- const { REGEX_BACKSLASH: n, REGEX_REMOVE_BACKSLASH: o, REGEX_SPECIAL_CHARS: s, REGEX_SPECIAL_CHARS_GLOBAL: r } = u2(154);
2378
- e2.isObject = (t3) => t3 !== null && typeof t3 === "object" && !Array.isArray(t3);
2379
- e2.hasRegexChars = (t3) => s.test(t3);
2380
- e2.isRegexChar = (t3) => t3.length === 1 && e2.hasRegexChars(t3);
2381
- e2.escapeRegex = (t3) => t3.replace(r, "\\$1");
2382
- e2.toPosixSlashes = (t3) => t3.replace(n, "/");
2383
- e2.removeBackslashes = (t3) => t3.replace(o, (t4) => t4 === "\\" ? "" : t4);
2384
- e2.escapeLast = (t3, u3, n2) => {
2385
- const o2 = t3.lastIndexOf(u3, n2);
2386
- if (o2 === -1) return t3;
2387
- if (t3[o2 - 1] === "\\") return e2.escapeLast(t3, u3, o2 - 1);
2388
- return `${t3.slice(0, o2)}\\${t3.slice(o2)}`;
2389
- };
2390
- e2.removePrefix = (t3, e3 = {}) => {
2391
- let u3 = t3;
2392
- if (u3.startsWith("./")) {
2393
- u3 = u3.slice(2);
2394
- e3.prefix = "./";
2395
- }
2396
- return u3;
2397
- };
2398
- e2.wrapOutput = (t3, e3 = {}, u3 = {}) => {
2399
- const n2 = u3.contains ? "" : "^";
2400
- const o2 = u3.contains ? "" : "$";
2401
- let s2 = `${n2}(?:${t3})${o2}`;
2402
- if (e3.negated === true) {
2403
- s2 = `(?:^(?!${s2}).*$)`;
2404
- }
2405
- return s2;
2406
- };
2407
- e2.basename = (t3, { windows: e3 } = {}) => {
2408
- const u3 = t3.split(e3 ? /[\\/]/ : "/");
2409
- const n2 = u3[u3.length - 1];
2410
- if (n2 === "") {
2411
- return u3[u3.length - 2];
2412
- }
2413
- return n2;
2414
- };
2415
- } };
2416
- var e = {};
2417
- function __nccwpck_require__(u2) {
2418
- var n = e[u2];
2419
- if (n !== void 0) {
2420
- return n.exports;
2421
- }
2422
- var o = e[u2] = { exports: {} };
2423
- var s = true;
2424
- try {
2425
- t[u2](o, o.exports, __nccwpck_require__);
2426
- s = false;
2427
- } finally {
2428
- if (s) delete e[u2];
2429
- }
2430
- return o.exports;
2431
- }
2432
- if (typeof __nccwpck_require__ !== "undefined") __nccwpck_require__.ab = __dirname + "/";
2433
- var u = __nccwpck_require__(170);
2434
- module.exports = u;
2435
- })();
2436
- }
2437
- });
2438
-
2439
- // node_modules/next/dist/shared/lib/match-local-pattern.js
2440
- var require_match_local_pattern = __commonJS({
2441
- "node_modules/next/dist/shared/lib/match-local-pattern.js"(exports) {
2442
- "use strict";
2443
- Object.defineProperty(exports, "__esModule", {
2444
- value: true
2445
- });
2446
- function _export(target, all) {
2447
- for (var name in all) Object.defineProperty(target, name, {
2448
- enumerable: true,
2449
- get: all[name]
2450
- });
2451
- }
2452
- _export(exports, {
2453
- hasLocalMatch: function() {
2454
- return hasLocalMatch;
2455
- },
2456
- matchLocalPattern: function() {
2457
- return matchLocalPattern;
2458
- }
2459
- });
2460
- var _picomatch = require_picomatch();
2461
- function matchLocalPattern(pattern, url) {
2462
- if (pattern.search !== void 0) {
2463
- if (pattern.search !== url.search) {
2464
- return false;
2465
- }
2466
- }
2467
- var _pattern_pathname;
2468
- if (!(0, _picomatch.makeRe)((_pattern_pathname = pattern.pathname) != null ? _pattern_pathname : "**", {
2469
- dot: true
2470
- }).test(url.pathname)) {
2471
- return false;
2472
- }
2473
- return true;
2474
- }
2475
- function hasLocalMatch(localPatterns, urlPathAndQuery) {
2476
- if (!localPatterns) {
2477
- return true;
2478
- }
2479
- const url = new URL(urlPathAndQuery, "http://n");
2480
- return localPatterns.some((p) => matchLocalPattern(p, url));
2481
- }
2482
- }
2483
- });
2484
-
2485
- // node_modules/next/dist/shared/lib/match-remote-pattern.js
2486
- var require_match_remote_pattern = __commonJS({
2487
- "node_modules/next/dist/shared/lib/match-remote-pattern.js"(exports) {
2488
- "use strict";
2489
- Object.defineProperty(exports, "__esModule", {
2490
- value: true
2491
- });
2492
- function _export(target, all) {
2493
- for (var name in all) Object.defineProperty(target, name, {
2494
- enumerable: true,
2495
- get: all[name]
2496
- });
2497
- }
2498
- _export(exports, {
2499
- hasRemoteMatch: function() {
2500
- return hasRemoteMatch;
2501
- },
2502
- matchRemotePattern: function() {
2503
- return matchRemotePattern;
2504
- }
2505
- });
2506
- var _picomatch = require_picomatch();
2507
- function matchRemotePattern(pattern, url) {
2508
- if (pattern.protocol !== void 0) {
2509
- if (pattern.protocol.replace(/:$/, "") !== url.protocol.replace(/:$/, "")) {
2510
- return false;
2511
- }
2512
- }
2513
- if (pattern.port !== void 0) {
2514
- if (pattern.port !== url.port) {
2515
- return false;
2516
- }
2517
- }
2518
- if (pattern.hostname === void 0) {
2519
- throw Object.defineProperty(new Error("Pattern should define hostname but found\n" + JSON.stringify(pattern)), "__NEXT_ERROR_CODE", {
2520
- value: "E410",
2521
- enumerable: false,
2522
- configurable: true
2523
- });
2524
- } else {
2525
- if (!(0, _picomatch.makeRe)(pattern.hostname).test(url.hostname)) {
2526
- return false;
2527
- }
2528
- }
2529
- if (pattern.search !== void 0) {
2530
- if (pattern.search !== url.search) {
2531
- return false;
2532
- }
2533
- }
2534
- var _pattern_pathname;
2535
- if (!(0, _picomatch.makeRe)((_pattern_pathname = pattern.pathname) != null ? _pattern_pathname : "**", {
2536
- dot: true
2537
- }).test(url.pathname)) {
2538
- return false;
2539
- }
2540
- return true;
2541
- }
2542
- function hasRemoteMatch(domains, remotePatterns, url) {
2543
- return domains.some((domain) => url.hostname === domain) || remotePatterns.some((p) => matchRemotePattern(p, url));
2544
- }
2545
- }
2546
- });
2547
-
2548
- // node_modules/next/dist/shared/lib/image-loader.js
2549
- var require_image_loader = __commonJS({
2550
- "node_modules/next/dist/shared/lib/image-loader.js"(exports) {
2551
- "use strict";
2552
- Object.defineProperty(exports, "__esModule", {
2553
- value: true
2554
- });
2555
- Object.defineProperty(exports, "default", {
2556
- enumerable: true,
2557
- get: function() {
2558
- return _default;
2559
- }
2560
- });
2561
- var DEFAULT_Q = 75;
2562
- function defaultLoader(param) {
2563
- let { config, src, width, quality } = param;
2564
- var _config_qualities;
2565
- if (process.env.NODE_ENV !== "production") {
2566
- const missingValues = [];
2567
- if (!src) missingValues.push("src");
2568
- if (!width) missingValues.push("width");
2569
- if (missingValues.length > 0) {
2570
- 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({
2571
- src,
2572
- width,
2573
- quality
2574
- })), "__NEXT_ERROR_CODE", {
2575
- value: "E188",
2576
- enumerable: false,
2577
- configurable: true
2578
- });
2579
- }
2580
- if (src.startsWith("//")) {
2581
- 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", {
2582
- value: "E360",
2583
- enumerable: false,
2584
- configurable: true
2585
- });
2586
- }
2587
- if (src.startsWith("/") && config.localPatterns) {
2588
- if (process.env.NODE_ENV !== "test" && // micromatch isn't compatible with edge runtime
2589
- process.env.NEXT_RUNTIME !== "edge") {
2590
- const { hasLocalMatch } = require_match_local_pattern();
2591
- if (!hasLocalMatch(config.localPatterns, src)) {
2592
- 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", {
2593
- value: "E426",
2594
- enumerable: false,
2595
- configurable: true
2596
- });
2597
- }
2598
- }
2599
- }
2600
- if (!src.startsWith("/") && (config.domains || config.remotePatterns)) {
2601
- let parsedSrc;
2602
- try {
2603
- parsedSrc = new URL(src);
2604
- } catch (err) {
2605
- console.error(err);
2606
- 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", {
2607
- value: "E63",
2608
- enumerable: false,
2609
- configurable: true
2610
- });
2611
- }
2612
- if (process.env.NODE_ENV !== "test" && // micromatch isn't compatible with edge runtime
2613
- process.env.NEXT_RUNTIME !== "edge") {
2614
- const { hasRemoteMatch } = require_match_remote_pattern();
2615
- if (!hasRemoteMatch(config.domains, config.remotePatterns, parsedSrc)) {
2616
- 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", {
2617
- value: "E231",
2618
- enumerable: false,
2619
- configurable: true
2620
- });
2621
- }
2622
- }
2623
- }
2624
- if (quality && config.qualities && !config.qualities.includes(quality)) {
2625
- 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", {
2626
- value: "E623",
2627
- enumerable: false,
2628
- configurable: true
2629
- });
2630
- }
2631
- }
2632
- 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;
2633
- 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 : "");
2634
- }
2635
- defaultLoader.__next_img_default = true;
2636
- var _default = defaultLoader;
2637
- }
2638
- });
2639
-
2640
- // node_modules/next/dist/client/use-merged-ref.js
2641
- var require_use_merged_ref = __commonJS({
2642
- "node_modules/next/dist/client/use-merged-ref.js"(exports, module) {
2643
- "use strict";
2644
- Object.defineProperty(exports, "__esModule", {
2645
- value: true
2646
- });
2647
- Object.defineProperty(exports, "useMergedRef", {
2648
- enumerable: true,
2649
- get: function() {
2650
- return useMergedRef;
2651
- }
2652
- });
2653
- var _react = __require("react");
2654
- function useMergedRef(refA, refB) {
2655
- const cleanupA = (0, _react.useRef)(null);
2656
- const cleanupB = (0, _react.useRef)(null);
2657
- return (0, _react.useCallback)((current) => {
2658
- if (current === null) {
2659
- const cleanupFnA = cleanupA.current;
2660
- if (cleanupFnA) {
2661
- cleanupA.current = null;
2662
- cleanupFnA();
2663
- }
2664
- const cleanupFnB = cleanupB.current;
2665
- if (cleanupFnB) {
2666
- cleanupB.current = null;
2667
- cleanupFnB();
2668
- }
2669
- } else {
2670
- if (refA) {
2671
- cleanupA.current = applyRef(refA, current);
2672
- }
2673
- if (refB) {
2674
- cleanupB.current = applyRef(refB, current);
2675
- }
2676
- }
2677
- }, [
2678
- refA,
2679
- refB
2680
- ]);
2681
- }
2682
- function applyRef(refA, current) {
2683
- if (typeof refA === "function") {
2684
- const cleanup = refA(current);
2685
- if (typeof cleanup === "function") {
2686
- return cleanup;
2687
- } else {
2688
- return () => refA(null);
2689
- }
2690
- } else {
2691
- refA.current = current;
2692
- return () => {
2693
- refA.current = null;
2694
- };
2695
- }
2696
- }
2697
- if ((typeof exports.default === "function" || typeof exports.default === "object" && exports.default !== null) && typeof exports.default.__esModule === "undefined") {
2698
- Object.defineProperty(exports.default, "__esModule", { value: true });
2699
- Object.assign(exports.default, exports);
2700
- module.exports = exports.default;
2701
- }
2702
- }
2703
- });
2704
-
2705
- // node_modules/next/dist/client/image-component.js
2706
- var require_image_component = __commonJS({
2707
- "node_modules/next/dist/client/image-component.js"(exports, module) {
2708
- "use client";
2709
- "use strict";
2710
- Object.defineProperty(exports, "__esModule", {
2711
- value: true
2712
- });
2713
- Object.defineProperty(exports, "Image", {
2714
- enumerable: true,
2715
- get: function() {
2716
- return Image3;
2717
- }
2718
- });
2719
- var _interop_require_default = require_interop_require_default();
2720
- var _interop_require_wildcard = require_interop_require_wildcard();
2721
- var _jsxruntime = __require("react/jsx-runtime");
2722
- var _react = /* @__PURE__ */ _interop_require_wildcard._(__require("react"));
2723
- var _reactdom = /* @__PURE__ */ _interop_require_default._(__require("react-dom"));
2724
- var _head = /* @__PURE__ */ _interop_require_default._(require_head());
2725
- var _getimgprops = require_get_img_props();
2726
- var _imageconfig = require_image_config();
2727
- var _imageconfigcontextsharedruntime = require_image_config_context_shared_runtime();
2728
- var _warnonce = require_warn_once();
2729
- var _routercontextsharedruntime = require_router_context_shared_runtime();
2730
- var _imageloader = /* @__PURE__ */ _interop_require_default._(require_image_loader());
2731
- var _usemergedref = require_use_merged_ref();
2732
- var configEnv = process.env.__NEXT_IMAGE_OPTS;
2733
- if (typeof window === "undefined") {
2734
- ;
2735
- globalThis.__NEXT_IMAGE_IMPORTED = true;
2736
- }
2737
- function handleLoading(img, placeholder, onLoadRef, onLoadingCompleteRef, setBlurComplete, unoptimized, sizesInput) {
2738
- const src = img == null ? void 0 : img.src;
2739
- if (!img || img["data-loaded-src"] === src) {
2740
- return;
2741
- }
2742
- img["data-loaded-src"] = src;
2743
- const p = "decode" in img ? img.decode() : Promise.resolve();
2744
- p.catch(() => {
2745
- }).then(() => {
2746
- if (!img.parentElement || !img.isConnected) {
2747
- return;
2748
- }
2749
- if (placeholder !== "empty") {
2750
- setBlurComplete(true);
2751
- }
2752
- if (onLoadRef == null ? void 0 : onLoadRef.current) {
2753
- const event = new Event("load");
2754
- Object.defineProperty(event, "target", {
2755
- writable: false,
2756
- value: img
2757
- });
2758
- let prevented = false;
2759
- let stopped = false;
2760
- onLoadRef.current({
2761
- ...event,
2762
- nativeEvent: event,
2763
- currentTarget: img,
2764
- target: img,
2765
- isDefaultPrevented: () => prevented,
2766
- isPropagationStopped: () => stopped,
2767
- persist: () => {
2768
- },
2769
- preventDefault: () => {
2770
- prevented = true;
2771
- event.preventDefault();
2772
- },
2773
- stopPropagation: () => {
2774
- stopped = true;
2775
- event.stopPropagation();
2776
- }
2777
- });
2778
- }
2779
- if (onLoadingCompleteRef == null ? void 0 : onLoadingCompleteRef.current) {
2780
- onLoadingCompleteRef.current(img);
2781
- }
2782
- if (process.env.NODE_ENV !== "production") {
2783
- const origSrc = new URL(src, "http://n").searchParams.get("url") || src;
2784
- if (img.getAttribute("data-nimg") === "fill") {
2785
- if (!unoptimized && (!sizesInput || sizesInput === "100vw")) {
2786
- let widthViewportRatio = img.getBoundingClientRect().width / window.innerWidth;
2787
- if (widthViewportRatio < 0.6) {
2788
- if (sizesInput === "100vw") {
2789
- (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');
2790
- } else {
2791
- (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');
2792
- }
2793
- }
2794
- }
2795
- if (img.parentElement) {
2796
- const { position } = window.getComputedStyle(img.parentElement);
2797
- const valid = [
2798
- "absolute",
2799
- "fixed",
2800
- "relative"
2801
- ];
2802
- if (!valid.includes(position)) {
2803
- (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(",") + ".");
2804
- }
2805
- }
2806
- if (img.height === 0) {
2807
- (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.');
2808
- }
2809
- }
2810
- const heightModified = img.height.toString() !== img.getAttribute("height");
2811
- const widthModified = img.width.toString() !== img.getAttribute("width");
2812
- if (heightModified && !widthModified || !heightModified && widthModified) {
2813
- (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.`);
2814
- }
2815
- }
2816
- });
2817
- }
2818
- function getDynamicProps(fetchPriority) {
2819
- if (Boolean(_react.use)) {
2820
- return {
2821
- fetchPriority
2822
- };
2823
- }
2824
- return {
2825
- fetchpriority: fetchPriority
2826
- };
2827
- }
2828
- var ImageElement = /* @__PURE__ */ (0, _react.forwardRef)((param, forwardedRef) => {
2829
- let { src, srcSet, sizes, height, width, decoding, className, style, fetchPriority, placeholder, loading, unoptimized, fill, onLoadRef, onLoadingCompleteRef, setBlurComplete, setShowAltText, sizesInput, onLoad, onError, ...rest } = param;
2830
- const ownRef = (0, _react.useCallback)((img) => {
2831
- if (!img) {
2832
- return;
2833
- }
2834
- if (onError) {
2835
- img.src = img.src;
2836
- }
2837
- if (process.env.NODE_ENV !== "production") {
2838
- if (!src) {
2839
- console.error('Image is missing required "src" property:', img);
2840
- }
2841
- if (img.getAttribute("alt") === null) {
2842
- console.error('Image is missing required "alt" property. Please add Alternative Text to describe the image for screen readers and search engines.');
2843
- }
2844
- }
2845
- if (img.complete) {
2846
- handleLoading(img, placeholder, onLoadRef, onLoadingCompleteRef, setBlurComplete, unoptimized, sizesInput);
2847
- }
2848
- }, [
2849
- src,
2850
- placeholder,
2851
- onLoadRef,
2852
- onLoadingCompleteRef,
2853
- setBlurComplete,
2854
- onError,
2855
- unoptimized,
2856
- sizesInput
2857
- ]);
2858
- const ref = (0, _usemergedref.useMergedRef)(forwardedRef, ownRef);
2859
- return /* @__PURE__ */ (0, _jsxruntime.jsx)("img", {
2860
- ...rest,
2861
- ...getDynamicProps(fetchPriority),
2862
- // It's intended to keep `loading` before `src` because React updates
2863
- // props in order which causes Safari/Firefox to not lazy load properly.
2864
- // See https://github.com/facebook/react/issues/25883
2865
- loading,
2866
- width,
2867
- height,
2868
- decoding,
2869
- "data-nimg": fill ? "fill" : "1",
2870
- className,
2871
- style,
2872
- // It's intended to keep `src` the last attribute because React updates
2873
- // attributes in order. If we keep `src` the first one, Safari will
2874
- // immediately start to fetch `src`, before `sizes` and `srcSet` are even
2875
- // updated by React. That causes multiple unnecessary requests if `srcSet`
2876
- // and `sizes` are defined.
2877
- // This bug cannot be reproduced in Chrome or Firefox.
2878
- sizes,
2879
- srcSet,
2880
- src,
2881
- ref,
2882
- onLoad: (event) => {
2883
- const img = event.currentTarget;
2884
- handleLoading(img, placeholder, onLoadRef, onLoadingCompleteRef, setBlurComplete, unoptimized, sizesInput);
2885
- },
2886
- onError: (event) => {
2887
- setShowAltText(true);
2888
- if (placeholder !== "empty") {
2889
- setBlurComplete(true);
2890
- }
2891
- if (onError) {
2892
- onError(event);
2893
- }
2894
- }
2895
- });
2896
- });
2897
- function ImagePreload(param) {
2898
- let { isAppRouter, imgAttributes } = param;
2899
- const opts = {
2900
- as: "image",
2901
- imageSrcSet: imgAttributes.srcSet,
2902
- imageSizes: imgAttributes.sizes,
2903
- crossOrigin: imgAttributes.crossOrigin,
2904
- referrerPolicy: imgAttributes.referrerPolicy,
2905
- ...getDynamicProps(imgAttributes.fetchPriority)
2906
- };
2907
- if (isAppRouter && _reactdom.default.preload) {
2908
- _reactdom.default.preload(imgAttributes.src, opts);
2909
- return null;
2910
- }
2911
- return /* @__PURE__ */ (0, _jsxruntime.jsx)(_head.default, {
2912
- children: /* @__PURE__ */ (0, _jsxruntime.jsx)("link", {
2913
- rel: "preload",
2914
- // Note how we omit the `href` attribute, as it would only be relevant
2915
- // for browsers that do not support `imagesrcset`, and in those cases
2916
- // it would cause the incorrect image to be preloaded.
2917
- //
2918
- // https://html.spec.whatwg.org/multipage/semantics.html#attr-link-imagesrcset
2919
- href: imgAttributes.srcSet ? void 0 : imgAttributes.src,
2920
- ...opts
2921
- }, "__nimg-" + imgAttributes.src + imgAttributes.srcSet + imgAttributes.sizes)
2922
- });
2923
- }
2924
- var Image3 = /* @__PURE__ */ (0, _react.forwardRef)((props, forwardedRef) => {
2925
- const pagesRouter = (0, _react.useContext)(_routercontextsharedruntime.RouterContext);
2926
- const isAppRouter = !pagesRouter;
2927
- const configContext = (0, _react.useContext)(_imageconfigcontextsharedruntime.ImageConfigContext);
2928
- const config = (0, _react.useMemo)(() => {
2929
- var _c_qualities;
2930
- const c = configEnv || configContext || _imageconfig.imageConfigDefault;
2931
- const allSizes = [
2932
- ...c.deviceSizes,
2933
- ...c.imageSizes
2934
- ].sort((a, b) => a - b);
2935
- const deviceSizes = c.deviceSizes.sort((a, b) => a - b);
2936
- const qualities = (_c_qualities = c.qualities) == null ? void 0 : _c_qualities.sort((a, b) => a - b);
2937
- return {
2938
- ...c,
2939
- allSizes,
2940
- deviceSizes,
2941
- qualities
2942
- };
2943
- }, [
2944
- configContext
2945
- ]);
2946
- const { onLoad, onLoadingComplete } = props;
2947
- const onLoadRef = (0, _react.useRef)(onLoad);
2948
- (0, _react.useEffect)(() => {
2949
- onLoadRef.current = onLoad;
2950
- }, [
2951
- onLoad
2952
- ]);
2953
- const onLoadingCompleteRef = (0, _react.useRef)(onLoadingComplete);
2954
- (0, _react.useEffect)(() => {
2955
- onLoadingCompleteRef.current = onLoadingComplete;
2956
- }, [
2957
- onLoadingComplete
2958
- ]);
2959
- const [blurComplete, setBlurComplete] = (0, _react.useState)(false);
2960
- const [showAltText, setShowAltText] = (0, _react.useState)(false);
2961
- const { props: imgAttributes, meta: imgMeta } = (0, _getimgprops.getImgProps)(props, {
2962
- defaultLoader: _imageloader.default,
2963
- imgConf: config,
2964
- blurComplete,
2965
- showAltText
2966
- });
2967
- return /* @__PURE__ */ (0, _jsxruntime.jsxs)(_jsxruntime.Fragment, {
2968
- children: [
2969
- /* @__PURE__ */ (0, _jsxruntime.jsx)(ImageElement, {
2970
- ...imgAttributes,
2971
- unoptimized: imgMeta.unoptimized,
2972
- placeholder: imgMeta.placeholder,
2973
- fill: imgMeta.fill,
2974
- onLoadRef,
2975
- onLoadingCompleteRef,
2976
- setBlurComplete,
2977
- setShowAltText,
2978
- sizesInput: props.sizes,
2979
- ref: forwardedRef
2980
- }),
2981
- imgMeta.priority ? /* @__PURE__ */ (0, _jsxruntime.jsx)(ImagePreload, {
2982
- isAppRouter,
2983
- imgAttributes
2984
- }) : null
2985
- ]
2986
- });
2987
- });
2988
- if ((typeof exports.default === "function" || typeof exports.default === "object" && exports.default !== null) && typeof exports.default.__esModule === "undefined") {
2989
- Object.defineProperty(exports.default, "__esModule", { value: true });
2990
- Object.assign(exports.default, exports);
2991
- module.exports = exports.default;
2992
- }
2993
- }
2994
- });
2995
-
2996
- // node_modules/next/dist/shared/lib/image-external.js
2997
- var require_image_external = __commonJS({
2998
- "node_modules/next/dist/shared/lib/image-external.js"(exports) {
2999
- "use strict";
3000
- Object.defineProperty(exports, "__esModule", {
3001
- value: true
3002
- });
3003
- function _export(target, all) {
3004
- for (var name in all) Object.defineProperty(target, name, {
3005
- enumerable: true,
3006
- get: all[name]
3007
- });
3008
- }
3009
- _export(exports, {
3010
- default: function() {
3011
- return _default;
3012
- },
3013
- getImageProps: function() {
3014
- return getImageProps;
3015
- }
3016
- });
3017
- var _interop_require_default = require_interop_require_default();
3018
- var _getimgprops = require_get_img_props();
3019
- var _imagecomponent = require_image_component();
3020
- var _imageloader = /* @__PURE__ */ _interop_require_default._(require_image_loader());
3021
- function getImageProps(imgProps) {
3022
- const { props } = (0, _getimgprops.getImgProps)(imgProps, {
3023
- defaultLoader: _imageloader.default,
3024
- // This is replaced by webpack define plugin
3025
- imgConf: process.env.__NEXT_IMAGE_OPTS
3026
- });
3027
- for (const [key, value] of Object.entries(props)) {
3028
- if (value === void 0) {
3029
- delete props[key];
3030
- }
3031
- }
3032
- return {
3033
- props
3034
- };
3035
- }
3036
- var _default = _imagecomponent.Image;
3037
- }
3038
- });
3039
-
3040
- // node_modules/next/image.js
3041
- var require_image = __commonJS({
3042
- "node_modules/next/image.js"(exports, module) {
3043
- module.exports = require_image_external();
3044
- }
3045
- });
3046
-
3047
- // src/components/icons-and-geometry/Avatar.tsx
3048
- import clsx from "clsx";
3049
- import { useMemo as useMemo3 } from "react";
3050
- import { UserIcon } from "lucide-react";
3051
-
3052
- // node_modules/@radix-ui/react-avatar/dist/index.mjs
3053
- import * as React7 from "react";
3054
-
3055
- // node_modules/@radix-ui/react-context/dist/index.mjs
3056
- import * as React from "react";
3057
- import { jsx } from "react/jsx-runtime";
3058
- function createContextScope(scopeName, createContextScopeDeps = []) {
3059
- let defaultContexts = [];
3060
- function createContext3(rootComponentName, defaultContext) {
3061
- const BaseContext = React.createContext(defaultContext);
3062
- const index = defaultContexts.length;
3063
- defaultContexts = [...defaultContexts, defaultContext];
3064
- const Provider = (props) => {
3065
- const { scope, children, ...context } = props;
3066
- const Context = scope?.[scopeName]?.[index] || BaseContext;
3067
- const value = React.useMemo(() => context, Object.values(context));
3068
- return /* @__PURE__ */ jsx(Context.Provider, { value, children });
3069
- };
3070
- Provider.displayName = rootComponentName + "Provider";
3071
- function useContext2(consumerName, scope) {
3072
- const Context = scope?.[scopeName]?.[index] || BaseContext;
3073
- const context = React.useContext(Context);
3074
- if (context) return context;
3075
- if (defaultContext !== void 0) return defaultContext;
3076
- throw new Error(`\`${consumerName}\` must be used within \`${rootComponentName}\``);
3077
- }
3078
- return [Provider, useContext2];
3079
- }
3080
- const createScope = () => {
3081
- const scopeContexts = defaultContexts.map((defaultContext) => {
3082
- return React.createContext(defaultContext);
3083
- });
3084
- return function useScope(scope) {
3085
- const contexts = scope?.[scopeName] || scopeContexts;
3086
- return React.useMemo(
3087
- () => ({ [`__scope${scopeName}`]: { ...scope, [scopeName]: contexts } }),
3088
- [scope, contexts]
3089
- );
3090
- };
3091
- };
3092
- createScope.scopeName = scopeName;
3093
- return [createContext3, composeContextScopes(createScope, ...createContextScopeDeps)];
3094
- }
3095
- function composeContextScopes(...scopes) {
3096
- const baseScope = scopes[0];
3097
- if (scopes.length === 1) return baseScope;
3098
- const createScope = () => {
3099
- const scopeHooks = scopes.map((createScope2) => ({
3100
- useScope: createScope2(),
3101
- scopeName: createScope2.scopeName
3102
- }));
3103
- return function useComposedScopes(overrideScopes) {
3104
- const nextScopes = scopeHooks.reduce((nextScopes2, { useScope, scopeName }) => {
3105
- const scopeProps = useScope(overrideScopes);
3106
- const currentScope = scopeProps[`__scope${scopeName}`];
3107
- return { ...nextScopes2, ...currentScope };
3108
- }, {});
3109
- return React.useMemo(() => ({ [`__scope${baseScope.scopeName}`]: nextScopes }), [nextScopes]);
3110
- };
3111
- };
3112
- createScope.scopeName = baseScope.scopeName;
3113
- return createScope;
3114
- }
3115
-
3116
- // node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
3117
- import * as React2 from "react";
3118
- function useCallbackRef(callback) {
3119
- const callbackRef = React2.useRef(callback);
3120
- React2.useEffect(() => {
3121
- callbackRef.current = callback;
3122
- });
3123
- return React2.useMemo(() => (...args) => callbackRef.current?.(...args), []);
3124
- }
3125
-
3126
- // node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
3127
- import * as React3 from "react";
3128
- var useLayoutEffect2 = globalThis?.document ? React3.useLayoutEffect : () => {
3129
- };
3130
-
3131
- // node_modules/@radix-ui/react-primitive/dist/index.mjs
3132
- import * as React6 from "react";
3133
- import * as ReactDOM from "react-dom";
3134
-
3135
- // node_modules/@radix-ui/react-slot/dist/index.mjs
3136
- import * as React5 from "react";
3137
-
3138
- // node_modules/@radix-ui/react-compose-refs/dist/index.mjs
3139
- import * as React4 from "react";
3140
- function setRef(ref, value) {
3141
- if (typeof ref === "function") {
3142
- return ref(value);
3143
- } else if (ref !== null && ref !== void 0) {
3144
- ref.current = value;
3145
- }
3146
- }
3147
- function composeRefs(...refs) {
3148
- return (node) => {
3149
- let hasCleanup = false;
3150
- const cleanups = refs.map((ref) => {
3151
- const cleanup = setRef(ref, node);
3152
- if (!hasCleanup && typeof cleanup == "function") {
3153
- hasCleanup = true;
3154
- }
3155
- return cleanup;
3156
- });
3157
- if (hasCleanup) {
3158
- return () => {
3159
- for (let i = 0; i < cleanups.length; i++) {
3160
- const cleanup = cleanups[i];
3161
- if (typeof cleanup == "function") {
3162
- cleanup();
3163
- } else {
3164
- setRef(refs[i], null);
3165
- }
3166
- }
3167
- };
3168
- }
3169
- };
3170
- }
3171
-
3172
- // node_modules/@radix-ui/react-slot/dist/index.mjs
3173
- import { Fragment as Fragment2, jsx as jsx2 } from "react/jsx-runtime";
3174
- // @__NO_SIDE_EFFECTS__
3175
- function createSlot(ownerName) {
3176
- const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);
3177
- const Slot2 = React5.forwardRef((props, forwardedRef) => {
3178
- const { children, ...slotProps } = props;
3179
- const childrenArray = React5.Children.toArray(children);
3180
- const slottable = childrenArray.find(isSlottable);
3181
- if (slottable) {
3182
- const newElement = slottable.props.children;
3183
- const newChildren = childrenArray.map((child) => {
3184
- if (child === slottable) {
3185
- if (React5.Children.count(newElement) > 1) return React5.Children.only(null);
3186
- return React5.isValidElement(newElement) ? newElement.props.children : null;
3187
- } else {
3188
- return child;
3189
- }
3190
- });
3191
- return /* @__PURE__ */ jsx2(SlotClone, { ...slotProps, ref: forwardedRef, children: React5.isValidElement(newElement) ? React5.cloneElement(newElement, void 0, newChildren) : null });
3192
- }
3193
- return /* @__PURE__ */ jsx2(SlotClone, { ...slotProps, ref: forwardedRef, children });
3194
- });
3195
- Slot2.displayName = `${ownerName}.Slot`;
3196
- return Slot2;
3197
- }
3198
- // @__NO_SIDE_EFFECTS__
3199
- function createSlotClone(ownerName) {
3200
- const SlotClone = React5.forwardRef((props, forwardedRef) => {
3201
- const { children, ...slotProps } = props;
3202
- if (React5.isValidElement(children)) {
3203
- const childrenRef = getElementRef(children);
3204
- const props2 = mergeProps(slotProps, children.props);
3205
- if (children.type !== React5.Fragment) {
3206
- props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;
3207
- }
3208
- return React5.cloneElement(children, props2);
3209
- }
3210
- return React5.Children.count(children) > 1 ? React5.Children.only(null) : null;
3211
- });
3212
- SlotClone.displayName = `${ownerName}.SlotClone`;
3213
- return SlotClone;
3214
- }
3215
- var SLOTTABLE_IDENTIFIER = Symbol("radix.slottable");
3216
- function isSlottable(child) {
3217
- return React5.isValidElement(child) && typeof child.type === "function" && "__radixId" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;
3218
- }
3219
- function mergeProps(slotProps, childProps) {
3220
- const overrideProps = { ...childProps };
3221
- for (const propName in childProps) {
3222
- const slotPropValue = slotProps[propName];
3223
- const childPropValue = childProps[propName];
3224
- const isHandler = /^on[A-Z]/.test(propName);
3225
- if (isHandler) {
3226
- if (slotPropValue && childPropValue) {
3227
- overrideProps[propName] = (...args) => {
3228
- const result = childPropValue(...args);
3229
- slotPropValue(...args);
3230
- return result;
3231
- };
3232
- } else if (slotPropValue) {
3233
- overrideProps[propName] = slotPropValue;
3234
- }
3235
- } else if (propName === "style") {
3236
- overrideProps[propName] = { ...slotPropValue, ...childPropValue };
3237
- } else if (propName === "className") {
3238
- overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(" ");
3239
- }
3240
- }
3241
- return { ...slotProps, ...overrideProps };
3242
- }
3243
- function getElementRef(element) {
3244
- let getter = Object.getOwnPropertyDescriptor(element.props, "ref")?.get;
3245
- let mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
3246
- if (mayWarn) {
3247
- return element.ref;
3248
- }
3249
- getter = Object.getOwnPropertyDescriptor(element, "ref")?.get;
3250
- mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
3251
- if (mayWarn) {
3252
- return element.props.ref;
3253
- }
3254
- return element.props.ref || element.ref;
3255
- }
3256
-
3257
- // node_modules/@radix-ui/react-primitive/dist/index.mjs
3258
- import { jsx as jsx3 } from "react/jsx-runtime";
3259
- var NODES = [
3260
- "a",
3261
- "button",
3262
- "div",
3263
- "form",
3264
- "h2",
3265
- "h3",
3266
- "img",
3267
- "input",
3268
- "label",
3269
- "li",
3270
- "nav",
3271
- "ol",
3272
- "p",
3273
- "select",
3274
- "span",
3275
- "svg",
3276
- "ul"
3277
- ];
3278
- var Primitive = NODES.reduce((primitive, node) => {
3279
- const Slot = createSlot(`Primitive.${node}`);
3280
- const Node = React6.forwardRef((props, forwardedRef) => {
3281
- const { asChild, ...primitiveProps } = props;
3282
- const Comp = asChild ? Slot : node;
3283
- if (typeof window !== "undefined") {
3284
- window[Symbol.for("radix-ui")] = true;
3285
- }
3286
- return /* @__PURE__ */ jsx3(Comp, { ...primitiveProps, ref: forwardedRef });
3287
- });
3288
- Node.displayName = `Primitive.${node}`;
3289
- return { ...primitive, [node]: Node };
3290
- }, {});
3291
-
3292
- // node_modules/@radix-ui/react-use-is-hydrated/dist/index.mjs
3293
- var import_shim = __toESM(require_shim(), 1);
3294
- function useIsHydrated() {
3295
- return (0, import_shim.useSyncExternalStore)(
3296
- subscribe,
3297
- () => true,
3298
- () => false
3299
- );
3300
- }
3301
- function subscribe() {
3302
- return () => {
3303
- };
3304
- }
3305
-
3306
- // node_modules/@radix-ui/react-avatar/dist/index.mjs
3307
- import { jsx as jsx4 } from "react/jsx-runtime";
3308
- var AVATAR_NAME = "Avatar";
3309
- var [createAvatarContext, createAvatarScope] = createContextScope(AVATAR_NAME);
3310
- var [AvatarProvider, useAvatarContext] = createAvatarContext(AVATAR_NAME);
3311
- var Avatar = React7.forwardRef(
3312
- (props, forwardedRef) => {
3313
- const { __scopeAvatar, ...avatarProps } = props;
3314
- const [imageLoadingStatus, setImageLoadingStatus] = React7.useState("idle");
3315
- return /* @__PURE__ */ jsx4(
3316
- AvatarProvider,
3317
- {
3318
- scope: __scopeAvatar,
3319
- imageLoadingStatus,
3320
- onImageLoadingStatusChange: setImageLoadingStatus,
3321
- children: /* @__PURE__ */ jsx4(Primitive.span, { ...avatarProps, ref: forwardedRef })
3322
- }
3323
- );
3324
- }
3325
- );
3326
- Avatar.displayName = AVATAR_NAME;
3327
- var IMAGE_NAME = "AvatarImage";
3328
- var AvatarImage = React7.forwardRef(
3329
- (props, forwardedRef) => {
3330
- const { __scopeAvatar, src, onLoadingStatusChange = () => {
3331
- }, ...imageProps } = props;
3332
- const context = useAvatarContext(IMAGE_NAME, __scopeAvatar);
3333
- const imageLoadingStatus = useImageLoadingStatus(src, imageProps);
3334
- const handleLoadingStatusChange = useCallbackRef((status) => {
3335
- onLoadingStatusChange(status);
3336
- context.onImageLoadingStatusChange(status);
3337
- });
3338
- useLayoutEffect2(() => {
3339
- if (imageLoadingStatus !== "idle") {
3340
- handleLoadingStatusChange(imageLoadingStatus);
3341
- }
3342
- }, [imageLoadingStatus, handleLoadingStatusChange]);
3343
- return imageLoadingStatus === "loaded" ? /* @__PURE__ */ jsx4(Primitive.img, { ...imageProps, ref: forwardedRef, src }) : null;
3344
- }
3345
- );
3346
- AvatarImage.displayName = IMAGE_NAME;
3347
- var FALLBACK_NAME = "AvatarFallback";
3348
- var AvatarFallback = React7.forwardRef(
3349
- (props, forwardedRef) => {
3350
- const { __scopeAvatar, delayMs, ...fallbackProps } = props;
3351
- const context = useAvatarContext(FALLBACK_NAME, __scopeAvatar);
3352
- const [canRender, setCanRender] = React7.useState(delayMs === void 0);
3353
- React7.useEffect(() => {
3354
- if (delayMs !== void 0) {
3355
- const timerId = window.setTimeout(() => setCanRender(true), delayMs);
3356
- return () => window.clearTimeout(timerId);
3357
- }
3358
- }, [delayMs]);
3359
- return canRender && context.imageLoadingStatus !== "loaded" ? /* @__PURE__ */ jsx4(Primitive.span, { ...fallbackProps, ref: forwardedRef }) : null;
3360
- }
3361
- );
3362
- AvatarFallback.displayName = FALLBACK_NAME;
3363
- function resolveLoadingStatus(image, src) {
3364
- if (!image) {
3365
- return "idle";
3366
- }
3367
- if (!src) {
3368
- return "error";
3369
- }
3370
- if (image.src !== src) {
3371
- image.src = src;
3372
- }
3373
- return image.complete && image.naturalWidth > 0 ? "loaded" : "loading";
3374
- }
3375
- function useImageLoadingStatus(src, { referrerPolicy, crossOrigin }) {
3376
- const isHydrated = useIsHydrated();
3377
- const imageRef = React7.useRef(null);
3378
- const image = (() => {
3379
- if (!isHydrated) return null;
3380
- if (!imageRef.current) {
3381
- imageRef.current = new window.Image();
3382
- }
3383
- return imageRef.current;
3384
- })();
3385
- const [loadingStatus, setLoadingStatus] = React7.useState(
3386
- () => resolveLoadingStatus(image, src)
3387
- );
3388
- useLayoutEffect2(() => {
3389
- setLoadingStatus(resolveLoadingStatus(image, src));
3390
- }, [image, src]);
3391
- useLayoutEffect2(() => {
3392
- const updateStatus = (status) => () => {
3393
- setLoadingStatus(status);
3394
- };
3395
- if (!image) return;
3396
- const handleLoad = updateStatus("loaded");
3397
- const handleError = updateStatus("error");
3398
- image.addEventListener("load", handleLoad);
3399
- image.addEventListener("error", handleError);
3400
- if (referrerPolicy) {
3401
- image.referrerPolicy = referrerPolicy;
3402
- }
3403
- if (typeof crossOrigin === "string") {
3404
- image.crossOrigin = crossOrigin;
3405
- }
3406
- return () => {
3407
- image.removeEventListener("load", handleLoad);
3408
- image.removeEventListener("error", handleError);
3409
- };
3410
- }, [image, crossOrigin, referrerPolicy]);
3411
- return loadingStatus;
3412
- }
3413
- var Root = Avatar;
3414
- var Image = AvatarImage;
3415
- var Fallback = AvatarFallback;
3416
-
3417
- // src/components/icons-and-geometry/Avatar.tsx
3418
- import { jsx as jsx5, jsxs } from "react/jsx-runtime";
3419
- var avtarSizeList = ["sm", "md", "lg", "xl"];
3420
- var avatarSizeMapping = {
3421
- sm: 18,
3422
- md: 24,
3423
- lg: 32,
3424
- xl: 48
3425
- };
3426
- var textClassNameMapping = {
3427
- sm: "text-xs font-semibold",
3428
- md: "text-sm font-semibold",
3429
- lg: "text-lg font-semibold",
3430
- xl: "text-2xl font-bold"
3431
- };
3432
- var AvatarUtil = {
3433
- avatarSizeMapping,
3434
- sizes: avtarSizeList
3435
- };
3436
- var Avatar2 = ({ image, name, size = "md", fullyRounded, className = "" }) => {
3437
- const pixels = avatarSizeMapping[size];
3438
- const sizeStyle = {
3439
- minWidth: pixels,
3440
- maxWidth: pixels,
3441
- minHeight: pixels,
3442
- maxHeight: pixels
3443
- };
3444
- const textClassName = textClassNameMapping[size];
3445
- const displayName = useMemo3(() => {
3446
- const maxLetters = size === "sm" ? 1 : 2;
3447
- return (name ?? "").split(" ").filter((_, index) => index < maxLetters).map((value) => value[0]).join("").toUpperCase();
3448
- }, [name, size]);
3449
- const rounding = {
3450
- "rounded-full": fullyRounded,
3451
- "rounded-lg": !fullyRounded && !(size === "sm" || size === "md"),
3452
- "rounded-sm": !fullyRounded && (size === "sm" || size === "md")
3453
- };
3454
- return /* @__PURE__ */ jsxs(
3455
- Root,
3456
- {
3457
- className: clsx(
3458
- `flex-row-0 items-center justify-center bg-primary text-on-primary`,
3459
- rounding,
3460
- className
3461
- ),
3462
- style: sizeStyle,
3463
- children: [
3464
- /* @__PURE__ */ jsx5(
3465
- Image,
3466
- {
3467
- src: image?.avatarUrl,
3468
- alt: image?.alt,
3469
- className: clsx(rounding)
3470
- }
3471
- ),
3472
- /* @__PURE__ */ jsx5(Fallback, { asChild: true, children: name ? /* @__PURE__ */ jsx5("span", { className: textClassName, children: displayName }) : /* @__PURE__ */ jsx5(UserIcon, { size: Math.round(pixels * 3 / 4) }) })
3473
- ]
3474
- }
3475
- );
3476
- };
3477
- var AvatarGroup = ({
3478
- avatars,
3479
- maxShownProfiles = 5,
3480
- showTotalNumber = true,
3481
- size = "md",
3482
- fullyRounded
3483
- }) => {
3484
- const displayedProfiles = avatars.length < maxShownProfiles ? avatars : avatars.slice(0, maxShownProfiles);
3485
- const diameter = avatarSizeMapping[size];
3486
- const stackingOverlap = 0.5;
3487
- const notDisplayedProfiles = avatars.length - maxShownProfiles;
3488
- const avatarGroupWidth = diameter * (stackingOverlap * (displayedProfiles.length - 1) + 1);
3489
- return /* @__PURE__ */ jsxs("div", { className: "flex-row-2 relative", style: { height: diameter + "px" }, children: [
3490
- /* @__PURE__ */ jsx5("div", { style: { width: avatarGroupWidth + "px" }, children: displayedProfiles.map((avatar, index) => /* @__PURE__ */ jsx5(
3491
- "div",
3492
- {
3493
- className: "absolute",
3494
- style: { left: index * diameter * stackingOverlap + "px", zIndex: maxShownProfiles - index },
3495
- children: /* @__PURE__ */ jsx5(
3496
- Avatar2,
3497
- {
3498
- ...avatar,
3499
- size,
3500
- fullyRounded,
3501
- className: clsx("shadow-side shadow-r-4 shadow-hard", avatar.className)
3502
- }
3503
- )
3504
- },
3505
- index
3506
- )) }),
3507
- showTotalNumber && notDisplayedProfiles > 0 && /* @__PURE__ */ jsx5(
3508
- "div",
3509
- {
3510
- className: clsx(textClassNameMapping[size], "flex-row-2 truncate items-center"),
3511
- children: /* @__PURE__ */ jsxs("span", { children: [
3512
- "+ ",
3513
- notDisplayedProfiles
3514
- ] })
3515
- }
3516
- )
3517
- ] });
3518
- };
3519
-
3520
- // src/components/icons-and-geometry/Circle.tsx
3521
- import clsx2 from "clsx";
3522
- import { jsx as jsx6 } from "react/jsx-runtime";
3523
- var Circle = ({
3524
- radius = 20,
3525
- className = "bg-primary",
3526
- style,
3527
- ...restProps
3528
- }) => {
3529
- const size = radius * 2;
3530
- return /* @__PURE__ */ jsx6(
3531
- "div",
3532
- {
3533
- className: clsx2(`rounded-full`, className),
3534
- style: {
3535
- width: `${size}px`,
3536
- height: `${size}px`,
3537
- ...style
3538
- },
3539
- ...restProps
3540
- }
3541
- );
3542
- };
3543
-
3544
- // src/components/icons-and-geometry/HelpwaveLogo.tsx
3545
- import { clsx as clsx3 } from "clsx";
3546
- import { jsx as jsx7, jsxs as jsxs2 } from "react/jsx-runtime";
3547
- var HelpwaveLogo = ({
3548
- color = "currentColor",
3549
- size,
3550
- animate = "none",
3551
- ...props
3552
- }) => {
3553
- const isLoadingAnimation = animate === "loading";
3554
- let svgAnimationKey = "";
3555
- if (animate === "pulse") {
3556
- svgAnimationKey = "animate-pulse";
3557
- } else if (animate === "bounce") {
3558
- svgAnimationKey = "animate-bounce";
3559
- }
3560
- return /* @__PURE__ */ jsx7(
3561
- "svg",
3562
- {
3563
- ...props,
3564
- viewBox: "0 0 1024 1024",
3565
- fill: "none",
3566
- strokeLinecap: "round",
3567
- strokeWidth: 65,
3568
- className: clsx3({
3569
- "max-w-16 max-h-16": size === "lg",
3570
- "max-w-12 max-h-12": size === "md",
3571
- "max-w-8 max-h-8": size === "sm"
3572
- }, props.className),
3573
- children: /* @__PURE__ */ jsxs2("g", { className: clsx3(svgAnimationKey), children: [
3574
- /* @__PURE__ */ jsx7(
3575
- "path",
3576
- {
3577
- className: clsx3({ "animate-wave-big-left-up": isLoadingAnimation }),
3578
- d: "M146 644.214C146 498.088 253.381 379.629 385.843 379.629",
3579
- stroke: color,
3580
- strokeDasharray: "1000"
3581
- }
3582
- ),
3583
- /* @__PURE__ */ jsx7(
3584
- "path",
3585
- {
3586
- className: clsx3({ "animate-wave-big-right-down": isLoadingAnimation }),
3587
- d: "M625.686 645.272C493.224 645.272 385.843 526.813 385.843 380.687",
3588
- stroke: color,
3589
- strokeDasharray: "1000"
3590
- }
3591
- ),
3592
- /* @__PURE__ */ jsx7(
3593
- "path",
3594
- {
3595
- className: clsx3({ "animate-wave-small-left-up": isLoadingAnimation }),
3596
- d: "M533.585 613.522C533.585 508.895 610.47 424.079 705.312 424.079",
3597
- stroke: color,
3598
- strokeDasharray: "1000"
3599
- }
3600
- ),
3601
- /* @__PURE__ */ jsx7(
3602
- "path",
3603
- {
3604
- className: clsx3({ "animate-wave-small-right-down": isLoadingAnimation }),
3605
- d: "M878 615.639C782.628 615.639 705.313 530.822 705.313 426.196",
3606
- stroke: color,
3607
- strokeDasharray: "1000"
3608
- }
3609
- )
3610
- ] })
3611
- }
3612
- );
3613
- };
3614
-
3615
- // src/components/icons-and-geometry/Ring.tsx
3616
- import { useCallback as useCallback2, useEffect as useEffect3, useState as useState2 } from "react";
3617
- import clsx4 from "clsx";
3618
- import { jsx as jsx8, jsxs as jsxs3 } from "react/jsx-runtime";
3619
- var Ring = ({
3620
- innerSize = 20,
3621
- width = 7,
3622
- className = "outline-primary"
3623
- }) => {
3624
- return /* @__PURE__ */ jsx8(
3625
- "div",
3626
- {
3627
- className: clsx4(`bg-transparent rounded-full outline`, className),
3628
- style: {
3629
- width: `${innerSize}px`,
3630
- height: `${innerSize}px`,
3631
- outlineWidth: `${width}px`
3632
- }
3633
- }
3634
- );
3635
- };
3636
- var AnimatedRing = ({
3637
- innerSize,
3638
- width,
3639
- className,
3640
- fillAnimationDuration = 3,
3641
- repeating = false,
3642
- onAnimationFinished,
3643
- style
3644
- }) => {
3645
- const [currentWidth, setCurrentWidth] = useState2(0);
3646
- const milliseconds = 1e3 * fillAnimationDuration;
3647
- const animate = useCallback2((timestamp, startTime) => {
3648
- const progress = Math.min((timestamp - startTime) / milliseconds, 1);
3649
- const newWidth = Math.min(width * progress, width);
3650
- setCurrentWidth(newWidth);
3651
- if (progress < 1) {
3652
- requestAnimationFrame((newTimestamp) => animate(newTimestamp, startTime));
3653
- } else {
3654
- onAnimationFinished?.();
3655
- if (repeating) {
3656
- setCurrentWidth(0);
3657
- requestAnimationFrame((newTimestamp) => animate(newTimestamp, newTimestamp));
3658
- }
3659
- }
3660
- }, [milliseconds, onAnimationFinished, repeating, width]);
3661
- useEffect3(() => {
3662
- if (currentWidth < width) {
3663
- requestAnimationFrame((timestamp) => animate(timestamp, timestamp));
3664
- }
3665
- }, []);
3666
- return /* @__PURE__ */ jsx8(
3667
- "div",
3668
- {
3669
- className: "flex-row-2 items-center justify-center",
3670
- style: {
3671
- width: `${innerSize + 2 * width}px`,
3672
- height: `${innerSize + 2 * width}px`,
3673
- ...style
3674
- },
3675
- children: /* @__PURE__ */ jsx8(
3676
- Ring,
3677
- {
3678
- innerSize,
3679
- width: currentWidth,
3680
- className
3681
- }
3682
- )
3683
- }
3684
- );
3685
- };
3686
- var RingWave = ({
3687
- startInnerSize = 20,
3688
- endInnerSize = 30,
3689
- width,
3690
- className,
3691
- fillAnimationDuration = 3,
3692
- repeating = false,
3693
- onAnimationFinished,
3694
- style
3695
- }) => {
3696
- const [currentInnerSize, setCurrentInnerSize] = useState2(startInnerSize);
3697
- const distance = endInnerSize - startInnerSize;
3698
- const milliseconds = 1e3 * fillAnimationDuration;
3699
- const animate = useCallback2((timestamp, startTime) => {
3700
- const progress = Math.min((timestamp - startTime) / milliseconds, 1);
3701
- const newInnerSize = Math.min(
3702
- startInnerSize + distance * progress,
3703
- endInnerSize
3704
- );
3705
- setCurrentInnerSize(newInnerSize);
3706
- if (progress < 1) {
3707
- requestAnimationFrame((newTimestamp) => animate(newTimestamp, startTime));
3708
- } else {
3709
- onAnimationFinished?.();
3710
- if (repeating) {
3711
- setCurrentInnerSize(startInnerSize);
3712
- requestAnimationFrame((newTimestamp) => animate(newTimestamp, newTimestamp));
3713
- }
3714
- }
3715
- }, [distance, endInnerSize, milliseconds, onAnimationFinished, repeating, startInnerSize]);
3716
- useEffect3(() => {
3717
- if (currentInnerSize < endInnerSize) {
3718
- requestAnimationFrame((timestamp) => animate(timestamp, timestamp));
3719
- }
3720
- }, []);
3721
- return /* @__PURE__ */ jsx8(
3722
- "div",
3723
- {
3724
- className: "flex-row-2 items-center justify-center",
3725
- style: {
3726
- width: `${endInnerSize + 2 * width}px`,
3727
- height: `${endInnerSize + 2 * width}px`,
3728
- ...style
3729
- },
3730
- children: /* @__PURE__ */ jsx8(
3731
- Ring,
3732
- {
3733
- innerSize: currentInnerSize,
3734
- width,
3735
- className
3736
- }
3737
- )
3738
- }
3739
- );
3740
- };
3741
- var RadialRings = ({
3742
- circle1ClassName = "bg-primary/90 outline-primary/90",
3743
- circle2ClassName = "bg-primary/60 outline-primary/60",
3744
- circle3ClassName = "bg-primary/40 outline-primary/40",
3745
- waveWidth = 10,
3746
- waveBaseColor = "outline-white/20",
3747
- sizeCircle1 = 100,
3748
- sizeCircle2 = 200,
3749
- sizeCircle3 = 300
3750
- }) => {
3751
- const [currentRing, setCurrentRing] = useState2(0);
3752
- const size = sizeCircle3;
3753
- return /* @__PURE__ */ jsxs3(
3754
- "div",
3755
- {
3756
- className: "relative",
3757
- style: {
3758
- width: `${sizeCircle3}px`,
3759
- height: `${sizeCircle3}px`
3760
- },
3761
- children: [
3762
- /* @__PURE__ */ jsx8(
3763
- Circle,
3764
- {
3765
- radius: sizeCircle1 / 2,
3766
- className: clsx4(circle1ClassName, `absolute z-[10] -translate-y-1/2 -translate-x-1/2`),
3767
- style: {
3768
- left: `${size / 2}px`,
3769
- top: `${size / 2}px`
3770
- }
3771
- }
3772
- ),
3773
- currentRing === 0 ? /* @__PURE__ */ jsx8(
3774
- AnimatedRing,
3775
- {
3776
- innerSize: sizeCircle1,
3777
- width: (sizeCircle2 - sizeCircle1) / 2,
3778
- onAnimationFinished: () => currentRing === 0 ? setCurrentRing(1) : null,
3779
- repeating: true,
3780
- className: clsx4(
3781
- circle2ClassName,
3782
- { "opacity-5": currentRing !== 0 }
3783
- ),
3784
- style: {
3785
- left: `${size / 2}px`,
3786
- top: `${size / 2}px`,
3787
- position: "absolute",
3788
- translate: `-50% -50%`,
3789
- zIndex: 9
3790
- }
3791
- }
3792
- ) : null,
3793
- currentRing === 2 ? /* @__PURE__ */ jsx8(
3794
- RingWave,
3795
- {
3796
- startInnerSize: sizeCircle1 - waveWidth,
3797
- endInnerSize: sizeCircle2,
3798
- width: waveWidth,
3799
- repeating: true,
3800
- className: clsx4(waveBaseColor, `opacity-5`),
3801
- style: {
3802
- left: `${size / 2}px`,
3803
- top: `${size / 2}px`,
3804
- position: "absolute",
3805
- translate: `-50% -50%`,
3806
- zIndex: 9
3807
- }
3808
- }
3809
- ) : null,
3810
- /* @__PURE__ */ jsx8(
3811
- Circle,
3812
- {
3813
- radius: sizeCircle2 / 2,
3814
- className: clsx4(
3815
- circle2ClassName,
3816
- { "opacity-20": currentRing < 1 },
3817
- `absolute z-[8] -translate-y-1/2 -translate-x-1/2`
3818
- ),
3819
- style: {
3820
- left: `${size / 2}px`,
3821
- top: `${size / 2}px`
3822
- }
3823
- }
3824
- ),
3825
- currentRing === 1 ? /* @__PURE__ */ jsx8(
3826
- AnimatedRing,
3827
- {
3828
- innerSize: sizeCircle2 - 1,
3829
- width: (sizeCircle3 - sizeCircle2) / 2,
3830
- onAnimationFinished: () => currentRing === 1 ? setCurrentRing(2) : null,
3831
- repeating: true,
3832
- className: clsx4(circle3ClassName),
3833
- style: {
3834
- left: `${size / 2}px`,
3835
- top: `${size / 2}px`,
3836
- position: "absolute",
3837
- translate: `-50% -50%`,
3838
- zIndex: 7
3839
- }
3840
- }
3841
- ) : null,
3842
- currentRing === 2 ? /* @__PURE__ */ jsx8(
3843
- RingWave,
3844
- {
3845
- startInnerSize: sizeCircle2,
3846
- endInnerSize: sizeCircle3 - waveWidth,
3847
- width: waveWidth,
3848
- repeating: true,
3849
- className: clsx4(waveBaseColor, `opacity-5`),
3850
- style: {
3851
- left: `${size / 2}px`,
3852
- top: `${size / 2}px`,
3853
- position: "absolute",
3854
- translate: `-50% -50%`,
3855
- zIndex: 7
3856
- }
3857
- }
3858
- ) : null,
3859
- /* @__PURE__ */ jsx8(
3860
- Circle,
3861
- {
3862
- radius: sizeCircle3 / 2,
3863
- className: clsx4(
3864
- circle3ClassName,
3865
- { "opacity-20": currentRing < 2 },
3866
- `absolute z-[6] -translate-y-1/2 -translate-x-1/2`
3867
- ),
3868
- style: {
3869
- left: `${size / 2}px`,
3870
- top: `${size / 2}px`
3871
- }
3872
- }
3873
- )
3874
- ]
3875
- }
3876
- );
3877
- };
3878
-
3879
- // src/components/icons-and-geometry/Tag.tsx
3880
- var import_image = __toESM(require_image(), 1);
3881
- import { jsx as jsx9 } from "react/jsx-runtime";
3882
- var TagIcon = ({
3883
- className,
3884
- size = 16
3885
- }) => {
3886
- return /* @__PURE__ */ jsx9(
3887
- import_image.default,
3888
- {
3889
- style: { width: `${size}px`, height: `${size}px`, minWidth: `${size}px`, minHeight: `${size}px` },
3890
- width: size,
3891
- height: size,
3892
- alt: "",
3893
- src: "https://cdn.helpwave.de/icons/label.png",
3894
- className
3895
- }
3896
- );
3897
- };
3898
- export {
3899
- AnimatedRing,
3900
- Avatar2 as Avatar,
3901
- AvatarGroup,
3902
- AvatarUtil,
3903
- Circle,
3904
- HelpwaveLogo,
3905
- RadialRings,
3906
- Ring,
3907
- RingWave,
3908
- TagIcon
3909
- };
3910
- /*! Bundled license information:
3911
-
3912
- use-sync-external-store/cjs/use-sync-external-store-shim.production.js:
3913
- (**
3914
- * @license React
3915
- * use-sync-external-store-shim.production.js
3916
- *
3917
- * Copyright (c) Meta Platforms, Inc. and affiliates.
3918
- *
3919
- * This source code is licensed under the MIT license found in the
3920
- * LICENSE file in the root directory of this source tree.
3921
- *)
3922
-
3923
- use-sync-external-store/cjs/use-sync-external-store-shim.development.js:
3924
- (**
3925
- * @license React
3926
- * use-sync-external-store-shim.development.js
3927
- *
3928
- * Copyright (c) Meta Platforms, Inc. and affiliates.
3929
- *
3930
- * This source code is licensed under the MIT license found in the
3931
- * LICENSE file in the root directory of this source tree.
3932
- *)
3933
- */
3934
- //# sourceMappingURL=index.js.map