@amoa/casting 0.1.5 → 0.1.7

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 (341) hide show
  1. package/dist/export/index.js +10 -9
  2. package/dist/export/index.js.map +1 -0
  3. package/dist/form/buttons/index.js +3 -2
  4. package/dist/form/buttons/index.js.map +1 -0
  5. package/dist/form/buttons/index.module.css.js +1 -0
  6. package/dist/form/buttons/index.module.css.js.map +1 -0
  7. package/dist/form/caption/index.js +3 -2
  8. package/dist/form/caption/index.js.map +1 -0
  9. package/dist/form/caption/index.module.css.js +1 -0
  10. package/dist/form/caption/index.module.css.js.map +1 -0
  11. package/dist/form/description/index.js +3 -2
  12. package/dist/form/description/index.js.map +1 -0
  13. package/dist/form/description/index.module.css.js +1 -0
  14. package/dist/form/description/index.module.css.js.map +1 -0
  15. package/dist/form/email/index.js +4 -3
  16. package/dist/form/email/index.js.map +1 -0
  17. package/dist/form/index.js +5 -4
  18. package/dist/form/index.js.map +1 -0
  19. package/dist/form/index.module.css.js +1 -0
  20. package/dist/form/index.module.css.js.map +1 -0
  21. package/dist/form/inputs/index.js +3 -2
  22. package/dist/form/inputs/index.js.map +1 -0
  23. package/dist/form/inputs/index.module.css.js +1 -0
  24. package/dist/form/inputs/index.module.css.js.map +1 -0
  25. package/dist/form/password/index.js +4 -3
  26. package/dist/form/password/index.js.map +1 -0
  27. package/dist/index.css +1 -1708
  28. package/dist/waiter/index.js +12 -13
  29. package/dist/waiter/index.js.map +1 -0
  30. package/dist/waiter/index.module.css.js +1 -0
  31. package/dist/waiter/index.module.css.js.map +1 -0
  32. package/package.json +4 -3
  33. package/dist/_virtual/_commonjsHelpers.js +0 -5
  34. package/dist/_virtual/_interop_require_default.js +0 -3
  35. package/dist/_virtual/_interop_require_wildcard.js +0 -3
  36. package/dist/_virtual/action-async-storage-instance.js +0 -3
  37. package/dist/_virtual/action-async-storage.external.js +0 -3
  38. package/dist/_virtual/add-base-path.js +0 -3
  39. package/dist/_virtual/add-locale.js +0 -3
  40. package/dist/_virtual/add-locale2.js +0 -3
  41. package/dist/_virtual/add-path-prefix.js +0 -3
  42. package/dist/_virtual/app-paths.js +0 -3
  43. package/dist/_virtual/app-router-context.shared-runtime.js +0 -3
  44. package/dist/_virtual/app-router-headers.js +0 -3
  45. package/dist/_virtual/app.js +0 -3
  46. package/dist/_virtual/async-local-storage.js +0 -3
  47. package/dist/_virtual/bailout-to-csr.js +0 -3
  48. package/dist/_virtual/boundary-constants.js +0 -3
  49. package/dist/_virtual/constants.js +0 -3
  50. package/dist/_virtual/deployment-id.js +0 -3
  51. package/dist/_virtual/detect-domain-locale.js +0 -3
  52. package/dist/_virtual/detect-domain-locale2.js +0 -3
  53. package/dist/_virtual/dynamic-rendering-utils.js +0 -3
  54. package/dist/_virtual/dynamic-rendering.js +0 -3
  55. package/dist/_virtual/ensure-leading-slash.js +0 -3
  56. package/dist/_virtual/error-once.js +0 -3
  57. package/dist/_virtual/escape-regexp.js +0 -3
  58. package/dist/_virtual/find-closest-quality.js +0 -3
  59. package/dist/_virtual/forbidden.js +0 -3
  60. package/dist/_virtual/format-url.js +0 -3
  61. package/dist/_virtual/get-domain-locale.js +0 -3
  62. package/dist/_virtual/get-dynamic-param.js +0 -3
  63. package/dist/_virtual/get-img-props.js +0 -3
  64. package/dist/_virtual/get-segment-param.js +0 -3
  65. package/dist/_virtual/has-base-path.js +0 -3
  66. package/dist/_virtual/head-manager-context.shared-runtime.js +0 -3
  67. package/dist/_virtual/head.js +0 -3
  68. package/dist/_virtual/hooks-client-context.shared-runtime.js +0 -3
  69. package/dist/_virtual/hooks-server-context.js +0 -3
  70. package/dist/_virtual/http-access-fallback.js +0 -3
  71. package/dist/_virtual/image-blur-svg.js +0 -3
  72. package/dist/_virtual/image-component.js +0 -3
  73. package/dist/_virtual/image-config-context.shared-runtime.js +0 -3
  74. package/dist/_virtual/image-config.js +0 -3
  75. package/dist/_virtual/image-external.js +0 -3
  76. package/dist/_virtual/image-loader.js +0 -3
  77. package/dist/_virtual/image.js +0 -7
  78. package/dist/_virtual/index.js +0 -3
  79. package/dist/_virtual/index2.js +0 -3
  80. package/dist/_virtual/index3.js +0 -3
  81. package/dist/_virtual/interception-prefix-from-param-type.js +0 -3
  82. package/dist/_virtual/interception-routes.js +0 -3
  83. package/dist/_virtual/interpolate-as.js +0 -3
  84. package/dist/_virtual/invariant-error.js +0 -3
  85. package/dist/_virtual/is-dynamic.js +0 -3
  86. package/dist/_virtual/is-local-url.js +0 -3
  87. package/dist/_virtual/is-next-router-error.js +0 -3
  88. package/dist/_virtual/is-postpone.js +0 -3
  89. package/dist/_virtual/jsx-runtime.js +0 -5
  90. package/dist/_virtual/jsx-runtime2.js +0 -3
  91. package/dist/_virtual/link.js +0 -7
  92. package/dist/_virtual/link2.js +0 -3
  93. package/dist/_virtual/match-local-pattern.js +0 -3
  94. package/dist/_virtual/match-remote-pattern.js +0 -3
  95. package/dist/_virtual/navigation.js +0 -3
  96. package/dist/_virtual/navigation.react-server.js +0 -3
  97. package/dist/_virtual/navigation2.js +0 -3
  98. package/dist/_virtual/normalize-locale-path.js +0 -3
  99. package/dist/_virtual/normalize-locale-path2.js +0 -3
  100. package/dist/_virtual/normalize-trailing-slash.js +0 -3
  101. package/dist/_virtual/not-found.js +0 -3
  102. package/dist/_virtual/omit.js +0 -3
  103. package/dist/_virtual/parse-loader-tree.js +0 -3
  104. package/dist/_virtual/parse-path.js +0 -3
  105. package/dist/_virtual/path-has-prefix.js +0 -3
  106. package/dist/_virtual/querystring.js +0 -3
  107. package/dist/_virtual/react-jsx-runtime.development.js +0 -3
  108. package/dist/_virtual/react-jsx-runtime.production.js +0 -3
  109. package/dist/_virtual/readonly-url-search-params.js +0 -3
  110. package/dist/_virtual/redirect-error.js +0 -3
  111. package/dist/_virtual/redirect-status-code.js +0 -3
  112. package/dist/_virtual/redirect.js +0 -3
  113. package/dist/_virtual/remove-trailing-slash.js +0 -3
  114. package/dist/_virtual/request-idle-callback.js +0 -3
  115. package/dist/_virtual/resolve-href.js +0 -3
  116. package/dist/_virtual/resolve-param-value.js +0 -3
  117. package/dist/_virtual/route-match-utils.js +0 -3
  118. package/dist/_virtual/route-matcher.js +0 -3
  119. package/dist/_virtual/route-pattern-normalizer.js +0 -3
  120. package/dist/_virtual/route-regex.js +0 -3
  121. package/dist/_virtual/router-context.shared-runtime.js +0 -3
  122. package/dist/_virtual/scheduler.js +0 -3
  123. package/dist/_virtual/segment.js +0 -3
  124. package/dist/_virtual/server-inserted-html.shared-runtime.js +0 -3
  125. package/dist/_virtual/side-effect.js +0 -3
  126. package/dist/_virtual/sorted-routes.js +0 -3
  127. package/dist/_virtual/static-generation-bailout.js +0 -3
  128. package/dist/_virtual/unauthorized.js +0 -3
  129. package/dist/_virtual/unrecognized-action-error.js +0 -3
  130. package/dist/_virtual/unstable-rethrow.browser.js +0 -3
  131. package/dist/_virtual/unstable-rethrow.js +0 -3
  132. package/dist/_virtual/unstable-rethrow.server.js +0 -3
  133. package/dist/_virtual/use-intersection.js +0 -3
  134. package/dist/_virtual/use-merged-ref.js +0 -3
  135. package/dist/_virtual/utils.js +0 -3
  136. package/dist/_virtual/warn-once.js +0 -3
  137. package/dist/_virtual/work-async-storage-instance.js +0 -3
  138. package/dist/_virtual/work-async-storage.external.js +0 -3
  139. package/dist/_virtual/work-unit-async-storage-instance.js +0 -3
  140. package/dist/_virtual/work-unit-async-storage.external.js +0 -3
  141. package/dist/config/config.json.js +0 -37
  142. package/dist/node_modules/@swc/helpers/cjs/_interop_require_default.js +0 -16
  143. package/dist/node_modules/@swc/helpers/cjs/_interop_require_wildcard.js +0 -48
  144. package/dist/node_modules/next/dist/client/add-base-path.js +0 -38
  145. package/dist/node_modules/next/dist/client/add-locale.js +0 -39
  146. package/dist/node_modules/next/dist/client/components/app-router-headers.js +0 -112
  147. package/dist/node_modules/next/dist/client/components/forbidden.js +0 -62
  148. package/dist/node_modules/next/dist/client/components/hooks-server-context.js +0 -50
  149. package/dist/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js +0 -77
  150. package/dist/node_modules/next/dist/client/components/is-next-router-error.js +0 -37
  151. package/dist/node_modules/next/dist/client/components/navigation.js +0 -198
  152. package/dist/node_modules/next/dist/client/components/navigation.react-server.js +0 -80
  153. package/dist/node_modules/next/dist/client/components/not-found.js +0 -56
  154. package/dist/node_modules/next/dist/client/components/readonly-url-search-params.js +0 -58
  155. package/dist/node_modules/next/dist/client/components/redirect-error.js +0 -60
  156. package/dist/node_modules/next/dist/client/components/redirect-status-code.js +0 -36
  157. package/dist/node_modules/next/dist/client/components/redirect.js +0 -98
  158. package/dist/node_modules/next/dist/client/components/static-generation-bailout.js +0 -50
  159. package/dist/node_modules/next/dist/client/components/unauthorized.js +0 -63
  160. package/dist/node_modules/next/dist/client/components/unrecognized-action-error.js +0 -47
  161. package/dist/node_modules/next/dist/client/components/unstable-rethrow.browser.js +0 -42
  162. package/dist/node_modules/next/dist/client/components/unstable-rethrow.js +0 -41
  163. package/dist/node_modules/next/dist/client/components/unstable-rethrow.server.js +0 -50
  164. package/dist/node_modules/next/dist/client/detect-domain-locale.js +0 -36
  165. package/dist/node_modules/next/dist/client/get-domain-locale.js +0 -51
  166. package/dist/node_modules/next/dist/client/has-base-path.js +0 -36
  167. package/dist/node_modules/next/dist/client/image-component.js +0 -343
  168. package/dist/node_modules/next/dist/client/link.js +0 -466
  169. package/dist/node_modules/next/dist/client/normalize-locale-path.js +0 -40
  170. package/dist/node_modules/next/dist/client/normalize-trailing-slash.js +0 -54
  171. package/dist/node_modules/next/dist/client/request-idle-callback.js +0 -52
  172. package/dist/node_modules/next/dist/client/resolve-href.js +0 -124
  173. package/dist/node_modules/next/dist/client/use-intersection.js +0 -126
  174. package/dist/node_modules/next/dist/client/use-merged-ref.js +0 -79
  175. package/dist/node_modules/next/dist/compiled/path-to-regexp/index.js +0 -439
  176. package/dist/node_modules/next/dist/compiled/picomatch/index.js +0 -1662
  177. package/dist/node_modules/next/dist/lib/constants.js +0 -339
  178. package/dist/node_modules/next/dist/lib/framework/boundary-constants.js +0 -41
  179. package/dist/node_modules/next/dist/lib/route-pattern-normalizer.js +0 -114
  180. package/dist/node_modules/next/dist/lib/scheduler.js +0 -69
  181. package/dist/node_modules/next/dist/server/app-render/action-async-storage-instance.js +0 -26
  182. package/dist/node_modules/next/dist/server/app-render/action-async-storage.external.js +0 -25
  183. package/dist/node_modules/next/dist/server/app-render/async-local-storage.js +0 -83
  184. package/dist/node_modules/next/dist/server/app-render/dynamic-rendering.js +0 -804
  185. package/dist/node_modules/next/dist/server/app-render/work-async-storage-instance.js +0 -26
  186. package/dist/node_modules/next/dist/server/app-render/work-async-storage.external.js +0 -25
  187. package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js +0 -26
  188. package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js +0 -221
  189. package/dist/node_modules/next/dist/server/dynamic-rendering-utils.js +0 -90
  190. package/dist/node_modules/next/dist/server/lib/router-utils/is-postpone.js +0 -27
  191. package/dist/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js +0 -56
  192. package/dist/node_modules/next/dist/shared/lib/deployment-id.js +0 -41
  193. package/dist/node_modules/next/dist/shared/lib/escape-regexp.js +0 -32
  194. package/dist/node_modules/next/dist/shared/lib/find-closest-quality.js +0 -30
  195. package/dist/node_modules/next/dist/shared/lib/get-img-props.js +0 -617
  196. package/dist/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.js +0 -31
  197. package/dist/node_modules/next/dist/shared/lib/head.js +0 -177
  198. package/dist/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js +0 -65
  199. package/dist/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js +0 -36
  200. package/dist/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js +0 -66
  201. package/dist/node_modules/next/dist/shared/lib/image-blur-svg.js +0 -42
  202. package/dist/node_modules/next/dist/shared/lib/image-config-context.shared-runtime.js +0 -33
  203. package/dist/node_modules/next/dist/shared/lib/image-config.js +0 -56
  204. package/dist/node_modules/next/dist/shared/lib/image-external.js +0 -60
  205. package/dist/node_modules/next/dist/shared/lib/image-loader.js +0 -119
  206. package/dist/node_modules/next/dist/shared/lib/invariant-error.js +0 -29
  207. package/dist/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js +0 -43
  208. package/dist/node_modules/next/dist/shared/lib/match-local-pattern.js +0 -54
  209. package/dist/node_modules/next/dist/shared/lib/match-remote-pattern.js +0 -71
  210. package/dist/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js +0 -31
  211. package/dist/node_modules/next/dist/shared/lib/router/routes/app.js +0 -130
  212. package/dist/node_modules/next/dist/shared/lib/router/utils/add-locale.js +0 -41
  213. package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js +0 -36
  214. package/dist/node_modules/next/dist/shared/lib/router/utils/app-paths.js +0 -61
  215. package/dist/node_modules/next/dist/shared/lib/router/utils/format-url.js +0 -88
  216. package/dist/node_modules/next/dist/shared/lib/router/utils/get-dynamic-param.js +0 -176
  217. package/dist/node_modules/next/dist/shared/lib/router/utils/get-segment-param.js +0 -89
  218. package/dist/node_modules/next/dist/shared/lib/router/utils/index.js +0 -38
  219. package/dist/node_modules/next/dist/shared/lib/router/utils/interception-prefix-from-param-type.js +0 -44
  220. package/dist/node_modules/next/dist/shared/lib/router/utils/interception-routes.js +0 -109
  221. package/dist/node_modules/next/dist/shared/lib/router/utils/interpolate-as.js +0 -71
  222. package/dist/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js +0 -38
  223. package/dist/node_modules/next/dist/shared/lib/router/utils/is-local-url.js +0 -39
  224. package/dist/node_modules/next/dist/shared/lib/router/utils/omit.js +0 -32
  225. package/dist/node_modules/next/dist/shared/lib/router/utils/parse-loader-tree.js +0 -46
  226. package/dist/node_modules/next/dist/shared/lib/router/utils/parse-path.js +0 -46
  227. package/dist/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js +0 -34
  228. package/dist/node_modules/next/dist/shared/lib/router/utils/querystring.js +0 -82
  229. package/dist/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js +0 -34
  230. package/dist/node_modules/next/dist/shared/lib/router/utils/resolve-param-value.js +0 -128
  231. package/dist/node_modules/next/dist/shared/lib/router/utils/route-match-utils.js +0 -122
  232. package/dist/node_modules/next/dist/shared/lib/router/utils/route-matcher.js +0 -61
  233. package/dist/node_modules/next/dist/shared/lib/router/utils/route-regex.js +0 -312
  234. package/dist/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js +0 -246
  235. package/dist/node_modules/next/dist/shared/lib/router-context.shared-runtime.js +0 -31
  236. package/dist/node_modules/next/dist/shared/lib/segment.js +0 -102
  237. package/dist/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js +0 -44
  238. package/dist/node_modules/next/dist/shared/lib/side-effect.js +0 -78
  239. package/dist/node_modules/next/dist/shared/lib/utils/error-once.js +0 -33
  240. package/dist/node_modules/next/dist/shared/lib/utils/warn-once.js +0 -33
  241. package/dist/node_modules/next/dist/shared/lib/utils.js +0 -192
  242. package/dist/node_modules/next/image.js +0 -13
  243. package/dist/node_modules/next/link.js +0 -13
  244. package/dist/node_modules/next/navigation.js +0 -13
  245. package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +0 -240
  246. package/dist/node_modules/react/cjs/react-jsx-runtime.production.js +0 -44
  247. package/dist/node_modules/react/jsx-runtime.js +0 -19
  248. package/dist/node_modules/style-inject/dist/style-inject.es.js +0 -26
  249. package/dist/packages/carving/src/carving.js +0 -34
  250. package/dist/packages/carving/src/condo.js +0 -17
  251. package/dist/packages/carving/src/logos/amoa.js +0 -17
  252. package/dist/packages/forge/src/classes.js +0 -17
  253. package/dist/packages/forge/src/dates/date.js +0 -8
  254. package/dist/packages/forge/src/dates/day.js +0 -7
  255. package/dist/packages/forge/src/dates/index.js +0 -31
  256. package/dist/packages/forge/src/dates/month.js +0 -35
  257. package/dist/packages/forge/src/dates/year.js +0 -16
  258. package/dist/packages/forge/src/fetcher/index.js +0 -37
  259. package/dist/packages/forge/src/fetcher/querystring.js +0 -9
  260. package/dist/packages/forge/src/files.js +0 -17
  261. package/dist/packages/forge/src/numbers/index.js +0 -5
  262. package/dist/packages/forge/src/strings/characters.js +0 -3
  263. package/dist/packages/forge/src/strings/diacritics.js +0 -261
  264. package/dist/packages/forge/src/strings/index.js +0 -24
  265. package/dist/packages/hooks/src/use-debounce.js +0 -19
  266. package/dist/packages/hooks/src/use-tooltip.js +0 -27
  267. package/dist/packages/ingots/src/address/api/form.js +0 -12
  268. package/dist/packages/ingots/src/address/config.json.js +0 -16
  269. package/dist/packages/ingots/src/address/index.js +0 -115
  270. package/dist/packages/ingots/src/address/index.module.css.js +0 -3
  271. package/dist/packages/ingots/src/address/service.js +0 -41
  272. package/dist/packages/ingots/src/backdrop/index.js +0 -18
  273. package/dist/packages/ingots/src/backdrop/index.module.css.js +0 -3
  274. package/dist/packages/ingots/src/button/index.js +0 -56
  275. package/dist/packages/ingots/src/button/index.module.css.js +0 -3
  276. package/dist/packages/ingots/src/checkbox/index.js +0 -47
  277. package/dist/packages/ingots/src/checkbox/index.module.css.js +0 -3
  278. package/dist/packages/ingots/src/date/erase/index.js +0 -22
  279. package/dist/packages/ingots/src/date/erase/index.module.css.js +0 -3
  280. package/dist/packages/ingots/src/date/input/index.js +0 -113
  281. package/dist/packages/ingots/src/date/input/index.module.css.js +0 -3
  282. package/dist/packages/ingots/src/date/picker/day/index.js +0 -35
  283. package/dist/packages/ingots/src/date/picker/day/index.module.css.js +0 -3
  284. package/dist/packages/ingots/src/date/picker/days/index.js +0 -59
  285. package/dist/packages/ingots/src/date/picker/days/index.module.css.js +0 -3
  286. package/dist/packages/ingots/src/date/picker/handle/index.js +0 -40
  287. package/dist/packages/ingots/src/date/picker/handle/index.module.css.js +0 -3
  288. package/dist/packages/ingots/src/date/picker/index.js +0 -154
  289. package/dist/packages/ingots/src/date/picker/index.module.css.js +0 -3
  290. package/dist/packages/ingots/src/date/picker/menu/index.js +0 -32
  291. package/dist/packages/ingots/src/date/picker/menu/index.module.css.js +0 -3
  292. package/dist/packages/ingots/src/date/picker/menu/item.js +0 -30
  293. package/dist/packages/ingots/src/date/picker/menu/item.module.css.js +0 -3
  294. package/dist/packages/ingots/src/file/api/index.js +0 -14
  295. package/dist/packages/ingots/src/file/card/index.js +0 -65
  296. package/dist/packages/ingots/src/file/card/index.module.css.js +0 -3
  297. package/dist/packages/ingots/src/file/index.js +0 -34
  298. package/dist/packages/ingots/src/file/index.module.css.js +0 -3
  299. package/dist/packages/ingots/src/file/input/index.js +0 -261
  300. package/dist/packages/ingots/src/file/input/index.module.css.js +0 -3
  301. package/dist/packages/ingots/src/input/index.js +0 -75
  302. package/dist/packages/ingots/src/input/src/validation/index.js +0 -3
  303. package/dist/packages/ingots/src/loader/index.js +0 -23
  304. package/dist/packages/ingots/src/loader/index.module.css.js +0 -3
  305. package/dist/packages/ingots/src/loader/variants/spinner/index.js +0 -31
  306. package/dist/packages/ingots/src/loader/variants/spinner/index.module.css.js +0 -3
  307. package/dist/packages/ingots/src/select/card/index.js +0 -33
  308. package/dist/packages/ingots/src/select/card/index.module.css.js +0 -3
  309. package/dist/packages/ingots/src/select/category/index.js +0 -13
  310. package/dist/packages/ingots/src/select/category/index.module.css.js +0 -3
  311. package/dist/packages/ingots/src/select/content/index.js +0 -46
  312. package/dist/packages/ingots/src/select/index.js +0 -155
  313. package/dist/packages/ingots/src/select/index.module.css.js +0 -3
  314. package/dist/packages/ingots/src/select/option/index.js +0 -35
  315. package/dist/packages/ingots/src/select/option/index.module.css.js +0 -3
  316. package/dist/packages/ingots/src/select/options/index.js +0 -59
  317. package/dist/packages/ingots/src/select/options/index.module.css.js +0 -3
  318. package/dist/packages/ingots/src/snackbar/context.js +0 -9
  319. package/dist/packages/ingots/src/tag/index.js +0 -16
  320. package/dist/packages/ingots/src/tag/index.module.css.js +0 -3
  321. package/dist/packages/ingots/src/text/index.js +0 -92
  322. package/dist/packages/ingots/src/text/index.module.css.js +0 -3
  323. package/dist/packages/ingots/src/textarea/index.js +0 -62
  324. package/dist/packages/ingots/src/textarea/index.module.css.js +0 -3
  325. package/dist/packages/ingots/src/toggle/index.js +0 -43
  326. package/dist/packages/ingots/src/toggle/index.module.css.js +0 -3
  327. package/dist/packages/runes/src/icon.js +0 -16
  328. package/dist/packages/runes/src/paths/alert.js +0 -18
  329. package/dist/packages/runes/src/paths/arrow/path.js +0 -18
  330. package/dist/packages/runes/src/paths/calendar.js +0 -18
  331. package/dist/packages/runes/src/paths/check/fill.js +0 -18
  332. package/dist/packages/runes/src/paths/check/regular.js +0 -18
  333. package/dist/packages/runes/src/paths/chevron/down.js +0 -18
  334. package/dist/packages/runes/src/paths/chevron/left.js +0 -18
  335. package/dist/packages/runes/src/paths/chevron/right.js +0 -18
  336. package/dist/packages/runes/src/paths/click.js +0 -18
  337. package/dist/packages/runes/src/paths/cross/regular.js +0 -16
  338. package/dist/packages/runes/src/paths/download.js +0 -18
  339. package/dist/packages/runes/src/paths/file.js +0 -18
  340. package/dist/packages/runes/src/paths/link.js +0 -23
  341. package/dist/packages/wares/src/authentication/index.js +0 -11
@@ -1,1662 +0,0 @@
1
- import { __module as picomatch } from '../../../../../_virtual/index3.js';
2
-
3
- var hasRequiredPicomatch;
4
-
5
- function requirePicomatch () {
6
- if (hasRequiredPicomatch) return picomatch.exports;
7
- hasRequiredPicomatch = 1;
8
- (() => {
9
-
10
- var t = {
11
- 170: (t, e, u) => {
12
- const n = u(510);
13
- const isWindows = () => {
14
- if (typeof navigator !== "undefined" && navigator.platform) {
15
- const t = navigator.platform.toLowerCase();
16
- return t === "win32" || t === "windows";
17
- }
18
- if (typeof process !== "undefined" && process.platform) {
19
- return process.platform === "win32";
20
- }
21
- return false;
22
- };
23
- function picomatch(t, e, u = false) {
24
- if (e && (e.windows === null || e.windows === undefined)) {
25
- e = {
26
- ...e,
27
- windows: isWindows()
28
- };
29
- }
30
- return n(t, e, u);
31
- }
32
- Object.assign(picomatch, n);
33
- t.exports = picomatch;
34
- },
35
- 154: t => {
36
- const e = "\\\\/";
37
- const u = `[^${e}]`;
38
- const n = "\\.";
39
- const o = "\\+";
40
- const s = "\\?";
41
- const r = "\\/";
42
- const a = "(?=.)";
43
- const i = "[^/]";
44
- const c = `(?:${r}|$)`;
45
- const p = `(?:^|${r})`;
46
- const l = `${n}{1,2}${c}`;
47
- const f = `(?!${n})`;
48
- const A = `(?!${p}${l})`;
49
- const _ = `(?!${n}{0,1}${c})`;
50
- const R = `(?!${l})`;
51
- const E = `[^.${r}]`;
52
- const h = `${i}*?`;
53
- const g = "/";
54
- const b = {
55
- DOT_LITERAL: n,
56
- PLUS_LITERAL: o,
57
- QMARK_LITERAL: s,
58
- SLASH_LITERAL: r,
59
- ONE_CHAR: a,
60
- QMARK: i,
61
- END_ANCHOR: c,
62
- DOTS_SLASH: l,
63
- NO_DOT: f,
64
- NO_DOTS: A,
65
- NO_DOT_SLASH: _,
66
- NO_DOTS_SLASH: R,
67
- QMARK_NO_DOT: E,
68
- STAR: h,
69
- START_ANCHOR: p,
70
- SEP: g
71
- };
72
- const C = {
73
- ...b,
74
- SLASH_LITERAL: `[${e}]`,
75
- QMARK: u,
76
- STAR: `${u}*?`,
77
- DOTS_SLASH: `${n}{1,2}(?:[${e}]|$)`,
78
- NO_DOT: `(?!${n})`,
79
- NO_DOTS: `(?!(?:^|[${e}])${n}{1,2}(?:[${e}]|$))`,
80
- NO_DOT_SLASH: `(?!${n}{0,1}(?:[${e}]|$))`,
81
- NO_DOTS_SLASH: `(?!${n}{1,2}(?:[${e}]|$))`,
82
- QMARK_NO_DOT: `[^.${e}]`,
83
- START_ANCHOR: `(?:^|[${e}])`,
84
- END_ANCHOR: `(?:[${e}]|$)`,
85
- SEP: "\\"
86
- };
87
- const y = {
88
- alnum: "a-zA-Z0-9",
89
- alpha: "a-zA-Z",
90
- ascii: "\\x00-\\x7F",
91
- blank: " \\t",
92
- cntrl: "\\x00-\\x1F\\x7F",
93
- digit: "0-9",
94
- graph: "\\x21-\\x7E",
95
- lower: "a-z",
96
- print: "\\x20-\\x7E ",
97
- punct: "\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",
98
- space: " \\t\\r\\n\\v\\f",
99
- upper: "A-Z",
100
- word: "A-Za-z0-9_",
101
- xdigit: "A-Fa-f0-9"
102
- };
103
- t.exports = {
104
- MAX_LENGTH: 1024 * 64,
105
- POSIX_REGEX_SOURCE: y,
106
- REGEX_BACKSLASH: /\\(?![*+?^${}(|)[\]])/g,
107
- REGEX_NON_SPECIAL_CHARS: /^[^@![\].,$*+?^{}()|\\/]+/,
108
- REGEX_SPECIAL_CHARS: /[-*+?.^${}(|)[\]]/,
109
- REGEX_SPECIAL_CHARS_BACKREF: /(\\?)((\W)(\3*))/g,
110
- REGEX_SPECIAL_CHARS_GLOBAL: /([-*+?.^${}(|)[\]])/g,
111
- REGEX_REMOVE_BACKSLASH: /(?:\[.*?[^\\]\]|\\(?=.))/g,
112
- REPLACEMENTS: {
113
- "***": "*",
114
- "**/**": "**",
115
- "**/**/**": "**"
116
- },
117
- CHAR_0: 48,
118
- CHAR_9: 57,
119
- CHAR_UPPERCASE_A: 65,
120
- CHAR_LOWERCASE_A: 97,
121
- CHAR_UPPERCASE_Z: 90,
122
- CHAR_LOWERCASE_Z: 122,
123
- CHAR_LEFT_PARENTHESES: 40,
124
- CHAR_RIGHT_PARENTHESES: 41,
125
- CHAR_ASTERISK: 42,
126
- CHAR_AMPERSAND: 38,
127
- CHAR_AT: 64,
128
- CHAR_BACKWARD_SLASH: 92,
129
- CHAR_CARRIAGE_RETURN: 13,
130
- CHAR_CIRCUMFLEX_ACCENT: 94,
131
- CHAR_COLON: 58,
132
- CHAR_COMMA: 44,
133
- CHAR_DOT: 46,
134
- CHAR_DOUBLE_QUOTE: 34,
135
- CHAR_EQUAL: 61,
136
- CHAR_EXCLAMATION_MARK: 33,
137
- CHAR_FORM_FEED: 12,
138
- CHAR_FORWARD_SLASH: 47,
139
- CHAR_GRAVE_ACCENT: 96,
140
- CHAR_HASH: 35,
141
- CHAR_HYPHEN_MINUS: 45,
142
- CHAR_LEFT_ANGLE_BRACKET: 60,
143
- CHAR_LEFT_CURLY_BRACE: 123,
144
- CHAR_LEFT_SQUARE_BRACKET: 91,
145
- CHAR_LINE_FEED: 10,
146
- CHAR_NO_BREAK_SPACE: 160,
147
- CHAR_PERCENT: 37,
148
- CHAR_PLUS: 43,
149
- CHAR_QUESTION_MARK: 63,
150
- CHAR_RIGHT_ANGLE_BRACKET: 62,
151
- CHAR_RIGHT_CURLY_BRACE: 125,
152
- CHAR_RIGHT_SQUARE_BRACKET: 93,
153
- CHAR_SEMICOLON: 59,
154
- CHAR_SINGLE_QUOTE: 39,
155
- CHAR_SPACE: 32,
156
- CHAR_TAB: 9,
157
- CHAR_UNDERSCORE: 95,
158
- CHAR_VERTICAL_LINE: 124,
159
- CHAR_ZERO_WIDTH_NOBREAK_SPACE: 65279,
160
- extglobChars(t) {
161
- return {
162
- "!": {
163
- type: "negate",
164
- open: "(?:(?!(?:",
165
- close: `))${t.STAR})`
166
- },
167
- "?": {
168
- type: "qmark",
169
- open: "(?:",
170
- close: ")?"
171
- },
172
- "+": {
173
- type: "plus",
174
- open: "(?:",
175
- close: ")+"
176
- },
177
- "*": {
178
- type: "star",
179
- open: "(?:",
180
- close: ")*"
181
- },
182
- "@": {
183
- type: "at",
184
- open: "(?:",
185
- close: ")"
186
- }
187
- };
188
- },
189
- globChars(t) {
190
- return t === true ? C : b;
191
- }
192
- };
193
- },
194
- 697: (t, e, u) => {
195
- const n = u(154);
196
- const o = u(96);
197
- const {
198
- MAX_LENGTH: s,
199
- POSIX_REGEX_SOURCE: r,
200
- REGEX_NON_SPECIAL_CHARS: a,
201
- REGEX_SPECIAL_CHARS_BACKREF: i,
202
- REPLACEMENTS: c
203
- } = n;
204
- const expandRange = (t, e) => {
205
- if (typeof e.expandRange === "function") {
206
- return e.expandRange(...t, e);
207
- }
208
- t.sort();
209
- const u = `[${t.join("-")}]`;
210
- try {
211
- new RegExp(u);
212
- } catch (e) {
213
- return t.map(t => o.escapeRegex(t)).join("..");
214
- }
215
- return u;
216
- };
217
- const syntaxError = (t, e) => `Missing ${t}: "${e}" - use "\\\\${e}" to match literal characters`;
218
- const parse = (t, e) => {
219
- if (typeof t !== "string") {
220
- throw new TypeError("Expected a string");
221
- }
222
- t = c[t] || t;
223
- const u = {
224
- ...e
225
- };
226
- const p = typeof u.maxLength === "number" ? Math.min(s, u.maxLength) : s;
227
- let l = t.length;
228
- if (l > p) {
229
- throw new SyntaxError(`Input length: ${l}, exceeds maximum allowed length: ${p}`);
230
- }
231
- const f = {
232
- type: "bos",
233
- value: "",
234
- output: u.prepend || ""
235
- };
236
- const A = [f];
237
- const _ = u.capture ? "" : "?:";
238
- const R = n.globChars(u.windows);
239
- const E = n.extglobChars(R);
240
- const {
241
- DOT_LITERAL: h,
242
- PLUS_LITERAL: g,
243
- SLASH_LITERAL: b,
244
- ONE_CHAR: C,
245
- DOTS_SLASH: y,
246
- NO_DOT: $,
247
- NO_DOT_SLASH: x,
248
- NO_DOTS_SLASH: S,
249
- QMARK: H,
250
- QMARK_NO_DOT: v,
251
- STAR: d,
252
- START_ANCHOR: L
253
- } = R;
254
- const globstar = t => `(${_}(?:(?!${L}${t.dot ? y : h}).)*?)`;
255
- const T = u.dot ? "" : $;
256
- const O = u.dot ? H : v;
257
- let k = u.bash === true ? globstar(u) : d;
258
- if (u.capture) {
259
- k = `(${k})`;
260
- }
261
- if (typeof u.noext === "boolean") {
262
- u.noextglob = u.noext;
263
- }
264
- const m = {
265
- input: t,
266
- index: -1,
267
- start: 0,
268
- dot: u.dot === true,
269
- consumed: "",
270
- output: "",
271
- prefix: "",
272
- backtrack: false,
273
- negated: false,
274
- brackets: 0,
275
- braces: 0,
276
- parens: 0,
277
- quotes: 0,
278
- globstar: false,
279
- tokens: A
280
- };
281
- t = o.removePrefix(t, m);
282
- l = t.length;
283
- const w = [];
284
- const N = [];
285
- const I = [];
286
- let B = f;
287
- let G;
288
- const eos = () => m.index === l - 1;
289
- const D = m.peek = (e = 1) => t[m.index + e];
290
- const M = m.advance = () => t[++m.index] || "";
291
- const remaining = () => t.slice(m.index + 1);
292
- const consume = (t = "", e = 0) => {
293
- m.consumed += t;
294
- m.index += e;
295
- };
296
- const append = t => {
297
- m.output += t.output != null ? t.output : t.value;
298
- consume(t.value);
299
- };
300
- const negate = () => {
301
- let t = 1;
302
- while (D() === "!" && (D(2) !== "(" || D(3) === "?")) {
303
- M();
304
- m.start++;
305
- t++;
306
- }
307
- if (t % 2 === 0) {
308
- return false;
309
- }
310
- m.negated = true;
311
- m.start++;
312
- return true;
313
- };
314
- const increment = t => {
315
- m[t]++;
316
- I.push(t);
317
- };
318
- const decrement = t => {
319
- m[t]--;
320
- I.pop();
321
- };
322
- const push = t => {
323
- if (B.type === "globstar") {
324
- const e = m.braces > 0 && (t.type === "comma" || t.type === "brace");
325
- const u = t.extglob === true || w.length && (t.type === "pipe" || t.type === "paren");
326
- if (t.type !== "slash" && t.type !== "paren" && !e && !u) {
327
- m.output = m.output.slice(0, -B.output.length);
328
- B.type = "star";
329
- B.value = "*";
330
- B.output = k;
331
- m.output += B.output;
332
- }
333
- }
334
- if (w.length && t.type !== "paren") {
335
- w[w.length - 1].inner += t.value;
336
- }
337
- if (t.value || t.output) append(t);
338
- if (B && B.type === "text" && t.type === "text") {
339
- B.output = (B.output || B.value) + t.value;
340
- B.value += t.value;
341
- return;
342
- }
343
- t.prev = B;
344
- A.push(t);
345
- B = t;
346
- };
347
- const extglobOpen = (t, e) => {
348
- const n = {
349
- ...E[e],
350
- conditions: 1,
351
- inner: ""
352
- };
353
- n.prev = B;
354
- n.parens = m.parens;
355
- n.output = m.output;
356
- const o = (u.capture ? "(" : "") + n.open;
357
- increment("parens");
358
- push({
359
- type: t,
360
- value: e,
361
- output: m.output ? "" : C
362
- });
363
- push({
364
- type: "paren",
365
- extglob: true,
366
- value: M(),
367
- output: o
368
- });
369
- w.push(n);
370
- };
371
- const extglobClose = t => {
372
- let n = t.close + (u.capture ? ")" : "");
373
- let o;
374
- if (t.type === "negate") {
375
- let s = k;
376
- if (t.inner && t.inner.length > 1 && t.inner.includes("/")) {
377
- s = globstar(u);
378
- }
379
- if (s !== k || eos() || /^\)+$/.test(remaining())) {
380
- n = t.close = `)$))${s}`;
381
- }
382
- if (t.inner.includes("*") && (o = remaining()) && /^\.[^\\/.]+$/.test(o)) {
383
- const u = parse(o, {
384
- ...e,
385
- fastpaths: false
386
- }).output;
387
- n = t.close = `)${u})${s})`;
388
- }
389
- if (t.prev.type === "bos") {
390
- m.negatedExtglob = true;
391
- }
392
- }
393
- push({
394
- type: "paren",
395
- extglob: true,
396
- value: G,
397
- output: n
398
- });
399
- decrement("parens");
400
- };
401
- if (u.fastpaths !== false && !/(^[*!]|[/()[\]{}"])/.test(t)) {
402
- let n = false;
403
- let s = t.replace(i, (t, e, u, o, s, r) => {
404
- if (o === "\\") {
405
- n = true;
406
- return t;
407
- }
408
- if (o === "?") {
409
- if (e) {
410
- return e + o + (s ? H.repeat(s.length) : "");
411
- }
412
- if (r === 0) {
413
- return O + (s ? H.repeat(s.length) : "");
414
- }
415
- return H.repeat(u.length);
416
- }
417
- if (o === ".") {
418
- return h.repeat(u.length);
419
- }
420
- if (o === "*") {
421
- if (e) {
422
- return e + o + (s ? k : "");
423
- }
424
- return k;
425
- }
426
- return e ? t : `\\${t}`;
427
- });
428
- if (n === true) {
429
- if (u.unescape === true) {
430
- s = s.replace(/\\/g, "");
431
- } else {
432
- s = s.replace(/\\+/g, t => t.length % 2 === 0 ? "\\\\" : t ? "\\" : "");
433
- }
434
- }
435
- if (s === t && u.contains === true) {
436
- m.output = t;
437
- return m;
438
- }
439
- m.output = o.wrapOutput(s, m, e);
440
- return m;
441
- }
442
- while (!eos()) {
443
- G = M();
444
- if (G === "\0") {
445
- continue;
446
- }
447
- if (G === "\\") {
448
- const t = D();
449
- if (t === "/" && u.bash !== true) {
450
- continue;
451
- }
452
- if (t === "." || t === ";") {
453
- continue;
454
- }
455
- if (!t) {
456
- G += "\\";
457
- push({
458
- type: "text",
459
- value: G
460
- });
461
- continue;
462
- }
463
- const e = /^\\+/.exec(remaining());
464
- let n = 0;
465
- if (e && e[0].length > 2) {
466
- n = e[0].length;
467
- m.index += n;
468
- if (n % 2 !== 0) {
469
- G += "\\";
470
- }
471
- }
472
- if (u.unescape === true) {
473
- G = M();
474
- } else {
475
- G += M();
476
- }
477
- if (m.brackets === 0) {
478
- push({
479
- type: "text",
480
- value: G
481
- });
482
- continue;
483
- }
484
- }
485
- if (m.brackets > 0 && (G !== "]" || B.value === "[" || B.value === "[^")) {
486
- if (u.posix !== false && G === ":") {
487
- const t = B.value.slice(1);
488
- if (t.includes("[")) {
489
- B.posix = true;
490
- if (t.includes(":")) {
491
- const t = B.value.lastIndexOf("[");
492
- const e = B.value.slice(0, t);
493
- const u = B.value.slice(t + 2);
494
- const n = r[u];
495
- if (n) {
496
- B.value = e + n;
497
- m.backtrack = true;
498
- M();
499
- if (!f.output && A.indexOf(B) === 1) {
500
- f.output = C;
501
- }
502
- continue;
503
- }
504
- }
505
- }
506
- }
507
- if (G === "[" && D() !== ":" || G === "-" && D() === "]") {
508
- G = `\\${G}`;
509
- }
510
- if (G === "]" && (B.value === "[" || B.value === "[^")) {
511
- G = `\\${G}`;
512
- }
513
- if (u.posix === true && G === "!" && B.value === "[") {
514
- G = "^";
515
- }
516
- B.value += G;
517
- append({
518
- value: G
519
- });
520
- continue;
521
- }
522
- if (m.quotes === 1 && G !== '"') {
523
- G = o.escapeRegex(G);
524
- B.value += G;
525
- append({
526
- value: G
527
- });
528
- continue;
529
- }
530
- if (G === '"') {
531
- m.quotes = m.quotes === 1 ? 0 : 1;
532
- if (u.keepQuotes === true) {
533
- push({
534
- type: "text",
535
- value: G
536
- });
537
- }
538
- continue;
539
- }
540
- if (G === "(") {
541
- increment("parens");
542
- push({
543
- type: "paren",
544
- value: G
545
- });
546
- continue;
547
- }
548
- if (G === ")") {
549
- if (m.parens === 0 && u.strictBrackets === true) {
550
- throw new SyntaxError(syntaxError("opening", "("));
551
- }
552
- const t = w[w.length - 1];
553
- if (t && m.parens === t.parens + 1) {
554
- extglobClose(w.pop());
555
- continue;
556
- }
557
- push({
558
- type: "paren",
559
- value: G,
560
- output: m.parens ? ")" : "\\)"
561
- });
562
- decrement("parens");
563
- continue;
564
- }
565
- if (G === "[") {
566
- if (u.nobracket === true || !remaining().includes("]")) {
567
- if (u.nobracket !== true && u.strictBrackets === true) {
568
- throw new SyntaxError(syntaxError("closing", "]"));
569
- }
570
- G = `\\${G}`;
571
- } else {
572
- increment("brackets");
573
- }
574
- push({
575
- type: "bracket",
576
- value: G
577
- });
578
- continue;
579
- }
580
- if (G === "]") {
581
- if (u.nobracket === true || B && B.type === "bracket" && B.value.length === 1) {
582
- push({
583
- type: "text",
584
- value: G,
585
- output: `\\${G}`
586
- });
587
- continue;
588
- }
589
- if (m.brackets === 0) {
590
- if (u.strictBrackets === true) {
591
- throw new SyntaxError(syntaxError("opening", "["));
592
- }
593
- push({
594
- type: "text",
595
- value: G,
596
- output: `\\${G}`
597
- });
598
- continue;
599
- }
600
- decrement("brackets");
601
- const t = B.value.slice(1);
602
- if (B.posix !== true && t[0] === "^" && !t.includes("/")) {
603
- G = `/${G}`;
604
- }
605
- B.value += G;
606
- append({
607
- value: G
608
- });
609
- if (u.literalBrackets === false || o.hasRegexChars(t)) {
610
- continue;
611
- }
612
- const e = o.escapeRegex(B.value);
613
- m.output = m.output.slice(0, -B.value.length);
614
- if (u.literalBrackets === true) {
615
- m.output += e;
616
- B.value = e;
617
- continue;
618
- }
619
- B.value = `(${_}${e}|${B.value})`;
620
- m.output += B.value;
621
- continue;
622
- }
623
- if (G === "{" && u.nobrace !== true) {
624
- increment("braces");
625
- const t = {
626
- type: "brace",
627
- value: G,
628
- output: "(",
629
- outputIndex: m.output.length,
630
- tokensIndex: m.tokens.length
631
- };
632
- N.push(t);
633
- push(t);
634
- continue;
635
- }
636
- if (G === "}") {
637
- const t = N[N.length - 1];
638
- if (u.nobrace === true || !t) {
639
- push({
640
- type: "text",
641
- value: G,
642
- output: G
643
- });
644
- continue;
645
- }
646
- let e = ")";
647
- if (t.dots === true) {
648
- const t = A.slice();
649
- const n = [];
650
- for (let e = t.length - 1; e >= 0; e--) {
651
- A.pop();
652
- if (t[e].type === "brace") {
653
- break;
654
- }
655
- if (t[e].type !== "dots") {
656
- n.unshift(t[e].value);
657
- }
658
- }
659
- e = expandRange(n, u);
660
- m.backtrack = true;
661
- }
662
- if (t.comma !== true && t.dots !== true) {
663
- const u = m.output.slice(0, t.outputIndex);
664
- const n = m.tokens.slice(t.tokensIndex);
665
- t.value = t.output = "\\{";
666
- G = e = "\\}";
667
- m.output = u;
668
- for (const t of n) {
669
- m.output += t.output || t.value;
670
- }
671
- }
672
- push({
673
- type: "brace",
674
- value: G,
675
- output: e
676
- });
677
- decrement("braces");
678
- N.pop();
679
- continue;
680
- }
681
- if (G === "|") {
682
- if (w.length > 0) {
683
- w[w.length - 1].conditions++;
684
- }
685
- push({
686
- type: "text",
687
- value: G
688
- });
689
- continue;
690
- }
691
- if (G === ",") {
692
- let t = G;
693
- const e = N[N.length - 1];
694
- if (e && I[I.length - 1] === "braces") {
695
- e.comma = true;
696
- t = "|";
697
- }
698
- push({
699
- type: "comma",
700
- value: G,
701
- output: t
702
- });
703
- continue;
704
- }
705
- if (G === "/") {
706
- if (B.type === "dot" && m.index === m.start + 1) {
707
- m.start = m.index + 1;
708
- m.consumed = "";
709
- m.output = "";
710
- A.pop();
711
- B = f;
712
- continue;
713
- }
714
- push({
715
- type: "slash",
716
- value: G,
717
- output: b
718
- });
719
- continue;
720
- }
721
- if (G === ".") {
722
- if (m.braces > 0 && B.type === "dot") {
723
- if (B.value === ".") B.output = h;
724
- const t = N[N.length - 1];
725
- B.type = "dots";
726
- B.output += G;
727
- B.value += G;
728
- t.dots = true;
729
- continue;
730
- }
731
- if (m.braces + m.parens === 0 && B.type !== "bos" && B.type !== "slash") {
732
- push({
733
- type: "text",
734
- value: G,
735
- output: h
736
- });
737
- continue;
738
- }
739
- push({
740
- type: "dot",
741
- value: G,
742
- output: h
743
- });
744
- continue;
745
- }
746
- if (G === "?") {
747
- const t = B && B.value === "(";
748
- if (!t && u.noextglob !== true && D() === "(" && D(2) !== "?") {
749
- extglobOpen("qmark", G);
750
- continue;
751
- }
752
- if (B && B.type === "paren") {
753
- const t = D();
754
- let e = G;
755
- if (B.value === "(" && !/[!=<:]/.test(t) || t === "<" && !/<([!=]|\w+>)/.test(remaining())) {
756
- e = `\\${G}`;
757
- }
758
- push({
759
- type: "text",
760
- value: G,
761
- output: e
762
- });
763
- continue;
764
- }
765
- if (u.dot !== true && (B.type === "slash" || B.type === "bos")) {
766
- push({
767
- type: "qmark",
768
- value: G,
769
- output: v
770
- });
771
- continue;
772
- }
773
- push({
774
- type: "qmark",
775
- value: G,
776
- output: H
777
- });
778
- continue;
779
- }
780
- if (G === "!") {
781
- if (u.noextglob !== true && D() === "(") {
782
- if (D(2) !== "?" || !/[!=<:]/.test(D(3))) {
783
- extglobOpen("negate", G);
784
- continue;
785
- }
786
- }
787
- if (u.nonegate !== true && m.index === 0) {
788
- negate();
789
- continue;
790
- }
791
- }
792
- if (G === "+") {
793
- if (u.noextglob !== true && D() === "(" && D(2) !== "?") {
794
- extglobOpen("plus", G);
795
- continue;
796
- }
797
- if (B && B.value === "(" || u.regex === false) {
798
- push({
799
- type: "plus",
800
- value: G,
801
- output: g
802
- });
803
- continue;
804
- }
805
- if (B && (B.type === "bracket" || B.type === "paren" || B.type === "brace") || m.parens > 0) {
806
- push({
807
- type: "plus",
808
- value: G
809
- });
810
- continue;
811
- }
812
- push({
813
- type: "plus",
814
- value: g
815
- });
816
- continue;
817
- }
818
- if (G === "@") {
819
- if (u.noextglob !== true && D() === "(" && D(2) !== "?") {
820
- push({
821
- type: "at",
822
- extglob: true,
823
- value: G,
824
- output: ""
825
- });
826
- continue;
827
- }
828
- push({
829
- type: "text",
830
- value: G
831
- });
832
- continue;
833
- }
834
- if (G !== "*") {
835
- if (G === "$" || G === "^") {
836
- G = `\\${G}`;
837
- }
838
- const t = a.exec(remaining());
839
- if (t) {
840
- G += t[0];
841
- m.index += t[0].length;
842
- }
843
- push({
844
- type: "text",
845
- value: G
846
- });
847
- continue;
848
- }
849
- if (B && (B.type === "globstar" || B.star === true)) {
850
- B.type = "star";
851
- B.star = true;
852
- B.value += G;
853
- B.output = k;
854
- m.backtrack = true;
855
- m.globstar = true;
856
- consume(G);
857
- continue;
858
- }
859
- let e = remaining();
860
- if (u.noextglob !== true && /^\([^?]/.test(e)) {
861
- extglobOpen("star", G);
862
- continue;
863
- }
864
- if (B.type === "star") {
865
- if (u.noglobstar === true) {
866
- consume(G);
867
- continue;
868
- }
869
- const n = B.prev;
870
- const o = n.prev;
871
- const s = n.type === "slash" || n.type === "bos";
872
- const r = o && (o.type === "star" || o.type === "globstar");
873
- if (u.bash === true && (!s || e[0] && e[0] !== "/")) {
874
- push({
875
- type: "star",
876
- value: G,
877
- output: ""
878
- });
879
- continue;
880
- }
881
- const a = m.braces > 0 && (n.type === "comma" || n.type === "brace");
882
- const i = w.length && (n.type === "pipe" || n.type === "paren");
883
- if (!s && n.type !== "paren" && !a && !i) {
884
- push({
885
- type: "star",
886
- value: G,
887
- output: ""
888
- });
889
- continue;
890
- }
891
- while (e.slice(0, 3) === "/**") {
892
- const u = t[m.index + 4];
893
- if (u && u !== "/") {
894
- break;
895
- }
896
- e = e.slice(3);
897
- consume("/**", 3);
898
- }
899
- if (n.type === "bos" && eos()) {
900
- B.type = "globstar";
901
- B.value += G;
902
- B.output = globstar(u);
903
- m.output = B.output;
904
- m.globstar = true;
905
- consume(G);
906
- continue;
907
- }
908
- if (n.type === "slash" && n.prev.type !== "bos" && !r && eos()) {
909
- m.output = m.output.slice(0, -(n.output + B.output).length);
910
- n.output = `(?:${n.output}`;
911
- B.type = "globstar";
912
- B.output = globstar(u) + (u.strictSlashes ? ")" : "|$)");
913
- B.value += G;
914
- m.globstar = true;
915
- m.output += n.output + B.output;
916
- consume(G);
917
- continue;
918
- }
919
- if (n.type === "slash" && n.prev.type !== "bos" && e[0] === "/") {
920
- const t = e[1] !== void 0 ? "|$" : "";
921
- m.output = m.output.slice(0, -(n.output + B.output).length);
922
- n.output = `(?:${n.output}`;
923
- B.type = "globstar";
924
- B.output = `${globstar(u)}${b}|${b}${t})`;
925
- B.value += G;
926
- m.output += n.output + B.output;
927
- m.globstar = true;
928
- consume(G + M());
929
- push({
930
- type: "slash",
931
- value: "/",
932
- output: ""
933
- });
934
- continue;
935
- }
936
- if (n.type === "bos" && e[0] === "/") {
937
- B.type = "globstar";
938
- B.value += G;
939
- B.output = `(?:^|${b}|${globstar(u)}${b})`;
940
- m.output = B.output;
941
- m.globstar = true;
942
- consume(G + M());
943
- push({
944
- type: "slash",
945
- value: "/",
946
- output: ""
947
- });
948
- continue;
949
- }
950
- m.output = m.output.slice(0, -B.output.length);
951
- B.type = "globstar";
952
- B.output = globstar(u);
953
- B.value += G;
954
- m.output += B.output;
955
- m.globstar = true;
956
- consume(G);
957
- continue;
958
- }
959
- const n = {
960
- type: "star",
961
- value: G,
962
- output: k
963
- };
964
- if (u.bash === true) {
965
- n.output = ".*?";
966
- if (B.type === "bos" || B.type === "slash") {
967
- n.output = T + n.output;
968
- }
969
- push(n);
970
- continue;
971
- }
972
- if (B && (B.type === "bracket" || B.type === "paren") && u.regex === true) {
973
- n.output = G;
974
- push(n);
975
- continue;
976
- }
977
- if (m.index === m.start || B.type === "slash" || B.type === "dot") {
978
- if (B.type === "dot") {
979
- m.output += x;
980
- B.output += x;
981
- } else if (u.dot === true) {
982
- m.output += S;
983
- B.output += S;
984
- } else {
985
- m.output += T;
986
- B.output += T;
987
- }
988
- if (D() !== "*") {
989
- m.output += C;
990
- B.output += C;
991
- }
992
- }
993
- push(n);
994
- }
995
- while (m.brackets > 0) {
996
- if (u.strictBrackets === true) throw new SyntaxError(syntaxError("closing", "]"));
997
- m.output = o.escapeLast(m.output, "[");
998
- decrement("brackets");
999
- }
1000
- while (m.parens > 0) {
1001
- if (u.strictBrackets === true) throw new SyntaxError(syntaxError("closing", ")"));
1002
- m.output = o.escapeLast(m.output, "(");
1003
- decrement("parens");
1004
- }
1005
- while (m.braces > 0) {
1006
- if (u.strictBrackets === true) throw new SyntaxError(syntaxError("closing", "}"));
1007
- m.output = o.escapeLast(m.output, "{");
1008
- decrement("braces");
1009
- }
1010
- if (u.strictSlashes !== true && (B.type === "star" || B.type === "bracket")) {
1011
- push({
1012
- type: "maybe_slash",
1013
- value: "",
1014
- output: `${b}?`
1015
- });
1016
- }
1017
- if (m.backtrack === true) {
1018
- m.output = "";
1019
- for (const t of m.tokens) {
1020
- m.output += t.output != null ? t.output : t.value;
1021
- if (t.suffix) {
1022
- m.output += t.suffix;
1023
- }
1024
- }
1025
- }
1026
- return m;
1027
- };
1028
- parse.fastpaths = (t, e) => {
1029
- const u = {
1030
- ...e
1031
- };
1032
- const r = typeof u.maxLength === "number" ? Math.min(s, u.maxLength) : s;
1033
- const a = t.length;
1034
- if (a > r) {
1035
- throw new SyntaxError(`Input length: ${a}, exceeds maximum allowed length: ${r}`);
1036
- }
1037
- t = c[t] || t;
1038
- const {
1039
- DOT_LITERAL: i,
1040
- SLASH_LITERAL: p,
1041
- ONE_CHAR: l,
1042
- DOTS_SLASH: f,
1043
- NO_DOT: A,
1044
- NO_DOTS: _,
1045
- NO_DOTS_SLASH: R,
1046
- STAR: E,
1047
- START_ANCHOR: h
1048
- } = n.globChars(u.windows);
1049
- const g = u.dot ? _ : A;
1050
- const b = u.dot ? R : A;
1051
- const C = u.capture ? "" : "?:";
1052
- const y = {
1053
- negated: false,
1054
- prefix: ""
1055
- };
1056
- let $ = u.bash === true ? ".*?" : E;
1057
- if (u.capture) {
1058
- $ = `(${$})`;
1059
- }
1060
- const globstar = t => {
1061
- if (t.noglobstar === true) return $;
1062
- return `(${C}(?:(?!${h}${t.dot ? f : i}).)*?)`;
1063
- };
1064
- const create = t => {
1065
- switch (t) {
1066
- case "*":
1067
- return `${g}${l}${$}`;
1068
- case ".*":
1069
- return `${i}${l}${$}`;
1070
- case "*.*":
1071
- return `${g}${$}${i}${l}${$}`;
1072
- case "*/*":
1073
- return `${g}${$}${p}${l}${b}${$}`;
1074
- case "**":
1075
- return g + globstar(u);
1076
- case "**/*":
1077
- return `(?:${g}${globstar(u)}${p})?${b}${l}${$}`;
1078
- case "**/*.*":
1079
- return `(?:${g}${globstar(u)}${p})?${b}${$}${i}${l}${$}`;
1080
- case "**/.*":
1081
- return `(?:${g}${globstar(u)}${p})?${i}${l}${$}`;
1082
- default:
1083
- {
1084
- const e = /^(.*?)\.(\w+)$/.exec(t);
1085
- if (!e) return;
1086
- const u = create(e[1]);
1087
- if (!u) return;
1088
- return u + i + e[2];
1089
- }
1090
- }
1091
- };
1092
- const x = o.removePrefix(t, y);
1093
- let S = create(x);
1094
- if (S && u.strictSlashes !== true) {
1095
- S += `${p}?`;
1096
- }
1097
- return S;
1098
- };
1099
- t.exports = parse;
1100
- },
1101
- 510: (t, e, u) => {
1102
- const n = u(716);
1103
- const o = u(697);
1104
- const s = u(96);
1105
- const r = u(154);
1106
- const isObject = t => t && typeof t === "object" && !Array.isArray(t);
1107
- const picomatch = (t, e, u = false) => {
1108
- if (Array.isArray(t)) {
1109
- const n = t.map(t => picomatch(t, e, u));
1110
- const arrayMatcher = t => {
1111
- for (const e of n) {
1112
- const u = e(t);
1113
- if (u) return u;
1114
- }
1115
- return false;
1116
- };
1117
- return arrayMatcher;
1118
- }
1119
- const n = isObject(t) && t.tokens && t.input;
1120
- if (t === "" || typeof t !== "string" && !n) {
1121
- throw new TypeError("Expected pattern to be a non-empty string");
1122
- }
1123
- const o = e || {};
1124
- const s = o.windows;
1125
- const r = n ? picomatch.compileRe(t, e) : picomatch.makeRe(t, e, false, true);
1126
- const a = r.state;
1127
- delete r.state;
1128
- let isIgnored = () => false;
1129
- if (o.ignore) {
1130
- const t = {
1131
- ...e,
1132
- ignore: null,
1133
- onMatch: null,
1134
- onResult: null
1135
- };
1136
- isIgnored = picomatch(o.ignore, t, u);
1137
- }
1138
- const matcher = (u, n = false) => {
1139
- const {
1140
- isMatch: i,
1141
- match: c,
1142
- output: p
1143
- } = picomatch.test(u, r, e, {
1144
- glob: t,
1145
- posix: s
1146
- });
1147
- const l = {
1148
- glob: t,
1149
- state: a,
1150
- regex: r,
1151
- posix: s,
1152
- input: u,
1153
- output: p,
1154
- match: c,
1155
- isMatch: i
1156
- };
1157
- if (typeof o.onResult === "function") {
1158
- o.onResult(l);
1159
- }
1160
- if (i === false) {
1161
- l.isMatch = false;
1162
- return n ? l : false;
1163
- }
1164
- if (isIgnored(u)) {
1165
- if (typeof o.onIgnore === "function") {
1166
- o.onIgnore(l);
1167
- }
1168
- l.isMatch = false;
1169
- return n ? l : false;
1170
- }
1171
- if (typeof o.onMatch === "function") {
1172
- o.onMatch(l);
1173
- }
1174
- return n ? l : true;
1175
- };
1176
- if (u) {
1177
- matcher.state = a;
1178
- }
1179
- return matcher;
1180
- };
1181
- picomatch.test = (t, e, u, {
1182
- glob: n,
1183
- posix: o
1184
- } = {}) => {
1185
- if (typeof t !== "string") {
1186
- throw new TypeError("Expected input to be a string");
1187
- }
1188
- if (t === "") {
1189
- return {
1190
- isMatch: false,
1191
- output: ""
1192
- };
1193
- }
1194
- const r = u || {};
1195
- const a = r.format || (o ? s.toPosixSlashes : null);
1196
- let i = t === n;
1197
- let c = i && a ? a(t) : t;
1198
- if (i === false) {
1199
- c = a ? a(t) : t;
1200
- i = c === n;
1201
- }
1202
- if (i === false || r.capture === true) {
1203
- if (r.matchBase === true || r.basename === true) {
1204
- i = picomatch.matchBase(t, e, u, o);
1205
- } else {
1206
- i = e.exec(c);
1207
- }
1208
- }
1209
- return {
1210
- isMatch: Boolean(i),
1211
- match: i,
1212
- output: c
1213
- };
1214
- };
1215
- picomatch.matchBase = (t, e, u) => {
1216
- const n = e instanceof RegExp ? e : picomatch.makeRe(e, u);
1217
- return n.test(s.basename(t));
1218
- };
1219
- picomatch.isMatch = (t, e, u) => picomatch(e, u)(t);
1220
- picomatch.parse = (t, e) => {
1221
- if (Array.isArray(t)) return t.map(t => picomatch.parse(t, e));
1222
- return o(t, {
1223
- ...e,
1224
- fastpaths: false
1225
- });
1226
- };
1227
- picomatch.scan = (t, e) => n(t, e);
1228
- picomatch.compileRe = (t, e, u = false, n = false) => {
1229
- if (u === true) {
1230
- return t.output;
1231
- }
1232
- const o = e || {};
1233
- const s = o.contains ? "" : "^";
1234
- const r = o.contains ? "" : "$";
1235
- let a = `${s}(?:${t.output})${r}`;
1236
- if (t && t.negated === true) {
1237
- a = `^(?!${a}).*$`;
1238
- }
1239
- const i = picomatch.toRegex(a, e);
1240
- if (n === true) {
1241
- i.state = t;
1242
- }
1243
- return i;
1244
- };
1245
- picomatch.makeRe = (t, e = {}, u = false, n = false) => {
1246
- if (!t || typeof t !== "string") {
1247
- throw new TypeError("Expected a non-empty string");
1248
- }
1249
- let s = {
1250
- negated: false,
1251
- fastpaths: true
1252
- };
1253
- if (e.fastpaths !== false && (t[0] === "." || t[0] === "*")) {
1254
- s.output = o.fastpaths(t, e);
1255
- }
1256
- if (!s.output) {
1257
- s = o(t, e);
1258
- }
1259
- return picomatch.compileRe(s, e, u, n);
1260
- };
1261
- picomatch.toRegex = (t, e) => {
1262
- try {
1263
- const u = e || {};
1264
- return new RegExp(t, u.flags || (u.nocase ? "i" : ""));
1265
- } catch (t) {
1266
- if (e && e.debug === true) throw t;
1267
- return /$^/;
1268
- }
1269
- };
1270
- picomatch.constants = r;
1271
- t.exports = picomatch;
1272
- },
1273
- 716: (t, e, u) => {
1274
- const n = u(96);
1275
- const {
1276
- CHAR_ASTERISK: o,
1277
- CHAR_AT: s,
1278
- CHAR_BACKWARD_SLASH: r,
1279
- CHAR_COMMA: a,
1280
- CHAR_DOT: i,
1281
- CHAR_EXCLAMATION_MARK: c,
1282
- CHAR_FORWARD_SLASH: p,
1283
- CHAR_LEFT_CURLY_BRACE: l,
1284
- CHAR_LEFT_PARENTHESES: f,
1285
- CHAR_LEFT_SQUARE_BRACKET: A,
1286
- CHAR_PLUS: _,
1287
- CHAR_QUESTION_MARK: R,
1288
- CHAR_RIGHT_CURLY_BRACE: E,
1289
- CHAR_RIGHT_PARENTHESES: h,
1290
- CHAR_RIGHT_SQUARE_BRACKET: g
1291
- } = u(154);
1292
- const isPathSeparator = t => t === p || t === r;
1293
- const depth = t => {
1294
- if (t.isPrefix !== true) {
1295
- t.depth = t.isGlobstar ? Infinity : 1;
1296
- }
1297
- };
1298
- const scan = (t, e) => {
1299
- const u = e || {};
1300
- const b = t.length - 1;
1301
- const C = u.parts === true || u.scanToEnd === true;
1302
- const y = [];
1303
- const $ = [];
1304
- const x = [];
1305
- let S = t;
1306
- let H = -1;
1307
- let v = 0;
1308
- let d = 0;
1309
- let L = false;
1310
- let T = false;
1311
- let O = false;
1312
- let k = false;
1313
- let m = false;
1314
- let w = false;
1315
- let N = false;
1316
- let I = false;
1317
- let B = false;
1318
- let G = false;
1319
- let D = 0;
1320
- let M;
1321
- let P;
1322
- let K = {
1323
- value: "",
1324
- depth: 0,
1325
- isGlob: false
1326
- };
1327
- const eos = () => H >= b;
1328
- const peek = () => S.charCodeAt(H + 1);
1329
- const advance = () => {
1330
- M = P;
1331
- return S.charCodeAt(++H);
1332
- };
1333
- while (H < b) {
1334
- P = advance();
1335
- let t;
1336
- if (P === r) {
1337
- N = K.backslashes = true;
1338
- P = advance();
1339
- if (P === l) {
1340
- w = true;
1341
- }
1342
- continue;
1343
- }
1344
- if (w === true || P === l) {
1345
- D++;
1346
- while (eos() !== true && (P = advance())) {
1347
- if (P === r) {
1348
- N = K.backslashes = true;
1349
- advance();
1350
- continue;
1351
- }
1352
- if (P === l) {
1353
- D++;
1354
- continue;
1355
- }
1356
- if (w !== true && P === i && (P = advance()) === i) {
1357
- L = K.isBrace = true;
1358
- O = K.isGlob = true;
1359
- G = true;
1360
- if (C === true) {
1361
- continue;
1362
- }
1363
- break;
1364
- }
1365
- if (w !== true && P === a) {
1366
- L = K.isBrace = true;
1367
- O = K.isGlob = true;
1368
- G = true;
1369
- if (C === true) {
1370
- continue;
1371
- }
1372
- break;
1373
- }
1374
- if (P === E) {
1375
- D--;
1376
- if (D === 0) {
1377
- w = false;
1378
- L = K.isBrace = true;
1379
- G = true;
1380
- break;
1381
- }
1382
- }
1383
- }
1384
- if (C === true) {
1385
- continue;
1386
- }
1387
- break;
1388
- }
1389
- if (P === p) {
1390
- y.push(H);
1391
- $.push(K);
1392
- K = {
1393
- value: "",
1394
- depth: 0,
1395
- isGlob: false
1396
- };
1397
- if (G === true) continue;
1398
- if (M === i && H === v + 1) {
1399
- v += 2;
1400
- continue;
1401
- }
1402
- d = H + 1;
1403
- continue;
1404
- }
1405
- if (u.noext !== true) {
1406
- const t = P === _ || P === s || P === o || P === R || P === c;
1407
- if (t === true && peek() === f) {
1408
- O = K.isGlob = true;
1409
- k = K.isExtglob = true;
1410
- G = true;
1411
- if (P === c && H === v) {
1412
- B = true;
1413
- }
1414
- if (C === true) {
1415
- while (eos() !== true && (P = advance())) {
1416
- if (P === r) {
1417
- N = K.backslashes = true;
1418
- P = advance();
1419
- continue;
1420
- }
1421
- if (P === h) {
1422
- O = K.isGlob = true;
1423
- G = true;
1424
- break;
1425
- }
1426
- }
1427
- continue;
1428
- }
1429
- break;
1430
- }
1431
- }
1432
- if (P === o) {
1433
- if (M === o) m = K.isGlobstar = true;
1434
- O = K.isGlob = true;
1435
- G = true;
1436
- if (C === true) {
1437
- continue;
1438
- }
1439
- break;
1440
- }
1441
- if (P === R) {
1442
- O = K.isGlob = true;
1443
- G = true;
1444
- if (C === true) {
1445
- continue;
1446
- }
1447
- break;
1448
- }
1449
- if (P === A) {
1450
- while (eos() !== true && (t = advance())) {
1451
- if (t === r) {
1452
- N = K.backslashes = true;
1453
- advance();
1454
- continue;
1455
- }
1456
- if (t === g) {
1457
- T = K.isBracket = true;
1458
- O = K.isGlob = true;
1459
- G = true;
1460
- break;
1461
- }
1462
- }
1463
- if (C === true) {
1464
- continue;
1465
- }
1466
- break;
1467
- }
1468
- if (u.nonegate !== true && P === c && H === v) {
1469
- I = K.negated = true;
1470
- v++;
1471
- continue;
1472
- }
1473
- if (u.noparen !== true && P === f) {
1474
- O = K.isGlob = true;
1475
- if (C === true) {
1476
- while (eos() !== true && (P = advance())) {
1477
- if (P === f) {
1478
- N = K.backslashes = true;
1479
- P = advance();
1480
- continue;
1481
- }
1482
- if (P === h) {
1483
- G = true;
1484
- break;
1485
- }
1486
- }
1487
- continue;
1488
- }
1489
- break;
1490
- }
1491
- if (O === true) {
1492
- G = true;
1493
- if (C === true) {
1494
- continue;
1495
- }
1496
- break;
1497
- }
1498
- }
1499
- if (u.noext === true) {
1500
- k = false;
1501
- O = false;
1502
- }
1503
- let U = S;
1504
- let X = "";
1505
- let F = "";
1506
- if (v > 0) {
1507
- X = S.slice(0, v);
1508
- S = S.slice(v);
1509
- d -= v;
1510
- }
1511
- if (U && O === true && d > 0) {
1512
- U = S.slice(0, d);
1513
- F = S.slice(d);
1514
- } else if (O === true) {
1515
- U = "";
1516
- F = S;
1517
- } else {
1518
- U = S;
1519
- }
1520
- if (U && U !== "" && U !== "/" && U !== S) {
1521
- if (isPathSeparator(U.charCodeAt(U.length - 1))) {
1522
- U = U.slice(0, -1);
1523
- }
1524
- }
1525
- if (u.unescape === true) {
1526
- if (F) F = n.removeBackslashes(F);
1527
- if (U && N === true) {
1528
- U = n.removeBackslashes(U);
1529
- }
1530
- }
1531
- const Q = {
1532
- prefix: X,
1533
- input: t,
1534
- start: v,
1535
- base: U,
1536
- glob: F,
1537
- isBrace: L,
1538
- isBracket: T,
1539
- isGlob: O,
1540
- isExtglob: k,
1541
- isGlobstar: m,
1542
- negated: I,
1543
- negatedExtglob: B
1544
- };
1545
- if (u.tokens === true) {
1546
- Q.maxDepth = 0;
1547
- if (!isPathSeparator(P)) {
1548
- $.push(K);
1549
- }
1550
- Q.tokens = $;
1551
- }
1552
- if (u.parts === true || u.tokens === true) {
1553
- let e;
1554
- for (let n = 0; n < y.length; n++) {
1555
- const o = e ? e + 1 : v;
1556
- const s = y[n];
1557
- const r = t.slice(o, s);
1558
- if (u.tokens) {
1559
- if (n === 0 && v !== 0) {
1560
- $[n].isPrefix = true;
1561
- $[n].value = X;
1562
- } else {
1563
- $[n].value = r;
1564
- }
1565
- depth($[n]);
1566
- Q.maxDepth += $[n].depth;
1567
- }
1568
- if (n !== 0 || r !== "") {
1569
- x.push(r);
1570
- }
1571
- e = s;
1572
- }
1573
- if (e && e + 1 < t.length) {
1574
- const n = t.slice(e + 1);
1575
- x.push(n);
1576
- if (u.tokens) {
1577
- $[$.length - 1].value = n;
1578
- depth($[$.length - 1]);
1579
- Q.maxDepth += $[$.length - 1].depth;
1580
- }
1581
- }
1582
- Q.slashes = y;
1583
- Q.parts = x;
1584
- }
1585
- return Q;
1586
- };
1587
- t.exports = scan;
1588
- },
1589
- 96: (t, e, u) => {
1590
- const {
1591
- REGEX_BACKSLASH: n,
1592
- REGEX_REMOVE_BACKSLASH: o,
1593
- REGEX_SPECIAL_CHARS: s,
1594
- REGEX_SPECIAL_CHARS_GLOBAL: r
1595
- } = u(154);
1596
- e.isObject = t => t !== null && typeof t === "object" && !Array.isArray(t);
1597
- e.hasRegexChars = t => s.test(t);
1598
- e.isRegexChar = t => t.length === 1 && e.hasRegexChars(t);
1599
- e.escapeRegex = t => t.replace(r, "\\$1");
1600
- e.toPosixSlashes = t => t.replace(n, "/");
1601
- e.removeBackslashes = t => t.replace(o, t => t === "\\" ? "" : t);
1602
- e.escapeLast = (t, u, n) => {
1603
- const o = t.lastIndexOf(u, n);
1604
- if (o === -1) return t;
1605
- if (t[o - 1] === "\\") return e.escapeLast(t, u, o - 1);
1606
- return `${t.slice(0, o)}\\${t.slice(o)}`;
1607
- };
1608
- e.removePrefix = (t, e = {}) => {
1609
- let u = t;
1610
- if (u.startsWith("./")) {
1611
- u = u.slice(2);
1612
- e.prefix = "./";
1613
- }
1614
- return u;
1615
- };
1616
- e.wrapOutput = (t, e = {}, u = {}) => {
1617
- const n = u.contains ? "" : "^";
1618
- const o = u.contains ? "" : "$";
1619
- let s = `${n}(?:${t})${o}`;
1620
- if (e.negated === true) {
1621
- s = `(?:^(?!${s}).*$)`;
1622
- }
1623
- return s;
1624
- };
1625
- e.basename = (t, {
1626
- windows: e
1627
- } = {}) => {
1628
- const u = t.split(e ? /[\\/]/ : "/");
1629
- const n = u[u.length - 1];
1630
- if (n === "") {
1631
- return u[u.length - 2];
1632
- }
1633
- return n;
1634
- };
1635
- }
1636
- };
1637
- var e = {};
1638
- function __nccwpck_require__(u) {
1639
- var n = e[u];
1640
- if (n !== undefined) {
1641
- return n.exports;
1642
- }
1643
- var o = e[u] = {
1644
- exports: {}
1645
- };
1646
- var s = true;
1647
- try {
1648
- t[u](o, o.exports, __nccwpck_require__);
1649
- s = false;
1650
- } finally {
1651
- if (s) delete e[u];
1652
- }
1653
- return o.exports;
1654
- }
1655
- if (typeof __nccwpck_require__ !== "undefined") __nccwpck_require__.ab = __dirname + "/";
1656
- var u = __nccwpck_require__(170);
1657
- picomatch.exports = u;
1658
- })();
1659
- return picomatch.exports;
1660
- }
1661
-
1662
- export { requirePicomatch as __require };