@highstate/designer 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (335) hide show
  1. package/.output/nitro.json +15 -0
  2. package/.output/public/_nuxt/1jbH28Ud.js +1 -0
  3. package/.output/public/_nuxt/BAsjE6c8.js +69 -0
  4. package/.output/public/_nuxt/D4AvvZ3p.js +1 -0
  5. package/.output/public/_nuxt/DcSK-0AR.js +1 -0
  6. package/.output/public/_nuxt/builds/latest.json +1 -0
  7. package/.output/public/_nuxt/builds/meta/0ea9cf82-d280-4ae3-95c8-082f396c88c7.json +1 -0
  8. package/.output/public/_nuxt/entry.Df9XoxdB.css +1 -0
  9. package/.output/public/_nuxt/error-404.SWzu_puR.css +1 -0
  10. package/.output/public/_nuxt/error-500.Bkv_zTjr.css +1 -0
  11. package/.output/public/favicon.ico +0 -0
  12. package/.output/public/robots.txt +1 -0
  13. package/.output/server/chunks/_/error-500.mjs +8 -0
  14. package/.output/server/chunks/_/error-500.mjs.map +1 -0
  15. package/.output/server/chunks/_/index.mjs +229 -0
  16. package/.output/server/chunks/_/index.mjs.map +1 -0
  17. package/.output/server/chunks/build/ComponentIcon-styles.CVav5bPa.mjs +6 -0
  18. package/.output/server/chunks/build/ComponentIcon-styles.CVav5bPa.mjs.map +1 -0
  19. package/.output/server/chunks/build/ComponentIcon-styles.DJ59dQiL.mjs +6 -0
  20. package/.output/server/chunks/build/ComponentIcon-styles.DJ59dQiL.mjs.map +1 -0
  21. package/.output/server/chunks/build/ComponentNode-styles.5_iLK35r.mjs +6 -0
  22. package/.output/server/chunks/build/ComponentNode-styles.5_iLK35r.mjs.map +1 -0
  23. package/.output/server/chunks/build/ComponentNode-styles.7QJfF7h3.mjs +6 -0
  24. package/.output/server/chunks/build/ComponentNode-styles.7QJfF7h3.mjs.map +1 -0
  25. package/.output/server/chunks/build/ProjectCanvas-styles.B6yAk_TI.mjs +7 -0
  26. package/.output/server/chunks/build/ProjectCanvas-styles.B6yAk_TI.mjs.map +1 -0
  27. package/.output/server/chunks/build/ProjectCanvas-styles.BxP3nGl6.mjs +6 -0
  28. package/.output/server/chunks/build/ProjectCanvas-styles.BxP3nGl6.mjs.map +1 -0
  29. package/.output/server/chunks/build/ProjectCanvas-styles.CsOcKxeb.mjs +6 -0
  30. package/.output/server/chunks/build/ProjectCanvas-styles.CsOcKxeb.mjs.map +1 -0
  31. package/.output/server/chunks/build/VAppBar-styles.CaKoZ7v7.mjs +6 -0
  32. package/.output/server/chunks/build/VAppBar-styles.CaKoZ7v7.mjs.map +1 -0
  33. package/.output/server/chunks/build/VAvatar-styles.BloWs-NL.mjs +6 -0
  34. package/.output/server/chunks/build/VAvatar-styles.BloWs-NL.mjs.map +1 -0
  35. package/.output/server/chunks/build/VBtn-styles.5s8xLaPo.mjs +6 -0
  36. package/.output/server/chunks/build/VBtn-styles.5s8xLaPo.mjs.map +1 -0
  37. package/.output/server/chunks/build/VBtnGroup-styles.B8WSSc7t.mjs +6 -0
  38. package/.output/server/chunks/build/VBtnGroup-styles.B8WSSc7t.mjs.map +1 -0
  39. package/.output/server/chunks/build/VBtnToggle-styles.DRWSZkHZ.mjs +6 -0
  40. package/.output/server/chunks/build/VBtnToggle-styles.DRWSZkHZ.mjs.map +1 -0
  41. package/.output/server/chunks/build/VCard-styles.BpQql6F5.mjs +6 -0
  42. package/.output/server/chunks/build/VCard-styles.BpQql6F5.mjs.map +1 -0
  43. package/.output/server/chunks/build/VChip-styles.KvWWirvS.mjs +6 -0
  44. package/.output/server/chunks/build/VChip-styles.KvWWirvS.mjs.map +1 -0
  45. package/.output/server/chunks/build/VChipGroup-styles.SezSZY5I.mjs +6 -0
  46. package/.output/server/chunks/build/VChipGroup-styles.SezSZY5I.mjs.map +1 -0
  47. package/.output/server/chunks/build/VCounter-styles.DlbjDB7E.mjs +6 -0
  48. package/.output/server/chunks/build/VCounter-styles.DlbjDB7E.mjs.map +1 -0
  49. package/.output/server/chunks/build/VDivider-styles.B5vnnFG1.mjs +6 -0
  50. package/.output/server/chunks/build/VDivider-styles.B5vnnFG1.mjs.map +1 -0
  51. package/.output/server/chunks/build/VField-styles.DkgSx68C.mjs +6 -0
  52. package/.output/server/chunks/build/VField-styles.DkgSx68C.mjs.map +1 -0
  53. package/.output/server/chunks/build/VIcon-styles._8GsAkxR.mjs +6 -0
  54. package/.output/server/chunks/build/VIcon-styles._8GsAkxR.mjs.map +1 -0
  55. package/.output/server/chunks/build/VImg-styles.BQYU2VXD.mjs +6 -0
  56. package/.output/server/chunks/build/VImg-styles.BQYU2VXD.mjs.map +1 -0
  57. package/.output/server/chunks/build/VInput-styles.Cr1uxB2l.mjs +6 -0
  58. package/.output/server/chunks/build/VInput-styles.Cr1uxB2l.mjs.map +1 -0
  59. package/.output/server/chunks/build/VLabel-styles.OzbLNKaZ.mjs +6 -0
  60. package/.output/server/chunks/build/VLabel-styles.OzbLNKaZ.mjs.map +1 -0
  61. package/.output/server/chunks/build/VLayout-styles.DBbIk0kn.mjs +6 -0
  62. package/.output/server/chunks/build/VLayout-styles.DBbIk0kn.mjs.map +1 -0
  63. package/.output/server/chunks/build/VMain-styles.CI15Xs8y.mjs +6 -0
  64. package/.output/server/chunks/build/VMain-styles.CI15Xs8y.mjs.map +1 -0
  65. package/.output/server/chunks/build/VMessages-styles.C9dRMjf9.mjs +6 -0
  66. package/.output/server/chunks/build/VMessages-styles.C9dRMjf9.mjs.map +1 -0
  67. package/.output/server/chunks/build/VNavigationDrawer-styles.BcT_iIsk.mjs +6 -0
  68. package/.output/server/chunks/build/VNavigationDrawer-styles.BcT_iIsk.mjs.map +1 -0
  69. package/.output/server/chunks/build/VProgressCircular-styles.CWpXfZ6Q.mjs +6 -0
  70. package/.output/server/chunks/build/VProgressCircular-styles.CWpXfZ6Q.mjs.map +1 -0
  71. package/.output/server/chunks/build/VProgressLinear-styles.DjitzH7c.mjs +6 -0
  72. package/.output/server/chunks/build/VProgressLinear-styles.DjitzH7c.mjs.map +1 -0
  73. package/.output/server/chunks/build/VResponsive-styles.KUuswLet.mjs +6 -0
  74. package/.output/server/chunks/build/VResponsive-styles.KUuswLet.mjs.map +1 -0
  75. package/.output/server/chunks/build/VSlideGroup-styles.fT1UQTdA.mjs +6 -0
  76. package/.output/server/chunks/build/VSlideGroup-styles.fT1UQTdA.mjs.map +1 -0
  77. package/.output/server/chunks/build/VSpacer-styles.B_L0TU3-.mjs +6 -0
  78. package/.output/server/chunks/build/VSpacer-styles.B_L0TU3-.mjs.map +1 -0
  79. package/.output/server/chunks/build/VTextField-styles.e8Z3kCRA.mjs +6 -0
  80. package/.output/server/chunks/build/VTextField-styles.e8Z3kCRA.mjs.map +1 -0
  81. package/.output/server/chunks/build/VToolbar-styles.Bvr717Vh.mjs +6 -0
  82. package/.output/server/chunks/build/VToolbar-styles.Bvr717Vh.mjs.map +1 -0
  83. package/.output/server/chunks/build/app-styles.-ZJ3yGO7.mjs +6 -0
  84. package/.output/server/chunks/build/app-styles.-ZJ3yGO7.mjs.map +1 -0
  85. package/.output/server/chunks/build/app-styles.Ckjy6RrK.mjs +6 -0
  86. package/.output/server/chunks/build/app-styles.Ckjy6RrK.mjs.map +1 -0
  87. package/.output/server/chunks/build/client.manifest.mjs +82 -0
  88. package/.output/server/chunks/build/client.manifest.mjs.map +1 -0
  89. package/.output/server/chunks/build/entry-styles-10.mjs-BpLi0qx6.mjs +4 -0
  90. package/.output/server/chunks/build/entry-styles-10.mjs-BpLi0qx6.mjs.map +1 -0
  91. package/.output/server/chunks/build/entry-styles-11.mjs-6TeH4I7w.mjs +4 -0
  92. package/.output/server/chunks/build/entry-styles-11.mjs-6TeH4I7w.mjs.map +1 -0
  93. package/.output/server/chunks/build/entry-styles-12.mjs-DU1igcRL.mjs +4 -0
  94. package/.output/server/chunks/build/entry-styles-12.mjs-DU1igcRL.mjs.map +1 -0
  95. package/.output/server/chunks/build/entry-styles-13.mjs-lZGUjhhD.mjs +4 -0
  96. package/.output/server/chunks/build/entry-styles-13.mjs-lZGUjhhD.mjs.map +1 -0
  97. package/.output/server/chunks/build/entry-styles-14.mjs-BRdr1-px.mjs +4 -0
  98. package/.output/server/chunks/build/entry-styles-14.mjs-BRdr1-px.mjs.map +1 -0
  99. package/.output/server/chunks/build/entry-styles-15.mjs-mUPL6Nc9.mjs +4 -0
  100. package/.output/server/chunks/build/entry-styles-15.mjs-mUPL6Nc9.mjs.map +1 -0
  101. package/.output/server/chunks/build/entry-styles-16.mjs-CPJMcIL1.mjs +4 -0
  102. package/.output/server/chunks/build/entry-styles-16.mjs-CPJMcIL1.mjs.map +1 -0
  103. package/.output/server/chunks/build/entry-styles-17.mjs-CQOORRn5.mjs +4 -0
  104. package/.output/server/chunks/build/entry-styles-17.mjs-CQOORRn5.mjs.map +1 -0
  105. package/.output/server/chunks/build/entry-styles-18.mjs-C7z1LTi9.mjs +4 -0
  106. package/.output/server/chunks/build/entry-styles-18.mjs-C7z1LTi9.mjs.map +1 -0
  107. package/.output/server/chunks/build/entry-styles-19.mjs-it-LBeIM.mjs +4 -0
  108. package/.output/server/chunks/build/entry-styles-19.mjs-it-LBeIM.mjs.map +1 -0
  109. package/.output/server/chunks/build/entry-styles-2.mjs-CIKbACDD.mjs +4 -0
  110. package/.output/server/chunks/build/entry-styles-2.mjs-CIKbACDD.mjs.map +1 -0
  111. package/.output/server/chunks/build/entry-styles-20.mjs-Igpd8vNA.mjs +4 -0
  112. package/.output/server/chunks/build/entry-styles-20.mjs-Igpd8vNA.mjs.map +1 -0
  113. package/.output/server/chunks/build/entry-styles-21.mjs-VGEW4cec.mjs +4 -0
  114. package/.output/server/chunks/build/entry-styles-21.mjs-VGEW4cec.mjs.map +1 -0
  115. package/.output/server/chunks/build/entry-styles-22.mjs-DLAUZ2Ss.mjs +4 -0
  116. package/.output/server/chunks/build/entry-styles-22.mjs-DLAUZ2Ss.mjs.map +1 -0
  117. package/.output/server/chunks/build/entry-styles-23.mjs-D6dUb4Q1.mjs +4 -0
  118. package/.output/server/chunks/build/entry-styles-23.mjs-D6dUb4Q1.mjs.map +1 -0
  119. package/.output/server/chunks/build/entry-styles-24.mjs-CR2CscOT.mjs +4 -0
  120. package/.output/server/chunks/build/entry-styles-24.mjs-CR2CscOT.mjs.map +1 -0
  121. package/.output/server/chunks/build/entry-styles-25.mjs-gcGnyYj1.mjs +4 -0
  122. package/.output/server/chunks/build/entry-styles-25.mjs-gcGnyYj1.mjs.map +1 -0
  123. package/.output/server/chunks/build/entry-styles-26.mjs-BGcP6LjH.mjs +4 -0
  124. package/.output/server/chunks/build/entry-styles-26.mjs-BGcP6LjH.mjs.map +1 -0
  125. package/.output/server/chunks/build/entry-styles-27.mjs-DKPK367G.mjs +4 -0
  126. package/.output/server/chunks/build/entry-styles-27.mjs-DKPK367G.mjs.map +1 -0
  127. package/.output/server/chunks/build/entry-styles-28.mjs-BxlgEOUH.mjs +4 -0
  128. package/.output/server/chunks/build/entry-styles-28.mjs-BxlgEOUH.mjs.map +1 -0
  129. package/.output/server/chunks/build/entry-styles-29.mjs-EoZxjH32.mjs +4 -0
  130. package/.output/server/chunks/build/entry-styles-29.mjs-EoZxjH32.mjs.map +1 -0
  131. package/.output/server/chunks/build/entry-styles-3.mjs-BZeC22He.mjs +4 -0
  132. package/.output/server/chunks/build/entry-styles-3.mjs-BZeC22He.mjs.map +1 -0
  133. package/.output/server/chunks/build/entry-styles-30.mjs-CoAZ885y.mjs +4 -0
  134. package/.output/server/chunks/build/entry-styles-30.mjs-CoAZ885y.mjs.map +1 -0
  135. package/.output/server/chunks/build/entry-styles-31.mjs-JYOGcJtH.mjs +4 -0
  136. package/.output/server/chunks/build/entry-styles-31.mjs-JYOGcJtH.mjs.map +1 -0
  137. package/.output/server/chunks/build/entry-styles-32.mjs-lT-SGbzA.mjs +4 -0
  138. package/.output/server/chunks/build/entry-styles-32.mjs-lT-SGbzA.mjs.map +1 -0
  139. package/.output/server/chunks/build/entry-styles-33.mjs-CGVyg8PA.mjs +4 -0
  140. package/.output/server/chunks/build/entry-styles-33.mjs-CGVyg8PA.mjs.map +1 -0
  141. package/.output/server/chunks/build/entry-styles-4.mjs-DZ0RUZ3Y.mjs +4 -0
  142. package/.output/server/chunks/build/entry-styles-4.mjs-DZ0RUZ3Y.mjs.map +1 -0
  143. package/.output/server/chunks/build/entry-styles-5.mjs-CWoX264H.mjs +4 -0
  144. package/.output/server/chunks/build/entry-styles-5.mjs-CWoX264H.mjs.map +1 -0
  145. package/.output/server/chunks/build/entry-styles-6.mjs-D97cocWn.mjs +4 -0
  146. package/.output/server/chunks/build/entry-styles-6.mjs-D97cocWn.mjs.map +1 -0
  147. package/.output/server/chunks/build/entry-styles-7.mjs-fDLOEPrI.mjs +4 -0
  148. package/.output/server/chunks/build/entry-styles-7.mjs-fDLOEPrI.mjs.map +1 -0
  149. package/.output/server/chunks/build/entry-styles-8.mjs-CogORmQT.mjs +4 -0
  150. package/.output/server/chunks/build/entry-styles-8.mjs-CogORmQT.mjs.map +1 -0
  151. package/.output/server/chunks/build/entry-styles-9.mjs-CIkuJriK.mjs +4 -0
  152. package/.output/server/chunks/build/entry-styles-9.mjs-CIkuJriK.mjs.map +1 -0
  153. package/.output/server/chunks/build/entry-styles.CtA8hhgO.mjs +39 -0
  154. package/.output/server/chunks/build/entry-styles.CtA8hhgO.mjs.map +1 -0
  155. package/.output/server/chunks/build/error-404-BE32jcXw.mjs +399 -0
  156. package/.output/server/chunks/build/error-404-BE32jcXw.mjs.map +1 -0
  157. package/.output/server/chunks/build/error-404-styles-1.mjs-BnwklZPR.mjs +4 -0
  158. package/.output/server/chunks/build/error-404-styles-1.mjs-BnwklZPR.mjs.map +1 -0
  159. package/.output/server/chunks/build/error-404-styles.B5NDqGbJ.mjs +6 -0
  160. package/.output/server/chunks/build/error-404-styles.B5NDqGbJ.mjs.map +1 -0
  161. package/.output/server/chunks/build/error-404-styles.CeFcgbBS.mjs +6 -0
  162. package/.output/server/chunks/build/error-404-styles.CeFcgbBS.mjs.map +1 -0
  163. package/.output/server/chunks/build/error-500-B3vPuajn.mjs +80 -0
  164. package/.output/server/chunks/build/error-500-B3vPuajn.mjs.map +1 -0
  165. package/.output/server/chunks/build/error-500-styles-1.mjs-C2TN-owL.mjs +4 -0
  166. package/.output/server/chunks/build/error-500-styles-1.mjs-C2TN-owL.mjs.map +1 -0
  167. package/.output/server/chunks/build/error-500-styles.BE3GHqYY.mjs +6 -0
  168. package/.output/server/chunks/build/error-500-styles.BE3GHqYY.mjs.map +1 -0
  169. package/.output/server/chunks/build/error-500-styles.LQn8-gvg.mjs +6 -0
  170. package/.output/server/chunks/build/error-500-styles.LQn8-gvg.mjs.map +1 -0
  171. package/.output/server/chunks/build/index-C2merokO.mjs +34 -0
  172. package/.output/server/chunks/build/index-C2merokO.mjs.map +1 -0
  173. package/.output/server/chunks/build/index-styles.C7jmw0Wl.mjs +6 -0
  174. package/.output/server/chunks/build/index-styles.C7jmw0Wl.mjs.map +1 -0
  175. package/.output/server/chunks/build/server.mjs +10495 -0
  176. package/.output/server/chunks/build/server.mjs.map +1 -0
  177. package/.output/server/chunks/build/styles.mjs +47 -0
  178. package/.output/server/chunks/build/styles.mjs.map +1 -0
  179. package/.output/server/chunks/nitro/nitro.mjs +6203 -0
  180. package/.output/server/chunks/nitro/nitro.mjs.map +1 -0
  181. package/.output/server/chunks/routes/api/_trpc_.mjs +209 -0
  182. package/.output/server/chunks/routes/api/_trpc_.mjs.map +1 -0
  183. package/.output/server/chunks/routes/renderer.mjs +391 -0
  184. package/.output/server/chunks/routes/renderer.mjs.map +1 -0
  185. package/.output/server/chunks/virtual/_virtual_spa-template.mjs +4 -0
  186. package/.output/server/chunks/virtual/_virtual_spa-template.mjs.map +1 -0
  187. package/.output/server/index.mjs +7 -0
  188. package/.output/server/index.mjs.map +1 -0
  189. package/.output/server/node_modules/@babel/parser/lib/index.js +14023 -0
  190. package/.output/server/node_modules/@babel/parser/package.json +50 -0
  191. package/.output/server/node_modules/@iconify/vue/dist/iconify.mjs +1996 -0
  192. package/.output/server/node_modules/@iconify/vue/package.json +65 -0
  193. package/.output/server/node_modules/@trpc/client/dist/TRPCClientError-38f9a32a.mjs +59 -0
  194. package/.output/server/node_modules/@trpc/client/dist/httpBatchLink-d0f9eac9.mjs +248 -0
  195. package/.output/server/node_modules/@trpc/client/dist/httpUtils-b9d0cb48.mjs +144 -0
  196. package/.output/server/node_modules/@trpc/client/dist/index.mjs +365 -0
  197. package/.output/server/node_modules/@trpc/client/dist/links/httpLink.mjs +62 -0
  198. package/.output/server/node_modules/@trpc/client/dist/links/loggerLink.mjs +173 -0
  199. package/.output/server/node_modules/@trpc/client/dist/links/wsLink.mjs +278 -0
  200. package/.output/server/node_modules/@trpc/client/dist/splitLink-4c75f7be.mjs +45 -0
  201. package/.output/server/node_modules/@trpc/client/dist/transformResult-ace864b8.mjs +58 -0
  202. package/.output/server/node_modules/@trpc/client/package.json +101 -0
  203. package/.output/server/node_modules/@trpc/server/dist/TRPCError-98d44758.mjs +39 -0
  204. package/.output/server/node_modules/@trpc/server/dist/batchStreamFormatter-fc1ffb26.mjs +30 -0
  205. package/.output/server/node_modules/@trpc/server/dist/codes-c924c3db.mjs +44 -0
  206. package/.output/server/node_modules/@trpc/server/dist/config-d5fdbd39.mjs +196 -0
  207. package/.output/server/node_modules/@trpc/server/dist/contentType-9fd995d3.mjs +52 -0
  208. package/.output/server/node_modules/@trpc/server/dist/getCauseFromUnknown-2d66414a.mjs +33 -0
  209. package/.output/server/node_modules/@trpc/server/dist/http/index.mjs +9 -0
  210. package/.output/server/node_modules/@trpc/server/dist/index-f91d720c.mjs +97 -0
  211. package/.output/server/node_modules/@trpc/server/dist/index.mjs +871 -0
  212. package/.output/server/node_modules/@trpc/server/dist/observable/index.mjs +147 -0
  213. package/.output/server/node_modules/@trpc/server/dist/observable-ade1bad8.mjs +81 -0
  214. package/.output/server/node_modules/@trpc/server/dist/resolveHTTPResponse-2fc435bb.mjs +291 -0
  215. package/.output/server/node_modules/@trpc/server/dist/shared/index.mjs +4 -0
  216. package/.output/server/node_modules/@trpc/server/dist/transformTRPCResponse-1153b421.mjs +53 -0
  217. package/.output/server/node_modules/@trpc/server/package.json +177 -0
  218. package/.output/server/node_modules/@unhead/dom/dist/index.mjs +197 -0
  219. package/.output/server/node_modules/@unhead/dom/package.json +40 -0
  220. package/.output/server/node_modules/@unhead/shared/dist/index.mjs +731 -0
  221. package/.output/server/node_modules/@unhead/shared/package.json +47 -0
  222. package/.output/server/node_modules/@unhead/ssr/dist/index.mjs +95 -0
  223. package/.output/server/node_modules/@unhead/ssr/package.json +40 -0
  224. package/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +6690 -0
  225. package/.output/server/node_modules/@vue/compiler-core/package.json +58 -0
  226. package/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +686 -0
  227. package/.output/server/node_modules/@vue/compiler-dom/package.json +57 -0
  228. package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +1404 -0
  229. package/.output/server/node_modules/@vue/compiler-ssr/package.json +34 -0
  230. package/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +1789 -0
  231. package/.output/server/node_modules/@vue/reactivity/package.json +55 -0
  232. package/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +6654 -0
  233. package/.output/server/node_modules/@vue/runtime-core/package.json +52 -0
  234. package/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +1669 -0
  235. package/.output/server/node_modules/@vue/runtime-dom/package.json +60 -0
  236. package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +857 -0
  237. package/.output/server/node_modules/@vue/server-renderer/package.json +55 -0
  238. package/.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js +594 -0
  239. package/.output/server/node_modules/@vue/shared/package.json +47 -0
  240. package/.output/server/node_modules/@vue-flow/background/dist/vue-flow-background.mjs +126 -0
  241. package/.output/server/node_modules/@vue-flow/background/package.json +73 -0
  242. package/.output/server/node_modules/@vue-flow/core/dist/vue-flow-core.mjs +9873 -0
  243. package/.output/server/node_modules/@vue-flow/core/package.json +92 -0
  244. package/.output/server/node_modules/@vue-flow/minimap/dist/vue-flow-minimap.mjs +2953 -0
  245. package/.output/server/node_modules/@vue-flow/minimap/package.json +80 -0
  246. package/.output/server/node_modules/devalue/index.js +3 -0
  247. package/.output/server/node_modules/devalue/package.json +34 -0
  248. package/.output/server/node_modules/devalue/src/base64.js +110 -0
  249. package/.output/server/node_modules/devalue/src/constants.js +6 -0
  250. package/.output/server/node_modules/devalue/src/parse.js +160 -0
  251. package/.output/server/node_modules/devalue/src/stringify.js +232 -0
  252. package/.output/server/node_modules/devalue/src/uneval.js +351 -0
  253. package/.output/server/node_modules/devalue/src/utils.js +113 -0
  254. package/.output/server/node_modules/entities/lib/decode.js +536 -0
  255. package/.output/server/node_modules/entities/lib/decode_codepoint.js +76 -0
  256. package/.output/server/node_modules/entities/lib/generated/decode-data-html.js +9 -0
  257. package/.output/server/node_modules/entities/lib/generated/decode-data-xml.js +9 -0
  258. package/.output/server/node_modules/entities/package.json +90 -0
  259. package/.output/server/node_modules/estree-walker/dist/umd/estree-walker.js +344 -0
  260. package/.output/server/node_modules/estree-walker/package.json +37 -0
  261. package/.output/server/node_modules/hookable/dist/index.mjs +290 -0
  262. package/.output/server/node_modules/hookable/package.json +49 -0
  263. package/.output/server/node_modules/nanoid/index.js +46 -0
  264. package/.output/server/node_modules/nanoid/package.json +41 -0
  265. package/.output/server/node_modules/nanoid/url-alphabet/index.js +2 -0
  266. package/.output/server/node_modules/pinia/dist/pinia.prod.cjs +858 -0
  267. package/.output/server/node_modules/pinia/package.json +100 -0
  268. package/.output/server/node_modules/source-map-js/lib/array-set.js +121 -0
  269. package/.output/server/node_modules/source-map-js/lib/base64-vlq.js +140 -0
  270. package/.output/server/node_modules/source-map-js/lib/base64.js +67 -0
  271. package/.output/server/node_modules/source-map-js/lib/binary-search.js +111 -0
  272. package/.output/server/node_modules/source-map-js/lib/mapping-list.js +79 -0
  273. package/.output/server/node_modules/source-map-js/lib/quick-sort.js +132 -0
  274. package/.output/server/node_modules/source-map-js/lib/source-map-consumer.js +1188 -0
  275. package/.output/server/node_modules/source-map-js/lib/source-map-generator.js +444 -0
  276. package/.output/server/node_modules/source-map-js/lib/source-node.js +413 -0
  277. package/.output/server/node_modules/source-map-js/lib/util.js +594 -0
  278. package/.output/server/node_modules/source-map-js/package.json +71 -0
  279. package/.output/server/node_modules/source-map-js/source-map.js +8 -0
  280. package/.output/server/node_modules/ufo/dist/index.mjs +630 -0
  281. package/.output/server/node_modules/ufo/package.json +47 -0
  282. package/.output/server/node_modules/unhead/dist/index.mjs +747 -0
  283. package/.output/server/node_modules/unhead/package.json +46 -0
  284. package/.output/server/node_modules/vue/dist/vue.cjs.js +80 -0
  285. package/.output/server/node_modules/vue/dist/vue.cjs.prod.js +66 -0
  286. package/.output/server/node_modules/vue/index.js +7 -0
  287. package/.output/server/node_modules/vue/index.mjs +1 -0
  288. package/.output/server/node_modules/vue/package.json +112 -0
  289. package/.output/server/node_modules/vue/server-renderer/index.mjs +1 -0
  290. package/.output/server/node_modules/vue-bundle-renderer/dist/runtime.mjs +196 -0
  291. package/.output/server/node_modules/vue-bundle-renderer/package.json +50 -0
  292. package/.output/server/node_modules/vue-demi/lib/index.cjs +29 -0
  293. package/.output/server/node_modules/vue-demi/package.json +47 -0
  294. package/.output/server/node_modules/zod/lib/index.mjs +4236 -0
  295. package/.output/server/node_modules/zod/package.json +119 -0
  296. package/.output/server/node_modules/zod-to-json-schema/dist/esm/Options.js +31 -0
  297. package/.output/server/node_modules/zod-to-json-schema/dist/esm/Refs.js +21 -0
  298. package/.output/server/node_modules/zod-to-json-schema/dist/esm/errorMessages.js +14 -0
  299. package/.output/server/node_modules/zod-to-json-schema/dist/esm/index.js +37 -0
  300. package/.output/server/node_modules/zod-to-json-schema/dist/esm/package.json +1 -0
  301. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parseDef.js +164 -0
  302. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/any.js +3 -0
  303. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/array.js +25 -0
  304. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/bigint.js +49 -0
  305. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/boolean.js +5 -0
  306. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/branded.js +4 -0
  307. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/catch.js +4 -0
  308. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/date.js +46 -0
  309. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/default.js +7 -0
  310. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/effects.js +6 -0
  311. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/enum.js +6 -0
  312. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/intersection.js +52 -0
  313. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/literal.js +21 -0
  314. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/map.js +25 -0
  315. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/nativeEnum.js +16 -0
  316. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/never.js +5 -0
  317. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/null.js +10 -0
  318. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/nullable.js +33 -0
  319. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/number.js +52 -0
  320. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/object.js +45 -0
  321. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/optional.js +20 -0
  322. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/pipeline.js +20 -0
  323. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/promise.js +4 -0
  324. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/readonly.js +4 -0
  325. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/record.js +57 -0
  326. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/set.js +20 -0
  327. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/string.js +324 -0
  328. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/tuple.js +32 -0
  329. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/undefined.js +5 -0
  330. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/union.js +80 -0
  331. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/unknown.js +3 -0
  332. package/.output/server/node_modules/zod-to-json-schema/dist/esm/zodToJsonSchema.js +59 -0
  333. package/.output/server/node_modules/zod-to-json-schema/package.json +89 -0
  334. package/.output/server/package.json +1 -0
  335. package/package.json +41 -0
@@ -0,0 +1,630 @@
1
+ const n = /[^\0-\x7E]/;
2
+ const t = /[\x2E\u3002\uFF0E\uFF61]/g;
3
+ const o = {
4
+ overflow: "Overflow Error",
5
+ "not-basic": "Illegal Input",
6
+ "invalid-input": "Invalid Input"
7
+ };
8
+ const e = Math.floor;
9
+ const r = String.fromCharCode;
10
+ function s(n2) {
11
+ throw new RangeError(o[n2]);
12
+ }
13
+ const c = function(n2, t2) {
14
+ return n2 + 22 + 75 * (n2 < 26) - ((t2 != 0) << 5);
15
+ };
16
+ const u = function(n2, t2, o2) {
17
+ let r2 = 0;
18
+ for (n2 = o2 ? e(n2 / 700) : n2 >> 1, n2 += e(n2 / t2); n2 > 455; r2 += 36) {
19
+ n2 = e(n2 / 35);
20
+ }
21
+ return e(r2 + 36 * n2 / (n2 + 38));
22
+ };
23
+ function toASCII(o2) {
24
+ return function(n2, o3) {
25
+ const e2 = n2.split("@");
26
+ let r2 = "";
27
+ e2.length > 1 && (r2 = e2[0] + "@", n2 = e2[1]);
28
+ const s2 = function(n3, t2) {
29
+ const o4 = [];
30
+ let e3 = n3.length;
31
+ for (; e3--; ) {
32
+ o4[e3] = t2(n3[e3]);
33
+ }
34
+ return o4;
35
+ }((n2 = n2.replace(t, ".")).split("."), o3).join(".");
36
+ return r2 + s2;
37
+ }(o2, function(t2) {
38
+ return n.test(t2) ? "xn--" + function(n2) {
39
+ const t3 = [];
40
+ const o3 = (n2 = function(n3) {
41
+ const t4 = [];
42
+ let o4 = 0;
43
+ const e2 = n3.length;
44
+ for (; o4 < e2; ) {
45
+ const r2 = n3.charCodeAt(o4++);
46
+ if (r2 >= 55296 && r2 <= 56319 && o4 < e2) {
47
+ const e3 = n3.charCodeAt(o4++);
48
+ (64512 & e3) == 56320 ? t4.push(((1023 & r2) << 10) + (1023 & e3) + 65536) : (t4.push(r2), o4--);
49
+ } else {
50
+ t4.push(r2);
51
+ }
52
+ }
53
+ return t4;
54
+ }(n2)).length;
55
+ let f = 128;
56
+ let i = 0;
57
+ let l = 72;
58
+ for (const o4 of n2) {
59
+ o4 < 128 && t3.push(r(o4));
60
+ }
61
+ const h = t3.length;
62
+ let p = h;
63
+ for (h && t3.push("-"); p < o3; ) {
64
+ let o4 = 2147483647;
65
+ for (const t4 of n2) {
66
+ t4 >= f && t4 < o4 && (o4 = t4);
67
+ }
68
+ const a = p + 1;
69
+ o4 - f > e((2147483647 - i) / a) && s("overflow"), i += (o4 - f) * a, f = o4;
70
+ for (const o5 of n2) {
71
+ if (o5 < f && ++i > 2147483647 && s("overflow"), o5 == f) {
72
+ let n3 = i;
73
+ for (let o6 = 36; ; o6 += 36) {
74
+ const s2 = o6 <= l ? 1 : o6 >= l + 26 ? 26 : o6 - l;
75
+ if (n3 < s2) {
76
+ break;
77
+ }
78
+ const u2 = n3 - s2;
79
+ const f2 = 36 - s2;
80
+ t3.push(r(c(s2 + u2 % f2, 0))), n3 = e(u2 / f2);
81
+ }
82
+ t3.push(r(c(n3, 0))), l = u(i, a, p == h), i = 0, ++p;
83
+ }
84
+ }
85
+ ++i, ++f;
86
+ }
87
+ return t3.join("");
88
+ }(t2) : t2;
89
+ });
90
+ }
91
+
92
+ const HASH_RE = /#/g;
93
+ const AMPERSAND_RE = /&/g;
94
+ const SLASH_RE = /\//g;
95
+ const EQUAL_RE = /=/g;
96
+ const IM_RE = /\?/g;
97
+ const PLUS_RE = /\+/g;
98
+ const ENC_CARET_RE = /%5e/gi;
99
+ const ENC_BACKTICK_RE = /%60/gi;
100
+ const ENC_CURLY_OPEN_RE = /%7b/gi;
101
+ const ENC_PIPE_RE = /%7c/gi;
102
+ const ENC_CURLY_CLOSE_RE = /%7d/gi;
103
+ const ENC_SPACE_RE = /%20/gi;
104
+ const ENC_SLASH_RE = /%2f/gi;
105
+ const ENC_ENC_SLASH_RE = /%252f/gi;
106
+ function encode(text) {
107
+ return encodeURI("" + text).replace(ENC_PIPE_RE, "|");
108
+ }
109
+ function encodeHash(text) {
110
+ return encode(text).replace(ENC_CURLY_OPEN_RE, "{").replace(ENC_CURLY_CLOSE_RE, "}").replace(ENC_CARET_RE, "^");
111
+ }
112
+ function encodeQueryValue(input) {
113
+ return encode(typeof input === "string" ? input : JSON.stringify(input)).replace(PLUS_RE, "%2B").replace(ENC_SPACE_RE, "+").replace(HASH_RE, "%23").replace(AMPERSAND_RE, "%26").replace(ENC_BACKTICK_RE, "`").replace(ENC_CARET_RE, "^").replace(SLASH_RE, "%2F");
114
+ }
115
+ function encodeQueryKey(text) {
116
+ return encodeQueryValue(text).replace(EQUAL_RE, "%3D");
117
+ }
118
+ function encodePath(text) {
119
+ return encode(text).replace(HASH_RE, "%23").replace(IM_RE, "%3F").replace(ENC_ENC_SLASH_RE, "%2F").replace(AMPERSAND_RE, "%26").replace(PLUS_RE, "%2B");
120
+ }
121
+ function encodeParam(text) {
122
+ return encodePath(text).replace(SLASH_RE, "%2F");
123
+ }
124
+ function decode(text = "") {
125
+ try {
126
+ return decodeURIComponent("" + text);
127
+ } catch {
128
+ return "" + text;
129
+ }
130
+ }
131
+ function decodePath(text) {
132
+ return decode(text.replace(ENC_SLASH_RE, "%252F"));
133
+ }
134
+ function decodeQueryKey(text) {
135
+ return decode(text.replace(PLUS_RE, " "));
136
+ }
137
+ function decodeQueryValue(text) {
138
+ return decode(text.replace(PLUS_RE, " "));
139
+ }
140
+ function encodeHost(name = "") {
141
+ return toASCII(name);
142
+ }
143
+
144
+ function parseQuery(parametersString = "") {
145
+ const object = {};
146
+ if (parametersString[0] === "?") {
147
+ parametersString = parametersString.slice(1);
148
+ }
149
+ for (const parameter of parametersString.split("&")) {
150
+ const s = parameter.match(/([^=]+)=?(.*)/) || [];
151
+ if (s.length < 2) {
152
+ continue;
153
+ }
154
+ const key = decodeQueryKey(s[1]);
155
+ if (key === "__proto__" || key === "constructor") {
156
+ continue;
157
+ }
158
+ const value = decodeQueryValue(s[2] || "");
159
+ if (object[key] === void 0) {
160
+ object[key] = value;
161
+ } else if (Array.isArray(object[key])) {
162
+ object[key].push(value);
163
+ } else {
164
+ object[key] = [object[key], value];
165
+ }
166
+ }
167
+ return object;
168
+ }
169
+ function encodeQueryItem(key, value) {
170
+ if (typeof value === "number" || typeof value === "boolean") {
171
+ value = String(value);
172
+ }
173
+ if (!value) {
174
+ return encodeQueryKey(key);
175
+ }
176
+ if (Array.isArray(value)) {
177
+ return value.map((_value) => `${encodeQueryKey(key)}=${encodeQueryValue(_value)}`).join("&");
178
+ }
179
+ return `${encodeQueryKey(key)}=${encodeQueryValue(value)}`;
180
+ }
181
+ function stringifyQuery(query) {
182
+ return Object.keys(query).filter((k) => query[k] !== void 0).map((k) => encodeQueryItem(k, query[k])).filter(Boolean).join("&");
183
+ }
184
+
185
+ const PROTOCOL_STRICT_REGEX = /^[\s\w\0+.-]{2,}:([/\\]{1,2})/;
186
+ const PROTOCOL_REGEX = /^[\s\w\0+.-]{2,}:([/\\]{2})?/;
187
+ const PROTOCOL_RELATIVE_REGEX = /^([/\\]\s*){2,}[^/\\]/;
188
+ const PROTOCOL_SCRIPT_RE = /^[\s\0]*(blob|data|javascript|vbscript):$/i;
189
+ const TRAILING_SLASH_RE = /\/$|\/\?|\/#/;
190
+ const JOIN_LEADING_SLASH_RE = /^\.?\//;
191
+ function isRelative(inputString) {
192
+ return ["./", "../"].some((string_) => inputString.startsWith(string_));
193
+ }
194
+ function hasProtocol(inputString, opts = {}) {
195
+ if (typeof opts === "boolean") {
196
+ opts = { acceptRelative: opts };
197
+ }
198
+ if (opts.strict) {
199
+ return PROTOCOL_STRICT_REGEX.test(inputString);
200
+ }
201
+ return PROTOCOL_REGEX.test(inputString) || (opts.acceptRelative ? PROTOCOL_RELATIVE_REGEX.test(inputString) : false);
202
+ }
203
+ function isScriptProtocol(protocol) {
204
+ return !!protocol && PROTOCOL_SCRIPT_RE.test(protocol);
205
+ }
206
+ function hasTrailingSlash(input = "", respectQueryAndFragment) {
207
+ if (!respectQueryAndFragment) {
208
+ return input.endsWith("/");
209
+ }
210
+ return TRAILING_SLASH_RE.test(input);
211
+ }
212
+ function withoutTrailingSlash(input = "", respectQueryAndFragment) {
213
+ if (!respectQueryAndFragment) {
214
+ return (hasTrailingSlash(input) ? input.slice(0, -1) : input) || "/";
215
+ }
216
+ if (!hasTrailingSlash(input, true)) {
217
+ return input || "/";
218
+ }
219
+ let path = input;
220
+ let fragment = "";
221
+ const fragmentIndex = input.indexOf("#");
222
+ if (fragmentIndex >= 0) {
223
+ path = input.slice(0, fragmentIndex);
224
+ fragment = input.slice(fragmentIndex);
225
+ }
226
+ const [s0, ...s] = path.split("?");
227
+ const cleanPath = s0.endsWith("/") ? s0.slice(0, -1) : s0;
228
+ return (cleanPath || "/") + (s.length > 0 ? `?${s.join("?")}` : "") + fragment;
229
+ }
230
+ function withTrailingSlash(input = "", respectQueryAndFragment) {
231
+ if (!respectQueryAndFragment) {
232
+ return input.endsWith("/") ? input : input + "/";
233
+ }
234
+ if (hasTrailingSlash(input, true)) {
235
+ return input || "/";
236
+ }
237
+ let path = input;
238
+ let fragment = "";
239
+ const fragmentIndex = input.indexOf("#");
240
+ if (fragmentIndex >= 0) {
241
+ path = input.slice(0, fragmentIndex);
242
+ fragment = input.slice(fragmentIndex);
243
+ if (!path) {
244
+ return fragment;
245
+ }
246
+ }
247
+ const [s0, ...s] = path.split("?");
248
+ return s0 + "/" + (s.length > 0 ? `?${s.join("?")}` : "") + fragment;
249
+ }
250
+ function hasLeadingSlash(input = "") {
251
+ return input.startsWith("/");
252
+ }
253
+ function withoutLeadingSlash(input = "") {
254
+ return (hasLeadingSlash(input) ? input.slice(1) : input) || "/";
255
+ }
256
+ function withLeadingSlash(input = "") {
257
+ return hasLeadingSlash(input) ? input : "/" + input;
258
+ }
259
+ function cleanDoubleSlashes(input = "") {
260
+ return input.split("://").map((string_) => string_.replace(/\/{2,}/g, "/")).join("://");
261
+ }
262
+ function withBase(input, base) {
263
+ if (isEmptyURL(base) || hasProtocol(input)) {
264
+ return input;
265
+ }
266
+ const _base = withoutTrailingSlash(base);
267
+ if (input.startsWith(_base)) {
268
+ return input;
269
+ }
270
+ return joinURL(_base, input);
271
+ }
272
+ function withoutBase(input, base) {
273
+ if (isEmptyURL(base)) {
274
+ return input;
275
+ }
276
+ const _base = withoutTrailingSlash(base);
277
+ if (!input.startsWith(_base)) {
278
+ return input;
279
+ }
280
+ const trimmed = input.slice(_base.length);
281
+ return trimmed[0] === "/" ? trimmed : "/" + trimmed;
282
+ }
283
+ function withQuery(input, query) {
284
+ const parsed = parseURL(input);
285
+ const mergedQuery = { ...parseQuery(parsed.search), ...query };
286
+ parsed.search = stringifyQuery(mergedQuery);
287
+ return stringifyParsedURL(parsed);
288
+ }
289
+ function getQuery(input) {
290
+ return parseQuery(parseURL(input).search);
291
+ }
292
+ function isEmptyURL(url) {
293
+ return !url || url === "/";
294
+ }
295
+ function isNonEmptyURL(url) {
296
+ return url && url !== "/";
297
+ }
298
+ function joinURL(base, ...input) {
299
+ let url = base || "";
300
+ for (const segment of input.filter((url2) => isNonEmptyURL(url2))) {
301
+ if (url) {
302
+ const _segment = segment.replace(JOIN_LEADING_SLASH_RE, "");
303
+ url = withTrailingSlash(url) + _segment;
304
+ } else {
305
+ url = segment;
306
+ }
307
+ }
308
+ return url;
309
+ }
310
+ function joinRelativeURL(..._input) {
311
+ const JOIN_SEGMENT_SPLIT_RE = /\/(?!\/)/;
312
+ const input = _input.filter(Boolean);
313
+ const segments = [];
314
+ let segmentsDepth = 0;
315
+ for (const i of input) {
316
+ if (!i || i === "/") {
317
+ continue;
318
+ }
319
+ for (const [sindex, s] of i.split(JOIN_SEGMENT_SPLIT_RE).entries()) {
320
+ if (!s || s === ".") {
321
+ continue;
322
+ }
323
+ if (s === "..") {
324
+ if (segments.length === 1 && hasProtocol(segments[0])) {
325
+ continue;
326
+ }
327
+ segments.pop();
328
+ segmentsDepth--;
329
+ continue;
330
+ }
331
+ if (sindex === 1 && segments[segments.length - 1]?.endsWith(":/")) {
332
+ segments[segments.length - 1] += "/" + s;
333
+ continue;
334
+ }
335
+ segments.push(s);
336
+ segmentsDepth++;
337
+ }
338
+ }
339
+ let url = segments.join("/");
340
+ if (segmentsDepth >= 0) {
341
+ if (input[0]?.startsWith("/") && !url.startsWith("/")) {
342
+ url = "/" + url;
343
+ } else if (input[0]?.startsWith("./") && !url.startsWith("./")) {
344
+ url = "./" + url;
345
+ }
346
+ } else {
347
+ url = "../".repeat(-1 * segmentsDepth) + url;
348
+ }
349
+ if (input[input.length - 1]?.endsWith("/") && !url.endsWith("/")) {
350
+ url += "/";
351
+ }
352
+ return url;
353
+ }
354
+ function withHttp(input) {
355
+ return withProtocol(input, "http://");
356
+ }
357
+ function withHttps(input) {
358
+ return withProtocol(input, "https://");
359
+ }
360
+ function withoutProtocol(input) {
361
+ return withProtocol(input, "");
362
+ }
363
+ function withProtocol(input, protocol) {
364
+ let match = input.match(PROTOCOL_REGEX);
365
+ if (!match) {
366
+ match = input.match(/^\/{2,}/);
367
+ }
368
+ if (!match) {
369
+ return protocol + input;
370
+ }
371
+ return protocol + input.slice(match[0].length);
372
+ }
373
+ function normalizeURL(input) {
374
+ const parsed = parseURL(input);
375
+ parsed.pathname = encodePath(decodePath(parsed.pathname));
376
+ parsed.hash = encodeHash(decode(parsed.hash));
377
+ parsed.host = encodeHost(decode(parsed.host));
378
+ parsed.search = stringifyQuery(parseQuery(parsed.search));
379
+ return stringifyParsedURL(parsed);
380
+ }
381
+ function resolveURL(base = "", ...inputs) {
382
+ if (typeof base !== "string") {
383
+ throw new TypeError(
384
+ `URL input should be string received ${typeof base} (${base})`
385
+ );
386
+ }
387
+ const filteredInputs = inputs.filter((input) => isNonEmptyURL(input));
388
+ if (filteredInputs.length === 0) {
389
+ return base;
390
+ }
391
+ const url = parseURL(base);
392
+ for (const inputSegment of filteredInputs) {
393
+ const urlSegment = parseURL(inputSegment);
394
+ if (urlSegment.pathname) {
395
+ url.pathname = withTrailingSlash(url.pathname) + withoutLeadingSlash(urlSegment.pathname);
396
+ }
397
+ if (urlSegment.hash && urlSegment.hash !== "#") {
398
+ url.hash = urlSegment.hash;
399
+ }
400
+ if (urlSegment.search && urlSegment.search !== "?") {
401
+ if (url.search && url.search !== "?") {
402
+ const queryString = stringifyQuery({
403
+ ...parseQuery(url.search),
404
+ ...parseQuery(urlSegment.search)
405
+ });
406
+ url.search = queryString.length > 0 ? "?" + queryString : "";
407
+ } else {
408
+ url.search = urlSegment.search;
409
+ }
410
+ }
411
+ }
412
+ return stringifyParsedURL(url);
413
+ }
414
+ function isSamePath(p1, p2) {
415
+ return decode(withoutTrailingSlash(p1)) === decode(withoutTrailingSlash(p2));
416
+ }
417
+ function isEqual(a, b, options = {}) {
418
+ if (!options.trailingSlash) {
419
+ a = withTrailingSlash(a);
420
+ b = withTrailingSlash(b);
421
+ }
422
+ if (!options.leadingSlash) {
423
+ a = withLeadingSlash(a);
424
+ b = withLeadingSlash(b);
425
+ }
426
+ if (!options.encoding) {
427
+ a = decode(a);
428
+ b = decode(b);
429
+ }
430
+ return a === b;
431
+ }
432
+ function withFragment(input, hash) {
433
+ if (!hash || hash === "#") {
434
+ return input;
435
+ }
436
+ const parsed = parseURL(input);
437
+ parsed.hash = hash === "" ? "" : "#" + encodeHash(hash);
438
+ return stringifyParsedURL(parsed);
439
+ }
440
+ function withoutFragment(input) {
441
+ return stringifyParsedURL({ ...parseURL(input), hash: "" });
442
+ }
443
+ function withoutHost(input) {
444
+ const parsed = parseURL(input);
445
+ return (parsed.pathname || "/") + parsed.search + parsed.hash;
446
+ }
447
+
448
+ const protocolRelative = Symbol.for("ufo:protocolRelative");
449
+ function parseURL(input = "", defaultProto) {
450
+ const _specialProtoMatch = input.match(
451
+ /^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i
452
+ );
453
+ if (_specialProtoMatch) {
454
+ const [, _proto, _pathname = ""] = _specialProtoMatch;
455
+ return {
456
+ protocol: _proto.toLowerCase(),
457
+ pathname: _pathname,
458
+ href: _proto + _pathname,
459
+ auth: "",
460
+ host: "",
461
+ search: "",
462
+ hash: ""
463
+ };
464
+ }
465
+ if (!hasProtocol(input, { acceptRelative: true })) {
466
+ return defaultProto ? parseURL(defaultProto + input) : parsePath(input);
467
+ }
468
+ const [, protocol = "", auth, hostAndPath = ""] = input.replace(/\\/g, "/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/) || [];
469
+ let [, host = "", path = ""] = hostAndPath.match(/([^#/?]*)(.*)?/) || [];
470
+ if (protocol === "file:") {
471
+ path = path.replace(/\/(?=[A-Za-z]:)/, "");
472
+ }
473
+ const { pathname, search, hash } = parsePath(path);
474
+ return {
475
+ protocol: protocol.toLowerCase(),
476
+ auth: auth ? auth.slice(0, Math.max(0, auth.length - 1)) : "",
477
+ host,
478
+ pathname,
479
+ search,
480
+ hash,
481
+ [protocolRelative]: !protocol
482
+ };
483
+ }
484
+ function parsePath(input = "") {
485
+ const [pathname = "", search = "", hash = ""] = (input.match(/([^#?]*)(\?[^#]*)?(#.*)?/) || []).splice(1);
486
+ return {
487
+ pathname,
488
+ search,
489
+ hash
490
+ };
491
+ }
492
+ function parseAuth(input = "") {
493
+ const [username, password] = input.split(":");
494
+ return {
495
+ username: decode(username),
496
+ password: decode(password)
497
+ };
498
+ }
499
+ function parseHost(input = "") {
500
+ const [hostname, port] = (input.match(/([^/:]*):?(\d+)?/) || []).splice(1);
501
+ return {
502
+ hostname: decode(hostname),
503
+ port
504
+ };
505
+ }
506
+ function stringifyParsedURL(parsed) {
507
+ const pathname = parsed.pathname || "";
508
+ const search = parsed.search ? (parsed.search.startsWith("?") ? "" : "?") + parsed.search : "";
509
+ const hash = parsed.hash || "";
510
+ const auth = parsed.auth ? parsed.auth + "@" : "";
511
+ const host = parsed.host || "";
512
+ const proto = parsed.protocol || parsed[protocolRelative] ? (parsed.protocol || "") + "//" : "";
513
+ return proto + auth + host + pathname + search + hash;
514
+ }
515
+ const FILENAME_STRICT_REGEX = /\/([^/]+\.[^/]+)$/;
516
+ const FILENAME_REGEX = /\/([^/]+)$/;
517
+ function parseFilename(input = "", { strict }) {
518
+ const { pathname } = parseURL(input);
519
+ const matches = strict ? pathname.match(FILENAME_STRICT_REGEX) : pathname.match(FILENAME_REGEX);
520
+ return matches ? matches[1] : void 0;
521
+ }
522
+
523
+ var __defProp = Object.defineProperty;
524
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
525
+ var __publicField = (obj, key, value) => {
526
+ __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
527
+ return value;
528
+ };
529
+ class $URL {
530
+ constructor(input = "") {
531
+ __publicField(this, "protocol");
532
+ __publicField(this, "host");
533
+ __publicField(this, "auth");
534
+ __publicField(this, "pathname");
535
+ __publicField(this, "query", {});
536
+ __publicField(this, "hash");
537
+ if (typeof input !== "string") {
538
+ throw new TypeError(
539
+ `URL input should be string received ${typeof input} (${input})`
540
+ );
541
+ }
542
+ const parsed = parseURL(input);
543
+ this.protocol = decode(parsed.protocol);
544
+ this.host = decode(parsed.host);
545
+ this.auth = decode(parsed.auth);
546
+ this.pathname = decodePath(parsed.pathname);
547
+ this.query = parseQuery(parsed.search);
548
+ this.hash = decode(parsed.hash);
549
+ }
550
+ get hostname() {
551
+ return parseHost(this.host).hostname;
552
+ }
553
+ get port() {
554
+ return parseHost(this.host).port || "";
555
+ }
556
+ get username() {
557
+ return parseAuth(this.auth).username;
558
+ }
559
+ get password() {
560
+ return parseAuth(this.auth).password || "";
561
+ }
562
+ get hasProtocol() {
563
+ return this.protocol.length;
564
+ }
565
+ get isAbsolute() {
566
+ return this.hasProtocol || this.pathname[0] === "/";
567
+ }
568
+ get search() {
569
+ const q = stringifyQuery(this.query);
570
+ return q.length > 0 ? "?" + q : "";
571
+ }
572
+ get searchParams() {
573
+ const p = new URLSearchParams();
574
+ for (const name in this.query) {
575
+ const value = this.query[name];
576
+ if (Array.isArray(value)) {
577
+ for (const v of value) {
578
+ p.append(name, v);
579
+ }
580
+ } else {
581
+ p.append(
582
+ name,
583
+ typeof value === "string" ? value : JSON.stringify(value)
584
+ );
585
+ }
586
+ }
587
+ return p;
588
+ }
589
+ get origin() {
590
+ return (this.protocol ? this.protocol + "//" : "") + encodeHost(this.host);
591
+ }
592
+ get fullpath() {
593
+ return encodePath(this.pathname) + this.search + encodeHash(this.hash);
594
+ }
595
+ get encodedAuth() {
596
+ if (!this.auth) {
597
+ return "";
598
+ }
599
+ const { username, password } = parseAuth(this.auth);
600
+ return encodeURIComponent(username) + (password ? ":" + encodeURIComponent(password) : "");
601
+ }
602
+ get href() {
603
+ const auth = this.encodedAuth;
604
+ const originWithAuth = (this.protocol ? this.protocol + "//" : "") + (auth ? auth + "@" : "") + encodeHost(this.host);
605
+ return this.hasProtocol && this.isAbsolute ? originWithAuth + this.fullpath : this.fullpath;
606
+ }
607
+ append(url) {
608
+ if (url.hasProtocol) {
609
+ throw new Error("Cannot append a URL with protocol");
610
+ }
611
+ Object.assign(this.query, url.query);
612
+ if (url.pathname) {
613
+ this.pathname = withTrailingSlash(this.pathname) + withoutLeadingSlash(url.pathname);
614
+ }
615
+ if (url.hash) {
616
+ this.hash = url.hash;
617
+ }
618
+ }
619
+ toJSON() {
620
+ return this.href;
621
+ }
622
+ toString() {
623
+ return this.href;
624
+ }
625
+ }
626
+ function createURL(input) {
627
+ return new $URL(input);
628
+ }
629
+
630
+ export { $URL, cleanDoubleSlashes, createURL, decode, decodePath, decodeQueryKey, decodeQueryValue, encode, encodeHash, encodeHost, encodeParam, encodePath, encodeQueryItem, encodeQueryKey, encodeQueryValue, getQuery, hasLeadingSlash, hasProtocol, hasTrailingSlash, isEmptyURL, isEqual, isNonEmptyURL, isRelative, isSamePath, isScriptProtocol, joinRelativeURL, joinURL, normalizeURL, parseAuth, parseFilename, parseHost, parsePath, parseQuery, parseURL, resolveURL, stringifyParsedURL, stringifyQuery, withBase, withFragment, withHttp, withHttps, withLeadingSlash, withProtocol, withQuery, withTrailingSlash, withoutBase, withoutFragment, withoutHost, withoutLeadingSlash, withoutProtocol, withoutTrailingSlash };
@@ -0,0 +1,47 @@
1
+ {
2
+ "name": "ufo",
3
+ "version": "1.5.4",
4
+ "description": "URL utils for humans",
5
+ "repository": "unjs/ufo",
6
+ "license": "MIT",
7
+ "sideEffects": false,
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "require": "./dist/index.cjs",
12
+ "import": "./dist/index.mjs"
13
+ },
14
+ "./*": "./*"
15
+ },
16
+ "main": "./dist/index.cjs",
17
+ "module": "./dist/index.mjs",
18
+ "types": "./dist/index.d.ts",
19
+ "files": [
20
+ "dist"
21
+ ],
22
+ "scripts": {
23
+ "build": "automd && unbuild",
24
+ "automd": "automd",
25
+ "dev": "vitest",
26
+ "lint": "eslint . && prettier -c src test",
27
+ "lint:fix": "eslint --fix . && prettier -w src test",
28
+ "prepack": "pnpm build",
29
+ "release": "pnpm test && changelogen --release && npm publish && git push --follow-tags",
30
+ "test": "pnpm lint && vitest run --typecheck"
31
+ },
32
+ "devDependencies": {
33
+ "@types/node": "^20.14.10",
34
+ "@vitest/coverage-v8": "^2.0.3",
35
+ "automd": "^0.3.8",
36
+ "changelogen": "^0.5.5",
37
+ "eslint": "^9.7.0",
38
+ "eslint-config-unjs": "^0.3.2",
39
+ "jiti": "^1.21.6",
40
+ "prettier": "^3.3.3",
41
+ "typescript": "^5.5.3",
42
+ "unbuild": "^2.0.0",
43
+ "untyped": "^1.4.2",
44
+ "vitest": "^2.0.3"
45
+ },
46
+ "packageManager": "pnpm@9.5.0"
47
+ }