@amoa/casting 0.1.2 → 0.1.4

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 (331) hide show
  1. package/dist/_virtual/_commonjsHelpers.js +5 -0
  2. package/dist/_virtual/_interop_require_default.js +3 -0
  3. package/dist/_virtual/_interop_require_wildcard.js +3 -0
  4. package/dist/_virtual/action-async-storage-instance.js +3 -0
  5. package/dist/_virtual/action-async-storage.external.js +3 -0
  6. package/dist/_virtual/add-base-path.js +3 -0
  7. package/dist/_virtual/add-locale.js +3 -0
  8. package/dist/_virtual/add-locale2.js +3 -0
  9. package/dist/_virtual/add-path-prefix.js +3 -0
  10. package/dist/_virtual/app-paths.js +3 -0
  11. package/dist/_virtual/app-router-context.shared-runtime.js +3 -0
  12. package/dist/_virtual/app-router-headers.js +3 -0
  13. package/dist/_virtual/app.js +3 -0
  14. package/dist/_virtual/async-local-storage.js +3 -0
  15. package/dist/_virtual/bailout-to-csr.js +3 -0
  16. package/dist/_virtual/boundary-constants.js +3 -0
  17. package/dist/_virtual/constants.js +3 -0
  18. package/dist/_virtual/deployment-id.js +3 -0
  19. package/dist/_virtual/detect-domain-locale.js +3 -0
  20. package/dist/_virtual/detect-domain-locale2.js +3 -0
  21. package/dist/_virtual/dynamic-rendering-utils.js +3 -0
  22. package/dist/_virtual/dynamic-rendering.js +3 -0
  23. package/dist/_virtual/ensure-leading-slash.js +3 -0
  24. package/dist/_virtual/error-once.js +3 -0
  25. package/dist/_virtual/escape-regexp.js +3 -0
  26. package/dist/_virtual/find-closest-quality.js +3 -0
  27. package/dist/_virtual/forbidden.js +3 -0
  28. package/dist/_virtual/format-url.js +3 -0
  29. package/dist/_virtual/get-domain-locale.js +3 -0
  30. package/dist/_virtual/get-dynamic-param.js +3 -0
  31. package/dist/_virtual/get-img-props.js +3 -0
  32. package/dist/_virtual/get-segment-param.js +3 -0
  33. package/dist/_virtual/has-base-path.js +3 -0
  34. package/dist/_virtual/head-manager-context.shared-runtime.js +3 -0
  35. package/dist/_virtual/head.js +3 -0
  36. package/dist/_virtual/hooks-client-context.shared-runtime.js +3 -0
  37. package/dist/_virtual/hooks-server-context.js +3 -0
  38. package/dist/_virtual/http-access-fallback.js +3 -0
  39. package/dist/_virtual/image-blur-svg.js +3 -0
  40. package/dist/_virtual/image-component.js +3 -0
  41. package/dist/_virtual/image-config-context.shared-runtime.js +3 -0
  42. package/dist/_virtual/image-config.js +3 -0
  43. package/dist/_virtual/image-external.js +3 -0
  44. package/dist/_virtual/image-loader.js +3 -0
  45. package/dist/_virtual/image.js +7 -0
  46. package/dist/_virtual/index.js +3 -0
  47. package/dist/_virtual/index2.js +3 -0
  48. package/dist/_virtual/index3.js +3 -0
  49. package/dist/_virtual/interception-prefix-from-param-type.js +3 -0
  50. package/dist/_virtual/interception-routes.js +3 -0
  51. package/dist/_virtual/interpolate-as.js +3 -0
  52. package/dist/_virtual/invariant-error.js +3 -0
  53. package/dist/_virtual/is-dynamic.js +3 -0
  54. package/dist/_virtual/is-local-url.js +3 -0
  55. package/dist/_virtual/is-next-router-error.js +3 -0
  56. package/dist/_virtual/is-postpone.js +3 -0
  57. package/dist/_virtual/jsx-runtime.js +5 -0
  58. package/dist/_virtual/jsx-runtime2.js +3 -0
  59. package/dist/_virtual/link.js +7 -0
  60. package/dist/_virtual/link2.js +3 -0
  61. package/dist/_virtual/match-local-pattern.js +3 -0
  62. package/dist/_virtual/match-remote-pattern.js +3 -0
  63. package/dist/_virtual/navigation.js +3 -0
  64. package/dist/_virtual/navigation.react-server.js +3 -0
  65. package/dist/_virtual/navigation2.js +3 -0
  66. package/dist/_virtual/normalize-locale-path.js +3 -0
  67. package/dist/_virtual/normalize-locale-path2.js +3 -0
  68. package/dist/_virtual/normalize-trailing-slash.js +3 -0
  69. package/dist/_virtual/not-found.js +3 -0
  70. package/dist/_virtual/omit.js +3 -0
  71. package/dist/_virtual/parse-loader-tree.js +3 -0
  72. package/dist/_virtual/parse-path.js +3 -0
  73. package/dist/_virtual/path-has-prefix.js +3 -0
  74. package/dist/_virtual/querystring.js +3 -0
  75. package/dist/_virtual/react-jsx-runtime.development.js +3 -0
  76. package/dist/_virtual/react-jsx-runtime.production.js +3 -0
  77. package/dist/_virtual/readonly-url-search-params.js +3 -0
  78. package/dist/_virtual/redirect-error.js +3 -0
  79. package/dist/_virtual/redirect-status-code.js +3 -0
  80. package/dist/_virtual/redirect.js +3 -0
  81. package/dist/_virtual/remove-trailing-slash.js +3 -0
  82. package/dist/_virtual/request-idle-callback.js +3 -0
  83. package/dist/_virtual/resolve-href.js +3 -0
  84. package/dist/_virtual/resolve-param-value.js +3 -0
  85. package/dist/_virtual/route-match-utils.js +3 -0
  86. package/dist/_virtual/route-matcher.js +3 -0
  87. package/dist/_virtual/route-pattern-normalizer.js +3 -0
  88. package/dist/_virtual/route-regex.js +3 -0
  89. package/dist/_virtual/router-context.shared-runtime.js +3 -0
  90. package/dist/_virtual/scheduler.js +3 -0
  91. package/dist/_virtual/segment.js +3 -0
  92. package/dist/_virtual/server-inserted-html.shared-runtime.js +3 -0
  93. package/dist/_virtual/side-effect.js +3 -0
  94. package/dist/_virtual/sorted-routes.js +3 -0
  95. package/dist/_virtual/static-generation-bailout.js +3 -0
  96. package/dist/_virtual/unauthorized.js +3 -0
  97. package/dist/_virtual/unrecognized-action-error.js +3 -0
  98. package/dist/_virtual/unstable-rethrow.browser.js +3 -0
  99. package/dist/_virtual/unstable-rethrow.js +3 -0
  100. package/dist/_virtual/unstable-rethrow.server.js +3 -0
  101. package/dist/_virtual/use-intersection.js +3 -0
  102. package/dist/_virtual/use-merged-ref.js +3 -0
  103. package/dist/_virtual/utils.js +3 -0
  104. package/dist/_virtual/warn-once.js +3 -0
  105. package/dist/_virtual/work-async-storage-instance.js +3 -0
  106. package/dist/_virtual/work-async-storage.external.js +3 -0
  107. package/dist/_virtual/work-unit-async-storage-instance.js +3 -0
  108. package/dist/_virtual/work-unit-async-storage.external.js +3 -0
  109. package/dist/config/config.json.js +37 -0
  110. package/dist/export/index.js +46 -0
  111. package/dist/form/buttons/index.js +13 -0
  112. package/dist/form/buttons/index.module.css.js +7 -0
  113. package/dist/form/caption/index.js +13 -0
  114. package/dist/form/caption/index.module.css.js +7 -0
  115. package/dist/form/description/index.js +13 -0
  116. package/dist/form/description/index.module.css.js +7 -0
  117. package/dist/form/email/index.js +24 -0
  118. package/dist/form/index.js +17 -0
  119. package/dist/form/index.module.css.js +7 -0
  120. package/dist/form/inputs/index.js +13 -0
  121. package/dist/form/inputs/index.module.css.js +7 -0
  122. package/dist/form/password/index.js +24 -0
  123. package/dist/node_modules/@swc/helpers/cjs/_interop_require_default.js +16 -0
  124. package/dist/node_modules/@swc/helpers/cjs/_interop_require_wildcard.js +48 -0
  125. package/dist/node_modules/next/dist/client/add-base-path.js +38 -0
  126. package/dist/node_modules/next/dist/client/add-locale.js +39 -0
  127. package/dist/node_modules/next/dist/client/components/app-router-headers.js +112 -0
  128. package/dist/node_modules/next/dist/client/components/forbidden.js +62 -0
  129. package/dist/node_modules/next/dist/client/components/hooks-server-context.js +50 -0
  130. package/dist/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js +77 -0
  131. package/dist/node_modules/next/dist/client/components/is-next-router-error.js +37 -0
  132. package/dist/node_modules/next/dist/client/components/navigation.js +198 -0
  133. package/dist/node_modules/next/dist/client/components/navigation.react-server.js +80 -0
  134. package/dist/node_modules/next/dist/client/components/not-found.js +56 -0
  135. package/dist/node_modules/next/dist/client/components/readonly-url-search-params.js +58 -0
  136. package/dist/node_modules/next/dist/client/components/redirect-error.js +60 -0
  137. package/dist/node_modules/next/dist/client/components/redirect-status-code.js +36 -0
  138. package/dist/node_modules/next/dist/client/components/redirect.js +98 -0
  139. package/dist/node_modules/next/dist/client/components/static-generation-bailout.js +50 -0
  140. package/dist/node_modules/next/dist/client/components/unauthorized.js +63 -0
  141. package/dist/node_modules/next/dist/client/components/unrecognized-action-error.js +47 -0
  142. package/dist/node_modules/next/dist/client/components/unstable-rethrow.browser.js +42 -0
  143. package/dist/node_modules/next/dist/client/components/unstable-rethrow.js +41 -0
  144. package/dist/node_modules/next/dist/client/components/unstable-rethrow.server.js +50 -0
  145. package/dist/node_modules/next/dist/client/detect-domain-locale.js +36 -0
  146. package/dist/node_modules/next/dist/client/get-domain-locale.js +51 -0
  147. package/dist/node_modules/next/dist/client/has-base-path.js +36 -0
  148. package/dist/node_modules/next/dist/client/image-component.js +343 -0
  149. package/dist/node_modules/next/dist/client/link.js +466 -0
  150. package/dist/node_modules/next/dist/client/normalize-locale-path.js +40 -0
  151. package/dist/node_modules/next/dist/client/normalize-trailing-slash.js +54 -0
  152. package/dist/node_modules/next/dist/client/request-idle-callback.js +52 -0
  153. package/dist/node_modules/next/dist/client/resolve-href.js +124 -0
  154. package/dist/node_modules/next/dist/client/use-intersection.js +126 -0
  155. package/dist/node_modules/next/dist/client/use-merged-ref.js +79 -0
  156. package/dist/node_modules/next/dist/compiled/path-to-regexp/index.js +439 -0
  157. package/dist/node_modules/next/dist/compiled/picomatch/index.js +1662 -0
  158. package/dist/node_modules/next/dist/lib/constants.js +339 -0
  159. package/dist/node_modules/next/dist/lib/framework/boundary-constants.js +41 -0
  160. package/dist/node_modules/next/dist/lib/route-pattern-normalizer.js +114 -0
  161. package/dist/node_modules/next/dist/lib/scheduler.js +69 -0
  162. package/dist/node_modules/next/dist/server/app-render/action-async-storage-instance.js +26 -0
  163. package/dist/node_modules/next/dist/server/app-render/action-async-storage.external.js +25 -0
  164. package/dist/node_modules/next/dist/server/app-render/async-local-storage.js +83 -0
  165. package/dist/node_modules/next/dist/server/app-render/dynamic-rendering.js +804 -0
  166. package/dist/node_modules/next/dist/server/app-render/work-async-storage-instance.js +26 -0
  167. package/dist/node_modules/next/dist/server/app-render/work-async-storage.external.js +25 -0
  168. package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js +26 -0
  169. package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js +221 -0
  170. package/dist/node_modules/next/dist/server/dynamic-rendering-utils.js +90 -0
  171. package/dist/node_modules/next/dist/server/lib/router-utils/is-postpone.js +27 -0
  172. package/dist/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js +56 -0
  173. package/dist/node_modules/next/dist/shared/lib/deployment-id.js +41 -0
  174. package/dist/node_modules/next/dist/shared/lib/escape-regexp.js +32 -0
  175. package/dist/node_modules/next/dist/shared/lib/find-closest-quality.js +30 -0
  176. package/dist/node_modules/next/dist/shared/lib/get-img-props.js +617 -0
  177. package/dist/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.js +31 -0
  178. package/dist/node_modules/next/dist/shared/lib/head.js +177 -0
  179. package/dist/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js +65 -0
  180. package/dist/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js +36 -0
  181. package/dist/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js +66 -0
  182. package/dist/node_modules/next/dist/shared/lib/image-blur-svg.js +42 -0
  183. package/dist/node_modules/next/dist/shared/lib/image-config-context.shared-runtime.js +33 -0
  184. package/dist/node_modules/next/dist/shared/lib/image-config.js +56 -0
  185. package/dist/node_modules/next/dist/shared/lib/image-external.js +60 -0
  186. package/dist/node_modules/next/dist/shared/lib/image-loader.js +119 -0
  187. package/dist/node_modules/next/dist/shared/lib/invariant-error.js +29 -0
  188. package/dist/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js +43 -0
  189. package/dist/node_modules/next/dist/shared/lib/match-local-pattern.js +54 -0
  190. package/dist/node_modules/next/dist/shared/lib/match-remote-pattern.js +71 -0
  191. package/dist/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js +31 -0
  192. package/dist/node_modules/next/dist/shared/lib/router/routes/app.js +130 -0
  193. package/dist/node_modules/next/dist/shared/lib/router/utils/add-locale.js +41 -0
  194. package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js +36 -0
  195. package/dist/node_modules/next/dist/shared/lib/router/utils/app-paths.js +61 -0
  196. package/dist/node_modules/next/dist/shared/lib/router/utils/format-url.js +88 -0
  197. package/dist/node_modules/next/dist/shared/lib/router/utils/get-dynamic-param.js +176 -0
  198. package/dist/node_modules/next/dist/shared/lib/router/utils/get-segment-param.js +89 -0
  199. package/dist/node_modules/next/dist/shared/lib/router/utils/index.js +38 -0
  200. package/dist/node_modules/next/dist/shared/lib/router/utils/interception-prefix-from-param-type.js +44 -0
  201. package/dist/node_modules/next/dist/shared/lib/router/utils/interception-routes.js +109 -0
  202. package/dist/node_modules/next/dist/shared/lib/router/utils/interpolate-as.js +71 -0
  203. package/dist/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js +38 -0
  204. package/dist/node_modules/next/dist/shared/lib/router/utils/is-local-url.js +39 -0
  205. package/dist/node_modules/next/dist/shared/lib/router/utils/omit.js +32 -0
  206. package/dist/node_modules/next/dist/shared/lib/router/utils/parse-loader-tree.js +46 -0
  207. package/dist/node_modules/next/dist/shared/lib/router/utils/parse-path.js +46 -0
  208. package/dist/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js +34 -0
  209. package/dist/node_modules/next/dist/shared/lib/router/utils/querystring.js +82 -0
  210. package/dist/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js +34 -0
  211. package/dist/node_modules/next/dist/shared/lib/router/utils/resolve-param-value.js +128 -0
  212. package/dist/node_modules/next/dist/shared/lib/router/utils/route-match-utils.js +122 -0
  213. package/dist/node_modules/next/dist/shared/lib/router/utils/route-matcher.js +61 -0
  214. package/dist/node_modules/next/dist/shared/lib/router/utils/route-regex.js +312 -0
  215. package/dist/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js +246 -0
  216. package/dist/node_modules/next/dist/shared/lib/router-context.shared-runtime.js +31 -0
  217. package/dist/node_modules/next/dist/shared/lib/segment.js +102 -0
  218. package/dist/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js +44 -0
  219. package/dist/node_modules/next/dist/shared/lib/side-effect.js +78 -0
  220. package/dist/node_modules/next/dist/shared/lib/utils/error-once.js +33 -0
  221. package/dist/node_modules/next/dist/shared/lib/utils/warn-once.js +33 -0
  222. package/dist/node_modules/next/dist/shared/lib/utils.js +192 -0
  223. package/dist/node_modules/next/image.js +13 -0
  224. package/dist/node_modules/next/link.js +13 -0
  225. package/dist/node_modules/next/navigation.js +13 -0
  226. package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +240 -0
  227. package/dist/node_modules/react/cjs/react-jsx-runtime.production.js +44 -0
  228. package/dist/node_modules/react/jsx-runtime.js +19 -0
  229. package/dist/node_modules/style-inject/dist/style-inject.es.js +26 -0
  230. package/dist/packages/carving/src/carving.js +34 -0
  231. package/dist/packages/carving/src/condo.js +17 -0
  232. package/dist/packages/carving/src/logos/amoa.js +17 -0
  233. package/dist/packages/forge/src/classes.js +17 -0
  234. package/dist/packages/forge/src/dates/date.js +8 -0
  235. package/dist/packages/forge/src/dates/day.js +7 -0
  236. package/dist/packages/forge/src/dates/index.js +31 -0
  237. package/dist/packages/forge/src/dates/month.js +35 -0
  238. package/dist/packages/forge/src/dates/year.js +16 -0
  239. package/dist/packages/forge/src/fetcher/index.js +37 -0
  240. package/dist/packages/forge/src/fetcher/querystring.js +9 -0
  241. package/dist/packages/forge/src/files.js +17 -0
  242. package/dist/packages/forge/src/numbers/index.js +5 -0
  243. package/dist/packages/forge/src/strings/characters.js +3 -0
  244. package/dist/packages/forge/src/strings/diacritics.js +261 -0
  245. package/dist/packages/forge/src/strings/index.js +24 -0
  246. package/dist/packages/hooks/src/use-debounce.js +19 -0
  247. package/dist/packages/hooks/src/use-tooltip.js +27 -0
  248. package/dist/packages/ingots/src/address/api/form.js +12 -0
  249. package/dist/packages/ingots/src/address/config.json.js +16 -0
  250. package/dist/packages/ingots/src/address/index.js +117 -0
  251. package/dist/packages/ingots/src/address/index.module.css.js +7 -0
  252. package/dist/packages/ingots/src/address/service.js +41 -0
  253. package/dist/packages/ingots/src/backdrop/index.js +18 -0
  254. package/dist/packages/ingots/src/backdrop/index.module.css.js +7 -0
  255. package/dist/packages/ingots/src/button/index.js +56 -0
  256. package/dist/packages/ingots/src/button/index.module.css.js +7 -0
  257. package/dist/packages/ingots/src/checkbox/index.js +47 -0
  258. package/dist/packages/ingots/src/checkbox/index.module.css.js +7 -0
  259. package/dist/packages/ingots/src/date/erase/index.js +22 -0
  260. package/dist/packages/ingots/src/date/erase/index.module.css.js +7 -0
  261. package/dist/packages/ingots/src/date/input/index.js +113 -0
  262. package/dist/packages/ingots/src/date/input/index.module.css.js +7 -0
  263. package/dist/packages/ingots/src/date/picker/day/index.js +35 -0
  264. package/dist/packages/ingots/src/date/picker/day/index.module.css.js +7 -0
  265. package/dist/packages/ingots/src/date/picker/days/index.js +59 -0
  266. package/dist/packages/ingots/src/date/picker/days/index.module.css.js +7 -0
  267. package/dist/packages/ingots/src/date/picker/handle/index.js +40 -0
  268. package/dist/packages/ingots/src/date/picker/handle/index.module.css.js +7 -0
  269. package/dist/packages/ingots/src/date/picker/index.js +154 -0
  270. package/dist/packages/ingots/src/date/picker/index.module.css.js +7 -0
  271. package/dist/packages/ingots/src/date/picker/menu/index.js +32 -0
  272. package/dist/packages/ingots/src/date/picker/menu/index.module.css.js +7 -0
  273. package/dist/packages/ingots/src/date/picker/menu/item.js +30 -0
  274. package/dist/packages/ingots/src/date/picker/menu/item.module.css.js +7 -0
  275. package/dist/packages/ingots/src/file/api/index.js +14 -0
  276. package/dist/packages/ingots/src/file/card/index.js +65 -0
  277. package/dist/packages/ingots/src/file/card/index.module.css.js +7 -0
  278. package/dist/packages/ingots/src/file/index.js +34 -0
  279. package/dist/packages/ingots/src/file/index.module.css.js +7 -0
  280. package/dist/packages/ingots/src/file/input/index.js +261 -0
  281. package/dist/packages/ingots/src/file/input/index.module.css.js +7 -0
  282. package/dist/packages/ingots/src/input/index.js +75 -0
  283. package/dist/packages/ingots/src/input/src/validation/index.js +3 -0
  284. package/dist/packages/ingots/src/loader/index.js +23 -0
  285. package/dist/packages/ingots/src/loader/index.module.css.js +7 -0
  286. package/dist/packages/ingots/src/loader/variants/spinner/index.js +31 -0
  287. package/dist/packages/ingots/src/loader/variants/spinner/index.module.css.js +7 -0
  288. package/dist/packages/ingots/src/select/card/index.js +33 -0
  289. package/dist/packages/ingots/src/select/card/index.module.css.js +7 -0
  290. package/dist/packages/ingots/src/select/category/index.js +13 -0
  291. package/dist/packages/ingots/src/select/category/index.module.css.js +7 -0
  292. package/dist/packages/ingots/src/select/content/index.js +46 -0
  293. package/dist/packages/ingots/src/select/index.js +155 -0
  294. package/dist/packages/ingots/src/select/index.module.css.js +7 -0
  295. package/dist/packages/ingots/src/select/option/index.js +35 -0
  296. package/dist/packages/ingots/src/select/option/index.module.css.js +7 -0
  297. package/dist/packages/ingots/src/select/options/index.js +59 -0
  298. package/dist/packages/ingots/src/select/options/index.module.css.js +7 -0
  299. package/dist/packages/ingots/src/snackbar/context.js +9 -0
  300. package/dist/packages/ingots/src/tag/index.js +16 -0
  301. package/dist/packages/ingots/src/tag/index.module.css.js +7 -0
  302. package/dist/packages/ingots/src/text/index.js +92 -0
  303. package/dist/packages/ingots/src/text/index.module.css.js +7 -0
  304. package/dist/packages/ingots/src/textarea/index.js +62 -0
  305. package/dist/packages/ingots/src/textarea/index.module.css.js +7 -0
  306. package/dist/packages/ingots/src/toggle/index.js +43 -0
  307. package/dist/packages/ingots/src/toggle/index.module.css.js +7 -0
  308. package/dist/packages/runes/src/icon.js +16 -0
  309. package/dist/packages/runes/src/paths/alert.js +18 -0
  310. package/dist/packages/runes/src/paths/arrow/path.js +18 -0
  311. package/dist/packages/runes/src/paths/calendar.js +18 -0
  312. package/dist/packages/runes/src/paths/check/fill.js +18 -0
  313. package/dist/packages/runes/src/paths/check/regular.js +18 -0
  314. package/dist/packages/runes/src/paths/chevron/down.js +18 -0
  315. package/dist/packages/runes/src/paths/chevron/left.js +18 -0
  316. package/dist/packages/runes/src/paths/chevron/right.js +18 -0
  317. package/dist/packages/runes/src/paths/click.js +18 -0
  318. package/dist/packages/runes/src/paths/cross/regular.js +16 -0
  319. package/dist/packages/runes/src/paths/download.js +18 -0
  320. package/dist/packages/runes/src/paths/file.js +18 -0
  321. package/dist/packages/runes/src/paths/link.js +23 -0
  322. package/dist/packages/wares/src/authentication/index.js +11 -0
  323. package/dist/waiter/index.js +41 -0
  324. package/dist/waiter/index.module.css.js +7 -0
  325. package/package.json +6 -6
  326. package/dist/export.js +0 -2
  327. package/dist/export.js.LICENSE.txt +0 -9
  328. package/dist/form.js +0 -2
  329. package/dist/form.js.LICENSE.txt +0 -9
  330. package/dist/waiter.js +0 -2
  331. package/dist/waiter.js.LICENSE.txt +0 -9
@@ -0,0 +1,439 @@
1
+ import { __module as pathToRegexp } from '../../../../../_virtual/index2.js';
2
+
3
+ var hasRequiredPathToRegexp;
4
+
5
+ function requirePathToRegexp () {
6
+ if (hasRequiredPathToRegexp) return pathToRegexp.exports;
7
+ hasRequiredPathToRegexp = 1;
8
+ (() => {
9
+
10
+ if (typeof __nccwpck_require__ !== "undefined") __nccwpck_require__.ab = __dirname + "/";
11
+ var e = {};
12
+ (() => {
13
+ var n = e;
14
+ Object.defineProperty(n, "__esModule", {
15
+ value: true
16
+ });
17
+ n.pathToRegexp = n.tokensToRegexp = n.regexpToFunction = n.match = n.tokensToFunction = n.compile = n.parse = void 0;
18
+ function lexer(e) {
19
+ var n = [];
20
+ var r = 0;
21
+ while (r < e.length) {
22
+ var t = e[r];
23
+ if (t === "*" || t === "+" || t === "?") {
24
+ n.push({
25
+ type: "MODIFIER",
26
+ index: r,
27
+ value: e[r++]
28
+ });
29
+ continue;
30
+ }
31
+ if (t === "\\") {
32
+ n.push({
33
+ type: "ESCAPED_CHAR",
34
+ index: r++,
35
+ value: e[r++]
36
+ });
37
+ continue;
38
+ }
39
+ if (t === "{") {
40
+ n.push({
41
+ type: "OPEN",
42
+ index: r,
43
+ value: e[r++]
44
+ });
45
+ continue;
46
+ }
47
+ if (t === "}") {
48
+ n.push({
49
+ type: "CLOSE",
50
+ index: r,
51
+ value: e[r++]
52
+ });
53
+ continue;
54
+ }
55
+ if (t === ":") {
56
+ var a = "";
57
+ var i = r + 1;
58
+ while (i < e.length) {
59
+ var o = e.charCodeAt(i);
60
+ if (o >= 48 && o <= 57 || o >= 65 && o <= 90 || o >= 97 && o <= 122 || o === 95) {
61
+ a += e[i++];
62
+ continue;
63
+ }
64
+ break;
65
+ }
66
+ if (!a) throw new TypeError("Missing parameter name at ".concat(r));
67
+ n.push({
68
+ type: "NAME",
69
+ index: r,
70
+ value: a
71
+ });
72
+ r = i;
73
+ continue;
74
+ }
75
+ if (t === "(") {
76
+ var c = 1;
77
+ var f = "";
78
+ var i = r + 1;
79
+ if (e[i] === "?") {
80
+ throw new TypeError('Pattern cannot start with "?" at '.concat(i));
81
+ }
82
+ while (i < e.length) {
83
+ if (e[i] === "\\") {
84
+ f += e[i++] + e[i++];
85
+ continue;
86
+ }
87
+ if (e[i] === ")") {
88
+ c--;
89
+ if (c === 0) {
90
+ i++;
91
+ break;
92
+ }
93
+ } else if (e[i] === "(") {
94
+ c++;
95
+ if (e[i + 1] !== "?") {
96
+ throw new TypeError("Capturing groups are not allowed at ".concat(i));
97
+ }
98
+ }
99
+ f += e[i++];
100
+ }
101
+ if (c) throw new TypeError("Unbalanced pattern at ".concat(r));
102
+ if (!f) throw new TypeError("Missing pattern at ".concat(r));
103
+ n.push({
104
+ type: "PATTERN",
105
+ index: r,
106
+ value: f
107
+ });
108
+ r = i;
109
+ continue;
110
+ }
111
+ n.push({
112
+ type: "CHAR",
113
+ index: r,
114
+ value: e[r++]
115
+ });
116
+ }
117
+ n.push({
118
+ type: "END",
119
+ index: r,
120
+ value: ""
121
+ });
122
+ return n;
123
+ }
124
+ function parse(e, n) {
125
+ if (n === void 0) {
126
+ n = {};
127
+ }
128
+ var r = lexer(e);
129
+ var t = n.prefixes,
130
+ a = t === void 0 ? "./" : t,
131
+ i = n.delimiter,
132
+ o = i === void 0 ? "/#?" : i;
133
+ var c = [];
134
+ var f = 0;
135
+ var u = 0;
136
+ var p = "";
137
+ var tryConsume = function (e) {
138
+ if (u < r.length && r[u].type === e) return r[u++].value;
139
+ };
140
+ var mustConsume = function (e) {
141
+ var n = tryConsume(e);
142
+ if (n !== undefined) return n;
143
+ var t = r[u],
144
+ a = t.type,
145
+ i = t.index;
146
+ throw new TypeError("Unexpected ".concat(a, " at ").concat(i, ", expected ").concat(e));
147
+ };
148
+ var consumeText = function () {
149
+ var e = "";
150
+ var n;
151
+ while (n = tryConsume("CHAR") || tryConsume("ESCAPED_CHAR")) {
152
+ e += n;
153
+ }
154
+ return e;
155
+ };
156
+ var isSafe = function (e) {
157
+ for (var n = 0, r = o; n < r.length; n++) {
158
+ var t = r[n];
159
+ if (e.indexOf(t) > -1) return true;
160
+ }
161
+ return false;
162
+ };
163
+ var safePattern = function (e) {
164
+ var n = c[c.length - 1];
165
+ var r = e || (n && typeof n === "string" ? n : "");
166
+ if (n && !r) {
167
+ throw new TypeError('Must have text between two parameters, missing text after "'.concat(n.name, '"'));
168
+ }
169
+ if (!r || isSafe(r)) return "[^".concat(escapeString(o), "]+?");
170
+ return "(?:(?!".concat(escapeString(r), ")[^").concat(escapeString(o), "])+?");
171
+ };
172
+ while (u < r.length) {
173
+ var v = tryConsume("CHAR");
174
+ var s = tryConsume("NAME");
175
+ var d = tryConsume("PATTERN");
176
+ if (s || d) {
177
+ var g = v || "";
178
+ if (a.indexOf(g) === -1) {
179
+ p += g;
180
+ g = "";
181
+ }
182
+ if (p) {
183
+ c.push(p);
184
+ p = "";
185
+ }
186
+ c.push({
187
+ name: s || f++,
188
+ prefix: g,
189
+ suffix: "",
190
+ pattern: d || safePattern(g),
191
+ modifier: tryConsume("MODIFIER") || ""
192
+ });
193
+ continue;
194
+ }
195
+ var x = v || tryConsume("ESCAPED_CHAR");
196
+ if (x) {
197
+ p += x;
198
+ continue;
199
+ }
200
+ if (p) {
201
+ c.push(p);
202
+ p = "";
203
+ }
204
+ var h = tryConsume("OPEN");
205
+ if (h) {
206
+ var g = consumeText();
207
+ var l = tryConsume("NAME") || "";
208
+ var m = tryConsume("PATTERN") || "";
209
+ var T = consumeText();
210
+ mustConsume("CLOSE");
211
+ c.push({
212
+ name: l || (m ? f++ : ""),
213
+ pattern: l && !m ? safePattern(g) : m,
214
+ prefix: g,
215
+ suffix: T,
216
+ modifier: tryConsume("MODIFIER") || ""
217
+ });
218
+ continue;
219
+ }
220
+ mustConsume("END");
221
+ }
222
+ return c;
223
+ }
224
+ n.parse = parse;
225
+ function compile(e, n) {
226
+ return tokensToFunction(parse(e, n), n);
227
+ }
228
+ n.compile = compile;
229
+ function tokensToFunction(e, n) {
230
+ if (n === void 0) {
231
+ n = {};
232
+ }
233
+ var r = flags(n);
234
+ var t = n.encode,
235
+ a = t === void 0 ? function (e) {
236
+ return e;
237
+ } : t,
238
+ i = n.validate,
239
+ o = i === void 0 ? true : i;
240
+ var c = e.map(function (e) {
241
+ if (typeof e === "object") {
242
+ return new RegExp("^(?:".concat(e.pattern, ")$"), r);
243
+ }
244
+ });
245
+ return function (n) {
246
+ var r = "";
247
+ for (var t = 0; t < e.length; t++) {
248
+ var i = e[t];
249
+ if (typeof i === "string") {
250
+ r += i;
251
+ continue;
252
+ }
253
+ var f = n ? n[i.name] : undefined;
254
+ var u = i.modifier === "?" || i.modifier === "*";
255
+ var p = i.modifier === "*" || i.modifier === "+";
256
+ if (Array.isArray(f)) {
257
+ if (!p) {
258
+ throw new TypeError('Expected "'.concat(i.name, '" to not repeat, but got an array'));
259
+ }
260
+ if (f.length === 0) {
261
+ if (u) continue;
262
+ throw new TypeError('Expected "'.concat(i.name, '" to not be empty'));
263
+ }
264
+ for (var v = 0; v < f.length; v++) {
265
+ var s = a(f[v], i);
266
+ if (o && !c[t].test(s)) {
267
+ throw new TypeError('Expected all "'.concat(i.name, '" to match "').concat(i.pattern, '", but got "').concat(s, '"'));
268
+ }
269
+ r += i.prefix + s + i.suffix;
270
+ }
271
+ continue;
272
+ }
273
+ if (typeof f === "string" || typeof f === "number") {
274
+ var s = a(String(f), i);
275
+ if (o && !c[t].test(s)) {
276
+ throw new TypeError('Expected "'.concat(i.name, '" to match "').concat(i.pattern, '", but got "').concat(s, '"'));
277
+ }
278
+ r += i.prefix + s + i.suffix;
279
+ continue;
280
+ }
281
+ if (u) continue;
282
+ var d = p ? "an array" : "a string";
283
+ throw new TypeError('Expected "'.concat(i.name, '" to be ').concat(d));
284
+ }
285
+ return r;
286
+ };
287
+ }
288
+ n.tokensToFunction = tokensToFunction;
289
+ function match(e, n) {
290
+ var r = [];
291
+ var t = pathToRegexp(e, r, n);
292
+ return regexpToFunction(t, r, n);
293
+ }
294
+ n.match = match;
295
+ function regexpToFunction(e, n, r) {
296
+ if (r === void 0) {
297
+ r = {};
298
+ }
299
+ var t = r.decode,
300
+ a = t === void 0 ? function (e) {
301
+ return e;
302
+ } : t;
303
+ return function (r) {
304
+ var t = e.exec(r);
305
+ if (!t) return false;
306
+ var i = t[0],
307
+ o = t.index;
308
+ var c = Object.create(null);
309
+ var _loop_1 = function (e) {
310
+ if (t[e] === undefined) return "continue";
311
+ var r = n[e - 1];
312
+ if (r.modifier === "*" || r.modifier === "+") {
313
+ c[r.name] = t[e].split(r.prefix + r.suffix).map(function (e) {
314
+ return a(e, r);
315
+ });
316
+ } else {
317
+ c[r.name] = a(t[e], r);
318
+ }
319
+ };
320
+ for (var f = 1; f < t.length; f++) {
321
+ _loop_1(f);
322
+ }
323
+ return {
324
+ path: i,
325
+ index: o,
326
+ params: c
327
+ };
328
+ };
329
+ }
330
+ n.regexpToFunction = regexpToFunction;
331
+ function escapeString(e) {
332
+ return e.replace(/([.+*?=^!:${}()[\]|/\\])/g, "\\$1");
333
+ }
334
+ function flags(e) {
335
+ return e && e.sensitive ? "" : "i";
336
+ }
337
+ function regexpToRegexp(e, n) {
338
+ if (!n) return e;
339
+ var r = /\((?:\?<(.*?)>)?(?!\?)/g;
340
+ var t = 0;
341
+ var a = r.exec(e.source);
342
+ while (a) {
343
+ n.push({
344
+ name: a[1] || t++,
345
+ prefix: "",
346
+ suffix: "",
347
+ modifier: "",
348
+ pattern: ""
349
+ });
350
+ a = r.exec(e.source);
351
+ }
352
+ return e;
353
+ }
354
+ function arrayToRegexp(e, n, r) {
355
+ var t = e.map(function (e) {
356
+ return pathToRegexp(e, n, r).source;
357
+ });
358
+ return new RegExp("(?:".concat(t.join("|"), ")"), flags(r));
359
+ }
360
+ function stringToRegexp(e, n, r) {
361
+ return tokensToRegexp(parse(e, r), n, r);
362
+ }
363
+ function tokensToRegexp(e, n, r) {
364
+ if (r === void 0) {
365
+ r = {};
366
+ }
367
+ var t = r.strict,
368
+ a = t === void 0 ? false : t,
369
+ i = r.start,
370
+ o = i === void 0 ? true : i,
371
+ c = r.end,
372
+ f = c === void 0 ? true : c,
373
+ u = r.encode,
374
+ p = u === void 0 ? function (e) {
375
+ return e;
376
+ } : u,
377
+ v = r.delimiter,
378
+ s = v === void 0 ? "/#?" : v,
379
+ d = r.endsWith,
380
+ g = d === void 0 ? "" : d;
381
+ var x = "[".concat(escapeString(g), "]|$");
382
+ var h = "[".concat(escapeString(s), "]");
383
+ var l = o ? "^" : "";
384
+ for (var m = 0, T = e; m < T.length; m++) {
385
+ var E = T[m];
386
+ if (typeof E === "string") {
387
+ l += escapeString(p(E));
388
+ } else {
389
+ var w = escapeString(p(E.prefix));
390
+ var y = escapeString(p(E.suffix));
391
+ if (E.pattern) {
392
+ if (n) n.push(E);
393
+ if (w || y) {
394
+ if (E.modifier === "+" || E.modifier === "*") {
395
+ var R = E.modifier === "*" ? "?" : "";
396
+ l += "(?:".concat(w, "((?:").concat(E.pattern, ")(?:").concat(y).concat(w, "(?:").concat(E.pattern, "))*)").concat(y, ")").concat(R);
397
+ } else {
398
+ l += "(?:".concat(w, "(").concat(E.pattern, ")").concat(y, ")").concat(E.modifier);
399
+ }
400
+ } else {
401
+ if (E.modifier === "+" || E.modifier === "*") {
402
+ throw new TypeError('Can not repeat "'.concat(E.name, '" without a prefix and suffix'));
403
+ }
404
+ l += "(".concat(E.pattern, ")").concat(E.modifier);
405
+ }
406
+ } else {
407
+ l += "(?:".concat(w).concat(y, ")").concat(E.modifier);
408
+ }
409
+ }
410
+ }
411
+ if (f) {
412
+ if (!a) l += "".concat(h, "?");
413
+ l += !r.endsWith ? "$" : "(?=".concat(x, ")");
414
+ } else {
415
+ var A = e[e.length - 1];
416
+ var _ = typeof A === "string" ? h.indexOf(A[A.length - 1]) > -1 : A === undefined;
417
+ if (!a) {
418
+ l += "(?:".concat(h, "(?=").concat(x, "))?");
419
+ }
420
+ if (!_) {
421
+ l += "(?=".concat(h, "|").concat(x, ")");
422
+ }
423
+ }
424
+ return new RegExp(l, flags(r));
425
+ }
426
+ n.tokensToRegexp = tokensToRegexp;
427
+ function pathToRegexp(e, n, r) {
428
+ if (e instanceof RegExp) return regexpToRegexp(e, n);
429
+ if (Array.isArray(e)) return arrayToRegexp(e, n, r);
430
+ return stringToRegexp(e, n, r);
431
+ }
432
+ n.pathToRegexp = pathToRegexp;
433
+ })();
434
+ pathToRegexp.exports = e;
435
+ })();
436
+ return pathToRegexp.exports;
437
+ }
438
+
439
+ export { requirePathToRegexp as __require };