nuxt-ignis 0.5.2 → 0.5.3

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 (409) hide show
  1. package/.data/content/contents.sqlite +0 -0
  2. package/.env +1 -1
  3. package/.nuxt/components.d.ts +480 -858
  4. package/.nuxt/content/components.ts +177 -320
  5. package/.nuxt/dev/index.mjs +542 -530
  6. package/.nuxt/dev/index.mjs.map +1 -1
  7. package/.nuxt/dist/server/client.manifest.mjs +1 -1
  8. package/.nuxt/dist/server/client.precomputed.mjs +1 -1
  9. package/.nuxt/eslint-typegen.d.ts +60 -111
  10. package/.nuxt/eslint.config.d.mts +2 -2
  11. package/.nuxt/eslint.config.mjs +9 -9
  12. package/.nuxt/imports.d.ts +71 -70
  13. package/.nuxt/manifest/latest.json +1 -1
  14. package/.nuxt/manifest/meta/dev.json +1 -1
  15. package/.nuxt/module/nuxt-robots.d.ts +13 -12
  16. package/.nuxt/module/nuxt-seo-utils.d.ts +10 -10
  17. package/.nuxt/module/nuxt-site-config.d.ts +8 -8
  18. package/.nuxt/module/nuxt-sitemap.d.ts +18 -18
  19. package/.nuxt/nitro.json +4 -4
  20. package/.nuxt/nuxt.d.ts +6 -6
  21. package/.nuxt/nuxt.json +2 -2
  22. package/.nuxt/nuxt.node.d.ts +7 -6
  23. package/.nuxt/tsconfig.app.json +192 -188
  24. package/.nuxt/tsconfig.json +195 -191
  25. package/.nuxt/tsconfig.node.json +108 -104
  26. package/.nuxt/tsconfig.server.json +128 -127
  27. package/.nuxt/tsconfig.shared.json +62 -62
  28. package/.nuxt/types/build.d.ts +1 -1
  29. package/.nuxt/types/components.d.ts +480 -858
  30. package/.nuxt/types/i18n-plugin.d.ts +2 -2
  31. package/.nuxt/types/imports.d.ts +368 -366
  32. package/.nuxt/types/modules.d.ts +22 -24
  33. package/.nuxt/types/nitro-imports.d.ts +66 -66
  34. package/.nuxt/types/nitro-nuxt.d.ts +1 -1
  35. package/.nuxt/types/nitro-routes.d.ts +16 -16
  36. package/.nuxt/types/plugins.d.ts +37 -37
  37. package/.nuxt/types/runtime-config.d.ts +3 -1
  38. package/.output/nitro.json +2 -2
  39. package/.output/public/_ignis-config.json +6 -0
  40. package/.output/public/_nuxt/-OUwOzoZ.js +1 -0
  41. package/.output/public/_nuxt/-z2jk33i.js +1 -0
  42. package/.output/public/_nuxt/3L5yAyVe.js +1 -0
  43. package/.output/public/_nuxt/8nlalpbc.js +1 -0
  44. package/.output/public/_nuxt/As5Zy5cG.js +1 -0
  45. package/.output/public/_nuxt/B-TDuiGE.js +1 -0
  46. package/.output/public/_nuxt/B04mZI32.js +1 -0
  47. package/.output/public/_nuxt/B3zmx-p1.js +1 -0
  48. package/.output/public/_nuxt/B4eQjLRH.js +1 -0
  49. package/.output/public/_nuxt/B6WOJ0Em.js +1 -0
  50. package/.output/public/_nuxt/BB2ULiwb.js +1 -0
  51. package/.output/public/_nuxt/BEvX3xjB.js +1 -0
  52. package/.output/public/_nuxt/BFcGh2xo.js +1 -0
  53. package/.output/public/_nuxt/BFdGKCUO.js +1 -0
  54. package/.output/public/_nuxt/BG-5V6Ik.js +1 -0
  55. package/.output/public/_nuxt/BeRTSVEP.js +1 -0
  56. package/.output/public/_nuxt/Bh-DZrTV.js +1 -0
  57. package/.output/public/_nuxt/BvFz8iHh.js +1 -0
  58. package/.output/public/_nuxt/BwUgVogm.js +1 -0
  59. package/.output/public/_nuxt/C1fHW8CN.js +1 -0
  60. package/.output/public/_nuxt/C1getMtX.js +49 -0
  61. package/.output/public/_nuxt/C4nGy0Yj.js +1 -0
  62. package/.output/public/_nuxt/CExm4AMI.js +1 -0
  63. package/.output/public/_nuxt/CHcd0nHy.js +1 -0
  64. package/.output/public/_nuxt/CTbEZMxa.js +1 -0
  65. package/.output/public/_nuxt/CZ5QNOH8.js +1 -0
  66. package/.output/public/_nuxt/Cna7T5zY.js +1 -0
  67. package/.output/public/_nuxt/CnghUxEk.js +1 -0
  68. package/.output/public/_nuxt/CvJSUdvI.js +1 -0
  69. package/.output/public/_nuxt/CwgBHvd_.js +1 -0
  70. package/.output/public/_nuxt/D1nIr4-J.js +1 -0
  71. package/.output/public/_nuxt/D2atCez-.js +1 -0
  72. package/.output/public/_nuxt/D3WX5Hmk.js +1 -0
  73. package/.output/public/_nuxt/D5duQQkG.js +1 -0
  74. package/.output/public/_nuxt/D9RSHNPZ.js +1 -0
  75. package/.output/public/_nuxt/DB3c8m3K.js +1 -0
  76. package/.output/public/_nuxt/DFP1sKjc.js +1 -0
  77. package/.output/public/_nuxt/DI5_qtj_.js +1 -0
  78. package/.output/public/_nuxt/DKCDh1Eq.js +1 -0
  79. package/.output/public/_nuxt/DN3AlbuD.js +1 -0
  80. package/.output/public/_nuxt/DPDbQA17.js +1 -0
  81. package/.output/public/_nuxt/DSErOj49.js +1 -0
  82. package/.output/public/_nuxt/DXrSmKSt.js +1 -0
  83. package/.output/public/_nuxt/DbZ1CQfQ.js +1 -0
  84. package/.output/public/_nuxt/DgCebJqk.js +1 -0
  85. package/.output/public/_nuxt/DhhwMwQM.js +1 -0
  86. package/.output/public/_nuxt/Djhwz52y.js +1 -0
  87. package/.output/public/_nuxt/DnE1KSqg.js +1 -0
  88. package/.output/public/_nuxt/DncFEy6i.js +1 -0
  89. package/.output/public/_nuxt/DpZCZGQO.js +1 -0
  90. package/.output/public/_nuxt/Dx95U2T3.js +1 -0
  91. package/.output/public/_nuxt/FUdAqSn9.js +9 -0
  92. package/.output/public/_nuxt/GvxWNFgu.js +1 -0
  93. package/.output/public/_nuxt/HgKyGH3C.js +1 -0
  94. package/.output/public/_nuxt/Hxhp1Hz0.js +1 -0
  95. package/.output/public/_nuxt/LpFrvoF7.js +1 -0
  96. package/.output/public/_nuxt/{Pre.DHQaXnEy.css → Pre.HegCCrfd.css} +1 -1
  97. package/.output/public/_nuxt/Sz6HDPqh.js +1 -0
  98. package/.output/public/_nuxt/U1_7ggcx.js +1 -0
  99. package/.output/public/_nuxt/X8ZdEYzW.js +1 -0
  100. package/.output/public/_nuxt/ahq42_9S.js +1 -0
  101. package/.output/public/_nuxt/b0AtYQ73.js +1 -0
  102. package/.output/public/_nuxt/builds/latest.json +1 -1
  103. package/.output/public/_nuxt/builds/meta/78080714-55fa-441d-9998-a6fb0c7ee057.json +1 -0
  104. package/.output/public/_nuxt/efC_w6sP.js +1 -0
  105. package/.output/public/_nuxt/entry.9ygoOcLs.css +1 -0
  106. package/.output/public/_nuxt/error-404.0Tbhbu-E.css +1 -0
  107. package/.output/public/_nuxt/error-500.ClQbyW3Z.css +1 -0
  108. package/.output/public/_nuxt/ulE7jr93.js +1 -0
  109. package/.output/public/_nuxt/xHyrElgL.js +1 -0
  110. package/.output/server/chunks/_/error-500.mjs.map +1 -1
  111. package/.output/server/chunks/_/i18n.config.mjs.map +1 -1
  112. package/.output/server/chunks/_/nitro.mjs +1176 -1775
  113. package/.output/server/chunks/_/nitro.mjs.map +1 -1
  114. package/.output/server/chunks/build/client.precomputed.mjs +1 -1
  115. package/.output/server/chunks/build/client.precomputed.mjs.map +1 -1
  116. package/.output/server/chunks/build/database.compressed.mjs.map +1 -1
  117. package/.output/server/chunks/raw/headers.mjs.map +1 -1
  118. package/.output/server/chunks/routes/api/neonTest.mjs +2 -2
  119. package/.output/server/chunks/routes/api/neonTest.mjs.map +1 -1
  120. package/.output/server/chunks/routes/renderer.mjs +27 -2
  121. package/.output/server/chunks/routes/renderer.mjs.map +1 -1
  122. package/.output/server/chunks/virtual/_virtual_spa-template.mjs.map +1 -1
  123. package/.output/server/chunks/virtual/child-sources.mjs.map +1 -1
  124. package/.output/server/chunks/virtual/global-sources.mjs +0 -8
  125. package/.output/server/chunks/virtual/global-sources.mjs.map +1 -1
  126. package/.output/server/index.mjs +1 -1
  127. package/.output/server/index.mjs.map +1 -1
  128. package/.output/server/node_modules/.nitro/{entities@4.5.0/lib/decode_codepoint.js → entities@7.0.0/dist/commonjs/decode-codepoint.js} +16 -15
  129. package/.output/server/node_modules/.nitro/{entities@4.5.0/lib → entities@7.0.0/dist/commonjs}/decode.js +200 -168
  130. package/.output/server/node_modules/.nitro/entities@7.0.0/dist/commonjs/generated/decode-data-html.js +7 -0
  131. package/.output/server/node_modules/.nitro/entities@7.0.0/dist/commonjs/generated/decode-data-xml.js +7 -0
  132. package/.output/server/node_modules/.nitro/entities@7.0.0/dist/commonjs/internal/bin-trie-flags.js +21 -0
  133. package/.output/server/node_modules/.nitro/entities@7.0.0/dist/commonjs/internal/decode-shared.js +31 -0
  134. package/.output/server/node_modules/.nitro/entities@7.0.0/dist/commonjs/package.json +3 -0
  135. package/.output/server/node_modules/.nitro/entities@7.0.0/package.json +113 -0
  136. package/.output/server/node_modules/@intlify/core/dist/core.mjs +1 -1
  137. package/.output/server/node_modules/@intlify/core/package.json +3 -3
  138. package/.output/server/node_modules/@intlify/core-base/dist/core-base.mjs +2 -2
  139. package/.output/server/node_modules/@intlify/core-base/package.json +4 -4
  140. package/.output/server/node_modules/@intlify/message-compiler/dist/message-compiler.mjs +1 -1
  141. package/.output/server/node_modules/@intlify/message-compiler/package.json +2 -2
  142. package/.output/server/node_modules/@intlify/shared/dist/shared.mjs +1 -1
  143. package/.output/server/node_modules/@intlify/shared/package.json +1 -1
  144. package/.output/server/node_modules/@neondatabase/serverless/package.json +4 -4
  145. package/.output/server/node_modules/@poppinss/exception/build/index.js +36 -55
  146. package/.output/server/node_modules/@poppinss/exception/package.json +19 -16
  147. package/.output/server/node_modules/@poppinss/string/build/index.js +2 -6
  148. package/.output/server/node_modules/@poppinss/string/build/string-ArFSN0fl.js +464 -0
  149. package/.output/server/node_modules/@poppinss/string/package.json +28 -25
  150. package/.output/server/node_modules/@shikijs/core/dist/index.mjs +111 -31
  151. package/.output/server/node_modules/@shikijs/core/package.json +2 -2
  152. package/.output/server/node_modules/@shikijs/engine-javascript/package.json +2 -2
  153. package/.output/server/node_modules/@shikijs/engine-oniguruma/package.json +2 -2
  154. package/.output/server/node_modules/@shikijs/langs/package.json +2 -2
  155. package/.output/server/node_modules/@shikijs/themes/package.json +2 -2
  156. package/.output/server/node_modules/@shikijs/transformers/dist/index.mjs +56 -16
  157. package/.output/server/node_modules/@shikijs/transformers/package.json +3 -3
  158. package/.output/server/node_modules/@shikijs/types/package.json +1 -1
  159. package/.output/server/node_modules/{.nitro/@vue/compiler-core@3.5.25 → @vue/compiler-core}/dist/compiler-core.cjs.prod.js +106 -85
  160. package/.output/server/node_modules/{.nitro/@vue/compiler-core@3.5.25 → @vue/compiler-core}/package.json +3 -3
  161. package/.output/server/node_modules/{.nitro/@vue/compiler-dom@3.5.22 → @vue/compiler-dom}/dist/compiler-dom.cjs.prod.js +54 -54
  162. package/.output/server/node_modules/{.nitro/@vue/compiler-dom@3.5.22 → @vue/compiler-dom}/package.json +3 -3
  163. package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +26 -26
  164. package/.output/server/node_modules/@vue/compiler-ssr/package.json +3 -3
  165. package/.output/server/node_modules/{.nitro/@vue/reactivity@3.5.25 → @vue/reactivity}/dist/reactivity.cjs.prod.js +4 -4
  166. package/.output/server/node_modules/{.nitro/@vue/reactivity@3.5.22 → @vue/reactivity}/package.json +2 -2
  167. package/.output/server/node_modules/{.nitro/@vue/runtime-core@3.5.25 → @vue/runtime-core}/dist/runtime-core.cjs.prod.js +175 -155
  168. package/.output/server/node_modules/{.nitro/@vue/runtime-core@3.5.22 → @vue/runtime-core}/package.json +3 -3
  169. package/.output/server/node_modules/{.nitro/@vue/runtime-dom@3.5.25 → @vue/runtime-dom}/dist/runtime-dom.cjs.prod.js +9 -9
  170. package/.output/server/node_modules/{.nitro/@vue/runtime-dom@3.5.22 → @vue/runtime-dom}/package.json +5 -5
  171. package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +1 -1
  172. package/.output/server/node_modules/@vue/server-renderer/package.json +4 -4
  173. package/.output/server/node_modules/{.nitro/@vue/shared@3.5.25 → @vue/shared}/dist/shared.cjs.prod.js +1 -1
  174. package/.output/server/node_modules/{.nitro/@vue/shared@3.5.22 → @vue/shared}/package.json +1 -1
  175. package/.output/server/node_modules/devalue/index.js +1 -0
  176. package/.output/server/node_modules/devalue/package.json +1 -1
  177. package/.output/server/node_modules/devalue/src/parse.js +5 -1
  178. package/.output/server/node_modules/devalue/src/stringify.js +7 -3
  179. package/.output/server/node_modules/devalue/src/uneval.js +7 -3
  180. package/.output/server/node_modules/devalue/src/utils.js +5 -1
  181. package/.output/server/node_modules/fast-xml-parser/package.json +4 -2
  182. package/.output/server/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +19 -8
  183. package/.output/server/node_modules/hast-util-to-parse5/lib/index.js +13 -19
  184. package/.output/server/node_modules/hast-util-to-parse5/package.json +8 -7
  185. package/.output/server/node_modules/jose/dist/webapi/index.js +4 -2
  186. package/.output/server/node_modules/jose/dist/webapi/jwks/remote.js +1 -1
  187. package/.output/server/node_modules/jose/dist/webapi/lib/check_key_type.js +2 -2
  188. package/.output/server/node_modules/jose/package.json +1 -1
  189. package/.output/server/node_modules/node-mock-http/package.json +10 -10
  190. package/.output/server/node_modules/regex/package.json +6 -6
  191. package/.output/server/node_modules/regex/src/atomic.js +6 -3
  192. package/.output/server/node_modules/shiki/package.json +7 -7
  193. package/.output/server/node_modules/strnum/package.json +1 -1
  194. package/.output/server/node_modules/strnum/strnum.js +1 -1
  195. package/.output/server/node_modules/unhead/dist/plugins.mjs +2 -2
  196. package/.output/server/node_modules/unhead/dist/server.mjs +3 -3
  197. package/.output/server/node_modules/unhead/dist/shared/{unhead.DH45uomy.mjs → unhead.CGCfDSEL.mjs} +3 -3
  198. package/.output/server/node_modules/unhead/dist/shared/{unhead.BpRRHAhY.mjs → unhead.CYpwL2hc.mjs} +12 -12
  199. package/.output/server/node_modules/unhead/dist/shared/{unhead.DZbvapt-.mjs → unhead.CbpEuj3y.mjs} +3 -2
  200. package/.output/server/node_modules/unhead/dist/shared/{unhead.Djo8ep_Y.mjs → unhead.ckV6dpEQ.mjs} +1 -1
  201. package/.output/server/node_modules/unhead/dist/utils.mjs +2 -2
  202. package/.output/server/node_modules/unhead/package.json +1 -1
  203. package/.output/server/node_modules/{.nitro/vue@3.5.22 → vue}/dist/vue.cjs.js +1 -1
  204. package/.output/server/node_modules/{.nitro/vue@3.5.25 → vue}/dist/vue.cjs.prod.js +1 -1
  205. package/.output/server/node_modules/{.nitro/vue@3.5.25 → vue}/package.json +6 -6
  206. package/.output/server/node_modules/vue-router/dist/{devtools-BLCumUwL.mjs → devtools-EWN81iOl.mjs} +6 -4
  207. package/.output/server/node_modules/vue-router/dist/vue-router.mjs +3 -3
  208. package/.output/server/node_modules/vue-router/package.json +2 -3
  209. package/.output/server/node_modules/yaml/dist/compose/compose-collection.js +1 -1
  210. package/.output/server/node_modules/yaml/dist/compose/resolve-block-seq.js +1 -1
  211. package/.output/server/node_modules/yaml/dist/compose/resolve-flow-collection.js +2 -2
  212. package/.output/server/node_modules/yaml/dist/errors.js +1 -1
  213. package/.output/server/node_modules/yaml/dist/nodes/Alias.js +1 -1
  214. package/.output/server/node_modules/yaml/dist/parse/parser.js +2 -2
  215. package/.output/server/node_modules/yaml/dist/stringify/stringifyNumber.js +1 -1
  216. package/.output/server/node_modules/yaml/dist/stringify/stringifyPair.js +1 -1
  217. package/.output/server/node_modules/yaml/package.json +4 -4
  218. package/.output/server/package.json +35 -38
  219. package/bin/set-app-vue.js +1 -1
  220. package/bin/set-css.js +1 -1
  221. package/bin/set-eslint.js +1 -1
  222. package/bin/setup.js +3 -3
  223. package/eslint.config.mjs +7 -4
  224. package/package.json +7 -7
  225. package/public/_ignis-config.json +6 -0
  226. package/vitest.config.ts +1 -3
  227. package/.output/public/_nuxt/-PRJHlJd.js +0 -1
  228. package/.output/public/_nuxt/38NkCNo_.js +0 -0
  229. package/.output/public/_nuxt/4p0_eEbF.js +0 -0
  230. package/.output/public/_nuxt/5P9Ak6Zm.js +0 -0
  231. package/.output/public/_nuxt/5msm7UDY.js +0 -0
  232. package/.output/public/_nuxt/7I_cTX05.js +0 -1
  233. package/.output/public/_nuxt/7N8aGG8C.js +0 -1
  234. package/.output/public/_nuxt/9j0d6I4O.js +0 -0
  235. package/.output/public/_nuxt/B7b1sBVf.js +0 -0
  236. package/.output/public/_nuxt/B7pFyPXj.js +0 -1
  237. package/.output/public/_nuxt/B8s7UrMM.js +0 -1
  238. package/.output/public/_nuxt/BHBmrOu8.js +0 -1
  239. package/.output/public/_nuxt/BHIv_dM4.js +0 -0
  240. package/.output/public/_nuxt/BI2n4fU-.js +0 -0
  241. package/.output/public/_nuxt/BJos6QuZ.js +0 -0
  242. package/.output/public/_nuxt/BKsXoEBs.js +0 -0
  243. package/.output/public/_nuxt/BNKvjWkT.js +0 -1
  244. package/.output/public/_nuxt/BQmtXkqc.js +0 -1
  245. package/.output/public/_nuxt/BQuCJQB8.js +0 -0
  246. package/.output/public/_nuxt/BSEIdlOb.js +0 -0
  247. package/.output/public/_nuxt/BST7mczs.js +0 -1
  248. package/.output/public/_nuxt/BTAjWPAo.js +0 -1
  249. package/.output/public/_nuxt/BYIIksjz.js +0 -0
  250. package/.output/public/_nuxt/BfZ1Ro0X.js +0 -1
  251. package/.output/public/_nuxt/Bg-6qayI.js +0 -1
  252. package/.output/public/_nuxt/BgP-osMP.js +0 -1
  253. package/.output/public/_nuxt/BiCkyLWS.js +0 -1
  254. package/.output/public/_nuxt/BjN_umGo.js +0 -1
  255. package/.output/public/_nuxt/BqK0HYmw.js +0 -1
  256. package/.output/public/_nuxt/BrSteMIA.js +0 -1
  257. package/.output/public/_nuxt/C-MeLOeF.js +0 -1
  258. package/.output/public/_nuxt/C-OKZMJp.js +0 -1
  259. package/.output/public/_nuxt/C6tJinWY.js +0 -0
  260. package/.output/public/_nuxt/C7lLQr2h.js +0 -0
  261. package/.output/public/_nuxt/CDLGLk8m.js +0 -1
  262. package/.output/public/_nuxt/CDT62st6.js +0 -1
  263. package/.output/public/_nuxt/CFimyBH-.js +0 -0
  264. package/.output/public/_nuxt/CG7cd7Sy.js +0 -1
  265. package/.output/public/_nuxt/CKPnIC-C.js +0 -0
  266. package/.output/public/_nuxt/COPw3T3p.js +0 -1
  267. package/.output/public/_nuxt/CQGFUxxa.js +0 -1
  268. package/.output/public/_nuxt/CSX_cLY6.js +0 -1
  269. package/.output/public/_nuxt/CaVNnfk7.js +0 -0
  270. package/.output/public/_nuxt/Cd1ifhTP.js +0 -0
  271. package/.output/public/_nuxt/CdygaddQ.js +0 -9
  272. package/.output/public/_nuxt/Cf-VPxfE.js +0 -1
  273. package/.output/public/_nuxt/CfmMK6-y.js +0 -1
  274. package/.output/public/_nuxt/Civ5r6YF.js +0 -1
  275. package/.output/public/_nuxt/CkdnMzBA.js +0 -0
  276. package/.output/public/_nuxt/CnlJVizr.js +0 -1
  277. package/.output/public/_nuxt/Coqgx10n.js +0 -0
  278. package/.output/public/_nuxt/CxMUMwzI.js +0 -1
  279. package/.output/public/_nuxt/Cyw3rpDt.js +0 -1
  280. package/.output/public/_nuxt/CzKgiVVn.js +0 -1
  281. package/.output/public/_nuxt/D-qXrpoJ.js +0 -0
  282. package/.output/public/_nuxt/D2vgCRoc.js +0 -1
  283. package/.output/public/_nuxt/D4fuXfD_.js +0 -1
  284. package/.output/public/_nuxt/D5IuxRu4.js +0 -1
  285. package/.output/public/_nuxt/D5j9Embb.js +0 -1
  286. package/.output/public/_nuxt/D6YL6Hhi.js +0 -0
  287. package/.output/public/_nuxt/DAIwjxRT.js +0 -0
  288. package/.output/public/_nuxt/DBEY94Mo.js +0 -0
  289. package/.output/public/_nuxt/DCQOMtdo.js +0 -1
  290. package/.output/public/_nuxt/DEQ3hSSO.js +0 -1
  291. package/.output/public/_nuxt/DFfCkFZ3.js +0 -1
  292. package/.output/public/_nuxt/DL4qe-W_.js +0 -0
  293. package/.output/public/_nuxt/DLKI6lgi.js +0 -0
  294. package/.output/public/_nuxt/DOAeoYpG.js +0 -0
  295. package/.output/public/_nuxt/DPQeTxQ3.js +0 -1
  296. package/.output/public/_nuxt/DP_txrAq.js +0 -1
  297. package/.output/public/_nuxt/DQKS5ddY.js +0 -1
  298. package/.output/public/_nuxt/DXXu9Lvl.js +0 -1
  299. package/.output/public/_nuxt/DcUS3ReQ.js +0 -0
  300. package/.output/public/_nuxt/DdWDmJe7.js +0 -0
  301. package/.output/public/_nuxt/Df59gZou.js +0 -0
  302. package/.output/public/_nuxt/DiIccoHR.js +0 -0
  303. package/.output/public/_nuxt/DiL3rzK6.js +0 -1
  304. package/.output/public/_nuxt/DkEHW4Vs.js +0 -0
  305. package/.output/public/_nuxt/DmRrrdJv.js +0 -1
  306. package/.output/public/_nuxt/Do5nYv4E.js +0 -0
  307. package/.output/public/_nuxt/DqyxgTAQ.js +0 -0
  308. package/.output/public/_nuxt/DrE64K_R.js +0 -1
  309. package/.output/public/_nuxt/DrskXsQH.js +0 -1
  310. package/.output/public/_nuxt/Ds7AWph0.js +0 -0
  311. package/.output/public/_nuxt/Dvcv58Mc.js +0 -1
  312. package/.output/public/_nuxt/FMWwyTQ_.js +0 -0
  313. package/.output/public/_nuxt/Q6bGSN8C.js +0 -0
  314. package/.output/public/_nuxt/QyE4cqYn.js +0 -1
  315. package/.output/public/_nuxt/Tcmkoyas.js +0 -1
  316. package/.output/public/_nuxt/Tj4XPHLn.js +0 -1
  317. package/.output/public/_nuxt/VOEA7UHD.js +0 -0
  318. package/.output/public/_nuxt/WOOfaOjG.js +0 -1
  319. package/.output/public/_nuxt/Y6FRsTFQ.js +0 -0
  320. package/.output/public/_nuxt/ZDbum-dK.js +0 -1
  321. package/.output/public/_nuxt/ZTY82FYd.js +0 -0
  322. package/.output/public/_nuxt/asVu8S_S.js +0 -51
  323. package/.output/public/_nuxt/builds/meta/68901e1f-eb2d-48db-9c33-8ac67fff1d62.json +0 -1
  324. package/.output/public/_nuxt/cjlVjclE.js +0 -1
  325. package/.output/public/_nuxt/entry.UZgisdi2.css +0 -1
  326. package/.output/public/_nuxt/error-404.DQ5oEvRi.css +0 -1
  327. package/.output/public/_nuxt/error-500.c8JA_zlB.css +0 -1
  328. package/.output/public/_nuxt/gmjYz5n6.js +0 -0
  329. package/.output/public/_nuxt/iatO0zkI.js +0 -1
  330. package/.output/public/_nuxt/jieRiiOw.js +0 -0
  331. package/.output/public/_nuxt/lAhMwKxb.js +0 -1
  332. package/.output/public/_nuxt/mHcxE7OD.js +0 -0
  333. package/.output/public/_nuxt/n17zLPF6.js +0 -0
  334. package/.output/public/_nuxt/ncv2QjU2.js +0 -1
  335. package/.output/public/_nuxt/osXHzmfu.js +0 -1
  336. package/.output/public/_nuxt/plapqmiu.js +0 -1
  337. package/.output/public/_nuxt/pnNmDVjA.js +0 -0
  338. package/.output/public/_nuxt/rxAL1Pmw.js +0 -1
  339. package/.output/public/_nuxt/ryzXmKdZ.js +0 -1
  340. package/.output/public/_nuxt/t9C3L8ir.js +0 -1
  341. package/.output/public/_nuxt/wQgAJ5T0.js +0 -1
  342. package/.output/public/_nuxt/z6h75OXJ.js +0 -1
  343. package/.output/server/node_modules/.nitro/@vue/compiler-core@3.5.22/dist/compiler-core.cjs.prod.js +0 -6741
  344. package/.output/server/node_modules/.nitro/@vue/compiler-core@3.5.22/package.json +0 -58
  345. package/.output/server/node_modules/.nitro/@vue/compiler-dom@3.5.25/dist/compiler-dom.cjs.prod.js +0 -689
  346. package/.output/server/node_modules/.nitro/@vue/compiler-dom@3.5.25/package.json +0 -57
  347. package/.output/server/node_modules/.nitro/@vue/reactivity@3.5.22/dist/reactivity.cjs.prod.js +0 -1807
  348. package/.output/server/node_modules/.nitro/@vue/reactivity@3.5.25/package.json +0 -55
  349. package/.output/server/node_modules/.nitro/@vue/runtime-core@3.5.22/dist/runtime-core.cjs.prod.js +0 -6732
  350. package/.output/server/node_modules/.nitro/@vue/runtime-core@3.5.25/package.json +0 -52
  351. package/.output/server/node_modules/.nitro/@vue/runtime-dom@3.5.22/dist/runtime-dom.cjs.prod.js +0 -1703
  352. package/.output/server/node_modules/.nitro/@vue/runtime-dom@3.5.25/package.json +0 -60
  353. package/.output/server/node_modules/.nitro/@vue/shared@3.5.22/dist/shared.cjs.prod.js +0 -604
  354. package/.output/server/node_modules/.nitro/@vue/shared@3.5.25/package.json +0 -47
  355. package/.output/server/node_modules/.nitro/entities@4.5.0/lib/generated/decode-data-html.js +0 -9
  356. package/.output/server/node_modules/.nitro/entities@4.5.0/lib/generated/decode-data-xml.js +0 -9
  357. package/.output/server/node_modules/.nitro/property-information@6.5.0/index.js +0 -18
  358. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/aria.js +0 -59
  359. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/find.js +0 -68
  360. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/hast-to-react.js +0 -28
  361. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/html.js +0 -322
  362. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/normalize.js +0 -7
  363. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/svg.js +0 -567
  364. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/case-insensitive-transform.js +0 -10
  365. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/case-sensitive-transform.js +0 -8
  366. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/create.js +0 -58
  367. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/defined-info.js +0 -44
  368. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/info.js +0 -25
  369. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/merge.js +0 -26
  370. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/schema.js +0 -28
  371. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/xlink.js +0 -17
  372. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/xml.js +0 -9
  373. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/xmlns.js +0 -9
  374. package/.output/server/node_modules/.nitro/property-information@6.5.0/package.json +0 -93
  375. package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/util/types.js +0 -13
  376. package/.output/server/node_modules/.nitro/vue@3.5.22/dist/vue.cjs.prod.js +0 -66
  377. package/.output/server/node_modules/.nitro/vue@3.5.22/package.json +0 -112
  378. package/.output/server/node_modules/.nitro/vue@3.5.25/dist/vue.cjs.js +0 -80
  379. package/.output/server/node_modules/.nitro/vue@3.5.25/index.js +0 -7
  380. package/.output/server/node_modules/.nitro/vue@3.5.25/index.mjs +0 -1
  381. package/.output/server/node_modules/@lukeed/ms/dist/index.mjs +0 -34
  382. package/.output/server/node_modules/@lukeed/ms/package.json +0 -48
  383. package/.output/server/node_modules/@poppinss/string/build/chunk-LJJE2S3U.js +0 -407
  384. package/.output/server/node_modules/bytes/index.js +0 -170
  385. package/.output/server/node_modules/bytes/package.json +0 -42
  386. package/.output/server/node_modules/truncatise/index.js +0 -188
  387. package/.output/server/node_modules/truncatise/package.json +0 -36
  388. /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/index.js +0 -0
  389. /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/aria.js +0 -0
  390. /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/find.js +0 -0
  391. /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/hast-to-react.js +0 -0
  392. /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/html.js +0 -0
  393. /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/normalize.js +0 -0
  394. /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/svg.js +0 -0
  395. /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/util/case-insensitive-transform.js +0 -0
  396. /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/util/case-sensitive-transform.js +0 -0
  397. /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/util/create.js +0 -0
  398. /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/util/defined-info.js +0 -0
  399. /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/util/info.js +0 -0
  400. /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/util/merge.js +0 -0
  401. /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/util/schema.js +0 -0
  402. /package/.output/server/node_modules/{.nitro/property-information@6.5.0 → property-information}/lib/util/types.js +0 -0
  403. /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/xlink.js +0 -0
  404. /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/xml.js +0 -0
  405. /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/xmlns.js +0 -0
  406. /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/package.json +0 -0
  407. /package/.output/server/node_modules/{.nitro/vue@3.5.22 → vue}/index.js +0 -0
  408. /package/.output/server/node_modules/{.nitro/vue@3.5.22 → vue}/index.mjs +0 -0
  409. /package/.output/server/node_modules/{.nitro/vue@3.5.25 → vue}/server-renderer/index.mjs +0 -0
@@ -0,0 +1,464 @@
1
+ import "node:module";
2
+ import { randomBytes, randomUUID } from "node:crypto";
3
+ import slugifyPkg from "slugify";
4
+ import pluralizePkg from "pluralize";
5
+ import * as changeCase from "case-anything";
6
+ var __create = Object.create;
7
+ var __defProp = Object.defineProperty;
8
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
9
+ var __getOwnPropNames = Object.getOwnPropertyNames;
10
+ var __getProtoOf = Object.getPrototypeOf;
11
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
12
+ var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
13
+ var __copyProps = (to, from, except, desc) => {
14
+ if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
15
+ key = keys[i];
16
+ if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
17
+ get: ((k) => from[k]).bind(null, key),
18
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
19
+ });
20
+ }
21
+ return to;
22
+ };
23
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
24
+ value: mod,
25
+ enumerable: true
26
+ }) : target, mod));
27
+ var import_bytes = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
28
+ module.exports = bytes$1;
29
+ module.exports.format = format$1;
30
+ module.exports.parse = parse$1;
31
+ var formatThousandsRegExp = /\B(?=(\d{3})+(?!\d))/g;
32
+ var formatDecimalsRegExp = /(?:\.0*|(\.[^0]+)0+)$/;
33
+ var map = {
34
+ b: 1,
35
+ kb: 1024,
36
+ mb: 1 << 20,
37
+ gb: 1 << 30,
38
+ tb: Math.pow(1024, 4),
39
+ pb: Math.pow(1024, 5)
40
+ };
41
+ var parseRegExp = /^((-|\+)?(\d+(?:\.\d+)?)) *(kb|mb|gb|tb|pb)$/i;
42
+ function bytes$1(value, options) {
43
+ if (typeof value === "string") return parse$1(value);
44
+ if (typeof value === "number") return format$1(value, options);
45
+ return null;
46
+ }
47
+ function format$1(value, options) {
48
+ if (!Number.isFinite(value)) return null;
49
+ var mag = Math.abs(value);
50
+ var thousandsSeparator = options && options.thousandsSeparator || "";
51
+ var unitSeparator = options && options.unitSeparator || "";
52
+ var decimalPlaces = options && options.decimalPlaces !== void 0 ? options.decimalPlaces : 2;
53
+ var fixedDecimals = Boolean(options && options.fixedDecimals);
54
+ var unit = options && options.unit || "";
55
+ if (!unit || !map[unit.toLowerCase()]) if (mag >= map.pb) unit = "PB";
56
+ else if (mag >= map.tb) unit = "TB";
57
+ else if (mag >= map.gb) unit = "GB";
58
+ else if (mag >= map.mb) unit = "MB";
59
+ else if (mag >= map.kb) unit = "KB";
60
+ else unit = "B";
61
+ var str = (value / map[unit.toLowerCase()]).toFixed(decimalPlaces);
62
+ if (!fixedDecimals) str = str.replace(formatDecimalsRegExp, "$1");
63
+ if (thousandsSeparator) str = str.split(".").map(function(s, i) {
64
+ return i === 0 ? s.replace(formatThousandsRegExp, thousandsSeparator) : s;
65
+ }).join(".");
66
+ return str + unitSeparator + unit;
67
+ }
68
+ function parse$1(val) {
69
+ if (typeof val === "number" && !isNaN(val)) return val;
70
+ if (typeof val !== "string") return null;
71
+ var results = parseRegExp.exec(val);
72
+ var floatValue;
73
+ var unit = "b";
74
+ if (!results) {
75
+ floatValue = parseInt(val, 10);
76
+ unit = "b";
77
+ } else {
78
+ floatValue = parseFloat(results[1]);
79
+ unit = results[4].toLowerCase();
80
+ }
81
+ if (isNaN(floatValue)) return null;
82
+ return Math.floor(map[unit] * floatValue);
83
+ }
84
+ })))(), 1);
85
+ var bytes_default = {
86
+ format(valueInBytes, options) {
87
+ return import_bytes.default.format(valueInBytes, options);
88
+ },
89
+ parse(unit) {
90
+ if (typeof unit === "number") return unit;
91
+ return import_bytes.default.parse(unit);
92
+ }
93
+ };
94
+ let uuidGenerator = randomUUID;
95
+ function uuid(options) {
96
+ return uuidGenerator(options);
97
+ }
98
+ uuid.use = function uuidUse(generator) {
99
+ uuidGenerator = generator;
100
+ };
101
+ uuid.restore = function uuidRestore() {
102
+ uuidGenerator = randomUUID;
103
+ };
104
+ var RGX = /^(-?(?:\d+)?\.?\d+) *(m(?:illiseconds?|s(?:ecs?)?))?(s(?:ec(?:onds?|s)?)?)?(m(?:in(?:utes?|s)?)?)?(h(?:ours?|rs?)?)?(d(?:ays?)?)?(w(?:eeks?|ks?)?)?(y(?:ears?|rs?)?)?$/, SEC = 1e3, MIN = SEC * 60, HOUR = MIN * 60, DAY = HOUR * 24, YEAR = DAY * 365.25;
105
+ function parse(val) {
106
+ var num, arr = val.toLowerCase().match(RGX);
107
+ if (arr != null && (num = parseFloat(arr[1]))) {
108
+ if (arr[3] != null) return num * SEC;
109
+ if (arr[4] != null) return num * MIN;
110
+ if (arr[5] != null) return num * HOUR;
111
+ if (arr[6] != null) return num * DAY;
112
+ if (arr[7] != null) return num * DAY * 7;
113
+ if (arr[8] != null) return num * YEAR;
114
+ return num;
115
+ }
116
+ }
117
+ function fmt(val, pfx, str, long) {
118
+ var num = (val | 0) === val ? val : ~~(val + .5);
119
+ return pfx + num + (long ? " " + str + (num != 1 ? "s" : "") : str[0]);
120
+ }
121
+ function format(num, long) {
122
+ var pfx = num < 0 ? "-" : "", abs = num < 0 ? -num : num;
123
+ if (abs < SEC) return num + (long ? " ms" : "ms");
124
+ if (abs < MIN) return fmt(abs / SEC, pfx, "second", long);
125
+ if (abs < HOUR) return fmt(abs / MIN, pfx, "minute", long);
126
+ if (abs < DAY) return fmt(abs / HOUR, pfx, "hour", long);
127
+ if (abs < YEAR) return fmt(abs / DAY, pfx, "day", long);
128
+ return fmt(abs / YEAR, pfx, "year", long);
129
+ }
130
+ var seconds_default = {
131
+ format(seconds, long) {
132
+ return format(seconds * 1e3, long);
133
+ },
134
+ parse(duration) {
135
+ if (typeof duration === "number") return duration;
136
+ const milliseconds = parse(duration);
137
+ if (milliseconds === void 0) throw new Error(`Invalid duration expression "${duration}"`);
138
+ return Math.floor(milliseconds / 1e3);
139
+ }
140
+ };
141
+ const slug = slugifyPkg;
142
+ const defaultGenerator = (size) => {
143
+ const bits = (size + 1) * 6;
144
+ const buffer = randomBytes(Math.ceil(bits / 8));
145
+ return Buffer.from(buffer).toString("base64").replace(/\+/g, "-").replace(/\//g, "_").replace(/\=/g, "").slice(0, size);
146
+ };
147
+ let randomGenerator = defaultGenerator;
148
+ function random(size) {
149
+ return randomGenerator(size);
150
+ }
151
+ random.use = function randomUse(generator) {
152
+ randomGenerator = generator;
153
+ };
154
+ random.restore = function randomRestore() {
155
+ randomGenerator = defaultGenerator;
156
+ };
157
+ var require_truncatise = /* @__PURE__ */ __commonJSMin(((exports, module) => {
158
+ (function(exportTo) {
159
+ "use strict";
160
+ var selfClosingTags = [
161
+ "area",
162
+ "base",
163
+ "br",
164
+ "col",
165
+ "embed",
166
+ "hr",
167
+ "img",
168
+ "input",
169
+ "keygen",
170
+ "link",
171
+ "menuitem",
172
+ "meta",
173
+ "param",
174
+ "source",
175
+ "track",
176
+ "wbr"
177
+ ];
178
+ var truncatise$2 = function(text, options) {
179
+ var options = options || {}, text = (text || "").trim(), truncatedText = "", currentState = 0, isEndOfWord = false, currentTag = "", tagStack = [], nextChar = "";
180
+ var charCounter = 0, wordCounter = 0, paragraphCounter = 0;
181
+ var NOT_TAG = 0, TAG_START = 1, TAG_ATTRIBUTES = 2;
182
+ options.TruncateBy = options.TruncateBy === void 0 || typeof options.TruncateBy !== "string" || !options.TruncateBy.match(/(word(s)?|character(s)?|paragraph(s)?)/) ? "words" : options.TruncateBy.toLowerCase();
183
+ options.TruncateLength = options.TruncateLength === void 0 || typeof options.TruncateLength !== "number" ? 50 : options.TruncateLength;
184
+ options.StripHTML = options.StripHTML === void 0 || typeof options.StripHTML !== "boolean" ? false : options.StripHTML;
185
+ options.Strict = options.Strict === void 0 || typeof options.Strict !== "boolean" ? true : options.Strict;
186
+ options.Suffix = options.Suffix === void 0 || typeof options.Suffix !== "string" ? "..." : options.Suffix;
187
+ if (text === "" || text.length <= options.TruncateLength && options.StripHTML === false) return text;
188
+ if (options.StripHTML) text = String(text).replace(/<br( \/)?>/gi, " ");
189
+ if (options.StripHTML && !options.TruncateBy.match(/(paragraph(s)?)/)) text = String(text).replace(/<!--(.*?)-->/gm, "").replace(/<\/?[^>]+>/gi, "");
190
+ text = String(text).replace(/<\/p>(\r?\n)+<p>/gm, "</p><p>");
191
+ if (options.StripHTML && String(text).match(/\r?\n\r?\n/)) text = String(text).replace(/((.+)(\r?\n\r?\n|$))/gi, "<p>$2</p>");
192
+ for (var pointer = 0; pointer < text.length; pointer++) {
193
+ var currentChar = text[pointer];
194
+ switch (currentChar) {
195
+ case "<":
196
+ if (currentState === NOT_TAG) {
197
+ currentState = TAG_START;
198
+ currentTag = "";
199
+ }
200
+ if (!options.StripHTML) truncatedText += currentChar;
201
+ break;
202
+ case ">":
203
+ if (currentState === TAG_START || currentState === TAG_ATTRIBUTES) {
204
+ currentState = NOT_TAG;
205
+ currentTag = currentTag.toLowerCase();
206
+ if (currentTag === "/p") {
207
+ paragraphCounter++;
208
+ if (options.StripHTML) truncatedText += " ";
209
+ }
210
+ if (selfClosingTags.indexOf(currentTag) === -1 && selfClosingTags.indexOf(currentTag + "/") === -1) if (currentTag.indexOf("/") >= 0) tagStack.pop();
211
+ else tagStack.push(currentTag);
212
+ }
213
+ if (!options.StripHTML) truncatedText += currentChar;
214
+ break;
215
+ case " ":
216
+ if (currentState === TAG_START) currentState = TAG_ATTRIBUTES;
217
+ if (currentState === NOT_TAG) {
218
+ wordCounter++;
219
+ charCounter++;
220
+ }
221
+ if (currentState === NOT_TAG || !options.StripHTML) truncatedText += currentChar;
222
+ break;
223
+ default:
224
+ if (currentState === NOT_TAG) charCounter++;
225
+ if (currentState === TAG_START) currentTag += currentChar;
226
+ if (currentState === NOT_TAG || !options.StripHTML) truncatedText += currentChar;
227
+ break;
228
+ }
229
+ nextChar = text[pointer + 1] || "";
230
+ isEndOfWord = options.Strict ? true : !currentChar.match(/[a-zA-ZÇ-Ü']/i) || !nextChar.match(/[a-zA-ZÇ-Ü']/i);
231
+ if (options.TruncateBy.match(/word(s)?/i) && options.TruncateLength <= wordCounter) {
232
+ truncatedText = truncatedText.replace(/\s+$/, "");
233
+ break;
234
+ }
235
+ if (options.TruncateBy.match(/character(s)?/i) && options.TruncateLength <= charCounter && isEndOfWord) break;
236
+ if (options.TruncateBy.match(/paragraph(s)?/i) && options.TruncateLength === paragraphCounter) break;
237
+ }
238
+ if (!options.StripHTML && tagStack.length > 0) while (tagStack.length > 0) {
239
+ var tag = tagStack.pop();
240
+ if (tag !== "!--") truncatedText += "</" + tag + ">";
241
+ }
242
+ if (pointer < text.length - 1) if (truncatedText.match(/<\/p>$/gi)) truncatedText = truncatedText.replace(/(<\/p>)$/gi, options.Suffix + "$1");
243
+ else truncatedText = truncatedText + options.Suffix;
244
+ return truncatedText.trim();
245
+ };
246
+ if (typeof module !== "undefined" && module.exports) return module.exports = truncatise$2;
247
+ exportTo.truncatise = truncatise$2;
248
+ })(exports);
249
+ }));
250
+ var import_truncatise$1 = /* @__PURE__ */ __toESM(require_truncatise(), 1);
251
+ function excerpt(sentence$1, charactersLimit, options) {
252
+ return (0, import_truncatise$1.default)(sentence$1, {
253
+ TruncateLength: charactersLimit,
254
+ Strict: options && options.completeWords === true ? false : true,
255
+ StripHTML: true,
256
+ TruncateBy: "characters",
257
+ Suffix: options && options.suffix
258
+ });
259
+ }
260
+ function applyPadding(value, options) {
261
+ if (options.paddingLeft) value = `${options.paddingChar.repeat(options.paddingLeft)}${value}`;
262
+ if (options.paddingRight) value = `${value}${options.paddingChar.repeat(options.paddingRight)}`;
263
+ return value;
264
+ }
265
+ function justify(columns, options) {
266
+ const normalizedOptions = {
267
+ align: "left",
268
+ indent: " ",
269
+ ...options
270
+ };
271
+ return columns.map((column) => {
272
+ const columnWidth = options.getLength?.(column) ?? column.length;
273
+ if (columnWidth >= normalizedOptions.width) return column;
274
+ if (normalizedOptions.align === "left") return applyPadding(column, {
275
+ paddingChar: normalizedOptions.indent,
276
+ paddingRight: normalizedOptions.width - columnWidth
277
+ });
278
+ return applyPadding(column, {
279
+ paddingChar: normalizedOptions.indent,
280
+ paddingLeft: normalizedOptions.width - columnWidth
281
+ });
282
+ });
283
+ }
284
+ function ordinal(value) {
285
+ const transformedValue = Math.abs(typeof value === "string" ? Number.parseInt(value) : value);
286
+ if (!Number.isFinite(transformedValue) || Number.isNaN(transformedValue)) throw new Error("Cannot ordinalize invalid or infinite numbers");
287
+ const percent = transformedValue % 100;
288
+ if (percent >= 10 && percent <= 20) return `${value}th`;
289
+ switch (transformedValue % 10) {
290
+ case 1: return `${value}st`;
291
+ case 2: return `${value}nd`;
292
+ case 3: return `${value}rd`;
293
+ default: return `${value}th`;
294
+ }
295
+ }
296
+ var import_truncatise = /* @__PURE__ */ __toESM(require_truncatise(), 1);
297
+ function truncate(sentence$1, charactersLimit, options) {
298
+ return (0, import_truncatise.default)(sentence$1, {
299
+ TruncateLength: charactersLimit,
300
+ Strict: options && options.completeWords === true ? false : true,
301
+ StripHTML: false,
302
+ TruncateBy: "characters",
303
+ Suffix: options && options.suffix
304
+ });
305
+ }
306
+ function sentence(values, options) {
307
+ if (values.length === 0) return "";
308
+ if (values.length === 1) return values[0];
309
+ if (values.length === 2) return `${values[0]}${options?.pairSeparator || " and "}${values[1]}`;
310
+ const normalized = Object.assign({
311
+ separator: ", ",
312
+ lastSeparator: ", and "
313
+ }, options);
314
+ return `${values.slice(0, -1).join(normalized.separator)}${normalized.lastSeparator}${values[values.length - 1]}`;
315
+ }
316
+ function wordWrap(value, options) {
317
+ const width = options.width;
318
+ const indent = options.indent ?? "";
319
+ const newLine = `${options.newLine ?? "\n"}${indent}`;
320
+ let regexString = ".{1," + width + "}";
321
+ regexString += "([\\s​]+|$)|[^\\s​]+?([\\s​]+|$)";
322
+ const re = new RegExp(regexString, "g");
323
+ return (value.match(re) || []).map(function(line) {
324
+ if (line.slice(-1) === "\n") line = line.slice(0, line.length - 1);
325
+ return options.escape ? options.escape(line) : line;
326
+ }).join(newLine);
327
+ }
328
+ var milliseconds_default = {
329
+ format(milliseconds, long) {
330
+ return format(milliseconds, long);
331
+ },
332
+ parse(duration) {
333
+ if (typeof duration === "number") return duration;
334
+ const milliseconds = parse(duration);
335
+ if (milliseconds === void 0) throw new Error(`Invalid duration expression "${duration}"`);
336
+ return milliseconds;
337
+ }
338
+ };
339
+ function htmlEscape(value) {
340
+ return value.replace(/&/g, "&amp;").replace(/"/g, "&quot;").replace(/'/g, "&#39;").replace(/</g, "&lt;").replace(/>/g, "&gt;");
341
+ }
342
+ function parseProp(data, key) {
343
+ const tokens = key.split(".");
344
+ while (tokens.length) {
345
+ if (data === null || typeof data !== "object") return;
346
+ const token = tokens.shift();
347
+ data = Object.hasOwn(data, token) ? data[token] : void 0;
348
+ }
349
+ return data;
350
+ }
351
+ function interpolate(input, data) {
352
+ return input.replace(/(\\)?{{(.*?)}}/g, (_, escapeChar, key) => {
353
+ if (escapeChar) return `{{${key}}}`;
354
+ return parseProp(data, key.trim());
355
+ });
356
+ }
357
+ function toUnixSlash(path) {
358
+ if (path.startsWith("\\\\?\\")) return path;
359
+ return path.replace(/\\/g, "/");
360
+ }
361
+ function pluralize(word, count, inclusive) {
362
+ return pluralizePkg(word, count, inclusive);
363
+ }
364
+ pluralize.addPluralRule = pluralizePkg.addPluralRule;
365
+ pluralize.addSingularRule = pluralizePkg.addSingularRule;
366
+ pluralize.addIrregularRule = pluralizePkg.addIrregularRule;
367
+ pluralize.addUncountableRule = pluralizePkg.addUncountableRule;
368
+ const plural = pluralizePkg.plural;
369
+ const singular = pluralizePkg.singular;
370
+ const isPlural = pluralizePkg.isPlural;
371
+ const isSingular = pluralizePkg.isSingular;
372
+ const NO_CASE_SPLIT_REGEXP = [/([a-z0-9])([A-Z])/g, /([A-Z])([A-Z][a-z])/g];
373
+ const NO_CASE_STRIP_REGEXP = /[^A-Z0-9]+/gi;
374
+ const SMALL_WORDS = /\b(?:an?d?|a[st]|because|but|by|en|for|i[fn]|neither|nor|o[fnr]|only|over|per|so|some|tha[tn]|the|to|up|upon|vs?\.?|versus|via|when|with|without|yet)\b/i;
375
+ const TOKENS = /[^\s:–—-]+|./g;
376
+ const WHITESPACE = /\s/;
377
+ const IS_MANUAL_CASE = /.(?=[A-Z]|\..)/;
378
+ const ALPHANUMERIC_PATTERN = /[A-Za-z0-9\u00C0-\u00FF]/;
379
+ function titleCase(input) {
380
+ let output = "";
381
+ let result;
382
+ while ((result = TOKENS.exec(input)) !== null) {
383
+ const { 0: token, index } = result;
384
+ if (!IS_MANUAL_CASE.test(token) && (!SMALL_WORDS.test(token) || index === 0 || index + token.length === input.length) && (input.charAt(index + token.length) !== ":" || WHITESPACE.test(input.charAt(index + token.length + 1)))) {
385
+ output += token.replace(ALPHANUMERIC_PATTERN, (char) => char.toUpperCase());
386
+ continue;
387
+ }
388
+ output += token;
389
+ }
390
+ return output;
391
+ }
392
+ function camelCase(value) {
393
+ return changeCase.camelCase(value);
394
+ }
395
+ function snakeCase(value) {
396
+ return changeCase.snakeCase(value);
397
+ }
398
+ function dashCase(value, options) {
399
+ if (options && options.capitalize) return changeCase.trainCase(value);
400
+ return changeCase.kebabCase(value);
401
+ }
402
+ function pascalCase(value) {
403
+ return changeCase.pascalCase(value);
404
+ }
405
+ function capitalCase(value) {
406
+ return changeCase.capitalCase(value);
407
+ }
408
+ function sentenceCase(value) {
409
+ return noCase(value, (input, index) => {
410
+ const result = input.toLowerCase();
411
+ if (index === 0) return input.charAt(0).toUpperCase() + input.substring(1);
412
+ return result;
413
+ });
414
+ }
415
+ function dotCase(value, options) {
416
+ const transformedValue = changeCase.dotNotation(value);
417
+ if (options && options.lowerCase) return transformedValue.toLowerCase();
418
+ return transformedValue;
419
+ }
420
+ function noCase(value, transform) {
421
+ let result = NO_CASE_SPLIT_REGEXP.reduce((input, regex) => input.replace(regex, "$1\0$2"), value);
422
+ result = result.replace(NO_CASE_STRIP_REGEXP, "\0");
423
+ let start = 0;
424
+ let end = result.length;
425
+ while (result.charAt(start) === "\0") start++;
426
+ while (result.charAt(end - 1) === "\0") end--;
427
+ return result.slice(start, end).split("\0").map(transform || ((input) => input.toLowerCase())).join(" ");
428
+ }
429
+ function condenseWhitespace(value) {
430
+ return value.trim().replace(/\s{2,}/g, " ");
431
+ }
432
+ var string_default = {
433
+ excerpt,
434
+ truncate,
435
+ slug,
436
+ interpolate,
437
+ plural,
438
+ pluralize,
439
+ singular,
440
+ isPlural,
441
+ isSingular,
442
+ camelCase,
443
+ capitalCase,
444
+ dashCase,
445
+ dotCase,
446
+ noCase,
447
+ pascalCase,
448
+ sentenceCase,
449
+ snakeCase,
450
+ titleCase,
451
+ random,
452
+ sentence,
453
+ condenseWhitespace,
454
+ wordWrap,
455
+ seconds: seconds_default,
456
+ milliseconds: milliseconds_default,
457
+ bytes: bytes_default,
458
+ ordinal,
459
+ htmlEscape,
460
+ justify,
461
+ uuid,
462
+ toUnixSlash
463
+ };
464
+ export { string_default as t };
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@poppinss/string",
3
3
  "description": "A collection of helpers to perform operations on/related to a string value",
4
- "version": "1.7.0",
4
+ "version": "1.7.1",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "build",
@@ -20,7 +20,7 @@
20
20
  "format": "prettier --write .",
21
21
  "typecheck": "tsc --noEmit",
22
22
  "precompile": "npm run lint",
23
- "compile": "tsup-node && tsc --emitDeclarationOnly --declaration",
23
+ "compile": "tsdown && tsc --emitDeclarationOnly --declaration",
24
24
  "build": "npm run compile",
25
25
  "version": "npm run build",
26
26
  "prepublishOnly": "npm run build",
@@ -28,36 +28,36 @@
28
28
  "quick:test": "node --import=@poppinss/ts-exec --enable-source-maps bin/test.ts"
29
29
  },
30
30
  "devDependencies": {
31
- "@adonisjs/eslint-config": "^3.0.0-next.0",
31
+ "@adonisjs/eslint-config": "^3.0.0-next.5",
32
32
  "@adonisjs/prettier-config": "^1.4.5",
33
- "@adonisjs/tsconfig": "^2.0.0-next.0",
34
- "@japa/assert": "^4.0.1",
35
- "@japa/expect": "^3.0.4",
33
+ "@adonisjs/tsconfig": "^2.0.0-next.3",
34
+ "@japa/assert": "^4.1.1",
35
+ "@japa/expect": "^3.0.6",
36
36
  "@japa/expect-type": "^2.0.3",
37
37
  "@japa/file-system": "^2.3.2",
38
- "@japa/runner": "^4.2.0",
39
- "@japa/snapshot": "^2.0.8",
40
- "@poppinss/colors": "^4.1.5",
41
- "@poppinss/ts-exec": "^1.4.0",
42
- "@release-it/conventional-changelog": "^10.0.1",
43
- "@types/node": "^24.0.10",
38
+ "@japa/runner": "^4.4.0",
39
+ "@japa/snapshot": "^2.0.9",
40
+ "@lukeed/ms": "^2.0.2",
41
+ "@poppinss/colors": "^4.1.6",
42
+ "@poppinss/ts-exec": "^1.4.1",
43
+ "@release-it/conventional-changelog": "^10.0.3",
44
+ "@types/bytes": "^3.1.5",
45
+ "@types/node": "^25.0.1",
46
+ "bytes": "^3.1.2",
44
47
  "c8": "^10.1.3",
45
- "eslint": "^9.30.1",
46
- "prettier": "^3.6.2",
47
- "release-it": "^19.0.3",
48
- "string-width": "^7.2.0",
49
- "tsup": "^8.5.0",
50
- "typescript": "^5.8.3"
48
+ "eslint": "^9.39.1",
49
+ "prettier": "^3.7.4",
50
+ "release-it": "^19.1.0",
51
+ "string-width": "^8.1.0",
52
+ "truncatise": "^0.0.8",
53
+ "tsdown": "^0.17.3",
54
+ "typescript": "^5.9.3"
51
55
  },
52
56
  "dependencies": {
53
- "@lukeed/ms": "^2.0.2",
54
- "@types/bytes": "^3.1.5",
55
57
  "@types/pluralize": "^0.0.33",
56
- "bytes": "^3.1.2",
57
58
  "case-anything": "^3.1.2",
58
59
  "pluralize": "^8.0.0",
59
- "slugify": "^1.6.6",
60
- "truncatise": "^0.0.8"
60
+ "slugify": "^1.6.6"
61
61
  },
62
62
  "homepage": "https://github.com/poppinss/string#readme",
63
63
  "repository": {
@@ -78,7 +78,7 @@
78
78
  "access": "public",
79
79
  "provenance": true
80
80
  },
81
- "tsup": {
81
+ "tsdown": {
82
82
  "entry": [
83
83
  "index.ts",
84
84
  "src/types.ts",
@@ -87,8 +87,11 @@
87
87
  "outDir": "./build",
88
88
  "clean": true,
89
89
  "format": "esm",
90
+ "minify": "dce-only",
91
+ "fixedExtension": false,
90
92
  "dts": false,
91
- "sourcemap": false,
93
+ "treeshake": false,
94
+ "sourcemaps": false,
92
95
  "target": "esnext"
93
96
  },
94
97
  "release-it": {