@amoa/casting 0.1.4 → 0.1.6

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 (326) hide show
  1. package/dist/export/index.js +9 -9
  2. package/dist/form/buttons/index.js +2 -2
  3. package/dist/form/buttons/index.module.css.js +0 -4
  4. package/dist/form/caption/index.js +2 -2
  5. package/dist/form/caption/index.module.css.js +0 -4
  6. package/dist/form/description/index.js +2 -2
  7. package/dist/form/description/index.module.css.js +0 -4
  8. package/dist/form/email/index.js +3 -3
  9. package/dist/form/index.js +4 -4
  10. package/dist/form/index.module.css.js +0 -4
  11. package/dist/form/inputs/index.js +2 -2
  12. package/dist/form/inputs/index.module.css.js +0 -4
  13. package/dist/form/password/index.js +3 -3
  14. package/dist/index.css +94 -0
  15. package/dist/waiter/index.js +11 -13
  16. package/dist/waiter/index.module.css.js +0 -4
  17. package/package.json +5 -4
  18. package/dist/_virtual/_commonjsHelpers.js +0 -5
  19. package/dist/_virtual/_interop_require_default.js +0 -3
  20. package/dist/_virtual/_interop_require_wildcard.js +0 -3
  21. package/dist/_virtual/action-async-storage-instance.js +0 -3
  22. package/dist/_virtual/action-async-storage.external.js +0 -3
  23. package/dist/_virtual/add-base-path.js +0 -3
  24. package/dist/_virtual/add-locale.js +0 -3
  25. package/dist/_virtual/add-locale2.js +0 -3
  26. package/dist/_virtual/add-path-prefix.js +0 -3
  27. package/dist/_virtual/app-paths.js +0 -3
  28. package/dist/_virtual/app-router-context.shared-runtime.js +0 -3
  29. package/dist/_virtual/app-router-headers.js +0 -3
  30. package/dist/_virtual/app.js +0 -3
  31. package/dist/_virtual/async-local-storage.js +0 -3
  32. package/dist/_virtual/bailout-to-csr.js +0 -3
  33. package/dist/_virtual/boundary-constants.js +0 -3
  34. package/dist/_virtual/constants.js +0 -3
  35. package/dist/_virtual/deployment-id.js +0 -3
  36. package/dist/_virtual/detect-domain-locale.js +0 -3
  37. package/dist/_virtual/detect-domain-locale2.js +0 -3
  38. package/dist/_virtual/dynamic-rendering-utils.js +0 -3
  39. package/dist/_virtual/dynamic-rendering.js +0 -3
  40. package/dist/_virtual/ensure-leading-slash.js +0 -3
  41. package/dist/_virtual/error-once.js +0 -3
  42. package/dist/_virtual/escape-regexp.js +0 -3
  43. package/dist/_virtual/find-closest-quality.js +0 -3
  44. package/dist/_virtual/forbidden.js +0 -3
  45. package/dist/_virtual/format-url.js +0 -3
  46. package/dist/_virtual/get-domain-locale.js +0 -3
  47. package/dist/_virtual/get-dynamic-param.js +0 -3
  48. package/dist/_virtual/get-img-props.js +0 -3
  49. package/dist/_virtual/get-segment-param.js +0 -3
  50. package/dist/_virtual/has-base-path.js +0 -3
  51. package/dist/_virtual/head-manager-context.shared-runtime.js +0 -3
  52. package/dist/_virtual/head.js +0 -3
  53. package/dist/_virtual/hooks-client-context.shared-runtime.js +0 -3
  54. package/dist/_virtual/hooks-server-context.js +0 -3
  55. package/dist/_virtual/http-access-fallback.js +0 -3
  56. package/dist/_virtual/image-blur-svg.js +0 -3
  57. package/dist/_virtual/image-component.js +0 -3
  58. package/dist/_virtual/image-config-context.shared-runtime.js +0 -3
  59. package/dist/_virtual/image-config.js +0 -3
  60. package/dist/_virtual/image-external.js +0 -3
  61. package/dist/_virtual/image-loader.js +0 -3
  62. package/dist/_virtual/image.js +0 -7
  63. package/dist/_virtual/index.js +0 -3
  64. package/dist/_virtual/index2.js +0 -3
  65. package/dist/_virtual/index3.js +0 -3
  66. package/dist/_virtual/interception-prefix-from-param-type.js +0 -3
  67. package/dist/_virtual/interception-routes.js +0 -3
  68. package/dist/_virtual/interpolate-as.js +0 -3
  69. package/dist/_virtual/invariant-error.js +0 -3
  70. package/dist/_virtual/is-dynamic.js +0 -3
  71. package/dist/_virtual/is-local-url.js +0 -3
  72. package/dist/_virtual/is-next-router-error.js +0 -3
  73. package/dist/_virtual/is-postpone.js +0 -3
  74. package/dist/_virtual/jsx-runtime.js +0 -5
  75. package/dist/_virtual/jsx-runtime2.js +0 -3
  76. package/dist/_virtual/link.js +0 -7
  77. package/dist/_virtual/link2.js +0 -3
  78. package/dist/_virtual/match-local-pattern.js +0 -3
  79. package/dist/_virtual/match-remote-pattern.js +0 -3
  80. package/dist/_virtual/navigation.js +0 -3
  81. package/dist/_virtual/navigation.react-server.js +0 -3
  82. package/dist/_virtual/navigation2.js +0 -3
  83. package/dist/_virtual/normalize-locale-path.js +0 -3
  84. package/dist/_virtual/normalize-locale-path2.js +0 -3
  85. package/dist/_virtual/normalize-trailing-slash.js +0 -3
  86. package/dist/_virtual/not-found.js +0 -3
  87. package/dist/_virtual/omit.js +0 -3
  88. package/dist/_virtual/parse-loader-tree.js +0 -3
  89. package/dist/_virtual/parse-path.js +0 -3
  90. package/dist/_virtual/path-has-prefix.js +0 -3
  91. package/dist/_virtual/querystring.js +0 -3
  92. package/dist/_virtual/react-jsx-runtime.development.js +0 -3
  93. package/dist/_virtual/react-jsx-runtime.production.js +0 -3
  94. package/dist/_virtual/readonly-url-search-params.js +0 -3
  95. package/dist/_virtual/redirect-error.js +0 -3
  96. package/dist/_virtual/redirect-status-code.js +0 -3
  97. package/dist/_virtual/redirect.js +0 -3
  98. package/dist/_virtual/remove-trailing-slash.js +0 -3
  99. package/dist/_virtual/request-idle-callback.js +0 -3
  100. package/dist/_virtual/resolve-href.js +0 -3
  101. package/dist/_virtual/resolve-param-value.js +0 -3
  102. package/dist/_virtual/route-match-utils.js +0 -3
  103. package/dist/_virtual/route-matcher.js +0 -3
  104. package/dist/_virtual/route-pattern-normalizer.js +0 -3
  105. package/dist/_virtual/route-regex.js +0 -3
  106. package/dist/_virtual/router-context.shared-runtime.js +0 -3
  107. package/dist/_virtual/scheduler.js +0 -3
  108. package/dist/_virtual/segment.js +0 -3
  109. package/dist/_virtual/server-inserted-html.shared-runtime.js +0 -3
  110. package/dist/_virtual/side-effect.js +0 -3
  111. package/dist/_virtual/sorted-routes.js +0 -3
  112. package/dist/_virtual/static-generation-bailout.js +0 -3
  113. package/dist/_virtual/unauthorized.js +0 -3
  114. package/dist/_virtual/unrecognized-action-error.js +0 -3
  115. package/dist/_virtual/unstable-rethrow.browser.js +0 -3
  116. package/dist/_virtual/unstable-rethrow.js +0 -3
  117. package/dist/_virtual/unstable-rethrow.server.js +0 -3
  118. package/dist/_virtual/use-intersection.js +0 -3
  119. package/dist/_virtual/use-merged-ref.js +0 -3
  120. package/dist/_virtual/utils.js +0 -3
  121. package/dist/_virtual/warn-once.js +0 -3
  122. package/dist/_virtual/work-async-storage-instance.js +0 -3
  123. package/dist/_virtual/work-async-storage.external.js +0 -3
  124. package/dist/_virtual/work-unit-async-storage-instance.js +0 -3
  125. package/dist/_virtual/work-unit-async-storage.external.js +0 -3
  126. package/dist/config/config.json.js +0 -37
  127. package/dist/node_modules/@swc/helpers/cjs/_interop_require_default.js +0 -16
  128. package/dist/node_modules/@swc/helpers/cjs/_interop_require_wildcard.js +0 -48
  129. package/dist/node_modules/next/dist/client/add-base-path.js +0 -38
  130. package/dist/node_modules/next/dist/client/add-locale.js +0 -39
  131. package/dist/node_modules/next/dist/client/components/app-router-headers.js +0 -112
  132. package/dist/node_modules/next/dist/client/components/forbidden.js +0 -62
  133. package/dist/node_modules/next/dist/client/components/hooks-server-context.js +0 -50
  134. package/dist/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js +0 -77
  135. package/dist/node_modules/next/dist/client/components/is-next-router-error.js +0 -37
  136. package/dist/node_modules/next/dist/client/components/navigation.js +0 -198
  137. package/dist/node_modules/next/dist/client/components/navigation.react-server.js +0 -80
  138. package/dist/node_modules/next/dist/client/components/not-found.js +0 -56
  139. package/dist/node_modules/next/dist/client/components/readonly-url-search-params.js +0 -58
  140. package/dist/node_modules/next/dist/client/components/redirect-error.js +0 -60
  141. package/dist/node_modules/next/dist/client/components/redirect-status-code.js +0 -36
  142. package/dist/node_modules/next/dist/client/components/redirect.js +0 -98
  143. package/dist/node_modules/next/dist/client/components/static-generation-bailout.js +0 -50
  144. package/dist/node_modules/next/dist/client/components/unauthorized.js +0 -63
  145. package/dist/node_modules/next/dist/client/components/unrecognized-action-error.js +0 -47
  146. package/dist/node_modules/next/dist/client/components/unstable-rethrow.browser.js +0 -42
  147. package/dist/node_modules/next/dist/client/components/unstable-rethrow.js +0 -41
  148. package/dist/node_modules/next/dist/client/components/unstable-rethrow.server.js +0 -50
  149. package/dist/node_modules/next/dist/client/detect-domain-locale.js +0 -36
  150. package/dist/node_modules/next/dist/client/get-domain-locale.js +0 -51
  151. package/dist/node_modules/next/dist/client/has-base-path.js +0 -36
  152. package/dist/node_modules/next/dist/client/image-component.js +0 -343
  153. package/dist/node_modules/next/dist/client/link.js +0 -466
  154. package/dist/node_modules/next/dist/client/normalize-locale-path.js +0 -40
  155. package/dist/node_modules/next/dist/client/normalize-trailing-slash.js +0 -54
  156. package/dist/node_modules/next/dist/client/request-idle-callback.js +0 -52
  157. package/dist/node_modules/next/dist/client/resolve-href.js +0 -124
  158. package/dist/node_modules/next/dist/client/use-intersection.js +0 -126
  159. package/dist/node_modules/next/dist/client/use-merged-ref.js +0 -79
  160. package/dist/node_modules/next/dist/compiled/path-to-regexp/index.js +0 -439
  161. package/dist/node_modules/next/dist/compiled/picomatch/index.js +0 -1662
  162. package/dist/node_modules/next/dist/lib/constants.js +0 -339
  163. package/dist/node_modules/next/dist/lib/framework/boundary-constants.js +0 -41
  164. package/dist/node_modules/next/dist/lib/route-pattern-normalizer.js +0 -114
  165. package/dist/node_modules/next/dist/lib/scheduler.js +0 -69
  166. package/dist/node_modules/next/dist/server/app-render/action-async-storage-instance.js +0 -26
  167. package/dist/node_modules/next/dist/server/app-render/action-async-storage.external.js +0 -25
  168. package/dist/node_modules/next/dist/server/app-render/async-local-storage.js +0 -83
  169. package/dist/node_modules/next/dist/server/app-render/dynamic-rendering.js +0 -804
  170. package/dist/node_modules/next/dist/server/app-render/work-async-storage-instance.js +0 -26
  171. package/dist/node_modules/next/dist/server/app-render/work-async-storage.external.js +0 -25
  172. package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js +0 -26
  173. package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js +0 -221
  174. package/dist/node_modules/next/dist/server/dynamic-rendering-utils.js +0 -90
  175. package/dist/node_modules/next/dist/server/lib/router-utils/is-postpone.js +0 -27
  176. package/dist/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js +0 -56
  177. package/dist/node_modules/next/dist/shared/lib/deployment-id.js +0 -41
  178. package/dist/node_modules/next/dist/shared/lib/escape-regexp.js +0 -32
  179. package/dist/node_modules/next/dist/shared/lib/find-closest-quality.js +0 -30
  180. package/dist/node_modules/next/dist/shared/lib/get-img-props.js +0 -617
  181. package/dist/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.js +0 -31
  182. package/dist/node_modules/next/dist/shared/lib/head.js +0 -177
  183. package/dist/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js +0 -65
  184. package/dist/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js +0 -36
  185. package/dist/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js +0 -66
  186. package/dist/node_modules/next/dist/shared/lib/image-blur-svg.js +0 -42
  187. package/dist/node_modules/next/dist/shared/lib/image-config-context.shared-runtime.js +0 -33
  188. package/dist/node_modules/next/dist/shared/lib/image-config.js +0 -56
  189. package/dist/node_modules/next/dist/shared/lib/image-external.js +0 -60
  190. package/dist/node_modules/next/dist/shared/lib/image-loader.js +0 -119
  191. package/dist/node_modules/next/dist/shared/lib/invariant-error.js +0 -29
  192. package/dist/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js +0 -43
  193. package/dist/node_modules/next/dist/shared/lib/match-local-pattern.js +0 -54
  194. package/dist/node_modules/next/dist/shared/lib/match-remote-pattern.js +0 -71
  195. package/dist/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js +0 -31
  196. package/dist/node_modules/next/dist/shared/lib/router/routes/app.js +0 -130
  197. package/dist/node_modules/next/dist/shared/lib/router/utils/add-locale.js +0 -41
  198. package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js +0 -36
  199. package/dist/node_modules/next/dist/shared/lib/router/utils/app-paths.js +0 -61
  200. package/dist/node_modules/next/dist/shared/lib/router/utils/format-url.js +0 -88
  201. package/dist/node_modules/next/dist/shared/lib/router/utils/get-dynamic-param.js +0 -176
  202. package/dist/node_modules/next/dist/shared/lib/router/utils/get-segment-param.js +0 -89
  203. package/dist/node_modules/next/dist/shared/lib/router/utils/index.js +0 -38
  204. package/dist/node_modules/next/dist/shared/lib/router/utils/interception-prefix-from-param-type.js +0 -44
  205. package/dist/node_modules/next/dist/shared/lib/router/utils/interception-routes.js +0 -109
  206. package/dist/node_modules/next/dist/shared/lib/router/utils/interpolate-as.js +0 -71
  207. package/dist/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js +0 -38
  208. package/dist/node_modules/next/dist/shared/lib/router/utils/is-local-url.js +0 -39
  209. package/dist/node_modules/next/dist/shared/lib/router/utils/omit.js +0 -32
  210. package/dist/node_modules/next/dist/shared/lib/router/utils/parse-loader-tree.js +0 -46
  211. package/dist/node_modules/next/dist/shared/lib/router/utils/parse-path.js +0 -46
  212. package/dist/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js +0 -34
  213. package/dist/node_modules/next/dist/shared/lib/router/utils/querystring.js +0 -82
  214. package/dist/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js +0 -34
  215. package/dist/node_modules/next/dist/shared/lib/router/utils/resolve-param-value.js +0 -128
  216. package/dist/node_modules/next/dist/shared/lib/router/utils/route-match-utils.js +0 -122
  217. package/dist/node_modules/next/dist/shared/lib/router/utils/route-matcher.js +0 -61
  218. package/dist/node_modules/next/dist/shared/lib/router/utils/route-regex.js +0 -312
  219. package/dist/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js +0 -246
  220. package/dist/node_modules/next/dist/shared/lib/router-context.shared-runtime.js +0 -31
  221. package/dist/node_modules/next/dist/shared/lib/segment.js +0 -102
  222. package/dist/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js +0 -44
  223. package/dist/node_modules/next/dist/shared/lib/side-effect.js +0 -78
  224. package/dist/node_modules/next/dist/shared/lib/utils/error-once.js +0 -33
  225. package/dist/node_modules/next/dist/shared/lib/utils/warn-once.js +0 -33
  226. package/dist/node_modules/next/dist/shared/lib/utils.js +0 -192
  227. package/dist/node_modules/next/image.js +0 -13
  228. package/dist/node_modules/next/link.js +0 -13
  229. package/dist/node_modules/next/navigation.js +0 -13
  230. package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +0 -240
  231. package/dist/node_modules/react/cjs/react-jsx-runtime.production.js +0 -44
  232. package/dist/node_modules/react/jsx-runtime.js +0 -19
  233. package/dist/node_modules/style-inject/dist/style-inject.es.js +0 -26
  234. package/dist/packages/carving/src/carving.js +0 -34
  235. package/dist/packages/carving/src/condo.js +0 -17
  236. package/dist/packages/carving/src/logos/amoa.js +0 -17
  237. package/dist/packages/forge/src/classes.js +0 -17
  238. package/dist/packages/forge/src/dates/date.js +0 -8
  239. package/dist/packages/forge/src/dates/day.js +0 -7
  240. package/dist/packages/forge/src/dates/index.js +0 -31
  241. package/dist/packages/forge/src/dates/month.js +0 -35
  242. package/dist/packages/forge/src/dates/year.js +0 -16
  243. package/dist/packages/forge/src/fetcher/index.js +0 -37
  244. package/dist/packages/forge/src/fetcher/querystring.js +0 -9
  245. package/dist/packages/forge/src/files.js +0 -17
  246. package/dist/packages/forge/src/numbers/index.js +0 -5
  247. package/dist/packages/forge/src/strings/characters.js +0 -3
  248. package/dist/packages/forge/src/strings/diacritics.js +0 -261
  249. package/dist/packages/forge/src/strings/index.js +0 -24
  250. package/dist/packages/hooks/src/use-debounce.js +0 -19
  251. package/dist/packages/hooks/src/use-tooltip.js +0 -27
  252. package/dist/packages/ingots/src/address/api/form.js +0 -12
  253. package/dist/packages/ingots/src/address/config.json.js +0 -16
  254. package/dist/packages/ingots/src/address/index.js +0 -117
  255. package/dist/packages/ingots/src/address/index.module.css.js +0 -7
  256. package/dist/packages/ingots/src/address/service.js +0 -41
  257. package/dist/packages/ingots/src/backdrop/index.js +0 -18
  258. package/dist/packages/ingots/src/backdrop/index.module.css.js +0 -7
  259. package/dist/packages/ingots/src/button/index.js +0 -56
  260. package/dist/packages/ingots/src/button/index.module.css.js +0 -7
  261. package/dist/packages/ingots/src/checkbox/index.js +0 -47
  262. package/dist/packages/ingots/src/checkbox/index.module.css.js +0 -7
  263. package/dist/packages/ingots/src/date/erase/index.js +0 -22
  264. package/dist/packages/ingots/src/date/erase/index.module.css.js +0 -7
  265. package/dist/packages/ingots/src/date/input/index.js +0 -113
  266. package/dist/packages/ingots/src/date/input/index.module.css.js +0 -7
  267. package/dist/packages/ingots/src/date/picker/day/index.js +0 -35
  268. package/dist/packages/ingots/src/date/picker/day/index.module.css.js +0 -7
  269. package/dist/packages/ingots/src/date/picker/days/index.js +0 -59
  270. package/dist/packages/ingots/src/date/picker/days/index.module.css.js +0 -7
  271. package/dist/packages/ingots/src/date/picker/handle/index.js +0 -40
  272. package/dist/packages/ingots/src/date/picker/handle/index.module.css.js +0 -7
  273. package/dist/packages/ingots/src/date/picker/index.js +0 -154
  274. package/dist/packages/ingots/src/date/picker/index.module.css.js +0 -7
  275. package/dist/packages/ingots/src/date/picker/menu/index.js +0 -32
  276. package/dist/packages/ingots/src/date/picker/menu/index.module.css.js +0 -7
  277. package/dist/packages/ingots/src/date/picker/menu/item.js +0 -30
  278. package/dist/packages/ingots/src/date/picker/menu/item.module.css.js +0 -7
  279. package/dist/packages/ingots/src/file/api/index.js +0 -14
  280. package/dist/packages/ingots/src/file/card/index.js +0 -65
  281. package/dist/packages/ingots/src/file/card/index.module.css.js +0 -7
  282. package/dist/packages/ingots/src/file/index.js +0 -34
  283. package/dist/packages/ingots/src/file/index.module.css.js +0 -7
  284. package/dist/packages/ingots/src/file/input/index.js +0 -261
  285. package/dist/packages/ingots/src/file/input/index.module.css.js +0 -7
  286. package/dist/packages/ingots/src/input/index.js +0 -75
  287. package/dist/packages/ingots/src/input/src/validation/index.js +0 -3
  288. package/dist/packages/ingots/src/loader/index.js +0 -23
  289. package/dist/packages/ingots/src/loader/index.module.css.js +0 -7
  290. package/dist/packages/ingots/src/loader/variants/spinner/index.js +0 -31
  291. package/dist/packages/ingots/src/loader/variants/spinner/index.module.css.js +0 -7
  292. package/dist/packages/ingots/src/select/card/index.js +0 -33
  293. package/dist/packages/ingots/src/select/card/index.module.css.js +0 -7
  294. package/dist/packages/ingots/src/select/category/index.js +0 -13
  295. package/dist/packages/ingots/src/select/category/index.module.css.js +0 -7
  296. package/dist/packages/ingots/src/select/content/index.js +0 -46
  297. package/dist/packages/ingots/src/select/index.js +0 -155
  298. package/dist/packages/ingots/src/select/index.module.css.js +0 -7
  299. package/dist/packages/ingots/src/select/option/index.js +0 -35
  300. package/dist/packages/ingots/src/select/option/index.module.css.js +0 -7
  301. package/dist/packages/ingots/src/select/options/index.js +0 -59
  302. package/dist/packages/ingots/src/select/options/index.module.css.js +0 -7
  303. package/dist/packages/ingots/src/snackbar/context.js +0 -9
  304. package/dist/packages/ingots/src/tag/index.js +0 -16
  305. package/dist/packages/ingots/src/tag/index.module.css.js +0 -7
  306. package/dist/packages/ingots/src/text/index.js +0 -92
  307. package/dist/packages/ingots/src/text/index.module.css.js +0 -7
  308. package/dist/packages/ingots/src/textarea/index.js +0 -62
  309. package/dist/packages/ingots/src/textarea/index.module.css.js +0 -7
  310. package/dist/packages/ingots/src/toggle/index.js +0 -43
  311. package/dist/packages/ingots/src/toggle/index.module.css.js +0 -7
  312. package/dist/packages/runes/src/icon.js +0 -16
  313. package/dist/packages/runes/src/paths/alert.js +0 -18
  314. package/dist/packages/runes/src/paths/arrow/path.js +0 -18
  315. package/dist/packages/runes/src/paths/calendar.js +0 -18
  316. package/dist/packages/runes/src/paths/check/fill.js +0 -18
  317. package/dist/packages/runes/src/paths/check/regular.js +0 -18
  318. package/dist/packages/runes/src/paths/chevron/down.js +0 -18
  319. package/dist/packages/runes/src/paths/chevron/left.js +0 -18
  320. package/dist/packages/runes/src/paths/chevron/right.js +0 -18
  321. package/dist/packages/runes/src/paths/click.js +0 -18
  322. package/dist/packages/runes/src/paths/cross/regular.js +0 -16
  323. package/dist/packages/runes/src/paths/download.js +0 -18
  324. package/dist/packages/runes/src/paths/file.js +0 -18
  325. package/dist/packages/runes/src/paths/link.js +0 -23
  326. package/dist/packages/wares/src/authentication/index.js +0 -11
@@ -1,60 +0,0 @@
1
- import { __module as redirectError } from '../../../../../_virtual/redirect-error.js';
2
- import { __require as requireRedirectStatusCode } from './redirect-status-code.js';
3
-
4
- var hasRequiredRedirectError;
5
-
6
- function requireRedirectError () {
7
- if (hasRequiredRedirectError) return redirectError.exports;
8
- hasRequiredRedirectError = 1;
9
- (function (module, exports$1) {
10
-
11
- Object.defineProperty(exports$1, "__esModule", {
12
- value: true
13
- });
14
- function _export(target, all) {
15
- for (var name in all) Object.defineProperty(target, name, {
16
- enumerable: true,
17
- get: all[name]
18
- });
19
- }
20
- _export(exports$1, {
21
- REDIRECT_ERROR_CODE: function () {
22
- return REDIRECT_ERROR_CODE;
23
- },
24
- RedirectType: function () {
25
- return RedirectType;
26
- },
27
- isRedirectError: function () {
28
- return isRedirectError;
29
- }
30
- });
31
- const _redirectstatuscode = requireRedirectStatusCode();
32
- const REDIRECT_ERROR_CODE = 'NEXT_REDIRECT';
33
- var RedirectType = /*#__PURE__*/function (RedirectType) {
34
- RedirectType["push"] = "push";
35
- RedirectType["replace"] = "replace";
36
- return RedirectType;
37
- }({});
38
- function isRedirectError(error) {
39
- if (typeof error !== 'object' || error === null || !('digest' in error) || typeof error.digest !== 'string') {
40
- return false;
41
- }
42
- const digest = error.digest.split(';');
43
- const [errorCode, type] = digest;
44
- const destination = digest.slice(2, -2).join(';');
45
- const status = digest.at(-2);
46
- const statusCode = Number(status);
47
- return errorCode === REDIRECT_ERROR_CODE && (type === 'replace' || type === 'push') && typeof destination === 'string' && !isNaN(statusCode) && statusCode in _redirectstatuscode.RedirectStatusCode;
48
- }
49
- if ((typeof exports$1.default === 'function' || typeof exports$1.default === 'object' && exports$1.default !== null) && typeof exports$1.default.__esModule === 'undefined') {
50
- Object.defineProperty(exports$1.default, '__esModule', {
51
- value: true
52
- });
53
- Object.assign(exports$1.default, exports$1);
54
- module.exports = exports$1.default;
55
- }
56
- } (redirectError, redirectError.exports));
57
- return redirectError.exports;
58
- }
59
-
60
- export { requireRedirectError as __require };
@@ -1,36 +0,0 @@
1
- import { __module as redirectStatusCode } from '../../../../../_virtual/redirect-status-code.js';
2
-
3
- var hasRequiredRedirectStatusCode;
4
-
5
- function requireRedirectStatusCode () {
6
- if (hasRequiredRedirectStatusCode) return redirectStatusCode.exports;
7
- hasRequiredRedirectStatusCode = 1;
8
- (function (module, exports$1) {
9
-
10
- Object.defineProperty(exports$1, "__esModule", {
11
- value: true
12
- });
13
- Object.defineProperty(exports$1, "RedirectStatusCode", {
14
- enumerable: true,
15
- get: function () {
16
- return RedirectStatusCode;
17
- }
18
- });
19
- var RedirectStatusCode = /*#__PURE__*/function (RedirectStatusCode) {
20
- RedirectStatusCode[RedirectStatusCode["SeeOther"] = 303] = "SeeOther";
21
- RedirectStatusCode[RedirectStatusCode["TemporaryRedirect"] = 307] = "TemporaryRedirect";
22
- RedirectStatusCode[RedirectStatusCode["PermanentRedirect"] = 308] = "PermanentRedirect";
23
- return RedirectStatusCode;
24
- }({});
25
- if ((typeof exports$1.default === 'function' || typeof exports$1.default === 'object' && exports$1.default !== null) && typeof exports$1.default.__esModule === 'undefined') {
26
- Object.defineProperty(exports$1.default, '__esModule', {
27
- value: true
28
- });
29
- Object.assign(exports$1.default, exports$1);
30
- module.exports = exports$1.default;
31
- }
32
- } (redirectStatusCode, redirectStatusCode.exports));
33
- return redirectStatusCode.exports;
34
- }
35
-
36
- export { requireRedirectStatusCode as __require };
@@ -1,98 +0,0 @@
1
- import { __module as redirect } from '../../../../../_virtual/redirect.js';
2
- import { __require as requireRedirectStatusCode } from './redirect-status-code.js';
3
- import { __require as requireRedirectError } from './redirect-error.js';
4
- import { __require as requireActionAsyncStorage_external } from '../../server/app-render/action-async-storage.external.js';
5
-
6
- var hasRequiredRedirect;
7
-
8
- function requireRedirect () {
9
- if (hasRequiredRedirect) return redirect.exports;
10
- hasRequiredRedirect = 1;
11
- (function (module, exports$1) {
12
-
13
- Object.defineProperty(exports$1, "__esModule", {
14
- value: true
15
- });
16
- function _export(target, all) {
17
- for (var name in all) Object.defineProperty(target, name, {
18
- enumerable: true,
19
- get: all[name]
20
- });
21
- }
22
- _export(exports$1, {
23
- getRedirectError: function () {
24
- return getRedirectError;
25
- },
26
- getRedirectStatusCodeFromError: function () {
27
- return getRedirectStatusCodeFromError;
28
- },
29
- getRedirectTypeFromError: function () {
30
- return getRedirectTypeFromError;
31
- },
32
- getURLFromRedirectError: function () {
33
- return getURLFromRedirectError;
34
- },
35
- permanentRedirect: function () {
36
- return permanentRedirect;
37
- },
38
- redirect: function () {
39
- return redirect;
40
- }
41
- });
42
- const _redirectstatuscode = requireRedirectStatusCode();
43
- const _redirecterror = requireRedirectError();
44
- const actionAsyncStorage = typeof window === 'undefined' ? requireActionAsyncStorage_external().actionAsyncStorage : undefined;
45
- function getRedirectError(url, type, statusCode = _redirectstatuscode.RedirectStatusCode.TemporaryRedirect) {
46
- const error = Object.defineProperty(new Error(_redirecterror.REDIRECT_ERROR_CODE), "__NEXT_ERROR_CODE", {
47
- value: "E394",
48
- enumerable: false,
49
- configurable: true
50
- });
51
- error.digest = `${_redirecterror.REDIRECT_ERROR_CODE};${type};${url};${statusCode};`;
52
- return error;
53
- }
54
- function redirect(/** The URL to redirect to */url, type) {
55
- type ??= actionAsyncStorage?.getStore()?.isAction ? _redirecterror.RedirectType.push : _redirecterror.RedirectType.replace;
56
- throw getRedirectError(url, type, _redirectstatuscode.RedirectStatusCode.TemporaryRedirect);
57
- }
58
- function permanentRedirect(/** The URL to redirect to */url, type = _redirecterror.RedirectType.replace) {
59
- throw getRedirectError(url, type, _redirectstatuscode.RedirectStatusCode.PermanentRedirect);
60
- }
61
- function getURLFromRedirectError(error) {
62
- if (!(0, _redirecterror.isRedirectError)(error)) return null;
63
- // Slices off the beginning of the digest that contains the code and the
64
- // separating ';'.
65
- return error.digest.split(';').slice(2, -2).join(';');
66
- }
67
- function getRedirectTypeFromError(error) {
68
- if (!(0, _redirecterror.isRedirectError)(error)) {
69
- throw Object.defineProperty(new Error('Not a redirect error'), "__NEXT_ERROR_CODE", {
70
- value: "E260",
71
- enumerable: false,
72
- configurable: true
73
- });
74
- }
75
- return error.digest.split(';', 2)[1];
76
- }
77
- function getRedirectStatusCodeFromError(error) {
78
- if (!(0, _redirecterror.isRedirectError)(error)) {
79
- throw Object.defineProperty(new Error('Not a redirect error'), "__NEXT_ERROR_CODE", {
80
- value: "E260",
81
- enumerable: false,
82
- configurable: true
83
- });
84
- }
85
- return Number(error.digest.split(';').at(-2));
86
- }
87
- if ((typeof exports$1.default === 'function' || typeof exports$1.default === 'object' && exports$1.default !== null) && typeof exports$1.default.__esModule === 'undefined') {
88
- Object.defineProperty(exports$1.default, '__esModule', {
89
- value: true
90
- });
91
- Object.assign(exports$1.default, exports$1);
92
- module.exports = exports$1.default;
93
- }
94
- } (redirect, redirect.exports));
95
- return redirect.exports;
96
- }
97
-
98
- export { requireRedirect as __require };
@@ -1,50 +0,0 @@
1
- import { __module as staticGenerationBailout } from '../../../../../_virtual/static-generation-bailout.js';
2
-
3
- var hasRequiredStaticGenerationBailout;
4
-
5
- function requireStaticGenerationBailout () {
6
- if (hasRequiredStaticGenerationBailout) return staticGenerationBailout.exports;
7
- hasRequiredStaticGenerationBailout = 1;
8
- (function (module, exports$1) {
9
-
10
- Object.defineProperty(exports$1, "__esModule", {
11
- value: true
12
- });
13
- function _export(target, all) {
14
- for (var name in all) Object.defineProperty(target, name, {
15
- enumerable: true,
16
- get: all[name]
17
- });
18
- }
19
- _export(exports$1, {
20
- StaticGenBailoutError: function () {
21
- return StaticGenBailoutError;
22
- },
23
- isStaticGenBailoutError: function () {
24
- return isStaticGenBailoutError;
25
- }
26
- });
27
- const NEXT_STATIC_GEN_BAILOUT = 'NEXT_STATIC_GEN_BAILOUT';
28
- class StaticGenBailoutError extends Error {
29
- constructor(...args) {
30
- super(...args), this.code = NEXT_STATIC_GEN_BAILOUT;
31
- }
32
- }
33
- function isStaticGenBailoutError(error) {
34
- if (typeof error !== 'object' || error === null || !('code' in error)) {
35
- return false;
36
- }
37
- return error.code === NEXT_STATIC_GEN_BAILOUT;
38
- }
39
- if ((typeof exports$1.default === 'function' || typeof exports$1.default === 'object' && exports$1.default !== null) && typeof exports$1.default.__esModule === 'undefined') {
40
- Object.defineProperty(exports$1.default, '__esModule', {
41
- value: true
42
- });
43
- Object.assign(exports$1.default, exports$1);
44
- module.exports = exports$1.default;
45
- }
46
- } (staticGenerationBailout, staticGenerationBailout.exports));
47
- return staticGenerationBailout.exports;
48
- }
49
-
50
- export { requireStaticGenerationBailout as __require };
@@ -1,63 +0,0 @@
1
- import { __module as unauthorized } from '../../../../../_virtual/unauthorized.js';
2
- import { __require as requireHttpAccessFallback } from './http-access-fallback/http-access-fallback.js';
3
-
4
- var hasRequiredUnauthorized;
5
-
6
- function requireUnauthorized () {
7
- if (hasRequiredUnauthorized) return unauthorized.exports;
8
- hasRequiredUnauthorized = 1;
9
- (function (module, exports$1) {
10
-
11
- Object.defineProperty(exports$1, "__esModule", {
12
- value: true
13
- });
14
- Object.defineProperty(exports$1, "unauthorized", {
15
- enumerable: true,
16
- get: function () {
17
- return unauthorized;
18
- }
19
- });
20
- const _httpaccessfallback = requireHttpAccessFallback();
21
- // TODO: Add `unauthorized` docs
22
- /**
23
- * @experimental
24
- * This function allows you to render the [unauthorized.js file](https://nextjs.org/docs/app/api-reference/file-conventions/unauthorized)
25
- * within a route segment as well as inject a tag.
26
- *
27
- * `unauthorized()` can be used in
28
- * [Server Components](https://nextjs.org/docs/app/building-your-application/rendering/server-components),
29
- * [Route Handlers](https://nextjs.org/docs/app/building-your-application/routing/route-handlers), and
30
- * [Server Actions](https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions-and-mutations).
31
- *
32
- *
33
- * Read more: [Next.js Docs: `unauthorized`](https://nextjs.org/docs/app/api-reference/functions/unauthorized)
34
- */
35
- const DIGEST = `${_httpaccessfallback.HTTP_ERROR_FALLBACK_ERROR_CODE};401`;
36
- function unauthorized() {
37
- if (!process.env.__NEXT_EXPERIMENTAL_AUTH_INTERRUPTS) {
38
- throw Object.defineProperty(new Error(`\`unauthorized()\` is experimental and only allowed to be used when \`experimental.authInterrupts\` is enabled.`), "__NEXT_ERROR_CODE", {
39
- value: "E411",
40
- enumerable: false,
41
- configurable: true
42
- });
43
- }
44
- const error = Object.defineProperty(new Error(DIGEST), "__NEXT_ERROR_CODE", {
45
- value: "E394",
46
- enumerable: false,
47
- configurable: true
48
- });
49
- error.digest = DIGEST;
50
- throw error;
51
- }
52
- if ((typeof exports$1.default === 'function' || typeof exports$1.default === 'object' && exports$1.default !== null) && typeof exports$1.default.__esModule === 'undefined') {
53
- Object.defineProperty(exports$1.default, '__esModule', {
54
- value: true
55
- });
56
- Object.assign(exports$1.default, exports$1);
57
- module.exports = exports$1.default;
58
- }
59
- } (unauthorized, unauthorized.exports));
60
- return unauthorized.exports;
61
- }
62
-
63
- export { requireUnauthorized as __require };
@@ -1,47 +0,0 @@
1
- import { __module as unrecognizedActionError } from '../../../../../_virtual/unrecognized-action-error.js';
2
-
3
- var hasRequiredUnrecognizedActionError;
4
-
5
- function requireUnrecognizedActionError () {
6
- if (hasRequiredUnrecognizedActionError) return unrecognizedActionError.exports;
7
- hasRequiredUnrecognizedActionError = 1;
8
- (function (module, exports$1) {
9
-
10
- Object.defineProperty(exports$1, "__esModule", {
11
- value: true
12
- });
13
- function _export(target, all) {
14
- for (var name in all) Object.defineProperty(target, name, {
15
- enumerable: true,
16
- get: all[name]
17
- });
18
- }
19
- _export(exports$1, {
20
- UnrecognizedActionError: function () {
21
- return UnrecognizedActionError;
22
- },
23
- unstable_isUnrecognizedActionError: function () {
24
- return unstable_isUnrecognizedActionError;
25
- }
26
- });
27
- class UnrecognizedActionError extends Error {
28
- constructor(...args) {
29
- super(...args);
30
- this.name = 'UnrecognizedActionError';
31
- }
32
- }
33
- function unstable_isUnrecognizedActionError(error) {
34
- return !!(error && typeof error === 'object' && error instanceof UnrecognizedActionError);
35
- }
36
- if ((typeof exports$1.default === 'function' || typeof exports$1.default === 'object' && exports$1.default !== null) && typeof exports$1.default.__esModule === 'undefined') {
37
- Object.defineProperty(exports$1.default, '__esModule', {
38
- value: true
39
- });
40
- Object.assign(exports$1.default, exports$1);
41
- module.exports = exports$1.default;
42
- }
43
- } (unrecognizedActionError, unrecognizedActionError.exports));
44
- return unrecognizedActionError.exports;
45
- }
46
-
47
- export { requireUnrecognizedActionError as __require };
@@ -1,42 +0,0 @@
1
- import { __module as unstableRethrow_browser } from '../../../../../_virtual/unstable-rethrow.browser.js';
2
- import { __require as requireBailoutToCsr } from '../../shared/lib/lazy-dynamic/bailout-to-csr.js';
3
- import { __require as requireIsNextRouterError } from './is-next-router-error.js';
4
-
5
- var hasRequiredUnstableRethrow_browser;
6
-
7
- function requireUnstableRethrow_browser () {
8
- if (hasRequiredUnstableRethrow_browser) return unstableRethrow_browser.exports;
9
- hasRequiredUnstableRethrow_browser = 1;
10
- (function (module, exports$1) {
11
-
12
- Object.defineProperty(exports$1, "__esModule", {
13
- value: true
14
- });
15
- Object.defineProperty(exports$1, "unstable_rethrow", {
16
- enumerable: true,
17
- get: function () {
18
- return unstable_rethrow;
19
- }
20
- });
21
- const _bailouttocsr = requireBailoutToCsr();
22
- const _isnextroutererror = requireIsNextRouterError();
23
- function unstable_rethrow(error) {
24
- if ((0, _isnextroutererror.isNextRouterError)(error) || (0, _bailouttocsr.isBailoutToCSRError)(error)) {
25
- throw error;
26
- }
27
- if (error instanceof Error && 'cause' in error) {
28
- unstable_rethrow(error.cause);
29
- }
30
- }
31
- if ((typeof exports$1.default === 'function' || typeof exports$1.default === 'object' && exports$1.default !== null) && typeof exports$1.default.__esModule === 'undefined') {
32
- Object.defineProperty(exports$1.default, '__esModule', {
33
- value: true
34
- });
35
- Object.assign(exports$1.default, exports$1);
36
- module.exports = exports$1.default;
37
- }
38
- } (unstableRethrow_browser, unstableRethrow_browser.exports));
39
- return unstableRethrow_browser.exports;
40
- }
41
-
42
- export { requireUnstableRethrow_browser as __require };
@@ -1,41 +0,0 @@
1
- import { __module as unstableRethrow } from '../../../../../_virtual/unstable-rethrow.js';
2
- import { __require as requireUnstableRethrow_server } from './unstable-rethrow.server.js';
3
- import { __require as requireUnstableRethrow_browser } from './unstable-rethrow.browser.js';
4
-
5
- /**
6
- * This function should be used to rethrow internal Next.js errors so that they can be handled by the framework.
7
- * When wrapping an API that uses errors to interrupt control flow, you should use this function before you do any error handling.
8
- * This function will rethrow the error if it is a Next.js error so it can be handled, otherwise it will do nothing.
9
- *
10
- * Read more: [Next.js Docs: `unstable_rethrow`](https://nextjs.org/docs/app/api-reference/functions/unstable_rethrow)
11
- */
12
-
13
- var hasRequiredUnstableRethrow;
14
-
15
- function requireUnstableRethrow () {
16
- if (hasRequiredUnstableRethrow) return unstableRethrow.exports;
17
- hasRequiredUnstableRethrow = 1;
18
- (function (module, exports$1) {
19
-
20
- Object.defineProperty(exports$1, "__esModule", {
21
- value: true
22
- });
23
- Object.defineProperty(exports$1, "unstable_rethrow", {
24
- enumerable: true,
25
- get: function () {
26
- return unstable_rethrow;
27
- }
28
- });
29
- const unstable_rethrow = typeof window === 'undefined' ? requireUnstableRethrow_server().unstable_rethrow : requireUnstableRethrow_browser().unstable_rethrow;
30
- if ((typeof exports$1.default === 'function' || typeof exports$1.default === 'object' && exports$1.default !== null) && typeof exports$1.default.__esModule === 'undefined') {
31
- Object.defineProperty(exports$1.default, '__esModule', {
32
- value: true
33
- });
34
- Object.assign(exports$1.default, exports$1);
35
- module.exports = exports$1.default;
36
- }
37
- } (unstableRethrow, unstableRethrow.exports));
38
- return unstableRethrow.exports;
39
- }
40
-
41
- export { requireUnstableRethrow as __require };
@@ -1,50 +0,0 @@
1
- import { __module as unstableRethrow_server } from '../../../../../_virtual/unstable-rethrow.server.js';
2
- import { __require as requireDynamicRenderingUtils } from '../../server/dynamic-rendering-utils.js';
3
- import { __require as requireIsPostpone } from '../../server/lib/router-utils/is-postpone.js';
4
- import { __require as requireBailoutToCsr } from '../../shared/lib/lazy-dynamic/bailout-to-csr.js';
5
- import { __require as requireIsNextRouterError } from './is-next-router-error.js';
6
- import { __require as requireDynamicRendering } from '../../server/app-render/dynamic-rendering.js';
7
- import { __require as requireHooksServerContext } from './hooks-server-context.js';
8
-
9
- var hasRequiredUnstableRethrow_server;
10
-
11
- function requireUnstableRethrow_server () {
12
- if (hasRequiredUnstableRethrow_server) return unstableRethrow_server.exports;
13
- hasRequiredUnstableRethrow_server = 1;
14
- (function (module, exports$1) {
15
-
16
- Object.defineProperty(exports$1, "__esModule", {
17
- value: true
18
- });
19
- Object.defineProperty(exports$1, "unstable_rethrow", {
20
- enumerable: true,
21
- get: function () {
22
- return unstable_rethrow;
23
- }
24
- });
25
- const _dynamicrenderingutils = requireDynamicRenderingUtils();
26
- const _ispostpone = requireIsPostpone();
27
- const _bailouttocsr = requireBailoutToCsr();
28
- const _isnextroutererror = requireIsNextRouterError();
29
- const _dynamicrendering = requireDynamicRendering();
30
- const _hooksservercontext = requireHooksServerContext();
31
- function unstable_rethrow(error) {
32
- if ((0, _isnextroutererror.isNextRouterError)(error) || (0, _bailouttocsr.isBailoutToCSRError)(error) || (0, _hooksservercontext.isDynamicServerError)(error) || (0, _dynamicrendering.isDynamicPostpone)(error) || (0, _ispostpone.isPostpone)(error) || (0, _dynamicrenderingutils.isHangingPromiseRejectionError)(error) || (0, _dynamicrendering.isPrerenderInterruptedError)(error)) {
33
- throw error;
34
- }
35
- if (error instanceof Error && 'cause' in error) {
36
- unstable_rethrow(error.cause);
37
- }
38
- }
39
- if ((typeof exports$1.default === 'function' || typeof exports$1.default === 'object' && exports$1.default !== null) && typeof exports$1.default.__esModule === 'undefined') {
40
- Object.defineProperty(exports$1.default, '__esModule', {
41
- value: true
42
- });
43
- Object.assign(exports$1.default, exports$1);
44
- module.exports = exports$1.default;
45
- }
46
- } (unstableRethrow_server, unstableRethrow_server.exports));
47
- return unstableRethrow_server.exports;
48
- }
49
-
50
- export { requireUnstableRethrow_server as __require };
@@ -1,36 +0,0 @@
1
- import { __module as detectDomainLocale } from '../../../../_virtual/detect-domain-locale.js';
2
- import { __require as requireDetectDomainLocale$1 } from '../shared/lib/i18n/detect-domain-locale.js';
3
-
4
- var hasRequiredDetectDomainLocale;
5
-
6
- function requireDetectDomainLocale () {
7
- if (hasRequiredDetectDomainLocale) return detectDomainLocale.exports;
8
- hasRequiredDetectDomainLocale = 1;
9
- (function (module, exports$1) {
10
-
11
- Object.defineProperty(exports$1, "__esModule", {
12
- value: true
13
- });
14
- Object.defineProperty(exports$1, "detectDomainLocale", {
15
- enumerable: true,
16
- get: function () {
17
- return detectDomainLocale;
18
- }
19
- });
20
- const detectDomainLocale = (...args) => {
21
- if (process.env.__NEXT_I18N_SUPPORT) {
22
- return requireDetectDomainLocale$1().detectDomainLocale(...args);
23
- }
24
- };
25
- if ((typeof exports$1.default === 'function' || typeof exports$1.default === 'object' && exports$1.default !== null) && typeof exports$1.default.__esModule === 'undefined') {
26
- Object.defineProperty(exports$1.default, '__esModule', {
27
- value: true
28
- });
29
- Object.assign(exports$1.default, exports$1);
30
- module.exports = exports$1.default;
31
- }
32
- } (detectDomainLocale, detectDomainLocale.exports));
33
- return detectDomainLocale.exports;
34
- }
35
-
36
- export { requireDetectDomainLocale as __require };
@@ -1,51 +0,0 @@
1
- import { __module as getDomainLocale } from '../../../../_virtual/get-domain-locale.js';
2
- import { __require as requireNormalizeTrailingSlash } from './normalize-trailing-slash.js';
3
- import { __require as requireNormalizeLocalePath } from './normalize-locale-path.js';
4
- import { __require as requireDetectDomainLocale } from './detect-domain-locale.js';
5
-
6
- var hasRequiredGetDomainLocale;
7
-
8
- function requireGetDomainLocale () {
9
- if (hasRequiredGetDomainLocale) return getDomainLocale.exports;
10
- hasRequiredGetDomainLocale = 1;
11
- (function (module, exports$1) {
12
-
13
- Object.defineProperty(exports$1, "__esModule", {
14
- value: true
15
- });
16
- Object.defineProperty(exports$1, "getDomainLocale", {
17
- enumerable: true,
18
- get: function () {
19
- return getDomainLocale;
20
- }
21
- });
22
- const _normalizetrailingslash = requireNormalizeTrailingSlash();
23
- const basePath = process.env.__NEXT_ROUTER_BASEPATH || '';
24
- function getDomainLocale(path, locale, locales, domainLocales) {
25
- if (process.env.__NEXT_I18N_SUPPORT) {
26
- const normalizeLocalePath = requireNormalizeLocalePath().normalizeLocalePath;
27
- const detectDomainLocale = requireDetectDomainLocale().detectDomainLocale;
28
- const target = locale || normalizeLocalePath(path, locales).detectedLocale;
29
- const domain = detectDomainLocale(domainLocales, undefined, target);
30
- if (domain) {
31
- const proto = `http${domain.http ? '' : 's'}://`;
32
- const finalLocale = target === domain.defaultLocale ? '' : `/${target}`;
33
- return `${proto}${domain.domain}${(0, _normalizetrailingslash.normalizePathTrailingSlash)(`${basePath}${finalLocale}${path}`)}`;
34
- }
35
- return false;
36
- } else {
37
- return false;
38
- }
39
- }
40
- if ((typeof exports$1.default === 'function' || typeof exports$1.default === 'object' && exports$1.default !== null) && typeof exports$1.default.__esModule === 'undefined') {
41
- Object.defineProperty(exports$1.default, '__esModule', {
42
- value: true
43
- });
44
- Object.assign(exports$1.default, exports$1);
45
- module.exports = exports$1.default;
46
- }
47
- } (getDomainLocale, getDomainLocale.exports));
48
- return getDomainLocale.exports;
49
- }
50
-
51
- export { requireGetDomainLocale as __require };
@@ -1,36 +0,0 @@
1
- import { __module as hasBasePath } from '../../../../_virtual/has-base-path.js';
2
- import { __require as requirePathHasPrefix } from '../shared/lib/router/utils/path-has-prefix.js';
3
-
4
- var hasRequiredHasBasePath;
5
-
6
- function requireHasBasePath () {
7
- if (hasRequiredHasBasePath) return hasBasePath.exports;
8
- hasRequiredHasBasePath = 1;
9
- (function (module, exports$1) {
10
-
11
- Object.defineProperty(exports$1, "__esModule", {
12
- value: true
13
- });
14
- Object.defineProperty(exports$1, "hasBasePath", {
15
- enumerable: true,
16
- get: function () {
17
- return hasBasePath;
18
- }
19
- });
20
- const _pathhasprefix = requirePathHasPrefix();
21
- const basePath = process.env.__NEXT_ROUTER_BASEPATH || '';
22
- function hasBasePath(path) {
23
- return (0, _pathhasprefix.pathHasPrefix)(path, basePath);
24
- }
25
- if ((typeof exports$1.default === 'function' || typeof exports$1.default === 'object' && exports$1.default !== null) && typeof exports$1.default.__esModule === 'undefined') {
26
- Object.defineProperty(exports$1.default, '__esModule', {
27
- value: true
28
- });
29
- Object.assign(exports$1.default, exports$1);
30
- module.exports = exports$1.default;
31
- }
32
- } (hasBasePath, hasBasePath.exports));
33
- return hasBasePath.exports;
34
- }
35
-
36
- export { requireHasBasePath as __require };