@nldd/design-system 0.20.0 → 0.21.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 (330) hide show
  1. package/custom-elements.json +204 -8
  2. package/dist/cdn/autoloader.js +181 -0
  3. package/dist/cdn/chunks/activity-indicator-JglZJ8dh.js +356 -0
  4. package/dist/cdn/chunks/activity-indicator.i18n-D7mCy6d2.js +3 -0
  5. package/dist/cdn/chunks/avatar-ASqePVhU.js +308 -0
  6. package/dist/cdn/chunks/avatar-group-rknt4FBO.js +338 -0
  7. package/dist/cdn/chunks/avatar-group.i18n-BYw_9wt_.js +7 -0
  8. package/dist/cdn/chunks/avatar.i18n-CMwQjBkS.js +7 -0
  9. package/dist/cdn/chunks/badge-Cc2Nufoc.js +323 -0
  10. package/dist/cdn/chunks/badge.i18n-DqW7hLQj.js +3 -0
  11. package/dist/cdn/chunks/banner-BLVKM07M.js +325 -0
  12. package/dist/cdn/chunks/banner.i18n-BOCM9rGN.js +3 -0
  13. package/dist/cdn/chunks/bar-split-view-Clbg-p9H.js +259 -0
  14. package/dist/cdn/chunks/base-CfuoYRhN.js +3 -0
  15. package/dist/cdn/chunks/blockquote-BoOqbGdm.js +189 -0
  16. package/dist/cdn/chunks/box-WkhyjQVy.js +88 -0
  17. package/dist/cdn/chunks/breadcrumbs-D9YxZzRj.js +162 -0
  18. package/dist/cdn/chunks/breadcrumbs.i18n-zmO8jaTO.js +3 -0
  19. package/dist/cdn/chunks/breakpoints-Cwor8TRP.js +15 -0
  20. package/dist/cdn/chunks/button-DO90Lo6q.js +863 -0
  21. package/dist/cdn/chunks/button-bar-Bxgdbyh3.js +225 -0
  22. package/dist/cdn/chunks/button-group-BYGPPLmZ.js +205 -0
  23. package/dist/{components/button.i18n-DiDGynnq.js → cdn/chunks/button.i18n-BGFt7Z9u.js} +2 -2
  24. package/dist/cdn/chunks/card-BP0jfOkS.js +262 -0
  25. package/dist/cdn/chunks/card.i18n-CpafLm3i.js +8 -0
  26. package/dist/cdn/chunks/carried-context-DlMSujiJ.js +37 -0
  27. package/dist/cdn/chunks/cell-BRD2ilQh.js +144 -0
  28. package/dist/cdn/chunks/checkbox-Cazx8CQn.js +296 -0
  29. package/dist/cdn/chunks/checkbox-field-DDZ-B6vH.js +157 -0
  30. package/dist/cdn/chunks/class-map-CXSdNjt8.js +26 -0
  31. package/dist/cdn/chunks/code-editor-D6Q55oaY.js +286 -0
  32. package/dist/cdn/chunks/code-viewer-DspLH2T1.js +766 -0
  33. package/dist/cdn/chunks/code-viewer.i18n-BHfSDRbK.js +13 -0
  34. package/dist/cdn/chunks/codemirror-input-Db65x22n.js +1232 -0
  35. package/dist/cdn/chunks/collection-NVtkvDls.js +396 -0
  36. package/dist/cdn/chunks/collection.i18n-DqWPGnZO.js +8 -0
  37. package/dist/cdn/chunks/combo-box-DyBQSaQl.js +512 -0
  38. package/dist/cdn/chunks/combo-box.i18n-BorzYnJ2.js +6 -0
  39. package/dist/cdn/chunks/container-rrbwk0z4.js +602 -0
  40. package/dist/cdn/chunks/custom-element-BW8Ua4c7.js +7 -0
  41. package/dist/cdn/chunks/custom-element-q6NzoL5b.js +301 -0
  42. package/dist/cdn/chunks/custom-font-size-D7KNr84p.js +57 -0
  43. package/dist/cdn/chunks/date-field-Clti_wKN.js +654 -0
  44. package/dist/cdn/chunks/date-field.i18n-BTzc0E9a.js +15 -0
  45. package/dist/cdn/chunks/date-picker-2TCQLd5D.js +993 -0
  46. package/dist/cdn/chunks/date-picker.i18n-Dsc_M5QK.js +82 -0
  47. package/dist/cdn/chunks/decorate-TduJMFD_.js +280 -0
  48. package/dist/cdn/chunks/defer-focus-F73ud2D9.js +9 -0
  49. package/dist/cdn/chunks/described-by-mixin-daRE7orX.js +32 -0
  50. package/dist/cdn/chunks/description-cell-CQwOj_rN.js +166 -0
  51. package/dist/cdn/chunks/dev-checks-zW_W-hnh.js +2695 -0
  52. package/dist/cdn/chunks/directive-CwRgozUW.js +27 -0
  53. package/dist/cdn/chunks/dismiss-from-title-bar-C6mP7sWP.js +5 -0
  54. package/dist/cdn/chunks/dist-3C80SZN9.js +849 -0
  55. package/dist/cdn/chunks/dist-A7_1pHX0.js +379 -0
  56. package/dist/cdn/chunks/dist-BEfLdOvy.js +1346 -0
  57. package/dist/cdn/chunks/dist-BTUxFM2V.js +268 -0
  58. package/dist/cdn/chunks/dist-CP3G1pSK.js +1037 -0
  59. package/dist/cdn/chunks/dist-C_dGY6zR.js +468 -0
  60. package/dist/{components/dist-B9YBOGFW.js → cdn/chunks/dist-ChmCRv39.js} +109 -153
  61. package/dist/{components/dist-CJm4tkNC.js → cdn/chunks/dist-D2qap2OY.js} +23 -31
  62. package/dist/cdn/chunks/dist-DPUBF0MZ.js +1593 -0
  63. package/dist/{components/dist-4g23YHP0.js → cdn/chunks/dist-DrTzvgE7.js} +291 -404
  64. package/dist/cdn/chunks/dist-EM4MWLQq.js +385 -0
  65. package/dist/cdn/chunks/dist-EgIBI-FG.js +293 -0
  66. package/dist/{components/dist-Bf823YyL.js → cdn/chunks/dist-Rm6FvrSR.js} +272 -551
  67. package/dist/cdn/chunks/divider-CCNbnplA.js +53 -0
  68. package/dist/cdn/chunks/document-tab-bar-CUc4WWY3.js +973 -0
  69. package/dist/cdn/chunks/document-tab-bar.i18n-DKrA9TnB.js +9 -0
  70. package/dist/cdn/chunks/drag-handle-cell-CbzDYebG.js +206 -0
  71. package/dist/cdn/chunks/drag-handle-cell.i18n-CKUrbm2q.js +3 -0
  72. package/dist/cdn/chunks/dropdown-DZTZtkm5.js +350 -0
  73. package/dist/cdn/chunks/element-state-B-44fVqq.js +20 -0
  74. package/dist/cdn/chunks/file-field-Bff6_1pp.js +1484 -0
  75. package/dist/cdn/chunks/file-field.i18n-pDM7Utud.js +40 -0
  76. package/dist/cdn/chunks/floating-ui.dom-B8J1rV2c.js +753 -0
  77. package/dist/cdn/chunks/focus-target-DSLGcCWq.js +24 -0
  78. package/dist/cdn/chunks/form-actions-C_7hINq-.js +90 -0
  79. package/dist/cdn/chunks/form-associated-mixin--GIbl98p.js +62 -0
  80. package/dist/cdn/chunks/form-field--4nWJ_DK.js +364 -0
  81. package/dist/cdn/chunks/form-hXLgy_tY.js +84 -0
  82. package/dist/cdn/chunks/form-section-By-D4un0.js +64 -0
  83. package/dist/cdn/chunks/full-bleed-section-Dg4sIJG1.js +161 -0
  84. package/dist/cdn/chunks/gherkin-eseYvsxh.js +29 -0
  85. package/dist/cdn/chunks/hero-CQQMNCT_.js +761 -0
  86. package/dist/{components/icon-_Eox7ZfO.js → cdn/chunks/icon-BORlalt0.js} +298 -308
  87. package/dist/cdn/chunks/icon-button-rKiIHs7A.js +632 -0
  88. package/dist/{components/icon-button.i18n-1_N-wN6x.js → cdn/chunks/icon-button.i18n-DpZOfIS4.js} +2 -4
  89. package/dist/cdn/chunks/icon-cell-rk4NQid2.js +156 -0
  90. package/dist/cdn/chunks/identity-Cg1l0HhB.js +187 -0
  91. package/dist/cdn/chunks/if-defined-CaKKERku.js +4 -0
  92. package/dist/cdn/chunks/image-DZMW6JgL.js +659 -0
  93. package/dist/cdn/chunks/image.i18n-ONcm1h7o.js +3 -0
  94. package/dist/cdn/chunks/implicit-submission-Csbcor_E.js +27 -0
  95. package/dist/cdn/chunks/inline-dialog-WlqtPBPJ.js +259 -0
  96. package/dist/cdn/chunks/input-modality-XE0B7yCn.js +42 -0
  97. package/dist/cdn/chunks/just-in-time-education-DRcb5g7x.js +611 -0
  98. package/dist/cdn/chunks/just-in-time-education.i18n-CW_dsaxf.js +6 -0
  99. package/dist/cdn/chunks/kanban-Ca_mfqsA.js +400 -0
  100. package/dist/cdn/chunks/kanban-column-fgIMc7pw.js +375 -0
  101. package/dist/cdn/chunks/kanban.i18n-CWqc3e0B.js +11 -0
  102. package/dist/cdn/chunks/keyboard-shortcut-EknnW7Ub.js +267 -0
  103. package/dist/cdn/chunks/languages-yKikVFv_.js +8893 -0
  104. package/dist/cdn/chunks/link-FBSAJ3UC.js +229 -0
  105. package/dist/cdn/chunks/link-group-90qVfKa0.js +111 -0
  106. package/dist/cdn/chunks/link-hint-KFhgr5Ng.js +24 -0
  107. package/dist/cdn/chunks/link-rel-DvrTEfVT.js +8 -0
  108. package/dist/cdn/chunks/link.i18n-DJPobGmu.js +8 -0
  109. package/dist/cdn/chunks/list-CaWl3q0Z.js +880 -0
  110. package/dist/cdn/chunks/list-item-Cagnf6eG.js +802 -0
  111. package/dist/cdn/chunks/list-item-segment-BRzBF1y_.js +315 -0
  112. package/dist/cdn/chunks/list-item-segment.i18n-DHnrQL4V.js +8 -0
  113. package/dist/{components/list-item.i18n-89uqlBMK.js → cdn/chunks/list-item.i18n-Br6J5Ev9.js} +2 -2
  114. package/dist/cdn/chunks/list-items-Du0RCWsY.js +6 -0
  115. package/dist/{components/list.i18n-CKqbhFQ_.js → cdn/chunks/list.i18n-C40ltgdI.js} +2 -2
  116. package/dist/cdn/chunks/loading-tags-DtUr-DR7.js +3 -0
  117. package/dist/cdn/chunks/menu-BOu_pD1Q.js +719 -0
  118. package/dist/cdn/chunks/menu-bar-0NFXvq-v.js +253 -0
  119. package/dist/cdn/chunks/menu-bar-item-DGSC_ETi.js +365 -0
  120. package/dist/cdn/chunks/menu-bar.i18n-BoMu4Eoz.js +3 -0
  121. package/dist/cdn/chunks/menu-divider-CLLRgMll.js +15 -0
  122. package/dist/cdn/chunks/menu-group-BL24ChpR.js +23 -0
  123. package/dist/cdn/chunks/menu-item-CooKfrFa.js +140 -0
  124. package/dist/cdn/chunks/menu.i18n-C6uYJsG3.js +10 -0
  125. package/dist/cdn/chunks/menu.template-C6rbfI-u.js +642 -0
  126. package/dist/cdn/chunks/modal-dialog-BrUMP4Jm.js +240 -0
  127. package/dist/cdn/chunks/multi-line-text-field-D7hXhyOn.js +318 -0
  128. package/dist/cdn/chunks/navigation-split-view-B2ZQhxEb.js +621 -0
  129. package/dist/cdn/chunks/nl.generated-D6T41jG3.js +112 -0
  130. package/dist/cdn/chunks/notification-DSGP14d1.js +492 -0
  131. package/dist/cdn/chunks/notification.i18n-BKUSLN5c.js +6 -0
  132. package/dist/cdn/chunks/number-field-B8op14Y_.js +301 -0
  133. package/dist/cdn/chunks/number-field.i18n-BS0bINWY.js +7 -0
  134. package/dist/cdn/chunks/one-half-one-half-section-ZYmHYf4Q.js +213 -0
  135. package/dist/cdn/chunks/one-third-two-thirds-section-Ds10K6AS.js +213 -0
  136. package/dist/cdn/chunks/one-time-code-field-Cgy_tTS4.js +693 -0
  137. package/dist/cdn/chunks/open-when-rendered-CW_2_WUZ.js +20 -0
  138. package/dist/cdn/chunks/owned-attribute-x9OCTy_4.js +6 -0
  139. package/dist/cdn/chunks/owner-form-Cq8tT7ac.js +7 -0
  140. package/dist/cdn/chunks/page-CBf_Decp.js +431 -0
  141. package/dist/cdn/chunks/page-footer-CSv1dU7M.js +396 -0
  142. package/dist/cdn/chunks/page-footer.i18n-pbdr4lN3.js +3 -0
  143. package/dist/cdn/chunks/page-section-mixin-Dp6X8GKd.js +132 -0
  144. package/dist/cdn/chunks/pagination-CMUcFB53.js +485 -0
  145. package/dist/cdn/chunks/pagination.i18n-QQMx14CQ.js +9 -0
  146. package/dist/cdn/chunks/password-field-C76Vm3rm.js +368 -0
  147. package/dist/cdn/chunks/password-field.i18n-CzdBn-1b.js +8 -0
  148. package/dist/cdn/chunks/popover-C-CVVtfl.js +334 -0
  149. package/dist/cdn/chunks/popover-target-B25dxnmt.js +10 -0
  150. package/dist/cdn/chunks/popover.i18n-DmFBHUvB.js +3 -0
  151. package/dist/cdn/chunks/popup-anchor-controller-VZw0bXf2.js +30 -0
  152. package/dist/cdn/chunks/progress-bar-BLiHaRUS.js +674 -0
  153. package/dist/cdn/chunks/progress-bar.i18n-Cr5miGTx.js +8 -0
  154. package/dist/cdn/chunks/progress-circle-CjkovRbL.js +667 -0
  155. package/dist/cdn/chunks/progress-circle.i18n-CRrXuY4V.js +8 -0
  156. package/dist/cdn/chunks/query-ChDzi9FQ.js +28 -0
  157. package/dist/cdn/chunks/radio-button-GHyO-GQB.js +338 -0
  158. package/dist/cdn/chunks/radio-button-field-C-Z6Lnd4.js +192 -0
  159. package/dist/cdn/chunks/radio-button-group-ChTqBCnQ.js +118 -0
  160. package/dist/cdn/chunks/radio-position-CXWYAjaz.js +10 -0
  161. package/dist/cdn/chunks/reflect-non-default-Bu3rpCvg.js +9 -0
  162. package/dist/cdn/chunks/render-marked-DX_5ISZE.js +37 -0
  163. package/dist/cdn/chunks/repeat-Ch_5OsXE.js +76 -0
  164. package/dist/cdn/chunks/return-focus-Xmagtk6r.js +52 -0
  165. package/dist/cdn/chunks/rich-text-CQ2uwMSp.js +47 -0
  166. package/dist/cdn/chunks/rich-text.i18n-BlJ68YuU.js +3 -0
  167. package/dist/cdn/chunks/row-header-mixin-CgqvREoV.js +16 -0
  168. package/dist/cdn/chunks/sanitize-url-CBuGmY0W.js +7 -0
  169. package/dist/cdn/chunks/scroll-mode-controller-COUD1-3P.js +42 -0
  170. package/dist/cdn/chunks/search-field-BGNfERhn.js +396 -0
  171. package/dist/cdn/chunks/search-field.i18n-B_Oc7hc-.js +6 -0
  172. package/dist/cdn/chunks/segmented-control-BYAG4VRp.js +671 -0
  173. package/dist/cdn/chunks/shadow-resets-6SToDsPu.js +12 -0
  174. package/dist/cdn/chunks/sheet-BdVCqm2H.js +340 -0
  175. package/dist/cdn/chunks/shell-C9rds_D9.js +146 -0
  176. package/dist/cdn/chunks/shell-DmJOYhyF.js +108 -0
  177. package/dist/cdn/chunks/side-by-side-split-view-C5oX4c6Z.js +166 -0
  178. package/dist/cdn/chunks/sidebar-section-DP4jnS7g.js +353 -0
  179. package/dist/cdn/chunks/sidebar-section.i18n-BuGfRMpD.js +6 -0
  180. package/dist/cdn/chunks/simple-section-qrCqXeBa.js +192 -0
  181. package/dist/cdn/chunks/skip-link-DWh4W6-J.js +161 -0
  182. package/dist/cdn/chunks/skip-link.i18n--PbEdAmJ.js +3 -0
  183. package/dist/cdn/chunks/slider--hODfOwh.js +772 -0
  184. package/dist/cdn/chunks/slider.i18n-DVw0c8AG.js +6 -0
  185. package/dist/cdn/chunks/slot-content-BLuPqVXw.js +13 -0
  186. package/dist/cdn/chunks/spacer-CFzq_JCh.js +237 -0
  187. package/dist/cdn/chunks/spacer-cell-DuVOgIj8.js +68 -0
  188. package/dist/cdn/chunks/spacing-scale-SufIjHeN.js +28 -0
  189. package/dist/cdn/chunks/split-button-BeXnOUTt.js +268 -0
  190. package/dist/cdn/chunks/split-button.i18n-DtClSMga.js +3 -0
  191. package/dist/cdn/chunks/split-view-divider-jzcPmnMh.js +100 -0
  192. package/dist/cdn/chunks/split-view-pane-BLsZz263.js +128 -0
  193. package/dist/cdn/chunks/stacked-split-view-CcOR8LrJ.js +157 -0
  194. package/dist/cdn/chunks/static-html-Cf4ccUIg.js +26 -0
  195. package/dist/cdn/chunks/status-bar-CINbOihq.js +284 -0
  196. package/dist/cdn/chunks/status-bar-change-CR9l0Gyk.js +3 -0
  197. package/dist/cdn/chunks/step-bar-6FvZL1Ti.js +474 -0
  198. package/dist/cdn/chunks/step-bar.i18n-DocExlD7.js +9 -0
  199. package/dist/cdn/chunks/step-cell-CejRisgS.js +287 -0
  200. package/dist/cdn/chunks/stepper-CY2rJWOJ.js +223 -0
  201. package/dist/cdn/chunks/stepper.i18n-COOAkaBl.js +7 -0
  202. package/dist/cdn/chunks/style-map-DsIw6lkq.js +29 -0
  203. package/dist/cdn/chunks/style-mod-DGMhzWuk.js +1583 -0
  204. package/dist/cdn/chunks/swatch-picker-BY3DBIl6.js +430 -0
  205. package/dist/cdn/chunks/swatch-picker.i18n-_G0nmnGe.js +22 -0
  206. package/dist/cdn/chunks/switch-DDSsZFwK.js +275 -0
  207. package/dist/cdn/chunks/switch-field-CMoM9I38.js +137 -0
  208. package/dist/cdn/chunks/tab-bar-DmslEoPD.js +697 -0
  209. package/dist/cdn/chunks/tab-bar.i18n-Crsc7ShA.js +3 -0
  210. package/dist/cdn/chunks/table-DwXjCSD5.js +308 -0
  211. package/dist/cdn/chunks/table.i18n-Bmb_uw_w.js +3 -0
  212. package/dist/cdn/chunks/tag-DM3APy3B.js +306 -0
  213. package/dist/cdn/chunks/text-B1CatNR1.js +421 -0
  214. package/dist/cdn/chunks/text-cell-BkEsGI3g.js +299 -0
  215. package/dist/cdn/chunks/text-editor-BvTiMeNV.js +3743 -0
  216. package/dist/cdn/chunks/text-editor.i18n-sJKiRQ4i.js +17 -0
  217. package/dist/cdn/chunks/text-field-CUyh1-V8.js +398 -0
  218. package/dist/cdn/chunks/time-field-Cj5WojfO.js +597 -0
  219. package/dist/cdn/chunks/time-field.i18n-CLH5vmS7.js +11 -0
  220. package/dist/cdn/chunks/time-picker-W0xYXLy8.js +508 -0
  221. package/dist/cdn/chunks/time-picker.i18n-BilOCXlS.js +7 -0
  222. package/dist/cdn/chunks/title-BuT7tWqN.js +437 -0
  223. package/dist/cdn/chunks/title-bar-label-controller-DSxdKZOg.js +24 -0
  224. package/dist/cdn/chunks/title-cell-8d8psUBX.js +327 -0
  225. package/dist/cdn/chunks/toggle-button-DNXWXZpE.js +528 -0
  226. package/dist/cdn/chunks/toggle-button-group-ByowJYgs.js +156 -0
  227. package/dist/cdn/chunks/token-CnkEB3hB.js +266 -0
  228. package/dist/cdn/chunks/token-field-hvDB3l6O.js +664 -0
  229. package/dist/cdn/chunks/token-field.i18n-BclzoR8F.js +9 -0
  230. package/dist/cdn/chunks/token.i18n-RGD5zAtl.js +7 -0
  231. package/dist/cdn/chunks/toml-w97zZfFO.js +27 -0
  232. package/dist/cdn/chunks/toolbar-iNd1VmuG.js +408 -0
  233. package/dist/cdn/chunks/toolbar-item-DpPfPxCi.js +50 -0
  234. package/dist/cdn/chunks/toolbar-title-KBMpfL9d.js +84 -0
  235. package/dist/cdn/chunks/toolbar.i18n-QwS37CBC.js +8 -0
  236. package/dist/cdn/chunks/toolbar.styles-BQkG4gVc.js +383 -0
  237. package/dist/cdn/chunks/tooltip-BsAHJjci.js +325 -0
  238. package/dist/cdn/chunks/top-navigation-bar-D1hjWIF3.js +925 -0
  239. package/dist/cdn/chunks/top-navigation-bar.i18n-C-lcH1nB.js +10 -0
  240. package/dist/cdn/chunks/top-title-bar-iNFB2zQL.js +344 -0
  241. package/dist/cdn/chunks/translations-wxBSz213.js +8 -0
  242. package/dist/cdn/chunks/two-thirds-one-third-section-D-UANbHC.js +213 -0
  243. package/dist/cdn/chunks/validation-list-C5BhHZIG.js +202 -0
  244. package/dist/cdn/chunks/validation-list.i18n-CM6In8zD.js +12 -0
  245. package/dist/cdn/chunks/visibility-mixin-COAZ9pON.js +74 -0
  246. package/dist/cdn/chunks/visually-hidden-BPgATaH0.js +43 -0
  247. package/dist/cdn/chunks/window-t5iFkMLY.js +227 -0
  248. package/dist/cdn/chunks/window.i18n-CsEnUPAk.js +3 -0
  249. package/dist/cdn/chunks/with-translations-XX14GKFh.js +16 -0
  250. package/dist/components/actions/menu/menu-item.d.ts +6 -2
  251. package/dist/components/actions/menu/menu-item.d.ts.map +1 -1
  252. package/dist/components/actions/menu/menu-item.js +12 -1
  253. package/dist/components/actions/menu/menu-item.js.map +1 -1
  254. package/dist/components/actions/menu/menu.js +1 -1
  255. package/dist/components/actions/menu/menu.js.map +1 -1
  256. package/dist/components/actions/menu/menu.template.d.ts.map +1 -1
  257. package/dist/components/actions/menu/menu.template.js +2 -1
  258. package/dist/components/actions/menu/menu.template.js.map +1 -1
  259. package/dist/components/inputs/dropdown/dropdown.d.ts +22 -2
  260. package/dist/components/inputs/dropdown/dropdown.d.ts.map +1 -1
  261. package/dist/components/inputs/dropdown/dropdown.js +67 -11
  262. package/dist/components/inputs/dropdown/dropdown.js.map +1 -1
  263. package/dist/components/layout/container/container.d.ts +15 -2
  264. package/dist/components/layout/container/container.d.ts.map +1 -1
  265. package/dist/components/layout/container/container.js +38 -3
  266. package/dist/components/layout/container/container.js.map +1 -1
  267. package/dist/components/layout/container/container.styles.js +1 -1
  268. package/dist/components/layout/container/container.template.js +1 -1
  269. package/dist/components/layout/container/container.template.js.map +1 -1
  270. package/dist/components/lists-and-tables/list-item/list-item.d.ts +7 -0
  271. package/dist/components/lists-and-tables/list-item/list-item.d.ts.map +1 -1
  272. package/dist/components/lists-and-tables/list-item/list-item.js +13 -3
  273. package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
  274. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts +11 -1
  275. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts.map +1 -1
  276. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js +19 -3
  277. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js.map +1 -1
  278. package/dist/nldd.min.js +298 -298
  279. package/dist/types/react.d.ts +3323 -0
  280. package/dist/types/vue.d.ts +11 -3
  281. package/dist/utilities/autoloader.d.ts +33 -0
  282. package/dist/utilities/autoloader.d.ts.map +1 -0
  283. package/dist/utilities/autoloader.generated.d.ts +3 -0
  284. package/dist/utilities/autoloader.generated.d.ts.map +1 -0
  285. package/dist/utilities/autoloader.generated.js +141 -0
  286. package/dist/utilities/autoloader.generated.js.map +1 -0
  287. package/dist/utilities/autoloader.js +94 -0
  288. package/dist/utilities/autoloader.js.map +1 -0
  289. package/dist/utilities/dev-checks.d.ts +9 -0
  290. package/dist/utilities/dev-checks.d.ts.map +1 -1
  291. package/dist/utilities/dev-checks.js +45 -3
  292. package/dist/utilities/dev-checks.js.map +1 -1
  293. package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
  294. package/dist/utilities/dev-rules.generated.js +12 -2
  295. package/dist/utilities/dev-rules.generated.js.map +1 -1
  296. package/dist/utilities/loading-tags.d.ts +7 -0
  297. package/dist/utilities/loading-tags.d.ts.map +1 -0
  298. package/dist/utilities/loading-tags.js +7 -0
  299. package/dist/utilities/loading-tags.js.map +1 -0
  300. package/dist/utilities/owner-form.d.ts +3 -3
  301. package/dist/utilities/owner-form.d.ts.map +1 -1
  302. package/dist/utilities/owner-form.js +6 -3
  303. package/dist/utilities/owner-form.js.map +1 -1
  304. package/lint/data.generated.json +1 -1
  305. package/package.json +50 -11
  306. package/dist/components/breakpoints-DtL62nLI.js +0 -45
  307. package/dist/components/components.js +0 -68243
  308. package/dist/components/decorate-DD7uUxHb.js +0 -51
  309. package/dist/components/defer-focus-dzorHsCQ.js +0 -176
  310. package/dist/components/dev-checks-CLB9G43h.js +0 -2711
  311. package/dist/components/dist-245LaK9m.js +0 -1479
  312. package/dist/components/dist-BFZM0YsR.js +0 -15772
  313. package/dist/components/dist-BNkeFjc3.js +0 -1180
  314. package/dist/components/dist-CSC1dG3L.js +0 -365
  315. package/dist/components/dist-CeMOOqgP.js +0 -1509
  316. package/dist/components/dist-DFjwTlJV.js +0 -624
  317. package/dist/components/dist-DHhnz3Gv.js +0 -381
  318. package/dist/components/dist-PeUX4vPq.js +0 -2857
  319. package/dist/components/dist-m70B83qb.js +0 -463
  320. package/dist/components/element-state-BnarBv0M.js +0 -42
  321. package/dist/components/gherkin-DzYbEwDO.js +0 -107
  322. package/dist/components/icon-button-8gvQCwCW.js +0 -2305
  323. package/dist/components/input-modality-D_CY185R.js +0 -48
  324. package/dist/components/just-in-time-education.i18n-BqU1ImP4.js +0 -423
  325. package/dist/components/nl.generated-DzZkOgnP.js +0 -64
  326. package/dist/components/rolldown-runtime-D8jQpDG7.js +0 -12
  327. package/dist/components/shadow-resets-BwOyyZFH.js +0 -60
  328. package/dist/components/shell-Dh5IwHd-.js +0 -222
  329. package/dist/components/toml-D0Pix_8Q.js +0 -58
  330. package/dist/components/visibility-mixin-Dzn48SL8.js +0 -153
@@ -0,0 +1,1583 @@
1
+ // node_modules/@lezer/common/dist/index.js
2
+ var e = 1024, t = 0, n = class {
3
+ constructor(e, t) {
4
+ this.from = e, this.to = t;
5
+ }
6
+ }, r = class {
7
+ constructor(e = {}) {
8
+ this.id = t++, this.perNode = !!e.perNode, this.deserialize = e.deserialize || (() => {
9
+ throw Error("This node type doesn't define a deserialize function");
10
+ }), this.combine = e.combine || null;
11
+ }
12
+ add(e) {
13
+ if (this.perNode) throw RangeError("Can't add per-node props to node types");
14
+ return typeof e != "function" && (e = o.match(e)), (t) => {
15
+ let n = e(t);
16
+ return n === void 0 ? null : [this, n];
17
+ };
18
+ }
19
+ };
20
+ r.closedBy = new r({ deserialize: (e) => e.split(" ") }), r.openedBy = new r({ deserialize: (e) => e.split(" ") }), r.group = new r({ deserialize: (e) => e.split(" ") }), r.isolate = new r({ deserialize: (e) => {
21
+ if (e && e != "rtl" && e != "ltr" && e != "auto") throw RangeError("Invalid value for isolate: " + e);
22
+ return e || "auto";
23
+ } }), r.contextHash = new r({ perNode: !0 }), r.lookAhead = new r({ perNode: !0 }), r.mounted = new r({ perNode: !0 });
24
+ var i = class {
25
+ constructor(e, t, n, r = !1) {
26
+ this.tree = e, this.overlay = t, this.parser = n, this.bracketed = r;
27
+ }
28
+ static get(e) {
29
+ return e && e.props && e.props[r.mounted.id];
30
+ }
31
+ }, a = Object.create(null), o = class e {
32
+ constructor(e, t, n, r = 0) {
33
+ this.name = e, this.props = t, this.id = n, this.flags = r;
34
+ }
35
+ static define(t) {
36
+ let n = t.props && t.props.length ? Object.create(null) : a, r = +!!t.top | (t.skipped ? 2 : 0) | (t.error ? 4 : 0) | (t.name == null ? 8 : 0), i = new e(t.name || "", n, t.id, r);
37
+ if (t.props) {
38
+ for (let e of t.props) if (Array.isArray(e) || (e = e(i)), e) {
39
+ if (e[0].perNode) throw RangeError("Can't store a per-node prop on a node type");
40
+ n[e[0].id] = e[1];
41
+ }
42
+ }
43
+ return i;
44
+ }
45
+ prop(e) {
46
+ return this.props[e.id];
47
+ }
48
+ get isTop() {
49
+ return (this.flags & 1) > 0;
50
+ }
51
+ get isSkipped() {
52
+ return (this.flags & 2) > 0;
53
+ }
54
+ get isError() {
55
+ return (this.flags & 4) > 0;
56
+ }
57
+ get isAnonymous() {
58
+ return (this.flags & 8) > 0;
59
+ }
60
+ is(e) {
61
+ if (typeof e == "string") {
62
+ if (this.name == e) return !0;
63
+ let t = this.prop(r.group);
64
+ return t ? t.indexOf(e) > -1 : !1;
65
+ }
66
+ return this.id == e;
67
+ }
68
+ static match(e) {
69
+ let t = Object.create(null);
70
+ for (let n in e) for (let r of n.split(" ")) t[r] = e[n];
71
+ return (e) => {
72
+ for (let n = e.prop(r.group), i = -1; i < (n ? n.length : 0); i++) {
73
+ let r = t[i < 0 ? e.name : n[i]];
74
+ if (r) return r;
75
+ }
76
+ };
77
+ }
78
+ };
79
+ o.none = new o("", Object.create(null), 0, 8);
80
+ var s = class e {
81
+ constructor(e) {
82
+ this.types = e;
83
+ for (let t = 0; t < e.length; t++) if (e[t].id != t) throw RangeError("Node type ids should correspond to array positions when creating a node set");
84
+ }
85
+ extend(...t) {
86
+ let n = [];
87
+ for (let e of this.types) {
88
+ let r = null;
89
+ for (let n of t) {
90
+ let t = n(e);
91
+ if (t) {
92
+ r || (r = Object.assign({}, e.props));
93
+ let n = t[1], i = t[0];
94
+ i.combine && i.id in r && (n = i.combine(r[i.id], n)), r[i.id] = n;
95
+ }
96
+ }
97
+ n.push(r ? new o(e.name, r, e.id, e.flags) : e);
98
+ }
99
+ return new e(n);
100
+ }
101
+ }, c = /* @__PURE__ */ new WeakMap(), l = /* @__PURE__ */ new WeakMap(), u;
102
+ (function(e) {
103
+ e[e.ExcludeBuffers = 1] = "ExcludeBuffers", e[e.IncludeAnonymous = 2] = "IncludeAnonymous", e[e.IgnoreMounts = 4] = "IgnoreMounts", e[e.IgnoreOverlays = 8] = "IgnoreOverlays", e[e.EnterBracketed = 16] = "EnterBracketed";
104
+ })(u || (u = {}));
105
+ var d = class e {
106
+ constructor(e, t, n, r, i) {
107
+ if (this.type = e, this.children = t, this.positions = n, this.length = r, this.props = null, i && i.length) {
108
+ this.props = Object.create(null);
109
+ for (let [e, t] of i) this.props[typeof e == "number" ? e : e.id] = t;
110
+ }
111
+ }
112
+ toString() {
113
+ let e = i.get(this);
114
+ if (e && !e.overlay) return e.tree.toString();
115
+ let t = "";
116
+ for (let e of this.children) {
117
+ let n = e.toString();
118
+ n && (t && (t += ","), t += n);
119
+ }
120
+ return this.type.name ? (/\W/.test(this.type.name) && !this.type.isError ? JSON.stringify(this.type.name) : this.type.name) + (t.length ? "(" + t + ")" : "") : t;
121
+ }
122
+ cursor(e = 0) {
123
+ return new T(this.topNode, e);
124
+ }
125
+ cursorAt(e, t = 0, n = 0) {
126
+ let r = new T(c.get(this) || this.topNode);
127
+ return r.moveTo(e, t), c.set(this, r._tree), r;
128
+ }
129
+ get topNode() {
130
+ return new _(this, 0, 0, null);
131
+ }
132
+ resolve(e, t = 0) {
133
+ let n = h(c.get(this) || this.topNode, e, t, !1);
134
+ return c.set(this, n), n;
135
+ }
136
+ resolveInner(e, t = 0) {
137
+ let n = h(l.get(this) || this.topNode, e, t, !0);
138
+ return l.set(this, n), n;
139
+ }
140
+ resolveStack(e, t = 0) {
141
+ return w(this, e, t);
142
+ }
143
+ iterate(e) {
144
+ let { enter: t, leave: n, from: r = 0, to: i = this.length } = e, a = e.mode || 0, o = (a & u.IncludeAnonymous) > 0;
145
+ for (let e = this.cursor(a | u.IncludeAnonymous);;) {
146
+ let a = !1;
147
+ if (e.from <= i && e.to >= r && (!o && e.type.isAnonymous || t(e) !== !1)) {
148
+ if (e.firstChild()) continue;
149
+ a = !0;
150
+ }
151
+ for (; a && n && (o || !e.type.isAnonymous) && n(e), !e.nextSibling();) {
152
+ if (!e.parent()) return;
153
+ a = !0;
154
+ }
155
+ }
156
+ }
157
+ prop(e) {
158
+ return e.perNode ? this.props ? this.props[e.id] : void 0 : this.type.prop(e);
159
+ }
160
+ get propValues() {
161
+ let e = [];
162
+ if (this.props) for (let t in this.props) e.push([+t, this.props[t]]);
163
+ return e;
164
+ }
165
+ balance(t = {}) {
166
+ return this.children.length <= 8 ? this : A(o.none, this.children, this.positions, 0, this.children.length, 0, this.length, (t, n, r) => new e(this.type, t, n, r, this.propValues), t.makeTree || ((t, n, r) => new e(o.none, t, n, r)));
167
+ }
168
+ static build(e) {
169
+ return D(e);
170
+ }
171
+ };
172
+ d.empty = new d(o.none, [], [], 0);
173
+ var f = class e {
174
+ constructor(e, t) {
175
+ this.buffer = e, this.index = t;
176
+ }
177
+ get id() {
178
+ return this.buffer[this.index - 4];
179
+ }
180
+ get start() {
181
+ return this.buffer[this.index - 3];
182
+ }
183
+ get end() {
184
+ return this.buffer[this.index - 2];
185
+ }
186
+ get size() {
187
+ return this.buffer[this.index - 1];
188
+ }
189
+ get pos() {
190
+ return this.index;
191
+ }
192
+ next() {
193
+ this.index -= 4;
194
+ }
195
+ fork() {
196
+ return new e(this.buffer, this.index);
197
+ }
198
+ }, p = class e {
199
+ constructor(e, t, n) {
200
+ this.buffer = e, this.length = t, this.set = n;
201
+ }
202
+ get type() {
203
+ return o.none;
204
+ }
205
+ toString() {
206
+ let e = [];
207
+ for (let t = 0; t < this.buffer.length;) e.push(this.childString(t)), t = this.buffer[t + 3];
208
+ return e.join(",");
209
+ }
210
+ childString(e) {
211
+ let t = this.buffer[e], n = this.buffer[e + 3], r = this.set.types[t], i = r.name;
212
+ if (/\W/.test(i) && !r.isError && (i = JSON.stringify(i)), e += 4, n == e) return i;
213
+ let a = [];
214
+ for (; e < n;) a.push(this.childString(e)), e = this.buffer[e + 3];
215
+ return i + "(" + a.join(",") + ")";
216
+ }
217
+ findChild(e, t, n, r, i) {
218
+ let { buffer: a } = this, o = -1;
219
+ for (let s = e; s != t && !(m(i, r, a[s + 1], a[s + 2]) && (o = s, n > 0)); s = a[s + 3]);
220
+ return o;
221
+ }
222
+ slice(t, n, r) {
223
+ let i = this.buffer, a = new Uint16Array(n - t), o = 0;
224
+ for (let e = t, s = 0; e < n;) {
225
+ a[s++] = i[e++], a[s++] = i[e++] - r;
226
+ let n = a[s++] = i[e++] - r;
227
+ a[s++] = i[e++] - t, o = Math.max(o, n);
228
+ }
229
+ return new e(a, o, this.set);
230
+ }
231
+ };
232
+ function m(e, t, n, r) {
233
+ switch (e) {
234
+ case -2: return n < t;
235
+ case -1: return r >= t && n < t;
236
+ case 0: return n < t && r > t;
237
+ case 1: return n <= t && r > t;
238
+ case 2: return r > t;
239
+ case 4: return !0;
240
+ }
241
+ }
242
+ function h(e, t, n, r) {
243
+ for (; e.from == e.to || (n < 1 ? e.from >= t : e.from > t) || (n > -1 ? e.to <= t : e.to < t);) {
244
+ let t = !r && e instanceof _ && e.index < 0 ? null : e.parent;
245
+ if (!t) return e;
246
+ e = t;
247
+ }
248
+ let i = r ? 0 : u.IgnoreOverlays;
249
+ if (r) for (let r = e, a = r.parent; a; r = a, a = r.parent) r instanceof _ && r.index < 0 && a.enter(t, n, i)?.from != r.from && (e = a);
250
+ for (;;) {
251
+ let r = e.enter(t, n, i);
252
+ if (!r) return e;
253
+ e = r;
254
+ }
255
+ }
256
+ var g = class {
257
+ cursor(e = 0) {
258
+ return new T(this, e);
259
+ }
260
+ getChild(e, t = null, n = null) {
261
+ let r = v(this, e, t, n);
262
+ return r.length ? r[0] : null;
263
+ }
264
+ getChildren(e, t = null, n = null) {
265
+ return v(this, e, t, n);
266
+ }
267
+ resolve(e, t = 0) {
268
+ return h(this, e, t, !1);
269
+ }
270
+ resolveInner(e, t = 0) {
271
+ return h(this, e, t, !0);
272
+ }
273
+ matchContext(e) {
274
+ return y(this.parent, e);
275
+ }
276
+ enterUnfinishedNodesBefore(e) {
277
+ let t = this.childBefore(e), n = this;
278
+ for (; t;) {
279
+ let e = t.lastChild;
280
+ if (!e || e.to != t.to) break;
281
+ e.type.isError && e.from == e.to ? (n = t, t = e.prevSibling) : t = e;
282
+ }
283
+ return n;
284
+ }
285
+ get node() {
286
+ return this;
287
+ }
288
+ get next() {
289
+ return this.parent;
290
+ }
291
+ }, _ = class e extends g {
292
+ constructor(e, t, n, r) {
293
+ super(), this._tree = e, this.from = t, this.index = n, this._parent = r;
294
+ }
295
+ get type() {
296
+ return this._tree.type;
297
+ }
298
+ get name() {
299
+ return this._tree.type.name;
300
+ }
301
+ get to() {
302
+ return this.from + this._tree.length;
303
+ }
304
+ nextChild(t, n, r, a, o = 0) {
305
+ for (let s = this;;) {
306
+ for (let { children: c, positions: l } = s._tree, f = n > 0 ? c.length : -1; t != f; t += n) {
307
+ let f = c[t], h = l[t] + s.from, g;
308
+ if (o & u.EnterBracketed && f instanceof d && (g = i.get(f)) && !g.overlay && g.bracketed && r >= h && r <= h + f.length || m(a, r, h, h + f.length)) {
309
+ if (f instanceof p) {
310
+ if (o & u.ExcludeBuffers) continue;
311
+ let e = f.findChild(0, f.buffer.length, n, r - h, a);
312
+ if (e > -1) return new x(new b(s, f, t, h), null, e);
313
+ } else if (o & u.IncludeAnonymous || !f.type.isAnonymous || E(f)) {
314
+ let c;
315
+ if (!(o & u.IgnoreMounts) && (c = i.get(f)) && !c.overlay) return new e(c.tree, h, t, s);
316
+ let l = new e(f, h, t, s);
317
+ return o & u.IncludeAnonymous || !l.type.isAnonymous ? l : l.nextChild(n < 0 ? f.children.length - 1 : 0, n, r, a, o);
318
+ }
319
+ }
320
+ }
321
+ if (o & u.IncludeAnonymous || !s.type.isAnonymous || (t = s.index >= 0 ? s.index + n : n < 0 ? -1 : s._parent._tree.children.length, s = s._parent, !s)) return null;
322
+ }
323
+ }
324
+ get firstChild() {
325
+ return this.nextChild(0, 1, 0, 4);
326
+ }
327
+ get lastChild() {
328
+ return this.nextChild(this._tree.children.length - 1, -1, 0, 4);
329
+ }
330
+ childAfter(e) {
331
+ return this.nextChild(0, 1, e, 2);
332
+ }
333
+ childBefore(e) {
334
+ return this.nextChild(this._tree.children.length - 1, -1, e, -2);
335
+ }
336
+ prop(e) {
337
+ return this._tree.prop(e);
338
+ }
339
+ enter(t, n, r = 0) {
340
+ let a;
341
+ if (!(r & u.IgnoreOverlays) && (a = i.get(this._tree)) && a.overlay) {
342
+ let i = t - this.from, o = r & u.EnterBracketed && a.bracketed;
343
+ for (let { from: t, to: r } of a.overlay) if ((n > 0 || o ? t <= i : t < i) && (n < 0 || o ? r >= i : r > i)) return new e(a.tree, a.overlay[0].from + this.from, -1, this);
344
+ }
345
+ return this.nextChild(0, 1, t, n, r);
346
+ }
347
+ nextSignificantParent() {
348
+ let e = this;
349
+ for (; e.type.isAnonymous && e._parent;) e = e._parent;
350
+ return e;
351
+ }
352
+ get parent() {
353
+ return this._parent ? this._parent.nextSignificantParent() : null;
354
+ }
355
+ get nextSibling() {
356
+ return this._parent && this.index >= 0 ? this._parent.nextChild(this.index + 1, 1, 0, 4) : null;
357
+ }
358
+ get prevSibling() {
359
+ return this._parent && this.index >= 0 ? this._parent.nextChild(this.index - 1, -1, 0, 4) : null;
360
+ }
361
+ get tree() {
362
+ return this._tree;
363
+ }
364
+ toTree() {
365
+ return this._tree;
366
+ }
367
+ toString() {
368
+ return this._tree.toString();
369
+ }
370
+ };
371
+ function v(e, t, n, r) {
372
+ let i = e.cursor(), a = [];
373
+ if (!i.firstChild()) return a;
374
+ if (n != null) {
375
+ for (let e = !1; !e;) if (e = i.type.is(n), !i.nextSibling()) return a;
376
+ }
377
+ for (;;) {
378
+ if (r != null && i.type.is(r)) return a;
379
+ if (i.type.is(t) && a.push(i.node), !i.nextSibling()) return r == null ? a : [];
380
+ }
381
+ }
382
+ function y(e, t, n = t.length - 1) {
383
+ for (let r = e; n >= 0; r = r.parent) {
384
+ if (!r) return !1;
385
+ if (!r.type.isAnonymous) {
386
+ if (t[n] && t[n] != r.name) return !1;
387
+ n--;
388
+ }
389
+ }
390
+ return !0;
391
+ }
392
+ var b = class {
393
+ constructor(e, t, n, r) {
394
+ this.parent = e, this.buffer = t, this.index = n, this.start = r;
395
+ }
396
+ }, x = class e extends g {
397
+ get name() {
398
+ return this.type.name;
399
+ }
400
+ get from() {
401
+ return this.context.start + this.context.buffer.buffer[this.index + 1];
402
+ }
403
+ get to() {
404
+ return this.context.start + this.context.buffer.buffer[this.index + 2];
405
+ }
406
+ constructor(e, t, n) {
407
+ super(), this.context = e, this._parent = t, this.index = n, this.type = e.buffer.set.types[e.buffer.buffer[n]];
408
+ }
409
+ child(t, n, r) {
410
+ let { buffer: i } = this.context, a = i.findChild(this.index + 4, i.buffer[this.index + 3], t, n - this.context.start, r);
411
+ return a < 0 ? null : new e(this.context, this, a);
412
+ }
413
+ get firstChild() {
414
+ return this.child(1, 0, 4);
415
+ }
416
+ get lastChild() {
417
+ return this.child(-1, 0, 4);
418
+ }
419
+ childAfter(e) {
420
+ return this.child(1, e, 2);
421
+ }
422
+ childBefore(e) {
423
+ return this.child(-1, e, -2);
424
+ }
425
+ prop(e) {
426
+ return this.type.prop(e);
427
+ }
428
+ enter(t, n, r = 0) {
429
+ if (r & u.ExcludeBuffers) return null;
430
+ let { buffer: i } = this.context, a = i.findChild(this.index + 4, i.buffer[this.index + 3], n > 0 ? 1 : -1, t - this.context.start, n);
431
+ return a < 0 ? null : new e(this.context, this, a);
432
+ }
433
+ get parent() {
434
+ return this._parent || this.context.parent.nextSignificantParent();
435
+ }
436
+ externalSibling(e) {
437
+ return this._parent ? null : this.context.parent.nextChild(this.context.index + e, e, 0, 4);
438
+ }
439
+ get nextSibling() {
440
+ let { buffer: t } = this.context, n = t.buffer[this.index + 3];
441
+ return n < (this._parent ? t.buffer[this._parent.index + 3] : t.buffer.length) ? new e(this.context, this._parent, n) : this.externalSibling(1);
442
+ }
443
+ get prevSibling() {
444
+ let { buffer: t } = this.context, n = this._parent ? this._parent.index + 4 : 0;
445
+ return this.index == n ? this.externalSibling(-1) : new e(this.context, this._parent, t.findChild(n, this.index, -1, 0, 4));
446
+ }
447
+ get tree() {
448
+ return null;
449
+ }
450
+ toTree() {
451
+ let e = [], t = [], { buffer: n } = this.context, r = this.index + 4, i = n.buffer[this.index + 3];
452
+ if (i > r) {
453
+ let a = n.buffer[this.index + 1];
454
+ e.push(n.slice(r, i, a)), t.push(0);
455
+ }
456
+ return new d(this.type, e, t, this.to - this.from);
457
+ }
458
+ toString() {
459
+ return this.context.buffer.childString(this.index);
460
+ }
461
+ };
462
+ function S(e) {
463
+ if (!e.length) return null;
464
+ let t = 0, n = e[0];
465
+ for (let r = 1; r < e.length; r++) {
466
+ let i = e[r];
467
+ (i.from > n.from || i.to < n.to) && (n = i, t = r);
468
+ }
469
+ let r = n instanceof _ && n.index < 0 ? null : n.parent, i = e.slice();
470
+ return r ? i[t] = r : i.splice(t, 1), new C(i, n);
471
+ }
472
+ var C = class {
473
+ constructor(e, t) {
474
+ this.heads = e, this.node = t;
475
+ }
476
+ get next() {
477
+ return S(this.heads);
478
+ }
479
+ };
480
+ function w(e, t, n) {
481
+ let r = e.resolveInner(t, n), a = null;
482
+ for (let e = r instanceof _ ? r : r.context.parent; e; e = e.parent) if (e.index < 0) {
483
+ let i = e.parent;
484
+ (a || (a = [r])).push(i.resolve(t, n)), e = i;
485
+ } else {
486
+ let o = i.get(e.tree);
487
+ if (o && o.overlay && o.overlay[0].from <= t && o.overlay[o.overlay.length - 1].to >= t) {
488
+ let i = new _(o.tree, o.overlay[0].from + e.from, -1, e);
489
+ (a || (a = [r])).push(h(i, t, n, !1));
490
+ }
491
+ }
492
+ return a ? S(a) : r;
493
+ }
494
+ var T = class {
495
+ get name() {
496
+ return this.type.name;
497
+ }
498
+ constructor(e, t = 0) {
499
+ if (this.buffer = null, this.stack = [], this.index = 0, this.bufferNode = null, this.mode = t & ~u.EnterBracketed, e instanceof _) this.yieldNode(e);
500
+ else {
501
+ this._tree = e.context.parent, this.buffer = e.context;
502
+ for (let t = e._parent; t; t = t._parent) this.stack.unshift(t.index);
503
+ this.bufferNode = e, this.yieldBuf(e.index);
504
+ }
505
+ }
506
+ yieldNode(e) {
507
+ return e ? (this._tree = e, this.type = e.type, this.from = e.from, this.to = e.to, !0) : !1;
508
+ }
509
+ yieldBuf(e, t) {
510
+ this.index = e;
511
+ let { start: n, buffer: r } = this.buffer;
512
+ return this.type = t || r.set.types[r.buffer[e]], this.from = n + r.buffer[e + 1], this.to = n + r.buffer[e + 2], !0;
513
+ }
514
+ yield(e) {
515
+ return e ? e instanceof _ ? (this.buffer = null, this.yieldNode(e)) : (this.buffer = e.context, this.yieldBuf(e.index, e.type)) : !1;
516
+ }
517
+ toString() {
518
+ return this.buffer ? this.buffer.buffer.childString(this.index) : this._tree.toString();
519
+ }
520
+ enterChild(e, t, n) {
521
+ if (!this.buffer) return this.yield(this._tree.nextChild(e < 0 ? this._tree._tree.children.length - 1 : 0, e, t, n, this.mode));
522
+ let { buffer: r } = this.buffer, i = r.findChild(this.index + 4, r.buffer[this.index + 3], e, t - this.buffer.start, n);
523
+ return i < 0 ? !1 : (this.stack.push(this.index), this.yieldBuf(i));
524
+ }
525
+ firstChild() {
526
+ return this.enterChild(1, 0, 4);
527
+ }
528
+ lastChild() {
529
+ return this.enterChild(-1, 0, 4);
530
+ }
531
+ childAfter(e) {
532
+ return this.enterChild(1, e, 2);
533
+ }
534
+ childBefore(e) {
535
+ return this.enterChild(-1, e, -2);
536
+ }
537
+ enter(e, t, n = this.mode) {
538
+ return this.buffer ? n & u.ExcludeBuffers ? !1 : this.enterChild(1, e, t) : this.yield(this._tree.enter(e, t, n));
539
+ }
540
+ parent() {
541
+ if (!this.buffer) return this.yieldNode(this.mode & u.IncludeAnonymous ? this._tree._parent : this._tree.parent);
542
+ if (this.stack.length) return this.yieldBuf(this.stack.pop());
543
+ let e = this.mode & u.IncludeAnonymous ? this.buffer.parent : this.buffer.parent.nextSignificantParent();
544
+ return this.buffer = null, this.yieldNode(e);
545
+ }
546
+ sibling(e) {
547
+ if (!this.buffer) return this._tree._parent ? this.yield(this._tree.index < 0 ? null : this._tree._parent.nextChild(this._tree.index + e, e, 0, 4, this.mode)) : !1;
548
+ let { buffer: t } = this.buffer, n = this.stack.length - 1;
549
+ if (e < 0) {
550
+ let e = n < 0 ? 0 : this.stack[n] + 4;
551
+ if (this.index != e) return this.yieldBuf(t.findChild(e, this.index, -1, 0, 4));
552
+ } else {
553
+ let e = t.buffer[this.index + 3];
554
+ if (e < (n < 0 ? t.buffer.length : t.buffer[this.stack[n] + 3])) return this.yieldBuf(e);
555
+ }
556
+ return n < 0 && this.yield(this.buffer.parent.nextChild(this.buffer.index + e, e, 0, 4, this.mode));
557
+ }
558
+ nextSibling() {
559
+ return this.sibling(1);
560
+ }
561
+ prevSibling() {
562
+ return this.sibling(-1);
563
+ }
564
+ atLastNode(e) {
565
+ let t, n, { buffer: r } = this;
566
+ if (r) {
567
+ if (e > 0) {
568
+ if (this.index < r.buffer.buffer.length) return !1;
569
+ } else for (let e = 0; e < this.index; e++) if (r.buffer.buffer[e + 3] < this.index) return !1;
570
+ ({index: t, parent: n} = r);
571
+ } else ({index: t, _parent: n} = this._tree);
572
+ for (; n; {index: t, _parent: n} = n) if (t > -1) for (let r = t + e, i = e < 0 ? -1 : n._tree.children.length; r != i; r += e) {
573
+ let e = n._tree.children[r];
574
+ if (this.mode & u.IncludeAnonymous || e instanceof p || !e.type.isAnonymous || E(e)) return !1;
575
+ }
576
+ return !0;
577
+ }
578
+ move(e, t) {
579
+ if (t && this.enterChild(e, 0, 4)) return !0;
580
+ for (;;) {
581
+ if (this.sibling(e)) return !0;
582
+ if (this.atLastNode(e) || !this.parent()) return !1;
583
+ }
584
+ }
585
+ next(e = !0) {
586
+ return this.move(1, e);
587
+ }
588
+ prev(e = !0) {
589
+ return this.move(-1, e);
590
+ }
591
+ moveTo(e, t = 0) {
592
+ for (; (this.from == this.to || (t < 1 ? this.from >= e : this.from > e) || (t > -1 ? this.to <= e : this.to < e)) && this.parent(););
593
+ for (; this.enterChild(1, e, t););
594
+ return this;
595
+ }
596
+ get node() {
597
+ if (!this.buffer) return this._tree;
598
+ let e = this.bufferNode, t = null, n = 0;
599
+ if (e && e.context == this.buffer) scan: for (let r = this.index, i = this.stack.length; i >= 0;) {
600
+ for (let a = e; a; a = a._parent) if (a.index == r) {
601
+ if (r == this.index) return a;
602
+ t = a, n = i + 1;
603
+ break scan;
604
+ }
605
+ r = this.stack[--i];
606
+ }
607
+ for (let e = n; e < this.stack.length; e++) t = new x(this.buffer, t, this.stack[e]);
608
+ return this.bufferNode = new x(this.buffer, t, this.index);
609
+ }
610
+ get tree() {
611
+ return this.buffer ? null : this._tree._tree;
612
+ }
613
+ iterate(e, t) {
614
+ for (let n = 0;;) {
615
+ let r = !1;
616
+ if (this.type.isAnonymous || e(this) !== !1) {
617
+ if (this.firstChild()) {
618
+ n++;
619
+ continue;
620
+ }
621
+ this.type.isAnonymous || (r = !0);
622
+ }
623
+ for (;;) {
624
+ if (r && t && t(this), r = this.type.isAnonymous, !n) return;
625
+ if (this.nextSibling()) break;
626
+ this.parent(), n--, r = !0;
627
+ }
628
+ }
629
+ }
630
+ matchContext(e) {
631
+ if (!this.buffer) return y(this.node.parent, e);
632
+ let { buffer: t } = this.buffer, { types: n } = t.set;
633
+ for (let r = e.length - 1, i = this.stack.length - 1; r >= 0; i--) {
634
+ if (i < 0) return y(this._tree, e, r);
635
+ let a = n[t.buffer[this.stack[i]]];
636
+ if (!a.isAnonymous) {
637
+ if (e[r] && e[r] != a.name) return !1;
638
+ r--;
639
+ }
640
+ }
641
+ return !0;
642
+ }
643
+ };
644
+ function E(e) {
645
+ return e.children.some((e) => e instanceof p || !e.type.isAnonymous || E(e));
646
+ }
647
+ function D(t) {
648
+ let { buffer: n, nodeSet: i, maxBufferLength: a = e, reused: o = [], minRepeatType: s = i.types.length } = t, c = Array.isArray(n) ? new f(n, n.length) : n, l = i.types, u = 0, m = 0;
649
+ function h(e, t, n, r, d, f) {
650
+ let { id: S, start: C, end: w, size: T } = c, E = m, D = u;
651
+ if (T < 0) {
652
+ if (c.next(), T == -1) {
653
+ let t = o[S];
654
+ n.push(t), r.push(C - e);
655
+ return;
656
+ }
657
+ if (T == -3) {
658
+ u = S;
659
+ return;
660
+ }
661
+ if (T == -4) {
662
+ m = S;
663
+ return;
664
+ }
665
+ throw RangeError(`Unrecognized record size: ${T}`);
666
+ }
667
+ let O = l[S], k, j, M = C - e;
668
+ if (w - C <= a && (j = b(c.pos - t, d))) {
669
+ let t = new Uint16Array(j.size - j.skip), n = c.pos - j.size, r = t.length;
670
+ for (; c.pos > n;) r = x(j.start, t, r);
671
+ k = new p(t, w - j.start, i), M = j.start - e;
672
+ } else {
673
+ let e = c.pos - T;
674
+ c.next();
675
+ let t = [], n = [], r = S >= s ? S : -1, i = 0, o = w;
676
+ for (; c.pos > e;) r >= 0 && c.id == r && c.size >= 0 ? (c.end <= o - a && (v(t, n, C, i, c.end, o, r, E, D), i = t.length, o = c.end), c.next()) : f > 2500 ? g(C, e, t, n) : h(C, e, t, n, r, f + 1);
677
+ if (r >= 0 && i > 0 && i < t.length && v(t, n, C, i, C, o, r, E, D), t.reverse(), n.reverse(), r > -1 && i > 0) {
678
+ let e = _(O, D);
679
+ k = A(O, t, n, 0, t.length, 0, w - C, e, e);
680
+ } else k = y(O, t, n, w - C, E - w, D);
681
+ }
682
+ n.push(k), r.push(M);
683
+ }
684
+ function g(e, t, n, r) {
685
+ let o = [], s = 0, l = -1;
686
+ for (; c.pos > t;) {
687
+ let { id: e, start: t, end: n, size: r } = c;
688
+ if (r > 4) c.next();
689
+ else if (l > -1 && t < l) break;
690
+ else l < 0 && (l = n - a), o.push(e, t, n), s++, c.next();
691
+ }
692
+ if (s) {
693
+ let t = new Uint16Array(s * 4), a = o[o.length - 2];
694
+ for (let e = o.length - 3, n = 0; e >= 0; e -= 3) t[n++] = o[e], t[n++] = o[e + 1] - a, t[n++] = o[e + 2] - a, t[n++] = n;
695
+ n.push(new p(t, o[2] - a, i)), r.push(a - e);
696
+ }
697
+ }
698
+ function _(e, t) {
699
+ return (n, i, a) => {
700
+ let o = 0, s = n.length - 1, c, l;
701
+ if (s >= 0 && (c = n[s]) instanceof d) {
702
+ if (!s && c.type == e && c.length == a) return c;
703
+ (l = c.prop(r.lookAhead)) && (o = i[s] + c.length + l);
704
+ }
705
+ return y(e, n, i, a, o, t);
706
+ };
707
+ }
708
+ function v(e, t, n, r, a, o, s, c, l) {
709
+ let u = [], d = [];
710
+ for (; e.length > r;) u.push(e.pop()), d.push(t.pop() + n - a);
711
+ e.push(y(i.types[s], u, d, o - a, c - o, l)), t.push(a - n);
712
+ }
713
+ function y(e, t, n, i, a, o, s) {
714
+ if (o) {
715
+ let e = [r.contextHash, o];
716
+ s = s ? [e].concat(s) : [e];
717
+ }
718
+ if (a > 25) {
719
+ let e = [r.lookAhead, a];
720
+ s = s ? [e].concat(s) : [e];
721
+ }
722
+ return new d(e, t, n, i, s);
723
+ }
724
+ function b(e, t) {
725
+ let n = c.fork(), r = 0, i = 0, o = 0, l = n.end - a, u = {
726
+ size: 0,
727
+ start: 0,
728
+ skip: 0
729
+ };
730
+ scan: for (let a = n.pos - e; n.pos > a;) {
731
+ let e = n.size;
732
+ if (n.id == t && e >= 0) {
733
+ u.size = r, u.start = i, u.skip = o, o += 4, r += 4, n.next();
734
+ continue;
735
+ }
736
+ let c = n.pos - e;
737
+ if (e < 0 || c < a || n.start < l) break;
738
+ let d = n.id >= s ? 4 : 0, f = n.start;
739
+ for (n.next(); n.pos > c;) {
740
+ if (n.size < 0) {
741
+ if (n.size == -3 || n.size == -4) d += 4;
742
+ else break scan;
743
+ } else n.id >= s && (d += 4);
744
+ n.next();
745
+ }
746
+ i = f, r += e, o += d;
747
+ }
748
+ return (t < 0 || r == e) && (u.size = r, u.start = i, u.skip = o), u.size > 4 ? u : void 0;
749
+ }
750
+ function x(e, t, n) {
751
+ let { id: r, start: i, end: a, size: o } = c;
752
+ if (c.next(), o >= 0 && r < s) {
753
+ let s = n;
754
+ if (o > 4) {
755
+ let r = c.pos - (o - 4);
756
+ for (; c.pos > r;) n = x(e, t, n);
757
+ }
758
+ t[--n] = s, t[--n] = a - e, t[--n] = i - e, t[--n] = r;
759
+ } else o == -3 ? u = r : o == -4 && (m = r);
760
+ return n;
761
+ }
762
+ let S = [], C = [];
763
+ for (; c.pos > 0;) h(t.start || 0, t.bufferStart || 0, S, C, -1, 0);
764
+ let w = t.length ?? (S.length ? C[0] + S[0].length : 0);
765
+ return new d(l[t.topID], S.reverse(), C.reverse(), w);
766
+ }
767
+ var O = /* @__PURE__ */ new WeakMap();
768
+ function k(e, t) {
769
+ if (!e.isAnonymous || t instanceof p || t.type != e) return 1;
770
+ let n = O.get(t);
771
+ if (n == null) {
772
+ n = 1;
773
+ for (let r of t.children) {
774
+ if (r.type != e || !(r instanceof d)) {
775
+ n = 1;
776
+ break;
777
+ }
778
+ n += k(e, r);
779
+ }
780
+ O.set(t, n);
781
+ }
782
+ return n;
783
+ }
784
+ function A(e, t, n, r, i, a, o, s, c) {
785
+ let l = 0;
786
+ for (let n = r; n < i; n++) l += k(e, t[n]);
787
+ let u = Math.ceil(l * 1.5 / 8), d = [], f = [];
788
+ function p(t, n, r, i, o) {
789
+ for (let s = r; s < i;) {
790
+ let r = s, l = n[s], m = k(e, t[s]);
791
+ for (s++; s < i; s++) {
792
+ let n = k(e, t[s]);
793
+ if (m + n >= u) break;
794
+ m += n;
795
+ }
796
+ if (s == r + 1) {
797
+ if (m > u) {
798
+ let e = t[r];
799
+ p(e.children, e.positions, 0, e.children.length, n[r] + o);
800
+ continue;
801
+ }
802
+ d.push(t[r]);
803
+ } else {
804
+ let i = n[s - 1] + t[s - 1].length - l;
805
+ d.push(A(e, t, n, r, s, l, i, null, c));
806
+ }
807
+ f.push(l + o - a);
808
+ }
809
+ }
810
+ return p(t, n, r, i, 0), (s || c)(d, f, o);
811
+ }
812
+ var j = class {
813
+ constructor() {
814
+ this.map = /* @__PURE__ */ new WeakMap();
815
+ }
816
+ setBuffer(e, t, n) {
817
+ let r = this.map.get(e);
818
+ r || this.map.set(e, r = /* @__PURE__ */ new Map()), r.set(t, n);
819
+ }
820
+ getBuffer(e, t) {
821
+ let n = this.map.get(e);
822
+ return n && n.get(t);
823
+ }
824
+ set(e, t) {
825
+ e instanceof x ? this.setBuffer(e.context.buffer, e.index, t) : e instanceof _ && this.map.set(e.tree, t);
826
+ }
827
+ get(e) {
828
+ return e instanceof x ? this.getBuffer(e.context.buffer, e.index) : e instanceof _ ? this.map.get(e.tree) : void 0;
829
+ }
830
+ cursorSet(e, t) {
831
+ e.buffer ? this.setBuffer(e.buffer.buffer, e.index, t) : this.map.set(e.tree, t);
832
+ }
833
+ cursorGet(e) {
834
+ return e.buffer ? this.getBuffer(e.buffer.buffer, e.index) : this.map.get(e.tree);
835
+ }
836
+ }, M = class e {
837
+ constructor(e, t, n, r, i = !1, a = !1) {
838
+ this.from = e, this.to = t, this.tree = n, this.offset = r, this.open = !!i | (a ? 2 : 0);
839
+ }
840
+ get openStart() {
841
+ return (this.open & 1) > 0;
842
+ }
843
+ get openEnd() {
844
+ return (this.open & 2) > 0;
845
+ }
846
+ static addTree(t, n = [], r = !1) {
847
+ let i = [new e(0, t.length, t, 0, !1, r)];
848
+ for (let e of n) e.to > t.length && i.push(e);
849
+ return i;
850
+ }
851
+ static applyChanges(t, n, r = 128) {
852
+ if (!n.length) return t;
853
+ let i = [], a = 1, o = t.length ? t[0] : null;
854
+ for (let s = 0, c = 0, l = 0;; s++) {
855
+ let u = s < n.length ? n[s] : null, d = u ? u.fromA : 1e9;
856
+ if (d - c >= r) for (; o && o.from < d;) {
857
+ let n = o;
858
+ if (c >= n.from || d <= n.to || l) {
859
+ let t = Math.max(n.from, c) - l, r = Math.min(n.to, d) - l;
860
+ n = t >= r ? null : new e(t, r, n.tree, n.offset + l, s > 0, !!u);
861
+ }
862
+ if (n && i.push(n), o.to > d) break;
863
+ o = a < t.length ? t[a++] : null;
864
+ }
865
+ if (!u) break;
866
+ c = u.toA, l = u.toA - u.toB;
867
+ }
868
+ return i;
869
+ }
870
+ }, ee = class {
871
+ startParse(e, t, r) {
872
+ return typeof e == "string" && (e = new te(e)), r = r ? r.length ? r.map((e) => new n(e.from, e.to)) : [new n(0, 0)] : [new n(0, e.length)], this.createParse(e, t || [], r);
873
+ }
874
+ parse(e, t, n) {
875
+ let r = this.startParse(e, t, n);
876
+ for (;;) {
877
+ let e = r.advance();
878
+ if (e) return e;
879
+ }
880
+ }
881
+ }, te = class {
882
+ constructor(e) {
883
+ this.string = e;
884
+ }
885
+ get length() {
886
+ return this.string.length;
887
+ }
888
+ chunk(e) {
889
+ return this.string.slice(e);
890
+ }
891
+ get lineChunks() {
892
+ return !1;
893
+ }
894
+ read(e, t) {
895
+ return this.string.slice(e, t);
896
+ }
897
+ };
898
+ function ne(e) {
899
+ return (t, n, r, i) => new oe(t, e, n, r, i);
900
+ }
901
+ var re = class {
902
+ constructor(e, t, n, r, i, a) {
903
+ this.parser = e, this.parse = t, this.overlay = n, this.bracketed = r, this.target = i, this.from = a;
904
+ }
905
+ };
906
+ function ie(e) {
907
+ if (!e.length || e.some((e) => e.from >= e.to)) throw RangeError("Invalid inner parse ranges given: " + JSON.stringify(e));
908
+ }
909
+ var ae = class {
910
+ constructor(e, t, n, r, i, a, o, s) {
911
+ this.parser = e, this.predicate = t, this.mounts = n, this.index = r, this.start = i, this.bracketed = a, this.target = o, this.prev = s, this.depth = 0, this.ranges = [];
912
+ }
913
+ }, N = new r({ perNode: !0 }), oe = class {
914
+ constructor(e, t, n, r, i) {
915
+ this.nest = t, this.input = n, this.fragments = r, this.ranges = i, this.inner = [], this.innerDone = 0, this.baseTree = null, this.stoppedAt = null, this.baseParse = e;
916
+ }
917
+ advance() {
918
+ if (this.baseParse) {
919
+ let e = this.baseParse.advance();
920
+ if (!e) return null;
921
+ if (this.baseParse = null, this.baseTree = e, this.startInner(), this.stoppedAt != null) for (let e of this.inner) e.parse.stopAt(this.stoppedAt);
922
+ }
923
+ if (this.innerDone == this.inner.length) {
924
+ let e = this.baseTree;
925
+ return this.stoppedAt != null && (e = new d(e.type, e.children, e.positions, e.length, e.propValues.concat([[N, this.stoppedAt]]))), e;
926
+ }
927
+ let e = this.inner[this.innerDone], t = e.parse.advance();
928
+ if (t) {
929
+ this.innerDone++;
930
+ let n = Object.assign(Object.create(null), e.target.props);
931
+ n[r.mounted.id] = new i(t, e.overlay, e.parser, e.bracketed), e.target.props = n;
932
+ }
933
+ return null;
934
+ }
935
+ get parsedPos() {
936
+ if (this.baseParse) return 0;
937
+ let e = this.input.length;
938
+ for (let t = this.innerDone; t < this.inner.length; t++) this.inner[t].from < e && (e = Math.min(e, this.inner[t].parse.parsedPos));
939
+ return e;
940
+ }
941
+ stopAt(e) {
942
+ if (this.stoppedAt = e, this.baseParse) this.baseParse.stopAt(e);
943
+ else for (let t = this.innerDone; t < this.inner.length; t++) this.inner[t].parse.stopAt(e);
944
+ }
945
+ startInner() {
946
+ let e = new ue(this.fragments), t = null, r = null, i = new T(new _(this.baseTree, this.ranges[0].from, 0, null), u.IncludeAnonymous | u.IgnoreMounts);
947
+ scan: for (let a, o;;) {
948
+ let s = !0, c;
949
+ if (this.stoppedAt != null && i.from >= this.stoppedAt) s = !1;
950
+ else if (e.hasNode(i)) {
951
+ if (t) {
952
+ let e = t.mounts.find((e) => e.frag.from <= i.from && e.frag.to >= i.to && e.mount.overlay);
953
+ if (e) for (let n of e.mount.overlay) {
954
+ let r = n.from + e.pos, a = n.to + e.pos;
955
+ r >= i.from && a <= i.to && !t.ranges.some((e) => e.from < a && e.to > r) && t.ranges.push({
956
+ from: r,
957
+ to: a
958
+ });
959
+ }
960
+ }
961
+ s = !1;
962
+ } else if (r && (o = se(r.ranges, i.from, i.to))) s = o != 2;
963
+ else if (!i.type.isAnonymous && (a = this.nest(i, this.input)) && (i.from < i.to || !a.overlay)) {
964
+ i.tree || (le(i), t && t.depth++, r && r.depth++);
965
+ let o = e.findMounts(i.from, a.parser);
966
+ if (typeof a.overlay == "function") t = new ae(a.parser, a.overlay, o, this.inner.length, i.from, !!a.bracketed, i.tree, t);
967
+ else {
968
+ let e = F(this.ranges, a.overlay || (i.from < i.to ? [new n(i.from, i.to)] : []));
969
+ e.length && ie(e), (e.length || !a.overlay) && this.inner.push(new re(a.parser, e.length ? a.parser.startParse(this.input, I(o, e), e) : a.parser.startParse(""), a.overlay ? a.overlay.map((e) => new n(e.from - i.from, e.to - i.from)) : null, !!a.bracketed, i.tree, e.length ? e[0].from : i.from)), a.overlay ? e.length && (r = {
970
+ ranges: e,
971
+ depth: 0,
972
+ prev: r
973
+ }) : s = !1;
974
+ }
975
+ } else if (t && (c = t.predicate(i)) && (c === !0 && (c = new n(i.from, i.to)), c.from < c.to)) {
976
+ let e = t.ranges.length - 1;
977
+ e >= 0 && t.ranges[e].to == c.from ? t.ranges[e] = {
978
+ from: t.ranges[e].from,
979
+ to: c.to
980
+ } : t.ranges.push(c);
981
+ }
982
+ if (s && i.firstChild()) t && t.depth++, r && r.depth++;
983
+ else for (; !i.nextSibling();) {
984
+ if (!i.parent()) break scan;
985
+ if (t && !--t.depth) {
986
+ let e = F(this.ranges, t.ranges);
987
+ e.length && (ie(e), this.inner.splice(t.index, 0, new re(t.parser, t.parser.startParse(this.input, I(t.mounts, e), e), t.ranges.map((e) => new n(e.from - t.start, e.to - t.start)), t.bracketed, t.target, e[0].from))), t = t.prev;
988
+ }
989
+ r && !--r.depth && (r = r.prev);
990
+ }
991
+ }
992
+ }
993
+ };
994
+ function se(e, t, n) {
995
+ for (let r of e) {
996
+ if (r.from >= n) break;
997
+ if (r.to > t) return r.from <= t && r.to >= n ? 2 : 1;
998
+ }
999
+ return 0;
1000
+ }
1001
+ function ce(e, t, n, r, i, a) {
1002
+ if (t < n) {
1003
+ let o = e.buffer[t + 1];
1004
+ r.push(e.slice(t, n, o)), i.push(o - a);
1005
+ }
1006
+ }
1007
+ function le(e) {
1008
+ let { node: t } = e, n = [], r = t.context.buffer;
1009
+ do
1010
+ n.push(e.index), e.parent();
1011
+ while (!e.tree);
1012
+ let i = e.tree, a = i.children.indexOf(r), s = i.children[a], c = s.buffer, l = [a];
1013
+ function u(e, r, i, a, o, f) {
1014
+ let p = n[f], m = [], h = [];
1015
+ ce(s, e, p, m, h, a);
1016
+ let g = c[p + 1], _ = c[p + 2];
1017
+ l.push(m.length);
1018
+ let v = f ? u(p + 4, c[p + 3], s.set.types[c[p]], g, _ - g, f - 1) : t.toTree();
1019
+ return m.push(v), h.push(g - a), ce(s, c[p + 3], r, m, h, a), new d(i, m, h, o);
1020
+ }
1021
+ i.children[a] = u(0, c.length, o.none, 0, s.length, n.length - 1);
1022
+ for (let t of l) {
1023
+ let n = e.tree.children[t], r = e.tree.positions[t];
1024
+ e.yield(new _(n, r + e.from, t, e._tree));
1025
+ }
1026
+ }
1027
+ var P = class {
1028
+ constructor(e, t) {
1029
+ this.offset = t, this.done = !1, this.cursor = e.cursor(u.IncludeAnonymous | u.IgnoreMounts);
1030
+ }
1031
+ moveTo(e) {
1032
+ let { cursor: t } = this, n = e - this.offset;
1033
+ for (; !this.done && t.from < n;) if (!(t.to >= e && t.enter(n, 1, u.IgnoreOverlays | u.ExcludeBuffers))) {
1034
+ if (t.to <= e) t.next(!1) || (this.done = !0);
1035
+ else break;
1036
+ }
1037
+ }
1038
+ hasNode(e) {
1039
+ if (this.moveTo(e.from), !this.done && this.cursor.from + this.offset == e.from && this.cursor.tree) for (let t = this.cursor.tree;;) {
1040
+ if (t == e.tree) return !0;
1041
+ if (t.children.length && t.positions[0] == 0 && t.children[0] instanceof d) t = t.children[0];
1042
+ else break;
1043
+ }
1044
+ return !1;
1045
+ }
1046
+ }, ue = class {
1047
+ constructor(e) {
1048
+ if (this.fragments = e, this.curTo = 0, this.fragI = 0, e.length) {
1049
+ let t = this.curFrag = e[0];
1050
+ this.curTo = t.tree.prop(N) ?? t.to, this.inner = new P(t.tree, -t.offset);
1051
+ } else this.curFrag = this.inner = null;
1052
+ }
1053
+ hasNode(e) {
1054
+ for (; this.curFrag && e.from >= this.curTo;) this.nextFrag();
1055
+ return this.curFrag && this.curFrag.from <= e.from && this.curTo >= e.to && this.inner.hasNode(e);
1056
+ }
1057
+ nextFrag() {
1058
+ if (this.fragI++, this.fragI == this.fragments.length) this.curFrag = this.inner = null;
1059
+ else {
1060
+ let e = this.curFrag = this.fragments[this.fragI];
1061
+ this.curTo = e.tree.prop(N) ?? e.to, this.inner = new P(e.tree, -e.offset);
1062
+ }
1063
+ }
1064
+ findMounts(e, t) {
1065
+ let n = [];
1066
+ if (this.inner) {
1067
+ this.inner.cursor.moveTo(e, 1);
1068
+ for (let e = this.inner.cursor.node; e; e = e.parent) {
1069
+ let i = e.tree?.prop(r.mounted);
1070
+ if (i && i.parser == t) for (let t = this.fragI; t < this.fragments.length; t++) {
1071
+ let r = this.fragments[t];
1072
+ if (r.from >= e.to) break;
1073
+ r.tree == this.curFrag.tree && n.push({
1074
+ frag: r,
1075
+ pos: e.from - r.offset,
1076
+ mount: i
1077
+ });
1078
+ }
1079
+ }
1080
+ }
1081
+ return n;
1082
+ }
1083
+ };
1084
+ function F(e, t) {
1085
+ let r = null, i = t;
1086
+ for (let a = 1, o = 0; a < e.length; a++) {
1087
+ let s = e[a - 1].to, c = e[a].from;
1088
+ for (; o < i.length; o++) {
1089
+ let e = i[o];
1090
+ if (e.from >= c) break;
1091
+ e.to <= s || (r || (i = r = t.slice()), e.from < s ? (r[o] = new n(e.from, s), e.to > c && r.splice(o + 1, 0, new n(c, e.to))) : e.to > c ? r[o--] = new n(c, e.to) : r.splice(o--, 1));
1092
+ }
1093
+ }
1094
+ return i;
1095
+ }
1096
+ function de(e, t, r, i) {
1097
+ let a = 0, o = 0, s = !1, c = !1, l = -1e9, u = [];
1098
+ for (;;) {
1099
+ let d = a == e.length ? 1e9 : s ? e[a].to : e[a].from, f = o == t.length ? 1e9 : c ? t[o].to : t[o].from;
1100
+ if (s != c) {
1101
+ let e = Math.max(l, r), t = Math.min(d, f, i);
1102
+ e < t && u.push(new n(e, t));
1103
+ }
1104
+ if (l = Math.min(d, f), l == 1e9) break;
1105
+ d == l && (s ? (s = !1, a++) : s = !0), f == l && (c ? (c = !1, o++) : c = !0);
1106
+ }
1107
+ return u;
1108
+ }
1109
+ function I(e, t) {
1110
+ let r = [];
1111
+ for (let { pos: i, mount: a, frag: o } of e) {
1112
+ let e = i + (a.overlay ? a.overlay[0].from : 0), s = e + a.tree.length, c = Math.max(o.from, e), l = Math.min(o.to, s);
1113
+ if (a.overlay) {
1114
+ let s = de(t, a.overlay.map((e) => new n(e.from + i, e.to + i)), c, l);
1115
+ for (let t = 0, n = c;; t++) {
1116
+ let i = t == s.length, c = i ? l : s[t].from;
1117
+ if (c > n && r.push(new M(n, c, a.tree, -e, o.from >= n || o.openStart, o.to <= c || o.openEnd)), i) break;
1118
+ n = s[t].to;
1119
+ }
1120
+ } else r.push(new M(c, l, a.tree, -e, o.from >= e || o.openStart, o.to <= s || o.openEnd));
1121
+ }
1122
+ return r;
1123
+ }
1124
+ // node_modules/@lezer/highlight/dist/index.js
1125
+ var fe = 0, L = class e {
1126
+ constructor(e, t, n, r) {
1127
+ this.name = e, this.set = t, this.base = n, this.modified = r, this.id = fe++;
1128
+ }
1129
+ toString() {
1130
+ let { name: e } = this;
1131
+ for (let t of this.modified) t.name && (e = `${t.name}(${e})`);
1132
+ return e;
1133
+ }
1134
+ static define(t, n) {
1135
+ let r = typeof t == "string" ? t : "?";
1136
+ if (t instanceof e && (n = t), n?.base) throw Error("Can not derive from a modified tag");
1137
+ let i = new e(r, [], null, []);
1138
+ if (i.set.push(i), n) for (let e of n.set) i.set.push(e);
1139
+ return i;
1140
+ }
1141
+ static defineModifier(e) {
1142
+ let t = new me(e);
1143
+ return (e) => e.modified.indexOf(t) > -1 ? e : me.get(e.base || e, e.modified.concat(t).sort((e, t) => e.id - t.id));
1144
+ }
1145
+ }, pe = 0, me = class e {
1146
+ constructor(e) {
1147
+ this.name = e, this.instances = [], this.id = pe++;
1148
+ }
1149
+ static get(t, n) {
1150
+ if (!n.length) return t;
1151
+ let r = n[0].instances.find((e) => e.base == t && he(n, e.modified));
1152
+ if (r) return r;
1153
+ let i = [], a = new L(t.name, i, t, n);
1154
+ for (let e of n) e.instances.push(a);
1155
+ let o = ge(n);
1156
+ for (let n of t.set) if (!n.modified.length) for (let t of o) i.push(e.get(n, t));
1157
+ return a;
1158
+ }
1159
+ };
1160
+ function he(e, t) {
1161
+ return e.length == t.length && e.every((e, n) => e == t[n]);
1162
+ }
1163
+ function ge(e) {
1164
+ let t = [[]];
1165
+ for (let n = 0; n < e.length; n++) for (let r = 0, i = t.length; r < i; r++) t.push(t[r].concat(e[n]));
1166
+ return t.sort((e, t) => t.length - e.length);
1167
+ }
1168
+ function _e(e) {
1169
+ let t = Object.create(null);
1170
+ for (let n in e) {
1171
+ let r = e[n];
1172
+ Array.isArray(r) || (r = [r]);
1173
+ for (let e of n.split(" ")) if (e) {
1174
+ let n = [], i = 2, a = e;
1175
+ for (let t = 0;;) {
1176
+ if (a == "..." && t > 0 && t + 3 == e.length) {
1177
+ i = 1;
1178
+ break;
1179
+ }
1180
+ let r = /^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(a);
1181
+ if (!r) throw RangeError("Invalid path: " + e);
1182
+ if (n.push(r[0] == "*" ? "" : r[0][0] == "\"" ? JSON.parse(r[0]) : r[0]), t += r[0].length, t == e.length) break;
1183
+ let o = e[t++];
1184
+ if (t == e.length && o == "!") {
1185
+ i = 0;
1186
+ break;
1187
+ }
1188
+ if (o != "/") throw RangeError("Invalid path: " + e);
1189
+ a = e.slice(t);
1190
+ }
1191
+ let o = n.length - 1, s = n[o];
1192
+ if (!s) throw RangeError("Invalid path: " + e);
1193
+ t[s] = new R(r, i, o > 0 ? n.slice(0, o) : null).sort(t[s]);
1194
+ }
1195
+ }
1196
+ return ve.add(t);
1197
+ }
1198
+ var ve = new r({ combine(e, t) {
1199
+ let n, r, i;
1200
+ for (; e || t;) {
1201
+ if (!e || t && e.depth <= t.depth ? (i = t, t = t.next) : (i = e, e = e.next), n && n.mode == i.mode && !i.context && !n.context) continue;
1202
+ let a = new R(i.tags, i.mode, i.context);
1203
+ n ? n.next = a : r = a, n = a;
1204
+ }
1205
+ return r;
1206
+ } }), R = class {
1207
+ constructor(e, t, n, r) {
1208
+ this.tags = e, this.mode = t, this.context = n, this.next = r;
1209
+ }
1210
+ get opaque() {
1211
+ return this.mode == 0;
1212
+ }
1213
+ get inherit() {
1214
+ return this.mode == 1;
1215
+ }
1216
+ sort(e) {
1217
+ return !e || e.depth < this.depth ? (this.next = e, this) : (e.next = this.sort(e.next), e);
1218
+ }
1219
+ get depth() {
1220
+ return this.context ? this.context.length : 0;
1221
+ }
1222
+ };
1223
+ R.empty = new R([], 2, null);
1224
+ function ye(e, t) {
1225
+ let n = Object.create(null);
1226
+ for (let t of e) if (!Array.isArray(t.tag)) n[t.tag.id] = t.class;
1227
+ else for (let e of t.tag) n[e.id] = t.class;
1228
+ let { scope: r, all: i = null } = t || {};
1229
+ return {
1230
+ style: (e) => {
1231
+ let t = i;
1232
+ for (let r of e) for (let e of r.set) {
1233
+ let r = n[e.id];
1234
+ if (r) {
1235
+ t = t ? t + " " + r : r;
1236
+ break;
1237
+ }
1238
+ }
1239
+ return t;
1240
+ },
1241
+ scope: r
1242
+ };
1243
+ }
1244
+ function be(e, t) {
1245
+ let n = null;
1246
+ for (let r of e) {
1247
+ let e = r.style(t);
1248
+ e && (n = n ? n + " " + e : e);
1249
+ }
1250
+ return n;
1251
+ }
1252
+ function xe(e, t, n, r = 0, i = e.length) {
1253
+ let a = new Se(r, Array.isArray(t) ? t : [t], n);
1254
+ a.highlightRange(e.cursor(), r, i, "", a.highlighters), a.flush(i);
1255
+ }
1256
+ var Se = class {
1257
+ constructor(e, t, n) {
1258
+ this.at = e, this.highlighters = t, this.span = n, this.class = "";
1259
+ }
1260
+ startSpan(e, t) {
1261
+ t != this.class && (this.flush(e), e > this.at && (this.at = e), this.class = t);
1262
+ }
1263
+ flush(e) {
1264
+ e > this.at && this.class && this.span(this.at, e, this.class);
1265
+ }
1266
+ highlightRange(e, t, n, i, a) {
1267
+ let { type: o, from: s, to: c } = e;
1268
+ if (s >= n || c <= t) return;
1269
+ o.isTop && (a = this.highlighters.filter((e) => !e.scope || e.scope(o)));
1270
+ let l = i, u = Ce(e) || R.empty, d = be(a, u.tags);
1271
+ if (d && (l && (l += " "), l += d, u.mode == 1 && (i += (i ? " " : "") + d)), this.startSpan(Math.max(t, s), l), u.opaque) return;
1272
+ let f = e.tree && e.tree.prop(r.mounted);
1273
+ if (f && f.overlay) {
1274
+ let r = e.node.enter(f.overlay[0].from + s, 1), o = this.highlighters.filter((e) => !e.scope || e.scope(f.tree.type)), u = e.firstChild();
1275
+ for (let d = 0, p = s;; d++) {
1276
+ let m = d < f.overlay.length ? f.overlay[d] : null, h = m ? m.from + s : c, g = Math.max(t, p), _ = Math.min(n, h);
1277
+ if (g < _ && u) for (; e.from < _ && (this.highlightRange(e, g, _, i, a), this.startSpan(Math.min(_, e.to), l), !(e.to >= h || !e.nextSibling())););
1278
+ if (!m || h > n) break;
1279
+ p = m.to + s, p > t && (this.highlightRange(r.cursor(), Math.max(t, m.from + s), Math.min(n, p), "", o), this.startSpan(Math.min(n, p), l));
1280
+ }
1281
+ u && e.parent();
1282
+ } else if (e.firstChild()) {
1283
+ f && (i = "");
1284
+ do
1285
+ if (!(e.to <= t)) {
1286
+ if (e.from >= n) break;
1287
+ this.highlightRange(e, t, n, i, a), this.startSpan(Math.min(n, e.to), l);
1288
+ }
1289
+ while (e.nextSibling());
1290
+ e.parent();
1291
+ }
1292
+ }
1293
+ };
1294
+ function Ce(e) {
1295
+ let t = e.type.prop(ve);
1296
+ for (; t && t.context && !e.matchContext(t.context);) t = t.next;
1297
+ return t || null;
1298
+ }
1299
+ var z = L.define, B = z(), V = z(), we = z(V), Te = z(V), H = z(), U = z(H), W = z(H), G = z(), K = z(G), q = z(), J = z(), Y = z(), X = z(Y), Z = z(), Q = {
1300
+ comment: B,
1301
+ lineComment: z(B),
1302
+ blockComment: z(B),
1303
+ docComment: z(B),
1304
+ name: V,
1305
+ variableName: z(V),
1306
+ typeName: we,
1307
+ tagName: z(we),
1308
+ propertyName: Te,
1309
+ attributeName: z(Te),
1310
+ className: z(V),
1311
+ labelName: z(V),
1312
+ namespace: z(V),
1313
+ macroName: z(V),
1314
+ literal: H,
1315
+ string: U,
1316
+ docString: z(U),
1317
+ character: z(U),
1318
+ attributeValue: z(U),
1319
+ number: W,
1320
+ integer: z(W),
1321
+ float: z(W),
1322
+ bool: z(H),
1323
+ regexp: z(H),
1324
+ escape: z(H),
1325
+ color: z(H),
1326
+ url: z(H),
1327
+ keyword: q,
1328
+ self: z(q),
1329
+ null: z(q),
1330
+ atom: z(q),
1331
+ unit: z(q),
1332
+ modifier: z(q),
1333
+ operatorKeyword: z(q),
1334
+ controlKeyword: z(q),
1335
+ definitionKeyword: z(q),
1336
+ moduleKeyword: z(q),
1337
+ operator: J,
1338
+ derefOperator: z(J),
1339
+ arithmeticOperator: z(J),
1340
+ logicOperator: z(J),
1341
+ bitwiseOperator: z(J),
1342
+ compareOperator: z(J),
1343
+ updateOperator: z(J),
1344
+ definitionOperator: z(J),
1345
+ typeOperator: z(J),
1346
+ controlOperator: z(J),
1347
+ punctuation: Y,
1348
+ separator: z(Y),
1349
+ bracket: X,
1350
+ angleBracket: z(X),
1351
+ squareBracket: z(X),
1352
+ paren: z(X),
1353
+ brace: z(X),
1354
+ content: G,
1355
+ heading: K,
1356
+ heading1: z(K),
1357
+ heading2: z(K),
1358
+ heading3: z(K),
1359
+ heading4: z(K),
1360
+ heading5: z(K),
1361
+ heading6: z(K),
1362
+ contentSeparator: z(G),
1363
+ list: z(G),
1364
+ quote: z(G),
1365
+ emphasis: z(G),
1366
+ strong: z(G),
1367
+ link: z(G),
1368
+ monospace: z(G),
1369
+ strikethrough: z(G),
1370
+ inserted: z(),
1371
+ deleted: z(),
1372
+ changed: z(),
1373
+ invalid: z(),
1374
+ meta: Z,
1375
+ documentMeta: z(Z),
1376
+ annotation: z(Z),
1377
+ processingInstruction: z(Z),
1378
+ definition: L.defineModifier("definition"),
1379
+ constant: L.defineModifier("constant"),
1380
+ function: L.defineModifier("function"),
1381
+ standard: L.defineModifier("standard"),
1382
+ local: L.defineModifier("local"),
1383
+ special: L.defineModifier("special")
1384
+ };
1385
+ for (let e in Q) {
1386
+ let t = Q[e];
1387
+ t instanceof L && (t.name = e);
1388
+ }
1389
+ ye([
1390
+ {
1391
+ tag: Q.link,
1392
+ class: "tok-link"
1393
+ },
1394
+ {
1395
+ tag: Q.heading,
1396
+ class: "tok-heading"
1397
+ },
1398
+ {
1399
+ tag: Q.emphasis,
1400
+ class: "tok-emphasis"
1401
+ },
1402
+ {
1403
+ tag: Q.strong,
1404
+ class: "tok-strong"
1405
+ },
1406
+ {
1407
+ tag: Q.keyword,
1408
+ class: "tok-keyword"
1409
+ },
1410
+ {
1411
+ tag: Q.atom,
1412
+ class: "tok-atom"
1413
+ },
1414
+ {
1415
+ tag: Q.bool,
1416
+ class: "tok-bool"
1417
+ },
1418
+ {
1419
+ tag: Q.url,
1420
+ class: "tok-url"
1421
+ },
1422
+ {
1423
+ tag: Q.labelName,
1424
+ class: "tok-labelName"
1425
+ },
1426
+ {
1427
+ tag: Q.inserted,
1428
+ class: "tok-inserted"
1429
+ },
1430
+ {
1431
+ tag: Q.deleted,
1432
+ class: "tok-deleted"
1433
+ },
1434
+ {
1435
+ tag: Q.literal,
1436
+ class: "tok-literal"
1437
+ },
1438
+ {
1439
+ tag: Q.string,
1440
+ class: "tok-string"
1441
+ },
1442
+ {
1443
+ tag: Q.number,
1444
+ class: "tok-number"
1445
+ },
1446
+ {
1447
+ tag: [
1448
+ Q.regexp,
1449
+ Q.escape,
1450
+ Q.special(Q.string)
1451
+ ],
1452
+ class: "tok-string2"
1453
+ },
1454
+ {
1455
+ tag: Q.variableName,
1456
+ class: "tok-variableName"
1457
+ },
1458
+ {
1459
+ tag: Q.local(Q.variableName),
1460
+ class: "tok-variableName tok-local"
1461
+ },
1462
+ {
1463
+ tag: Q.definition(Q.variableName),
1464
+ class: "tok-variableName tok-definition"
1465
+ },
1466
+ {
1467
+ tag: Q.special(Q.variableName),
1468
+ class: "tok-variableName2"
1469
+ },
1470
+ {
1471
+ tag: Q.definition(Q.propertyName),
1472
+ class: "tok-propertyName tok-definition"
1473
+ },
1474
+ {
1475
+ tag: Q.typeName,
1476
+ class: "tok-typeName"
1477
+ },
1478
+ {
1479
+ tag: Q.namespace,
1480
+ class: "tok-namespace"
1481
+ },
1482
+ {
1483
+ tag: Q.className,
1484
+ class: "tok-className"
1485
+ },
1486
+ {
1487
+ tag: Q.macroName,
1488
+ class: "tok-macroName"
1489
+ },
1490
+ {
1491
+ tag: Q.propertyName,
1492
+ class: "tok-propertyName"
1493
+ },
1494
+ {
1495
+ tag: Q.operator,
1496
+ class: "tok-operator"
1497
+ },
1498
+ {
1499
+ tag: Q.comment,
1500
+ class: "tok-comment"
1501
+ },
1502
+ {
1503
+ tag: Q.meta,
1504
+ class: "tok-meta"
1505
+ },
1506
+ {
1507
+ tag: Q.invalid,
1508
+ class: "tok-invalid"
1509
+ },
1510
+ {
1511
+ tag: Q.punctuation,
1512
+ class: "tok-punctuation"
1513
+ }
1514
+ ]);
1515
+ // node_modules/style-mod/src/style-mod.js
1516
+ var Ee = "ͼ", De = typeof Symbol > "u" ? "__ͼ" : Symbol.for(Ee), $ = typeof Symbol > "u" ? "__styleSet" + Math.floor(Math.random() * 1e8) : Symbol("styleSet"), Oe = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : {}, ke = class {
1517
+ constructor(e, t) {
1518
+ this.rules = [];
1519
+ let { finish: n } = t || {};
1520
+ function r(e) {
1521
+ return /^@/.test(e) ? [e] : e.split(/,\s*/);
1522
+ }
1523
+ function i(e, t, a, o) {
1524
+ let s = [], c = /^@(\w+)\b/.exec(e[0]), l = c && c[1] == "keyframes";
1525
+ if (c && t == null) return a.push(e[0] + ";");
1526
+ for (let n in t) {
1527
+ let o = t[n];
1528
+ if (/&/.test(n)) i(n.split(/,\s*/).map((t) => e.map((e) => t.replace(/&/, e))).reduce((e, t) => e.concat(t)), o, a);
1529
+ else if (o && typeof o == "object") {
1530
+ if (!c) throw RangeError("The value of a property (" + n + ") should be a primitive value.");
1531
+ i(r(n), o, s, l);
1532
+ } else o != null && s.push(n.replace(/_.*/, "").replace(/[A-Z]/g, (e) => "-" + e.toLowerCase()) + ": " + o + ";");
1533
+ }
1534
+ (s.length || l) && a.push((n && !c && !o ? e.map(n) : e).join(", ") + " {" + s.join(" ") + "}");
1535
+ }
1536
+ for (let t in e) i(r(t), e[t], this.rules);
1537
+ }
1538
+ getRules() {
1539
+ return this.rules.join("\n");
1540
+ }
1541
+ static newName() {
1542
+ let e = Oe[De] || 1;
1543
+ return Oe[De] = e + 1, Ee + e.toString(36);
1544
+ }
1545
+ static mount(e, t, n) {
1546
+ let r = e[$], i = n && n.nonce;
1547
+ r ? i && r.setNonce(i) : r = new je(e, i), r.mount(Array.isArray(t) ? t : [t], e);
1548
+ }
1549
+ }, Ae = /* @__PURE__ */ new Map(), je = class {
1550
+ constructor(e, t) {
1551
+ let n = e.ownerDocument || e, r = n.defaultView;
1552
+ if (!e.head && e.adoptedStyleSheets && r.CSSStyleSheet) {
1553
+ let t = Ae.get(n);
1554
+ if (t) return e[$] = t;
1555
+ this.sheet = new r.CSSStyleSheet(), Ae.set(n, this);
1556
+ } else this.styleTag = n.createElement("style"), t && this.styleTag.setAttribute("nonce", t);
1557
+ this.modules = [], e[$] = this;
1558
+ }
1559
+ mount(e, t) {
1560
+ let n = this.sheet, r = 0, i = 0;
1561
+ for (let t = 0; t < e.length; t++) {
1562
+ let a = e[t], o = this.modules.indexOf(a);
1563
+ if (o < i && o > -1 && (this.modules.splice(o, 1), i--, o = -1), o == -1) {
1564
+ if (this.modules.splice(i++, 0, a), n) for (let e = 0; e < a.rules.length; e++) n.insertRule(a.rules[e], r++);
1565
+ } else {
1566
+ for (; i < o;) r += this.modules[i++].rules.length;
1567
+ r += a.rules.length, i++;
1568
+ }
1569
+ }
1570
+ if (n) t.adoptedStyleSheets.indexOf(this.sheet) < 0 && (t.adoptedStyleSheets = [this.sheet, ...t.adoptedStyleSheets]);
1571
+ else {
1572
+ let e = "";
1573
+ for (let t = 0; t < this.modules.length; t++) e += this.modules[t].getRules() + "\n";
1574
+ this.styleTag.textContent = e;
1575
+ let n = t.head || t;
1576
+ this.styleTag.parentNode != n && n.insertBefore(this.styleTag, n.firstChild);
1577
+ }
1578
+ }
1579
+ setNonce(e) {
1580
+ this.styleTag && this.styleTag.getAttribute("nonce") != e && this.styleTag.setAttribute("nonce", e);
1581
+ }
1582
+ };
1583
+ export { ye as a, u as c, o as d, j as f, ne as g, M as h, _e as i, r as l, d as m, L as n, Q as o, ee as p, xe as r, e as s, ke as t, s as u };