better-supabase 0.30.0 → 0.32.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 (1688) hide show
  1. package/dist/access-sql-Dao1C0fz.js +383 -0
  2. package/dist/actor-B5b0i1Fs.js +149 -0
  3. package/dist/actor-DseNR02I.d.ts +104 -0
  4. package/dist/adapter-CPPN80mx.js +2231 -0
  5. package/dist/agents-BEiBtYmh.d.ts +115 -0
  6. package/dist/ai-cache-D9D36eh4.js +86 -0
  7. package/dist/ai-cache-FMYzw7lW.d.ts +80 -0
  8. package/dist/ai-chat-B_P--Ie2.d.ts +532 -0
  9. package/dist/ai-files-DCMVGSds.js +337 -0
  10. package/dist/ai-message-cnroprVB.js +13 -0
  11. package/dist/ai-schedules-D_q1iclL.d.ts +164 -0
  12. package/dist/ai-sdk/agents/index.d.ts +8 -12
  13. package/dist/ai-sdk/agents/index.js +10 -12
  14. package/dist/ai-sdk/batches/index.d.ts +12 -7
  15. package/dist/ai-sdk/batches/index.js +16 -9
  16. package/dist/ai-sdk/cache/index.d.ts +2 -4
  17. package/dist/ai-sdk/cache/index.js +3 -4
  18. package/dist/ai-sdk/chat/index.d.ts +77 -2
  19. package/dist/ai-sdk/chat/index.js +179 -28
  20. package/dist/ai-sdk/embeddings/index.d.ts +2 -2
  21. package/dist/ai-sdk/embeddings/index.js +1 -1
  22. package/dist/ai-sdk/files/index.d.ts +3 -5
  23. package/dist/ai-sdk/files/index.js +5 -6
  24. package/dist/ai-sdk/index.d.ts +75 -21
  25. package/dist/ai-sdk/index.js +112 -66
  26. package/dist/ai-sdk/mcp/index.d.ts +28 -13
  27. package/dist/ai-sdk/mcp/index.js +56 -17
  28. package/dist/ai-sdk/memory/index.d.ts +3 -5
  29. package/dist/ai-sdk/memory/index.js +3 -4
  30. package/dist/ai-sdk/react/index.d.ts +2 -2
  31. package/dist/ai-sdk/react/index.js +3 -1
  32. package/dist/ai-sdk/react/server.d.ts +7 -4
  33. package/dist/ai-sdk/react/server.js +10 -3
  34. package/dist/ai-sdk/workflow/index.d.ts +12 -13
  35. package/dist/ai-sdk/workflow/index.js +17 -17
  36. package/dist/ai-sdk/workflow/react/index.d.ts +1 -3
  37. package/dist/ai-sdk/workflow/react/index.js +3 -3
  38. package/dist/ai-sdk/workflow/react/server.d.ts +1 -3
  39. package/dist/ai-sdk/workflow/react/server.js +1 -2
  40. package/dist/anchors-sCLvYj-8.d.ts +36 -0
  41. package/dist/api-CwzVbbw4.d.ts +483 -0
  42. package/dist/api-keys-u2sXB-CZ.d.ts +211 -0
  43. package/dist/api-wwix_K5c.js +691 -0
  44. package/dist/app-tables-DomvYx5b.d.ts +26 -0
  45. package/dist/approvals-Da4uAANx.js +166 -0
  46. package/dist/approvals-idpuhILk.d.ts +127 -0
  47. package/dist/assistant-CMKsaeJd.d.ts +209 -0
  48. package/dist/astro/index.d.ts +8 -10
  49. package/dist/astro/index.js +8 -9
  50. package/dist/attachments-BWtUQgsL.js +375 -0
  51. package/dist/attributes-BZNkR2z2.js +51 -0
  52. package/dist/auth-link-BmJsQG4a.js +117 -0
  53. package/dist/auth-link-DRjtI1Ky.d.ts +102 -0
  54. package/dist/auth-module-CVo86UKh.js +50 -0
  55. package/dist/auth-reply-BMPJQssh.d.ts +9 -0
  56. package/dist/auth-reply-Cnwn3I_q.js +30 -0
  57. package/dist/auth-wFlGgwTZ.js +19 -0
  58. package/dist/authorization-CYu_UKX4.d.ts +3723 -0
  59. package/dist/authorization-hooks-CldgvzBZ.d.ts +219 -0
  60. package/dist/authorizer-AswD5q6g.d.ts +116 -0
  61. package/dist/authorizer-D6po_XZA.js +171 -0
  62. package/dist/automation-acq3iK9y.js +74 -0
  63. package/dist/automations-BfH8GJqv.js +27 -0
  64. package/dist/automations-Bw5cX7oj.js +29 -0
  65. package/dist/automations-CCc5RUw-.js +31 -0
  66. package/dist/automations-Dou1t3lt.js +313 -0
  67. package/dist/availability-CebEOfMN.d.ts +236 -0
  68. package/dist/base64-CVyKHBBw.js +41 -0
  69. package/dist/batch-limit-DqQ3d6op.js +4 -0
  70. package/dist/before-route-Ra3OhI2x.js +29 -0
  71. package/dist/better-result/index.d.ts +4 -6
  72. package/dist/better-result/index.js +2 -3
  73. package/dist/bind-8LYVJE5W.d.ts +102 -0
  74. package/dist/block-authors-C5z3tGVu.d.ts +10 -0
  75. package/dist/block-authors-DCQ4zl8e.js +13 -0
  76. package/dist/block-env-BsLgZL2l.d.ts +30 -0
  77. package/dist/block-event-listener-DCi7c89M.js +15 -0
  78. package/dist/block-events-Bp6GPIBN.js +82 -0
  79. package/dist/block-fields-Bjcv6_zc.js +139 -0
  80. package/dist/block-fields-Puv5m5D3.d.ts +56 -0
  81. package/dist/block-helpers-I7UzjNEf.js +435 -0
  82. package/dist/block-helpers-JxiD1iw4.d.ts +56 -0
  83. package/dist/block-hooks-CJP5kGEa.d.ts +115 -0
  84. package/dist/block-hooks-CadxQ9-_.js +129 -0
  85. package/dist/block-method-DIbWG4Mj.js +20 -0
  86. package/dist/block-method-QSaPsL2P.d.ts +12 -0
  87. package/dist/block-subjects-SyJwfgrX.d.ts +4 -0
  88. package/dist/block-subjects-cRlVtKDO.js +54 -0
  89. package/dist/block-tenant-Bun03JuO.js +13 -0
  90. package/dist/block-transport-Bbf1ZZre.d.ts +67 -0
  91. package/dist/blocks/access-requests/index.d.ts +9 -15
  92. package/dist/blocks/access-requests/index.js +11 -14
  93. package/dist/blocks/activities/index.d.ts +13 -21
  94. package/dist/blocks/activities/index.js +16 -21
  95. package/dist/blocks/agents/index.d.ts +4 -8
  96. package/dist/blocks/agents/index.js +11 -14
  97. package/dist/blocks/ai-cache/index.d.ts +3 -5
  98. package/dist/blocks/ai-cache/index.js +5 -6
  99. package/dist/blocks/ai-chat/index.d.ts +10 -19
  100. package/dist/blocks/ai-chat/index.js +20 -28
  101. package/dist/blocks/ai-files/index.d.ts +5 -9
  102. package/dist/blocks/ai-files/index.js +5 -6
  103. package/dist/blocks/ai-keys/index.d.ts +4 -10
  104. package/dist/blocks/ai-keys/index.js +14 -18
  105. package/dist/blocks/ai-schedules/index.d.ts +3 -5
  106. package/dist/blocks/ai-schedules/index.js +14 -16
  107. package/dist/blocks/announcements/index.d.ts +12 -20
  108. package/dist/blocks/announcements/index.js +12 -16
  109. package/dist/blocks/api-keys/index.d.ts +8 -16
  110. package/dist/blocks/api-keys/index.js +17 -22
  111. package/dist/blocks/approvals/index.d.ts +4 -8
  112. package/dist/blocks/approvals/index.js +7 -173
  113. package/dist/blocks/assets/index.d.ts +9 -17
  114. package/dist/blocks/assets/index.js +13 -17
  115. package/dist/blocks/assignment/index.d.ts +9 -17
  116. package/dist/blocks/assignment/index.js +10 -14
  117. package/dist/blocks/attachments/index.d.ts +6 -18
  118. package/dist/blocks/attachments/index.js +19 -24
  119. package/dist/blocks/audit/index.d.ts +15 -31
  120. package/dist/blocks/audit/index.js +27 -35
  121. package/dist/blocks/automations/index.d.ts +14 -26
  122. package/dist/blocks/automations/index.js +18 -23
  123. package/dist/blocks/billable-time/index.d.ts +9 -19
  124. package/dist/blocks/billable-time/index.js +15 -20
  125. package/dist/blocks/billing/index.d.ts +12 -22
  126. package/dist/blocks/billing/index.js +19 -24
  127. package/dist/blocks/bookings/index.d.ts +8 -18
  128. package/dist/blocks/bookings/index.js +17 -23
  129. package/dist/blocks/bulk/index.d.ts +6 -12
  130. package/dist/blocks/bulk/index.js +10 -13
  131. package/dist/blocks/calendar/index.d.ts +18 -24
  132. package/dist/blocks/calendar/index.js +39 -32
  133. package/dist/blocks/catalog/index.d.ts +12 -20
  134. package/dist/blocks/catalog/index.js +17 -21
  135. package/dist/blocks/channels/index.d.ts +9 -17
  136. package/dist/blocks/channels/index.js +11 -15
  137. package/dist/blocks/collections/index.d.ts +11 -17
  138. package/dist/blocks/collections/index.js +13 -16
  139. package/dist/blocks/comments/index.d.ts +16 -26
  140. package/dist/blocks/comments/index.js +21 -26
  141. package/dist/blocks/compliance/index.d.ts +9 -17
  142. package/dist/blocks/compliance/index.js +13 -17
  143. package/dist/blocks/connectors/index.d.ts +4 -8
  144. package/dist/blocks/connectors/index.js +13 -16
  145. package/dist/blocks/contacts/index.d.ts +10 -18
  146. package/dist/blocks/contacts/index.js +12 -16
  147. package/dist/blocks/content/index.d.ts +8 -16
  148. package/dist/blocks/content/index.js +13 -17
  149. package/dist/blocks/contracts/index.d.ts +11 -21
  150. package/dist/blocks/contracts/index.js +17 -22
  151. package/dist/blocks/courses/index.d.ts +11 -21
  152. package/dist/blocks/courses/index.js +17 -22
  153. package/dist/blocks/created-by/index.d.ts +3 -7
  154. package/dist/blocks/created-by/index.js +4 -5
  155. package/dist/blocks/custom-fields/index.d.ts +10 -16
  156. package/dist/blocks/custom-fields/index.js +13 -16
  157. package/dist/blocks/data-lifecycle/index.d.ts +10 -26
  158. package/dist/blocks/data-lifecycle/index.js +17 -23
  159. package/dist/blocks/deals/index.d.ts +12 -20
  160. package/dist/blocks/deals/index.js +18 -22
  161. package/dist/blocks/dispatch/index.d.ts +11 -23
  162. package/dist/blocks/dispatch/index.js +19 -24
  163. package/dist/blocks/documents/index.d.ts +4 -8
  164. package/dist/blocks/documents/index.js +9 -12
  165. package/dist/blocks/domains/index.d.ts +8 -14
  166. package/dist/blocks/domains/index.js +12 -15
  167. package/dist/blocks/donations/index.d.ts +13 -23
  168. package/dist/blocks/donations/index.js +21 -26
  169. package/dist/blocks/drive/index.d.ts +116 -20
  170. package/dist/blocks/drive/index.js +138 -26
  171. package/dist/blocks/employees/index.d.ts +13 -23
  172. package/dist/blocks/employees/index.js +19 -27
  173. package/dist/blocks/enrichment/index.d.ts +8 -16
  174. package/dist/blocks/enrichment/index.js +11 -15
  175. package/dist/blocks/enrollments/index.d.ts +9 -17
  176. package/dist/blocks/enrollments/index.js +13 -17
  177. package/dist/blocks/entitlements/index.d.ts +8 -14
  178. package/dist/blocks/entitlements/index.js +8 -11
  179. package/dist/blocks/expenses/index.d.ts +22 -19
  180. package/dist/blocks/expenses/index.js +25 -23
  181. package/dist/blocks/field-history/index.d.ts +6 -10
  182. package/dist/blocks/field-history/index.js +5 -7
  183. package/dist/blocks/flags/index.d.ts +49 -20
  184. package/dist/blocks/flags/index.js +65 -19
  185. package/dist/blocks/forecasts/index.d.ts +10 -16
  186. package/dist/blocks/forecasts/index.js +11 -14
  187. package/dist/blocks/forms/index.d.ts +11 -25
  188. package/dist/blocks/forms/index.js +17 -24
  189. package/dist/blocks/goals/index.d.ts +8 -12
  190. package/dist/blocks/goals/index.js +9 -11
  191. package/dist/blocks/guests/index.d.ts +9 -19
  192. package/dist/blocks/guests/index.js +14 -19
  193. package/dist/blocks/hiring/index.d.ts +10 -18
  194. package/dist/blocks/hiring/index.js +12 -15
  195. package/dist/blocks/identities/index.d.ts +7 -11
  196. package/dist/blocks/identities/index.js +7 -9
  197. package/dist/blocks/imports/index.d.ts +8 -18
  198. package/dist/blocks/imports/index.js +11 -16
  199. package/dist/blocks/inbox/index.d.ts +11 -21
  200. package/dist/blocks/inbox/index.js +26 -23
  201. package/dist/blocks/incidents/index.d.ts +9 -17
  202. package/dist/blocks/incidents/index.js +14 -18
  203. package/dist/blocks/index.d.ts +14 -20
  204. package/dist/blocks/index.js +17 -20
  205. package/dist/blocks/inventory/index.d.ts +11 -17
  206. package/dist/blocks/inventory/index.js +12 -15
  207. package/dist/blocks/invoices/index.d.ts +34 -21
  208. package/dist/blocks/invoices/index.js +31 -18
  209. package/dist/blocks/knowledge/index.d.ts +3 -5
  210. package/dist/blocks/knowledge/index.js +5 -6
  211. package/dist/blocks/lead-scoring/index.d.ts +10 -14
  212. package/dist/blocks/lead-scoring/index.js +11 -13
  213. package/dist/blocks/leases/index.d.ts +11 -21
  214. package/dist/blocks/leases/index.js +20 -25
  215. package/dist/blocks/leave/index.d.ts +50 -17
  216. package/dist/blocks/leave/index.js +35 -14
  217. package/dist/blocks/ledger/index.d.ts +9 -17
  218. package/dist/blocks/ledger/index.js +13 -17
  219. package/dist/blocks/mail-sync/index.d.ts +6 -12
  220. package/dist/blocks/mail-sync/index.js +26 -25
  221. package/dist/blocks/memberships/index.d.ts +5 -9
  222. package/dist/blocks/memberships/index.js +4 -5
  223. package/dist/blocks/memory/index.d.ts +4 -8
  224. package/dist/blocks/memory/index.js +12 -15
  225. package/dist/blocks/messaging/index.d.ts +14 -24
  226. package/dist/blocks/messaging/index.js +19 -24
  227. package/dist/blocks/metrics/index.d.ts +9 -17
  228. package/dist/blocks/metrics/index.js +14 -18
  229. package/dist/blocks/mfa/index.d.ts +5 -9
  230. package/dist/blocks/mfa/index.js +7 -9
  231. package/dist/blocks/moderation/index.d.ts +9 -17
  232. package/dist/blocks/moderation/index.js +13 -17
  233. package/dist/blocks/notifications/index.d.ts +18 -34
  234. package/dist/blocks/notifications/index.js +36 -84
  235. package/dist/blocks/numbering/index.d.ts +6 -12
  236. package/dist/blocks/numbering/index.js +8 -11
  237. package/dist/blocks/oauth-server/index.d.ts +7 -13
  238. package/dist/blocks/oauth-server/index.js +12 -15
  239. package/dist/blocks/onboarding/index.d.ts +7 -13
  240. package/dist/blocks/onboarding/index.js +8 -11
  241. package/dist/blocks/orders/index.d.ts +17 -29
  242. package/dist/blocks/orders/index.js +22 -28
  243. package/dist/blocks/organizations/index.d.ts +43 -40
  244. package/dist/blocks/organizations/index.js +21 -20
  245. package/dist/blocks/outbox/index.d.ts +4 -6
  246. package/dist/blocks/outbox/index.js +11 -13
  247. package/dist/blocks/passes/index.d.ts +12 -22
  248. package/dist/blocks/passes/index.js +20 -25
  249. package/dist/blocks/permissions/index.d.ts +74 -15
  250. package/dist/blocks/permissions/index.js +119 -18
  251. package/dist/blocks/pipelines/index.d.ts +12 -18
  252. package/dist/blocks/pipelines/index.js +12 -15
  253. package/dist/blocks/posts/index.d.ts +10 -18
  254. package/dist/blocks/posts/index.js +15 -19
  255. package/dist/blocks/profiles/index.d.ts +8 -12
  256. package/dist/blocks/profiles/index.js +9 -11
  257. package/dist/blocks/promotions/index.d.ts +11 -17
  258. package/dist/blocks/promotions/index.js +13 -16
  259. package/dist/blocks/push/index.d.ts +19 -17
  260. package/dist/blocks/push/index.js +33 -20
  261. package/dist/blocks/queue/index.d.ts +187 -39
  262. package/dist/blocks/queue/index.js +226 -60
  263. package/dist/blocks/quotes/index.d.ts +13 -21
  264. package/dist/blocks/quotes/index.js +14 -17
  265. package/dist/blocks/rank/index.d.ts +7 -13
  266. package/dist/blocks/rank/index.js +8 -10
  267. package/dist/blocks/reactions/index.d.ts +11 -19
  268. package/dist/blocks/reactions/index.js +13 -17
  269. package/dist/blocks/relations/index.d.ts +11 -21
  270. package/dist/blocks/relations/index.js +18 -23
  271. package/dist/blocks/reminders/index.d.ts +12 -22
  272. package/dist/blocks/reminders/index.js +21 -25
  273. package/dist/blocks/reviews/index.d.ts +9 -15
  274. package/dist/blocks/reviews/index.js +11 -14
  275. package/dist/blocks/saved-views/index.d.ts +11 -21
  276. package/dist/blocks/saved-views/index.js +16 -21
  277. package/dist/blocks/scores/index.d.ts +6 -12
  278. package/dist/blocks/scores/index.js +10 -13
  279. package/dist/blocks/search/index.d.ts +9 -19
  280. package/dist/blocks/search/index.js +15 -19
  281. package/dist/blocks/security-events/index.d.ts +10 -24
  282. package/dist/blocks/security-events/index.js +17 -23
  283. package/dist/blocks/segments/index.d.ts +10 -18
  284. package/dist/blocks/segments/index.js +11 -15
  285. package/dist/blocks/sequences/index.d.ts +9 -17
  286. package/dist/blocks/sequences/index.js +15 -19
  287. package/dist/blocks/service-accounts/index.d.ts +9 -15
  288. package/dist/blocks/service-accounts/index.js +11 -14
  289. package/dist/blocks/sessions/index.d.ts +4 -8
  290. package/dist/blocks/sessions/index.js +9 -11
  291. package/dist/blocks/settings/index.d.ts +8 -16
  292. package/dist/blocks/settings/index.js +14 -18
  293. package/dist/blocks/share-links/index.d.ts +9 -17
  294. package/dist/blocks/share-links/index.js +16 -20
  295. package/dist/blocks/shipments/index.d.ts +14 -24
  296. package/dist/blocks/shipments/index.js +25 -31
  297. package/dist/blocks/signatures/index.d.ts +10 -16
  298. package/dist/blocks/signatures/index.js +10 -13
  299. package/dist/blocks/signing-keys/index.d.ts +5 -9
  300. package/dist/blocks/signing-keys/index.js +8 -10
  301. package/dist/blocks/sla/index.d.ts +11 -19
  302. package/dist/blocks/sla/index.js +17 -21
  303. package/dist/blocks/sso/index.d.ts +7 -19
  304. package/dist/blocks/sso/index.js +14 -21
  305. package/dist/blocks/state-machine/index.d.ts +7 -13
  306. package/dist/blocks/state-machine/index.js +9 -12
  307. package/dist/blocks/subjects/index.d.ts +7 -11
  308. package/dist/blocks/subjects/index.js +12 -14
  309. package/dist/blocks/tags/index.d.ts +11 -21
  310. package/dist/blocks/tags/index.js +20 -25
  311. package/dist/blocks/tasks/index.d.ts +13 -27
  312. package/dist/blocks/tasks/index.js +22 -29
  313. package/dist/blocks/teams/index.d.ts +15 -15
  314. package/dist/blocks/teams/index.js +17 -19
  315. package/dist/blocks/templates/index.d.ts +12 -22
  316. package/dist/blocks/templates/index.js +16 -21
  317. package/dist/blocks/time-tracking/index.d.ts +31 -25
  318. package/dist/blocks/time-tracking/index.js +29 -29
  319. package/dist/blocks/timeline/index.d.ts +10 -14
  320. package/dist/blocks/timeline/index.js +11 -13
  321. package/dist/blocks/trash/index.d.ts +10 -18
  322. package/dist/blocks/trash/index.js +11 -14
  323. package/dist/blocks/undo/index.d.ts +4 -8
  324. package/dist/blocks/undo/index.js +6 -8
  325. package/dist/blocks/updated-at/index.d.ts +3 -7
  326. package/dist/blocks/updated-at/index.js +4 -5
  327. package/dist/blocks/usage/index.d.ts +6 -10
  328. package/dist/blocks/usage/index.js +10 -13
  329. package/dist/blocks/vercel-marketplace/index.d.ts +9 -17
  330. package/dist/blocks/vercel-marketplace/index.js +17 -21
  331. package/dist/blocks/versions/index.d.ts +10 -20
  332. package/dist/blocks/versions/index.js +17 -22
  333. package/dist/blocks/waitlist/index.d.ts +10 -16
  334. package/dist/blocks/waitlist/index.js +11 -14
  335. package/dist/blocks/webhooks/index.d.ts +16 -34
  336. package/dist/blocks/webhooks/index.js +33 -44
  337. package/dist/blocks/workflow-editor/index.d.ts +13 -21
  338. package/dist/blocks/workflow-editor/index.js +21 -27
  339. package/dist/blocks/workflows/index.d.ts +8 -14
  340. package/dist/blocks/workflows/index.js +14 -18
  341. package/dist/bookings-DG443336.d.ts +285 -0
  342. package/dist/bucket-Clq5xINQ.d.ts +693 -0
  343. package/dist/build-Ckxct2EX.js +2065 -0
  344. package/dist/build-D1-V9dd8.js +732 -0
  345. package/dist/carrier-D2b_028L.d.ts +165 -0
  346. package/dist/casing-DQzG9ANZ.js +15 -0
  347. package/dist/channel-B_kufDZy.d.ts +101 -0
  348. package/dist/channels-BxeTTtCY.js +113 -0
  349. package/dist/chat-sdk/index.d.ts +174 -41
  350. package/dist/chat-sdk/index.js +425 -83
  351. package/dist/claims-DRmafYVK.js +90 -0
  352. package/dist/claims-DouHL7ZL.js +62 -0
  353. package/dist/cli/_format-Ba0DoWjl.js +99 -0
  354. package/dist/cli/add-ChoHyBhz.js +1222 -0
  355. package/dist/cli/add-DlYL-1mF.js +1 -0
  356. package/dist/cli/add-fzRPyIED.js +98 -0
  357. package/dist/cli/agent-59XWXsRi.js +184 -0
  358. package/dist/cli/app-table-files-C0OtdUVu.js +343 -0
  359. package/dist/cli/arazzo-1.0-D3OaSeZw.js +531 -0
  360. package/dist/cli/arazzo-1.1-DaT2KAkP.js +704 -0
  361. package/dist/cli/args-_ZVgRBkx.js +26 -0
  362. package/dist/cli/asyncapi-3.0.0-Ca-UwtUW.js +5592 -0
  363. package/dist/cli/asyncapi-3.1.0-DUxf5zNu.js +5832 -0
  364. package/dist/cli/backfill-Dq2XMXf9.js +292 -0
  365. package/dist/cli/bin.js +5 -5
  366. package/dist/cli/blocks-CCzp0eAH.js +155 -0
  367. package/dist/cli/blocks-DVhJOzFj.js +1 -0
  368. package/dist/cli/cache-CoC-1i1O.js +643 -0
  369. package/dist/cli/codemod-block-renames-Dt3X1Wvg.js +238 -0
  370. package/dist/cli/codemod-pyf6HmS9.js +2883 -0
  371. package/dist/cli/command-BpZ4AuhR.js +1021 -0
  372. package/dist/cli/compare-yl4sSwVn.js +8 -0
  373. package/dist/cli/completion-B08Q0xB3.js +29 -0
  374. package/dist/cli/completion-CwL7e93t.js +210 -0
  375. package/dist/cli/completion-DHTT6rjI.js +1 -0
  376. package/dist/cli/config-D-Upz3jV.js +46 -0
  377. package/dist/cli/config-D0m2rQqk.js +1 -0
  378. package/dist/cli/config-Dyl3iX3u.js +2029 -0
  379. package/dist/cli/config-edit-C6sQ1MqT.js +619 -0
  380. package/dist/cli/config-group-D4JWh4kG.js +388 -0
  381. package/dist/cli/content-mapper-ChSVT9Tq.js +181 -0
  382. package/dist/cli/db-B8zfxjl2.js +77 -0
  383. package/dist/cli/db-dFzhcozO.js +246 -0
  384. package/dist/cli/detect-BcUDaO8I.js +83 -0
  385. package/dist/cli/dist-CYnD1kyT.js +128 -0
  386. package/dist/cli/dist-MKwjiW2w.js +1114 -0
  387. package/dist/cli/doctor-BKZsztFV.js +4647 -0
  388. package/dist/cli/env-BAJn6wCA.js +142 -0
  389. package/dist/cli/env-BCuUsWOh.js +1109 -0
  390. package/dist/cli/env-D70ihdbB.js +1 -0
  391. package/dist/cli/env-UN6PJFX6.js +1 -0
  392. package/dist/cli/errors-DcJ_PayO.js +97 -0
  393. package/dist/cli/exec-CXBufciC.js +461 -0
  394. package/dist/cli/fastest-levenshtein-B_QF6At5.js +119 -0
  395. package/dist/cli/files-DQayErI8.js +999 -0
  396. package/dist/cli/fresh-import-CdO2oQaQ.js +39 -0
  397. package/dist/cli/gen-BN_eh6rE.js +390 -0
  398. package/dist/cli/guards-DxwRG0Uv.js +7 -0
  399. package/dist/cli/in-stack-diff-huI7fGMX.js +185 -0
  400. package/dist/cli/index.d.ts +1 -53
  401. package/dist/cli/index.js +10 -11
  402. package/dist/cli/init-CaDDt8F6.js +556 -0
  403. package/dist/cli/io-CQzy8PEZ.js +36 -0
  404. package/dist/cli/json5-DhsZB2va.js +784 -0
  405. package/dist/cli/jsonc-DU9Clnrz.js +1 -0
  406. package/dist/cli/jsonc-u_UiXFxs.js +43 -0
  407. package/dist/cli/keys-CxajkV_7.js +105 -0
  408. package/dist/cli/legacy-prefix-D8Jfku6I.js +153 -0
  409. package/dist/cli/live-KU41LMGE.js +339 -0
  410. package/dist/cli/mcp-C_m-TpLJ.js +240 -0
  411. package/dist/cli/metadata-Bq4ra7zo.js +149 -0
  412. package/dist/cli/migrate-DHG2Qz_K.js +45 -0
  413. package/dist/cli/migration-safety-STVbiKhz.js +925 -0
  414. package/dist/cli/migrations-O1QZoMiH.js +116 -0
  415. package/dist/cli/module-migration-DB9ntWM-.js +118 -0
  416. package/dist/cli/moved-BAFPdJz_.js +253 -0
  417. package/dist/cli/ohash-imLR_J5Y.js +276 -0
  418. package/dist/cli/openapi-3.0-BJiTNq_x.js +927 -0
  419. package/dist/cli/openapi-3.1-BcWCoii2.js +869 -0
  420. package/dist/cli/openapi-3.2-MXPkeoTk.js +1030 -0
  421. package/dist/cli/orphans-CPcR85QN.js +27 -0
  422. package/dist/cli/parse-BueItuNJ.js +181 -0
  423. package/dist/cli/powersync-CN3QPF2K.js +375 -0
  424. package/dist/cli/powersync-DfeGl5N1.js +1 -0
  425. package/dist/cli/preset-BQnjDCSR.js +100 -0
  426. package/dist/cli/print-DG7TRCi8.js +66 -0
  427. package/dist/cli/prompts-D9b6uf21.js +1133 -0
  428. package/dist/cli/providers-DpfoF3VC.js +298 -0
  429. package/dist/cli/prune-workflows-DcNJUS1m.js +153 -0
  430. package/dist/cli/redact--zOGdWzo.js +37 -0
  431. package/dist/cli/remove-BpfYqP45.js +237 -0
  432. package/dist/cli/render-Q7jnLn_C.js +2213 -0
  433. package/dist/cli/rolldown-runtime-DegdyBIC.js +25 -0
  434. package/dist/cli/run-9NfabanB.js +703 -0
  435. package/dist/cli/run-D6K-qQIX.js +1450 -0
  436. package/dist/cli/run-dY9uOC3W.js +62 -0
  437. package/dist/cli/seed-B4H0Lco9.js +187 -0
  438. package/dist/cli/seed-BIB6-WPa.js +1 -0
  439. package/dist/cli/shared-PrvYREVy.js +150 -0
  440. package/dist/cli/shell-C1U618XA.js +9 -0
  441. package/dist/cli/skills-jZThjL3B.js +120 -0
  442. package/dist/cli/snapshot-UfJsqfys.js +728 -0
  443. package/dist/cli/source-F3YTVvFo.js +317 -0
  444. package/dist/cli/source-args-DJMrW_jW.js +58 -0
  445. package/dist/cli/spec-DsLQuJKp.js +7449 -0
  446. package/dist/cli/spec-HQOBVbEO.js +1 -0
  447. package/dist/cli/sql-layout-CZ66pY8j.js +260 -0
  448. package/dist/cli/stack-147NqctC.js +134 -0
  449. package/dist/cli/stack-env-BQhbUFa7.js +92 -0
  450. package/dist/cli/stack-status-Mxgqb3I4.js +45 -0
  451. package/dist/cli/stacks-C5YL6Un9.js +230 -0
  452. package/dist/cli/style-B5-nByxb.js +34 -0
  453. package/dist/cli/supabase-toml-B6-eEV5p.js +1155 -0
  454. package/dist/cli/sync-B12wbtFd.js +318 -0
  455. package/dist/cli/table-D9FbJS8h.js +88 -0
  456. package/dist/cli/toml-VX0BsvYq.js +422 -0
  457. package/dist/cli/topics-Cdg0V7Tt.js +29 -0
  458. package/dist/cli/trace-D3TNqWBg.js +6 -0
  459. package/dist/cli/upgrade-AgUXFDo6.js +270 -0
  460. package/dist/cli/upgrade-C20z49De.js +40 -0
  461. package/dist/cli/validate-C_WTnX1U.js +7426 -0
  462. package/dist/cli/version-DEUWW8cv.js +3 -0
  463. package/dist/cli/yaml-JsusTbcC.js +2250 -0
  464. package/dist/client/index.d.ts +7 -7
  465. package/dist/client/index.js +9 -12
  466. package/dist/client/native/index.d.ts +7 -23
  467. package/dist/client/native/index.js +15 -22
  468. package/dist/client-BLor58Je.js +290 -0
  469. package/dist/clone-H_gCsL29.js +32 -0
  470. package/dist/cloud-event-CLvsaPqH.js +62 -0
  471. package/dist/cloud-event-bcaMqEbN.d.ts +62 -0
  472. package/dist/codecs-B1VO2BGL.d.ts +220 -0
  473. package/dist/codecs-B9v5Y5HH.js +357 -0
  474. package/dist/commerce/index.d.ts +5 -13
  475. package/dist/commerce/index.js +13 -16
  476. package/dist/compiler-CWishtY2.d.ts +12 -0
  477. package/dist/compose-BRBlPSEY.js +52 -0
  478. package/dist/composite-BZMkWNOQ.js +125 -0
  479. package/dist/composite-ClLWZIwX.d.ts +79 -0
  480. package/dist/config/index.d.ts +6 -6
  481. package/dist/config/index.js +7 -7
  482. package/dist/config-BhExAhNK.js +1102 -0
  483. package/dist/config-MDRA2sre.js +1672 -0
  484. package/dist/connectors-BImAu75R.d.ts +145 -0
  485. package/dist/context-DSevnLrT.js +40 -0
  486. package/dist/context-DcxfrCml.d.ts +4267 -0
  487. package/dist/controller-BJmh7gFm.js +78 -0
  488. package/dist/controller-D_UJBaEU.d.ts +50 -0
  489. package/dist/controller-y1kSMuCU.js +72 -0
  490. package/dist/conversion-7U1WeLxK.d.ts +84 -0
  491. package/dist/conversion-Bj9j3KnG.js +76 -0
  492. package/dist/cookie-DDkqvqe4.d.ts +3 -0
  493. package/dist/cookie-DJI6xXJ9.js +4 -0
  494. package/dist/cors-9SDsndtb.d.ts +13 -0
  495. package/dist/cors-DrDFLMNn.js +23 -0
  496. package/dist/create/index.d.ts +4 -28
  497. package/dist/create/index.js +9 -15
  498. package/dist/create/lite/index.d.ts +5 -25
  499. package/dist/create/lite/index.js +14 -24
  500. package/dist/create/oauth/index.d.ts +1 -1
  501. package/dist/create/oauth/index.js +1 -2
  502. package/dist/create/supabase/index.d.ts +2 -4
  503. package/dist/create/supabase/index.js +3 -6
  504. package/dist/create-blocks-D7q1boXV.js +367 -0
  505. package/dist/credentials/index.d.ts +6 -10
  506. package/dist/credentials/index.js +11 -12
  507. package/dist/cron-BD8VrQQl.js +147 -0
  508. package/dist/cron-route-DSITg1yC.js +23 -0
  509. package/dist/csv-Bwn9insJ.js +88 -0
  510. package/dist/csv-Dd1iKsk-.d.ts +26 -0
  511. package/dist/data-engine-B-D6bdyx.d.ts +269 -0
  512. package/dist/data-engine-BbqQwso_.js +174 -0
  513. package/dist/data-hooks-BToeAcQ_.js +277 -0
  514. package/dist/db-exception-Dv18UZ-I.js +30 -0
  515. package/dist/deal-forecast-CN_BEy9s.d.ts +21 -0
  516. package/dist/deal-forecast-DsVFoMkJ.js +38 -0
  517. package/dist/define-3RbqoF1S.d.ts +1242 -0
  518. package/dist/define-B6D55cO0.js +2073 -0
  519. package/dist/define-block-22Jv4U_-.js +63 -0
  520. package/dist/define-block-B_i9VPcc.d.ts +1669 -0
  521. package/dist/delegation-BRHHXERz.js +152 -0
  522. package/dist/delivery-CWcbh87x.d.ts +69 -0
  523. package/dist/delivery-SmPHu2_H.js +28 -0
  524. package/dist/delivery-events-0mAEuscm.js +52 -0
  525. package/dist/documents-6ov2gWh3.d.ts +150 -0
  526. package/dist/edge/index.d.ts +17 -23
  527. package/dist/edge/index.js +18 -22
  528. package/dist/elysia/index.d.ts +2 -6
  529. package/dist/elysia/index.js +4 -6
  530. package/dist/email-BRm6wMWQ.d.ts +40 -0
  531. package/dist/embeddings--v4BJdUL.js +127 -0
  532. package/dist/embeddings-K0lH--nt.d.ts +76 -0
  533. package/dist/ended-CCoE7XXY.d.ts +22 -0
  534. package/dist/entitlements-XwpuBbKN.d.ts +52 -0
  535. package/dist/entitlements-sLoj3M6Y.js +44 -0
  536. package/dist/entity-naming-BES3pkQI.js +130 -0
  537. package/dist/entity-schema-DEIz0I8i.js +38 -0
  538. package/dist/env/index.d.ts +1 -1
  539. package/dist/env/index.js +1 -2
  540. package/dist/envelope-DAtaFJue.js +89 -0
  541. package/dist/errors-B7tCfCvX.js +327 -0
  542. package/dist/errors-BdjHv5SV.js +43 -0
  543. package/dist/errors-D3-4c-XF.js +102 -0
  544. package/dist/escape-like-CK6L7gkj.d.ts +26 -0
  545. package/dist/escape-like-gxNXs145.js +6 -0
  546. package/dist/eve/index.d.ts +247 -16
  547. package/dist/eve/index.js +334 -26
  548. package/dist/eve-Cf-QRGij.d.ts +213 -0
  549. package/dist/event-calendar-DUtFyRrv.d.ts +63 -0
  550. package/dist/event-map-DxfsFgQT.js +18 -0
  551. package/dist/events/index.d.ts +3 -3
  552. package/dist/events/index.js +7 -8
  553. package/dist/events-BRKIxVQD.js +25 -0
  554. package/dist/events-CfDdOwqg.d.ts +850 -0
  555. package/dist/events-Da482tiF.js +81 -0
  556. package/dist/executor-BDMqPbVU.js +482 -0
  557. package/dist/executor-C0_TT717.js +840 -0
  558. package/dist/executor-CAhykadW.d.ts +168 -0
  559. package/dist/executor-CbDX34I9.d.ts +99 -0
  560. package/dist/executor-Dc4Pl44u.js +207 -0
  561. package/dist/executor-ynEwaUZy.d.ts +35 -0
  562. package/dist/expo/index.d.ts +5 -9
  563. package/dist/expo/index.js +10 -11
  564. package/dist/extension-DQ9-oOVC.js +58 -0
  565. package/dist/extension-LgaDPMJs.js +120 -0
  566. package/dist/extension-WdHd5uqI.js +102 -0
  567. package/dist/extension-rdpYvpyN.js +52 -0
  568. package/dist/extension-shared-DJb_PfD4.js +59 -0
  569. package/dist/extra-Dz9n5y1s.js +9 -0
  570. package/dist/field-errors-tQr-anYL.d.ts +208 -0
  571. package/dist/field-formats-Cap-V7UP.js +101 -0
  572. package/dist/field-formats-DVukMbRa.d.ts +36 -0
  573. package/dist/fields-AKKMirg_.d.ts +76 -0
  574. package/dist/fields-BBcdKD-S.js +107 -0
  575. package/dist/filter-evaluate-Bhq99aEN.d.ts +35 -0
  576. package/dist/filter-evaluate-D_LLfdtE.js +216 -0
  577. package/dist/filter-query-B7A4l2xn.d.ts +131 -0
  578. package/dist/filter-query-Ds7Z6lgZ.js +565 -0
  579. package/dist/flags-B5B4mkZV.d.ts +315 -0
  580. package/dist/flags-D0npSE-5.js +361 -0
  581. package/dist/flags-sdk/index.d.ts +217 -28
  582. package/dist/flags-sdk/index.js +255 -35
  583. package/dist/form-definition-8cCCt5zj.js +362 -0
  584. package/dist/form-definition-BN8shngm.d.ts +117 -0
  585. package/dist/format-BT0Z3V54.d.ts +77 -0
  586. package/dist/framework-B1h-uquj.js +57 -0
  587. package/dist/framework-CyDn_SXR.d.ts +45 -0
  588. package/dist/function-contract-Bf6llTkE.js +7 -0
  589. package/dist/function-contract-DgDBYbXu.d.ts +25 -0
  590. package/dist/gateway-Cg_MgGen.d.ts +120 -0
  591. package/dist/gateway-options-DQGQzdkD.js +26 -0
  592. package/dist/gateway-options-Mut8jih_.d.ts +27 -0
  593. package/dist/guards-CsRa6v57.js +11 -0
  594. package/dist/guest-actions-CEwttioE.js +8 -0
  595. package/dist/guest-actions-DfHHp98H.d.ts +3 -0
  596. package/dist/h3/index.d.ts +2 -6
  597. package/dist/h3/index.js +4 -6
  598. package/dist/h3/v1/index.d.ts +3 -5
  599. package/dist/h3/v1/index.js +4 -5
  600. package/dist/history-6KiVNWdH.js +269 -0
  601. package/dist/hmac-DNcfpmI9.js +22 -0
  602. package/dist/hono/index.d.ts +14 -19
  603. package/dist/hono/index.js +14 -16
  604. package/dist/http-BDC1IvBX.js +27 -0
  605. package/dist/http-BRUI3qim.js +140 -0
  606. package/dist/http-D4lH1xqY.js +39 -0
  607. package/dist/image-url-bsGeybeg.js +83 -0
  608. package/dist/impersonation-BOCJcsmS.d.ts +26 -0
  609. package/dist/impersonation-D-quM36V.js +61 -0
  610. package/dist/inbox-BmSA9K01.d.ts +326 -0
  611. package/dist/index-8w4OB5En.d.ts +102 -0
  612. package/dist/index-B2871MHr.d.ts +234 -0
  613. package/dist/index-B5_J-MaK.d.ts +152 -0
  614. package/dist/index-BWR29Vvw.d.ts +76 -0
  615. package/dist/index-CRrBZtKm.d.ts +326 -0
  616. package/dist/index-CTpEQvIv.d.ts +291 -0
  617. package/dist/index-D2BGCjIz.d.ts +570 -0
  618. package/dist/index-D66_dYVi.d.ts +667 -0
  619. package/dist/index-Dj4VKpYZ.d.ts +49 -0
  620. package/dist/index-DzBFdI9I.d.ts +145 -0
  621. package/dist/index-lazpPVr0.d.ts +402 -0
  622. package/dist/index-xCpjvDVm.d.ts +637 -0
  623. package/dist/index.d.ts +13 -41
  624. package/dist/index.js +29 -34
  625. package/dist/instance-property-BlH7QSDl.js +6 -0
  626. package/dist/instances-D31jrmKh.js +16636 -0
  627. package/dist/invalidate-DAB9CaPm.d.ts +19 -0
  628. package/dist/iso4217-oKsif_hW.js +175 -0
  629. package/dist/json-O5vFw243.js +21 -0
  630. package/dist/json-schema-D9eVL_xi.js +884 -0
  631. package/dist/jwks-cache-IZaiICAV.js +48 -0
  632. package/dist/jws-B8p0ppgh.js +204 -0
  633. package/dist/jws-CxgTsbgG.d.ts +64 -0
  634. package/dist/kit-CJKo0soh.d.ts +92 -0
  635. package/dist/kit-CVZDd1X9.js +132 -0
  636. package/dist/knowledge-BUwbpS8I.d.ts +215 -0
  637. package/dist/knowledge-DdZzUTQ-.js +299 -0
  638. package/dist/lint/index.d.ts +1 -5
  639. package/dist/lint/index.js +8 -10
  640. package/dist/list/index.d.ts +3 -3
  641. package/dist/list/index.js +3 -3
  642. package/dist/list-query-CZ-K5aHX.d.ts +220 -0
  643. package/dist/list-query-D-tgs1eY.js +558 -0
  644. package/dist/live-BVi3q4bX.js +277 -0
  645. package/dist/logger-0LfhvwE4.d.ts +16 -0
  646. package/dist/logger-BkF8ukXV.js +20 -0
  647. package/dist/lookup-upE-e1zw.js +17 -0
  648. package/dist/management-DtX4ic1F.d.ts +55 -0
  649. package/dist/mapper/bin.js +13 -17
  650. package/dist/mcp/index.d.ts +8 -18
  651. package/dist/mcp/index.js +24 -29
  652. package/dist/mcp/sdk/index.d.ts +7 -11
  653. package/dist/mcp/sdk/index.js +12 -14
  654. package/dist/message-Cc4bkdNw.d.ts +97 -0
  655. package/dist/messages-CRk1g6oe.js +512 -0
  656. package/dist/messaging-DMhtGxVv.d.ts +295 -0
  657. package/dist/methods-BjfDv4Gy.js +9 -0
  658. package/dist/metric-definition-2KQYeUZ1.d.ts +67 -0
  659. package/dist/metric-definition-D4H6IQT7.js +116 -0
  660. package/dist/mfa-CM5r904M.d.ts +34 -0
  661. package/dist/model-Lxa_mOzB.d.ts +338 -0
  662. package/dist/model-messages-BcrkjsPE.js +205 -0
  663. package/dist/model-messages-CGSUU450.d.ts +32 -0
  664. package/dist/money-BgpAd7d3.d.ts +89 -0
  665. package/dist/money-DH--bbYr.js +196 -0
  666. package/dist/money-codec-SKPm8FPw.js +40 -0
  667. package/dist/my-work-kinds-DNPq3ccL.js +10 -0
  668. package/dist/nestjs/index.d.ts +3 -5
  669. package/dist/nestjs/index.js +5 -6
  670. package/dist/next/client/index.d.ts +1 -5
  671. package/dist/next/client/index.js +2 -4
  672. package/dist/next/image/index.d.ts +1 -3
  673. package/dist/next/image/index.js +2 -3
  674. package/dist/next/index.d.ts +149 -92
  675. package/dist/next/index.js +167 -114
  676. package/dist/node/index.d.ts +3 -3
  677. package/dist/node/index.js +6 -7
  678. package/dist/node-headers-C3FExlg9.js +54 -0
  679. package/dist/node-headers-TnS4T7V_.d.ts +25 -0
  680. package/dist/nuxt/index.d.ts +0 -2
  681. package/dist/nuxt/index.js +1 -2
  682. package/dist/operations-BNFbWv1t.js +28 -0
  683. package/dist/operations-D51ONRvR.d.ts +4 -0
  684. package/dist/optional-peer-5SOYr3lL.js +31 -0
  685. package/dist/options--rohtkkC.js +4 -0
  686. package/dist/options-1iHDmlZ5.js +8 -0
  687. package/dist/options-2QJXZPPS.js +4 -0
  688. package/dist/options-B-JqrC61.d.ts +8 -0
  689. package/dist/options-B3xH2JvJ.js +8 -0
  690. package/dist/options-B4sTqDrt.js +4 -0
  691. package/dist/options-B56njigZ.js +19 -0
  692. package/dist/options-B5A3UmKY.d.ts +17 -0
  693. package/dist/options-B6m9gYRH.d.ts +11 -0
  694. package/dist/options-B7Pl708M.js +8 -0
  695. package/dist/options-B7YrdiUc.js +11 -0
  696. package/dist/options-B8c2_hIB.js +9 -0
  697. package/dist/options-B9w_Y08G.d.ts +6 -0
  698. package/dist/options-BDF60ouf.js +4 -0
  699. package/dist/options-BDMPjyrI.js +4 -0
  700. package/dist/options-BHdHuY5r.js +14 -0
  701. package/dist/options-BLMeCbtT.js +31 -0
  702. package/dist/options-BLQePOPy.d.ts +8 -0
  703. package/dist/options-BLn1PFyu.js +4 -0
  704. package/dist/options-BMO-FnOT.js +7 -0
  705. package/dist/options-BNRvoEkj.js +4 -0
  706. package/dist/options-BPQOiVx2.js +7 -0
  707. package/dist/options-BSTJmfX4.js +10 -0
  708. package/dist/options-BTRH26MJ.js +9 -0
  709. package/dist/options-BTaQszYn.js +9 -0
  710. package/dist/options-BYo7hMHK.js +10 -0
  711. package/dist/options-B_bxCZYM.js +7 -0
  712. package/dist/options-BaBaVWS-.js +10 -0
  713. package/dist/options-BamaRO-q.d.ts +12 -0
  714. package/dist/options-BcBdiPSZ.js +7 -0
  715. package/dist/options-BfY4pyQE.js +23 -0
  716. package/dist/options-BgCS5ODi.js +9 -0
  717. package/dist/options-Bi96Lzuf.js +9 -0
  718. package/dist/options-BjEsSoFp.js +17 -0
  719. package/dist/options-Bkx8vwip.js +4 -0
  720. package/dist/options-BmFSI07A.js +4 -0
  721. package/dist/options-BmwDdKwE.js +7 -0
  722. package/dist/options-Bn3NjXfn.js +7 -0
  723. package/dist/options-BqK4xV67.js +13 -0
  724. package/dist/options-Bs2dC-at.js +11 -0
  725. package/dist/options-BvttpM1M.js +4 -0
  726. package/dist/options-Bwrwb8do.d.ts +10 -0
  727. package/dist/options-BxdqA2Ex.js +19 -0
  728. package/dist/options-BzxR82Tu.js +9 -0
  729. package/dist/options-C-NFS6e3.js +13 -0
  730. package/dist/options-C13-dVMH.js +7 -0
  731. package/dist/options-C1RIyAe1.js +7 -0
  732. package/dist/options-C1kZ3qLd.js +8 -0
  733. package/dist/options-C2RjdunU.js +27 -0
  734. package/dist/options-C4kpi6HE.js +8 -0
  735. package/dist/options-C5MfwOAO.js +8 -0
  736. package/dist/options-C5fKQ3EJ.d.ts +10 -0
  737. package/dist/options-CJR59q8s.js +17 -0
  738. package/dist/options-CJVYQue3.d.ts +10 -0
  739. package/dist/options-CLy7CcMn.js +8 -0
  740. package/dist/options-COfEYic3.js +8 -0
  741. package/dist/options-CRwTY_q2.d.ts +58 -0
  742. package/dist/options-CcW7h8mv.js +9 -0
  743. package/dist/options-Ceu2j1vv.js +7 -0
  744. package/dist/options-CgBKgmI8.js +7 -0
  745. package/dist/options-CgMiQGOF.js +9 -0
  746. package/dist/options-CptvcSmF.js +11 -0
  747. package/dist/options-CsLUAt04.js +8 -0
  748. package/dist/options-CtyjhSGk.js +15 -0
  749. package/dist/options-CuPWezcV.js +7 -0
  750. package/dist/options-CyDOOWlk.js +7 -0
  751. package/dist/options-CyYZvdSy.js +10 -0
  752. package/dist/options-CzIPn0fF.js +4 -0
  753. package/dist/options-CzWjw2HY.js +10 -0
  754. package/dist/options-CztbWdz9.js +4 -0
  755. package/dist/options-D4LuPM8a.js +4 -0
  756. package/dist/options-D4dxMGHF.js +7 -0
  757. package/dist/options-D5a9CHgP.js +7 -0
  758. package/dist/options-D6tpMRvp.d.ts +13 -0
  759. package/dist/options-D848Os4l.js +10 -0
  760. package/dist/options-DCZPW5gR.d.ts +15 -0
  761. package/dist/options-DFSHZFLN.js +4 -0
  762. package/dist/options-DFemc2im.js +9 -0
  763. package/dist/options-DFgHHwzD.js +12 -0
  764. package/dist/options-DNZ9r_Vo.d.ts +8 -0
  765. package/dist/options-DP7NwQPZ.js +4 -0
  766. package/dist/options-DPQaafyc.js +7 -0
  767. package/dist/options-DQkhhBLy.js +4 -0
  768. package/dist/options-DTTz33na.js +9 -0
  769. package/dist/options-DToWdVqW.js +4 -0
  770. package/dist/options-DUNUGuhM.js +4 -0
  771. package/dist/options-DWgpi5ns.js +7 -0
  772. package/dist/options-DeamnVOY.d.ts +12 -0
  773. package/dist/options-Dg7eK-_J.d.ts +8 -0
  774. package/dist/options-DiIlMZpc.js +8 -0
  775. package/dist/options-DjFbIRgV.js +16 -0
  776. package/dist/options-DjtCYRWb.js +4 -0
  777. package/dist/options-Dk6D88Zx.d.ts +6 -0
  778. package/dist/options-DpwRG4tO.js +8 -0
  779. package/dist/options-DvgKdZ2K.js +9 -0
  780. package/dist/options-DwIoRvic.js +4 -0
  781. package/dist/options-GwwLsKf5.js +8 -0
  782. package/dist/options-I1ZHfDP0.d.ts +58 -0
  783. package/dist/options-Itq7QYoW.js +20 -0
  784. package/dist/options-JnPEVbBJ.js +17 -0
  785. package/dist/options-Jwux4JDX.js +7 -0
  786. package/dist/options-Lg76d-cV.js +7 -0
  787. package/dist/options-Lh6uxepF.d.ts +24 -0
  788. package/dist/options-Oki2W_c3.js +4 -0
  789. package/dist/options-PM7IaIFP.js +10 -0
  790. package/dist/options-PTLBl6QT.js +7 -0
  791. package/dist/options-PheFo4JY.js +10 -0
  792. package/dist/options-SlC_jZ7y.js +4 -0
  793. package/dist/options-Sq4bYbf5.js +13 -0
  794. package/dist/options-XiD_Y3oK.js +14 -0
  795. package/dist/options-Z-bd_H1E.js +88 -0
  796. package/dist/options-ax_ssX_m.js +4 -0
  797. package/dist/options-bNB8_nlW.js +23 -0
  798. package/dist/options-eIEk0vqV.js +4 -0
  799. package/dist/options-eLIedotm.js +7 -0
  800. package/dist/options-jg0FMHA5.js +4 -0
  801. package/dist/options-mypVYaqR.js +9 -0
  802. package/dist/options-ompJjxkV.js +4 -0
  803. package/dist/options-pbc4H8_A.js +7 -0
  804. package/dist/options-uUGi0Phf.d.ts +14 -0
  805. package/dist/options-yRwYr4up.js +4 -0
  806. package/dist/options-z2Zhi97E.js +9 -0
  807. package/dist/options-zYV6M0vr.js +8 -0
  808. package/dist/orpc/index.d.ts +13 -19
  809. package/dist/orpc/index.js +20 -22
  810. package/dist/otel/index.d.ts +4 -6
  811. package/dist/otel/index.js +8 -10
  812. package/dist/outbox-C44Aa94K.d.ts +197 -0
  813. package/dist/payments-B4JchZuJ.js +15 -0
  814. package/dist/payments-BBGSGRQ7.d.ts +112 -0
  815. package/dist/permissions-B9aZZ9LR.js +43 -0
  816. package/dist/permissions-controller-B4uI5IPH.js +33 -0
  817. package/dist/pg-error-D92B6jlF.js +25 -0
  818. package/dist/plugin-Ca2qBiFZ.js +47 -0
  819. package/dist/pool-Bji4lnQM.d.ts +121 -0
  820. package/dist/pool-errors-JrZie6u3.js +26 -0
  821. package/dist/ports-C-hdygkZ.js +150 -0
  822. package/dist/ports-zFqRNXVJ.d.ts +87 -0
  823. package/dist/postgres/index.d.ts +5 -11
  824. package/dist/postgres/index.js +7 -9
  825. package/dist/postgrest-2WjRrtmX.d.ts +51 -0
  826. package/dist/postgrest-executor-lf8Mt4J0.js +1064 -0
  827. package/dist/powersync/index.d.ts +203 -21
  828. package/dist/powersync/index.js +369 -22
  829. package/dist/preset/index.d.ts +3 -3
  830. package/dist/preset/index.js +3 -3
  831. package/dist/preset-om2rbdYw.js +1038 -0
  832. package/dist/problem-C0SVHhd3.js +161 -0
  833. package/dist/problem-NGBjN-TO.d.ts +77 -0
  834. package/dist/project-oNHntJ6T.js +1749 -0
  835. package/dist/provider-B6qpleR9.js +56 -0
  836. package/dist/provider-CH8McX3b.d.ts +142 -0
  837. package/dist/providers-C9sBIBYE.js +62 -0
  838. package/dist/push-token-CO28k46S.js +15 -0
  839. package/dist/push-token-a3Ev1U3L.d.ts +22 -0
  840. package/dist/queries-BLrxg_GL.js +238 -0
  841. package/dist/query/index.d.ts +3 -3
  842. package/dist/query/index.js +11 -15
  843. package/dist/range-BN3kpJAE.d.ts +6 -0
  844. package/dist/range-Nrh_qtb_.js +6 -0
  845. package/dist/rank-keys-CEBzd9Xa.js +59 -0
  846. package/dist/rank-result-B_xLQCBV.d.ts +12 -0
  847. package/dist/rank-result-DzaTKKhH.js +17 -0
  848. package/dist/rate-limit-C89Yzwd9.d.ts +48 -0
  849. package/dist/rate-limit-CRhlLFhP.js +380 -0
  850. package/dist/rate-limit-DXJbLVg0.js +48 -0
  851. package/dist/ratelimit-headers-CpB-cDD6.js +61 -0
  852. package/dist/react/index.d.ts +11 -11
  853. package/dist/react/index.js +6 -6
  854. package/dist/react/native/index.d.ts +3 -5
  855. package/dist/react/native/index.js +5 -5
  856. package/dist/react/server.d.ts +13 -15
  857. package/dist/react/server.js +9 -10
  858. package/dist/react/session.d.ts +4 -6
  859. package/dist/react/session.js +2 -3
  860. package/dist/react-C40oomj7.js +1006 -0
  861. package/dist/react-CqOVutZj.js +80 -0
  862. package/dist/react-router/index.d.ts +8 -12
  863. package/dist/react-router/index.js +9 -11
  864. package/dist/read-set-DEDoIHMM.js +198 -0
  865. package/dist/realtime/index.d.ts +7 -7
  866. package/dist/realtime/index.js +6 -7
  867. package/dist/realtime-status-CocmAOPv.js +10 -0
  868. package/dist/realtime-status-D3oUx3o4.d.ts +6 -0
  869. package/dist/record-bindings-jTZw-GVe.js +25 -0
  870. package/dist/record-form-DCIui2Ol.d.ts +80 -0
  871. package/dist/record-type-oQxekQTX.js +219 -0
  872. package/dist/recordings-Dlpq8jUG.d.ts +117 -0
  873. package/dist/records/index.d.ts +10 -14
  874. package/dist/records/index.js +13 -16
  875. package/dist/refresh-B8t_KE3s.js +142 -0
  876. package/dist/refresh-BK9epzeC.d.ts +52 -0
  877. package/dist/refusal-DEuFVi4s.d.ts +30 -0
  878. package/dist/refusal-DhX7Xpfp.js +63 -0
  879. package/dist/relay-CllqA-lV.js +248 -0
  880. package/dist/resolve-DVOtYTAc.d.ts +287 -0
  881. package/dist/resolve-FW8oeXvh.js +927 -0
  882. package/dist/resolved-names-DYYyh35i.js +130 -0
  883. package/dist/resource-BfsTJnxZ.d.ts +119 -0
  884. package/dist/resource-Cn6Bn-_o.js +517 -0
  885. package/dist/resource-DQ4kIBpa.js +104 -0
  886. package/dist/resource-execute-DQRS7PFt.d.ts +13 -0
  887. package/dist/resource-schemas-Bq0g2RCQ.js +81 -0
  888. package/dist/resource-types-DF6KDAZM.d.ts +155 -0
  889. package/dist/resources-B0Vy7_wv.js +63 -0
  890. package/dist/resources-CeY53FiJ.d.ts +5 -0
  891. package/dist/respond-C2qvP1wv.js +106 -0
  892. package/dist/respond-CkwkvFdZ.d.ts +108 -0
  893. package/dist/result-8xza7w5W.js +145 -0
  894. package/dist/result-DTOQRyGY.d.ts +347 -0
  895. package/dist/rows-Ce8dsmfM.js +79 -0
  896. package/dist/rows-D-RqIsRz.js +38 -0
  897. package/dist/rrule-BLpe2449.js +289 -0
  898. package/dist/run-keys-BnzqxtYc.d.ts +59 -0
  899. package/dist/run-state-D0Tbl-nM.d.ts +11 -0
  900. package/dist/run-state-DGiyDQxH.js +12 -0
  901. package/dist/run-watch-DJk4Q603.js +52 -0
  902. package/dist/runtime-qslVrC9l.js +43 -0
  903. package/dist/sales-lines-Bde9cV5F.d.ts +36 -0
  904. package/dist/sales-lines-axwWhnLk.js +44 -0
  905. package/dist/sales-shared-CY3s_wBx.js +21 -0
  906. package/dist/sandboxes-DDWuD9fh.d.ts +85 -0
  907. package/dist/schemas-CpoEiAeT.js +213 -0
  908. package/dist/scope-dD_OAgRU.js +89 -0
  909. package/dist/scores-Bql-ABl0.d.ts +172 -0
  910. package/dist/scores-Bvk_JgXL.js +176 -0
  911. package/dist/search-DtbkD0h0.js +8 -0
  912. package/dist/server/index.d.ts +35 -69
  913. package/dist/server/index.js +51 -59
  914. package/dist/server-types-C3p3jUqr.d.ts +583 -0
  915. package/dist/session-BOch2y2z.d.ts +96 -0
  916. package/dist/session-status-DRBRnZHx.d.ts +80 -0
  917. package/dist/shared-Bmcnxwie.js +16 -0
  918. package/dist/shared-Ci1g9nl4.js +90 -0
  919. package/dist/shared-DsBcvj6q.d.ts +9 -0
  920. package/dist/sign-in-BmigClRh.js +730 -0
  921. package/dist/sign-in-C9pZE1kM.d.ts +53 -0
  922. package/dist/sign-in-CXOg2Dwb.js +399 -0
  923. package/dist/sign-in-Dxyi4aKu.d.ts +83 -0
  924. package/dist/signatures-CBn7w4VR.js +144 -0
  925. package/dist/signatures-jPr9JXyw.d.ts +41 -0
  926. package/dist/signers-Cz5ZhTHH.d.ts +380 -0
  927. package/dist/signing-keys-BC5_hJN5.js +163 -0
  928. package/dist/signing-keys-DS-rIVzz.d.ts +117 -0
  929. package/dist/simplify-BzThKn5b.js +82 -0
  930. package/dist/solid/index.d.ts +12 -22
  931. package/dist/solid/index.js +10 -16
  932. package/dist/solid-start/index.d.ts +7 -9
  933. package/dist/solid-start/index.js +8 -9
  934. package/dist/spec/index.d.ts +6 -48
  935. package/dist/spec/index.js +23 -39
  936. package/dist/spec-6Vr7sc0Z.js +123 -0
  937. package/dist/spec-pins-CuQ2anBw.d.ts +125 -0
  938. package/dist/spec-pins-FKUzgF6K.js +61 -0
  939. package/dist/sql/index.d.ts +4 -4
  940. package/dist/sql/index.js +4 -4
  941. package/dist/sql-BPV51R3A.js +140626 -0
  942. package/dist/sql-C1K5JALb.js +420 -0
  943. package/dist/sql-type-XWMeZRAl.js +33 -0
  944. package/dist/sqlite/index.d.ts +3 -9
  945. package/dist/sqlite/index.js +5 -8
  946. package/dist/sso-BEvNf1oW.d.ts +159 -0
  947. package/dist/sso-CRnaFJh0.js +216 -0
  948. package/dist/ssr/index.d.ts +5 -5
  949. package/dist/ssr/index.js +3 -3
  950. package/dist/standard-BD2aOUsf.js +24 -0
  951. package/dist/standard-DRX6Ch1j.d.ts +5 -0
  952. package/dist/stats-BTJgRMEp.js +82 -0
  953. package/dist/statuses-BTrQ5H4S.js +27 -0
  954. package/dist/statuses-Bv-0XoYC.js +27 -0
  955. package/dist/storage/index.d.ts +3 -3
  956. package/dist/storage/index.js +27 -40
  957. package/dist/storage-api-COQr77e8.js +9 -0
  958. package/dist/store-CKKzmsWB.js +68 -0
  959. package/dist/store-c7QxUHX-.d.ts +81 -0
  960. package/dist/streams/index.d.ts +3 -7
  961. package/dist/streams/index.js +5 -6
  962. package/dist/streams/redis/index.d.ts +1 -3
  963. package/dist/streams/redis/index.js +6 -7
  964. package/dist/stripe/index.d.ts +1 -3
  965. package/dist/stripe/index.js +3 -4
  966. package/dist/stripe-Bl-sjnl6.d.ts +154 -0
  967. package/dist/stripe-DKRwRWew.js +31 -0
  968. package/dist/subject-readers-BARV5rNp.js +48 -0
  969. package/dist/subject-readers-DWkVSbFr.d.ts +19 -0
  970. package/dist/subject-type-BarjdHZV.js +7 -0
  971. package/dist/subjects-BGwLJ3IB.d.ts +148 -0
  972. package/dist/subjects-vci6Wufh.d.ts +86 -0
  973. package/dist/subscribers-C57054Pc.js +32 -0
  974. package/dist/summaries-CUemsYwV.d.ts +67 -0
  975. package/dist/supabase-mcp-DY32eoax.d.ts +44 -0
  976. package/dist/supabase-mcp-QvebHckf.js +27 -0
  977. package/dist/support-rZbdU35s.d.ts +351 -0
  978. package/dist/support-view-CvDEgyGY.js +17 -0
  979. package/dist/support-view-WY4Y-A40.d.ts +15 -0
  980. package/dist/svelte/index.d.ts +11 -21
  981. package/dist/svelte/index.js +9 -15
  982. package/dist/sveltekit/index.d.ts +10 -14
  983. package/dist/sveltekit/index.js +12 -14
  984. package/dist/table-schema-CwXg7oBz.d.ts +77 -0
  985. package/dist/table-schema-D-ss9ozY.js +291 -0
  986. package/dist/tables-BSiVuKKx.js +72 -0
  987. package/dist/tags-BVLELhOf.d.ts +28 -0
  988. package/dist/tags-CW-KvjdL.js +38 -0
  989. package/dist/tanstack-db/index.d.ts +4 -8
  990. package/dist/tanstack-db/index.js +4 -6
  991. package/dist/tanstack-start/index.d.ts +8 -12
  992. package/dist/tanstack-start/index.js +8 -10
  993. package/dist/tax-BD9dN1rx.d.ts +168 -0
  994. package/dist/tax-BwckP5dv.js +139 -0
  995. package/dist/tee-CVOMhEX-.js +100 -0
  996. package/dist/template-CNq9xcfx.js +125 -0
  997. package/dist/temporal-DKTdGK9i.js +94 -0
  998. package/dist/temporal-required-w_2u4EDp.js +19 -0
  999. package/dist/tenant-BR7fvPj7.js +26 -0
  1000. package/dist/tenant-RKvGBB-U.d.ts +15 -0
  1001. package/dist/tenant-source-46lMuMEn.js +7 -0
  1002. package/dist/testing/index.d.ts +87 -124
  1003. package/dist/testing/index.js +158 -128
  1004. package/dist/timeline-Bs-FGMIJ.js +49 -0
  1005. package/dist/timeline-Ck8OFuAN.d.ts +147 -0
  1006. package/dist/timing-B6yHayKA.js +94 -0
  1007. package/dist/topic-BBBCVLyS.js +640 -0
  1008. package/dist/topic-Dr8VYE4D.d.ts +411 -0
  1009. package/dist/transport-CS4cVH4S.js +30 -0
  1010. package/dist/ttl-cache-C5S0L2wx.js +31 -0
  1011. package/dist/types-BiedVwz_.d.ts +192 -0
  1012. package/dist/types-CCmW3MqI.d.ts +449 -0
  1013. package/dist/types-CL-z0A4K.d.ts +660 -0
  1014. package/dist/types-CvlJNzX4.d.ts +215 -0
  1015. package/dist/types-D9FY9qSJ.d.ts +247 -0
  1016. package/dist/types-DWZubmwk.d.ts +648 -0
  1017. package/dist/types-DnrJ_crV.js +28 -0
  1018. package/dist/types-Pv5WPfIC.d.ts +175 -0
  1019. package/dist/types-WZUVlTXs.d.ts +907 -0
  1020. package/dist/undo-BdoEJ6Ot.d.ts +44 -0
  1021. package/dist/undo-Dki6Ujak.js +43 -0
  1022. package/dist/upload-claim-Bo2mpBz4.js +32 -0
  1023. package/dist/usage-D27Uw426.d.ts +230 -0
  1024. package/dist/user-change-Ngy8z1fZ.js +133 -0
  1025. package/dist/variants-BaMleC56.js +51 -0
  1026. package/dist/vault-Dx0LaNMX.d.ts +60 -0
  1027. package/dist/vercel-connect/index.d.ts +194 -20
  1028. package/dist/vercel-connect/index.js +265 -33
  1029. package/dist/vercel-sandbox/index.d.ts +166 -0
  1030. package/dist/vercel-sandbox/index.js +171 -0
  1031. package/dist/verify-DY_j4GPZ.js +129 -0
  1032. package/dist/verify-DnL0Fgu0.d.ts +144 -0
  1033. package/dist/view-DmEZA1fL.d.ts +95 -0
  1034. package/dist/view-YnesSUEa.js +244 -0
  1035. package/dist/vue/index.d.ts +12 -22
  1036. package/dist/vue/index.js +10 -16
  1037. package/dist/watch-topic-BB7T05sc.d.ts +29 -0
  1038. package/dist/watch-topic-C2KxpeaB.js +56 -0
  1039. package/dist/wire-DIoLA8VL.js +90 -0
  1040. package/dist/wiring-DJBSLdyF.js +12 -0
  1041. package/dist/workflow-sdk/builder/index.d.ts +12 -14
  1042. package/dist/workflow-sdk/builder/index.js +12 -11
  1043. package/dist/workflow-sdk/index.d.ts +62 -6
  1044. package/dist/workflow-sdk/index.js +75 -10
  1045. package/dist/workflow-sdk/world/index.d.ts +13 -20
  1046. package/dist/workflow-sdk/world/index.js +115 -26
  1047. package/dist/workflow-sdk-BL3wzkdp.js +2749 -0
  1048. package/dist/workflow-sdk-D5zRSwxh.js +302 -0
  1049. package/dist/workflow-sdk-DMpVSMB7.d.ts +171 -0
  1050. package/dist/workflows-DKTw2PZo.d.ts +256 -0
  1051. package/dist/yjs/index.d.ts +3 -5
  1052. package/dist/yjs/index.js +6 -7
  1053. package/package.json +45 -31
  1054. package/schemas/config-v1.json +66 -4
  1055. package/schemas/doctor-report-v1.json +1 -0
  1056. package/schemas/snapshot-v2.json +7 -0
  1057. package/skills/better-supabase/SKILL.md +4 -4
  1058. package/skills/better-supabase/references/block-extensions.md +2 -2
  1059. package/skills/better-supabase/references/troubleshooting.md +1 -1
  1060. package/skills/better-supabase/references/ui-recipes.md +591 -325
  1061. package/skills/better-supabase-api/SKILL.md +1 -1
  1062. package/skills/better-supabase-api/references/adapters.md +3 -3
  1063. package/skills/better-supabase-api/references/ai.md +8 -0
  1064. package/skills/better-supabase-api/references/powersync.md +16 -0
  1065. package/skills/better-supabase-auth/SKILL.md +22 -19
  1066. package/skills/better-supabase-auth/references/authorization-providers.md +1 -1
  1067. package/dist/access-sql-CTDNuxRv.js +0 -385
  1068. package/dist/actor-CoveJgya.d.ts +0 -106
  1069. package/dist/actor-go7p9-CJ.js +0 -150
  1070. package/dist/adapter-D4aNBxhm.js +0 -2301
  1071. package/dist/agents-CM_cCtcr.d.ts +0 -117
  1072. package/dist/ai-cache-BFRKxgZ4.js +0 -87
  1073. package/dist/ai-cache-BTGqckta.d.ts +0 -82
  1074. package/dist/ai-chat-B7_vQvxU.d.ts +0 -619
  1075. package/dist/ai-files-m_2z3rH1.js +0 -339
  1076. package/dist/ai-message-DfaP8sis.js +0 -14
  1077. package/dist/ai-schedules-CZEfo-_M.d.ts +0 -166
  1078. package/dist/anchors-7F34QyHa.d.ts +0 -40
  1079. package/dist/api-3C0AWFeP.js +0 -696
  1080. package/dist/api-59rv5hL6.d.ts +0 -495
  1081. package/dist/api-keys-JE-aykZE.d.ts +0 -213
  1082. package/dist/app-tables-yyVncXEt.d.ts +0 -28
  1083. package/dist/approvals-BfEafAzt.d.ts +0 -129
  1084. package/dist/assistant-B49qATbj.d.ts +0 -157
  1085. package/dist/attachments-BXbLnNxm.js +0 -376
  1086. package/dist/attributes-Bzf51_nc.js +0 -47
  1087. package/dist/auth-DyF_LRxd.js +0 -20
  1088. package/dist/auth-link-B4NL84XU.d.ts +0 -104
  1089. package/dist/auth-link-D3-bU6yz.js +0 -118
  1090. package/dist/auth-module-BbmX-N4L.js +0 -52
  1091. package/dist/auth-reply-Dj124sbX.d.ts +0 -11
  1092. package/dist/auth-reply-tlXB2FQ9.js +0 -31
  1093. package/dist/authorization-CDU9tYA_.d.ts +0 -3860
  1094. package/dist/authorization-hooks-BWhkMZfH.d.ts +0 -221
  1095. package/dist/authorizer-B6X09otb.d.ts +0 -118
  1096. package/dist/authorizer-BGhXaDmo.js +0 -172
  1097. package/dist/automation-D41DXyvT.js +0 -75
  1098. package/dist/automations-8L3NEuoq.js +0 -29
  1099. package/dist/automations-BKjJpktQ.js +0 -33
  1100. package/dist/automations-BMuqwZZn.js +0 -314
  1101. package/dist/automations-EzXteupo.js +0 -31
  1102. package/dist/availability-BdeKCHpl.d.ts +0 -236
  1103. package/dist/base64-B9Wlsdj7.js +0 -42
  1104. package/dist/batch-limit-DKVQDz4o.js +0 -5
  1105. package/dist/before-route-B23K2zYU.js +0 -30
  1106. package/dist/bind-p7asfI6H.d.ts +0 -104
  1107. package/dist/block-authors-Bw3zdzgl.js +0 -14
  1108. package/dist/block-authors-DzXLUiIq.d.ts +0 -12
  1109. package/dist/block-env-B8wG3xeh.d.ts +0 -32
  1110. package/dist/block-event-listener-Bu6G0TFH.js +0 -16
  1111. package/dist/block-events-IWAyafO3.js +0 -83
  1112. package/dist/block-fields-BE7pInWZ.d.ts +0 -58
  1113. package/dist/block-fields-BjXgX_5c.js +0 -140
  1114. package/dist/block-helpers-B0f0ZVb5.js +0 -437
  1115. package/dist/block-helpers-D5emQ2O6.d.ts +0 -62
  1116. package/dist/block-hooks-B8itxzEE.d.ts +0 -117
  1117. package/dist/block-hooks-DKtz0HRh.js +0 -130
  1118. package/dist/block-method-C9hWdHom.js +0 -21
  1119. package/dist/block-method-CiVa2G-J.d.ts +0 -14
  1120. package/dist/block-subjects-C1_9DkSA.d.ts +0 -6
  1121. package/dist/block-subjects-DFSuFY1a.js +0 -55
  1122. package/dist/block-tenant-DHp7subc.js +0 -14
  1123. package/dist/block-transport-9EUA3q_I.d.ts +0 -69
  1124. package/dist/bookings-xsmM2TA_.d.ts +0 -289
  1125. package/dist/bucket-SvRQwYS4.d.ts +0 -705
  1126. package/dist/build-CH2N3Yf0.js +0 -2073
  1127. package/dist/build-DbIRFcHQ.js +0 -735
  1128. package/dist/carrier-KzeYXVrW.d.ts +0 -169
  1129. package/dist/casing-DdFWEtqr.js +0 -16
  1130. package/dist/channel-JcMd5lNP.d.ts +0 -105
  1131. package/dist/channels-CfcFPuo_.js +0 -114
  1132. package/dist/claims-Bp9My7XP.js +0 -88
  1133. package/dist/claims-DTy6R6my.js +0 -63
  1134. package/dist/cli/_format-Cax5EsM9.js +0 -101
  1135. package/dist/cli/add-BdhGOwkB.js +0 -1
  1136. package/dist/cli/add-D4w-Axib.js +0 -1231
  1137. package/dist/cli/add-Dggyehsy.js +0 -99
  1138. package/dist/cli/agent-CbuPvI2x.js +0 -185
  1139. package/dist/cli/app-table-files-CiGuwLkO.js +0 -346
  1140. package/dist/cli/arazzo-1.0-BalU61-_.js +0 -532
  1141. package/dist/cli/arazzo-1.1-Bnfasbun.js +0 -705
  1142. package/dist/cli/args-UEwg0l-N.js +0 -27
  1143. package/dist/cli/asyncapi-3.0.0-C78dBjR6.js +0 -5593
  1144. package/dist/cli/asyncapi-3.1.0-g-7aIfV1.js +0 -5833
  1145. package/dist/cli/backfill-DjVjXW_P.js +0 -293
  1146. package/dist/cli/blocks-Bbmb6W_F.js +0 -1
  1147. package/dist/cli/blocks-jRL9K1R8.js +0 -156
  1148. package/dist/cli/cache-BuoIFlUJ.js +0 -607
  1149. package/dist/cli/codemod-DRavXBCb.js +0 -2435
  1150. package/dist/cli/codemod-block-renames-BuSaTE_G.js +0 -239
  1151. package/dist/cli/command-DIPmo0wh.js +0 -997
  1152. package/dist/cli/compare-BmIWVEui.js +0 -9
  1153. package/dist/cli/completion-DxPxMtyP.js +0 -211
  1154. package/dist/cli/completion-DyLMSjOD.js +0 -1
  1155. package/dist/cli/completion-FUgqm2-N.js +0 -30
  1156. package/dist/cli/config-BfapErxs.js +0 -47
  1157. package/dist/cli/config-Cskysxp-.js +0 -2000
  1158. package/dist/cli/config-Df5cXWNN.js +0 -1
  1159. package/dist/cli/config-edit-CrWfk8s3.js +0 -621
  1160. package/dist/cli/config-group-CP-B9uRt.js +0 -390
  1161. package/dist/cli/content-mapper-BCtyfKXl.js +0 -182
  1162. package/dist/cli/db-CQCLx7cx.js +0 -78
  1163. package/dist/cli/db-CWvH1_46.js +0 -247
  1164. package/dist/cli/detect-D9JaAX20.js +0 -84
  1165. package/dist/cli/dist-D_VbPAMR.js +0 -129
  1166. package/dist/cli/dist-DuiMMRbJ.js +0 -1112
  1167. package/dist/cli/doctor-Di2ZekfN.js +0 -4659
  1168. package/dist/cli/env-B2CbnbzD.js +0 -143
  1169. package/dist/cli/env-BK0xKMeU.js +0 -1113
  1170. package/dist/cli/env-Bat6ogep.js +0 -1
  1171. package/dist/cli/env-CynGCICL.js +0 -1
  1172. package/dist/cli/errors-BTe6A15O.js +0 -98
  1173. package/dist/cli/exec-Ca5s-ygi.js +0 -463
  1174. package/dist/cli/fastest-levenshtein-dhRRvrM2.js +0 -120
  1175. package/dist/cli/files-CX71yBm8.js +0 -1010
  1176. package/dist/cli/fresh-import-DzgsGHkX.js +0 -40
  1177. package/dist/cli/gen-STKC9vkK.js +0 -394
  1178. package/dist/cli/guards-CUlDNYZs.js +0 -8
  1179. package/dist/cli/in-stack-diff-Cp-tVPj2.js +0 -186
  1180. package/dist/cli/init-DW6_nIwj.js +0 -559
  1181. package/dist/cli/io-DH1kcmmP.js +0 -37
  1182. package/dist/cli/json5-ChRycquj.js +0 -787
  1183. package/dist/cli/jsonc-C8M0EhHB.js +0 -1
  1184. package/dist/cli/jsonc-D5Fu67jw.js +0 -45
  1185. package/dist/cli/keys-V-HcO-21.js +0 -106
  1186. package/dist/cli/legacy-prefix-R7UChFFl.js +0 -154
  1187. package/dist/cli/live-0G4Plw3K.js +0 -341
  1188. package/dist/cli/mcp-flKS8iU5.js +0 -241
  1189. package/dist/cli/metadata-VARUbXEe.js +0 -150
  1190. package/dist/cli/migrate-Bkq07XcT.js +0 -46
  1191. package/dist/cli/migration-safety-BfVeza5j.js +0 -928
  1192. package/dist/cli/migrations-BCq7Zs2E.js +0 -117
  1193. package/dist/cli/module-migration-lbeUrsYv.js +0 -119
  1194. package/dist/cli/moved-DNOtp9LA.js +0 -254
  1195. package/dist/cli/ohash-BjQY1cBb.js +0 -277
  1196. package/dist/cli/openapi-3.0-t7xwkuRH.js +0 -928
  1197. package/dist/cli/openapi-3.1-CVze7tBS.js +0 -870
  1198. package/dist/cli/openapi-3.2-CFoMYM01.js +0 -1031
  1199. package/dist/cli/orphans-BAboqyVM.js +0 -28
  1200. package/dist/cli/parse-BPf3kGnc.js +0 -182
  1201. package/dist/cli/powersync-B15CfH5Y.js +0 -284
  1202. package/dist/cli/powersync-DnBsDchT.js +0 -1
  1203. package/dist/cli/preset-BwmIfFnh.js +0 -101
  1204. package/dist/cli/print-DjxpBRnv.js +0 -68
  1205. package/dist/cli/prompts-jqnr94b9.js +0 -1140
  1206. package/dist/cli/providers-dyxcHQY3.js +0 -301
  1207. package/dist/cli/redact-KGAk2Ul9.js +0 -38
  1208. package/dist/cli/remove-BLq5gbal.js +0 -239
  1209. package/dist/cli/render-CizUf3RW.js +0 -2225
  1210. package/dist/cli/rolldown-runtime-kJ_i4yPo.js +0 -26
  1211. package/dist/cli/run-ChEjR7yw.js +0 -63
  1212. package/dist/cli/run-ChOY6s4o.js +0 -1459
  1213. package/dist/cli/run-MwM__teL.js +0 -705
  1214. package/dist/cli/seed-BOun22-k.js +0 -1
  1215. package/dist/cli/seed-CDnL4Tnc.js +0 -188
  1216. package/dist/cli/shared-DV5wIv-7.js +0 -151
  1217. package/dist/cli/shell-Btv_4Yhe.js +0 -10
  1218. package/dist/cli/skills-DM3oeIxY.js +0 -121
  1219. package/dist/cli/snapshot-B5LXkVMC.js +0 -729
  1220. package/dist/cli/source-BoLNG_2A.js +0 -320
  1221. package/dist/cli/source-args-v8ljFDfc.js +0 -59
  1222. package/dist/cli/spec-D6QeE2Zx.js +0 -1
  1223. package/dist/cli/spec-Dz-PGCaM.js +0 -7530
  1224. package/dist/cli/sql-layout-zo02f3Dm.js +0 -261
  1225. package/dist/cli/stack-ClESAZYf.js +0 -135
  1226. package/dist/cli/stack-env-3ziggrU3.js +0 -93
  1227. package/dist/cli/stack-status-BkkYRlXG.js +0 -46
  1228. package/dist/cli/stacks-CiDBH1dB.js +0 -232
  1229. package/dist/cli/style-Bm2X5JrN.js +0 -35
  1230. package/dist/cli/supabase-toml-CncmQbO0.js +0 -1164
  1231. package/dist/cli/sync-m-oZ_SyI.js +0 -322
  1232. package/dist/cli/table-dyKddjwo.js +0 -89
  1233. package/dist/cli/toml-DB-MNnFs.js +0 -424
  1234. package/dist/cli/topics-BpdnYmWb.js +0 -30
  1235. package/dist/cli/trace-VbdO6bcN.js +0 -7
  1236. package/dist/cli/upgrade-C9sgVZ5z.js +0 -272
  1237. package/dist/cli/upgrade-WwEJaX3i.js +0 -41
  1238. package/dist/cli/validate-B3lF3-jB.js +0 -7522
  1239. package/dist/cli/version-D2BQuqta.js +0 -4
  1240. package/dist/cli/yaml-CYCbJ6et.js +0 -2252
  1241. package/dist/client-C_mlji5R.js +0 -288
  1242. package/dist/clone-CkG0-hlI.js +0 -33
  1243. package/dist/cloud-event-0pQ9vFNS.d.ts +0 -64
  1244. package/dist/cloud-event-XsM53POL.js +0 -63
  1245. package/dist/codecs-CMWlhHZ0.d.ts +0 -222
  1246. package/dist/codecs-CSUFGrdP.js +0 -358
  1247. package/dist/compiler-BEeVWXPS.d.ts +0 -14
  1248. package/dist/compose-DKW0Tr3e.js +0 -53
  1249. package/dist/composite-BJ9s-IJJ.d.ts +0 -83
  1250. package/dist/composite-CBRbvn5j.js +0 -130
  1251. package/dist/config-bqKaPjst.js +0 -1679
  1252. package/dist/config-r7njjNgh.js +0 -1111
  1253. package/dist/connectors-uC5baoFV.d.ts +0 -147
  1254. package/dist/context-DBicfUNz.js +0 -41
  1255. package/dist/context-nbYYjv7U.d.ts +0 -4344
  1256. package/dist/controller-BEliOBOv.js +0 -79
  1257. package/dist/controller-TRocodqG.d.ts +0 -52
  1258. package/dist/controller-qG-B1eDn.js +0 -73
  1259. package/dist/conversion-Dq1S7xzE.js +0 -77
  1260. package/dist/conversion-g8HzH9My.d.ts +0 -86
  1261. package/dist/cors-h_v7TPxl.js +0 -24
  1262. package/dist/cors-kLq6VM06.d.ts +0 -15
  1263. package/dist/create-blocks-BfrDUSM6.js +0 -370
  1264. package/dist/cron-DdT4ti8a.js +0 -148
  1265. package/dist/cron-route-FjKgRvTY.js +0 -24
  1266. package/dist/csv-2rXGPNtP.js +0 -89
  1267. package/dist/csv-DhHQS2x_.d.ts +0 -28
  1268. package/dist/data-engine-D1BkmBoR.js +0 -173
  1269. package/dist/data-engine-rvbR2C4F.d.ts +0 -273
  1270. package/dist/data-hooks-CdcZfVS1.js +0 -280
  1271. package/dist/db-exception-Lngc1W49.js +0 -31
  1272. package/dist/deal-forecast-CKBnRodz.js +0 -39
  1273. package/dist/deal-forecast-LwO-Z4_C.d.ts +0 -23
  1274. package/dist/define-D-dLADd5.js +0 -2084
  1275. package/dist/define-D8_9X5fZ.d.ts +0 -1263
  1276. package/dist/define-block-BGqOO8B3.js +0 -64
  1277. package/dist/define-block-DWVZSZv1.d.ts +0 -1687
  1278. package/dist/delegation-C7eWP2r8.d.ts +0 -14
  1279. package/dist/delegation-DGOIiT8k.js +0 -153
  1280. package/dist/delivery-Bm0jxmzI.js +0 -29
  1281. package/dist/delivery-n6lZGuGx.d.ts +0 -71
  1282. package/dist/documents-BbwYyynk.d.ts +0 -152
  1283. package/dist/email-B3YxEzwC.d.ts +0 -42
  1284. package/dist/embeddings-I3s5sTDt.d.ts +0 -78
  1285. package/dist/embeddings-vVzseUw0.js +0 -128
  1286. package/dist/ended-EZzN9QTM.d.ts +0 -26
  1287. package/dist/entitlements-B1i1-wfe.d.ts +0 -54
  1288. package/dist/entitlements-tGL6-69B.js +0 -45
  1289. package/dist/entity-naming-Dtyq5sKE.js +0 -131
  1290. package/dist/entity-schema-B1YmMtP8.js +0 -39
  1291. package/dist/envelope-DEI2iX-d.js +0 -90
  1292. package/dist/errors-BVFgt8BZ.js +0 -328
  1293. package/dist/errors-CyxMxzlu.js +0 -44
  1294. package/dist/escape-like-DHfx6jRr.js +0 -7
  1295. package/dist/escape-like-PReMbEEU.d.ts +0 -30
  1296. package/dist/eve-BfhVFV33.d.ts +0 -157
  1297. package/dist/event-calendar-DVLs2wUO.d.ts +0 -65
  1298. package/dist/event-map-CtPFhcOp.js +0 -19
  1299. package/dist/events-B2qbZps6.d.ts +0 -854
  1300. package/dist/events-D6IZ5CE8.js +0 -82
  1301. package/dist/events-DuLhzjP6.js +0 -26
  1302. package/dist/executor-BfirBzOr.d.ts +0 -174
  1303. package/dist/executor-BlS0kCrN.d.ts +0 -104
  1304. package/dist/executor-C2Ne-Scm.js +0 -208
  1305. package/dist/executor-DXQIx4sW.d.ts +0 -37
  1306. package/dist/executor-DqIci3Jb.js +0 -486
  1307. package/dist/executor-WolvKszH.js +0 -843
  1308. package/dist/extension-DTaHjwdc.js +0 -59
  1309. package/dist/extension-DeAd_MqI.js +0 -121
  1310. package/dist/extension-DzCc0IOd.js +0 -103
  1311. package/dist/extension-mGylYROs.js +0 -53
  1312. package/dist/extension-shared-Djm8mGHD.js +0 -60
  1313. package/dist/extra-CGQ2_q3S.js +0 -10
  1314. package/dist/field-errors-tJvehEFc.d.ts +0 -216
  1315. package/dist/field-formats-C6QKA3UR.js +0 -102
  1316. package/dist/field-formats-CAFNkKSN.d.ts +0 -38
  1317. package/dist/fields-BBm49w-E.js +0 -108
  1318. package/dist/fields-snbaZ14h.d.ts +0 -78
  1319. package/dist/filter-evaluate-BRpNiNPG.d.ts +0 -37
  1320. package/dist/filter-evaluate-lCToXzZI.js +0 -217
  1321. package/dist/filter-query-CQ6d5GnQ.js +0 -566
  1322. package/dist/filter-query-DBt7OKuH.d.ts +0 -133
  1323. package/dist/flags-DDKTThrO.d.ts +0 -246
  1324. package/dist/flags-DF_SCqp5.js +0 -279
  1325. package/dist/form-definition-BTpM_tz1.js +0 -363
  1326. package/dist/form-definition-BjEtH8BT.d.ts +0 -119
  1327. package/dist/format-u-65igKI.d.ts +0 -79
  1328. package/dist/framework-DVYTtQXA.d.ts +0 -47
  1329. package/dist/framework-DYEUraqt.js +0 -58
  1330. package/dist/function-contract-DxFNOmsm.d.ts +0 -27
  1331. package/dist/function-contract-pEmsaUIf.js +0 -8
  1332. package/dist/gateway-Ve7cByEr.d.ts +0 -115
  1333. package/dist/gateway-options-BlVCqgb8.d.ts +0 -29
  1334. package/dist/gateway-options-Cl74B7k6.js +0 -27
  1335. package/dist/guards-6F2bCtQR.js +0 -12
  1336. package/dist/guest-actions-1T1DeS5Y.d.ts +0 -5
  1337. package/dist/guest-actions-B7zdhfnh.js +0 -9
  1338. package/dist/history-GH1HJWQV.js +0 -271
  1339. package/dist/hmac-B3CTTlfv.js +0 -23
  1340. package/dist/http-7-UvHjQe.js +0 -28
  1341. package/dist/http-BjjojWg3.js +0 -40
  1342. package/dist/http-DzbloBR-.js +0 -141
  1343. package/dist/image-url-_d7xYsXK.js +0 -84
  1344. package/dist/impersonation-DM3oWNoD.js +0 -62
  1345. package/dist/impersonation-YTa9dZUv.d.ts +0 -28
  1346. package/dist/inbox-c8B86Trp.d.ts +0 -321
  1347. package/dist/index-8US7qlvW.d.ts +0 -158
  1348. package/dist/index-B4wttiLh.d.ts +0 -407
  1349. package/dist/index-BKrxynq9.d.ts +0 -240
  1350. package/dist/index-BM6NmKSc.d.ts +0 -588
  1351. package/dist/index-BkzXwuIN.d.ts +0 -338
  1352. package/dist/index-CWAQRWY8.d.ts +0 -729
  1353. package/dist/index-Cxsnd-OL.d.ts +0 -305
  1354. package/dist/index-DbyDZZlc.d.ts +0 -53
  1355. package/dist/index-NRMMhhEi.d.ts +0 -104
  1356. package/dist/index-X2fkPUwb.d.ts +0 -51
  1357. package/dist/index-pZn6S_iq.d.ts +0 -149
  1358. package/dist/index-zsgNmE8m.d.ts +0 -665
  1359. package/dist/instance-property-hRh88y_s.js +0 -7
  1360. package/dist/instances-C7qUTjhJ.js +0 -16603
  1361. package/dist/invalidate-DMp4eqfF.d.ts +0 -21
  1362. package/dist/iso4217-B-durg_y.js +0 -176
  1363. package/dist/json-DaByVJpw.js +0 -22
  1364. package/dist/json-schema-DHJxiizN.js +0 -888
  1365. package/dist/jwks-cache-DEsKI0hJ.js +0 -49
  1366. package/dist/jws-D0toeQlA.d.ts +0 -66
  1367. package/dist/jws-DOgHJKHb.js +0 -205
  1368. package/dist/kit-B8yWCRN7.d.ts +0 -94
  1369. package/dist/kit-Bcd9wYCV.js +0 -133
  1370. package/dist/knowledge-CsLPACGJ.d.ts +0 -217
  1371. package/dist/knowledge-tCrrU99q.js +0 -300
  1372. package/dist/list-query-BcU8NnNL.d.ts +0 -222
  1373. package/dist/list-query-BnpA2BDg.js +0 -559
  1374. package/dist/live-C21DgbsD.js +0 -275
  1375. package/dist/logger-DWVYUmwi.d.ts +0 -18
  1376. package/dist/logger-glM28NVN.js +0 -21
  1377. package/dist/lookup-BaP5bI27.js +0 -18
  1378. package/dist/management-wtecfrNf.d.ts +0 -57
  1379. package/dist/message-Bg4TKA12.d.ts +0 -99
  1380. package/dist/messages-ecPW_nOv.js +0 -492
  1381. package/dist/messaging-DQP09JsY.d.ts +0 -297
  1382. package/dist/methods-Cund9ZBe.js +0 -11
  1383. package/dist/metric-definition-BjxVn4R5.js +0 -117
  1384. package/dist/metric-definition-EAYI1r2n.d.ts +0 -69
  1385. package/dist/mfa-oIOYTpvc.d.ts +0 -36
  1386. package/dist/model-hwpvole9.d.ts +0 -340
  1387. package/dist/model-messages-CkZSDDHP.js +0 -206
  1388. package/dist/model-messages-DrR4lZ_c.d.ts +0 -34
  1389. package/dist/money-BNRdJQzA.d.ts +0 -91
  1390. package/dist/money-BZl985O-.js +0 -197
  1391. package/dist/money-codec-BJuS2zEW.js +0 -41
  1392. package/dist/my-work-kinds-BU3SlA-6.js +0 -11
  1393. package/dist/node-headers-BPtMP4_V.d.ts +0 -27
  1394. package/dist/node-headers-C71zNQHe.js +0 -55
  1395. package/dist/operations-CB9atU2e.d.ts +0 -6
  1396. package/dist/operations-DVHRHvv6.js +0 -29
  1397. package/dist/optional-peer-C1NbBRJm.js +0 -32
  1398. package/dist/options-3OYOU56e.js +0 -11
  1399. package/dist/options-56zYYXxc.js +0 -10
  1400. package/dist/options-5WvWOkAm.d.ts +0 -26
  1401. package/dist/options-62woPFn3.js +0 -12
  1402. package/dist/options-7ixoOoap.js +0 -10
  1403. package/dist/options-9dSU5RML.js +0 -5
  1404. package/dist/options-B0YZtAkb.d.ts +0 -15
  1405. package/dist/options-B2Kz_tCx.js +0 -10
  1406. package/dist/options-B5E2MGIz.js +0 -15
  1407. package/dist/options-B685YSzQ.js +0 -5
  1408. package/dist/options-B692WoK6.js +0 -9
  1409. package/dist/options-BHU1wc74.js +0 -5
  1410. package/dist/options-BHy0Z5Zd.js +0 -5
  1411. package/dist/options-BJtdsK7b.js +0 -8
  1412. package/dist/options-BKBy5wM_.js +0 -16
  1413. package/dist/options-BKDxrPvE.js +0 -5
  1414. package/dist/options-BLfymS4s.js +0 -5
  1415. package/dist/options-BOCRbzh3.js +0 -5
  1416. package/dist/options-BOqfYsM1.js +0 -13
  1417. package/dist/options-BQWJqwHO.js +0 -9
  1418. package/dist/options-BQunK6_Y.js +0 -8
  1419. package/dist/options-BQyrZjwM.js +0 -28
  1420. package/dist/options-BR9xTHZW.js +0 -5
  1421. package/dist/options-BRUdd5jY.js +0 -8
  1422. package/dist/options-BSsYXjhC.js +0 -9
  1423. package/dist/options-BTmaRzx2.d.ts +0 -60
  1424. package/dist/options-BUCQYAeJ.d.ts +0 -10
  1425. package/dist/options-B_NrjVDt.d.ts +0 -12
  1426. package/dist/options-BawzwlmC.js +0 -11
  1427. package/dist/options-BbLDAp7G.d.ts +0 -10
  1428. package/dist/options-BfPsL7E2.js +0 -9
  1429. package/dist/options-Bfmwwc78.js +0 -8
  1430. package/dist/options-BhsdveDk.js +0 -21
  1431. package/dist/options-BomoTH-8.js +0 -5
  1432. package/dist/options-BtjkzIVh.js +0 -8
  1433. package/dist/options-Bvi9bl4H.js +0 -5
  1434. package/dist/options-BwKNmaJo.js +0 -5
  1435. package/dist/options-BxpLtyk-.js +0 -18
  1436. package/dist/options-BzB2QxL3.js +0 -5
  1437. package/dist/options-C078wBP0.js +0 -5
  1438. package/dist/options-C3AdsFJ6.js +0 -9
  1439. package/dist/options-C7C5OhmL.d.ts +0 -8
  1440. package/dist/options-C87u6eSa.js +0 -10
  1441. package/dist/options-CBAEGxwS.js +0 -8
  1442. package/dist/options-CDSCkYxu.d.ts +0 -14
  1443. package/dist/options-CDUr8zzX.js +0 -8
  1444. package/dist/options-CFjGxfa8.js +0 -5
  1445. package/dist/options-CI6P0xhV.js +0 -10
  1446. package/dist/options-CJFMK9A_.js +0 -8
  1447. package/dist/options-CLpgx7en.js +0 -10
  1448. package/dist/options-COo7_3MX.js +0 -10
  1449. package/dist/options-CSCXNYJO.d.ts +0 -8
  1450. package/dist/options-CTXHj9zr.js +0 -16
  1451. package/dist/options-CTl8T88w.js +0 -11
  1452. package/dist/options-CUIOOv4z.js +0 -15
  1453. package/dist/options-CZDmtsbV.js +0 -8
  1454. package/dist/options-CZTscdPB.js +0 -5
  1455. package/dist/options-CZdKndeo.js +0 -9
  1456. package/dist/options-C_7g9TTq.d.ts +0 -12
  1457. package/dist/options-Cb2FOFj5.js +0 -5
  1458. package/dist/options-CbOstLa7.js +0 -5
  1459. package/dist/options-CcXgWlvm.js +0 -24
  1460. package/dist/options-CfVPctAw.js +0 -89
  1461. package/dist/options-Cjgaf8ub.js +0 -8
  1462. package/dist/options-CoSPgWKy.js +0 -9
  1463. package/dist/options-CpZ2HlSU.js +0 -32
  1464. package/dist/options-CsSe8Nba.js +0 -8
  1465. package/dist/options-CsvJR-r2.js +0 -9
  1466. package/dist/options-Cucv6sWP.js +0 -12
  1467. package/dist/options-CyjL9lTf.js +0 -5
  1468. package/dist/options-D-OOO9V2.d.ts +0 -10
  1469. package/dist/options-D0Y6ZMe8.js +0 -5
  1470. package/dist/options-D0bzZx9a.d.ts +0 -10
  1471. package/dist/options-D0sj5abR.js +0 -9
  1472. package/dist/options-D1hSuf50.d.ts +0 -12
  1473. package/dist/options-D610Fa6T.js +0 -5
  1474. package/dist/options-D96dScev.js +0 -24
  1475. package/dist/options-DFpyP1bg.js +0 -5
  1476. package/dist/options-DJEcS4DX.js +0 -5
  1477. package/dist/options-DJbN3bi9.js +0 -11
  1478. package/dist/options-DKoQoRCy.js +0 -13
  1479. package/dist/options-DM1qaMMQ.js +0 -9
  1480. package/dist/options-DNgSwhsm.js +0 -11
  1481. package/dist/options-DOIwzRXL.js +0 -16
  1482. package/dist/options-DRIgHh4O.d.ts +0 -16
  1483. package/dist/options-DRrZmJyI.js +0 -8
  1484. package/dist/options-DUMUsvml.js +0 -5
  1485. package/dist/options-DWwL5Kaz.js +0 -9
  1486. package/dist/options-DZHZYlpD.js +0 -10
  1487. package/dist/options-DZLkeqWn.js +0 -9
  1488. package/dist/options-DZRpXKQE.js +0 -5
  1489. package/dist/options-DZen3UiC.js +0 -14
  1490. package/dist/options-D_9Vxx7f.js +0 -8
  1491. package/dist/options-DcHl59RC.js +0 -11
  1492. package/dist/options-Dcaql09y.js +0 -11
  1493. package/dist/options-DcnBNYmV.js +0 -8
  1494. package/dist/options-DdpM-fiP.js +0 -9
  1495. package/dist/options-DhoLMknl.js +0 -10
  1496. package/dist/options-DlohRAYd.d.ts +0 -13
  1497. package/dist/options-Dpy-Ruo-.js +0 -14
  1498. package/dist/options-DsVuVRH3.d.ts +0 -17
  1499. package/dist/options-DtAJxfHS.js +0 -8
  1500. package/dist/options-Dz9Yo52Z.js +0 -8
  1501. package/dist/options-HnfETSHr.d.ts +0 -19
  1502. package/dist/options-LqUXTpML.js +0 -8
  1503. package/dist/options-MsloEAIB.js +0 -5
  1504. package/dist/options-P2FxqYpd.js +0 -17
  1505. package/dist/options-_1gAIMq7.d.ts +0 -60
  1506. package/dist/options-aT89JqlB.js +0 -5
  1507. package/dist/options-cVKZu9b0.js +0 -9
  1508. package/dist/options-eTepQ1rZ.js +0 -15
  1509. package/dist/options-fkShrmGQ.js +0 -8
  1510. package/dist/options-gUvfr3no.js +0 -11
  1511. package/dist/options-hynwKWuf.js +0 -20
  1512. package/dist/options-jsOCvLUz.js +0 -10
  1513. package/dist/options-o5wCw8H7.d.ts +0 -14
  1514. package/dist/options-p49DFg3H.js +0 -8
  1515. package/dist/options-pYNpXKcg.js +0 -8
  1516. package/dist/options-qtETCHzW.js +0 -10
  1517. package/dist/options-rnKlqYEr.js +0 -5
  1518. package/dist/options-sU_zGkiV.js +0 -10
  1519. package/dist/options-xq4MXG1M.js +0 -5
  1520. package/dist/options-zzlznRA7.js +0 -10
  1521. package/dist/outbox-BZ712Z3X.d.ts +0 -199
  1522. package/dist/payments-BXvabJOw.js +0 -16
  1523. package/dist/payments-BYcN34Fp.d.ts +0 -114
  1524. package/dist/permissions-controller-BMsqIE5T.js +0 -34
  1525. package/dist/pg-error-B5QLDcbG.js +0 -26
  1526. package/dist/plugin-AKwwe2gF.js +0 -48
  1527. package/dist/pool-DDR1ndk7.d.ts +0 -123
  1528. package/dist/pool-errors-JUBcGrre.js +0 -27
  1529. package/dist/ports-DvpNseap.js +0 -152
  1530. package/dist/ports-hpbyMySO.d.ts +0 -89
  1531. package/dist/postgrest-AJc8hnJU.d.ts +0 -53
  1532. package/dist/postgrest-executor-B_Uezhrm.js +0 -1068
  1533. package/dist/preset-DCdEnJj9.js +0 -1042
  1534. package/dist/problem-Bf0cJ7tk.js +0 -162
  1535. package/dist/problem-DNwN8iGz.d.ts +0 -79
  1536. package/dist/project-B32wb5J6.js +0 -1760
  1537. package/dist/provider-B6g7rBZX.js +0 -57
  1538. package/dist/provider-CWjzAIX9.d.ts +0 -112
  1539. package/dist/push-token-D6REHMMw.js +0 -16
  1540. package/dist/push-token-DQ1ycFPU.d.ts +0 -24
  1541. package/dist/queries-BWYYS9um.js +0 -239
  1542. package/dist/range-DwpWe8e7.js +0 -7
  1543. package/dist/range-p5V4rBhZ.d.ts +0 -8
  1544. package/dist/rank-keys-DcPMt_Jk.js +0 -60
  1545. package/dist/rank-result-BBJIK-k_.js +0 -18
  1546. package/dist/rank-result-Bwe7igy-.d.ts +0 -14
  1547. package/dist/rate-limit-BWKGlhTM.js +0 -49
  1548. package/dist/rate-limit-Bztf32cl.d.ts +0 -50
  1549. package/dist/rate-limit-fZ_d8gSE.js +0 -380
  1550. package/dist/ratelimit-headers-kEcXyO3H.js +0 -62
  1551. package/dist/react-BKCnIuZs.js +0 -79
  1552. package/dist/react-CcrQQl0_.js +0 -1016
  1553. package/dist/read-set-B1sDib5O.js +0 -199
  1554. package/dist/realtime-status-BhNkb-Ow.d.ts +0 -8
  1555. package/dist/realtime-status-asHvhiOh.js +0 -11
  1556. package/dist/record-bindings-Z51mGfhB.js +0 -26
  1557. package/dist/record-form-CubgBrtI.d.ts +0 -82
  1558. package/dist/record-type-DRbnlj5q.js +0 -221
  1559. package/dist/recordings-DeZYx-Kv.d.ts +0 -119
  1560. package/dist/refresh-D02Pbf5B.d.ts +0 -54
  1561. package/dist/refusal-B0VmlAxF.d.ts +0 -32
  1562. package/dist/refusal-DDlInPff.js +0 -64
  1563. package/dist/relay-CIKcAVjf.js +0 -248
  1564. package/dist/replicas-Dyoh3CEg.js +0 -94
  1565. package/dist/resolve-B0mW2m7f.js +0 -932
  1566. package/dist/resolve-CtX6T0c0.d.ts +0 -288
  1567. package/dist/resolved-names-iLBOUaib.js +0 -133
  1568. package/dist/resource-BUJcZKiW.js +0 -520
  1569. package/dist/resource-DvgXqZB_.js +0 -105
  1570. package/dist/resource-WxN0IsvB.d.ts +0 -123
  1571. package/dist/resource-execute-BzqR8DdD.d.ts +0 -15
  1572. package/dist/resource-schemas-up6bKOUi.js +0 -82
  1573. package/dist/resource-types-BVbHgTPg.d.ts +0 -157
  1574. package/dist/resources-BSbRa0Ab.d.ts +0 -7
  1575. package/dist/resources-jb3R6rEa.js +0 -64
  1576. package/dist/respond-CZMWbUs3.js +0 -107
  1577. package/dist/respond-Dzu_-EPH.d.ts +0 -112
  1578. package/dist/result-DZeA5KS6.d.ts +0 -351
  1579. package/dist/result-ntFBW2p2.js +0 -146
  1580. package/dist/rows-BdqXmiB-.js +0 -80
  1581. package/dist/rows-jijHLVE_.js +0 -39
  1582. package/dist/rrule-C9Ot6ax8.js +0 -290
  1583. package/dist/run-state-BMCD_1Lt.d.ts +0 -13
  1584. package/dist/run-state-CgBKzYMW.js +0 -13
  1585. package/dist/run-watch-B-LoK5m1.js +0 -53
  1586. package/dist/runtime-CoKxZibd.js +0 -45
  1587. package/dist/sales-lines-BsmrNHe9.d.ts +0 -38
  1588. package/dist/sales-lines-DO7oRu1o.js +0 -45
  1589. package/dist/sales-shared-BuTA8JK7.js +0 -22
  1590. package/dist/schemas-CLOTvdsC.js +0 -216
  1591. package/dist/scope-DgWjuXUw.js +0 -90
  1592. package/dist/scores-Y8TvyJi1.d.ts +0 -174
  1593. package/dist/scores-bY2Is0kx.js +0 -177
  1594. package/dist/search-Cn_DGluL.js +0 -9
  1595. package/dist/server-types-BkTIxW_H.d.ts +0 -597
  1596. package/dist/session-BOzx2qHC.d.ts +0 -100
  1597. package/dist/session-status-BP8eYVnA.d.ts +0 -82
  1598. package/dist/shared-BeHTi8Fu.js +0 -17
  1599. package/dist/shared-Bf-I13Ht.js +0 -91
  1600. package/dist/shared-CRRfQAKG.d.ts +0 -11
  1601. package/dist/sign-in-BzihC_8k.d.ts +0 -50
  1602. package/dist/sign-in-CmPK1AgM.js +0 -402
  1603. package/dist/sign-in-Cyj3ZlFX.js +0 -703
  1604. package/dist/sign-in-D54FLMQy.d.ts +0 -55
  1605. package/dist/signatures-CX1b4WHa.js +0 -145
  1606. package/dist/signatures-Dkx9OE8j.d.ts +0 -43
  1607. package/dist/signers-ZmxO1I05.d.ts +0 -390
  1608. package/dist/signing-keys-CWtpMask.js +0 -164
  1609. package/dist/signing-keys-udgP7Aod.d.ts +0 -119
  1610. package/dist/simplify-DDO0j0LI.js +0 -83
  1611. package/dist/spec-BMvCCNnd.js +0 -124
  1612. package/dist/spec-pins-BZkKfwY8.d.ts +0 -127
  1613. package/dist/spec-pins-D3zDek-u.js +0 -62
  1614. package/dist/sql-CYt7EhH0.js +0 -421
  1615. package/dist/sql-CyeDg3Yh.js +0 -138146
  1616. package/dist/sql-type-iUSZpaUu.js +0 -34
  1617. package/dist/sso-CkU_4mtK.d.ts +0 -161
  1618. package/dist/sso-DdDpJQzw.js +0 -217
  1619. package/dist/standard-BA3mLh6w.js +0 -25
  1620. package/dist/standard-DBV730sF.d.ts +0 -7
  1621. package/dist/stats-BHl1-zj9.js +0 -83
  1622. package/dist/statuses-Alll5Ip6.js +0 -29
  1623. package/dist/statuses-zRcc2TeZ.js +0 -28
  1624. package/dist/storage-api-Dg78Wqsg.js +0 -10
  1625. package/dist/store-CpheI-lN.d.ts +0 -83
  1626. package/dist/store-McN-2esd.js +0 -69
  1627. package/dist/stripe-BJUfp5jM.js +0 -32
  1628. package/dist/stripe-X22LjuH-.d.ts +0 -156
  1629. package/dist/subject-readers-CB5Te02u.d.ts +0 -21
  1630. package/dist/subject-readers-VHcrWhmq.js +0 -49
  1631. package/dist/subject-type-BRnK7Av3.js +0 -8
  1632. package/dist/subjects-BYCL-6hA.d.ts +0 -145
  1633. package/dist/subjects-CiBNKy2y.d.ts +0 -90
  1634. package/dist/subscribers-BvZxcd63.js +0 -33
  1635. package/dist/summaries-8jQTELIX.d.ts +0 -69
  1636. package/dist/supabase-mcp-Dz9DgrKP.js +0 -28
  1637. package/dist/supabase-mcp-Z4vtsuoO.d.ts +0 -46
  1638. package/dist/support-BxyPOFk4.d.ts +0 -357
  1639. package/dist/support-view-g4YLBeqX.js +0 -18
  1640. package/dist/support-view-nqUWKHEs.d.ts +0 -17
  1641. package/dist/table-schema-BlF6k62Q.d.ts +0 -81
  1642. package/dist/table-schema-C80xItaV.js +0 -293
  1643. package/dist/tables-Cb-3_VWc.js +0 -73
  1644. package/dist/tags-CIZTqtlY.js +0 -39
  1645. package/dist/tags-Cm48BsOa.d.ts +0 -30
  1646. package/dist/tax-BkCNWWMc.js +0 -140
  1647. package/dist/tax-DPShHual.d.ts +0 -170
  1648. package/dist/tee-V97_v1ZS.js +0 -101
  1649. package/dist/template-Drgg3v2J.js +0 -126
  1650. package/dist/temporal-Dbo0fLzc.js +0 -95
  1651. package/dist/temporal-required-DcLhnDhQ.js +0 -20
  1652. package/dist/tenant-BgIiMQpo.js +0 -27
  1653. package/dist/tenant-C9YE_kqK.d.ts +0 -17
  1654. package/dist/tenant-source-bqWpSr86.js +0 -8
  1655. package/dist/timeline--VU3A1e4.js +0 -50
  1656. package/dist/timeline-DvXtXq5q.d.ts +0 -151
  1657. package/dist/timing-dypS0nxW.js +0 -95
  1658. package/dist/topic-DnsNG4Kj.js +0 -643
  1659. package/dist/topic-breZqx_4.d.ts +0 -415
  1660. package/dist/ttl-cache-Bhr9swjT.js +0 -32
  1661. package/dist/types-B-D6fYx2.d.ts +0 -194
  1662. package/dist/types-C3I7S51U.d.ts +0 -461
  1663. package/dist/types-CK2X2wCB.d.ts +0 -618
  1664. package/dist/types-CPl9uJ0G.d.ts +0 -912
  1665. package/dist/types-CwQgFo8c.d.ts +0 -177
  1666. package/dist/types-DMihLukJ.d.ts +0 -251
  1667. package/dist/types-R6syp1el.js +0 -29
  1668. package/dist/types-iCyZ3lMx.d.ts +0 -217
  1669. package/dist/types-nspa5I-a.d.ts +0 -664
  1670. package/dist/undo-0HkWXASn.d.ts +0 -46
  1671. package/dist/undo-BbftL9-4.js +0 -44
  1672. package/dist/upload-claim-B1ZU8ydB.js +0 -33
  1673. package/dist/usage-BkWAPkg2.d.ts +0 -232
  1674. package/dist/user-change-DgWC6RRC.js +0 -135
  1675. package/dist/variants-Cy--Ub-a.js +0 -53
  1676. package/dist/vault-BkdPmL7f.d.ts +0 -62
  1677. package/dist/verify-41mZmspj.d.ts +0 -146
  1678. package/dist/verify-7EucfCnv.js +0 -130
  1679. package/dist/view-C8Ve14ja.js +0 -247
  1680. package/dist/view-C8_xvD-j.d.ts +0 -97
  1681. package/dist/watch-topic-CuaWfCuv.js +0 -57
  1682. package/dist/watch-topic-ItO3dz8m.d.ts +0 -31
  1683. package/dist/wire-ChYn1g21.js +0 -91
  1684. package/dist/wiring-CDNuQoJJ.js +0 -13
  1685. package/dist/workflow-sdk-BWPsdzVK.js +0 -2534
  1686. package/dist/workflow-sdk-Cf0LAOFF.js +0 -242
  1687. package/dist/workflow-sdk-rg3IbCZC.d.ts +0 -163
  1688. package/dist/workflows-xL6t0TXx.d.ts +0 -258
@@ -1,2252 +0,0 @@
1
- import { n as o$2, r as s$2, t as i$1 } from "./_format-Cax5EsM9.js";
2
- //#region ../../node_modules/.pnpm/confbox@0.3.1/node_modules/confbox/dist/_chunks/libs/js-yaml.mjs
3
- var e = Symbol(`NOT_RESOLVED`);
4
- function t(e, t) {
5
- return {
6
- tagName: e,
7
- nodeKind: `scalar`,
8
- implicit: t.implicit ?? !1,
9
- matchByTagPrefix: t.matchByTagPrefix ?? !1,
10
- implicitFirstChars: t.implicitFirstChars ?? null,
11
- resolve: t.resolve,
12
- identify: t.identify,
13
- represent: t.represent ?? ((e) => String(e)),
14
- representTagName: t.representTagName ?? (() => e)
15
- };
16
- }
17
- function n(e, t) {
18
- let n = t.finalize === void 0;
19
- return {
20
- tagName: e,
21
- nodeKind: `sequence`,
22
- implicit: !1,
23
- matchByTagPrefix: t.matchByTagPrefix ?? !1,
24
- create: t.create,
25
- addItem: t.addItem,
26
- finalize: t.finalize ?? ((e) => e),
27
- carrierIsResult: n,
28
- identify: t.identify,
29
- represent: t.represent ?? ((e) => e),
30
- representTagName: t.representTagName ?? (() => e)
31
- };
32
- }
33
- function r(e, t) {
34
- let n = t.finalize === void 0;
35
- return {
36
- tagName: e,
37
- nodeKind: `mapping`,
38
- implicit: !1,
39
- matchByTagPrefix: t.matchByTagPrefix ?? !1,
40
- create: t.create,
41
- addPair: t.addPair,
42
- has: t.has,
43
- keys: t.keys,
44
- get: t.get,
45
- finalize: t.finalize ?? ((e) => e),
46
- carrierIsResult: n,
47
- identify: t.identify,
48
- represent: t.represent ?? ((e) => e),
49
- representTagName: t.representTagName ?? (() => e)
50
- };
51
- }
52
- var i = t(`tag:yaml.org,2002:str`, {
53
- resolve: (e) => e,
54
- identify: (e) => typeof e == `string`
55
- });
56
- var a = [
57
- ``,
58
- `~`,
59
- `null`,
60
- `Null`,
61
- `NULL`
62
- ];
63
- var o$1 = t(`tag:yaml.org,2002:null`, {
64
- implicit: !0,
65
- implicitFirstChars: [
66
- ``,
67
- `~`,
68
- `n`,
69
- `N`
70
- ],
71
- resolve: (t) => a.indexOf(t) === -1 ? e : null,
72
- identify: (e) => e === null,
73
- represent: () => `null`
74
- });
75
- var s$1 = t(`tag:yaml.org,2002:null`, {
76
- implicit: !0,
77
- implicitFirstChars: [`n`],
78
- resolve: (t, n) => t === `null` || n && t === `` ? null : e,
79
- identify: (e) => e === null,
80
- represent: () => `null`
81
- });
82
- var c = [
83
- ``,
84
- `~`,
85
- `null`,
86
- `Null`,
87
- `NULL`
88
- ];
89
- var l = t(`tag:yaml.org,2002:null`, {
90
- implicit: !0,
91
- implicitFirstChars: [
92
- ``,
93
- `~`,
94
- `n`,
95
- `N`
96
- ],
97
- resolve: (t) => c.indexOf(t) === -1 ? e : null,
98
- identify: (e) => e === null,
99
- represent: () => `null`
100
- });
101
- var u = [
102
- `true`,
103
- `True`,
104
- `TRUE`
105
- ];
106
- var d = [
107
- `false`,
108
- `False`,
109
- `FALSE`
110
- ];
111
- var f = t(`tag:yaml.org,2002:bool`, {
112
- implicit: !0,
113
- implicitFirstChars: [
114
- `t`,
115
- `T`,
116
- `f`,
117
- `F`
118
- ],
119
- resolve: (t) => u.indexOf(t) !== -1 || d.indexOf(t) === -1 && e,
120
- identify: (e) => Object.prototype.toString.call(e) === `[object Boolean]`,
121
- represent: (e) => e ? `true` : `false`
122
- });
123
- var p = [`true`];
124
- var m = [`false`];
125
- var h = t(`tag:yaml.org,2002:bool`, {
126
- implicit: !0,
127
- implicitFirstChars: [`t`, `f`],
128
- resolve: (t) => p.indexOf(t) !== -1 || m.indexOf(t) === -1 && e,
129
- identify: (e) => Object.prototype.toString.call(e) === `[object Boolean]`,
130
- represent: (e) => e ? `true` : `false`
131
- });
132
- var ee = [
133
- `true`,
134
- `True`,
135
- `TRUE`,
136
- `y`,
137
- `Y`,
138
- `yes`,
139
- `Yes`,
140
- `YES`,
141
- `on`,
142
- `On`,
143
- `ON`
144
- ];
145
- var te = [
146
- `false`,
147
- `False`,
148
- `FALSE`,
149
- `n`,
150
- `N`,
151
- `no`,
152
- `No`,
153
- `NO`,
154
- `off`,
155
- `Off`,
156
- `OFF`
157
- ];
158
- var ne = t(`tag:yaml.org,2002:bool`, {
159
- implicit: !0,
160
- implicitFirstChars: [
161
- `y`,
162
- `Y`,
163
- `n`,
164
- `N`,
165
- `t`,
166
- `T`,
167
- `f`,
168
- `F`,
169
- `o`,
170
- `O`
171
- ],
172
- resolve: (t) => ee.indexOf(t) !== -1 || te.indexOf(t) === -1 && e,
173
- identify: (e) => Object.prototype.toString.call(e) === `[object Boolean]`,
174
- represent: (e) => e ? `true` : `false`
175
- });
176
- var re = RegExp(`^(?:0o[0-7]+|0x[0-9a-fA-F]+|[-+]?[0-9]+)$`);
177
- var ie = RegExp(`^(?:[-+]?0b[0-1]+|[-+]?0o[0-7]+|[-+]?0x[0-9a-fA-F]+|[-+]?[0-9]+)$`);
178
- function ae(e) {
179
- let t = e, n = 1;
180
- return (t[0] === `-` || t[0] === `+`) && (t[0] === `-` && (n = -1), t = t.slice(1)), t.startsWith(`0b`) ? n * parseInt(t.slice(2), 2) : t.startsWith(`0o`) ? n * parseInt(t.slice(2), 8) : t.startsWith(`0x`) ? n * parseInt(t.slice(2), 16) : n * parseInt(t, 10);
181
- }
182
- function oe(t, n) {
183
- if (n) {
184
- if (!ie.test(t)) return e;
185
- } else if (!re.test(t)) return e;
186
- let r = ae(t);
187
- return Number.isFinite(r) ? r : e;
188
- }
189
- var se = t(`tag:yaml.org,2002:int`, {
190
- implicit: !0,
191
- implicitFirstChars: [
192
- `-`,
193
- `+`,
194
- ...`0123456789`
195
- ],
196
- resolve: oe,
197
- identify: (e) => Number.isInteger(e) && !Object.is(e, -0) && e.toString(10).indexOf(`e`) < 0,
198
- represent: (e) => e.toString(10)
199
- });
200
- var ce = RegExp(`^-?(?:0|[1-9][0-9]*)$`);
201
- var le = RegExp(`^(?:[-+]?0b[0-1]+|[-+]?0o[0-7]+|[-+]?0x[0-9a-fA-F]+|[-+]?[0-9]+)$`);
202
- function ue(e) {
203
- let t = e, n = 1;
204
- return (t[0] === `-` || t[0] === `+`) && (t[0] === `-` && (n = -1), t = t.slice(1)), t.startsWith(`0b`) ? n * parseInt(t.slice(2), 2) : t.startsWith(`0o`) ? n * parseInt(t.slice(2), 8) : t.startsWith(`0x`) ? n * parseInt(t.slice(2), 16) : n * parseInt(t, 10);
205
- }
206
- function de(t, n) {
207
- if (n) {
208
- if (!le.test(t)) return e;
209
- } else if (!ce.test(t)) return e;
210
- let r = ue(t);
211
- return Number.isFinite(r) ? r : e;
212
- }
213
- var fe = t(`tag:yaml.org,2002:int`, {
214
- implicit: !0,
215
- implicitFirstChars: [`-`, ...`0123456789`],
216
- resolve: de,
217
- identify: (e) => Number.isInteger(e) && !Object.is(e, -0) && e.toString(10).indexOf(`e`) < 0,
218
- represent: (e) => e.toString(10)
219
- });
220
- var pe = RegExp(`^(?:[-+]?0b[0-1_]+|[-+]?0[0-7_]+|[-+]?0x[0-9a-fA-F_]+|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+|[-+]?(?:0|[1-9][0-9_]*))$`);
221
- function me(e) {
222
- let t = e.replace(/_/g, ``), n = 1;
223
- if ((t[0] === `-` || t[0] === `+`) && (t[0] === `-` && (n = -1), t = t.slice(1)), t.startsWith(`0b`)) return n * parseInt(t.slice(2), 2);
224
- if (t.startsWith(`0x`)) return n * parseInt(t.slice(2), 16);
225
- if (t.includes(`:`)) {
226
- let e = 0;
227
- for (let n of t.split(`:`)) e = e * 60 + Number(n);
228
- return n * e;
229
- }
230
- return t !== `0` && t[0] === `0` ? n * parseInt(t, 8) : n * parseInt(t, 10);
231
- }
232
- function he(t) {
233
- if (!pe.test(t)) return e;
234
- let n = me(t);
235
- return Number.isFinite(n) ? n : e;
236
- }
237
- var ge = t(`tag:yaml.org,2002:int`, {
238
- implicit: !0,
239
- implicitFirstChars: [
240
- `-`,
241
- `+`,
242
- ...`0123456789`
243
- ],
244
- resolve: he,
245
- identify: (e) => Number.isInteger(e) && !Object.is(e, -0) && e.toString(10).indexOf(`e`) < 0,
246
- represent: (e) => e.toString(10)
247
- });
248
- var _e = RegExp(`^(?:[-+]?[0-9]+(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|[-+]?\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$`);
249
- var ve = RegExp(`^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$`);
250
- function ye(t) {
251
- if (!_e.test(t)) return e;
252
- let n = t.toLowerCase(), r = n[0] === `-` ? -1 : 1;
253
- if (`+-`.includes(n[0]) && (n = n.slice(1)), n === `.inf`) return r === 1 ? 1 / 0 : -1 / 0;
254
- if (n === `.nan`) return NaN;
255
- let i = r * parseFloat(n);
256
- return Number.isFinite(i) || ve.test(t) ? i : e;
257
- }
258
- function be(e) {
259
- if (isNaN(e)) return `.nan`;
260
- if (e === 1 / 0) return `.inf`;
261
- if (e === -1 / 0) return `-.inf`;
262
- if (Object.is(e, -0)) return `-0.0`;
263
- let t = e.toString(10);
264
- return /^[-+]?[0-9]+e/.test(t) ? t.replace(`e`, `.e`) : t;
265
- }
266
- var xe = t(`tag:yaml.org,2002:float`, {
267
- implicit: !0,
268
- implicitFirstChars: [
269
- `-`,
270
- `+`,
271
- `.`,
272
- ...`0123456789`
273
- ],
274
- resolve: ye,
275
- identify: (e) => typeof e == `number` && (!Number.isInteger(e) || Object.is(e, -0) || e.toString(10).indexOf(`e`) >= 0),
276
- represent: be
277
- });
278
- var Se = RegExp(`^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$`);
279
- var Ce = RegExp(`^(?:[-+]?[0-9]+(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|[-+]?\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$`);
280
- function we(t, n) {
281
- if (n) {
282
- if (!Ce.test(t)) return e;
283
- let n = t.toLowerCase(), r = n[0] === `-` ? -1 : 1;
284
- if (`+-`.includes(n[0]) && (n = n.slice(1)), n === `.inf`) return r === 1 ? 1 / 0 : -1 / 0;
285
- if (n === `.nan`) return NaN;
286
- let i = r * parseFloat(n);
287
- return Number.isFinite(i) ? i : e;
288
- }
289
- if (!Se.test(t)) return e;
290
- let r = Number(t);
291
- return Number.isFinite(r) ? r : e;
292
- }
293
- function Te(e) {
294
- if (isNaN(e)) return `.nan`;
295
- if (e === 1 / 0) return `.inf`;
296
- if (e === -1 / 0) return `-.inf`;
297
- if (Object.is(e, -0)) return `-0.0`;
298
- let t = e.toString(10);
299
- return /^[-+]?[0-9]+e/.test(t) ? t.replace(`e`, `.e`) : t;
300
- }
301
- var Ee = t(`tag:yaml.org,2002:float`, {
302
- implicit: !0,
303
- implicitFirstChars: [`-`, ...`0123456789`],
304
- resolve: we,
305
- identify: (e) => typeof e == `number` && (!Number.isInteger(e) || Object.is(e, -0) || e.toString(10).indexOf(`e`) >= 0),
306
- represent: Te
307
- });
308
- var De = RegExp(`^(?:[-+]?(?:(?:[0-9][0-9_]*)?\\.[0-9_]*)(?:[eE][-+][0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$`);
309
- var Oe = RegExp(`^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$`);
310
- function ke(t) {
311
- if (!De.test(t)) return e;
312
- let n = t.toLowerCase().replace(/_/g, ``), r = n[0] === `-` ? -1 : 1;
313
- if (`+-`.includes(n[0]) && (n = n.slice(1)), n === `.inf`) return r === 1 ? 1 / 0 : -1 / 0;
314
- if (n === `.nan`) return NaN;
315
- let i = 0;
316
- if (n.includes(`:`)) {
317
- for (let e of n.split(`:`)) i = i * 60 + Number(e);
318
- i *= r;
319
- } else i = r * parseFloat(n);
320
- return Number.isFinite(i) || Oe.test(t) ? i : e;
321
- }
322
- function Ae(e) {
323
- if (isNaN(e)) return `.nan`;
324
- if (e === 1 / 0) return `.inf`;
325
- if (e === -1 / 0) return `-.inf`;
326
- if (Object.is(e, -0)) return `-0.0`;
327
- let t = e.toString(10);
328
- return /^[-+]?[0-9]+e/.test(t) ? t.replace(`e`, `.e`) : t;
329
- }
330
- var je = t(`tag:yaml.org,2002:float`, {
331
- implicit: !0,
332
- implicitFirstChars: [
333
- `-`,
334
- `+`,
335
- `.`,
336
- ...`0123456789`
337
- ],
338
- resolve: ke,
339
- identify: (e) => typeof e == `number` && (!Number.isInteger(e) || Object.is(e, -0) || e.toString(10).indexOf(`e`) >= 0),
340
- represent: Ae
341
- });
342
- var Me = t(`tag:yaml.org,2002:merge`, {
343
- implicit: !0,
344
- implicitFirstChars: [`<`],
345
- resolve: (t, n) => t === `<<` || n && t === `` ? `<<` : e,
346
- identify: () => !1
347
- });
348
- var Ne = /^[A-Za-z0-9+/]*={0,2}$/;
349
- function Pe(t) {
350
- let n = t.replace(/\s/g, ``);
351
- if (n.length % 4 != 0 || !Ne.test(n)) return e;
352
- let r = atob(n), i = new Uint8Array(r.length);
353
- for (let e = 0; e < r.length; e++) i[e] = r.charCodeAt(e);
354
- return i;
355
- }
356
- function Fe(e) {
357
- let t = ``;
358
- for (let n = 0; n < e.length; n++) t += String.fromCharCode(e[n]);
359
- return btoa(t);
360
- }
361
- var Ie = t(`tag:yaml.org,2002:binary`, {
362
- resolve: Pe,
363
- identify: (e) => Object.prototype.toString.call(e) === `[object Uint8Array]`,
364
- represent: Fe
365
- });
366
- var Le = RegExp(`^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$`);
367
- var Re = RegExp(`^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$`);
368
- function ze(e, t, n, r = 0, i = 0, a = 0, o = 0) {
369
- let s = new Date(Date.UTC(e, t, n, r, i, a, o));
370
- return s.setUTCFullYear(e, t, n), s;
371
- }
372
- function Be(t) {
373
- let n = Le.exec(t);
374
- if (n === null && (n = Re.exec(t)), n === null) return e;
375
- let r = +n[1], i = n[2] - 1, a = +n[3];
376
- if (!n[4]) {
377
- let t = ze(r, i, a);
378
- return t.getUTCFullYear() !== r || t.getUTCMonth() !== i || t.getUTCDate() !== a ? e : t;
379
- }
380
- let o = +n[4], s = +n[5], c = +n[6], l = 0;
381
- if (o > 23 || s > 59 || c > 59) return e;
382
- if (n[7]) {
383
- let e = n[7].slice(0, 3);
384
- for (; e.length < 3;) e += `0`;
385
- l = +e;
386
- }
387
- let u = ze(r, i, a, o, s, c, l);
388
- if (u.getUTCFullYear() !== r || u.getUTCMonth() !== i || u.getUTCDate() !== a) return e;
389
- if (n[9]) {
390
- let t = +n[10], r = +(n[11] || 0);
391
- if (t > 23 || r > 59) return e;
392
- let i = (t * 60 + r) * 6e4;
393
- u.setTime(u.getTime() - (n[9] === `-` ? -i : i));
394
- }
395
- return u;
396
- }
397
- var Ve = t(`tag:yaml.org,2002:timestamp`, {
398
- implicit: !0,
399
- implicitFirstChars: [...`0123456789`],
400
- resolve: Be,
401
- identify: (e) => e instanceof Date,
402
- represent: (e) => e.toISOString()
403
- });
404
- var He = n(`tag:yaml.org,2002:seq`, {
405
- create: () => [],
406
- addItem: (e, t) => {
407
- e.push(t);
408
- },
409
- identify: Array.isArray
410
- });
411
- function g(e) {
412
- if (typeof e != `object` || !e || Array.isArray(e)) return !1;
413
- let t = Object.getPrototypeOf(e);
414
- return t === null || t === Object.prototype;
415
- }
416
- function Ue(e, t) {
417
- let n = {};
418
- for (let r of t) e[r] !== void 0 && (n[r] = e[r]);
419
- return n;
420
- }
421
- var We = n(`tag:yaml.org,2002:omap`, {
422
- create: () => ({
423
- list: [],
424
- seen: /* @__PURE__ */ new Set()
425
- }),
426
- addItem: (e, t) => {
427
- let n;
428
- if (t instanceof Map) {
429
- if (t.size !== 1) return `cannot resolve an ordered map item`;
430
- n = t.keys().next().value;
431
- } else if (g(t)) {
432
- let e = Object.keys(t);
433
- if (e.length !== 1) return `cannot resolve an ordered map item`;
434
- n = e[0];
435
- } else return `cannot resolve an ordered map item`;
436
- return e.seen.has(n) ? `duplicate key in ordered map` : (e.seen.add(n), e.list.push(t), ``);
437
- },
438
- finalize: (e) => e.list,
439
- identify: () => !1
440
- });
441
- var Ge = n(`tag:yaml.org,2002:pairs`, {
442
- create: () => [],
443
- addItem: (e, t) => {
444
- if (t instanceof Map) return t.size === 1 ? (e.push(t.entries().next().value), ``) : `cannot resolve a pairs item`;
445
- if (Object.prototype.toString.call(t) !== `[object Object]`) return `cannot resolve a pairs item`;
446
- let n = t, r = Object.keys(n);
447
- return r.length === 1 ? (e.push([r[0], n[r[0]]]), ``) : `cannot resolve a pairs item`;
448
- },
449
- identify: () => !1
450
- });
451
- var Ke = r(`tag:yaml.org,2002:map`, {
452
- create: () => ({}),
453
- identify: g,
454
- represent: (e) => {
455
- let t = /* @__PURE__ */ new Map();
456
- for (let n of Object.keys(e)) t.set(n, e[n]);
457
- return t;
458
- },
459
- addPair: (e, t, n) => {
460
- if (typeof t == `object` && t) return `object-based map does not support complex keys`;
461
- let r = String(t);
462
- return r === `__proto__` ? Object.defineProperty(e, r, {
463
- value: n,
464
- enumerable: !0,
465
- configurable: !0,
466
- writable: !0
467
- }) : e[r] = n, ``;
468
- },
469
- has: (e, t) => typeof t == `object` && t ? !1 : Object.prototype.hasOwnProperty.call(e, String(t)),
470
- keys: (e) => Object.keys(e),
471
- get: (e, t) => {
472
- let n = String(t);
473
- return Object.prototype.hasOwnProperty.call(e, n) ? e[n] : null;
474
- }
475
- });
476
- var qe = r(`tag:yaml.org,2002:set`, {
477
- create: () => /* @__PURE__ */ new Set(),
478
- identify: (e) => e instanceof Set,
479
- represent: (e) => {
480
- let t = /* @__PURE__ */ new Map();
481
- for (let n of e) t.set(n, null);
482
- return t;
483
- },
484
- addPair: (e, t, n) => n === null ? (e.add(t), ``) : `cannot resolve a set item`,
485
- has: (e, t) => e.has(t),
486
- keys: (e) => e.keys(),
487
- get: () => null
488
- });
489
- function Je() {
490
- return {
491
- scalar: Object.create(null),
492
- sequence: Object.create(null),
493
- mapping: Object.create(null)
494
- };
495
- }
496
- function Ye() {
497
- return {
498
- scalar: [],
499
- sequence: [],
500
- mapping: []
501
- };
502
- }
503
- function Xe(e) {
504
- let t = [];
505
- for (let n of e) {
506
- let e = t.length;
507
- for (let r = 0; r < t.length; r++) {
508
- let i = t[r];
509
- if (i.nodeKind === n.nodeKind && i.tagName === n.tagName && i.matchByTagPrefix === n.matchByTagPrefix) {
510
- e = r;
511
- break;
512
- }
513
- }
514
- t[e] = n;
515
- }
516
- return t;
517
- }
518
- var _ = class t {
519
- tags;
520
- implicitScalarTags;
521
- implicitScalarByFirstChar;
522
- implicitScalarAnyFirstChar;
523
- defaultScalarTag;
524
- defaultSequenceTag;
525
- defaultMappingTag;
526
- exact;
527
- prefix;
528
- constructor(e) {
529
- let t = Xe(e), n = [], r = Je(), i = Ye();
530
- for (let e of t) {
531
- if (e.nodeKind === `scalar` && e.implicit) {
532
- if (e.matchByTagPrefix) throw Error(`Implicit scalar tags cannot match by tag prefix`);
533
- n.push(e);
534
- }
535
- switch (e.nodeKind) {
536
- case `scalar`:
537
- e.matchByTagPrefix ? i.scalar.push(e) : r.scalar[e.tagName] = e;
538
- break;
539
- case `sequence`:
540
- e.matchByTagPrefix ? i.sequence.push(e) : r.sequence[e.tagName] = e;
541
- break;
542
- case `mapping`: e.matchByTagPrefix ? i.mapping.push(e) : r.mapping[e.tagName] = e;
543
- }
544
- }
545
- let a = n.filter((e) => e.implicitFirstChars === null), o = /* @__PURE__ */ new Set();
546
- for (let e of n) if (e.implicitFirstChars !== null) for (let t of e.implicitFirstChars) o.add(t);
547
- let s = /* @__PURE__ */ new Map();
548
- for (let e of o) s.set(e, n.filter((t) => t.implicitFirstChars === null || t.implicitFirstChars.indexOf(e) !== -1));
549
- let c = r.scalar[`tag:yaml.org,2002:str`];
550
- if (!c) throw Error(`schema does not define the default scalar tag (tag:yaml.org,2002:str)`);
551
- this.tags = t, this.implicitScalarTags = n, this.implicitScalarByFirstChar = s, this.implicitScalarAnyFirstChar = a, this.defaultScalarTag = c, this.defaultSequenceTag = r.sequence[`tag:yaml.org,2002:seq`], this.defaultMappingTag = r.mapping[`tag:yaml.org,2002:map`], this.exact = r, this.prefix = i;
552
- }
553
- lookupScalarTag(e) {
554
- let t = this.exact.scalar[e];
555
- if (t) return t;
556
- for (let t of this.prefix.scalar) if (e.startsWith(t.tagName)) return t;
557
- }
558
- lookupSequenceTag(e) {
559
- let t = this.exact.sequence[e];
560
- if (t) return t;
561
- for (let t of this.prefix.sequence) if (e.startsWith(t.tagName)) return t;
562
- }
563
- lookupMappingTag(e) {
564
- let t = this.exact.mapping[e];
565
- if (t) return t;
566
- for (let t of this.prefix.mapping) if (e.startsWith(t.tagName)) return t;
567
- }
568
- resolveImplicitScalarTag(t) {
569
- let n = this.implicitScalarByFirstChar.get(t.charAt(0)) ?? this.implicitScalarAnyFirstChar;
570
- for (let r of n) {
571
- let n = r.resolve(t, !1, r.tagName);
572
- if (n !== e) return {
573
- value: n,
574
- tag: r
575
- };
576
- }
577
- let r = this.defaultScalarTag;
578
- return {
579
- value: r.resolve(t, !1, r.tagName),
580
- tag: r
581
- };
582
- }
583
- withTags(...e) {
584
- let n = [];
585
- for (let t of e) n = n.concat(t);
586
- return new t([...this.tags, ...n]);
587
- }
588
- };
589
- var Ze = new _([
590
- i,
591
- He,
592
- Ke
593
- ]);
594
- new _([
595
- ...Ze.tags,
596
- s$1,
597
- h,
598
- fe,
599
- Ee
600
- ]);
601
- var Qe = new _([
602
- ...Ze.tags,
603
- o$1,
604
- f,
605
- se,
606
- xe
607
- ]);
608
- var $e = new _([
609
- ...Ze.tags,
610
- l,
611
- ne,
612
- ge,
613
- je,
614
- Ve,
615
- Me,
616
- Ie,
617
- We,
618
- Ge,
619
- qe
620
- ]).withTags({
621
- ...ge,
622
- resolve: (t, n, r) => {
623
- let i = ge.resolve(t, n, r);
624
- return i === e ? se.resolve(t, n, r) : i;
625
- }
626
- }, {
627
- ...je,
628
- resolve: (t, n, r) => {
629
- let i = je.resolve(t, n, r);
630
- return i === e ? xe.resolve(t, n, r) : i;
631
- }
632
- });
633
- r(`tag:yaml.org,2002:map`, {
634
- create: () => /* @__PURE__ */ new Map(),
635
- addPair: (e, t, n) => (e.set(t, n), ``),
636
- has: (e, t) => e.has(t),
637
- keys: (e) => e.keys(),
638
- get: (e, t) => e.get(t),
639
- identify: (e) => e instanceof Map || g(e),
640
- represent: (e) => {
641
- if (e instanceof Map) return e;
642
- let t = /* @__PURE__ */ new Map(), n = e;
643
- for (let e of Object.keys(n)) t.set(e, n[e]);
644
- return t;
645
- }
646
- });
647
- function et(e) {
648
- if (Array.isArray(e)) {
649
- let t = Array.prototype.slice.call(e);
650
- for (let e = 0; e < t.length; e++) {
651
- if (Array.isArray(t[e])) return null;
652
- typeof t[e] == `object` && Object.prototype.toString.call(t[e]) === `[object Object]` && (t[e] = `[object Object]`);
653
- }
654
- return String(t);
655
- }
656
- return typeof e == `object` && Object.prototype.toString.call(e) === `[object Object]` ? `[object Object]` : String(e);
657
- }
658
- r(`tag:yaml.org,2002:map`, {
659
- create: () => ({}),
660
- identify: g,
661
- represent: (e) => {
662
- let t = /* @__PURE__ */ new Map();
663
- for (let n of Object.keys(e)) t.set(n, e[n]);
664
- return t;
665
- },
666
- addPair: (e, t, n) => {
667
- let r = et(t);
668
- return r === null ? `nested arrays are not supported inside keys` : (r === `__proto__` ? Object.defineProperty(e, r, {
669
- value: n,
670
- enumerable: !0,
671
- configurable: !0,
672
- writable: !0
673
- }) : e[r] = n, ``);
674
- },
675
- has: (e, t) => {
676
- let n = et(t);
677
- return n !== null && Object.prototype.hasOwnProperty.call(e, n);
678
- },
679
- keys: (e) => Object.keys(e),
680
- get: (e, t) => {
681
- let n = String(t);
682
- return Object.prototype.hasOwnProperty.call(e, n) ? e[n] : null;
683
- }
684
- });
685
- var tt = {
686
- maxLength: 79,
687
- indent: 1,
688
- linesBefore: 3,
689
- linesAfter: 2
690
- };
691
- function nt(e, t, n, r, i) {
692
- let a = ``, o = ``, s = Math.floor(i / 2) - 1;
693
- return r - t > s && (a = ` ... `, t = r - s + a.length), n - r > s && (o = ` ...`, n = r + s - o.length), {
694
- str: a + e.slice(t, n).replace(/\t/g, `→`) + o,
695
- pos: r - t + a.length
696
- };
697
- }
698
- function rt(e, t) {
699
- return ` `.repeat(Math.max(t - e.length, 0)) + e;
700
- }
701
- function it(e, t) {
702
- if (!e.buffer) return null;
703
- let n = {
704
- ...tt,
705
- ...t
706
- }, r = /\r?\n|\r|\0/g, i = [0], a = [], o, s = -1;
707
- for (; o = r.exec(e.buffer);) a.push(o.index), i.push(o.index + o[0].length), e.position <= o.index && s < 0 && (s = i.length - 2);
708
- s < 0 && (s = i.length - 1);
709
- let c = ``, l = Math.min(e.line + n.linesAfter, a.length).toString().length, u = n.maxLength - (n.indent + l + 3);
710
- for (let t = 1; t <= n.linesBefore && !(s - t < 0); t++) {
711
- let r = nt(e.buffer, i[s - t], a[s - t], e.position - (i[s] - i[s - t]), u);
712
- c = `${` `.repeat(n.indent)}${rt((e.line - t + 1).toString(), l)} | ${r.str}\n${c}`;
713
- }
714
- let d = nt(e.buffer, i[s], a[s], e.position, u);
715
- c += `${` `.repeat(n.indent)}${rt((e.line + 1).toString(), l)} | ${d.str}\n`, c += `${`-`.repeat(n.indent + l + 3 + d.pos)}^\n`;
716
- for (let t = 1; t <= n.linesAfter && !(s + t >= a.length); t++) {
717
- let r = nt(e.buffer, i[s + t], a[s + t], e.position - (i[s] - i[s + t]), u);
718
- c += `${` `.repeat(n.indent)}${rt((e.line + t + 1).toString(), l)} | ${r.str}\n`;
719
- }
720
- return c.replace(/\n$/, ``);
721
- }
722
- function at(e, t) {
723
- let n = ``;
724
- return e.mark ? (e.mark.name && (n += `in "${e.mark.name}" `), n += `(${e.mark.line + 1}:${e.mark.column + 1})`, !t && e.mark.snippet && (n += `\n\n${e.mark.snippet}`), `${e.reason} ${n}`) : e.reason;
725
- }
726
- var v = class e extends Error {
727
- reason;
728
- mark;
729
- constructor(e, t) {
730
- super(), this.name = `YAMLException`, this.reason = e, this.mark = t, this.message = at(this, !1), Error.captureStackTrace && Error.captureStackTrace(this, this.constructor);
731
- }
732
- toString(e) {
733
- return `${this.name}: ${at(this, e)}`;
734
- }
735
- static throwAt(t, n, r, i = ``) {
736
- let a = 0, o = 0;
737
- for (let e = 0; e < n; e++) {
738
- let n = t.charCodeAt(e);
739
- n === 10 ? (a++, o = e + 1) : n === 13 && (a++, t.charCodeAt(e + 1) === 10 && e++, o = e + 1);
740
- }
741
- let s = {
742
- name: i,
743
- buffer: t,
744
- position: n,
745
- line: a,
746
- column: n - o
747
- };
748
- throw s.snippet = it(s), new e(r, s);
749
- }
750
- };
751
- var y = {
752
- DOCUMENT: 1,
753
- SEQUENCE: 2,
754
- MAPPING: 3,
755
- SCALAR: 4,
756
- ALIAS: 5,
757
- POP: 6
758
- };
759
- var b = {
760
- PLAIN: 1,
761
- SINGLE_QUOTED: 2,
762
- DOUBLE_QUOTED: 3,
763
- LITERAL_BLOCK: 4,
764
- FOLDED_BLOCK: 5
765
- };
766
- var x = {
767
- BLOCK: 1,
768
- FLOW: 2
769
- };
770
- var S = {
771
- CLIP: 1,
772
- STRIP: 2,
773
- KEEP: 3
774
- };
775
- var ot = -1;
776
- function st(e) {
777
- switch (e) {
778
- case 48: return `\0`;
779
- case 97: return `\x07`;
780
- case 98: return `\b`;
781
- case 116: return ` `;
782
- case 9: return ` `;
783
- case 110: return `
784
- `;
785
- case 118: return `\v`;
786
- case 102: return `\f`;
787
- case 114: return `\r`;
788
- case 101: return `\x1B`;
789
- case 32: return ` `;
790
- case 34: return `"`;
791
- case 47: return `/`;
792
- case 92: return `\\`;
793
- case 78: return `…`;
794
- case 95: return `\xA0`;
795
- case 76: return `\u2028`;
796
- case 80: return `\u2029`;
797
- default: return ``;
798
- }
799
- }
800
- var ct = Array(256);
801
- var lt = Array(256);
802
- for (let e = 0; e < 256; e++) ct[e] = +!!st(e), lt[e] = st(e);
803
- function ut(e) {
804
- return e <= 65535 ? String.fromCharCode(e) : String.fromCharCode((e - 65536 >> 10) + 55296, (e - 65536 & 1023) + 56320);
805
- }
806
- function dt(e) {
807
- return e >= 48 && e <= 57 ? e - 48 : (e | 32) - 97 + 10;
808
- }
809
- function ft(e) {
810
- return e === 120 ? 2 : e === 117 ? 4 : 8;
811
- }
812
- function C(e, t, n) {
813
- let r = 0;
814
- for (; t < n;) {
815
- let n = e.charCodeAt(t);
816
- if (n === 10) r++, t++;
817
- else if (n === 13) r++, t++, e.charCodeAt(t) === 10 && t++;
818
- else if (n === 32 || n === 9) t++;
819
- else break;
820
- }
821
- return {
822
- position: t,
823
- breaks: r
824
- };
825
- }
826
- function pt(e) {
827
- return e === 1 ? ` ` : `
828
- `.repeat(e - 1);
829
- }
830
- function mt(e, t, n) {
831
- let r = ``, i = t, a = t, o = t;
832
- for (; i < n;) {
833
- let t = e.charCodeAt(i);
834
- if (t === 10 || t === 13) {
835
- r += e.slice(a, o);
836
- let t = C(e, i, n);
837
- r += pt(t.breaks), i = a = o = t.position;
838
- } else i++, t !== 32 && t !== 9 && (o = i);
839
- }
840
- return r + e.slice(a, o);
841
- }
842
- function ht(e, t, n) {
843
- let r = ``, i = t, a = t, o = t;
844
- for (; i < n;) {
845
- let t = e.charCodeAt(i);
846
- if (t === 39) r += e.slice(a, i) + `'`, i += 2, a = o = i;
847
- else if (t === 10 || t === 13) {
848
- r += e.slice(a, o);
849
- let t = C(e, i, n);
850
- r += pt(t.breaks), i = a = o = t.position;
851
- } else i++, t !== 32 && t !== 9 && (o = i);
852
- }
853
- return r + e.slice(a, n);
854
- }
855
- function gt(e, t, n) {
856
- let r = ``, i = t, a = t, o = t;
857
- for (; i < n;) {
858
- let t = e.charCodeAt(i);
859
- if (t === 92) {
860
- r += e.slice(a, i), i++;
861
- let t = e.charCodeAt(i);
862
- if (t === 10 || t === 13) i = C(e, i, n).position;
863
- else if (t < 256 && ct[t]) r += lt[t], i++;
864
- else {
865
- let n = ft(t), a = 0;
866
- for (; n > 0; n--) {
867
- i++;
868
- let t = dt(e.charCodeAt(i));
869
- a = (a << 4) + t;
870
- }
871
- r += ut(a), i++;
872
- }
873
- a = o = i;
874
- } else if (t === 10 || t === 13) {
875
- r += e.slice(a, o);
876
- let t = C(e, i, n);
877
- r += pt(t.breaks), i = a = o = t.position;
878
- } else i++, t !== 32 && t !== 9 && (o = i);
879
- }
880
- return r + e.slice(a, n);
881
- }
882
- function _t(e, t, n, r, i, a) {
883
- let o = r < 0 ? 0 : r, s = e.slice(t, n).replace(/\r\n?/g, `
884
- `), c = s === `` ? [] : (s.endsWith(`
885
- `) ? s.slice(0, -1) : s).split(`
886
- `), l = ``, u = !1, d = 0, f = !1;
887
- for (let e of c) {
888
- let t = 0;
889
- for (; t < o && e.charCodeAt(t) === 32;) t++;
890
- if (r < 0 || t >= e.length) {
891
- d++;
892
- continue;
893
- }
894
- let n = e.slice(o), i = n.charCodeAt(0);
895
- a ? i === 32 || i === 9 ? (f = !0, l += `
896
- `.repeat(u ? 1 + d : d)) : f ? (f = !1, l += `
897
- `.repeat(d + 1)) : d === 0 ? u && (l += ` `) : l += `
898
- `.repeat(d) : l += `
899
- `.repeat(u ? 1 + d : d), l += n, u = !0, d = 0;
900
- }
901
- return i === S.KEEP ? l += `
902
- `.repeat(u ? 1 + d : d) : i !== S.STRIP && u && (l += `
903
- `), l;
904
- }
905
- function vt(e, t) {
906
- if (t.valueStart === ot) return ``;
907
- let { valueStart: n, valueEnd: r } = t;
908
- if (t.fast) return e.slice(n, r);
909
- switch (t.style) {
910
- case b.SINGLE_QUOTED: return ht(e, n, r);
911
- case b.DOUBLE_QUOTED: return gt(e, n, r);
912
- case b.LITERAL_BLOCK: return _t(e, n, r, t.indent, t.chomping, !1);
913
- case b.FOLDED_BLOCK: return _t(e, n, r, t.indent, t.chomping, !0);
914
- default: return mt(e, n, r);
915
- }
916
- }
917
- var yt = Object.assign(Object.create(null), {
918
- "!": `!`,
919
- "!!": `tag:yaml.org,2002:`
920
- });
921
- function bt(e) {
922
- return encodeURI(e).replace(/!/g, `%21`);
923
- }
924
- function xt(e, t) {
925
- if (e.startsWith(`!<`) && e.endsWith(`>`)) return decodeURIComponent(e.slice(2, -1));
926
- let n = e.indexOf(`!`, 1), r = n === -1 ? `!` : e.slice(0, n + 1), i = t?.[r] ?? yt[r] ?? r;
927
- return decodeURIComponent(i) + decodeURIComponent(e.slice(r.length));
928
- }
929
- function St(e) {
930
- let t = e;
931
- return t.charCodeAt(0) === 33 ? (t = t.slice(1), `!${bt(t)}`) : t.slice(0, 18) === `tag:yaml.org,2002:` ? `!!${bt(t.slice(18))}` : `!<${bt(t)}>`;
932
- }
933
- var w = -1;
934
- var Ct = `tag:yaml.org,2002:merge`;
935
- var wt = {
936
- filename: ``,
937
- schema: Qe,
938
- json: !1,
939
- maxTotalMergeKeys: 1e4,
940
- maxAliases: -1
941
- };
942
- function Tt(e) {
943
- return `tagStart` in e && e.tagStart !== w ? e.tagStart : `anchorStart` in e && e.anchorStart !== w ? e.anchorStart : `valueStart` in e && e.valueStart !== w ? e.valueStart : `start` in e ? e.start : 0;
944
- }
945
- function T(e, t) {
946
- v.throwAt(e.source, e.position, t, e.filename);
947
- }
948
- function Et(e, t, n, r) {
949
- try {
950
- return n.finalize(r);
951
- } catch (n) {
952
- if (n instanceof v) throw n;
953
- v.throwAt(e.source, t, n instanceof Error ? n.message : String(n), e.filename);
954
- }
955
- }
956
- function Dt(t, n) {
957
- let r = vt(t.source, n), i = n.tagStart === w ? `` : t.source.slice(n.tagStart, n.tagEnd), a = t.schema.defaultScalarTag;
958
- if (i !== ``) {
959
- if (i === `!`) return {
960
- value: r,
961
- tag: a
962
- };
963
- let n = xt(i, t.tagHandlers), o = t.schema.lookupScalarTag(n);
964
- if (o) {
965
- let i = o.resolve(r, !0, n);
966
- return i === e && T(t, `cannot resolve a node with !<${n}> explicit tag`), {
967
- value: i,
968
- tag: o
969
- };
970
- }
971
- let s = t.schema.lookupMappingTag(n) ?? t.schema.lookupSequenceTag(n);
972
- if (s) {
973
- r !== `` && T(t, `cannot resolve a node with !<${n}> explicit tag`);
974
- let e = s.create(n);
975
- return {
976
- value: s.carrierIsResult ? e : Et(t, t.position, s, e),
977
- tag: s
978
- };
979
- }
980
- T(t, `unknown scalar tag !<${n}>`);
981
- }
982
- return n.style === b.PLAIN ? t.schema.resolveImplicitScalarTag(r) : {
983
- value: a.resolve(r, !1, a.tagName),
984
- tag: a
985
- };
986
- }
987
- function Ot(e, t, n) {
988
- let r = t.tagStart === w ? `` : e.source.slice(t.tagStart, t.tagEnd);
989
- return r === `` || r === `!` ? n : xt(r, e.tagHandlers);
990
- }
991
- function kt(e) {
992
- return e.nodeKind === `mapping`;
993
- }
994
- function At(e) {
995
- e.totalMergeKeys++, e.maxTotalMergeKeys !== -1 && e.totalMergeKeys > e.maxTotalMergeKeys && T(e, `merge keys exceeded maxTotalMergeKeys (${e.maxTotalMergeKeys})`);
996
- }
997
- function jt(e, t, n, r) {
998
- At(e);
999
- for (let i of r.keys(n)) {
1000
- if (At(e), t.tag.has(t.value, i)) continue;
1001
- let a = t.tag.addPair(t.value, i, r.get(n, i));
1002
- a && T(e, a), t.overridable ??= /* @__PURE__ */ new Set(), t.overridable.add(i);
1003
- }
1004
- }
1005
- function Mt(e, t, n, r) {
1006
- if (e.position = t.keyPosition, kt(r)) jt(e, t, n, r);
1007
- else if (r.nodeKind === `sequence` && Array.isArray(n)) {
1008
- n.length > 100 && T(e, `abnormal merge sequence size`);
1009
- for (let r of n) {
1010
- let n = e.nodeTags.get(r);
1011
- n || T(e, `cannot merge mappings; the provided source object is unacceptable`), jt(e, t, r, n);
1012
- }
1013
- } else T(e, `cannot merge mappings; the provided source object is unacceptable`);
1014
- }
1015
- function Nt(e, t, n, r, i) {
1016
- if (e.position = t.keyPosition, t.keyIsMerge) {
1017
- Mt(e, t, r, i);
1018
- return;
1019
- }
1020
- !e.json && t.tag.has(t.value, n) && !t.overridable?.has(n) && T(e, `duplicated mapping key`);
1021
- let a = t.tag.addPair(t.value, n, r);
1022
- a && T(e, a), t.overridable?.delete(n);
1023
- }
1024
- function Pt(e, t, n) {
1025
- let r = e.frames[e.frames.length - 1];
1026
- if (r.kind === `document`) r.value = t, r.hasValue = !0;
1027
- else if (r.kind === `sequence`) {
1028
- kt(n) && e.nodeTags.set(t, n);
1029
- let i = r.tag.addItem(r.value, t, r.index++);
1030
- i && T(e, i);
1031
- } else if (r.hasKey) {
1032
- let i = r.key;
1033
- r.key = void 0, r.hasKey = !1, Nt(e, r, i, t, n);
1034
- } else r.key = t, r.keyPosition = e.position, r.hasKey = !0, r.keyIsMerge = n.tagName === Ct;
1035
- }
1036
- function Ft(e, t, n, r, i) {
1037
- if (t.anchorStart !== w) {
1038
- let a = {
1039
- value: n,
1040
- tag: r,
1041
- isValueFinal: i
1042
- };
1043
- return e.anchors.set(e.source.slice(t.anchorStart, t.anchorEnd), a), a;
1044
- }
1045
- return null;
1046
- }
1047
- function It(e, t) {
1048
- let n = {
1049
- ...wt,
1050
- ...t,
1051
- events: e,
1052
- documents: [],
1053
- eventIndex: 0,
1054
- position: 0,
1055
- frames: [],
1056
- anchors: /* @__PURE__ */ new Map(),
1057
- nodeTags: /* @__PURE__ */ new Map(),
1058
- tagHandlers: Object.create(null),
1059
- totalMergeKeys: 0,
1060
- aliasCount: 0
1061
- };
1062
- for (; n.eventIndex < n.events.length;) {
1063
- let e = n.events[n.eventIndex++];
1064
- switch (n.position = Tt(e), e.type) {
1065
- case y.DOCUMENT:
1066
- n.anchors = /* @__PURE__ */ new Map(), n.nodeTags = /* @__PURE__ */ new Map(), n.aliasCount = 0, n.tagHandlers = Object.create(null);
1067
- for (let t of e.directives) t.kind === `tag` && (n.tagHandlers[t.handle] = t.prefix);
1068
- n.frames.push({
1069
- kind: `document`,
1070
- position: n.position,
1071
- value: void 0,
1072
- hasValue: !1
1073
- });
1074
- break;
1075
- case y.SCALAR: {
1076
- let { value: t, tag: r } = Dt(n, e);
1077
- Ft(n, e, t, r, !0), Pt(n, t, r);
1078
- break;
1079
- }
1080
- case y.SEQUENCE: {
1081
- let t = Ot(n, e, `tag:yaml.org,2002:seq`), r = n.schema.lookupSequenceTag(t);
1082
- r || T(n, `unknown sequence tag !<${t}>`);
1083
- let i = r.create(t), a = Ft(n, e, i, r, r.carrierIsResult);
1084
- n.frames.push({
1085
- kind: `sequence`,
1086
- position: n.position,
1087
- value: i,
1088
- tag: r,
1089
- anchor: a,
1090
- index: 0
1091
- });
1092
- break;
1093
- }
1094
- case y.MAPPING: {
1095
- let t = Ot(n, e, `tag:yaml.org,2002:map`), r = n.schema.lookupMappingTag(t);
1096
- r || T(n, `unknown mapping tag !<${t}>`);
1097
- let i = r.create(t), a = Ft(n, e, i, r, r.carrierIsResult);
1098
- n.frames.push({
1099
- kind: `mapping`,
1100
- position: n.position,
1101
- value: i,
1102
- tag: r,
1103
- anchor: a,
1104
- key: void 0,
1105
- keyPosition: n.position,
1106
- hasKey: !1,
1107
- keyIsMerge: !1,
1108
- overridable: null
1109
- });
1110
- break;
1111
- }
1112
- case y.ALIAS: {
1113
- n.maxAliases !== -1 && ++n.aliasCount > n.maxAliases && T(n, `aliases exceeded maxAliases (${n.maxAliases})`);
1114
- let t = n.source.slice(e.anchorStart, e.anchorEnd), r = n.anchors.get(t);
1115
- r || T(n, `unidentified alias "${t}"`), r.isValueFinal || T(n, `recursive alias "${t}" is not supported for tag ${r.tag.tagName} because it uses finalize()`), Pt(n, r.value, r.tag);
1116
- break;
1117
- }
1118
- case y.POP: {
1119
- let e = n.frames.pop();
1120
- if (e.kind === `mapping` && e.hasKey && (n.position = e.keyPosition, T(n, `incomplete mapping pair in event stream`)), e.kind === `document`) n.documents.push(e.value);
1121
- else {
1122
- let t = e.tag.carrierIsResult ? e.value : Et(n, e.position, e.tag, e.value);
1123
- e.anchor && (e.anchor.value = t, e.anchor.isValueFinal = !0), Pt(n, t, e.tag);
1124
- }
1125
- break;
1126
- }
1127
- }
1128
- }
1129
- return n.documents;
1130
- }
1131
- var E = -1;
1132
- var Lt = Object.prototype.hasOwnProperty;
1133
- var D = 1;
1134
- var Rt = 2;
1135
- var zt = 3;
1136
- var O = 4;
1137
- var Bt = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;
1138
- var Vt = /[,\[\]{}]/;
1139
- var Ht = /^(?:!|!!|![0-9A-Za-z-]+!)$/;
1140
- var Ut = String.raw`(?:%[0-9A-Fa-f]{2}|[0-9A-Za-z\-#;/?:@&=+$,_.!~*'()\[\]])`;
1141
- var Wt = String.raw`(?:%[0-9A-Fa-f]{2}|[0-9A-Za-z\-#;/?:@&=+$.~*'()_])`;
1142
- var Gt = RegExp(`^(?:${Ut})*$`);
1143
- var Kt = RegExp(`^(?:${Wt})+$`);
1144
- var qt = RegExp(`^(?:!(?:${Ut})*|${Wt}(?:${Ut})*)$`);
1145
- var Jt = {
1146
- filename: ``,
1147
- maxDepth: 100
1148
- };
1149
- function Yt(e, t, n) {
1150
- e.events.push({
1151
- type: y.DOCUMENT,
1152
- explicitStart: t,
1153
- explicitEnd: n,
1154
- directives: e.directives
1155
- });
1156
- }
1157
- function Xt(e, t, n, r, i, a, o) {
1158
- e.events.push({
1159
- type: y.SEQUENCE,
1160
- start: t,
1161
- anchorStart: n,
1162
- anchorEnd: r,
1163
- tagStart: i,
1164
- tagEnd: a,
1165
- style: o
1166
- });
1167
- }
1168
- function Zt(e, t, n, r, i, a, o) {
1169
- e.events.push({
1170
- type: y.MAPPING,
1171
- start: t,
1172
- anchorStart: n,
1173
- anchorEnd: r,
1174
- tagStart: i,
1175
- tagEnd: a,
1176
- style: o
1177
- });
1178
- }
1179
- function Qt(e, t) {
1180
- e.events.splice(t.eventsLength, 0, {
1181
- type: y.MAPPING,
1182
- start: t.position,
1183
- anchorStart: E,
1184
- anchorEnd: E,
1185
- tagStart: E,
1186
- tagEnd: E,
1187
- style: x.FLOW
1188
- });
1189
- }
1190
- function k(e, t, n, r, i, a, o, s, c = S.CLIP, l = -1, u = !1) {
1191
- e.events.push({
1192
- type: y.SCALAR,
1193
- valueStart: t,
1194
- valueEnd: n,
1195
- anchorStart: r,
1196
- anchorEnd: i,
1197
- tagStart: a,
1198
- tagEnd: o,
1199
- style: s,
1200
- chomping: c,
1201
- indent: l,
1202
- fast: u
1203
- });
1204
- }
1205
- function $t(e, t, n) {
1206
- e.events.push({
1207
- type: y.ALIAS,
1208
- anchorStart: t,
1209
- anchorEnd: n
1210
- });
1211
- }
1212
- function A(e) {
1213
- e.events.push({ type: y.POP });
1214
- }
1215
- function j(e) {
1216
- k(e, E, E, E, E, E, E, b.PLAIN);
1217
- }
1218
- function en() {
1219
- return {
1220
- anchorStart: E,
1221
- anchorEnd: E,
1222
- tagStart: E,
1223
- tagEnd: E
1224
- };
1225
- }
1226
- function M(e) {
1227
- return {
1228
- position: e.position,
1229
- line: e.line,
1230
- lineStart: e.lineStart,
1231
- lineIndent: e.lineIndent,
1232
- firstTabInLine: e.firstTabInLine,
1233
- eventsLength: e.events.length
1234
- };
1235
- }
1236
- function N(e, t) {
1237
- e.position = t.position, e.line = t.line, e.lineStart = t.lineStart, e.lineIndent = t.lineIndent, e.firstTabInLine = t.firstTabInLine, e.events.length = t.eventsLength;
1238
- }
1239
- function P(e, t) {
1240
- v.throwAt(e.input.slice(0, e.length), e.position, t, e.filename);
1241
- }
1242
- function F(e) {
1243
- return e === 10 || e === 13;
1244
- }
1245
- function I(e) {
1246
- return e === 9 || e === 32;
1247
- }
1248
- function L(e) {
1249
- return I(e) || F(e);
1250
- }
1251
- function R(e) {
1252
- return e === 0 || L(e);
1253
- }
1254
- function z(e) {
1255
- return e === 44 || e === 91 || e === 93 || e === 123 || e === 125;
1256
- }
1257
- function tn(e) {
1258
- return e >= 48 && e <= 57 ? e - 48 : -1;
1259
- }
1260
- function nn(e) {
1261
- if (e >= 48 && e <= 57) return e - 48;
1262
- let t = e | 32;
1263
- return t >= 97 && t <= 102 ? t - 97 + 10 : -1;
1264
- }
1265
- function rn(e) {
1266
- return e === 120 ? 2 : e === 117 ? 4 : e === 85 ? 8 : 0;
1267
- }
1268
- function an(e) {
1269
- return e === 48 || e === 97 || e === 98 || e === 116 || e === 9 || e === 110 || e === 118 || e === 102 || e === 114 || e === 101 || e === 32 || e === 34 || e === 47 || e === 92 || e === 78 || e === 95 || e === 76 || e === 80;
1270
- }
1271
- function B(e) {
1272
- e.input.charCodeAt(e.position) === 10 ? e.position++ : (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++), e.line++, e.lineStart = e.position, e.lineIndent = 0, e.firstTabInLine = -1;
1273
- }
1274
- function V(e, t) {
1275
- let n = 0, r = e.input.charCodeAt(e.position), i = e.position === e.lineStart || L(e.input.charCodeAt(e.position - 1));
1276
- for (; r !== 0;) {
1277
- for (; I(r);) i = !0, r === 9 && e.firstTabInLine === -1 && (e.firstTabInLine = e.position), r = e.input.charCodeAt(++e.position);
1278
- if (t && i && r === 35) do
1279
- r = e.input.charCodeAt(++e.position);
1280
- while (!F(r) && r !== 0);
1281
- if (!F(r)) break;
1282
- for (B(e), n++, i = !0, r = e.input.charCodeAt(e.position); r === 32;) e.lineIndent++, r = e.input.charCodeAt(++e.position);
1283
- }
1284
- return n;
1285
- }
1286
- function H(e, t = e.position) {
1287
- let n = e.input.charCodeAt(t);
1288
- if ((n === 45 || n === 46) && n === e.input.charCodeAt(t + 1) && n === e.input.charCodeAt(t + 2)) {
1289
- let n = e.input.charCodeAt(t + 3);
1290
- return n === 0 || L(n);
1291
- }
1292
- return !1;
1293
- }
1294
- function on(e) {
1295
- e.position === e.lineStart && e.input.charCodeAt(e.position) === 65279 && (e.position++, e.lineStart = e.position);
1296
- }
1297
- function sn(e) {
1298
- if (e.position !== e.lineStart) return !1;
1299
- if (H(e)) return !0;
1300
- if (e.input.charCodeAt(e.position) !== 65279) return !1;
1301
- let t = M(e);
1302
- on(e), V(e, !0);
1303
- let n = e.input.charCodeAt(e.position), r = e.position === e.lineStart && (n === 37 || n === 45 && H(e));
1304
- return N(e, t), r;
1305
- }
1306
- function cn(e) {
1307
- let t = e.input.charCodeAt(e.position);
1308
- for (; t !== 0 && !F(t);) t = e.input.charCodeAt(++e.position);
1309
- }
1310
- function ln(e, t, n) {
1311
- Bt.test(e.input.slice(t, n)) && P(e, `the stream contains non-printable characters`);
1312
- }
1313
- function un(e, t, n) {
1314
- if (e.input.charCodeAt(e.position) !== 33) return !1;
1315
- t.tagStart !== E && P(e, `duplication of a tag property`);
1316
- let r = e.position, i = !1, a = !1, o = `!`, s = e.input.charCodeAt(++e.position);
1317
- s === 60 ? (i = !0, s = e.input.charCodeAt(++e.position)) : s === 33 && (a = !0, o = `!!`, s = e.input.charCodeAt(++e.position));
1318
- let c = e.position, l;
1319
- if (i) {
1320
- for (; s !== 0 && s !== 62;) s = e.input.charCodeAt(++e.position);
1321
- s !== 62 && P(e, `unexpected end of the stream within a verbatim tag`), l = e.input.slice(c, e.position), e.position++;
1322
- } else {
1323
- for (; s !== 0 && !L(s) && !(n && z(s));) s === 33 && (a ? P(e, `tag suffix cannot contain exclamation marks`) : (o = e.input.slice(c - 1, e.position + 1), Ht.test(o) || P(e, `named tag handle cannot contain such characters`), a = !0, c = e.position + 1)), s = e.input.charCodeAt(++e.position);
1324
- l = e.input.slice(c, e.position), Vt.test(l) && P(e, `tag suffix cannot contain flow indicator characters`);
1325
- }
1326
- return l && !(i ? Gt.test(l) : Kt.test(l)) && P(e, `tag name cannot contain such characters: ${l}`), !i && o !== `!` && o !== `!!` && !Lt.call(e.tagHandlers, o) && P(e, `undeclared tag handle "${o}"`), t.tagStart = r, t.tagEnd = e.position, !0;
1327
- }
1328
- function dn(e, t) {
1329
- if (e.input.charCodeAt(e.position) !== 38) return !1;
1330
- t.anchorStart !== E && P(e, `duplication of an anchor property`), e.position++;
1331
- let n = e.position;
1332
- for (; e.input.charCodeAt(e.position) !== 0 && !L(e.input.charCodeAt(e.position)) && !z(e.input.charCodeAt(e.position));) e.position++;
1333
- return e.position === n && P(e, `name of an anchor node must contain at least one character`), t.anchorStart = n, t.anchorEnd = e.position, !0;
1334
- }
1335
- function fn(e, t) {
1336
- if (e.input.charCodeAt(e.position) !== 42) return !1;
1337
- (t.anchorStart !== E || t.tagStart !== E) && P(e, `alias node should not have any properties`), e.position++;
1338
- let n = e.position;
1339
- for (; e.input.charCodeAt(e.position) !== 0 && !L(e.input.charCodeAt(e.position)) && !z(e.input.charCodeAt(e.position));) e.position++;
1340
- return e.position === n && P(e, `name of an alias node must contain at least one character`), $t(e, n, e.position), !0;
1341
- }
1342
- function pn(e, t) {
1343
- V(e, !1), e.lineIndent < t && P(e, `deficient indentation`);
1344
- }
1345
- function mn(e, t, n) {
1346
- if (e.input.charCodeAt(e.position) !== 39) return !1;
1347
- e.position++;
1348
- let r = e.position, i = !0;
1349
- for (; e.input.charCodeAt(e.position) !== 0;) {
1350
- let a = e.input.charCodeAt(e.position);
1351
- if (a === 39) {
1352
- if (e.input.charCodeAt(e.position + 1) === 39) {
1353
- i = !1, e.position += 2;
1354
- continue;
1355
- }
1356
- let t = e.position;
1357
- return e.position++, k(e, r, t, n.anchorStart, n.anchorEnd, n.tagStart, n.tagEnd, b.SINGLE_QUOTED, S.CLIP, -1, i), !0;
1358
- }
1359
- F(a) ? (i = !1, pn(e, t)) : e.position === e.lineStart && H(e) ? P(e, `unexpected end of the document within a single quoted scalar`) : a !== 9 && a < 32 ? P(e, `expected valid JSON character`) : e.position++;
1360
- }
1361
- P(e, `unexpected end of the stream within a single quoted scalar`);
1362
- }
1363
- function hn(e, t, n) {
1364
- if (e.input.charCodeAt(e.position) !== 34) return !1;
1365
- e.position++;
1366
- let r = e.position, i = !0;
1367
- for (; e.input.charCodeAt(e.position) !== 0;) {
1368
- let a = e.input.charCodeAt(e.position);
1369
- if (a === 34) {
1370
- let t = e.position;
1371
- return e.position++, k(e, r, t, n.anchorStart, n.anchorEnd, n.tagStart, n.tagEnd, b.DOUBLE_QUOTED, S.CLIP, -1, i), !0;
1372
- }
1373
- if (a === 92) {
1374
- i = !1;
1375
- let n = e.input.charCodeAt(++e.position);
1376
- if (F(n)) pn(e, t);
1377
- else if (an(n)) e.position++;
1378
- else {
1379
- let t = rn(n);
1380
- for (t === 0 && P(e, `unknown escape sequence`); t-- > 0;) e.position++, nn(e.input.charCodeAt(e.position)) < 0 && P(e, `expected hexadecimal character`);
1381
- e.position++;
1382
- }
1383
- } else F(a) ? (i = !1, pn(e, t)) : e.position === e.lineStart && H(e) ? P(e, `unexpected end of the document within a double quoted scalar`) : a !== 9 && a < 32 ? P(e, `expected valid JSON character`) : e.position++;
1384
- }
1385
- P(e, `unexpected end of the stream within a double quoted scalar`);
1386
- }
1387
- function gn(e, t, n) {
1388
- let r = e.input.charCodeAt(e.position), i = S.CLIP, a = -1, o = !1;
1389
- if (r !== 124 && r !== 62) return !1;
1390
- let s = r === 124 ? b.LITERAL_BLOCK : b.FOLDED_BLOCK;
1391
- for (e.position++; e.input.charCodeAt(e.position) !== 0;) {
1392
- let n = e.input.charCodeAt(e.position), r = tn(n);
1393
- if (n === 43 || n === 45) i !== S.CLIP && P(e, `repeat of a chomping mode identifier`), i = n === 43 ? S.KEEP : S.STRIP, e.position++;
1394
- else if (r >= 0) r === 0 && P(e, `bad explicit indentation width of a block scalar; it cannot be less than one`), o && P(e, `repeat of an indentation width identifier`), a = t + r - 1, o = !0, e.position++;
1395
- else break;
1396
- }
1397
- let c = !1;
1398
- for (; I(e.input.charCodeAt(e.position));) c = !0, e.position++;
1399
- c && e.input.charCodeAt(e.position) === 35 && cn(e), F(e.input.charCodeAt(e.position)) ? B(e) : e.input.charCodeAt(e.position) !== 0 && P(e, `a line break is expected`);
1400
- let l = o ? a : -1, u = 0, d = e.position, f = e.position;
1401
- for (; e.input.charCodeAt(e.position) !== 0;) {
1402
- let n = e.position, r = 0;
1403
- for (; e.input.charCodeAt(n + r) === 32;) r++;
1404
- let i = e.input.charCodeAt(n + r);
1405
- if (i === 0) {
1406
- l >= 0 ? r > l && (f = n + r) : r > 0 && (f = n + r);
1407
- break;
1408
- }
1409
- if (sn(e)) break;
1410
- if (!o && l === -1 && F(i) && (u = Math.max(u, r)), !o && l === -1 && !F(i) && (i === 9 && r < t && (e.position = n + r, P(e, `tab characters must not be used in indentation`)), r < u && (e.position = n + r, P(e, `bad indentation of a mapping entry`))), l === -1 && i !== 0 && !F(i) && r < t) {
1411
- e.lineIndent = r, e.position = n + r;
1412
- break;
1413
- }
1414
- !o && i !== 0 && !F(i) && l === -1 && (l = r);
1415
- let a = l === -1 ? t + 1 : l;
1416
- if (i !== 0 && !F(i) && r < a) {
1417
- e.lineIndent = r, e.position = n + r;
1418
- break;
1419
- }
1420
- cn(e), f = e.position, F(e.input.charCodeAt(e.position)) && (B(e), f = e.position);
1421
- }
1422
- return ln(e, d, f), k(e, d, f, n.anchorStart, n.anchorEnd, n.tagStart, n.tagEnd, s, i, l), !0;
1423
- }
1424
- function _n(e, t) {
1425
- let n = e.input.charCodeAt(e.position), r = t === D;
1426
- if (n === 0 || L(n) || n === 35 || n === 38 || n === 42 || n === 33 || n === 124 || n === 62 || n === 39 || n === 34 || n === 37 || n === 64 || n === 96 || r && z(n)) return !1;
1427
- if (n === 63 || n === 45) {
1428
- let t = e.input.charCodeAt(e.position + 1);
1429
- if (R(t) || r && z(t)) return !1;
1430
- }
1431
- return !0;
1432
- }
1433
- function vn(e, t, n, r) {
1434
- if (!_n(e, n)) return !1;
1435
- let i = e.position, a = e.position, o = e.input.charCodeAt(e.position), s = n === D, c = !1;
1436
- for (; o !== 0 && !sn(e);) {
1437
- if (o === 58) {
1438
- let t = e.input.charCodeAt(e.position + 1);
1439
- if (R(t) || s && z(t)) break;
1440
- } else if (o === 35) {
1441
- if (L(e.input.charCodeAt(e.position - 1))) break;
1442
- } else if (s && z(o)) break;
1443
- else if (F(o)) {
1444
- let n = e.position, r = e.line, i = e.lineStart, a = e.lineIndent;
1445
- if (V(e, !1), e.lineIndent >= t) {
1446
- c = !0, o = e.input.charCodeAt(e.position);
1447
- continue;
1448
- }
1449
- e.position = n, e.line = r, e.lineStart = i, e.lineIndent = a;
1450
- break;
1451
- }
1452
- I(o) || (a = e.position + 1), o = e.input.charCodeAt(++e.position);
1453
- }
1454
- return a !== i && (ln(e, i, a), k(e, i, a, r.anchorStart, r.anchorEnd, r.tagStart, r.tagEnd, b.PLAIN, S.CLIP, -1, !c), !0);
1455
- }
1456
- function U(e, t) {
1457
- let n = e.line;
1458
- V(e, !0), (e.line > n && e.lineIndent < t || e.firstTabInLine !== -1 && e.lineIndent < t) && P(e, `deficient indentation`);
1459
- }
1460
- function yn(e, t, n) {
1461
- let r = e.input.charCodeAt(e.position), i = r === 123, a = e.position, o = !0;
1462
- if (r !== 91 && r !== 123) return !1;
1463
- let s = i ? 125 : 93;
1464
- for (i ? Zt(e, a, n.anchorStart, n.anchorEnd, n.tagStart, n.tagEnd, x.FLOW) : Xt(e, a, n.anchorStart, n.anchorEnd, n.tagStart, n.tagEnd, x.FLOW), e.position++; e.input.charCodeAt(e.position) !== 0;) {
1465
- U(e, t);
1466
- let n = e.input.charCodeAt(e.position);
1467
- if (n === s) return e.position++, A(e), !0;
1468
- o ? n === 44 && P(e, `expected the node content, but found ','`) : P(e, `missed comma between flow collection entries`);
1469
- let r = !1, a = !1;
1470
- n === 63 && L(e.input.charCodeAt(e.position + 1)) && (r = a = !0, e.position += 1, U(e, t));
1471
- let c = e.line, l = M(e), u = G(e, t, D, !1, !0);
1472
- U(e, t), n = e.input.charCodeAt(e.position), (i || a || e.line === c) && n === 58 ? (r = !0, e.position++, U(e, t), i || Qt(e, l), u || j(e), G(e, t, D, !1, !0) || j(e), U(e, t), i || A(e)) : i && r ? (u || j(e), j(e)) : i ? j(e) : r && (Qt(e, l), u || j(e), j(e), A(e)), n = e.input.charCodeAt(e.position), n === 44 ? (o = !0, e.position++) : o = !1;
1473
- }
1474
- P(e, `unexpected end of the stream within a flow collection`);
1475
- }
1476
- function bn(e, t, n) {
1477
- if (e.firstTabInLine !== -1 || e.input.charCodeAt(e.position) !== 45 || !R(e.input.charCodeAt(e.position + 1))) return !1;
1478
- for (Xt(e, e.position, n.anchorStart, n.anchorEnd, n.tagStart, n.tagEnd, x.BLOCK); e.input.charCodeAt(e.position) === 45 && R(e.input.charCodeAt(e.position + 1));) {
1479
- e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, P(e, `tab characters must not be used in indentation`));
1480
- let n = e.line;
1481
- e.position++;
1482
- let r = V(e, !0) > 0;
1483
- if (e.firstTabInLine !== -1 && e.input.charCodeAt(e.position) === 45 && R(e.input.charCodeAt(e.position + 1)) && P(e, `bad indentation of a sequence entry`), r && e.lineIndent <= t ? j(e) : G(e, t, zt, !1, !0), V(e, !0), e.lineIndent < t || e.position >= e.length) break;
1484
- e.lineIndent > t && P(e, `bad indentation of a sequence entry`), e.line === n && e.input.charCodeAt(e.position) === 45 && R(e.input.charCodeAt(e.position + 1)) && P(e, `bad indentation of a sequence entry`);
1485
- }
1486
- return A(e), !0;
1487
- }
1488
- function W(e, t, n, r) {
1489
- let i = !1, a = !1, o = !1, s = !1;
1490
- if (e.firstTabInLine !== -1) return !1;
1491
- let c = e.input.charCodeAt(e.position);
1492
- for (; c !== 0;) {
1493
- !i && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, P(e, `tab characters must not be used in indentation`));
1494
- let l = e.input.charCodeAt(e.position + 1), u = e.line;
1495
- if ((c === 63 || c === 58) && R(l)) o ||= (Zt(e, e.position, r.anchorStart, r.anchorEnd, r.tagStart, r.tagEnd, x.BLOCK), !0), c === 63 ? (i && j(e), a = !0, i = !0) : i ? i = !1 : (j(e), a = !0, i = !1), e.position += 1, s = !0;
1496
- else {
1497
- i &&= (j(e), !1);
1498
- let t = M(e);
1499
- if (!G(e, n, Rt, !1, !0)) break;
1500
- if (e.line === u) {
1501
- for (c = e.input.charCodeAt(e.position); I(c);) c = e.input.charCodeAt(++e.position);
1502
- if (c === 58) {
1503
- if (c = e.input.charCodeAt(++e.position), R(c) || P(e, `a whitespace character is expected after the key-value separator within a block mapping`), !o) {
1504
- for (N(e, t), Zt(e, t.position, r.anchorStart, r.anchorEnd, r.tagStart, r.tagEnd, x.BLOCK), o = !0, G(e, n, Rt, !1, !0), c = e.input.charCodeAt(e.position); I(c);) c = e.input.charCodeAt(++e.position);
1505
- e.position++;
1506
- }
1507
- a = !0, i = !1, s = !1;
1508
- } else if (a) P(e, `expected ':' after a mapping key`);
1509
- else return r.anchorStart !== E || r.tagStart !== E ? (N(e, t), !1) : !0;
1510
- } else if (a) P(e, `can not read a block mapping entry; a multiline key may not be an implicit key`);
1511
- else return r.anchorStart !== E || r.tagStart !== E ? (N(e, t), !1) : !0;
1512
- }
1513
- if (G(e, t, O, !0, s) && (s = !1), i || (s &&= (j(e), !1)), V(e, !0), c = e.input.charCodeAt(e.position), (e.line === u || e.lineIndent > t) && c !== 0) P(e, `bad indentation of a mapping entry`);
1514
- else if (e.lineIndent < t) break;
1515
- }
1516
- return a ? (i && j(e), o && A(e), !0) : !1;
1517
- }
1518
- function G(e, t, n, r, i, a = !0) {
1519
- e.depth >= e.maxDepth && P(e, `nesting exceeded maxDepth (${e.maxDepth})`), e.depth++;
1520
- let o = 1, s = !1, c = !1, l = null, u = en(), d = n === O || n === zt, f = d, p = d;
1521
- if (r && V(e, !0) && (s = !0, o = e.lineIndent > t ? 1 : e.lineIndent === t ? 0 : -1), o === 1) for (;;) {
1522
- let r = e.input.charCodeAt(e.position), i = M(e);
1523
- if (s && o !== 1 && (r === 33 || r === 38)) break;
1524
- if (s && p && (u.tagStart !== E || u.anchorStart !== E) && (r === 33 || r === 38)) {
1525
- let n = M(e), r = t + 1;
1526
- if (W(e, e.position - e.lineStart, r, u) && e.events[n.eventsLength]?.type === y.MAPPING) return e.depth--, !0;
1527
- N(e, n);
1528
- }
1529
- if (s && (r === 33 && u.tagStart !== E || r === 38 && u.anchorStart !== E) || !un(e, u, n === D) && !dn(e, u)) break;
1530
- l === null && (l = i), V(e, !0) ? (s = !0, f = p, o = e.lineIndent > t ? 1 : e.lineIndent === t ? 0 : -1) : f = !1;
1531
- }
1532
- if (f &&= s || i, o === 1 || n === O) {
1533
- let r = n === D || n === Rt ? t : t + 1, i = e.position - e.lineStart;
1534
- if (o === 1) {
1535
- if (f && (bn(e, i, u) || W(e, i, r, u)) || yn(e, r, u)) c = !0;
1536
- else {
1537
- let t = e.input.charCodeAt(e.position);
1538
- if (l !== null && a && p && !f && t !== 124 && t !== 62) {
1539
- let t = M(e), n = l.position - l.lineStart;
1540
- N(e, l), W(e, n, r, en()) && e.events[t.eventsLength]?.type === y.MAPPING ? c = !0 : N(e, t);
1541
- }
1542
- !c && (d && gn(e, r, u) || mn(e, r, u) || hn(e, r, u) || fn(e, u) || vn(e, r, n, u)) && (c = !0);
1543
- }
1544
- } else o === 0 && (c = f && bn(e, i, u));
1545
- }
1546
- return d &&= !c, !c && (u.anchorStart !== E || u.tagStart !== E || d) && (k(e, E, E, u.anchorStart, u.anchorEnd, u.tagStart, u.tagEnd, b.PLAIN), c = !0), e.depth--, c || u.anchorStart !== E || u.tagStart !== E;
1547
- }
1548
- function xn(e) {
1549
- if (e.lineIndent > 0 || e.input.charCodeAt(e.position) !== 37) return !1;
1550
- e.position++;
1551
- let t = e.position;
1552
- for (; e.input.charCodeAt(e.position) !== 0 && !L(e.input.charCodeAt(e.position));) e.position++;
1553
- let n = e.input.slice(t, e.position), r = [];
1554
- for (n.length === 0 && P(e, `directive name must not be less than one character in length`); e.input.charCodeAt(e.position) !== 0 && !F(e.input.charCodeAt(e.position));) {
1555
- for (; I(e.input.charCodeAt(e.position));) e.position++;
1556
- if (e.input.charCodeAt(e.position) === 35 || F(e.input.charCodeAt(e.position)) || e.input.charCodeAt(e.position) === 0) break;
1557
- let t = e.position;
1558
- for (; e.input.charCodeAt(e.position) !== 0 && !L(e.input.charCodeAt(e.position));) e.position++;
1559
- r.push(e.input.slice(t, e.position));
1560
- }
1561
- if (F(e.input.charCodeAt(e.position)) && B(e), n === `YAML`) {
1562
- e.directives.some((e) => e.kind === `yaml`) && P(e, `duplication of %YAML directive`), r.length !== 1 && P(e, `YAML directive accepts exactly one argument`);
1563
- let t = /^([0-9]+)\.([0-9]+)$/.exec(r[0]);
1564
- t === null && P(e, `ill-formed argument of the YAML directive`), parseInt(t[1], 10) !== 1 && P(e, `unacceptable YAML version of the document`), e.directives.push({
1565
- kind: `yaml`,
1566
- version: r[0]
1567
- });
1568
- } else if (n === `TAG`) {
1569
- r.length !== 2 && P(e, `TAG directive accepts exactly two arguments`);
1570
- let [t, n] = r;
1571
- Ht.test(t) || P(e, `ill-formed tag handle (first argument) of the TAG directive`), Lt.call(e.tagHandlers, t) && P(e, `there is a previously declared suffix for "${t}" tag handle`), qt.test(n) || P(e, `ill-formed tag prefix (second argument) of the TAG directive`), e.tagHandlers[t] = n, e.directives.push({
1572
- kind: `tag`,
1573
- handle: t,
1574
- prefix: n
1575
- });
1576
- }
1577
- return !0;
1578
- }
1579
- function Sn(e) {
1580
- e.directives = [], e.tagHandlers = Object.create(null);
1581
- let t = !1;
1582
- for (V(e, !0); xn(e);) t = !0, V(e, !0);
1583
- let n = !1, r = !1, i = !0;
1584
- if (e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 && R(e.input.charCodeAt(e.position + 3))) {
1585
- n = !0;
1586
- let t = e.line;
1587
- e.position += 3, V(e, !0), i = e.line > t;
1588
- } else t && P(e, `directives end mark is expected`);
1589
- let a = e.events.length;
1590
- if (!n && e.position === e.lineStart && e.input.charCodeAt(e.position) === 46 && H(e)) {
1591
- e.position += 3, V(e, !0);
1592
- return;
1593
- }
1594
- if (Yt(e, n, !1), G(e, e.lineIndent - 1, O, !1, i, i) || j(e), V(e, !0), e.position === e.lineStart && H(e) && (r = e.input.charCodeAt(e.position) === 46, r)) {
1595
- let t = e.line;
1596
- e.position += 3, V(e, !0), e.line === t && e.position < e.length && P(e, `end of the stream or a document separator is expected`);
1597
- }
1598
- let o = e.events[a];
1599
- o?.type === y.DOCUMENT && (o.explicitEnd = r), A(e), !r && e.position < e.length && !sn(e) && P(e, `end of the stream or a document separator is expected`);
1600
- }
1601
- function Cn(e, t) {
1602
- let n = e.length, r = {
1603
- ...Jt,
1604
- ...t,
1605
- input: `${e}\0`,
1606
- length: n,
1607
- position: 0,
1608
- line: 0,
1609
- lineStart: 0,
1610
- lineIndent: 0,
1611
- firstTabInLine: -1,
1612
- depth: 0,
1613
- directives: [],
1614
- tagHandlers: Object.create(null),
1615
- events: []
1616
- }, i = e.indexOf(`\0`);
1617
- for (i !== -1 && v.throwAt(e, i, `null byte is not allowed in input`, r.filename); r.position < r.length && (on(r), V(r, !0), !(r.position >= r.length));) {
1618
- let e = r.position;
1619
- Sn(r), r.position === e && P(r, `can not read a document`);
1620
- }
1621
- return r.events;
1622
- }
1623
- var wn = {
1624
- ...Jt,
1625
- ...wt
1626
- };
1627
- function Tn(e, t = {}) {
1628
- let n = {
1629
- ...wn,
1630
- ...t
1631
- }, r = String(e), i = Object.keys(Jt), a = Object.keys(wt);
1632
- return It(Cn(r, Ue(n, i)), {
1633
- ...Ue(n, a),
1634
- source: r
1635
- });
1636
- }
1637
- function En(e, t) {
1638
- let n = Tn(e, t);
1639
- if (n.length === 0) throw new v(`expected a document, but the input is empty`);
1640
- if (n.length === 1) return n[0];
1641
- throw new v(`expected a single document in the stream, but found more`);
1642
- }
1643
- var K = Symbol(`INVALID`);
1644
- function Dn(e) {
1645
- let t = new Set([
1646
- e.defaultScalarTag,
1647
- e.defaultSequenceTag,
1648
- e.defaultMappingTag
1649
- ].filter((e) => e !== void 0)), n = e.implicitScalarTags, r = e.tags.filter((e) => !(e.nodeKind === `scalar` && e.implicit) && !t.has(e)), i = e.tags.filter((e) => t.has(e));
1650
- return [
1651
- ...n.map((e) => ({
1652
- tag: e,
1653
- implicitTag: !0
1654
- })),
1655
- ...r.map((e) => ({
1656
- tag: e,
1657
- implicitTag: !1
1658
- })),
1659
- ...i.map((e) => ({
1660
- tag: e,
1661
- implicitTag: !0
1662
- }))
1663
- ];
1664
- }
1665
- function On(e, t) {
1666
- for (let n = 0, r = e.representTypes.length; n < r; n += 1) {
1667
- let { tag: r, implicitTag: i } = e.representTypes[n];
1668
- if (r.identify(t)) {
1669
- let e;
1670
- return e = r.matchByTagPrefix ? r.representTagName(t) : r.tagName, {
1671
- tag: r,
1672
- tagName: e,
1673
- implicitTag: i
1674
- };
1675
- }
1676
- }
1677
- return null;
1678
- }
1679
- function q(e, t) {
1680
- if (!e.noRefs && typeof t == `object` && t) {
1681
- let n = e.refs.get(t);
1682
- if (n) return n.anchor === void 0 && (n.anchor = `ref_${e.refCounter++}`), {
1683
- kind: `alias`,
1684
- anchor: n.anchor
1685
- };
1686
- }
1687
- let n = On(e, t);
1688
- if (!n) {
1689
- if (t === void 0 || e.skipInvalid) return K;
1690
- throw new v(`unacceptable kind of an object to dump ${Object.prototype.toString.call(t)}`);
1691
- }
1692
- let { tag: r, tagName: i, implicitTag: a } = n, o = a ? i : St(i);
1693
- if (r.nodeKind === `scalar`) return {
1694
- kind: `scalar`,
1695
- tag: o,
1696
- tagged: !a,
1697
- style: b.PLAIN,
1698
- value: r.represent(t)
1699
- };
1700
- if (r.nodeKind === `sequence`) {
1701
- let n = r.represent(t), i = {
1702
- kind: `sequence`,
1703
- tag: o,
1704
- tagged: !a,
1705
- style: x.BLOCK,
1706
- items: []
1707
- };
1708
- e.noRefs || e.refs.set(t, i);
1709
- for (let t = 0, r = n.length; t < r; t += 1) {
1710
- let r = q(e, n[t]);
1711
- r === K && n[t] === void 0 && (r = q(e, null)), r !== K && i.items.push(r);
1712
- }
1713
- return i;
1714
- }
1715
- let s = r.represent(t), c = {
1716
- kind: `mapping`,
1717
- tag: o,
1718
- tagged: !a,
1719
- style: x.BLOCK,
1720
- items: []
1721
- };
1722
- e.noRefs || e.refs.set(t, c);
1723
- for (let [t, n] of s) {
1724
- let r = q(e, t);
1725
- if (r === K) continue;
1726
- let i = q(e, n);
1727
- i !== K && c.items.push({
1728
- key: r,
1729
- value: i
1730
- });
1731
- }
1732
- return c;
1733
- }
1734
- function kn(e, t, n = {}) {
1735
- let r = q({
1736
- representTypes: Dn(t),
1737
- noRefs: n.noRefs ?? !1,
1738
- skipInvalid: n.skipInvalid ?? !1,
1739
- refs: /* @__PURE__ */ new Map(),
1740
- refCounter: 0
1741
- }, e);
1742
- return [{
1743
- contents: r === K ? null : r,
1744
- directives: []
1745
- }];
1746
- }
1747
- var An = Symbol(`visit:break`);
1748
- var jn = Symbol(`visit:skip`);
1749
- function J(e, t, n) {
1750
- let r = t(e, n);
1751
- if (r === An) return !0;
1752
- if (r === jn) return !1;
1753
- let i = n.depth + 1;
1754
- switch (e.kind) {
1755
- case `sequence`:
1756
- for (let n of e.items) if (J(n, t, {
1757
- depth: i,
1758
- parent: e,
1759
- isKey: !1
1760
- })) return !0;
1761
- break;
1762
- case `mapping`: for (let { key: n, value: r } of e.items) if (J(n, t, {
1763
- depth: i,
1764
- parent: e,
1765
- isKey: !0
1766
- }) || J(r, t, {
1767
- depth: i,
1768
- parent: e,
1769
- isKey: !1
1770
- })) return !0;
1771
- }
1772
- return !1;
1773
- }
1774
- function Mn(e, t) {
1775
- for (let n of e) if (n.contents && J(n.contents, t, {
1776
- depth: 0,
1777
- parent: null,
1778
- isKey: !1
1779
- })) return;
1780
- }
1781
- function Y(e, t) {
1782
- return !!(e & 1 << t);
1783
- }
1784
- var Nn = {
1785
- applyQuoteFlowKeysOption: Fn,
1786
- doubleQuoteForInvisibles: In,
1787
- doubleQuoteWhitespaceOnly: Ln,
1788
- applyForceQuotesOption: Rn,
1789
- tryLongOrMultilineAsBlock: zn,
1790
- quoteInvalidPlain: Bn,
1791
- fallbackToDoubleQuoted: Vn
1792
- };
1793
- function Pn(e) {
1794
- return e.presenterOptions.quoteStyle === `single` && Y(e.allowedStylesMask, b.SINGLE_QUOTED) ? b.SINGLE_QUOTED : b.DOUBLE_QUOTED;
1795
- }
1796
- function Fn(e) {
1797
- e.presenterOptions.quoteFlowKeys && (!e.isKey || !e.flowOnly || e.style !== b.PLAIN || (e.style = b.DOUBLE_QUOTED));
1798
- }
1799
- function In(e) {
1800
- e.style === b.PLAIN && /[\t\x7F-\xA0\u2028\u2029\uFEFF\uFFFE\uFFFF]/.test(e.node.value) && (e.style = b.DOUBLE_QUOTED);
1801
- }
1802
- function Ln(e) {
1803
- e.style === b.PLAIN && /^\s+$/.test(e.node.value) && (e.style = b.DOUBLE_QUOTED);
1804
- }
1805
- function Rn(e) {
1806
- e.presenterOptions.forceQuotes && (e.isKey || e.style !== b.PLAIN || (e.style = e.node.value.includes(`
1807
- `) ? b.DOUBLE_QUOTED : Pn(e)));
1808
- }
1809
- function zn(e) {
1810
- if (e.style !== b.PLAIN || e.isKey) return;
1811
- let t = e.node.value, n = t.indexOf(`
1812
- `) !== -1;
1813
- if (!Y(e.allowedStylesMask, b.LITERAL_BLOCK)) {
1814
- n && (e.style = b.DOUBLE_QUOTED);
1815
- return;
1816
- }
1817
- let r = e.presenterOptions.lineWidth;
1818
- if (r === -1) {
1819
- n && (e.style = b.LITERAL_BLOCK);
1820
- return;
1821
- }
1822
- let i = Math.max(Math.min(r, 40), r - e.shiftOfContent), a = 0, o = !1;
1823
- for (; a <= t.length;) {
1824
- let e = t.length, n = t.indexOf(`
1825
- `, a);
1826
- n !== -1 && (e = n);
1827
- let r = t.slice(a, e);
1828
- if (r.length > i && r[0] !== ` ` && / [^ \t]/.test(r) && (o = !0), n === -1) break;
1829
- a = n + 1;
1830
- }
1831
- o ? e.style = b.FOLDED_BLOCK : n && (e.style = b.LITERAL_BLOCK);
1832
- }
1833
- function Bn(e) {
1834
- e.style === b.PLAIN && !Y(e.allowedStylesMask, b.PLAIN) && (e.style = Pn(e));
1835
- }
1836
- function Vn(e) {
1837
- Y(e.allowedStylesMask, e.style) || (e.style = b.DOUBLE_QUOTED);
1838
- }
1839
- function X(e, t) {
1840
- return e | 1 << t;
1841
- }
1842
- var Hn = `[\\x09\\x0A\\x0D\\x20-\\x7E\\x85\\xA0-\\uD7FF\\uE000-\\uFFFD\\u{10000}-\\u{10FFFF}]`;
1843
- var Un = `[\\n\\r]`;
1844
- var Wn = `\\uFEFF`;
1845
- var Gn = `[ \\t]`;
1846
- var Kn = `(?:(?!(?:${Un}|${Wn}))${Hn})`;
1847
- var Z = `(?:(?!${Gn})${Kn})`;
1848
- var qn = `[\\x09\\x20-\\uD7FF\\uE000-\\uFFFF\\u{10000}-\\u{10FFFF}]`;
1849
- var Jn = `[-?:,\\[\\]{}#&*!|>'"%@\`]`;
1850
- var Yn = `[,\\[\\]{}]`;
1851
- var Xn = Z;
1852
- var Zn = `(?:(?!${Yn})${Z})`;
1853
- var Qn = `(?:(?:(?!${Jn})${Z})|[?:-](?=${Xn}))`;
1854
- var $n = `(?:(?:(?!${Jn})${Z})|[?:-](?=${Zn}))`;
1855
- var er = `(?:(?:(?![:#])${Xn})|:(?=${Xn}))#*`;
1856
- var tr = `(?:(?:(?![:#])${Zn})|:(?=${Zn}))#*`;
1857
- var nr = `(?:${Gn}*${er})*`;
1858
- var rr = `(?:${Gn}*${tr})*`;
1859
- var ir = `${Qn}#*${nr}`;
1860
- var ar = `${$n}#*${rr}`;
1861
- var or = ir;
1862
- var sr = ar;
1863
- var cr = `\\n+${er}${nr}`;
1864
- var lr = `\\n+${tr}${rr}`;
1865
- var ur = `${ir}(?:${cr})*`;
1866
- var dr = `${ar}(?:${lr})*`;
1867
- var fr = RegExp(`^(?:${ur})$`, `u`);
1868
- var pr = RegExp(`^(?:${dr})$`, `u`);
1869
- var mr = RegExp(`^(?:${or})$`, `u`);
1870
- var hr = RegExp(`^(?:${sr})$`, `u`);
1871
- var gr = RegExp(`^(?:${qn})*$`, `u`);
1872
- var _r = RegExp(`^(?:${qn}|\\n)*$`, `u`);
1873
- var vr = RegExp(`^(?:${Kn}|\\n)*$`, `u`);
1874
- var yr = /^(?:---|\.\.\.)(?=$|[ \t\n\r])/;
1875
- var br = /^(?:---|\.\.\.)(?=$|[ \t\n\r])/m;
1876
- function xr(e) {
1877
- let t = e.node.value;
1878
- if (t !== ``) {
1879
- if (!(e.isKey ? e.flowOnly ? hr : mr : e.flowOnly ? pr : fr).test(t) || e.shiftOfFirstLine === 0 && yr.test(t)) return !1;
1880
- if (e.shiftOfContent === 0) {
1881
- let e = t.indexOf(`
1882
- `);
1883
- if (e !== -1) {
1884
- let n = t.slice(e + 1);
1885
- if (br.test(n)) return !1;
1886
- }
1887
- }
1888
- }
1889
- let n = e.presenterOptions.schema.resolveImplicitScalarTag(t).tag.tagName;
1890
- return !(!e.node.tagged && n !== e.node.tag || !e.node.tagged && t === `=` && n === e.presenterOptions.schema.defaultScalarTag.tagName);
1891
- }
1892
- function Sr(e) {
1893
- let t = e.node.value;
1894
- if (!(e.isKey ? gr : _r).test(t) || /[ \t]\n|\n[ \t]/.test(t)) return !1;
1895
- if (!e.isKey && e.shiftOfContent === 0) {
1896
- let e = t.indexOf(`
1897
- `);
1898
- if (e !== -1 && br.test(t.slice(e + 1))) return !1;
1899
- }
1900
- return !0;
1901
- }
1902
- function Cr(e) {
1903
- if (e.flowOnly || !vr.test(e.node.value)) return !1;
1904
- let t = e.shiftOfContent - e.shiftOfParent;
1905
- return !(t < 1 || t > 9 && /^\n* /.test(e.node.value) || e.shiftOfContent === 0 && br.test(e.node.value));
1906
- }
1907
- function wr(e) {
1908
- let t = X(0, b.DOUBLE_QUOTED);
1909
- xr(e) && (t = X(t, b.PLAIN)), Sr(e) && (t = X(t, b.SINGLE_QUOTED)), Cr(e) && (t = X(X(t, b.LITERAL_BLOCK), b.FOLDED_BLOCK)), e.allowedStylesMask = t;
1910
- }
1911
- function Tr(e) {
1912
- switch (e.style) {
1913
- case b.PLAIN: return Er(e);
1914
- case b.SINGLE_QUOTED: return Dr(e);
1915
- case b.LITERAL_BLOCK: return Or(e);
1916
- case b.FOLDED_BLOCK: return kr(e);
1917
- case b.DOUBLE_QUOTED: return Ar(e);
1918
- }
1919
- }
1920
- function Er(e) {
1921
- return jr(e.node.value, e.shiftOfContent);
1922
- }
1923
- function Dr(e) {
1924
- return `'${jr(e.node.value, e.shiftOfContent).replace(/'/g, `''`)}'`;
1925
- }
1926
- function Or(e) {
1927
- let t = e.node.value;
1928
- return `|` + Pr(t, e.shiftOfParent, e.shiftOfContent) + Fr(Mr(t, e.shiftOfContent));
1929
- }
1930
- function kr(e) {
1931
- let t = e.node.value, n = e.presenterOptions.lineWidth, r = 1 / 0;
1932
- return n !== -1 && (r = Math.max(Math.min(n, 40), n - e.shiftOfContent)), `>` + Pr(t, e.shiftOfParent, e.shiftOfContent) + Fr(Mr(Rr(t, r), e.shiftOfContent));
1933
- }
1934
- function Ar(e) {
1935
- return `"${Vr(e.node.value)}"`;
1936
- }
1937
- function jr(e, t) {
1938
- let n = e.indexOf(`
1939
- `);
1940
- if (n === -1) return e;
1941
- let r = ` `.repeat(t), i = e.slice(0, n), a = /(\n+)([^\n]*)/g;
1942
- a.lastIndex = n;
1943
- let o;
1944
- for (; o = a.exec(e);) {
1945
- let e = o[1].length, t = o[2];
1946
- i += `
1947
- `.repeat(e + 1) + r + t;
1948
- }
1949
- return i;
1950
- }
1951
- function Mr(e, t) {
1952
- let n = ` `.repeat(t), r = 0, i = ``, a = e.length;
1953
- for (; r < a;) {
1954
- let t, o = e.indexOf(`
1955
- `, r);
1956
- o === -1 ? (t = e.slice(r), r = a) : (t = e.slice(r, o + 1), r = o + 1), t.length && t !== `
1957
- ` && (i += n), i += t;
1958
- }
1959
- return i;
1960
- }
1961
- function Nr(e) {
1962
- return /^\n* /.test(e);
1963
- }
1964
- function Pr(e, t, n) {
1965
- let r = Nr(e) ? String(n - t) : ``, i = e[e.length - 1] === `
1966
- `;
1967
- return `${r}${i && (e[e.length - 2] === `
1968
- ` || e === `
1969
- `) ? `+` : i ? `` : `-`}\n`;
1970
- }
1971
- function Fr(e) {
1972
- return e[e.length - 1] === `
1973
- ` ? e.slice(0, -1) : e;
1974
- }
1975
- function Ir(e) {
1976
- return e === ` ` || e === ` `;
1977
- }
1978
- function Lr(e, t) {
1979
- if (e === `` || Ir(e[0])) return e;
1980
- let n = / [^ \t]/g, r, i = 0, a, o = 0, s = 0, c = ``;
1981
- for (; r = n.exec(e);) s = r.index, s - i > t && (a = o > i ? o : s, c += `\n${e.slice(i, a)}`, i = a + 1), o = s;
1982
- return c += `
1983
- `, e.length - i > t && o > i ? c += `${e.slice(i, o)}\n${e.slice(o + 1)}` : c += e.slice(i), c.slice(1);
1984
- }
1985
- function Rr(e, t) {
1986
- let n = /(\n+)([^\n]*)/g, r = e.indexOf(`
1987
- `);
1988
- r === -1 && (r = e.length), n.lastIndex = r;
1989
- let i = Lr(e.slice(0, r), t), a = e[0] === `
1990
- ` || Ir(e[0]), o, s;
1991
- for (; s = n.exec(e);) {
1992
- let e = s[1], n = s[2];
1993
- o = n !== `` && Ir(n[0]), i += e + (!a && !o && n !== `` ? `
1994
- ` : ``) + Lr(n, t), a = o;
1995
- }
1996
- return i;
1997
- }
1998
- var zr = /["\\\x00-\x1F\x7F-\xA0\u2028\u2029\uD800-\uDFFF\uFEFF\uFFFE\uFFFF]/gu;
1999
- function Br(e) {
2000
- switch (e) {
2001
- case `\0`: return `\\0`;
2002
- case `\x07`: return `\\a`;
2003
- case `\b`: return `\\b`;
2004
- case ` `: return `\\t`;
2005
- case `
2006
- `: return `\\n`;
2007
- case `\v`: return `\\v`;
2008
- case `\f`: return `\\f`;
2009
- case `\r`: return `\\r`;
2010
- case `\x1B`: return `\\e`;
2011
- case `"`: return `\\"`;
2012
- case `\\`: return `\\\\`;
2013
- case `…`: return `\\N`;
2014
- case `\xA0`: return `\\_`;
2015
- case `\u2028`: return `\\L`;
2016
- case `\u2029`: return `\\P`;
2017
- }
2018
- let t = e.charCodeAt(0), n = t.toString(16).toUpperCase();
2019
- return t <= 255 ? `\\x${`0`.repeat(2 - n.length)}${n}` : `\\u${`0`.repeat(4 - n.length)}${n}`;
2020
- }
2021
- function Vr(e) {
2022
- return e.replace(zr, Br);
2023
- }
2024
- var Q = 10;
2025
- var Hr = {
2026
- indent: 2,
2027
- seqNoIndent: !1,
2028
- seqInlineFirst: !0,
2029
- lineWidth: 80,
2030
- flowBracketPadding: !1,
2031
- flowSkipCommaSpace: !1,
2032
- flowSkipColonSpace: !1,
2033
- quoteFlowKeys: !1,
2034
- quoteStyle: `single`,
2035
- forceQuotes: !1,
2036
- scalarStyleRules: Object.keys(Nn).map((e) => Reflect.get(Nn, e)),
2037
- tagBeforeAnchor: !1
2038
- };
2039
- function Ur(e) {
2040
- return e.tagged ? e.tag : St(e.tag);
2041
- }
2042
- function Wr(e) {
2043
- let t = {
2044
- ...Hr,
2045
- ...e
2046
- };
2047
- return t.flowSkipColonSpace && (t.quoteFlowKeys = !0), {
2048
- ...t,
2049
- defaultScalarTagName: t.schema.defaultScalarTag.tagName,
2050
- openEnded: !1
2051
- };
2052
- }
2053
- function Gr(e, t) {
2054
- return `\n${` `.repeat(e.indent * t)}`;
2055
- }
2056
- function Kr(e, t, n, r, i, a) {
2057
- return {
2058
- node: t,
2059
- parent: n,
2060
- level: r,
2061
- isKey: i,
2062
- flowOnly: a,
2063
- shiftOfParent: r === 0 ? -1 : e.indent * (r - 1),
2064
- shiftOfContent: e.indent * Math.max(1, r),
2065
- shiftOfFirstLine: r === 0 ? 0 : e.indent * r,
2066
- presenterOptions: e,
2067
- allowedStylesMask: 0,
2068
- style: t.style
2069
- };
2070
- }
2071
- function qr(e, t, n) {
2072
- let r = ``;
2073
- for (let i = 0, a = n.items.length; i < a; i += 1) {
2074
- let a = $(e, t, n.items[i], n, {}).text;
2075
- i > 0 && (r += `,${e.flowSkipCommaSpace ? `` : ` `}`), r += a;
2076
- }
2077
- let i = e.flowBracketPadding && n.items.length > 0 ? ` ` : ``;
2078
- return `[${i}${r}${i}]`;
2079
- }
2080
- function Jr(e, t, n, r) {
2081
- let i = ``;
2082
- for (let a = 0, o = n.items.length; a < o; a += 1) {
2083
- let o = $(e, t + 1, n.items[a], n, {
2084
- block: !0,
2085
- compact: e.seqInlineFirst,
2086
- isblockseq: !0
2087
- }).text;
2088
- (!r || i !== ``) && (i += Gr(e, t)), o === `` || Q === o.charCodeAt(0) ? i += `-` : i += `- `, i += o;
2089
- }
2090
- return i;
2091
- }
2092
- function Yr(e, t, n) {
2093
- let r = ``;
2094
- for (let { key: i, value: a } of n.items) {
2095
- let o = ``;
2096
- r !== `` && (o += `,${e.flowSkipCommaSpace ? `` : ` `}`);
2097
- let s = $(e, t, i, n, { iskey: !0 }), c = s.text, l = $(e, t, a, n, {}).text, u = e.flowSkipColonSpace || l === `` ? `` : ` `, d = i.kind === `scalar` && s.noBody && (i.tagged || i.anchor !== void 0), f = i.kind === `alias` || d ? ` ` : ``;
2098
- o += `${c}${f}:${u}${l}`, r += o;
2099
- }
2100
- let i = e.flowBracketPadding && r !== `` ? ` ` : ``;
2101
- return `{${i}${r}${i}}`;
2102
- }
2103
- function Xr(e, t, n, r) {
2104
- let i = ``;
2105
- for (let a = 0, o = n.items.length; a < o; a += 1) {
2106
- let o = ``;
2107
- (!r || i !== ``) && (o += Gr(e, t));
2108
- let { key: s, value: c } = n.items[a], l = (s.kind === `mapping` || s.kind === `sequence`) && s.style === x.BLOCK && s.items.length !== 0 || s.kind === `scalar` && (s.style === b.LITERAL_BLOCK || s.style === b.FOLDED_BLOCK), u = l ? $(e, t + 1, s, n, {
2109
- block: !0,
2110
- compact: !0,
2111
- isblockseq: !Zr(e, s, t + 1)
2112
- }) : $(e, t + 1, s, n, {
2113
- block: !0,
2114
- compact: !0,
2115
- iskey: !0
2116
- }), d = u.text, f = s.kind === `scalar` && s.value.indexOf(`
2117
- `) !== -1, p = d.length > 1024 && /^[\s\S]{1025}/u.test(d), m = l || f || p;
2118
- m && (d && Q === d.charCodeAt(0) ? o += `?` : o += `? `), o += d, m && (o += Gr(e, t));
2119
- let h = $(e, t + 1, c, n, {
2120
- block: !0,
2121
- compact: m,
2122
- isblockseq: m && !Zr(e, c, t + 1)
2123
- }).text, ee = s.kind === `scalar` && u.noBody && (s.tagged || s.anchor !== void 0), te = !m && (s.kind === `alias` || ee) ? ` ` : ``;
2124
- h === `` || Q === h.charCodeAt(0) ? o += `${te}:` : o += `${te}: `, o += h, i += o;
2125
- }
2126
- return i;
2127
- }
2128
- function Zr(e, t, n) {
2129
- return t.kind === `alias` || t.tagged || t.anchor !== void 0 || e.indent < 2 && n > 0;
2130
- }
2131
- function $(e, t, n, r, i) {
2132
- if (n.kind === `alias`) return e.openEnded = !1, {
2133
- text: `*${n.anchor}`,
2134
- noBody: !1
2135
- };
2136
- let { block: a = !1, iskey: o = !1, isblockseq: s = !1 } = i, c = i.compact ?? !1, l = n.anchor !== void 0;
2137
- Zr(e, n, t) && (c = !1);
2138
- let u, d = n.tagged, f = a && (n.kind === `mapping` || n.kind === `sequence`) && n.style === x.BLOCK && n.items.length !== 0;
2139
- if (n.kind === `mapping`) u = f ? Xr(e, t, n, c) : Yr(e, t, n);
2140
- else if (n.kind === `sequence`) u = f ? e.seqNoIndent && !s && t > 0 ? Jr(e, t - 1, n, c) : Jr(e, t, n, c) : qr(e, t, n);
2141
- else {
2142
- let i = Kr(e, n, r, t, o, !a);
2143
- wr(i);
2144
- for (let t of e.scalarStyleRules) t(i);
2145
- u = Tr(i), e.openEnded = (i.style === b.LITERAL_BLOCK || i.style === b.FOLDED_BLOCK) && (n.value === `
2146
- ` || n.value.endsWith(`
2147
-
2148
- `)), d = n.tagged || u === `` && i.flowOnly && r?.kind === `sequence` && !l || i.style !== b.PLAIN && n.tag !== e.defaultScalarTagName;
2149
- }
2150
- (n.kind === `mapping` || n.kind === `sequence`) && !f && (e.openEnded = !1), f && c && t > 0 && e.indent > 2 && (u = `${` `.repeat(e.indent - 2)}${u}`);
2151
- let p = u === ``, m = u;
2152
- if (d || l) {
2153
- let t = [], r = d ? Ur(n) : null, i = l ? `&${n.anchor}` : null;
2154
- e.tagBeforeAnchor ? (r !== null && t.push(r), i !== null && t.push(i)) : (i !== null && t.push(i), r !== null && t.push(r));
2155
- let a = u === `` || u.charCodeAt(0) === Q ? `` : ` `;
2156
- m = `${t.join(` `)}${a}${u}`;
2157
- }
2158
- return {
2159
- text: m,
2160
- noBody: p
2161
- };
2162
- }
2163
- function Qr(e) {
2164
- return (e.kind === `sequence` || e.kind === `mapping`) && e.style === x.BLOCK && e.items.length !== 0 && !e.tagged && e.anchor === void 0;
2165
- }
2166
- function $r(e) {
2167
- let t = ``;
2168
- for (let n of e.directives) {
2169
- if (n.kind === `yaml`) {
2170
- t += `%YAML ${n.version}\n`;
2171
- continue;
2172
- }
2173
- let { handle: e, prefix: r } = n;
2174
- t += `%TAG ${e} ${r}\n`;
2175
- }
2176
- return t;
2177
- }
2178
- function ei(e, t) {
2179
- let n = Wr(t), r = ``, i = !1;
2180
- for (let t = 0; t < e.length; t += 1) {
2181
- let a = e[t];
2182
- n.openEnded = !1;
2183
- let o = $r(a), s = o !== ``, c = a.explicitStart || s || t > 0 && !i;
2184
- if (r += o, a.contents === null) c && (r += `---
2185
- `);
2186
- else if (c) {
2187
- let e = $(n, 0, a.contents, null, {
2188
- block: !0,
2189
- compact: !0
2190
- }).text, t = e === `` ? `` : s || Qr(a.contents) ? `
2191
- ` : ` `;
2192
- r += `---${t}${e}\n`;
2193
- } else r += $(n, 0, a.contents, null, {
2194
- block: !0,
2195
- compact: !0
2196
- }).text + `
2197
- `;
2198
- i = a.explicitEnd || n.openEnded, i && (r += `...
2199
- `);
2200
- }
2201
- return r;
2202
- }
2203
- var ti = {
2204
- ...Hr,
2205
- schema: $e,
2206
- skipInvalid: !1,
2207
- noRefs: !1,
2208
- flowLevel: -1,
2209
- sortKeys: !1,
2210
- transform: () => {}
2211
- };
2212
- function ni(e, t) {
2213
- let n = String(e), r = String(t);
2214
- return n < r ? -1 : +(n > r);
2215
- }
2216
- function ri(e, t = {}) {
2217
- let n = {
2218
- ...ti,
2219
- ...t
2220
- }, r = kn(e, n.schema, {
2221
- noRefs: n.noRefs,
2222
- skipInvalid: n.skipInvalid
2223
- });
2224
- if (n.flowLevel >= 0 && Mn(r, (e, t) => {
2225
- if (!(t.depth < n.flowLevel)) return (e.kind === `sequence` || e.kind === `mapping`) && (e.style = x.FLOW), jn;
2226
- }), n.sortKeys) {
2227
- let e = n.sortKeys === !0 ? ni : n.sortKeys;
2228
- Mn(r, (t) => {
2229
- t.kind === `mapping` && t.items.sort((t, n) => e(t.key.kind === `scalar` ? t.key.value : ``, n.key.kind === `scalar` ? n.key.value : ``));
2230
- });
2231
- }
2232
- return n.transform(r), ei(r, {
2233
- ...Ue(n, Object.keys(Hr)),
2234
- schema: n.schema
2235
- });
2236
- }
2237
- y.DOCUMENT, y.SEQUENCE, y.MAPPING, y.SCALAR, y.ALIAS, y.POP, b.PLAIN, b.SINGLE_QUOTED, b.DOUBLE_QUOTED, b.LITERAL_BLOCK, b.FOLDED_BLOCK, x.BLOCK, x.FLOW, S.CLIP, S.STRIP, S.KEEP;
2238
- //#endregion
2239
- //#region ../../node_modules/.pnpm/confbox@0.3.1/node_modules/confbox/dist/yaml.mjs
2240
- function o(e, r) {
2241
- let i = En(i$1(e), r);
2242
- return o$2(e, i, r), i;
2243
- }
2244
- function s(t, n) {
2245
- let r = s$2(t, { preserveIndentation: !1 }), o = ri(t, {
2246
- indent: typeof r.indent == `string` ? r.indent.length : r.indent,
2247
- ...n
2248
- });
2249
- return r.whitespace.start + o.trim() + r.whitespace.end;
2250
- }
2251
- //#endregion
2252
- export { o as parseYAML, s as stringifyYAML };