@cimplify/sdk 0.109.0 → 0.111.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 (377) hide show
  1. package/CHANGELOG.md +54 -0
  2. package/README.md +18 -0
  3. package/dist/advanced.d.mts +4 -4
  4. package/dist/advanced.d.ts +4 -4
  5. package/dist/advanced.js +22 -22
  6. package/dist/advanced.mjs +3 -3
  7. package/dist/{audio-XU2sFNyO.d.mts → audio-DhvyjqdA.d.mts} +2 -2
  8. package/dist/{audio-8Igdy2WK.d.ts → audio-m0w8cnxq.d.ts} +2 -2
  9. package/dist/avatars.js +21 -21
  10. package/dist/avatars.mjs +3 -3
  11. package/dist/{backend-L4d_Ha0J.d.mts → backend-gUCzs5Kg.d.mts} +16 -2
  12. package/dist/{backend-L4d_Ha0J.d.ts → backend-gUCzs5Kg.d.ts} +16 -2
  13. package/dist/{catalogue-DLLsfuNg.d.ts → catalogue-1QcoGDO6.d.ts} +2 -2
  14. package/dist/{catalogue-BeBFWlHF.d.mts → catalogue-FdFQiWrU.d.mts} +2 -2
  15. package/dist/{chunk-HF2MZKP2.mjs → chunk-22BD3RHN.mjs} +6 -3
  16. package/dist/{chunk-B54P6RL2.js → chunk-2AQ237Y4.js} +30 -30
  17. package/dist/{chunk-W3VVG4NL.js → chunk-2O2CG465.js} +14 -2
  18. package/dist/{chunk-UPHTPBNQ.mjs → chunk-2QTQ6BUH.mjs} +1 -1
  19. package/dist/{chunk-BS65NRDW.js → chunk-3S6WPBZL.js} +16 -16
  20. package/dist/{chunk-PEZYNYJE.js → chunk-3TUOUP5T.js} +3 -3
  21. package/dist/{chunk-EB6EAOM5.mjs → chunk-3VEH23I5.mjs} +7 -10
  22. package/dist/{chunk-SYEO2WV4.mjs → chunk-42JTCWIE.mjs} +3 -3
  23. package/dist/{chunk-FB6YH2WW.js → chunk-4C7I3ELN.js} +4 -4
  24. package/dist/{chunk-UQYO3OM7.js → chunk-4ZDR72SG.js} +1 -2
  25. package/dist/{chunk-HPKKCUHU.js → chunk-52YS45RR.js} +13 -13
  26. package/dist/{chunk-6YVELDFK.mjs → chunk-5BYDGGWO.mjs} +1 -1
  27. package/dist/{chunk-YN24DET4.js → chunk-5HFMY3D7.js} +10 -10
  28. package/dist/{chunk-4CVB2ZTC.js → chunk-5LH2QN3T.js} +32 -29
  29. package/dist/{chunk-4A24F4ZV.mjs → chunk-5YFBGGCK.mjs} +4 -1
  30. package/dist/{chunk-NLAT3DB2.mjs → chunk-6DAEZKIG.mjs} +1 -1
  31. package/dist/{chunk-F6CHJXXK.mjs → chunk-6DATW7TB.mjs} +3 -3
  32. package/dist/{chunk-4RYATNVK.mjs → chunk-6H254EVP.mjs} +6 -11
  33. package/dist/{chunk-32U4BVJA.mjs → chunk-6PJWXIFX.mjs} +1 -1
  34. package/dist/{chunk-OMTVH334.js → chunk-6QANXRUM.js} +203 -186
  35. package/dist/{chunk-BHAGIIBI.js → chunk-6WUBSMTX.js} +82 -85
  36. package/dist/{chunk-EPYFN2A3.js → chunk-7AAIAVAA.js} +24 -20
  37. package/dist/{chunk-HZC27ICH.mjs → chunk-7BHW5GTC.mjs} +3 -3
  38. package/dist/{chunk-MB425DVA.mjs → chunk-7IQQQENP.mjs} +2 -2
  39. package/dist/{chunk-DJUUL67Z.js → chunk-7KFTYENS.js} +296 -296
  40. package/dist/{chunk-XLQSNQMP.js → chunk-7SM6XSPZ.js} +339 -339
  41. package/dist/{chunk-NBH64BDP.mjs → chunk-A33OORT7.mjs} +13 -1
  42. package/dist/{chunk-G2SXLGFY.js → chunk-A7BU3BK4.js} +7 -7
  43. package/dist/{chunk-ZNWS7NOW.mjs → chunk-A7V4L2IT.mjs} +2 -2
  44. package/dist/{chunk-O3SITS4R.mjs → chunk-AGV33FWC.mjs} +4 -4
  45. package/dist/{chunk-Z2DE3EHS.js → chunk-AHNR3BXI.js} +7 -7
  46. package/dist/{chunk-UQ4BHMLS.mjs → chunk-AQ5RLBU2.mjs} +5 -5
  47. package/dist/{chunk-J4HU2YQB.js → chunk-AQOE6WCG.js} +2 -2
  48. package/dist/{chunk-X57B7VQC.js → chunk-AYJPHKYV.js} +22 -22
  49. package/dist/{chunk-6XTWY6MH.js → chunk-AZAXD44P.js} +126 -42
  50. package/dist/{chunk-6ETDAU62.mjs → chunk-B45X3HPO.mjs} +98 -39
  51. package/dist/{chunk-QDW4EPWS.mjs → chunk-BBGKQIJJ.mjs} +1 -1
  52. package/dist/{chunk-NHYTO4VU.js → chunk-BP4JLSUA.js} +111 -120
  53. package/dist/{chunk-7INQVOHY.mjs → chunk-BU6OK542.mjs} +25 -8
  54. package/dist/{chunk-MKIJQL5Q.js → chunk-CJVEJPIG.js} +69 -69
  55. package/dist/{chunk-W23VX5MY.js → chunk-CVSRWM6W.js} +5 -5
  56. package/dist/{chunk-A7DK7QAG.mjs → chunk-CYBMFMJD.mjs} +1 -1
  57. package/dist/{chunk-BOTUAHP2.mjs → chunk-DS2VU4WW.mjs} +5 -20
  58. package/dist/{chunk-HMMFNLXZ.js → chunk-DSAG7T5P.js} +2 -2
  59. package/dist/{chunk-7GG4KNTL.mjs → chunk-E65WCTIG.mjs} +8 -4
  60. package/dist/{chunk-WXDVEXTW.mjs → chunk-ECDK6QBF.mjs} +1 -1
  61. package/dist/{chunk-5IRV36MS.mjs → chunk-EIB4OWVQ.mjs} +1 -1
  62. package/dist/{chunk-JLJ4FD5H.js → chunk-EQUZYCGO.js} +18 -18
  63. package/dist/{chunk-Q2Y3VMKH.js → chunk-ETZDIISN.js} +151 -151
  64. package/dist/{chunk-AKTWH3KJ.mjs → chunk-F3UJ6ZRM.mjs} +2 -2
  65. package/dist/{chunk-J6HRY5EQ.js → chunk-F63N2ZTQ.js} +232 -232
  66. package/dist/{chunk-MUEFTPNN.js → chunk-FE6VCE4K.js} +34 -34
  67. package/dist/{chunk-GCKWKLZF.mjs → chunk-FT6GFYJL.mjs} +17 -3
  68. package/dist/{chunk-2UYTS7SL.mjs → chunk-GCX7TY4D.mjs} +16 -16
  69. package/dist/{chunk-QDLMIHUH.js → chunk-GDB6TCSD.js} +7 -7
  70. package/dist/{chunk-7S7LDFGH.js → chunk-GDZT5LZ5.js} +12 -12
  71. package/dist/{chunk-TB2LS4CE.mjs → chunk-GHS6MIL6.mjs} +7 -11
  72. package/dist/{chunk-7OHZ56N7.mjs → chunk-GXKI64OT.mjs} +4 -4
  73. package/dist/{chunk-HRSIIDOZ.js → chunk-H3OQKK6X.js} +41 -41
  74. package/dist/{chunk-56BM75QX.js → chunk-H5DFSCJ6.js} +2 -2
  75. package/dist/{chunk-LMK775I4.mjs → chunk-HAGEIC2L.mjs} +1 -1
  76. package/dist/{chunk-6FZDMICK.js → chunk-HAJ4JRFO.js} +15 -15
  77. package/dist/{chunk-AWR2G5QN.js → chunk-HDR72GB6.js} +6 -11
  78. package/dist/{chunk-PTT6KIM6.js → chunk-HSEO6TPU.js} +9 -9
  79. package/dist/{chunk-CQSA2D2O.js → chunk-I5FOHCLH.js} +4 -31
  80. package/dist/{chunk-TMFB55IR.js → chunk-J2U6PJSO.js} +3 -30
  81. package/dist/{chunk-W77VO6LP.js → chunk-J5AJNY2N.js} +13 -13
  82. package/dist/{chunk-UKA7LHIT.js → chunk-JR3TNEQC.js} +98 -98
  83. package/dist/{chunk-P2O34BIO.mjs → chunk-JURRXY2J.mjs} +1 -1
  84. package/dist/{chunk-PKMVOVUA.mjs → chunk-K3HW5I2A.mjs} +1 -1
  85. package/dist/{chunk-BXUGKBMK.mjs → chunk-KDQOR4QQ.mjs} +1 -14
  86. package/dist/{chunk-KVZSYGTX.mjs → chunk-KGHJH5KJ.mjs} +1 -1
  87. package/dist/{chunk-3AKWZF3X.mjs → chunk-KK6HYVBI.mjs} +1 -1
  88. package/dist/{chunk-K6GK5B5J.js → chunk-KMKWGXMK.js} +6 -6
  89. package/dist/{chunk-EH4UG7IL.mjs → chunk-KU7O4IXU.mjs} +4 -4
  90. package/dist/{chunk-IHRMR3WV.mjs → chunk-KVFNRJOR.mjs} +9 -9
  91. package/dist/{chunk-A36JRXXH.mjs → chunk-KWZHIPRN.mjs} +26 -9
  92. package/dist/{chunk-HBZQ5HSV.mjs → chunk-LIV3KXJG.mjs} +1 -1
  93. package/dist/{chunk-S75PBSSL.mjs → chunk-ME6HGG4I.mjs} +92 -8
  94. package/dist/{chunk-SNNEOS5Z.js → chunk-MHDUUSG6.js} +75 -75
  95. package/dist/{chunk-FKYZCXFM.js → chunk-MIPO6F72.js} +3 -3
  96. package/dist/{chunk-MFWIHTEN.js → chunk-MTIHEW2M.js} +5 -5
  97. package/dist/{chunk-UCR5HRYM.js → chunk-NFXCKTE2.js} +17 -3
  98. package/dist/{chunk-M53GR3ZV.mjs → chunk-NHJUGZUR.mjs} +43 -5
  99. package/dist/{chunk-FAYK2MN6.js → chunk-NZTKLY2W.js} +14 -18
  100. package/dist/{chunk-EQW6PFC2.js → chunk-O2ICABUD.js} +2 -2
  101. package/dist/{chunk-5PW6DVHF.js → chunk-OIVVQQ22.js} +55 -37
  102. package/dist/{chunk-GBJ5CW3A.js → chunk-PKOZXD2Q.js} +30 -30
  103. package/dist/{chunk-NGN3JE5A.js → chunk-PQTQKNKD.js} +16 -7
  104. package/dist/{chunk-DFZWHNRG.js → chunk-QOCHWR4V.js} +105 -42
  105. package/dist/{chunk-PCVVQNBD.js → chunk-QS6TRHMR.js} +5 -5
  106. package/dist/{chunk-DXZZ27CV.js → chunk-RKBLPGPV.js} +245 -207
  107. package/dist/{chunk-765P2G7G.mjs → chunk-RUVGVNOF.mjs} +1 -1
  108. package/dist/{chunk-NJ7ZWH4U.mjs → chunk-SAFJIGYB.mjs} +1 -1
  109. package/dist/{chunk-AOPH2IZV.js → chunk-SKQFLBDD.js} +60 -22
  110. package/dist/{chunk-BUUA5XJV.js → chunk-TWM6DLYF.js} +2 -2
  111. package/dist/{chunk-YPL5TKI4.mjs → chunk-U6UVWEAK.mjs} +1 -1
  112. package/dist/{chunk-6YQDHXPL.mjs → chunk-UCEPNO6N.mjs} +46 -9
  113. package/dist/{chunk-U7RULAEP.mjs → chunk-UG5BTOTF.mjs} +2 -2
  114. package/dist/{chunk-MITGBWV7.mjs → chunk-UGH37BQW.mjs} +1 -1
  115. package/dist/{chunk-IZDWAL53.mjs → chunk-UJDQQTBS.mjs} +8 -8
  116. package/dist/{chunk-URRZ2SMI.mjs → chunk-V7ZRH3PY.mjs} +2 -2
  117. package/dist/{chunk-3H76N7G5.mjs → chunk-VBGHBL3E.mjs} +8 -17
  118. package/dist/{chunk-AZC2LTUI.js → chunk-VVE3Y76O.js} +2 -2
  119. package/dist/{chunk-BRAA7U3I.mjs → chunk-W65JIRI4.mjs} +1 -1
  120. package/dist/{chunk-KU4EDEKA.js → chunk-WKWTDZS7.js} +9 -9
  121. package/dist/{chunk-BTUSVHIE.mjs → chunk-WLSU5QJT.mjs} +2 -2
  122. package/dist/{chunk-NTTHAXHI.js → chunk-X5A5FOWW.js} +11 -8
  123. package/dist/{chunk-ODL55PYL.mjs → chunk-XD2PMH46.mjs} +16 -7
  124. package/dist/{chunk-OADW5BSV.js → chunk-XK6UDWJS.js} +2 -2
  125. package/dist/{chunk-7ZTEVNXO.mjs → chunk-Y65LXQGA.mjs} +8 -8
  126. package/dist/{chunk-Z3PGQRTX.mjs → chunk-Y66WVMO5.mjs} +3 -30
  127. package/dist/{chunk-VZAJDN5C.mjs → chunk-Y7JWLB25.mjs} +1 -1
  128. package/dist/{chunk-ZJGPD42I.js → chunk-YCDXAJKU.js} +3 -3
  129. package/dist/{chunk-NCTLCSLE.mjs → chunk-Z3A3AFVU.mjs} +1 -1
  130. package/dist/{chunk-AEEF3T2E.mjs → chunk-ZCY6YKKP.mjs} +3 -3
  131. package/dist/{chunk-M5FWHML6.js → chunk-ZMIL4ZOA.js} +5 -18
  132. package/dist/{chunk-D3JMTFOX.mjs → chunk-ZR5ULMN2.mjs} +1 -1
  133. package/dist/{client-C9hsiaki.d.ts → client-CChON4-x.d.ts} +2 -2
  134. package/dist/{client-CO8lw80Q.d.mts → client-EeuGm5gj.d.mts} +2 -2
  135. package/dist/{courier-CJasuxTU.d.ts → courier-Cnn-edJ4.d.ts} +5 -5
  136. package/dist/{courier-C2Vo2VlH.d.mts → courier-FmGfkvIN.d.mts} +5 -5
  137. package/dist/{crowd-D1ljcic8.d.ts → crowd-DdHFbqKK.d.ts} +1 -1
  138. package/dist/{crowd-B37S1apB.d.mts → crowd-hOVSAmA3.d.mts} +1 -1
  139. package/dist/{danfo-BsaPzhGi.d.mts → danfo-BEBapFlX.d.mts} +3 -3
  140. package/dist/{danfo-CCv23CPy.d.ts → danfo-UQ_PTIIx.d.ts} +3 -3
  141. package/dist/{elements-Bsfk7CPw.d.ts → elements-ss9xZgRg.d.mts} +47 -1
  142. package/dist/{elements-Bsfk7CPw.d.mts → elements-ss9xZgRg.d.ts} +47 -1
  143. package/dist/engines/godot.d.mts +1 -1
  144. package/dist/engines/godot.d.ts +1 -1
  145. package/dist/engines/wasm.d.mts +1 -1
  146. package/dist/engines/wasm.d.ts +1 -1
  147. package/dist/fallback-KDB4Y2CE.mjs +6 -0
  148. package/dist/fallback-Y26TQENE.js +19 -0
  149. package/dist/{five-a-side-DP84gMuh.d.mts → five-a-side-Bv1AOUy3.d.mts} +4 -4
  150. package/dist/{five-a-side-DO8SDqMb.d.ts → five-a-side-EC51SJY1.d.ts} +4 -4
  151. package/dist/{fluid-BkxNBD2t.d.ts → fluid-ARr0qUIL.d.ts} +168 -4
  152. package/dist/{fluid-BZ42EMds.d.mts → fluid-DLlEj2cs.d.mts} +168 -4
  153. package/dist/game/conformance.d.mts +7 -7
  154. package/dist/game/conformance.d.ts +7 -7
  155. package/dist/game/conformance.js +39 -41
  156. package/dist/game/conformance.mjs +17 -19
  157. package/dist/game/heap.d.mts +3 -3
  158. package/dist/game/heap.d.ts +3 -3
  159. package/dist/game/heap.js +13 -15
  160. package/dist/game/heap.mjs +4 -6
  161. package/dist/game/kit/canvas.d.mts +33 -34
  162. package/dist/game/kit/canvas.d.ts +33 -34
  163. package/dist/game/kit/canvas.js +569 -570
  164. package/dist/game/kit/canvas.mjs +52 -53
  165. package/dist/game/kit/courier.d.mts +9 -9
  166. package/dist/game/kit/courier.d.ts +9 -9
  167. package/dist/game/kit/courier.js +20 -20
  168. package/dist/game/kit/courier.mjs +17 -17
  169. package/dist/game/kit/danfo.d.mts +7 -7
  170. package/dist/game/kit/danfo.d.ts +7 -7
  171. package/dist/game/kit/danfo.js +30 -30
  172. package/dist/game/kit/danfo.mjs +15 -15
  173. package/dist/game/kit/engine.d.mts +12 -12
  174. package/dist/game/kit/engine.d.ts +12 -12
  175. package/dist/game/kit/engine.js +40 -41
  176. package/dist/game/kit/engine.mjs +11 -12
  177. package/dist/game/kit/five-a-side.d.mts +7 -7
  178. package/dist/game/kit/five-a-side.d.ts +7 -7
  179. package/dist/game/kit/five-a-side.js +24 -24
  180. package/dist/game/kit/five-a-side.mjs +14 -14
  181. package/dist/game/kit/frontier.d.mts +7 -7
  182. package/dist/game/kit/frontier.d.ts +7 -7
  183. package/dist/game/kit/genesis.d.mts +7 -7
  184. package/dist/game/kit/genesis.d.ts +7 -7
  185. package/dist/game/kit/ludo.d.mts +8 -8
  186. package/dist/game/kit/ludo.d.ts +8 -8
  187. package/dist/game/kit/ludo.js +24 -24
  188. package/dist/game/kit/ludo.mjs +14 -14
  189. package/dist/game/kit/runner.d.mts +8 -8
  190. package/dist/game/kit/runner.d.ts +8 -8
  191. package/dist/game/kit/runner.js +22 -22
  192. package/dist/game/kit/runner.mjs +14 -14
  193. package/dist/game/kit/shootout.d.mts +9 -9
  194. package/dist/game/kit/shootout.d.ts +9 -9
  195. package/dist/game/kit/shootout.js +33 -34
  196. package/dist/game/kit/shootout.mjs +18 -19
  197. package/dist/game/kit/tycoon.d.mts +9 -9
  198. package/dist/game/kit/tycoon.d.ts +9 -9
  199. package/dist/game/kit/tycoon.js +38 -38
  200. package/dist/game/kit/tycoon.mjs +14 -14
  201. package/dist/game/kit/word.d.mts +7 -7
  202. package/dist/game/kit/word.d.ts +7 -7
  203. package/dist/game/kit/word.js +22 -22
  204. package/dist/game/kit/word.mjs +14 -14
  205. package/dist/game/kit/worlds.d.mts +10 -10
  206. package/dist/game/kit/worlds.d.ts +10 -10
  207. package/dist/game/kit/worlds.js +22 -22
  208. package/dist/game/kit/worlds.mjs +17 -17
  209. package/dist/game/kit.d.mts +31 -32
  210. package/dist/game/kit.d.ts +31 -32
  211. package/dist/game/kit.js +523 -524
  212. package/dist/game/kit.mjs +38 -39
  213. package/dist/game/prepared.d.mts +6 -7
  214. package/dist/game/prepared.d.ts +6 -7
  215. package/dist/game/prepared.js +23 -24
  216. package/dist/game/prepared.mjs +12 -13
  217. package/dist/{game-BZAfgKV6.d.mts → game-Bx8onkhX.d.mts} +5 -97
  218. package/dist/{game-UoJWopvD.d.ts → game-fgQy2YIm.d.ts} +5 -97
  219. package/dist/game.d.mts +56 -18
  220. package/dist/game.d.ts +56 -18
  221. package/dist/game.js +922 -927
  222. package/dist/game.mjs +16 -17
  223. package/dist/{graphics-DNIAV5Mi.d.ts → graphics-C6YjWYvP.d.ts} +1 -1
  224. package/dist/{graphics-CGJDdtdT.d.mts → graphics-Dk2yQnYN.d.mts} +1 -1
  225. package/dist/{guest-CMCZeyh5.d.mts → guest-DrsA00XD.d.mts} +2 -7
  226. package/dist/{guest-CB458Hgw.d.ts → guest-wIdfoT05.d.ts} +2 -7
  227. package/dist/{hit-stop-D2Ca-i9-.d.mts → hit-stop-BKkVwTq7.d.mts} +1 -1
  228. package/dist/{hit-stop-Ca1OYk15.d.ts → hit-stop-D-8pPYnM.d.ts} +1 -1
  229. package/dist/{hot-B9BTmDz6.d.ts → hot-Crn9XpHJ.d.ts} +1 -1
  230. package/dist/{hot-B_L-GEHZ.d.mts → hot-DH3nOhQD.d.mts} +1 -1
  231. package/dist/{index-DPeyo938.d.ts → index-B8ybCKJI.d.ts} +3 -3
  232. package/dist/index-BB2gjVvA.d.mts +153 -0
  233. package/dist/index-BEfmBDAH.d.ts +153 -0
  234. package/dist/{index-D8ZDzms9.d.mts → index-DHjNHb1c.d.mts} +3 -3
  235. package/dist/{index-DFDeJxFQ.d.ts → index-DQK8sTfu.d.ts} +2 -2
  236. package/dist/{index-C76o9Pj4.d.mts → index-DSVkhRmW.d.mts} +2 -2
  237. package/dist/index.d.mts +8 -8
  238. package/dist/index.d.ts +8 -8
  239. package/dist/index.js +189 -177
  240. package/dist/index.mjs +8 -8
  241. package/dist/interactives-authoring.js +12 -1
  242. package/dist/interactives-authoring.mjs +12 -1
  243. package/dist/interactives-canvas.global.js +14 -39
  244. package/dist/interactives-guest.d.mts +2 -2
  245. package/dist/interactives-guest.d.ts +2 -2
  246. package/dist/interactives-guest.js +10 -10
  247. package/dist/interactives-guest.mjs +6 -6
  248. package/dist/interactives-jsc.global.js +4 -23
  249. package/dist/interactives-meters.d.mts +11 -11
  250. package/dist/interactives-meters.d.ts +11 -11
  251. package/dist/interactives-meters.js +65 -66
  252. package/dist/interactives-meters.mjs +17 -18
  253. package/dist/interactives-production.d.mts +5 -5
  254. package/dist/interactives-production.d.ts +5 -5
  255. package/dist/interactives-production.js +15 -16
  256. package/dist/interactives-production.mjs +3 -4
  257. package/dist/interactives-record.d.mts +3 -9
  258. package/dist/interactives-record.d.ts +3 -9
  259. package/dist/interactives-record.js +45 -65
  260. package/dist/interactives-record.mjs +19 -39
  261. package/dist/interactives-runtime.d.mts +3 -3
  262. package/dist/interactives-runtime.d.ts +3 -3
  263. package/dist/interactives-runtime.js +101 -105
  264. package/dist/interactives-runtime.mjs +6 -6
  265. package/dist/interactives-studio-kernel.global.js +1 -1
  266. package/dist/interactives-studio.d.mts +7 -7
  267. package/dist/interactives-studio.d.ts +7 -7
  268. package/dist/interactives-studio.js +136 -82
  269. package/dist/interactives-studio.mjs +65 -11
  270. package/dist/interactives-web.d.mts +14 -14
  271. package/dist/interactives-web.d.ts +14 -14
  272. package/dist/interactives-web.js +201 -198
  273. package/dist/interactives-web.mjs +33 -34
  274. package/dist/interactives.d.mts +7 -28
  275. package/dist/interactives.d.ts +7 -28
  276. package/dist/interactives.js +267 -313
  277. package/dist/interactives.mjs +26 -24
  278. package/dist/{juice-Dfgc1B1q.d.ts → juice-CoHxlpKA.d.ts} +1 -1
  279. package/dist/{juice-CsnrmTOk.d.mts → juice-DQztFS43.d.mts} +1 -1
  280. package/dist/{launch-CCsmv8HC.d.mts → launch-T2f4_Di4.d.mts} +6 -6
  281. package/dist/{launch-8W_Tojpz.d.ts → launch-d6oreMzR.d.ts} +6 -6
  282. package/dist/{local-DA_HpPOj.d.mts → local-D8_I6UeL.d.mts} +0 -5
  283. package/dist/{local-_mD0x-p_.d.ts → local-VZkqsCzR.d.ts} +0 -5
  284. package/dist/{ludo-BVHycBP-.d.ts → ludo-B8ClkDqr.d.ts} +4 -4
  285. package/dist/{ludo-BRaTcI3E.d.mts → ludo-BOuohQ-M.d.mts} +4 -4
  286. package/dist/mock/cli.mjs +25 -10
  287. package/dist/mock/library.js +25 -10
  288. package/dist/mock/library.mjs +25 -10
  289. package/dist/mock/msw.js +25 -10
  290. package/dist/mock/msw.mjs +25 -10
  291. package/dist/{native-CcMUV7rL.d.mts → native-BodxSh03.d.mts} +2 -2
  292. package/dist/{native-3f4Ht82c.d.ts → native-DUHMT8gA.d.ts} +2 -2
  293. package/dist/{online-CCy8pwOn.d.ts → online-XeymeM9s.d.ts} +1 -1
  294. package/dist/{online-smW2BO3Y.d.mts → online-d7W_Al9a.d.mts} +1 -1
  295. package/dist/{play-BhHHX1jD.d.ts → play-BRRlfLhX.d.ts} +5 -5
  296. package/dist/{play-Bn7NfGNE.d.mts → play-ClrMd_e8.d.mts} +5 -5
  297. package/dist/{policy-Dvnzg8ki.d.mts → policy-CCw8tXLm.d.mts} +19 -19
  298. package/dist/{policy-b3MVXMQu.d.ts → policy-CMqOSQIu.d.ts} +19 -19
  299. package/dist/{ports-CNeZdgVm.d.mts → ports-B_0v_P3A.d.mts} +1 -1
  300. package/dist/{ports-Vno6MDaR.d.ts → ports-CGU_3e_0.d.ts} +1 -1
  301. package/dist/{prefetch-BFg6lJyD.d.ts → prefetch-BHnicOQj.d.ts} +3 -3
  302. package/dist/{prefetch-BOoKX3qx.d.mts → prefetch-CBXgYacv.d.mts} +3 -3
  303. package/dist/{price-BIKJla_G.d.mts → price-B-w4PwHm.d.mts} +1 -1
  304. package/dist/{price-D1gE7Ek6.d.ts → price-BEvQFNJv.d.ts} +1 -1
  305. package/dist/react.d.mts +35 -27
  306. package/dist/react.d.ts +35 -27
  307. package/dist/react.js +276 -248
  308. package/dist/react.mjs +147 -119
  309. package/dist/{runner-BAG8EglP.d.ts → runner-CQcLL7By.d.ts} +6 -6
  310. package/dist/{runner-CKtKtIzc.d.mts → runner-D46Yj-wE.d.mts} +6 -6
  311. package/dist/{runtime-DfZp1Kwg.d.mts → runtime-BRWfkf_q.d.mts} +1 -8
  312. package/dist/{runtime-yHPgIJV-.d.ts → runtime-DyuBMkKM.d.ts} +1 -8
  313. package/dist/{scheduling-CnRAhWQL.d.ts → scheduling-D9WwOxbo.d.ts} +1 -1
  314. package/dist/{scheduling-lHyYoCa7.d.mts → scheduling-DDmrYCr-.d.mts} +1 -1
  315. package/dist/{server-DxcxjER1.d.ts → server-BiKwxvnf.d.ts} +2 -2
  316. package/dist/{server-lU3Sznd4.d.mts → server-DPdtl2dd.d.mts} +2 -2
  317. package/dist/server.d.mts +4 -4
  318. package/dist/server.d.ts +4 -4
  319. package/dist/server.js +10 -10
  320. package/dist/server.mjs +4 -4
  321. package/dist/{shootout-rK-oblpb.d.ts → shootout-BJZeX6FG.d.ts} +6 -6
  322. package/dist/{shootout-D998OWa-.d.mts → shootout-tcZd1Rxt.d.mts} +6 -6
  323. package/dist/styles.css +1 -1
  324. package/dist/{template-Byaueo34.d.mts → template-AhCdB1kW.d.mts} +3 -3
  325. package/dist/{template-BXE2L654.d.ts → template-BkEGVTQj.d.ts} +3 -3
  326. package/dist/{terrain-vgYkJPNx.d.ts → terrain-BMxEc6Oc.d.ts} +3 -3
  327. package/dist/{terrain-CR0NQZPl.d.mts → terrain-C-XC1Oui.d.mts} +3 -3
  328. package/dist/testing/msw.d.mts +3 -3
  329. package/dist/testing/msw.d.ts +3 -3
  330. package/dist/testing/msw.js +3 -3
  331. package/dist/testing/msw.mjs +2 -2
  332. package/dist/testing/suite.d.mts +6 -6
  333. package/dist/testing/suite.d.ts +6 -6
  334. package/dist/testing/suite.js +25 -25
  335. package/dist/testing/suite.mjs +6 -6
  336. package/dist/testing.d.mts +5 -5
  337. package/dist/testing.d.ts +5 -5
  338. package/dist/testing.js +117 -117
  339. package/dist/testing.mjs +7 -7
  340. package/dist/{tick-transport-Q_8syS8J.d.mts → tick-transport-C8QEh8Uw.d.mts} +1 -1
  341. package/dist/{tick-transport-xpMcMTs2.d.ts → tick-transport-UjHY3xK1.d.ts} +1 -1
  342. package/dist/{tree-BsXFWKQ6.d.mts → tree-C-Io2Hbx.d.mts} +1 -1
  343. package/dist/{tree-DW9x29Vv.d.ts → tree-CP_qSW4H.d.ts} +1 -1
  344. package/dist/{tycoon-BMAE5Wea.d.mts → tycoon-B5KHk2Xx.d.mts} +5 -5
  345. package/dist/{tycoon-dWvWTbE4.d.ts → tycoon-hmHo-3HX.d.ts} +5 -5
  346. package/dist/{types-AkQEePZo.d.mts → types-BQkxPwZP.d.mts} +1 -1
  347. package/dist/{types-BWaZJDla.d.ts → types-D_f6UUxM.d.ts} +1 -1
  348. package/dist/utils.d.mts +3 -3
  349. package/dist/utils.d.ts +3 -3
  350. package/dist/utils.js +44 -32
  351. package/dist/utils.mjs +2 -2
  352. package/dist/{weave-delivery-3G03LdMM.d.mts → weave-delivery-CW-Kstut.d.mts} +10 -1
  353. package/dist/{weave-delivery-3G03LdMM.d.ts → weave-delivery-CW-Kstut.d.ts} +10 -1
  354. package/dist/{web-C8B9uVx_.d.ts → web-Dss74a7v.d.ts} +7 -7
  355. package/dist/{web-BqSEfX2o.d.mts → web-f9ZQPoyw.d.mts} +7 -7
  356. package/dist/{weight-BDABC8cN.d.ts → weight-CPGjsgjV.d.ts} +3 -3
  357. package/dist/{weight-Cee73u3d.d.mts → weight-tF1ODR1p.d.mts} +3 -3
  358. package/dist/{word-DB2CcI9q.d.mts → word-BcX9Jcmv.d.mts} +3 -3
  359. package/dist/{word-C1Q8oXuy.d.ts → word-C7sVPLHm.d.ts} +3 -3
  360. package/dist/{world-Bmh7K4tQ.d.ts → world-PvILHDR1.d.ts} +1 -1
  361. package/dist/{world-CPEjuctH.d.mts → world-qekkXjJv.d.mts} +1 -1
  362. package/dist/{worlds-ShY5h6Z_.d.ts → worlds-Br2Pb0Cs.d.ts} +6 -6
  363. package/dist/{worlds-CQgN3GnR.d.mts → worlds-D5ydYr7d.d.mts} +6 -6
  364. package/package.json +5 -3
  365. package/registry/cart-summary.json +1 -1
  366. package/registry/chat-widget.json +1 -1
  367. package/registry/price.json +1 -1
  368. package/registry/product-customizer.json +1 -1
  369. package/registry/search-input.json +1 -1
  370. package/dist/chunk-2LKAOU3L.mjs +0 -96
  371. package/dist/chunk-UWPQL2IQ.js +0 -104
  372. package/dist/fallback-Q5YYIMVJ.js +0 -20
  373. package/dist/fallback-XGBE3RXC.mjs +0 -7
  374. package/dist/index-C3KORE2U.d.mts +0 -86
  375. package/dist/index-Cv_rL5X0.d.ts +0 -86
  376. package/dist/split-Di9wBpNx.d.mts +0 -68
  377. package/dist/split-Di9wBpNx.d.ts +0 -68
@@ -1,10 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var chunkHMMFNLXZ_js = require('./chunk-HMMFNLXZ.js');
3
+ var chunkDSAG7T5P_js = require('./chunk-DSAG7T5P.js');
4
4
  require('./chunk-LKV4LACG.js');
5
- require('./chunk-M5FWHML6.js');
6
- require('./chunk-CQSA2D2O.js');
7
- require('./chunk-UQYO3OM7.js');
5
+ require('./chunk-ZMIL4ZOA.js');
6
+ require('./chunk-4ZDR72SG.js');
8
7
  require('./chunk-6SWKWCMS.js');
9
8
  require('./chunk-JGBCIKJV.js');
10
9
 
@@ -1022,7 +1021,7 @@ function tableToPlain(value, depth = 0) {
1022
1021
  if (typeof value == "string" || typeof value == "number" || typeof value == "boolean")
1023
1022
  return value;
1024
1023
  if (typeof value == "bigint") return value.toString();
1025
- if (!(value instanceof chunkHMMFNLXZ_js.LuaTable) || depth > (16)) return null;
1024
+ if (!(value instanceof chunkDSAG7T5P_js.LuaTable) || depth > (16)) return null;
1026
1025
  let pair = [void 0, void 0], entries = [], key;
1027
1026
  for (; value.next(key, pair); )
1028
1027
  key = pair[0], entries.push([pair[0], pair[1]]);
@@ -1042,7 +1041,7 @@ function plainToTable(value, depth = 0) {
1042
1041
  if (typeof value == "string" || typeof value == "number" || typeof value == "boolean")
1043
1042
  return value;
1044
1043
  if (typeof value == "bigint") return value.toString();
1045
- let table = new chunkHMMFNLXZ_js.LuaTable();
1044
+ let table = new chunkDSAG7T5P_js.LuaTable();
1046
1045
  if (Array.isArray(value))
1047
1046
  return value.forEach((item, index) => table.set(index + 1, plainToTable(item, depth + 1))), table;
1048
1047
  if (typeof value == "object") {
@@ -1051,10 +1050,10 @@ function plainToTable(value, depth = 0) {
1051
1050
  }
1052
1051
  }
1053
1052
  function openProductionApi(state, session, now) {
1054
- let rt = state.rt, api = new chunkHMMFNLXZ_js.LuaTable(), next = 0;
1053
+ let rt = state.rt, api = new chunkDSAG7T5P_js.LuaTable(), next = 0;
1055
1054
  for (let call of PLUGIN_CALLS) {
1056
- let args = new chunkHMMFNLXZ_js.Args(rt, `${PLUGIN_GLOBAL}.${call}`);
1057
- chunkHMMFNLXZ_js.register(api, call, function(input) {
1055
+ let args = new chunkDSAG7T5P_js.Args(rt, `${PLUGIN_GLOBAL}.${call}`);
1056
+ chunkDSAG7T5P_js.register(api, call, function(input) {
1058
1057
  let count = arguments.length, plain = count === 0 || input === void 0 ? {} : tableToPlain(args.table(1, count, input)), request = call === "edit" && Array.isArray(plain) ? { changes: plain } : typeof plain == "object" && plain !== null && !Array.isArray(plain) ? plain : {}, reply = session.handle({ id: ++next, call, args: request }, now());
1059
1058
  return rt.n = 2, rt.r[1] = reply.ok ? void 0 : reply.error, reply.ok ? plainToTable(reply.result) : void 0;
1060
1059
  });
@@ -1069,7 +1068,7 @@ var PLUGIN_CHUNK = "plugin", DEFAULT_PLUGIN_BUDGET = 5e6, PLUGIN_BUDGET_MESSAGE
1069
1068
  }
1070
1069
  };
1071
1070
  function loaderFor(evaluate) {
1072
- return (bytecode) => evaluate(chunkHMMFNLXZ_js.compileBytecode(bytecode, { chunkname: PLUGIN_CHUNK }).source);
1071
+ return (bytecode) => evaluate(chunkDSAG7T5P_js.compileBytecode(bytecode, { chunkname: PLUGIN_CHUNK }).source);
1073
1072
  }
1074
1073
  var ProductionPlugin = class _ProductionPlugin {
1075
1074
  constructor(state, table, session, budget) {
@@ -1083,9 +1082,9 @@ var ProductionPlugin = class _ProductionPlugin {
1083
1082
  this.operations = names.sort();
1084
1083
  }
1085
1084
  static async open(options) {
1086
- let state = new chunkHMMFNLXZ_js.LuaState({ profile: "rive", seed: options.seed ?? 0 }), session = new PluginSession(options.target, options.author, options.manifest);
1085
+ let state = new chunkDSAG7T5P_js.LuaState({ profile: "rive", seed: options.seed ?? 0 }), session = new PluginSession(options.target, options.author, options.manifest);
1087
1086
  openProductionApi(state, session, options.now ?? (() => Date.now()));
1088
- let load = options.load ?? loaderFor(options.evaluate ?? chunkHMMFNLXZ_js.blobEvaluator()), factory;
1087
+ let load = options.load ?? loaderFor(options.evaluate ?? chunkDSAG7T5P_js.blobEvaluator()), factory;
1089
1088
  try {
1090
1089
  factory = await load(options.bytecode);
1091
1090
  } catch (error) {
@@ -1101,10 +1100,10 @@ var ProductionPlugin = class _ProductionPlugin {
1101
1100
  }
1102
1101
  if (!result.ok) throw new PluginLoadError(state.rt.tostringValue(result.error));
1103
1102
  let value = result.values[0], table;
1104
- if (value instanceof chunkHMMFNLXZ_js.LuaTable)
1103
+ if (value instanceof chunkDSAG7T5P_js.LuaTable)
1105
1104
  table = value;
1106
1105
  else if (typeof value == "function")
1107
- table = new chunkHMMFNLXZ_js.LuaTable(), table.set(SINGLE_OPERATION, value);
1106
+ table = new chunkDSAG7T5P_js.LuaTable(), table.set(SINGLE_OPERATION, value);
1108
1107
  else
1109
1108
  throw new PluginLoadError("a tool returns a table of operations");
1110
1109
  return new _ProductionPlugin(state, table, session, budget);
@@ -1125,9 +1124,9 @@ var ProductionPlugin = class _ProductionPlugin {
1125
1124
  }
1126
1125
  }
1127
1126
  static message(state, error) {
1128
- if (error instanceof chunkHMMFNLXZ_js.BudgetExceeded) return PLUGIN_BUDGET_MESSAGE;
1127
+ if (error instanceof chunkDSAG7T5P_js.BudgetExceeded) return PLUGIN_BUDGET_MESSAGE;
1129
1128
  let native = state.rt.native(error);
1130
- return native instanceof chunkHMMFNLXZ_js.LuaError ? state.rt.tostringValue(native.value) : native instanceof Error ? native.message : String(native);
1129
+ return native instanceof chunkDSAG7T5P_js.LuaError ? state.rt.tostringValue(native.value) : native instanceof Error ? native.message : String(native);
1131
1130
  }
1132
1131
  };
1133
1132
  function openProductionPlugin(options) {
@@ -1,8 +1,7 @@
1
- import { LuaTable, Args, register, LuaState, blobEvaluator, BudgetExceeded, LuaError, compileBytecode } from './chunk-VZAJDN5C.mjs';
1
+ import { LuaTable, Args, register, LuaState, blobEvaluator, BudgetExceeded, LuaError, compileBytecode } from './chunk-Y7JWLB25.mjs';
2
2
  import './chunk-MN3YETVN.mjs';
3
- import './chunk-BXUGKBMK.mjs';
4
- import './chunk-BOTUAHP2.mjs';
5
- import './chunk-URRZ2SMI.mjs';
3
+ import './chunk-KDQOR4QQ.mjs';
4
+ import './chunk-V7ZRH3PY.mjs';
6
5
  import './chunk-N4RGGDEL.mjs';
7
6
  import './chunk-25T4JHEA.mjs';
8
7
 
@@ -1,6 +1,5 @@
1
- import { D as DeferredCode } from './split-Di9wBpNx.mjs';
2
- import { g as CtxAssets, h as ProgressiveListener, i as ProgressiveLoad, e as PlatformEngineRuntime } from './local-DA_HpPOj.mjs';
3
- import { A as AssetSink, I as IndexedAsset, C as ChunkChannel, a as ChunkFailureName, b as ChunkPriority, F as FrameTouch, c as FrameTouchKind, M as MilestoneName, d as GuestProfile, G as GuestRuntime } from './guest-CMCZeyh5.mjs';
1
+ import { g as CtxAssets, h as ProgressiveListener, i as ProgressiveLoad, e as PlatformEngineRuntime } from './local-D8_I6UeL.mjs';
2
+ import { A as AssetSink, I as IndexedAsset, C as ChunkChannel, a as ChunkFailureName, b as ChunkPriority, F as FrameTouch, c as FrameTouchKind, M as MilestoneName, d as GuestProfile, G as GuestRuntime } from './guest-DrsA00XD.mjs';
4
3
  import { N as NetworkHint } from './network-ZXLD7l1b.mjs';
5
4
  import './link-BUTqGmyi.mjs';
6
5
  import './schema-BrWxzKp6.mjs';
@@ -89,11 +88,6 @@ declare class SteppedClock {
89
88
  private touches;
90
89
  private outstanding;
91
90
  heap: () => number;
92
- /** How often a split engine core has run deferred code so far. */
93
- deferred: () => number;
94
- private deferredSeen;
95
- /** Writes an instrumented engine core's split profile after each frame, when a profile is being captured. */
96
- profile: () => void;
97
91
  constructor(send: (bytes: Uint8Array, length: number) => void, defer: (work: () => void) => void);
98
92
  get frames(): number;
99
93
  requestAnimationFrame(callback: FrameListener): number;
@@ -112,7 +106,7 @@ declare class PipelineLog {
112
106
  collect(out: FrameTouch[]): void;
113
107
  }
114
108
  declare function recordingAssets(assets: PackageAssets, clock: SteppedClock): CtxAssets;
115
- declare function recordProfile(clock: SteppedClock, assets: PackageAssets, core: Promise<WebAssembly.Module>, mark: (name: MilestoneName) => void, heapPages?: () => number, deferred?: DeferredCode | null): GuestProfile;
109
+ declare function recordProfile(clock: SteppedClock, assets: PackageAssets, core: Promise<WebAssembly.Module>, mark: (name: MilestoneName) => void, heapPages?: () => number): GuestProfile;
116
110
  declare function startRecordGuest(scope: WorkerScope & Record<string, unknown>): GuestRuntime;
117
111
 
118
112
  export { PipelineLog, RECORD_SURFACE, SteppedClock, recordProfile, recordingAssets, startRecordGuest };
@@ -1,6 +1,5 @@
1
- import { D as DeferredCode } from './split-Di9wBpNx.js';
2
- import { g as CtxAssets, h as ProgressiveListener, i as ProgressiveLoad, e as PlatformEngineRuntime } from './local-_mD0x-p_.js';
3
- import { A as AssetSink, I as IndexedAsset, C as ChunkChannel, a as ChunkFailureName, b as ChunkPriority, F as FrameTouch, c as FrameTouchKind, M as MilestoneName, d as GuestProfile, G as GuestRuntime } from './guest-CB458Hgw.js';
1
+ import { g as CtxAssets, h as ProgressiveListener, i as ProgressiveLoad, e as PlatformEngineRuntime } from './local-VZkqsCzR.js';
2
+ import { A as AssetSink, I as IndexedAsset, C as ChunkChannel, a as ChunkFailureName, b as ChunkPriority, F as FrameTouch, c as FrameTouchKind, M as MilestoneName, d as GuestProfile, G as GuestRuntime } from './guest-wIdfoT05.js';
4
3
  import { N as NetworkHint } from './network-ZXLD7l1b.js';
5
4
  import './link-BUTqGmyi.js';
6
5
  import './schema-BrWxzKp6.js';
@@ -89,11 +88,6 @@ declare class SteppedClock {
89
88
  private touches;
90
89
  private outstanding;
91
90
  heap: () => number;
92
- /** How often a split engine core has run deferred code so far. */
93
- deferred: () => number;
94
- private deferredSeen;
95
- /** Writes an instrumented engine core's split profile after each frame, when a profile is being captured. */
96
- profile: () => void;
97
91
  constructor(send: (bytes: Uint8Array, length: number) => void, defer: (work: () => void) => void);
98
92
  get frames(): number;
99
93
  requestAnimationFrame(callback: FrameListener): number;
@@ -112,7 +106,7 @@ declare class PipelineLog {
112
106
  collect(out: FrameTouch[]): void;
113
107
  }
114
108
  declare function recordingAssets(assets: PackageAssets, clock: SteppedClock): CtxAssets;
115
- declare function recordProfile(clock: SteppedClock, assets: PackageAssets, core: Promise<WebAssembly.Module>, mark: (name: MilestoneName) => void, heapPages?: () => number, deferred?: DeferredCode | null): GuestProfile;
109
+ declare function recordProfile(clock: SteppedClock, assets: PackageAssets, core: Promise<WebAssembly.Module>, mark: (name: MilestoneName) => void, heapPages?: () => number): GuestProfile;
116
110
  declare function startRecordGuest(scope: WorkerScope & Record<string, unknown>): GuestRuntime;
117
111
 
118
112
  export { PipelineLog, RECORD_SURFACE, SteppedClock, recordProfile, recordingAssets, startRecordGuest };
@@ -1,30 +1,29 @@
1
1
  'use strict';
2
2
 
3
- var chunkX57B7VQC_js = require('./chunk-X57B7VQC.js');
4
- var chunkEQW6PFC2_js = require('./chunk-EQW6PFC2.js');
5
- var chunkFAYK2MN6_js = require('./chunk-FAYK2MN6.js');
3
+ var chunkAYJPHKYV_js = require('./chunk-AYJPHKYV.js');
4
+ var chunkO2ICABUD_js = require('./chunk-O2ICABUD.js');
5
+ var chunkNZTKLY2W_js = require('./chunk-NZTKLY2W.js');
6
6
  require('./chunk-FXVJ2HFU.js');
7
- require('./chunk-TMFB55IR.js');
8
- var chunkUWPQL2IQ_js = require('./chunk-UWPQL2IQ.js');
9
- require('./chunk-K6GK5B5J.js');
10
- var chunkW3VVG4NL_js = require('./chunk-W3VVG4NL.js');
11
- var chunkBHAGIIBI_js = require('./chunk-BHAGIIBI.js');
7
+ require('./chunk-J2U6PJSO.js');
8
+ require('./chunk-KMKWGXMK.js');
9
+ var chunk2O2CG465_js = require('./chunk-2O2CG465.js');
10
+ var chunk6WUBSMTX_js = require('./chunk-6WUBSMTX.js');
12
11
  require('./chunk-ZXREOYOW.js');
13
- require('./chunk-7S7LDFGH.js');
14
- var chunkM5FWHML6_js = require('./chunk-M5FWHML6.js');
12
+ require('./chunk-GDZT5LZ5.js');
13
+ var chunkZMIL4ZOA_js = require('./chunk-ZMIL4ZOA.js');
15
14
  require('./chunk-QQABGCMM.js');
16
- require('./chunk-OADW5BSV.js');
15
+ require('./chunk-XK6UDWJS.js');
17
16
  require('./chunk-T7LOXGYX.js');
18
17
  require('./chunk-E2QPPH7I.js');
19
18
  require('./chunk-OLWFPDBK.js');
20
19
  require('./chunk-5SXDH3Y7.js');
21
20
  require('./chunk-VRBDAS5I.js');
21
+ require('./chunk-I5FOHCLH.js');
22
22
  require('./chunk-TJI3K6RP.js');
23
- var chunkCQSA2D2O_js = require('./chunk-CQSA2D2O.js');
24
23
  require('./chunk-ZJBRUH6V.js');
25
24
  require('./chunk-66QP3SMN.js');
26
25
  require('./chunk-WWKMOA76.js');
27
- var chunkUQYO3OM7_js = require('./chunk-UQYO3OM7.js');
26
+ var chunk4ZDR72SG_js = require('./chunk-4ZDR72SG.js');
28
27
  require('./chunk-T6Z2EXYL.js');
29
28
  require('./chunk-PDOELNNQ.js');
30
29
  require('./chunk-J2KZXIU3.js');
@@ -46,12 +45,6 @@ var RECORD_SURFACE = { width: 390, height: 844, pixel_ratio: 3 }, ED25519 = "Ed2
46
45
  this.touches = [];
47
46
  this.outstanding = 0;
48
47
  this.heap = () => 0;
49
- /** How often a split engine core has run deferred code so far. */
50
- this.deferred = () => 0;
51
- this.deferredSeen = 0;
52
- /** Writes an instrumented engine core's split profile after each frame, when a profile is being captured. */
53
- this.profile = () => {
54
- };
55
48
  this.pipelines = new PipelineLog();
56
49
  }
57
50
  get frames() {
@@ -73,29 +66,18 @@ var RECORD_SURFACE = { width: 390, height: 844, pixel_ratio: 3 }, ED25519 = "Ed2
73
66
  pending.then(settle, settle);
74
67
  }
75
68
  step() {
76
- let time = this.frame * chunkX57B7VQC_js.FIXED_STEP_MS, due = [...this.callbacks.values()];
69
+ let time = this.frame * chunkAYJPHKYV_js.FIXED_STEP_MS, due = [...this.callbacks.values()];
77
70
  this.callbacks.clear();
78
71
  for (let callback of due) callback(time);
79
72
  for (let surface of this.surfaces) surface(time);
80
73
  let frame = this.frame++;
81
74
  this.defer(() => {
82
- this.pipelines.collect(this.touches), this.profile();
83
- let deferred = this.deferred();
84
- deferred !== this.deferredSeen && (this.deferredSeen = deferred, this.touches.push({ path: `${chunkUQYO3OM7_js.DEFERRED_TOUCH_PREFIX}${deferred}`, kind: chunkUQYO3OM7_js.FrameTouchKind.deferred, priority: chunkUQYO3OM7_js.ChunkPriority.soon }));
85
- let bytes = chunkUQYO3OM7_js.encodeFrameMark({ frame, outstanding: this.outstanding, touches: this.touches, heap: this.heap() });
75
+ this.pipelines.collect(this.touches);
76
+ let bytes = chunk4ZDR72SG_js.encodeFrameMark({ frame, outstanding: this.outstanding, touches: this.touches, heap: this.heap() });
86
77
  this.touches = [], this.send(bytes, bytes.length);
87
78
  });
88
79
  }
89
- }, PROFILE_EXPORT = "__write_profile", PROFILE_BYTES = 1 << 20, PROFILE_ALIGN = 8;
90
- function splitProfileWriter(runtime) {
91
- let out = globalThis.process?.env?.[chunkCQSA2D2O_js.SPLIT_PROFILE_ENV], exports = runtime.exports, write = exports[PROFILE_EXPORT], bun = globalThis.Bun;
92
- return out === void 0 || typeof write != "function" || bun === void 0 ? () => {
93
- } : () => {
94
- let at = exports.engine_alloc(PROFILE_BYTES, (8)), length = write(at, PROFILE_BYTES), bytes = new Uint8Array(runtime.memory.buffer, at, length).slice();
95
- exports.engine_free(at, PROFILE_BYTES, (8)), bun.write(out, bytes);
96
- };
97
- }
98
- var PIPELINE_CAPACITY = 1024, PIPELINE_KEY_BYTES = 8, PIPELINE_KEY_HEX = 16, HEX = 16, RECORDING = 1, NO_POINTER = 0, PipelineLog = class {
80
+ }, PIPELINE_CAPACITY = 1024, PIPELINE_KEY_BYTES = 8, PIPELINE_KEY_HEX = 16, HEX = 16, RECORDING = 1, NO_POINTER = 0, PipelineLog = class {
99
81
  constructor() {
100
82
  this.exports = null;
101
83
  this.memory = null;
@@ -114,26 +96,26 @@ var PIPELINE_CAPACITY = 1024, PIPELINE_KEY_BYTES = 8, PIPELINE_KEY_HEX = 16, HEX
114
96
  if (count <= 0) return;
115
97
  let keys = new BigUint64Array(memory.buffer, this.pointer, Math.min(count, (1024)));
116
98
  for (let key of keys)
117
- this.seen.has(key) || (this.seen.add(key), out.push({ path: chunkUQYO3OM7_js.PIPELINE_TOUCH_PREFIX + key.toString((16)).padStart((16), "0"), kind: chunkUQYO3OM7_js.FrameTouchKind.pipeline, priority: chunkUQYO3OM7_js.ChunkPriority.now }));
99
+ this.seen.has(key) || (this.seen.add(key), out.push({ path: chunk4ZDR72SG_js.PIPELINE_TOUCH_PREFIX + key.toString((16)).padStart((16), "0"), kind: chunk4ZDR72SG_js.FrameTouchKind.pipeline, priority: chunk4ZDR72SG_js.ChunkPriority.now }));
118
100
  }
119
101
  };
120
102
  function recordingAssets(assets, clock) {
121
103
  return {
122
- take(asset, priority = chunkUQYO3OM7_js.ChunkPriority.now, stall) {
104
+ take(asset, priority = chunk4ZDR72SG_js.ChunkPriority.now, stall) {
123
105
  let pending = assets.take(asset, priority, stall);
124
- return clock.touch(asset, chunkUQYO3OM7_js.FrameTouchKind.take, priority, pending), pending;
106
+ return clock.touch(asset, chunk4ZDR72SG_js.FrameTouchKind.take, priority, pending), pending;
125
107
  },
126
- progressive(asset, listener, priority = chunkUQYO3OM7_js.ChunkPriority.now, refine) {
108
+ progressive(asset, listener, priority = chunk4ZDR72SG_js.ChunkPriority.now, refine) {
127
109
  let usable = () => {
128
110
  }, first = new Promise((resolve) => {
129
111
  usable = resolve;
130
112
  }), observed = (...output) => {
131
113
  usable(), listener?.(...output);
132
114
  }, load = assets.progressive(asset, observed, priority, refine);
133
- return load.done.then(usable, usable), clock.touch(asset, chunkUQYO3OM7_js.FrameTouchKind.progressive, priority, first), load;
115
+ return load.done.then(usable, usable), clock.touch(asset, chunk4ZDR72SG_js.FrameTouchKind.progressive, priority, first), load;
134
116
  },
135
- prefetch(asset, priority = chunkUQYO3OM7_js.ChunkPriority.prefetch) {
136
- return clock.touch(asset, chunkUQYO3OM7_js.FrameTouchKind.prefetch, priority, null), assets.prefetch(asset, priority);
117
+ prefetch(asset, priority = chunk4ZDR72SG_js.ChunkPriority.prefetch) {
118
+ return clock.touch(asset, chunk4ZDR72SG_js.FrameTouchKind.prefetch, priority, null), assets.prefetch(asset, priority);
137
119
  },
138
120
  isProgressive: (asset) => assets.isProgressive(asset),
139
121
  has: (asset) => assets.has(asset),
@@ -173,13 +155,13 @@ var HeadlessSurface = class {
173
155
  };
174
156
  function silentAudio() {
175
157
  let unavailable = (member) => () => {
176
- throw new chunkBHAGIIBI_js.GuestUnavailableError(member);
158
+ throw new chunk6WUBSMTX_js.GuestUnavailableError(member);
177
159
  };
178
160
  return {
179
161
  unlocked: false,
180
162
  unlock: () => Promise.resolve(false),
181
163
  bus: unavailable("audio.bus"),
182
- load: () => Promise.reject(new chunkBHAGIIBI_js.GuestUnavailableError("audio.load")),
164
+ load: () => Promise.reject(new chunk6WUBSMTX_js.GuestUnavailableError("audio.load")),
183
165
  play: unavailable("audio.play"),
184
166
  stop: unavailable("audio.stop")
185
167
  };
@@ -218,27 +200,25 @@ function boundAudio(platform) {
218
200
  let alloc = platform.runtime.exports.engine_alloc, silent = silentAudioExports(alloc), shaped = {};
219
201
  for (let [name, impl] of Object.entries(silent)) {
220
202
  let fn = (...args) => impl(...args);
221
- Object.defineProperty(fn, "length", { value: chunkW3VVG4NL_js.ENGINE_EXPORT_ARITY[name] ?? 0 }), shaped[name] = fn;
203
+ Object.defineProperty(fn, "length", { value: chunk2O2CG465_js.ENGINE_EXPORT_ARITY[name] ?? 0 }), shaped[name] = fn;
222
204
  }
223
205
  let exports = { ...platform.runtime.exports, ...shaped }, decode_audio = (_bytes, done) => done(new Float32Array((1) * (1)), (1), (48e3));
224
206
  return { kind: "engine", runtime: { ...platform.runtime, exports, decode_audio } };
225
207
  }
226
- function recordProfile(clock, assets, core, mark, heapPages = () => chunkEQW6PFC2_js.engineHeapPages(void 0), deferred = null) {
208
+ function recordProfile(clock, assets, core, mark, heapPages = () => chunkO2ICABUD_js.engineHeapPages(void 0)) {
227
209
  let platform = null;
228
210
  return {
229
211
  graphics: {
230
212
  get features() {
231
- throw new chunkBHAGIIBI_js.GuestUnavailableError("graphics.features");
213
+ throw new chunk6WUBSMTX_js.GuestUnavailableError("graphics.features");
232
214
  },
233
215
  engine() {
234
- return platform ?? (platform = core.then((module) => chunkFAYK2MN6_js.wasmPlatformEngine(module, { memoryPages: heapPages(), deferred })).then((engine) => {
216
+ return platform ?? (platform = core.then((module) => chunkNZTKLY2W_js.wasmPlatformEngine(module, { memoryPages: heapPages() })).then((engine) => {
235
217
  let peak = engine.kind === "engine" ? engine.runtime.exports.engine_heap_peak : void 0;
236
- typeof peak == "function" && (clock.heap = peak);
237
- let deferred2 = engine.kind === "engine" ? engine.runtime.deferred : null;
238
- return deferred2 != null && (clock.deferred = () => deferred2.hits), engine.kind === "engine" && (clock.profile = splitProfileWriter(engine.runtime)), boundAudio(engine);
218
+ return typeof peak == "function" && (clock.heap = peak), boundAudio(engine);
239
219
  })), platform;
240
220
  },
241
- acquire_surface: () => Promise.reject(new chunkBHAGIIBI_js.GuestUnavailableError("graphics.acquire_surface")),
221
+ acquire_surface: () => Promise.reject(new chunk6WUBSMTX_js.GuestUnavailableError("graphics.acquire_surface")),
242
222
  attach_engine: async (render) => {
243
223
  mark("attach_requested");
244
224
  let attached = await platform;
@@ -258,14 +238,14 @@ function startRecordGuest(scope) {
258
238
  }, subtle = crypto.subtle, fillRandom = crypto.getRandomValues.bind(crypto), now = Date.now, importer = (url) => import(
259
239
  /* @vite-ignore */
260
240
  url
261
- ), slice = new chunkBHAGIIBI_js.Slice(chunkBHAGIIBI_js.clockBudget(now)), send = (bytes, length) => {
241
+ ), slice = new chunk6WUBSMTX_js.Slice(chunk6WUBSMTX_js.clockBudget(now)), send = (bytes, length) => {
262
242
  let copy = bytes.slice(0, length);
263
243
  post(copy.buffer, [copy.buffer]);
264
244
  }, clock = new SteppedClock(send, defer), sendLogged = (bytes, length) => {
265
- bytes[0] === chunkUQYO3OM7_js.MessageTag.chunk_request && chunkUQYO3OM7_js.forEachChunkEntry(
245
+ bytes[0] === chunk4ZDR72SG_js.MessageTag.chunk_request && chunk4ZDR72SG_js.forEachChunkEntry(
266
246
  bytes.subarray(0, length),
267
- chunkUQYO3OM7_js.CHUNK_REQUEST_ENTRY_BYTES,
268
- (digest, priority) => clock.touch(chunkUQYO3OM7_js.CHUNK_TOUCH_PREFIX + digest, chunkUQYO3OM7_js.FrameTouchKind.chunk, priority, null)
247
+ chunk4ZDR72SG_js.CHUNK_REQUEST_ENTRY_BYTES,
248
+ (digest, priority) => clock.touch(chunk4ZDR72SG_js.CHUNK_TOUCH_PREFIX + digest, chunk4ZDR72SG_js.FrameTouchKind.chunk, priority, null)
269
249
  ), send(bytes, length);
270
250
  };
271
251
  scope.requestAnimationFrame = clock.requestAnimationFrame.bind(clock), scope.cancelAnimationFrame = clock.cancelAnimationFrame.bind(clock);
@@ -278,18 +258,18 @@ function startRecordGuest(scope) {
278
258
  on_message(listener) {
279
259
  listen("message", (event) => {
280
260
  let bytes = new Uint8Array(event.data);
281
- if (bytes[0] === chunkUQYO3OM7_js.MessageTag.frame_step) {
261
+ if (bytes[0] === chunk4ZDR72SG_js.MessageTag.frame_step) {
282
262
  clock.step();
283
263
  return;
284
264
  }
285
- listener(bytes), bytes[0] === chunkUQYO3OM7_js.MessageTag.start && defer(() => clock.step());
265
+ listener(bytes), bytes[0] === chunk4ZDR72SG_js.MessageTag.start && defer(() => clock.step());
286
266
  });
287
267
  }
288
268
  }, services = {
289
- linker: chunkM5FWHML6_js.commonJsLinker(chunkM5FWHML6_js.blobCompiler(chunkM5FWHML6_js.BLOB_URLS, importer)),
269
+ linker: chunkZMIL4ZOA_js.commonJsLinker(chunkZMIL4ZOA_js.blobCompiler(chunkZMIL4ZOA_js.BLOB_URLS, importer)),
290
270
  slice,
291
- harden: () => chunkBHAGIIBI_js.hardenGlobals(scope, () => slice.begin(), true),
292
- now_ms: () => clock.frames * chunkX57B7VQC_js.FIXED_STEP_MS,
271
+ harden: () => chunk6WUBSMTX_js.hardenGlobals(scope, () => slice.begin(), true),
272
+ now_ms: () => clock.frames * chunkAYJPHKYV_js.FIXED_STEP_MS,
293
273
  random_fill: (out) => {
294
274
  fillRandom(out);
295
275
  },
@@ -297,17 +277,17 @@ function startRecordGuest(scope) {
297
277
  let key = await subtle.importKey("raw", new Uint8Array(public_key), { name: ED25519 }, false, ["verify"]);
298
278
  return subtle.verify({ name: ED25519 }, key, new Uint8Array(signature), new Uint8Array(message));
299
279
  }
300
- }, assets = new chunkX57B7VQC_js.PackageAssets(), marks = { mark: () => {
301
- } }, heapPages = chunkEQW6PFC2_js.engineHeapPages(void 0), rest = chunkUWPQL2IQ_js.restArrival(), profile = recordProfile(clock, assets, core, (name) => marks.mark(name), () => heapPages, rest.code), runtime = new chunkBHAGIIBI_js.GuestRuntime({
280
+ }, assets = new chunkAYJPHKYV_js.PackageAssets(), marks = { mark: () => {
281
+ } }, heapPages = chunkO2ICABUD_js.engineHeapPages(void 0), profile = recordProfile(clock, assets, core, (name) => marks.mark(name), () => heapPages), runtime = new chunk6WUBSMTX_js.GuestRuntime({
302
282
  bridge,
303
283
  services,
304
284
  assets,
305
285
  on_boot: (boot) => {
306
- heapPages = chunkEQW6PFC2_js.engineHeapPages(boot.engine_heap_bytes);
286
+ heapPages = chunkO2ICABUD_js.engineHeapPages(boot.engine_heap_bytes);
307
287
  },
308
- ctx: (guest) => chunkBHAGIIBI_js.createGuestCtx(guest, profile),
288
+ ctx: (guest) => chunk6WUBSMTX_js.createGuestCtx(guest, profile),
309
289
  on_runtime_wasm: (unit, bytes) => {
310
- unit === chunkUQYO3OM7_js.ENGINE_CORE_UNIT && chunk6SWKWCMS_js.compileApproved(bytes.slice()).then(resolveCore, rejectCore), chunkCQSA2D2O_js.coreOfRest(unit) !== null && rest.arrive(bytes.slice());
290
+ unit === chunk4ZDR72SG_js.ENGINE_CORE_UNIT && chunk6SWKWCMS_js.compileApproved(bytes.slice()).then(resolveCore, rejectCore);
311
291
  }
312
292
  });
313
293
  return marks.mark = (name) => runtime.mark(name), runtime;
@@ -1,28 +1,27 @@
1
- import { PackageAssets, FIXED_STEP_MS } from './chunk-U7RULAEP.mjs';
2
- import { engineHeapPages } from './chunk-P2O34BIO.mjs';
3
- import { wasmPlatformEngine } from './chunk-TB2LS4CE.mjs';
1
+ import { PackageAssets, FIXED_STEP_MS } from './chunk-UG5BTOTF.mjs';
2
+ import { engineHeapPages } from './chunk-JURRXY2J.mjs';
3
+ import { wasmPlatformEngine } from './chunk-GHS6MIL6.mjs';
4
4
  import './chunk-GDCV4IWO.mjs';
5
- import './chunk-Z3PGQRTX.mjs';
6
- import { restArrival } from './chunk-2LKAOU3L.mjs';
7
- import './chunk-YPL5TKI4.mjs';
8
- import { ENGINE_EXPORT_ARITY } from './chunk-NBH64BDP.mjs';
9
- import { Slice, clockBudget, GuestRuntime, createGuestCtx, GuestUnavailableError, hardenGlobals } from './chunk-EB6EAOM5.mjs';
5
+ import './chunk-Y66WVMO5.mjs';
6
+ import './chunk-U6UVWEAK.mjs';
7
+ import { ENGINE_EXPORT_ARITY } from './chunk-A33OORT7.mjs';
8
+ import { Slice, clockBudget, GuestRuntime, createGuestCtx, hardenGlobals, GuestUnavailableError } from './chunk-3VEH23I5.mjs';
10
9
  import './chunk-5C3C7VDM.mjs';
11
- import './chunk-MITGBWV7.mjs';
12
- import { commonJsLinker, blobCompiler, BLOB_URLS } from './chunk-BXUGKBMK.mjs';
10
+ import './chunk-UGH37BQW.mjs';
11
+ import { commonJsLinker, blobCompiler, BLOB_URLS } from './chunk-KDQOR4QQ.mjs';
13
12
  import './chunk-LYEZZEEF.mjs';
14
- import './chunk-LMK775I4.mjs';
13
+ import './chunk-HAGEIC2L.mjs';
15
14
  import './chunk-K46SMZ66.mjs';
16
15
  import './chunk-OKC2B4O3.mjs';
17
16
  import './chunk-PPF2BYFL.mjs';
18
17
  import './chunk-WLMINRC4.mjs';
19
18
  import './chunk-RFVRPYR2.mjs';
19
+ import './chunk-DS2VU4WW.mjs';
20
20
  import './chunk-5YWN6H5Q.mjs';
21
- import { coreOfRest, SPLIT_PROFILE_ENV } from './chunk-BOTUAHP2.mjs';
22
21
  import './chunk-F6XRYEM3.mjs';
23
22
  import './chunk-OQRVEM56.mjs';
24
23
  import './chunk-SPCRQ6NO.mjs';
25
- import { ENGINE_CORE_UNIT, ChunkPriority, FrameTouchKind, DEFERRED_TOUCH_PREFIX, encodeFrameMark, MessageTag, forEachChunkEntry, CHUNK_REQUEST_ENTRY_BYTES, CHUNK_TOUCH_PREFIX, PIPELINE_TOUCH_PREFIX } from './chunk-URRZ2SMI.mjs';
24
+ import { ENGINE_CORE_UNIT, encodeFrameMark, MessageTag, forEachChunkEntry, CHUNK_REQUEST_ENTRY_BYTES, CHUNK_TOUCH_PREFIX, FrameTouchKind, ChunkPriority, PIPELINE_TOUCH_PREFIX } from './chunk-V7ZRH3PY.mjs';
26
25
  import './chunk-GYLP6UG4.mjs';
27
26
  import './chunk-XJA2NGTI.mjs';
28
27
  import './chunk-2IC4H6OV.mjs';
@@ -44,12 +43,6 @@ var RECORD_SURFACE = { width: 390, height: 844, pixel_ratio: 3 }, ED25519 = "Ed2
44
43
  this.touches = [];
45
44
  this.outstanding = 0;
46
45
  this.heap = () => 0;
47
- /** How often a split engine core has run deferred code so far. */
48
- this.deferred = () => 0;
49
- this.deferredSeen = 0;
50
- /** Writes an instrumented engine core's split profile after each frame, when a profile is being captured. */
51
- this.profile = () => {
52
- };
53
46
  this.pipelines = new PipelineLog();
54
47
  }
55
48
  get frames() {
@@ -77,23 +70,12 @@ var RECORD_SURFACE = { width: 390, height: 844, pixel_ratio: 3 }, ED25519 = "Ed2
77
70
  for (let surface of this.surfaces) surface(time);
78
71
  let frame = this.frame++;
79
72
  this.defer(() => {
80
- this.pipelines.collect(this.touches), this.profile();
81
- let deferred = this.deferred();
82
- deferred !== this.deferredSeen && (this.deferredSeen = deferred, this.touches.push({ path: `${DEFERRED_TOUCH_PREFIX}${deferred}`, kind: FrameTouchKind.deferred, priority: ChunkPriority.soon }));
73
+ this.pipelines.collect(this.touches);
83
74
  let bytes = encodeFrameMark({ frame, outstanding: this.outstanding, touches: this.touches, heap: this.heap() });
84
75
  this.touches = [], this.send(bytes, bytes.length);
85
76
  });
86
77
  }
87
- }, PROFILE_EXPORT = "__write_profile", PROFILE_BYTES = 1 << 20, PROFILE_ALIGN = 8;
88
- function splitProfileWriter(runtime) {
89
- let out = globalThis.process?.env?.[SPLIT_PROFILE_ENV], exports = runtime.exports, write = exports[PROFILE_EXPORT], bun = globalThis.Bun;
90
- return out === void 0 || typeof write != "function" || bun === void 0 ? () => {
91
- } : () => {
92
- let at = exports.engine_alloc(PROFILE_BYTES, (8)), length = write(at, PROFILE_BYTES), bytes = new Uint8Array(runtime.memory.buffer, at, length).slice();
93
- exports.engine_free(at, PROFILE_BYTES, (8)), bun.write(out, bytes);
94
- };
95
- }
96
- var PIPELINE_CAPACITY = 1024, PIPELINE_KEY_BYTES = 8, PIPELINE_KEY_HEX = 16, HEX = 16, RECORDING = 1, NO_POINTER = 0, PipelineLog = class {
78
+ }, PIPELINE_CAPACITY = 1024, PIPELINE_KEY_BYTES = 8, PIPELINE_KEY_HEX = 16, HEX = 16, RECORDING = 1, NO_POINTER = 0, PipelineLog = class {
97
79
  constructor() {
98
80
  this.exports = null;
99
81
  this.memory = null;
@@ -221,7 +203,7 @@ function boundAudio(platform) {
221
203
  let exports = { ...platform.runtime.exports, ...shaped }, decode_audio = (_bytes, done) => done(new Float32Array((1) * (1)), (1), (48e3));
222
204
  return { kind: "engine", runtime: { ...platform.runtime, exports, decode_audio } };
223
205
  }
224
- function recordProfile(clock, assets, core, mark, heapPages = () => engineHeapPages(void 0), deferred = null) {
206
+ function recordProfile(clock, assets, core, mark, heapPages = () => engineHeapPages(void 0)) {
225
207
  let platform = null;
226
208
  return {
227
209
  graphics: {
@@ -229,11 +211,9 @@ function recordProfile(clock, assets, core, mark, heapPages = () => engineHeapPa
229
211
  throw new GuestUnavailableError("graphics.features");
230
212
  },
231
213
  engine() {
232
- return platform ?? (platform = core.then((module) => wasmPlatformEngine(module, { memoryPages: heapPages(), deferred })).then((engine) => {
214
+ return platform ?? (platform = core.then((module) => wasmPlatformEngine(module, { memoryPages: heapPages() })).then((engine) => {
233
215
  let peak = engine.kind === "engine" ? engine.runtime.exports.engine_heap_peak : void 0;
234
- typeof peak == "function" && (clock.heap = peak);
235
- let deferred2 = engine.kind === "engine" ? engine.runtime.deferred : null;
236
- return deferred2 != null && (clock.deferred = () => deferred2.hits), engine.kind === "engine" && (clock.profile = splitProfileWriter(engine.runtime)), boundAudio(engine);
216
+ return typeof peak == "function" && (clock.heap = peak), boundAudio(engine);
237
217
  })), platform;
238
218
  },
239
219
  acquire_surface: () => Promise.reject(new GuestUnavailableError("graphics.acquire_surface")),
@@ -296,7 +276,7 @@ function startRecordGuest(scope) {
296
276
  return subtle.verify({ name: ED25519 }, key, new Uint8Array(signature), new Uint8Array(message));
297
277
  }
298
278
  }, assets = new PackageAssets(), marks = { mark: () => {
299
- } }, heapPages = engineHeapPages(void 0), rest = restArrival(), profile = recordProfile(clock, assets, core, (name) => marks.mark(name), () => heapPages, rest.code), runtime = new GuestRuntime({
279
+ } }, heapPages = engineHeapPages(void 0), profile = recordProfile(clock, assets, core, (name) => marks.mark(name), () => heapPages), runtime = new GuestRuntime({
300
280
  bridge,
301
281
  services,
302
282
  assets,
@@ -305,7 +285,7 @@ function startRecordGuest(scope) {
305
285
  },
306
286
  ctx: (guest) => createGuestCtx(guest, profile),
307
287
  on_runtime_wasm: (unit, bytes) => {
308
- unit === ENGINE_CORE_UNIT && compileApproved(bytes.slice()).then(resolveCore, rejectCore), coreOfRest(unit) !== null && rest.arrive(bytes.slice());
288
+ unit === ENGINE_CORE_UNIT && compileApproved(bytes.slice()).then(resolveCore, rejectCore);
309
289
  }
310
290
  });
311
291
  return marks.mark = (name) => runtime.mark(name), runtime;
@@ -1,6 +1,6 @@
1
- export { e as AssembledPackage, B as BLOB_URLS, f as BRIDGE_LIMITS, g as BRIDGE_PROTOCOL_VERSION, h as CHUNK_COUNT_BYTES, i as CHUNK_FAILED_BYTES, j as CHUNK_FAILURE_BY_CODE, k as CHUNK_RELEASE_ENTRY_BYTES, l as CHUNK_REQUESTS_VERSION, m as CHUNK_REQUEST_ENTRY_BYTES, n as CHUNK_TOUCH_PREFIX, o as CTX_CONFIRMED_REQUEST_DEADLINE_MS, p as CTX_LONG_REQUEST_DEADLINES_MS, q as CTX_REQUEST_DEADLINE_MS, r as ChannelPublisher, s as ChunkBatch, t as ChunkFailure, a as ChunkFailureName, u as ChunkKind, b as ChunkPriority, v as CommonJsModule, D as DEFAULT_SLICE_MS, w as DEFERRED_TOUCH_PREFIX, x as DIGEST_BYTES, E as ENGINE_CORE_THREADS_UNIT, y as ENGINE_CORE_UNIT, z as EngineServices, H as FaultPhase, J as FrameLane, K as FrameMark, F as FrameTouch, c as FrameTouchKind, L as GuestBoot, N as GuestCore, O as GuestEntry, P as GuestFault, Q as GuestOptions, G as GuestRuntime, R as GuestUiReply, S as GuestUnavailableError, T as HostBridge, U as HotRequest, V as HotSwapReport, W as HotSwapResult, X as INSPECTOR_BYTES, Y as INSPECTOR_HIDDEN, Z as INSPECTOR_SHOWN, _ as IndexedImport, $ as IndexedModule, a0 as LIFECYCLE_BYTES, a1 as LIFECYCLE_BY_CODE, a2 as LaneCounter, a3 as LaneFastReader, a4 as LifecycleCode, a5 as LifecycleName, a6 as LinkableModule, a7 as MAX_CHUNK_BATCH, a8 as MILESTONE_BYTES, a9 as MILESTONE_BY_CODE, aa as MODULE_INDEX_FORMAT, ab as MODULE_PARAMETERS, ac as MessageListener, ad as MessageTag, ae as MessageWriter, af as Milestone, M as MilestoneName, ag as ModuleCompiler, ah as ModuleFactory, ai as ModuleImport, aj as ModuleImporter, ak as ModuleIndex, al as ModuleLinker, am as ModuleRequire, an as PING_BYTES, ao as PIPELINE_TOUCH_PREFIX, ap as PONG_BYTES, aq as PREFETCH_BUDGET_SHARE, ar as PREFETCH_SLOT_SHARE, as as PackageAssembler, at as PackageError, au as RUNTIME_PATH_PREFIX, av as RUNTIME_WASM_SUFFIX, aw as RoomInputPublisher, ax as RuntimeUnitSource, ay as SESSION_COMPLETE_BYTES, az as SESSION_OUTCOME_BY_CODE, aA as SESSION_PROTOCOL_VERSION, aB as SessionCompleteMessage, aC as SessionOutcomeCode, aD as SessionOutcomeName, aE as Slice, aF as SliceBudget, aG as SliceExceeded, aH as TAG_BYTES, aI as TICKS_PER_CHECK, aJ as TICK_GLOBAL, aK as Tick, aL as UiCommand, aM as UrlFactory, aN as VERBOSE_MODULE_INDEX_FORMAT, aO as blobCompiler, aP as chunkEntryCount, aQ as chunkEntryOffset, aR as clockBudget, aS as commonJsLinker, aT as createGuestCtx, aU as ctxFamilyOf, aV as ctxRequestDeadlineMs, aW as decodeChunk, aX as encodeFrameMark, aY as forEachChunkEntry, aZ as hex, a_ as hexAt, a$ as linkOrder, b0 as moduleWrapper, b1 as prefetchSlots, b2 as readChunkFailed, b3 as readFrameMark, b4 as readIndex, b5 as readJson, b6 as readSessionComplete, b7 as readText, b8 as tagOf, b9 as unhex, ba as unhexAt, bb as utf8, bc as writeChunkFailed, bd as writeSessionComplete } from './guest-CMCZeyh5.mjs';
2
- export { T as TreeDiffer, a as TreeError, b as TreeMirror, c as TreePatch, d as TreePath } from './tree-BsXFWKQ6.mjs';
3
- import { F as FaceColours } from './local-DA_HpPOj.mjs';
1
+ export { e as AssembledPackage, B as BLOB_URLS, f as BRIDGE_LIMITS, g as BRIDGE_PROTOCOL_VERSION, h as CHUNK_COUNT_BYTES, i as CHUNK_FAILED_BYTES, j as CHUNK_FAILURE_BY_CODE, k as CHUNK_RELEASE_ENTRY_BYTES, l as CHUNK_REQUESTS_VERSION, m as CHUNK_REQUEST_ENTRY_BYTES, n as CHUNK_TOUCH_PREFIX, o as CTX_CONFIRMED_REQUEST_DEADLINE_MS, p as CTX_LONG_REQUEST_DEADLINES_MS, q as CTX_REQUEST_DEADLINE_MS, r as ChannelPublisher, s as ChunkBatch, t as ChunkFailure, a as ChunkFailureName, u as ChunkKind, b as ChunkPriority, v as CommonJsModule, D as DEFAULT_SLICE_MS, w as DIGEST_BYTES, E as ENGINE_CORE_THREADS_UNIT, x as ENGINE_CORE_UNIT, y as EngineServices, z as FaultPhase, H as FrameLane, J as FrameMark, F as FrameTouch, c as FrameTouchKind, K as GuestBoot, L as GuestCore, N as GuestEntry, O as GuestFault, P as GuestOptions, G as GuestRuntime, Q as GuestUiReply, R as GuestUnavailableError, S as HostBridge, T as HotRequest, U as HotSwapReport, V as HotSwapResult, W as INSPECTOR_BYTES, X as INSPECTOR_HIDDEN, Y as INSPECTOR_SHOWN, Z as IndexedImport, _ as IndexedModule, $ as LIFECYCLE_BYTES, a0 as LIFECYCLE_BY_CODE, a1 as LaneCounter, a2 as LaneFastReader, a3 as LifecycleCode, a4 as LifecycleName, a5 as LinkableModule, a6 as MAX_CHUNK_BATCH, a7 as MILESTONE_BYTES, a8 as MILESTONE_BY_CODE, a9 as MODULE_INDEX_FORMAT, aa as MODULE_PARAMETERS, ab as MessageListener, ac as MessageTag, ad as MessageWriter, ae as Milestone, M as MilestoneName, af as ModuleCompiler, ag as ModuleFactory, ah as ModuleImport, ai as ModuleImporter, aj as ModuleIndex, ak as ModuleLinker, al as ModuleRequire, am as PING_BYTES, an as PIPELINE_TOUCH_PREFIX, ao as PONG_BYTES, ap as PREFETCH_BUDGET_SHARE, aq as PREFETCH_SLOT_SHARE, ar as PackageAssembler, as as PackageError, at as RUNTIME_PATH_PREFIX, au as RUNTIME_WASM_SUFFIX, av as RoomInputPublisher, aw as RuntimeUnitSource, ax as SESSION_COMPLETE_BYTES, ay as SESSION_OUTCOME_BY_CODE, az as SESSION_PROTOCOL_VERSION, aA as SessionCompleteMessage, aB as SessionOutcomeCode, aC as SessionOutcomeName, aD as Slice, aE as SliceBudget, aF as SliceExceeded, aG as TAG_BYTES, aH as TICKS_PER_CHECK, aI as TICK_GLOBAL, aJ as Tick, aK as UiCommand, aL as UrlFactory, aM as VERBOSE_MODULE_INDEX_FORMAT, aN as blobCompiler, aO as chunkEntryCount, aP as chunkEntryOffset, aQ as clockBudget, aR as commonJsLinker, aS as createGuestCtx, aT as ctxFamilyOf, aU as ctxRequestDeadlineMs, aV as decodeChunk, aW as encodeFrameMark, aX as forEachChunkEntry, aY as hex, aZ as hexAt, a_ as linkOrder, a$ as moduleWrapper, b0 as prefetchSlots, b1 as readChunkFailed, b2 as readFrameMark, b3 as readIndex, b4 as readJson, b5 as readSessionComplete, b6 as readText, b7 as tagOf, b8 as unhex, b9 as unhexAt, ba as utf8, bb as writeChunkFailed, bc as writeSessionComplete } from './guest-DrsA00XD.mjs';
2
+ export { T as TreeDiffer, a as TreeError, b as TreeMirror, c as TreePatch, d as TreePath } from './tree-C-Io2Hbx.mjs';
3
+ import { F as FaceColours } from './local-D8_I6UeL.mjs';
4
4
  import './link-BUTqGmyi.mjs';
5
5
  import './network-ZXLD7l1b.mjs';
6
6
  import './schema-BrWxzKp6.mjs';
@@ -1,6 +1,6 @@
1
- export { e as AssembledPackage, B as BLOB_URLS, f as BRIDGE_LIMITS, g as BRIDGE_PROTOCOL_VERSION, h as CHUNK_COUNT_BYTES, i as CHUNK_FAILED_BYTES, j as CHUNK_FAILURE_BY_CODE, k as CHUNK_RELEASE_ENTRY_BYTES, l as CHUNK_REQUESTS_VERSION, m as CHUNK_REQUEST_ENTRY_BYTES, n as CHUNK_TOUCH_PREFIX, o as CTX_CONFIRMED_REQUEST_DEADLINE_MS, p as CTX_LONG_REQUEST_DEADLINES_MS, q as CTX_REQUEST_DEADLINE_MS, r as ChannelPublisher, s as ChunkBatch, t as ChunkFailure, a as ChunkFailureName, u as ChunkKind, b as ChunkPriority, v as CommonJsModule, D as DEFAULT_SLICE_MS, w as DEFERRED_TOUCH_PREFIX, x as DIGEST_BYTES, E as ENGINE_CORE_THREADS_UNIT, y as ENGINE_CORE_UNIT, z as EngineServices, H as FaultPhase, J as FrameLane, K as FrameMark, F as FrameTouch, c as FrameTouchKind, L as GuestBoot, N as GuestCore, O as GuestEntry, P as GuestFault, Q as GuestOptions, G as GuestRuntime, R as GuestUiReply, S as GuestUnavailableError, T as HostBridge, U as HotRequest, V as HotSwapReport, W as HotSwapResult, X as INSPECTOR_BYTES, Y as INSPECTOR_HIDDEN, Z as INSPECTOR_SHOWN, _ as IndexedImport, $ as IndexedModule, a0 as LIFECYCLE_BYTES, a1 as LIFECYCLE_BY_CODE, a2 as LaneCounter, a3 as LaneFastReader, a4 as LifecycleCode, a5 as LifecycleName, a6 as LinkableModule, a7 as MAX_CHUNK_BATCH, a8 as MILESTONE_BYTES, a9 as MILESTONE_BY_CODE, aa as MODULE_INDEX_FORMAT, ab as MODULE_PARAMETERS, ac as MessageListener, ad as MessageTag, ae as MessageWriter, af as Milestone, M as MilestoneName, ag as ModuleCompiler, ah as ModuleFactory, ai as ModuleImport, aj as ModuleImporter, ak as ModuleIndex, al as ModuleLinker, am as ModuleRequire, an as PING_BYTES, ao as PIPELINE_TOUCH_PREFIX, ap as PONG_BYTES, aq as PREFETCH_BUDGET_SHARE, ar as PREFETCH_SLOT_SHARE, as as PackageAssembler, at as PackageError, au as RUNTIME_PATH_PREFIX, av as RUNTIME_WASM_SUFFIX, aw as RoomInputPublisher, ax as RuntimeUnitSource, ay as SESSION_COMPLETE_BYTES, az as SESSION_OUTCOME_BY_CODE, aA as SESSION_PROTOCOL_VERSION, aB as SessionCompleteMessage, aC as SessionOutcomeCode, aD as SessionOutcomeName, aE as Slice, aF as SliceBudget, aG as SliceExceeded, aH as TAG_BYTES, aI as TICKS_PER_CHECK, aJ as TICK_GLOBAL, aK as Tick, aL as UiCommand, aM as UrlFactory, aN as VERBOSE_MODULE_INDEX_FORMAT, aO as blobCompiler, aP as chunkEntryCount, aQ as chunkEntryOffset, aR as clockBudget, aS as commonJsLinker, aT as createGuestCtx, aU as ctxFamilyOf, aV as ctxRequestDeadlineMs, aW as decodeChunk, aX as encodeFrameMark, aY as forEachChunkEntry, aZ as hex, a_ as hexAt, a$ as linkOrder, b0 as moduleWrapper, b1 as prefetchSlots, b2 as readChunkFailed, b3 as readFrameMark, b4 as readIndex, b5 as readJson, b6 as readSessionComplete, b7 as readText, b8 as tagOf, b9 as unhex, ba as unhexAt, bb as utf8, bc as writeChunkFailed, bd as writeSessionComplete } from './guest-CB458Hgw.js';
2
- export { T as TreeDiffer, a as TreeError, b as TreeMirror, c as TreePatch, d as TreePath } from './tree-DW9x29Vv.js';
3
- import { F as FaceColours } from './local-_mD0x-p_.js';
1
+ export { e as AssembledPackage, B as BLOB_URLS, f as BRIDGE_LIMITS, g as BRIDGE_PROTOCOL_VERSION, h as CHUNK_COUNT_BYTES, i as CHUNK_FAILED_BYTES, j as CHUNK_FAILURE_BY_CODE, k as CHUNK_RELEASE_ENTRY_BYTES, l as CHUNK_REQUESTS_VERSION, m as CHUNK_REQUEST_ENTRY_BYTES, n as CHUNK_TOUCH_PREFIX, o as CTX_CONFIRMED_REQUEST_DEADLINE_MS, p as CTX_LONG_REQUEST_DEADLINES_MS, q as CTX_REQUEST_DEADLINE_MS, r as ChannelPublisher, s as ChunkBatch, t as ChunkFailure, a as ChunkFailureName, u as ChunkKind, b as ChunkPriority, v as CommonJsModule, D as DEFAULT_SLICE_MS, w as DIGEST_BYTES, E as ENGINE_CORE_THREADS_UNIT, x as ENGINE_CORE_UNIT, y as EngineServices, z as FaultPhase, H as FrameLane, J as FrameMark, F as FrameTouch, c as FrameTouchKind, K as GuestBoot, L as GuestCore, N as GuestEntry, O as GuestFault, P as GuestOptions, G as GuestRuntime, Q as GuestUiReply, R as GuestUnavailableError, S as HostBridge, T as HotRequest, U as HotSwapReport, V as HotSwapResult, W as INSPECTOR_BYTES, X as INSPECTOR_HIDDEN, Y as INSPECTOR_SHOWN, Z as IndexedImport, _ as IndexedModule, $ as LIFECYCLE_BYTES, a0 as LIFECYCLE_BY_CODE, a1 as LaneCounter, a2 as LaneFastReader, a3 as LifecycleCode, a4 as LifecycleName, a5 as LinkableModule, a6 as MAX_CHUNK_BATCH, a7 as MILESTONE_BYTES, a8 as MILESTONE_BY_CODE, a9 as MODULE_INDEX_FORMAT, aa as MODULE_PARAMETERS, ab as MessageListener, ac as MessageTag, ad as MessageWriter, ae as Milestone, M as MilestoneName, af as ModuleCompiler, ag as ModuleFactory, ah as ModuleImport, ai as ModuleImporter, aj as ModuleIndex, ak as ModuleLinker, al as ModuleRequire, am as PING_BYTES, an as PIPELINE_TOUCH_PREFIX, ao as PONG_BYTES, ap as PREFETCH_BUDGET_SHARE, aq as PREFETCH_SLOT_SHARE, ar as PackageAssembler, as as PackageError, at as RUNTIME_PATH_PREFIX, au as RUNTIME_WASM_SUFFIX, av as RoomInputPublisher, aw as RuntimeUnitSource, ax as SESSION_COMPLETE_BYTES, ay as SESSION_OUTCOME_BY_CODE, az as SESSION_PROTOCOL_VERSION, aA as SessionCompleteMessage, aB as SessionOutcomeCode, aC as SessionOutcomeName, aD as Slice, aE as SliceBudget, aF as SliceExceeded, aG as TAG_BYTES, aH as TICKS_PER_CHECK, aI as TICK_GLOBAL, aJ as Tick, aK as UiCommand, aL as UrlFactory, aM as VERBOSE_MODULE_INDEX_FORMAT, aN as blobCompiler, aO as chunkEntryCount, aP as chunkEntryOffset, aQ as clockBudget, aR as commonJsLinker, aS as createGuestCtx, aT as ctxFamilyOf, aU as ctxRequestDeadlineMs, aV as decodeChunk, aW as encodeFrameMark, aX as forEachChunkEntry, aY as hex, aZ as hexAt, a_ as linkOrder, a$ as moduleWrapper, b0 as prefetchSlots, b1 as readChunkFailed, b2 as readFrameMark, b3 as readIndex, b4 as readJson, b5 as readSessionComplete, b6 as readText, b7 as tagOf, b8 as unhex, b9 as unhexAt, ba as utf8, bb as writeChunkFailed, bc as writeSessionComplete } from './guest-wIdfoT05.js';
2
+ export { T as TreeDiffer, a as TreeError, b as TreeMirror, c as TreePatch, d as TreePath } from './tree-CP_qSW4H.js';
3
+ import { F as FaceColours } from './local-VZkqsCzR.js';
4
4
  import './link-BUTqGmyi.js';
5
5
  import './network-ZXLD7l1b.js';
6
6
  import './schema-BrWxzKp6.js';