@commercetools/nimbus 3.1.0 → 3.2.0

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 (1312) hide show
  1. package/dist/chunks/Button-1hWj0x5_.cjs +2 -0
  2. package/dist/chunks/Button-1hWj0x5_.cjs.map +1 -0
  3. package/dist/chunks/Button-BS6XRDWw.esm.js +69 -0
  4. package/dist/chunks/Button-BS6XRDWw.esm.js.map +1 -0
  5. package/dist/chunks/Calendar-D0Q4KgVl.cjs +2 -0
  6. package/dist/chunks/Calendar-D0Q4KgVl.cjs.map +1 -0
  7. package/dist/chunks/Calendar-rp_CLsUN.esm.js +1522 -0
  8. package/dist/chunks/Calendar-rp_CLsUN.esm.js.map +1 -0
  9. package/dist/chunks/CollectionBuilder-BXfGeCji.esm.js +567 -0
  10. package/dist/chunks/CollectionBuilder-BXfGeCji.esm.js.map +1 -0
  11. package/dist/chunks/CollectionBuilder-DnB4IFcy.cjs +2 -0
  12. package/dist/chunks/CollectionBuilder-DnB4IFcy.cjs.map +1 -0
  13. package/dist/chunks/DateField-CiRd3cLQ.cjs +2 -0
  14. package/dist/chunks/DateField-CiRd3cLQ.cjs.map +1 -0
  15. package/dist/chunks/DateField-DnencyBr.esm.js +2734 -0
  16. package/dist/chunks/DateField-DnencyBr.esm.js.map +1 -0
  17. package/dist/chunks/DatePicker-BKVEEwtB.esm.js +626 -0
  18. package/dist/chunks/DatePicker-BKVEEwtB.esm.js.map +1 -0
  19. package/dist/chunks/DatePicker-CWP6H_nf.cjs +2 -0
  20. package/dist/chunks/DatePicker-CWP6H_nf.cjs.map +1 -0
  21. package/dist/chunks/Dialog-Bz1VofkM.esm.js +1672 -0
  22. package/dist/chunks/Dialog-Bz1VofkM.esm.js.map +1 -0
  23. package/dist/chunks/Dialog-CKEw-ul4.cjs +6 -0
  24. package/dist/chunks/Dialog-CKEw-ul4.cjs.map +1 -0
  25. package/dist/chunks/FocusScope-B-MNRaDi.esm.js +510 -0
  26. package/dist/chunks/FocusScope-B-MNRaDi.esm.js.map +1 -0
  27. package/dist/chunks/FocusScope-F_MRHvRx.cjs +2 -0
  28. package/dist/chunks/FocusScope-F_MRHvRx.cjs.map +1 -0
  29. package/dist/chunks/Group-bGyT9mW_.cjs +2 -0
  30. package/dist/chunks/Group-bGyT9mW_.cjs.map +1 -0
  31. package/dist/chunks/Group-sJdOMsgH.esm.js +44 -0
  32. package/dist/chunks/Group-sJdOMsgH.esm.js.map +1 -0
  33. package/dist/chunks/Header-W166BKKR.esm.js +202 -0
  34. package/dist/chunks/Header-W166BKKR.esm.js.map +1 -0
  35. package/dist/chunks/Header-lS9SYRu4.cjs +2 -0
  36. package/dist/chunks/Header-lS9SYRu4.cjs.map +1 -0
  37. package/dist/chunks/Heading-C72bGhoe.esm.js +16 -0
  38. package/dist/chunks/Heading-C72bGhoe.esm.js.map +1 -0
  39. package/dist/chunks/Heading-CqmBUmd4.cjs +2 -0
  40. package/dist/chunks/Heading-CqmBUmd4.cjs.map +1 -0
  41. package/dist/chunks/Input-BTvzRaMs.cjs +2 -0
  42. package/dist/chunks/Input-BTvzRaMs.cjs.map +1 -0
  43. package/dist/chunks/Input-DlsE3S8K.esm.js +44 -0
  44. package/dist/chunks/Input-DlsE3S8K.esm.js.map +1 -0
  45. package/dist/chunks/Label-BUx4xalI.cjs +2 -0
  46. package/dist/chunks/Label-BUx4xalI.cjs.map +1 -0
  47. package/dist/chunks/Label-Xh7702HT.esm.js +17 -0
  48. package/dist/chunks/Label-Xh7702HT.esm.js.map +1 -0
  49. package/dist/chunks/ListBox-2xpkm-sE.cjs +2 -0
  50. package/dist/chunks/ListBox-2xpkm-sE.cjs.map +1 -0
  51. package/dist/chunks/ListBox-CJuSujjc.esm.js +497 -0
  52. package/dist/chunks/ListBox-CJuSujjc.esm.js.map +1 -0
  53. package/dist/chunks/Modal-CEjlYSfY.esm.js +173 -0
  54. package/dist/chunks/Modal-CEjlYSfY.esm.js.map +1 -0
  55. package/dist/chunks/Modal-wR2INhB2.cjs +2 -0
  56. package/dist/chunks/Modal-wR2INhB2.cjs.map +1 -0
  57. package/dist/chunks/ProgressBar-DHMdCYLc.esm.js +38 -0
  58. package/dist/chunks/ProgressBar-DHMdCYLc.esm.js.map +1 -0
  59. package/dist/chunks/ProgressBar-L7nx92g2.cjs +2 -0
  60. package/dist/chunks/ProgressBar-L7nx92g2.cjs.map +1 -0
  61. package/dist/chunks/Separator-BIgTWW8f.esm.js +41 -0
  62. package/dist/chunks/Separator-BIgTWW8f.esm.js.map +1 -0
  63. package/dist/chunks/Separator-OCbVuZ5H.cjs +2 -0
  64. package/dist/chunks/Separator-OCbVuZ5H.cjs.map +1 -0
  65. package/dist/chunks/ToggleButton-C2hHETb0.esm.js +140 -0
  66. package/dist/chunks/ToggleButton-C2hHETb0.esm.js.map +1 -0
  67. package/dist/chunks/ToggleButton-Do0NWYnw.cjs +2 -0
  68. package/dist/chunks/ToggleButton-Do0NWYnw.cjs.map +1 -0
  69. package/dist/chunks/VisuallyHidden-AGyNNjry.cjs +2 -0
  70. package/dist/chunks/VisuallyHidden-AGyNNjry.cjs.map +1 -0
  71. package/dist/chunks/VisuallyHidden-D96gv7Fv.esm.js +37 -0
  72. package/dist/chunks/VisuallyHidden-D96gv7Fv.esm.js.map +1 -0
  73. package/dist/chunks/accordion-D6qcmh0J.cjs +2 -0
  74. package/dist/chunks/accordion-D6qcmh0J.cjs.map +1 -0
  75. package/dist/chunks/accordion-DdhAoYXL.esm.js +13 -0
  76. package/dist/chunks/accordion-DdhAoYXL.esm.js.map +1 -0
  77. package/dist/chunks/alert-BLA16Ct3.cjs +2 -0
  78. package/dist/chunks/alert-BLA16Ct3.cjs.map +1 -0
  79. package/dist/chunks/alert-CzQEgomS.esm.js +78 -0
  80. package/dist/chunks/alert-CzQEgomS.esm.js.map +1 -0
  81. package/dist/chunks/animation-C-L_empp.esm.js +57 -0
  82. package/dist/chunks/animation-C-L_empp.esm.js.map +1 -0
  83. package/dist/chunks/animation-e6IdT0H3.cjs +2 -0
  84. package/dist/chunks/animation-e6IdT0H3.cjs.map +1 -0
  85. package/dist/chunks/avatar-DsTOgK1A.esm.js +55 -0
  86. package/dist/chunks/avatar-DsTOgK1A.esm.js.map +1 -0
  87. package/dist/chunks/avatar-h9eDHPIr.cjs +2 -0
  88. package/dist/chunks/avatar-h9eDHPIr.cjs.map +1 -0
  89. package/dist/chunks/badge-7LuAUqmG.cjs +2 -0
  90. package/dist/chunks/badge-7LuAUqmG.cjs.map +1 -0
  91. package/dist/chunks/badge-CfHYaYkR.esm.js +19 -0
  92. package/dist/chunks/badge-CfHYaYkR.esm.js.map +1 -0
  93. package/dist/chunks/box-B6vF0vdN.cjs +2 -0
  94. package/dist/chunks/box-B6vF0vdN.cjs.map +1 -0
  95. package/dist/chunks/box-CZyqYgLL.esm.js +16 -0
  96. package/dist/chunks/box-CZyqYgLL.esm.js.map +1 -0
  97. package/dist/chunks/button-D5CV52ux.esm.js +52 -0
  98. package/dist/chunks/button-D5CV52ux.esm.js.map +1 -0
  99. package/dist/chunks/button-DDlet23P.cjs +2 -0
  100. package/dist/chunks/button-DDlet23P.cjs.map +1 -0
  101. package/dist/chunks/calendar-Ci_VqqKd.cjs +2 -0
  102. package/dist/chunks/calendar-Ci_VqqKd.cjs.map +1 -0
  103. package/dist/chunks/calendar-ILmCMbfo.esm.js +199 -0
  104. package/dist/chunks/calendar-ILmCMbfo.esm.js.map +1 -0
  105. package/dist/chunks/card-BzCs5Slj.cjs +2 -0
  106. package/dist/chunks/card-BzCs5Slj.cjs.map +1 -0
  107. package/dist/chunks/card-CqFuODvG.esm.js +75 -0
  108. package/dist/chunks/card-CqFuODvG.esm.js.map +1 -0
  109. package/dist/chunks/checkbox-2xfBhos6.cjs +2 -0
  110. package/dist/chunks/checkbox-2xfBhos6.cjs.map +1 -0
  111. package/dist/chunks/checkbox-CHDkSMEP.esm.js +186 -0
  112. package/dist/chunks/checkbox-CHDkSMEP.esm.js.map +1 -0
  113. package/dist/chunks/collapsible-motion-DFZiAulP.cjs +2 -0
  114. package/dist/chunks/collapsible-motion-DFZiAulP.cjs.map +1 -0
  115. package/dist/chunks/collapsible-motion-DnWdKrME.esm.js +97 -0
  116. package/dist/chunks/collapsible-motion-DnWdKrME.esm.js.map +1 -0
  117. package/dist/chunks/combobox-DwiuJXhD.cjs +2 -0
  118. package/dist/chunks/combobox-DwiuJXhD.cjs.map +1 -0
  119. package/dist/chunks/combobox-lTVdJTc3.esm.js +1221 -0
  120. package/dist/chunks/combobox-lTVdJTc3.esm.js.map +1 -0
  121. package/dist/chunks/components-CrwFSMII.cjs +2 -0
  122. package/dist/chunks/components-CrwFSMII.cjs.map +1 -0
  123. package/dist/chunks/components-z7MLRzO-.esm.js +193 -0
  124. package/dist/chunks/components-z7MLRzO-.esm.js.map +1 -0
  125. package/dist/chunks/confirmation-dialog-B7wfR9o0.cjs +2 -0
  126. package/dist/chunks/confirmation-dialog-B7wfR9o0.cjs.map +1 -0
  127. package/dist/chunks/confirmation-dialog-nDasu7DU.esm.js +74 -0
  128. package/dist/chunks/confirmation-dialog-nDasu7DU.esm.js.map +1 -0
  129. package/dist/chunks/data-table-CP5yy4K1.esm.js +4049 -0
  130. package/dist/chunks/data-table-CP5yy4K1.esm.js.map +1 -0
  131. package/dist/chunks/data-table-uLZL2ylc.cjs +2 -0
  132. package/dist/chunks/data-table-uLZL2ylc.cjs.map +1 -0
  133. package/dist/chunks/date-input-B8sNo25V.cjs +2 -0
  134. package/dist/chunks/date-input-B8sNo25V.cjs.map +1 -0
  135. package/dist/chunks/date-input-BkWTwqKJ.esm.js +33 -0
  136. package/dist/chunks/date-input-BkWTwqKJ.esm.js.map +1 -0
  137. package/dist/chunks/date-picker-BNC2CCa3.cjs +2 -0
  138. package/dist/chunks/date-picker-BNC2CCa3.cjs.map +1 -0
  139. package/dist/chunks/date-picker-Dt9mO8Za.esm.js +183 -0
  140. package/dist/chunks/date-picker-Dt9mO8Za.esm.js.map +1 -0
  141. package/dist/chunks/date-range-picker-14j0nLXq.esm.js +302 -0
  142. package/dist/chunks/date-range-picker-14j0nLXq.esm.js.map +1 -0
  143. package/dist/chunks/date-range-picker-CQh-cE2m.cjs +2 -0
  144. package/dist/chunks/date-range-picker-CQh-cE2m.cjs.map +1 -0
  145. package/dist/chunks/default-page-CTRRrw_R.esm.js +116 -0
  146. package/dist/chunks/default-page-CTRRrw_R.esm.js.map +1 -0
  147. package/dist/chunks/default-page-CcRsREFi.cjs +2 -0
  148. package/dist/chunks/default-page-CcRsREFi.cjs.map +1 -0
  149. package/dist/chunks/dialog-BbknnPiL.esm.js +181 -0
  150. package/dist/chunks/dialog-BbknnPiL.esm.js.map +1 -0
  151. package/dist/chunks/dialog-XLoAxfTo.cjs +2 -0
  152. package/dist/chunks/dialog-XLoAxfTo.cjs.map +1 -0
  153. package/dist/chunks/draggable-list-DyatW4FZ.cjs +3 -0
  154. package/dist/chunks/draggable-list-DyatW4FZ.cjs.map +1 -0
  155. package/dist/chunks/draggable-list-aLbi1jAp.esm.js +3951 -0
  156. package/dist/chunks/draggable-list-aLbi1jAp.esm.js.map +1 -0
  157. package/dist/chunks/drawer-bxGNjfqv.cjs +2 -0
  158. package/dist/chunks/drawer-bxGNjfqv.cjs.map +1 -0
  159. package/dist/chunks/drawer-kupvdMWj.esm.js +189 -0
  160. package/dist/chunks/drawer-kupvdMWj.esm.js.map +1 -0
  161. package/dist/chunks/field-errors-D4_oFvCt.cjs +2 -0
  162. package/dist/chunks/field-errors-D4_oFvCt.cjs.map +1 -0
  163. package/dist/chunks/field-errors-DQnCYbwh.esm.js +170 -0
  164. package/dist/chunks/field-errors-DQnCYbwh.esm.js.map +1 -0
  165. package/dist/chunks/focusSafely-DlCJ7xX4.esm.js +19 -0
  166. package/dist/chunks/focusSafely-DlCJ7xX4.esm.js.map +1 -0
  167. package/dist/chunks/focusSafely-DqSHUxBv.cjs +2 -0
  168. package/dist/chunks/focusSafely-DqSHUxBv.cjs.map +1 -0
  169. package/dist/chunks/form-action-bar-BH-mQEJB.cjs +2 -0
  170. package/dist/chunks/form-action-bar-BH-mQEJB.cjs.map +1 -0
  171. package/dist/chunks/form-action-bar-BkzK1DIP.esm.js +85 -0
  172. package/dist/chunks/form-action-bar-BkzK1DIP.esm.js.map +1 -0
  173. package/dist/chunks/form-dialog-DWbkty9b.cjs +2 -0
  174. package/dist/chunks/form-dialog-DWbkty9b.cjs.map +1 -0
  175. package/dist/chunks/form-dialog-_Y9tb_dm.esm.js +74 -0
  176. package/dist/chunks/form-dialog-_Y9tb_dm.esm.js.map +1 -0
  177. package/dist/chunks/form-field-BqR6tlhi.cjs +2 -0
  178. package/dist/chunks/form-field-BqR6tlhi.cjs.map +1 -0
  179. package/dist/chunks/form-field-BxbNX6MU.esm.js +231 -0
  180. package/dist/chunks/form-field-BxbNX6MU.esm.js.map +1 -0
  181. package/dist/chunks/getScrollParent-CdSli2iO.cjs +2 -0
  182. package/dist/chunks/getScrollParent-CdSli2iO.cjs.map +1 -0
  183. package/dist/chunks/getScrollParent-DUGmEclV.esm.js +11 -0
  184. package/dist/chunks/getScrollParent-DUGmEclV.esm.js.map +1 -0
  185. package/dist/chunks/group-Bmr5g5Rl.cjs +2 -0
  186. package/dist/chunks/group-Bmr5g5Rl.cjs.map +1 -0
  187. package/dist/chunks/group-CjQwewA5.esm.js +16 -0
  188. package/dist/chunks/group-CjQwewA5.esm.js.map +1 -0
  189. package/dist/chunks/heading-Bf0XwaRf.esm.js +19 -0
  190. package/dist/chunks/heading-Bf0XwaRf.esm.js.map +1 -0
  191. package/dist/chunks/heading-BiA2hLSk.cjs +2 -0
  192. package/dist/chunks/heading-BiA2hLSk.cjs.map +1 -0
  193. package/dist/chunks/hooks-BDfmlNt_.cjs +4 -0
  194. package/dist/chunks/hooks-BDfmlNt_.cjs.map +1 -0
  195. package/dist/chunks/hooks-BjqA_jfh.esm.js +795 -0
  196. package/dist/chunks/hooks-BjqA_jfh.esm.js.map +1 -0
  197. package/dist/chunks/icon-CSCRP1_5.esm.js +17 -0
  198. package/dist/chunks/icon-CSCRP1_5.esm.js.map +1 -0
  199. package/dist/chunks/icon-DjrMssEK.cjs +2 -0
  200. package/dist/chunks/icon-DjrMssEK.cjs.map +1 -0
  201. package/dist/chunks/icon-button-D0cEzjex.esm.js +33 -0
  202. package/dist/chunks/icon-button-D0cEzjex.esm.js.map +1 -0
  203. package/dist/chunks/icon-button-DJxT-1uM.cjs +2 -0
  204. package/dist/chunks/icon-button-DJxT-1uM.cjs.map +1 -0
  205. package/dist/chunks/icon-toggle-button-BKkz4_Cf.esm.js +16 -0
  206. package/dist/chunks/icon-toggle-button-BKkz4_Cf.esm.js.map +1 -0
  207. package/dist/chunks/icon-toggle-button-CqHuaLDB.cjs +2 -0
  208. package/dist/chunks/icon-toggle-button-CqHuaLDB.cjs.map +1 -0
  209. package/dist/chunks/inline-svg-CBPeYaXW.esm.js +24 -0
  210. package/dist/chunks/inline-svg-CBPeYaXW.esm.js.map +1 -0
  211. package/dist/chunks/inline-svg-Dj-aVgpS.cjs +2 -0
  212. package/dist/chunks/inline-svg-Dj-aVgpS.cjs.map +1 -0
  213. package/dist/chunks/kbd-Dk3AokiG.esm.js +21 -0
  214. package/dist/chunks/kbd-Dk3AokiG.esm.js.map +1 -0
  215. package/dist/chunks/kbd-Dz483siQ.cjs +2 -0
  216. package/dist/chunks/kbd-Dz483siQ.cjs.map +1 -0
  217. package/dist/chunks/link-Bv3W3fUU.cjs +2 -0
  218. package/dist/chunks/link-Bv3W3fUU.cjs.map +1 -0
  219. package/dist/chunks/link-BzVwlusK.esm.js +27 -0
  220. package/dist/chunks/link-BzVwlusK.esm.js.map +1 -0
  221. package/dist/chunks/list-Bdkxklxj.cjs +2 -0
  222. package/dist/chunks/list-Bdkxklxj.cjs.map +1 -0
  223. package/dist/chunks/list-jEcdociv.esm.js +33 -0
  224. package/dist/chunks/list-jEcdociv.esm.js.map +1 -0
  225. package/dist/chunks/loading-spinner-DZJpaT8b.esm.js +47 -0
  226. package/dist/chunks/loading-spinner-DZJpaT8b.esm.js.map +1 -0
  227. package/dist/chunks/loading-spinner-dBrg6bRi.cjs +2 -0
  228. package/dist/chunks/loading-spinner-dBrg6bRi.cjs.map +1 -0
  229. package/dist/chunks/localized-field-Be4zyHxn.cjs +2 -0
  230. package/dist/chunks/localized-field-Be4zyHxn.cjs.map +1 -0
  231. package/dist/chunks/localized-field-CrI-hxso.esm.js +347 -0
  232. package/dist/chunks/localized-field-CrI-hxso.esm.js.map +1 -0
  233. package/dist/chunks/make-element-focusable-7aEYoh_8.esm.js +15 -0
  234. package/dist/chunks/make-element-focusable-7aEYoh_8.esm.js.map +1 -0
  235. package/dist/chunks/make-element-focusable-C9gMsJ9U.cjs +2 -0
  236. package/dist/chunks/make-element-focusable-C9gMsJ9U.cjs.map +1 -0
  237. package/dist/chunks/menu-CiBPW0cA.esm.js +174 -0
  238. package/dist/chunks/menu-CiBPW0cA.esm.js.map +1 -0
  239. package/dist/chunks/menu-DcD4YVSh.cjs +2 -0
  240. package/dist/chunks/menu-DcD4YVSh.cjs.map +1 -0
  241. package/dist/chunks/mergeProps-CGu7R6EG.esm.js +123 -0
  242. package/dist/chunks/mergeProps-CGu7R6EG.esm.js.map +1 -0
  243. package/dist/chunks/mergeProps-CiOPEjJs.cjs +2 -0
  244. package/dist/chunks/mergeProps-CiOPEjJs.cjs.map +1 -0
  245. package/dist/chunks/modal-page-BHekWb9M.esm.js +151 -0
  246. package/dist/chunks/modal-page-BHekWb9M.esm.js.map +1 -0
  247. package/dist/chunks/modal-page-CPcmx5Zo.cjs +2 -0
  248. package/dist/chunks/modal-page-CPcmx5Zo.cjs.map +1 -0
  249. package/dist/chunks/money-input-CAvYKnf8.cjs +2 -0
  250. package/dist/chunks/money-input-CAvYKnf8.cjs.map +1 -0
  251. package/dist/chunks/money-input-CkW9kE5Z.esm.js +480 -0
  252. package/dist/chunks/money-input-CkW9kE5Z.esm.js.map +1 -0
  253. package/dist/chunks/money-input-field-CJkGRsh0.cjs +2 -0
  254. package/dist/chunks/money-input-field-CJkGRsh0.cjs.map +1 -0
  255. package/dist/chunks/money-input-field-Dng7nJjd.esm.js +35 -0
  256. package/dist/chunks/money-input-field-Dng7nJjd.esm.js.map +1 -0
  257. package/dist/chunks/multiline-text-input-CEptJEY1.esm.js +98 -0
  258. package/dist/chunks/multiline-text-input-CEptJEY1.esm.js.map +1 -0
  259. package/dist/chunks/multiline-text-input-CM9370iC.cjs +2 -0
  260. package/dist/chunks/multiline-text-input-CM9370iC.cjs.map +1 -0
  261. package/dist/chunks/multiline-text-input-field-BwmsKmWz.esm.js +37 -0
  262. package/dist/chunks/multiline-text-input-field-BwmsKmWz.esm.js.map +1 -0
  263. package/dist/chunks/multiline-text-input-field-DaIvyQr4.cjs +2 -0
  264. package/dist/chunks/multiline-text-input-field-DaIvyQr4.cjs.map +1 -0
  265. package/dist/chunks/nimbus-provider-Bo2EkmYr.cjs +2 -0
  266. package/dist/chunks/nimbus-provider-Bo2EkmYr.cjs.map +1 -0
  267. package/dist/chunks/nimbus-provider-C7XWdSdh.esm.js +171 -0
  268. package/dist/chunks/nimbus-provider-C7XWdSdh.esm.js.map +1 -0
  269. package/dist/chunks/number-input-DI0LHK18.cjs +2 -0
  270. package/dist/chunks/number-input-DI0LHK18.cjs.map +1 -0
  271. package/dist/chunks/number-input-field-CX0E494u.esm.js +35 -0
  272. package/dist/chunks/number-input-field-CX0E494u.esm.js.map +1 -0
  273. package/dist/chunks/number-input-field-P2yAGiZq.cjs +2 -0
  274. package/dist/chunks/number-input-field-P2yAGiZq.cjs.map +1 -0
  275. package/dist/chunks/number-input-rDHYPEC8.esm.js +762 -0
  276. package/dist/chunks/number-input-rDHYPEC8.esm.js.map +1 -0
  277. package/dist/chunks/page-content-B-ph7XeC.esm.js +40 -0
  278. package/dist/chunks/page-content-B-ph7XeC.esm.js.map +1 -0
  279. package/dist/chunks/page-content-DjHWkJgx.cjs +2 -0
  280. package/dist/chunks/page-content-DjHWkJgx.cjs.map +1 -0
  281. package/dist/chunks/pagination-CQhi3fKT.cjs +2 -0
  282. package/dist/chunks/pagination-CQhi3fKT.cjs.map +1 -0
  283. package/dist/chunks/pagination-gHrrzE7d.esm.js +235 -0
  284. package/dist/chunks/pagination-gHrrzE7d.esm.js.map +1 -0
  285. package/dist/chunks/password-input-C2o6Hi_C.esm.js +52 -0
  286. package/dist/chunks/password-input-C2o6Hi_C.esm.js.map +1 -0
  287. package/dist/chunks/password-input-V3cDyAaf.cjs +2 -0
  288. package/dist/chunks/password-input-V3cDyAaf.cjs.map +1 -0
  289. package/dist/chunks/password-input-field-BzN_3jEi.esm.js +37 -0
  290. package/dist/chunks/password-input-field-BzN_3jEi.esm.js.map +1 -0
  291. package/dist/chunks/password-input-field-XfPuq47b.cjs +2 -0
  292. package/dist/chunks/password-input-field-XfPuq47b.cjs.map +1 -0
  293. package/dist/chunks/popover-DPUnwEvL.esm.js +13 -0
  294. package/dist/chunks/popover-DPUnwEvL.esm.js.map +1 -0
  295. package/dist/chunks/popover-YNJ3lRWA.cjs +2 -0
  296. package/dist/chunks/popover-YNJ3lRWA.cjs.map +1 -0
  297. package/dist/chunks/progress-bar-vrLe0Wzn.esm.js +63 -0
  298. package/dist/chunks/progress-bar-vrLe0Wzn.esm.js.map +1 -0
  299. package/dist/chunks/progress-bar-x54Gfzpo.cjs +2 -0
  300. package/dist/chunks/progress-bar-x54Gfzpo.cjs.map +1 -0
  301. package/dist/chunks/public-page-layout-B5WuR4MJ.esm.js +68 -0
  302. package/dist/chunks/public-page-layout-B5WuR4MJ.esm.js.map +1 -0
  303. package/dist/chunks/public-page-layout-DK6-Xl7Z.cjs +2 -0
  304. package/dist/chunks/public-page-layout-DK6-Xl7Z.cjs.map +1 -0
  305. package/dist/chunks/radio-input-6W0nx5iA.cjs +2 -0
  306. package/dist/chunks/radio-input-6W0nx5iA.cjs.map +1 -0
  307. package/dist/chunks/radio-input-BoH5enRY.esm.js +317 -0
  308. package/dist/chunks/radio-input-BoH5enRY.esm.js.map +1 -0
  309. package/dist/chunks/range-calendar-Bhtk9PRp.esm.js +201 -0
  310. package/dist/chunks/range-calendar-Bhtk9PRp.esm.js.map +1 -0
  311. package/dist/chunks/range-calendar-w5kL2l9V.cjs +2 -0
  312. package/dist/chunks/range-calendar-w5kL2l9V.cjs.map +1 -0
  313. package/dist/chunks/rich-text-input-Bti8ZaLa.cjs +4 -0
  314. package/dist/chunks/rich-text-input-Bti8ZaLa.cjs.map +1 -0
  315. package/dist/chunks/rich-text-input-DFQ0I2Uw.esm.js +1109 -0
  316. package/dist/chunks/rich-text-input-DFQ0I2Uw.esm.js.map +1 -0
  317. package/dist/chunks/runAfterTransition-CqDsKK7h.esm.js +37 -0
  318. package/dist/chunks/runAfterTransition-CqDsKK7h.esm.js.map +1 -0
  319. package/dist/chunks/runAfterTransition-PjvUI1Dc.cjs +2 -0
  320. package/dist/chunks/runAfterTransition-PjvUI1Dc.cjs.map +1 -0
  321. package/dist/chunks/scoped-search-input-C7xRhLcT.esm.js +129 -0
  322. package/dist/chunks/scoped-search-input-C7xRhLcT.esm.js.map +1 -0
  323. package/dist/chunks/scoped-search-input-Dk4Fv3IP.cjs +2 -0
  324. package/dist/chunks/scoped-search-input-Dk4Fv3IP.cjs.map +1 -0
  325. package/dist/chunks/search-input-B8x2RfaD.esm.js +354 -0
  326. package/dist/chunks/search-input-B8x2RfaD.esm.js.map +1 -0
  327. package/dist/chunks/search-input-CKPkr04J.cjs +2 -0
  328. package/dist/chunks/search-input-CKPkr04J.cjs.map +1 -0
  329. package/dist/chunks/select-CGaE3Evf.cjs +2 -0
  330. package/dist/chunks/select-CGaE3Evf.cjs.map +1 -0
  331. package/dist/chunks/select-y9rE7u48.esm.js +600 -0
  332. package/dist/chunks/select-y9rE7u48.esm.js.map +1 -0
  333. package/dist/chunks/separator-3CE8vnut.cjs +2 -0
  334. package/dist/chunks/separator-3CE8vnut.cjs.map +1 -0
  335. package/dist/chunks/separator-suOMmYFe.esm.js +29 -0
  336. package/dist/chunks/separator-suOMmYFe.esm.js.map +1 -0
  337. package/dist/chunks/split-button-BtOKNbI9.esm.js +93 -0
  338. package/dist/chunks/split-button-BtOKNbI9.esm.js.map +1 -0
  339. package/dist/chunks/split-button-DUSfwx1H.cjs +2 -0
  340. package/dist/chunks/split-button-DUSfwx1H.cjs.map +1 -0
  341. package/dist/chunks/steps-CUDfUFsh.esm.js +253 -0
  342. package/dist/chunks/steps-CUDfUFsh.esm.js.map +1 -0
  343. package/dist/chunks/steps-TX4yfyHD.cjs +2 -0
  344. package/dist/chunks/steps-TX4yfyHD.cjs.map +1 -0
  345. package/dist/chunks/switch-Cc8w5qPH.esm.js +71 -0
  346. package/dist/chunks/switch-Cc8w5qPH.esm.js.map +1 -0
  347. package/dist/chunks/switch-D-FTyV4o.cjs +2 -0
  348. package/dist/chunks/switch-D-FTyV4o.cjs.map +1 -0
  349. package/dist/chunks/tab-nav-4E44NBVt.cjs +2 -0
  350. package/dist/chunks/tab-nav-4E44NBVt.cjs.map +1 -0
  351. package/dist/chunks/tab-nav-BeDNF8EC.esm.js +66 -0
  352. package/dist/chunks/tab-nav-BeDNF8EC.esm.js.map +1 -0
  353. package/dist/chunks/table-Ca0nIwcN.cjs +2 -0
  354. package/dist/chunks/table-Ca0nIwcN.cjs.map +1 -0
  355. package/dist/chunks/table-s-QRSKUl.esm.js +62 -0
  356. package/dist/chunks/table-s-QRSKUl.esm.js.map +1 -0
  357. package/dist/chunks/tabs-B50Cmf5h.cjs +2 -0
  358. package/dist/chunks/tabs-B50Cmf5h.cjs.map +1 -0
  359. package/dist/chunks/tabs-DomV4co7.esm.js +444 -0
  360. package/dist/chunks/tabs-DomV4co7.esm.js.map +1 -0
  361. package/dist/chunks/tag-group-BO8mQ1Qf.esm.js +557 -0
  362. package/dist/chunks/tag-group-BO8mQ1Qf.esm.js.map +1 -0
  363. package/dist/chunks/tag-group-BR3LcQYM.cjs +2 -0
  364. package/dist/chunks/tag-group-BR3LcQYM.cjs.map +1 -0
  365. package/dist/chunks/text-BMfRfxWU.esm.js +18 -0
  366. package/dist/chunks/text-BMfRfxWU.esm.js.map +1 -0
  367. package/dist/chunks/text-DfLr2yJS.cjs +2 -0
  368. package/dist/chunks/text-DfLr2yJS.cjs.map +1 -0
  369. package/dist/chunks/text-input-BonnwXw4.cjs +2 -0
  370. package/dist/chunks/text-input-BonnwXw4.cjs.map +1 -0
  371. package/dist/chunks/text-input-Da6L5AwL.esm.js +55 -0
  372. package/dist/chunks/text-input-Da6L5AwL.esm.js.map +1 -0
  373. package/dist/chunks/textSelection-BAo1yL40.cjs +2 -0
  374. package/dist/chunks/textSelection-BAo1yL40.cjs.map +1 -0
  375. package/dist/chunks/textSelection-DLP-sam7.esm.js +37 -0
  376. package/dist/chunks/textSelection-DLP-sam7.esm.js.map +1 -0
  377. package/dist/chunks/time-input-BLYoCrZH.esm.js +33 -0
  378. package/dist/chunks/time-input-BLYoCrZH.esm.js.map +1 -0
  379. package/dist/chunks/time-input-DV-1pekk.cjs +2 -0
  380. package/dist/chunks/time-input-DV-1pekk.cjs.map +1 -0
  381. package/dist/chunks/toast.outlet-7YvQdNf_.cjs +2 -0
  382. package/dist/chunks/toast.outlet-7YvQdNf_.cjs.map +1 -0
  383. package/dist/chunks/toast.outlet-CrnB4Dsg.esm.js +99 -0
  384. package/dist/chunks/toast.outlet-CrnB4Dsg.esm.js.map +1 -0
  385. package/dist/chunks/toggle-button-BAIsUjKm.cjs +2 -0
  386. package/dist/chunks/toggle-button-BAIsUjKm.cjs.map +1 -0
  387. package/dist/chunks/toggle-button-D8K1JATa.esm.js +30 -0
  388. package/dist/chunks/toggle-button-D8K1JATa.esm.js.map +1 -0
  389. package/dist/chunks/toggle-button-group-B5vV-_5v.esm.js +34 -0
  390. package/dist/chunks/toggle-button-group-B5vV-_5v.esm.js.map +1 -0
  391. package/dist/chunks/toggle-button-group-BHnNsAKE.cjs +2 -0
  392. package/dist/chunks/toggle-button-group-BHnNsAKE.cjs.map +1 -0
  393. package/dist/chunks/toolbar-CSwGqSf8.esm.js +45 -0
  394. package/dist/chunks/toolbar-CSwGqSf8.esm.js.map +1 -0
  395. package/dist/chunks/toolbar-DIHORWTk.cjs +2 -0
  396. package/dist/chunks/toolbar-DIHORWTk.cjs.map +1 -0
  397. package/dist/chunks/tooltip-BRcJaG5T.cjs +2 -0
  398. package/dist/chunks/tooltip-BRcJaG5T.cjs.map +1 -0
  399. package/dist/chunks/tooltip-CIrPCE0d.esm.js +242 -0
  400. package/dist/chunks/tooltip-CIrPCE0d.esm.js.map +1 -0
  401. package/dist/chunks/use-focus-input-on-field-click-C9Dn-bdo.cjs +2 -0
  402. package/dist/chunks/use-focus-input-on-field-click-C9Dn-bdo.cjs.map +1 -0
  403. package/dist/chunks/use-focus-input-on-field-click-VZY1eI97.esm.js +19 -0
  404. package/dist/chunks/use-focus-input-on-field-click-VZY1eI97.esm.js.map +1 -0
  405. package/dist/chunks/use-responsive-splitter-sizes-HQ-JjaLl.esm.js +583 -0
  406. package/dist/chunks/use-responsive-splitter-sizes-HQ-JjaLl.esm.js.map +1 -0
  407. package/dist/chunks/use-responsive-splitter-sizes-ljEz_rSy.cjs +2 -0
  408. package/dist/chunks/use-responsive-splitter-sizes-ljEz_rSy.cjs.map +1 -0
  409. package/dist/chunks/useButton-BW5Hm1Lk.cjs +2 -0
  410. package/dist/chunks/useButton-BW5Hm1Lk.cjs.map +1 -0
  411. package/dist/chunks/useButton-Q3SL2MMB.esm.js +56 -0
  412. package/dist/chunks/useButton-Q3SL2MMB.esm.js.map +1 -0
  413. package/dist/chunks/useCollection-3FMH6gXV.cjs +2 -0
  414. package/dist/chunks/useCollection-3FMH6gXV.cjs.map +1 -0
  415. package/dist/chunks/useCollection-Il_NOy4O.esm.js +932 -0
  416. package/dist/chunks/useCollection-Il_NOy4O.esm.js.map +1 -0
  417. package/dist/chunks/useDescription-DYd2bXlK.cjs +2 -0
  418. package/dist/chunks/useDescription-DYd2bXlK.cjs.map +1 -0
  419. package/dist/chunks/useDescription-DtTUgX2f.esm.js +101 -0
  420. package/dist/chunks/useDescription-DtTUgX2f.esm.js.map +1 -0
  421. package/dist/chunks/useDisclosureState-B3oMKVWN.esm.js +75 -0
  422. package/dist/chunks/useDisclosureState-B3oMKVWN.esm.js.map +1 -0
  423. package/dist/chunks/useDisclosureState-XqLBb8kS.cjs +2 -0
  424. package/dist/chunks/useDisclosureState-XqLBb8kS.cjs.map +1 -0
  425. package/dist/chunks/useEffectEvent-__NAuLiF.esm.js +17 -0
  426. package/dist/chunks/useEffectEvent-__NAuLiF.esm.js.map +1 -0
  427. package/dist/chunks/useEffectEvent-bX2W39zo.cjs +2 -0
  428. package/dist/chunks/useEffectEvent-bX2W39zo.cjs.map +1 -0
  429. package/dist/chunks/useEvent-CYf8J0Yj.cjs +2 -0
  430. package/dist/chunks/useEvent-CYf8J0Yj.cjs.map +1 -0
  431. package/dist/chunks/useEvent-DozzThJr.esm.js +22 -0
  432. package/dist/chunks/useEvent-DozzThJr.esm.js.map +1 -0
  433. package/dist/chunks/useField-04OWsUUE.cjs +2 -0
  434. package/dist/chunks/useField-04OWsUUE.cjs.map +1 -0
  435. package/dist/chunks/useField-BQAwZwby.esm.js +30 -0
  436. package/dist/chunks/useField-BQAwZwby.esm.js.map +1 -0
  437. package/dist/chunks/useFocus-CH-n4vw2.cjs +2 -0
  438. package/dist/chunks/useFocus-CH-n4vw2.cjs.map +1 -0
  439. package/dist/chunks/useFocus-PPA7G9fj.esm.js +23 -0
  440. package/dist/chunks/useFocus-PPA7G9fj.esm.js.map +1 -0
  441. package/dist/chunks/useFocusRing-BjpUESSi.cjs +2 -0
  442. package/dist/chunks/useFocusRing-BjpUESSi.cjs.map +1 -0
  443. package/dist/chunks/useFocusRing-CYpmjNkh.esm.js +35 -0
  444. package/dist/chunks/useFocusRing-CYpmjNkh.esm.js.map +1 -0
  445. package/dist/chunks/useFocusVisible-7g2cOT5-.esm.js +228 -0
  446. package/dist/chunks/useFocusVisible-7g2cOT5-.esm.js.map +1 -0
  447. package/dist/chunks/useFocusVisible-ITPc1gyS.cjs +2 -0
  448. package/dist/chunks/useFocusVisible-ITPc1gyS.cjs.map +1 -0
  449. package/dist/chunks/useFocusWithin-CawnmVM8.cjs +2 -0
  450. package/dist/chunks/useFocusWithin-CawnmVM8.cjs.map +1 -0
  451. package/dist/chunks/useFocusWithin-D-_t0s2q.esm.js +45 -0
  452. package/dist/chunks/useFocusWithin-D-_t0s2q.esm.js.map +1 -0
  453. package/dist/chunks/useFocusable-0u660rHW.esm.js +70 -0
  454. package/dist/chunks/useFocusable-0u660rHW.esm.js.map +1 -0
  455. package/dist/chunks/useFocusable-C3WI18Kj.cjs +2 -0
  456. package/dist/chunks/useFocusable-C3WI18Kj.cjs.map +1 -0
  457. package/dist/chunks/useFormValidationState-BCssrskM.esm.js +182 -0
  458. package/dist/chunks/useFormValidationState-BCssrskM.esm.js.map +1 -0
  459. package/dist/chunks/useFormValidationState-DKLfndVx.cjs +2 -0
  460. package/dist/chunks/useFormValidationState-DKLfndVx.cjs.map +1 -0
  461. package/dist/chunks/useGridListItem-0BYZMEak.cjs +2 -0
  462. package/dist/chunks/useGridListItem-0BYZMEak.cjs.map +1 -0
  463. package/dist/chunks/useGridListItem-aU1Ilm3K.esm.js +832 -0
  464. package/dist/chunks/useGridListItem-aU1Ilm3K.esm.js.map +1 -0
  465. package/dist/chunks/useHasTabbableChild-BmB2okeE.cjs +2 -0
  466. package/dist/chunks/useHasTabbableChild-BmB2okeE.cjs.map +1 -0
  467. package/dist/chunks/useHasTabbableChild-ChQZo-HF.esm.js +28 -0
  468. package/dist/chunks/useHasTabbableChild-ChQZo-HF.esm.js.map +1 -0
  469. package/dist/chunks/useHover-BwdOjvC_.cjs +2 -0
  470. package/dist/chunks/useHover-BwdOjvC_.cjs.map +1 -0
  471. package/dist/chunks/useHover-OVjBfGuT.esm.js +81 -0
  472. package/dist/chunks/useHover-OVjBfGuT.esm.js.map +1 -0
  473. package/dist/chunks/useLabel-BofNw0Z3.cjs +2 -0
  474. package/dist/chunks/useLabel-BofNw0Z3.cjs.map +1 -0
  475. package/dist/chunks/useLabel-C6AUvnTc.esm.js +25 -0
  476. package/dist/chunks/useLabel-C6AUvnTc.esm.js.map +1 -0
  477. package/dist/chunks/useLabels-CGHVTMNY.esm.js +14 -0
  478. package/dist/chunks/useLabels-CGHVTMNY.esm.js.map +1 -0
  479. package/dist/chunks/useLabels-kj_TvH40.cjs +2 -0
  480. package/dist/chunks/useLabels-kj_TvH40.cjs.map +1 -0
  481. package/dist/chunks/useLink-BYUu9Lzo.cjs +2 -0
  482. package/dist/chunks/useLink-BYUu9Lzo.cjs.map +1 -0
  483. package/dist/chunks/useLink-CK8-XRCI.esm.js +37 -0
  484. package/dist/chunks/useLink-CK8-XRCI.esm.js.map +1 -0
  485. package/dist/chunks/useListState-Bjjf4Lqp.esm.js +106 -0
  486. package/dist/chunks/useListState-Bjjf4Lqp.esm.js.map +1 -0
  487. package/dist/chunks/useListState-DYc-FJ3x.cjs +2 -0
  488. package/dist/chunks/useListState-DYc-FJ3x.cjs.map +1 -0
  489. package/dist/chunks/useMove-BCbuxYxv.esm.js +153 -0
  490. package/dist/chunks/useMove-BCbuxYxv.esm.js.map +1 -0
  491. package/dist/chunks/useMove-DcvciUy5.cjs +2 -0
  492. package/dist/chunks/useMove-DcvciUy5.cjs.map +1 -0
  493. package/dist/chunks/useOverlayTriggerState-BXU8m17F.cjs +2 -0
  494. package/dist/chunks/useOverlayTriggerState-BXU8m17F.cjs.map +1 -0
  495. package/dist/chunks/useOverlayTriggerState-DMSFiNAW.esm.js +382 -0
  496. package/dist/chunks/useOverlayTriggerState-DMSFiNAW.esm.js.map +1 -0
  497. package/dist/chunks/usePress-CcNxuIXb.esm.js +404 -0
  498. package/dist/chunks/usePress-CcNxuIXb.esm.js.map +1 -0
  499. package/dist/chunks/usePress-DtaoTo7M.cjs +8 -0
  500. package/dist/chunks/usePress-DtaoTo7M.cjs.map +1 -0
  501. package/dist/chunks/useProgressBar-DEnCvplr.esm.js +41 -0
  502. package/dist/chunks/useProgressBar-DEnCvplr.esm.js.map +1 -0
  503. package/dist/chunks/useProgressBar-E-pwWHSo.cjs +2 -0
  504. package/dist/chunks/useProgressBar-E-pwWHSo.cjs.map +1 -0
  505. package/dist/chunks/useSlot-CNGU4fMJ.esm.js +22 -0
  506. package/dist/chunks/useSlot-CNGU4fMJ.esm.js.map +1 -0
  507. package/dist/chunks/useSlot-CjycLOWb.cjs +2 -0
  508. package/dist/chunks/useSlot-CjycLOWb.cjs.map +1 -0
  509. package/dist/chunks/useSpinButton-CZd3Zopc.esm.js +423 -0
  510. package/dist/chunks/useSpinButton-CZd3Zopc.esm.js.map +1 -0
  511. package/dist/chunks/useSpinButton-eoK8_EPd.cjs +2 -0
  512. package/dist/chunks/useSpinButton-eoK8_EPd.cjs.map +1 -0
  513. package/dist/chunks/useSyncRef-4Nx6CSs1.cjs +2 -0
  514. package/dist/chunks/useSyncRef-4Nx6CSs1.cjs.map +1 -0
  515. package/dist/chunks/useSyncRef-BqTlRFiY.esm.js +13 -0
  516. package/dist/chunks/useSyncRef-BqTlRFiY.esm.js.map +1 -0
  517. package/dist/chunks/useTextField-DFlZ_0BJ.esm.js +70 -0
  518. package/dist/chunks/useTextField-DFlZ_0BJ.esm.js.map +1 -0
  519. package/dist/chunks/useTextField-Db7UUGTw.cjs +2 -0
  520. package/dist/chunks/useTextField-Db7UUGTw.cjs.map +1 -0
  521. package/dist/chunks/useToggle-C6k0NP0h.esm.js +101 -0
  522. package/dist/chunks/useToggle-C6k0NP0h.esm.js.map +1 -0
  523. package/dist/chunks/useToggle-CCMwoTvV.cjs +2 -0
  524. package/dist/chunks/useToggle-CCMwoTvV.cjs.map +1 -0
  525. package/dist/chunks/useToolbar-DFj53OpL.esm.js +42 -0
  526. package/dist/chunks/useToolbar-DFj53OpL.esm.js.map +1 -0
  527. package/dist/chunks/useToolbar-LlZ2XF9s.cjs +2 -0
  528. package/dist/chunks/useToolbar-LlZ2XF9s.cjs.map +1 -0
  529. package/dist/chunks/useUpdateEffect-CQ-3G34M.esm.js +16 -0
  530. package/dist/chunks/useUpdateEffect-CQ-3G34M.esm.js.map +1 -0
  531. package/dist/chunks/useUpdateEffect-DNYf0Qd3.cjs +2 -0
  532. package/dist/chunks/useUpdateEffect-DNYf0Qd3.cjs.map +1 -0
  533. package/dist/chunks/utils-41EYzidf.esm.js +108 -0
  534. package/dist/chunks/utils-41EYzidf.esm.js.map +1 -0
  535. package/dist/chunks/utils-F6cW7ajh.cjs +2 -0
  536. package/dist/chunks/utils-F6cW7ajh.cjs.map +1 -0
  537. package/dist/chunks/utils-x6XjD0Nv.esm.js +209 -0
  538. package/dist/chunks/utils-x6XjD0Nv.esm.js.map +1 -0
  539. package/dist/chunks/utils-yFMw0myV.cjs +2 -0
  540. package/dist/chunks/utils-yFMw0myV.cjs.map +1 -0
  541. package/dist/chunks/visually-hidden-B_WKNGZW.esm.js +15 -0
  542. package/dist/chunks/visually-hidden-B_WKNGZW.esm.js.map +1 -0
  543. package/dist/chunks/visually-hidden-BtBohnIk.cjs +2 -0
  544. package/dist/chunks/visually-hidden-BtBohnIk.cjs.map +1 -0
  545. package/dist/components/accordion/accordion.recipe.d.ts +1 -1
  546. package/dist/components/accordion/accordion.slots.d.ts +5 -5
  547. package/dist/components/accordion.cjs +1 -1
  548. package/dist/components/accordion.es.js +2 -2
  549. package/dist/components/actions.cjs +1 -1
  550. package/dist/components/actions.es.js +1 -1
  551. package/dist/components/alert/alert.slots.d.ts +3 -3
  552. package/dist/components/alert.cjs +1 -1
  553. package/dist/components/alert.es.js +1 -1
  554. package/dist/components/avatar/avatar.slots.d.ts +1 -1
  555. package/dist/components/avatar.cjs +1 -1
  556. package/dist/components/avatar.es.js +1 -1
  557. package/dist/components/badge/badge.slots.d.ts +1 -1
  558. package/dist/components/badge.cjs +1 -1
  559. package/dist/components/badge.es.js +1 -1
  560. package/dist/components/box.cjs +1 -1
  561. package/dist/components/box.es.js +1 -1
  562. package/dist/components/button.cjs +1 -1
  563. package/dist/components/button.es.js +1 -1
  564. package/dist/components/calendar/calendar.slots.d.ts +8 -8
  565. package/dist/components/calendar.cjs +1 -1
  566. package/dist/components/calendar.es.js +1 -1
  567. package/dist/components/card.cjs +1 -1
  568. package/dist/components/card.es.js +1 -1
  569. package/dist/components/checkbox.cjs +1 -1
  570. package/dist/components/checkbox.es.js +1 -1
  571. package/dist/components/collapsible-motion/collapsible-motion.recipe.d.ts +1 -1
  572. package/dist/components/collapsible-motion/collapsible-motion.slots.d.ts +2 -2
  573. package/dist/components/collapsible-motion.cjs +1 -1
  574. package/dist/components/collapsible-motion.es.js +1 -1
  575. package/dist/components/combobox/combobox.recipe.d.ts +1 -1
  576. package/dist/components/combobox/combobox.slots.d.ts +12 -12
  577. package/dist/components/combobox.cjs +1 -1
  578. package/dist/components/combobox.es.js +1 -1
  579. package/dist/components/components.cjs +1 -1
  580. package/dist/components/components.es.js +1 -1
  581. package/dist/components/confirmation-dialog.cjs +1 -1
  582. package/dist/components/confirmation-dialog.es.js +1 -1
  583. package/dist/components/data-table/data-table.recipe.d.ts +1 -1
  584. package/dist/components/data-table/data-table.slots.d.ts +11 -11
  585. package/dist/components/data-table.cjs +1 -1
  586. package/dist/components/data-table.es.js +1 -1
  587. package/dist/components/date-input/date-input.slots.d.ts +5 -5
  588. package/dist/components/date-input.cjs +1 -1
  589. package/dist/components/date-input.es.js +1 -1
  590. package/dist/components/date-picker/date-picker.slots.d.ts +6 -6
  591. package/dist/components/date-picker.cjs +1 -1
  592. package/dist/components/date-picker.es.js +1 -1
  593. package/dist/components/date-range-picker/date-range-picker.recipe.d.ts +1 -1
  594. package/dist/components/date-range-picker/date-range-picker.slots.d.ts +8 -8
  595. package/dist/components/date-range-picker-field.cjs +1 -1
  596. package/dist/components/date-range-picker-field.es.js +3 -3
  597. package/dist/components/date-range-picker.cjs +1 -1
  598. package/dist/components/date-range-picker.es.js +1 -1
  599. package/dist/components/default-page.cjs +1 -1
  600. package/dist/components/default-page.es.js +1 -1
  601. package/dist/components/dialog/dialog.recipe.d.ts +1 -1
  602. package/dist/components/dialog/dialog.slots.d.ts +9 -9
  603. package/dist/components/dialog.cjs +1 -1
  604. package/dist/components/dialog.es.js +1 -1
  605. package/dist/components/dialogs.cjs +1 -1
  606. package/dist/components/dialogs.es.js +2 -2
  607. package/dist/components/draggable-list/draggable-list.recipe.d.ts +1 -1
  608. package/dist/components/draggable-list/draggable-list.slots.d.ts +4 -4
  609. package/dist/components/draggable-list.cjs +1 -1
  610. package/dist/components/draggable-list.es.js +1 -1
  611. package/dist/components/drawer/drawer.recipe.d.ts +1 -1
  612. package/dist/components/drawer/drawer.slots.d.ts +10 -10
  613. package/dist/components/drawer.cjs +1 -1
  614. package/dist/components/drawer.es.js +1 -1
  615. package/dist/components/field-errors.cjs +1 -1
  616. package/dist/components/field-errors.es.js +1 -1
  617. package/dist/components/fields.cjs +1 -1
  618. package/dist/components/fields.es.js +4 -4
  619. package/dist/components/form-action-bar.cjs +1 -1
  620. package/dist/components/form-action-bar.es.js +1 -1
  621. package/dist/components/form-dialog.cjs +1 -1
  622. package/dist/components/form-dialog.es.js +1 -1
  623. package/dist/components/form-field/form-field.slots.d.ts +2 -2
  624. package/dist/components/form-field.cjs +1 -1
  625. package/dist/components/form-field.es.js +1 -1
  626. package/dist/components/group.cjs +1 -1
  627. package/dist/components/group.es.js +1 -1
  628. package/dist/components/heading.cjs +1 -1
  629. package/dist/components/heading.es.js +1 -1
  630. package/dist/components/hooks.cjs +1 -1
  631. package/dist/components/hooks.es.js +1 -1
  632. package/dist/components/icon-button.cjs +1 -1
  633. package/dist/components/icon-button.es.js +1 -1
  634. package/dist/components/icon-toggle-button.cjs +1 -1
  635. package/dist/components/icon-toggle-button.es.js +1 -1
  636. package/dist/components/icon.cjs +1 -1
  637. package/dist/components/icon.es.js +1 -1
  638. package/dist/components/info-dialog.cjs +1 -1
  639. package/dist/components/info-dialog.es.js +1 -1
  640. package/dist/components/inline-svg/inline-svg.slots.d.ts +1 -1
  641. package/dist/components/inline-svg.cjs +1 -1
  642. package/dist/components/inline-svg.es.js +1 -1
  643. package/dist/components/kbd.cjs +1 -1
  644. package/dist/components/kbd.es.js +1 -1
  645. package/dist/components/link/link.slots.d.ts +1 -1
  646. package/dist/components/link.cjs +1 -1
  647. package/dist/components/link.es.js +1 -1
  648. package/dist/components/list/list.recipe.d.ts +1 -1
  649. package/dist/components/list.cjs +1 -1
  650. package/dist/components/list.es.js +1 -1
  651. package/dist/components/loading-spinner.cjs +1 -1
  652. package/dist/components/loading-spinner.es.js +1 -1
  653. package/dist/components/localized-field/localized-field.slots.d.ts +10 -10
  654. package/dist/components/localized-field.cjs +1 -1
  655. package/dist/components/localized-field.es.js +1 -1
  656. package/dist/components/menu/menu.recipe.d.ts +1 -1
  657. package/dist/components/modal-page.cjs +1 -1
  658. package/dist/components/modal-page.es.js +1 -1
  659. package/dist/components/money-input/money-input.slots.d.ts +6 -6
  660. package/dist/components/money-input-field.cjs +1 -1
  661. package/dist/components/money-input-field.es.js +1 -1
  662. package/dist/components/money-input.cjs +1 -1
  663. package/dist/components/money-input.es.js +1 -1
  664. package/dist/components/multiline-text-input/multiline-text-input.slots.d.ts +3 -3
  665. package/dist/components/multiline-text-input-field.cjs +1 -1
  666. package/dist/components/multiline-text-input-field.es.js +1 -1
  667. package/dist/components/multiline-text-input.cjs +1 -1
  668. package/dist/components/multiline-text-input.es.js +1 -1
  669. package/dist/components/nimbus-provider.cjs +1 -1
  670. package/dist/components/nimbus-provider.es.js +1 -1
  671. package/dist/components/number-input/number-input.slots.d.ts +6 -6
  672. package/dist/components/number-input-field.cjs +1 -1
  673. package/dist/components/number-input-field.es.js +1 -1
  674. package/dist/components/number-input.cjs +1 -1
  675. package/dist/components/number-input.es.js +1 -1
  676. package/dist/components/page-content.cjs +1 -1
  677. package/dist/components/page-content.es.js +1 -1
  678. package/dist/components/pages.cjs +1 -1
  679. package/dist/components/pages.es.js +1 -1
  680. package/dist/components/pagination.cjs +1 -1
  681. package/dist/components/pagination.es.js +1 -1
  682. package/dist/components/password-input-field.cjs +1 -1
  683. package/dist/components/password-input-field.es.js +1 -1
  684. package/dist/components/password-input.cjs +1 -1
  685. package/dist/components/password-input.es.js +1 -1
  686. package/dist/components/patterns.cjs +1 -1
  687. package/dist/components/patterns.es.js +8 -8
  688. package/dist/components/popover.cjs +1 -1
  689. package/dist/components/popover.es.js +1 -1
  690. package/dist/components/progress-bar/progress-bar.slots.d.ts +4 -4
  691. package/dist/components/progress-bar.cjs +1 -1
  692. package/dist/components/progress-bar.es.js +1 -1
  693. package/dist/components/public-page-layout.cjs +1 -1
  694. package/dist/components/public-page-layout.es.js +1 -1
  695. package/dist/components/radio-input/radio-input.slots.d.ts +2 -2
  696. package/dist/components/radio-input.cjs +1 -1
  697. package/dist/components/radio-input.es.js +1 -1
  698. package/dist/components/range-calendar/range-calendar.slots.d.ts +8 -8
  699. package/dist/components/range-calendar.cjs +1 -1
  700. package/dist/components/range-calendar.es.js +1 -1
  701. package/dist/components/rich-text-input/rich-text-input.slots.d.ts +2 -2
  702. package/dist/components/rich-text-input.cjs +1 -1
  703. package/dist/components/rich-text-input.es.js +1 -1
  704. package/dist/components/scoped-search-input.cjs +1 -1
  705. package/dist/components/scoped-search-input.es.js +1 -1
  706. package/dist/components/scroll-area/scroll-area.recipe.d.ts +1 -1
  707. package/dist/components/search-input-field.cjs +1 -1
  708. package/dist/components/search-input-field.es.js +3 -3
  709. package/dist/components/search-input.cjs +1 -1
  710. package/dist/components/search-input.es.js +1 -1
  711. package/dist/components/select/select.recipe.d.ts +1 -1
  712. package/dist/components/select/select.slots.d.ts +7 -7
  713. package/dist/components/select.cjs +1 -1
  714. package/dist/components/select.es.js +1 -1
  715. package/dist/components/separator.cjs +1 -1
  716. package/dist/components/separator.es.js +1 -1
  717. package/dist/components/split-button/split-button.slots.d.ts +3 -3
  718. package/dist/components/split-button.cjs +1 -1
  719. package/dist/components/split-button.es.js +1 -1
  720. package/dist/components/splitter/splitter.slots.d.ts +3 -3
  721. package/dist/components/splitter/splitter.types.d.ts +10 -6
  722. package/dist/components/splitter.cjs +1 -1
  723. package/dist/components/splitter.es.js +1 -1
  724. package/dist/components/steps/steps.recipe.d.ts +1 -1
  725. package/dist/components/steps/steps.slots.d.ts +12 -12
  726. package/dist/components/steps.cjs +1 -1
  727. package/dist/components/steps.es.js +1 -1
  728. package/dist/components/switch/switch.recipe.d.ts +1 -1
  729. package/dist/components/switch/switch.slots.d.ts +3 -3
  730. package/dist/components/switch.cjs +1 -1
  731. package/dist/components/switch.es.js +1 -1
  732. package/dist/components/tab-nav.cjs +1 -1
  733. package/dist/components/tab-nav.es.js +1 -1
  734. package/dist/components/table/table.recipe.d.ts +1 -1
  735. package/dist/components/table.cjs +1 -1
  736. package/dist/components/table.es.js +1 -1
  737. package/dist/components/tabs/tabs.recipe.d.ts +1 -1
  738. package/dist/components/tabs.cjs +1 -1
  739. package/dist/components/tabs.es.js +1 -1
  740. package/dist/components/tag-group.cjs +1 -1
  741. package/dist/components/tag-group.es.js +1 -1
  742. package/dist/components/text-input-field.cjs +1 -1
  743. package/dist/components/text-input-field.es.js +3 -3
  744. package/dist/components/text-input.cjs +1 -1
  745. package/dist/components/text-input.es.js +1 -1
  746. package/dist/components/text.cjs +1 -1
  747. package/dist/components/text.es.js +1 -1
  748. package/dist/components/time-input/time-input.slots.d.ts +5 -5
  749. package/dist/components/time-input.cjs +1 -1
  750. package/dist/components/time-input.es.js +1 -1
  751. package/dist/components/toast/toast.recipe.d.ts +1 -1
  752. package/dist/components/toast.cjs +1 -1
  753. package/dist/components/toast.es.js +1 -1
  754. package/dist/components/toggle-button-group.cjs +1 -1
  755. package/dist/components/toggle-button-group.es.js +1 -1
  756. package/dist/components/toggle-button.cjs +1 -1
  757. package/dist/components/toggle-button.es.js +1 -1
  758. package/dist/components/toolbar.cjs +1 -1
  759. package/dist/components/toolbar.es.js +1 -1
  760. package/dist/components/tooltip.cjs +1 -1
  761. package/dist/components/tooltip.es.js +2 -2
  762. package/dist/components/visually-hidden.cjs +1 -1
  763. package/dist/components/visually-hidden.es.js +1 -1
  764. package/dist/hooks/index.d.ts +1 -0
  765. package/dist/hooks/use-focus-input-on-field-click/index.d.ts +1 -0
  766. package/dist/hooks/use-focus-input-on-field-click/use-focus-input-on-field-click.d.ts +17 -0
  767. package/dist/index.cjs +2 -2
  768. package/dist/index.cjs.map +1 -1
  769. package/dist/index.es.js +194 -193
  770. package/dist/index.es.js.map +1 -1
  771. package/dist/theme/slot-recipes/index.d.ts +17 -17
  772. package/package.json +17 -17
  773. package/dist/chunks/Button-DL46qJN7.cjs +0 -2
  774. package/dist/chunks/Button-DL46qJN7.cjs.map +0 -1
  775. package/dist/chunks/Button-DegJUc0f.esm.js +0 -69
  776. package/dist/chunks/Button-DegJUc0f.esm.js.map +0 -1
  777. package/dist/chunks/Calendar-DbWEUluv.cjs +0 -2
  778. package/dist/chunks/Calendar-DbWEUluv.cjs.map +0 -1
  779. package/dist/chunks/Calendar-tKcY4m2R.esm.js +0 -1522
  780. package/dist/chunks/Calendar-tKcY4m2R.esm.js.map +0 -1
  781. package/dist/chunks/CollectionBuilder-KjzRvxuG.esm.js +0 -567
  782. package/dist/chunks/CollectionBuilder-KjzRvxuG.esm.js.map +0 -1
  783. package/dist/chunks/CollectionBuilder-iy0QwKry.cjs +0 -2
  784. package/dist/chunks/CollectionBuilder-iy0QwKry.cjs.map +0 -1
  785. package/dist/chunks/DateField-BxkGnJxc.cjs +0 -2
  786. package/dist/chunks/DateField-BxkGnJxc.cjs.map +0 -1
  787. package/dist/chunks/DateField-CVRn-Qlg.esm.js +0 -2734
  788. package/dist/chunks/DateField-CVRn-Qlg.esm.js.map +0 -1
  789. package/dist/chunks/DatePicker-CN6H5nB2.cjs +0 -2
  790. package/dist/chunks/DatePicker-CN6H5nB2.cjs.map +0 -1
  791. package/dist/chunks/DatePicker-CWzeypYa.esm.js +0 -626
  792. package/dist/chunks/DatePicker-CWzeypYa.esm.js.map +0 -1
  793. package/dist/chunks/Dialog-CXVF1h62.cjs +0 -6
  794. package/dist/chunks/Dialog-CXVF1h62.cjs.map +0 -1
  795. package/dist/chunks/Dialog-Caa1FSzo.esm.js +0 -1675
  796. package/dist/chunks/Dialog-Caa1FSzo.esm.js.map +0 -1
  797. package/dist/chunks/FocusScope-B0pE5sbH.esm.js +0 -510
  798. package/dist/chunks/FocusScope-B0pE5sbH.esm.js.map +0 -1
  799. package/dist/chunks/FocusScope-p5x8xo78.cjs +0 -2
  800. package/dist/chunks/FocusScope-p5x8xo78.cjs.map +0 -1
  801. package/dist/chunks/Group-BqPwpXej.cjs +0 -2
  802. package/dist/chunks/Group-BqPwpXej.cjs.map +0 -1
  803. package/dist/chunks/Group-DWXPbxzH.esm.js +0 -44
  804. package/dist/chunks/Group-DWXPbxzH.esm.js.map +0 -1
  805. package/dist/chunks/Heading-Bg4c_XYC.cjs +0 -2
  806. package/dist/chunks/Heading-Bg4c_XYC.cjs.map +0 -1
  807. package/dist/chunks/Heading-V7FlG9BA.esm.js +0 -16
  808. package/dist/chunks/Heading-V7FlG9BA.esm.js.map +0 -1
  809. package/dist/chunks/Input-Bu3Wxz4C.cjs +0 -2
  810. package/dist/chunks/Input-Bu3Wxz4C.cjs.map +0 -1
  811. package/dist/chunks/Input-C_t3Vusf.esm.js +0 -44
  812. package/dist/chunks/Input-C_t3Vusf.esm.js.map +0 -1
  813. package/dist/chunks/Label-B6WKFGrB.esm.js +0 -17
  814. package/dist/chunks/Label-B6WKFGrB.esm.js.map +0 -1
  815. package/dist/chunks/Label-BvG0Ct-B.cjs +0 -2
  816. package/dist/chunks/Label-BvG0Ct-B.cjs.map +0 -1
  817. package/dist/chunks/ListBox-Dmju30in.esm.js +0 -497
  818. package/dist/chunks/ListBox-Dmju30in.esm.js.map +0 -1
  819. package/dist/chunks/ListBox-KC2G8dSP.cjs +0 -2
  820. package/dist/chunks/ListBox-KC2G8dSP.cjs.map +0 -1
  821. package/dist/chunks/Modal-CNesftyH.cjs +0 -2
  822. package/dist/chunks/Modal-CNesftyH.cjs.map +0 -1
  823. package/dist/chunks/Modal-es3Dk5gh.esm.js +0 -173
  824. package/dist/chunks/Modal-es3Dk5gh.esm.js.map +0 -1
  825. package/dist/chunks/ProgressBar-C-Fqprei.esm.js +0 -38
  826. package/dist/chunks/ProgressBar-C-Fqprei.esm.js.map +0 -1
  827. package/dist/chunks/ProgressBar-CZF-GS9F.cjs +0 -2
  828. package/dist/chunks/ProgressBar-CZF-GS9F.cjs.map +0 -1
  829. package/dist/chunks/Separator-C8yNkL-v.cjs +0 -2
  830. package/dist/chunks/Separator-C8yNkL-v.cjs.map +0 -1
  831. package/dist/chunks/Separator-DtxvCm1T.esm.js +0 -41
  832. package/dist/chunks/Separator-DtxvCm1T.esm.js.map +0 -1
  833. package/dist/chunks/ToggleButton-BqyS3DXT.cjs +0 -2
  834. package/dist/chunks/ToggleButton-BqyS3DXT.cjs.map +0 -1
  835. package/dist/chunks/ToggleButton-qBacHHFO.esm.js +0 -140
  836. package/dist/chunks/ToggleButton-qBacHHFO.esm.js.map +0 -1
  837. package/dist/chunks/VisuallyHidden-B2dggopr.cjs +0 -2
  838. package/dist/chunks/VisuallyHidden-B2dggopr.cjs.map +0 -1
  839. package/dist/chunks/VisuallyHidden-PFIB5Wjf.esm.js +0 -37
  840. package/dist/chunks/VisuallyHidden-PFIB5Wjf.esm.js.map +0 -1
  841. package/dist/chunks/accordion-Bhq9XY3n.cjs +0 -2
  842. package/dist/chunks/accordion-Bhq9XY3n.cjs.map +0 -1
  843. package/dist/chunks/accordion-CDs40jJq.esm.js +0 -13
  844. package/dist/chunks/accordion-CDs40jJq.esm.js.map +0 -1
  845. package/dist/chunks/alert-DDg6_MW0.esm.js +0 -78
  846. package/dist/chunks/alert-DDg6_MW0.esm.js.map +0 -1
  847. package/dist/chunks/alert-Dt4cJWLN.cjs +0 -2
  848. package/dist/chunks/alert-Dt4cJWLN.cjs.map +0 -1
  849. package/dist/chunks/animation-Co56ERuY.cjs +0 -2
  850. package/dist/chunks/animation-Co56ERuY.cjs.map +0 -1
  851. package/dist/chunks/animation-DtVCczVU.esm.js +0 -57
  852. package/dist/chunks/animation-DtVCczVU.esm.js.map +0 -1
  853. package/dist/chunks/avatar-CUV-ADEm.cjs +0 -2
  854. package/dist/chunks/avatar-CUV-ADEm.cjs.map +0 -1
  855. package/dist/chunks/avatar-RYRmFBep.esm.js +0 -55
  856. package/dist/chunks/avatar-RYRmFBep.esm.js.map +0 -1
  857. package/dist/chunks/badge-CKG4pZs_.cjs +0 -2
  858. package/dist/chunks/badge-CKG4pZs_.cjs.map +0 -1
  859. package/dist/chunks/badge-CSXlHJE5.esm.js +0 -19
  860. package/dist/chunks/badge-CSXlHJE5.esm.js.map +0 -1
  861. package/dist/chunks/box-BO5SEdrn.cjs +0 -2
  862. package/dist/chunks/box-BO5SEdrn.cjs.map +0 -1
  863. package/dist/chunks/box-DQiakoKP.esm.js +0 -16
  864. package/dist/chunks/box-DQiakoKP.esm.js.map +0 -1
  865. package/dist/chunks/button-DI-KzpA1.cjs +0 -2
  866. package/dist/chunks/button-DI-KzpA1.cjs.map +0 -1
  867. package/dist/chunks/button-DoRiR0zC.esm.js +0 -52
  868. package/dist/chunks/button-DoRiR0zC.esm.js.map +0 -1
  869. package/dist/chunks/calendar-BjIH-aqL.esm.js +0 -199
  870. package/dist/chunks/calendar-BjIH-aqL.esm.js.map +0 -1
  871. package/dist/chunks/calendar-BpOtdptE.cjs +0 -2
  872. package/dist/chunks/calendar-BpOtdptE.cjs.map +0 -1
  873. package/dist/chunks/card-BUI_FC35.esm.js +0 -75
  874. package/dist/chunks/card-BUI_FC35.esm.js.map +0 -1
  875. package/dist/chunks/card-DPXNBh2h.cjs +0 -2
  876. package/dist/chunks/card-DPXNBh2h.cjs.map +0 -1
  877. package/dist/chunks/checkbox-C2L5sbe5.cjs +0 -2
  878. package/dist/chunks/checkbox-C2L5sbe5.cjs.map +0 -1
  879. package/dist/chunks/checkbox-C8ZBkAHz.esm.js +0 -186
  880. package/dist/chunks/checkbox-C8ZBkAHz.esm.js.map +0 -1
  881. package/dist/chunks/collapsible-motion-DntOVmEI.cjs +0 -2
  882. package/dist/chunks/collapsible-motion-DntOVmEI.cjs.map +0 -1
  883. package/dist/chunks/collapsible-motion-mCBiRDsm.esm.js +0 -97
  884. package/dist/chunks/collapsible-motion-mCBiRDsm.esm.js.map +0 -1
  885. package/dist/chunks/combobox-6fd-sn42.cjs +0 -2
  886. package/dist/chunks/combobox-6fd-sn42.cjs.map +0 -1
  887. package/dist/chunks/combobox-DIjvgBne.esm.js +0 -1221
  888. package/dist/chunks/combobox-DIjvgBne.esm.js.map +0 -1
  889. package/dist/chunks/components-C4R66Teb.cjs +0 -2
  890. package/dist/chunks/components-C4R66Teb.cjs.map +0 -1
  891. package/dist/chunks/components-ZhV6nIph.esm.js +0 -196
  892. package/dist/chunks/components-ZhV6nIph.esm.js.map +0 -1
  893. package/dist/chunks/confirmation-dialog-CtOseD3y.esm.js +0 -74
  894. package/dist/chunks/confirmation-dialog-CtOseD3y.esm.js.map +0 -1
  895. package/dist/chunks/confirmation-dialog-K_SE2YTd.cjs +0 -2
  896. package/dist/chunks/confirmation-dialog-K_SE2YTd.cjs.map +0 -1
  897. package/dist/chunks/data-table-DuGcaWO8.esm.js +0 -4050
  898. package/dist/chunks/data-table-DuGcaWO8.esm.js.map +0 -1
  899. package/dist/chunks/data-table-uVk0lji1.cjs +0 -2
  900. package/dist/chunks/data-table-uVk0lji1.cjs.map +0 -1
  901. package/dist/chunks/date-input-BkXnF7T3.esm.js +0 -33
  902. package/dist/chunks/date-input-BkXnF7T3.esm.js.map +0 -1
  903. package/dist/chunks/date-input-TkkQP1FV.cjs +0 -2
  904. package/dist/chunks/date-input-TkkQP1FV.cjs.map +0 -1
  905. package/dist/chunks/date-picker-7npBH_nQ.cjs +0 -2
  906. package/dist/chunks/date-picker-7npBH_nQ.cjs.map +0 -1
  907. package/dist/chunks/date-picker-DXwqOUiM.esm.js +0 -183
  908. package/dist/chunks/date-picker-DXwqOUiM.esm.js.map +0 -1
  909. package/dist/chunks/date-range-picker-BIjehsXP.esm.js +0 -302
  910. package/dist/chunks/date-range-picker-BIjehsXP.esm.js.map +0 -1
  911. package/dist/chunks/date-range-picker-CNbl-PeQ.cjs +0 -2
  912. package/dist/chunks/date-range-picker-CNbl-PeQ.cjs.map +0 -1
  913. package/dist/chunks/default-page-CFQFI3tN.cjs +0 -2
  914. package/dist/chunks/default-page-CFQFI3tN.cjs.map +0 -1
  915. package/dist/chunks/default-page-DMRStD7g.esm.js +0 -116
  916. package/dist/chunks/default-page-DMRStD7g.esm.js.map +0 -1
  917. package/dist/chunks/dialog-BY2Nqdkb.esm.js +0 -181
  918. package/dist/chunks/dialog-BY2Nqdkb.esm.js.map +0 -1
  919. package/dist/chunks/dialog-CYcpD7oW.cjs +0 -2
  920. package/dist/chunks/dialog-CYcpD7oW.cjs.map +0 -1
  921. package/dist/chunks/draggable-list-Dbhu5syv.cjs +0 -3
  922. package/dist/chunks/draggable-list-Dbhu5syv.cjs.map +0 -1
  923. package/dist/chunks/draggable-list-u1zcyrqR.esm.js +0 -3954
  924. package/dist/chunks/draggable-list-u1zcyrqR.esm.js.map +0 -1
  925. package/dist/chunks/drawer-8GML6KUn.esm.js +0 -189
  926. package/dist/chunks/drawer-8GML6KUn.esm.js.map +0 -1
  927. package/dist/chunks/drawer-rYukeLZ7.cjs +0 -2
  928. package/dist/chunks/drawer-rYukeLZ7.cjs.map +0 -1
  929. package/dist/chunks/field-errors-Cequ2UTD.cjs +0 -2
  930. package/dist/chunks/field-errors-Cequ2UTD.cjs.map +0 -1
  931. package/dist/chunks/field-errors-DmYj0cHY.esm.js +0 -170
  932. package/dist/chunks/field-errors-DmYj0cHY.esm.js.map +0 -1
  933. package/dist/chunks/focusSafely-DiSRbE8N.cjs +0 -2
  934. package/dist/chunks/focusSafely-DiSRbE8N.cjs.map +0 -1
  935. package/dist/chunks/focusSafely-ScxaEd9O.esm.js +0 -19
  936. package/dist/chunks/focusSafely-ScxaEd9O.esm.js.map +0 -1
  937. package/dist/chunks/form-action-bar-YitUE465.esm.js +0 -85
  938. package/dist/chunks/form-action-bar-YitUE465.esm.js.map +0 -1
  939. package/dist/chunks/form-action-bar-sQJo9eGi.cjs +0 -2
  940. package/dist/chunks/form-action-bar-sQJo9eGi.cjs.map +0 -1
  941. package/dist/chunks/form-dialog-CQUZomlk.cjs +0 -2
  942. package/dist/chunks/form-dialog-CQUZomlk.cjs.map +0 -1
  943. package/dist/chunks/form-dialog-DGqgStu0.esm.js +0 -74
  944. package/dist/chunks/form-dialog-DGqgStu0.esm.js.map +0 -1
  945. package/dist/chunks/form-field-BN-ZQAEW.cjs +0 -2
  946. package/dist/chunks/form-field-BN-ZQAEW.cjs.map +0 -1
  947. package/dist/chunks/form-field-RQPQxn5G.esm.js +0 -231
  948. package/dist/chunks/form-field-RQPQxn5G.esm.js.map +0 -1
  949. package/dist/chunks/getItemCount-B1NiTCO5.esm.js +0 -202
  950. package/dist/chunks/getItemCount-B1NiTCO5.esm.js.map +0 -1
  951. package/dist/chunks/getItemCount-y2lsON26.cjs +0 -2
  952. package/dist/chunks/getItemCount-y2lsON26.cjs.map +0 -1
  953. package/dist/chunks/getScrollParent-B-VQzTmq.cjs +0 -2
  954. package/dist/chunks/getScrollParent-B-VQzTmq.cjs.map +0 -1
  955. package/dist/chunks/getScrollParent-C9IscpPc.esm.js +0 -11
  956. package/dist/chunks/getScrollParent-C9IscpPc.esm.js.map +0 -1
  957. package/dist/chunks/group-BflXprme.esm.js +0 -16
  958. package/dist/chunks/group-BflXprme.esm.js.map +0 -1
  959. package/dist/chunks/group-DS8HdCQx.cjs +0 -2
  960. package/dist/chunks/group-DS8HdCQx.cjs.map +0 -1
  961. package/dist/chunks/heading-C9P6kAMl.cjs +0 -2
  962. package/dist/chunks/heading-C9P6kAMl.cjs.map +0 -1
  963. package/dist/chunks/heading-DbHqw8Jo.esm.js +0 -19
  964. package/dist/chunks/heading-DbHqw8Jo.esm.js.map +0 -1
  965. package/dist/chunks/hooks-BhhqouX5.cjs +0 -4
  966. package/dist/chunks/hooks-BhhqouX5.cjs.map +0 -1
  967. package/dist/chunks/hooks-D2j01BFp.esm.js +0 -757
  968. package/dist/chunks/hooks-D2j01BFp.esm.js.map +0 -1
  969. package/dist/chunks/icon-C7UEHkcr.cjs +0 -2
  970. package/dist/chunks/icon-C7UEHkcr.cjs.map +0 -1
  971. package/dist/chunks/icon-DGmHrs7_.esm.js +0 -17
  972. package/dist/chunks/icon-DGmHrs7_.esm.js.map +0 -1
  973. package/dist/chunks/icon-button-VYRqOd0H.cjs +0 -2
  974. package/dist/chunks/icon-button-VYRqOd0H.cjs.map +0 -1
  975. package/dist/chunks/icon-button-nyzcQ8NF.esm.js +0 -33
  976. package/dist/chunks/icon-button-nyzcQ8NF.esm.js.map +0 -1
  977. package/dist/chunks/icon-toggle-button-BLMq4it3.cjs +0 -2
  978. package/dist/chunks/icon-toggle-button-BLMq4it3.cjs.map +0 -1
  979. package/dist/chunks/icon-toggle-button-Cesv0w4J.esm.js +0 -16
  980. package/dist/chunks/icon-toggle-button-Cesv0w4J.esm.js.map +0 -1
  981. package/dist/chunks/inline-svg-DMJ61JzJ.esm.js +0 -24
  982. package/dist/chunks/inline-svg-DMJ61JzJ.esm.js.map +0 -1
  983. package/dist/chunks/inline-svg-DWoIDZGQ.cjs +0 -2
  984. package/dist/chunks/inline-svg-DWoIDZGQ.cjs.map +0 -1
  985. package/dist/chunks/kbd-BgmP8bts.cjs +0 -2
  986. package/dist/chunks/kbd-BgmP8bts.cjs.map +0 -1
  987. package/dist/chunks/kbd-BmnzZrIs.esm.js +0 -21
  988. package/dist/chunks/kbd-BmnzZrIs.esm.js.map +0 -1
  989. package/dist/chunks/link-Bc0BL4AU.cjs +0 -2
  990. package/dist/chunks/link-Bc0BL4AU.cjs.map +0 -1
  991. package/dist/chunks/link-CNII3ARw.esm.js +0 -27
  992. package/dist/chunks/link-CNII3ARw.esm.js.map +0 -1
  993. package/dist/chunks/list-LdLANAQD.esm.js +0 -33
  994. package/dist/chunks/list-LdLANAQD.esm.js.map +0 -1
  995. package/dist/chunks/list-b8KnVn8t.cjs +0 -2
  996. package/dist/chunks/list-b8KnVn8t.cjs.map +0 -1
  997. package/dist/chunks/loading-spinner-C3pk_WU9.cjs +0 -2
  998. package/dist/chunks/loading-spinner-C3pk_WU9.cjs.map +0 -1
  999. package/dist/chunks/loading-spinner-DsXpoFis.esm.js +0 -47
  1000. package/dist/chunks/loading-spinner-DsXpoFis.esm.js.map +0 -1
  1001. package/dist/chunks/localized-field-CzQCIvHs.esm.js +0 -347
  1002. package/dist/chunks/localized-field-CzQCIvHs.esm.js.map +0 -1
  1003. package/dist/chunks/localized-field-DegXtAnL.cjs +0 -2
  1004. package/dist/chunks/localized-field-DegXtAnL.cjs.map +0 -1
  1005. package/dist/chunks/make-element-focusable-4iYuKY1I.cjs +0 -2
  1006. package/dist/chunks/make-element-focusable-4iYuKY1I.cjs.map +0 -1
  1007. package/dist/chunks/make-element-focusable-CtrOBsbi.esm.js +0 -15
  1008. package/dist/chunks/make-element-focusable-CtrOBsbi.esm.js.map +0 -1
  1009. package/dist/chunks/menu-jrF5Ptx9.cjs +0 -2
  1010. package/dist/chunks/menu-jrF5Ptx9.cjs.map +0 -1
  1011. package/dist/chunks/menu-pwmZfDTZ.esm.js +0 -174
  1012. package/dist/chunks/menu-pwmZfDTZ.esm.js.map +0 -1
  1013. package/dist/chunks/mergeProps-CTd2pucx.esm.js +0 -123
  1014. package/dist/chunks/mergeProps-CTd2pucx.esm.js.map +0 -1
  1015. package/dist/chunks/mergeProps-Dn9WJiIo.cjs +0 -2
  1016. package/dist/chunks/mergeProps-Dn9WJiIo.cjs.map +0 -1
  1017. package/dist/chunks/modal-page-B7Xc-rUa.cjs +0 -2
  1018. package/dist/chunks/modal-page-B7Xc-rUa.cjs.map +0 -1
  1019. package/dist/chunks/modal-page-BW2sYzxS.esm.js +0 -151
  1020. package/dist/chunks/modal-page-BW2sYzxS.esm.js.map +0 -1
  1021. package/dist/chunks/money-input-CC5CJZn0.esm.js +0 -480
  1022. package/dist/chunks/money-input-CC5CJZn0.esm.js.map +0 -1
  1023. package/dist/chunks/money-input-DD2Cge_e.cjs +0 -2
  1024. package/dist/chunks/money-input-DD2Cge_e.cjs.map +0 -1
  1025. package/dist/chunks/money-input-field-CVcxJwUb.esm.js +0 -35
  1026. package/dist/chunks/money-input-field-CVcxJwUb.esm.js.map +0 -1
  1027. package/dist/chunks/money-input-field-CaAvY-Wo.cjs +0 -2
  1028. package/dist/chunks/money-input-field-CaAvY-Wo.cjs.map +0 -1
  1029. package/dist/chunks/multiline-text-input-BfAD4wxd.esm.js +0 -98
  1030. package/dist/chunks/multiline-text-input-BfAD4wxd.esm.js.map +0 -1
  1031. package/dist/chunks/multiline-text-input-UMxlJ2ZB.cjs +0 -2
  1032. package/dist/chunks/multiline-text-input-UMxlJ2ZB.cjs.map +0 -1
  1033. package/dist/chunks/multiline-text-input-field-CZaEvkPl.cjs +0 -2
  1034. package/dist/chunks/multiline-text-input-field-CZaEvkPl.cjs.map +0 -1
  1035. package/dist/chunks/multiline-text-input-field-Dfv4TP0P.esm.js +0 -37
  1036. package/dist/chunks/multiline-text-input-field-Dfv4TP0P.esm.js.map +0 -1
  1037. package/dist/chunks/nimbus-provider-CEjRgWWr.cjs +0 -2
  1038. package/dist/chunks/nimbus-provider-CEjRgWWr.cjs.map +0 -1
  1039. package/dist/chunks/nimbus-provider-COPeeeHZ.esm.js +0 -171
  1040. package/dist/chunks/nimbus-provider-COPeeeHZ.esm.js.map +0 -1
  1041. package/dist/chunks/number-input-JaJwCiIu.cjs +0 -2
  1042. package/dist/chunks/number-input-JaJwCiIu.cjs.map +0 -1
  1043. package/dist/chunks/number-input-M_JQfPAP.esm.js +0 -762
  1044. package/dist/chunks/number-input-M_JQfPAP.esm.js.map +0 -1
  1045. package/dist/chunks/number-input-field-BJ_uZIue.cjs +0 -2
  1046. package/dist/chunks/number-input-field-BJ_uZIue.cjs.map +0 -1
  1047. package/dist/chunks/number-input-field-CNCkvNr-.esm.js +0 -35
  1048. package/dist/chunks/number-input-field-CNCkvNr-.esm.js.map +0 -1
  1049. package/dist/chunks/page-content-B3BqTS7B.esm.js +0 -40
  1050. package/dist/chunks/page-content-B3BqTS7B.esm.js.map +0 -1
  1051. package/dist/chunks/page-content-Be9Ywc68.cjs +0 -2
  1052. package/dist/chunks/page-content-Be9Ywc68.cjs.map +0 -1
  1053. package/dist/chunks/pagination-BARpmZHO.cjs +0 -2
  1054. package/dist/chunks/pagination-BARpmZHO.cjs.map +0 -1
  1055. package/dist/chunks/pagination-DfiuBjJD.esm.js +0 -235
  1056. package/dist/chunks/pagination-DfiuBjJD.esm.js.map +0 -1
  1057. package/dist/chunks/password-input-Bg1STdWr.cjs +0 -2
  1058. package/dist/chunks/password-input-Bg1STdWr.cjs.map +0 -1
  1059. package/dist/chunks/password-input-D_50TvKZ.esm.js +0 -52
  1060. package/dist/chunks/password-input-D_50TvKZ.esm.js.map +0 -1
  1061. package/dist/chunks/password-input-field-Bg-odHN7.cjs +0 -2
  1062. package/dist/chunks/password-input-field-Bg-odHN7.cjs.map +0 -1
  1063. package/dist/chunks/password-input-field-DNIBWu3U.esm.js +0 -37
  1064. package/dist/chunks/password-input-field-DNIBWu3U.esm.js.map +0 -1
  1065. package/dist/chunks/popover-CyQfCEgV.cjs +0 -2
  1066. package/dist/chunks/popover-CyQfCEgV.cjs.map +0 -1
  1067. package/dist/chunks/popover-DcZ3vI5W.esm.js +0 -13
  1068. package/dist/chunks/popover-DcZ3vI5W.esm.js.map +0 -1
  1069. package/dist/chunks/progress-bar-D6Jco84Q.esm.js +0 -63
  1070. package/dist/chunks/progress-bar-D6Jco84Q.esm.js.map +0 -1
  1071. package/dist/chunks/progress-bar-Dg2E1juM.cjs +0 -2
  1072. package/dist/chunks/progress-bar-Dg2E1juM.cjs.map +0 -1
  1073. package/dist/chunks/public-page-layout-C463XlLz.esm.js +0 -68
  1074. package/dist/chunks/public-page-layout-C463XlLz.esm.js.map +0 -1
  1075. package/dist/chunks/public-page-layout-CZR3jzIA.cjs +0 -2
  1076. package/dist/chunks/public-page-layout-CZR3jzIA.cjs.map +0 -1
  1077. package/dist/chunks/radio-input-DL2tFNQT.esm.js +0 -317
  1078. package/dist/chunks/radio-input-DL2tFNQT.esm.js.map +0 -1
  1079. package/dist/chunks/radio-input-DvPS8KHH.cjs +0 -2
  1080. package/dist/chunks/radio-input-DvPS8KHH.cjs.map +0 -1
  1081. package/dist/chunks/range-calendar-CJDv43mU.esm.js +0 -201
  1082. package/dist/chunks/range-calendar-CJDv43mU.esm.js.map +0 -1
  1083. package/dist/chunks/range-calendar-DmsFWNIO.cjs +0 -2
  1084. package/dist/chunks/range-calendar-DmsFWNIO.cjs.map +0 -1
  1085. package/dist/chunks/rich-text-input-BABMtjqp.cjs +0 -4
  1086. package/dist/chunks/rich-text-input-BABMtjqp.cjs.map +0 -1
  1087. package/dist/chunks/rich-text-input-TDcXg9oW.esm.js +0 -1109
  1088. package/dist/chunks/rich-text-input-TDcXg9oW.esm.js.map +0 -1
  1089. package/dist/chunks/runAfterTransition-C1LnO1VG.esm.js +0 -37
  1090. package/dist/chunks/runAfterTransition-C1LnO1VG.esm.js.map +0 -1
  1091. package/dist/chunks/runAfterTransition-D5Kxe1aM.cjs +0 -2
  1092. package/dist/chunks/runAfterTransition-D5Kxe1aM.cjs.map +0 -1
  1093. package/dist/chunks/scoped-search-input-CV_SPsUF.cjs +0 -2
  1094. package/dist/chunks/scoped-search-input-CV_SPsUF.cjs.map +0 -1
  1095. package/dist/chunks/scoped-search-input-CsYPKUGq.esm.js +0 -129
  1096. package/dist/chunks/scoped-search-input-CsYPKUGq.esm.js.map +0 -1
  1097. package/dist/chunks/search-input-BV7ZZbej.cjs +0 -2
  1098. package/dist/chunks/search-input-BV7ZZbej.cjs.map +0 -1
  1099. package/dist/chunks/search-input-CCnKnpA8.esm.js +0 -348
  1100. package/dist/chunks/search-input-CCnKnpA8.esm.js.map +0 -1
  1101. package/dist/chunks/select-Bt7xRJe6.esm.js +0 -600
  1102. package/dist/chunks/select-Bt7xRJe6.esm.js.map +0 -1
  1103. package/dist/chunks/select-Cvy5bDWE.cjs +0 -2
  1104. package/dist/chunks/select-Cvy5bDWE.cjs.map +0 -1
  1105. package/dist/chunks/separator-BPi3dkvY.esm.js +0 -29
  1106. package/dist/chunks/separator-BPi3dkvY.esm.js.map +0 -1
  1107. package/dist/chunks/separator-DUR0ZAHq.cjs +0 -2
  1108. package/dist/chunks/separator-DUR0ZAHq.cjs.map +0 -1
  1109. package/dist/chunks/split-button-CPMdmhlS.cjs +0 -2
  1110. package/dist/chunks/split-button-CPMdmhlS.cjs.map +0 -1
  1111. package/dist/chunks/split-button-DbRzRo1d.esm.js +0 -93
  1112. package/dist/chunks/split-button-DbRzRo1d.esm.js.map +0 -1
  1113. package/dist/chunks/steps-BIyyjnCO.esm.js +0 -253
  1114. package/dist/chunks/steps-BIyyjnCO.esm.js.map +0 -1
  1115. package/dist/chunks/steps-qCukp79w.cjs +0 -2
  1116. package/dist/chunks/steps-qCukp79w.cjs.map +0 -1
  1117. package/dist/chunks/switch-B40zs7b3.cjs +0 -2
  1118. package/dist/chunks/switch-B40zs7b3.cjs.map +0 -1
  1119. package/dist/chunks/switch-DUnMMQ9k.esm.js +0 -71
  1120. package/dist/chunks/switch-DUnMMQ9k.esm.js.map +0 -1
  1121. package/dist/chunks/tab-nav-Bf-4lwBT.esm.js +0 -66
  1122. package/dist/chunks/tab-nav-Bf-4lwBT.esm.js.map +0 -1
  1123. package/dist/chunks/tab-nav-CDmAZrUm.cjs +0 -2
  1124. package/dist/chunks/tab-nav-CDmAZrUm.cjs.map +0 -1
  1125. package/dist/chunks/table-Biq3wlG3.cjs +0 -2
  1126. package/dist/chunks/table-Biq3wlG3.cjs.map +0 -1
  1127. package/dist/chunks/table-CuUckWil.esm.js +0 -62
  1128. package/dist/chunks/table-CuUckWil.esm.js.map +0 -1
  1129. package/dist/chunks/tabs-BSCKvYF4.esm.js +0 -444
  1130. package/dist/chunks/tabs-BSCKvYF4.esm.js.map +0 -1
  1131. package/dist/chunks/tabs-DdJNfY_H.cjs +0 -2
  1132. package/dist/chunks/tabs-DdJNfY_H.cjs.map +0 -1
  1133. package/dist/chunks/tag-group-BaCLsXs9.esm.js +0 -557
  1134. package/dist/chunks/tag-group-BaCLsXs9.esm.js.map +0 -1
  1135. package/dist/chunks/tag-group-a7PSBwHY.cjs +0 -2
  1136. package/dist/chunks/tag-group-a7PSBwHY.cjs.map +0 -1
  1137. package/dist/chunks/text-BKasY2HZ.esm.js +0 -18
  1138. package/dist/chunks/text-BKasY2HZ.esm.js.map +0 -1
  1139. package/dist/chunks/text-C6qhggY6.cjs +0 -2
  1140. package/dist/chunks/text-C6qhggY6.cjs.map +0 -1
  1141. package/dist/chunks/text-input-Ds22OAx0.cjs +0 -2
  1142. package/dist/chunks/text-input-Ds22OAx0.cjs.map +0 -1
  1143. package/dist/chunks/text-input-Gixw5M7K.esm.js +0 -61
  1144. package/dist/chunks/text-input-Gixw5M7K.esm.js.map +0 -1
  1145. package/dist/chunks/textSelection-51ZSWko4.cjs +0 -2
  1146. package/dist/chunks/textSelection-51ZSWko4.cjs.map +0 -1
  1147. package/dist/chunks/textSelection-CshRbGDm.esm.js +0 -37
  1148. package/dist/chunks/textSelection-CshRbGDm.esm.js.map +0 -1
  1149. package/dist/chunks/time-input-BapCRYyt.esm.js +0 -33
  1150. package/dist/chunks/time-input-BapCRYyt.esm.js.map +0 -1
  1151. package/dist/chunks/time-input-WWWO4xnu.cjs +0 -2
  1152. package/dist/chunks/time-input-WWWO4xnu.cjs.map +0 -1
  1153. package/dist/chunks/toast.outlet-3WssXdXV.cjs +0 -2
  1154. package/dist/chunks/toast.outlet-3WssXdXV.cjs.map +0 -1
  1155. package/dist/chunks/toast.outlet-BBa0AssH.esm.js +0 -99
  1156. package/dist/chunks/toast.outlet-BBa0AssH.esm.js.map +0 -1
  1157. package/dist/chunks/toggle-button-BilQJUt_.esm.js +0 -30
  1158. package/dist/chunks/toggle-button-BilQJUt_.esm.js.map +0 -1
  1159. package/dist/chunks/toggle-button-CBBsErUZ.cjs +0 -2
  1160. package/dist/chunks/toggle-button-CBBsErUZ.cjs.map +0 -1
  1161. package/dist/chunks/toggle-button-group-CJlATMdU.esm.js +0 -34
  1162. package/dist/chunks/toggle-button-group-CJlATMdU.esm.js.map +0 -1
  1163. package/dist/chunks/toggle-button-group-CqOe4JTG.cjs +0 -2
  1164. package/dist/chunks/toggle-button-group-CqOe4JTG.cjs.map +0 -1
  1165. package/dist/chunks/toolbar-DGpp3f_b.esm.js +0 -45
  1166. package/dist/chunks/toolbar-DGpp3f_b.esm.js.map +0 -1
  1167. package/dist/chunks/toolbar-p4kqwOk3.cjs +0 -2
  1168. package/dist/chunks/toolbar-p4kqwOk3.cjs.map +0 -1
  1169. package/dist/chunks/tooltip-Bw6cJssZ.esm.js +0 -242
  1170. package/dist/chunks/tooltip-Bw6cJssZ.esm.js.map +0 -1
  1171. package/dist/chunks/tooltip-N5Np5zWx.cjs +0 -2
  1172. package/dist/chunks/tooltip-N5Np5zWx.cjs.map +0 -1
  1173. package/dist/chunks/use-responsive-splitter-sizes-9vsaSgGW.cjs +0 -2
  1174. package/dist/chunks/use-responsive-splitter-sizes-9vsaSgGW.cjs.map +0 -1
  1175. package/dist/chunks/use-responsive-splitter-sizes-BJq3vm0x.esm.js +0 -581
  1176. package/dist/chunks/use-responsive-splitter-sizes-BJq3vm0x.esm.js.map +0 -1
  1177. package/dist/chunks/useButton-1qepM1if.cjs +0 -2
  1178. package/dist/chunks/useButton-1qepM1if.cjs.map +0 -1
  1179. package/dist/chunks/useButton-C-yW56Xt.esm.js +0 -56
  1180. package/dist/chunks/useButton-C-yW56Xt.esm.js.map +0 -1
  1181. package/dist/chunks/useCollection-CyuMxcH0.cjs +0 -2
  1182. package/dist/chunks/useCollection-CyuMxcH0.cjs.map +0 -1
  1183. package/dist/chunks/useCollection-DhquvReo.esm.js +0 -932
  1184. package/dist/chunks/useCollection-DhquvReo.esm.js.map +0 -1
  1185. package/dist/chunks/useDescription-CF488fhz.esm.js +0 -101
  1186. package/dist/chunks/useDescription-CF488fhz.esm.js.map +0 -1
  1187. package/dist/chunks/useDescription-g_UWeA2S.cjs +0 -2
  1188. package/dist/chunks/useDescription-g_UWeA2S.cjs.map +0 -1
  1189. package/dist/chunks/useDisclosureState-DQteiPqP.cjs +0 -2
  1190. package/dist/chunks/useDisclosureState-DQteiPqP.cjs.map +0 -1
  1191. package/dist/chunks/useDisclosureState-gAiRfkFm.esm.js +0 -75
  1192. package/dist/chunks/useDisclosureState-gAiRfkFm.esm.js.map +0 -1
  1193. package/dist/chunks/useEffectEvent-CuoGVXDr.esm.js +0 -17
  1194. package/dist/chunks/useEffectEvent-CuoGVXDr.esm.js.map +0 -1
  1195. package/dist/chunks/useEffectEvent-HilBPFXW.cjs +0 -2
  1196. package/dist/chunks/useEffectEvent-HilBPFXW.cjs.map +0 -1
  1197. package/dist/chunks/useEvent-B4PMu0ym.esm.js +0 -22
  1198. package/dist/chunks/useEvent-B4PMu0ym.esm.js.map +0 -1
  1199. package/dist/chunks/useEvent-D6GxlgDB.cjs +0 -2
  1200. package/dist/chunks/useEvent-D6GxlgDB.cjs.map +0 -1
  1201. package/dist/chunks/useField-DWMBpSnc.esm.js +0 -30
  1202. package/dist/chunks/useField-DWMBpSnc.esm.js.map +0 -1
  1203. package/dist/chunks/useField-DX61qaC-.cjs +0 -2
  1204. package/dist/chunks/useField-DX61qaC-.cjs.map +0 -1
  1205. package/dist/chunks/useFocus-DeuPzolg.cjs +0 -2
  1206. package/dist/chunks/useFocus-DeuPzolg.cjs.map +0 -1
  1207. package/dist/chunks/useFocus-ND4OMjkk.esm.js +0 -23
  1208. package/dist/chunks/useFocus-ND4OMjkk.esm.js.map +0 -1
  1209. package/dist/chunks/useFocusRing-Bh1_4eDl.esm.js +0 -35
  1210. package/dist/chunks/useFocusRing-Bh1_4eDl.esm.js.map +0 -1
  1211. package/dist/chunks/useFocusRing-DqXC9dNE.cjs +0 -2
  1212. package/dist/chunks/useFocusRing-DqXC9dNE.cjs.map +0 -1
  1213. package/dist/chunks/useFocusVisible-BfDDM1mA.cjs +0 -2
  1214. package/dist/chunks/useFocusVisible-BfDDM1mA.cjs.map +0 -1
  1215. package/dist/chunks/useFocusVisible-CQrATqhN.esm.js +0 -228
  1216. package/dist/chunks/useFocusVisible-CQrATqhN.esm.js.map +0 -1
  1217. package/dist/chunks/useFocusWithin-CLa2WKwu.esm.js +0 -45
  1218. package/dist/chunks/useFocusWithin-CLa2WKwu.esm.js.map +0 -1
  1219. package/dist/chunks/useFocusWithin-Sx44kOqQ.cjs +0 -2
  1220. package/dist/chunks/useFocusWithin-Sx44kOqQ.cjs.map +0 -1
  1221. package/dist/chunks/useFocusable-7j6FzTIe.esm.js +0 -70
  1222. package/dist/chunks/useFocusable-7j6FzTIe.esm.js.map +0 -1
  1223. package/dist/chunks/useFocusable-COChraQ7.cjs +0 -2
  1224. package/dist/chunks/useFocusable-COChraQ7.cjs.map +0 -1
  1225. package/dist/chunks/useFormValidation-BI97dCe0.cjs +0 -2
  1226. package/dist/chunks/useFormValidation-BI97dCe0.cjs.map +0 -1
  1227. package/dist/chunks/useFormValidation-DBXffqmk.esm.js +0 -182
  1228. package/dist/chunks/useFormValidation-DBXffqmk.esm.js.map +0 -1
  1229. package/dist/chunks/useGridListItem-CiWgn3v1.esm.js +0 -832
  1230. package/dist/chunks/useGridListItem-CiWgn3v1.esm.js.map +0 -1
  1231. package/dist/chunks/useGridListItem-D4G1fZ8I.cjs +0 -2
  1232. package/dist/chunks/useGridListItem-D4G1fZ8I.cjs.map +0 -1
  1233. package/dist/chunks/useHasTabbableChild-CbQzzfHg.cjs +0 -2
  1234. package/dist/chunks/useHasTabbableChild-CbQzzfHg.cjs.map +0 -1
  1235. package/dist/chunks/useHasTabbableChild-UJBIkaB8.esm.js +0 -28
  1236. package/dist/chunks/useHasTabbableChild-UJBIkaB8.esm.js.map +0 -1
  1237. package/dist/chunks/useHover-DtdWXyOS.esm.js +0 -81
  1238. package/dist/chunks/useHover-DtdWXyOS.esm.js.map +0 -1
  1239. package/dist/chunks/useHover-v88a5Dw7.cjs +0 -2
  1240. package/dist/chunks/useHover-v88a5Dw7.cjs.map +0 -1
  1241. package/dist/chunks/useLabel-BDgLhUfv.esm.js +0 -25
  1242. package/dist/chunks/useLabel-BDgLhUfv.esm.js.map +0 -1
  1243. package/dist/chunks/useLabel-CiOnnTTR.cjs +0 -2
  1244. package/dist/chunks/useLabel-CiOnnTTR.cjs.map +0 -1
  1245. package/dist/chunks/useLabels-Bm6Fln8X.esm.js +0 -14
  1246. package/dist/chunks/useLabels-Bm6Fln8X.esm.js.map +0 -1
  1247. package/dist/chunks/useLabels-ChR8kgMh.cjs +0 -2
  1248. package/dist/chunks/useLabels-ChR8kgMh.cjs.map +0 -1
  1249. package/dist/chunks/useLink-Bw0Afvka.cjs +0 -2
  1250. package/dist/chunks/useLink-Bw0Afvka.cjs.map +0 -1
  1251. package/dist/chunks/useLink-o_p3seZM.esm.js +0 -37
  1252. package/dist/chunks/useLink-o_p3seZM.esm.js.map +0 -1
  1253. package/dist/chunks/useListState-BQrBk-Ha.esm.js +0 -106
  1254. package/dist/chunks/useListState-BQrBk-Ha.esm.js.map +0 -1
  1255. package/dist/chunks/useListState-DctTA7cp.cjs +0 -2
  1256. package/dist/chunks/useListState-DctTA7cp.cjs.map +0 -1
  1257. package/dist/chunks/useMove-CKtoeQq7.esm.js +0 -153
  1258. package/dist/chunks/useMove-CKtoeQq7.esm.js.map +0 -1
  1259. package/dist/chunks/useMove-voFmwUJO.cjs +0 -2
  1260. package/dist/chunks/useMove-voFmwUJO.cjs.map +0 -1
  1261. package/dist/chunks/useOverlayTriggerState-CuS-a6-U.esm.js +0 -379
  1262. package/dist/chunks/useOverlayTriggerState-CuS-a6-U.esm.js.map +0 -1
  1263. package/dist/chunks/useOverlayTriggerState-MlMwvhfw.cjs +0 -2
  1264. package/dist/chunks/useOverlayTriggerState-MlMwvhfw.cjs.map +0 -1
  1265. package/dist/chunks/usePress-0wEK9Q5X.cjs +0 -8
  1266. package/dist/chunks/usePress-0wEK9Q5X.cjs.map +0 -1
  1267. package/dist/chunks/usePress-BdMPXAjQ.esm.js +0 -404
  1268. package/dist/chunks/usePress-BdMPXAjQ.esm.js.map +0 -1
  1269. package/dist/chunks/useProgressBar-B2JcxrRE.cjs +0 -2
  1270. package/dist/chunks/useProgressBar-B2JcxrRE.cjs.map +0 -1
  1271. package/dist/chunks/useProgressBar-Cs9FM9Vl.esm.js +0 -41
  1272. package/dist/chunks/useProgressBar-Cs9FM9Vl.esm.js.map +0 -1
  1273. package/dist/chunks/useSlot-CiJpBOs_.cjs +0 -2
  1274. package/dist/chunks/useSlot-CiJpBOs_.cjs.map +0 -1
  1275. package/dist/chunks/useSlot-D9hdVA7_.esm.js +0 -22
  1276. package/dist/chunks/useSlot-D9hdVA7_.esm.js.map +0 -1
  1277. package/dist/chunks/useSpinButton-BTA1RvHA.esm.js +0 -423
  1278. package/dist/chunks/useSpinButton-BTA1RvHA.esm.js.map +0 -1
  1279. package/dist/chunks/useSpinButton-DaeCx-4M.cjs +0 -2
  1280. package/dist/chunks/useSpinButton-DaeCx-4M.cjs.map +0 -1
  1281. package/dist/chunks/useSyncRef-BJYOq06x.cjs +0 -2
  1282. package/dist/chunks/useSyncRef-BJYOq06x.cjs.map +0 -1
  1283. package/dist/chunks/useSyncRef-C57-8k45.esm.js +0 -13
  1284. package/dist/chunks/useSyncRef-C57-8k45.esm.js.map +0 -1
  1285. package/dist/chunks/useTextField-D7aO2nuK.esm.js +0 -70
  1286. package/dist/chunks/useTextField-D7aO2nuK.esm.js.map +0 -1
  1287. package/dist/chunks/useTextField-DrzjT8wB.cjs +0 -2
  1288. package/dist/chunks/useTextField-DrzjT8wB.cjs.map +0 -1
  1289. package/dist/chunks/useToggle-B19jz5hx.esm.js +0 -101
  1290. package/dist/chunks/useToggle-B19jz5hx.esm.js.map +0 -1
  1291. package/dist/chunks/useToggle-BcTXyf_L.cjs +0 -2
  1292. package/dist/chunks/useToggle-BcTXyf_L.cjs.map +0 -1
  1293. package/dist/chunks/useToolbar-BjHJck0G.esm.js +0 -42
  1294. package/dist/chunks/useToolbar-BjHJck0G.esm.js.map +0 -1
  1295. package/dist/chunks/useToolbar-CdRaWAk4.cjs +0 -2
  1296. package/dist/chunks/useToolbar-CdRaWAk4.cjs.map +0 -1
  1297. package/dist/chunks/useUpdateEffect-CZ_44U91.cjs +0 -2
  1298. package/dist/chunks/useUpdateEffect-CZ_44U91.cjs.map +0 -1
  1299. package/dist/chunks/useUpdateEffect-CdjI94Qk.esm.js +0 -16
  1300. package/dist/chunks/useUpdateEffect-CdjI94Qk.esm.js.map +0 -1
  1301. package/dist/chunks/utils-Bz3umeC2.cjs +0 -2
  1302. package/dist/chunks/utils-Bz3umeC2.cjs.map +0 -1
  1303. package/dist/chunks/utils-C3WnIiIP.cjs +0 -2
  1304. package/dist/chunks/utils-C3WnIiIP.cjs.map +0 -1
  1305. package/dist/chunks/utils-CZ0yNo7D.esm.js +0 -209
  1306. package/dist/chunks/utils-CZ0yNo7D.esm.js.map +0 -1
  1307. package/dist/chunks/utils-fV6_MPu5.esm.js +0 -108
  1308. package/dist/chunks/utils-fV6_MPu5.esm.js.map +0 -1
  1309. package/dist/chunks/visually-hidden-BzVdP5ZC.cjs +0 -2
  1310. package/dist/chunks/visually-hidden-BzVdP5ZC.cjs.map +0 -1
  1311. package/dist/chunks/visually-hidden-D2q0M5DH.esm.js +0 -15
  1312. package/dist/chunks/visually-hidden-D2q0M5DH.esm.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hooks-BjqA_jfh.esm.js","names":[],"sources":["../../../../node_modules/.pnpm/dompurify@3.4.11/node_modules/dompurify/dist/purify.es.mjs","../../src/components/inline-svg/utils/sanitize-svg.ts","../../src/components/inline-svg/hooks/use-inline-svg.ts"],"sourcesContent":["/*! @license DOMPurify 3.4.11 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.11/LICENSE */\n\nfunction _arrayLikeToArray(r, a) {\n (null == a || a > r.length) && (a = r.length);\n for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];\n return n;\n}\nfunction _arrayWithHoles(r) {\n if (Array.isArray(r)) return r;\n}\nfunction _iterableToArrayLimit(r, l) {\n var t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"];\n if (null != t) {\n var e,\n n,\n i,\n u,\n a = [],\n f = true,\n o = false;\n try {\n if (i = (t = t.call(r)).next, 0 === l) ; else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);\n } catch (r) {\n o = true, n = r;\n } finally {\n try {\n if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return;\n } finally {\n if (o) throw n;\n }\n }\n return a;\n }\n}\nfunction _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\nfunction _slicedToArray(r, e) {\n return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();\n}\nfunction _unsupportedIterableToArray(r, a) {\n if (r) {\n if (\"string\" == typeof r) return _arrayLikeToArray(r, a);\n var t = {}.toString.call(r).slice(8, -1);\n return \"Object\" === t && r.constructor && (t = r.constructor.name), \"Map\" === t || \"Set\" === t ? Array.from(r) : \"Arguments\" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;\n }\n}\n\nconst entries = Object.entries,\n setPrototypeOf = Object.setPrototypeOf,\n isFrozen = Object.isFrozen,\n getPrototypeOf = Object.getPrototypeOf,\n getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nlet freeze = Object.freeze,\n seal = Object.seal,\n create = Object.create; // eslint-disable-line import/no-mutable-exports\nlet _ref = typeof Reflect !== 'undefined' && Reflect,\n apply = _ref.apply,\n construct = _ref.construct;\nif (!freeze) {\n freeze = function freeze(x) {\n return x;\n };\n}\nif (!seal) {\n seal = function seal(x) {\n return x;\n };\n}\nif (!apply) {\n apply = function apply(func, thisArg) {\n for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n args[_key - 2] = arguments[_key];\n }\n return func.apply(thisArg, args);\n };\n}\nif (!construct) {\n construct = function construct(Func) {\n for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n args[_key2 - 1] = arguments[_key2];\n }\n return new Func(...args);\n };\n}\nconst arrayForEach = unapply(Array.prototype.forEach);\nconst arrayLastIndexOf = unapply(Array.prototype.lastIndexOf);\nconst arrayPop = unapply(Array.prototype.pop);\nconst arrayPush = unapply(Array.prototype.push);\nconst arraySplice = unapply(Array.prototype.splice);\nconst arrayIsArray = Array.isArray;\nconst stringToLowerCase = unapply(String.prototype.toLowerCase);\nconst stringToString = unapply(String.prototype.toString);\nconst stringMatch = unapply(String.prototype.match);\nconst stringReplace = unapply(String.prototype.replace);\nconst stringIndexOf = unapply(String.prototype.indexOf);\nconst stringTrim = unapply(String.prototype.trim);\nconst numberToString = unapply(Number.prototype.toString);\nconst booleanToString = unapply(Boolean.prototype.toString);\nconst bigintToString = typeof BigInt === 'undefined' ? null : unapply(BigInt.prototype.toString);\nconst symbolToString = typeof Symbol === 'undefined' ? null : unapply(Symbol.prototype.toString);\nconst objectHasOwnProperty = unapply(Object.prototype.hasOwnProperty);\nconst objectToString = unapply(Object.prototype.toString);\nconst regExpTest = unapply(RegExp.prototype.test);\nconst typeErrorCreate = unconstruct(TypeError);\n/**\n * Creates a new function that calls the given function with a specified thisArg and arguments.\n *\n * @param func - The function to be wrapped and called.\n * @returns A new function that calls the given function with a specified thisArg and arguments.\n */\nfunction unapply(func) {\n return function (thisArg) {\n if (thisArg instanceof RegExp) {\n thisArg.lastIndex = 0;\n }\n for (var _len3 = arguments.length, args = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {\n args[_key3 - 1] = arguments[_key3];\n }\n return apply(func, thisArg, args);\n };\n}\n/**\n * Creates a new function that constructs an instance of the given constructor function with the provided arguments.\n *\n * @param func - The constructor function to be wrapped and called.\n * @returns A new function that constructs an instance of the given constructor function with the provided arguments.\n */\nfunction unconstruct(Func) {\n return function () {\n for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {\n args[_key4] = arguments[_key4];\n }\n return construct(Func, args);\n };\n}\n/**\n * Add properties to a lookup table\n *\n * @param set - The set to which elements will be added.\n * @param array - The array containing elements to be added to the set.\n * @param transformCaseFunc - An optional function to transform the case of each element before adding to the set.\n * @returns The modified set with added elements.\n */\nfunction addToSet(set, array) {\n let transformCaseFunc = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : stringToLowerCase;\n if (setPrototypeOf) {\n // Make 'in' and truthy checks like Boolean(set.constructor)\n // independent of any properties defined on Object.prototype.\n // Prevent prototype setters from intercepting set as a this value.\n setPrototypeOf(set, null);\n }\n if (!arrayIsArray(array)) {\n return set;\n }\n let l = array.length;\n while (l--) {\n let element = array[l];\n if (typeof element === 'string') {\n const lcElement = transformCaseFunc(element);\n if (lcElement !== element) {\n // Config presets (e.g. tags.js, attrs.js) are immutable.\n if (!isFrozen(array)) {\n array[l] = lcElement;\n }\n element = lcElement;\n }\n }\n set[element] = true;\n }\n return set;\n}\n/**\n * Clean up an array to harden against CSPP\n *\n * @param array - The array to be cleaned.\n * @returns The cleaned version of the array\n */\nfunction cleanArray(array) {\n for (let index = 0; index < array.length; index++) {\n const isPropertyExist = objectHasOwnProperty(array, index);\n if (!isPropertyExist) {\n array[index] = null;\n }\n }\n return array;\n}\n/**\n * Shallow clone an object\n *\n * @param object - The object to be cloned.\n * @returns A new object that copies the original.\n */\nfunction clone(object) {\n const newObject = create(null);\n for (const _ref2 of entries(object)) {\n var _ref3 = _slicedToArray(_ref2, 2);\n const property = _ref3[0];\n const value = _ref3[1];\n const isPropertyExist = objectHasOwnProperty(object, property);\n if (isPropertyExist) {\n if (arrayIsArray(value)) {\n newObject[property] = cleanArray(value);\n } else if (value && typeof value === 'object' && value.constructor === Object) {\n newObject[property] = clone(value);\n } else {\n newObject[property] = value;\n }\n }\n }\n return newObject;\n}\n/**\n * Convert non-node values into strings without depending on direct property access.\n *\n * @param value - The value to stringify.\n * @returns A string representation of the provided value.\n */\nfunction stringifyValue(value) {\n switch (typeof value) {\n case 'string':\n {\n return value;\n }\n case 'number':\n {\n return numberToString(value);\n }\n case 'boolean':\n {\n return booleanToString(value);\n }\n case 'bigint':\n {\n return bigintToString ? bigintToString(value) : '0';\n }\n case 'symbol':\n {\n return symbolToString ? symbolToString(value) : 'Symbol()';\n }\n case 'undefined':\n {\n return objectToString(value);\n }\n case 'function':\n case 'object':\n {\n if (value === null) {\n return objectToString(value);\n }\n const valueAsRecord = value;\n const valueToString = lookupGetter(valueAsRecord, 'toString');\n if (typeof valueToString === 'function') {\n const stringified = valueToString(valueAsRecord);\n return typeof stringified === 'string' ? stringified : objectToString(stringified);\n }\n return objectToString(value);\n }\n default:\n {\n return objectToString(value);\n }\n }\n}\n/**\n * This method automatically checks if the prop is function or getter and behaves accordingly.\n *\n * @param object - The object to look up the getter function in its prototype chain.\n * @param prop - The property name for which to find the getter function.\n * @returns The getter function found in the prototype chain or a fallback function.\n */\nfunction lookupGetter(object, prop) {\n while (object !== null) {\n const desc = getOwnPropertyDescriptor(object, prop);\n if (desc) {\n if (desc.get) {\n return unapply(desc.get);\n }\n if (typeof desc.value === 'function') {\n return unapply(desc.value);\n }\n }\n object = getPrototypeOf(object);\n }\n function fallbackValue() {\n return null;\n }\n return fallbackValue;\n}\nfunction isRegex(value) {\n try {\n regExpTest(value, '');\n return true;\n } catch (_unused) {\n return false;\n }\n}\n\nconst html$1 = freeze(['a', 'abbr', 'acronym', 'address', 'area', 'article', 'aside', 'audio', 'b', 'bdi', 'bdo', 'big', 'blink', 'blockquote', 'body', 'br', 'button', 'canvas', 'caption', 'center', 'cite', 'code', 'col', 'colgroup', 'content', 'data', 'datalist', 'dd', 'decorator', 'del', 'details', 'dfn', 'dialog', 'dir', 'div', 'dl', 'dt', 'element', 'em', 'fieldset', 'figcaption', 'figure', 'font', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'i', 'img', 'input', 'ins', 'kbd', 'label', 'legend', 'li', 'main', 'map', 'mark', 'marquee', 'menu', 'menuitem', 'meter', 'nav', 'nobr', 'ol', 'optgroup', 'option', 'output', 'p', 'picture', 'pre', 'progress', 'q', 'rp', 'rt', 'ruby', 's', 'samp', 'search', 'section', 'select', 'shadow', 'slot', 'small', 'source', 'spacer', 'span', 'strike', 'strong', 'style', 'sub', 'summary', 'sup', 'table', 'tbody', 'td', 'template', 'textarea', 'tfoot', 'th', 'thead', 'time', 'tr', 'track', 'tt', 'u', 'ul', 'var', 'video', 'wbr']);\nconst svg$1 = freeze(['svg', 'a', 'altglyph', 'altglyphdef', 'altglyphitem', 'animatecolor', 'animatemotion', 'animatetransform', 'circle', 'clippath', 'defs', 'desc', 'ellipse', 'enterkeyhint', 'exportparts', 'filter', 'font', 'g', 'glyph', 'glyphref', 'hkern', 'image', 'inputmode', 'line', 'lineargradient', 'marker', 'mask', 'metadata', 'mpath', 'part', 'path', 'pattern', 'polygon', 'polyline', 'radialgradient', 'rect', 'stop', 'style', 'switch', 'symbol', 'text', 'textpath', 'title', 'tref', 'tspan', 'view', 'vkern']);\nconst svgFilters = freeze(['feBlend', 'feColorMatrix', 'feComponentTransfer', 'feComposite', 'feConvolveMatrix', 'feDiffuseLighting', 'feDisplacementMap', 'feDistantLight', 'feDropShadow', 'feFlood', 'feFuncA', 'feFuncB', 'feFuncG', 'feFuncR', 'feGaussianBlur', 'feImage', 'feMerge', 'feMergeNode', 'feMorphology', 'feOffset', 'fePointLight', 'feSpecularLighting', 'feSpotLight', 'feTile', 'feTurbulence']);\n// List of SVG elements that are disallowed by default.\n// We still need to know them so that we can do namespace\n// checks properly in case one wants to add them to\n// allow-list.\nconst svgDisallowed = freeze(['animate', 'color-profile', 'cursor', 'discard', 'font-face', 'font-face-format', 'font-face-name', 'font-face-src', 'font-face-uri', 'foreignobject', 'hatch', 'hatchpath', 'mesh', 'meshgradient', 'meshpatch', 'meshrow', 'missing-glyph', 'script', 'set', 'solidcolor', 'unknown', 'use']);\nconst mathMl$1 = freeze(['math', 'menclose', 'merror', 'mfenced', 'mfrac', 'mglyph', 'mi', 'mlabeledtr', 'mmultiscripts', 'mn', 'mo', 'mover', 'mpadded', 'mphantom', 'mroot', 'mrow', 'ms', 'mspace', 'msqrt', 'mstyle', 'msub', 'msup', 'msubsup', 'mtable', 'mtd', 'mtext', 'mtr', 'munder', 'munderover', 'mprescripts']);\n// Similarly to SVG, we want to know all MathML elements,\n// even those that we disallow by default.\nconst mathMlDisallowed = freeze(['maction', 'maligngroup', 'malignmark', 'mlongdiv', 'mscarries', 'mscarry', 'msgroup', 'mstack', 'msline', 'msrow', 'semantics', 'annotation', 'annotation-xml', 'mprescripts', 'none']);\nconst text = freeze(['#text']);\n\nconst html = freeze(['accept', 'action', 'align', 'alt', 'autocapitalize', 'autocomplete', 'autopictureinpicture', 'autoplay', 'background', 'bgcolor', 'border', 'capture', 'cellpadding', 'cellspacing', 'checked', 'cite', 'class', 'clear', 'color', 'cols', 'colspan', 'command', 'commandfor', 'controls', 'controlslist', 'coords', 'crossorigin', 'datetime', 'decoding', 'default', 'dir', 'disabled', 'disablepictureinpicture', 'disableremoteplayback', 'download', 'draggable', 'enctype', 'enterkeyhint', 'exportparts', 'face', 'for', 'headers', 'height', 'hidden', 'high', 'href', 'hreflang', 'id', 'inert', 'inputmode', 'integrity', 'ismap', 'kind', 'label', 'lang', 'list', 'loading', 'loop', 'low', 'max', 'maxlength', 'media', 'method', 'min', 'minlength', 'multiple', 'muted', 'name', 'nonce', 'noshade', 'novalidate', 'nowrap', 'open', 'optimum', 'part', 'pattern', 'placeholder', 'playsinline', 'popover', 'popovertarget', 'popovertargetaction', 'poster', 'preload', 'pubdate', 'radiogroup', 'readonly', 'rel', 'required', 'rev', 'reversed', 'role', 'rows', 'rowspan', 'spellcheck', 'scope', 'selected', 'shape', 'size', 'sizes', 'slot', 'span', 'srclang', 'start', 'src', 'srcset', 'step', 'style', 'summary', 'tabindex', 'title', 'translate', 'type', 'usemap', 'valign', 'value', 'width', 'wrap', 'xmlns']);\nconst svg = freeze(['accent-height', 'accumulate', 'additive', 'alignment-baseline', 'amplitude', 'ascent', 'attributename', 'attributetype', 'azimuth', 'basefrequency', 'baseline-shift', 'begin', 'bias', 'by', 'class', 'clip', 'clippathunits', 'clip-path', 'clip-rule', 'color', 'color-interpolation', 'color-interpolation-filters', 'color-profile', 'color-rendering', 'cx', 'cy', 'd', 'dx', 'dy', 'diffuseconstant', 'direction', 'display', 'divisor', 'dur', 'edgemode', 'elevation', 'end', 'exponent', 'fill', 'fill-opacity', 'fill-rule', 'filter', 'filterunits', 'flood-color', 'flood-opacity', 'font-family', 'font-size', 'font-size-adjust', 'font-stretch', 'font-style', 'font-variant', 'font-weight', 'fx', 'fy', 'g1', 'g2', 'glyph-name', 'glyphref', 'gradientunits', 'gradienttransform', 'height', 'href', 'id', 'image-rendering', 'in', 'in2', 'intercept', 'k', 'k1', 'k2', 'k3', 'k4', 'kerning', 'keypoints', 'keysplines', 'keytimes', 'lang', 'lengthadjust', 'letter-spacing', 'kernelmatrix', 'kernelunitlength', 'lighting-color', 'local', 'marker-end', 'marker-mid', 'marker-start', 'markerheight', 'markerunits', 'markerwidth', 'maskcontentunits', 'maskunits', 'max', 'mask', 'mask-type', 'media', 'method', 'mode', 'min', 'name', 'numoctaves', 'offset', 'operator', 'opacity', 'order', 'orient', 'orientation', 'origin', 'overflow', 'paint-order', 'path', 'pathlength', 'patterncontentunits', 'patterntransform', 'patternunits', 'points', 'preservealpha', 'preserveaspectratio', 'primitiveunits', 'r', 'rx', 'ry', 'radius', 'refx', 'refy', 'repeatcount', 'repeatdur', 'restart', 'result', 'rotate', 'scale', 'seed', 'shape-rendering', 'slope', 'specularconstant', 'specularexponent', 'spreadmethod', 'startoffset', 'stddeviation', 'stitchtiles', 'stop-color', 'stop-opacity', 'stroke-dasharray', 'stroke-dashoffset', 'stroke-linecap', 'stroke-linejoin', 'stroke-miterlimit', 'stroke-opacity', 'stroke', 'stroke-width', 'style', 'surfacescale', 'systemlanguage', 'tabindex', 'tablevalues', 'targetx', 'targety', 'transform', 'transform-origin', 'text-anchor', 'text-decoration', 'text-rendering', 'textlength', 'type', 'u1', 'u2', 'unicode', 'values', 'viewbox', 'visibility', 'version', 'vert-adv-y', 'vert-origin-x', 'vert-origin-y', 'width', 'word-spacing', 'wrap', 'writing-mode', 'xchannelselector', 'ychannelselector', 'x', 'x1', 'x2', 'xmlns', 'y', 'y1', 'y2', 'z', 'zoomandpan']);\nconst mathMl = freeze(['accent', 'accentunder', 'align', 'bevelled', 'close', 'columnalign', 'columnlines', 'columnspacing', 'columnspan', 'denomalign', 'depth', 'dir', 'display', 'displaystyle', 'encoding', 'fence', 'frame', 'height', 'href', 'id', 'largeop', 'length', 'linethickness', 'lquote', 'lspace', 'mathbackground', 'mathcolor', 'mathsize', 'mathvariant', 'maxsize', 'minsize', 'movablelimits', 'notation', 'numalign', 'open', 'rowalign', 'rowlines', 'rowspacing', 'rowspan', 'rspace', 'rquote', 'scriptlevel', 'scriptminsize', 'scriptsizemultiplier', 'selection', 'separator', 'separators', 'stretchy', 'subscriptshift', 'supscriptshift', 'symmetric', 'voffset', 'width', 'xmlns']);\nconst xml = freeze(['xlink:href', 'xml:id', 'xlink:title', 'xml:space', 'xmlns:xlink']);\n\nconst MUSTACHE_EXPR = seal(/{{[\\w\\W]*|^[\\w\\W]*}}/g);\nconst ERB_EXPR = seal(/<%[\\w\\W]*|^[\\w\\W]*%>/g);\nconst TMPLIT_EXPR = seal(/\\${[\\w\\W]*/g);\nconst DATA_ATTR = seal(/^data-[\\-\\w.\\u00B7-\\uFFFF]+$/); // eslint-disable-line no-useless-escape\nconst ARIA_ATTR = seal(/^aria-[\\-\\w]+$/); // eslint-disable-line no-useless-escape\nconst IS_ALLOWED_URI = seal(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\\-]+(?:[^a-z+.\\-:]|$))/i // eslint-disable-line no-useless-escape\n);\nconst IS_SCRIPT_OR_DATA = seal(/^(?:\\w+script|data):/i);\nconst ATTR_WHITESPACE = seal(/[\\u0000-\\u0020\\u00A0\\u1680\\u180E\\u2000-\\u2029\\u205F\\u3000]/g // eslint-disable-line no-control-regex\n);\nconst DOCTYPE_NAME = seal(/^html$/i);\nconst CUSTOM_ELEMENT = seal(/^[a-z][.\\w]*(-[.\\w]+)+$/i);\n// Markup-significant character probes used by _sanitizeElements.\n// Shared module-level instances are safe despite the sticky /g flags:\n// unapply() resets lastIndex for RegExp receivers before every call.\nconst ELEMENT_MARKUP_PROBE = seal(/<[/\\w!]/g);\nconst COMMENT_MARKUP_PROBE = seal(/<[/\\w]/g);\nconst FALLBACK_TAG_CLOSE = seal(/<\\/no(script|embed|frames)/i);\nconst SELF_CLOSING_TAG = seal(/\\/>/i);\n\n// https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeType\nconst NODE_TYPE = {\n element: 1,\n attribute: 2,\n text: 3,\n cdataSection: 4,\n entityReference: 5,\n // Deprecated\n entityNode: 6,\n // Deprecated\n processingInstruction: 7,\n comment: 8,\n document: 9,\n documentType: 10,\n documentFragment: 11,\n notation: 12 // Deprecated\n};\nconst getGlobal = function getGlobal() {\n return typeof window === 'undefined' ? null : window;\n};\n/**\n * Creates a no-op policy for internal use only.\n * Don't export this function outside this module!\n * @param trustedTypes The policy factory.\n * @param purifyHostElement The Script element used to load DOMPurify (to determine policy name suffix).\n * @return The policy created (or null, if Trusted Types\n * are not supported or creating the policy failed).\n */\nconst _createTrustedTypesPolicy = function _createTrustedTypesPolicy(trustedTypes, purifyHostElement) {\n if (typeof trustedTypes !== 'object' || typeof trustedTypes.createPolicy !== 'function') {\n return null;\n }\n // Allow the callers to control the unique policy name\n // by adding a data-tt-policy-suffix to the script element with the DOMPurify.\n // Policy creation with duplicate names throws in Trusted Types.\n let suffix = null;\n const ATTR_NAME = 'data-tt-policy-suffix';\n if (purifyHostElement && purifyHostElement.hasAttribute(ATTR_NAME)) {\n suffix = purifyHostElement.getAttribute(ATTR_NAME);\n }\n const policyName = 'dompurify' + (suffix ? '#' + suffix : '');\n try {\n return trustedTypes.createPolicy(policyName, {\n createHTML(html) {\n return html;\n },\n createScriptURL(scriptUrl) {\n return scriptUrl;\n }\n });\n } catch (_) {\n // Policy creation failed (most likely another DOMPurify script has\n // already run). Skip creating the policy, as this will only cause errors\n // if TT are enforced.\n console.warn('TrustedTypes policy ' + policyName + ' could not be created.');\n return null;\n }\n};\nconst _createHooksMap = function _createHooksMap() {\n return {\n afterSanitizeAttributes: [],\n afterSanitizeElements: [],\n afterSanitizeShadowDOM: [],\n beforeSanitizeAttributes: [],\n beforeSanitizeElements: [],\n beforeSanitizeShadowDOM: [],\n uponSanitizeAttribute: [],\n uponSanitizeElement: [],\n uponSanitizeShadowNode: []\n };\n};\n/**\n * Resolve a set-valued configuration option: a fresh set built from\n * cfg[key] when it is an own array property (seeded with a clone of\n * options.base when given, case-normalized via options.transform),\n * the fallback set otherwise.\n *\n * @param cfg the cloned, prototype-free configuration object\n * @param key the configuration property to read\n * @param fallback the set to use when the option is absent or not an array\n * @param options transform and optional base set to merge into\n * @returns the resolved set\n */\nconst _resolveSetOption = function _resolveSetOption(cfg, key, fallback, options) {\n return objectHasOwnProperty(cfg, key) && arrayIsArray(cfg[key]) ? addToSet(options.base ? clone(options.base) : {}, cfg[key], options.transform) : fallback;\n};\nfunction createDOMPurify() {\n let window = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : getGlobal();\n const DOMPurify = root => createDOMPurify(root);\n DOMPurify.version = '3.4.11';\n DOMPurify.removed = [];\n if (!window || !window.document || window.document.nodeType !== NODE_TYPE.document || !window.Element) {\n // Not running in a browser, provide a factory function\n // so that you can pass your own Window\n DOMPurify.isSupported = false;\n return DOMPurify;\n }\n let document = window.document;\n const originalDocument = document;\n const currentScript = originalDocument.currentScript;\n window.DocumentFragment;\n const HTMLTemplateElement = window.HTMLTemplateElement,\n Node = window.Node,\n Element = window.Element,\n NodeFilter = window.NodeFilter,\n _window$NamedNodeMap = window.NamedNodeMap;\n _window$NamedNodeMap === void 0 ? window.NamedNodeMap || window.MozNamedAttrMap : _window$NamedNodeMap;\n window.HTMLFormElement;\n const DOMParser = window.DOMParser,\n trustedTypes = window.trustedTypes;\n const ElementPrototype = Element.prototype;\n const cloneNode = lookupGetter(ElementPrototype, 'cloneNode');\n const remove = lookupGetter(ElementPrototype, 'remove');\n const getNextSibling = lookupGetter(ElementPrototype, 'nextSibling');\n const getChildNodes = lookupGetter(ElementPrototype, 'childNodes');\n const getParentNode = lookupGetter(ElementPrototype, 'parentNode');\n const getShadowRoot = lookupGetter(ElementPrototype, 'shadowRoot');\n const getAttributes = lookupGetter(ElementPrototype, 'attributes');\n const getNodeType = Node && Node.prototype ? lookupGetter(Node.prototype, 'nodeType') : null;\n const getNodeName = Node && Node.prototype ? lookupGetter(Node.prototype, 'nodeName') : null;\n // As per issue #47, the web-components registry is inherited by a\n // new document created via createHTMLDocument. As per the spec\n // (http://w3c.github.io/webcomponents/spec/custom/#creating-and-passing-registries)\n // a new empty registry is used when creating a template contents owner\n // document, so we use that as our parent document to ensure nothing\n // is inherited.\n if (typeof HTMLTemplateElement === 'function') {\n const template = document.createElement('template');\n if (template.content && template.content.ownerDocument) {\n document = template.content.ownerDocument;\n }\n }\n let trustedTypesPolicy;\n let emptyHTML = '';\n // The instance's own internal Trusted Types policy. Unlike a caller-supplied\n // `TRUSTED_TYPES_POLICY`, this is created at most once — Trusted Types throws\n // on duplicate policy names — and is the only policy allowed to persist\n // across configurations and survive `clearConfig()`.\n let defaultTrustedTypesPolicy;\n let defaultTrustedTypesPolicyResolved = false;\n // Tracks whether we are already inside a call to the configured Trusted Types\n // policy (`createHTML` or `createScriptURL`). If a supplied policy callback\n // itself calls `DOMPurify.sanitize` (the cause of #1422), `sanitize` would\n // re-enter the policy and recurse until the stack overflows. We detect that\n // re-entry and throw a clear, actionable error instead. The guard is shared\n // across both callbacks, because either one re-entering `sanitize` triggers\n // the same unbounded recursion.\n let IN_TRUSTED_TYPES_POLICY = 0;\n const _assertNotInTrustedTypesPolicy = function _assertNotInTrustedTypesPolicy() {\n if (IN_TRUSTED_TYPES_POLICY > 0) {\n throw typeErrorCreate('A configured TRUSTED_TYPES_POLICY callback (createHTML or ' + 'createScriptURL) must not call DOMPurify.sanitize, as that causes ' + 'infinite recursion. Do not pass a policy whose callbacks wrap ' + 'DOMPurify as TRUSTED_TYPES_POLICY; see the \"DOMPurify and Trusted ' + 'Types\" section of the README.');\n }\n };\n const _createTrustedHTML = function _createTrustedHTML(html) {\n _assertNotInTrustedTypesPolicy();\n IN_TRUSTED_TYPES_POLICY++;\n try {\n return trustedTypesPolicy.createHTML(html);\n } finally {\n IN_TRUSTED_TYPES_POLICY--;\n }\n };\n const _createTrustedScriptURL = function _createTrustedScriptURL(scriptUrl) {\n _assertNotInTrustedTypesPolicy();\n IN_TRUSTED_TYPES_POLICY++;\n try {\n return trustedTypesPolicy.createScriptURL(scriptUrl);\n } finally {\n IN_TRUSTED_TYPES_POLICY--;\n }\n };\n // Lazily resolve (and cache) the instance's internal default policy.\n // Resolution is attempted at most once: a successful `createPolicy` cannot be\n // repeated (Trusted Types throws on duplicate names), and a failed or\n // unsupported attempt must not be retried on every parse.\n const _getDefaultTrustedTypesPolicy = function _getDefaultTrustedTypesPolicy() {\n if (!defaultTrustedTypesPolicyResolved) {\n defaultTrustedTypesPolicy = _createTrustedTypesPolicy(trustedTypes, currentScript);\n defaultTrustedTypesPolicyResolved = true;\n }\n return defaultTrustedTypesPolicy;\n };\n const _document = document,\n implementation = _document.implementation,\n createNodeIterator = _document.createNodeIterator,\n createDocumentFragment = _document.createDocumentFragment,\n getElementsByTagName = _document.getElementsByTagName;\n const importNode = originalDocument.importNode;\n let hooks = _createHooksMap();\n /**\n * Expose whether this browser supports running the full DOMPurify.\n */\n DOMPurify.isSupported = typeof entries === 'function' && typeof getParentNode === 'function' && implementation && implementation.createHTMLDocument !== undefined;\n const MUSTACHE_EXPR$1 = MUSTACHE_EXPR,\n ERB_EXPR$1 = ERB_EXPR,\n TMPLIT_EXPR$1 = TMPLIT_EXPR,\n DATA_ATTR$1 = DATA_ATTR,\n ARIA_ATTR$1 = ARIA_ATTR,\n IS_SCRIPT_OR_DATA$1 = IS_SCRIPT_OR_DATA,\n ATTR_WHITESPACE$1 = ATTR_WHITESPACE,\n CUSTOM_ELEMENT$1 = CUSTOM_ELEMENT;\n let IS_ALLOWED_URI$1 = IS_ALLOWED_URI;\n /**\n * We consider the elements and attributes below to be safe. Ideally\n * don't add any new ones but feel free to remove unwanted ones.\n */\n /* allowed element names */\n let ALLOWED_TAGS = null;\n const DEFAULT_ALLOWED_TAGS = addToSet({}, [...html$1, ...svg$1, ...svgFilters, ...mathMl$1, ...text]);\n /* Allowed attribute names */\n let ALLOWED_ATTR = null;\n const DEFAULT_ALLOWED_ATTR = addToSet({}, [...html, ...svg, ...mathMl, ...xml]);\n /*\n * Configure how DOMPurify should handle custom elements and their attributes as well as customized built-in elements.\n * @property {RegExp|Function|null} tagNameCheck one of [null, regexPattern, predicate]. Default: `null` (disallow any custom elements)\n * @property {RegExp|Function|null} attributeNameCheck one of [null, regexPattern, predicate]. Default: `null` (disallow any attributes not on the allow list)\n * @property {boolean} allowCustomizedBuiltInElements allow custom elements derived from built-ins if they pass CUSTOM_ELEMENT_HANDLING.tagNameCheck. Default: `false`.\n */\n let CUSTOM_ELEMENT_HANDLING = Object.seal(create(null, {\n tagNameCheck: {\n writable: true,\n configurable: false,\n enumerable: true,\n value: null\n },\n attributeNameCheck: {\n writable: true,\n configurable: false,\n enumerable: true,\n value: null\n },\n allowCustomizedBuiltInElements: {\n writable: true,\n configurable: false,\n enumerable: true,\n value: false\n }\n }));\n /* Explicitly forbidden tags (overrides ALLOWED_TAGS/ADD_TAGS) */\n let FORBID_TAGS = null;\n /* Explicitly forbidden attributes (overrides ALLOWED_ATTR/ADD_ATTR) */\n let FORBID_ATTR = null;\n /* Config object to store ADD_TAGS/ADD_ATTR functions (when used as functions) */\n const EXTRA_ELEMENT_HANDLING = Object.seal(create(null, {\n tagCheck: {\n writable: true,\n configurable: false,\n enumerable: true,\n value: null\n },\n attributeCheck: {\n writable: true,\n configurable: false,\n enumerable: true,\n value: null\n }\n }));\n /* Decide if ARIA attributes are okay */\n let ALLOW_ARIA_ATTR = true;\n /* Decide if custom data attributes are okay */\n let ALLOW_DATA_ATTR = true;\n /* Decide if unknown protocols are okay */\n let ALLOW_UNKNOWN_PROTOCOLS = false;\n /* Decide if self-closing tags in attributes are allowed.\n * Usually removed due to a mXSS issue in jQuery 3.0 */\n let ALLOW_SELF_CLOSE_IN_ATTR = true;\n /* Output should be safe for common template engines.\n * This means, DOMPurify removes data attributes, mustaches and ERB\n */\n let SAFE_FOR_TEMPLATES = false;\n /* Output should be safe even for XML used within HTML and alike.\n * This means, DOMPurify removes comments when containing risky content.\n */\n let SAFE_FOR_XML = true;\n /* Decide if document with <html>... should be returned */\n let WHOLE_DOCUMENT = false;\n /* Track whether config is already set on this instance of DOMPurify. */\n let SET_CONFIG = false;\n /* Pristine allowlist bindings captured at setConfig() time. On the\n * persistent-config path sanitize() restores the sets from these before\n * the per-walk hook clone-guard, so a hook's in-call widening cannot\n * carry across calls. Null until setConfig() is called; reset by\n * clearConfig(). */\n let SET_CONFIG_ALLOWED_TAGS = null;\n let SET_CONFIG_ALLOWED_ATTR = null;\n /* Decide if all elements (e.g. style, script) must be children of\n * document.body. By default, browsers might move them to document.head */\n let FORCE_BODY = false;\n /* Decide if a DOM `HTMLBodyElement` should be returned, instead of a html\n * string (or a TrustedHTML object if Trusted Types are supported).\n * If `WHOLE_DOCUMENT` is enabled a `HTMLHtmlElement` will be returned instead\n */\n let RETURN_DOM = false;\n /* Decide if a DOM `DocumentFragment` should be returned, instead of a html\n * string (or a TrustedHTML object if Trusted Types are supported) */\n let RETURN_DOM_FRAGMENT = false;\n /* Try to return a Trusted Type object instead of a string, return a string in\n * case Trusted Types are not supported */\n let RETURN_TRUSTED_TYPE = false;\n /* Output should be free from DOM clobbering attacks?\n * This sanitizes markups named with colliding, clobberable built-in DOM APIs.\n */\n let SANITIZE_DOM = true;\n /* Achieve full DOM Clobbering protection by isolating the namespace of named\n * properties and JS variables, mitigating attacks that abuse the HTML/DOM spec rules.\n *\n * HTML/DOM spec rules that enable DOM Clobbering:\n * - Named Access on Window (§7.3.3)\n * - DOM Tree Accessors (§3.1.5)\n * - Form Element Parent-Child Relations (§4.10.3)\n * - Iframe srcdoc / Nested WindowProxies (§4.8.5)\n * - HTMLCollection (§4.2.10.2)\n *\n * Namespace isolation is implemented by prefixing `id` and `name` attributes\n * with a constant string, i.e., `user-content-`\n */\n let SANITIZE_NAMED_PROPS = false;\n const SANITIZE_NAMED_PROPS_PREFIX = 'user-content-';\n /* Keep element content when removing element? */\n let KEEP_CONTENT = true;\n /* If a `Node` is passed to sanitize(), then performs sanitization in-place instead\n * of importing it into a new Document and returning a sanitized copy */\n let IN_PLACE = false;\n /* Allow usage of profiles like html, svg and mathMl */\n let USE_PROFILES = {};\n /* Tags to ignore content of when KEEP_CONTENT is true */\n let FORBID_CONTENTS = null;\n const DEFAULT_FORBID_CONTENTS = addToSet({}, ['annotation-xml', 'audio', 'colgroup', 'desc', 'foreignobject', 'head', 'iframe', 'math', 'mi', 'mn', 'mo', 'ms', 'mtext', 'noembed', 'noframes', 'noscript', 'plaintext', 'script',\n // <selectedcontent> mirrors the selected <option>'s subtree, cloned by\n // the UA (customizable <select>) — including any on* handlers — and the\n // engine re-mirrors synchronously whenever a removal changes which\n // option/selectedcontent is current, even inside DOMPurify's inert\n // DOMParser document. Hoisting its children on removal re-inserts a fresh\n // mirror target ahead of the walk, which the engine refills, looping\n // forever (DoS) and amplifying output. Dropping its content on removal\n // (rather than hoisting) breaks that cascade; the content is a duplicate\n // of the option, which is sanitized on its own. See campaign-3 F1/F6.\n 'selectedcontent', 'style', 'svg', 'template', 'thead', 'title', 'video', 'xmp']);\n /* Tags that are safe for data: URIs */\n let DATA_URI_TAGS = null;\n const DEFAULT_DATA_URI_TAGS = addToSet({}, ['audio', 'video', 'img', 'source', 'image', 'track']);\n /* Attributes safe for values like \"javascript:\" */\n let URI_SAFE_ATTRIBUTES = null;\n const DEFAULT_URI_SAFE_ATTRIBUTES = addToSet({}, ['alt', 'class', 'for', 'id', 'label', 'name', 'pattern', 'placeholder', 'role', 'summary', 'title', 'value', 'style', 'xmlns']);\n const MATHML_NAMESPACE = 'http://www.w3.org/1998/Math/MathML';\n const SVG_NAMESPACE = 'http://www.w3.org/2000/svg';\n const HTML_NAMESPACE = 'http://www.w3.org/1999/xhtml';\n /* Document namespace */\n let NAMESPACE = HTML_NAMESPACE;\n let IS_EMPTY_INPUT = false;\n /* Allowed XHTML+XML namespaces */\n let ALLOWED_NAMESPACES = null;\n const DEFAULT_ALLOWED_NAMESPACES = addToSet({}, [MATHML_NAMESPACE, SVG_NAMESPACE, HTML_NAMESPACE], stringToString);\n const DEFAULT_MATHML_TEXT_INTEGRATION_POINTS = freeze(['mi', 'mo', 'mn', 'ms', 'mtext']);\n let MATHML_TEXT_INTEGRATION_POINTS = addToSet({}, DEFAULT_MATHML_TEXT_INTEGRATION_POINTS);\n const DEFAULT_HTML_INTEGRATION_POINTS = freeze(['annotation-xml']);\n let HTML_INTEGRATION_POINTS = addToSet({}, DEFAULT_HTML_INTEGRATION_POINTS);\n // Certain elements are allowed in both SVG and HTML\n // namespace. We need to specify them explicitly\n // so that they don't get erroneously deleted from\n // HTML namespace.\n const COMMON_SVG_AND_HTML_ELEMENTS = addToSet({}, ['title', 'style', 'font', 'a', 'script']);\n /* Parsing of strict XHTML documents */\n let PARSER_MEDIA_TYPE = null;\n const SUPPORTED_PARSER_MEDIA_TYPES = ['application/xhtml+xml', 'text/html'];\n const DEFAULT_PARSER_MEDIA_TYPE = 'text/html';\n let transformCaseFunc = null;\n /* Keep a reference to config to pass to hooks */\n let CONFIG = null;\n /* Ideally, do not touch anything below this line */\n /* ______________________________________________ */\n const formElement = document.createElement('form');\n const isRegexOrFunction = function isRegexOrFunction(testValue) {\n return testValue instanceof RegExp || testValue instanceof Function;\n };\n /**\n * _parseConfig\n *\n * @param cfg optional config literal\n */\n // eslint-disable-next-line complexity\n const _parseConfig = function _parseConfig() {\n let cfg = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n if (CONFIG && CONFIG === cfg) {\n return;\n }\n /* Shield configuration object from tampering */\n if (!cfg || typeof cfg !== 'object') {\n cfg = {};\n }\n /* Shield configuration object from prototype pollution */\n cfg = clone(cfg);\n PARSER_MEDIA_TYPE =\n // eslint-disable-next-line unicorn/prefer-includes\n SUPPORTED_PARSER_MEDIA_TYPES.indexOf(cfg.PARSER_MEDIA_TYPE) === -1 ? DEFAULT_PARSER_MEDIA_TYPE : cfg.PARSER_MEDIA_TYPE;\n // HTML tags and attributes are not case-sensitive, converting to lowercase. Keeping XHTML as is.\n transformCaseFunc = PARSER_MEDIA_TYPE === 'application/xhtml+xml' ? stringToString : stringToLowerCase;\n /* Set configuration parameters */\n ALLOWED_TAGS = _resolveSetOption(cfg, 'ALLOWED_TAGS', DEFAULT_ALLOWED_TAGS, {\n transform: transformCaseFunc\n });\n ALLOWED_ATTR = _resolveSetOption(cfg, 'ALLOWED_ATTR', DEFAULT_ALLOWED_ATTR, {\n transform: transformCaseFunc\n });\n ALLOWED_NAMESPACES = _resolveSetOption(cfg, 'ALLOWED_NAMESPACES', DEFAULT_ALLOWED_NAMESPACES, {\n transform: stringToString\n });\n URI_SAFE_ATTRIBUTES = _resolveSetOption(cfg, 'ADD_URI_SAFE_ATTR', DEFAULT_URI_SAFE_ATTRIBUTES, {\n transform: transformCaseFunc,\n base: DEFAULT_URI_SAFE_ATTRIBUTES\n });\n DATA_URI_TAGS = _resolveSetOption(cfg, 'ADD_DATA_URI_TAGS', DEFAULT_DATA_URI_TAGS, {\n transform: transformCaseFunc,\n base: DEFAULT_DATA_URI_TAGS\n });\n FORBID_CONTENTS = _resolveSetOption(cfg, 'FORBID_CONTENTS', DEFAULT_FORBID_CONTENTS, {\n transform: transformCaseFunc\n });\n FORBID_TAGS = _resolveSetOption(cfg, 'FORBID_TAGS', clone({}), {\n transform: transformCaseFunc\n });\n FORBID_ATTR = _resolveSetOption(cfg, 'FORBID_ATTR', clone({}), {\n transform: transformCaseFunc\n });\n USE_PROFILES = objectHasOwnProperty(cfg, 'USE_PROFILES') ? cfg.USE_PROFILES && typeof cfg.USE_PROFILES === 'object' ? clone(cfg.USE_PROFILES) : cfg.USE_PROFILES : false;\n ALLOW_ARIA_ATTR = cfg.ALLOW_ARIA_ATTR !== false; // Default true\n ALLOW_DATA_ATTR = cfg.ALLOW_DATA_ATTR !== false; // Default true\n ALLOW_UNKNOWN_PROTOCOLS = cfg.ALLOW_UNKNOWN_PROTOCOLS || false; // Default false\n ALLOW_SELF_CLOSE_IN_ATTR = cfg.ALLOW_SELF_CLOSE_IN_ATTR !== false; // Default true\n SAFE_FOR_TEMPLATES = cfg.SAFE_FOR_TEMPLATES || false; // Default false\n SAFE_FOR_XML = cfg.SAFE_FOR_XML !== false; // Default true\n WHOLE_DOCUMENT = cfg.WHOLE_DOCUMENT || false; // Default false\n RETURN_DOM = cfg.RETURN_DOM || false; // Default false\n RETURN_DOM_FRAGMENT = cfg.RETURN_DOM_FRAGMENT || false; // Default false\n RETURN_TRUSTED_TYPE = cfg.RETURN_TRUSTED_TYPE || false; // Default false\n FORCE_BODY = cfg.FORCE_BODY || false; // Default false\n SANITIZE_DOM = cfg.SANITIZE_DOM !== false; // Default true\n SANITIZE_NAMED_PROPS = cfg.SANITIZE_NAMED_PROPS || false; // Default false\n KEEP_CONTENT = cfg.KEEP_CONTENT !== false; // Default true\n IN_PLACE = cfg.IN_PLACE || false; // Default false\n IS_ALLOWED_URI$1 = isRegex(cfg.ALLOWED_URI_REGEXP) ? cfg.ALLOWED_URI_REGEXP : IS_ALLOWED_URI; // Default regexp\n NAMESPACE = typeof cfg.NAMESPACE === 'string' ? cfg.NAMESPACE : HTML_NAMESPACE; // Default HTML namespace\n MATHML_TEXT_INTEGRATION_POINTS = objectHasOwnProperty(cfg, 'MATHML_TEXT_INTEGRATION_POINTS') && cfg.MATHML_TEXT_INTEGRATION_POINTS && typeof cfg.MATHML_TEXT_INTEGRATION_POINTS === 'object' ? clone(cfg.MATHML_TEXT_INTEGRATION_POINTS) : addToSet({}, DEFAULT_MATHML_TEXT_INTEGRATION_POINTS); // Default built-in map\n HTML_INTEGRATION_POINTS = objectHasOwnProperty(cfg, 'HTML_INTEGRATION_POINTS') && cfg.HTML_INTEGRATION_POINTS && typeof cfg.HTML_INTEGRATION_POINTS === 'object' ? clone(cfg.HTML_INTEGRATION_POINTS) : addToSet({}, DEFAULT_HTML_INTEGRATION_POINTS); // Default built-in map\n const customElementHandling = objectHasOwnProperty(cfg, 'CUSTOM_ELEMENT_HANDLING') && cfg.CUSTOM_ELEMENT_HANDLING && typeof cfg.CUSTOM_ELEMENT_HANDLING === 'object' ? clone(cfg.CUSTOM_ELEMENT_HANDLING) : create(null);\n CUSTOM_ELEMENT_HANDLING = create(null);\n if (objectHasOwnProperty(customElementHandling, 'tagNameCheck') && isRegexOrFunction(customElementHandling.tagNameCheck)) {\n CUSTOM_ELEMENT_HANDLING.tagNameCheck = customElementHandling.tagNameCheck; // Default undefined\n }\n if (objectHasOwnProperty(customElementHandling, 'attributeNameCheck') && isRegexOrFunction(customElementHandling.attributeNameCheck)) {\n CUSTOM_ELEMENT_HANDLING.attributeNameCheck = customElementHandling.attributeNameCheck; // Default undefined\n }\n if (objectHasOwnProperty(customElementHandling, 'allowCustomizedBuiltInElements') && typeof customElementHandling.allowCustomizedBuiltInElements === 'boolean') {\n CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements = customElementHandling.allowCustomizedBuiltInElements; // Default undefined\n }\n seal(CUSTOM_ELEMENT_HANDLING);\n if (SAFE_FOR_TEMPLATES) {\n ALLOW_DATA_ATTR = false;\n }\n if (RETURN_DOM_FRAGMENT) {\n RETURN_DOM = true;\n }\n /* Parse profile info */\n if (USE_PROFILES) {\n ALLOWED_TAGS = addToSet({}, text);\n ALLOWED_ATTR = create(null);\n if (USE_PROFILES.html === true) {\n addToSet(ALLOWED_TAGS, html$1);\n addToSet(ALLOWED_ATTR, html);\n }\n if (USE_PROFILES.svg === true) {\n addToSet(ALLOWED_TAGS, svg$1);\n addToSet(ALLOWED_ATTR, svg);\n addToSet(ALLOWED_ATTR, xml);\n }\n if (USE_PROFILES.svgFilters === true) {\n addToSet(ALLOWED_TAGS, svgFilters);\n addToSet(ALLOWED_ATTR, svg);\n addToSet(ALLOWED_ATTR, xml);\n }\n if (USE_PROFILES.mathMl === true) {\n addToSet(ALLOWED_TAGS, mathMl$1);\n addToSet(ALLOWED_ATTR, mathMl);\n addToSet(ALLOWED_ATTR, xml);\n }\n }\n /* Always reset function-based ADD_TAGS / ADD_ATTR checks to prevent\n * leaking across calls when switching from function to array config */\n EXTRA_ELEMENT_HANDLING.tagCheck = null;\n EXTRA_ELEMENT_HANDLING.attributeCheck = null;\n /* Merge configuration parameters */\n if (objectHasOwnProperty(cfg, 'ADD_TAGS')) {\n if (typeof cfg.ADD_TAGS === 'function') {\n EXTRA_ELEMENT_HANDLING.tagCheck = cfg.ADD_TAGS;\n } else if (arrayIsArray(cfg.ADD_TAGS)) {\n if (ALLOWED_TAGS === DEFAULT_ALLOWED_TAGS) {\n ALLOWED_TAGS = clone(ALLOWED_TAGS);\n }\n addToSet(ALLOWED_TAGS, cfg.ADD_TAGS, transformCaseFunc);\n }\n }\n if (objectHasOwnProperty(cfg, 'ADD_ATTR')) {\n if (typeof cfg.ADD_ATTR === 'function') {\n EXTRA_ELEMENT_HANDLING.attributeCheck = cfg.ADD_ATTR;\n } else if (arrayIsArray(cfg.ADD_ATTR)) {\n if (ALLOWED_ATTR === DEFAULT_ALLOWED_ATTR) {\n ALLOWED_ATTR = clone(ALLOWED_ATTR);\n }\n addToSet(ALLOWED_ATTR, cfg.ADD_ATTR, transformCaseFunc);\n }\n }\n if (objectHasOwnProperty(cfg, 'ADD_URI_SAFE_ATTR') && arrayIsArray(cfg.ADD_URI_SAFE_ATTR)) {\n addToSet(URI_SAFE_ATTRIBUTES, cfg.ADD_URI_SAFE_ATTR, transformCaseFunc);\n }\n if (objectHasOwnProperty(cfg, 'FORBID_CONTENTS') && arrayIsArray(cfg.FORBID_CONTENTS)) {\n if (FORBID_CONTENTS === DEFAULT_FORBID_CONTENTS) {\n FORBID_CONTENTS = clone(FORBID_CONTENTS);\n }\n addToSet(FORBID_CONTENTS, cfg.FORBID_CONTENTS, transformCaseFunc);\n }\n if (objectHasOwnProperty(cfg, 'ADD_FORBID_CONTENTS') && arrayIsArray(cfg.ADD_FORBID_CONTENTS)) {\n if (FORBID_CONTENTS === DEFAULT_FORBID_CONTENTS) {\n FORBID_CONTENTS = clone(FORBID_CONTENTS);\n }\n addToSet(FORBID_CONTENTS, cfg.ADD_FORBID_CONTENTS, transformCaseFunc);\n }\n /* Add #text in case KEEP_CONTENT is set to true */\n if (KEEP_CONTENT) {\n ALLOWED_TAGS['#text'] = true;\n }\n /* Add html, head and body to ALLOWED_TAGS in case WHOLE_DOCUMENT is true */\n if (WHOLE_DOCUMENT) {\n addToSet(ALLOWED_TAGS, ['html', 'head', 'body']);\n }\n /* Add tbody to ALLOWED_TAGS in case tables are permitted, see #286, #365 */\n if (ALLOWED_TAGS.table) {\n addToSet(ALLOWED_TAGS, ['tbody']);\n delete FORBID_TAGS.tbody;\n }\n // Re-derive the active Trusted Types policy from this configuration on\n // every parse. The active policy must never be sticky closure state that\n // outlives the config that set it: a caller-supplied policy left in place\n // after `clearConfig()` — or after a later call that supplied none, or\n // `TRUSTED_TYPES_POLICY: null` — could sign a subsequent \"default\"\n // `RETURN_TRUSTED_TYPE` result with a foreign, possibly unsafe policy.\n // See GHSA-vxr8-fq34-vvx9.\n if (cfg.TRUSTED_TYPES_POLICY) {\n if (typeof cfg.TRUSTED_TYPES_POLICY.createHTML !== 'function') {\n throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a \"createHTML\" hook.');\n }\n if (typeof cfg.TRUSTED_TYPES_POLICY.createScriptURL !== 'function') {\n throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a \"createScriptURL\" hook.');\n }\n // A caller-supplied policy applies to this configuration only.\n const previousTrustedTypesPolicy = trustedTypesPolicy;\n trustedTypesPolicy = cfg.TRUSTED_TYPES_POLICY;\n // Sign local variables required by `sanitize`. If the supplied policy's\n // `createHTML` is circular (i.e. it calls `DOMPurify.sanitize`), this\n // throws via the re-entrancy guard. Restore the previous policy first so\n // the instance is not left in a poisoned state. See #1422.\n try {\n emptyHTML = _createTrustedHTML('');\n } catch (error) {\n trustedTypesPolicy = previousTrustedTypesPolicy;\n throw error;\n }\n } else if (cfg.TRUSTED_TYPES_POLICY === null) {\n // Explicit opt-out for this call: perform no Trusted Types signing and\n // create nothing (so a strict `trusted-types` CSP that disallows a\n // `dompurify` policy can still call `sanitize` from inside its own\n // policy — see #1422). Resetting to `undefined` rather than a sticky\n // `null` also drops any previously retained caller policy, so it cannot\n // resurface on a later call, while still allowing the next config-less\n // call to restore the internal default policy. See GHSA-vxr8-fq34-vvx9.\n trustedTypesPolicy = undefined;\n emptyHTML = '';\n } else {\n // No policy supplied: keep the currently active policy if one is set — a\n // previously supplied policy is intentionally sticky across config-less\n // calls — otherwise fall back to the instance's own internal policy,\n // created at most once. (A policy supplied for a *single* call still\n // lingers by design; what must not linger is a policy whose configuration\n // has been torn down via `clearConfig()`, which restores the default.)\n if (trustedTypesPolicy === undefined) {\n trustedTypesPolicy = _getDefaultTrustedTypesPolicy();\n }\n // Sign internal variables only when a policy is active. A falsy policy\n // (Trusted Types unsupported, creation failed, or an explicit opt-out)\n // leaves `emptyHTML` as a plain string, so we never call `.createHTML` on\n // a non-policy and throw. See #1422.\n if (trustedTypesPolicy && typeof emptyHTML === 'string') {\n emptyHTML = _createTrustedHTML('');\n }\n }\n // Prevent further manipulation of configuration.\n // Not available in IE8, Safari 5, etc.\n if (freeze) {\n freeze(cfg);\n }\n CONFIG = cfg;\n };\n /* Keep track of all possible SVG and MathML tags\n * so that we can perform the namespace checks\n * correctly. */\n const ALL_SVG_TAGS = addToSet({}, [...svg$1, ...svgFilters, ...svgDisallowed]);\n const ALL_MATHML_TAGS = addToSet({}, [...mathMl$1, ...mathMlDisallowed]);\n /**\n * Namespace rules for an element in the SVG namespace.\n *\n * @param tagName the element's lowercase tag name\n * @param parent the (possibly simulated) parent node\n * @param parentTagName the parent's lowercase tag name\n * @returns true if a spec-compliant parser could produce this element\n */\n const _checkSvgNamespace = function _checkSvgNamespace(tagName, parent, parentTagName) {\n // The only way to switch from HTML namespace to SVG\n // is via <svg>. If it happens via any other tag, then\n // it should be killed.\n if (parent.namespaceURI === HTML_NAMESPACE) {\n return tagName === 'svg';\n }\n // The only way to switch from MathML to SVG is via <svg>\n // if the parent is either <annotation-xml> or a MathML\n // text integration point.\n if (parent.namespaceURI === MATHML_NAMESPACE) {\n return tagName === 'svg' && (parentTagName === 'annotation-xml' || MATHML_TEXT_INTEGRATION_POINTS[parentTagName]);\n }\n // We only allow elements that are defined in SVG\n // spec. All others are disallowed in SVG namespace.\n return Boolean(ALL_SVG_TAGS[tagName]);\n };\n /**\n * Namespace rules for an element in the MathML namespace.\n *\n * @param tagName the element's lowercase tag name\n * @param parent the (possibly simulated) parent node\n * @param parentTagName the parent's lowercase tag name\n * @returns true if a spec-compliant parser could produce this element\n */\n const _checkMathMlNamespace = function _checkMathMlNamespace(tagName, parent, parentTagName) {\n // The only way to switch from HTML namespace to MathML\n // is via <math>. If it happens via any other tag, then\n // it should be killed.\n if (parent.namespaceURI === HTML_NAMESPACE) {\n return tagName === 'math';\n }\n // The only way to switch from SVG to MathML is via\n // <math> and HTML integration points\n if (parent.namespaceURI === SVG_NAMESPACE) {\n return tagName === 'math' && HTML_INTEGRATION_POINTS[parentTagName];\n }\n // We only allow elements that are defined in MathML\n // spec. All others are disallowed in MathML namespace.\n return Boolean(ALL_MATHML_TAGS[tagName]);\n };\n /**\n * Namespace rules for an element in the HTML namespace.\n *\n * @param tagName the element's lowercase tag name\n * @param parent the (possibly simulated) parent node\n * @param parentTagName the parent's lowercase tag name\n * @returns true if a spec-compliant parser could produce this element\n */\n const _checkHtmlNamespace = function _checkHtmlNamespace(tagName, parent, parentTagName) {\n // The only way to switch from SVG to HTML is via\n // HTML integration points, and from MathML to HTML\n // is via MathML text integration points\n if (parent.namespaceURI === SVG_NAMESPACE && !HTML_INTEGRATION_POINTS[parentTagName]) {\n return false;\n }\n if (parent.namespaceURI === MATHML_NAMESPACE && !MATHML_TEXT_INTEGRATION_POINTS[parentTagName]) {\n return false;\n }\n // We disallow tags that are specific for MathML\n // or SVG and should never appear in HTML namespace\n return !ALL_MATHML_TAGS[tagName] && (COMMON_SVG_AND_HTML_ELEMENTS[tagName] || !ALL_SVG_TAGS[tagName]);\n };\n /**\n * @param element a DOM element whose namespace is being checked\n * @returns Return false if the element has a\n * namespace that a spec-compliant parser would never\n * return. Return true otherwise.\n */\n const _checkValidNamespace = function _checkValidNamespace(element) {\n let parent = getParentNode(element);\n // In JSDOM, if we're inside shadow DOM, then parentNode\n // can be null. We just simulate parent in this case.\n if (!parent || !parent.tagName) {\n parent = {\n namespaceURI: NAMESPACE,\n tagName: 'template'\n };\n }\n const tagName = stringToLowerCase(element.tagName);\n const parentTagName = stringToLowerCase(parent.tagName);\n if (!ALLOWED_NAMESPACES[element.namespaceURI]) {\n return false;\n }\n if (element.namespaceURI === SVG_NAMESPACE) {\n return _checkSvgNamespace(tagName, parent, parentTagName);\n }\n if (element.namespaceURI === MATHML_NAMESPACE) {\n return _checkMathMlNamespace(tagName, parent, parentTagName);\n }\n if (element.namespaceURI === HTML_NAMESPACE) {\n return _checkHtmlNamespace(tagName, parent, parentTagName);\n }\n // For XHTML and XML documents that support custom namespaces\n if (PARSER_MEDIA_TYPE === 'application/xhtml+xml' && ALLOWED_NAMESPACES[element.namespaceURI]) {\n return true;\n }\n // The code should never reach this place (this means\n // that the element somehow got namespace that is not\n // HTML, SVG, MathML or allowed via ALLOWED_NAMESPACES).\n // Return false just in case.\n return false;\n };\n /**\n * _forceRemove\n *\n * @param node a DOM node\n */\n const _forceRemove = function _forceRemove(node) {\n arrayPush(DOMPurify.removed, {\n element: node\n });\n try {\n // eslint-disable-next-line unicorn/prefer-dom-node-remove\n getParentNode(node).removeChild(node);\n } catch (_) {\n /* The normal detach failed — this is reached for a parentless node\n (getParentNode() is null, so .removeChild throws). Element.prototype\n .remove() is itself a spec no-op on a parentless node, so a recorded\n \"removal\" would otherwise hand the caller back an intact,\n payload-bearing node (e.g. a detached IN_PLACE root the mXSS canary or\n the style-with-element-child rule decided to kill). Fail closed by\n throwing — exactly as a clobbered root does at the IN_PLACE entry —\n rather than trying to \"neutralize\" the node via its own methods.\n Neutralizing would mean calling getAttributeNames()/removeAttribute()\n on the node, both of which a <form> root can clobber via a named child\n (and _isClobbered does not even probe getAttributeNames), so the\n neutralize step could itself be silently defeated, leaving the payload\n intact. A throw touches only the cached, clobber-safe remove() and\n getParentNode(). Generalizes GHSA-r47g-fvhr-h676 (clobbered-form root)\n to every root-kill reason. REPORT-3.\n This lives inside the catch, so it never fires for a normally-removed\n in-tree node: those have a parent, removeChild() succeeds, and the\n catch is not entered. Only a kept (parentless) root reaches here. */\n remove(node);\n if (!getParentNode(node)) {\n throw typeErrorCreate('a node selected for removal could not be detached from its tree ' + 'and cannot be safely returned; refusing to sanitize in place');\n }\n }\n };\n /**\n * _neutralizeRoot\n *\n * Fail-closed teardown of an in-place root after the sanitize walk aborts\n * (campaign-3 F2). An internal throw mid-walk — e.g. a page-registered\n * custom element's reaction detaches a node so `_forceRemove`'s deliberate\n * parentless guard throws, or any other re-entrant engine mutation — would\n * otherwise leave the caller's *live* tree half-sanitized, with everything\n * after the abort point still carrying its handlers. There is no safe way\n * to resume the walk (the tree mutated under us), so we strip the root bare:\n * remove every child and every attribute, then let the caller's catch see\n * the original error. Clobber-safe (cached `remove`/`childNodes`/`attributes`\n * getters; the root was already clobber-pre-flighted at the IN_PLACE entry).\n *\n * @param root the in-place root to empty\n */\n const _neutralizeRoot = function _neutralizeRoot(root) {\n const childNodes = getChildNodes(root);\n if (childNodes) {\n const snapshot = [];\n arrayForEach(childNodes, child => {\n arrayPush(snapshot, child);\n });\n arrayForEach(snapshot, child => {\n try {\n remove(child);\n } catch (_) {\n /* Best-effort teardown; a still-attached child is handled below */\n }\n });\n }\n const attributes = getAttributes(root);\n if (attributes) {\n for (let i = attributes.length - 1; i >= 0; --i) {\n const attribute = attributes[i];\n const name = attribute && attribute.name;\n if (typeof name === 'string') {\n try {\n root.removeAttribute(name);\n } catch (_) {\n /* Clobbered removeAttribute — ignore (fail-closed best effort) */\n }\n }\n }\n }\n };\n /**\n * _removeAttribute\n *\n * @param name an Attribute name\n * @param element a DOM node\n */\n const _removeAttribute = function _removeAttribute(name, element) {\n try {\n arrayPush(DOMPurify.removed, {\n attribute: element.getAttributeNode(name),\n from: element\n });\n } catch (_) {\n arrayPush(DOMPurify.removed, {\n attribute: null,\n from: element\n });\n }\n element.removeAttribute(name);\n // We void attribute values for unremovable \"is\" attributes\n if (name === 'is') {\n if (RETURN_DOM || RETURN_DOM_FRAGMENT) {\n try {\n _forceRemove(element);\n } catch (_) {}\n } else {\n try {\n element.setAttribute(name, '');\n } catch (_) {}\n }\n }\n };\n /**\n * _stripDisallowedAttributes\n *\n * Removes every attribute the active configuration does not allow from a\n * single element, using the same allowlist as the main attribute pass (so\n * `on*` handlers go, but no `/^on/` blocklist is introduced). Used only to\n * neutralise nodes that are being discarded from an in-place tree.\n *\n * @param element the element to strip\n */\n const _stripDisallowedAttributes = function _stripDisallowedAttributes(element) {\n const attributes = getAttributes(element);\n if (!attributes) {\n return;\n }\n for (let i = attributes.length - 1; i >= 0; --i) {\n const attribute = attributes[i];\n const name = attribute && attribute.name;\n if (typeof name !== 'string' || ALLOWED_ATTR[transformCaseFunc(name)]) {\n continue;\n }\n try {\n element.removeAttribute(name);\n } catch (_) {\n /* Clobbered removeAttribute on a doomed node — ignore */\n }\n }\n };\n /**\n * _neutralizeSubtree\n *\n * Completes the audit-5 F1 fix across every removal path. The KEEP_CONTENT\n * move-hoist neutralises only disallowed-tag removals; clobber, mXSS-canary,\n * namespace, comment, processing-instruction and KEEP_CONTENT:false removals\n * all drop their subtree wholesale via `_forceRemove`. On the IN_PLACE path\n * those dropped nodes are detached from the caller's LIVE tree but a\n * handler-bearing original among them (an `<img onerror>`/`<video>` that was\n * loading) keeps its queued resource event, which fires in page scope after\n * sanitize returns. This walks a removed subtree and strips every attribute\n * the active configuration does not allow — so `on*` handlers are cancelled\n * through the SAME allowlist that governs kept nodes, not a separate `/^on/`\n * blocklist. Run synchronously before sanitize returns, i.e. before any\n * queued event can fire. Hook-free by design: these nodes leave the output,\n * so firing attribute hooks for them would be surprising. Clobber-safe reads;\n * a doomed clobbered node may shadow `removeAttribute` (its own attributes are\n * irrelevant — it is discarded — while its non-clobbered descendants, e.g.\n * the `<img>`, are reached and scrubbed).\n *\n * @param root the root of a removed subtree to neutralise\n */\n const _neutralizeSubtree = function _neutralizeSubtree(root) {\n const stack = [root];\n while (stack.length > 0) {\n const node = stack.pop();\n const nodeType = getNodeType ? getNodeType(node) : node.nodeType;\n if (nodeType === NODE_TYPE.element) {\n _stripDisallowedAttributes(node);\n }\n const childNodes = getChildNodes(node);\n if (childNodes) {\n for (let i = childNodes.length - 1; i >= 0; --i) {\n stack.push(childNodes[i]);\n }\n }\n }\n };\n /**\n * _initDocument\n *\n * @param dirty - a string of dirty markup\n * @return a DOM, filled with the dirty markup\n */\n const _initDocument = function _initDocument(dirty) {\n /* Create a HTML document */\n let doc = null;\n let leadingWhitespace = null;\n if (FORCE_BODY) {\n dirty = '<remove></remove>' + dirty;\n } else {\n /* If FORCE_BODY isn't used, leading whitespace needs to be preserved manually */\n const matches = stringMatch(dirty, /^[\\r\\n\\t ]+/);\n leadingWhitespace = matches && matches[0];\n }\n if (PARSER_MEDIA_TYPE === 'application/xhtml+xml' && NAMESPACE === HTML_NAMESPACE) {\n // Root of XHTML doc must contain xmlns declaration (see https://www.w3.org/TR/xhtml1/normative.html#strict)\n dirty = '<html xmlns=\"http://www.w3.org/1999/xhtml\"><head></head><body>' + dirty + '</body></html>';\n }\n const dirtyPayload = trustedTypesPolicy ? _createTrustedHTML(dirty) : dirty;\n /*\n * Use the DOMParser API by default, fallback later if needs be\n * DOMParser not work for svg when has multiple root element.\n */\n if (NAMESPACE === HTML_NAMESPACE) {\n try {\n doc = new DOMParser().parseFromString(dirtyPayload, PARSER_MEDIA_TYPE);\n } catch (_) {}\n }\n /* Use createHTMLDocument in case DOMParser is not available */\n if (!doc || !doc.documentElement) {\n doc = implementation.createDocument(NAMESPACE, 'template', null);\n try {\n doc.documentElement.innerHTML = IS_EMPTY_INPUT ? emptyHTML : dirtyPayload;\n } catch (_) {\n // Syntax error if dirtyPayload is invalid xml\n }\n }\n const body = doc.body || doc.documentElement;\n if (dirty && leadingWhitespace) {\n body.insertBefore(document.createTextNode(leadingWhitespace), body.childNodes[0] || null);\n }\n /* Work on whole document or just its body */\n if (NAMESPACE === HTML_NAMESPACE) {\n return getElementsByTagName.call(doc, WHOLE_DOCUMENT ? 'html' : 'body')[0];\n }\n return WHOLE_DOCUMENT ? doc.documentElement : body;\n };\n /**\n * Creates a NodeIterator object that you can use to traverse filtered lists of nodes or elements in a document.\n *\n * @param root The root element or node to start traversing on.\n * @return The created NodeIterator\n */\n const _createNodeIterator = function _createNodeIterator(root) {\n return createNodeIterator.call(root.ownerDocument || root, root,\n // eslint-disable-next-line no-bitwise\n NodeFilter.SHOW_ELEMENT | NodeFilter.SHOW_COMMENT | NodeFilter.SHOW_TEXT | NodeFilter.SHOW_PROCESSING_INSTRUCTION | NodeFilter.SHOW_CDATA_SECTION, null);\n };\n /**\n * Replace template expression syntax (mustache, ERB, template\n * literal) with a space; shared by all SAFE_FOR_TEMPLATES scrub\n * sites. Order matters: mustache, then ERB, then template literal.\n *\n * @param value the string to scrub\n * @returns the scrubbed string\n */\n const _stripTemplateExpressions = function _stripTemplateExpressions(value) {\n value = stringReplace(value, MUSTACHE_EXPR$1, ' ');\n value = stringReplace(value, ERB_EXPR$1, ' ');\n value = stringReplace(value, TMPLIT_EXPR$1, ' ');\n return value;\n };\n /**\n * Strip template-engine expressions ({{...}}, ${...}, <%...%>) from the\n * character data of an element subtree. Used as the final safety net for\n * SAFE_FOR_TEMPLATES on every DOM-returning code path so that expressions\n * which only form after text-node normalization (e.g. fragments split across\n * stripped elements) cannot survive into a template-evaluating framework.\n *\n * Walks text/comment/CDATA/processing-instruction nodes and mutates `.data`\n * in place rather than round-tripping through innerHTML. This preserves\n * descendant node references (important for IN_PLACE callers), avoids a\n * serialize/reparse cycle, and reads literal character data — which means\n * `<%...%>` in text content matches the ERB regex against its real bytes\n * instead of the HTML-entity-escaped form innerHTML would produce.\n *\n * Attribute values are not visited here; SAFE_FOR_TEMPLATES handling for\n * attributes is performed during the per-node `_sanitizeAttributes` pass.\n *\n * @param node The root element whose character data should be scrubbed.\n */\n const _scrubTemplateExpressions2 = function _scrubTemplateExpressions(node) {\n var _node$querySelectorAl;\n node.normalize();\n const walker = createNodeIterator.call(node.ownerDocument || node, node,\n // eslint-disable-next-line no-bitwise\n NodeFilter.SHOW_TEXT | NodeFilter.SHOW_COMMENT | NodeFilter.SHOW_CDATA_SECTION | NodeFilter.SHOW_PROCESSING_INSTRUCTION, null);\n let currentNode = walker.nextNode();\n while (currentNode) {\n currentNode.data = _stripTemplateExpressions(currentNode.data);\n currentNode = walker.nextNode();\n }\n // NodeIterator does not descend into <template>.content per the DOM spec,\n // so we must explicitly recurse into each template's content fragment,\n // mirroring the approach used by _sanitizeShadowDOM.\n const templates = (_node$querySelectorAl = node.querySelectorAll) === null || _node$querySelectorAl === void 0 ? void 0 : _node$querySelectorAl.call(node, 'template');\n if (templates) {\n arrayForEach(templates, tmpl => {\n if (_isDocumentFragment(tmpl.content)) {\n _scrubTemplateExpressions2(tmpl.content);\n }\n });\n }\n };\n /**\n * _isClobbered\n *\n * Detect DOM-clobbering on HTMLFormElement nodes. Form is the only HTML\n * interface with [LegacyOverrideBuiltIns]; a descendant element with a\n * `name` attribute matching a prototype property shadows that property\n * on direct reads. We use this check at the IN_PLACE entry-point and\n * during attribute sanitization to refuse clobbered forms.\n *\n * @param element element to check for clobbering attacks\n * @return true if clobbered, false if safe\n */\n const _isClobbered = function _isClobbered(element) {\n // Realm-independent tag-name probe. If we can't determine the tag\n // name at all, we can't reason about clobbering — return false\n // (the caller's other defences still apply).\n const realTagName = getNodeName ? getNodeName(element) : null;\n if (typeof realTagName !== 'string') {\n return false;\n }\n if (transformCaseFunc(realTagName) !== 'form') {\n return false;\n }\n return typeof element.nodeName !== 'string' || typeof element.textContent !== 'string' || typeof element.removeChild !== 'function' ||\n // Realm-safe NamedNodeMap detection: equality against the cached\n // prototype getter. Clobbered .attributes (e.g. <input name=\"attributes\">)\n // makes the direct read diverge from the cached read; a clean form\n // (same-realm OR foreign-realm) has both reads pointing at the same\n // canonical NamedNodeMap.\n element.attributes !== getAttributes(element) || typeof element.removeAttribute !== 'function' || typeof element.setAttribute !== 'function' || typeof element.namespaceURI !== 'string' || typeof element.insertBefore !== 'function' || typeof element.hasChildNodes !== 'function' ||\n // NodeType clobbering probe. Cached Node.prototype.nodeType getter\n // returns the integer 1 for any Element regardless of realm; direct\n // read on a clobbered form (e.g. <input name=\"nodeType\">) returns\n // the named child element. Cheap addition — nodeType is read from\n // an internal slot, no serialization cost — and removes a residual\n // clobbering surface used by several mXSS / PI / comment branches\n // in _sanitizeElements that compare currentNode.nodeType directly.\n element.nodeType !== getNodeType(element) ||\n // HTMLFormElement has [LegacyOverrideBuiltIns]: a descendant named\n // \"childNodes\" shadows the prototype getter. Direct reads of\n // form.childNodes from a clobbered form return the named child\n // instead of the real NodeList, so any walk that reads it directly\n // skips the form's real children. Compare the direct read to the\n // cached Node.prototype getter — when the form's named-property\n // getter intercepts the read, the two values differ and we flag\n // the form. This catches every clobbering child type (input,\n // select, etc.) regardless of whether the named child happens to\n // carry a numeric .length, which a typeof-based probe would miss\n // (e.g. HTMLSelectElement.length is a defined unsigned-long).\n element.childNodes !== getChildNodes(element);\n };\n /**\n * Checks whether the given value is a DocumentFragment from any realm.\n *\n * The realm-independent replacement reads `nodeType` through the cached\n * Node.prototype getter and compares to the DOCUMENT_FRAGMENT_NODE\n * constant (11). nodeType is a numeric value resolved from the node's\n * internal slot, identical across realms for the same kind of node.\n *\n * @param value object to check\n * @return true if value is a DocumentFragment-shaped node from any realm\n */\n const _isDocumentFragment = function _isDocumentFragment(value) {\n if (!getNodeType || typeof value !== 'object' || value === null) {\n return false;\n }\n try {\n return getNodeType(value) === NODE_TYPE.documentFragment;\n } catch (_) {\n return false;\n }\n };\n /**\n * Checks whether the given object is a DOM node, including nodes that\n * originate from a different window/realm (e.g. an iframe's\n * contentDocument). The previous `value instanceof Node` check was\n * realm-bound: nodes from a different window failed it, causing\n * sanitize() to silently stringify them and reset IN_PLACE to false,\n * returning the original node unsanitized. See GHSA-4w3q-35jp-p934.\n *\n * @param value object to check whether it's a DOM node\n * @return true if value is a DOM node from any realm\n */\n const _isNode = function _isNode(value) {\n if (!getNodeType || typeof value !== 'object' || value === null) {\n return false;\n }\n try {\n return typeof getNodeType(value) === 'number';\n } catch (_) {\n return false;\n }\n };\n function _executeHooks(hooks, currentNode, data) {\n if (hooks.length === 0) {\n return;\n }\n arrayForEach(hooks, hook => {\n hook.call(DOMPurify, currentNode, data, CONFIG);\n });\n }\n /**\n * Structural-threat checks that condemn a node regardless of the\n * allowlists: mXSS via namespace confusion, risky CSS construction,\n * processing instructions, markup-bearing comments. Pure predicate;\n * the caller removes. Check order is load-bearing.\n *\n * @param currentNode the node to inspect\n * @param tagName the node's transformCaseFunc'd tag name\n * @return true if the node must be removed\n */\n const _isUnsafeNode = function _isUnsafeNode(currentNode, tagName) {\n /* Detect mXSS attempts abusing namespace confusion */\n if (SAFE_FOR_XML && currentNode.hasChildNodes() && !_isNode(currentNode.firstElementChild) && regExpTest(ELEMENT_MARKUP_PROBE, currentNode.textContent) && regExpTest(ELEMENT_MARKUP_PROBE, currentNode.innerHTML)) {\n return true;\n }\n /* Remove risky CSS construction leading to mXSS */\n if (SAFE_FOR_XML && currentNode.namespaceURI === HTML_NAMESPACE && tagName === 'style' && _isNode(currentNode.firstElementChild)) {\n return true;\n }\n /* Remove any occurrence of processing instructions */\n if (currentNode.nodeType === NODE_TYPE.processingInstruction) {\n return true;\n }\n /* Remove any kind of possibly harmful comments */\n if (SAFE_FOR_XML && currentNode.nodeType === NODE_TYPE.comment && regExpTest(COMMENT_MARKUP_PROBE, currentNode.data)) {\n return true;\n }\n return false;\n };\n /**\n * Handle a node whose tag is forbidden or not allowlisted: keep\n * allowed custom elements (false return exits _sanitizeElements\n * early - namespace/fallback checks and the afterSanitizeElements\n * hook are intentionally skipped for kept custom elements), else\n * hoist content per KEEP_CONTENT and remove.\n *\n * @param currentNode the disallowed node\n * @param tagName the node's transformCaseFunc'd tag name\n * @return true if the node was removed, false if kept\n */\n const _sanitizeDisallowedNode = function _sanitizeDisallowedNode(currentNode, tagName) {\n /* Check if we have a custom element to handle */\n if (!FORBID_TAGS[tagName] && _isBasicCustomElement(tagName)) {\n if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, tagName)) {\n return false;\n }\n if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(tagName)) {\n return false;\n }\n }\n /* Keep content except for bad-listed elements.\n Use the cached prototype getters exclusively — the previous code\n had `|| currentNode.parentNode` / `|| currentNode.childNodes`\n fallbacks, but the cached getters always return the canonical\n value (or null for a real parent-less node), so the fallback\n path was dead in safe cases and a clobbering surface in unsafe\n ones. Falsy cached results stay falsy; the `if (childNodes &&\n parentNode)` check already gates correctly. */\n if (KEEP_CONTENT && !FORBID_CONTENTS[tagName]) {\n const parentNode = getParentNode(currentNode);\n const childNodes = getChildNodes(currentNode);\n if (childNodes && parentNode) {\n const childCount = childNodes.length;\n /* In-place: hoist the *original* children so the iterator visits\n and sanitises them through the same allowlist pass as every other\n node. The caller built the tree in the live document, so the\n originals carry already-queued resource events (`<img onerror>`,\n `<video>`/`<audio>` error, lazy/`onload`, …); cloning would leave\n those originals detached but still armed, firing in page scope\n while the returned tree looked clean. Moving is safe in-place: the\n root is pre-validated as an allowed tag and so is never the node\n being removed, which keeps `parentNode` inside the iterator root\n and the relocated child inside the serialised tree.\n Otherwise (string / DOM-copy paths): clone. The iterator is rooted\n at — and the result serialised from — `body`, so a restrictive\n ALLOWED_TAGS that removes `body` itself must leave its content in\n place, which only cloning does; and those paths parse into an\n inert document, so their discarded originals never had a queued\n event to neutralise.\n `childNodes` is live; a tail-to-head walk keeps `childNodes[i]`\n valid whether we move (drops the trailing entry) or clone (leaves\n the list intact). */\n for (let i = childCount - 1; i >= 0; --i) {\n const hoisted = IN_PLACE ? childNodes[i] : cloneNode(childNodes[i], true);\n parentNode.insertBefore(hoisted, getNextSibling(currentNode));\n }\n }\n }\n _forceRemove(currentNode);\n return true;\n };\n /**\n * _sanitizeElements\n *\n * @protect nodeName\n * @protect textContent\n * @protect removeChild\n * @param currentNode to check for permission to exist\n * @return true if node was killed, false if left alive\n */\n const _sanitizeElements = function _sanitizeElements(currentNode) {\n /* Execute a hook if present */\n _executeHooks(hooks.beforeSanitizeElements, currentNode, null);\n /* Check if element is clobbered or can clobber */\n if (_isClobbered(currentNode)) {\n _forceRemove(currentNode);\n return true;\n }\n /* Now let's check the element's type and name */\n const tagName = transformCaseFunc(getNodeName ? getNodeName(currentNode) : currentNode.nodeName);\n /* Execute a hook if present */\n _executeHooks(hooks.uponSanitizeElement, currentNode, {\n tagName,\n allowedTags: ALLOWED_TAGS\n });\n /* Remove mXSS vectors, processing instructions and risky comments */\n if (_isUnsafeNode(currentNode, tagName)) {\n _forceRemove(currentNode);\n return true;\n }\n /* Remove element if anything forbids its presence */\n if (FORBID_TAGS[tagName] || !(EXTRA_ELEMENT_HANDLING.tagCheck instanceof Function && EXTRA_ELEMENT_HANDLING.tagCheck(tagName)) && !ALLOWED_TAGS[tagName]) {\n return _sanitizeDisallowedNode(currentNode, tagName);\n }\n /* Check whether element has a valid namespace.\n Realm-safe check (GHSA-hpcv-96wg-7vj8): use the cached Node.prototype\n nodeType getter rather than `instanceof Element`, which is realm-\n bound and short-circuits to false for any node minted in a different\n realm — letting a foreign-realm element with a forbidden namespace\n slip past the namespace check entirely. */\n const nt = getNodeType ? getNodeType(currentNode) : currentNode.nodeType;\n if (nt === NODE_TYPE.element && !_checkValidNamespace(currentNode)) {\n _forceRemove(currentNode);\n return true;\n }\n /* Make sure that older browsers don't get fallback-tag mXSS */\n if ((tagName === 'noscript' || tagName === 'noembed' || tagName === 'noframes') && regExpTest(FALLBACK_TAG_CLOSE, currentNode.innerHTML)) {\n _forceRemove(currentNode);\n return true;\n }\n /* Sanitize element content to be template-safe */\n if (SAFE_FOR_TEMPLATES && currentNode.nodeType === NODE_TYPE.text) {\n /* Get the element's text content */\n const content = _stripTemplateExpressions(currentNode.textContent);\n if (currentNode.textContent !== content) {\n arrayPush(DOMPurify.removed, {\n element: currentNode.cloneNode()\n });\n currentNode.textContent = content;\n }\n }\n /* Execute a hook if present */\n _executeHooks(hooks.afterSanitizeElements, currentNode, null);\n return false;\n };\n /**\n * _isValidAttribute\n *\n * @param lcTag Lowercase tag name of containing element.\n * @param lcName Lowercase attribute name.\n * @param value Attribute value.\n * @return Returns true if `value` is valid, otherwise false.\n */\n // eslint-disable-next-line complexity\n const _isValidAttribute = function _isValidAttribute(lcTag, lcName, value) {\n /* FORBID_ATTR must always win, even if ADD_ATTR predicate would allow it */\n if (FORBID_ATTR[lcName]) {\n return false;\n }\n /* Make sure attribute cannot clobber */\n if (SANITIZE_DOM && (lcName === 'id' || lcName === 'name') && (value in document || value in formElement)) {\n return false;\n }\n const nameIsPermitted = ALLOWED_ATTR[lcName] || EXTRA_ELEMENT_HANDLING.attributeCheck instanceof Function && EXTRA_ELEMENT_HANDLING.attributeCheck(lcName, lcTag);\n /* Allow valid data-* attributes: At least one character after \"-\"\n (https://html.spec.whatwg.org/multipage/dom.html#embedding-custom-non-visible-data-with-the-data-*-attributes)\n XML-compatible (https://html.spec.whatwg.org/multipage/infrastructure.html#xml-compatible and http://www.w3.org/TR/xml/#d0e804)\n We don't need to check the value; it's always URI safe. */\n if (ALLOW_DATA_ATTR && regExpTest(DATA_ATTR$1, lcName)) ; else if (ALLOW_ARIA_ATTR && regExpTest(ARIA_ATTR$1, lcName)) ; else if (!nameIsPermitted) {\n if (\n // First condition does a very basic check if a) it's basically a valid custom element tagname AND\n // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck\n // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck\n _isBasicCustomElement(lcTag) && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, lcTag) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(lcTag)) && (CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.attributeNameCheck, lcName) || CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.attributeNameCheck(lcName, lcTag)) ||\n // Alternative, second condition checks if it's an `is`-attribute, AND\n // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck\n lcName === 'is' && CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, value) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(value))) ; else {\n return false;\n }\n /* Check value is safe. First, is attr inert? If so, is safe */\n } else if (URI_SAFE_ATTRIBUTES[lcName]) ; else if (regExpTest(IS_ALLOWED_URI$1, stringReplace(value, ATTR_WHITESPACE$1, ''))) ; else if ((lcName === 'src' || lcName === 'xlink:href' || lcName === 'href') && lcTag !== 'script' && stringIndexOf(value, 'data:') === 0 && DATA_URI_TAGS[lcTag]) ; else if (ALLOW_UNKNOWN_PROTOCOLS && !regExpTest(IS_SCRIPT_OR_DATA$1, stringReplace(value, ATTR_WHITESPACE$1, ''))) ; else if (value) {\n return false;\n } else ;\n return true;\n };\n /* Names the HTML spec reserves from valid-custom-element-name; these must\n * never be treated as basic custom elements even when a permissive\n * CUSTOM_ELEMENT_HANDLING.tagNameCheck is configured. */\n const RESERVED_CUSTOM_ELEMENT_NAMES = addToSet({}, ['annotation-xml', 'color-profile', 'font-face', 'font-face-format', 'font-face-name', 'font-face-src', 'font-face-uri', 'missing-glyph']);\n /**\n * _isBasicCustomElement\n * checks if at least one dash is included in tagName, and it's not the first char\n * for more sophisticated checking see https://github.com/sindresorhus/validate-element-name\n *\n * @param tagName name of the tag of the node to sanitize\n * @returns Returns true if the tag name meets the basic criteria for a custom element, otherwise false.\n */\n const _isBasicCustomElement = function _isBasicCustomElement(tagName) {\n return !RESERVED_CUSTOM_ELEMENT_NAMES[stringToLowerCase(tagName)] && regExpTest(CUSTOM_ELEMENT$1, tagName);\n };\n /**\n * Wrap an attribute value in the matching Trusted Types object when\n * the active policy requires it. Namespaced attributes pass through\n * unchanged (no TT support yet, see\n * https://bugs.chromium.org/p/chromium/issues/detail?id=1305293).\n *\n * @param lcTag lowercase tag name of the containing element\n * @param lcName lowercase attribute name\n * @param namespaceURI the attribute's namespace, if any\n * @param value the attribute value to wrap\n * @return the value, wrapped when Trusted Types demand it\n */\n const _applyTrustedTypesToAttribute = function _applyTrustedTypesToAttribute(lcTag, lcName, namespaceURI, value) {\n if (trustedTypesPolicy && typeof trustedTypes === 'object' && typeof trustedTypes.getAttributeType === 'function' && !namespaceURI) {\n switch (trustedTypes.getAttributeType(lcTag, lcName)) {\n case 'TrustedHTML':\n {\n return _createTrustedHTML(value);\n }\n case 'TrustedScriptURL':\n {\n return _createTrustedScriptURL(value);\n }\n }\n }\n return value;\n };\n /**\n * Write a modified attribute value back onto the element. On\n * success, re-probe for clobbering introduced by the new value and\n * remove the element when found; otherwise pop the removal entry\n * recorded by the earlier _removeAttribute (long-standing pairing\n * with the SANITIZE_NAMED_PROPS path - do not \"fix\" casually). On\n * failure, remove the attribute instead.\n *\n * @param currentNode the element carrying the attribute\n * @param name the attribute name as present on the element\n * @param namespaceURI the attribute's namespace, if any\n * @param value the new attribute value\n */\n const _setAttributeValue = function _setAttributeValue(currentNode, name, namespaceURI, value) {\n try {\n if (namespaceURI) {\n currentNode.setAttributeNS(namespaceURI, name, value);\n } else {\n /* Fallback to setAttribute() for browser-unrecognized namespaces e.g. \"x-schema\". */\n currentNode.setAttribute(name, value);\n }\n if (_isClobbered(currentNode)) {\n _forceRemove(currentNode);\n } else {\n arrayPop(DOMPurify.removed);\n }\n } catch (_) {\n _removeAttribute(name, currentNode);\n }\n };\n /**\n * _sanitizeAttributes\n *\n * @protect attributes\n * @protect nodeName\n * @protect removeAttribute\n * @protect setAttribute\n *\n * @param currentNode to sanitize\n */\n const _sanitizeAttributes = function _sanitizeAttributes(currentNode) {\n /* Execute a hook if present */\n _executeHooks(hooks.beforeSanitizeAttributes, currentNode, null);\n const attributes = currentNode.attributes;\n /* Check if we have attributes; if not we might have a text node */\n if (!attributes || _isClobbered(currentNode)) {\n return;\n }\n const hookEvent = {\n attrName: '',\n attrValue: '',\n keepAttr: true,\n allowedAttributes: ALLOWED_ATTR,\n forceKeepAttr: undefined\n };\n let l = attributes.length;\n const lcTag = transformCaseFunc(currentNode.nodeName);\n /* Go backwards over all attributes; safely remove bad ones */\n while (l--) {\n const attr = attributes[l];\n const name = attr.name,\n namespaceURI = attr.namespaceURI,\n attrValue = attr.value;\n const lcName = transformCaseFunc(name);\n const initValue = attrValue;\n let value = name === 'value' ? initValue : stringTrim(initValue);\n /* Execute a hook if present */\n hookEvent.attrName = lcName;\n hookEvent.attrValue = value;\n hookEvent.keepAttr = true;\n hookEvent.forceKeepAttr = undefined; // Allows developers to see this is a property they can set\n _executeHooks(hooks.uponSanitizeAttribute, currentNode, hookEvent);\n value = hookEvent.attrValue;\n /* Full DOM Clobbering protection via namespace isolation,\n * Prefix id and name attributes with `user-content-`\n */\n if (SANITIZE_NAMED_PROPS && (lcName === 'id' || lcName === 'name') && stringIndexOf(value, SANITIZE_NAMED_PROPS_PREFIX) !== 0) {\n // Remove the attribute with this value\n _removeAttribute(name, currentNode);\n // Prefix the value and later re-create the attribute with the sanitized value\n value = SANITIZE_NAMED_PROPS_PREFIX + value;\n }\n // Else: already prefixed, leave the attribute alone — the prefix is\n // itself the clobbering protection, and re-applying it is incorrect.\n /* Work around a security issue with comments inside attributes */\n if (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, value)) {\n _removeAttribute(name, currentNode);\n continue;\n }\n /* Make sure we cannot easily use animated hrefs, even if animations are allowed */\n if (lcName === 'attributename' && stringMatch(value, 'href')) {\n _removeAttribute(name, currentNode);\n continue;\n }\n /* Did the hooks force-keep the attribute? */\n if (hookEvent.forceKeepAttr) {\n continue;\n }\n /* Did the hooks approve of the attribute? */\n if (!hookEvent.keepAttr) {\n _removeAttribute(name, currentNode);\n continue;\n }\n /* Work around a security issue in jQuery 3.0 */\n if (!ALLOW_SELF_CLOSE_IN_ATTR && regExpTest(SELF_CLOSING_TAG, value)) {\n _removeAttribute(name, currentNode);\n continue;\n }\n /* Sanitize attribute content to be template-safe */\n if (SAFE_FOR_TEMPLATES) {\n value = _stripTemplateExpressions(value);\n }\n /* Is `value` valid for this attribute? */\n if (!_isValidAttribute(lcTag, lcName, value)) {\n _removeAttribute(name, currentNode);\n continue;\n }\n /* Handle attributes that require Trusted Types */\n value = _applyTrustedTypesToAttribute(lcTag, lcName, namespaceURI, value);\n /* Handle invalid data-* attribute set by try-catching it */\n if (value !== initValue) {\n _setAttributeValue(currentNode, name, namespaceURI, value);\n }\n }\n /* Execute a hook if present */\n _executeHooks(hooks.afterSanitizeAttributes, currentNode, null);\n };\n /**\n * _sanitizeShadowDOM\n *\n * @param fragment to iterate over recursively\n */\n const _sanitizeShadowDOM2 = function _sanitizeShadowDOM(fragment) {\n let shadowNode = null;\n const shadowIterator = _createNodeIterator(fragment);\n /* Execute a hook if present */\n _executeHooks(hooks.beforeSanitizeShadowDOM, fragment, null);\n while (shadowNode = shadowIterator.nextNode()) {\n /* Execute a hook if present */\n _executeHooks(hooks.uponSanitizeShadowNode, shadowNode, null);\n /* Sanitize tags and elements */\n _sanitizeElements(shadowNode);\n /* Check attributes next */\n _sanitizeAttributes(shadowNode);\n /* Deep shadow DOM detected.\n Realm-safe check (GHSA-hpcv-96wg-7vj8): use nodeType against the\n DOCUMENT_FRAGMENT_NODE constant rather than instanceof, so we\n recurse into <template>.content from foreign realms too. */\n if (_isDocumentFragment(shadowNode.content)) {\n _sanitizeShadowDOM2(shadowNode.content);\n }\n /* An element iterated here may itself host an attached\n shadow root. The default NodeIterator does not enter shadow\n trees, so a shadow root nested inside template.content was\n previously reached by no walk at all (the pre-pass at\n _sanitizeAttachedShadowRoots descends via childNodes, which\n doesn't enter template.content; the template-content recursion\n above iterates the content but never inspected shadowRoot).\n Walk it explicitly. The nodeType guard avoids reading\n shadowRoot off text / comment / CDATA / PI nodes that the\n iterator also surfaces. */\n const shadowNodeType = getNodeType ? getNodeType(shadowNode) : shadowNode.nodeType;\n if (shadowNodeType === NODE_TYPE.element) {\n const innerSr = getShadowRoot(shadowNode);\n if (_isDocumentFragment(innerSr)) {\n _sanitizeAttachedShadowRoots(innerSr);\n _sanitizeShadowDOM2(innerSr);\n }\n }\n }\n /* Execute a hook if present */\n _executeHooks(hooks.afterSanitizeShadowDOM, fragment, null);\n };\n /**\n * _sanitizeAttachedShadowRoots\n *\n * Walks `root` and feeds every attached shadow root we encounter into\n * the existing _sanitizeShadowDOM pipeline. The default node iterator\n * does not descend into shadow trees, so nodes inside an attached\n * shadow root would otherwise be skipped entirely.\n *\n * Two real input paths put attached shadow roots in front of us:\n * 1. IN_PLACE on a DOM node that already has shadow roots attached.\n * 2. DOM-node input where importNode(dirty, true) deep-clones the\n * shadow root because it was created with `clonable: true`.\n *\n * This pass runs once, up front, so the main iteration loop (and the\n * existing _sanitizeShadowDOM template-content recursion) stay\n * untouched — string-input paths are not affected.\n *\n * @param root the subtree root to walk for attached shadow roots\n */\n const _sanitizeAttachedShadowRoots = function _sanitizeAttachedShadowRoots(root) {\n /* Iterative (explicit stack) rather than per-child recursion. DOM APIs\n impose no depth cap, so an attacker-shaped tree (JSON/CRDT/editor data\n built straight into the DOM — the IN_PLACE surface) deeper than the JS\n call-stack budget would otherwise overflow native recursion here and\n throw at the IN_PLACE entry pre-pass, before a single node is\n sanitized, leaving the caller's live tree untouched (fail-open). See\n campaign-3 F4. A heap stack keeps depth off the call stack.\n Each work item is either a node to descend into, or a deferred\n `_sanitizeShadowDOM` for an already-walked shadow root. The deferred\n form preserves the original post-order discipline: a shadow root's\n nested shadow roots are discovered before the outer shadow is\n sanitized (which may remove hosts). Pushes are in reverse of the\n desired processing order (LIFO): template content, then children, then\n the shadow-sanitize, then the shadow walk — so the order matches the\n previous recursion exactly. */\n const stack = [{\n node: root,\n shadow: null\n }];\n while (stack.length > 0) {\n const item = stack.pop();\n /* Deferred shadow-DOM sanitisation: runs after its subtree was walked. */\n if (item.shadow) {\n _sanitizeShadowDOM2(item.shadow);\n continue;\n }\n const node = item.node;\n const nodeType = getNodeType ? getNodeType(node) : node.nodeType;\n const isElement = nodeType === NODE_TYPE.element;\n /* (pushed last → processed first) Children, snapshotted in reverse so\n the first child is processed first. Snapshotting matters because a\n hook may detach siblings mid-walk. */\n const childNodes = getChildNodes(node);\n if (childNodes) {\n for (let i = childNodes.length - 1; i >= 0; --i) {\n stack.push({\n node: childNodes[i],\n shadow: null\n });\n }\n }\n /* (pushed before children → processed after them, matching the old\n \"template content last\" order) When the node is a <template>,\n descend into its content. */\n if (isElement) {\n const rootName = getNodeName ? getNodeName(node) : null;\n if (typeof rootName === 'string' && transformCaseFunc(rootName) === 'template') {\n const content = node.content;\n if (_isDocumentFragment(content)) {\n stack.push({\n node: content,\n shadow: null\n });\n }\n }\n }\n /* Shadow root (processed first): walk its subtree, then sanitise it.\n Realm-safe check (GHSA-hpcv-96wg-7vj8): nodeType-based detection\n rather than `instanceof DocumentFragment`, which is realm-bound and\n silently skipped foreign-realm shadow roots (e.g.\n iframe.contentDocument attachShadow). */\n if (isElement) {\n const sr = getShadowRoot(node);\n if (_isDocumentFragment(sr)) {\n /* Push the deferred sanitise first so it pops after the shadow\n walk we push next, i.e. nested shadow roots are discovered\n before this one is sanitised. */\n stack.push({\n node: null,\n shadow: sr\n }, {\n node: sr,\n shadow: null\n });\n }\n }\n }\n };\n // eslint-disable-next-line complexity\n DOMPurify.sanitize = function (dirty) {\n let cfg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n let body = null;\n let importedNode = null;\n let currentNode = null;\n let returnNode = null;\n /* Make sure we have a string to sanitize.\n DO NOT return early, as this will return the wrong type if\n the user has requested a DOM object rather than a string */\n IS_EMPTY_INPUT = !dirty;\n if (IS_EMPTY_INPUT) {\n dirty = '<!-->';\n }\n /* Stringify, in case dirty is an object */\n if (typeof dirty !== 'string' && !_isNode(dirty)) {\n dirty = stringifyValue(dirty);\n if (typeof dirty !== 'string') {\n throw typeErrorCreate('dirty is not a string, aborting');\n }\n }\n /* Return dirty HTML if DOMPurify cannot run */\n if (!DOMPurify.isSupported) {\n return dirty;\n }\n /* Assign config vars */\n if (SET_CONFIG) {\n /* Persistent setConfig() path: _parseConfig is skipped, so the sets are\n * not re-derived per call. Restore them from the pristine bindings\n * captured at setConfig() time so a previous call's hook clone (mutated\n * below) does not carry over. */\n ALLOWED_TAGS = SET_CONFIG_ALLOWED_TAGS;\n ALLOWED_ATTR = SET_CONFIG_ALLOWED_ATTR;\n } else {\n _parseConfig(cfg);\n }\n /* Clone the hook-mutable allowlists before the walk whenever an\n * uponSanitize* hook is registered. The hook event exposes ALLOWED_TAGS\n * and ALLOWED_ATTR by reference (as allowedTags / allowedAttributes), so\n * a hook that widens them would otherwise mutate the shared set\n * permanently: across later calls and across every element. Cloning per\n * walk keeps documented in-call widening working while scoping it to the\n * call. A single guard for both config paths - the per-call path rebinds\n * the sets in _parseConfig each call, the persistent path restores them\n * from the captured bindings just above - so the two cannot diverge. */\n if (hooks.uponSanitizeElement.length > 0 || hooks.uponSanitizeAttribute.length > 0) {\n ALLOWED_TAGS = clone(ALLOWED_TAGS);\n }\n if (hooks.uponSanitizeAttribute.length > 0) {\n ALLOWED_ATTR = clone(ALLOWED_ATTR);\n }\n /* Clean up removed elements */\n DOMPurify.removed = [];\n /* Resolve IN_PLACE for this call without mutating persistent config.\n Writing the IN_PLACE closure variable here leaks under setConfig(),\n where _parseConfig is skipped on later calls: a single string call would\n disable in-place mode for every subsequent node call, returning a\n sanitized copy while leaving the caller's node — which in-place callers\n keep using and whose return value they ignore — unsanitized. REPORT-2. */\n const inPlace = IN_PLACE && typeof dirty !== 'string' && _isNode(dirty);\n if (inPlace) {\n /* Do some early pre-sanitization to avoid unsafe root nodes.\n Read nodeName through the cached prototype getter — a clobbering\n child named \"nodeName\" on the form root would otherwise shadow\n the property and let this check skip the root-allowlist\n validation entirely. */\n const nn = getNodeName ? getNodeName(dirty) : dirty.nodeName;\n if (typeof nn === 'string') {\n const tagName = transformCaseFunc(nn);\n if (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName]) {\n throw typeErrorCreate('root node is forbidden and cannot be sanitized in-place');\n }\n }\n /* Pre-flight the root through _isClobbered. The iterator-driven\n removal path can not detach a parent-less root: _forceRemove\n falls through to Element.prototype.remove(), which per spec\n is a no-op on a node with no parent. A clobbered root would\n then survive the main loop with its attributes uninspected,\n because _sanitizeAttributes early-returns on _isClobbered. The\n result would be an attacker-controlled form, complete with any\n event-handler attributes the caller passed in, handed back to\n the application unsanitized. Refuse to sanitize such a root\n the same way we refuse a forbidden tag. GHSA-r47g-fvhr-h676. */\n if (_isClobbered(dirty)) {\n throw typeErrorCreate('root node is clobbered and cannot be sanitized in-place');\n }\n /* Sanitize attached shadow roots before the main iterator runs.\n The iterator does not descend into shadow trees. Same fail-closed\n barrier as the main walk (campaign-3 F2): a custom-element reaction\n inside a shadow root could abort this pre-pass before the walk runs,\n which would otherwise leave the entire live tree unsanitized. */\n try {\n _sanitizeAttachedShadowRoots(dirty);\n } catch (error) {\n _neutralizeRoot(dirty);\n throw error;\n }\n } else if (_isNode(dirty)) {\n /* If dirty is a DOM element, append to an empty document to avoid\n elements being stripped by the parser */\n body = _initDocument('<!---->');\n importedNode = body.ownerDocument.importNode(dirty, true);\n if (importedNode.nodeType === NODE_TYPE.element && importedNode.nodeName === 'BODY') {\n /* Node is already a body, use as is */\n body = importedNode;\n } else if (importedNode.nodeName === 'HTML') {\n body = importedNode;\n } else {\n // eslint-disable-next-line unicorn/prefer-dom-node-append\n body.appendChild(importedNode);\n }\n /* Clonable shadow roots are deep-cloned by importNode(); sanitize\n them before the main iterator runs, since the iterator does not\n descend into shadow trees. The walk routes every read through a\n cached prototype getter so clobbering descendants on a form root\n cannot hide a shadow host from this pass. */\n _sanitizeAttachedShadowRoots(importedNode);\n } else {\n /* Exit directly if we have nothing to do */\n if (!RETURN_DOM && !SAFE_FOR_TEMPLATES && !WHOLE_DOCUMENT &&\n // eslint-disable-next-line unicorn/prefer-includes\n dirty.indexOf('<') === -1) {\n return trustedTypesPolicy && RETURN_TRUSTED_TYPE ? _createTrustedHTML(dirty) : dirty;\n }\n /* Initialize the document to work on */\n body = _initDocument(dirty);\n /* Check we have a DOM node from the data */\n if (!body) {\n return RETURN_DOM ? null : RETURN_TRUSTED_TYPE ? emptyHTML : '';\n }\n }\n /* Remove first element node (ours) if FORCE_BODY is set */\n if (body && FORCE_BODY) {\n _forceRemove(body.firstChild);\n }\n /* Get node iterator */\n const nodeIterator = _createNodeIterator(inPlace ? dirty : body);\n /* Now start iterating over the created document.\n The walk runs inside an exception barrier (campaign-3 F2): a re-entrant\n engine/custom-element mutation can detach a node mid-walk so\n `_forceRemove`'s parentless guard throws, aborting the loop. Without the\n barrier the caller's in-place tree would be left half-sanitized with the\n unvisited tail still armed. On any throw we fail closed — strip the\n in-place root bare — then rethrow so the existing throw contract is\n preserved. (String/DOM-copy paths never return the partial body, so the\n propagating throw is already fail-closed there.) */\n try {\n while (currentNode = nodeIterator.nextNode()) {\n /* Sanitize tags and elements */\n _sanitizeElements(currentNode);\n /* Check attributes next */\n _sanitizeAttributes(currentNode);\n /* Shadow DOM detected, sanitize it.\n Realm-safe check (GHSA-hpcv-96wg-7vj8): nodeType-based detection\n instead of instanceof, so foreign-realm <template>.content is\n walked correctly. */\n if (_isDocumentFragment(currentNode.content)) {\n _sanitizeShadowDOM2(currentNode.content);\n }\n }\n } catch (error) {\n if (inPlace) {\n _neutralizeRoot(dirty);\n }\n throw error;\n }\n /* If we sanitized `dirty` in-place, return it. */\n if (inPlace) {\n /* Fail-closed completion of the audit-5 F1 fix: every node removed from\n the caller's live tree is detached but may still hold a queued\n resource-event handler that fires in page scope after we return. The\n move-hoist covers only disallowed-tag KEEP_CONTENT removals; strip the\n non-allow-listed attributes off every other removed subtree (clobber,\n mXSS, namespace, comments, KEEP_CONTENT:false, …) so those handlers are\n cancelled before any event can fire. Runs synchronously, pre-return. */\n arrayForEach(DOMPurify.removed, entry => {\n if (entry.element) {\n _neutralizeSubtree(entry.element);\n }\n });\n if (SAFE_FOR_TEMPLATES) {\n _scrubTemplateExpressions2(dirty);\n }\n return dirty;\n }\n /* Return sanitized string or DOM */\n if (RETURN_DOM) {\n if (SAFE_FOR_TEMPLATES) {\n _scrubTemplateExpressions2(body);\n }\n if (RETURN_DOM_FRAGMENT) {\n returnNode = createDocumentFragment.call(body.ownerDocument);\n while (body.firstChild) {\n // eslint-disable-next-line unicorn/prefer-dom-node-append\n returnNode.appendChild(body.firstChild);\n }\n } else {\n returnNode = body;\n }\n if (ALLOWED_ATTR.shadowroot || ALLOWED_ATTR.shadowrootmode) {\n /*\n AdoptNode() is not used because internal state is not reset\n (e.g. the past names map of a HTMLFormElement), this is safe\n in theory but we would rather not risk another attack vector.\n The state that is cloned by importNode() is explicitly defined\n by the specs.\n */\n returnNode = importNode.call(originalDocument, returnNode, true);\n }\n return returnNode;\n }\n let serializedHTML = WHOLE_DOCUMENT ? body.outerHTML : body.innerHTML;\n /* Serialize doctype if allowed */\n if (WHOLE_DOCUMENT && ALLOWED_TAGS['!doctype'] && body.ownerDocument && body.ownerDocument.doctype && body.ownerDocument.doctype.name && regExpTest(DOCTYPE_NAME, body.ownerDocument.doctype.name)) {\n serializedHTML = '<!DOCTYPE ' + body.ownerDocument.doctype.name + '>\\n' + serializedHTML;\n }\n /* Sanitize final string template-safe */\n if (SAFE_FOR_TEMPLATES) {\n serializedHTML = _stripTemplateExpressions(serializedHTML);\n }\n return trustedTypesPolicy && RETURN_TRUSTED_TYPE ? _createTrustedHTML(serializedHTML) : serializedHTML;\n };\n DOMPurify.setConfig = function () {\n let cfg = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n _parseConfig(cfg);\n SET_CONFIG = true;\n SET_CONFIG_ALLOWED_TAGS = ALLOWED_TAGS;\n SET_CONFIG_ALLOWED_ATTR = ALLOWED_ATTR;\n };\n DOMPurify.clearConfig = function () {\n CONFIG = null;\n SET_CONFIG = false;\n SET_CONFIG_ALLOWED_TAGS = null;\n SET_CONFIG_ALLOWED_ATTR = null;\n // Drop any caller-supplied Trusted Types policy so it cannot poison later\n // `RETURN_TRUSTED_TYPE` output. The internal default policy (cached, and\n // never recreated — Trusted Types throws on duplicate names) is restored by\n // the next `_parseConfig`. See GHSA-vxr8-fq34-vvx9.\n trustedTypesPolicy = defaultTrustedTypesPolicy;\n emptyHTML = '';\n };\n DOMPurify.isValidAttribute = function (tag, attr, value) {\n /* Initialize shared config vars if necessary. */\n if (!CONFIG) {\n _parseConfig({});\n }\n const lcTag = transformCaseFunc(tag);\n const lcName = transformCaseFunc(attr);\n return _isValidAttribute(lcTag, lcName, value);\n };\n DOMPurify.addHook = function (entryPoint, hookFunction) {\n if (typeof hookFunction !== 'function') {\n return;\n }\n /* Reject unknown entry points. Without this, a non-hook key (e.g.\n * '__proto__') indexes off the prototype chain rather than a real\n * hook array, and arrayPush then writes to Object.prototype. Guard\n * with an own-property check against the known hook names. */\n if (!objectHasOwnProperty(hooks, entryPoint)) {\n return;\n }\n arrayPush(hooks[entryPoint], hookFunction);\n };\n DOMPurify.removeHook = function (entryPoint, hookFunction) {\n if (!objectHasOwnProperty(hooks, entryPoint)) {\n return undefined;\n }\n if (hookFunction !== undefined) {\n const index = arrayLastIndexOf(hooks[entryPoint], hookFunction);\n return index === -1 ? undefined : arraySplice(hooks[entryPoint], index, 1)[0];\n }\n return arrayPop(hooks[entryPoint]);\n };\n DOMPurify.removeHooks = function (entryPoint) {\n if (!objectHasOwnProperty(hooks, entryPoint)) {\n return;\n }\n hooks[entryPoint] = [];\n };\n DOMPurify.removeAllHooks = function () {\n hooks = _createHooksMap();\n };\n return DOMPurify;\n}\nvar purify = createDOMPurify();\n\nexport { purify as default };\n//# sourceMappingURL=purify.es.mjs.map\n","import DOMPurify from \"dompurify\";\nimport { DEFAULT_FORBIDDEN_TAGS } from \"../constants\";\n\n/**\n * Configuration options for SVG sanitization\n */\ntype SanitizationOptions = {\n /**\n * Whether to allow style attributes in SVG elements\n * @default false\n */\n allowStyles?: boolean;\n /**\n * Additional attributes to remove during sanitization beyond the default set\n * @default []\n */\n forbiddenAttributes?: string[];\n /**\n * Additional tags to remove during sanitization beyond the default set\n * @default []\n */\n forbiddenTags?: string[];\n};\n\n/**\n * Sanitizes SVG markup string to prevent XSS attacks\n * @param svgString - The SVG markup as a string\n * @param options - Optional sanitization configuration\n * @returns Sanitized SVG string or null if invalid\n */\nexport function sanitizeSvg(\n svgString: string,\n options: SanitizationOptions = {}\n): string | null {\n const {\n allowStyles = false,\n forbiddenAttributes = [],\n forbiddenTags = [],\n } = options;\n\n if (!svgString || typeof svgString !== \"string\") {\n return null;\n }\n\n if (!canUseDOM()) {\n return svgString;\n }\n\n const allForbiddenTags = [...DEFAULT_FORBIDDEN_TAGS, ...forbiddenTags];\n const allForbiddenAttributes = [\n ...(allowStyles ? [] : [\"style\"]),\n ...forbiddenAttributes,\n ];\n\n return DOMPurify.sanitize(svgString, {\n USE_PROFILES: { svg: true, svgFilters: true },\n FORBID_TAGS: allForbiddenTags,\n FORBID_ATTR: allForbiddenAttributes,\n });\n}\n\n/**\n * Checks if we're in a browser environment\n */\nexport function canUseDOM(): boolean {\n return !!(\n typeof window !== \"undefined\" &&\n window.document &&\n window.document.createElement\n );\n}\n","import { useMemo } from \"react\";\nimport { sanitizeSvg, canUseDOM } from \"../utils\";\n\n/**\n * Hook for processing and sanitizing SVG data\n * @param data - Raw SVG markup as a string\n * @returns Processed SVG attributes, content, and sanitization status\n */\nexport function useInlineSvg(data: string) {\n // Process and sanitize SVG data in a single operation\n const processedSvg = useMemo(() => {\n if (!canUseDOM()) {\n return {\n isValid: true,\n svgAttributes: {},\n innerSvgContent: data,\n };\n }\n\n const sanitized = sanitizeSvg(data, {\n allowStyles: false,\n forbiddenAttributes: [],\n forbiddenTags: [],\n });\n\n if (!sanitized) {\n console.warn(\"InlineSvg: Failed to sanitize SVG data\");\n return {\n isValid: false,\n svgAttributes: {},\n innerSvgContent: \"\",\n };\n }\n\n const parser = new DOMParser();\n const doc = parser.parseFromString(sanitized, \"image/svg+xml\");\n const svgEl = doc.querySelector(\"svg\");\n\n if (!svgEl) {\n console.warn(\"InlineSvg: No SVG element found in markup\");\n return {\n isValid: false,\n svgAttributes: {},\n innerSvgContent: \"\",\n };\n }\n\n const attrs: Record<string, string> = {};\n\n // Preserve all attributes from the sanitized SVG element\n // Security: Only attributes that passed sanitization are included\n for (const attr of Array.from(svgEl.attributes)) {\n // Convert kebab-case and namespace prefixes to camelCase for React compatibility\n const reactAttrName = attr.name.replace(/[-:]([a-z])/g, (_, letter) =>\n letter.toUpperCase()\n );\n attrs[reactAttrName] = attr.value;\n }\n\n return {\n isValid: true,\n svgAttributes: attrs,\n innerSvgContent: svgEl.innerHTML,\n };\n }, [data]);\n\n return processedSvg;\n}\n"],"x_google_ignoreList":[0],"mappings":";;;AAEA,SAAS,EAAkB,GAAG,GAAG;CAC/B,CAAS,KAAR,QAAa,IAAI,EAAE,YAAY,IAAI,EAAE;CACtC,KAAK,IAAI,IAAI,GAAG,IAAI,MAAM,CAAC,GAAG,IAAI,GAAG,KAAK,EAAE,KAAK,EAAE;CACnD,OAAO;AACT;AACA,SAAS,EAAgB,GAAG;CAC1B,IAAI,MAAM,QAAQ,CAAC,GAAG,OAAO;AAC/B;AACA,SAAS,EAAsB,GAAG,GAAG;CACnC,IAAI,IAAY,KAAR,OAAY,OAAsB,OAAO,SAAtB,OAAgC,EAAE,OAAO,aAAa,EAAE;CACnF,IAAY,KAAR,MAAW;EACb,IA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AM,YAAY;EAAK;EAC5C,aAAa;EACb,aAAa;CACf,CAAC;AACH;AAKA,SAAgB,IAAqB;CACnC,OAAO,CAAC,EACN,OAAO,SAAW,OAClB,OAAO,YACP,OAAO,SAAS;AAEpB;;;AC9DA,SAAgB,GAAa,GAAc;CA0DzC,OAxDqB,QAAc;EACjC,IAAI,CAAC,EAAU,GACb,OAAO;GACL,SAAS;GACT,eAAe,CAAC;GAChB,iBAAiB;EACnB;EAGF,IAAM,IAAY,GAAY,GAAM;GAClC,aAAa;GACb,qBAAqB,CAAC;GACtB,eAAe,CAAC;EAClB,CAAC;EAED,IAAI,CAAC,GAEH,OADA,QAAQ,KAAK,wCAAwC,GAC9C;GACL,SAAS;GACT,eAAe,CAAC;GAChB,iBAAiB;EACnB;EAKF,IAAM,IADM,IADO,UACP,EAAO,gBAAgB,GAAW,eAChC,EAAI,cAAc,KAAK;EAErC,IAAI,CAAC,GAEH,OADA,QAAQ,KAAK,2CAA2C,GACjD;GACL,SAAS;GACT,eAAe,CAAC;GAChB,iBAAiB;EACnB;EAGF,IAAM,IAAgC,CAAC;EAIvC,KAAK,IAAM,KAAQ,MAAM,KAAK,EAAM,UAAU,GAAG;GAE/C,IAAM,IAAgB,EAAK,KAAK,QAAQ,iBAAiB,GAAG,MAC1D,EAAO,YAAY,CACrB;GACA,EAAM,KAAiB,EAAK;EAC9B;EAEA,OAAO;GACL,SAAS;GACT,eAAe;GACf,iBAAiB,EAAM;EACzB;CACF,GAAG,CAAC,CAAI,CAED;AACT"}
@@ -0,0 +1,17 @@
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import { createRecipeContext as t } from "@chakra-ui/react/styled-system";
3
+ //#region src/components/icon/icon.slots.tsx
4
+ var { withContext: n } = t({ key: "nimbusIcon" }), r = n("svg"), i = (t) => {
5
+ let { ref: n, slot: i, ...a } = t;
6
+ return /* @__PURE__ */ e(r, {
7
+ ref: n,
8
+ asChild: !a.as,
9
+ slot: i ?? void 0,
10
+ ...a
11
+ });
12
+ };
13
+ i.displayName = "Icon";
14
+ //#endregion
15
+ export { i as t };
16
+
17
+ //# sourceMappingURL=icon-CSCRP1_5.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon-CSCRP1_5.esm.js","names":[],"sources":["../../src/components/icon/icon.slots.tsx","../../src/components/icon/icon.tsx"],"sourcesContent":["import { createRecipeContext } from \"@chakra-ui/react/styled-system\";\nimport type { SlotComponent } from \"@/type-utils\";\nimport type { IconRootSlotProps } from \"./icon.types\";\n\nconst { withContext } = createRecipeContext({ key: \"nimbusIcon\" });\n\n/**\n * Root component that provides the styling context for the Icon component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const IconRootSlot: SlotComponent<SVGSVGElement, IconRootSlotProps> =\n withContext<SVGSVGElement, IconRootSlotProps>(\"svg\");\n","import { IconRootSlot } from \"./icon.slots\";\nimport type { IconProps } from \"./icon.types\";\n\n/**\n * # Icon\n *\n * displays icon components\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/media/icon}\n */\nexport const Icon = (props: IconProps) => {\n const { ref, slot, ...restProps } = props;\n return (\n <IconRootSlot\n ref={ref}\n asChild={!restProps.as}\n slot={slot ?? undefined}\n {...restProps}\n />\n );\n};\n\nIcon.displayName = \"Icon\";\n"],"mappings":";;;AAIA,IAAM,EAAE,mBAAgB,EAAoB,EAAE,KAAK,aAAa,CAAC,GAMpD,IACX,EAA8C,KAAK,GCDxC,KAAQ,MAAqB;CACxC,IAAM,EAAE,QAAK,SAAM,GAAG,MAAc;CACpC,OACE,kBAAC,GAAD;EACO;EACL,SAAS,CAAC,EAAU;EACpB,MAAM,KAAQ,KAAA;EACd,GAAI;CACL,CAAA;AAEL;AAEA,EAAK,cAAc"}
@@ -0,0 +1,2 @@
1
+ let e=require("react/jsx-runtime");var{withContext:t}=(0,require("@chakra-ui/react/styled-system").createRecipeContext)({key:`nimbusIcon`}),n=t(`svg`),r=t=>{let{ref:r,slot:i,...a}=t;return(0,e.jsx)(n,{ref:r,asChild:!a.as,slot:i??void 0,...a})};r.displayName=`Icon`,Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return r}});
2
+ //# sourceMappingURL=icon-DjrMssEK.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon-DjrMssEK.cjs.js","names":[],"sources":["../../src/components/icon/icon.slots.tsx","../../src/components/icon/icon.tsx"],"sourcesContent":["import { createRecipeContext } from \"@chakra-ui/react/styled-system\";\nimport type { SlotComponent } from \"@/type-utils\";\nimport type { IconRootSlotProps } from \"./icon.types\";\n\nconst { withContext } = createRecipeContext({ key: \"nimbusIcon\" });\n\n/**\n * Root component that provides the styling context for the Icon component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const IconRootSlot: SlotComponent<SVGSVGElement, IconRootSlotProps> =\n withContext<SVGSVGElement, IconRootSlotProps>(\"svg\");\n","import { IconRootSlot } from \"./icon.slots\";\nimport type { IconProps } from \"./icon.types\";\n\n/**\n * # Icon\n *\n * displays icon components\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/media/icon}\n */\nexport const Icon = (props: IconProps) => {\n const { ref, slot, ...restProps } = props;\n return (\n <IconRootSlot\n ref={ref}\n asChild={!restProps.as}\n slot={slot ?? undefined}\n {...restProps}\n />\n );\n};\n\nIcon.displayName = \"Icon\";\n"],"mappings":"mCAIA,GAAM,CAAE,gBAAA,0CAAA,EAAA,qBAAoC,CAAE,IAAK,YAAa,CAAC,EAMpD,EACX,EAA8C,KAAK,ECDxC,EAAQ,GAAqB,CACxC,GAAM,CAAE,MAAK,OAAM,GAAG,GAAc,EACpC,OACE,EAAA,EAAA,KAAC,EAAD,CACO,MACL,QAAS,CAAC,EAAU,GACpB,KAAM,GAAQ,IAAA,GACd,GAAI,CACL,CAAA,CAEL,EAEA,EAAK,YAAc"}
@@ -0,0 +1,33 @@
1
+ import { t as e } from "./useObjectRef-ClgudS2C.esm.js";
2
+ import { t } from "./merge-refs-C1GcH9iY.esm.js";
3
+ import { t as n } from "./button-D5CV52ux.esm.js";
4
+ import { useEffect as r, useRef as i } from "react";
5
+ import { jsx as a } from "react/jsx-runtime";
6
+ //#region src/components/icon-button/icon-button.tsx
7
+ var o = (o) => {
8
+ let { children: s, ref: c, "aria-label": l, ...u } = o, d = i(null), f = e(t(d, c));
9
+ return r(() => {
10
+ if (typeof process < "u" && process.env.NODE_ENV !== "production") {
11
+ let e = setTimeout(() => {
12
+ let e = d.current;
13
+ if (e) {
14
+ let t = e.hasAttribute("aria-label") || e.hasAttribute("aria-labelledby"), n = e.hasAttribute("slot");
15
+ !t && !n && console.warn("Nimbus: IconButton requires an accessible label. Either provide an 'aria-label' prop or use within a component that provides it via context (e.g., slot=\"clear\" in ComboBox).", e);
16
+ }
17
+ }, 0);
18
+ return () => clearTimeout(e);
19
+ }
20
+ }, [l, u.slot]), /* @__PURE__ */ a(n, {
21
+ px: 0,
22
+ py: 0,
23
+ "aria-label": l,
24
+ ...u,
25
+ ref: f,
26
+ children: s
27
+ });
28
+ };
29
+ o.displayName = "IconButton";
30
+ //#endregion
31
+ export { o as t };
32
+
33
+ //# sourceMappingURL=icon-button-D0cEzjex.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon-button-D0cEzjex.esm.js","names":[],"sources":["../../src/components/icon-button/icon-button.tsx"],"sourcesContent":["import { useRef, useEffect } from \"react\";\nimport { useObjectRef } from \"react-aria\";\nimport { mergeRefs } from \"@/utils\";\nimport type { IconButtonProps } from \"./icon-button.types\";\nimport { Button } from \"@/components\";\n\ndeclare const process: { env: Record<string, string | undefined> } | undefined;\n\n/**\n * # IconButton\n *\n * displays a button with an icon only as child\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/inputs/iconbutton}\n */\nexport const IconButton = (props: IconButtonProps) => {\n const {\n children,\n ref: forwardedRef,\n \"aria-label\": ariaLabel,\n ...restProps\n } = props;\n\n // Create a local ref and merge with forwarded ref\n const localRef = useRef<HTMLButtonElement>(null);\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\n\n // Runtime accessibility check\n // Use setTimeout to defer check until after React Aria applies context props\n useEffect(() => {\n if (\n typeof process !== \"undefined\" &&\n process.env.NODE_ENV !== \"production\"\n ) {\n const timeoutId = setTimeout(() => {\n const element = localRef.current;\n if (element) {\n const hasAriaLabel =\n element.hasAttribute(\"aria-label\") ||\n element.hasAttribute(\"aria-labelledby\");\n\n // Skip warning if component is using slot-based context (Button will handle it)\n const isUsingSlot = element.hasAttribute(\"slot\");\n\n if (!hasAriaLabel && !isUsingSlot) {\n console.warn(\n \"Nimbus: IconButton requires an accessible label. \" +\n \"Either provide an 'aria-label' prop or use within a component that provides it via context (e.g., slot=\\\"clear\\\" in ComboBox).\",\n element\n );\n }\n }\n }, 0);\n\n return () => clearTimeout(timeoutId);\n }\n }, [ariaLabel, restProps.slot]);\n\n return (\n <Button px={0} py={0} aria-label={ariaLabel} {...restProps} ref={ref}>\n {children}\n </Button>\n );\n};\n\nIconButton.displayName = \"IconButton\";\n"],"mappings":";;;;;;AAeA,IAAa,KAAc,MAA2B;CACpD,IAAM,EACJ,aACA,KAAK,GACL,cAAc,GACd,GAAG,MACD,GAGE,IAAW,EAA0B,IAAI,GACzC,IAAM,EAAa,EAAU,GAAU,CAAY,CAAC;CAiC1D,OA7BA,QAAgB;EACd,IACE,OAAO,UAAY,OAAA,QAAA,IAAA,aACM,cACzB;GACA,IAAM,IAAY,iBAAiB;IACjC,IAAM,IAAU,EAAS;IACzB,IAAI,GAAS;KACX,IAAM,IACJ,EAAQ,aAAa,YAAY,KACjC,EAAQ,aAAa,iBAAiB,GAGlC,IAAc,EAAQ,aAAa,MAAM;KAE/C,AAAI,CAAC,KAAgB,CAAC,KACpB,QAAQ,KACN,mLAEA,CACF;IAEJ;GACF,GAAG,CAAC;GAEJ,aAAa,aAAa,CAAS;EACrC;CACF,GAAG,CAAC,GAAW,EAAU,IAAI,CAAC,GAG5B,kBAAC,GAAD;EAAQ,IAAI;EAAG,IAAI;EAAG,cAAY;EAAW,GAAI;EAAgB;EAC9D;CACK,CAAA;AAEZ;AAEA,EAAW,cAAc"}
@@ -0,0 +1,2 @@
1
+ const e=require("./useObjectRef-B_VeQHvx.cjs.js"),t=require("./merge-refs-DjTl2ATo.cjs.js"),n=require("./button-DDlet23P.cjs.js");let r=require("react"),i=require("react/jsx-runtime");var a=a=>{let{children:o,ref:s,"aria-label":c,...l}=a,u=(0,r.useRef)(null),d=e.t(t.t(u,s));return(0,r.useEffect)(()=>{if(typeof process<`u`&&process.env.NODE_ENV!==`production`){let e=setTimeout(()=>{let e=u.current;if(e){let t=e.hasAttribute(`aria-label`)||e.hasAttribute(`aria-labelledby`),n=e.hasAttribute(`slot`);!t&&!n&&console.warn(`Nimbus: IconButton requires an accessible label. Either provide an 'aria-label' prop or use within a component that provides it via context (e.g., slot="clear" in ComboBox).`,e)}},0);return()=>clearTimeout(e)}},[c,l.slot]),(0,i.jsx)(n.t,{px:0,py:0,"aria-label":c,...l,ref:d,children:o})};a.displayName=`IconButton`,Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return a}});
2
+ //# sourceMappingURL=icon-button-DJxT-1uM.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon-button-DJxT-1uM.cjs.js","names":[],"sources":["../../src/components/icon-button/icon-button.tsx"],"sourcesContent":["import { useRef, useEffect } from \"react\";\nimport { useObjectRef } from \"react-aria\";\nimport { mergeRefs } from \"@/utils\";\nimport type { IconButtonProps } from \"./icon-button.types\";\nimport { Button } from \"@/components\";\n\ndeclare const process: { env: Record<string, string | undefined> } | undefined;\n\n/**\n * # IconButton\n *\n * displays a button with an icon only as child\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/inputs/iconbutton}\n */\nexport const IconButton = (props: IconButtonProps) => {\n const {\n children,\n ref: forwardedRef,\n \"aria-label\": ariaLabel,\n ...restProps\n } = props;\n\n // Create a local ref and merge with forwarded ref\n const localRef = useRef<HTMLButtonElement>(null);\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\n\n // Runtime accessibility check\n // Use setTimeout to defer check until after React Aria applies context props\n useEffect(() => {\n if (\n typeof process !== \"undefined\" &&\n process.env.NODE_ENV !== \"production\"\n ) {\n const timeoutId = setTimeout(() => {\n const element = localRef.current;\n if (element) {\n const hasAriaLabel =\n element.hasAttribute(\"aria-label\") ||\n element.hasAttribute(\"aria-labelledby\");\n\n // Skip warning if component is using slot-based context (Button will handle it)\n const isUsingSlot = element.hasAttribute(\"slot\");\n\n if (!hasAriaLabel && !isUsingSlot) {\n console.warn(\n \"Nimbus: IconButton requires an accessible label. \" +\n \"Either provide an 'aria-label' prop or use within a component that provides it via context (e.g., slot=\\\"clear\\\" in ComboBox).\",\n element\n );\n }\n }\n }, 0);\n\n return () => clearTimeout(timeoutId);\n }\n }, [ariaLabel, restProps.slot]);\n\n return (\n <Button px={0} py={0} aria-label={ariaLabel} {...restProps} ref={ref}>\n {children}\n </Button>\n );\n};\n\nIconButton.displayName = \"IconButton\";\n"],"mappings":"wLAeA,IAAa,EAAc,GAA2B,CACpD,GAAM,CACJ,WACA,IAAK,EACL,aAAc,EACd,GAAG,GACD,EAGE,GAAA,EAAA,EAAA,QAAqC,IAAI,EACzC,EAAM,EAAA,EAAa,EAAA,EAAU,EAAU,CAAY,CAAC,EAiC1D,OA7BA,EAAA,EAAA,eAAgB,CACd,GACE,OAAO,QAAY,KAAA,QAAA,IAAA,WACM,aACzB,CACA,IAAM,EAAY,eAAiB,CACjC,IAAM,EAAU,EAAS,QACzB,GAAI,EAAS,CACX,IAAM,EACJ,EAAQ,aAAa,YAAY,GACjC,EAAQ,aAAa,iBAAiB,EAGlC,EAAc,EAAQ,aAAa,MAAM,EAE3C,CAAC,GAAgB,CAAC,GACpB,QAAQ,KACN,gLAEA,CACF,CAEJ,CACF,EAAG,CAAC,EAEJ,UAAa,aAAa,CAAS,CACrC,CACF,EAAG,CAAC,EAAW,EAAU,IAAI,CAAC,GAG5B,EAAA,EAAA,KAAC,EAAA,EAAD,CAAQ,GAAI,EAAG,GAAI,EAAG,aAAY,EAAW,GAAI,EAAgB,MAC9D,UACK,CAAA,CAEZ,EAEA,EAAW,YAAc"}
@@ -0,0 +1,16 @@
1
+ import { t as e } from "./toggle-button-D8K1JATa.esm.js";
2
+ import { jsx as t } from "react/jsx-runtime";
3
+ //#region src/components/icon-toggle-button/icon-toggle-button.tsx
4
+ var n = ({ "aria-label": n, children: r, ref: i, ...a }) => /* @__PURE__ */ t(e, {
5
+ ref: i,
6
+ "aria-label": n,
7
+ px: 0,
8
+ py: 0,
9
+ ...a,
10
+ children: r
11
+ });
12
+ n.displayName = "IconToggleButton";
13
+ //#endregion
14
+ export { n as t };
15
+
16
+ //# sourceMappingURL=icon-toggle-button-BKkz4_Cf.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon-toggle-button-BKkz4_Cf.esm.js","names":[],"sources":["../../src/components/icon-toggle-button/icon-toggle-button.tsx"],"sourcesContent":["import { ToggleButton } from \"@/components/toggle-button/toggle-button\";\nimport type { IconToggleButtonProps } from \"./icon-toggle-button.types\";\n\n/**\n * # IconToggleButton\n * ============================================================\n * A toggle button with only an icon as child. It is based\n * on the regular `ToggleButton` component, but with a few adjustments.\n *\n */\nexport const IconToggleButton = ({\n \"aria-label\": ariaLabel,\n children,\n ref,\n ...props\n}: IconToggleButtonProps) => {\n return (\n <ToggleButton ref={ref} aria-label={ariaLabel} px={0} py={0} {...props}>\n {children}\n </ToggleButton>\n );\n};\n\nIconToggleButton.displayName = \"IconToggleButton\";\n"],"mappings":";;;AAUA,IAAa,KAAoB,EAC/B,cAAc,GACd,aACA,QACA,GAAG,QAGD,kBAAC,GAAD;CAAmB;CAAK,cAAY;CAAW,IAAI;CAAG,IAAI;CAAG,GAAI;CAC9D;AACW,CAAA;AAIlB,EAAiB,cAAc"}
@@ -0,0 +1,2 @@
1
+ const e=require("./toggle-button-BAIsUjKm.cjs.js");let t=require("react/jsx-runtime");var n=({"aria-label":n,children:r,ref:i,...a})=>(0,t.jsx)(e.t,{ref:i,"aria-label":n,px:0,py:0,...a,children:r});n.displayName=`IconToggleButton`,Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return n}});
2
+ //# sourceMappingURL=icon-toggle-button-CqHuaLDB.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon-toggle-button-CqHuaLDB.cjs.js","names":[],"sources":["../../src/components/icon-toggle-button/icon-toggle-button.tsx"],"sourcesContent":["import { ToggleButton } from \"@/components/toggle-button/toggle-button\";\nimport type { IconToggleButtonProps } from \"./icon-toggle-button.types\";\n\n/**\n * # IconToggleButton\n * ============================================================\n * A toggle button with only an icon as child. It is based\n * on the regular `ToggleButton` component, but with a few adjustments.\n *\n */\nexport const IconToggleButton = ({\n \"aria-label\": ariaLabel,\n children,\n ref,\n ...props\n}: IconToggleButtonProps) => {\n return (\n <ToggleButton ref={ref} aria-label={ariaLabel} px={0} py={0} {...props}>\n {children}\n </ToggleButton>\n );\n};\n\nIconToggleButton.displayName = \"IconToggleButton\";\n"],"mappings":"sFAUA,IAAa,GAAoB,CAC/B,aAAc,EACd,WACA,MACA,GAAG,MAGD,EAAA,EAAA,KAAC,EAAA,EAAD,CAAmB,MAAK,aAAY,EAAW,GAAI,EAAG,GAAI,EAAG,GAAI,EAC9D,UACW,CAAA,EAIlB,EAAiB,YAAc"}
@@ -0,0 +1,24 @@
1
+ import { t as e } from "./icon.recipe-DODJ2AGG.esm.js";
2
+ import { t } from "./hooks-BjqA_jfh.esm.js";
3
+ import { jsx as n } from "react/jsx-runtime";
4
+ import { createRecipeContext as r } from "@chakra-ui/react/styled-system";
5
+ //#region src/components/inline-svg/inline-svg.slots.tsx
6
+ var { withContext: i } = r({ recipe: e }), a = i("svg"), o = (e) => {
7
+ let { data: r, ref: i, slot: o, ...s } = e, { isValid: c, svgAttributes: l, innerSvgContent: u } = t(r);
8
+ return c ? /* @__PURE__ */ n(a, {
9
+ asChild: !0,
10
+ slot: o ?? void 0,
11
+ ...s,
12
+ children: /* @__PURE__ */ n("svg", {
13
+ ref: i,
14
+ role: "presentation",
15
+ ...l,
16
+ dangerouslySetInnerHTML: { __html: u }
17
+ })
18
+ }) : null;
19
+ };
20
+ o.displayName = "InlineSvg";
21
+ //#endregion
22
+ export { o as t };
23
+
24
+ //# sourceMappingURL=inline-svg-CBPeYaXW.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inline-svg-CBPeYaXW.esm.js","names":[],"sources":["../../src/components/inline-svg/inline-svg.slots.tsx","../../src/components/inline-svg/inline-svg.tsx"],"sourcesContent":["import {\n type HTMLChakraProps,\n type RecipeProps,\n type UnstyledProp,\n createRecipeContext,\n} from \"@chakra-ui/react/styled-system\";\n\nimport { iconRecipe } from \"../icon/icon.recipe\";\n\n/**\n * Base recipe props interface that combines Chakra UI's recipe props\n * with the unstyled prop option for the svg element.\n * We reuse the icon recipe for consistent styling with Icon component.\n */\ntype InlineSvgRecipeProps = RecipeProps<\"svg\"> & UnstyledProp;\n\n/**\n * Root props interface that extends Chakra's HTML props with our recipe props.\n * This creates a complete set of props for the root element, combining\n * HTML attributes, Chakra's styling system, and our custom recipe props.\n */\n\nexport type InlineSvgRootSlotProps = HTMLChakraProps<\n \"svg\",\n InlineSvgRecipeProps\n>;\n\nconst { withContext } = createRecipeContext({ recipe: iconRecipe });\n\n/**\n * Root component that provides the styling context for the InlineSvg component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n * Reuses the icon recipe to maintain consistency with the Icon component.\n */\nexport const InlineSvgRootSlot = withContext<\n SVGSVGElement,\n InlineSvgRootSlotProps\n>(\"svg\");\n","import type { InlineSvgProps } from \"./inline-svg.types\";\nimport { InlineSvgRootSlot } from \"./inline-svg.slots\";\nimport { useInlineSvg } from \"./hooks\";\n\n/**\n * # InlineSvg\n *\n * Renders arbitrary SVG markup as an icon with built-in XSS protection.\n * The component sanitizes the provided SVG string to remove potentially\n * dangerous elements and attributes before rendering.\n *\n * @example\n * ```tsx\n * <InlineSvg\n * data='<svg viewBox=\"0 0 24 24\"><path d=\"M12 2L2 7v10c0 5.55 3.84 10.74 9 12...\"/></svg>'\n * size=\"md\"\n * color=\"primary.9\"\n * />\n * ```\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/media/inline-svg}\n */\nexport const InlineSvg = (props: InlineSvgProps) => {\n const { data, ref, slot, ...rest } = props;\n\n const { isValid, svgAttributes, innerSvgContent } = useInlineSvg(data);\n\n // Don't render if sanitization failed\n if (!isValid) {\n return null;\n }\n\n // Always render as SVG - no asChild support\n return (\n <InlineSvgRootSlot asChild slot={slot ?? undefined} {...rest}>\n <svg\n ref={ref}\n role=\"presentation\"\n {...svgAttributes}\n dangerouslySetInnerHTML={{ __html: innerSvgContent }}\n />\n </InlineSvgRootSlot>\n );\n};\n\nInlineSvg.displayName = \"InlineSvg\";\n"],"mappings":";;;;;AA2BA,IAAM,EAAE,mBAAgB,EAAoB,EAAE,QAAQ,EAAW,CAAC,GAOrD,IAAoB,EAG/B,KAAK,GCfM,KAAa,MAA0B;CAClD,IAAM,EAAE,SAAM,QAAK,SAAM,GAAG,MAAS,GAE/B,EAAE,YAAS,kBAAe,uBAAoB,EAAa,CAAI;CAQrE,OALK,IAMH,kBAAC,GAAD;EAAmB,SAAA;EAAQ,MAAM,KAAQ,KAAA;EAAW,GAAI;YACtD,kBAAC,OAAD;GACO;GACL,MAAK;GACL,GAAI;GACJ,yBAAyB,EAAE,QAAQ,EAAgB;EACpD,CAAA;CACgB,CAAA,IAZZ;AAcX;AAEA,EAAU,cAAc"}
@@ -0,0 +1,2 @@
1
+ const e=require("./icon.recipe-zbIuKCdv.cjs.js"),t=require("./hooks-BDfmlNt_.cjs.js");let n=require("react/jsx-runtime");var{withContext:r}=(0,require("@chakra-ui/react/styled-system").createRecipeContext)({recipe:e.t}),i=r(`svg`),a=e=>{let{data:r,ref:a,slot:o,...s}=e,{isValid:c,svgAttributes:l,innerSvgContent:u}=t.t(r);return c?(0,n.jsx)(i,{asChild:!0,slot:o??void 0,...s,children:(0,n.jsx)(`svg`,{ref:a,role:`presentation`,...l,dangerouslySetInnerHTML:{__html:u}})}):null};a.displayName=`InlineSvg`,Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return a}});
2
+ //# sourceMappingURL=inline-svg-Dj-aVgpS.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inline-svg-Dj-aVgpS.cjs.js","names":[],"sources":["../../src/components/inline-svg/inline-svg.slots.tsx","../../src/components/inline-svg/inline-svg.tsx"],"sourcesContent":["import {\n type HTMLChakraProps,\n type RecipeProps,\n type UnstyledProp,\n createRecipeContext,\n} from \"@chakra-ui/react/styled-system\";\n\nimport { iconRecipe } from \"../icon/icon.recipe\";\n\n/**\n * Base recipe props interface that combines Chakra UI's recipe props\n * with the unstyled prop option for the svg element.\n * We reuse the icon recipe for consistent styling with Icon component.\n */\ntype InlineSvgRecipeProps = RecipeProps<\"svg\"> & UnstyledProp;\n\n/**\n * Root props interface that extends Chakra's HTML props with our recipe props.\n * This creates a complete set of props for the root element, combining\n * HTML attributes, Chakra's styling system, and our custom recipe props.\n */\n\nexport type InlineSvgRootSlotProps = HTMLChakraProps<\n \"svg\",\n InlineSvgRecipeProps\n>;\n\nconst { withContext } = createRecipeContext({ recipe: iconRecipe });\n\n/**\n * Root component that provides the styling context for the InlineSvg component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n * Reuses the icon recipe to maintain consistency with the Icon component.\n */\nexport const InlineSvgRootSlot = withContext<\n SVGSVGElement,\n InlineSvgRootSlotProps\n>(\"svg\");\n","import type { InlineSvgProps } from \"./inline-svg.types\";\nimport { InlineSvgRootSlot } from \"./inline-svg.slots\";\nimport { useInlineSvg } from \"./hooks\";\n\n/**\n * # InlineSvg\n *\n * Renders arbitrary SVG markup as an icon with built-in XSS protection.\n * The component sanitizes the provided SVG string to remove potentially\n * dangerous elements and attributes before rendering.\n *\n * @example\n * ```tsx\n * <InlineSvg\n * data='<svg viewBox=\"0 0 24 24\"><path d=\"M12 2L2 7v10c0 5.55 3.84 10.74 9 12...\"/></svg>'\n * size=\"md\"\n * color=\"primary.9\"\n * />\n * ```\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/media/inline-svg}\n */\nexport const InlineSvg = (props: InlineSvgProps) => {\n const { data, ref, slot, ...rest } = props;\n\n const { isValid, svgAttributes, innerSvgContent } = useInlineSvg(data);\n\n // Don't render if sanitization failed\n if (!isValid) {\n return null;\n }\n\n // Always render as SVG - no asChild support\n return (\n <InlineSvgRootSlot asChild slot={slot ?? undefined} {...rest}>\n <svg\n ref={ref}\n role=\"presentation\"\n {...svgAttributes}\n dangerouslySetInnerHTML={{ __html: innerSvgContent }}\n />\n </InlineSvgRootSlot>\n );\n};\n\nInlineSvg.displayName = \"InlineSvg\";\n"],"mappings":"yHA2BA,GAAM,CAAE,gBAAA,0CAAA,EAAA,qBAAoC,CAAE,OAAQ,EAAA,CAAW,CAAC,EAOrD,EAAoB,EAG/B,KAAK,ECfM,EAAa,GAA0B,CAClD,GAAM,CAAE,OAAM,MAAK,OAAM,GAAG,GAAS,EAE/B,CAAE,UAAS,gBAAe,mBAAoB,EAAA,EAAa,CAAI,EAQrE,OALK,GAMH,EAAA,EAAA,KAAC,EAAD,CAAmB,QAAA,GAAQ,KAAM,GAAQ,IAAA,GAAW,GAAI,YACtD,EAAA,EAAA,KAAC,MAAD,CACO,MACL,KAAK,eACL,GAAI,EACJ,wBAAyB,CAAE,OAAQ,CAAgB,CACpD,CAAA,CACgB,CAAA,EAZZ,IAcX,EAEA,EAAU,YAAc"}
@@ -0,0 +1,21 @@
1
+ import { t as e } from "./useObjectRef-ClgudS2C.esm.js";
2
+ import { n as t } from "./utils-41EYzidf.esm.js";
3
+ import { t as n } from "./Keyboard-tsF4DvAf.esm.js";
4
+ import { t as r } from "./merge-refs-C1GcH9iY.esm.js";
5
+ import { useRef as i } from "react";
6
+ import { jsx as a } from "react/jsx-runtime";
7
+ import { createRecipeContext as o } from "@chakra-ui/react/styled-system";
8
+ import "@chakra-ui/react/kbd";
9
+ //#region src/components/kbd/kbd.slots.ts
10
+ var { withContext: s } = o({ key: "nimbusKbd" }), c = s("kbd"), l = ({ ref: o, slot: s, ...l }) => {
11
+ let u = e(r(i(null), o)), [d] = t(l, u, n);
12
+ return /* @__PURE__ */ a(c, {
13
+ ref: u,
14
+ slot: s || void 0,
15
+ ...d
16
+ });
17
+ };
18
+ //#endregion
19
+ export { l as t };
20
+
21
+ //# sourceMappingURL=kbd-Dk3AokiG.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kbd-Dk3AokiG.esm.js","names":[],"sources":["../../src/components/kbd/kbd.slots.ts","../../src/components/kbd/kbd.tsx"],"sourcesContent":["import {\n type HTMLChakraProps,\n type RecipeProps,\n type UnstyledProp,\n createRecipeContext,\n} from \"@chakra-ui/react/styled-system\";\nimport type { SlotComponent } from \"@/type-utils\";\n\n/**\n * Base recipe props interface that combines Chakra UI's recipe props\n * with the unstyled prop option for the svg element.\n */\ntype KbdRecipeProps = RecipeProps<\"nimbusKbd\"> & UnstyledProp;\n\n/**\n * Root props interface that extends Chakra's HTML props with our recipe props.\n * This creates a complete set of props for the root element, combining\n * HTML attributes, Chakra's styling system, and our custom recipe props.\n */\nexport type KbdRootSlotProps = HTMLChakraProps<\"kbd\", KbdRecipeProps>;\n\nconst { withContext } = createRecipeContext({ key: \"nimbusKbd\" });\n\n/**\n * Root component that provides the styling context for the Icon component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const KbdRootSlot: SlotComponent<HTMLElement, KbdRootSlotProps> =\n withContext<HTMLElement, KbdRootSlotProps>(\"kbd\");\n","import { KeyboardContext, useContextProps } from \"react-aria-components\";\nimport { mergeRefs } from \"@/utils\";\nimport { type KbdProps as ChakraKbdProps } from \"@chakra-ui/react/kbd\";\nimport { useRef } from \"react\";\nimport type React from \"react\";\nimport { useObjectRef } from \"react-aria\";\nimport { KbdRootSlot } from \"./kbd.slots\";\n\nexport type KbdProps = Omit<ChakraKbdProps, \"slot\"> & {\n ref?: React.Ref<HTMLElement>;\n slot?: string | null | undefined;\n};\n\n/**\n * # Kbd\n *\n * Renders a keyboard shortcut or key combination, styled for visual clarity.\n * Typically used to visually represent keyboard keys.\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/typography/kbd}\n */\nexport const Kbd = ({ ref: forwardedRef, slot, ...props }: KbdProps) => {\n const localRef = useRef<HTMLElement>(null);\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\n const [rest] = useContextProps(props, ref, KeyboardContext);\n\n return <KbdRootSlot ref={ref} slot={slot || undefined} {...rest} />;\n};\n"],"mappings":";;;;;;;;;AAqBA,IAAM,EAAE,mBAAgB,EAAoB,EAAE,KAAK,YAAY,CAAC,GAMnD,IACX,EAA2C,KAAK,GCPrC,KAAO,EAAE,KAAK,GAAc,SAAM,GAAG,QAAsB;CAEtE,IAAM,IAAM,EAAa,EADR,EAAoB,IACF,GAAU,CAAY,CAAC,GACpD,CAAC,KAAQ,EAAgB,GAAO,GAAK,CAAe;CAE1D,OAAO,kBAAC,GAAD;EAAkB;EAAK,MAAM,KAAQ,KAAA;EAAW,GAAI;CAAO,CAAA;AACpE"}
@@ -0,0 +1,2 @@
1
+ const e=require("./useObjectRef-B_VeQHvx.cjs.js"),t=require("./utils-yFMw0myV.cjs.js"),n=require("./Keyboard-BxnTJ58S.cjs.js"),r=require("./merge-refs-DjTl2ATo.cjs.js");let i=require("react"),a=require("react/jsx-runtime"),o=require("@chakra-ui/react/styled-system");require("@chakra-ui/react/kbd");var{withContext:s}=(0,o.createRecipeContext)({key:`nimbusKbd`}),c=s(`kbd`),l=({ref:o,slot:s,...l})=>{let u=e.t(r.t((0,i.useRef)(null),o)),[d]=t.n(l,u,n.t);return(0,a.jsx)(c,{ref:u,slot:s||void 0,...d})};Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return l}});
2
+ //# sourceMappingURL=kbd-Dz483siQ.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kbd-Dz483siQ.cjs.js","names":[],"sources":["../../src/components/kbd/kbd.slots.ts","../../src/components/kbd/kbd.tsx"],"sourcesContent":["import {\n type HTMLChakraProps,\n type RecipeProps,\n type UnstyledProp,\n createRecipeContext,\n} from \"@chakra-ui/react/styled-system\";\nimport type { SlotComponent } from \"@/type-utils\";\n\n/**\n * Base recipe props interface that combines Chakra UI's recipe props\n * with the unstyled prop option for the svg element.\n */\ntype KbdRecipeProps = RecipeProps<\"nimbusKbd\"> & UnstyledProp;\n\n/**\n * Root props interface that extends Chakra's HTML props with our recipe props.\n * This creates a complete set of props for the root element, combining\n * HTML attributes, Chakra's styling system, and our custom recipe props.\n */\nexport type KbdRootSlotProps = HTMLChakraProps<\"kbd\", KbdRecipeProps>;\n\nconst { withContext } = createRecipeContext({ key: \"nimbusKbd\" });\n\n/**\n * Root component that provides the styling context for the Icon component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const KbdRootSlot: SlotComponent<HTMLElement, KbdRootSlotProps> =\n withContext<HTMLElement, KbdRootSlotProps>(\"kbd\");\n","import { KeyboardContext, useContextProps } from \"react-aria-components\";\nimport { mergeRefs } from \"@/utils\";\nimport { type KbdProps as ChakraKbdProps } from \"@chakra-ui/react/kbd\";\nimport { useRef } from \"react\";\nimport type React from \"react\";\nimport { useObjectRef } from \"react-aria\";\nimport { KbdRootSlot } from \"./kbd.slots\";\n\nexport type KbdProps = Omit<ChakraKbdProps, \"slot\"> & {\n ref?: React.Ref<HTMLElement>;\n slot?: string | null | undefined;\n};\n\n/**\n * # Kbd\n *\n * Renders a keyboard shortcut or key combination, styled for visual clarity.\n * Typically used to visually represent keyboard keys.\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/typography/kbd}\n */\nexport const Kbd = ({ ref: forwardedRef, slot, ...props }: KbdProps) => {\n const localRef = useRef<HTMLElement>(null);\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\n const [rest] = useContextProps(props, ref, KeyboardContext);\n\n return <KbdRootSlot ref={ref} slot={slot || undefined} {...rest} />;\n};\n"],"mappings":"2SAqBA,GAAM,CAAE,gBAAA,EAAA,EAAA,qBAAoC,CAAE,IAAK,WAAY,CAAC,EAMnD,EACX,EAA2C,KAAK,ECPrC,GAAO,CAAE,IAAK,EAAc,OAAM,GAAG,KAAsB,CAEtE,IAAM,EAAM,EAAA,EAAa,EAAA,GAAA,EAAA,EAAA,QADY,IACF,EAAU,CAAY,CAAC,EACpD,CAAC,GAAQ,EAAA,EAAgB,EAAO,EAAK,EAAA,CAAe,EAE1D,OAAO,EAAA,EAAA,KAAC,EAAD,CAAkB,MAAK,KAAM,GAAQ,IAAA,GAAW,GAAI,CAAO,CAAA,CACpE"}
@@ -0,0 +1,2 @@
1
+ const e=require("./mergeProps-CiOPEjJs.cjs.js"),t=require("./useObjectRef-B_VeQHvx.cjs.js"),n=require("./useLink-BYUu9Lzo.cjs.js"),r=require("./merge-refs-DjTl2ATo.cjs.js");let i=require("react"),a=require("react/jsx-runtime");var{withContext:o}=(0,require("@chakra-ui/react/styled-system").createRecipeContext)({key:`nimbusLink`}),s=o(`a`),c=o=>{let{as:c,asChild:l,children:u,ref:d,...f}=o,p=t.t(r.t((0,i.useRef)(null),d)),m=c||(l?`span`:`a`)||`a`,{linkProps:h}=n.t({...f,elementType:m},p);return(0,a.jsx)(s,{...e.t(f,h,{as:c,asChild:l,ref:p}),children:u})};c.displayName=`Link`,Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return c}});
2
+ //# sourceMappingURL=link-Bv3W3fUU.cjs.js.map