@feugene/granularity 0.1.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 (527) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +79 -0
  3. package/dist/assets/granularity-2oOxNk_f.css +2 -0
  4. package/dist/chunks/DsAlert-r_Ed-JrB.js +129 -0
  5. package/dist/chunks/DsAvatar-cyMI8jUi.js +32 -0
  6. package/dist/chunks/DsBadge-Dnd7_I-K.js +27 -0
  7. package/dist/chunks/DsBadgeWrap-UgP-TMdA.js +26 -0
  8. package/dist/chunks/DsBottomNav-Dze5cFVz.js +21 -0
  9. package/dist/chunks/DsButton-CA18Fha-.js +67 -0
  10. package/dist/chunks/DsButtonGroup-Ceat9ADe.js +16 -0
  11. package/dist/chunks/DsCard-GtapCsjq.js +10 -0
  12. package/dist/chunks/DsCheckbox-Afg94qUm.js +101 -0
  13. package/dist/chunks/DsCollapse-DWfip4gp.js +144 -0
  14. package/dist/chunks/DsConfirmDialog-DdUrG-DW.js +87 -0
  15. package/dist/chunks/DsDataTable-DgBkEgDK.js +91 -0
  16. package/dist/chunks/DsDialog-BAGAa9DN.js +178 -0
  17. package/dist/chunks/DsDrawer-gmVF_0I0.js +112 -0
  18. package/dist/chunks/DsDropdown-BcFjxaMe.js +106 -0
  19. package/dist/chunks/DsDropdownMenu-CA7259h5.js +218 -0
  20. package/dist/chunks/DsEmptyState-BdLoQ0-z.js +46 -0
  21. package/dist/chunks/DsFileUpload-IwtpKocj.js +282 -0
  22. package/dist/chunks/DsFormField-XVZK7YVU.js +28 -0
  23. package/dist/chunks/DsFormFile-C5ldcCAs.js +219 -0
  24. package/dist/chunks/DsFormSection-DmIDIQg7.js +18 -0
  25. package/dist/chunks/DsIcon-Q-KQGAQU.js +25 -0
  26. package/dist/chunks/DsImageViewer-C9NZ42St.js +313 -0
  27. package/dist/chunks/DsInput-DeoAkT6R.js +159 -0
  28. package/dist/chunks/DsInputTag-DWip_-Cr.js +201 -0
  29. package/dist/chunks/DsLink-CWpVQ0ij.js +56 -0
  30. package/dist/chunks/DsList-XI8AAk9b.js +31 -0
  31. package/dist/chunks/DsLoading-ogfmbPE4.js +53 -0
  32. package/dist/chunks/DsModal-Bl9r6v33.js +75 -0
  33. package/dist/chunks/DsNavbar-DJ4bv_MR.js +54 -0
  34. package/dist/chunks/DsNumberInput-D-m5QoQJ.js +301 -0
  35. package/dist/chunks/DsPagination-B28ms0hc.js +81 -0
  36. package/dist/chunks/DsProgressBar-Bkuqudkg.js +27 -0
  37. package/dist/chunks/DsPromptDialog-DdSca52S.js +133 -0
  38. package/dist/chunks/DsRadio-x2vmEUCv.js +141 -0
  39. package/dist/chunks/DsRadioGroup-CzlzJF2E.js +63 -0
  40. package/dist/chunks/DsSegmented-BwQ8VnOZ.js +250 -0
  41. package/dist/chunks/DsSelect-DEHGeICn.js +304 -0
  42. package/dist/chunks/DsSidebar-BNLaBCYD.js +18 -0
  43. package/dist/chunks/DsSkeleton-BcXabaQ7.js +25 -0
  44. package/dist/chunks/DsSwitch-DBdjltGz.js +60 -0
  45. package/dist/chunks/DsTable-apqrsbxV.js +10 -0
  46. package/dist/chunks/DsTabs-B1kkklFS.js +47 -0
  47. package/dist/chunks/DsTextarea-DVSsoqi3.js +56 -0
  48. package/dist/chunks/DsToaster-B9u2x_Ii.js +48 -0
  49. package/dist/chunks/DsTooltip-BqNVJw2f.js +27 -0
  50. package/dist/chunks/DsTree-Bz37FcIb.js +602 -0
  51. package/dist/chunks/DsTreeSelect-CU0aC9Mz.js +319 -0
  52. package/dist/chunks/_plugin-vue_export-helper-DOgycIVc.js +8 -0
  53. package/dist/chunks/adapter-BKKNB3Ii.js +4 -0
  54. package/dist/chunks/arrow-up-B4OlmAKz.js +23 -0
  55. package/dist/chunks/classTokens-CT1tqF2j.js +6 -0
  56. package/dist/chunks/componentConfig-CQndJxd1.js +14 -0
  57. package/dist/chunks/config-4vrmi-D0.js +9 -0
  58. package/dist/chunks/config-ANT_Zf3l.js +18 -0
  59. package/dist/chunks/config-B-tMv4PT.js +66 -0
  60. package/dist/chunks/config-B75oSW74.js +18 -0
  61. package/dist/chunks/config-B7HAOCA1.js +33 -0
  62. package/dist/chunks/config-B7yrZO9u.js +18 -0
  63. package/dist/chunks/config-B98-jCfY.js +9 -0
  64. package/dist/chunks/config-BDJ2JaFs.js +9 -0
  65. package/dist/chunks/config-BEzNFZ_R.js +10 -0
  66. package/dist/chunks/config-BKpHj94n.js +13 -0
  67. package/dist/chunks/config-BLYxW-WQ.js +9 -0
  68. package/dist/chunks/config-BS0vLD_L.js +41 -0
  69. package/dist/chunks/config-BXlW2GSa.js +33 -0
  70. package/dist/chunks/config-BY6edpDp.js +9 -0
  71. package/dist/chunks/config-BZDKypuQ.js +8 -0
  72. package/dist/chunks/config-BeJEy8yN.js +9 -0
  73. package/dist/chunks/config-BnryTLnh.js +47 -0
  74. package/dist/chunks/config-BqaCteFh2.js +9 -0
  75. package/dist/chunks/config-BrwOndwO.js +9 -0
  76. package/dist/chunks/config-BusLdkqX.js +8 -0
  77. package/dist/chunks/config-CBo4aVMV.js +8 -0
  78. package/dist/chunks/config-CLyDbB2M.js +14 -0
  79. package/dist/chunks/config-CML-WrGM.js +10 -0
  80. package/dist/chunks/config-CMuBf0u72.js +33 -0
  81. package/dist/chunks/config-CTGjkM7q.js +140 -0
  82. package/dist/chunks/config-CVEwIRRR.js +30 -0
  83. package/dist/chunks/config-Ch0TH9wN.js +42 -0
  84. package/dist/chunks/config-ClPYX-LP.js +24 -0
  85. package/dist/chunks/config-DA3cYUSo.js +8 -0
  86. package/dist/chunks/config-DAiP4yeJ.js +8 -0
  87. package/dist/chunks/config-DG_de8vE.js +15 -0
  88. package/dist/chunks/config-DIgvSIEs.js +9 -0
  89. package/dist/chunks/config-DJ7xDo-q.js +16 -0
  90. package/dist/chunks/config-DSFnRpu82.js +19 -0
  91. package/dist/chunks/config-DVHe_id-.js +22 -0
  92. package/dist/chunks/config-DoT3gzx7.js +9 -0
  93. package/dist/chunks/config-DuaBaVyF.js +34 -0
  94. package/dist/chunks/config-F4Bb6hVJ.js +30 -0
  95. package/dist/chunks/config-G7h6ftb62.js +39 -0
  96. package/dist/chunks/config-aUoIf7kK.js +28 -0
  97. package/dist/chunks/config-cKk87ycz2.js +14 -0
  98. package/dist/chunks/config-kfb3OyGZ.js +24 -0
  99. package/dist/chunks/config-oDjY8ZrP2.js +8 -0
  100. package/dist/chunks/config-panSV6Wo.js +9 -0
  101. package/dist/chunks/config-qlwX-rLq.js +42 -0
  102. package/dist/chunks/config-tQBoBLph.js +26 -0
  103. package/dist/chunks/dsBadgeStyles-yLd1GFUa.js +52 -0
  104. package/dist/chunks/dsButtonStyles-C1c_j958.js +207 -0
  105. package/dist/chunks/dsDialogStyles-C7QOvzmt.js +11 -0
  106. package/dist/chunks/dsDropdownStyles-DXGN-A-d.js +37 -0
  107. package/dist/chunks/dsFormFieldStyles-DspgXEqY.js +9 -0
  108. package/dist/chunks/dsLoadingStyles-B2ScgHwn.js +16 -0
  109. package/dist/chunks/dsModalStyles-C7E5kJ1o.js +54 -0
  110. package/dist/chunks/dsSelectStyles-Bym0uW4f.js +82 -0
  111. package/dist/chunks/en-CKkdzd7q.js +39 -0
  112. package/dist/chunks/es-CPXSlGMa.js +39 -0
  113. package/dist/chunks/fileValidation-gR8aUBMZ.js +193 -0
  114. package/dist/chunks/granularityI18n-DBuOHekC.js +24 -0
  115. package/dist/chunks/info-CmLOtVnO.js +26 -0
  116. package/dist/chunks/loader-circle-DtXjkqR7.js +23 -0
  117. package/dist/chunks/preset-DBXBjf5u.js +2235 -0
  118. package/dist/chunks/ru-D7AyvUyA.js +39 -0
  119. package/dist/chunks/transition-CT9vsWnT.js +1617 -0
  120. package/dist/chunks/x-circle-BZnfL2nz.js +61 -0
  121. package/dist/chunks/x-dGjszOU2.js +23 -0
  122. package/dist/components/DsAlert/index.js +3 -0
  123. package/dist/components/DsAlert/styles.css +386 -0
  124. package/dist/components/DsAvatar/index.js +3 -0
  125. package/dist/components/DsAvatar/styles.css +373 -0
  126. package/dist/components/DsBadge/index.js +4 -0
  127. package/dist/components/DsBadge/styles.css +422 -0
  128. package/dist/components/DsBadgeWrap/index.js +3 -0
  129. package/dist/components/DsBadgeWrap/styles.css +378 -0
  130. package/dist/components/DsBottomNav/index.js +3 -0
  131. package/dist/components/DsBottomNav/styles.css +388 -0
  132. package/dist/components/DsButton/index.js +4 -0
  133. package/dist/components/DsButton/styles.css +633 -0
  134. package/dist/components/DsButton/tokens.css +96 -0
  135. package/dist/components/DsButtonGroup/index.js +3 -0
  136. package/dist/components/DsButtonGroup/styles.css +23 -0
  137. package/dist/components/DsCard/index.js +3 -0
  138. package/dist/components/DsCard/styles.css +365 -0
  139. package/dist/components/DsCheckbox/index.js +3 -0
  140. package/dist/components/DsCheckbox/styles.css +394 -0
  141. package/dist/components/DsCollapse/index.js +3 -0
  142. package/dist/components/DsCollapse/styles.css +399 -0
  143. package/dist/components/DsConfirmDialog/index.js +3 -0
  144. package/dist/components/DsConfirmDialog/styles.css +595 -0
  145. package/dist/components/DsDataTable/index.js +3 -0
  146. package/dist/components/DsDataTable/styles.css +387 -0
  147. package/dist/components/DsDialog/index.js +3 -0
  148. package/dist/components/DsDialog/styles.css +592 -0
  149. package/dist/components/DsDrawer/index.js +3 -0
  150. package/dist/components/DsDrawer/styles.css +579 -0
  151. package/dist/components/DsDropdown/index.js +4 -0
  152. package/dist/components/DsDropdown/styles.css +392 -0
  153. package/dist/components/DsDropdownMenu/index.js +3 -0
  154. package/dist/components/DsDropdownMenu/styles.css +430 -0
  155. package/dist/components/DsEmptyState/index.js +3 -0
  156. package/dist/components/DsEmptyState/styles.css +380 -0
  157. package/dist/components/DsFileUpload/index.js +4 -0
  158. package/dist/components/DsFileUpload/styles.css +403 -0
  159. package/dist/components/DsFormField/index.js +3 -0
  160. package/dist/components/DsFormField/styles.css +365 -0
  161. package/dist/components/DsFormFile/index.js +3 -0
  162. package/dist/components/DsFormFile/styles.css +555 -0
  163. package/dist/components/DsFormSection/index.js +3 -0
  164. package/dist/components/DsFormSection/styles.css +365 -0
  165. package/dist/components/DsIcon/index.js +3 -0
  166. package/dist/components/DsIcon/styles.css +20 -0
  167. package/dist/components/DsIcon/tokens.css +3 -0
  168. package/dist/components/DsImageViewer/index.js +3 -0
  169. package/dist/components/DsImageViewer/styles.css +465 -0
  170. package/dist/components/DsInput/index.js +3 -0
  171. package/dist/components/DsInput/styles.css +416 -0
  172. package/dist/components/DsInputTag/index.js +3 -0
  173. package/dist/components/DsInputTag/styles.css +498 -0
  174. package/dist/components/DsLink/index.js +3 -0
  175. package/dist/components/DsLink/styles.css +390 -0
  176. package/dist/components/DsList/index.js +3 -0
  177. package/dist/components/DsList/styles.css +376 -0
  178. package/dist/components/DsLoading/index.js +4 -0
  179. package/dist/components/DsLoading/styles.css +381 -0
  180. package/dist/components/DsModal/index.js +4 -0
  181. package/dist/components/DsModal/styles.css +404 -0
  182. package/dist/components/DsNavbar/index.js +3 -0
  183. package/dist/components/DsNavbar/styles.css +549 -0
  184. package/dist/components/DsNumberInput/index.js +3 -0
  185. package/dist/components/DsNumberInput/styles.css +428 -0
  186. package/dist/components/DsPagination/index.js +3 -0
  187. package/dist/components/DsPagination/styles.css +637 -0
  188. package/dist/components/DsProgressBar/index.js +3 -0
  189. package/dist/components/DsProgressBar/styles.css +398 -0
  190. package/dist/components/DsProgressBar/tokens.css +23 -0
  191. package/dist/components/DsPromptDialog/index.js +3 -0
  192. package/dist/components/DsPromptDialog/styles.css +622 -0
  193. package/dist/components/DsRadio/index.js +3 -0
  194. package/dist/components/DsRadio/styles.css +558 -0
  195. package/dist/components/DsRadioGroup/index.js +3 -0
  196. package/dist/components/DsRadioGroup/styles.css +560 -0
  197. package/dist/components/DsSegmented/index.js +3 -0
  198. package/dist/components/DsSegmented/styles.css +422 -0
  199. package/dist/components/DsSegmented/tokens.css +9 -0
  200. package/dist/components/DsSelect/index.js +4 -0
  201. package/dist/components/DsSelect/styles.css +483 -0
  202. package/dist/components/DsSidebar/index.js +3 -0
  203. package/dist/components/DsSidebar/styles.css +370 -0
  204. package/dist/components/DsSkeleton/index.js +3 -0
  205. package/dist/components/DsSkeleton/styles.css +363 -0
  206. package/dist/components/DsSwitch/index.js +3 -0
  207. package/dist/components/DsSwitch/styles.css +393 -0
  208. package/dist/components/DsTable/index.js +3 -0
  209. package/dist/components/DsTable/styles.css +369 -0
  210. package/dist/components/DsTabs/index.js +3 -0
  211. package/dist/components/DsTabs/styles.css +390 -0
  212. package/dist/components/DsTextarea/index.js +3 -0
  213. package/dist/components/DsTextarea/styles.css +382 -0
  214. package/dist/components/DsToaster/index.js +3 -0
  215. package/dist/components/DsToaster/styles.css +558 -0
  216. package/dist/components/DsTooltip/index.js +3 -0
  217. package/dist/components/DsTooltip/styles.css +388 -0
  218. package/dist/components/DsTree/index.js +3 -0
  219. package/dist/components/DsTree/styles.css +375 -0
  220. package/dist/components/DsTreeSelect/index.js +3 -0
  221. package/dist/components/DsTreeSelect/styles.css +466 -0
  222. package/dist/composables/useTheme.js +44 -0
  223. package/dist/composables/useToast.js +37 -0
  224. package/dist/directives/autofocus.js +46 -0
  225. package/dist/directives/autosize.js +62 -0
  226. package/dist/directives/clickOutside.js +82 -0
  227. package/dist/directives/dropzone.js +110 -0
  228. package/dist/directives/globalDirectives.js +0 -0
  229. package/dist/directives/hotkey.js +104 -0
  230. package/dist/directives/loading.js +125 -0
  231. package/dist/directives.js +7 -0
  232. package/dist/fileValidation.js +2 -0
  233. package/dist/foundation.css +358 -0
  234. package/dist/i18n.js +9 -0
  235. package/dist/index.js +124 -0
  236. package/dist/package.json +293 -0
  237. package/dist/styles/base.css +33 -0
  238. package/dist/styles/themes/dark.css +102 -0
  239. package/dist/styles/themes/light.css +98 -0
  240. package/dist/styles/tokens.css +118 -0
  241. package/dist/styles.css +1134 -0
  242. package/dist/types/src/components/DsAlert/DsAlert.vue.d.ts +70 -0
  243. package/dist/types/src/components/DsAlert/config.d.ts +1 -0
  244. package/dist/types/src/components/DsAlert/index.d.ts +5 -0
  245. package/dist/types/src/components/DsAlert/safelist.d.ts +1 -0
  246. package/dist/types/src/components/DsAvatar/DsAvatar.vue.d.ts +53 -0
  247. package/dist/types/src/components/DsAvatar/config.d.ts +1 -0
  248. package/dist/types/src/components/DsAvatar/dsAvatarStyles.d.ts +6 -0
  249. package/dist/types/src/components/DsAvatar/index.d.ts +5 -0
  250. package/dist/types/src/components/DsAvatar/safelist.d.ts +1 -0
  251. package/dist/types/src/components/DsBadge/DsBadge.vue.d.ts +54 -0
  252. package/dist/types/src/components/DsBadge/config.d.ts +1 -0
  253. package/dist/types/src/components/DsBadge/dsBadgeStyles.d.ts +10 -0
  254. package/dist/types/src/components/DsBadge/index.d.ts +5 -0
  255. package/dist/types/src/components/DsBadge/safelist.d.ts +1 -0
  256. package/dist/types/src/components/DsBadgeWrap/DsBadgeWrap.vue.d.ts +44 -0
  257. package/dist/types/src/components/DsBadgeWrap/config.d.ts +1 -0
  258. package/dist/types/src/components/DsBadgeWrap/index.d.ts +4 -0
  259. package/dist/types/src/components/DsBadgeWrap/safelist.d.ts +1 -0
  260. package/dist/types/src/components/DsBottomNav/DsBottomNav.vue.d.ts +23 -0
  261. package/dist/types/src/components/DsBottomNav/config.d.ts +1 -0
  262. package/dist/types/src/components/DsBottomNav/index.d.ts +5 -0
  263. package/dist/types/src/components/DsBottomNav/safelist.d.ts +1 -0
  264. package/dist/types/src/components/DsButton/DsButton.vue.d.ts +70 -0
  265. package/dist/types/src/components/DsButton/config.d.ts +1 -0
  266. package/dist/types/src/components/DsButton/dsButtonStyles.d.ts +20 -0
  267. package/dist/types/src/components/DsButton/index.d.ts +5 -0
  268. package/dist/types/src/components/DsButton/safelist.d.ts +1 -0
  269. package/dist/types/src/components/DsButton/styles.css.d.ts +4 -0
  270. package/dist/types/src/components/DsButtonGroup/DsButtonGroup.vue.d.ts +40 -0
  271. package/dist/types/src/components/DsButtonGroup/config.d.ts +1 -0
  272. package/dist/types/src/components/DsButtonGroup/index.d.ts +4 -0
  273. package/dist/types/src/components/DsButtonGroup/safelist.d.ts +1 -0
  274. package/dist/types/src/components/DsButtonGroup/styles.css.d.ts +3 -0
  275. package/dist/types/src/components/DsCard/DsCard.vue.d.ts +13 -0
  276. package/dist/types/src/components/DsCard/config.d.ts +1 -0
  277. package/dist/types/src/components/DsCard/index.d.ts +4 -0
  278. package/dist/types/src/components/DsCard/safelist.d.ts +1 -0
  279. package/dist/types/src/components/DsCheckbox/DsCheckbox.vue.d.ts +64 -0
  280. package/dist/types/src/components/DsCheckbox/config.d.ts +1 -0
  281. package/dist/types/src/components/DsCheckbox/index.d.ts +4 -0
  282. package/dist/types/src/components/DsCheckbox/safelist.d.ts +1 -0
  283. package/dist/types/src/components/DsCollapse/DsCollapse.vue.d.ts +59 -0
  284. package/dist/types/src/components/DsCollapse/DsCollapseItem.vue.d.ts +51 -0
  285. package/dist/types/src/components/DsCollapse/config.d.ts +1 -0
  286. package/dist/types/src/components/DsCollapse/dsCollapseContext.d.ts +10 -0
  287. package/dist/types/src/components/DsCollapse/index.d.ts +7 -0
  288. package/dist/types/src/components/DsCollapse/safelist.d.ts +1 -0
  289. package/dist/types/src/components/DsConfirmDialog/DsConfirmDialog.vue.d.ts +93 -0
  290. package/dist/types/src/components/DsConfirmDialog/config.d.ts +1 -0
  291. package/dist/types/src/components/DsConfirmDialog/index.d.ts +4 -0
  292. package/dist/types/src/components/DsConfirmDialog/safelist.d.ts +1 -0
  293. package/dist/types/src/components/DsDataTable/DsDataTable.vue.d.ts +58 -0
  294. package/dist/types/src/components/DsDataTable/config.d.ts +1 -0
  295. package/dist/types/src/components/DsDataTable/index.d.ts +5 -0
  296. package/dist/types/src/components/DsDataTable/safelist.d.ts +1 -0
  297. package/dist/types/src/components/DsDialog/DsDialog.vue.d.ts +76 -0
  298. package/dist/types/src/components/DsDialog/DsDialogCloseButton.vue.d.ts +7 -0
  299. package/dist/types/src/components/DsDialog/DsDialogFooter.vue.d.ts +41 -0
  300. package/dist/types/src/components/DsDialog/DsDialogHeader.vue.d.ts +54 -0
  301. package/dist/types/src/components/DsDialog/config.d.ts +1 -0
  302. package/dist/types/src/components/DsDialog/dialogShared.d.ts +10 -0
  303. package/dist/types/src/components/DsDialog/dsDialogStyles.d.ts +1 -0
  304. package/dist/types/src/components/DsDialog/index.d.ts +4 -0
  305. package/dist/types/src/components/DsDrawer/DsDrawer.vue.d.ts +61 -0
  306. package/dist/types/src/components/DsDrawer/config.d.ts +1 -0
  307. package/dist/types/src/components/DsDrawer/dsDrawerStyles.d.ts +21 -0
  308. package/dist/types/src/components/DsDrawer/index.d.ts +4 -0
  309. package/dist/types/src/components/DsDrawer/safelist.d.ts +1 -0
  310. package/dist/types/src/components/DsDropdown/DsDropdown.vue.d.ts +67 -0
  311. package/dist/types/src/components/DsDropdown/config.d.ts +1 -0
  312. package/dist/types/src/components/DsDropdown/dsDropdownStyles.d.ts +6 -0
  313. package/dist/types/src/components/DsDropdown/index.d.ts +4 -0
  314. package/dist/types/src/components/DsDropdown/safelist.d.ts +1 -0
  315. package/dist/types/src/components/DsDropdownMenu/DsDropdownMenu.vue.d.ts +78 -0
  316. package/dist/types/src/components/DsDropdownMenu/DsDropdownMenuColumn.vue.d.ts +40 -0
  317. package/dist/types/src/components/DsDropdownMenu/DsDropdownMenuColumns.vue.d.ts +40 -0
  318. package/dist/types/src/components/DsDropdownMenu/DsDropdownMenuDivider.vue.d.ts +30 -0
  319. package/dist/types/src/components/DsDropdownMenu/DsDropdownMenuGroup.vue.d.ts +53 -0
  320. package/dist/types/src/components/DsDropdownMenu/DsDropdownMenuHeader.vue.d.ts +49 -0
  321. package/dist/types/src/components/DsDropdownMenu/DsDropdownMenuItem.vue.d.ts +55 -0
  322. package/dist/types/src/components/DsDropdownMenu/DsDropdownMenuList.vue.d.ts +48 -0
  323. package/dist/types/src/components/DsDropdownMenu/config.d.ts +1 -0
  324. package/dist/types/src/components/DsDropdownMenu/index.d.ts +14 -0
  325. package/dist/types/src/components/DsDropdownMenu/safelist.d.ts +1 -0
  326. package/dist/types/src/components/DsEmptyState/DsEmptyState.vue.d.ts +41 -0
  327. package/dist/types/src/components/DsEmptyState/config.d.ts +1 -0
  328. package/dist/types/src/components/DsEmptyState/index.d.ts +4 -0
  329. package/dist/types/src/components/DsEmptyState/safelist.d.ts +1 -0
  330. package/dist/types/src/components/DsFileUpload/DsFileUpload.vue.d.ts +136 -0
  331. package/dist/types/src/components/DsFileUpload/FileValidationError.d.ts +1 -0
  332. package/dist/types/src/components/DsFileUpload/acceptValidator.d.ts +1 -0
  333. package/dist/types/src/components/DsFileUpload/config.d.ts +1 -0
  334. package/dist/types/src/components/DsFileUpload/index.d.ts +5 -0
  335. package/dist/types/src/components/DsFileUpload/matchAccept.d.ts +1 -0
  336. package/dist/types/src/components/DsFileUpload/maxSizeMbValidator.d.ts +1 -0
  337. package/dist/types/src/components/DsFileUpload/runFileValidators.d.ts +2 -0
  338. package/dist/types/src/components/DsFileUpload/safelist.d.ts +1 -0
  339. package/dist/types/src/components/DsFileUpload/types.d.ts +1 -0
  340. package/dist/types/src/components/DsFormField/DsFormField.vue.d.ts +53 -0
  341. package/dist/types/src/components/DsFormField/config.d.ts +1 -0
  342. package/dist/types/src/components/DsFormField/dsFormFieldStyles.d.ts +1 -0
  343. package/dist/types/src/components/DsFormField/index.d.ts +3 -0
  344. package/dist/types/src/components/DsFormFile/DsFormFile.vue.d.ts +102 -0
  345. package/dist/types/src/components/DsFormFile/config.d.ts +1 -0
  346. package/dist/types/src/components/DsFormFile/index.d.ts +5 -0
  347. package/dist/types/src/components/DsFormFile/safelist.d.ts +1 -0
  348. package/dist/types/src/components/DsFormSection/DsFormSection.vue.d.ts +41 -0
  349. package/dist/types/src/components/DsFormSection/config.d.ts +1 -0
  350. package/dist/types/src/components/DsFormSection/index.d.ts +4 -0
  351. package/dist/types/src/components/DsFormSection/safelist.d.ts +1 -0
  352. package/dist/types/src/components/DsIcon/DsIcon.vue.d.ts +26 -0
  353. package/dist/types/src/components/DsIcon/config.d.ts +1 -0
  354. package/dist/types/src/components/DsIcon/dsIconStyles.d.ts +2 -0
  355. package/dist/types/src/components/DsIcon/index.d.ts +5 -0
  356. package/dist/types/src/components/DsIcon/styles.css.d.ts +5 -0
  357. package/dist/types/src/components/DsImageViewer/DsImageViewer.vue.d.ts +121 -0
  358. package/dist/types/src/components/DsImageViewer/config.d.ts +1 -0
  359. package/dist/types/src/components/DsImageViewer/index.d.ts +4 -0
  360. package/dist/types/src/components/DsImageViewer/safelist.d.ts +1 -0
  361. package/dist/types/src/components/DsInput/DsInput.vue.d.ts +109 -0
  362. package/dist/types/src/components/DsInput/config.d.ts +1 -0
  363. package/dist/types/src/components/DsInput/dsInputStyles.d.ts +1 -0
  364. package/dist/types/src/components/DsInput/index.d.ts +5 -0
  365. package/dist/types/src/components/DsInputTag/DsInputTag.vue.d.ts +123 -0
  366. package/dist/types/src/components/DsInputTag/config.d.ts +1 -0
  367. package/dist/types/src/components/DsInputTag/dsInputTagStyles.d.ts +11 -0
  368. package/dist/types/src/components/DsInputTag/index.d.ts +5 -0
  369. package/dist/types/src/components/DsInputTag/safelist.d.ts +1 -0
  370. package/dist/types/src/components/DsLink/DsLink.vue.d.ts +76 -0
  371. package/dist/types/src/components/DsLink/config.d.ts +1 -0
  372. package/dist/types/src/components/DsLink/dsLinkStyles.d.ts +10 -0
  373. package/dist/types/src/components/DsLink/index.d.ts +5 -0
  374. package/dist/types/src/components/DsLink/safelist.d.ts +1 -0
  375. package/dist/types/src/components/DsList/DsList.vue.d.ts +40 -0
  376. package/dist/types/src/components/DsList/DsListItem.vue.d.ts +25 -0
  377. package/dist/types/src/components/DsList/config.d.ts +1 -0
  378. package/dist/types/src/components/DsList/index.d.ts +5 -0
  379. package/dist/types/src/components/DsList/safelist.d.ts +1 -0
  380. package/dist/types/src/components/DsLoading/DsLoading.vue.d.ts +59 -0
  381. package/dist/types/src/components/DsLoading/config.d.ts +1 -0
  382. package/dist/types/src/components/DsLoading/dsLoadingStyles.d.ts +6 -0
  383. package/dist/types/src/components/DsLoading/index.d.ts +4 -0
  384. package/dist/types/src/components/DsLoading/safelist.d.ts +1 -0
  385. package/dist/types/src/components/DsModal/DsModal.vue.d.ts +51 -0
  386. package/dist/types/src/components/DsModal/config.d.ts +1 -0
  387. package/dist/types/src/components/DsModal/dsModalStyles.d.ts +17 -0
  388. package/dist/types/src/components/DsModal/index.d.ts +5 -0
  389. package/dist/types/src/components/DsModal/safelist.d.ts +1 -0
  390. package/dist/types/src/components/DsModal/styles.css.d.ts +3 -0
  391. package/dist/types/src/components/DsNavbar/DsNavbar.vue.d.ts +52 -0
  392. package/dist/types/src/components/DsNavbar/config.d.ts +1 -0
  393. package/dist/types/src/components/DsNavbar/index.d.ts +4 -0
  394. package/dist/types/src/components/DsNavbar/safelist.d.ts +1 -0
  395. package/dist/types/src/components/DsNumberInput/DsNumberInput.vue.d.ts +135 -0
  396. package/dist/types/src/components/DsNumberInput/config.d.ts +1 -0
  397. package/dist/types/src/components/DsNumberInput/dsNumberInputStyles.d.ts +15 -0
  398. package/dist/types/src/components/DsNumberInput/index.d.ts +5 -0
  399. package/dist/types/src/components/DsNumberInput/safelist.d.ts +1 -0
  400. package/dist/types/src/components/DsPagination/DsPagination.vue.d.ts +39 -0
  401. package/dist/types/src/components/DsPagination/config.d.ts +1 -0
  402. package/dist/types/src/components/DsPagination/index.d.ts +4 -0
  403. package/dist/types/src/components/DsPagination/safelist.d.ts +1 -0
  404. package/dist/types/src/components/DsProgressBar/DsProgressBar.vue.d.ts +36 -0
  405. package/dist/types/src/components/DsProgressBar/config.d.ts +1 -0
  406. package/dist/types/src/components/DsProgressBar/dsStyle.d.ts +6 -0
  407. package/dist/types/src/components/DsProgressBar/index.d.ts +4 -0
  408. package/dist/types/src/components/DsProgressBar/safelist.d.ts +1 -0
  409. package/dist/types/src/components/DsPromptDialog/DsPromptDialog.vue.d.ts +108 -0
  410. package/dist/types/src/components/DsPromptDialog/config.d.ts +1 -0
  411. package/dist/types/src/components/DsPromptDialog/index.d.ts +4 -0
  412. package/dist/types/src/components/DsPromptDialog/safelist.d.ts +1 -0
  413. package/dist/types/src/components/DsPromptDialog/styles.css.d.ts +1 -0
  414. package/dist/types/src/components/DsRadio/DsRadio.vue.d.ts +94 -0
  415. package/dist/types/src/components/DsRadio/config.d.ts +1 -0
  416. package/dist/types/src/components/DsRadio/dsRadioGroupContext.d.ts +10 -0
  417. package/dist/types/src/components/DsRadio/dsRadioStyles.d.ts +16 -0
  418. package/dist/types/src/components/DsRadio/index.d.ts +7 -0
  419. package/dist/types/src/components/DsRadio/safelist.d.ts +1 -0
  420. package/dist/types/src/components/DsRadioGroup/DsRadioGroup.vue.d.ts +69 -0
  421. package/dist/types/src/components/DsRadioGroup/config.d.ts +1 -0
  422. package/dist/types/src/components/DsRadioGroup/index.d.ts +5 -0
  423. package/dist/types/src/components/DsRadioGroup/safelist.d.ts +1 -0
  424. package/dist/types/src/components/DsSegmented/DsSegmented.vue.d.ts +77 -0
  425. package/dist/types/src/components/DsSegmented/config.d.ts +1 -0
  426. package/dist/types/src/components/DsSegmented/dsSegmentedStyles.d.ts +45 -0
  427. package/dist/types/src/components/DsSegmented/index.d.ts +5 -0
  428. package/dist/types/src/components/DsSegmented/safelist.d.ts +1 -0
  429. package/dist/types/src/components/DsSelect/DsSelect.vue.d.ts +132 -0
  430. package/dist/types/src/components/DsSelect/config.d.ts +1 -0
  431. package/dist/types/src/components/DsSelect/dsSelectStyles.d.ts +35 -0
  432. package/dist/types/src/components/DsSelect/index.d.ts +5 -0
  433. package/dist/types/src/components/DsSelect/safelist.d.ts +1 -0
  434. package/dist/types/src/components/DsSelect/styles.css.d.ts +1 -0
  435. package/dist/types/src/components/DsSidebar/DsSidebar.vue.d.ts +41 -0
  436. package/dist/types/src/components/DsSidebar/config.d.ts +1 -0
  437. package/dist/types/src/components/DsSidebar/index.d.ts +4 -0
  438. package/dist/types/src/components/DsSidebar/safelist.d.ts +1 -0
  439. package/dist/types/src/components/DsSkeleton/DsSkeleton.vue.d.ts +38 -0
  440. package/dist/types/src/components/DsSkeleton/config.d.ts +1 -0
  441. package/dist/types/src/components/DsSkeleton/index.d.ts +4 -0
  442. package/dist/types/src/components/DsSkeleton/safelist.d.ts +1 -0
  443. package/dist/types/src/components/DsSwitch/DsSwitch.vue.d.ts +63 -0
  444. package/dist/types/src/components/DsSwitch/config.d.ts +1 -0
  445. package/dist/types/src/components/DsSwitch/dsSwitchStyles.d.ts +19 -0
  446. package/dist/types/src/components/DsSwitch/index.d.ts +5 -0
  447. package/dist/types/src/components/DsSwitch/safelist.d.ts +1 -0
  448. package/dist/types/src/components/DsTable/DsTable.vue.d.ts +15 -0
  449. package/dist/types/src/components/DsTable/config.d.ts +1 -0
  450. package/dist/types/src/components/DsTable/index.d.ts +4 -0
  451. package/dist/types/src/components/DsTable/safelist.d.ts +1 -0
  452. package/dist/types/src/components/DsTabs/DsTabs.vue.d.ts +24 -0
  453. package/dist/types/src/components/DsTabs/config.d.ts +1 -0
  454. package/dist/types/src/components/DsTabs/index.d.ts +5 -0
  455. package/dist/types/src/components/DsTabs/safelist.d.ts +1 -0
  456. package/dist/types/src/components/DsTextarea/DsTextarea.vue.d.ts +65 -0
  457. package/dist/types/src/components/DsTextarea/config.d.ts +1 -0
  458. package/dist/types/src/components/DsTextarea/dsTextareaStyles.d.ts +6 -0
  459. package/dist/types/src/components/DsTextarea/index.d.ts +5 -0
  460. package/dist/types/src/components/DsTextarea/safelist.d.ts +1 -0
  461. package/dist/types/src/components/DsToaster/DsToaster.vue.d.ts +3 -0
  462. package/dist/types/src/components/DsToaster/config.d.ts +1 -0
  463. package/dist/types/src/components/DsToaster/index.d.ts +4 -0
  464. package/dist/types/src/components/DsToaster/safelist.d.ts +1 -0
  465. package/dist/types/src/components/DsTooltip/DsTooltip.vue.d.ts +41 -0
  466. package/dist/types/src/components/DsTooltip/config.d.ts +1 -0
  467. package/dist/types/src/components/DsTooltip/index.d.ts +4 -0
  468. package/dist/types/src/components/DsTooltip/safelist.d.ts +1 -0
  469. package/dist/types/src/components/DsTree/DsTree.vue.d.ts +35 -0
  470. package/dist/types/src/components/DsTree/config.d.ts +1 -0
  471. package/dist/types/src/components/DsTree/dsTreeDataAdapter.d.ts +14 -0
  472. package/dist/types/src/components/DsTree/dsTreeInteractionContext.d.ts +31 -0
  473. package/dist/types/src/components/DsTree/dsTreeProps.d.ts +57 -0
  474. package/dist/types/src/components/DsTree/dsTreeStore.d.ts +45 -0
  475. package/dist/types/src/components/DsTree/dsTreeTypes.d.ts +24 -0
  476. package/dist/types/src/components/DsTree/index.d.ts +6 -0
  477. package/dist/types/src/components/DsTree/safelist.d.ts +1 -0
  478. package/dist/types/src/components/DsTreeSelect/DsTreeSelect.vue.d.ts +72 -0
  479. package/dist/types/src/components/DsTreeSelect/config.d.ts +1 -0
  480. package/dist/types/src/components/DsTreeSelect/dsTreeSelectStyles.d.ts +9 -0
  481. package/dist/types/src/components/DsTreeSelect/dsTreeSelectTypes.d.ts +3 -0
  482. package/dist/types/src/components/DsTreeSelect/index.d.ts +5 -0
  483. package/dist/types/src/components/DsTreeSelect/safelist.d.ts +1 -0
  484. package/dist/types/src/components/shared/classTokens.d.ts +1 -0
  485. package/dist/types/src/composables/useTheme.d.ts +24 -0
  486. package/dist/types/src/composables/useToast.d.ts +19 -0
  487. package/dist/types/src/directives/autofocus.d.ts +11 -0
  488. package/dist/types/src/directives/autosize.d.ts +13 -0
  489. package/dist/types/src/directives/clickOutside.d.ts +18 -0
  490. package/dist/types/src/directives/dropzone.d.ts +30 -0
  491. package/dist/types/src/directives/globalDirectives.d.ts +18 -0
  492. package/dist/types/src/directives/hotkey.d.ts +25 -0
  493. package/dist/types/src/directives/index.d.ts +13 -0
  494. package/dist/types/src/directives/loading.d.ts +38 -0
  495. package/dist/types/src/fileValidation/FileValidationError.d.ts +7 -0
  496. package/dist/types/src/fileValidation/acceptValidator.d.ts +2 -0
  497. package/dist/types/src/fileValidation/allowedExtensionsValidator.d.ts +2 -0
  498. package/dist/types/src/fileValidation/allowedMimeTypesValidator.d.ts +9 -0
  499. package/dist/types/src/fileValidation/index.d.ts +11 -0
  500. package/dist/types/src/fileValidation/matchAccept.d.ts +1 -0
  501. package/dist/types/src/fileValidation/maxFileSizeBytesValidator.d.ts +2 -0
  502. package/dist/types/src/fileValidation/maxSizeMbValidator.d.ts +2 -0
  503. package/dist/types/src/fileValidation/maxTotalSizeBytesValidator.d.ts +2 -0
  504. package/dist/types/src/fileValidation/runFileValidators.d.ts +7 -0
  505. package/dist/types/src/fileValidation/types.d.ts +27 -0
  506. package/dist/types/src/i18n/adapter.d.ts +8 -0
  507. package/dist/types/src/i18n/index.d.ts +2 -0
  508. package/dist/types/src/i18n/messages.d.ts +268 -0
  509. package/dist/types/src/index.d.ts +59 -0
  510. package/dist/types/src/internal/granularityI18n.d.ts +8 -0
  511. package/dist/types/src/registry/componentConfig.d.ts +17 -0
  512. package/dist/types/src/registry/componentCss.d.ts +3 -0
  513. package/dist/types/src/registry/componentCss.node.d.ts +5 -0
  514. package/dist/types/src/registry/components.d.ts +56 -0
  515. package/dist/types/src/registry/safelist.d.ts +11 -0
  516. package/dist/types/src/theming/themeRegistry.d.ts +19 -0
  517. package/dist/types/src/theming/themeRegistry.node.d.ts +14 -0
  518. package/dist/types/src/unocss/preset.d.ts +18 -0
  519. package/dist/types/src/unocss/preset.node.d.ts +15 -0
  520. package/dist/types/src/unocss/rules/animation.d.ts +3 -0
  521. package/dist/types/src/unocss/rules/colorOpacity.d.ts +2 -0
  522. package/dist/types/src/unocss/rules/filters.d.ts +8 -0
  523. package/dist/types/src/unocss/rules/spacing.d.ts +8 -0
  524. package/dist/uno-node.js +103 -0
  525. package/dist/uno.js +2 -0
  526. package/package.json +367 -0
  527. package/web-types.json +100 -0
@@ -0,0 +1,2235 @@
1
+ import { t as e } from "./componentConfig-CQndJxd1.js";
2
+ import { t } from "./config-BZDKypuQ.js";
3
+ import { t as n } from "./config-ANT_Zf3l.js";
4
+ import { t as r } from "./config-DIgvSIEs.js";
5
+ import { t as i } from "./config-aUoIf7kK.js";
6
+ import { t as a } from "./config-DA3cYUSo.js";
7
+ import { t as o } from "./config-CML-WrGM.js";
8
+ import { t as s } from "./config-BLYxW-WQ.js";
9
+ import { t as c } from "./config-DG_de8vE.js";
10
+ import { t as l } from "./config-DoT3gzx7.js";
11
+ import { t as u } from "./config-4vrmi-D0.js";
12
+ import { t as d } from "./config-CBo4aVMV.js";
13
+ import { t as f } from "./config-CVEwIRRR.js";
14
+ import { t as ee } from "./config-G7h6ftb62.js";
15
+ import { t as te } from "./config-BeJEy8yN.js";
16
+ import { t as ne } from "./config-BY6edpDp.js";
17
+ import { t as p } from "./dsDialogStyles-C7QOvzmt.js";
18
+ import { t as re } from "./config-F4Bb6hVJ.js";
19
+ import { t as ie } from "./config-DVHe_id-.js";
20
+ import { t as ae } from "./config-DuaBaVyF.js";
21
+ import { t as oe } from "./dsFormFieldStyles-DspgXEqY.js";
22
+ import { t as se } from "./config-DJ7xDo-q.js";
23
+ import { t as ce } from "./config-BrwOndwO.js";
24
+ import { t as le } from "./config-DAiP4yeJ.js";
25
+ import { t as ue } from "./config-BXlW2GSa.js";
26
+ import { t as de } from "./config-BnryTLnh.js";
27
+ import { t as fe } from "./config-qlwX-rLq.js";
28
+ import { t as pe } from "./config-ClPYX-LP.js";
29
+ import { t as me } from "./config-Ch0TH9wN.js";
30
+ import { t as he } from "./config-BDJ2JaFs.js";
31
+ import { t as ge } from "./config-panSV6Wo.js";
32
+ import { t as _e } from "./config-kfb3OyGZ.js";
33
+ import { t as ve } from "./config-B7HAOCA1.js";
34
+ import { t as ye } from "./config-tQBoBLph.js";
35
+ import { t as be } from "./config-B7yrZO9u.js";
36
+ import { t as xe } from "./config-BS0vLD_L.js";
37
+ import { t as Se } from "./config-B98-jCfY.js";
38
+ import { t as Ce } from "./config-BEzNFZ_R.js";
39
+ import { t as we } from "./config-CLyDbB2M.js";
40
+ import { t as Te } from "./config-BKpHj94n.js";
41
+ import { t as Ee } from "./config-CTGjkM7q.js";
42
+ import { t as De } from "./config-B-tMv4PT.js";
43
+ import { t as Oe } from "./config-DSFnRpu82.js";
44
+ import { t as ke } from "./config-BusLdkqX.js";
45
+ import { t as Ae } from "./config-BqaCteFh2.js";
46
+ import { t as je } from "./config-B75oSW74.js";
47
+ import { t as Me } from "./config-cKk87ycz2.js";
48
+ import { t as Ne } from "./config-CMuBf0u72.js";
49
+ import { t as Pe } from "./config-oDjY8ZrP2.js";
50
+ //#region \0rolldown/runtime.js
51
+ var Fe = Object.defineProperty, Ie = (e, t) => {
52
+ let n = {};
53
+ for (var r in e) Fe(n, r, {
54
+ get: e[r],
55
+ enumerable: !0
56
+ });
57
+ return t || Fe(n, Symbol.toStringTag, { value: "Module" }), n;
58
+ }, m = {
59
+ DsAlert: t,
60
+ DsAvatar: n,
61
+ DsBadge: r,
62
+ DsBadgeWrap: i,
63
+ DsBottomNav: a,
64
+ DsButton: o,
65
+ DsButtonGroup: s,
66
+ DsCard: c,
67
+ DsCollapse: l,
68
+ DsConfirmDialog: u,
69
+ DsDataTable: f,
70
+ DsDrawer: ee,
71
+ DsDropdown: te,
72
+ DsDropdownMenu: ne,
73
+ DsCheckbox: d,
74
+ DsDialog: e(import.meta.url, {
75
+ name: "DsDialog",
76
+ dependencies: ["DsButton", "DsModal"],
77
+ safelist: p
78
+ }),
79
+ DsEmptyState: re,
80
+ DsFileUpload: ie,
81
+ DsFormFile: ae,
82
+ DsFormField: e(import.meta.url, {
83
+ name: "DsFormField",
84
+ safelist: oe
85
+ }),
86
+ DsFormSection: se,
87
+ DsIcon: ce,
88
+ DsImageViewer: le,
89
+ DsInput: ue,
90
+ DsNumberInput: de,
91
+ DsInputTag: fe,
92
+ DsList: pe,
93
+ DsLink: me,
94
+ DsLoading: he,
95
+ DsModal: ge,
96
+ DsNavbar: _e,
97
+ DsPagination: ve,
98
+ DsProgressBar: ye,
99
+ DsPromptDialog: be,
100
+ DsRadio: xe,
101
+ DsRadioGroup: Se,
102
+ DsSelect: Ce,
103
+ DsSegmented: Ee,
104
+ DsSidebar: we,
105
+ DsSkeleton: Te,
106
+ DsSwitch: De,
107
+ DsTable: Oe,
108
+ DsTabs: ke,
109
+ DsToaster: Ae,
110
+ DsTextarea: je,
111
+ DsTree: Me,
112
+ DsTreeSelect: Ne,
113
+ DsTooltip: Pe
114
+ };
115
+ function Le(e = "all") {
116
+ return e === "all" ? Object.keys(m) : e;
117
+ }
118
+ function Re(e = "all") {
119
+ let t = [], n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set();
120
+ function i(e) {
121
+ if (!n.has(e)) {
122
+ if (r.has(e)) throw Error(`Circular granularity component dependency detected: ${[...r, e].join(" -> ")}`);
123
+ r.add(e);
124
+ for (let t of m[e].dependencies) i(t);
125
+ r.delete(e), n.add(e), t.push(e);
126
+ }
127
+ }
128
+ for (let t of Le(e)) i(t);
129
+ return t;
130
+ }
131
+ var ze = Object.fromEntries(Object.entries(m).map(([e, t]) => [e, t.safelist]));
132
+ //#endregion
133
+ //#region src/registry/safelist.ts
134
+ function Be(e) {
135
+ return !!e.styleAssetFileName;
136
+ }
137
+ function Ve(e) {
138
+ return [...new Set(e)];
139
+ }
140
+ function He(e = "all") {
141
+ return Ve(e === "all" ? Object.values(ze).flat() : Re(e).flatMap((e) => ze[e]));
142
+ }
143
+ var Ue = He("all");
144
+ [...Object.values(m).filter(Be).map((e) => ({
145
+ fileName: e.styleAssetFileName,
146
+ components: [e.name]
147
+ }))];
148
+ //#endregion
149
+ //#region src/theming/themeRegistry.ts
150
+ var We = ["light", "dark"], Ge = ["light"], Ke = new URL("data:text/css;base64,aHRtbCwKYm9keSB7CiAgICBoZWlnaHQ6IDEwMCU7Cn0KCmJvZHkgewogICAgbWFyZ2luOiAwOwogICAgZm9udC1mYW1pbHk6IHZhcigtLWRzLWZvbnQtdWkpOwogICAgYmFja2dyb3VuZDogdmFyKC0tYmcpOwogICAgY29sb3I6IHZh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NzsKICAgIC0tYnJkLWFjdGl2ZTogIzhjOTRhMDsKICAgIC0tZGVzdHJ1Y3RpdmUtaG92ZXI6ICNmMDUzNTM7CiAgICAtLWRlc3RydWN0aXZlLWFjdGl2ZTogI2YwNjE2MTsKCiAgICAvKiBTdGF0dXMgcm9sZSBmYWxsYmFja3MgKi8KICAgIC0tZHMtc3VjY2Vzcy1ob3ZlcjogIzQ0ZDZhMTsKICAgIC0tZHMtc3VjY2Vzcy1hY3RpdmU6ICM1M2Q5YTk7CiAgICAtLWRzLXdhcm5pbmctaG92ZXI6ICNmYjlhNGI7CiAgICAtLWRzLXdhcm5pbmctYWN0aXZlOiAjZmJhMzViOwogICAgLS1kcy1kYW5nZXItaG92ZXI6ICNmODdjN2M7CiAgICAtLWRzLWRhbmdlci1hY3RpdmU6ICNmODg3ODc7CiAgICAtLWRzLWluZm8taG92ZXI6ICM4Yjk1Zjg7CiAgICAtLWRzLWluZm8tYWN0aXZlOiAjOTQ5ZWY5OwogICAgLS1kcy1zbGF0ZS1ob3ZlcjogIzlmYWVjMDsKICAgIC0tZHMtc2xhdGUtYWN0aXZlOiAjYWFiN2M4OwogICAgLS1kcy1henVyZS1ob3ZlcjogIzRiYzNmOTsKICAgIC0tZHMtYXp1cmUtYWN0aXZlOiAjNWRjYmY5OwoKICAgIC8qIENvbXBvbmVudCBzZW1hbnRpYyBmYWxsYmFja3MgKi8KICAgIC0tZHMtY2F0ZWdvcnktdHJlZS1icmFuY2gtbGluZS1hY3RpdmUtY29sb3I6ICM1MDViOGM7CiAgfQp9Cg==", "" + import.meta.url).href
153
+ };
154
+ function Ye(e) {
155
+ let t = e?.length ? e : Ge;
156
+ return [...new Set(t)];
157
+ }
158
+ function Xe(e) {
159
+ return [...new Set((e ?? []).filter(Boolean))];
160
+ }
161
+ function Ze(e = {}) {
162
+ return e.themes?.length ? Ye(e.themes) : Xe(e.themeFiles).length ? [] : Ye();
163
+ }
164
+ //#endregion
165
+ //#region src/unocss/rules/animation.ts
166
+ var Qe = [[/^animate-spin$/, () => ({ animation: "granularity-spin 1s linear infinite" })]], $e = [{ getCSS: () => "@keyframes granularity-spin{to{transform:rotate(360deg)}}" }];
167
+ //#endregion
168
+ //#region src/unocss/rules/colorOpacity.ts
169
+ function et(e) {
170
+ let t = e.match(/^\[(.+)\]$/);
171
+ if (!t) return;
172
+ let n = t[1];
173
+ return n.startsWith("color:") ? n.slice(6) : n;
174
+ }
175
+ function tt(e) {
176
+ if (!/^-?\d+(?:\.\d+)?$/.test(e)) return;
177
+ let t = Number(e);
178
+ if (Number.isFinite(t)) return Math.max(0, Math.min(100, t));
179
+ }
180
+ function nt(e, t) {
181
+ return `color-mix(in srgb, ${e} ${t}%, transparent)`;
182
+ }
183
+ var rt = [[/^bg-(\[[^\]]+\])\/(\d+(?:\.\d+)?)$/, ([, e, t]) => {
184
+ let n = et(e), r = tt(t);
185
+ if (!(!n || r == null)) return { "background-color": nt(n, r) };
186
+ }], [/^border-(\[[^\]]+\])\/(\d+(?:\.\d+)?)$/, ([, e, t]) => {
187
+ let n = et(e), r = tt(t);
188
+ if (!(!n || r == null)) return { "border-color": nt(n, r) };
189
+ }]];
190
+ //#endregion
191
+ //#region ../../node_modules/@unocss/core/dist/index.mjs
192
+ function it(e = []) {
193
+ return Array.isArray(e) ? e : [e];
194
+ }
195
+ function at(e) {
196
+ return typeof e == "string";
197
+ }
198
+ function h(e) {
199
+ return e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
200
+ }
201
+ function g(e) {
202
+ let t = e.length, n = -1, r, i = "", a = e.charCodeAt(0);
203
+ for (; ++n < t;) {
204
+ if (r = e.charCodeAt(n), r === 0) {
205
+ i += "�";
206
+ continue;
207
+ }
208
+ if (r === 37) {
209
+ i += "\\%";
210
+ continue;
211
+ }
212
+ if (r === 44) {
213
+ i += "\\,";
214
+ continue;
215
+ }
216
+ if (r >= 1 && r <= 31 || r === 127 || n === 0 && r >= 48 && r <= 57 || n === 1 && r >= 48 && r <= 57 && a === 45) {
217
+ i += `\\${r.toString(16)} `;
218
+ continue;
219
+ }
220
+ if (n === 0 && t === 1 && r === 45) {
221
+ i += `\\${e.charAt(n)}`;
222
+ continue;
223
+ }
224
+ if (r >= 128 || r === 45 || r === 95 || r >= 48 && r <= 57 || r >= 65 && r <= 90 || r >= 97 && r <= 122) {
225
+ i += e.charAt(n);
226
+ continue;
227
+ }
228
+ i += `\\${e.charAt(n)}`;
229
+ }
230
+ return i;
231
+ }
232
+ var _ = {
233
+ shortcutsNoMerge: "$$symbol-shortcut-no-merge",
234
+ noMerge: "$$symbol-no-merge",
235
+ noScope: "$$symbol-no-scope",
236
+ variants: "$$symbol-variants",
237
+ parent: "$$symbol-parent",
238
+ selector: "$$symbol-selector",
239
+ layer: "$$symbol-layer",
240
+ sort: "$$symbol-sort",
241
+ body: "$$symbol-body"
242
+ }, ot = 44, st = 59, ct = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", lt = new Uint8Array(64), ut = new Uint8Array(128);
243
+ for (let e = 0; e < ct.length; e++) {
244
+ let t = ct.charCodeAt(e);
245
+ lt[e] = t, ut[t] = e;
246
+ }
247
+ function v(e, t, n) {
248
+ let r = t - n;
249
+ r = r < 0 ? -r << 1 | 1 : r << 1;
250
+ do {
251
+ let t = r & 31;
252
+ r >>>= 5, r > 0 && (t |= 32), e.write(lt[t]);
253
+ } while (r > 0);
254
+ return t;
255
+ }
256
+ var dt = 1024 * 16, ft = typeof TextDecoder < "u" ? /* @__PURE__ */ new TextDecoder() : typeof Buffer < "u" ? { decode(e) {
257
+ return Buffer.from(e.buffer, e.byteOffset, e.byteLength).toString();
258
+ } } : { decode(e) {
259
+ let t = "";
260
+ for (let n = 0; n < e.length; n++) t += String.fromCharCode(e[n]);
261
+ return t;
262
+ } }, pt = class {
263
+ constructor() {
264
+ this.pos = 0, this.out = "", this.buffer = new Uint8Array(dt);
265
+ }
266
+ write(e) {
267
+ let { buffer: t } = this;
268
+ t[this.pos++] = e, this.pos === dt && (this.out += ft.decode(t), this.pos = 0);
269
+ }
270
+ flush() {
271
+ let { buffer: e, out: t, pos: n } = this;
272
+ return n > 0 ? t + ft.decode(e.subarray(0, n)) : t;
273
+ }
274
+ };
275
+ function mt(e) {
276
+ let t = new pt(), n = 0, r = 0, i = 0, a = 0;
277
+ for (let o = 0; o < e.length; o++) {
278
+ let s = e[o];
279
+ if (o > 0 && t.write(st), s.length === 0) continue;
280
+ let c = 0;
281
+ for (let e = 0; e < s.length; e++) {
282
+ let o = s[e];
283
+ e > 0 && t.write(ot), c = v(t, o[0], c), o.length !== 1 && (n = v(t, o[1], n), r = v(t, o[2], r), i = v(t, o[3], i), o.length !== 4 && (a = v(t, o[4], a)));
284
+ }
285
+ }
286
+ return t.flush();
287
+ }
288
+ //#endregion
289
+ //#region ../../node_modules/magic-string/dist/magic-string.es.mjs
290
+ var ht = class e {
291
+ constructor(t) {
292
+ this.bits = t instanceof e ? t.bits.slice() : [];
293
+ }
294
+ add(e) {
295
+ this.bits[e >> 5] |= 1 << (e & 31);
296
+ }
297
+ has(e) {
298
+ return !!(this.bits[e >> 5] & 1 << (e & 31));
299
+ }
300
+ }, gt = class e {
301
+ constructor(e, t, n) {
302
+ this.start = e, this.end = t, this.original = n, this.intro = "", this.outro = "", this.content = n, this.storeName = !1, this.edited = !1, this.previous = null, this.next = null;
303
+ }
304
+ appendLeft(e) {
305
+ this.outro += e;
306
+ }
307
+ appendRight(e) {
308
+ this.intro += e;
309
+ }
310
+ clone() {
311
+ let t = new e(this.start, this.end, this.original);
312
+ return t.intro = this.intro, t.outro = this.outro, t.content = this.content, t.storeName = this.storeName, t.edited = this.edited, t;
313
+ }
314
+ contains(e) {
315
+ return this.start < e && e < this.end;
316
+ }
317
+ eachNext(e) {
318
+ let t = this;
319
+ for (; t;) e(t), t = t.next;
320
+ }
321
+ eachPrevious(e) {
322
+ let t = this;
323
+ for (; t;) e(t), t = t.previous;
324
+ }
325
+ edit(e, t, n) {
326
+ return this.content = e, n || (this.intro = "", this.outro = ""), this.storeName = t, this.edited = !0, this;
327
+ }
328
+ prependLeft(e) {
329
+ this.outro = e + this.outro;
330
+ }
331
+ prependRight(e) {
332
+ this.intro = e + this.intro;
333
+ }
334
+ reset() {
335
+ this.intro = "", this.outro = "", this.edited &&= (this.content = this.original, this.storeName = !1, !1);
336
+ }
337
+ split(t) {
338
+ let n = t - this.start, r = this.original.slice(0, n), i = this.original.slice(n);
339
+ this.original = r;
340
+ let a = new e(t, this.end, i);
341
+ return a.outro = this.outro, this.outro = "", this.end = t, this.edited ? (a.edit("", !1), this.content = "") : this.content = r, a.next = this.next, a.next && (a.next.previous = a), a.previous = this, this.next = a, a;
342
+ }
343
+ toString() {
344
+ return this.intro + this.content + this.outro;
345
+ }
346
+ trimEnd(e) {
347
+ if (this.outro = this.outro.replace(e, ""), this.outro.length) return !0;
348
+ let t = this.content.replace(e, "");
349
+ if (t.length) return t !== this.content && (this.split(this.start + t.length).edit("", void 0, !0), this.edited && this.edit(t, this.storeName, !0)), !0;
350
+ if (this.edit("", void 0, !0), this.intro = this.intro.replace(e, ""), this.intro.length) return !0;
351
+ }
352
+ trimStart(e) {
353
+ if (this.intro = this.intro.replace(e, ""), this.intro.length) return !0;
354
+ let t = this.content.replace(e, "");
355
+ if (t.length) {
356
+ if (t !== this.content) {
357
+ let e = this.split(this.end - t.length);
358
+ this.edited && e.edit(t, this.storeName, !0), this.edit("", void 0, !0);
359
+ }
360
+ return !0;
361
+ } else if (this.edit("", void 0, !0), this.outro = this.outro.replace(e, ""), this.outro.length) return !0;
362
+ }
363
+ };
364
+ function _t() {
365
+ return typeof globalThis < "u" && typeof globalThis.btoa == "function" ? (e) => globalThis.btoa(unescape(encodeURIComponent(e))) : typeof Buffer == "function" ? (e) => Buffer.from(e, "utf-8").toString("base64") : () => {
366
+ throw Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.");
367
+ };
368
+ }
369
+ var vt = /* @__PURE__ */ _t(), yt = class {
370
+ constructor(e) {
371
+ this.version = 3, this.file = e.file, this.sources = e.sources, this.sourcesContent = e.sourcesContent, this.names = e.names, this.mappings = mt(e.mappings), e.x_google_ignoreList !== void 0 && (this.x_google_ignoreList = e.x_google_ignoreList), e.debugId !== void 0 && (this.debugId = e.debugId);
372
+ }
373
+ toString() {
374
+ return JSON.stringify(this);
375
+ }
376
+ toUrl() {
377
+ return "data:application/json;charset=utf-8;base64," + vt(this.toString());
378
+ }
379
+ };
380
+ function bt(e) {
381
+ let t = e.split("\n"), n = t.filter((e) => /^\t+/.test(e)), r = t.filter((e) => /^ {2,}/.test(e));
382
+ if (n.length === 0 && r.length === 0) return null;
383
+ if (n.length >= r.length) return " ";
384
+ let i = r.reduce((e, t) => {
385
+ let n = /^ +/.exec(t)[0].length;
386
+ return Math.min(n, e);
387
+ }, Infinity);
388
+ return Array(i + 1).join(" ");
389
+ }
390
+ function xt(e, t) {
391
+ let n = e.split(/[/\\]/), r = t.split(/[/\\]/);
392
+ for (n.pop(); n[0] === r[0];) n.shift(), r.shift();
393
+ if (n.length) {
394
+ let e = n.length;
395
+ for (; e--;) n[e] = "..";
396
+ }
397
+ return n.concat(r).join("/");
398
+ }
399
+ var St = Object.prototype.toString;
400
+ function Ct(e) {
401
+ return St.call(e) === "[object Object]";
402
+ }
403
+ function wt(e) {
404
+ let t = e.split("\n"), n = [];
405
+ for (let e = 0, r = 0; e < t.length; e++) n.push(r), r += t[e].length + 1;
406
+ return function(e) {
407
+ let t = 0, r = n.length;
408
+ for (; t < r;) {
409
+ let i = t + r >> 1;
410
+ e < n[i] ? r = i : t = i + 1;
411
+ }
412
+ let i = t - 1;
413
+ return {
414
+ line: i,
415
+ column: e - n[i]
416
+ };
417
+ };
418
+ }
419
+ var Tt = /\w/, Et = class {
420
+ constructor(e) {
421
+ this.hires = e, this.generatedCodeLine = 0, this.generatedCodeColumn = 0, this.raw = [], this.rawSegments = this.raw[this.generatedCodeLine] = [], this.pending = null;
422
+ }
423
+ addEdit(e, t, n, r) {
424
+ if (t.length) {
425
+ let i = t.length - 1, a = t.indexOf("\n", 0), o = -1;
426
+ for (; a >= 0 && i > a;) {
427
+ let i = [
428
+ this.generatedCodeColumn,
429
+ e,
430
+ n.line,
431
+ n.column
432
+ ];
433
+ r >= 0 && i.push(r), this.rawSegments.push(i), this.generatedCodeLine += 1, this.raw[this.generatedCodeLine] = this.rawSegments = [], this.generatedCodeColumn = 0, o = a, a = t.indexOf("\n", a + 1);
434
+ }
435
+ let s = [
436
+ this.generatedCodeColumn,
437
+ e,
438
+ n.line,
439
+ n.column
440
+ ];
441
+ r >= 0 && s.push(r), this.rawSegments.push(s), this.advance(t.slice(o + 1));
442
+ } else this.pending && (this.rawSegments.push(this.pending), this.advance(t));
443
+ this.pending = null;
444
+ }
445
+ addUneditedChunk(e, t, n, r, i) {
446
+ let a = t.start, o = !0, s = !1;
447
+ for (; a < t.end;) {
448
+ if (n[a] === "\n") r.line += 1, r.column = 0, this.generatedCodeLine += 1, this.raw[this.generatedCodeLine] = this.rawSegments = [], this.generatedCodeColumn = 0, o = !0, s = !1;
449
+ else {
450
+ if (this.hires || o || i.has(a)) {
451
+ let t = [
452
+ this.generatedCodeColumn,
453
+ e,
454
+ r.line,
455
+ r.column
456
+ ];
457
+ this.hires === "boundary" ? Tt.test(n[a]) ? s ||= (this.rawSegments.push(t), !0) : (this.rawSegments.push(t), s = !1) : this.rawSegments.push(t);
458
+ }
459
+ r.column += 1, this.generatedCodeColumn += 1, o = !1;
460
+ }
461
+ a += 1;
462
+ }
463
+ this.pending = null;
464
+ }
465
+ advance(e) {
466
+ if (!e) return;
467
+ let t = e.split("\n");
468
+ if (t.length > 1) {
469
+ for (let e = 0; e < t.length - 1; e++) this.generatedCodeLine++, this.raw[this.generatedCodeLine] = this.rawSegments = [];
470
+ this.generatedCodeColumn = 0;
471
+ }
472
+ this.generatedCodeColumn += t[t.length - 1].length;
473
+ }
474
+ }, y = "\n", b = {
475
+ insertLeft: !1,
476
+ insertRight: !1,
477
+ storeName: !1
478
+ }, Dt = class e {
479
+ constructor(e, t = {}) {
480
+ let n = new gt(0, e.length, e);
481
+ Object.defineProperties(this, {
482
+ original: {
483
+ writable: !0,
484
+ value: e
485
+ },
486
+ outro: {
487
+ writable: !0,
488
+ value: ""
489
+ },
490
+ intro: {
491
+ writable: !0,
492
+ value: ""
493
+ },
494
+ firstChunk: {
495
+ writable: !0,
496
+ value: n
497
+ },
498
+ lastChunk: {
499
+ writable: !0,
500
+ value: n
501
+ },
502
+ lastSearchedChunk: {
503
+ writable: !0,
504
+ value: n
505
+ },
506
+ byStart: {
507
+ writable: !0,
508
+ value: {}
509
+ },
510
+ byEnd: {
511
+ writable: !0,
512
+ value: {}
513
+ },
514
+ filename: {
515
+ writable: !0,
516
+ value: t.filename
517
+ },
518
+ indentExclusionRanges: {
519
+ writable: !0,
520
+ value: t.indentExclusionRanges
521
+ },
522
+ sourcemapLocations: {
523
+ writable: !0,
524
+ value: new ht()
525
+ },
526
+ storedNames: {
527
+ writable: !0,
528
+ value: {}
529
+ },
530
+ indentStr: {
531
+ writable: !0,
532
+ value: void 0
533
+ },
534
+ ignoreList: {
535
+ writable: !0,
536
+ value: t.ignoreList
537
+ },
538
+ offset: {
539
+ writable: !0,
540
+ value: t.offset || 0
541
+ }
542
+ }), this.byStart[0] = n, this.byEnd[e.length] = n;
543
+ }
544
+ addSourcemapLocation(e) {
545
+ this.sourcemapLocations.add(e);
546
+ }
547
+ append(e) {
548
+ if (typeof e != "string") throw TypeError("outro content must be a string");
549
+ return this.outro += e, this;
550
+ }
551
+ appendLeft(e, t) {
552
+ if (e += this.offset, typeof t != "string") throw TypeError("inserted content must be a string");
553
+ this._split(e);
554
+ let n = this.byEnd[e];
555
+ return n ? n.appendLeft(t) : this.intro += t, this;
556
+ }
557
+ appendRight(e, t) {
558
+ if (e += this.offset, typeof t != "string") throw TypeError("inserted content must be a string");
559
+ this._split(e);
560
+ let n = this.byStart[e];
561
+ return n ? n.appendRight(t) : this.outro += t, this;
562
+ }
563
+ clone() {
564
+ let t = new e(this.original, {
565
+ filename: this.filename,
566
+ offset: this.offset
567
+ }), n = this.firstChunk, r = t.firstChunk = t.lastSearchedChunk = n.clone();
568
+ for (; n;) {
569
+ t.byStart[r.start] = r, t.byEnd[r.end] = r;
570
+ let e = n.next, i = e && e.clone();
571
+ i && (r.next = i, i.previous = r, r = i), n = e;
572
+ }
573
+ return t.lastChunk = r, this.indentExclusionRanges && (t.indentExclusionRanges = this.indentExclusionRanges.slice()), t.sourcemapLocations = new ht(this.sourcemapLocations), t.intro = this.intro, t.outro = this.outro, t;
574
+ }
575
+ generateDecodedMap(e) {
576
+ e ||= {};
577
+ let t = Object.keys(this.storedNames), n = new Et(e.hires), r = wt(this.original);
578
+ return this.intro && n.advance(this.intro), this.firstChunk.eachNext((e) => {
579
+ let i = r(e.start);
580
+ e.intro.length && n.advance(e.intro), e.edited ? n.addEdit(0, e.content, i, e.storeName ? t.indexOf(e.original) : -1) : n.addUneditedChunk(0, e, this.original, i, this.sourcemapLocations), e.outro.length && n.advance(e.outro);
581
+ }), this.outro && n.advance(this.outro), {
582
+ file: e.file ? e.file.split(/[/\\]/).pop() : void 0,
583
+ sources: [e.source ? xt(e.file || "", e.source) : e.file || ""],
584
+ sourcesContent: e.includeContent ? [this.original] : void 0,
585
+ names: t,
586
+ mappings: n.raw,
587
+ x_google_ignoreList: this.ignoreList ? [0] : void 0
588
+ };
589
+ }
590
+ generateMap(e) {
591
+ return new yt(this.generateDecodedMap(e));
592
+ }
593
+ _ensureindentStr() {
594
+ this.indentStr === void 0 && (this.indentStr = bt(this.original));
595
+ }
596
+ _getRawIndentString() {
597
+ return this._ensureindentStr(), this.indentStr;
598
+ }
599
+ getIndentString() {
600
+ return this._ensureindentStr(), this.indentStr === null ? " " : this.indentStr;
601
+ }
602
+ indent(e, t) {
603
+ let n = /^[^\r\n]/gm;
604
+ if (Ct(e) && (t = e, e = void 0), e === void 0 && (this._ensureindentStr(), e = this.indentStr || " "), e === "") return this;
605
+ t ||= {};
606
+ let r = {};
607
+ t.exclude && (typeof t.exclude[0] == "number" ? [t.exclude] : t.exclude).forEach((e) => {
608
+ for (let t = e[0]; t < e[1]; t += 1) r[t] = !0;
609
+ });
610
+ let i = t.indentStart !== !1, a = (t) => i ? `${e}${t}` : (i = !0, t);
611
+ this.intro = this.intro.replace(n, a);
612
+ let o = 0, s = this.firstChunk;
613
+ for (; s;) {
614
+ let t = s.end;
615
+ if (s.edited) r[o] || (s.content = s.content.replace(n, a), s.content.length && (i = s.content[s.content.length - 1] === "\n"));
616
+ else for (o = s.start; o < t;) {
617
+ if (!r[o]) {
618
+ let t = this.original[o];
619
+ t === "\n" ? i = !0 : t !== "\r" && i && (i = !1, o === s.start ? s.prependRight(e) : (this._splitChunk(s, o), s = s.next, s.prependRight(e)));
620
+ }
621
+ o += 1;
622
+ }
623
+ o = s.end, s = s.next;
624
+ }
625
+ return this.outro = this.outro.replace(n, a), this;
626
+ }
627
+ insert() {
628
+ throw Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)");
629
+ }
630
+ insertLeft(e, t) {
631
+ return b.insertLeft ||= (console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"), !0), this.appendLeft(e, t);
632
+ }
633
+ insertRight(e, t) {
634
+ return b.insertRight ||= (console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"), !0), this.prependRight(e, t);
635
+ }
636
+ move(e, t, n) {
637
+ if (e += this.offset, t += this.offset, n += this.offset, n >= e && n <= t) throw Error("Cannot move a selection inside itself");
638
+ this._split(e), this._split(t), this._split(n);
639
+ let r = this.byStart[e], i = this.byEnd[t], a = r.previous, o = i.next, s = this.byStart[n];
640
+ if (!s && i === this.lastChunk) return this;
641
+ let c = s ? s.previous : this.lastChunk;
642
+ return a && (a.next = o), o && (o.previous = a), c && (c.next = r), s && (s.previous = i), r.previous || (this.firstChunk = i.next), i.next || (this.lastChunk = r.previous, this.lastChunk.next = null), r.previous = c, i.next = s || null, c || (this.firstChunk = r), s || (this.lastChunk = i), this;
643
+ }
644
+ overwrite(e, t, n, r) {
645
+ return r ||= {}, this.update(e, t, n, {
646
+ ...r,
647
+ overwrite: !r.contentOnly
648
+ });
649
+ }
650
+ update(e, t, n, r) {
651
+ if (e += this.offset, t += this.offset, typeof n != "string") throw TypeError("replacement content must be a string");
652
+ if (this.original.length !== 0) {
653
+ for (; e < 0;) e += this.original.length;
654
+ for (; t < 0;) t += this.original.length;
655
+ }
656
+ if (t > this.original.length) throw Error("end is out of bounds");
657
+ if (e === t) throw Error("Cannot overwrite a zero-length range – use appendLeft or prependRight instead");
658
+ this._split(e), this._split(t), r === !0 && (b.storeName ||= (console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"), !0), r = { storeName: !0 });
659
+ let i = r === void 0 ? !1 : r.storeName, a = r === void 0 ? !1 : r.overwrite;
660
+ if (i) {
661
+ let n = this.original.slice(e, t);
662
+ Object.defineProperty(this.storedNames, n, {
663
+ writable: !0,
664
+ value: !0,
665
+ enumerable: !0
666
+ });
667
+ }
668
+ let o = this.byStart[e], s = this.byEnd[t];
669
+ if (o) {
670
+ let e = o;
671
+ for (; e !== s;) {
672
+ if (e.next !== this.byStart[e.end]) throw Error("Cannot overwrite across a split point");
673
+ e = e.next, e.edit("", !1);
674
+ }
675
+ o.edit(n, i, !a);
676
+ } else {
677
+ let r = new gt(e, t, "").edit(n, i);
678
+ s.next = r, r.previous = s;
679
+ }
680
+ return this;
681
+ }
682
+ prepend(e) {
683
+ if (typeof e != "string") throw TypeError("outro content must be a string");
684
+ return this.intro = e + this.intro, this;
685
+ }
686
+ prependLeft(e, t) {
687
+ if (e += this.offset, typeof t != "string") throw TypeError("inserted content must be a string");
688
+ this._split(e);
689
+ let n = this.byEnd[e];
690
+ return n ? n.prependLeft(t) : this.intro = t + this.intro, this;
691
+ }
692
+ prependRight(e, t) {
693
+ if (e += this.offset, typeof t != "string") throw TypeError("inserted content must be a string");
694
+ this._split(e);
695
+ let n = this.byStart[e];
696
+ return n ? n.prependRight(t) : this.outro = t + this.outro, this;
697
+ }
698
+ remove(e, t) {
699
+ if (e += this.offset, t += this.offset, this.original.length !== 0) {
700
+ for (; e < 0;) e += this.original.length;
701
+ for (; t < 0;) t += this.original.length;
702
+ }
703
+ if (e === t) return this;
704
+ if (e < 0 || t > this.original.length) throw Error("Character is out of bounds");
705
+ if (e > t) throw Error("end must be greater than start");
706
+ this._split(e), this._split(t);
707
+ let n = this.byStart[e];
708
+ for (; n;) n.intro = "", n.outro = "", n.edit(""), n = t > n.end ? this.byStart[n.end] : null;
709
+ return this;
710
+ }
711
+ reset(e, t) {
712
+ if (e += this.offset, t += this.offset, this.original.length !== 0) {
713
+ for (; e < 0;) e += this.original.length;
714
+ for (; t < 0;) t += this.original.length;
715
+ }
716
+ if (e === t) return this;
717
+ if (e < 0 || t > this.original.length) throw Error("Character is out of bounds");
718
+ if (e > t) throw Error("end must be greater than start");
719
+ this._split(e), this._split(t);
720
+ let n = this.byStart[e];
721
+ for (; n;) n.reset(), n = t > n.end ? this.byStart[n.end] : null;
722
+ return this;
723
+ }
724
+ lastChar() {
725
+ if (this.outro.length) return this.outro[this.outro.length - 1];
726
+ let e = this.lastChunk;
727
+ do {
728
+ if (e.outro.length) return e.outro[e.outro.length - 1];
729
+ if (e.content.length) return e.content[e.content.length - 1];
730
+ if (e.intro.length) return e.intro[e.intro.length - 1];
731
+ } while (e = e.previous);
732
+ return this.intro.length ? this.intro[this.intro.length - 1] : "";
733
+ }
734
+ lastLine() {
735
+ let e = this.outro.lastIndexOf(y);
736
+ if (e !== -1) return this.outro.substr(e + 1);
737
+ let t = this.outro, n = this.lastChunk;
738
+ do {
739
+ if (n.outro.length > 0) {
740
+ if (e = n.outro.lastIndexOf(y), e !== -1) return n.outro.substr(e + 1) + t;
741
+ t = n.outro + t;
742
+ }
743
+ if (n.content.length > 0) {
744
+ if (e = n.content.lastIndexOf(y), e !== -1) return n.content.substr(e + 1) + t;
745
+ t = n.content + t;
746
+ }
747
+ if (n.intro.length > 0) {
748
+ if (e = n.intro.lastIndexOf(y), e !== -1) return n.intro.substr(e + 1) + t;
749
+ t = n.intro + t;
750
+ }
751
+ } while (n = n.previous);
752
+ return e = this.intro.lastIndexOf(y), e === -1 ? this.intro + t : this.intro.substr(e + 1) + t;
753
+ }
754
+ slice(e = 0, t = this.original.length - this.offset) {
755
+ if (e += this.offset, t += this.offset, this.original.length !== 0) {
756
+ for (; e < 0;) e += this.original.length;
757
+ for (; t < 0;) t += this.original.length;
758
+ }
759
+ let n = "", r = this.firstChunk;
760
+ for (; r && (r.start > e || r.end <= e);) {
761
+ if (r.start < t && r.end >= t) return n;
762
+ r = r.next;
763
+ }
764
+ if (r && r.edited && r.start !== e) throw Error(`Cannot use replaced character ${e} as slice start anchor.`);
765
+ let i = r;
766
+ for (; r;) {
767
+ r.intro && (i !== r || r.start === e) && (n += r.intro);
768
+ let a = r.start < t && r.end >= t;
769
+ if (a && r.edited && r.end !== t) throw Error(`Cannot use replaced character ${t} as slice end anchor.`);
770
+ let o = i === r ? e - r.start : 0, s = a ? r.content.length + t - r.end : r.content.length;
771
+ if (n += r.content.slice(o, s), r.outro && (!a || r.end === t) && (n += r.outro), a) break;
772
+ r = r.next;
773
+ }
774
+ return n;
775
+ }
776
+ snip(e, t) {
777
+ let n = this.clone();
778
+ return n.remove(0, e), n.remove(t, n.original.length), n;
779
+ }
780
+ _split(e) {
781
+ if (this.byStart[e] || this.byEnd[e]) return;
782
+ let t = this.lastSearchedChunk, n = t, r = e > t.end;
783
+ for (; t;) {
784
+ if (t.contains(e)) return this._splitChunk(t, e);
785
+ if (t = r ? this.byStart[t.end] : this.byEnd[t.start], t === n) return;
786
+ n = t;
787
+ }
788
+ }
789
+ _splitChunk(e, t) {
790
+ if (e.edited && e.content.length) {
791
+ let n = wt(this.original)(t);
792
+ throw Error(`Cannot split a chunk that has already been edited (${n.line}:${n.column} – "${e.original}")`);
793
+ }
794
+ let n = e.split(t);
795
+ return this.byEnd[t] = e, this.byStart[t] = n, this.byEnd[n.end] = n, e === this.lastChunk && (this.lastChunk = n), this.lastSearchedChunk = e, !0;
796
+ }
797
+ toString() {
798
+ let e = this.intro, t = this.firstChunk;
799
+ for (; t;) e += t.toString(), t = t.next;
800
+ return e + this.outro;
801
+ }
802
+ isEmpty() {
803
+ let e = this.firstChunk;
804
+ do
805
+ if (e.intro.length && e.intro.trim() || e.content.length && e.content.trim() || e.outro.length && e.outro.trim()) return !1;
806
+ while (e = e.next);
807
+ return !0;
808
+ }
809
+ length() {
810
+ let e = this.firstChunk, t = 0;
811
+ do
812
+ t += e.intro.length + e.content.length + e.outro.length;
813
+ while (e = e.next);
814
+ return t;
815
+ }
816
+ trimLines() {
817
+ return this.trim("[\\r\\n]");
818
+ }
819
+ trim(e) {
820
+ return this.trimStart(e).trimEnd(e);
821
+ }
822
+ trimEndAborted(e) {
823
+ let t = RegExp((e || "\\s") + "+$");
824
+ if (this.outro = this.outro.replace(t, ""), this.outro.length) return !0;
825
+ let n = this.lastChunk;
826
+ do {
827
+ let e = n.end, r = n.trimEnd(t);
828
+ if (n.end !== e && (this.lastChunk === n && (this.lastChunk = n.next), this.byEnd[n.end] = n, this.byStart[n.next.start] = n.next, this.byEnd[n.next.end] = n.next), r) return !0;
829
+ n = n.previous;
830
+ } while (n);
831
+ return !1;
832
+ }
833
+ trimEnd(e) {
834
+ return this.trimEndAborted(e), this;
835
+ }
836
+ trimStartAborted(e) {
837
+ let t = RegExp("^" + (e || "\\s") + "+");
838
+ if (this.intro = this.intro.replace(t, ""), this.intro.length) return !0;
839
+ let n = this.firstChunk;
840
+ do {
841
+ let e = n.end, r = n.trimStart(t);
842
+ if (n.end !== e && (n === this.lastChunk && (this.lastChunk = n.next), this.byEnd[n.end] = n, this.byStart[n.next.start] = n.next, this.byEnd[n.next.end] = n.next), r) return !0;
843
+ n = n.next;
844
+ } while (n);
845
+ return !1;
846
+ }
847
+ trimStart(e) {
848
+ return this.trimStartAborted(e), this;
849
+ }
850
+ hasChanged() {
851
+ return this.original !== this.toString();
852
+ }
853
+ _replaceRegexp(e, t) {
854
+ function n(e, n) {
855
+ return typeof t == "string" ? t.replace(/\$(\$|&|\d+)/g, (t, n) => n === "$" ? "$" : n === "&" ? e[0] : +n < e.length ? e[+n] : `$${n}`) : t(...e, e.index, n, e.groups);
856
+ }
857
+ function r(e, t) {
858
+ let n, r = [];
859
+ for (; n = e.exec(t);) r.push(n);
860
+ return r;
861
+ }
862
+ if (e.global) r(e, this.original).forEach((e) => {
863
+ if (e.index != null) {
864
+ let t = n(e, this.original);
865
+ t !== e[0] && this.overwrite(e.index, e.index + e[0].length, t);
866
+ }
867
+ });
868
+ else {
869
+ let t = this.original.match(e);
870
+ if (t && t.index != null) {
871
+ let e = n(t, this.original);
872
+ e !== t[0] && this.overwrite(t.index, t.index + t[0].length, e);
873
+ }
874
+ }
875
+ return this;
876
+ }
877
+ _replaceString(e, t) {
878
+ let { original: n } = this, r = n.indexOf(e);
879
+ return r !== -1 && (typeof t == "function" && (t = t(e, r, n)), e !== t && this.overwrite(r, r + e.length, t)), this;
880
+ }
881
+ replace(e, t) {
882
+ return typeof e == "string" ? this._replaceString(e, t) : this._replaceRegexp(e, t);
883
+ }
884
+ _replaceAllString(e, t) {
885
+ let { original: n } = this, r = e.length;
886
+ for (let i = n.indexOf(e); i !== -1; i = n.indexOf(e, i + r)) {
887
+ let e = n.slice(i, i + r), a = t;
888
+ typeof t == "function" && (a = t(e, i, n)), e !== a && this.overwrite(i, i + r, a);
889
+ }
890
+ return this;
891
+ }
892
+ replaceAll(e, t) {
893
+ if (typeof e == "string") return this._replaceAllString(e, t);
894
+ if (!e.global) throw TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");
895
+ return this._replaceRegexp(e, t);
896
+ }
897
+ }, Ot = /* @__PURE__ */ Ie({
898
+ PseudoClassFunctions: () => nn,
899
+ PseudoClassFunctionsStr: () => j,
900
+ PseudoClasses: () => D,
901
+ PseudoClassesAndElementsColonStr: () => P,
902
+ PseudoClassesAndElementsStr: () => N,
903
+ PseudoClassesColon: () => O,
904
+ PseudoClassesColonKeys: () => tn,
905
+ PseudoClassesColonStr: () => A,
906
+ PseudoClassesKeys: () => en,
907
+ PseudoClassesMulti: () => rn,
908
+ PseudoClassesMultiStr: () => M,
909
+ PseudoClassesStr: () => k,
910
+ alphaPlaceholders: () => Nt,
911
+ alphaPlaceholdersRE: () => Pt,
912
+ calcMaxWidthBySize: () => Xt,
913
+ colorOpacityToString: () => Lt,
914
+ colorToString: () => T,
915
+ createPartClasses: () => dn,
916
+ createPseudoClassFunctions: () => cn,
917
+ createPseudoClassesAndElements: () => sn,
918
+ createTaggedPseudoClassMatcher: () => on,
919
+ createTaggedPseudoClasses: () => ln,
920
+ createValueHandler: () => Zt,
921
+ cssColorFunctions: () => C,
922
+ excludedPseudo: () => an,
923
+ getBracket: () => kt,
924
+ getStringComponent: () => x,
925
+ getStringComponents: () => S,
926
+ hasIconFn: () => $t,
927
+ hasThemeFn: () => qt,
928
+ hex2rgba: () => It,
929
+ hueInterpolationMethods: () => Mt,
930
+ iconFnRE: () => Qt,
931
+ isInterpolatedMethod: () => Ft,
932
+ parseCssColor: () => w,
933
+ polarColorSpace: () => jt,
934
+ rectangularColorSpace: () => At,
935
+ themeFnRE: () => Kt,
936
+ transformThemeFn: () => Jt,
937
+ transformThemeString: () => Yt,
938
+ variantGetBracket: () => mn,
939
+ variantGetParameter: () => hn,
940
+ variantMatcher: () => fn,
941
+ variantParentMatcher: () => pn
942
+ });
943
+ function kt(e, t, n) {
944
+ if (e === "") return;
945
+ let r = e.length, i = 0, a = !1, o = 0;
946
+ for (let s = 0; s < r; s++) switch (e[s]) {
947
+ case t:
948
+ a || (a = !0, o = s), i++;
949
+ break;
950
+ case n:
951
+ if (--i, i < 0) return;
952
+ if (i === 0) return [
953
+ e.slice(o, s + 1),
954
+ e.slice(s + 1),
955
+ e.slice(0, o)
956
+ ];
957
+ break;
958
+ }
959
+ }
960
+ function x(e, t, n, r) {
961
+ if (e === "" || (at(r) && (r = [r]), r.length === 0)) return;
962
+ let i = e.length, a = 0;
963
+ for (let o = 0; o < i; o++) switch (e[o]) {
964
+ case t:
965
+ a++;
966
+ break;
967
+ case n:
968
+ if (--a < 0) return;
969
+ break;
970
+ default: for (let t of r) {
971
+ let n = t.length;
972
+ if (n && t === e.slice(o, o + n) && a === 0) return o === 0 || o === i - n ? void 0 : [e.slice(0, o), e.slice(o + n)];
973
+ }
974
+ }
975
+ return [e, ""];
976
+ }
977
+ function S(e, t, n, r = "(", i = ")") {
978
+ n ??= 10;
979
+ let a = [], o = 0;
980
+ for (; e !== "";) {
981
+ if (++o > n) return;
982
+ let s = x(e, r, i, t);
983
+ if (!s) return;
984
+ let [c, l] = s;
985
+ a.push(c), e = l;
986
+ }
987
+ if (a.length > 0) return a;
988
+ }
989
+ var C = [
990
+ "hsl",
991
+ "hsla",
992
+ "hwb",
993
+ "lab",
994
+ "lch",
995
+ "oklab",
996
+ "oklch",
997
+ "rgb",
998
+ "rgba"
999
+ ], At = [
1000
+ "srgb",
1001
+ "srgb-linear",
1002
+ "display-p3",
1003
+ "a98-rgb",
1004
+ "prophoto-rgb",
1005
+ "rec2020",
1006
+ "lab",
1007
+ "oklab",
1008
+ "xyz",
1009
+ "xyz-d50",
1010
+ "xyz-d65"
1011
+ ], jt = [
1012
+ "hsl",
1013
+ "hwb",
1014
+ "lch",
1015
+ "oklch"
1016
+ ], Mt = [
1017
+ "shorter",
1018
+ "longer",
1019
+ "increasing",
1020
+ "decreasing"
1021
+ ], Nt = ["%alpha", "<alpha-value>"], Pt = new RegExp(Nt.map((e) => h(e)).join("|"), "g");
1022
+ function Ft(e) {
1023
+ return e ? At.some((t) => e.includes(t)) || jt.some((t) => e.includes(t)) || Mt.some((t) => e.includes(t)) : !1;
1024
+ }
1025
+ function It(e = "") {
1026
+ let t = zt(e);
1027
+ if (t != null) {
1028
+ let { components: e, alpha: n } = t;
1029
+ return n == null ? e : [...e, n];
1030
+ }
1031
+ }
1032
+ function w(e = "") {
1033
+ let t = Rt(e);
1034
+ if (t == null || t === !1) return;
1035
+ let { type: n, components: r, alpha: i } = t, a = n.toLowerCase();
1036
+ if (r.length !== 0 && !(C.includes(a) && ![1, 3].includes(r.length))) return {
1037
+ type: a,
1038
+ components: r.map((e) => typeof e == "string" ? e.trim() : e),
1039
+ alpha: typeof i == "string" ? i.trim() : i
1040
+ };
1041
+ }
1042
+ function Lt(e) {
1043
+ let t = e.alpha ?? 1;
1044
+ return typeof t == "string" && Nt.includes(t) ? 1 : t;
1045
+ }
1046
+ function T(e, t) {
1047
+ if (typeof e == "string") return e.replace(Pt, `${t ?? 1}`);
1048
+ let { components: n } = e, { alpha: r, type: i } = e;
1049
+ return r = t ?? r, i = i.toLowerCase(), ["hsla", "rgba"].includes(i) ? `${i}(${n.join(", ")}${r == null ? "" : `, ${r}`})` : (r = r == null ? "" : ` / ${r}`, C.includes(i) ? `${i}(${n.join(" ")}${r})` : `color(${i} ${n.join(" ")}${r})`);
1050
+ }
1051
+ function Rt(e) {
1052
+ if (!e) return;
1053
+ let t = zt(e);
1054
+ if (t != null || (t = Bt(e), t != null) || (t = Vt(e), t != null) || (t = Ut(e), t != null) || (t = Wt(e), t != null)) return t;
1055
+ }
1056
+ function zt(e) {
1057
+ let [, t] = e.match(/^#([\da-f]+)$/i) || [];
1058
+ if (t) switch (t.length) {
1059
+ case 3:
1060
+ case 4: {
1061
+ let e = Array.from(t, (e) => Number.parseInt(e, 16)).map((e) => e << 4 | e);
1062
+ return {
1063
+ type: "rgb",
1064
+ components: e.slice(0, 3),
1065
+ alpha: t.length === 3 ? void 0 : Math.round(e[3] / 255 * 100) / 100
1066
+ };
1067
+ }
1068
+ case 6:
1069
+ case 8: {
1070
+ let e = Number.parseInt(t, 16);
1071
+ return {
1072
+ type: "rgb",
1073
+ components: t.length === 6 ? [
1074
+ e >> 16 & 255,
1075
+ e >> 8 & 255,
1076
+ e & 255
1077
+ ] : [
1078
+ e >> 24 & 255,
1079
+ e >> 16 & 255,
1080
+ e >> 8 & 255
1081
+ ],
1082
+ alpha: t.length === 6 ? void 0 : Math.round((e & 255) / 255 * 100) / 100
1083
+ };
1084
+ }
1085
+ }
1086
+ }
1087
+ function Bt(e) {
1088
+ let t = { rebeccapurple: [
1089
+ 102,
1090
+ 51,
1091
+ 153,
1092
+ 1
1093
+ ] }[e];
1094
+ if (t != null) return {
1095
+ type: "rgb",
1096
+ components: t.slice(0, 3),
1097
+ alpha: t[3]
1098
+ };
1099
+ }
1100
+ function Vt(e) {
1101
+ let t = e.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);
1102
+ if (!t) return;
1103
+ let [, n, r] = t, i = S(r, ",", 5);
1104
+ if (i) {
1105
+ if ([3, 4].includes(i.length)) return {
1106
+ type: n,
1107
+ components: i.slice(0, 3),
1108
+ alpha: i[3]
1109
+ };
1110
+ if (i.length !== 1) return !1;
1111
+ }
1112
+ }
1113
+ var Ht = RegExp(`^(${C.join("|")})\\((.+)\\)$`, "i");
1114
+ function Ut(e) {
1115
+ let t = e.match(Ht);
1116
+ if (!t) return;
1117
+ let [, n, r] = t, i = Gt(`${n} ${r}`);
1118
+ if (i) {
1119
+ let { alpha: e, components: [t, ...n] } = i;
1120
+ return {
1121
+ type: t,
1122
+ components: n,
1123
+ alpha: e
1124
+ };
1125
+ }
1126
+ }
1127
+ function Wt(e) {
1128
+ let t = e.match(/^color\((.+)\)$/);
1129
+ if (!t) return;
1130
+ let n = Gt(t[1]);
1131
+ if (n) {
1132
+ let { alpha: e, components: [t, ...r] } = n;
1133
+ return {
1134
+ type: t,
1135
+ components: r,
1136
+ alpha: e
1137
+ };
1138
+ }
1139
+ }
1140
+ function Gt(e) {
1141
+ let t = S(e, " ");
1142
+ if (!t) return;
1143
+ let n = t.length;
1144
+ if (t[n - 2] === "/") return {
1145
+ components: t.slice(0, n - 2),
1146
+ alpha: t[n - 1]
1147
+ };
1148
+ if (t[n - 2] != null && (t[n - 2].endsWith("/") || t[n - 1].startsWith("/"))) {
1149
+ let e = t.splice(n - 2);
1150
+ t.push(e.join(" ")), --n;
1151
+ }
1152
+ let r = S(t[n - 1], "/", 2);
1153
+ if (!r) return;
1154
+ if (r.length === 1 || r[r.length - 1] === "") return { components: t };
1155
+ let i = r.pop();
1156
+ return t[n - 1] = r.join("/"), {
1157
+ components: t,
1158
+ alpha: i
1159
+ };
1160
+ }
1161
+ var Kt = /theme\(\s*(['"])?(.*?)\1?\s*\)/g;
1162
+ function qt(e) {
1163
+ return e.includes("theme(") && e.includes(")");
1164
+ }
1165
+ function Jt(e, t, n = !0) {
1166
+ let r = Array.from(e.toString().matchAll(Kt));
1167
+ if (!r.length) return e;
1168
+ let i = new Dt(e);
1169
+ for (let e of r) {
1170
+ let r = e[2];
1171
+ if (!r) throw Error("theme() expect exact one argument, but got 0");
1172
+ let a = Yt(r, t, n);
1173
+ a && i.overwrite(e.index, e.index + e[0].length, a);
1174
+ }
1175
+ return i.toString();
1176
+ }
1177
+ function Yt(e, t, n = !0) {
1178
+ let [r, i] = e.split("/"), a = r.trim().split(".").reduce((e, t) => e?.[t], t);
1179
+ if (typeof a == "object" && (a = a.DEFAULT), typeof a == "string") {
1180
+ if (i) {
1181
+ let e = w(a);
1182
+ e && (a = T(e, i));
1183
+ }
1184
+ return a;
1185
+ } else if (n) throw Error(`theme of "${e}" did not found`);
1186
+ }
1187
+ function Xt(e) {
1188
+ let t = e.match(/^-?\d+\.?\d*/)?.[0] || "", n = e.slice(t.length);
1189
+ if (n === "px") {
1190
+ let r = Number.parseFloat(t) - .1;
1191
+ return Number.isNaN(r) ? e : `${r}${n}`;
1192
+ }
1193
+ return `calc(${e} - 0.1px)`;
1194
+ }
1195
+ function Zt(e) {
1196
+ let t = function(t, n) {
1197
+ let r = this.__options?.sequence || [];
1198
+ this.__options.sequence = [];
1199
+ for (let i of r) {
1200
+ let r = e[i](t, n);
1201
+ if (r != null) return r;
1202
+ }
1203
+ };
1204
+ function n(e, t) {
1205
+ return e.__options ||= { sequence: [] }, e.__options.sequence.push(t), e;
1206
+ }
1207
+ for (let r of Object.keys(e)) Object.defineProperty(t, r, {
1208
+ enumerable: !0,
1209
+ configurable: !0,
1210
+ get() {
1211
+ return n(this, r);
1212
+ }
1213
+ });
1214
+ return t;
1215
+ }
1216
+ var Qt = /icon\(\s*(['"])?(.*?)\1?\s*\)/g;
1217
+ function $t(e) {
1218
+ return e.includes("icon(") && e.includes(")");
1219
+ }
1220
+ var E = "__pseudo_placeholder__", D = Object.fromEntries([
1221
+ ["first-letter", "::first-letter"],
1222
+ ["first-line", "::first-line"],
1223
+ "any-link",
1224
+ "link",
1225
+ "visited",
1226
+ "target",
1227
+ ["open", "[open]"],
1228
+ "default",
1229
+ "checked",
1230
+ "indeterminate",
1231
+ "placeholder-shown",
1232
+ "autofill",
1233
+ "optional",
1234
+ "required",
1235
+ "valid",
1236
+ "invalid",
1237
+ "user-valid",
1238
+ "user-invalid",
1239
+ "in-range",
1240
+ "out-of-range",
1241
+ "read-only",
1242
+ "read-write",
1243
+ "empty",
1244
+ "focus-within",
1245
+ "hover",
1246
+ "focus",
1247
+ "focus-visible",
1248
+ "active",
1249
+ "enabled",
1250
+ "disabled",
1251
+ "popover-open",
1252
+ "root",
1253
+ "empty",
1254
+ ["even-of-type", ":nth-of-type(even)"],
1255
+ ["even", ":nth-child(even)"],
1256
+ ["odd-of-type", ":nth-of-type(odd)"],
1257
+ ["odd", ":nth-child(odd)"],
1258
+ ["nth", `:nth-child(${E})`],
1259
+ ["nth-last", `:nth-last-child(${E})`],
1260
+ ["nth-last-of-type", `:nth-last-of-type(${E})`],
1261
+ ["nth-of-type", `:nth-of-type(${E})`],
1262
+ "first-of-type",
1263
+ ["first", ":first-child"],
1264
+ "last-of-type",
1265
+ ["last", ":last-child"],
1266
+ "only-child",
1267
+ "only-of-type",
1268
+ ["backdrop-element", "::backdrop"],
1269
+ ["placeholder", "::placeholder"],
1270
+ ["before", "::before"],
1271
+ ["after", "::after"],
1272
+ ["file", "::file-selector-button"],
1273
+ ["details-content", "::details-content"]
1274
+ ].map((e) => Array.isArray(e) ? e : [e, `:${e}`])), en = Object.keys(D), O = Object.fromEntries([["backdrop", "::backdrop"]].map((e) => Array.isArray(e) ? e : [e, `:${e}`])), tn = Object.keys(O), nn = [
1275
+ "not",
1276
+ "is",
1277
+ "where",
1278
+ "has"
1279
+ ], rn = Object.fromEntries([["selection", ["::selection", " *::selection"]], ["marker", ["::marker", " *::marker"]]]), k = Object.entries(D).filter(([, e]) => !e.startsWith("::")).map(([e]) => e).sort((e, t) => t.length - e.length).join("|"), A = Object.entries(O).filter(([, e]) => !e.startsWith("::")).map(([e]) => e).sort((e, t) => t.length - e.length).join("|"), j = nn.join("|"), M = Object.keys(rn).sort((e, t) => t.length - e.length).join("|"), an = [
1280
+ "::-webkit-resizer",
1281
+ "::-webkit-scrollbar",
1282
+ "::-webkit-scrollbar-button",
1283
+ "::-webkit-scrollbar-corner",
1284
+ "::-webkit-scrollbar-thumb",
1285
+ "::-webkit-scrollbar-track",
1286
+ "::-webkit-scrollbar-track-piece",
1287
+ "::file-selector-button"
1288
+ ], N = Object.entries(D).map(([e]) => e).sort((e, t) => t.length - e.length).join("|"), P = Object.entries(O).map(([e]) => e).sort((e, t) => t.length - e.length).join("|");
1289
+ function on(e, t, n, r) {
1290
+ let { h: i, variantGetBracket: a } = r, o = RegExp(`^(${h(t)}:)(\\S+)${h(n)}\\1`), s, c, l, u, d = (n) => {
1291
+ let r = a(`${e}-`, n, []);
1292
+ if (!r) return;
1293
+ let [o, c] = r, l = i.bracket(o);
1294
+ if (l == null) return;
1295
+ let u = c.split(s, 1)?.[0] ?? "", d = `${t}${g(u)}`;
1296
+ return [
1297
+ u,
1298
+ n.slice(n.length - (c.length - u.length - 1)),
1299
+ l.includes("&") ? l.replace(/&/g, d) : `${d}${l}`
1300
+ ];
1301
+ }, f = (e) => {
1302
+ let n = e.match(c) || e.match(l);
1303
+ if (!n) return;
1304
+ let [r, i, a] = n, o = n[3] ?? "", s = D[a] || O[a] || `:${a}`;
1305
+ return i && (s = `:${i}(${s})`), [
1306
+ o,
1307
+ e.slice(r.length),
1308
+ `${t}${g(o)}${s}`,
1309
+ a
1310
+ ];
1311
+ }, ee = (e) => {
1312
+ let n = e.match(u);
1313
+ if (!n) return;
1314
+ let [r, i, a] = n, o = n[3] ?? "", s = `:${i}(${a})`;
1315
+ return [
1316
+ o,
1317
+ e.slice(r.length),
1318
+ `${t}${g(o)}${s}`
1319
+ ];
1320
+ };
1321
+ return {
1322
+ name: `pseudo:${e}`,
1323
+ match(t, r) {
1324
+ if (s && c && l || (s = RegExp(`(?:${r.generator.config.separators.join("|")})`), c = RegExp(`^${e}-(?:(?:(${j})-)?(${k}))(?:(/[\\w-]+))?(?:${r.generator.config.separators.join("|")})`), l = RegExp(`^${e}-(?:(?:(${j})-)?(${A}))(?:(/[\\w-]+))?(?:${r.generator.config.separators.filter((e) => e !== "-").join("|")})`), u = RegExp(`^${e}-(?:(${j})-)?\\[(.+)\\](?:(/[\\w-]+))?(?:${r.generator.config.separators.filter((e) => e !== "-").join("|")})`)), !t.startsWith(e)) return;
1325
+ let i = d(t) || f(t) || ee(t);
1326
+ if (!i) return;
1327
+ let [a, te, ne, p = ""] = i;
1328
+ return {
1329
+ matcher: te,
1330
+ handle: (e, t) => t({
1331
+ ...e,
1332
+ prefix: `${ne}${n}${e.prefix}`.replace(o, "$1$2:"),
1333
+ sort: en.indexOf(p) ?? tn.indexOf(p)
1334
+ })
1335
+ };
1336
+ },
1337
+ multiPass: !0
1338
+ };
1339
+ }
1340
+ function sn(e) {
1341
+ let { h: t } = e, n, r, i;
1342
+ return [{
1343
+ name: "pseudo",
1344
+ match(e, i) {
1345
+ n && r || (n = RegExp(`^(${N})(?:-(\\d+|\\[(\\w|[+-.])+\\]))?(?:${i.generator.config.separators.join("|")})`), r = RegExp(`^(${P})(?:${i.generator.config.separators.filter((e) => e !== "-").join("|")})`));
1346
+ let a = e.match(n) || e.match(r);
1347
+ if (a) {
1348
+ let n = D[a[1]] || O[a[1]] || `:${a[1]}`;
1349
+ if (a[2]) {
1350
+ let e;
1351
+ e = a[2].startsWith("[") && a[2].endsWith("]") ? t.bracket(a[2]) : a[2], e && (n = n.replace(E, e));
1352
+ }
1353
+ let r = en.indexOf(a[1]);
1354
+ return r === -1 && (r = tn.indexOf(a[1])), r === -1 && (r = void 0), {
1355
+ matcher: e.slice(a[0].length),
1356
+ handle: (e, t) => {
1357
+ let i = n.includes("::") && !an.includes(n) ? { pseudo: `${e.pseudo}${n}` } : { selector: `${e.selector}${n}` };
1358
+ return t({
1359
+ ...e,
1360
+ ...i,
1361
+ sort: r,
1362
+ noMerge: !0
1363
+ });
1364
+ }
1365
+ };
1366
+ }
1367
+ },
1368
+ multiPass: !0,
1369
+ autocomplete: `(${N}|${P}):`
1370
+ }, {
1371
+ name: "pseudo:multi",
1372
+ match(e, t) {
1373
+ i ||= RegExp(`^(${M})(?:${t.generator.config.separators.join("|")})`);
1374
+ let n = e.match(i);
1375
+ if (n) return rn[n[1]].map((t) => ({
1376
+ matcher: e.slice(n[0].length),
1377
+ handle: (e, n) => n({
1378
+ ...e,
1379
+ pseudo: `${e.pseudo}${t}`
1380
+ })
1381
+ }));
1382
+ },
1383
+ multiPass: !1,
1384
+ autocomplete: `(${M}):`
1385
+ }];
1386
+ }
1387
+ function cn(e) {
1388
+ let { getBracket: t, h: n } = e, r, i, a;
1389
+ return {
1390
+ match(e, o) {
1391
+ r && i || (r = RegExp(`^(${j})-(${k})(?:${o.generator.config.separators.join("|")})`), i = RegExp(`^(${j})-(${A})(?:${o.generator.config.separators.filter((e) => e !== "-").join("|")})`), a = RegExp(`^(${j})-(\\[.+\\])(?:${o.generator.config.separators.filter((e) => e !== "-").join("|")})`));
1392
+ let s = e.match(r) || e.match(i) || e.match(a);
1393
+ if (s) {
1394
+ let r = s[1], i = t(s[2], "[", "]") ? n.bracket(s[2]) : D[s[2]] || O[s[2]] || `:${s[2]}`;
1395
+ return {
1396
+ matcher: e.slice(s[0].length),
1397
+ selector: (e) => `${e}:${r}(${i})`
1398
+ };
1399
+ }
1400
+ },
1401
+ multiPass: !0,
1402
+ autocomplete: `(${j})-(${k}|${A}):`
1403
+ };
1404
+ }
1405
+ function ln(e, t) {
1406
+ let n = !!e?.attributifyPseudo, r = e?.prefix ?? "";
1407
+ r = g((Array.isArray(r) ? r : [r]).filter(Boolean)[0] ?? "");
1408
+ let i = (e, i) => on(e, n ? `[${r}${e}=""]` : `.${r}${e}`, i, t);
1409
+ return [
1410
+ i("group", " "),
1411
+ i("peer", "~"),
1412
+ i("parent", ">"),
1413
+ i("previous", "+")
1414
+ ];
1415
+ }
1416
+ var un = /(part-\[(.+)\]:)(.+)/;
1417
+ function dn() {
1418
+ return {
1419
+ match(e) {
1420
+ let t = e.match(un);
1421
+ if (t) {
1422
+ let n = `part(${t[2]})`;
1423
+ return {
1424
+ matcher: e.slice(t[1].length),
1425
+ selector: (e) => `${e}::${n}`
1426
+ };
1427
+ }
1428
+ },
1429
+ multiPass: !0
1430
+ };
1431
+ }
1432
+ function fn(e, t, n = {}) {
1433
+ let r;
1434
+ return {
1435
+ name: e,
1436
+ match(i, a) {
1437
+ r ||= RegExp(`^${h(e)}(?:${a.generator.config.separators.join("|")})`);
1438
+ let o = i.match(r);
1439
+ if (o) {
1440
+ let e = i.slice(o[0].length), r = it(t).map((t) => ({
1441
+ matcher: e,
1442
+ handle: (e, n) => n({
1443
+ ...e,
1444
+ ...t(e)
1445
+ }),
1446
+ ...n
1447
+ }));
1448
+ return r.length === 1 ? r[0] : r;
1449
+ }
1450
+ },
1451
+ autocomplete: `${e}:`
1452
+ };
1453
+ }
1454
+ function pn(e, t) {
1455
+ let n;
1456
+ return {
1457
+ name: e,
1458
+ match(r, i) {
1459
+ n ||= RegExp(`^${h(e)}(?:${i.generator.config.separators.join("|")})`);
1460
+ let a = r.match(n);
1461
+ if (a) return {
1462
+ matcher: r.slice(a[0].length),
1463
+ handle: (e, n) => n({
1464
+ ...e,
1465
+ parent: `${e.parent ? `${e.parent} $$ ` : ""}${t}`
1466
+ })
1467
+ };
1468
+ },
1469
+ autocomplete: `${e}:`
1470
+ };
1471
+ }
1472
+ function mn(e, t, n) {
1473
+ if (t.startsWith(`${e}[`)) {
1474
+ let [r, i] = kt(t.slice(e.length), "[", "]") ?? [];
1475
+ if (r && i) {
1476
+ for (let e of n) if (i.startsWith(e)) return [
1477
+ r,
1478
+ i.slice(e.length),
1479
+ e
1480
+ ];
1481
+ return [
1482
+ r,
1483
+ i,
1484
+ ""
1485
+ ];
1486
+ }
1487
+ }
1488
+ }
1489
+ function hn(e, t, n) {
1490
+ for (let r of it(e)) if (t.startsWith(r)) {
1491
+ let e = mn(r, t, n);
1492
+ if (e) {
1493
+ let [t = "", r = e[1]] = hn("/", e[1], n) ?? [];
1494
+ return [
1495
+ e[0],
1496
+ r,
1497
+ t
1498
+ ];
1499
+ }
1500
+ for (let e of n.filter((e) => e !== "/")) {
1501
+ let n = t.indexOf(e, r.length);
1502
+ if (n !== -1) {
1503
+ let i = t.indexOf("/", r.length), a = i === -1 || n <= i;
1504
+ return [
1505
+ t.slice(r.length, a ? n : i),
1506
+ t.slice(n + e.length),
1507
+ a ? "" : t.slice(i + 1, n)
1508
+ ];
1509
+ }
1510
+ }
1511
+ }
1512
+ }
1513
+ //#endregion
1514
+ //#region ../../node_modules/@unocss/preset-mini/dist/chunk-D1SwGrFN.mjs
1515
+ var F = Object.defineProperty, gn = Object.getOwnPropertyDescriptor, _n = Object.getOwnPropertyNames, vn = Object.prototype.hasOwnProperty, I = (e, t) => {
1516
+ let n = {};
1517
+ for (var r in e) F(n, r, {
1518
+ get: e[r],
1519
+ enumerable: !0
1520
+ });
1521
+ return t || F(n, Symbol.toStringTag, { value: "Module" }), n;
1522
+ }, yn = (e, t, n, r) => {
1523
+ if (t && typeof t == "object" || typeof t == "function") for (var i = _n(t), a = 0, o = i.length, s; a < o; a++) s = i[a], !vn.call(e, s) && s !== n && F(e, s, {
1524
+ get: ((e) => t[e]).bind(null, s),
1525
+ enumerable: !(r = gn(t, s)) || r.enumerable
1526
+ });
1527
+ return e;
1528
+ }, bn = (e, t, n) => (yn(e, t, "default"), n && yn(n, t, "default")), L = {
1529
+ l: ["-left"],
1530
+ r: ["-right"],
1531
+ t: ["-top"],
1532
+ b: ["-bottom"],
1533
+ s: ["-inline-start"],
1534
+ e: ["-inline-end"],
1535
+ x: ["-left", "-right"],
1536
+ y: ["-top", "-bottom"],
1537
+ "": [""],
1538
+ bs: ["-block-start"],
1539
+ be: ["-block-end"],
1540
+ is: ["-inline-start"],
1541
+ ie: ["-inline-end"],
1542
+ block: ["-block-start", "-block-end"],
1543
+ inline: ["-inline-start", "-inline-end"]
1544
+ }, xn = {
1545
+ ...L,
1546
+ s: ["-inset-inline-start"],
1547
+ start: ["-inset-inline-start"],
1548
+ e: ["-inset-inline-end"],
1549
+ end: ["-inset-inline-end"],
1550
+ bs: ["-inset-block-start"],
1551
+ be: ["-inset-block-end"],
1552
+ is: ["-inset-inline-start"],
1553
+ ie: ["-inset-inline-end"],
1554
+ block: ["-inset-block-start", "-inset-block-end"],
1555
+ inline: ["-inset-inline-start", "-inset-inline-end"]
1556
+ }, Sn = {
1557
+ l: ["-top-left", "-bottom-left"],
1558
+ r: ["-top-right", "-bottom-right"],
1559
+ t: ["-top-left", "-top-right"],
1560
+ b: ["-bottom-left", "-bottom-right"],
1561
+ tl: ["-top-left"],
1562
+ lt: ["-top-left"],
1563
+ tr: ["-top-right"],
1564
+ rt: ["-top-right"],
1565
+ bl: ["-bottom-left"],
1566
+ lb: ["-bottom-left"],
1567
+ br: ["-bottom-right"],
1568
+ rb: ["-bottom-right"],
1569
+ "": [""],
1570
+ bs: ["-start-start", "-start-end"],
1571
+ be: ["-end-start", "-end-end"],
1572
+ s: ["-end-start", "-start-start"],
1573
+ is: ["-end-start", "-start-start"],
1574
+ e: ["-start-end", "-end-end"],
1575
+ ie: ["-start-end", "-end-end"],
1576
+ ss: ["-start-start"],
1577
+ "bs-is": ["-start-start"],
1578
+ "is-bs": ["-start-start"],
1579
+ se: ["-start-end"],
1580
+ "bs-ie": ["-start-end"],
1581
+ "ie-bs": ["-start-end"],
1582
+ es: ["-end-start"],
1583
+ "be-is": ["-end-start"],
1584
+ "is-be": ["-end-start"],
1585
+ ee: ["-end-end"],
1586
+ "be-ie": ["-end-end"],
1587
+ "ie-be": ["-end-end"]
1588
+ }, R = {
1589
+ x: ["-x"],
1590
+ y: ["-y"],
1591
+ z: ["-z"],
1592
+ "": ["-x", "-y"]
1593
+ }, z = [
1594
+ "x",
1595
+ "y",
1596
+ "z"
1597
+ ], Cn = [
1598
+ "top",
1599
+ "top center",
1600
+ "top left",
1601
+ "top right",
1602
+ "bottom",
1603
+ "bottom center",
1604
+ "bottom left",
1605
+ "bottom right",
1606
+ "left",
1607
+ "left center",
1608
+ "left top",
1609
+ "left bottom",
1610
+ "right",
1611
+ "right center",
1612
+ "right top",
1613
+ "right bottom",
1614
+ "center",
1615
+ "center top",
1616
+ "center bottom",
1617
+ "center left",
1618
+ "center right",
1619
+ "center center"
1620
+ ], wn = Object.assign({}, ...Cn.map((e) => ({ [e.replace(/ /, "-")]: e })), ...Cn.map((e) => ({ [e.replace(/\b(\w)\w+/g, "$1").replace(/ /, "")]: e }))), B = [
1621
+ "inherit",
1622
+ "initial",
1623
+ "revert",
1624
+ "revert-layer",
1625
+ "unset"
1626
+ ], V = /^(calc|clamp|min|max)\s*\((.+)\)(.*)/, Tn = /^(var)\s*\((.+)\)(.*)/, H = /^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i, En = /^(-?\d*(?:\.\d+)?)$/, Dn = /^(px|[sld]?v[wh])$/i, On = {
1627
+ px: 1,
1628
+ vw: 100,
1629
+ vh: 100,
1630
+ svw: 100,
1631
+ svh: 100,
1632
+ dvw: 100,
1633
+ dvh: 100,
1634
+ lvh: 100,
1635
+ lvw: 100
1636
+ }, kn = /^\[(color|image|length|size|position|quoted|string):/i, An = /,(?![^()]*\))/g, jn = /* @__PURE__ */ I({
1637
+ auto: () => Pn,
1638
+ bracket: () => Bn,
1639
+ bracketOfColor: () => Vn,
1640
+ bracketOfLength: () => Hn,
1641
+ bracketOfPosition: () => Un,
1642
+ cssvar: () => Wn,
1643
+ degree: () => Kn,
1644
+ fraction: () => zn,
1645
+ global: () => qn,
1646
+ number: () => Ln,
1647
+ numberWithUnit: () => Nn,
1648
+ percent: () => Rn,
1649
+ position: () => Yn,
1650
+ properties: () => Jn,
1651
+ px: () => In,
1652
+ rem: () => Fn,
1653
+ time: () => Gn
1654
+ }), Mn = /* @__PURE__ */ "color.border-color.background-color.outline-color.text-decoration-color.flex-grow.flex.flex-shrink.grid.grid-template-columns.grid-template-rows.caret-color.font.gap.opacity.visibility.z-index.font-weight.zoom.text-shadow.transform.box-shadow.border.background-position.left.right.top.bottom.object-position.max-height.min-height.max-width.min-width.height.width.border-width.margin.padding.outline-width.outline-offset.font-size.line-height.text-indent.vertical-align.border-spacing.letter-spacing.word-spacing.stroke.filter.backdrop-filter.fill.mask.mask-size.mask-border.clip-path.clip.border-radius".split(".");
1655
+ function U(e) {
1656
+ return +e.toFixed(10);
1657
+ }
1658
+ function Nn(e) {
1659
+ let t = e.match(H);
1660
+ if (!t) return;
1661
+ let [, n, r] = t, i = Number.parseFloat(n);
1662
+ if (r && !Number.isNaN(i)) return `${U(i)}${r}`;
1663
+ }
1664
+ function Pn(e) {
1665
+ if (e === "auto" || e === "a") return "auto";
1666
+ }
1667
+ function Fn(e) {
1668
+ if (!e) return;
1669
+ if (Dn.test(e)) return `${On[e]}${e}`;
1670
+ let t = e.match(H);
1671
+ if (!t) return;
1672
+ let [, n, r] = t, i = Number.parseFloat(n);
1673
+ if (!Number.isNaN(i)) return i === 0 ? "0" : r ? `${U(i)}${r}` : `${U(i / 4)}rem`;
1674
+ }
1675
+ function In(e) {
1676
+ if (Dn.test(e)) return `${On[e]}${e}`;
1677
+ let t = e.match(H);
1678
+ if (!t) return;
1679
+ let [, n, r] = t, i = Number.parseFloat(n);
1680
+ if (!Number.isNaN(i)) return r ? `${U(i)}${r}` : `${U(i)}px`;
1681
+ }
1682
+ function Ln(e) {
1683
+ if (!En.test(e)) return;
1684
+ let t = Number.parseFloat(e);
1685
+ if (!Number.isNaN(t)) return U(t);
1686
+ }
1687
+ function Rn(e) {
1688
+ if (e.endsWith("%") && (e = e.slice(0, -1)), !En.test(e)) return;
1689
+ let t = Number.parseFloat(e);
1690
+ if (!Number.isNaN(t)) return `${U(t / 100)}`;
1691
+ }
1692
+ function zn(e) {
1693
+ if (!e) return;
1694
+ if (e === "full") return "100%";
1695
+ let [t, n] = e.split("/"), r = Number.parseFloat(t) / Number.parseFloat(n);
1696
+ if (!Number.isNaN(r)) return r === 0 ? "0" : `${U(r * 100)}%`;
1697
+ }
1698
+ function W(e, t) {
1699
+ if (e && e.startsWith("[") && e.endsWith("]")) {
1700
+ let n, r, i = e.match(kn);
1701
+ if (i ? (t || (r = i[1]), n = e.slice(i[0].length, -1)) : n = e.slice(1, -1), !n || n === "=\"\"") return;
1702
+ n.startsWith("--") && (n = `var(${n})`);
1703
+ let a = 0;
1704
+ for (let e of n) if (e === "[") a += 1;
1705
+ else if (e === "]" && (--a, a < 0)) return;
1706
+ if (a) return;
1707
+ switch (r) {
1708
+ case "string": return n.replace(/(^|[^\\])_/g, "$1 ").replace(/\\_/g, "_");
1709
+ case "quoted": return n.replace(/(^|[^\\])_/g, "$1 ").replace(/\\_/g, "_").replace(/(["\\])/g, "\\$1").replace(/^(.+)$/, "\"$1\"");
1710
+ }
1711
+ return n.replace(/(url\(.*?\))/g, (e) => e.replace(/_/g, "\\_")).replace(/(^|[^\\])_/g, "$1 ").replace(/\\_/g, "_").replace(/(?:calc|clamp|max|min)\((.*)/g, (e) => {
1712
+ let t = [];
1713
+ return e.replace(/var\((--.+?)[,)]/g, (e, n) => (t.push(n), e.replace(n, "--un-calc"))).replace(/(-?\d*\.?\d(?!-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g, "$1 $2 ").replace(/--un-calc/g, () => t.shift());
1714
+ });
1715
+ }
1716
+ }
1717
+ function Bn(e) {
1718
+ return W(e);
1719
+ }
1720
+ function Vn(e) {
1721
+ return W(e, "color");
1722
+ }
1723
+ function Hn(e) {
1724
+ return W(e, "length");
1725
+ }
1726
+ function Un(e) {
1727
+ return W(e, "position");
1728
+ }
1729
+ function Wn(e) {
1730
+ if (/^\$[^\s'"`;{}]/.test(e)) {
1731
+ let [t, n] = e.slice(1).split(",");
1732
+ return `var(--${g(t)}${n ? `, ${n}` : ""})`;
1733
+ }
1734
+ }
1735
+ function Gn(e) {
1736
+ let t = e.match(/^(-?[0-9.]+)(s|ms)?$/i);
1737
+ if (!t) return;
1738
+ let [, n, r] = t, i = Number.parseFloat(n);
1739
+ if (!Number.isNaN(i)) return i === 0 && !r ? "0s" : r ? `${U(i)}${r}` : `${U(i)}ms`;
1740
+ }
1741
+ function Kn(e) {
1742
+ let t = e.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);
1743
+ if (!t) return;
1744
+ let [, n, r] = t, i = Number.parseFloat(n);
1745
+ if (!Number.isNaN(i)) return i === 0 ? "0deg" : r ? `${U(i)}${r}` : `${U(i)}deg`;
1746
+ }
1747
+ function qn(e) {
1748
+ if (B.includes(e)) return e;
1749
+ }
1750
+ function Jn(e) {
1751
+ if (e.split(",").every((e) => Mn.includes(e))) return e;
1752
+ }
1753
+ function Yn(e) {
1754
+ if ([
1755
+ "top",
1756
+ "left",
1757
+ "right",
1758
+ "bottom",
1759
+ "center"
1760
+ ].includes(e)) return e;
1761
+ }
1762
+ var Xn = Zt(jn), G = Xn, Zn = "$$mini-no-negative";
1763
+ function Qn(e) {
1764
+ return ([t, n, r], { theme: i }) => {
1765
+ let a = i.spacing?.[r || "DEFAULT"] ?? G.bracket.cssvar.global.auto.fraction.rem(r);
1766
+ if (a != null) return L[n].map((t) => [`${e}${t}`, a]);
1767
+ if (r?.startsWith("-")) {
1768
+ let t = i.spacing?.[r.slice(1)];
1769
+ if (t != null) return L[n].map((n) => [`${e}${n}`, `calc(${t} * -1)`]);
1770
+ }
1771
+ };
1772
+ }
1773
+ function $n(e, t, n = "colors") {
1774
+ let r = e[n];
1775
+ function i(e, t) {
1776
+ if (t.length === 0) return e;
1777
+ if (!(!e || typeof e != "object")) for (let n = t.length; n > 0; n--) {
1778
+ let r = t.slice(0, n).join("-"), a = e[r.replace(/(-[a-z])/g, (e) => e.slice(1).toUpperCase())] ?? e[r];
1779
+ if (a != null) return n === t.length ? a : i(a, t.slice(n));
1780
+ }
1781
+ }
1782
+ return i(r, t);
1783
+ }
1784
+ function er(e, t, n) {
1785
+ return $n(e, t, n) || $n(e, t, "colors");
1786
+ }
1787
+ function tr(e, t) {
1788
+ let [n, r] = x(e, "[", "]", ["/", ":"]) ?? [];
1789
+ if (n != null) {
1790
+ let e = (n.match(kn) ?? [])[1];
1791
+ if (e == null || e === t) return [n, r];
1792
+ }
1793
+ }
1794
+ function K(e, t, n) {
1795
+ let r = tr(e, "color");
1796
+ if (!r) return;
1797
+ let [i, a] = r, o = i.replace(/([a-z])(\d)/g, "$1-$2").split(/-/g), [s] = o;
1798
+ if (!s) return;
1799
+ let c, l = G.bracketOfColor(i), u = l || i;
1800
+ if (G.numberWithUnit(u)) return;
1801
+ if (/^#[\da-f]+$/i.test(u) ? c = u : /^hex-[\da-fA-F]+$/.test(u) ? c = `#${u.slice(4)}` : i.startsWith("$") && (c = G.cssvar(i)), c ||= l, !c) {
1802
+ let e = er(t, [i], n);
1803
+ typeof e == "string" && (c = e);
1804
+ }
1805
+ let d = "DEFAULT";
1806
+ if (!c) {
1807
+ let e = o, r, [i] = o.slice(-1);
1808
+ /^\d+$/.test(i) && (d = r = i, e = o.slice(0, -1));
1809
+ let a = er(t, e, n);
1810
+ typeof a == "object" ? c = a[r ?? d] : typeof a == "string" && !r && (c = a);
1811
+ }
1812
+ return {
1813
+ opacity: a,
1814
+ name: s,
1815
+ no: d,
1816
+ color: c,
1817
+ cssColor: w(c),
1818
+ alpha: G.bracket.cssvar.percent(a ?? "")
1819
+ };
1820
+ }
1821
+ function q(e, t, n, r) {
1822
+ return ([, i], { theme: a, generator: o }) => {
1823
+ let s = K(i ?? "", a, n);
1824
+ if (!s) return;
1825
+ let { alpha: c, color: l, cssColor: u } = s, d = o.config.envMode === "dev" && l ? ` /* ${l} */` : "", f = {};
1826
+ if (u) if (c != null) f[e] = T(u, c) + d;
1827
+ else {
1828
+ let n = `--un-${t}-opacity`, r = T(u, `var(${n})`);
1829
+ r.includes(n) && (f[n] = Lt(u)), f[e] = r + d;
1830
+ }
1831
+ else if (l) if (c != null) f[e] = T(l, c) + d;
1832
+ else {
1833
+ let n = `--un-${t}-opacity`, r = T(l, `var(${n})`);
1834
+ r.includes(n) && (f[n] = 1), f[e] = r + d;
1835
+ }
1836
+ if (r?.(f) !== !1) return f;
1837
+ };
1838
+ }
1839
+ function nr(e, t) {
1840
+ let n = [];
1841
+ e = it(e);
1842
+ for (let r = 0; r < e.length; r++) {
1843
+ let i = S(e[r], " ", 6);
1844
+ if (!i || i.length < 3) return e;
1845
+ let a = !1, o = i.indexOf("inset");
1846
+ o !== -1 && (i.splice(o, 1), a = !0);
1847
+ let s = "", c = i.at(-1);
1848
+ if (w(i.at(0))) {
1849
+ let e = w(i.shift());
1850
+ e && (s = `, ${T(e)}`);
1851
+ } else if (w(c)) {
1852
+ let e = w(i.pop());
1853
+ e && (s = `, ${T(e)}`);
1854
+ } else c && c.startsWith("var(") && (s = `, ${i.pop()}`);
1855
+ n.push(`${a ? "inset " : ""}${i.join(" ")} var(${t}${s})`);
1856
+ }
1857
+ return n;
1858
+ }
1859
+ function J(e, t, n) {
1860
+ return e != null && !!K(e, t, n)?.color;
1861
+ }
1862
+ var rr = /[a-z]+/gi, ir = /* @__PURE__ */ new WeakMap();
1863
+ function ar({ theme: e, generator: t }, n = "breakpoints") {
1864
+ let r = t?.userConfig?.theme?.[n] || e[n];
1865
+ if (!r) return;
1866
+ if (ir.has(e)) return ir.get(e);
1867
+ let i = Object.entries(r).sort((e, t) => Number.parseInt(e[1].replace(rr, "")) - Number.parseInt(t[1].replace(rr, ""))).map(([e, t]) => ({
1868
+ point: e,
1869
+ size: t
1870
+ }));
1871
+ return ir.set(e, i), i;
1872
+ }
1873
+ function or(e) {
1874
+ return ar(e, "verticalBreakpoints");
1875
+ }
1876
+ function sr(e, t) {
1877
+ return B.map((n) => [`${e}-${n}`, { [t ?? e]: n }]);
1878
+ }
1879
+ function cr(e) {
1880
+ return e != null && V.test(e);
1881
+ }
1882
+ function lr(e) {
1883
+ return e[0] === "[" && e.slice(-1) === "]" && (e = e.slice(1, -1)), V.test(e) || H.test(e);
1884
+ }
1885
+ function ur(e, t, n) {
1886
+ let r = t.split(An);
1887
+ return e || !e && r.length === 1 ? R[e].map((e) => [`--un-${n}${e}`, t]) : r.map((e, t) => [`--un-${n}-${z[t]}`, e]);
1888
+ }
1889
+ var dr = /* @__PURE__ */ I({
1890
+ CONTROL_MINI_NO_NEGATIVE: () => Zn,
1891
+ colorResolver: () => q,
1892
+ colorableShadows: () => nr,
1893
+ cornerMap: () => Sn,
1894
+ cssMathFnRE: () => V,
1895
+ cssVarFnRE: () => Tn,
1896
+ directionMap: () => L,
1897
+ directionSize: () => Qn,
1898
+ globalKeywords: () => B,
1899
+ h: () => G,
1900
+ handler: () => Xn,
1901
+ hasParseableColor: () => J,
1902
+ insetMap: () => xn,
1903
+ isCSSMathFn: () => cr,
1904
+ isSize: () => lr,
1905
+ makeGlobalStaticRules: () => sr,
1906
+ parseColor: () => K,
1907
+ positionMap: () => wn,
1908
+ resolveBreakpoints: () => ar,
1909
+ resolveVerticalBreakpoints: () => or,
1910
+ splitShorthand: () => tr,
1911
+ transformXYZ: () => ur,
1912
+ valueHandlers: () => jn,
1913
+ xyzArray: () => z,
1914
+ xyzMap: () => R
1915
+ });
1916
+ bn(dr, Ot), bn(/* @__PURE__ */ I({
1917
+ CONTROL_MINI_NO_NEGATIVE: () => Zn,
1918
+ colorResolver: () => q,
1919
+ colorableShadows: () => nr,
1920
+ cornerMap: () => Sn,
1921
+ cssMathFnRE: () => V,
1922
+ cssVarFnRE: () => Tn,
1923
+ directionMap: () => L,
1924
+ directionSize: () => Qn,
1925
+ globalKeywords: () => B,
1926
+ h: () => G,
1927
+ handler: () => Xn,
1928
+ hasParseableColor: () => J,
1929
+ insetMap: () => xn,
1930
+ isCSSMathFn: () => cr,
1931
+ isSize: () => lr,
1932
+ makeGlobalStaticRules: () => sr,
1933
+ parseColor: () => K,
1934
+ positionMap: () => wn,
1935
+ resolveBreakpoints: () => ar,
1936
+ resolveVerticalBreakpoints: () => or,
1937
+ splitShorthand: () => tr,
1938
+ transformXYZ: () => ur,
1939
+ valueHandlers: () => jn,
1940
+ xyzArray: () => z,
1941
+ xyzMap: () => R
1942
+ }), dr);
1943
+ //#endregion
1944
+ //#region src/unocss/rules/filters.ts
1945
+ function fr(e, t) {
1946
+ let n = {
1947
+ [_.shortcutsNoMerge]: !0,
1948
+ [_.noMerge]: !0,
1949
+ [_.noScope]: !0,
1950
+ [_.variants]: (() => [{
1951
+ parent: "",
1952
+ layer: "properties",
1953
+ selector: () => `@property ${e}`
1954
+ }]),
1955
+ syntax: "\"*\"",
1956
+ inherits: "false"
1957
+ };
1958
+ return t != null && (n["initial-value"] = String(t)), n;
1959
+ }
1960
+ var pr = [
1961
+ "blur",
1962
+ "brightness",
1963
+ "contrast",
1964
+ "grayscale",
1965
+ "hue-rotate",
1966
+ "invert",
1967
+ "saturate",
1968
+ "sepia",
1969
+ "drop-shadow"
1970
+ ], mr = pr.map((e) => fr(`--un-${e}`)), Y = pr.map((e) => `var(--un-${e},)`).join(" "), hr = [
1971
+ "backdrop-blur",
1972
+ "backdrop-brightness",
1973
+ "backdrop-contrast",
1974
+ "backdrop-grayscale",
1975
+ "backdrop-hue-rotate",
1976
+ "backdrop-invert",
1977
+ "backdrop-opacity",
1978
+ "backdrop-saturate",
1979
+ "backdrop-sepia"
1980
+ ], gr = hr.map((e) => fr(`--un-${e}`)), X = hr.map((e) => `var(--un-${e},)`).join(" ");
1981
+ function _r(e, t) {
1982
+ let n = t?.theme, r = G.bracket.cssvar(e || "", n);
1983
+ if (r != null || (r = e ? G.percent(e) : "100%", r != null && Number.parseFloat(r.slice(0, -1)) <= 100)) return r;
1984
+ }
1985
+ function Z(e, t) {
1986
+ return ([, n, r], i) => {
1987
+ let a = t(r, i) ?? (r === "none" ? "0" : "");
1988
+ if (a !== "") return n ? [{
1989
+ [`--un-${n}${e}`]: `${e}(${a})`,
1990
+ "-webkit-backdrop-filter": X,
1991
+ "backdrop-filter": X
1992
+ }, ...gr] : [{
1993
+ [`--un-${e}`]: `${e}(${a})`,
1994
+ filter: Y
1995
+ }, ...mr];
1996
+ };
1997
+ }
1998
+ function vr(e, t) {
1999
+ let [, n] = e, { theme: r } = t, i = [];
2000
+ n && (i = S(n, "/", 2) ?? [], n.startsWith("/") && (i = ["", n.slice(1)]));
2001
+ let a = r.dropShadow?.[i[0] || "DEFAULT"], o = n ? G.bracket.cssvar(n, r) : void 0;
2002
+ if ((a != null || o != null) && !J(o, r, "colors")) return [{
2003
+ "--un-drop-shadow-opacity": i[1] ? G.bracket.percent.cssvar(i[1], r) : void 0,
2004
+ "--un-drop-shadow": `drop-shadow(${nr(a || o, "--un-drop-shadow-color").join(") drop-shadow(")})`,
2005
+ filter: Y
2006
+ }, ...mr];
2007
+ if (J(n, r, "colors")) return q("--un-drop-shadow-color", "drop-shadow")(e, t);
2008
+ if (a = G.bracket.cssvar(n, r) ?? (n === "none" ? "" : void 0), a != null) return [{
2009
+ "--un-drop-shadow": a && `drop-shadow(${a})`,
2010
+ filter: Y
2011
+ }, ...mr];
2012
+ }
2013
+ function yr(e, t) {
2014
+ return t.blur?.[e || "DEFAULT"] || (e ? G.bracket.cssvar.px(e, t) : void 0);
2015
+ }
2016
+ function Q(e, t) {
2017
+ return e ? G.bracket.cssvar.percent(e, t) : void 0;
2018
+ }
2019
+ function br(e, t) {
2020
+ return e ? G.bracket.cssvar.degree(e, t) : void 0;
2021
+ }
2022
+ var xr = [
2023
+ [
2024
+ /^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/,
2025
+ Z("blur", (e, { theme: t }) => yr(e, t)),
2026
+ { autocomplete: [
2027
+ "(backdrop|filter)-blur-$blur",
2028
+ "blur-$blur",
2029
+ "filter-blur"
2030
+ ] }
2031
+ ],
2032
+ [
2033
+ /^(?:(backdrop-)|filter-)?brightness-(.+)$/,
2034
+ Z("brightness", (e, { theme: t }) => Q(e, t)),
2035
+ { autocomplete: ["(backdrop|filter)-brightness-", "brightness-"] }
2036
+ ],
2037
+ [
2038
+ /^(?:(backdrop-)|filter-)?contrast-(.+)$/,
2039
+ Z("contrast", (e, { theme: t }) => Q(e, t)),
2040
+ { autocomplete: ["(backdrop|filter)-contrast-", "contrast-"] }
2041
+ ],
2042
+ [
2043
+ /^(?:filter-)?drop-shadow(?:-?(.+))?$/,
2044
+ vr,
2045
+ { autocomplete: [
2046
+ "filter-drop",
2047
+ "filter-drop-shadow",
2048
+ "filter-drop-shadow-color",
2049
+ "drop-shadow",
2050
+ "drop-shadow-color",
2051
+ "filter-drop-shadow-$dropShadow",
2052
+ "drop-shadow-$dropShadow",
2053
+ "filter-drop-shadow-$colors",
2054
+ "drop-shadow-$colors",
2055
+ "filter-drop-shadow-color-$colors",
2056
+ "drop-shadow-color-$colors",
2057
+ "filter-drop-shadow-color-(op|opacity)",
2058
+ "drop-shadow-color-(op|opacity)",
2059
+ "filter-drop-shadow-color-(op|opacity)-",
2060
+ "drop-shadow(-color)?-(op|opacity)-"
2061
+ ] }
2062
+ ],
2063
+ [/^(?:filter-)?drop-shadow-color-(.+)$/, q("--un-drop-shadow-color", "drop-shadow")],
2064
+ [/^(?:filter-)?drop-shadow(?:-color)?-op(?:acity)?-?(.+)$/, ([, e], { theme: t }) => ({ "--un-drop-shadow-opacity": G.bracket.percent(e, t) })],
2065
+ [
2066
+ /^(?:(backdrop-)|filter-)?grayscale(?:-(.+))?$/,
2067
+ Z("grayscale", _r),
2068
+ { autocomplete: [
2069
+ "(backdrop|filter)-grayscale",
2070
+ "(backdrop|filter)-grayscale-",
2071
+ "grayscale-"
2072
+ ] }
2073
+ ],
2074
+ [/^(?:(backdrop-)|filter-)?hue-rotate-(.+)$/, Z("hue-rotate", (e, { theme: t }) => br(e, t))],
2075
+ [
2076
+ /^(?:(backdrop-)|filter-)?invert(?:-(.+))?$/,
2077
+ Z("invert", _r),
2078
+ { autocomplete: [
2079
+ "(backdrop|filter)-invert",
2080
+ "(backdrop|filter)-invert-",
2081
+ "invert-"
2082
+ ] }
2083
+ ],
2084
+ [
2085
+ /^(backdrop-)op(?:acity)?-(.+)$/,
2086
+ Z("opacity", (e, { theme: t }) => Q(e, t)),
2087
+ { autocomplete: ["backdrop-(op|opacity)", "backdrop-(op|opacity)-"] }
2088
+ ],
2089
+ [
2090
+ /^(?:(backdrop-)|filter-)?saturate-(.+)$/,
2091
+ Z("saturate", (e, { theme: t }) => Q(e, t)),
2092
+ { autocomplete: [
2093
+ "(backdrop|filter)-saturate",
2094
+ "(backdrop|filter)-saturate-",
2095
+ "saturate-"
2096
+ ] }
2097
+ ],
2098
+ [
2099
+ /^(?:(backdrop-)|filter-)?sepia(?:-(.+))?$/,
2100
+ Z("sepia", _r),
2101
+ { autocomplete: [
2102
+ "(backdrop|filter)-sepia",
2103
+ "(backdrop|filter)-sepia-",
2104
+ "sepia-"
2105
+ ] }
2106
+ ],
2107
+ ["filter", { filter: Y }],
2108
+ ["backdrop-filter", {
2109
+ "-webkit-backdrop-filter": X,
2110
+ "backdrop-filter": X
2111
+ }],
2112
+ ["filter-none", { filter: "none" }],
2113
+ ["backdrop-filter-none", {
2114
+ "-webkit-backdrop-filter": "none",
2115
+ "backdrop-filter": "none"
2116
+ }],
2117
+ ...B.map((e) => [`filter-${e}`, { filter: e }]),
2118
+ ...B.map((e) => [`backdrop-filter-${e}`, {
2119
+ "-webkit-backdrop-filter": e,
2120
+ "backdrop-filter": e
2121
+ }])
2122
+ ], Sr = /(?<=[0-9a-zA-Z%)\x5D])\s*\+\s*(?=[0-9a-zA-Z%(])/g, Cr = /^-?\d+(?:\.\d+)?(?:px|r?em|%|vh|vw|vmin|vmax|ch|ex|cm|mm|in|pt|pc)$/, wr = /^var\(.+\)$/, Tr = /[0-9a-zA-Z%)\x5D]/, Er = /[0-9a-zA-Z%(]/, Dr = /[a-zA-Z]/, Or = /[0-9a-zA-Z_]/, kr = /\d/, Ar = /\s*$/, jr = /\s+\)/g, Mr = /\(\s+/g;
2123
+ function Nr(e, t) {
2124
+ for (let n = t; n >= 0; n--) if (e[n] !== " ") return n;
2125
+ return -1;
2126
+ }
2127
+ function Pr(e, t) {
2128
+ for (let n = t; n < e.length; n++) if (e[n] !== " ") return n;
2129
+ return -1;
2130
+ }
2131
+ function Fr(e, t) {
2132
+ let n = Nr(e, t - 1), r = Pr(e, t + 1);
2133
+ if (n === -1 || r === -1) return !1;
2134
+ let i = e[n], a = e[r];
2135
+ if (!Tr.test(i) || !Er.test(a)) return !1;
2136
+ if (!Dr.test(i)) return !0;
2137
+ let o = n;
2138
+ for (; o > 0 && Or.test(e[o - 1]);) o--;
2139
+ return kr.test(e.slice(o, n + 1));
2140
+ }
2141
+ function Ir(e) {
2142
+ let t = "";
2143
+ for (let n = 0; n < e.length; n++) {
2144
+ if (e[n] !== "-" || !Fr(e, n)) {
2145
+ t += e[n];
2146
+ continue;
2147
+ }
2148
+ for (t = t.replace(Ar, ""), t += " - "; e[n + 1] === " ";) n++;
2149
+ }
2150
+ return t;
2151
+ }
2152
+ function $(e) {
2153
+ return e.includes("calc(") ? Ir(e.replace(Sr, " + ").replace(jr, ")").replace(Mr, "(")) : e;
2154
+ }
2155
+ var Lr = ">:not([hidden])~:not([hidden])";
2156
+ function Rr(e) {
2157
+ if (!e.startsWith("_") && /^space-[xy]-.+$/.test(e)) return {
2158
+ matcher: e,
2159
+ selector: (e) => e.includes(Lr) ? e : `${e}${Lr}`
2160
+ };
2161
+ }
2162
+ function zr(e, t) {
2163
+ if (t === "x" || t === "y") return t;
2164
+ if (e.startsWith("space-x-")) return "x";
2165
+ if (e.startsWith("space-y-")) return "y";
2166
+ }
2167
+ function Br(e, t) {
2168
+ let n = t?.spacing?.[e];
2169
+ if (n != null) return $(n === "0" ? "0px" : `${n}`);
2170
+ if (e.startsWith("[") && e.endsWith("]") && e.length > 2) return $(e.slice(1, -1));
2171
+ let r = G.bracket.cssvar.auto.fraction.rem(e);
2172
+ if (r != null) return $(r === "0" ? "0px" : `${r}`);
2173
+ if (Cr.test(e) || wr.test(e)) return e;
2174
+ }
2175
+ function Vr(e, t) {
2176
+ let [n, r, i] = e, a = zr(n, r), o = i ?? (a ? n.slice(`space-${a}-`.length) : void 0);
2177
+ if (!a || !o) return;
2178
+ let s = Br(o, t.theme);
2179
+ if (!s) return;
2180
+ let c = a === "x" ? "margin-inline-start" : "margin-block-start", l = a === "x" ? "margin-inline-end" : "margin-block-end";
2181
+ return {
2182
+ [`--un-space-${a}-reverse`]: "0",
2183
+ [c]: `calc(${s} * calc(1 - var(--un-space-${a}-reverse)))`,
2184
+ [l]: `calc(${s} * var(--un-space-${a}-reverse))`
2185
+ };
2186
+ }
2187
+ function Hr(e, t) {
2188
+ let [n, r] = e, i = zr(n, r);
2189
+ if (i) return { [`--un-space-${i}-reverse`]: "1" };
2190
+ }
2191
+ var Ur = [Rr], Wr = [[/^space-([xy])-(.+)$/, Vr], [/^space-([xy])-reverse$/, Hr]];
2192
+ //#endregion
2193
+ //#region src/unocss/preset.ts
2194
+ function Gr(e) {
2195
+ return e.filter((e) => !!e);
2196
+ }
2197
+ function Kr(e, t) {
2198
+ return !t || e.layer ? e : {
2199
+ ...e,
2200
+ layer: t
2201
+ };
2202
+ }
2203
+ function qr(e, t) {
2204
+ return {
2205
+ getCSS: async () => e,
2206
+ layer: t
2207
+ };
2208
+ }
2209
+ function Jr(e, t) {
2210
+ let n = Gr(e);
2211
+ return n.length ? [qr(n.join("\n"), t)] : [];
2212
+ }
2213
+ function Yr(e = {}) {
2214
+ return e.components ? He(e.components) : Ue;
2215
+ }
2216
+ function Xr(e = {}) {
2217
+ return (e.preflights ?? []).map((t) => Kr(t, e.layer));
2218
+ }
2219
+ function Zr(e = {}) {
2220
+ return {
2221
+ name: "granularity-preset",
2222
+ layer: e.layer,
2223
+ safelist: Yr(e),
2224
+ preflights: [...Xr(e), ...$e.map((t) => Kr(t, e.layer))],
2225
+ variants: Ur,
2226
+ rules: [
2227
+ ...Qe,
2228
+ ...Wr,
2229
+ ...rt,
2230
+ ...xr
2231
+ ]
2232
+ };
2233
+ }
2234
+ //#endregion
2235
+ export { Ue as _, Yr as a, Re as b, Ke as c, We as d, Je as f, He as g, Ye as h, Xr as i, Ge as l, Xe as m, Jr as n, $e as o, Ze as p, Zr as r, Qe as s, qr as t, qe as u, m as v, ze as y };