@patternfly/patternfly-doc-core 1.13.0 → 1.13.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (368) hide show
  1. package/.astro/content-modules.mjs +24 -24
  2. package/.astro/content.d.ts +43 -0
  3. package/cli/buildPropsData.ts +13 -8
  4. package/cli/cli.ts +44 -33
  5. package/cli/createCollectionContent.ts +109 -9
  6. package/cli/getConfig.ts +1 -0
  7. package/dist/cli/buildPropsData.js +11 -8
  8. package/dist/cli/cli.js +36 -28
  9. package/dist/cli/createCollectionContent.js +70 -9
  10. package/dist/docs/_astro/ClientRouter.astro_astro_type_script_index_0_lang.DZnDNxNb.js +1 -0
  11. package/dist/docs/_worker.js/_@astrojs-ssr-adapter.mjs +1 -1
  12. package/dist/docs/_worker.js/_astro-internal_middleware.mjs +3 -3
  13. package/dist/docs/_worker.js/chunks/{_@astro-renderers_D4IG6Oyo.mjs → _@astro-renderers_B-gIj2th.mjs} +1 -1
  14. package/dist/docs/_worker.js/chunks/{_@astrojs-ssr-adapter_B_x81DBq.mjs → _@astrojs-ssr-adapter_u4VQ4c24.mjs} +23 -15
  15. package/dist/docs/_worker.js/chunks/astro/{server_CVEnF9i1.mjs → server_DXtGNXGl.mjs} +126 -72
  16. package/dist/docs/_worker.js/chunks/{astro-designed-error-pages_CXRddWNa.mjs → astro-designed-error-pages_Cre3i65F.mjs} +2 -2
  17. package/dist/docs/_worker.js/chunks/{index_CYXMeXT4.mjs → index_DkNBuRXQ.mjs} +193 -150
  18. package/dist/docs/_worker.js/chunks/{noop-middleware_DIXVCvyq.mjs → noop-middleware_D7Bh5dKA.mjs} +1 -1
  19. package/dist/docs/_worker.js/chunks/{path_C-ZOwaTP.mjs → path_u5O9njcM.mjs} +8 -2
  20. package/dist/docs/_worker.js/index.js +4 -4
  21. package/dist/docs/_worker.js/manifest_CR827M2P.mjs +100 -0
  22. package/dist/docs/_worker.js/pages/_image.astro.mjs +1 -1
  23. package/dist/docs/_worker.js/pages/props.astro.mjs +24 -6
  24. package/dist/docs/_worker.js/renderers.mjs +1 -1
  25. package/dist/docs/components/about-modal/index.html +1 -1
  26. package/dist/docs/components/about-modal/react/index.html +1 -1
  27. package/dist/docs/components/accordion/index.html +11 -11
  28. package/dist/docs/components/accordion/react/index.html +11 -11
  29. package/dist/docs/components/action-list/index.html +10 -10
  30. package/dist/docs/components/action-list/react/index.html +10 -10
  31. package/dist/docs/components/alert/index.html +84 -84
  32. package/dist/docs/components/alert/react/index.html +84 -84
  33. package/dist/docs/components/avatar/index.html +6 -6
  34. package/dist/docs/components/avatar/react/index.html +6 -6
  35. package/dist/docs/components/back-to-top/index.html +9 -9
  36. package/dist/docs/components/back-to-top/react/index.html +9 -9
  37. package/dist/docs/components/backdrop/index.html +4 -4
  38. package/dist/docs/components/backdrop/react/index.html +4 -4
  39. package/dist/docs/components/background-image/index.html +4 -4
  40. package/dist/docs/components/background-image/react/index.html +4 -4
  41. package/dist/docs/components/badge/index.html +9 -9
  42. package/dist/docs/components/badge/react/index.html +9 -9
  43. package/dist/docs/components/banner/index.html +12 -12
  44. package/dist/docs/components/banner/react/index.html +12 -12
  45. package/dist/docs/components/brand/index.html +1 -1
  46. package/dist/docs/components/brand/react/index.html +1 -1
  47. package/dist/docs/components/breadcrumb/index.html +1 -1
  48. package/dist/docs/components/breadcrumb/react/index.html +1 -1
  49. package/dist/docs/components/button/index.html +1 -1
  50. package/dist/docs/components/button/react/index.html +1 -1
  51. package/dist/docs/components/calendar-month/index.html +1 -1
  52. package/dist/docs/components/calendar-month/react/index.html +1 -1
  53. package/dist/docs/components/card/index.html +1 -1
  54. package/dist/docs/components/card/react/index.html +1 -1
  55. package/dist/docs/components/checkbox/index.html +1 -1
  56. package/dist/docs/components/checkbox/react/index.html +1 -1
  57. package/dist/docs/components/chip/index.html +1 -1
  58. package/dist/docs/components/chip/react-deprecated/index.html +1 -1
  59. package/dist/docs/components/clipboard-copy/index.html +1 -1
  60. package/dist/docs/components/clipboard-copy/react/index.html +1 -1
  61. package/dist/docs/components/code-block/index.html +1 -1
  62. package/dist/docs/components/code-block/react/index.html +1 -1
  63. package/dist/docs/components/content/index.html +1 -1
  64. package/dist/docs/components/content/react/index.html +1 -1
  65. package/dist/docs/components/data-list/index.html +25 -25
  66. package/dist/docs/components/data-list/react/index.html +25 -25
  67. package/dist/docs/components/date-picker/index.html +1 -1
  68. package/dist/docs/components/date-picker/react/index.html +1 -1
  69. package/dist/docs/components/description-list/index.html +37 -37
  70. package/dist/docs/components/description-list/react/index.html +37 -37
  71. package/dist/docs/components/divider/index.html +15 -15
  72. package/dist/docs/components/divider/react/index.html +15 -15
  73. package/dist/docs/components/drag-and-drop/index.html +1 -1
  74. package/dist/docs/components/drag-and-drop/react-deprecated/index.html +1 -1
  75. package/dist/docs/components/drawer/index.html +29 -29
  76. package/dist/docs/components/drawer/react/index.html +29 -29
  77. package/dist/docs/components/dropdown/index.html +21 -21
  78. package/dist/docs/components/dropdown/react/index.html +21 -21
  79. package/dist/docs/components/dual-list-selector/index.html +18 -18
  80. package/dist/docs/components/dual-list-selector/react/index.html +1 -1
  81. package/dist/docs/components/dual-list-selector/react-deprecated/index.html +26 -26
  82. package/dist/docs/components/empty-state/index.html +1 -1
  83. package/dist/docs/components/empty-state/react/index.html +1 -1
  84. package/dist/docs/components/expandable-section/index.html +1 -1
  85. package/dist/docs/components/expandable-section/react/index.html +1 -1
  86. package/dist/docs/components/form/index.html +20 -20
  87. package/dist/docs/components/form/react/index.html +20 -20
  88. package/dist/docs/components/form-select/index.html +1 -1
  89. package/dist/docs/components/form-select/react/index.html +1 -1
  90. package/dist/docs/components/helper-text/index.html +1 -1
  91. package/dist/docs/components/helper-text/react/index.html +1 -1
  92. package/dist/docs/components/hint/index.html +1 -1
  93. package/dist/docs/components/hint/react/index.html +1 -1
  94. package/dist/docs/components/icon/index.html +1 -1
  95. package/dist/docs/components/icon/react/index.html +1 -1
  96. package/dist/docs/components/input-group/index.html +10 -10
  97. package/dist/docs/components/input-group/react/index.html +10 -10
  98. package/dist/docs/components/jump-links/index.html +13 -13
  99. package/dist/docs/components/jump-links/react/index.html +13 -13
  100. package/dist/docs/components/label/index.html +29 -29
  101. package/dist/docs/components/label/react/index.html +29 -29
  102. package/dist/docs/components/list/index.html +1 -1
  103. package/dist/docs/components/list/react/index.html +1 -1
  104. package/dist/docs/components/login-page/index.html +14 -14
  105. package/dist/docs/components/login-page/react/index.html +14 -14
  106. package/dist/docs/components/masthead/index.html +19 -19
  107. package/dist/docs/components/masthead/react/index.html +19 -19
  108. package/dist/docs/components/menu/index.html +69 -69
  109. package/dist/docs/components/menu/react/index.html +69 -69
  110. package/dist/docs/components/menu-toggle/index.html +67 -67
  111. package/dist/docs/components/menu-toggle/react/index.html +67 -67
  112. package/dist/docs/components/modal/index.html +39 -39
  113. package/dist/docs/components/modal/react/index.html +1 -1
  114. package/dist/docs/components/modal/react-deprecated/index.html +39 -39
  115. package/dist/docs/components/multiple-file-upload/index.html +30 -30
  116. package/dist/docs/components/multiple-file-upload/react/index.html +30 -30
  117. package/dist/docs/components/navigation/index.html +22 -22
  118. package/dist/docs/components/navigation/react/index.html +22 -22
  119. package/dist/docs/components/notification-badge/index.html +14 -14
  120. package/dist/docs/components/notification-badge/react/index.html +14 -14
  121. package/dist/docs/components/notification-drawer/index.html +1 -1
  122. package/dist/docs/components/notification-drawer/react/index.html +1 -1
  123. package/dist/docs/components/number-input/index.html +1 -1
  124. package/dist/docs/components/number-input/react/index.html +1 -1
  125. package/dist/docs/components/overflow-menu/index.html +1 -1
  126. package/dist/docs/components/overflow-menu/react/index.html +1 -1
  127. package/dist/docs/components/page/index.html +51 -51
  128. package/dist/docs/components/page/react/index.html +51 -51
  129. package/dist/docs/components/pagination/index.html +1 -1
  130. package/dist/docs/components/pagination/react/index.html +1 -1
  131. package/dist/docs/components/panel/index.html +26 -26
  132. package/dist/docs/components/panel/react/index.html +26 -26
  133. package/dist/docs/components/popover/index.html +24 -24
  134. package/dist/docs/components/popover/react/index.html +24 -24
  135. package/dist/docs/components/progress/index.html +21 -21
  136. package/dist/docs/components/progress/react/index.html +21 -21
  137. package/dist/docs/components/progress-stepper/index.html +1 -1
  138. package/dist/docs/components/progress-stepper/react/index.html +1 -1
  139. package/dist/docs/components/radio/index.html +13 -13
  140. package/dist/docs/components/radio/react/index.html +13 -13
  141. package/dist/docs/components/search-input/index.html +12 -12
  142. package/dist/docs/components/search-input/react/index.html +12 -12
  143. package/dist/docs/components/select/index.html +63 -63
  144. package/dist/docs/components/select/react/index.html +63 -63
  145. package/dist/docs/components/sidebar/index.html +18 -18
  146. package/dist/docs/components/sidebar/react/index.html +18 -18
  147. package/dist/docs/components/simple-file-upload/index.html +33 -33
  148. package/dist/docs/components/simple-file-upload/react/index.html +33 -33
  149. package/dist/docs/components/simple-list/index.html +10 -10
  150. package/dist/docs/components/simple-list/react/index.html +10 -10
  151. package/dist/docs/components/skeleton/index.html +11 -11
  152. package/dist/docs/components/skeleton/react/index.html +11 -11
  153. package/dist/docs/components/skip-to-content/index.html +7 -7
  154. package/dist/docs/components/skip-to-content/react/index.html +7 -7
  155. package/dist/docs/components/slider/index.html +23 -23
  156. package/dist/docs/components/slider/react/index.html +23 -23
  157. package/dist/docs/components/spinner/index.html +7 -7
  158. package/dist/docs/components/spinner/react/index.html +7 -7
  159. package/dist/docs/components/switch/index.html +10 -10
  160. package/dist/docs/components/switch/react/index.html +10 -10
  161. package/dist/docs/components/tabs/index.html +78 -78
  162. package/dist/docs/components/tabs/react/index.html +78 -78
  163. package/dist/docs/components/text-area/index.html +16 -16
  164. package/dist/docs/components/text-area/react/index.html +16 -16
  165. package/dist/docs/components/text-input/index.html +14 -14
  166. package/dist/docs/components/text-input/react/index.html +14 -14
  167. package/dist/docs/components/text-input-group/index.html +14 -14
  168. package/dist/docs/components/text-input-group/react/index.html +14 -14
  169. package/dist/docs/components/tile/index.html +27 -27
  170. package/dist/docs/components/tile/react-deprecated/index.html +27 -27
  171. package/dist/docs/components/time-picker/index.html +11 -11
  172. package/dist/docs/components/time-picker/react/index.html +11 -11
  173. package/dist/docs/components/timestamp/index.html +22 -22
  174. package/dist/docs/components/timestamp/react/index.html +22 -22
  175. package/dist/docs/components/title/index.html +5 -5
  176. package/dist/docs/components/title/react/index.html +5 -5
  177. package/dist/docs/components/toggle-group/index.html +19 -19
  178. package/dist/docs/components/toggle-group/react/index.html +19 -19
  179. package/dist/docs/components/toolbar/index.html +43 -43
  180. package/dist/docs/components/toolbar/react/index.html +43 -43
  181. package/dist/docs/components/tooltip/index.html +13 -13
  182. package/dist/docs/components/tooltip/react/index.html +13 -13
  183. package/dist/docs/components/tree-view/index.html +24 -24
  184. package/dist/docs/components/tree-view/react/index.html +24 -24
  185. package/dist/docs/components/truncate/index.html +11 -11
  186. package/dist/docs/components/truncate/react/index.html +11 -11
  187. package/dist/docs/components/wizard/index.html +33 -33
  188. package/dist/docs/components/wizard/react/index.html +30 -30
  189. package/dist/docs/components/wizard/react-deprecated/index.html +23 -23
  190. package/dist/docs/index.html +2 -2
  191. package/package.json +6 -6
  192. package/src/content.config.ts +4 -2
  193. package/src/content.ts +1 -1
  194. package/src/pages/props.ts +8 -4
  195. package/dist/docs/_astro/ClientRouter.astro_astro_type_script_index_0_lang.CtSceO8m.js +0 -1
  196. package/dist/docs/_worker.js/manifest_BT0KogAj.mjs +0 -100
  197. /package/dist/docs/_worker.js/chunks/{AboutModal_CrdYiVZ2.mjs → AboutModal_BItn3kin.mjs} +0 -0
  198. /package/dist/docs/_worker.js/chunks/{AboutModal_D3R-r6ju.mjs → AboutModal_CZjdACeW.mjs} +0 -0
  199. /package/dist/docs/_worker.js/chunks/{Accordion_Dbx8tdfD.mjs → Accordion_CYmF0KwJ.mjs} +0 -0
  200. /package/dist/docs/_worker.js/chunks/{Accordion_sjy0EnPK.mjs → Accordion_dgrn0E_o.mjs} +0 -0
  201. /package/dist/docs/_worker.js/chunks/{ActionList_Bx7eAKgV.mjs → ActionList_b3_CLZ14.mjs} +0 -0
  202. /package/dist/docs/_worker.js/chunks/{ActionList_CuygbYGp.mjs → ActionList_hxinmMC0.mjs} +0 -0
  203. /package/dist/docs/_worker.js/chunks/{Alert_Cgh0pfMA.mjs → Alert_CPMXr4GU.mjs} +0 -0
  204. /package/dist/docs/_worker.js/chunks/{Alert_CplJ22O9.mjs → Alert_CjLz1avf.mjs} +0 -0
  205. /package/dist/docs/_worker.js/chunks/{Avatar_BszzDSZB.mjs → Avatar_BpvZS7Vn.mjs} +0 -0
  206. /package/dist/docs/_worker.js/chunks/{Avatar_DuNXB-Tl.mjs → Avatar_CJxK-3JY.mjs} +0 -0
  207. /package/dist/docs/_worker.js/chunks/{BackToTop_B_0NN1kJ.mjs → BackToTop_C4eW2L0y.mjs} +0 -0
  208. /package/dist/docs/_worker.js/chunks/{BackToTop_DKY1zHBL.mjs → BackToTop_DcZBtTyL.mjs} +0 -0
  209. /package/dist/docs/_worker.js/chunks/{Backdrop_ByJvccKQ.mjs → Backdrop_10J0WLph.mjs} +0 -0
  210. /package/dist/docs/_worker.js/chunks/{Backdrop_D12wBLrB.mjs → Backdrop_D8sST9JX.mjs} +0 -0
  211. /package/dist/docs/_worker.js/chunks/{BackgroundImage_7zaRIuh-.mjs → BackgroundImage_BKA-ulgj.mjs} +0 -0
  212. /package/dist/docs/_worker.js/chunks/{BackgroundImage_BFUrU51J.mjs → BackgroundImage_Cz6hAv0v.mjs} +0 -0
  213. /package/dist/docs/_worker.js/chunks/{Badge_DloPmeMn.mjs → Badge_Cg9zVGV6.mjs} +0 -0
  214. /package/dist/docs/_worker.js/chunks/{Badge_DxGDbEGv.mjs → Badge_CmcfMGLy.mjs} +0 -0
  215. /package/dist/docs/_worker.js/chunks/{Banner_4Te4yy7I.mjs → Banner_B-0nD2-g.mjs} +0 -0
  216. /package/dist/docs/_worker.js/chunks/{Banner_FbFCGml0.mjs → Banner_D1S93kG4.mjs} +0 -0
  217. /package/dist/docs/_worker.js/chunks/{Brand_Cjeb58fX.mjs → Brand_BbimpMS3.mjs} +0 -0
  218. /package/dist/docs/_worker.js/chunks/{Brand_DZEvbkMH.mjs → Brand_BpKIcHo4.mjs} +0 -0
  219. /package/dist/docs/_worker.js/chunks/{Breadcrumb_DkNDUMw0.mjs → Breadcrumb_Ck-Lj1T3.mjs} +0 -0
  220. /package/dist/docs/_worker.js/chunks/{Breadcrumb_bVSwIfTk.mjs → Breadcrumb_D9KV7rzl.mjs} +0 -0
  221. /package/dist/docs/_worker.js/chunks/{Button_BqggYTWh.mjs → Button_CIRvQZry.mjs} +0 -0
  222. /package/dist/docs/_worker.js/chunks/{Button_DbZb-z5h.mjs → Button_V8lUSO6X.mjs} +0 -0
  223. /package/dist/docs/_worker.js/chunks/{CalendarMonth_BdoIQD1o.mjs → CalendarMonth_BFffUIcM.mjs} +0 -0
  224. /package/dist/docs/_worker.js/chunks/{CalendarMonth_BqZc2rYW.mjs → CalendarMonth_BQ28v_pg.mjs} +0 -0
  225. /package/dist/docs/_worker.js/chunks/{Card_BW6WmwTW.mjs → Card_C8qkLKEf.mjs} +0 -0
  226. /package/dist/docs/_worker.js/chunks/{Card_CEDol7Xx.mjs → Card_DUK4FmPS.mjs} +0 -0
  227. /package/dist/docs/_worker.js/chunks/{Checkbox_BqVpiIvF.mjs → Checkbox_Bn--Z5lv.mjs} +0 -0
  228. /package/dist/docs/_worker.js/chunks/{Checkbox_DSYhfv7p.mjs → Checkbox_qYxKZZGQ.mjs} +0 -0
  229. /package/dist/docs/_worker.js/chunks/{Chip_BciXepRF.mjs → Chip_0R4AtDfc.mjs} +0 -0
  230. /package/dist/docs/_worker.js/chunks/{Chip_C23BxFTk.mjs → Chip_COOLhRtH.mjs} +0 -0
  231. /package/dist/docs/_worker.js/chunks/{ClipboardCopy_BjySfoK1.mjs → ClipboardCopy_CCw7mUNs.mjs} +0 -0
  232. /package/dist/docs/_worker.js/chunks/{ClipboardCopy_CvrD2b3T.mjs → ClipboardCopy_E2VziZOh.mjs} +0 -0
  233. /package/dist/docs/_worker.js/chunks/{CodeBlock_CuH1PrfL.mjs → CodeBlock_B6MAjfQG.mjs} +0 -0
  234. /package/dist/docs/_worker.js/chunks/{CodeBlock_DK5AauFn.mjs → CodeBlock_E5IUdMeV.mjs} +0 -0
  235. /package/dist/docs/_worker.js/chunks/{Content_BfZIFUr8.mjs → Content_BTsW49BT.mjs} +0 -0
  236. /package/dist/docs/_worker.js/chunks/{Content_lBUC3eEp.mjs → Content_DAKpmQcD.mjs} +0 -0
  237. /package/dist/docs/_worker.js/chunks/{DataList_CSJAkMMZ.mjs → DataList_BUnDIzjX.mjs} +0 -0
  238. /package/dist/docs/_worker.js/chunks/{DataList_CaFvg0uz.mjs → DataList_DAx1YA9q.mjs} +0 -0
  239. /package/dist/docs/_worker.js/chunks/{DatePicker_Cw2abdEU.mjs → DatePicker_B7e4HDrD.mjs} +0 -0
  240. /package/dist/docs/_worker.js/chunks/{DatePicker_bYwsFHXL.mjs → DatePicker_BvR2KULb.mjs} +0 -0
  241. /package/dist/docs/_worker.js/chunks/{DescriptionList_BTTyevMb.mjs → DescriptionList_BN8g0mN-.mjs} +0 -0
  242. /package/dist/docs/_worker.js/chunks/{DescriptionList_Dr51d-67.mjs → DescriptionList_Ci0wXiOc.mjs} +0 -0
  243. /package/dist/docs/_worker.js/chunks/{Divider_BgOt1--F.mjs → Divider_01665LVV.mjs} +0 -0
  244. /package/dist/docs/_worker.js/chunks/{Divider_Bh7n4QTo.mjs → Divider_58GLcmuG.mjs} +0 -0
  245. /package/dist/docs/_worker.js/chunks/{DragDrop_BF-aF6Z8.mjs → DragDrop_D0BsENaH.mjs} +0 -0
  246. /package/dist/docs/_worker.js/chunks/{DragDrop_DId590rN.mjs → DragDrop_R1Bxn5bG.mjs} +0 -0
  247. /package/dist/docs/_worker.js/chunks/{Drawer_BVywTMVo.mjs → Drawer_CqiPp4tH.mjs} +0 -0
  248. /package/dist/docs/_worker.js/chunks/{Drawer_RrCnySEa.mjs → Drawer_ar8SYBBZ.mjs} +0 -0
  249. /package/dist/docs/_worker.js/chunks/{Dropdown_BjtqviYW.mjs → Dropdown_BxRoNhEO.mjs} +0 -0
  250. /package/dist/docs/_worker.js/chunks/{Dropdown_GiUvjFPw.mjs → Dropdown_CGqAffXy.mjs} +0 -0
  251. /package/dist/docs/_worker.js/chunks/{DualListSelector_8uLukfP0.mjs → DualListSelector_BY0jUhu5.mjs} +0 -0
  252. /package/dist/docs/_worker.js/chunks/{DualListSelector_Bgj1IWqe.mjs → DualListSelector_BtS4RhPL.mjs} +0 -0
  253. /package/dist/docs/_worker.js/chunks/{DualListSelector_C5QjTplp.mjs → DualListSelector_DS3XuAyO.mjs} +0 -0
  254. /package/dist/docs/_worker.js/chunks/{DualListSelector_DLgspM0s.mjs → DualListSelector_DpkuRNqO.mjs} +0 -0
  255. /package/dist/docs/_worker.js/chunks/{EmptyState_Ct_PJba3.mjs → EmptyState_D8pG8NNs.mjs} +0 -0
  256. /package/dist/docs/_worker.js/chunks/{EmptyState_Dk3hKJlg.mjs → EmptyState_DKnL5Sxb.mjs} +0 -0
  257. /package/dist/docs/_worker.js/chunks/{ExpandableSection_DSw76PjZ.mjs → ExpandableSection_BxeRuhxW.mjs} +0 -0
  258. /package/dist/docs/_worker.js/chunks/{ExpandableSection_vUQO3FgG.mjs → ExpandableSection_C-rR4lpq.mjs} +0 -0
  259. /package/dist/docs/_worker.js/chunks/{FileUpload_CEvZ0G-d.mjs → FileUpload_BS2e2_2a.mjs} +0 -0
  260. /package/dist/docs/_worker.js/chunks/{FileUpload_Ci_s8Ghd.mjs → FileUpload_Mp8yctad.mjs} +0 -0
  261. /package/dist/docs/_worker.js/chunks/{FormSelect_C2YPRAlw.mjs → FormSelect_Dh4wqtK-.mjs} +0 -0
  262. /package/dist/docs/_worker.js/chunks/{FormSelect_DWShl8Fb.mjs → FormSelect_Dj_assyG.mjs} +0 -0
  263. /package/dist/docs/_worker.js/chunks/{Form_Dyb98Nez.mjs → Form_C6rxCWwv.mjs} +0 -0
  264. /package/dist/docs/_worker.js/chunks/{Form_olaoRN4o.mjs → Form_LFZpV55d.mjs} +0 -0
  265. /package/dist/docs/_worker.js/chunks/{HelperText_2CcHVaih.mjs → HelperText_Cdoh4Xq5.mjs} +0 -0
  266. /package/dist/docs/_worker.js/chunks/{HelperText_DthGttZo.mjs → HelperText_PKuHc_Y7.mjs} +0 -0
  267. /package/dist/docs/_worker.js/chunks/{Hint_BXDZKYhJ.mjs → Hint_BdmmUbjS.mjs} +0 -0
  268. /package/dist/docs/_worker.js/chunks/{Hint_DHoiYdn6.mjs → Hint_DYFKftOG.mjs} +0 -0
  269. /package/dist/docs/_worker.js/chunks/{Icon_C4IPnIAg.mjs → Icon_B8kEVedr.mjs} +0 -0
  270. /package/dist/docs/_worker.js/chunks/{Icon_C_Dqbg9w.mjs → Icon_BMlPtDQq.mjs} +0 -0
  271. /package/dist/docs/_worker.js/chunks/{InputGroup_CDKP-uXZ.mjs → InputGroup_CvQnB4Xi.mjs} +0 -0
  272. /package/dist/docs/_worker.js/chunks/{InputGroup_CmZgaEyr.mjs → InputGroup_DuMIDv_M.mjs} +0 -0
  273. /package/dist/docs/_worker.js/chunks/{JumpLinks_DvM3PVg0.mjs → JumpLinks_0RwPXv3d.mjs} +0 -0
  274. /package/dist/docs/_worker.js/chunks/{JumpLinks_Dvdlxdps.mjs → JumpLinks_C5MZGLAO.mjs} +0 -0
  275. /package/dist/docs/_worker.js/chunks/{Label_C7fP9Jp9.mjs → Label_CNsHUBdN.mjs} +0 -0
  276. /package/dist/docs/_worker.js/chunks/{Label_Cxir7_Q4.mjs → Label_THkE-AFA.mjs} +0 -0
  277. /package/dist/docs/_worker.js/chunks/{List_CUgwFnXa.mjs → List_BXjcB6TX.mjs} +0 -0
  278. /package/dist/docs/_worker.js/chunks/{List_CWAsiYnN.mjs → List_CoXnRuT-.mjs} +0 -0
  279. /package/dist/docs/_worker.js/chunks/{LoginPage_BDfliKtU.mjs → LoginPage_Cd_Vx4TL.mjs} +0 -0
  280. /package/dist/docs/_worker.js/chunks/{LoginPage_BjIl_nF9.mjs → LoginPage_Dy-dda7r.mjs} +0 -0
  281. /package/dist/docs/_worker.js/chunks/{Masthead_BWjm5CFj.mjs → Masthead_0dZpDAir.mjs} +0 -0
  282. /package/dist/docs/_worker.js/chunks/{Masthead_BZnYzDu_.mjs → Masthead_L5uTIDIo.mjs} +0 -0
  283. /package/dist/docs/_worker.js/chunks/{MenuToggle_DeKwv469.mjs → MenuToggle_Bb2rO_CM.mjs} +0 -0
  284. /package/dist/docs/_worker.js/chunks/{MenuToggle_DmJISlPR.mjs → MenuToggle_D3uQPRxu.mjs} +0 -0
  285. /package/dist/docs/_worker.js/chunks/{Menu_DRRoq5PM.mjs → Menu_CU4-bIwV.mjs} +0 -0
  286. /package/dist/docs/_worker.js/chunks/{Menu_Sl-QVQ_w.mjs → Menu_Drl71efm.mjs} +0 -0
  287. /package/dist/docs/_worker.js/chunks/{Modal_6WZzoDHU.mjs → Modal_B35nIeQ6.mjs} +0 -0
  288. /package/dist/docs/_worker.js/chunks/{Modal_BI2dVPRJ.mjs → Modal_D-zL8r6s.mjs} +0 -0
  289. /package/dist/docs/_worker.js/chunks/{Modal_CdokBUDP.mjs → Modal_DDfqMCzs.mjs} +0 -0
  290. /package/dist/docs/_worker.js/chunks/{Modal_DJRobnfc.mjs → Modal_DKK66Rag.mjs} +0 -0
  291. /package/dist/docs/_worker.js/chunks/{MultipleFileUpload_BaHVtkF_.mjs → MultipleFileUpload_B_T35Ur4.mjs} +0 -0
  292. /package/dist/docs/_worker.js/chunks/{MultipleFileUpload_BznvLbsj.mjs → MultipleFileUpload_SF3pfPOs.mjs} +0 -0
  293. /package/dist/docs/_worker.js/chunks/{Nav_DwqATcJ4.mjs → Nav_DWhCiasr.mjs} +0 -0
  294. /package/dist/docs/_worker.js/chunks/{Nav_GZ0nRYXE.mjs → Nav_OmbKpzoZ.mjs} +0 -0
  295. /package/dist/docs/_worker.js/chunks/{NotificationBadge_DO4OLgvO.mjs → NotificationBadge_CCC3w-0n.mjs} +0 -0
  296. /package/dist/docs/_worker.js/chunks/{NotificationBadge_DjINhOQ5.mjs → NotificationBadge_Du1zJprr.mjs} +0 -0
  297. /package/dist/docs/_worker.js/chunks/{NotificationDrawer_BtpQ4pmZ.mjs → NotificationDrawer_DAuLxL7w.mjs} +0 -0
  298. /package/dist/docs/_worker.js/chunks/{NotificationDrawer_D1lmMCgd.mjs → NotificationDrawer_GsX4wbyf.mjs} +0 -0
  299. /package/dist/docs/_worker.js/chunks/{NumberInput_CggpJ5ge.mjs → NumberInput_BTUsP2Dy.mjs} +0 -0
  300. /package/dist/docs/_worker.js/chunks/{NumberInput_zMcSUUwH.mjs → NumberInput_CEdn1SLL.mjs} +0 -0
  301. /package/dist/docs/_worker.js/chunks/{OverflowMenu_BX4nwFvK.mjs → OverflowMenu_Bz0pUIse.mjs} +0 -0
  302. /package/dist/docs/_worker.js/chunks/{OverflowMenu_DnQ7wMy-.mjs → OverflowMenu_eowJo-oA.mjs} +0 -0
  303. /package/dist/docs/_worker.js/chunks/{Page_Cw_XTB6Y.mjs → Page_D8wqD5dY.mjs} +0 -0
  304. /package/dist/docs/_worker.js/chunks/{Page_UhywZXdY.mjs → Page_D96Z1le0.mjs} +0 -0
  305. /package/dist/docs/_worker.js/chunks/{Pagination_7rr0n7-V.mjs → Pagination_-jq13UTb.mjs} +0 -0
  306. /package/dist/docs/_worker.js/chunks/{Pagination_Dc5L6yaI.mjs → Pagination_CQXZNog1.mjs} +0 -0
  307. /package/dist/docs/_worker.js/chunks/{Panel_Bl_LqCWS.mjs → Panel_83a69pjh.mjs} +0 -0
  308. /package/dist/docs/_worker.js/chunks/{Panel_s8-TwBlS.mjs → Panel_Cwf130Yb.mjs} +0 -0
  309. /package/dist/docs/_worker.js/chunks/{Popover_CjipqBWs.mjs → Popover_DVQ8u4Fp.mjs} +0 -0
  310. /package/dist/docs/_worker.js/chunks/{Popover_DvQgGJTf.mjs → Popover_DtFhoH3l.mjs} +0 -0
  311. /package/dist/docs/_worker.js/chunks/{ProgressStepper_DXBI4K2w.mjs → ProgressStepper_CMwF8CiX.mjs} +0 -0
  312. /package/dist/docs/_worker.js/chunks/{ProgressStepper_lBd5mTHE.mjs → ProgressStepper_Yvcq3pmc.mjs} +0 -0
  313. /package/dist/docs/_worker.js/chunks/{Progress_BZA5taDC.mjs → Progress_DsBSXTmv.mjs} +0 -0
  314. /package/dist/docs/_worker.js/chunks/{Progress_CIgybc-D.mjs → Progress_M0fLgfjf.mjs} +0 -0
  315. /package/dist/docs/_worker.js/chunks/{Radio_3tPx1coq.mjs → Radio_BmbmoopI.mjs} +0 -0
  316. /package/dist/docs/_worker.js/chunks/{Radio_BG7VZAk6.mjs → Radio_CjW5TY2C.mjs} +0 -0
  317. /package/dist/docs/_worker.js/chunks/{SearchInput_BZ43-Elo.mjs → SearchInput_BiyBA_eF.mjs} +0 -0
  318. /package/dist/docs/_worker.js/chunks/{SearchInput_aCFv-N1U.mjs → SearchInput_Bv6KJYSn.mjs} +0 -0
  319. /package/dist/docs/_worker.js/chunks/{Select_B4cumL7U.mjs → Select_B957i7MN.mjs} +0 -0
  320. /package/dist/docs/_worker.js/chunks/{Select_CJ78kBVM.mjs → Select_BBTTR43m.mjs} +0 -0
  321. /package/dist/docs/_worker.js/chunks/{Sidebar_Bto2_gKJ.mjs → Sidebar_C3c-bPso.mjs} +0 -0
  322. /package/dist/docs/_worker.js/chunks/{Sidebar_DOfifBRA.mjs → Sidebar_CHEf7dr0.mjs} +0 -0
  323. /package/dist/docs/_worker.js/chunks/{SimpleList_CVkO5Odp.mjs → SimpleList_BqpkJemM.mjs} +0 -0
  324. /package/dist/docs/_worker.js/chunks/{SimpleList_oJajk3_z.mjs → SimpleList_DDfBcEWe.mjs} +0 -0
  325. /package/dist/docs/_worker.js/chunks/{Skeleton_CCJNka-d.mjs → Skeleton_B4QE65Ar.mjs} +0 -0
  326. /package/dist/docs/_worker.js/chunks/{Skeleton_N02yA_k6.mjs → Skeleton_D5WnGxh0.mjs} +0 -0
  327. /package/dist/docs/_worker.js/chunks/{SkipToContent_DvOYRCWm.mjs → SkipToContent_BBwU-ZdY.mjs} +0 -0
  328. /package/dist/docs/_worker.js/chunks/{SkipToContent_o7vh-U_u.mjs → SkipToContent_DFYTlqla.mjs} +0 -0
  329. /package/dist/docs/_worker.js/chunks/{Slider_C0bH-JMY.mjs → Slider_BX6wz0hN.mjs} +0 -0
  330. /package/dist/docs/_worker.js/chunks/{Slider_CWRDqhx4.mjs → Slider_BlpXbwhH.mjs} +0 -0
  331. /package/dist/docs/_worker.js/chunks/{Spinner_B-x8bJt0.mjs → Spinner_C5qilvZp.mjs} +0 -0
  332. /package/dist/docs/_worker.js/chunks/{Spinner_hzAAbZdS.mjs → Spinner_CuLTR583.mjs} +0 -0
  333. /package/dist/docs/_worker.js/chunks/{Switch_Cpr1OETy.mjs → Switch_BnA8s7Wn.mjs} +0 -0
  334. /package/dist/docs/_worker.js/chunks/{Switch_Du7AKJ4O.mjs → Switch_CvUw0Z4X.mjs} +0 -0
  335. /package/dist/docs/_worker.js/chunks/{Tabs_CzDrfKA-.mjs → Tabs_CyeQBOGa.mjs} +0 -0
  336. /package/dist/docs/_worker.js/chunks/{Tabs_KXDkISY4.mjs → Tabs_xDQjU8nW.mjs} +0 -0
  337. /package/dist/docs/_worker.js/chunks/{TextArea_C1dmG8mr.mjs → TextArea_7cFF77CV.mjs} +0 -0
  338. /package/dist/docs/_worker.js/chunks/{TextArea_Dtm0m8LO.mjs → TextArea_D7NOOvRK.mjs} +0 -0
  339. /package/dist/docs/_worker.js/chunks/{TextInputGroup_D0NXU95v.mjs → TextInputGroup_DiXNtIIB.mjs} +0 -0
  340. /package/dist/docs/_worker.js/chunks/{TextInputGroup_mJpBrogC.mjs → TextInputGroup_ZNRIWQeP.mjs} +0 -0
  341. /package/dist/docs/_worker.js/chunks/{TextInput_B0XLYaVA.mjs → TextInput_3Gggoxng.mjs} +0 -0
  342. /package/dist/docs/_worker.js/chunks/{TextInput_CmLcsUiv.mjs → TextInput_Dg_3P9RM.mjs} +0 -0
  343. /package/dist/docs/_worker.js/chunks/{Tile_CF_12LPU.mjs → Tile_CAcRzWZ9.mjs} +0 -0
  344. /package/dist/docs/_worker.js/chunks/{Tile_DJ0LawLW.mjs → Tile_RHzJKWiw.mjs} +0 -0
  345. /package/dist/docs/_worker.js/chunks/{TimePicker_CijfSKJQ.mjs → TimePicker_DtrDRcMy.mjs} +0 -0
  346. /package/dist/docs/_worker.js/chunks/{TimePicker_VX9VE-Uy.mjs → TimePicker_qxUpEV9n.mjs} +0 -0
  347. /package/dist/docs/_worker.js/chunks/{Timestamp_D7uyrIK7.mjs → Timestamp_2Z94f_Eh.mjs} +0 -0
  348. /package/dist/docs/_worker.js/chunks/{Timestamp_c2Mozpr4.mjs → Timestamp_rMinDYzW.mjs} +0 -0
  349. /package/dist/docs/_worker.js/chunks/{Title_DbrwFEEy.mjs → Title_CdyPwQ2b.mjs} +0 -0
  350. /package/dist/docs/_worker.js/chunks/{Title_DlFn7G9R.mjs → Title_Csq8EY4-.mjs} +0 -0
  351. /package/dist/docs/_worker.js/chunks/{ToggleGroup_DpLWzfAW.mjs → ToggleGroup_B1Xtdxuy.mjs} +0 -0
  352. /package/dist/docs/_worker.js/chunks/{ToggleGroup_j1ooRpX3.mjs → ToggleGroup_GBAc787N.mjs} +0 -0
  353. /package/dist/docs/_worker.js/chunks/{Toolbar_BEIh7r7J.mjs → Toolbar_BfRvo9qx.mjs} +0 -0
  354. /package/dist/docs/_worker.js/chunks/{Toolbar_mjrD3_l-.mjs → Toolbar_CmeIzev4.mjs} +0 -0
  355. /package/dist/docs/_worker.js/chunks/{Tooltip_Bp5XOVoV.mjs → Tooltip_CPduniOG.mjs} +0 -0
  356. /package/dist/docs/_worker.js/chunks/{Tooltip_BrFKk02i.mjs → Tooltip_Cdt0oB9I.mjs} +0 -0
  357. /package/dist/docs/_worker.js/chunks/{TreeView_BImfKPD_.mjs → TreeView_B1tisZRW.mjs} +0 -0
  358. /package/dist/docs/_worker.js/chunks/{TreeView_CgO4iC1E.mjs → TreeView_CwOQvnLr.mjs} +0 -0
  359. /package/dist/docs/_worker.js/chunks/{Truncate_Bn55QoeZ.mjs → Truncate_C6bX3QmA.mjs} +0 -0
  360. /package/dist/docs/_worker.js/chunks/{Truncate_S939OotH.mjs → Truncate_DGi514H0.mjs} +0 -0
  361. /package/dist/docs/_worker.js/chunks/{Wizard_B28f3non.mjs → Wizard_BOkVt8H-.mjs} +0 -0
  362. /package/dist/docs/_worker.js/chunks/{Wizard_B4Dw5Yc8.mjs → Wizard_CEoZM0Yt.mjs} +0 -0
  363. /package/dist/docs/_worker.js/chunks/{Wizard_BOCBVIjJ.mjs → Wizard_CLZDzozE.mjs} +0 -0
  364. /package/dist/docs/_worker.js/chunks/{Wizard_C2sit354.mjs → Wizard_OGE-NwoN.mjs} +0 -0
  365. /package/dist/docs/_worker.js/chunks/{_astro_assets_Cpp4aFxG.mjs → _astro_assets_RFx5l3a7.mjs} +0 -0
  366. /package/dist/docs/_worker.js/chunks/{_astro_data-layer-content_D-EXtmSy.mjs → _astro_data-layer-content_BpG5DifN.mjs} +0 -0
  367. /package/dist/docs/_worker.js/chunks/{content-modules_CUXjIWnT.mjs → content-modules_CYtYtJTg.mjs} +0 -0
  368. /package/dist/docs/_worker.js/chunks/{sharp_C-KnEafm.mjs → sharp_DVa0kR-8.mjs} +0 -0
@@ -1,7 +1,7 @@
1
1
  globalThis.process ??= {}; globalThis.process.env ??= {};
2
- import { g as getActionQueryString, a as deserializeActionResult, b as distExports, D as DEFAULT_404_ROUTE, A as ActionError, s as serializeActionResult, c as ACTION_RPC_ROUTE_PATTERN, f as ACTION_QUERY_PARAMS, h as stringify$2 } from './astro-designed-error-pages_CXRddWNa.mjs';
3
- import { K as decryptString, M as createSlotValueFromString, N as isAstroComponentFactory, r as renderComponent, b as renderTemplate, x as REROUTE_DIRECTIVE_HEADER, A as AstroError, O as i18nNoLocaleFoundInPath, P as ResponseSentError, Q as originPathnameSymbol, S as RewriteWithBodyUsed, T as MiddlewareNoDataOrNextCalled, V as MiddlewareNotAResponse, W as GetStaticPathsRequired, X as InvalidGetStaticPathsReturn, Y as InvalidGetStaticPathsEntry, Z as GetStaticPathsExpectedParams, _ as GetStaticPathsInvalidRouteParam, $ as PageNumberParamNotFound, D as DEFAULT_404_COMPONENT, a0 as NoMatchingStaticPathFound, a1 as PrerenderDynamicEndpointPathCollide, a2 as ReservedSlotName, a3 as renderSlotToString, q as renderJSX, a4 as chunkToString, a5 as isRenderInstruction, a6 as SessionStorageSaveError, a7 as SessionStorageInitError, w as ROUTE_TYPE_HEADER, a8 as ForbiddenRewrite, a9 as ASTRO_VERSION, aa as CspNotEnabled, ab as green, ac as LocalsReassigned, ad as PrerenderClientAddressNotAvailable, H as clientAddressSymbol, ae as ClientAddressNotAvailable, af as StaticClientAddressNotAvailable, ag as AstroResponseHeadersReassigned, J as responseSentSymbol$1, ah as renderPage, ai as REWRITE_DIRECTIVE_HEADER_KEY, aj as REWRITE_DIRECTIVE_HEADER_VALUE, ak as renderEndpoint } from './astro/server_CVEnF9i1.mjs';
4
- import { b as appendForwardSlash, j as joinPaths, a as removeTrailingForwardSlash, p as prependForwardSlash, t as trimSlashes } from './path_C-ZOwaTP.mjs';
2
+ import { g as getActionQueryString, a as deserializeActionResult, b as distExports, D as DEFAULT_404_ROUTE, A as ActionError, s as serializeActionResult, c as ACTION_RPC_ROUTE_PATTERN, f as ACTION_QUERY_PARAMS, h as stringify$2 } from './astro-designed-error-pages_Cre3i65F.mjs';
3
+ import { Q as decryptString, S as createSlotValueFromString, T as isAstroComponentFactory, r as renderComponent, b as renderTemplate, D as REROUTE_DIRECTIVE_HEADER, A as AstroError, V as i18nNoLocaleFoundInPath, W as ResponseSentError, X as originPathnameSymbol, Y as RewriteWithBodyUsed, Z as GetStaticPathsRequired, _ as InvalidGetStaticPathsReturn, $ as InvalidGetStaticPathsEntry, a0 as GetStaticPathsExpectedParams, a1 as GetStaticPathsInvalidRouteParam, a2 as PageNumberParamNotFound, E as DEFAULT_404_COMPONENT, a3 as NoMatchingStaticPathFound, a4 as PrerenderDynamicEndpointPathCollide, a5 as ReservedSlotName, a6 as renderSlotToString, x as renderJSX, a7 as chunkToString, a8 as isRenderInstruction, a9 as MiddlewareNoDataOrNextCalled, aa as MiddlewareNotAResponse, ab as SessionStorageInitError, ac as SessionStorageSaveError, C as ROUTE_TYPE_HEADER, ad as ForbiddenRewrite, ae as ASTRO_VERSION, af as CspNotEnabled, ag as green, ah as LocalsReassigned, ai as generateCspDigest, aj as PrerenderClientAddressNotAvailable, M as clientAddressSymbol, ak as ClientAddressNotAvailable, al as StaticClientAddressNotAvailable, am as AstroResponseHeadersReassigned, P as responseSentSymbol$1, an as renderPage, ao as REWRITE_DIRECTIVE_HEADER_KEY, ap as REWRITE_DIRECTIVE_HEADER_VALUE, aq as renderEndpoint } from './astro/server_DXtGNXGl.mjs';
4
+ import { b as appendForwardSlash, j as joinPaths, a as removeTrailingForwardSlash, p as prependForwardSlash, t as trimSlashes } from './path_u5O9njcM.mjs';
5
5
  import { u as unflatten$1 } from './parse_EttCPxrw.mjs';
6
6
 
7
7
  const ACTION_API_CONTEXT_SYMBOL = Symbol.for("astro.actionAPIContext");
@@ -227,7 +227,7 @@ function requestHasLocale(locales) {
227
227
  };
228
228
  }
229
229
  function pathHasLocale(path, locales) {
230
- const segments = path.split("/");
230
+ const segments = path.split("/").map(normalizeThePath);
231
231
  for (const segment of segments) {
232
232
  for (const locale of locales) {
233
233
  if (typeof locale === "string") {
@@ -260,6 +260,9 @@ function getPathByLocale(locale, locales) {
260
260
  function normalizeTheLocale(locale) {
261
261
  return locale.replaceAll("_", "-").toLowerCase();
262
262
  }
263
+ function normalizeThePath(path) {
264
+ return path.endsWith(".html") ? path.slice(0, -5) : path;
265
+ }
263
266
  function getAllCodes(locales) {
264
267
  const result = [];
265
268
  for (const loopLocale of locales) {
@@ -462,7 +465,7 @@ function computePreferredLocaleList(request, locales) {
462
465
  return result;
463
466
  }
464
467
  function computeCurrentLocale(pathname, locales, defaultLocale) {
465
- for (const segment of pathname.split("/")) {
468
+ for (const segment of pathname.split("/").map(normalizeThePath)) {
466
469
  for (const locale of locales) {
467
470
  if (typeof locale === "string") {
468
471
  if (!segment.includes(locale)) continue;
@@ -863,8 +866,20 @@ function copyRequest(newUrl, oldRequest, isPrerendered, logger, routePattern) {
863
866
  }
864
867
  });
865
868
  }
866
- function setOriginPathname(request, pathname) {
867
- Reflect.set(request, originPathnameSymbol, encodeURIComponent(pathname));
869
+ function setOriginPathname(request, pathname, trailingSlash, buildFormat) {
870
+ if (!pathname) {
871
+ pathname = "/";
872
+ }
873
+ const shouldAppendSlash = shouldAppendForwardSlash(trailingSlash, buildFormat);
874
+ let finalPathname;
875
+ if (pathname === "/") {
876
+ finalPathname = "/";
877
+ } else if (shouldAppendSlash) {
878
+ finalPathname = appendForwardSlash(pathname);
879
+ } else {
880
+ finalPathname = removeTrailingForwardSlash(pathname);
881
+ }
882
+ Reflect.set(request, originPathnameSymbol, encodeURIComponent(finalPathname));
868
883
  }
869
884
  function getOriginPathname(request) {
870
885
  const origin = Reflect.get(request, originPathnameSymbol);
@@ -874,114 +889,6 @@ function getOriginPathname(request) {
874
889
  return new URL(request.url).pathname;
875
890
  }
876
891
 
877
- function getActionContext(context) {
878
- const callerInfo = getCallerInfo(context);
879
- const actionResultAlreadySet = Boolean(context.locals._actionPayload);
880
- let action = void 0;
881
- if (callerInfo && context.request.method === "POST" && !actionResultAlreadySet) {
882
- action = {
883
- calledFrom: callerInfo.from,
884
- name: callerInfo.name,
885
- handler: async () => {
886
- const pipeline = Reflect.get(context, apiContextRoutesSymbol);
887
- const callerInfoName = shouldAppendForwardSlash(
888
- pipeline.manifest.trailingSlash,
889
- pipeline.manifest.buildFormat
890
- ) ? removeTrailingForwardSlash(callerInfo.name) : callerInfo.name;
891
- const baseAction = await pipeline.getAction(callerInfoName);
892
- let input;
893
- try {
894
- input = await parseRequestBody(context.request);
895
- } catch (e) {
896
- if (e instanceof TypeError) {
897
- return { data: void 0, error: new ActionError({ code: "UNSUPPORTED_MEDIA_TYPE" }) };
898
- }
899
- throw e;
900
- }
901
- const omitKeys = ["props", "getActionResult", "callAction", "redirect"];
902
- const actionAPIContext = Object.create(
903
- Object.getPrototypeOf(context),
904
- Object.fromEntries(
905
- Object.entries(Object.getOwnPropertyDescriptors(context)).filter(
906
- ([key]) => !omitKeys.includes(key)
907
- )
908
- )
909
- );
910
- Reflect.set(actionAPIContext, ACTION_API_CONTEXT_SYMBOL, true);
911
- const handler = baseAction.bind(actionAPIContext);
912
- return handler(input);
913
- }
914
- };
915
- }
916
- function setActionResult(actionName, actionResult) {
917
- context.locals._actionPayload = {
918
- actionResult,
919
- actionName
920
- };
921
- }
922
- return {
923
- action,
924
- setActionResult,
925
- serializeActionResult,
926
- deserializeActionResult
927
- };
928
- }
929
- function getCallerInfo(ctx) {
930
- if (ctx.routePattern === ACTION_RPC_ROUTE_PATTERN) {
931
- return { from: "rpc", name: ctx.url.pathname.replace(/^.*\/_actions\//, "") };
932
- }
933
- const queryParam = ctx.url.searchParams.get(ACTION_QUERY_PARAMS.actionName);
934
- if (queryParam) {
935
- return { from: "form", name: queryParam };
936
- }
937
- return void 0;
938
- }
939
- async function parseRequestBody(request) {
940
- const contentType = request.headers.get("content-type");
941
- const contentLength = request.headers.get("Content-Length");
942
- if (!contentType) return void 0;
943
- if (hasContentType(contentType, formContentTypes)) {
944
- return await request.clone().formData();
945
- }
946
- if (hasContentType(contentType, ["application/json"])) {
947
- return contentLength === "0" ? void 0 : await request.clone().json();
948
- }
949
- throw new TypeError("Unsupported content type");
950
- }
951
-
952
- async function callMiddleware(onRequest, apiContext, responseFunction) {
953
- let nextCalled = false;
954
- let responseFunctionPromise = void 0;
955
- const next = async (payload) => {
956
- nextCalled = true;
957
- responseFunctionPromise = responseFunction(apiContext, payload);
958
- return responseFunctionPromise;
959
- };
960
- let middlewarePromise = onRequest(apiContext, next);
961
- return await Promise.resolve(middlewarePromise).then(async (value) => {
962
- if (nextCalled) {
963
- if (typeof value !== "undefined") {
964
- if (value instanceof Response === false) {
965
- throw new AstroError(MiddlewareNotAResponse);
966
- }
967
- return value;
968
- } else {
969
- if (responseFunctionPromise) {
970
- return responseFunctionPromise;
971
- } else {
972
- throw new AstroError(MiddlewareNotAResponse);
973
- }
974
- }
975
- } else if (typeof value === "undefined") {
976
- throw new AstroError(MiddlewareNoDataOrNextCalled);
977
- } else if (value instanceof Response === false) {
978
- throw new AstroError(MiddlewareNotAResponse);
979
- } else {
980
- return value;
981
- }
982
- });
983
- }
984
-
985
892
  const VALID_PARAM_TYPES = ["string", "number", "undefined"];
986
893
  function validateGetStaticPathsParameter([key, value], route) {
987
894
  if (!VALID_PARAM_TYPES.includes(typeof value)) {
@@ -1343,6 +1250,114 @@ class Slots {
1343
1250
  }
1344
1251
  }
1345
1252
 
1253
+ function getActionContext(context) {
1254
+ const callerInfo = getCallerInfo(context);
1255
+ const actionResultAlreadySet = Boolean(context.locals._actionPayload);
1256
+ let action = void 0;
1257
+ if (callerInfo && context.request.method === "POST" && !actionResultAlreadySet) {
1258
+ action = {
1259
+ calledFrom: callerInfo.from,
1260
+ name: callerInfo.name,
1261
+ handler: async () => {
1262
+ const pipeline = Reflect.get(context, apiContextRoutesSymbol);
1263
+ const callerInfoName = shouldAppendForwardSlash(
1264
+ pipeline.manifest.trailingSlash,
1265
+ pipeline.manifest.buildFormat
1266
+ ) ? removeTrailingForwardSlash(callerInfo.name) : callerInfo.name;
1267
+ const baseAction = await pipeline.getAction(callerInfoName);
1268
+ let input;
1269
+ try {
1270
+ input = await parseRequestBody(context.request);
1271
+ } catch (e) {
1272
+ if (e instanceof TypeError) {
1273
+ return { data: void 0, error: new ActionError({ code: "UNSUPPORTED_MEDIA_TYPE" }) };
1274
+ }
1275
+ throw e;
1276
+ }
1277
+ const omitKeys = ["props", "getActionResult", "callAction", "redirect"];
1278
+ const actionAPIContext = Object.create(
1279
+ Object.getPrototypeOf(context),
1280
+ Object.fromEntries(
1281
+ Object.entries(Object.getOwnPropertyDescriptors(context)).filter(
1282
+ ([key]) => !omitKeys.includes(key)
1283
+ )
1284
+ )
1285
+ );
1286
+ Reflect.set(actionAPIContext, ACTION_API_CONTEXT_SYMBOL, true);
1287
+ const handler = baseAction.bind(actionAPIContext);
1288
+ return handler(input);
1289
+ }
1290
+ };
1291
+ }
1292
+ function setActionResult(actionName, actionResult) {
1293
+ context.locals._actionPayload = {
1294
+ actionResult,
1295
+ actionName
1296
+ };
1297
+ }
1298
+ return {
1299
+ action,
1300
+ setActionResult,
1301
+ serializeActionResult,
1302
+ deserializeActionResult
1303
+ };
1304
+ }
1305
+ function getCallerInfo(ctx) {
1306
+ if (ctx.routePattern === ACTION_RPC_ROUTE_PATTERN) {
1307
+ return { from: "rpc", name: ctx.url.pathname.replace(/^.*\/_actions\//, "") };
1308
+ }
1309
+ const queryParam = ctx.url.searchParams.get(ACTION_QUERY_PARAMS.actionName);
1310
+ if (queryParam) {
1311
+ return { from: "form", name: queryParam };
1312
+ }
1313
+ return void 0;
1314
+ }
1315
+ async function parseRequestBody(request) {
1316
+ const contentType = request.headers.get("content-type");
1317
+ const contentLength = request.headers.get("Content-Length");
1318
+ if (!contentType) return void 0;
1319
+ if (hasContentType(contentType, formContentTypes)) {
1320
+ return await request.clone().formData();
1321
+ }
1322
+ if (hasContentType(contentType, ["application/json"])) {
1323
+ return contentLength === "0" ? void 0 : await request.clone().json();
1324
+ }
1325
+ throw new TypeError("Unsupported content type");
1326
+ }
1327
+
1328
+ async function callMiddleware(onRequest, apiContext, responseFunction) {
1329
+ let nextCalled = false;
1330
+ let responseFunctionPromise = void 0;
1331
+ const next = async (payload) => {
1332
+ nextCalled = true;
1333
+ responseFunctionPromise = responseFunction(apiContext, payload);
1334
+ return responseFunctionPromise;
1335
+ };
1336
+ let middlewarePromise = onRequest(apiContext, next);
1337
+ return await Promise.resolve(middlewarePromise).then(async (value) => {
1338
+ if (nextCalled) {
1339
+ if (typeof value !== "undefined") {
1340
+ if (value instanceof Response === false) {
1341
+ throw new AstroError(MiddlewareNotAResponse);
1342
+ }
1343
+ return value;
1344
+ } else {
1345
+ if (responseFunctionPromise) {
1346
+ return responseFunctionPromise;
1347
+ } else {
1348
+ throw new AstroError(MiddlewareNotAResponse);
1349
+ }
1350
+ }
1351
+ } else if (typeof value === "undefined") {
1352
+ throw new AstroError(MiddlewareNoDataOrNextCalled);
1353
+ } else if (value instanceof Response === false) {
1354
+ throw new AstroError(MiddlewareNotAResponse);
1355
+ } else {
1356
+ return value;
1357
+ }
1358
+ });
1359
+ }
1360
+
1346
1361
  const suspectProtoRx = /"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/;
1347
1362
  const suspectConstructorRx = /"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/;
1348
1363
  const JsonSigRx = /^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;
@@ -2047,6 +2062,15 @@ class AstroSession {
2047
2062
  cookie: cookieConfig = DEFAULT_COOKIE_NAME,
2048
2063
  ...config
2049
2064
  }, runtimeMode) {
2065
+ const { driver } = config;
2066
+ if (!driver) {
2067
+ throw new AstroError({
2068
+ ...SessionStorageInitError,
2069
+ message: SessionStorageInitError.message(
2070
+ "No driver was defined in the session configuration and the adapter did not provide a default driver."
2071
+ )
2072
+ });
2073
+ }
2050
2074
  this.#cookies = cookies;
2051
2075
  let cookieConfigObject;
2052
2076
  if (typeof cookieConfig === "object") {
@@ -2063,7 +2087,7 @@ class AstroSession {
2063
2087
  ...cookieConfigObject,
2064
2088
  httpOnly: true
2065
2089
  };
2066
- this.#config = config;
2090
+ this.#config = { ...config, driver };
2067
2091
  }
2068
2092
  /**
2069
2093
  * Gets a session value. Returns `undefined` if the session or value does not exist.
@@ -2145,7 +2169,14 @@ class AstroSession {
2145
2169
  * Destroys the session, clearing the cookie and storage if it exists.
2146
2170
  */
2147
2171
  destroy() {
2148
- this.#destroySafe();
2172
+ const sessionId = this.#sessionID ?? this.#cookies.get(this.#cookieName)?.value;
2173
+ if (sessionId) {
2174
+ this.#toDestroy.add(sessionId);
2175
+ }
2176
+ this.#cookies.delete(this.#cookieName, this.#cookieConfig);
2177
+ this.#sessionID = void 0;
2178
+ this.#data = void 0;
2179
+ this.#dirty = true;
2149
2180
  }
2150
2181
  /**
2151
2182
  * Regenerates the session, creating a new session ID. The existing session data is preserved.
@@ -2253,7 +2284,7 @@ class AstroSession {
2253
2284
  try {
2254
2285
  const storedMap = unflatten(raw);
2255
2286
  if (!(storedMap instanceof Map)) {
2256
- await this.#destroySafe();
2287
+ await this.destroy();
2257
2288
  throw new AstroError({
2258
2289
  ...SessionStorageInitError,
2259
2290
  message: SessionStorageInitError.message(
@@ -2272,7 +2303,7 @@ class AstroSession {
2272
2303
  this.#partial = false;
2273
2304
  return this.#data;
2274
2305
  } catch (err) {
2275
- await this.#destroySafe();
2306
+ await this.destroy();
2276
2307
  if (err instanceof AstroError) {
2277
2308
  throw err;
2278
2309
  }
@@ -2288,20 +2319,6 @@ class AstroSession {
2288
2319
  );
2289
2320
  }
2290
2321
  }
2291
- /**
2292
- * Safely destroys the session, clearing the cookie and storage if it exists.
2293
- */
2294
- #destroySafe() {
2295
- if (this.#sessionID) {
2296
- this.#toDestroy.add(this.#sessionID);
2297
- }
2298
- if (this.#cookieName) {
2299
- this.#cookies.delete(this.#cookieName, this.#cookieConfig);
2300
- }
2301
- this.#sessionID = void 0;
2302
- this.#data = void 0;
2303
- this.#dirty = true;
2304
- }
2305
2322
  /**
2306
2323
  * Returns the session ID, generating a new one if it does not exist.
2307
2324
  */
@@ -2330,14 +2347,6 @@ class AstroSession {
2330
2347
  this.#config.driver = "fs-lite";
2331
2348
  this.#config.options.base ??= ".astro/session";
2332
2349
  }
2333
- if (!this.#config?.driver) {
2334
- throw new AstroError({
2335
- ...SessionStorageInitError,
2336
- message: SessionStorageInitError.message(
2337
- "No driver was defined in the session configuration and the adapter did not provide a default driver."
2338
- )
2339
- });
2340
- }
2341
2350
  let driver = null;
2342
2351
  try {
2343
2352
  if (this.#config.driverModule) {
@@ -2449,7 +2458,12 @@ class RenderContext {
2449
2458
  }) {
2450
2459
  const pipelineMiddleware = await pipeline.getMiddleware();
2451
2460
  const pipelineActions = actions ?? await pipeline.getActions();
2452
- setOriginPathname(request, pathname);
2461
+ setOriginPathname(
2462
+ request,
2463
+ pathname,
2464
+ pipeline.manifest.trailingSlash,
2465
+ pipeline.manifest.buildFormat
2466
+ );
2453
2467
  return new RenderContext(
2454
2468
  pipeline,
2455
2469
  locals,
@@ -2536,7 +2550,12 @@ class RenderContext {
2536
2550
  this.params = getParams(routeData, pathname);
2537
2551
  this.pathname = pathname;
2538
2552
  this.status = 200;
2539
- setOriginPathname(this.request, oldPathname);
2553
+ setOriginPathname(
2554
+ this.request,
2555
+ oldPathname,
2556
+ this.pipeline.manifest.trailingSlash,
2557
+ this.pipeline.manifest.buildFormat
2558
+ );
2540
2559
  }
2541
2560
  let response2;
2542
2561
  if (!ctx.isPrerendered) {
@@ -2619,7 +2638,8 @@ class RenderContext {
2619
2638
  reroutePayload,
2620
2639
  this.request
2621
2640
  );
2622
- if (this.pipeline.serverLike && !this.routeData.prerender && routeData.prerender) {
2641
+ const isI18nFallback = routeData.fallbackRoutes && routeData.fallbackRoutes.length > 0;
2642
+ if (this.pipeline.serverLike && !this.routeData.prerender && routeData.prerender && !isI18nFallback) {
2623
2643
  throw new AstroError({
2624
2644
  ...ForbiddenRewrite,
2625
2645
  message: ForbiddenRewrite.message(this.pathname, pathname, routeData.component),
@@ -2645,7 +2665,12 @@ class RenderContext {
2645
2665
  this.pathname = pathname;
2646
2666
  this.isRewriting = true;
2647
2667
  this.status = 200;
2648
- setOriginPathname(this.request, oldPathname);
2668
+ setOriginPathname(
2669
+ this.request,
2670
+ oldPathname,
2671
+ this.pipeline.manifest.trailingSlash,
2672
+ this.pipeline.manifest.buildFormat
2673
+ );
2649
2674
  return await this.render(componentInstance);
2650
2675
  }
2651
2676
  createActionAPIContext() {
@@ -2739,6 +2764,18 @@ class RenderContext {
2739
2764
  const { cookies, pathname, pipeline, routeData, status } = this;
2740
2765
  const { clientDirectives, inlinedScripts, compressHTML, manifest, renderers, resolve } = pipeline;
2741
2766
  const { links, scripts, styles } = await pipeline.headElements(routeData);
2767
+ const extraStyleHashes = [];
2768
+ const extraScriptHashes = [];
2769
+ const shouldInjectCspMetaTags = !!manifest.csp;
2770
+ const cspAlgorithm = manifest.csp?.algorithm ?? "SHA-256";
2771
+ if (shouldInjectCspMetaTags) {
2772
+ for (const style of styles) {
2773
+ extraStyleHashes.push(await generateCspDigest(style.children, cspAlgorithm));
2774
+ }
2775
+ for (const script of scripts) {
2776
+ extraScriptHashes.push(await generateCspDigest(script.children, cspAlgorithm));
2777
+ }
2778
+ }
2742
2779
  const componentMetadata = await pipeline.componentMetadata(routeData) ?? manifest.componentMetadata;
2743
2780
  const headers = new Headers({ "Content-Type": "text/html" });
2744
2781
  const partial = typeof this.partial === "boolean" ? this.partial : Boolean(mod.partial);
@@ -2788,13 +2825,13 @@ class RenderContext {
2788
2825
  hasRenderedServerIslandRuntime: false,
2789
2826
  headInTree: false,
2790
2827
  extraHead: [],
2791
- extraStyleHashes: [],
2792
- extraScriptHashes: [],
2828
+ extraStyleHashes,
2829
+ extraScriptHashes,
2793
2830
  propagators: /* @__PURE__ */ new Set()
2794
2831
  },
2795
2832
  cspDestination: manifest.csp?.cspDestination ?? (routeData.prerender ? "meta" : "header"),
2796
- shouldInjectCspMetaTags: !!manifest.csp,
2797
- cspAlgorithm: manifest.csp?.algorithm ?? "SHA-256",
2833
+ shouldInjectCspMetaTags,
2834
+ cspAlgorithm,
2798
2835
  // The following arrays must be cloned, otherwise they become mutable across routes.
2799
2836
  scriptHashes: manifest.csp?.scriptHashes ? [...manifest.csp.scriptHashes] : [],
2800
2837
  scriptResources: manifest.csp?.scriptResources ? [...manifest.csp.scriptResources] : [],
@@ -3080,7 +3117,13 @@ function sequence(...handlers) {
3080
3117
  handleContext.url = new URL(newRequest.url);
3081
3118
  handleContext.cookies = new AstroCookies(newRequest);
3082
3119
  handleContext.params = getParams(routeData, pathname);
3083
- setOriginPathname(handleContext.request, oldPathname);
3120
+ handleContext.routePattern = routeData.route;
3121
+ setOriginPathname(
3122
+ handleContext.request,
3123
+ oldPathname,
3124
+ pipeline.manifest.trailingSlash,
3125
+ pipeline.manifest.buildFormat
3126
+ );
3084
3127
  }
3085
3128
  return applyHandle(i + 1, handleContext);
3086
3129
  } else {
@@ -1,5 +1,5 @@
1
1
  globalThis.process ??= {}; globalThis.process.env ??= {};
2
- import { al as NOOP_MIDDLEWARE_HEADER } from './astro/server_CVEnF9i1.mjs';
2
+ import { ar as NOOP_MIDDLEWARE_HEADER } from './astro/server_DXtGNXGl.mjs';
3
3
 
4
4
  const NOOP_MIDDLEWARE_FN = async (_ctx, next) => {
5
5
  const response = await next();
@@ -24,6 +24,11 @@ function trimSlashes(path) {
24
24
  function isString(path) {
25
25
  return typeof path === "string" || path instanceof String;
26
26
  }
27
+ const INTERNAL_PREFIXES = /* @__PURE__ */ new Set(["/_", "/@", "/.", "//"]);
28
+ const JUST_SLASHES = /^\/{2,}$/;
29
+ function isInternalPath(path) {
30
+ return INTERNAL_PREFIXES.has(path.slice(0, 2)) && !JUST_SLASHES.test(path);
31
+ }
27
32
  function joinPaths(...paths) {
28
33
  return paths.filter(isString).map((path, i) => {
29
34
  if (i === 0) {
@@ -35,8 +40,9 @@ function joinPaths(...paths) {
35
40
  }
36
41
  }).join("/");
37
42
  }
43
+ const URL_PROTOCOL_REGEX = /^(?:(?:http|ftp|https|ws):?\/\/|\/\/)/;
38
44
  function isRemotePath(src) {
39
- return /^(?:http|ftp|https|ws):?\/\//.test(src) || src.startsWith("data:");
45
+ return URL_PROTOCOL_REGEX.test(src) || src.startsWith("data:");
40
46
  }
41
47
  function slash(path) {
42
48
  return path.replace(/\\/g, "/");
@@ -56,4 +62,4 @@ function hasFileExtension(path) {
56
62
  return WITH_FILE_EXT.test(path);
57
63
  }
58
64
 
59
- export { removeTrailingForwardSlash as a, appendForwardSlash as b, collapseDuplicateTrailingSlashes as c, fileExtension as f, hasFileExtension as h, isRemotePath as i, joinPaths as j, prependForwardSlash as p, removeBase as r, slash as s, trimSlashes as t };
65
+ export { removeTrailingForwardSlash as a, appendForwardSlash as b, isInternalPath as c, collapseDuplicateTrailingSlashes as d, fileExtension as f, hasFileExtension as h, isRemotePath as i, joinPaths as j, prependForwardSlash as p, removeBase as r, slash as s, trimSlashes as t };
@@ -1,7 +1,7 @@
1
1
  globalThis.process ??= {}; globalThis.process.env ??= {};
2
- import { r as renderers } from './chunks/_@astro-renderers_D4IG6Oyo.mjs';
3
- import { c as createExports, s as serverEntrypointModule } from './chunks/_@astrojs-ssr-adapter_B_x81DBq.mjs';
4
- import { manifest } from './manifest_BT0KogAj.mjs';
2
+ import { r as renderers } from './chunks/_@astro-renderers_B-gIj2th.mjs';
3
+ import { c as createExports, s as serverEntrypointModule } from './chunks/_@astrojs-ssr-adapter_u4VQ4c24.mjs';
4
+ import { manifest } from './manifest_CR827M2P.mjs';
5
5
 
6
6
  const serverIslandMap = new Map();;
7
7
 
@@ -29,7 +29,7 @@ const _args = undefined;
29
29
  const _exports = createExports(_manifest);
30
30
  const __astrojsSsrVirtualEntry = _exports.default;
31
31
  const _start = 'start';
32
- if (_start in serverEntrypointModule) {
32
+ if (Object.prototype.hasOwnProperty.call(serverEntrypointModule, _start)) {
33
33
  serverEntrypointModule[_start](_manifest, _args);
34
34
  }
35
35