rnxsim 0.1.367 → 0.1.368

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 (186) hide show
  1. package/dist-cli/bin.js +5 -5
  2. package/dist-cli/chunks/{agent-EKKIAKP5.js → agent-GXCQMYV4.js} +2 -2
  3. package/dist-cli/chunks/{agent-wrapper-MHLQUGA6.js → agent-wrapper-Y3PQAL6I.js} +2 -2
  4. package/dist-cli/chunks/{app-fonts-HN6ADRTQ.js → app-fonts-MDD3W4VN.js} +2 -2
  5. package/dist-cli/chunks/{assert-IMR6QCN6.js → assert-BSRQBRH7.js} +2 -2
  6. package/dist-cli/chunks/{auth-27LPMQNH.js → auth-SLPHDPCF.js} +2 -2
  7. package/dist-cli/chunks/{beta-6RXBB5AI.js → beta-R4IZ5SWO.js} +2 -2
  8. package/dist-cli/chunks/{box-DORLF3GP.js → box-2NQYYY3B.js} +2 -2
  9. package/dist-cli/chunks/{camera-2G7JZ5DL.js → camera-ER66WWAX.js} +2 -2
  10. package/dist-cli/chunks/{chunk-IPEURNLI.js → chunk-2YK5J2D2.js} +2 -2
  11. package/dist-cli/chunks/{chunk-AVOROGA3.js → chunk-3MPFC3DS.js} +1 -1
  12. package/dist-cli/chunks/{chunk-T6J4YP56.js → chunk-3S2J6IVC.js} +2 -2
  13. package/dist-cli/chunks/{chunk-SH5ETJKG.js → chunk-3XMEIZEV.js} +1 -1
  14. package/dist-cli/chunks/{chunk-SGGL3AFV.js → chunk-42TLK75A.js} +3 -3
  15. package/dist-cli/chunks/{chunk-HNT2OXPZ.js → chunk-4FLQYRGN.js} +1 -1
  16. package/dist-cli/chunks/{chunk-JPXQKLNH.js → chunk-4VA2ISWX.js} +1 -1
  17. package/dist-cli/chunks/{chunk-QXLLY4IM.js → chunk-57LITN73.js} +2 -2
  18. package/dist-cli/chunks/{chunk-LWOVKHRC.js → chunk-7B22IPSC.js} +2 -2
  19. package/dist-cli/chunks/{chunk-VB2YBH46.js → chunk-7V3S2DY2.js} +1 -1
  20. package/dist-cli/chunks/{chunk-URLVQHC3.js → chunk-AUPJX4KI.js} +1 -1
  21. package/dist-cli/chunks/{chunk-E33A4AIR.js → chunk-BWJOLJOK.js} +2 -2
  22. package/dist-cli/chunks/{chunk-RPNKKVBN.js → chunk-CKNNO6ZG.js} +3 -3
  23. package/dist-cli/chunks/{chunk-TWUE7WF5.js → chunk-DJSPNOF6.js} +2 -2
  24. package/dist-cli/chunks/{chunk-3VBVEDDA.js → chunk-E6XYIIJK.js} +1 -1
  25. package/dist-cli/chunks/{chunk-6SO6I3D5.js → chunk-ECXDCED5.js} +2 -2
  26. package/dist-cli/chunks/{chunk-IR44SFBA.js → chunk-EHA65UVJ.js} +2 -2
  27. package/dist-cli/chunks/{chunk-75EFOPXE.js → chunk-ESVUVW3R.js} +2 -2
  28. package/dist-cli/chunks/{chunk-PROKNJVY.js → chunk-FDAFSRQE.js} +2 -2
  29. package/dist-cli/chunks/{chunk-W5PATILQ.js → chunk-FSPZY4AI.js} +2 -2
  30. package/dist-cli/chunks/{chunk-YGQVQ2VG.js → chunk-FVODUDPS.js} +1 -1
  31. package/dist-cli/chunks/{chunk-VFU2SJ7M.js → chunk-GFWUIGGY.js} +2 -2
  32. package/dist-cli/chunks/{chunk-YINACV32.js → chunk-GS5VUDCF.js} +1 -1
  33. package/dist-cli/chunks/{chunk-BSEXEYNX.js → chunk-GXHCJRKE.js} +2 -2
  34. package/dist-cli/chunks/{chunk-N3BXQEUF.js → chunk-HKQXGCQT.js} +1 -1
  35. package/dist-cli/chunks/{chunk-MQN5DWTI.js → chunk-IXRVFQMT.js} +2 -2
  36. package/dist-cli/chunks/{chunk-EV4P5UBP.js → chunk-JFGW75UL.js} +2 -2
  37. package/dist-cli/chunks/{chunk-5DGMFUZG.js → chunk-JHYXRORU.js} +2 -2
  38. package/dist-cli/chunks/{chunk-YV7ERO2V.js → chunk-LAKWOJ5Y.js} +2 -2
  39. package/dist-cli/chunks/{chunk-VANZFTUE.js → chunk-LPAOOJIW.js} +1 -1
  40. package/dist-cli/chunks/{chunk-GMLOCV3E.js → chunk-M7COA4BE.js} +1 -1
  41. package/dist-cli/chunks/{chunk-XTRHQAOV.js → chunk-MCO7V4VN.js} +2 -2
  42. package/dist-cli/chunks/{chunk-KHX65HAU.js → chunk-MGOAQHMO.js} +1 -1
  43. package/dist-cli/chunks/{chunk-YBFB3RM7.js → chunk-NERY6HGZ.js} +2 -2
  44. package/dist-cli/chunks/{chunk-K3EC6JDE.js → chunk-NGWUGNPV.js} +2 -2
  45. package/dist-cli/chunks/{chunk-DNVABCEC.js → chunk-NPSPWMBO.js} +2 -2
  46. package/dist-cli/chunks/{chunk-3QZJLNYY.js → chunk-OXCDE3DD.js} +1 -1
  47. package/dist-cli/chunks/{chunk-GRN2FHVW.js → chunk-OZJMWTGA.js} +1 -1
  48. package/dist-cli/chunks/{chunk-RNQTOGM7.js → chunk-PNBQBBG5.js} +1 -1
  49. package/dist-cli/chunks/{chunk-G5IUIGGC.js → chunk-Q65KH25G.js} +1 -1
  50. package/dist-cli/chunks/{chunk-CM6ZKZW7.js → chunk-QKOY7UW5.js} +2 -2
  51. package/dist-cli/chunks/{chunk-XYRUQQUR.js → chunk-QMVBWZH2.js} +2 -2
  52. package/dist-cli/chunks/{chunk-WI5V4TYG.js → chunk-RRALQ4WM.js} +2 -2
  53. package/dist-cli/chunks/{chunk-EFMOXYDD.js → chunk-SHMLYTNH.js} +2 -2
  54. package/dist-cli/chunks/{chunk-AXMMLO7D.js → chunk-SSUPPM6K.js} +1 -1
  55. package/dist-cli/chunks/{chunk-XWUTJLBM.js → chunk-T2MGLXY5.js} +2 -2
  56. package/dist-cli/chunks/{chunk-4BWGLTKU.js → chunk-T4ZZ26A2.js} +2 -2
  57. package/dist-cli/chunks/{chunk-RZGHV2WI.js → chunk-TC6DNQL6.js} +2 -2
  58. package/dist-cli/chunks/{chunk-4XSNO374.js → chunk-TE645QCO.js} +1 -1
  59. package/dist-cli/chunks/{chunk-N5OSV26B.js → chunk-TOE5O6JE.js} +2 -2
  60. package/dist-cli/chunks/{chunk-AM2ODYAN.js → chunk-TPIPKXJL.js} +1 -1
  61. package/dist-cli/chunks/{chunk-HG6T4OOR.js → chunk-UBH2BWCY.js} +2 -2
  62. package/dist-cli/chunks/{chunk-PP2KNVXP.js → chunk-UXROQPIN.js} +3 -3
  63. package/dist-cli/chunks/{chunk-U44VEQRN.js → chunk-WF2CRNYF.js} +1 -1
  64. package/dist-cli/chunks/{chunk-JMSLXZFW.js → chunk-WFAFAGMG.js} +2 -2
  65. package/dist-cli/chunks/{chunk-HFFXPUEP.js → chunk-WJQB6AXZ.js} +1 -1
  66. package/dist-cli/chunks/{chunk-A5AJFVOF.js → chunk-WVVAYLWZ.js} +1 -1
  67. package/dist-cli/chunks/{chunk-PHNURIH3.js → chunk-WXRDFUR7.js} +2 -2
  68. package/dist-cli/chunks/{chunk-6DBS5EGX.js → chunk-X5MXQB3L.js} +2 -2
  69. package/dist-cli/chunks/{chunk-RSNLI2NH.js → chunk-YSHJ3LMQ.js} +2 -2
  70. package/dist-cli/chunks/{chunk-VUBJ6FXU.js → chunk-YYPTSF6W.js} +2 -2
  71. package/dist-cli/chunks/{cleanup-GVFHQ3KH.js → cleanup-WHGLBAJ2.js} +2 -2
  72. package/dist-cli/chunks/cli-version-DMXIXBIM.js +4 -0
  73. package/dist-cli/chunks/{compat-AYRTXYAM.js → compat-MGBKGYGQ.js} +2 -2
  74. package/dist-cli/chunks/{config-K7LOOV62.js → config-TRDOMP4T.js} +2 -2
  75. package/dist-cli/chunks/{connect-H3CNY4IO.js → connect-N4FV3DDV.js} +2 -2
  76. package/dist-cli/chunks/{control-SMHZ2CF5.js → control-5GRBZVYK.js} +2 -2
  77. package/dist-cli/chunks/daemon-MBT5E3ZC.js +4 -0
  78. package/dist-cli/chunks/{debug-ELGHG57T.js → debug-AHEK43AJ.js} +3 -3
  79. package/dist-cli/chunks/{desktop-4G7FK3MP.js → desktop-LDRIXOVV.js} +3 -3
  80. package/dist-cli/chunks/{detox-JKXGEJIZ.js → detox-6HAKYISO.js} +2 -2
  81. package/dist-cli/chunks/{device-IV3AR6KG.js → device-QM3S7OVU.js} +2 -2
  82. package/dist-cli/chunks/{diagnose-3ERGF7EW.js → diagnose-WDP3CVIX.js} +2 -2
  83. package/dist-cli/chunks/{disk-cleanup-ALFEVZ4B.js → disk-cleanup-JRT5MKFW.js} +2 -2
  84. package/dist-cli/chunks/{do-chain-K2B4OHM7.js → do-chain-7FDMO56C.js} +2 -2
  85. package/dist-cli/chunks/drivers-AJL2EVXH.js +4 -0
  86. package/dist-cli/chunks/{env-2KF6IYZE.js → env-YIBOMB24.js} +2 -2
  87. package/dist-cli/chunks/{film-UQXJFAD5.js → film-R3EQADMG.js} +3 -3
  88. package/dist-cli/chunks/flow-BDAA6BWL.js +4 -0
  89. package/dist-cli/chunks/help-5EJD6LJF.js +4 -0
  90. package/dist-cli/chunks/{hidden-runtime-alias-VJCWCFVO.js → hidden-runtime-alias-6M4UERRQ.js} +2 -2
  91. package/dist-cli/chunks/{home-paths-EGUZZ6J6.js → home-paths-QJNOHZJO.js} +2 -2
  92. package/dist-cli/chunks/inspect-S3LR3R2A.js +4 -0
  93. package/dist-cli/chunks/install-desktop-GXE6K7BJ.js +4 -0
  94. package/dist-cli/chunks/{login-6KQGD7HK.js → login-ISWDW4WU.js} +2 -2
  95. package/dist-cli/chunks/{logout-2FCOVLBC.js → logout-VNJX2IEW.js} +2 -2
  96. package/dist-cli/chunks/{maestro-HPSSEVJD.js → maestro-SQS2OS2D.js} +3 -3
  97. package/dist-cli/chunks/{maestro-generate-KQQ6JHMR.js → maestro-generate-GWVPISG5.js} +3 -3
  98. package/dist-cli/chunks/{mode-SH7KRZET.js → mode-3URDGBZB.js} +2 -2
  99. package/dist-cli/chunks/{optional-demo-registry-NAMCAVFX.js → optional-demo-registry-L3LRBQHG.js} +2 -2
  100. package/dist-cli/chunks/{perf-LWKAHXUL.js → perf-XLPC4UKR.js} +2 -2
  101. package/dist-cli/chunks/{permissions-EZTKWTXV.js → permissions-QRHWVMDP.js} +2 -2
  102. package/dist-cli/chunks/{platform-KSOJIVN5.js → platform-F47URZNB.js} +3 -3
  103. package/dist-cli/chunks/privacy-BF23T67T.js +4 -0
  104. package/dist-cli/chunks/{record-2IC7BAQN.js → record-2DN3OUE5.js} +3 -3
  105. package/dist-cli/chunks/{report-issue-MMX6HOQO.js → report-issue-D3BQPSLU.js} +2 -2
  106. package/dist-cli/chunks/reset-T5CNZ7D3.js +4 -0
  107. package/dist-cli/chunks/resolve-target-KAAS274S.js +4 -0
  108. package/dist-cli/chunks/runtime-AQJDBR3X.js +4 -0
  109. package/dist-cli/chunks/{screenshot-command-JYUXDVSA.js → screenshot-command-RK7IJHVK.js} +3 -3
  110. package/dist-cli/chunks/{screenshot-layers-OGRY6AA3.js → screenshot-layers-DP2QKSMN.js} +2 -2
  111. package/dist-cli/chunks/{screenshots-capture-QHDN65XS.js → screenshots-capture-MA7P3FUT.js} +2 -2
  112. package/dist-cli/chunks/{serve-W4BKAG4J.js → serve-UBXNGLNP.js} +2 -2
  113. package/dist-cli/chunks/setup-GH7OW4GC.js +4 -0
  114. package/dist-cli/chunks/{sim-client-UOQGFBPO.js → sim-client-VTKFEDJX.js} +2 -2
  115. package/dist-cli/chunks/{skills-OPPXOD63.js → skills-HPK25R4B.js} +2 -2
  116. package/dist-cli/chunks/{state-TDAN7BOM.js → state-273XJPUE.js} +2 -2
  117. package/dist-cli/chunks/{storage-CFB2YGLY.js → storage-RTDFWIY7.js} +2 -2
  118. package/dist-cli/chunks/store-DLKNNM4L.js +4 -0
  119. package/dist-cli/chunks/telemetry-7CWDXEOO.js +4 -0
  120. package/dist-cli/chunks/{timeline-ASOOVP4C.js → timeline-IF2PGK7C.js} +2 -2
  121. package/dist-cli/chunks/{upgrade-6MVJISHG.js → upgrade-R74NVHKG.js} +2 -2
  122. package/dist-cli/chunks/upload-3JFFVCZ4.js +4 -0
  123. package/dist-cli/chunks/{version-5GS7CWRL.js → version-RTFCYQZ7.js} +2 -2
  124. package/dist-cli/chunks/{web-QRRMYMV4.js → web-35SSKBRU.js} +2 -2
  125. package/dist-cli/chunks/welcome-N5V352SE.js +5 -0
  126. package/dist-cli/chunks/{what-happened-GAZJGKXX.js → what-happened-WXTP6EPR.js} +2 -2
  127. package/dist-cli/chunks/{ws-bridge-DIXUAPLQ.js → ws-bridge-JXQUAWFA.js} +2 -2
  128. package/dist-lib/agent-daemon-client.cjs +1 -1
  129. package/dist-lib/agent-events.cjs +1 -1
  130. package/dist-lib/agent-identity.cjs +1 -1
  131. package/dist-lib/agent-sessions.cjs +1 -1
  132. package/dist-lib/attached-projects.cjs +1 -1
  133. package/dist-lib/auth/shared-session.cjs +1 -1
  134. package/dist-lib/backend-origin.cjs +1 -1
  135. package/dist-lib/beta.cjs +1 -1
  136. package/dist-lib/beta.mjs +1 -1
  137. package/dist-lib/bridge-constants.cjs +1 -1
  138. package/dist-lib/bridge-contract-input.cjs +1 -1
  139. package/dist-lib/bridge-contract-input.mjs +1 -1
  140. package/dist-lib/bridge-contract.cjs +1 -1
  141. package/dist-lib/bridge-contract.mjs +1 -1
  142. package/dist-lib/cli-constants.cjs +1 -1
  143. package/dist-lib/config.cjs +1 -1
  144. package/dist-lib/detox/index.cjs +1 -1
  145. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  146. package/dist-lib/home-paths.cjs +1 -1
  147. package/dist-lib/host/bridge-host.cjs +1 -1
  148. package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
  149. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  150. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  151. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  152. package/dist-lib/host/websocket-proxy.cjs +1 -1
  153. package/dist-lib/index.cjs +1 -1
  154. package/dist-lib/jump-to-source-babel.cjs +1 -1
  155. package/dist-lib/menu.cjs +1 -1
  156. package/dist-lib/menu.mjs +1 -1
  157. package/dist-lib/metro-production-bundle.cjs +1 -1
  158. package/dist-lib/metro-production-bundle.mjs +1 -1
  159. package/dist-lib/metro.cjs +1 -1
  160. package/dist-lib/profiles.cjs +1 -1
  161. package/dist-lib/public-brand.cjs +1 -1
  162. package/dist-lib/react-native-host-modules.cjs +1 -1
  163. package/dist-lib/react-native-host-modules.mjs +1 -1
  164. package/dist-lib/render-mode.cjs +1 -1
  165. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  166. package/dist-lib/sdk.cjs +1 -1
  167. package/dist-lib/sdk.mjs +1 -1
  168. package/dist-lib/skills.cjs +1 -1
  169. package/dist-lib/vite.cjs +1 -1
  170. package/package.json +1 -1
  171. package/dist-cli/chunks/cli-version-DPX5MA2M.js +0 -4
  172. package/dist-cli/chunks/daemon-TEZUNI73.js +0 -4
  173. package/dist-cli/chunks/drivers-KJYXA3M3.js +0 -4
  174. package/dist-cli/chunks/flow-ASTUH56E.js +0 -4
  175. package/dist-cli/chunks/help-SNNYFELA.js +0 -4
  176. package/dist-cli/chunks/inspect-XANAADQT.js +0 -4
  177. package/dist-cli/chunks/install-desktop-JKQA7UY6.js +0 -4
  178. package/dist-cli/chunks/privacy-EJULWP7L.js +0 -4
  179. package/dist-cli/chunks/reset-PKFZA4NC.js +0 -4
  180. package/dist-cli/chunks/resolve-target-AFKU3BRE.js +0 -4
  181. package/dist-cli/chunks/runtime-XHWWPOIN.js +0 -4
  182. package/dist-cli/chunks/setup-WJPMPSAC.js +0 -4
  183. package/dist-cli/chunks/store-4TEED4ZU.js +0 -4
  184. package/dist-cli/chunks/telemetry-S6N7CV6G.js +0 -4
  185. package/dist-cli/chunks/upload-CBNIRFEW.js +0 -4
  186. package/dist-cli/chunks/welcome-33FXMAMB.js +0 -5
package/dist-cli/bin.js CHANGED
@@ -1,15 +1,15 @@
1
1
  #!/usr/bin/env node
2
- /*! rnx v0.1.367 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
+ /*! rnx v0.1.368 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
3
3
  import { createRequire as __sootsimCreateRequire } from 'node:module'
4
4
  var require = __sootsimCreateRequire(import.meta.url)
5
- import{a as g,b as f}from"./chunks/chunk-YGQVQ2VG.js";import{a as m}from"./chunks/chunk-A5AJFVOF.js";import"./chunks/chunk-G5IUIGGC.js";function A(a){let t=a instanceof Error?a.message:String(a);(/^command timed out after \d+s$/.test(t)||t.startsWith("sim disconnected:")||t.startsWith("bridge never reconnected")||t.startsWith("multiple sims are connected:")||t.startsWith("saved sim ")||t.startsWith("no sim connected with id ")||t.startsWith("could not connect to ws://")||t.startsWith("rnx bridge daemon is not running")||t.startsWith("rnx bridge lockfile is fresh")||t.startsWith("rnx bridge exited before becoming ready")||t.startsWith(`${m.commandName} open: requested bridge port`)||t.startsWith("background daemon setup is unavailable")||t.startsWith("rnx bridge did not start within"))&&!process.env.SOOTSIM_VERBOSE&&(process.stderr.write(` ${t}
5
+ import{a as g,b as f}from"./chunks/chunk-FVODUDPS.js";import{a as m}from"./chunks/chunk-WVVAYLWZ.js";import"./chunks/chunk-Q65KH25G.js";function A(a){let t=a instanceof Error?a.message:String(a);(/^command timed out after \d+s$/.test(t)||t.startsWith("sim disconnected:")||t.startsWith("bridge never reconnected")||t.startsWith("multiple sims are connected:")||t.startsWith("saved sim ")||t.startsWith("no sim connected with id ")||t.startsWith("could not connect to ws://")||t.startsWith("rnx bridge daemon is not running")||t.startsWith("rnx bridge lockfile is fresh")||t.startsWith("rnx bridge exited before becoming ready")||t.startsWith(`${m.commandName} open: requested bridge port`)||t.startsWith("background daemon setup is unavailable")||t.startsWith("rnx bridge did not start within"))&&!process.env.SOOTSIM_VERBOSE&&(process.stderr.write(` ${t}
6
6
  `),process.exit(1)),a instanceof Error&&a.stack?process.stderr.write(`${a.stack}
7
7
  `):process.stderr.write(`${t}
8
8
  `),process.exit(1)}process.on("unhandledRejection",A);process.on("uncaughtException",A);var k=typeof __SOOTSIM_STANDALONE__<"u"&&__SOOTSIM_STANDALONE__,S=new Set(["desktop"]);function C(a){!k||!S.has(a)||(process.stderr.write(` ${m.commandName} ${a} isn't available in the standalone binary \u2014
9
9
  it needs vite / electron / playwright from a project's node_modules.
10
10
  run the npm package instead:
11
11
  ${m.commandName} ${a}
12
- `),process.exit(1))}var e=f(process.argv);if(!e.command&&e.commandArgs.length>0){let{resolveHiddenRuntimeAlias:a}=await import("./chunks/hidden-runtime-alias-VJCWCFVO.js");e=a(e)}var $=e.command==="cleanup"&&e.commandArgs.length===1&&e.commandArgs[0]==="--automatic-worker",_=!e.command&&e.commandArgs.length===0;if(!$&&!_&&!e.help&&!e.version&&e.command!=="config"&&e.command!=="setup"&&e.command!=="telemetry"){let{ensurePrivacyChoice:a}=await import("./chunks/privacy-EJULWP7L.js");await a({prompt:!0})}if(e.command!=="serve"&&e.command!=="daemon"){let{consumeRuntimeUpgradeNotice:a}=await import("./chunks/home-paths-EGUZZ6J6.js"),t=a();t&&process.stderr.write(` ${m.name} engine upgraded to v${t.to}`+(t.from?` (from v${t.from})`:"")+` \xB7 what's new: ${m.origin}/changelog
13
- `)}var h=!1;async function v(){if(!h&&(h=!0,!(e.command==="cleanup"||e.command==="serve"||e.command==="agent-wrapper"||e.command==="daemon"&&e.commandArgs[0]==="uninstall")))try{let{isAutomaticSootsimCleanupComplete:a}=await import("./chunks/disk-cleanup-ALFEVZ4B.js");if(a())return;let{spawn:t}=await import("node:child_process"),r=["cleanup","--automatic-worker"],d=process.argv[1],p=k?t(process.execPath,r,{detached:!0,stdio:["ignore","ignore","inherit"],env:process.env}):d?t(process.execPath,[d,...r],{detached:!0,stdio:["ignore","ignore","inherit"],env:process.env}):t(m.commandName,r,{detached:!0,stdio:["ignore","ignore","inherit"],env:process.env});p.once("error",w=>{process.stderr.write(` ${m.name} automatic cleanup will retry on the next run: ${w.message}
12
+ `),process.exit(1))}var e=f(process.argv);if(!e.command&&e.commandArgs.length>0){let{resolveHiddenRuntimeAlias:a}=await import("./chunks/hidden-runtime-alias-6M4UERRQ.js");e=a(e)}var $=e.command==="cleanup"&&e.commandArgs.length===1&&e.commandArgs[0]==="--automatic-worker",_=!e.command&&e.commandArgs.length===0;if(!$&&!_&&!e.help&&!e.version&&e.command!=="config"&&e.command!=="setup"&&e.command!=="telemetry"){let{ensurePrivacyChoice:a}=await import("./chunks/privacy-BF23T67T.js");await a({prompt:!0})}if(e.command!=="serve"&&e.command!=="daemon"){let{consumeRuntimeUpgradeNotice:a}=await import("./chunks/home-paths-QJNOHZJO.js"),t=a();t&&process.stderr.write(` ${m.name} engine upgraded to v${t.to}`+(t.from?` (from v${t.from})`:"")+` \xB7 what's new: ${m.origin}/changelog
13
+ `)}var h=!1;async function v(){if(!h&&(h=!0,!(e.command==="cleanup"||e.command==="serve"||e.command==="agent-wrapper"||e.command==="daemon"&&e.commandArgs[0]==="uninstall")))try{let{isAutomaticSootsimCleanupComplete:a}=await import("./chunks/disk-cleanup-JRT5MKFW.js");if(a())return;let{spawn:t}=await import("node:child_process"),r=["cleanup","--automatic-worker"],d=process.argv[1],p=k?t(process.execPath,r,{detached:!0,stdio:["ignore","ignore","inherit"],env:process.env}):d?t(process.execPath,[d,...r],{detached:!0,stdio:["ignore","ignore","inherit"],env:process.env}):t(m.commandName,r,{detached:!0,stdio:["ignore","ignore","inherit"],env:process.env});p.once("error",w=>{process.stderr.write(` ${m.name} automatic cleanup will retry on the next run: ${w.message}
14
14
  `)}),p.unref()}catch(a){process.stderr.write(` ${m.name} automatic cleanup will retry on the next run: ${a instanceof Error?a.message:String(a)}
15
- `)}}async function o(a){let{flushCliTelemetry:t}=await import("./chunks/telemetry-S6N7CV6G.js");await t(),await v(),process.exit(a)}if(e.version){let{getCliVersion:a}=await import("./chunks/cli-version-DPX5MA2M.js"),{IS_BETA:t,BETA_LABEL:r}=await import("./chunks/beta-6RXBB5AI.js"),d=t?` \xB7 ${r}`:"";console.log(`${m.commandName} v${a()}${d}`);let{readActiveRuntime:p}=await import("./chunks/home-paths-EGUZZ6J6.js"),w=p();console.log(w?`runtime v${w}`:"runtime not installed"),await o(0)}if(e.help&&!e.command){let{printHelp:a}=await import("./chunks/help-SNNYFELA.js");a(),await o(0)}var n=e.globalFlags.port,c=e.verbose,u=e.globalFlags.device,l=e.globalFlags.theme,y=e.globalFlags.driver,W=e.globalFlags.headless===!0,b=e.globalFlags.sim??e.globalFlags.session??e.globalFlags.tab,i=b?["--sim",b,...e.commandArgs]:e.commandArgs;if(u||l){let{settingsStore:a}=await import("./chunks/store-4TEED4ZU.js"),t={};u&&(t.deviceModel=u),l&&(t.colorScheme=l),a.apply(t)}if(!e.command&&e.commandArgs.length===0){let{runWelcome:a}=await import("./chunks/welcome-33FXMAMB.js");await o(await a())}var s=e.command??"";if(!s){if(e.commandArgs.length>0){let t=e.commandArgs.find(r=>!r.startsWith("-"))??e.commandArgs[0];console.error(` unknown command: ${t}`),console.error(` run \`${m.commandName} --help\` to see the full surface.`),await o(1)}let{printHelp:a}=await import("./chunks/help-SNNYFELA.js");a(),await o(0)}if(e.help||e.commandArgs.includes("--help")||e.commandArgs.includes("-h")){if(s==="skill"){let{runSkill:r}=await import("./chunks/skills-OPPXOD63.js");await r(e.commandArgs),await o(0)}if(s==="state"){let{runState:r}=await import("./chunks/state-TDAN7BOM.js");await o(await r(i,{port:n}))}if(s==="reset"){let{runReset:r}=await import("./chunks/reset-PKFZA4NC.js");await o(await r(i,{port:n}))}let a=s==="do"||s==="get"||s==="debug"||s==="shell"||s==="perf"||s==="wait",t=e.commandArgs.find(r=>!r.startsWith("-"));if(!(s==="shell"||s==="perf"))if(a&&!t){let{printGroupHelp:r}=await import("./chunks/help-SNNYFELA.js");r(s)&&await o(0)}else{let{printCommandHelp:r}=await import("./chunks/help-SNNYFELA.js");r(a&&t?t:s,{prefer:a&&t?"verb":"command",group:a&&t?s:void 0}),await o(0)}}C(s);if(g.has(s)){if(s==="do"){let{hasDoChain:t,runDoChain:r}=await import("./chunks/do-chain-K2B4OHM7.js");t(i)&&await o(await r(i,{port:n}))}let{runInspect:a}=await import("./chunks/inspect-XANAADQT.js");await a([s,...i],{port:n,verbose:c})}else switch(s){case"assert":{let{runAssert:a}=await import("./chunks/assert-IMR6QCN6.js");await a(e.commandArgs);break}case"detox":{let{runDetox:a}=await import("./chunks/detox-JKXGEJIZ.js");await a(e.commandArgs,{port:n,verbose:c});break}case"maestro":{let{runMaestro:a}=await import("./chunks/maestro-HPSSEVJD.js"),t=await a(i,{port:n,verbose:c});await o(typeof t=="number"?t:0)}case"record":{let{runRecord:a}=await import("./chunks/record-2IC7BAQN.js");await a(i,{port:n,verbose:c});break}case"film":{let{runFilm:a}=await import("./chunks/film-UQXJFAD5.js"),t=await a(i,{port:n,verbose:c});await o(typeof t=="number"?t:0)}case"storage":{let{runStorage:a}=await import("./chunks/storage-CFB2YGLY.js"),t=await a(i,{port:n,verbose:c});await o(typeof t=="number"?t:0)}case"state":{let{runState:a}=await import("./chunks/state-TDAN7BOM.js"),t=await a(i,{port:n});await o(t)}case"reset":{let{runReset:a}=await import("./chunks/reset-PKFZA4NC.js"),t=await a(i,{port:n});await o(t)}case"perf":{let{runPerf:a}=await import("./chunks/perf-LWKAHXUL.js"),t=await a(i,{port:n,verbose:c});await o(typeof t=="number"?t:0)}case"screenshot":{let{runScreenshotCommand:a}=await import("./chunks/screenshot-command-JYUXDVSA.js"),t=await a(i,{port:n,verbose:c});await o(typeof t=="number"?t:0)}case"camera":{let{runCamera:a}=await import("./chunks/camera-2G7JZ5DL.js"),t=await a(i,{port:n});await o(typeof t=="number"?t:0)}case"mode":{let{runMode:a}=await import("./chunks/mode-SH7KRZET.js");await a(i,{port:n,verbose:c});break}case"permissions":{let{runPermissions:a}=await import("./chunks/permissions-EZTKWTXV.js"),t=await a(i,{port:n,verbose:c});await o(t)}case"debug":{let{runDebug:a}=await import("./chunks/debug-ELGHG57T.js");await a(i,{port:n,verbose:c});break}case"timeline":{let{runTimeline:a}=await import("./chunks/timeline-ASOOVP4C.js");await a(i,{port:n,verbose:c});break}case"what-happened":{let{runWhatHappened:a}=await import("./chunks/what-happened-GAZJGKXX.js");await a(i,{port:n,verbose:c});break}case"open":{let{runOpenCommand:a}=await import("./chunks/control-SMHZ2CF5.js");await a(i,{port:n});break}case"ios":case"android":{let{runPlatformCommand:a}=await import("./chunks/platform-KSOJIVN5.js"),t=await a(s,i,{port:n});await o(typeof t=="number"?t:0)}case"box":{let{runBox:a}=await import("./chunks/box-DORLF3GP.js");await o(await a(i,{port:n,verbose:c}))}case"use":{let{runUseCommand:a}=await import("./chunks/control-SMHZ2CF5.js");await a(i,{port:n});break}case"claim":{let{runClaimCommand:a}=await import("./chunks/control-SMHZ2CF5.js");await a(i,{port:n});break}case"close":{let{runCloseCommand:a}=await import("./chunks/control-SMHZ2CF5.js");await a(i,{port:n});break}case"device":{let{runDeviceCommand:a}=await import("./chunks/device-IV3AR6KG.js");await a(i,{port:n});break}case"compat":{let{runCompat:a}=await import("./chunks/compat-AYRTXYAM.js");await a(e.commandArgs);break}case"report-issue":{let{runReportIssue:a}=await import("./chunks/report-issue-MMX6HOQO.js"),t=await a(e.commandArgs);await o(t)}case"desktop":{let{runDesktop:a}=await import("./chunks/desktop-4G7FK3MP.js");await a(e.commandArgs,{port:n,device:u});break}case"login":{let{runLogin:a}=await import("./chunks/login-6KQGD7HK.js");await a(e.commandArgs);break}case"logout":{let{runLogout:a}=await import("./chunks/logout-2FCOVLBC.js");await a();break}case"auth":{let{runAuth:a}=await import("./chunks/auth-27LPMQNH.js");await a(e.commandArgs);break}case"setup":{let{runSetup:a}=await import("./chunks/setup-WJPMPSAC.js");await a(e.commandArgs);break}case"serve":{let{runServe:a}=await import("./chunks/serve-W4BKAG4J.js");await a(e.commandArgs,{port:n});break}case"daemon":{let{runDaemon:a}=await import("./chunks/daemon-TEZUNI73.js");await a(e.commandArgs,{port:n});break}case"runtime":{let{runRuntime:a}=await import("./chunks/runtime-XHWWPOIN.js");await a(e.commandArgs);break}case"upgrade":{let{runUpgrade:a}=await import("./chunks/upgrade-6MVJISHG.js");await a(e.commandArgs);break}case"version":{let{runVersion:a}=await import("./chunks/version-5GS7CWRL.js");await a(e.commandArgs);break}case"agent":{let{runAgentCommand:a}=await import("./chunks/agent-EKKIAKP5.js"),t=await a(e.commandArgs);await o(t)}case"agent-wrapper":{let{runAgentWrapper:a}=await import("./chunks/agent-wrapper-MHLQUGA6.js"),t=await a(e.commandArgs);await o(t)}case"skill":{let{runSkill:a}=await import("./chunks/skills-OPPXOD63.js");await a(e.commandArgs);break}case"app-fonts":{let{runAppFonts:a}=await import("./chunks/app-fonts-HN6ADRTQ.js");await a(e.commandArgs);break}case"config":{let{runConfig:a}=await import("./chunks/config-K7LOOV62.js");await a(e.commandArgs);break}case"cleanup":{let{runCleanup:a}=await import("./chunks/cleanup-GVFHQ3KH.js"),t=await a(e.commandArgs);await o(t)}default:console.error(` unknown command: ${s}`),console.error(` run \`${m.commandName} --help\` to see the full surface.`),await o(1)}await v();
15
+ `)}}async function o(a){let{flushCliTelemetry:t}=await import("./chunks/telemetry-7CWDXEOO.js");await t(),await v(),process.exit(a)}if(e.version){let{getCliVersion:a}=await import("./chunks/cli-version-DMXIXBIM.js"),{IS_BETA:t,BETA_LABEL:r}=await import("./chunks/beta-R4IZ5SWO.js"),d=t?` \xB7 ${r}`:"";console.log(`${m.commandName} v${a()}${d}`);let{readActiveRuntime:p}=await import("./chunks/home-paths-QJNOHZJO.js"),w=p();console.log(w?`runtime v${w}`:"runtime not installed"),await o(0)}if(e.help&&!e.command){let{printHelp:a}=await import("./chunks/help-5EJD6LJF.js");a(),await o(0)}var n=e.globalFlags.port,c=e.verbose,u=e.globalFlags.device,l=e.globalFlags.theme,y=e.globalFlags.driver,W=e.globalFlags.headless===!0,b=e.globalFlags.sim??e.globalFlags.session??e.globalFlags.tab,i=b?["--sim",b,...e.commandArgs]:e.commandArgs;if(u||l){let{settingsStore:a}=await import("./chunks/store-DLKNNM4L.js"),t={};u&&(t.deviceModel=u),l&&(t.colorScheme=l),a.apply(t)}if(!e.command&&e.commandArgs.length===0){let{runWelcome:a}=await import("./chunks/welcome-N5V352SE.js");await o(await a())}var s=e.command??"";if(!s){if(e.commandArgs.length>0){let t=e.commandArgs.find(r=>!r.startsWith("-"))??e.commandArgs[0];console.error(` unknown command: ${t}`),console.error(` run \`${m.commandName} --help\` to see the full surface.`),await o(1)}let{printHelp:a}=await import("./chunks/help-5EJD6LJF.js");a(),await o(0)}if(e.help||e.commandArgs.includes("--help")||e.commandArgs.includes("-h")){if(s==="skill"){let{runSkill:r}=await import("./chunks/skills-HPK25R4B.js");await r(e.commandArgs),await o(0)}if(s==="state"){let{runState:r}=await import("./chunks/state-273XJPUE.js");await o(await r(i,{port:n}))}if(s==="reset"){let{runReset:r}=await import("./chunks/reset-T5CNZ7D3.js");await o(await r(i,{port:n}))}let a=s==="do"||s==="get"||s==="debug"||s==="shell"||s==="perf"||s==="wait",t=e.commandArgs.find(r=>!r.startsWith("-"));if(!(s==="shell"||s==="perf"))if(a&&!t){let{printGroupHelp:r}=await import("./chunks/help-5EJD6LJF.js");r(s)&&await o(0)}else{let{printCommandHelp:r}=await import("./chunks/help-5EJD6LJF.js");r(a&&t?t:s,{prefer:a&&t?"verb":"command",group:a&&t?s:void 0}),await o(0)}}C(s);if(g.has(s)){if(s==="do"){let{hasDoChain:t,runDoChain:r}=await import("./chunks/do-chain-7FDMO56C.js");t(i)&&await o(await r(i,{port:n}))}let{runInspect:a}=await import("./chunks/inspect-S3LR3R2A.js");await a([s,...i],{port:n,verbose:c})}else switch(s){case"assert":{let{runAssert:a}=await import("./chunks/assert-BSRQBRH7.js");await a(e.commandArgs);break}case"detox":{let{runDetox:a}=await import("./chunks/detox-6HAKYISO.js");await a(e.commandArgs,{port:n,verbose:c});break}case"maestro":{let{runMaestro:a}=await import("./chunks/maestro-SQS2OS2D.js"),t=await a(i,{port:n,verbose:c});await o(typeof t=="number"?t:0)}case"record":{let{runRecord:a}=await import("./chunks/record-2DN3OUE5.js");await a(i,{port:n,verbose:c});break}case"film":{let{runFilm:a}=await import("./chunks/film-R3EQADMG.js"),t=await a(i,{port:n,verbose:c});await o(typeof t=="number"?t:0)}case"storage":{let{runStorage:a}=await import("./chunks/storage-RTDFWIY7.js"),t=await a(i,{port:n,verbose:c});await o(typeof t=="number"?t:0)}case"state":{let{runState:a}=await import("./chunks/state-273XJPUE.js"),t=await a(i,{port:n});await o(t)}case"reset":{let{runReset:a}=await import("./chunks/reset-T5CNZ7D3.js"),t=await a(i,{port:n});await o(t)}case"perf":{let{runPerf:a}=await import("./chunks/perf-XLPC4UKR.js"),t=await a(i,{port:n,verbose:c});await o(typeof t=="number"?t:0)}case"screenshot":{let{runScreenshotCommand:a}=await import("./chunks/screenshot-command-RK7IJHVK.js"),t=await a(i,{port:n,verbose:c});await o(typeof t=="number"?t:0)}case"camera":{let{runCamera:a}=await import("./chunks/camera-ER66WWAX.js"),t=await a(i,{port:n});await o(typeof t=="number"?t:0)}case"mode":{let{runMode:a}=await import("./chunks/mode-3URDGBZB.js");await a(i,{port:n,verbose:c});break}case"permissions":{let{runPermissions:a}=await import("./chunks/permissions-QRHWVMDP.js"),t=await a(i,{port:n,verbose:c});await o(t)}case"debug":{let{runDebug:a}=await import("./chunks/debug-AHEK43AJ.js");await a(i,{port:n,verbose:c});break}case"timeline":{let{runTimeline:a}=await import("./chunks/timeline-IF2PGK7C.js");await a(i,{port:n,verbose:c});break}case"what-happened":{let{runWhatHappened:a}=await import("./chunks/what-happened-WXTP6EPR.js");await a(i,{port:n,verbose:c});break}case"open":{let{runOpenCommand:a}=await import("./chunks/control-5GRBZVYK.js");await a(i,{port:n});break}case"ios":case"android":{let{runPlatformCommand:a}=await import("./chunks/platform-F47URZNB.js"),t=await a(s,i,{port:n});await o(typeof t=="number"?t:0)}case"box":{let{runBox:a}=await import("./chunks/box-2NQYYY3B.js");await o(await a(i,{port:n,verbose:c}))}case"use":{let{runUseCommand:a}=await import("./chunks/control-5GRBZVYK.js");await a(i,{port:n});break}case"claim":{let{runClaimCommand:a}=await import("./chunks/control-5GRBZVYK.js");await a(i,{port:n});break}case"close":{let{runCloseCommand:a}=await import("./chunks/control-5GRBZVYK.js");await a(i,{port:n});break}case"device":{let{runDeviceCommand:a}=await import("./chunks/device-QM3S7OVU.js");await a(i,{port:n});break}case"compat":{let{runCompat:a}=await import("./chunks/compat-MGBKGYGQ.js");await a(e.commandArgs);break}case"report-issue":{let{runReportIssue:a}=await import("./chunks/report-issue-D3BQPSLU.js"),t=await a(e.commandArgs);await o(t)}case"desktop":{let{runDesktop:a}=await import("./chunks/desktop-LDRIXOVV.js");await a(e.commandArgs,{port:n,device:u});break}case"login":{let{runLogin:a}=await import("./chunks/login-ISWDW4WU.js");await a(e.commandArgs);break}case"logout":{let{runLogout:a}=await import("./chunks/logout-VNJX2IEW.js");await a();break}case"auth":{let{runAuth:a}=await import("./chunks/auth-SLPHDPCF.js");await a(e.commandArgs);break}case"setup":{let{runSetup:a}=await import("./chunks/setup-GH7OW4GC.js");await a(e.commandArgs);break}case"serve":{let{runServe:a}=await import("./chunks/serve-UBXNGLNP.js");await a(e.commandArgs,{port:n});break}case"daemon":{let{runDaemon:a}=await import("./chunks/daemon-MBT5E3ZC.js");await a(e.commandArgs,{port:n});break}case"runtime":{let{runRuntime:a}=await import("./chunks/runtime-AQJDBR3X.js");await a(e.commandArgs);break}case"upgrade":{let{runUpgrade:a}=await import("./chunks/upgrade-R74NVHKG.js");await a(e.commandArgs);break}case"version":{let{runVersion:a}=await import("./chunks/version-RTFCYQZ7.js");await a(e.commandArgs);break}case"agent":{let{runAgentCommand:a}=await import("./chunks/agent-GXCQMYV4.js"),t=await a(e.commandArgs);await o(t)}case"agent-wrapper":{let{runAgentWrapper:a}=await import("./chunks/agent-wrapper-Y3PQAL6I.js"),t=await a(e.commandArgs);await o(t)}case"skill":{let{runSkill:a}=await import("./chunks/skills-HPK25R4B.js");await a(e.commandArgs);break}case"app-fonts":{let{runAppFonts:a}=await import("./chunks/app-fonts-MDD3W4VN.js");await a(e.commandArgs);break}case"config":{let{runConfig:a}=await import("./chunks/config-TRDOMP4T.js");await a(e.commandArgs);break}case"cleanup":{let{runCleanup:a}=await import("./chunks/cleanup-WHGLBAJ2.js"),t=await a(e.commandArgs);await o(t)}default:console.error(` unknown command: ${s}`),console.error(` run \`${m.commandName} --help\` to see the full surface.`),await o(1)}await v();
@@ -1,7 +1,7 @@
1
- /*! rnx v0.1.367 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.368 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  import { createRequire as __sootsimCreateRequire } from 'node:module'
3
3
  var require = __sootsimCreateRequire(import.meta.url)
4
- import{a as b,b as E,c as A,d as l,e as S,g as x,h as j,j as T,n as I,o as k,p as D,q as g,r as O,s as C}from"./chunk-VFU2SJ7M.js";import"./chunk-HNT2OXPZ.js";import{c as $}from"./chunk-E33A4AIR.js";import"./chunk-PHNURIH3.js";import"./chunk-W5PATILQ.js";import"./chunk-JPXQKLNH.js";import"./chunk-YV7ERO2V.js";import"./chunk-IR44SFBA.js";import"./chunk-XWUTJLBM.js";import"./chunk-VANZFTUE.js";import"./chunk-AXMMLO7D.js";import{j as y}from"./chunk-3VBVEDDA.js";import"./chunk-6SO6I3D5.js";import"./chunk-A5AJFVOF.js";import"./chunk-G5IUIGGC.js";import w from"node:fs";import d from"node:path";import{spawn as _}from"node:child_process";import F from"node:net";import{WebSocket as R}from"ws";var c=class extends Error{code;constructor(e,t){super(e),this.name="AgentDaemonError",this.code=t}},f=class{ws;port;commandTimeoutMs;ready;closed=!1;nextId=1;pending=new Map;eventListeners=new Set;statusListeners=new Set;disconnectListeners=new Set;constructor(e={}){this.port=e.port??7668,this.commandTimeoutMs=e.commandTimeoutMs??15e3,this.ws=new R(`ws://localhost:${this.port}`),this.ready=new Promise((t,r)=>{let s=()=>{this.ws.off("error",o),t()},o=i=>{this.ws.off("open",s),r(new c(`could not connect to rnx daemon on port ${this.port}: ${i.message}`,"NO_DAEMON"))};this.ws.once("open",s),this.ws.once("error",o)}),this.ws.on("message",t=>this.handleMessage(t)),this.ws.on("close",()=>this.handleClose()),this.ws.on("error",()=>{})}async waitReady(){return this.ready}async listProjects(){return this.send("agent:list-projects")}async upsertProject(e){return this.send("agent:upsert-project",{input:e})}async deleteProject(e){return this.send("agent:delete-project",{projectId:e})}async autoAttachForUrl(e){return this.send("agent:auto-attach-for-url",{input:e})}async listSessions(e){return this.send("agent:list-sessions",{projectId:e})}async startSession(e){return this.send("agent:start-session",{input:e})}async sendPrompt(e,t){return this.send("agent:send-prompt",{sessionId:e,prompt:t})}async sendClaimedPrompt(e,t){return this.send("agent:send-claimed-prompt",{simId:e,prompt:t})}async endSession(e){return this.send("agent:end-session",{sessionId:e})}async getTranscript(e){return this.send("agent:get-transcript",{sessionId:e})}async getPaths(){return this.send("agent:get-paths")}async subscribeEvents(e){return this.send("agent:subscribe-events",{sessionId:e})}async unsubscribeEvents(e){return this.send("agent:unsubscribe-events",{sessionId:e})}onAgentEvent(e){return this.eventListeners.add(e),()=>this.eventListeners.delete(e)}onSessionStatusChange(e){return this.statusListeners.add(e),()=>this.statusListeners.delete(e)}onDisconnect(e){return this.disconnectListeners.add(e),()=>this.disconnectListeners.delete(e)}close(){if(!this.closed){this.closed=!0;try{this.ws.close()}catch{}}}async send(e,t={}){if(await this.ready,this.closed||this.ws.readyState!==R.OPEN)throw new c("daemon connection is closed","NO_DAEMON");let r=this.nextId++;return new Promise((s,o)=>{let i=setTimeout(()=>{this.pending.delete(r),o(new c(`${e} timed out after ${Math.round(this.commandTimeoutMs/1e3)}s`,"TIMEOUT"))},this.commandTimeoutMs);this.pending.set(r,{resolve:s,reject:o,timer:i});try{this.ws.send(JSON.stringify({id:r,type:e,...t}))}catch(a){clearTimeout(i),this.pending.delete(r),o(a instanceof Error?a:new Error(String(a)))}})}handleMessage(e){let t;try{t=JSON.parse(String(e))}catch{return}if(!t||typeof t!="object")return;if(t.type==="agent:event"){for(let s of this.eventListeners)try{s({sessionId:t.sessionId,event:t.event})}catch{}return}if(t.type==="agent:session-status"){for(let s of this.statusListeners)try{s(t.session)}catch{}return}if(typeof t.id!="number")return;let r=this.pending.get(t.id);r&&(this.pending.delete(t.id),clearTimeout(r.timer),t.error?r.reject(new c(t.error,t.code)):r.resolve(t.result))}handleClose(){if(!this.closed){this.closed=!0;for(let[,e]of this.pending)clearTimeout(e.timer),e.reject(new c("daemon disconnected","DISCONNECT"));this.pending.clear();for(let e of this.disconnectListeners)try{e()}catch{}}}};function M(n=7668,e=400){return new Promise(t=>{let r=new F.Socket,s=!1,o=i=>{s||(s=!0,r.destroy(),t(i))};r.setTimeout(e),r.once("connect",()=>o(!0)),r.once("timeout",()=>o(!1)),r.once("error",()=>o(!1)),r.connect(n,"127.0.0.1")})}async function B(n={}){let e=n.port??7668;if(await M(e))return{alreadyRunning:!0};if(y())throw new c(`no rnx bridge on port ${e}. run \`rnx daemon install\` to enable the faster background service, or \`rnx serve\` in another shell.`,"DEV_HOST_REFUSED");let{cmd:t,prefixArgs:r}=C(),s=[...r,"serve","--quiet"];e!==7668&&s.push("--port",String(e));let o=_(t,s,{detached:!0,stdio:"ignore",env:process.env,cwd:process.cwd()});o.unref();let i=Date.now()+(n.startupTimeoutMs??5e3);for(;Date.now()<i;){if(await M(e))return{alreadyRunning:!1,pid:o.pid};await new Promise(a=>setTimeout(a,100))}throw new c(`spawned rnx daemon on port ${e} but it did not come up in time. run \`rnx serve\` manually to diagnose.`,"SPAWN_TIMEOUT")}async function h(n={}){await B({port:n.port,startupTimeoutMs:n.startupTimeoutMs});let e=new f(n);try{await e.waitReady()}catch(t){throw e.close(),t}return e}async function ge(n){let[e,...t]=n;try{switch(e){case void 0:case"--help":case"-h":case"help":return L(),0;case"attach":return await W(t);case"projects":return await J();case"project":return await V(t);case"sessions":return await H(t);case"start":return await G(t);case"prompt":return await q(t);case"watch":return await K(t);case"transcript":return await z(t);case"end":return await Q(t);case"paths":return await Y();default:return process.stderr.write(`unknown agent subcommand: ${e}
4
+ import{a as b,b as E,c as A,d as l,e as S,g as x,h as j,j as T,n as I,o as k,p as D,q as g,r as O,s as C}from"./chunk-GFWUIGGY.js";import"./chunk-4FLQYRGN.js";import{c as $}from"./chunk-BWJOLJOK.js";import"./chunk-WXRDFUR7.js";import"./chunk-FSPZY4AI.js";import"./chunk-4VA2ISWX.js";import"./chunk-LAKWOJ5Y.js";import"./chunk-EHA65UVJ.js";import"./chunk-T2MGLXY5.js";import"./chunk-LPAOOJIW.js";import"./chunk-SSUPPM6K.js";import{j as y}from"./chunk-E6XYIIJK.js";import"./chunk-ECXDCED5.js";import"./chunk-WVVAYLWZ.js";import"./chunk-Q65KH25G.js";import w from"node:fs";import d from"node:path";import{spawn as _}from"node:child_process";import F from"node:net";import{WebSocket as R}from"ws";var c=class extends Error{code;constructor(e,t){super(e),this.name="AgentDaemonError",this.code=t}},f=class{ws;port;commandTimeoutMs;ready;closed=!1;nextId=1;pending=new Map;eventListeners=new Set;statusListeners=new Set;disconnectListeners=new Set;constructor(e={}){this.port=e.port??7668,this.commandTimeoutMs=e.commandTimeoutMs??15e3,this.ws=new R(`ws://localhost:${this.port}`),this.ready=new Promise((t,r)=>{let s=()=>{this.ws.off("error",o),t()},o=i=>{this.ws.off("open",s),r(new c(`could not connect to rnx daemon on port ${this.port}: ${i.message}`,"NO_DAEMON"))};this.ws.once("open",s),this.ws.once("error",o)}),this.ws.on("message",t=>this.handleMessage(t)),this.ws.on("close",()=>this.handleClose()),this.ws.on("error",()=>{})}async waitReady(){return this.ready}async listProjects(){return this.send("agent:list-projects")}async upsertProject(e){return this.send("agent:upsert-project",{input:e})}async deleteProject(e){return this.send("agent:delete-project",{projectId:e})}async autoAttachForUrl(e){return this.send("agent:auto-attach-for-url",{input:e})}async listSessions(e){return this.send("agent:list-sessions",{projectId:e})}async startSession(e){return this.send("agent:start-session",{input:e})}async sendPrompt(e,t){return this.send("agent:send-prompt",{sessionId:e,prompt:t})}async sendClaimedPrompt(e,t){return this.send("agent:send-claimed-prompt",{simId:e,prompt:t})}async endSession(e){return this.send("agent:end-session",{sessionId:e})}async getTranscript(e){return this.send("agent:get-transcript",{sessionId:e})}async getPaths(){return this.send("agent:get-paths")}async subscribeEvents(e){return this.send("agent:subscribe-events",{sessionId:e})}async unsubscribeEvents(e){return this.send("agent:unsubscribe-events",{sessionId:e})}onAgentEvent(e){return this.eventListeners.add(e),()=>this.eventListeners.delete(e)}onSessionStatusChange(e){return this.statusListeners.add(e),()=>this.statusListeners.delete(e)}onDisconnect(e){return this.disconnectListeners.add(e),()=>this.disconnectListeners.delete(e)}close(){if(!this.closed){this.closed=!0;try{this.ws.close()}catch{}}}async send(e,t={}){if(await this.ready,this.closed||this.ws.readyState!==R.OPEN)throw new c("daemon connection is closed","NO_DAEMON");let r=this.nextId++;return new Promise((s,o)=>{let i=setTimeout(()=>{this.pending.delete(r),o(new c(`${e} timed out after ${Math.round(this.commandTimeoutMs/1e3)}s`,"TIMEOUT"))},this.commandTimeoutMs);this.pending.set(r,{resolve:s,reject:o,timer:i});try{this.ws.send(JSON.stringify({id:r,type:e,...t}))}catch(a){clearTimeout(i),this.pending.delete(r),o(a instanceof Error?a:new Error(String(a)))}})}handleMessage(e){let t;try{t=JSON.parse(String(e))}catch{return}if(!t||typeof t!="object")return;if(t.type==="agent:event"){for(let s of this.eventListeners)try{s({sessionId:t.sessionId,event:t.event})}catch{}return}if(t.type==="agent:session-status"){for(let s of this.statusListeners)try{s(t.session)}catch{}return}if(typeof t.id!="number")return;let r=this.pending.get(t.id);r&&(this.pending.delete(t.id),clearTimeout(r.timer),t.error?r.reject(new c(t.error,t.code)):r.resolve(t.result))}handleClose(){if(!this.closed){this.closed=!0;for(let[,e]of this.pending)clearTimeout(e.timer),e.reject(new c("daemon disconnected","DISCONNECT"));this.pending.clear();for(let e of this.disconnectListeners)try{e()}catch{}}}};function M(n=7668,e=400){return new Promise(t=>{let r=new F.Socket,s=!1,o=i=>{s||(s=!0,r.destroy(),t(i))};r.setTimeout(e),r.once("connect",()=>o(!0)),r.once("timeout",()=>o(!1)),r.once("error",()=>o(!1)),r.connect(n,"127.0.0.1")})}async function B(n={}){let e=n.port??7668;if(await M(e))return{alreadyRunning:!0};if(y())throw new c(`no rnx bridge on port ${e}. run \`rnx daemon install\` to enable the faster background service, or \`rnx serve\` in another shell.`,"DEV_HOST_REFUSED");let{cmd:t,prefixArgs:r}=C(),s=[...r,"serve","--quiet"];e!==7668&&s.push("--port",String(e));let o=_(t,s,{detached:!0,stdio:"ignore",env:process.env,cwd:process.cwd()});o.unref();let i=Date.now()+(n.startupTimeoutMs??5e3);for(;Date.now()<i;){if(await M(e))return{alreadyRunning:!1,pid:o.pid};await new Promise(a=>setTimeout(a,100))}throw new c(`spawned rnx daemon on port ${e} but it did not come up in time. run \`rnx serve\` manually to diagnose.`,"SPAWN_TIMEOUT")}async function h(n={}){await B({port:n.port,startupTimeoutMs:n.startupTimeoutMs});let e=new f(n);try{await e.waitReady()}catch(t){throw e.close(),t}return e}async function ge(n){let[e,...t]=n;try{switch(e){case void 0:case"--help":case"-h":case"help":return L(),0;case"attach":return await W(t);case"projects":return await J();case"project":return await V(t);case"sessions":return await H(t);case"start":return await G(t);case"prompt":return await q(t);case"watch":return await K(t);case"transcript":return await z(t);case"end":return await Q(t);case"paths":return await Y();default:return process.stderr.write(`unknown agent subcommand: ${e}
5
5
  `),L(),2}}catch(r){if(r instanceof c)return process.stderr.write(`${r.message}
6
6
  `),1;throw r}}async function v(n){let e=await h({clientLabel:"sootsim-agent-cli"});try{return await n(e)}finally{e.close()}}function L(){$("agent")}function P(n,e){let t={},r=[];for(let s=0;s<n.length;s++){let o=n[s],i=e[o];i==="value"?(t[o]=n[s+1]??"",s++):i==="bool"?t[o]=!0:r.push(o)}return{flags:t,positional:r}}function U(n,e="codex"){return n==="codex"||n==="claude"?n:e}async function W(n){let{flags:e,positional:t}=P(n,{"--name":"value","--provider":"value"}),r=t[0];if(!r)return process.stderr.write(`usage: rnx agent attach <dir> [--name X] [--provider codex|claude]
7
7
  `),2;let s=d.resolve(r);if(!w.existsSync(s))return process.stderr.write(`directory does not exist: ${s}
@@ -1,7 +1,7 @@
1
- /*! rnx v0.1.367 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.368 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  import { createRequire as __sootsimCreateRequire } from 'node:module'
3
3
  var require = __sootsimCreateRequire(import.meta.url)
4
- import{b as M}from"./chunk-HNT2OXPZ.js";import"./chunk-G5IUIGGC.js";import{execFile as G,spawn as q}from"node:child_process";import{randomUUID as X}from"node:crypto";import{constants as R,createReadStream as Y,createWriteStream as j,existsSync as C,openSync as J}from"node:fs";import V from"node:fs/promises";import z from"node:path";import K from"node:readline";import{promisify as Q}from"node:util";import{spawn as H}from"node:child_process";import L from"node:readline";var b=class extends Error{code;data;constructor(t,r,m){super(t),this.name="CodexRpcError",this.code=r,this.data=m}};function W(d){let t=H(d.bin,["app-server"],{cwd:d.cwd,env:{...process.env,...d.env},stdio:["pipe","pipe","pipe"]}),r=new Map,m=new Map,u=1,f=!1,a=new Promise(s=>{t.on("exit",(o,e)=>{f=!0;let p=new Error(`codex app-server exited (code=${o}, signal=${e??""})`);for(let{reject:y}of r.values())y(p);r.clear(),s({code:o,signal:e})})});L.createInterface({input:t.stdout,crlfDelay:1/0}).on("line",s=>{let o=s.trim();if(!o)return;let e;try{e=JSON.parse(o)}catch{return}if(e.id!=null&&(e.result!==void 0||e.error!==void 0)){let p=typeof e.id=="string"?Number(e.id):e.id,y=p!=null?r.get(p):void 0;if(!y)return;r.delete(p),e.error?y.reject(new b(e.error.message,e.error.code,e.error.data)):y.resolve(e.result);return}if(e.method){let p=m.get(e.method);if(!p)return;for(let y of p)try{y(e.params)}catch(l){console.error(`[codex-client] handler for "${e.method}" threw:`,l instanceof Error?l.stack??l.message:l)}}}),t.stderr.setEncoding("utf8"),t.stderr.on("data",s=>{let o=m.get("__stderr__");if(o)for(let e of o)try{e({text:s})}catch{}});function n(s){if(!f)try{t.stdin.write(JSON.stringify(s)+`
4
+ import{b as M}from"./chunk-4FLQYRGN.js";import"./chunk-Q65KH25G.js";import{execFile as G,spawn as q}from"node:child_process";import{randomUUID as X}from"node:crypto";import{constants as R,createReadStream as Y,createWriteStream as j,existsSync as C,openSync as J}from"node:fs";import V from"node:fs/promises";import z from"node:path";import K from"node:readline";import{promisify as Q}from"node:util";import{spawn as H}from"node:child_process";import L from"node:readline";var b=class extends Error{code;data;constructor(t,r,m){super(t),this.name="CodexRpcError",this.code=r,this.data=m}};function W(d){let t=H(d.bin,["app-server"],{cwd:d.cwd,env:{...process.env,...d.env},stdio:["pipe","pipe","pipe"]}),r=new Map,m=new Map,u=1,f=!1,a=new Promise(s=>{t.on("exit",(o,e)=>{f=!0;let p=new Error(`codex app-server exited (code=${o}, signal=${e??""})`);for(let{reject:y}of r.values())y(p);r.clear(),s({code:o,signal:e})})});L.createInterface({input:t.stdout,crlfDelay:1/0}).on("line",s=>{let o=s.trim();if(!o)return;let e;try{e=JSON.parse(o)}catch{return}if(e.id!=null&&(e.result!==void 0||e.error!==void 0)){let p=typeof e.id=="string"?Number(e.id):e.id,y=p!=null?r.get(p):void 0;if(!y)return;r.delete(p),e.error?y.reject(new b(e.error.message,e.error.code,e.error.data)):y.resolve(e.result);return}if(e.method){let p=m.get(e.method);if(!p)return;for(let y of p)try{y(e.params)}catch(l){console.error(`[codex-client] handler for "${e.method}" threw:`,l instanceof Error?l.stack??l.message:l)}}}),t.stderr.setEncoding("utf8"),t.stderr.on("data",s=>{let o=m.get("__stderr__");if(o)for(let e of o)try{e({text:s})}catch{}});function n(s){if(!f)try{t.stdin.write(JSON.stringify(s)+`
5
5
  `)}catch{}}return{exited:a,on(s,o){let e=m.get(s);return e||(e=new Set,m.set(s,e)),e.add(o),()=>{e?.delete(o)}},request(s,o){if(f)return Promise.reject(new Error(`codex app-server closed; cannot call ${s}`));let e=u++;return new Promise((p,y)=>{r.set(e,{resolve:l=>p(l),reject:y,method:s}),n({jsonrpc:"2.0",id:e,method:s,params:o})})},notify(s,o){n({jsonrpc:"2.0",method:s,params:o})},async shutdown(s=1500){if(f)return;try{t.stdin.end()}catch{}let o=setTimeout(()=>{if(!f)try{t.kill("SIGTERM")}catch{}},s);try{await a}finally{clearTimeout(o)}},kill(s="SIGTERM"){if(!f)try{t.kill(s)}catch{}}}}var O="never",F="danger-full-access",Z={type:"dangerFullAccess"},D="fast",ee="medium",te=Q(G);async function ne(d,t){let r=t||d;if(r.includes("/")||r.includes("\\"))return C(r)?{ok:!0,path:r}:{ok:!1,message:`agent binary not found at path: ${r}`};try{let{stdout:m}=await te("which",[r],{timeout:1500}),u=m.trim();return u?{ok:!0,path:u}:{ok:!1,message:`${r} not found on PATH`}}catch{return{ok:!1,message:`${r} not found on PATH. install the ${d} CLI and retry, or pass --${d}-bin /path/to/${d} to agent start.`}}}function re(d){let t={"--session-id":"sessionId","--project-id":"projectId","--provider":"provider","--cwd":"cwd","--prompt-in":"promptIn","--events-out":"eventsOut","--transcript":"transcript","--codex-bin":"codexBin","--claude-bin":"claudeBin","--claude-session-uuid":"claudeSessionUuid"},r={};for(let m=0;m<d.length;m++){let u=d[m];if(u==="--fresh-thread"){r.freshThread=!0;continue}let f=t[u];f&&(r[f]=d[m+1],m++)}return r}async function Ie(d){let t=re(d);if(!t.sessionId||!t.projectId||!t.provider||!t.cwd||!t.promptIn||!t.eventsOut)return process.stderr.write(`usage: rnx agent-wrapper --session-id <id> --project-id <id>
6
6
  --provider codex|claude --cwd <path>
7
7
  --prompt-in <fifo> --events-out <fifo>
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.367 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.368 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  import { createRequire as __sootsimCreateRequire } from 'node:module'
3
3
  var require = __sootsimCreateRequire(import.meta.url)
4
- import{p}from"./chunk-LWOVKHRC.js";import"./chunk-U44VEQRN.js";import"./chunk-RNQTOGM7.js";import"./chunk-G5IUIGGC.js";import{existsSync as h,mkdirSync as d,readFileSync as y,writeFileSync as g}from"node:fs";import{join as m}from"node:path";import{gzipSync as w}from"node:zlib";function f(t,e){let o=t.indexOf(`--${e}`);if(o!==-1&&o+1<t.length)return t[o+1];let r=t.find(i=>i.startsWith(`--${e}=`));return r?r.slice(e.length+3):void 0}async function x(t){let e=f(t,"wire")||"",o=f(t,"out-dir"),r=f(t,"manifest");if((!o||!r)&&(console.error(" usage: rnx app-fonts stage --wire <wire> --out-dir <dir> --manifest <path>"),process.exit(1)),!e.trim()){console.log("no app fonts declared \u2014 nothing to stage");return}d(o,{recursive:!0});let i=await p(e,{onStaged:({url:n,byteLength:s})=>console.log(` staged app font: ${n} (${(s/1024).toFixed(1)} KiB)`),onError:(n,s)=>console.error(` warning: failed to fetch app font ${n}: ${s instanceof Error?s.message:s}`)}),a=[];for(let n of i){let s=w(n.bytes);g(m(o,n.urlhash),s),a.push({url:n.url,urlhash:n.urlhash,contentType:n.contentType,encoding:"gzip",sizeBytes:s.length,rawBytes:n.bytes.byteLength})}let c=[];if(h(r))try{let n=JSON.parse(y(r,"utf8"));Array.isArray(n)&&(c=n)}catch{}let u=new Set(c.map(n=>n.urlhash)),l=[...c,...a.filter(n=>!u.has(n.urlhash))];g(r,JSON.stringify(l)),console.log(`staged ${a.length} app font(s); manifest now has ${l.length} file(s)`)}async function E(t){let e=t[0];if(e==="stage"){await x(t.slice(1));return}console.error(` unknown app-fonts subcommand: ${e??"(none)"}`),console.error(" available: stage"),process.exit(1)}export{E as runAppFonts};
4
+ import{p}from"./chunk-7B22IPSC.js";import"./chunk-WF2CRNYF.js";import"./chunk-PNBQBBG5.js";import"./chunk-Q65KH25G.js";import{existsSync as h,mkdirSync as d,readFileSync as y,writeFileSync as g}from"node:fs";import{join as m}from"node:path";import{gzipSync as w}from"node:zlib";function f(t,e){let o=t.indexOf(`--${e}`);if(o!==-1&&o+1<t.length)return t[o+1];let r=t.find(i=>i.startsWith(`--${e}=`));return r?r.slice(e.length+3):void 0}async function x(t){let e=f(t,"wire")||"",o=f(t,"out-dir"),r=f(t,"manifest");if((!o||!r)&&(console.error(" usage: rnx app-fonts stage --wire <wire> --out-dir <dir> --manifest <path>"),process.exit(1)),!e.trim()){console.log("no app fonts declared \u2014 nothing to stage");return}d(o,{recursive:!0});let i=await p(e,{onStaged:({url:n,byteLength:s})=>console.log(` staged app font: ${n} (${(s/1024).toFixed(1)} KiB)`),onError:(n,s)=>console.error(` warning: failed to fetch app font ${n}: ${s instanceof Error?s.message:s}`)}),a=[];for(let n of i){let s=w(n.bytes);g(m(o,n.urlhash),s),a.push({url:n.url,urlhash:n.urlhash,contentType:n.contentType,encoding:"gzip",sizeBytes:s.length,rawBytes:n.bytes.byteLength})}let c=[];if(h(r))try{let n=JSON.parse(y(r,"utf8"));Array.isArray(n)&&(c=n)}catch{}let u=new Set(c.map(n=>n.urlhash)),l=[...c,...a.filter(n=>!u.has(n.urlhash))];g(r,JSON.stringify(l)),console.log(`staged ${a.length} app font(s); manifest now has ${l.length} file(s)`)}async function E(t){let e=t[0];if(e==="stage"){await x(t.slice(1));return}console.error(` unknown app-fonts subcommand: ${e??"(none)"}`),console.error(" available: stage"),process.exit(1)}export{E as runAppFonts};
@@ -1,7 +1,7 @@
1
- /*! rnx v0.1.367 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.368 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  import { createRequire as __sootsimCreateRequire } from 'node:module'
3
3
  var require = __sootsimCreateRequire(import.meta.url)
4
- import"./chunk-G5IUIGGC.js";import{spawn as v}from"child_process";var w=new Set(["describe","find","list","network","logs","count","tree","url","a11y","node","layout","keyboard","errors","warnings","requests","animations","animation","state","sample-color"]),S=new Set(["--exists","--empty","--negate","--quiet","--allow-timeout","!"]),q=new Set(["--count","--count-at-least","--count-at-most","--contains","--not-contains","--matches","--not-matches","--equals","--jq","--has-path","--within"]),P=new Set(["--path-equals"]);function j(s){let r=[],u=[],n=0,e=!1,t=!1,i=!1;for(let o=0;o<s.length;o++){let a=s[o];if(a==="--within"){let c=Number(s[o+1]);if(!Number.isFinite(c)||c<0)return{error:`--within requires a non-negative number, got: ${s[o+1]}`};n=c,o++;continue}if(a==="--negate"||a==="!"){e=!0;continue}if(a==="--quiet"){t=!0;continue}if(a==="--allow-timeout"){i=!0;continue}if(S.has(a)){u.push({kind:a,args:[]});continue}if(q.has(a)){let c=s[o+1];if(c==null)return{error:`${a} requires a value`};u.push({kind:a,args:[c]}),o++;continue}if(P.has(a)){let c=s[o+1],f=s[o+2];if(c==null||f==null)return{error:`${a} requires <path> <value>`};u.push({kind:a,args:[c,f]}),o+=2;continue}r.push(a)}return r.length===0?{error:"assert requires a verb (e.g. find, describe, get errors)"}:{verbArgs:r,predicates:u,withinMs:n,negate:e,quiet:t,allowTimeout:i}}function N(s){return s[0]==="get"||s[0]==="debug"?w.has(s[1])?s[1]:null:s[0]==="do"||s[0]==="wait"?null:w.has(s[0])?s[0]:null}async function R(s){let u=[process.argv[1],...s,"--json"];return new Promise(n=>{let e=v(process.execPath,u,{stdio:["ignore","pipe","pipe"],env:process.env}),t="",i="";e.stdout.on("data",o=>t+=o.toString()),e.stderr.on("data",o=>i+=o.toString()),e.on("error",o=>{n({ok:!1,payload:null,reason:`spawn failed: ${o.message}`})}),e.on("close",o=>{if(o!==0){let a=i.trim().split(`
4
+ import"./chunk-Q65KH25G.js";import{spawn as v}from"child_process";var w=new Set(["describe","find","list","network","logs","count","tree","url","a11y","node","layout","keyboard","errors","warnings","requests","animations","animation","state","sample-color"]),S=new Set(["--exists","--empty","--negate","--quiet","--allow-timeout","!"]),q=new Set(["--count","--count-at-least","--count-at-most","--contains","--not-contains","--matches","--not-matches","--equals","--jq","--has-path","--within"]),P=new Set(["--path-equals"]);function j(s){let r=[],u=[],n=0,e=!1,t=!1,i=!1;for(let o=0;o<s.length;o++){let a=s[o];if(a==="--within"){let c=Number(s[o+1]);if(!Number.isFinite(c)||c<0)return{error:`--within requires a non-negative number, got: ${s[o+1]}`};n=c,o++;continue}if(a==="--negate"||a==="!"){e=!0;continue}if(a==="--quiet"){t=!0;continue}if(a==="--allow-timeout"){i=!0;continue}if(S.has(a)){u.push({kind:a,args:[]});continue}if(q.has(a)){let c=s[o+1];if(c==null)return{error:`${a} requires a value`};u.push({kind:a,args:[c]}),o++;continue}if(P.has(a)){let c=s[o+1],f=s[o+2];if(c==null||f==null)return{error:`${a} requires <path> <value>`};u.push({kind:a,args:[c,f]}),o+=2;continue}r.push(a)}return r.length===0?{error:"assert requires a verb (e.g. find, describe, get errors)"}:{verbArgs:r,predicates:u,withinMs:n,negate:e,quiet:t,allowTimeout:i}}function N(s){return s[0]==="get"||s[0]==="debug"?w.has(s[1])?s[1]:null:s[0]==="do"||s[0]==="wait"?null:w.has(s[0])?s[0]:null}async function R(s){let u=[process.argv[1],...s,"--json"];return new Promise(n=>{let e=v(process.execPath,u,{stdio:["ignore","pipe","pipe"],env:process.env}),t="",i="";e.stdout.on("data",o=>t+=o.toString()),e.stderr.on("data",o=>i+=o.toString()),e.on("error",o=>{n({ok:!1,payload:null,reason:`spawn failed: ${o.message}`})}),e.on("close",o=>{if(o!==0){let a=i.trim().split(`
5
5
  `).slice(-2).join(" | ").slice(0,200);n({ok:!1,payload:null,reason:`verb exited ${o}${a?`: ${a}`:""}`});return}if(!t.trim()){n({ok:!1,payload:null,reason:"verb produced no output"});return}try{let a=JSON.parse(t);n({ok:!0,payload:a})}catch{n({ok:!1,payload:null,reason:`verb output was not valid json: ${t.slice(0,120)}`})}})})}function y(s,r){let u=r.split(".").filter(e=>e.length>0),n=s;for(let e of u){if(n==null)return{found:!1};if(Array.isArray(n)){let t=Number(e);if(!Number.isInteger(t)||t<0||t>=n.length)return{found:!1};n=n[t];continue}if(typeof n=="object"){let t=n;if(!(e in t))return{found:!1};n=t[e];continue}return{found:!1}}return{found:!0,value:n}}function d(s){return Array.isArray(s)?s.length:s&&typeof s=="object"?Object.keys(s).length:null}async function A(s,r){let{kind:u,args:n}=s;switch(u){case"--exists":return r==null?{ok:!1,reason:"payload is null"}:d(r)===0?{ok:!1,reason:"payload is empty"}:{ok:!0,reason:"exists"};case"--empty":{if(r==null)return{ok:!0,reason:"payload is null"};let e=d(r);return e===0?{ok:!0,reason:"payload is empty"}:{ok:!1,reason:`payload has ${e} item(s)`}}case"--count":{let e=Number(n[0]),t=d(r);return t==null?{ok:!1,reason:`payload not countable (${typeof r})`}:{ok:t===e,reason:`count=${t}, want=${e}`}}case"--count-at-least":{let e=Number(n[0]),t=d(r);return t==null?{ok:!1,reason:"payload not countable"}:{ok:t>=e,reason:`count=${t}, want>=${e}`}}case"--count-at-most":{let e=Number(n[0]),t=d(r);return t==null?{ok:!1,reason:"payload not countable"}:{ok:t<=e,reason:`count=${t}, want<=${e}`}}case"--contains":{let e=n[0],t=JSON.stringify(r);return{ok:t.includes(e),reason:t.includes(e)?`contains "${e}"`:`missing "${e}"`}}case"--not-contains":{let e=n[0],t=JSON.stringify(r);return{ok:!t.includes(e),reason:t.includes(e)?`unexpected "${e}"`:`not contains "${e}"`}}case"--matches":{let e=new RegExp(n[0]),t=JSON.stringify(r),i=e.test(t);return{ok:i,reason:i?`matches /${n[0]}/`:`no match for /${n[0]}/`}}case"--not-matches":{let e=new RegExp(n[0]),t=JSON.stringify(r),i=!e.test(t);return{ok:i,reason:i?`not matches /${n[0]}/`:`unexpected /${n[0]}/`}}case"--equals":{let e=n[0],t=typeof r=="string"?r:typeof r=="number"||typeof r=="boolean"?String(r):JSON.stringify(r);return{ok:t===e,reason:`got=${JSON.stringify(t)}, want=${JSON.stringify(e)}`}}case"--has-path":{let e=y(r,n[0]);return{ok:e.found,reason:e.found?`path ${n[0]} present`:`path ${n[0]} missing`}}case"--path-equals":{let[e,t]=n,i=y(r,e);if(!i.found)return{ok:!1,reason:`path ${e} missing`};let o=typeof i.value=="string"||typeof i.value=="number"||typeof i.value=="boolean"?String(i.value):JSON.stringify(i.value);return{ok:o===t,reason:`${e}=${o}, want=${t}`}}case"--jq":{let e=n[0];try{let i=(await O(e,r)).trim();return{ok:i.length>0&&i!=="null"&&i!=="false"&&i!=='""',reason:`jq: ${i.slice(0,120)}`}}catch(t){throw new Error(`jq evaluation failed: ${t.message}`)}}default:return{ok:!1,reason:`unknown predicate ${u}`}}}function O(s,r){return new Promise((u,n)=>{let e=v("jq",[s],{stdio:["pipe","pipe","pipe"]}),t="",i="";e.stdout.on("data",o=>t+=o.toString()),e.stderr.on("data",o=>i+=o.toString()),e.on("error",n),e.on("close",o=>{if(o!==0){n(new Error(i.trim()||`jq exited ${o}`));return}u(t)}),e.stdin.end(JSON.stringify(r))})}async function T(s){(s[0]==="--help"||s[0]==="-h"||s.length===0)&&(J(),process.exit(s.length===0?2:0));let r=j(s);"error"in r&&(process.stderr.write(` assert: ${r.error}
6
6
  `),process.exit(2));let{verbArgs:u,predicates:n,withinMs:e,negate:t,quiet:i,allowTimeout:o}=r;N(u)||(process.stderr.write(` assert: unknown or non-read verb: ${u.join(" ")}
7
7
  supported: ${Array.from(w).sort().join(", ")}
@@ -1,7 +1,7 @@
1
- /*! rnx v0.1.367 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.368 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  import { createRequire as __sootsimCreateRequire } from 'node:module'
3
3
  var require = __sootsimCreateRequire(import.meta.url)
4
- import{a as r}from"./chunk-EFMOXYDD.js";import{d as t}from"./chunk-N5OSV26B.js";import"./chunk-3VBVEDDA.js";import"./chunk-G5IUIGGC.js";function i(){console.log(`
4
+ import{a as r}from"./chunk-SHMLYTNH.js";import{d as t}from"./chunk-TOE5O6JE.js";import"./chunk-E6XYIIJK.js";import"./chunk-Q65KH25G.js";function i(){console.log(`
5
5
  rnx auth \u2014 inspect CLI auth
6
6
 
7
7
  usage:
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.367 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.368 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  import { createRequire as __sootsimCreateRequire } from 'node:module'
3
3
  var require = __sootsimCreateRequire(import.meta.url)
4
- import{a,b,c,d}from"./chunk-JPXQKLNH.js";import"./chunk-G5IUIGGC.js";export{d as BETA_ASK_HEADLINE,b as BETA_LABEL,c as BETA_TAGLINE,a as IS_BETA};
4
+ import{a,b,c,d}from"./chunk-4VA2ISWX.js";import"./chunk-Q65KH25G.js";export{d as BETA_ASK_HEADLINE,b as BETA_LABEL,c as BETA_TAGLINE,a as IS_BETA};
@@ -1,7 +1,7 @@
1
- /*! rnx v0.1.367 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.368 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  import { createRequire as __sootsimCreateRequire } from 'node:module'
3
3
  var require = __sootsimCreateRequire(import.meta.url)
4
- import{a as Mm}from"./chunk-YBFB3RM7.js";import{k as Rm,l as Lm}from"./chunk-XWUTJLBM.js";import"./chunk-VANZFTUE.js";import"./chunk-3VBVEDDA.js";import{a as en}from"./chunk-A5AJFVOF.js";import{b as Ae,d as $m}from"./chunk-G5IUIGGC.js";var Fm=Ae(ru=>{(function(){"use strict";var e={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function t(a){return n(s(a),arguments)}function r(a,o){return t.apply(null,[a].concat(o||[]))}function n(a,o){var l=1,u=a.length,c,p="",h,f,d,m,g,y,x,b;for(h=0;h<u;h++)if(typeof a[h]=="string")p+=a[h];else if(typeof a[h]=="object"){if(d=a[h],d.keys)for(c=o[l],f=0;f<d.keys.length;f++){if(c==null)throw new Error(t('[sprintf] Cannot access property "%s" of undefined value "%s"',d.keys[f],d.keys[f-1]));c=c[d.keys[f]]}else d.param_no?c=o[d.param_no]:c=o[l++];if(e.not_type.test(d.type)&&e.not_primitive.test(d.type)&&c instanceof Function&&(c=c()),e.numeric_arg.test(d.type)&&typeof c!="number"&&isNaN(c))throw new TypeError(t("[sprintf] expecting number but found %T",c));switch(e.number.test(d.type)&&(x=c>=0),d.type){case"b":c=parseInt(c,10).toString(2);break;case"c":c=String.fromCharCode(parseInt(c,10));break;case"d":case"i":c=parseInt(c,10);break;case"j":c=JSON.stringify(c,null,d.width?parseInt(d.width):0);break;case"e":c=d.precision?parseFloat(c).toExponential(d.precision):parseFloat(c).toExponential();break;case"f":c=d.precision?parseFloat(c).toFixed(d.precision):parseFloat(c);break;case"g":c=d.precision?String(Number(c.toPrecision(d.precision))):parseFloat(c);break;case"o":c=(parseInt(c,10)>>>0).toString(8);break;case"s":c=String(c),c=d.precision?c.substring(0,d.precision):c;break;case"t":c=String(!!c),c=d.precision?c.substring(0,d.precision):c;break;case"T":c=Object.prototype.toString.call(c).slice(8,-1).toLowerCase(),c=d.precision?c.substring(0,d.precision):c;break;case"u":c=parseInt(c,10)>>>0;break;case"v":c=c.valueOf(),c=d.precision?c.substring(0,d.precision):c;break;case"x":c=(parseInt(c,10)>>>0).toString(16);break;case"X":c=(parseInt(c,10)>>>0).toString(16).toUpperCase();break}e.json.test(d.type)?p+=c:(e.number.test(d.type)&&(!x||d.sign)?(b=x?"+":"-",c=c.toString().replace(e.sign,"")):b="",g=d.pad_char?d.pad_char==="0"?"0":d.pad_char.charAt(1):" ",y=d.width-(b+c).length,m=d.width&&y>0?g.repeat(y):"",p+=d.align?b+c+m:g==="0"?b+m+c:m+b+c)}return p}var i=Object.create(null);function s(a){if(i[a])return i[a];for(var o=a,l,u=[],c=0;o;){if((l=e.text.exec(o))!==null)u.push(l[0]);else if((l=e.modulo.exec(o))!==null)u.push("%");else if((l=e.placeholder.exec(o))!==null){if(l[2]){c|=1;var p=[],h=l[2],f=[];if((f=e.key.exec(h))!==null)for(p.push(f[1]);(h=h.substring(f[0].length))!=="";)if((f=e.key_access.exec(h))!==null)p.push(f[1]);else if((f=e.index_access.exec(h))!==null)p.push(f[1]);else throw new SyntaxError("[sprintf] failed to parse named argument key");else throw new SyntaxError("[sprintf] failed to parse named argument key");l[2]=p}else c|=2;if(c===3)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");u.push({placeholder:l[0],param_no:l[1],keys:l[2],sign:l[3],pad_char:l[4],align:l[5],width:l[6],precision:l[7],type:l[8]})}else throw new SyntaxError("[sprintf] unexpected placeholder");o=o.substring(l[0].length)}return i[a]=u}typeof ru<"u"&&(ru.sprintf=t,ru.vsprintf=r),typeof window<"u"&&(window.sprintf=t,window.vsprintf=r,typeof define=="function"&&define.amd&&define(function(){return{sprintf:t,vsprintf:r}}))})()});var ca=Ae((lG,sg)=>{"use strict";sg.exports=vs;vs.CAPTURING_PHASE=1;vs.AT_TARGET=2;vs.BUBBLING_PHASE=3;function vs(e,t){if(this.type="",this.target=null,this.currentTarget=null,this.eventPhase=vs.AT_TARGET,this.bubbles=!1,this.cancelable=!1,this.isTrusted=!1,this.defaultPrevented=!1,this.timeStamp=Date.now(),this._propagationStopped=!1,this._immediatePropagationStopped=!1,this._initialized=!0,this._dispatching=!1,e&&(this.type=e),t)for(var r in t)this[r]=t[r]}vs.prototype=Object.create(Object.prototype,{constructor:{value:vs},stopPropagation:{value:function(){this._propagationStopped=!0}},stopImmediatePropagation:{value:function(){this._propagationStopped=!0,this._immediatePropagationStopped=!0}},preventDefault:{value:function(){this.cancelable&&(this.defaultPrevented=!0)}},initEvent:{value:function(t,r,n){this._initialized=!0,!this._dispatching&&(this._propagationStopped=!1,this._immediatePropagationStopped=!1,this.defaultPrevented=!1,this.isTrusted=!1,this.target=null,this.type=t,this.bubbles=r,this.cancelable=n)}}})});var tf=Ae((uG,og)=>{"use strict";var ag=ca();og.exports=ef;function ef(){ag.call(this),this.view=null,this.detail=0}ef.prototype=Object.create(ag.prototype,{constructor:{value:ef},initUIEvent:{value:function(e,t,r,n,i){this.initEvent(e,t,r),this.view=n,this.detail=i}}})});var nf=Ae((cG,ug)=>{"use strict";var lg=tf();ug.exports=rf;function rf(){lg.call(this),this.screenX=this.screenY=this.clientX=this.clientY=0,this.ctrlKey=this.altKey=this.shiftKey=this.metaKey=!1,this.button=0,this.buttons=1,this.relatedTarget=null}rf.prototype=Object.create(lg.prototype,{constructor:{value:rf},initMouseEvent:{value:function(e,t,r,n,i,s,a,o,l,u,c,p,h,f,d){switch(this.initEvent(e,t,r,n,i),this.screenX=s,this.screenY=a,this.clientX=o,this.clientY=l,this.ctrlKey=u,this.altKey=c,this.shiftKey=p,this.metaKey=h,this.button=f,f){case 0:this.buttons=1;break;case 1:this.buttons=4;break;case 2:this.buttons=2;break;default:this.buttons=0;break}this.relatedTarget=d}},getModifierState:{value:function(e){switch(e){case"Alt":return this.altKey;case"Control":return this.ctrlKey;case"Shift":return this.shiftKey;case"Meta":return this.metaKey;default:return!1}}}})});var ou=Ae((pG,pg)=>{"use strict";pg.exports=au;var zk=1,qk=3,Hk=4,Wk=5,jk=7,Gk=8,Vk=9,Zk=11,Xk=12,Kk=13,Qk=14,Yk=15,Jk=17,eN=18,tN=19,rN=20,nN=21,iN=22,sN=23,aN=24,oN=25,lN=[null,"INDEX_SIZE_ERR",null,"HIERARCHY_REQUEST_ERR","WRONG_DOCUMENT_ERR","INVALID_CHARACTER_ERR",null,"NO_MODIFICATION_ALLOWED_ERR","NOT_FOUND_ERR","NOT_SUPPORTED_ERR","INUSE_ATTRIBUTE_ERR","INVALID_STATE_ERR","SYNTAX_ERR","INVALID_MODIFICATION_ERR","NAMESPACE_ERR","INVALID_ACCESS_ERR",null,"TYPE_MISMATCH_ERR","SECURITY_ERR","NETWORK_ERR","ABORT_ERR","URL_MISMATCH_ERR","QUOTA_EXCEEDED_ERR","TIMEOUT_ERR","INVALID_NODE_TYPE_ERR","DATA_CLONE_ERR"],uN=[null,"INDEX_SIZE_ERR (1): the index is not in the allowed range",null,"HIERARCHY_REQUEST_ERR (3): the operation would yield an incorrect nodes model","WRONG_DOCUMENT_ERR (4): the object is in the wrong Document, a call to importNode is required","INVALID_CHARACTER_ERR (5): the string contains invalid characters",null,"NO_MODIFICATION_ALLOWED_ERR (7): the object can not be modified","NOT_FOUND_ERR (8): the object can not be found here","NOT_SUPPORTED_ERR (9): this operation is not supported","INUSE_ATTRIBUTE_ERR (10): setAttributeNode called on owned Attribute","INVALID_STATE_ERR (11): the object is in an invalid state","SYNTAX_ERR (12): the string did not match the expected pattern","INVALID_MODIFICATION_ERR (13): the object can not be modified in this way","NAMESPACE_ERR (14): the operation is not allowed by Namespaces in XML","INVALID_ACCESS_ERR (15): the object does not support the operation or argument",null,"TYPE_MISMATCH_ERR (17): the type of the object does not match the expected type","SECURITY_ERR (18): the operation is insecure","NETWORK_ERR (19): a network error occurred","ABORT_ERR (20): the user aborted an operation","URL_MISMATCH_ERR (21): the given URL does not match another URL","QUOTA_EXCEEDED_ERR (22): the quota has been exceeded","TIMEOUT_ERR (23): a timeout occurred","INVALID_NODE_TYPE_ERR (24): the supplied node is invalid or has an invalid ancestor for this operation","DATA_CLONE_ERR (25): the object can not be cloned."],cg={INDEX_SIZE_ERR:zk,DOMSTRING_SIZE_ERR:2,HIERARCHY_REQUEST_ERR:qk,WRONG_DOCUMENT_ERR:Hk,INVALID_CHARACTER_ERR:Wk,NO_DATA_ALLOWED_ERR:6,NO_MODIFICATION_ALLOWED_ERR:jk,NOT_FOUND_ERR:Gk,NOT_SUPPORTED_ERR:Vk,INUSE_ATTRIBUTE_ERR:10,INVALID_STATE_ERR:Zk,SYNTAX_ERR:Xk,INVALID_MODIFICATION_ERR:Kk,NAMESPACE_ERR:Qk,INVALID_ACCESS_ERR:Yk,VALIDATION_ERR:16,TYPE_MISMATCH_ERR:Jk,SECURITY_ERR:eN,NETWORK_ERR:tN,ABORT_ERR:rN,URL_MISMATCH_ERR:nN,QUOTA_EXCEEDED_ERR:iN,TIMEOUT_ERR:sN,INVALID_NODE_TYPE_ERR:aN,DATA_CLONE_ERR:oN};function au(e){Error.call(this),Error.captureStackTrace(this,this.constructor),this.code=e,this.message=uN[e],this.name=lN[e]}au.prototype.__proto__=Error.prototype;for(su in cg)sf={value:cg[su]},Object.defineProperty(au,su,sf),Object.defineProperty(au.prototype,su,sf);var sf,su});var lu=Ae(fg=>{fg.isApiWritable=!globalThis.__domino_frozen__});var Vt=Ae(pt=>{"use strict";var Gt=ou(),er=Gt,cN=lu().isApiWritable;pt.NAMESPACE={HTML:"http://www.w3.org/1999/xhtml",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/",MATHML:"http://www.w3.org/1998/Math/MathML",SVG:"http://www.w3.org/2000/svg",XLINK:"http://www.w3.org/1999/xlink"};pt.IndexSizeError=function(){throw new Gt(er.INDEX_SIZE_ERR)};pt.HierarchyRequestError=function(){throw new Gt(er.HIERARCHY_REQUEST_ERR)};pt.WrongDocumentError=function(){throw new Gt(er.WRONG_DOCUMENT_ERR)};pt.InvalidCharacterError=function(){throw new Gt(er.INVALID_CHARACTER_ERR)};pt.NoModificationAllowedError=function(){throw new Gt(er.NO_MODIFICATION_ALLOWED_ERR)};pt.NotFoundError=function(){throw new Gt(er.NOT_FOUND_ERR)};pt.NotSupportedError=function(){throw new Gt(er.NOT_SUPPORTED_ERR)};pt.InvalidStateError=function(){throw new Gt(er.INVALID_STATE_ERR)};pt.SyntaxError=function(){throw new Gt(er.SYNTAX_ERR)};pt.InvalidModificationError=function(){throw new Gt(er.INVALID_MODIFICATION_ERR)};pt.NamespaceError=function(){throw new Gt(er.NAMESPACE_ERR)};pt.InvalidAccessError=function(){throw new Gt(er.INVALID_ACCESS_ERR)};pt.TypeMismatchError=function(){throw new Gt(er.TYPE_MISMATCH_ERR)};pt.SecurityError=function(){throw new Gt(er.SECURITY_ERR)};pt.NetworkError=function(){throw new Gt(er.NETWORK_ERR)};pt.AbortError=function(){throw new Gt(er.ABORT_ERR)};pt.UrlMismatchError=function(){throw new Gt(er.URL_MISMATCH_ERR)};pt.QuotaExceededError=function(){throw new Gt(er.QUOTA_EXCEEDED_ERR)};pt.TimeoutError=function(){throw new Gt(er.TIMEOUT_ERR)};pt.InvalidNodeTypeError=function(){throw new Gt(er.INVALID_NODE_TYPE_ERR)};pt.DataCloneError=function(){throw new Gt(er.DATA_CLONE_ERR)};pt.nyi=function(){throw new Error("NotYetImplemented")};pt.shouldOverride=function(){throw new Error("Abstract function; should be overriding in subclass.")};pt.assert=function(e,t){if(!e)throw new Error("Assertion failed: "+(t||"")+`
4
+ import{a as Mm}from"./chunk-NERY6HGZ.js";import{k as Rm,l as Lm}from"./chunk-T2MGLXY5.js";import"./chunk-LPAOOJIW.js";import"./chunk-E6XYIIJK.js";import{a as en}from"./chunk-WVVAYLWZ.js";import{b as Ae,d as $m}from"./chunk-Q65KH25G.js";var Fm=Ae(ru=>{(function(){"use strict";var e={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function t(a){return n(s(a),arguments)}function r(a,o){return t.apply(null,[a].concat(o||[]))}function n(a,o){var l=1,u=a.length,c,p="",h,f,d,m,g,y,x,b;for(h=0;h<u;h++)if(typeof a[h]=="string")p+=a[h];else if(typeof a[h]=="object"){if(d=a[h],d.keys)for(c=o[l],f=0;f<d.keys.length;f++){if(c==null)throw new Error(t('[sprintf] Cannot access property "%s" of undefined value "%s"',d.keys[f],d.keys[f-1]));c=c[d.keys[f]]}else d.param_no?c=o[d.param_no]:c=o[l++];if(e.not_type.test(d.type)&&e.not_primitive.test(d.type)&&c instanceof Function&&(c=c()),e.numeric_arg.test(d.type)&&typeof c!="number"&&isNaN(c))throw new TypeError(t("[sprintf] expecting number but found %T",c));switch(e.number.test(d.type)&&(x=c>=0),d.type){case"b":c=parseInt(c,10).toString(2);break;case"c":c=String.fromCharCode(parseInt(c,10));break;case"d":case"i":c=parseInt(c,10);break;case"j":c=JSON.stringify(c,null,d.width?parseInt(d.width):0);break;case"e":c=d.precision?parseFloat(c).toExponential(d.precision):parseFloat(c).toExponential();break;case"f":c=d.precision?parseFloat(c).toFixed(d.precision):parseFloat(c);break;case"g":c=d.precision?String(Number(c.toPrecision(d.precision))):parseFloat(c);break;case"o":c=(parseInt(c,10)>>>0).toString(8);break;case"s":c=String(c),c=d.precision?c.substring(0,d.precision):c;break;case"t":c=String(!!c),c=d.precision?c.substring(0,d.precision):c;break;case"T":c=Object.prototype.toString.call(c).slice(8,-1).toLowerCase(),c=d.precision?c.substring(0,d.precision):c;break;case"u":c=parseInt(c,10)>>>0;break;case"v":c=c.valueOf(),c=d.precision?c.substring(0,d.precision):c;break;case"x":c=(parseInt(c,10)>>>0).toString(16);break;case"X":c=(parseInt(c,10)>>>0).toString(16).toUpperCase();break}e.json.test(d.type)?p+=c:(e.number.test(d.type)&&(!x||d.sign)?(b=x?"+":"-",c=c.toString().replace(e.sign,"")):b="",g=d.pad_char?d.pad_char==="0"?"0":d.pad_char.charAt(1):" ",y=d.width-(b+c).length,m=d.width&&y>0?g.repeat(y):"",p+=d.align?b+c+m:g==="0"?b+m+c:m+b+c)}return p}var i=Object.create(null);function s(a){if(i[a])return i[a];for(var o=a,l,u=[],c=0;o;){if((l=e.text.exec(o))!==null)u.push(l[0]);else if((l=e.modulo.exec(o))!==null)u.push("%");else if((l=e.placeholder.exec(o))!==null){if(l[2]){c|=1;var p=[],h=l[2],f=[];if((f=e.key.exec(h))!==null)for(p.push(f[1]);(h=h.substring(f[0].length))!=="";)if((f=e.key_access.exec(h))!==null)p.push(f[1]);else if((f=e.index_access.exec(h))!==null)p.push(f[1]);else throw new SyntaxError("[sprintf] failed to parse named argument key");else throw new SyntaxError("[sprintf] failed to parse named argument key");l[2]=p}else c|=2;if(c===3)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");u.push({placeholder:l[0],param_no:l[1],keys:l[2],sign:l[3],pad_char:l[4],align:l[5],width:l[6],precision:l[7],type:l[8]})}else throw new SyntaxError("[sprintf] unexpected placeholder");o=o.substring(l[0].length)}return i[a]=u}typeof ru<"u"&&(ru.sprintf=t,ru.vsprintf=r),typeof window<"u"&&(window.sprintf=t,window.vsprintf=r,typeof define=="function"&&define.amd&&define(function(){return{sprintf:t,vsprintf:r}}))})()});var ca=Ae((lG,sg)=>{"use strict";sg.exports=vs;vs.CAPTURING_PHASE=1;vs.AT_TARGET=2;vs.BUBBLING_PHASE=3;function vs(e,t){if(this.type="",this.target=null,this.currentTarget=null,this.eventPhase=vs.AT_TARGET,this.bubbles=!1,this.cancelable=!1,this.isTrusted=!1,this.defaultPrevented=!1,this.timeStamp=Date.now(),this._propagationStopped=!1,this._immediatePropagationStopped=!1,this._initialized=!0,this._dispatching=!1,e&&(this.type=e),t)for(var r in t)this[r]=t[r]}vs.prototype=Object.create(Object.prototype,{constructor:{value:vs},stopPropagation:{value:function(){this._propagationStopped=!0}},stopImmediatePropagation:{value:function(){this._propagationStopped=!0,this._immediatePropagationStopped=!0}},preventDefault:{value:function(){this.cancelable&&(this.defaultPrevented=!0)}},initEvent:{value:function(t,r,n){this._initialized=!0,!this._dispatching&&(this._propagationStopped=!1,this._immediatePropagationStopped=!1,this.defaultPrevented=!1,this.isTrusted=!1,this.target=null,this.type=t,this.bubbles=r,this.cancelable=n)}}})});var tf=Ae((uG,og)=>{"use strict";var ag=ca();og.exports=ef;function ef(){ag.call(this),this.view=null,this.detail=0}ef.prototype=Object.create(ag.prototype,{constructor:{value:ef},initUIEvent:{value:function(e,t,r,n,i){this.initEvent(e,t,r),this.view=n,this.detail=i}}})});var nf=Ae((cG,ug)=>{"use strict";var lg=tf();ug.exports=rf;function rf(){lg.call(this),this.screenX=this.screenY=this.clientX=this.clientY=0,this.ctrlKey=this.altKey=this.shiftKey=this.metaKey=!1,this.button=0,this.buttons=1,this.relatedTarget=null}rf.prototype=Object.create(lg.prototype,{constructor:{value:rf},initMouseEvent:{value:function(e,t,r,n,i,s,a,o,l,u,c,p,h,f,d){switch(this.initEvent(e,t,r,n,i),this.screenX=s,this.screenY=a,this.clientX=o,this.clientY=l,this.ctrlKey=u,this.altKey=c,this.shiftKey=p,this.metaKey=h,this.button=f,f){case 0:this.buttons=1;break;case 1:this.buttons=4;break;case 2:this.buttons=2;break;default:this.buttons=0;break}this.relatedTarget=d}},getModifierState:{value:function(e){switch(e){case"Alt":return this.altKey;case"Control":return this.ctrlKey;case"Shift":return this.shiftKey;case"Meta":return this.metaKey;default:return!1}}}})});var ou=Ae((pG,pg)=>{"use strict";pg.exports=au;var zk=1,qk=3,Hk=4,Wk=5,jk=7,Gk=8,Vk=9,Zk=11,Xk=12,Kk=13,Qk=14,Yk=15,Jk=17,eN=18,tN=19,rN=20,nN=21,iN=22,sN=23,aN=24,oN=25,lN=[null,"INDEX_SIZE_ERR",null,"HIERARCHY_REQUEST_ERR","WRONG_DOCUMENT_ERR","INVALID_CHARACTER_ERR",null,"NO_MODIFICATION_ALLOWED_ERR","NOT_FOUND_ERR","NOT_SUPPORTED_ERR","INUSE_ATTRIBUTE_ERR","INVALID_STATE_ERR","SYNTAX_ERR","INVALID_MODIFICATION_ERR","NAMESPACE_ERR","INVALID_ACCESS_ERR",null,"TYPE_MISMATCH_ERR","SECURITY_ERR","NETWORK_ERR","ABORT_ERR","URL_MISMATCH_ERR","QUOTA_EXCEEDED_ERR","TIMEOUT_ERR","INVALID_NODE_TYPE_ERR","DATA_CLONE_ERR"],uN=[null,"INDEX_SIZE_ERR (1): the index is not in the allowed range",null,"HIERARCHY_REQUEST_ERR (3): the operation would yield an incorrect nodes model","WRONG_DOCUMENT_ERR (4): the object is in the wrong Document, a call to importNode is required","INVALID_CHARACTER_ERR (5): the string contains invalid characters",null,"NO_MODIFICATION_ALLOWED_ERR (7): the object can not be modified","NOT_FOUND_ERR (8): the object can not be found here","NOT_SUPPORTED_ERR (9): this operation is not supported","INUSE_ATTRIBUTE_ERR (10): setAttributeNode called on owned Attribute","INVALID_STATE_ERR (11): the object is in an invalid state","SYNTAX_ERR (12): the string did not match the expected pattern","INVALID_MODIFICATION_ERR (13): the object can not be modified in this way","NAMESPACE_ERR (14): the operation is not allowed by Namespaces in XML","INVALID_ACCESS_ERR (15): the object does not support the operation or argument",null,"TYPE_MISMATCH_ERR (17): the type of the object does not match the expected type","SECURITY_ERR (18): the operation is insecure","NETWORK_ERR (19): a network error occurred","ABORT_ERR (20): the user aborted an operation","URL_MISMATCH_ERR (21): the given URL does not match another URL","QUOTA_EXCEEDED_ERR (22): the quota has been exceeded","TIMEOUT_ERR (23): a timeout occurred","INVALID_NODE_TYPE_ERR (24): the supplied node is invalid or has an invalid ancestor for this operation","DATA_CLONE_ERR (25): the object can not be cloned."],cg={INDEX_SIZE_ERR:zk,DOMSTRING_SIZE_ERR:2,HIERARCHY_REQUEST_ERR:qk,WRONG_DOCUMENT_ERR:Hk,INVALID_CHARACTER_ERR:Wk,NO_DATA_ALLOWED_ERR:6,NO_MODIFICATION_ALLOWED_ERR:jk,NOT_FOUND_ERR:Gk,NOT_SUPPORTED_ERR:Vk,INUSE_ATTRIBUTE_ERR:10,INVALID_STATE_ERR:Zk,SYNTAX_ERR:Xk,INVALID_MODIFICATION_ERR:Kk,NAMESPACE_ERR:Qk,INVALID_ACCESS_ERR:Yk,VALIDATION_ERR:16,TYPE_MISMATCH_ERR:Jk,SECURITY_ERR:eN,NETWORK_ERR:tN,ABORT_ERR:rN,URL_MISMATCH_ERR:nN,QUOTA_EXCEEDED_ERR:iN,TIMEOUT_ERR:sN,INVALID_NODE_TYPE_ERR:aN,DATA_CLONE_ERR:oN};function au(e){Error.call(this),Error.captureStackTrace(this,this.constructor),this.code=e,this.message=uN[e],this.name=lN[e]}au.prototype.__proto__=Error.prototype;for(su in cg)sf={value:cg[su]},Object.defineProperty(au,su,sf),Object.defineProperty(au.prototype,su,sf);var sf,su});var lu=Ae(fg=>{fg.isApiWritable=!globalThis.__domino_frozen__});var Vt=Ae(pt=>{"use strict";var Gt=ou(),er=Gt,cN=lu().isApiWritable;pt.NAMESPACE={HTML:"http://www.w3.org/1999/xhtml",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/",MATHML:"http://www.w3.org/1998/Math/MathML",SVG:"http://www.w3.org/2000/svg",XLINK:"http://www.w3.org/1999/xlink"};pt.IndexSizeError=function(){throw new Gt(er.INDEX_SIZE_ERR)};pt.HierarchyRequestError=function(){throw new Gt(er.HIERARCHY_REQUEST_ERR)};pt.WrongDocumentError=function(){throw new Gt(er.WRONG_DOCUMENT_ERR)};pt.InvalidCharacterError=function(){throw new Gt(er.INVALID_CHARACTER_ERR)};pt.NoModificationAllowedError=function(){throw new Gt(er.NO_MODIFICATION_ALLOWED_ERR)};pt.NotFoundError=function(){throw new Gt(er.NOT_FOUND_ERR)};pt.NotSupportedError=function(){throw new Gt(er.NOT_SUPPORTED_ERR)};pt.InvalidStateError=function(){throw new Gt(er.INVALID_STATE_ERR)};pt.SyntaxError=function(){throw new Gt(er.SYNTAX_ERR)};pt.InvalidModificationError=function(){throw new Gt(er.INVALID_MODIFICATION_ERR)};pt.NamespaceError=function(){throw new Gt(er.NAMESPACE_ERR)};pt.InvalidAccessError=function(){throw new Gt(er.INVALID_ACCESS_ERR)};pt.TypeMismatchError=function(){throw new Gt(er.TYPE_MISMATCH_ERR)};pt.SecurityError=function(){throw new Gt(er.SECURITY_ERR)};pt.NetworkError=function(){throw new Gt(er.NETWORK_ERR)};pt.AbortError=function(){throw new Gt(er.ABORT_ERR)};pt.UrlMismatchError=function(){throw new Gt(er.URL_MISMATCH_ERR)};pt.QuotaExceededError=function(){throw new Gt(er.QUOTA_EXCEEDED_ERR)};pt.TimeoutError=function(){throw new Gt(er.TIMEOUT_ERR)};pt.InvalidNodeTypeError=function(){throw new Gt(er.INVALID_NODE_TYPE_ERR)};pt.DataCloneError=function(){throw new Gt(er.DATA_CLONE_ERR)};pt.nyi=function(){throw new Error("NotYetImplemented")};pt.shouldOverride=function(){throw new Error("Abstract function; should be overriding in subclass.")};pt.assert=function(e,t){if(!e)throw new Error("Assertion failed: "+(t||"")+`
5
5
  `+new Error().stack)};pt.expose=function(e,t){for(var r in e)Object.defineProperty(t.prototype,r,{value:e[r],writable:cN})};pt.merge=function(e,t){for(var r in t)e[r]=t[r]};pt.documentOrder=function(e,t){return 3-(e.compareDocumentPosition(t)&6)};pt.toASCIILowerCase=function(e){return e.replace(/[A-Z]+/g,function(t){return t.toLowerCase()})};pt.toASCIIUpperCase=function(e){return e.replace(/[a-z]+/g,function(t){return t.toUpperCase()})}});var af=Ae((dG,dg)=>{"use strict";var Es=ca(),pN=nf(),fN=Vt();dg.exports=hg;function hg(){}hg.prototype={addEventListener:function(t,r,n){if(r){n===void 0&&(n=!1),this._listeners||(this._listeners=Object.create(null)),this._listeners[t]||(this._listeners[t]=[]);for(var i=this._listeners[t],s=0,a=i.length;s<a;s++){var o=i[s];if(o.listener===r&&o.capture===n)return}var l={listener:r,capture:n};typeof r=="function"&&(l.f=r),i.push(l)}},removeEventListener:function(t,r,n){if(n===void 0&&(n=!1),this._listeners){var i=this._listeners[t];if(i)for(var s=0,a=i.length;s<a;s++){var o=i[s];if(o.listener===r&&o.capture===n){i.length===1?this._listeners[t]=void 0:i.splice(s,1);return}}}},dispatchEvent:function(t){return this._dispatchEvent(t,!1)},_dispatchEvent:function(t,r){typeof r!="boolean"&&(r=!1);function n(u,c){var p=c.type,h=c.eventPhase;if(c.currentTarget=u,h!==Es.CAPTURING_PHASE&&u._handlers&&u._handlers[p]){var f=u._handlers[p],d;if(typeof f=="function")d=f.call(c.currentTarget,c);else{var m=f.handleEvent;if(typeof m!="function")throw new TypeError("handleEvent property of event handler object isnot a function.");d=m.call(f,c)}switch(c.type){case"mouseover":d===!0&&c.preventDefault();break;case"beforeunload":default:d===!1&&c.preventDefault();break}}var g=u._listeners&&u._listeners[p];if(g){g=g.slice();for(var y=0,x=g.length;y<x;y++){if(c._immediatePropagationStopped)return;var b=g[y];if(!(h===Es.CAPTURING_PHASE&&!b.capture||h===Es.BUBBLING_PHASE&&b.capture))if(b.f)b.f.call(c.currentTarget,c);else{var v=b.listener.handleEvent;if(typeof v!="function")throw new TypeError("handleEvent property of event listener object is not a function.");v.call(b.listener,c)}}}}(!t._initialized||t._dispatching)&&fN.InvalidStateError(),t.isTrusted=r,t._dispatching=!0,t.target=this;for(var i=[],s=this.parentNode;s;s=s.parentNode)i.push(s);t.eventPhase=Es.CAPTURING_PHASE;for(var a=i.length-1;a>=0&&(n(i[a],t),!t._propagationStopped);a--);if(t._propagationStopped||(t.eventPhase=Es.AT_TARGET,n(this,t)),t.bubbles&&!t._propagationStopped){t.eventPhase=Es.BUBBLING_PHASE;for(var o=0,l=i.length;o<l&&(n(i[o],t),!t._propagationStopped);o++);}if(t._dispatching=!1,t.eventPhase=Es.AT_TARGET,t.currentTarget=null,r&&!t.defaultPrevented&&t instanceof pN)switch(t.type){case"mousedown":this._armed={x:t.clientX,y:t.clientY,t:t.timeStamp};break;case"mouseout":case"mouseover":this._armed=null;break;case"mouseup":this._isClick(t)&&this._doClick(t),this._armed=null;break}return!t.defaultPrevented},_isClick:function(e){return this._armed!==null&&e.type==="mouseup"&&e.isTrusted&&e.button===0&&e.timeStamp-this._armed.t<1e3&&Math.abs(e.clientX-this._armed.x)<10&&Math.abs(e.clientY-this._armed.Y)<10},_doClick:function(e){if(!this._click_in_progress){this._click_in_progress=!0;for(var t=this;t&&!t._post_click_activation_steps;)t=t.parentNode;t&&t._pre_click_activation_steps&&t._pre_click_activation_steps();var r=this.ownerDocument.createEvent("MouseEvent");r.initMouseEvent("click",!0,!0,this.ownerDocument.defaultView,1,e.screenX,e.screenY,e.clientX,e.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,e.button,null);var n=this._dispatchEvent(r,!0);t&&(n?t._post_click_activation_steps&&t._post_click_activation_steps(r):t._cancelled_activation_steps&&t._cancelled_activation_steps())}},_setEventHandler:function(t,r){this._handlers||(this._handlers=Object.create(null)),this._handlers[t]=r},_getEventHandler:function(t){return this._handlers&&this._handlers[t]||null}}});var of=Ae((mG,mg)=>{"use strict";var Ai=Vt(),mn=mg.exports={valid:function(e){return Ai.assert(e,"list falsy"),Ai.assert(e._previousSibling,"previous falsy"),Ai.assert(e._nextSibling,"next falsy"),!0},insertBefore:function(e,t){Ai.assert(mn.valid(e)&&mn.valid(t));var r=e,n=e._previousSibling,i=t,s=t._previousSibling;r._previousSibling=s,n._nextSibling=i,s._nextSibling=r,i._previousSibling=n,Ai.assert(mn.valid(e)&&mn.valid(t))},replace:function(e,t){Ai.assert(mn.valid(e)&&(t===null||mn.valid(t))),t!==null&&mn.insertBefore(t,e),mn.remove(e),Ai.assert(mn.valid(e)&&(t===null||mn.valid(t)))},remove:function(e){Ai.assert(mn.valid(e));var t=e._previousSibling;if(t!==e){var r=e._nextSibling;t._nextSibling=r,r._previousSibling=t,e._previousSibling=e._nextSibling=e,Ai.assert(mn.valid(e))}}}});var lf=Ae((gG,Sg)=>{"use strict";Sg.exports={serializeOne:bN,\u0275escapeMatchingClosingTag:wg,\u0275escapeClosingCommentTag:vg,\u0275escapeProcessingInstructionContent:Eg};var bg=Vt(),Ss=bg.NAMESPACE,gg={STYLE:!0,SCRIPT:!0,XMP:!0,IFRAME:!0,NOEMBED:!0,NOFRAMES:!0,PLAINTEXT:!0},hN={area:!0,base:!0,basefont:!0,bgsound:!0,br:!0,col:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},dN={},xg=/[&<>\u00A0]/g,yg=/[&"<>\u00A0]/g;function mN(e){return xg.test(e)?e.replace(xg,t=>{switch(t){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case"\xA0":return"&nbsp;"}}):e}function gN(e){return yg.test(e)?e.replace(yg,t=>{switch(t){case"<":return"&lt;";case">":return"&gt;";case"&":return"&amp;";case'"':return"&quot;";case"\xA0":return"&nbsp;"}}):e}function xN(e){var t=e.namespaceURI;return t?t===Ss.XML?"xml:"+e.localName:t===Ss.XLINK?"xlink:"+e.localName:t===Ss.XMLNS?e.localName==="xmlns"?"xmlns":"xmlns:"+e.localName:e.name:e.localName}function wg(e,t){let r="</"+t;if(!e.toLowerCase().includes(r))return e;let n=[...e],i=e.matchAll(new RegExp(r,"ig"));for(let s of i)n[s.index]="&lt;";return n.join("")}var yN=/--!?>/;function vg(e){return yN.test(e)?e.replace(/(--\!?)>/g,"$1&gt;"):e}function Eg(e){return e.includes(">")?e.replaceAll(">","&gt;"):e}function bN(e,t){var r="";switch(e.nodeType){case 1:var n=e.namespaceURI,i=n===Ss.HTML,s=i||n===Ss.SVG||n===Ss.MATHML?e.localName:e.tagName;r+="<"+s;for(var a=0,o=e._numattrs;a<o;a++){var l=e._attr(a);r+=" "+xN(l),l.value!==void 0&&(r+='="'+gN(l.value)+'"')}if(r+=">",!(i&&hN[s])){var u=e.serialize();gg[s.toUpperCase()]&&(u=wg(u,s)),i&&dN[s]&&u.charAt(0)===`
6
6
  `&&(r+=`
7
7
  `),r+=u,r+="</"+s+">"}break;case 3:case 4:var c;t.nodeType===1&&t.namespaceURI===Ss.HTML?c=t.tagName:c="",gg[c]||c==="NOSCRIPT"&&t.ownerDocument._scripting_enabled?r+=e.data:r+=mN(e.data);break;case 8:r+="<!--"+vg(e.data)+"-->";break;case 7:let p=Eg(e.data);r+="<?"+e.target+" "+p+"?>";break;case 10:r+="<!DOCTYPE "+e.name,r+=">";break;default:bg.InvalidStateError()}return r}});var vr=Ae((xG,Og)=>{"use strict";Og.exports=Mt;var Tg=af(),uu=of(),Ag=lf(),ft=Vt();function Mt(){Tg.call(this),this.parentNode=null,this._nextSibling=this._previousSibling=this,this._index=void 0}var qr=Mt.ELEMENT_NODE=1,uf=Mt.ATTRIBUTE_NODE=2,cu=Mt.TEXT_NODE=3,wN=Mt.CDATA_SECTION_NODE=4,vN=Mt.ENTITY_REFERENCE_NODE=5,cf=Mt.ENTITY_NODE=6,Cg=Mt.PROCESSING_INSTRUCTION_NODE=7,kg=Mt.COMMENT_NODE=8,To=Mt.DOCUMENT_NODE=9,gn=Mt.DOCUMENT_TYPE_NODE=10,Qi=Mt.DOCUMENT_FRAGMENT_NODE=11,pf=Mt.NOTATION_NODE=12,ff=Mt.DOCUMENT_POSITION_DISCONNECTED=1,hf=Mt.DOCUMENT_POSITION_PRECEDING=2,df=Mt.DOCUMENT_POSITION_FOLLOWING=4,Ng=Mt.DOCUMENT_POSITION_CONTAINS=8,mf=Mt.DOCUMENT_POSITION_CONTAINED_BY=16,gf=Mt.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC=32;Mt.prototype=Object.create(Tg.prototype,{baseURI:{get:ft.nyi},parentElement:{get:function(){return this.parentNode&&this.parentNode.nodeType===qr?this.parentNode:null}},hasChildNodes:{value:ft.shouldOverride},firstChild:{get:ft.shouldOverride},lastChild:{get:ft.shouldOverride},isConnected:{get:function(){let e=this;for(;e!=null;){if(e.nodeType===Mt.DOCUMENT_NODE)return!0;e=e.parentNode,e!=null&&e.nodeType===Mt.DOCUMENT_FRAGMENT_NODE&&(e=e.host)}return!1}},previousSibling:{get:function(){var e=this.parentNode;return!e||this===e.firstChild?null:this._previousSibling}},nextSibling:{get:function(){var e=this.parentNode,t=this._nextSibling;return!e||t===e.firstChild?null:t}},textContent:{get:function(){return null},set:function(e){}},innerText:{get:function(){return null},set:function(e){}},_countChildrenOfType:{value:function(e){for(var t=0,r=this.firstChild;r!==null;r=r.nextSibling)r.nodeType===e&&t++;return t}},_ensureInsertValid:{value:function(t,r,n){var i=this,s,a;if(!t.nodeType)throw new TypeError("not a node");switch(i.nodeType){case To:case Qi:case qr:break;default:ft.HierarchyRequestError()}switch(t.isAncestor(i)&&ft.HierarchyRequestError(),(r!==null||!n)&&r.parentNode!==i&&ft.NotFoundError(),t.nodeType){case Qi:case gn:case qr:case cu:case Cg:case kg:break;default:ft.HierarchyRequestError()}if(i.nodeType===To)switch(t.nodeType){case cu:ft.HierarchyRequestError();break;case Qi:switch(t._countChildrenOfType(cu)>0&&ft.HierarchyRequestError(),t._countChildrenOfType(qr)){case 0:break;case 1:if(r!==null)for(n&&r.nodeType===gn&&ft.HierarchyRequestError(),a=r.nextSibling;a!==null;a=a.nextSibling)a.nodeType===gn&&ft.HierarchyRequestError();s=i._countChildrenOfType(qr),n?s>0&&ft.HierarchyRequestError():(s>1||s===1&&r.nodeType!==qr)&&ft.HierarchyRequestError();break;default:ft.HierarchyRequestError()}break;case qr:if(r!==null)for(n&&r.nodeType===gn&&ft.HierarchyRequestError(),a=r.nextSibling;a!==null;a=a.nextSibling)a.nodeType===gn&&ft.HierarchyRequestError();s=i._countChildrenOfType(qr),n?s>0&&ft.HierarchyRequestError():(s>1||s===1&&r.nodeType!==qr)&&ft.HierarchyRequestError();break;case gn:if(r===null)i._countChildrenOfType(qr)&&ft.HierarchyRequestError();else for(a=i.firstChild;a!==null&&a!==r;a=a.nextSibling)a.nodeType===qr&&ft.HierarchyRequestError();s=i._countChildrenOfType(gn),n?s>0&&ft.HierarchyRequestError():(s>1||s===1&&r.nodeType!==gn)&&ft.HierarchyRequestError();break}else t.nodeType===gn&&ft.HierarchyRequestError()}},insertBefore:{value:function(t,r){var n=this;n._ensureInsertValid(t,r,!0);var i=r;return i===t&&(i=t.nextSibling),n.doc.adoptNode(t),t._insertOrReplace(n,i,!1),t}},appendChild:{value:function(e){return this.insertBefore(e,null)}},_appendChild:{value:function(e){e._insertOrReplace(this,null,!1)}},removeChild:{value:function(t){var r=this;if(!t.nodeType)throw new TypeError("not a node");return t.parentNode!==r&&ft.NotFoundError(),t.remove(),t}},replaceChild:{value:function(t,r){var n=this;return n._ensureInsertValid(t,r,!1),t.doc!==n.doc&&n.doc.adoptNode(t),t._insertOrReplace(n,r,!0),r}},contains:{value:function(t){return t===null?!1:this===t?!0:(this.compareDocumentPosition(t)&mf)!==0}},compareDocumentPosition:{value:function(t){if(this===t)return 0;if(this.doc!==t.doc||this.rooted!==t.rooted)return ff+gf;for(var r=[],n=[],i=this;i!==null;i=i.parentNode)r.push(i);for(i=t;i!==null;i=i.parentNode)n.push(i);if(r.reverse(),n.reverse(),r[0]!==n[0])return ff+gf;i=Math.min(r.length,n.length);for(var s=1;s<i;s++)if(r[s]!==n[s])return r[s].index<n[s].index?df:hf;return r.length<n.length?df+mf:hf+Ng}},isSameNode:{value:function(t){return this===t}},isEqualNode:{value:function(t){if(!t||t.nodeType!==this.nodeType||!this.isEqual(t))return!1;for(var r=this.firstChild,n=t.firstChild;r&&n;r=r.nextSibling,n=n.nextSibling)if(!r.isEqualNode(n))return!1;return r===null&&n===null}},cloneNode:{value:function(e){var t=this.clone();if(e)for(var r=this.firstChild;r!==null;r=r.nextSibling)t._appendChild(r.cloneNode(!0));return t}},lookupPrefix:{value:function(t){var r;if(t===""||t===null||t===void 0)return null;switch(this.nodeType){case qr:return this._lookupNamespacePrefix(t,this);case To:return r=this.documentElement,r?r.lookupPrefix(t):null;case cf:case pf:case Qi:case gn:return null;case uf:return r=this.ownerElement,r?r.lookupPrefix(t):null;default:return r=this.parentElement,r?r.lookupPrefix(t):null}}},lookupNamespaceURI:{value:function(t){(t===""||t===void 0)&&(t=null);var r;switch(this.nodeType){case qr:return ft.shouldOverride();case To:return r=this.documentElement,r?r.lookupNamespaceURI(t):null;case cf:case pf:case gn:case Qi:return null;case uf:return r=this.ownerElement,r?r.lookupNamespaceURI(t):null;default:return r=this.parentElement,r?r.lookupNamespaceURI(t):null}}},isDefaultNamespace:{value:function(t){(t===""||t===void 0)&&(t=null);var r=this.lookupNamespaceURI(null);return r===t}},index:{get:function(){var e=this.parentNode;if(this===e.firstChild)return 0;var t=e.childNodes;if(this._index===void 0||t[this._index]!==this){for(var r=0;r<t.length;r++)t[r]._index=r;ft.assert(t[this._index]===this)}return this._index}},isAncestor:{value:function(e){if(this.doc!==e.doc||this.rooted!==e.rooted)return!1;for(var t=e;t;t=t.parentNode)if(t===this)return!0;return!1}},ensureSameDoc:{value:function(e){e.ownerDocument===null?e.ownerDocument=this.doc:e.ownerDocument!==this.doc&&ft.WrongDocumentError()}},removeChildren:{value:ft.shouldOverride},_insertOrReplace:{value:function(t,r,n){var i=this,s,a;if(i.nodeType===Qi&&i.rooted&&ft.HierarchyRequestError(),t._childNodes&&(s=r===null?t._childNodes.length:r.index,i.parentNode===t)){var o=i.index;o<s&&s--}n&&(r.rooted&&r.doc.mutateRemove(r),r.parentNode=null);var l=r;l===null&&(l=t.firstChild);var u=i.rooted&&t.rooted;if(i.nodeType===Qi){for(var c=[0,n?1:0],p,h=i.firstChild;h!==null;h=p)p=h.nextSibling,c.push(h),h.parentNode=t;var f=c.length;if(n?uu.replace(l,f>2?c[2]:null):f>2&&l!==null&&uu.insertBefore(c[2],l),t._childNodes)for(c[0]=r===null?t._childNodes.length:r._index,t._childNodes.splice.apply(t._childNodes,c),a=2;a<f;a++)c[a]._index=c[0]+(a-2);else t._firstChild===r&&(f>2?t._firstChild=c[2]:n&&(t._firstChild=null));if(i._childNodes?i._childNodes.length=0:i._firstChild=null,t.rooted)for(t.modify(),a=2;a<f;a++)t.doc.mutateInsert(c[a])}else{if(r===i)return;u?i._remove():i.parentNode&&i.remove(),i.parentNode=t,n?(uu.replace(l,i),t._childNodes?(i._index=s,t._childNodes[s]=i):t._firstChild===r&&(t._firstChild=i)):(l!==null&&uu.insertBefore(i,l),t._childNodes?(i._index=s,t._childNodes.splice(s,0,i)):t._firstChild===r&&(t._firstChild=i)),u?(t.modify(),t.doc.mutateMove(i)):t.rooted&&(t.modify(),t.doc.mutateInsert(i))}}},lastModTime:{get:function(){return this._lastModTime||(this._lastModTime=this.doc.modclock),this._lastModTime}},modify:{value:function(){if(this.doc.modclock)for(var e=++this.doc.modclock,t=this;t;t=t.parentElement)t._lastModTime&&(t._lastModTime=e)}},doc:{get:function(){return this.ownerDocument||this}},rooted:{get:function(){return!!this._nid}},normalize:{value:function(){for(var e,t=this.firstChild;t!==null;t=e)if(e=t.nextSibling,t.normalize&&t.normalize(),t.nodeType===Mt.TEXT_NODE){if(t.nodeValue===""){this.removeChild(t);continue}var r=t.previousSibling;r!==null&&r.nodeType===Mt.TEXT_NODE&&(r.appendData(t.nodeValue),this.removeChild(t))}}},serialize:{value:function(){if(this._innerHTML)return this._innerHTML;for(var e="",t=this.firstChild;t!==null;t=t.nextSibling)e+=Ag.serializeOne(t,this);return e}},outerHTML:{get:function(){return Ag.serializeOne(this,{nodeType:0})},set:ft.nyi},ELEMENT_NODE:{value:qr},ATTRIBUTE_NODE:{value:uf},TEXT_NODE:{value:cu},CDATA_SECTION_NODE:{value:wN},ENTITY_REFERENCE_NODE:{value:vN},ENTITY_NODE:{value:cf},PROCESSING_INSTRUCTION_NODE:{value:Cg},COMMENT_NODE:{value:kg},DOCUMENT_NODE:{value:To},DOCUMENT_TYPE_NODE:{value:gn},DOCUMENT_FRAGMENT_NODE:{value:Qi},NOTATION_NODE:{value:pf},DOCUMENT_POSITION_DISCONNECTED:{value:ff},DOCUMENT_POSITION_PRECEDING:{value:hf},DOCUMENT_POSITION_FOLLOWING:{value:df},DOCUMENT_POSITION_CONTAINS:{value:Ng},DOCUMENT_POSITION_CONTAINED_BY:{value:mf},DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:{value:gf}})});var Ig=Ae((bG,_g)=>{"use strict";_g.exports=class extends Array{constructor(t){if(super(t&&t.length||0),t)for(var r in t)this[r]=t[r]}item(t){return this[t]||null}}});var $g=Ae((wG,Dg)=>{"use strict";function EN(e){return this[e]||null}function SN(e){return e||(e=[]),e.item=EN,e}Dg.exports=SN});var As=Ae((vG,Rg)=>{"use strict";var xf;try{xf=Ig()}catch{xf=$g()}Rg.exports=xf});var pu=Ae((EG,Pg)=>{"use strict";Pg.exports=Mg;var Lg=vr(),AN=As();function Mg(){Lg.call(this),this._firstChild=this._childNodes=null}Mg.prototype=Object.create(Lg.prototype,{hasChildNodes:{value:function(){return this._childNodes?this._childNodes.length>0:this._firstChild!==null}},childNodes:{get:function(){return this._ensureChildNodes(),this._childNodes}},firstChild:{get:function(){return this._childNodes?this._childNodes.length===0?null:this._childNodes[0]:this._firstChild}},lastChild:{get:function(){var e=this._childNodes,t;return e?e.length===0?null:e[e.length-1]:(t=this._firstChild,t===null?null:t._previousSibling)}},_ensureChildNodes:{value:function(){if(!this._childNodes){var e=this._firstChild,t=e,r=this._childNodes=new AN;if(e)do r.push(t),t=t._nextSibling;while(t!==e);this._firstChild=null}}},removeChildren:{value:function(){for(var t=this.rooted?this.ownerDocument:null,r=this.firstChild,n;r!==null;)n=r,r=n.nextSibling,t&&t.mutateRemove(n),n.parentNode=null;this._childNodes?this._childNodes.length=0:this._firstChild=null,this.modify()}}})});var fu=Ae(wf=>{"use strict";wf.isValidName=IN;wf.isValidQName=DN;var CN=/^[_:A-Za-z][-.:\w]+$/,kN=/^([_A-Za-z][-.\w]+|[_A-Za-z][-.\w]+:[_A-Za-z][-.\w]+)$/,Oo="_A-Za-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD",_o="-._A-Za-z0-9\xB7\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0300-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD",Cs="["+Oo+"]["+_o+"]*",yf=Oo+":",bf=_o+":",NN=new RegExp("^["+yf+"]["+bf+"]*$"),TN=new RegExp("^("+Cs+"|"+Cs+":"+Cs+")$"),Fg=/[\uD800-\uDB7F\uDC00-\uDFFF]/,Bg=/[\uD800-\uDB7F\uDC00-\uDFFF]/g,Ug=/[\uD800-\uDB7F][\uDC00-\uDFFF]/g;Oo+="\uD800-\u{EFC00}-\uDFFF";_o+="\uD800-\u{EFC00}-\uDFFF";Cs="["+Oo+"]["+_o+"]*";yf=Oo+":";bf=_o+":";var ON=new RegExp("^["+yf+"]["+bf+"]*$"),_N=new RegExp("^("+Cs+"|"+Cs+":"+Cs+")$");function IN(e){if(CN.test(e)||NN.test(e))return!0;if(!Fg.test(e)||!ON.test(e))return!1;var t=e.match(Bg),r=e.match(Ug);return r!==null&&2*r.length===t.length}function DN(e){if(kN.test(e)||TN.test(e))return!0;if(!Fg.test(e)||!_N.test(e))return!1;var t=e.match(Bg),r=e.match(Ug);return r!==null&&2*r.length===t.length}});var Ef=Ae(vf=>{"use strict";var zg=Vt();vf.property=function(e){if(Array.isArray(e.type)){var t=Object.create(null);e.type.forEach(function(i){t[i.value||i]=i.alias||i});var r=e.missing;r===void 0&&(r=null);var n=e.invalid;return n===void 0&&(n=r),{get:function(){var i=this._getattr(e.name);return i===null?r:(i=t[i.toLowerCase()],i!==void 0?i:n!==null?n:i)},set:function(i){this._setattr(e.name,i)}}}else{if(e.type===Boolean)return{get:function(){return this.hasAttribute(e.name)},set:function(i){i?this._setattr(e.name,""):this.removeAttribute(e.name)}};if(e.type===Number||e.type==="long"||e.type==="unsigned long"||e.type==="limited unsigned long with fallback")return $N(e);if(!e.type||e.type===String)return{get:function(){return this._getattr(e.name)||""},set:function(i){e.treatNullAsEmptyString&&i===null&&(i=""),this._setattr(e.name,i)}};if(typeof e.type=="function")return e.type(e.name,e)}throw new Error("Invalid attribute definition")};function $N(e){var t;typeof e.default=="function"?t=e.default:typeof e.default=="number"?t=function(){return e.default}:t=function(){zg.assert(!1,typeof e.default)};var r=e.type==="unsigned long",n=e.type==="long",i=e.type==="limited unsigned long with fallback",s=e.min,a=e.max,o=e.setmin;return s===void 0&&(r&&(s=0),n&&(s=-2147483648),i&&(s=1)),a===void 0&&(r||n||i)&&(a=2147483647),{get:function(){var l=this._getattr(e.name),u=e.float?parseFloat(l):parseInt(l,10);if(l===null||!isFinite(u)||s!==void 0&&u<s||a!==void 0&&u>a)return t.call(this);if(r||n||i){if(!/^[ \t\n\f\r]*[-+]?[0-9]/.test(l))return t.call(this);u=u|0}return u},set:function(l){e.float||(l=Math.floor(l)),o!==void 0&&l<o&&zg.IndexSizeError(e.name+" set to "+l),r?l=l<0||l>2147483647?t.call(this):l|0:i?l=l<1||l>2147483647?t.call(this):l|0:n&&(l=l<-2147483648||l>2147483647?t.call(this):l|0),this._setattr(e.name,String(l))}}}vf.registerChangeHandler=function(e,t,r){var n=e.prototype;Object.prototype.hasOwnProperty.call(n,"_attributeChangeHandlers")||(n._attributeChangeHandlers=Object.create(n._attributeChangeHandlers||null)),n._attributeChangeHandlers[t]=r}});var Wg=Ae((CG,Hg)=>{"use strict";Hg.exports=qg;var RN=vr();function qg(e,t){this.root=e,this.filter=t,this.lastModTime=e.lastModTime,this.done=!1,this.cache=[],this.traverse()}qg.prototype=Object.create(Object.prototype,{length:{get:function(){return this.checkcache(),this.done||this.traverse(),this.cache.length}},item:{value:function(e){return this.checkcache(),!this.done&&e>=this.cache.length&&this.traverse(),this.cache[e]}},checkcache:{value:function(){if(this.lastModTime!==this.root.lastModTime){for(var e=this.cache.length-1;e>=0;e--)this[e]=void 0;this.cache.length=0,this.done=!1,this.lastModTime=this.root.lastModTime}}},traverse:{value:function(e){e!==void 0&&e++;for(var t;(t=this.next())!==null;)if(this[this.cache.length]=t,this.cache.push(t),e&&this.cache.length===e)return;this.done=!0}},next:{value:function(){var e=this.cache.length===0?this.root:this.cache[this.cache.length-1],t;for(e.nodeType===RN.DOCUMENT_NODE?t=e.documentElement:t=e.nextElement(this.root);t;){if(this.filter(t))return t;t=t.nextElement(this.root)}return null}}})});var Af=Ae((kG,Vg)=>{"use strict";var Sf=Vt();Vg.exports=Gg;function Gg(e,t){this._getString=e,this._setString=t,this._length=0,this._lastStringValue="",this._update()}Object.defineProperties(Gg.prototype,{length:{get:function(){return this._length}},item:{value:function(e){var t=pa(this);return e<0||e>=t.length?null:t[e]}},contains:{value:function(e){e=String(e);var t=pa(this);return t.indexOf(e)>-1}},add:{value:function(){for(var e=pa(this),t=0,r=arguments.length;t<r;t++){var n=Io(arguments[t]);e.indexOf(n)<0&&e.push(n)}this._update(e)}},remove:{value:function(){for(var e=pa(this),t=0,r=arguments.length;t<r;t++){var n=Io(arguments[t]),i=e.indexOf(n);i>-1&&e.splice(i,1)}this._update(e)}},toggle:{value:function(t,r){return t=Io(t),this.contains(t)?r===void 0||r===!1?(this.remove(t),!1):!0:r===void 0||r===!0?(this.add(t),!0):!1}},replace:{value:function(t,r){String(r)===""&&Sf.SyntaxError(),t=Io(t),r=Io(r);var n=pa(this),i=n.indexOf(t);if(i<0)return!1;var s=n.indexOf(r);return s<0?n[i]=r:i<s?(n[i]=r,n.splice(s,1)):n.splice(i,1),this._update(n),!0}},toString:{value:function(){return this._getString()}},value:{get:function(){return this._getString()},set:function(e){this._setString(e),this._update()}},_update:{value:function(e){e?(jg(this,e),this._setString(e.join(" ").trim())):jg(this,pa(this)),this._lastStringValue=this._getString()}}});function jg(e,t){var r=e._length,n;for(e._length=t.length,n=0;n<t.length;n++)e[n]=t[n];for(;n<r;n++)e[n]=void 0}function Io(e){return e=String(e),e===""&&Sf.SyntaxError(),/[ \t\r\n\f]/.test(e)&&Sf.InvalidCharacterError(),e}function LN(e){for(var t=e._length,r=Array(t),n=0;n<t;n++)r[n]=e[n];return r}function pa(e){var t=e._getString();if(t===e._lastStringValue)return LN(e);var r=t.replace(/(^[ \t\r\n\f]+)|([ \t\r\n\f]+$)/g,"");if(r==="")return[];var n=Object.create(null);return r.split(/[ \t\r\n\f]+/g).filter(function(i){var s="$"+i;return n[s]?!1:(n[s]=!0,!0)})}});var gu=Ae((da,Jg)=>{"use strict";var hu=Object.create(null,{location:{get:function(){throw new Error("window.location is not supported.")}}}),MN=function(e,t){return e.compareDocumentPosition(t)},PN=function(e,t){return MN(e,t)&2?1:-1},mu=function(e){for(;(e=e.nextSibling)&&e.nodeType!==1;);return e},ha=function(e){for(;(e=e.previousSibling)&&e.nodeType!==1;);return e},FN=function(e){if(e=e.firstChild)for(;e.nodeType!==1&&(e=e.nextSibling););return e},BN=function(e){if(e=e.lastChild)for(;e.nodeType!==1&&(e=e.previousSibling););return e},fa=function(e){if(!e.parentNode)return!1;var t=e.parentNode.nodeType;return t===1||t===9},Zg=function(e){if(!e)return e;var t=e[0];return t==='"'||t==="'"?(e[e.length-1]===t?e=e.slice(1,-1):e=e.slice(1),e.replace(Oe.str_escape,function(r){var n=/^\\(?:([0-9A-Fa-f]+)|([\r\n\f]+))/.exec(r);if(!n)return r.slice(1);if(n[2])return"";var i=parseInt(n[1],16);return String.fromCodePoint?String.fromCodePoint(i):String.fromCharCode(i)})):Oe.ident.test(e)?Yi(e):e},Yi=function(e){return e.replace(Oe.escape,function(t){var r=/^\\([0-9A-Fa-f]+)/.exec(t);if(!r)return t[1];var n=parseInt(r[1],16);return String.fromCodePoint?String.fromCodePoint(n):String.fromCharCode(n)})},UN=(function(){return Array.prototype.indexOf?Array.prototype.indexOf:function(e,t){for(var r=this.length;r--;)if(this[r]===t)return r;return-1}})(),Kg=function(e,t){var r=Oe.inside.source.replace(/</g,e).replace(/>/g,t);return new RegExp(r)},Hr=function(e,t,r){return e=e.source,e=e.replace(t,r.source||r),new RegExp(e)},Xg=function(e,t){return e.replace(/^(?:\w+:\/\/|\/+)/,"").replace(/(?:\/+|\/*#.*?)$/,"").split("/",t).join("/")},zN=function(e,t){var r=e.replace(/\s+/g,""),n;return r==="even"?r="2n+0":r==="odd"?r="2n+1":r.indexOf("n")===-1&&(r="0n"+r),n=/^([+-])?(\d+)?n([+-])?(\d+)?$/.exec(r),{group:n[1]==="-"?-(n[2]||1):+(n[2]||1),offset:n[4]?n[3]==="-"?-n[4]:+n[4]:0}},Cf=function(e,t,r){var n=zN(e),i=n.group,s=n.offset,a=r?BN:FN,o=r?ha:mu;return function(l){if(fa(l))for(var u=a(l.parentNode),c=0;u;){if(t(u,l)&&c++,u===l)return c-=s,i&&c?c%i===0&&c<0==i<0:!c;u=o(u)}}},mr={"*":(function(){return function(){return!0}})(),type:function(e){return e=e.toLowerCase(),function(t){return t.nodeName.toLowerCase()===e}},attr:function(e,t,r,n){return t=Qg[t],function(i){var s;switch(e){case"for":s=i.htmlFor;break;case"class":s=i.className,s===""&&i.getAttribute("class")==null&&(s=null);break;case"href":case"src":s=i.getAttribute(e,2);break;case"title":s=i.getAttribute("title")||null;break;case"id":case"lang":case"dir":case"accessKey":case"hidden":case"tabIndex":case"style":if(i.getAttribute){s=i.getAttribute(e);break}default:if(i.hasAttribute&&!i.hasAttribute(e))break;s=i[e]!=null?i[e]:i.getAttribute&&i.getAttribute(e);break}if(s!=null)return s=s+"",n&&(s=s.toLowerCase(),r=r.toLowerCase()),t(s,r)}},":first-child":function(e){return!ha(e)&&fa(e)},":last-child":function(e){return!mu(e)&&fa(e)},":only-child":function(e){return!ha(e)&&!mu(e)&&fa(e)},":nth-child":function(e,t){return Cf(e,function(){return!0},t)},":nth-last-child":function(e){return mr[":nth-child"](e,!0)},":root":function(e){return e.ownerDocument.documentElement===e},":empty":function(e){return!e.firstChild},":not":function(e){var t=Nf(e);return function(r){return!t(r)}},":first-of-type":function(e){if(fa(e)){for(var t=e.nodeName;e=ha(e);)if(e.nodeName===t)return;return!0}},":last-of-type":function(e){if(fa(e)){for(var t=e.nodeName;e=mu(e);)if(e.nodeName===t)return;return!0}},":only-of-type":function(e){return mr[":first-of-type"](e)&&mr[":last-of-type"](e)},":nth-of-type":function(e,t){return Cf(e,function(r,n){return r.nodeName===n.nodeName},t)},":nth-last-of-type":function(e){return mr[":nth-of-type"](e,!0)},":checked":function(e){return!!(e.checked||e.selected)},":indeterminate":function(e){return!mr[":checked"](e)},":enabled":function(e){return!e.disabled&&e.type!=="hidden"},":disabled":function(e){return!!e.disabled},":target":function(e){return e.id===hu.location.hash.substring(1)},":focus":function(e){return e===e.ownerDocument.activeElement},":is":function(e){return Nf(e)},":matches":function(e){return mr[":is"](e)},":nth-match":function(e,t){var r=e.split(/\s*,\s*/),n=r.shift(),i=Nf(r.join(","));return Cf(n,i,t)},":nth-last-match":function(e){return mr[":nth-match"](e,!0)},":links-here":function(e){return e+""==hu.location+""},":lang":function(e){return function(t){for(;t;){if(t.lang)return t.lang.indexOf(e)===0;t=t.parentNode}}},":dir":function(e){return function(t){for(;t;){if(t.dir)return t.dir===e;t=t.parentNode}}},":scope":function(e,t){var r=t||e.ownerDocument;return r.nodeType===9?e===r.documentElement:e===r},":any-link":function(e){return typeof e.href=="string"},":local-link":function(e){if(e.nodeName)return e.href&&e.host===hu.location.host;var t=+e+1;return function(r){if(r.href){var n=hu.location+"",i=r+"";return Xg(n,t)===Xg(i,t)}}},":default":function(e){return!!e.defaultSelected},":valid":function(e){return e.willValidate||e.validity&&e.validity.valid},":invalid":function(e){return!mr[":valid"](e)},":in-range":function(e){return e.value>e.min&&e.value<=e.max},":out-of-range":function(e){return!mr[":in-range"](e)},":required":function(e){return!!e.required},":optional":function(e){return!e.required},":read-only":function(e){if(e.readOnly)return!0;var t=e.getAttribute("contenteditable"),r=e.contentEditable,n=e.nodeName.toLowerCase();return n=n!=="input"&&n!=="textarea",(n||e.disabled)&&t==null&&r!=="true"},":read-write":function(e){return!mr[":read-only"](e)},":hover":function(){throw new Error(":hover is not supported.")},":active":function(){throw new Error(":active is not supported.")},":link":function(){throw new Error(":link is not supported.")},":visited":function(){throw new Error(":visited is not supported.")},":column":function(){throw new Error(":column is not supported.")},":nth-column":function(){throw new Error(":nth-column is not supported.")},":nth-last-column":function(){throw new Error(":nth-last-column is not supported.")},":current":function(){throw new Error(":current is not supported.")},":past":function(){throw new Error(":past is not supported.")},":future":function(){throw new Error(":future is not supported.")},":contains":function(e){return function(t){var r=t.innerText||t.textContent||t.value||"";return r.indexOf(e)!==-1}},":has":function(e){return function(t){return Yg(e,t).length>0}}},Qg={"-":function(){return!0},"=":function(e,t){return e===t},"*=":function(e,t){return e.indexOf(t)!==-1},"~=":function(e,t){var r,n,i,s;for(n=0;;n=r+1){if(r=e.indexOf(t,n),r===-1)return!1;if(i=e[r-1],s=e[r+t.length],(!i||i===" ")&&(!s||s===" "))return!0}},"|=":function(e,t){var r=e.indexOf(t),n;if(r===0)return n=e[r+t.length],n==="-"||!n},"^=":function(e,t){return e.indexOf(t)===0},"$=":function(e,t){var r=e.lastIndexOf(t);return r!==-1&&r+t.length===e.length},"!=":function(e,t){return e!==t}},Do={" ":function(e){return function(t){for(;t=t.parentNode;)if(e(t))return t}},">":function(e){return function(t){if(t=t.parentNode)return e(t)&&t}},"+":function(e){return function(t){if(t=ha(t))return e(t)&&t}},"~":function(e){return function(t){for(;t=ha(t);)if(e(t))return t}},noop:function(e){return function(t){return e(t)&&t}},ref:function(e,t){var r;function n(i){for(var s=i.ownerDocument,a=s.getElementsByTagName("*"),o=a.length;o--;)if(r=a[o],n.test(i))return r=null,!0;r=null}return n.combinator=function(i){if(!(!r||!r.getAttribute)){var s=r.getAttribute(t)||"";if(s[0]==="#"&&(s=s.substring(1)),s===i.id&&e(r))return r}},n}},Oe={escape:/\\(?:[^0-9A-Fa-f\r\n]|[0-9A-Fa-f]{1,6}[\r\n\t ]?)/g,str_escape:/(escape)|\\(\n|\r\n?|\f)/g,nonascii:/[\u00A0-\uFFFF]/,cssid:/(?:(?!-?[0-9])(?:escape|nonascii|[-_a-zA-Z0-9])+)/,qname:/^ *(cssid|\*)/,simple:/^(?:([.#]cssid)|pseudo|attr)/,ref:/^ *\/(cssid)\/ */,combinator:/^(?: +([^ \w*.#\\]) +|( )+|([^ \w*.#\\]))(?! *$)/,attr:/^\[(cssid)(?:([^\w]?=)(inside))?\]/,pseudo:/^(:cssid)(?:\((inside)\))?/,inside:/(?:"(?:\\"|[^"])*"|'(?:\\'|[^'])*'|<[^"'>]*>|\\["'>]|[^"'>])*/,ident:/^(cssid)$/};Oe.cssid=Hr(Oe.cssid,"nonascii",Oe.nonascii);Oe.cssid=Hr(Oe.cssid,"escape",Oe.escape);Oe.qname=Hr(Oe.qname,"cssid",Oe.cssid);Oe.simple=Hr(Oe.simple,"cssid",Oe.cssid);Oe.ref=Hr(Oe.ref,"cssid",Oe.cssid);Oe.attr=Hr(Oe.attr,"cssid",Oe.cssid);Oe.pseudo=Hr(Oe.pseudo,"cssid",Oe.cssid);Oe.inside=Hr(Oe.inside,`[^"'>]*`,Oe.inside);Oe.attr=Hr(Oe.attr,"inside",Kg("\\[","\\]"));Oe.pseudo=Hr(Oe.pseudo,"inside",Kg("\\(","\\)"));Oe.simple=Hr(Oe.simple,"pseudo",Oe.pseudo);Oe.simple=Hr(Oe.simple,"attr",Oe.attr);Oe.ident=Hr(Oe.ident,"cssid",Oe.cssid);Oe.str_escape=Hr(Oe.str_escape,"escape",Oe.escape);var $o=function(e){for(var t=e.replace(/^\s+|\s+$/g,""),r,n=[],i=[],s,a,o,l,u;t;){if(o=Oe.qname.exec(t))t=t.substring(o[0].length),a=Yi(o[1]),i.push(du(a,!0));else if(o=Oe.simple.exec(t))t=t.substring(o[0].length),a="*",i.push(du(a,!0)),i.push(du(o));else throw new SyntaxError("Invalid selector.");for(;o=Oe.simple.exec(t);)t=t.substring(o[0].length),i.push(du(o));if(t[0]==="!"&&(t=t.substring(1),s=HN(),s.qname=a,i.push(s.simple)),o=Oe.ref.exec(t)){t=t.substring(o[0].length),u=Do.ref(kf(i),Yi(o[1])),n.push(u.combinator),i=[];continue}if(o=Oe.combinator.exec(t)){if(t=t.substring(o[0].length),l=o[1]||o[2]||o[3],l===","){n.push(Do.noop(kf(i)));break}}else l="noop";if(!Do[l])throw new SyntaxError("Bad combinator.");n.push(Do[l](kf(i))),i=[]}return r=qN(n),r.qname=a,r.sel=t,s&&(s.lname=r.qname,s.test=r,s.qname=s.qname,s.sel=r.sel,r=s),u&&(u.test=r,u.qname=r.qname,u.sel=r.sel,r=u),r},du=function(e,t){if(t)return e==="*"?mr["*"]:mr.type(e);if(e[1])return e[1][0]==="."?mr.attr("class","~=",Yi(e[1].substring(1)),!1):mr.attr("id","=",Yi(e[1].substring(1)),!1);if(e[2])return e[3]?mr[Yi(e[2])](Zg(e[3])):mr[Yi(e[2])];if(e[4]){var r=e[6],n=/["'\s]\s*I$/i.test(r);return n&&(r=r.replace(/\s*I$/i,"")),mr.attr(Yi(e[4]),e[5]||"-",Zg(r),n)}throw new SyntaxError("Unknown Selector.")},kf=function(e){var t=e.length,r;return t<2?e[0]:function(n){if(n){for(r=0;r<t;r++)if(!e[r](n))return;return!0}}},qN=function(e){return e.length<2?function(t){return!!e[0](t)}:function(t){for(var r=e.length;r--;)if(!(t=e[r](t)))return;return!0}},HN=function(){var e;function t(r){for(var n=r.ownerDocument,i=n.getElementsByTagName(t.lname),s=i.length;s--;)if(t.test(i[s])&&e===r)return e=null,!0;e=null}return t.simple=function(r){return e=r,!0},t},Nf=function(e){for(var t=$o(e),r=[t];t.sel;)t=$o(t.sel),r.push(t);return r.length<2?t:function(n){for(var i=r.length,s=0;s<i;s++)if(r[s](n))return!0}},Yg=function(e,t){for(var r=[],n=$o(e),i=t.getElementsByTagName(n.qname),s=0,a;a=i[s++];)n(a)&&r.push(a);if(n.sel){for(;n.sel;)for(n=$o(n.sel),i=t.getElementsByTagName(n.qname),s=0;a=i[s++];)n(a)&&UN.call(r,a)===-1&&r.push(a);r.sort(PN)}return r};Jg.exports=da=function(e,t){var r,n;if(t.nodeType!==11&&e.indexOf(" ")===-1){if(e[0]==="#"&&t.rooted&&/^#[A-Z_][-A-Z0-9_]*$/i.test(e)&&t.doc._hasMultipleElementsWithId&&(r=e.substring(1),!t.doc._hasMultipleElementsWithId(r)))return n=t.doc.getElementById(r),n?[n]:[];if(e[0]==="."&&/^\.\w+$/.test(e))return t.getElementsByClassName(e.substring(1));if(/^\w+$/.test(e))return t.getElementsByTagName(e)}return Yg(e,t)};da.selectors=mr;da.operators=Qg;da.combinators=Do;da.matches=function(e,t){var r={sel:t};do if(r=$o(r.sel),r(e))return!0;while(r.sel);return!1}});var xu=Ae((NG,e2)=>{"use strict";var WN=vr(),jN=of(),Tf=function(e,t){for(var r=e.createDocumentFragment(),n=0;n<t.length;n++){var i=t[n],s=i instanceof WN;r.appendChild(s?i:e.createTextNode(String(i)))}return r},GN={after:{value:function(){var t=Array.prototype.slice.call(arguments),r=this.parentNode,n=this.nextSibling;if(r!==null){for(;n&&t.some(function(s){return s===n});)n=n.nextSibling;var i=Tf(this.doc,t);r.insertBefore(i,n)}}},before:{value:function(){var t=Array.prototype.slice.call(arguments),r=this.parentNode,n=this.previousSibling;if(r!==null){for(;n&&t.some(function(a){return a===n});)n=n.previousSibling;var i=Tf(this.doc,t),s=n?n.nextSibling:r.firstChild;r.insertBefore(i,s)}}},remove:{value:function(){this.parentNode!==null&&(this.doc&&(this.doc._preremoveNodeIterators(this),this.rooted&&this.doc.mutateRemove(this)),this._remove(),this.parentNode=null)}},_remove:{value:function(){var t=this.parentNode;t!==null&&(t._childNodes?t._childNodes.splice(this.index,1):t._firstChild===this&&(this._nextSibling===this?t._firstChild=null:t._firstChild=this._nextSibling),jN.remove(this),t.modify())}},replaceWith:{value:function(){var t=Array.prototype.slice.call(arguments),r=this.parentNode,n=this.nextSibling;if(r!==null){for(;n&&t.some(function(s){return s===n});)n=n.nextSibling;var i=Tf(this.doc,t);this.parentNode===r?r.replaceChild(i,this):r.insertBefore(i,n)}}}};e2.exports=GN});var Of=Ae((TG,r2)=>{"use strict";var t2=vr(),VN={nextElementSibling:{get:function(){if(this.parentNode){for(var e=this.nextSibling;e!==null;e=e.nextSibling)if(e.nodeType===t2.ELEMENT_NODE)return e}return null}},previousElementSibling:{get:function(){if(this.parentNode){for(var e=this.previousSibling;e!==null;e=e.previousSibling)if(e.nodeType===t2.ELEMENT_NODE)return e}return null}}};r2.exports=VN});var _f=Ae((OG,i2)=>{"use strict";i2.exports=n2;var ma=Vt();function n2(e){this.element=e}Object.defineProperties(n2.prototype,{length:{get:ma.shouldOverride},item:{value:ma.shouldOverride},getNamedItem:{value:function(t){return this.element.getAttributeNode(t)}},getNamedItemNS:{value:function(t,r){return this.element.getAttributeNodeNS(t,r)}},setNamedItem:{value:ma.nyi},setNamedItemNS:{value:ma.nyi},removeNamedItem:{value:function(t){var r=this.element.getAttributeNode(t);if(r)return this.element.removeAttribute(t),r;ma.NotFoundError()}},removeNamedItemNS:{value:function(t,r){var n=this.element.getAttributeNodeNS(t,r);if(n)return this.element.removeAttributeNS(t,r),n;ma.NotFoundError()}}})});var xa=Ae((_G,u2)=>{"use strict";u2.exports=Ji;var If=fu(),qt=Vt(),ii=qt.NAMESPACE,bu=Ef(),$n=vr(),Df=As(),ZN=lf(),yu=Wg(),ga=ou(),XN=Af(),$f=gu(),a2=pu(),KN=xu(),QN=Of(),o2=_f(),s2=Object.create(null);function Ji(e,t,r,n){a2.call(this),this.nodeType=$n.ELEMENT_NODE,this.ownerDocument=e,this.localName=t,this.namespaceURI=r,this.prefix=n,this._tagName=void 0,this._attrsByQName=Object.create(null),this._attrsByLName=Object.create(null),this._attrKeys=[]}function Rf(e,t){if(e.nodeType===$n.TEXT_NODE)t.push(e._data);else for(var r=0,n=e.childNodes.length;r<n;r++)Rf(e.childNodes[r],t)}Ji.prototype=Object.create(a2.prototype,{isHTML:{get:function(){return this.namespaceURI===ii.HTML&&this.ownerDocument.isHTML}},tagName:{get:function(){if(this._tagName===void 0){var t;if(this.prefix===null?t=this.localName:t=this.prefix+":"+this.localName,this.isHTML){var r=s2[t];r||(s2[t]=r=qt.toASCIIUpperCase(t)),t=r}this._tagName=t}return this._tagName}},nodeName:{get:function(){return this.tagName}},nodeValue:{get:function(){return null},set:function(){}},textContent:{get:function(){var e=[];return Rf(this,e),e.join("")},set:function(e){this.removeChildren(),e!=null&&e!==""&&this._appendChild(this.ownerDocument.createTextNode(e))}},innerText:{get:function(){var e=[];return Rf(this,e),e.join("").replace(/[ \t\n\f\r]+/g," ").trim()},set:function(e){this.removeChildren(),e!=null&&e!==""&&this._appendChild(this.ownerDocument.createTextNode(e))}},innerHTML:{get:function(){return this.serialize()},set:qt.nyi},outerHTML:{get:function(){return ZN.serializeOne(this,{nodeType:0})},set:function(e){var t=this.ownerDocument,r=this.parentNode;if(r!==null){r.nodeType===$n.DOCUMENT_NODE&&qt.NoModificationAllowedError(),r.nodeType===$n.DOCUMENT_FRAGMENT_NODE&&(r=r.ownerDocument.createElement("body"));var n=t.implementation.mozHTMLParser(t._address,r);n.parse(e===null?"":String(e),!0),this.replaceWith(n._asDocumentFragment())}}},_insertAdjacent:{value:function(t,r){var n=!1;switch(t){case"beforebegin":n=!0;case"afterend":var i=this.parentNode;return i===null?null:i.insertBefore(r,n?this:this.nextSibling);case"afterbegin":n=!0;case"beforeend":return this.insertBefore(r,n?this.firstChild:null);default:return qt.SyntaxError()}}},insertAdjacentElement:{value:function(t,r){if(r.nodeType!==$n.ELEMENT_NODE)throw new TypeError("not an element");return t=qt.toASCIILowerCase(String(t)),this._insertAdjacent(t,r)}},insertAdjacentText:{value:function(t,r){var n=this.ownerDocument.createTextNode(r);t=qt.toASCIILowerCase(String(t)),this._insertAdjacent(t,n)}},insertAdjacentHTML:{value:function(t,r){t=qt.toASCIILowerCase(String(t)),r=String(r);var n;switch(t){case"beforebegin":case"afterend":n=this.parentNode,(n===null||n.nodeType===$n.DOCUMENT_NODE)&&qt.NoModificationAllowedError();break;case"afterbegin":case"beforeend":n=this;break;default:qt.SyntaxError()}(!(n instanceof Ji)||n.ownerDocument.isHTML&&n.localName==="html"&&n.namespaceURI===ii.HTML)&&(n=n.ownerDocument.createElementNS(ii.HTML,"body"));var i=this.ownerDocument.implementation.mozHTMLParser(this.ownerDocument._address,n);i.parse(r,!0),this._insertAdjacent(t,i._asDocumentFragment())}},children:{get:function(){return this._children||(this._children=new l2(this)),this._children}},attributes:{get:function(){return this._attributes||(this._attributes=new Mf(this)),this._attributes}},firstElementChild:{get:function(){for(var e=this.firstChild;e!==null;e=e.nextSibling)if(e.nodeType===$n.ELEMENT_NODE)return e;return null}},lastElementChild:{get:function(){for(var e=this.lastChild;e!==null;e=e.previousSibling)if(e.nodeType===$n.ELEMENT_NODE)return e;return null}},childElementCount:{get:function(){return this.children.length}},nextElement:{value:function(e){e||(e=this.ownerDocument.documentElement);var t=this.firstElementChild;if(!t){if(this===e)return null;t=this.nextElementSibling}if(t)return t;for(var r=this.parentElement;r&&r!==e;r=r.parentElement)if(t=r.nextElementSibling,t)return t;return null}},getElementsByTagName:{value:function(t){var r;return t?(t==="*"?r=function(){return!0}:this.isHTML?r=YN(t):r=Lf(t),new yu(this,r)):new Df}},getElementsByTagNameNS:{value:function(t,r){var n;return t==="*"&&r==="*"?n=function(){return!0}:t==="*"?n=Lf(r):r==="*"?n=JN(t):n=eT(t,r),new yu(this,n)}},getElementsByClassName:{value:function(t){if(t=String(t).trim(),t===""){var r=new Df;return r}return t=t.split(/[ \t\r\n\f]+/),new yu(this,tT(t))}},getElementsByName:{value:function(t){return new yu(this,rT(String(t)))}},clone:{value:function(){var t;this.namespaceURI!==ii.HTML||this.prefix||!this.ownerDocument.isHTML?t=this.ownerDocument.createElementNS(this.namespaceURI,this.prefix!==null?this.prefix+":"+this.localName:this.localName):t=this.ownerDocument.createElement(this.localName);for(var r=0,n=this._attrKeys.length;r<n;r++){var i=this._attrKeys[r],s=this._attrsByLName[i],a=s.cloneNode();a._setOwnerElement(t),t._attrsByLName[i]=a,t._addQName(a)}return t._attrKeys=this._attrKeys.concat(),t}},isEqual:{value:function(t){if(this.localName!==t.localName||this.namespaceURI!==t.namespaceURI||this.prefix!==t.prefix||this._numattrs!==t._numattrs)return!1;for(var r=0,n=this._numattrs;r<n;r++){var i=this._attr(r);if(!t.hasAttributeNS(i.namespaceURI,i.localName)||t.getAttributeNS(i.namespaceURI,i.localName)!==i.value)return!1}return!0}},_lookupNamespacePrefix:{value:function(t,r){if(this.namespaceURI&&this.namespaceURI===t&&this.prefix!==null&&r.lookupNamespaceURI(this.prefix)===t)return this.prefix;for(var n=0,i=this._numattrs;n<i;n++){var s=this._attr(n);if(s.prefix==="xmlns"&&s.value===t&&r.lookupNamespaceURI(s.localName)===t)return s.localName}var a=this.parentElement;return a?a._lookupNamespacePrefix(t,r):null}},lookupNamespaceURI:{value:function(t){if((t===""||t===void 0)&&(t=null),this.namespaceURI!==null&&this.prefix===t)return this.namespaceURI;for(var r=0,n=this._numattrs;r<n;r++){var i=this._attr(r);if(i.namespaceURI===ii.XMLNS&&(i.prefix==="xmlns"&&i.localName===t||t===null&&i.prefix===null&&i.localName==="xmlns"))return i.value||null}var s=this.parentElement;return s?s.lookupNamespaceURI(t):null}},getAttribute:{value:function(t){var r=this.getAttributeNode(t);return r?r.value:null}},getAttributeNS:{value:function(t,r){var n=this.getAttributeNodeNS(t,r);return n?n.value:null}},getAttributeNode:{value:function(t){t=String(t),/[A-Z]/.test(t)&&this.isHTML&&(t=qt.toASCIILowerCase(t));var r=this._attrsByQName[t];return r?(Array.isArray(r)&&(r=r[0]),r):null}},getAttributeNodeNS:{value:function(t,r){t=t==null?"":String(t),r=String(r);var n=this._attrsByLName[t+"|"+r];return n||null}},hasAttribute:{value:function(t){return t=String(t),/[A-Z]/.test(t)&&this.isHTML&&(t=qt.toASCIILowerCase(t)),this._attrsByQName[t]!==void 0}},hasAttributeNS:{value:function(t,r){t=t==null?"":String(t),r=String(r);var n=t+"|"+r;return this._attrsByLName[n]!==void 0}},hasAttributes:{value:function(){return this._numattrs>0}},toggleAttribute:{value:function(t,r){t=String(t),If.isValidName(t)||qt.InvalidCharacterError(),/[A-Z]/.test(t)&&this.isHTML&&(t=qt.toASCIILowerCase(t));var n=this._attrsByQName[t];return n===void 0?r===void 0||r===!0?(this._setAttribute(t,""),!0):!1:r===void 0||r===!1?(this.removeAttribute(t),!1):!0}},_setAttribute:{value:function(t,r){var n=this._attrsByQName[t],i;n?Array.isArray(n)&&(n=n[0]):(n=this._newattr(t),i=!0),n.value=r,this._attributes&&(this._attributes[t]=n),i&&this._newattrhook&&this._newattrhook(t,r)}},setAttribute:{value:function(t,r){t=String(t),If.isValidName(t)||qt.InvalidCharacterError(),/[A-Z]/.test(t)&&this.isHTML&&(t=qt.toASCIILowerCase(t)),this._setAttribute(t,String(r))}},_setAttributeNS:{value:function(t,r,n){var i=r.indexOf(":"),s,a;i<0?(s=null,a=r):(s=r.substring(0,i),a=r.substring(i+1)),(t===""||t===void 0)&&(t=null);var o=(t===null?"":t)+"|"+a,l=this._attrsByLName[o],u;l||(l=new Ro(this,a,s,t),u=!0,this._attrsByLName[o]=l,this._attributes&&(this._attributes[this._attrKeys.length]=l),this._attrKeys.push(o),this._addQName(l)),l.value=n,u&&this._newattrhook&&this._newattrhook(r,n)}},setAttributeNS:{value:function(t,r,n){t=t==null||t===""?null:String(t),r=String(r),If.isValidQName(r)||qt.InvalidCharacterError();var i=r.indexOf(":"),s=i<0?null:r.substring(0,i);(s!==null&&t===null||s==="xml"&&t!==ii.XML||(r==="xmlns"||s==="xmlns")&&t!==ii.XMLNS||t===ii.XMLNS&&!(r==="xmlns"||s==="xmlns"))&&qt.NamespaceError(),this._setAttributeNS(t,r,String(n))}},setAttributeNode:{value:function(t){if(t.ownerElement!==null&&t.ownerElement!==this)throw new ga(ga.INUSE_ATTRIBUTE_ERR);var r=null,n=this._attrsByQName[t.name];if(n){if(Array.isArray(n)||(n=[n]),n.some(function(i){return i===t}))return t;if(t.ownerElement!==null)throw new ga(ga.INUSE_ATTRIBUTE_ERR);n.forEach(function(i){this.removeAttributeNode(i)},this),r=n[0]}return this.setAttributeNodeNS(t),r}},setAttributeNodeNS:{value:function(t){if(t.ownerElement!==null)throw new ga(ga.INUSE_ATTRIBUTE_ERR);var r=t.namespaceURI,n=(r===null?"":r)+"|"+t.localName,i=this._attrsByLName[n];return i&&this.removeAttributeNode(i),t._setOwnerElement(this),this._attrsByLName[n]=t,this._attributes&&(this._attributes[this._attrKeys.length]=t),this._attrKeys.push(n),this._addQName(t),this._newattrhook&&this._newattrhook(t.name,t.value),i||null}},removeAttribute:{value:function(t){t=String(t),/[A-Z]/.test(t)&&this.isHTML&&(t=qt.toASCIILowerCase(t));var r=this._attrsByQName[t];if(r){Array.isArray(r)?r.length>2?r=r.shift():(this._attrsByQName[t]=r[1],r=r[0]):this._attrsByQName[t]=void 0;var n=r.namespaceURI,i=(n===null?"":n)+"|"+r.localName;this._attrsByLName[i]=void 0;var s=this._attrKeys.indexOf(i);this._attributes&&(Array.prototype.splice.call(this._attributes,s,1),this._attributes[t]=void 0),this._attrKeys.splice(s,1);var a=r.onchange;r._setOwnerElement(null),a&&a.call(r,this,r.localName,r.value,null),this.rooted&&this.ownerDocument.mutateRemoveAttr(r)}}},removeAttributeNS:{value:function(t,r){t=t==null?"":String(t),r=String(r);var n=t+"|"+r,i=this._attrsByLName[n];if(i){this._attrsByLName[n]=void 0;var s=this._attrKeys.indexOf(n);this._attributes&&Array.prototype.splice.call(this._attributes,s,1),this._attrKeys.splice(s,1),this._removeQName(i);var a=i.onchange;i._setOwnerElement(null),a&&a.call(i,this,i.localName,i.value,null),this.rooted&&this.ownerDocument.mutateRemoveAttr(i)}}},removeAttributeNode:{value:function(t){var r=t.namespaceURI,n=(r===null?"":r)+"|"+t.localName;return this._attrsByLName[n]!==t&&qt.NotFoundError(),this.removeAttributeNS(r,t.localName),t}},getAttributeNames:{value:function(){var t=this;return this._attrKeys.map(function(r){return t._attrsByLName[r].name})}},_getattr:{value:function(t){var r=this._attrsByQName[t];return r?r.value:null}},_setattr:{value:function(t,r){var n=this._attrsByQName[t],i;n||(n=this._newattr(t),i=!0),n.value=String(r),this._attributes&&(this._attributes[t]=n),i&&this._newattrhook&&this._newattrhook(t,r)}},_newattr:{value:function(t){var r=new Ro(this,t,null,null),n="|"+t;return this._attrsByQName[t]=r,this._attrsByLName[n]=r,this._attributes&&(this._attributes[this._attrKeys.length]=r),this._attrKeys.push(n),r}},_addQName:{value:function(e){var t=e.name,r=this._attrsByQName[t];r?Array.isArray(r)?r.push(e):this._attrsByQName[t]=[r,e]:this._attrsByQName[t]=e,this._attributes&&(this._attributes[t]=e)}},_removeQName:{value:function(e){var t=e.name,r=this._attrsByQName[t];if(Array.isArray(r)){var n=r.indexOf(e);qt.assert(n!==-1),r.length===2?(this._attrsByQName[t]=r[1-n],this._attributes&&(this._attributes[t]=this._attrsByQName[t])):(r.splice(n,1),this._attributes&&this._attributes[t]===e&&(this._attributes[t]=r[0]))}else qt.assert(r===e),this._attrsByQName[t]=void 0,this._attributes&&(this._attributes[t]=void 0)}},_numattrs:{get:function(){return this._attrKeys.length}},_attr:{value:function(e){return this._attrsByLName[this._attrKeys[e]]}},id:bu.property({name:"id"}),className:bu.property({name:"class"}),classList:{get:function(){var e=this;if(this._classList)return this._classList;var t=new XN(function(){return e.className||""},function(r){e.className=r});return this._classList=t,t},set:function(e){this.className=e}},matches:{value:function(e){return $f.matches(this,e)}},closest:{value:function(e){var t=this;do{if(t.matches&&t.matches(e))return t;t=t.parentElement||t.parentNode}while(t!==null&&t.nodeType===$n.ELEMENT_NODE);return null}},querySelector:{value:function(e){return $f(e,this)[0]}},querySelectorAll:{value:function(e){var t=$f(e,this);return t.item?t:new Df(t)}}});Object.defineProperties(Ji.prototype,KN);Object.defineProperties(Ji.prototype,QN);bu.registerChangeHandler(Ji,"id",function(e,t,r,n){e.rooted&&(r&&e.ownerDocument.delId(r,e),n&&e.ownerDocument.addId(n,e))});bu.registerChangeHandler(Ji,"class",function(e,t,r,n){e._classList&&e._classList._update()});function Ro(e,t,r,n,i){this.localName=t,this.prefix=r===null||r===""?null:""+r,this.namespaceURI=n===null||n===""?null:""+n,this.data=i,this._setOwnerElement(e)}Ro.prototype=Object.create(Object.prototype,{ownerElement:{get:function(){return this._ownerElement}},_setOwnerElement:{value:function(t){this._ownerElement=t,this.prefix===null&&this.namespaceURI===null&&t?this.onchange=t._attributeChangeHandlers[this.localName]:this.onchange=null}},name:{get:function(){return this.prefix?this.prefix+":"+this.localName:this.localName}},specified:{get:function(){return!0}},value:{get:function(){return this.data},set:function(e){var t=this.data;e=e===void 0?"":e+"",e!==t&&(this.data=e,this.ownerElement&&(this.onchange&&this.onchange(this.ownerElement,this.localName,t,e),this.ownerElement.rooted&&this.ownerElement.ownerDocument.mutateAttr(this,t)))}},cloneNode:{value:function(t){return new Ro(null,this.localName,this.prefix,this.namespaceURI,this.data)}},nodeType:{get:function(){return $n.ATTRIBUTE_NODE}},nodeName:{get:function(){return this.name}},nodeValue:{get:function(){return this.value},set:function(e){this.value=e}},textContent:{get:function(){return this.value},set:function(e){e==null&&(e=""),this.value=e}},innerText:{get:function(){return this.value},set:function(e){e==null&&(e=""),this.value=e}}});Ji._Attr=Ro;function Mf(e){o2.call(this,e);for(var t in e._attrsByQName)this[t]=e._attrsByQName[t];for(var r=0;r<e._attrKeys.length;r++)this[r]=e._attrsByLName[e._attrKeys[r]]}Mf.prototype=Object.create(o2.prototype,{length:{get:function(){return this.element._attrKeys.length},set:function(){}},item:{value:function(e){return e=e>>>0,e>=this.length?null:this.element._attrsByLName[this.element._attrKeys[e]]}}});globalThis.Symbol?.iterator&&(Mf.prototype[globalThis.Symbol.iterator]=function(){var e=0,t=this.length,r=this;return{next:function(){return e<t?{value:r.item(e++)}:{done:!0}}}});function l2(e){this.element=e,this.updateCache()}l2.prototype=Object.create(Object.prototype,{length:{get:function(){return this.updateCache(),this.childrenByNumber.length}},item:{value:function(t){return this.updateCache(),this.childrenByNumber[t]||null}},namedItem:{value:function(t){return this.updateCache(),this.childrenByName[t]||null}},namedItems:{get:function(){return this.updateCache(),this.childrenByName}},updateCache:{value:function(){var t=/^(a|applet|area|embed|form|frame|frameset|iframe|img|object)$/;if(this.lastModTime!==this.element.lastModTime){this.lastModTime=this.element.lastModTime;for(var r=this.childrenByNumber&&this.childrenByNumber.length||0,n=0;n<r;n++)this[n]=void 0;this.childrenByNumber=[],this.childrenByName=Object.create(null);for(var i=this.element.firstChild;i!==null;i=i.nextSibling)if(i.nodeType===$n.ELEMENT_NODE){this[this.childrenByNumber.length]=i,this.childrenByNumber.push(i);var s=i.getAttribute("id");s&&!this.childrenByName[s]&&(this.childrenByName[s]=i);var a=i.getAttribute("name");a&&this.element.namespaceURI===ii.HTML&&t.test(this.element.localName)&&!this.childrenByName[a]&&(this.childrenByName[s]=i)}}}}});function Lf(e){return function(t){return t.localName===e}}function YN(e){var t=qt.toASCIILowerCase(e);return t===e?Lf(e):function(r){return r.isHTML?r.localName===t:r.localName===e}}function JN(e){return function(t){return t.namespaceURI===e}}function eT(e,t){return function(r){return r.namespaceURI===e&&r.localName===t}}function tT(e){return function(t){return e.every(function(r){return t.classList.contains(r)})}}function rT(e){return function(t){return t.namespaceURI!==ii.HTML?!1:t.getAttribute("name")===e}}});var Pf=Ae((IG,d2)=>{"use strict";d2.exports=h2;var p2=vr(),nT=As(),f2=Vt(),c2=f2.HierarchyRequestError,iT=f2.NotFoundError;function h2(){p2.call(this)}h2.prototype=Object.create(p2.prototype,{hasChildNodes:{value:function(){return!1}},firstChild:{value:null},lastChild:{value:null},insertBefore:{value:function(e,t){if(!e.nodeType)throw new TypeError("not a node");c2()}},replaceChild:{value:function(e,t){if(!e.nodeType)throw new TypeError("not a node");c2()}},removeChild:{value:function(e){if(!e.nodeType)throw new TypeError("not a node");iT()}},removeChildren:{value:function(){}},childNodes:{get:function(){return this._childNodes||(this._childNodes=new nT),this._childNodes}}})});var Lo=Ae((DG,x2)=>{"use strict";x2.exports=wu;var g2=Pf(),m2=Vt(),sT=xu(),aT=Of();function wu(){g2.call(this)}wu.prototype=Object.create(g2.prototype,{substringData:{value:function(t,r){if(arguments.length<2)throw new TypeError("Not enough arguments");return t=t>>>0,r=r>>>0,(t>this.data.length||t<0||r<0)&&m2.IndexSizeError(),this.data.substring(t,t+r)}},appendData:{value:function(t){if(arguments.length<1)throw new TypeError("Not enough arguments");this.data+=String(t)}},insertData:{value:function(t,r){return this.replaceData(t,0,r)}},deleteData:{value:function(t,r){return this.replaceData(t,r,"")}},replaceData:{value:function(t,r,n){var i=this.data,s=i.length;t=t>>>0,r=r>>>0,n=String(n),(t>s||t<0)&&m2.IndexSizeError(),t+r>s&&(r=s-t);var a=i.substring(0,t),o=i.substring(t+r);this.data=a+n+o}},isEqual:{value:function(t){return this._data===t._data}},length:{get:function(){return this.data.length}}});Object.defineProperties(wu.prototype,sT);Object.defineProperties(wu.prototype,aT)});var Bf=Ae(($G,v2)=>{"use strict";v2.exports=Ff;var y2=Vt(),b2=vr(),w2=Lo();function Ff(e,t){w2.call(this),this.nodeType=b2.TEXT_NODE,this.ownerDocument=e,this._data=t,this._index=void 0}var Mo={get:function(){return this._data},set:function(e){e==null?e="":e=String(e),e!==this._data&&(this._data=e,this.rooted&&this.ownerDocument.mutateValue(this),this.parentNode&&this.parentNode._textchangehook&&this.parentNode._textchangehook(this))}};Ff.prototype=Object.create(w2.prototype,{nodeName:{value:"#text"},nodeValue:Mo,textContent:Mo,innerText:Mo,data:{get:Mo.get,set:function(e){Mo.set.call(this,e===null?"":String(e))}},splitText:{value:function(t){(t>this._data.length||t<0)&&y2.IndexSizeError();var r=this._data.substring(t),n=this.ownerDocument.createTextNode(r);this.data=this.data.substring(0,t);var i=this.parentNode;return i!==null&&i.insertBefore(n,this.nextSibling),n}},wholeText:{get:function(){for(var t=this.textContent,r=this.nextSibling;r&&r.nodeType===b2.TEXT_NODE;r=r.nextSibling)t+=r.textContent;return t}},replaceWholeText:{value:y2.nyi},clone:{value:function(){return new Ff(this.ownerDocument,this._data)}}})});var zf=Ae((RG,S2)=>{"use strict";S2.exports=Uf;var oT=vr(),E2=Lo();function Uf(e,t){E2.call(this),this.nodeType=oT.COMMENT_NODE,this.ownerDocument=e,this._data=t}var Po={get:function(){return this._data},set:function(e){e==null?e="":e=String(e),this._data=e,this.rooted&&this.ownerDocument.mutateValue(this)}};Uf.prototype=Object.create(E2.prototype,{nodeName:{value:"#comment"},nodeValue:Po,textContent:Po,innerText:Po,data:{get:Po.get,set:function(e){Po.set.call(this,e===null?"":String(e))}},clone:{value:function(){return new Uf(this.ownerDocument,this._data)}}})});var Hf=Ae((LG,k2)=>{"use strict";k2.exports=qf;var lT=vr(),uT=As(),C2=pu(),vu=xa(),cT=gu(),A2=Vt();function qf(e){C2.call(this),this.nodeType=lT.DOCUMENT_FRAGMENT_NODE,this.ownerDocument=e}qf.prototype=Object.create(C2.prototype,{nodeName:{value:"#document-fragment"},nodeValue:{get:function(){return null},set:function(){}},textContent:Object.getOwnPropertyDescriptor(vu.prototype,"textContent"),innerText:Object.getOwnPropertyDescriptor(vu.prototype,"innerText"),querySelector:{value:function(e){var t=this.querySelectorAll(e);return t.length?t[0]:null}},querySelectorAll:{value:function(e){var t=Object.create(this);t.isHTML=!0,t.getElementsByTagName=vu.prototype.getElementsByTagName,t.nextElement=Object.getOwnPropertyDescriptor(vu.prototype,"firstElementChild").get;var r=cT(e,t);return r.item?r:new uT(r)}},clone:{value:function(){return new qf(this.ownerDocument)}},isEqual:{value:function(t){return!0}},innerHTML:{get:function(){return this.serialize()},set:A2.nyi},outerHTML:{get:function(){return this.serialize()},set:A2.nyi}})});var jf=Ae((MG,T2)=>{"use strict";T2.exports=Wf;var pT=vr(),N2=Lo();function Wf(e,t,r){N2.call(this),this.nodeType=pT.PROCESSING_INSTRUCTION_NODE,this.ownerDocument=e,this.target=t,this._data=r}var Fo={get:function(){return this._data},set:function(e){e==null?e="":e=String(e),this._data=e,this.rooted&&this.ownerDocument.mutateValue(this)}};Wf.prototype=Object.create(N2.prototype,{nodeName:{get:function(){return this.target}},nodeValue:Fo,textContent:Fo,innerText:Fo,data:{get:Fo.get,set:function(e){Fo.set.call(this,e===null?"":String(e))}},clone:{value:function(){return new Wf(this.ownerDocument,this.target,this._data)}},isEqual:{value:function(t){return this.target===t.target&&this._data===t._data}}})});var Bo=Ae((PG,O2)=>{"use strict";var Gf={FILTER_ACCEPT:1,FILTER_REJECT:2,FILTER_SKIP:3,SHOW_ALL:4294967295,SHOW_ELEMENT:1,SHOW_ATTRIBUTE:2,SHOW_TEXT:4,SHOW_CDATA_SECTION:8,SHOW_ENTITY_REFERENCE:16,SHOW_ENTITY:32,SHOW_PROCESSING_INSTRUCTION:64,SHOW_COMMENT:128,SHOW_DOCUMENT:256,SHOW_DOCUMENT_TYPE:512,SHOW_DOCUMENT_FRAGMENT:1024,SHOW_NOTATION:2048};O2.exports=Gf.constructor=Gf.prototype=Gf});var Zf=Ae((BG,I2)=>{"use strict";var FG=I2.exports={nextSkippingChildren:fT,nextAncestorSibling:Vf,next:hT,previous:dT,deepLastChild:_2};function fT(e,t){return e===t?null:e.nextSibling!==null?e.nextSibling:Vf(e,t)}function Vf(e,t){for(e=e.parentNode;e!==null;e=e.parentNode){if(e===t)return null;if(e.nextSibling!==null)return e.nextSibling}return null}function hT(e,t){var r;return r=e.firstChild,r!==null?r:e===t?null:(r=e.nextSibling,r!==null?r:Vf(e,t))}function _2(e){for(;e.lastChild;)e=e.lastChild;return e}function dT(e,t){var r;return r=e.previousSibling,r!==null?_2(r):(r=e.parentNode,r===t?null:r)}});var F2=Ae((UG,P2)=>{"use strict";P2.exports=M2;var mT=vr(),Er=Bo(),D2=Zf(),L2=Vt(),Xf={first:"firstChild",last:"lastChild",next:"firstChild",previous:"lastChild"},Kf={first:"nextSibling",last:"previousSibling",next:"nextSibling",previous:"previousSibling"};function $2(e,t){var r,n,i,s,a;for(n=e._currentNode[Xf[t]];n!==null;){if(s=e._internalFilter(n),s===Er.FILTER_ACCEPT)return e._currentNode=n,n;if(s===Er.FILTER_SKIP&&(r=n[Xf[t]],r!==null)){n=r;continue}for(;n!==null;){if(a=n[Kf[t]],a!==null){n=a;break}if(i=n.parentNode,i===null||i===e.root||i===e._currentNode)return null;n=i}}return null}function R2(e,t){var r,n,i;if(r=e._currentNode,r===e.root)return null;for(;;){for(i=r[Kf[t]];i!==null;){if(r=i,n=e._internalFilter(r),n===Er.FILTER_ACCEPT)return e._currentNode=r,r;i=r[Xf[t]],(n===Er.FILTER_REJECT||i===null)&&(i=r[Kf[t]])}if(r=r.parentNode,r===null||r===e.root||e._internalFilter(r)===Er.FILTER_ACCEPT)return null}}function M2(e,t,r){(!e||!e.nodeType)&&L2.NotSupportedError(),this._root=e,this._whatToShow=Number(t)||0,this._filter=r||null,this._active=!1,this._currentNode=e}Object.defineProperties(M2.prototype,{root:{get:function(){return this._root}},whatToShow:{get:function(){return this._whatToShow}},filter:{get:function(){return this._filter}},currentNode:{get:function(){return this._currentNode},set:function(t){if(!(t instanceof mT))throw new TypeError("Not a Node");this._currentNode=t}},_internalFilter:{value:function(t){var r,n;if(this._active&&L2.InvalidStateError(),!(1<<t.nodeType-1&this._whatToShow))return Er.FILTER_SKIP;if(n=this._filter,n===null)r=Er.FILTER_ACCEPT;else{this._active=!0;try{typeof n=="function"?r=n(t):r=n.acceptNode(t)}finally{this._active=!1}}return+r}},parentNode:{value:function(){for(var t=this._currentNode;t!==this.root;){if(t=t.parentNode,t===null)return null;if(this._internalFilter(t)===Er.FILTER_ACCEPT)return this._currentNode=t,t}return null}},firstChild:{value:function(){return $2(this,"first")}},lastChild:{value:function(){return $2(this,"last")}},previousSibling:{value:function(){return R2(this,"previous")}},nextSibling:{value:function(){return R2(this,"next")}},previousNode:{value:function(){var t,r,n,i;for(t=this._currentNode;t!==this._root;){for(n=t.previousSibling;n;n=t.previousSibling)if(t=n,r=this._internalFilter(t),r!==Er.FILTER_REJECT){for(i=t.lastChild;i&&(t=i,r=this._internalFilter(t),r!==Er.FILTER_REJECT);i=t.lastChild);if(r===Er.FILTER_ACCEPT)return this._currentNode=t,t}if(t===this.root||t.parentNode===null)return null;if(t=t.parentNode,this._internalFilter(t)===Er.FILTER_ACCEPT)return this._currentNode=t,t}return null}},nextNode:{value:function(){var t,r,n,i;t=this._currentNode,r=Er.FILTER_ACCEPT;e:for(;;){for(n=t.firstChild;n;n=t.firstChild){if(t=n,r=this._internalFilter(t),r===Er.FILTER_ACCEPT)return this._currentNode=t,t;if(r===Er.FILTER_REJECT)break}for(i=D2.nextSkippingChildren(t,this.root);i;i=D2.nextSkippingChildren(t,this.root)){if(t=i,r=this._internalFilter(t),r===Er.FILTER_ACCEPT)return this._currentNode=t,t;if(r===Er.FILTER_SKIP)continue e}return null}}},toString:{value:function(){return"[object TreeWalker]"}}})});var W2=Ae((zG,H2)=>{"use strict";H2.exports=q2;var Qf=Bo(),Yf=Zf(),z2=Vt();function gT(e,t,r){return r?Yf.next(e,t):e===t?null:Yf.previous(e,null)}function B2(e,t){for(;t;t=t.parentNode)if(e===t)return!0;return!1}function U2(e,t){var r,n;for(r=e._referenceNode,n=e._pointerBeforeReferenceNode;;){if(n===t)n=!n;else if(r=gT(r,e._root,t),r===null)return null;var i=e._internalFilter(r);if(i===Qf.FILTER_ACCEPT)break}return e._referenceNode=r,e._pointerBeforeReferenceNode=n,r}function q2(e,t,r){(!e||!e.nodeType)&&z2.NotSupportedError(),this._root=e,this._referenceNode=e,this._pointerBeforeReferenceNode=!0,this._whatToShow=Number(t)||0,this._filter=r||null,this._active=!1,e.doc._attachNodeIterator(this)}Object.defineProperties(q2.prototype,{root:{get:function(){return this._root}},referenceNode:{get:function(){return this._referenceNode}},pointerBeforeReferenceNode:{get:function(){return this._pointerBeforeReferenceNode}},whatToShow:{get:function(){return this._whatToShow}},filter:{get:function(){return this._filter}},_internalFilter:{value:function(t){var r,n;if(this._active&&z2.InvalidStateError(),!(1<<t.nodeType-1&this._whatToShow))return Qf.FILTER_SKIP;if(n=this._filter,n===null)r=Qf.FILTER_ACCEPT;else{this._active=!0;try{typeof n=="function"?r=n(t):r=n.acceptNode(t)}finally{this._active=!1}}return+r}},_preremove:{value:function(t){if(!B2(t,this._root)&&B2(t,this._referenceNode)){if(this._pointerBeforeReferenceNode){for(var r=t;r.lastChild;)r=r.lastChild;if(r=Yf.next(r,this.root),r){this._referenceNode=r;return}this._pointerBeforeReferenceNode=!1}if(t.previousSibling===null)this._referenceNode=t.parentNode;else{this._referenceNode=t.previousSibling;var n;for(n=this._referenceNode.lastChild;n;n=this._referenceNode.lastChild)this._referenceNode=n}}}},nextNode:{value:function(){return U2(this,!0)}},previousNode:{value:function(){return U2(this,!1)}},detach:{value:function(){}},toString:{value:function(){return"[object NodeIterator]"}}})});var Eu=Ae((qG,j2)=>{"use strict";j2.exports=Sr;function Sr(e){if(!e)return Object.create(Sr.prototype);this.url=e.replace(/^[ \t\n\r\f]+|[ \t\n\r\f]+$/g,"");var t=Sr.pattern.exec(this.url);if(t){if(t[2]&&(this.scheme=t[2]),t[4]){var r=t[4].match(Sr.userinfoPattern);if(r&&(this.username=r[1],this.password=r[3],t[4]=t[4].substring(r[0].length)),t[4].match(Sr.portPattern)){var n=t[4].lastIndexOf(":");this.host=t[4].substring(0,n),this.port=t[4].substring(n+1)}else this.host=t[4]}t[5]&&(this.path=t[5]),t[6]&&(this.query=t[7]),t[8]&&(this.fragment=t[9])}}Sr.pattern=/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/;Sr.userinfoPattern=/^([^@:]*)(:([^@]*))?@/;Sr.portPattern=/:\d+$/;Sr.authorityPattern=/^[^:\/?#]+:\/\//;Sr.hierarchyPattern=/^[^:\/?#]+:\//;Sr.percentEncode=function(t){var r=t.charCodeAt(0);if(r<256)return"%"+r.toString(16);throw Error("can't percent-encode codepoints > 255 yet")};Sr.prototype={constructor:Sr,isAbsolute:function(){return!!this.scheme},isAuthorityBased:function(){return Sr.authorityPattern.test(this.url)},isHierarchical:function(){return Sr.hierarchyPattern.test(this.url)},toString:function(){var e="";return this.scheme!==void 0&&(e+=this.scheme+":"),this.isAbsolute()&&(e+="//",(this.username||this.password)&&(e+=this.username||"",this.password&&(e+=":"+this.password),e+="@"),this.host&&(e+=this.host)),this.port!==void 0&&(e+=":"+this.port),this.path!==void 0&&(e+=this.path),this.query!==void 0&&(e+="?"+this.query),this.fragment!==void 0&&(e+="#"+this.fragment),e},resolve:function(e){var t=this,r=new Sr(e),n=new Sr;return r.scheme!==void 0?(n.scheme=r.scheme,n.username=r.username,n.password=r.password,n.host=r.host,n.port=r.port,n.path=s(r.path),n.query=r.query):(n.scheme=t.scheme,r.host!==void 0?(n.username=r.username,n.password=r.password,n.host=r.host,n.port=r.port,n.path=s(r.path),n.query=r.query):(n.username=t.username,n.password=t.password,n.host=t.host,n.port=t.port,r.path?(r.path.charAt(0)==="/"?n.path=s(r.path):(n.path=i(t.path,r.path),n.path=s(n.path)),n.query=r.query):(n.path=t.path,r.query!==void 0?n.query=r.query:n.query=t.query))),n.fragment=r.fragment,n.toString();function i(a,o){if(t.host!==void 0&&!t.path)return"/"+o;var l=a.lastIndexOf("/");return l===-1?o:a.substring(0,l+1)+o}function s(a){if(!a)return a;for(var o="";a.length>0;){if(a==="."||a===".."){a="";break}var l=a.substring(0,2),u=a.substring(0,3),c=a.substring(0,4);if(u==="../")a=a.substring(3);else if(l==="./")a=a.substring(2);else if(u==="/./")a="/"+a.substring(3);else if(l==="/."&&a.length===2)a="/";else if(c==="/../"||u==="/.."&&a.length===3)a="/"+a.substring(4),o=o.replace(/\/?[^\/]*$/,"");else{var p=a.match(/(\/?([^\/]*))/)[0];o+=p,a=a.substring(p.length)}}return o}}}});var Z2=Ae((HG,V2)=>{"use strict";V2.exports=Jf;var G2=ca();function Jf(e,t){G2.call(this,e,t)}Jf.prototype=Object.create(G2.prototype,{constructor:{value:Jf}})});var eh=Ae((WG,X2)=>{"use strict";X2.exports={Event:ca(),UIEvent:tf(),MouseEvent:nf(),CustomEvent:Z2()}});var Q2=Ae(ya=>{"use strict";Object.defineProperty(ya,"__esModule",{value:!0});ya.hyphenate=ya.parse=void 0;function xT(e){let t=[],r=0,n=0,i=0,s=0,a=0,o=null;for(;r<e.length;)switch(e.charCodeAt(r++)){case 40:n++;break;case 41:n--;break;case 39:i===0?i=39:i===39&&e.charCodeAt(r-1)!==92&&(i=0);break;case 34:i===0?i=34:i===34&&e.charCodeAt(r-1)!==92&&(i=0);break;case 58:!o&&n===0&&i===0&&(o=K2(e.substring(a,r-1).trim()),s=r);break;case 59:if(o&&s>0&&n===0&&i===0){let u=e.substring(s,r-1).trim();t.push(o,u),a=r,s=0,o=null}break}if(o&&s){let l=e.slice(s).trim();t.push(o,l)}return t}ya.parse=xT;function K2(e){return e.replace(/[a-z][A-Z]/g,t=>t.charAt(0)+"-"+t.charAt(1)).toLowerCase()}ya.hyphenate=K2});var Su=Ae((GG,rx)=>{"use strict";var{parse:yT}=Q2();rx.exports=function(e){let t=new tx(e),r={get:function(n,i){return i in n?n[i]:n.getPropertyValue(Y2(i))},has:function(n,i){return!0},set:function(n,i,s){return i in n?n[i]=s:n.setProperty(Y2(i),s??void 0),!0}};return new Proxy(t,r)};function Y2(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function tx(e){this._element=e}var J2="!important";function ex(e){let t={property:{},priority:{}};if(!e)return t;let r=yT(e);if(r.length<2)return t;for(let n=0;n<r.length;n+=2){let i=r[n],s=r[n+1];s.endsWith(J2)&&(t.priority[i]="important",s=s.slice(0,-J2.length).trim()),t.property[i]=s}return t}var ba={};tx.prototype=Object.create(Object.prototype,{_parsed:{get:function(){if(!this._parsedStyles||this.cssText!==this._lastParsedText){var e=this.cssText;this._parsedStyles=ex(e),this._lastParsedText=e,delete this._names}return this._parsedStyles}},_serialize:{value:function(){var e=this._parsed,t="";for(var r in e.property)t&&(t+=" "),t+=r+": "+e.property[r],e.priority[r]&&(t+=" !"+e.priority[r]),t+=";";this.cssText=t,this._lastParsedText=t,delete this._names}},cssText:{get:function(){return this._element.getAttribute("style")},set:function(e){this._element.setAttribute("style",e)}},length:{get:function(){return this._names||(this._names=Object.getOwnPropertyNames(this._parsed.property)),this._names.length}},item:{value:function(e){return this._names||(this._names=Object.getOwnPropertyNames(this._parsed.property)),this._names[e]}},getPropertyValue:{value:function(e){return e=e.toLowerCase(),this._parsed.property[e]||""}},getPropertyPriority:{value:function(e){return e=e.toLowerCase(),this._parsed.priority[e]||""}},setProperty:{value:function(e,t,r){if(e=e.toLowerCase(),t==null&&(t=""),r==null&&(r=""),t!==ba&&(t=""+t),t=t.trim(),t===""){this.removeProperty(e);return}if(!(r!==""&&r!==ba&&!/^important$/i.test(r))){var n=this._parsed;if(t===ba){if(!n.property[e])return;r!==""?n.priority[e]="important":delete n.priority[e]}else{if(t.indexOf(";")!==-1)return;var i=ex(e+":"+t);if(Object.getOwnPropertyNames(i.property).length===0||Object.getOwnPropertyNames(i.priority).length!==0)return;for(var s in i.property)n.property[s]=i.property[s],r!==ba&&(r!==""?n.priority[s]="important":n.priority[s]&&delete n.priority[s])}this._serialize()}}},setPropertyValue:{value:function(e,t){return this.setProperty(e,t,ba)}},setPropertyPriority:{value:function(e,t){return this.setProperty(e,ba,t)}},removeProperty:{value:function(e){e=e.toLowerCase();var t=this._parsed;e in t.property&&(delete t.property[e],delete t.priority[e],this._serialize())}}})});var th=Ae((VG,nx)=>{"use strict";var gr=Eu();nx.exports=Uo;function Uo(){}Uo.prototype=Object.create(Object.prototype,{_url:{get:function(){return new gr(this.href)}},protocol:{get:function(){var e=this._url;return e&&e.scheme?e.scheme+":":":"},set:function(e){var t=this.href,r=new gr(t);r.isAbsolute()&&(e=e.replace(/:+$/,""),e=e.replace(/[^-+\.a-zA-Z0-9]/g,gr.percentEncode),e.length>0&&(r.scheme=e,t=r.toString())),this.href=t}},host:{get:function(){var e=this._url;return e.isAbsolute()&&e.isAuthorityBased()?e.host+(e.port?":"+e.port:""):""},set:function(e){var t=this.href,r=new gr(t);r.isAbsolute()&&r.isAuthorityBased()&&(e=e.replace(/[^-+\._~!$&'()*,;:=a-zA-Z0-9]/g,gr.percentEncode),e.length>0&&(r.host=e,delete r.port,t=r.toString())),this.href=t}},hostname:{get:function(){var e=this._url;return e.isAbsolute()&&e.isAuthorityBased()?e.host:""},set:function(e){var t=this.href,r=new gr(t);r.isAbsolute()&&r.isAuthorityBased()&&(e=e.replace(/^\/+/,""),e=e.replace(/[^-+\._~!$&'()*,;:=a-zA-Z0-9]/g,gr.percentEncode),e.length>0&&(r.host=e,t=r.toString())),this.href=t}},port:{get:function(){var e=this._url;return e.isAbsolute()&&e.isAuthorityBased()&&e.port!==void 0?e.port:""},set:function(e){var t=this.href,r=new gr(t);r.isAbsolute()&&r.isAuthorityBased()&&(e=""+e,e=e.replace(/[^0-9].*$/,""),e=e.replace(/^0+/,""),e.length===0&&(e="0"),parseInt(e,10)<=65535&&(r.port=e,t=r.toString())),this.href=t}},pathname:{get:function(){var e=this._url;return e.isAbsolute()&&e.isHierarchical()?e.path:""},set:function(e){var t=this.href,r=new gr(t);r.isAbsolute()&&r.isHierarchical()&&(e.charAt(0)!=="/"&&(e="/"+e),e=e.replace(/[^-+\._~!$&'()*,;:=@\/a-zA-Z0-9]/g,gr.percentEncode),r.path=e,t=r.toString()),this.href=t}},search:{get:function(){var e=this._url;return e.isAbsolute()&&e.isHierarchical()&&e.query!==void 0?"?"+e.query:""},set:function(e){var t=this.href,r=new gr(t);r.isAbsolute()&&r.isHierarchical()&&(e.charAt(0)==="?"&&(e=e.substring(1)),e=e.replace(/[^-+\._~!$&'()*,;:=@\/?a-zA-Z0-9]/g,gr.percentEncode),r.query=e,t=r.toString()),this.href=t}},hash:{get:function(){var e=this._url;return e==null||e.fragment==null||e.fragment===""?"":"#"+e.fragment},set:function(e){var t=this.href,r=new gr(t);e.charAt(0)==="#"&&(e=e.substring(1)),e=e.replace(/[^-+\._~!$&'()*,;:=@\/?a-zA-Z0-9]/g,gr.percentEncode),r.fragment=e,t=r.toString(),this.href=t}},username:{get:function(){var e=this._url;return e.username||""},set:function(e){var t=this.href,r=new gr(t);r.isAbsolute()&&(e=e.replace(/[\x00-\x1F\x7F-\uFFFF "#<>?`\/@\\:]/g,gr.percentEncode),r.username=e,t=r.toString()),this.href=t}},password:{get:function(){var e=this._url;return e.password||""},set:function(e){var t=this.href,r=new gr(t);r.isAbsolute()&&(e===""?r.password=null:(e=e.replace(/[\x00-\x1F\x7F-\uFFFF "#<>?`\/@\\]/g,gr.percentEncode),r.password=e),t=r.toString()),this.href=t}},origin:{get:function(){var e=this._url;if(e==null)return"";var t=function(r){var n=[e.scheme,e.host,+e.port||r];return n[0]+"://"+n[1]+(n[2]===r?"":":"+n[2])};switch(e.scheme){case"ftp":return t(21);case"gopher":return t(70);case"http":case"ws":return t(80);case"https":case"wss":return t(443);default:return e.scheme+"://"}}}});Uo._inherit=function(e){Object.getOwnPropertyNames(Uo.prototype).forEach(function(t){if(!(t==="constructor"||t==="href")){var r=Object.getOwnPropertyDescriptor(Uo.prototype,t);Object.defineProperty(e,t,r)}})}});var rh=Ae((ZG,ax)=>{"use strict";var ix=Ef(),bT=lu().isApiWritable;ax.exports=function(e,t,r,n){var i=e.ctor;if(i){var s=e.props||{};if(e.attributes)for(var a in e.attributes){var o=e.attributes[a];(typeof o!="object"||Array.isArray(o))&&(o={type:o}),o.name||(o.name=a.toLowerCase()),s[a]=ix.property(o)}s.constructor={value:i,writable:bT},i.prototype=Object.create((e.superclass||t).prototype,s),e.events&&vT(i,e.events),r[e.name]=i}else i=t;return(e.tags||e.tag&&[e.tag]||[]).forEach(function(l){n[l]=i}),i};function sx(e,t,r,n){this.body=e,this.document=t,this.form=r,this.element=n}sx.prototype.build=function(){return()=>{}};function wT(e,t,r,n){var i=e.ownerDocument||Object.create(null),s=e.form||Object.create(null);e[t]=new sx(n,i,s,e).build()}function vT(e,t){var r=e.prototype;t.forEach(function(n){Object.defineProperty(r,"on"+n,{get:function(){return this._getEventHandler(n)},set:function(i){this._setEventHandler(n,i)}}),ix.registerChangeHandler(e,"on"+n,wT)})}});var ku=Ae(Cu=>{"use strict";var nh=vr(),ox=xa(),ET=Su(),tn=Vt(),lx=th(),ST=rh(),Ci=Cu.elements={},zo=Object.create(null);Cu.createElement=function(e,t,r){var n=zo[t]||CT;return new n(e,t,r)};function pe(e){return ST(e,be,Ci,zo)}function Zt(e){return{get:function(){var t=this._getattr(e);if(t===null)return"";var r=this.doc._resolve(t);return r===null?t:r},set:function(t){this._setattr(e,t)}}}function Au(e){return{get:function(){var t=this._getattr(e);return t===null?null:t.toLowerCase()==="use-credentials"?"use-credentials":"anonymous"},set:function(t){t==null?this.removeAttribute(e):this._setattr(e,t)}}}var wa={type:["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],missing:""},AT={A:!0,LINK:!0,BUTTON:!0,INPUT:!0,SELECT:!0,TEXTAREA:!0,COMMAND:!0},Rn=function(e,t,r){be.call(this,e,t,r),this._form=null},be=Cu.HTMLElement=pe({superclass:ox,name:"HTMLElement",ctor:function(t,r,n){ox.call(this,t,r,tn.NAMESPACE.HTML,n)},props:{dangerouslySetInnerHTML:{set:function(e){this._innerHTML=e}},innerHTML:{get:function(){return this.serialize()},set:function(e){var t=this.ownerDocument.implementation.mozHTMLParser(this.ownerDocument._address,this);t.parse(e===null?"":String(e),!0);for(var r=this instanceof zo.template?this.content:this;r.hasChildNodes();)r.removeChild(r.firstChild);r.appendChild(t._asDocumentFragment())}},style:{get:function(){return this._style||(this._style=new ET(this)),this._style},set:function(e){e==null&&(e=""),this._setattr("style",String(e))}},blur:{value:function(){}},focus:{value:function(){}},forceSpellCheck:{value:function(){}},click:{value:function(){if(!this._click_in_progress){this._click_in_progress=!0;try{this._pre_click_activation_steps&&this._pre_click_activation_steps();var e=this.ownerDocument.createEvent("MouseEvent");e.initMouseEvent("click",!0,!0,this.ownerDocument.defaultView,1,0,0,0,0,!1,!1,!1,!1,0,null);var t=this.dispatchEvent(e);t?this._post_click_activation_steps&&this._post_click_activation_steps(e):this._cancelled_activation_steps&&this._cancelled_activation_steps()}finally{this._click_in_progress=!1}}}},submit:{value:tn.nyi}},attributes:{title:String,lang:String,dir:{type:["ltr","rtl","auto"],missing:""},draggable:{type:["true","false"],treatNullAsEmptyString:!0},spellcheck:{type:["true","false"],missing:""},enterKeyHint:{type:["enter","done","go","next","previous","search","send"],missing:""},autoCapitalize:{type:["off","on","none","sentences","words","characters"],missing:""},autoFocus:Boolean,accessKey:String,nonce:String,hidden:Boolean,translate:{type:["no","yes"],missing:""},tabIndex:{type:"long",default:function(){return this.tagName in AT||this.contentEditable?0:-1}}},events:["abort","canplay","canplaythrough","change","click","contextmenu","cuechange","dblclick","drag","dragend","dragenter","dragleave","dragover","dragstart","drop","durationchange","emptied","ended","input","invalid","keydown","keypress","keyup","loadeddata","loadedmetadata","loadstart","mousedown","mousemove","mouseout","mouseover","mouseup","mousewheel","pause","play","playing","progress","ratechange","readystatechange","reset","seeked","seeking","select","show","stalled","submit","suspend","timeupdate","volumechange","waiting","blur","error","focus","load","scroll"]}),CT=pe({name:"HTMLUnknownElement",ctor:function(t,r,n){be.call(this,t,r,n)}}),Ln={form:{get:function(){return this._form}}};pe({tag:"a",name:"HTMLAnchorElement",ctor:function(t,r,n){be.call(this,t,r,n)},props:{_post_click_activation_steps:{value:function(e){this.href&&(this.ownerDocument.defaultView.location=this.href)}}},attributes:{href:Zt,ping:String,download:String,target:String,rel:String,media:String,hreflang:String,type:String,referrerPolicy:wa,coords:String,charset:String,name:String,rev:String,shape:String}});lx._inherit(zo.a.prototype);pe({tag:"area",name:"HTMLAreaElement",ctor:function(t,r,n){be.call(this,t,r,n)},attributes:{alt:String,target:String,download:String,rel:String,media:String,href:Zt,hreflang:String,type:String,shape:String,coords:String,ping:String,referrerPolicy:wa,noHref:Boolean}});lx._inherit(zo.area.prototype);pe({tag:"br",name:"HTMLBRElement",ctor:function(t,r,n){be.call(this,t,r,n)},attributes:{clear:String}});pe({tag:"base",name:"HTMLBaseElement",ctor:function(t,r,n){be.call(this,t,r,n)},attributes:{target:String}});pe({tag:"body",name:"HTMLBodyElement",ctor:function(t,r,n){be.call(this,t,r,n)},events:["afterprint","beforeprint","beforeunload","blur","error","focus","hashchange","load","message","offline","online","pagehide","pageshow","popstate","resize","scroll","storage","unload"],attributes:{text:{type:String,treatNullAsEmptyString:!0},link:{type:String,treatNullAsEmptyString:!0},vLink:{type:String,treatNullAsEmptyString:!0},aLink:{type:String,treatNullAsEmptyString:!0},bgColor:{type:String,treatNullAsEmptyString:!0},background:String}});pe({tag:"button",name:"HTMLButtonElement",ctor:function(t,r,n){Rn.call(this,t,r,n)},props:Ln,attributes:{name:String,value:String,disabled:Boolean,autofocus:Boolean,type:{type:["submit","reset","button","menu"],missing:"submit"},formTarget:String,formAction:Zt,formNoValidate:Boolean,formMethod:{type:["get","post","dialog"],invalid:"get",missing:""},formEnctype:{type:["application/x-www-form-urlencoded","multipart/form-data","text/plain"],invalid:"application/x-www-form-urlencoded",missing:""}}});pe({tag:"dl",name:"HTMLDListElement",ctor:function(t,r,n){be.call(this,t,r,n)},attributes:{compact:Boolean}});pe({tag:"data",name:"HTMLDataElement",ctor:function(t,r,n){be.call(this,t,r,n)},attributes:{value:String}});pe({tag:"datalist",name:"HTMLDataListElement",ctor:function(t,r,n){be.call(this,t,r,n)}});pe({tag:"details",name:"HTMLDetailsElement",ctor:function(t,r,n){be.call(this,t,r,n)},attributes:{open:Boolean}});pe({tag:"div",name:"HTMLDivElement",ctor:function(t,r,n){be.call(this,t,r,n)},attributes:{align:String}});pe({tag:"embed",name:"HTMLEmbedElement",ctor:function(t,r,n){be.call(this,t,r,n)},attributes:{src:Zt,type:String,width:String,height:String,align:String,name:String}});pe({tag:"fieldset",name:"HTMLFieldSetElement",ctor:function(t,r,n){Rn.call(this,t,r,n)},props:Ln,attributes:{disabled:Boolean,name:String}});pe({tag:"form",name:"HTMLFormElement",ctor:function(t,r,n){be.call(this,t,r,n)},attributes:{action:String,autocomplete:{type:["on","off"],missing:"on"},name:String,acceptCharset:{name:"accept-charset"},target:String,noValidate:Boolean,method:{type:["get","post","dialog"],invalid:"get",missing:"get"},enctype:{type:["application/x-www-form-urlencoded","multipart/form-data","text/plain"],invalid:"application/x-www-form-urlencoded",missing:"application/x-www-form-urlencoded"},encoding:{name:"enctype",type:["application/x-www-form-urlencoded","multipart/form-data","text/plain"],invalid:"application/x-www-form-urlencoded",missing:"application/x-www-form-urlencoded"}}});pe({tag:"hr",name:"HTMLHRElement",ctor:function(t,r,n){be.call(this,t,r,n)},attributes:{align:String,color:String,noShade:Boolean,size:String,width:String}});pe({tag:"head",name:"HTMLHeadElement",ctor:function(t,r,n){be.call(this,t,r,n)}});pe({tags:["h1","h2","h3","h4","h5","h6"],name:"HTMLHeadingElement",ctor:function(t,r,n){be.call(this,t,r,n)},attributes:{align:String}});pe({tag:"html",name:"HTMLHtmlElement",ctor:function(t,r,n){be.call(this,t,r,n)},attributes:{xmlns:Zt,version:String}});pe({tag:"iframe",name:"HTMLIFrameElement",ctor:function(t,r,n){be.call(this,t,r,n)},attributes:{src:Zt,srcdoc:String,name:String,width:String,height:String,seamless:Boolean,allow:Boolean,allowFullscreen:Boolean,allowUserMedia:Boolean,allowPaymentRequest:Boolean,referrerPolicy:wa,loading:{type:["eager","lazy"],treatNullAsEmptyString:!0},align:String,scrolling:String,frameBorder:String,longDesc:Zt,marginHeight:{type:String,treatNullAsEmptyString:!0},marginWidth:{type:String,treatNullAsEmptyString:!0}}});pe({tag:"img",name:"HTMLImageElement",ctor:function(t,r,n){be.call(this,t,r,n)},attributes:{alt:String,src:Zt,srcset:String,crossOrigin:Au,useMap:String,isMap:Boolean,sizes:String,height:{type:"unsigned long",default:0},width:{type:"unsigned long",default:0},referrerPolicy:wa,loading:{type:["eager","lazy"],missing:""},name:String,lowsrc:Zt,align:String,hspace:{type:"unsigned long",default:0},vspace:{type:"unsigned long",default:0},longDesc:Zt,border:{type:String,treatNullAsEmptyString:!0}}});pe({tag:"input",name:"HTMLInputElement",ctor:function(t,r,n){Rn.call(this,t,r,n)},props:{form:Ln.form,_post_click_activation_steps:{value:function(e){if(this.type==="checkbox")this.checked=!this.checked;else if(this.type==="radio")for(var t=this.form.getElementsByName(this.name),r=t.length-1;r>=0;r--){var n=t[r];n.checked=n===this}}}},attributes:{name:String,disabled:Boolean,autofocus:Boolean,accept:String,alt:String,max:String,min:String,pattern:String,placeholder:String,step:String,dirName:String,defaultValue:{name:"value"},multiple:Boolean,required:Boolean,readOnly:Boolean,checked:Boolean,value:String,src:Zt,defaultChecked:{name:"checked",type:Boolean},size:{type:"unsigned long",default:20,min:1,setmin:1},width:{type:"unsigned long",min:0,setmin:0,default:0},height:{type:"unsigned long",min:0,setmin:0,default:0},minLength:{type:"unsigned long",min:0,setmin:0,default:-1},maxLength:{type:"unsigned long",min:0,setmin:0,default:-1},autocomplete:String,type:{type:["text","hidden","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"],missing:"text"},formTarget:String,formNoValidate:Boolean,formMethod:{type:["get","post"],invalid:"get",missing:""},formEnctype:{type:["application/x-www-form-urlencoded","multipart/form-data","text/plain"],invalid:"application/x-www-form-urlencoded",missing:""},inputMode:{type:["verbatim","latin","latin-name","latin-prose","full-width-latin","kana","kana-name","katakana","numeric","tel","email","url"],missing:""},align:String,useMap:String}});pe({tag:"keygen",name:"HTMLKeygenElement",ctor:function(t,r,n){Rn.call(this,t,r,n)},props:Ln,attributes:{name:String,disabled:Boolean,autofocus:Boolean,challenge:String,keytype:{type:["rsa"],missing:""}}});pe({tag:"li",name:"HTMLLIElement",ctor:function(t,r,n){be.call(this,t,r,n)},attributes:{value:{type:"long",default:0},type:String}});pe({tag:"label",name:"HTMLLabelElement",ctor:function(t,r,n){Rn.call(this,t,r,n)},props:Ln,attributes:{htmlFor:{name:"for",type:String}}});pe({tag:"legend",name:"HTMLLegendElement",ctor:function(t,r,n){be.call(this,t,r,n)},attributes:{align:String}});pe({tag:"link",name:"HTMLLinkElement",ctor:function(t,r,n){be.call(this,t,r,n)},attributes:{href:Zt,rel:String,media:String,hreflang:String,type:String,crossOrigin:Au,nonce:String,integrity:String,referrerPolicy:wa,imageSizes:String,imageSrcset:String,charset:String,rev:String,target:String}});pe({tag:"map",name:"HTMLMapElement",ctor:function(t,r,n){be.call(this,t,r,n)},attributes:{name:String}});pe({tag:"menu",name:"HTMLMenuElement",ctor:function(t,r,n){be.call(this,t,r,n)},attributes:{type:{type:["context","popup","toolbar"],missing:"toolbar"},label:String,compact:Boolean}});pe({tag:"meta",name:"HTMLMetaElement",ctor:function(t,r,n){be.call(this,t,r,n)},attributes:{name:String,content:String,httpEquiv:{name:"http-equiv",type:String},scheme:String}});pe({tag:"meter",name:"HTMLMeterElement",ctor:function(t,r,n){Rn.call(this,t,r,n)},props:Ln});pe({tags:["ins","del"],name:"HTMLModElement",ctor:function(t,r,n){be.call(this,t,r,n)},attributes:{cite:Zt,dateTime:String}});pe({tag:"ol",name:"HTMLOListElement",ctor:function(t,r,n){be.call(this,t,r,n)},props:{_numitems:{get:function(){var e=0;return this.childNodes.forEach(function(t){t.nodeType===nh.ELEMENT_NODE&&t.tagName==="LI"&&e++}),e}}},attributes:{type:String,reversed:Boolean,start:{type:"long",default:function(){return this.reversed?this._numitems:1}},compact:Boolean}});pe({tag:"object",name:"HTMLObjectElement",ctor:function(t,r,n){Rn.call(this,t,r,n)},props:Ln,attributes:{data:Zt,type:String,name:String,useMap:String,typeMustMatch:Boolean,width:String,height:String,align:String,archive:String,code:String,declare:Boolean,hspace:{type:"unsigned long",default:0},standby:String,vspace:{type:"unsigned long",default:0},codeBase:Zt,codeType:String,border:{type:String,treatNullAsEmptyString:!0}}});pe({tag:"optgroup",name:"HTMLOptGroupElement",ctor:function(t,r,n){be.call(this,t,r,n)},attributes:{disabled:Boolean,label:String}});pe({tag:"option",name:"HTMLOptionElement",ctor:function(t,r,n){be.call(this,t,r,n)},props:{form:{get:function(){for(var e=this.parentNode;e&&e.nodeType===nh.ELEMENT_NODE;){if(e.localName==="select")return e.form;e=e.parentNode}}},value:{get:function(){return this._getattr("value")||this.text},set:function(e){this._setattr("value",e)}},text:{get:function(){return this.textContent.replace(/[ \t\n\f\r]+/g," ").trim()},set:function(e){this.textContent=e}}},attributes:{disabled:Boolean,defaultSelected:{name:"selected",type:Boolean},label:String}});pe({tag:"output",name:"HTMLOutputElement",ctor:function(t,r,n){Rn.call(this,t,r,n)},props:Ln,attributes:{name:String}});pe({tag:"p",name:"HTMLParagraphElement",ctor:function(t,r,n){be.call(this,t,r,n)},attributes:{align:String}});pe({tag:"param",name:"HTMLParamElement",ctor:function(t,r,n){be.call(this,t,r,n)},attributes:{name:String,value:String,type:String,valueType:String}});pe({tags:["pre","listing","xmp"],name:"HTMLPreElement",ctor:function(t,r,n){be.call(this,t,r,n)},attributes:{width:{type:"long",default:0}}});pe({tag:"progress",name:"HTMLProgressElement",ctor:function(t,r,n){Rn.call(this,t,r,n)},props:Ln,attributes:{max:{type:Number,float:!0,default:1,min:0}}});pe({tags:["q","blockquote"],name:"HTMLQuoteElement",ctor:function(t,r,n){be.call(this,t,r,n)},attributes:{cite:Zt}});pe({tag:"script",name:"HTMLScriptElement",ctor:function(t,r,n){be.call(this,t,r,n)},props:{text:{get:function(){for(var e="",t=0,r=this.childNodes.length;t<r;t++){var n=this.childNodes[t];n.nodeType===nh.TEXT_NODE&&(e+=n._data)}return e},set:function(e){this.removeChildren(),e!==null&&e!==""&&this.appendChild(this.ownerDocument.createTextNode(e))}}},attributes:{src:Zt,type:String,charset:String,referrerPolicy:wa,defer:Boolean,async:Boolean,nomodule:Boolean,crossOrigin:Au,nonce:String,integrity:String}});pe({tag:"select",name:"HTMLSelectElement",ctor:function(t,r,n){Rn.call(this,t,r,n)},props:{form:Ln.form,options:{get:function(){return this.getElementsByTagName("option")}}},attributes:{autocomplete:String,name:String,disabled:Boolean,autofocus:Boolean,multiple:Boolean,required:Boolean,size:{type:"unsigned long",default:0}}});pe({tag:"span",name:"HTMLSpanElement",ctor:function(t,r,n){be.call(this,t,r,n)}});pe({tag:"style",name:"HTMLStyleElement",ctor:function(t,r,n){be.call(this,t,r,n)},attributes:{media:String,type:String,scoped:Boolean}});pe({tag:"caption",name:"HTMLTableCaptionElement",ctor:function(t,r,n){be.call(this,t,r,n)},attributes:{align:String}});pe({name:"HTMLTableCellElement",ctor:function(t,r,n){be.call(this,t,r,n)},attributes:{colSpan:{type:"unsigned long",default:1},rowSpan:{type:"unsigned long",default:1},scope:{type:["row","col","rowgroup","colgroup"],missing:""},abbr:String,align:String,axis:String,height:String,width:String,ch:{name:"char",type:String},chOff:{name:"charoff",type:String},noWrap:Boolean,vAlign:String,bgColor:{type:String,treatNullAsEmptyString:!0}}});pe({tags:["col","colgroup"],name:"HTMLTableColElement",ctor:function(t,r,n){be.call(this,t,r,n)},attributes:{span:{type:"limited unsigned long with fallback",default:1,min:1},align:String,ch:{name:"char",type:String},chOff:{name:"charoff",type:String},vAlign:String,width:String}});pe({tag:"table",name:"HTMLTableElement",ctor:function(t,r,n){be.call(this,t,r,n)},props:{rows:{get:function(){return this.getElementsByTagName("tr")}}},attributes:{align:String,border:String,frame:String,rules:String,summary:String,width:String,bgColor:{type:String,treatNullAsEmptyString:!0},cellPadding:{type:String,treatNullAsEmptyString:!0},cellSpacing:{type:String,treatNullAsEmptyString:!0}}});pe({tag:"template",name:"HTMLTemplateElement",ctor:function(t,r,n){be.call(this,t,r,n),this._contentFragment=t._templateDoc.createDocumentFragment()},props:{content:{get:function(){return this._contentFragment}},serialize:{value:function(){return this.content.serialize()}}}});pe({tag:"tr",name:"HTMLTableRowElement",ctor:function(t,r,n){be.call(this,t,r,n)},props:{cells:{get:function(){return this.querySelectorAll("td,th")}}},attributes:{align:String,ch:{name:"char",type:String},chOff:{name:"charoff",type:String},vAlign:String,bgColor:{type:String,treatNullAsEmptyString:!0}}});pe({tags:["thead","tfoot","tbody"],name:"HTMLTableSectionElement",ctor:function(t,r,n){be.call(this,t,r,n)},props:{rows:{get:function(){return this.getElementsByTagName("tr")}}},attributes:{align:String,ch:{name:"char",type:String},chOff:{name:"charoff",type:String},vAlign:String}});pe({tag:"textarea",name:"HTMLTextAreaElement",ctor:function(t,r,n){Rn.call(this,t,r,n)},props:{form:Ln.form,type:{get:function(){return"textarea"}},defaultValue:{get:function(){return this.textContent},set:function(e){this.textContent=e}},value:{get:function(){return this.defaultValue},set:function(e){this.defaultValue=e}},textLength:{get:function(){return this.value.length}}},attributes:{autocomplete:String,name:String,disabled:Boolean,autofocus:Boolean,placeholder:String,wrap:String,dirName:String,required:Boolean,readOnly:Boolean,rows:{type:"limited unsigned long with fallback",default:2},cols:{type:"limited unsigned long with fallback",default:20},maxLength:{type:"unsigned long",min:0,setmin:0,default:-1},minLength:{type:"unsigned long",min:0,setmin:0,default:-1},inputMode:{type:["verbatim","latin","latin-name","latin-prose","full-width-latin","kana","kana-name","katakana","numeric","tel","email","url"],missing:""}}});pe({tag:"time",name:"HTMLTimeElement",ctor:function(t,r,n){be.call(this,t,r,n)},attributes:{dateTime:String,pubDate:Boolean}});pe({tag:"title",name:"HTMLTitleElement",ctor:function(t,r,n){be.call(this,t,r,n)},props:{text:{get:function(){return this.textContent}}}});pe({tag:"ul",name:"HTMLUListElement",ctor:function(t,r,n){be.call(this,t,r,n)},attributes:{type:String,compact:Boolean}});pe({name:"HTMLMediaElement",ctor:function(t,r,n){be.call(this,t,r,n)},attributes:{src:Zt,crossOrigin:Au,preload:{type:["metadata","none","auto",{value:"",alias:"auto"}],missing:"auto"},loop:Boolean,autoplay:Boolean,mediaGroup:String,controls:Boolean,defaultMuted:{name:"muted",type:Boolean}}});pe({name:"HTMLAudioElement",tag:"audio",superclass:Ci.HTMLMediaElement,ctor:function(t,r,n){Ci.HTMLMediaElement.call(this,t,r,n)}});pe({name:"HTMLVideoElement",tag:"video",superclass:Ci.HTMLMediaElement,ctor:function(t,r,n){Ci.HTMLMediaElement.call(this,t,r,n)},attributes:{poster:Zt,width:{type:"unsigned long",min:0,default:0},height:{type:"unsigned long",min:0,default:0}}});pe({tag:"td",name:"HTMLTableDataCellElement",superclass:Ci.HTMLTableCellElement,ctor:function(t,r,n){Ci.HTMLTableCellElement.call(this,t,r,n)}});pe({tag:"th",name:"HTMLTableHeaderCellElement",superclass:Ci.HTMLTableCellElement,ctor:function(t,r,n){Ci.HTMLTableCellElement.call(this,t,r,n)}});pe({tag:"frameset",name:"HTMLFrameSetElement",ctor:function(t,r,n){be.call(this,t,r,n)}});pe({tag:"frame",name:"HTMLFrameElement",ctor:function(t,r,n){be.call(this,t,r,n)}});pe({tag:"canvas",name:"HTMLCanvasElement",ctor:function(t,r,n){be.call(this,t,r,n)},props:{getContext:{value:tn.nyi},probablySupportsContext:{value:tn.nyi},setContext:{value:tn.nyi},transferControlToProxy:{value:tn.nyi},toDataURL:{value:tn.nyi},toBlob:{value:tn.nyi}},attributes:{width:{type:"unsigned long",default:300},height:{type:"unsigned long",default:150}}});pe({tag:"dialog",name:"HTMLDialogElement",ctor:function(t,r,n){be.call(this,t,r,n)},props:{show:{value:tn.nyi},showModal:{value:tn.nyi},close:{value:tn.nyi}},attributes:{open:Boolean,returnValue:String}});pe({tag:"menuitem",name:"HTMLMenuItemElement",ctor:function(t,r,n){be.call(this,t,r,n)},props:{_label:{get:function(){var e=this._getattr("label");return e!==null&&e!==""?e:(e=this.textContent,e.replace(/[ \t\n\f\r]+/g," ").trim())}},label:{get:function(){var e=this._getattr("label");return e!==null?e:this._label},set:function(e){this._setattr("label",e)}}},attributes:{type:{type:["command","checkbox","radio"],missing:"command"},icon:Zt,disabled:Boolean,checked:Boolean,radiogroup:String,default:Boolean}});pe({tag:"source",name:"HTMLSourceElement",ctor:function(t,r,n){be.call(this,t,r,n)},attributes:{srcset:String,sizes:String,media:String,src:Zt,type:String,width:String,height:String}});pe({tag:"track",name:"HTMLTrackElement",ctor:function(t,r,n){be.call(this,t,r,n)},attributes:{src:Zt,srclang:String,label:String,default:Boolean,kind:{type:["subtitles","captions","descriptions","chapters","metadata"],missing:"subtitles",invalid:"metadata"}},props:{NONE:{get:function(){return 0}},LOADING:{get:function(){return 1}},LOADED:{get:function(){return 2}},ERROR:{get:function(){return 3}},readyState:{get:tn.nyi},track:{get:tn.nyi}}});pe({tag:"font",name:"HTMLFontElement",ctor:function(t,r,n){be.call(this,t,r,n)},attributes:{color:{type:String,treatNullAsEmptyString:!0},face:{type:String},size:{type:String}}});pe({tag:"dir",name:"HTMLDirectoryElement",ctor:function(t,r,n){be.call(this,t,r,n)},attributes:{compact:Boolean}});pe({tags:["abbr","address","article","aside","b","bdi","bdo","cite","content","code","dd","dfn","dt","em","figcaption","figure","footer","header","hgroup","i","kbd","main","mark","nav","noscript","rb","rp","rt","rtc","ruby","s","samp","section","small","strong","sub","summary","sup","u","var","wbr","acronym","basefont","big","center","nobr","noembed","noframes","plaintext","strike","tt"]})});var ah=Ae(Nu=>{"use strict";var ux=xa(),kT=rh(),NT=Vt(),TT=Su(),OT=Nu.elements={},cx=Object.create(null);Nu.createElement=function(e,t,r){var n=cx[t]||sh;return new n(e,t,r)};function ih(e){return kT(e,sh,OT,cx)}var sh=ih({superclass:ux,name:"SVGElement",ctor:function(t,r,n){ux.call(this,t,r,NT.NAMESPACE.SVG,n)},props:{style:{get:function(){return this._style||(this._style=new TT(this)),this._style}}}});ih({name:"SVGSVGElement",ctor:function(t,r,n){sh.call(this,t,r,n)},tag:"svg",props:{createSVGRect:{value:function(){return Nu.createElement(this.ownerDocument,"rect",null)}}}});ih({tags:["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","hkern","image","line","linearGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"]})});var fx=Ae((QG,px)=>{"use strict";px.exports={VALUE:1,ATTR:2,REMOVE_ATTR:3,REMOVE:4,MOVE:5,INSERT:6}});var Ou=Ae((YG,Ex)=>{"use strict";Ex.exports=Ho;var _r=vr(),_T=As(),yx=pu(),es=xa(),IT=Bf(),DT=zf(),qo=ca(),$T=Hf(),RT=jf(),LT=Wo(),MT=F2(),PT=W2(),hx=Bo(),dx=Eu(),mx=gu(),FT=eh(),Tu=fu(),oh=ku(),BT=ah(),ot=Vt(),va=fx(),Sa=ot.NAMESPACE,lh=lu().isApiWritable;function Ho(e,t){yx.call(this),this.nodeType=_r.DOCUMENT_NODE,this.isHTML=e,this._address=t||"about:blank",this.readyState="loading",this.implementation=new LT(this),this.ownerDocument=null,this._contentType=e?"text/html":"application/xml",this.doctype=null,this.documentElement=null,this._templateDocCache=null,this._nodeIterators=null,this._nid=1,this._nextnid=2,this._nodes=[null,this],this.byId=Object.create(null),this.modclock=0}var UT={event:"Event",customevent:"CustomEvent",uievent:"UIEvent",mouseevent:"MouseEvent"},zT={events:"event",htmlevents:"event",mouseevents:"mouseevent",mutationevents:"mutationevent",uievents:"uievent"},Ea=function(e,t,r){return{get:function(){var n=e.call(this);return n?n[t]:r},set:function(n){var i=e.call(this);i&&(i[t]=n)}}};function gx(e,t){var r,n,i;return e===""&&(e=null),Tu.isValidQName(t)||ot.InvalidCharacterError(),r=null,n=t,i=t.indexOf(":"),i>=0&&(r=t.substring(0,i),n=t.substring(i+1)),r!==null&&e===null&&ot.NamespaceError(),r==="xml"&&e!==Sa.XML&&ot.NamespaceError(),(r==="xmlns"||t==="xmlns")&&e!==Sa.XMLNS&&ot.NamespaceError(),e===Sa.XMLNS&&!(r==="xmlns"||t==="xmlns")&&ot.NamespaceError(),{namespace:e,prefix:r,localName:n}}Ho.prototype=Object.create(yx.prototype,{_setMutationHandler:{value:function(e){this.mutationHandler=e}},_dispatchRendererEvent:{value:function(e,t,r){var n=this._nodes[e];n&&n._dispatchEvent(new qo(t,r),!0)}},nodeName:{value:"#document"},nodeValue:{get:function(){return null},set:function(){}},documentURI:{get:function(){return this._address},set:ot.nyi},compatMode:{get:function(){return this._quirks?"BackCompat":"CSS1Compat"}},createTextNode:{value:function(e){return new IT(this,String(e))}},createComment:{value:function(e){return new DT(this,e)}},createDocumentFragment:{value:function(){return new $T(this)}},createProcessingInstruction:{value:function(e,t){return(!Tu.isValidName(e)||t.indexOf("?>")!==-1)&&ot.InvalidCharacterError(),new RT(this,e,t)}},createAttribute:{value:function(e){return e=String(e),Tu.isValidName(e)||ot.InvalidCharacterError(),this.isHTML&&(e=ot.toASCIILowerCase(e)),new es._Attr(null,e,null,null,"")}},createAttributeNS:{value:function(e,t){e=e==null||e===""?null:String(e),t=String(t);var r=gx(e,t);return new es._Attr(null,r.localName,r.prefix,r.namespace,"")}},createElement:{value:function(e){return e=String(e),Tu.isValidName(e)||ot.InvalidCharacterError(),this.isHTML?(/[A-Z]/.test(e)&&(e=ot.toASCIILowerCase(e)),oh.createElement(this,e,null)):this.contentType==="application/xhtml+xml"?oh.createElement(this,e,null):new es(this,e,null,null)},writable:lh},createElementNS:{value:function(e,t){e=e==null||e===""?null:String(e),t=String(t);var r=gx(e,t);return this._createElementNS(r.localName,r.namespace,r.prefix)},writable:lh},_createElementNS:{value:function(e,t,r){return t===Sa.HTML?oh.createElement(this,e,r):t===Sa.SVG?BT.createElement(this,e,r):new es(this,e,t,r)}},createEvent:{value:function(t){t=t.toLowerCase();var r=zT[t]||t,n=FT[UT[r]];if(n){var i=new n;return i._initialized=!1,i}else ot.NotSupportedError()}},createTreeWalker:{value:function(e,t,r){if(!e)throw new TypeError("root argument is required");if(!(e instanceof _r))throw new TypeError("root not a node");return t=t===void 0?hx.SHOW_ALL:+t,r=r===void 0?null:r,new MT(e,t,r)}},createNodeIterator:{value:function(e,t,r){if(!e)throw new TypeError("root argument is required");if(!(e instanceof _r))throw new TypeError("root not a node");return t=t===void 0?hx.SHOW_ALL:+t,r=r===void 0?null:r,new PT(e,t,r)}},_attachNodeIterator:{value:function(e){this._nodeIterators||(this._nodeIterators=[]),this._nodeIterators.push(e)}},_detachNodeIterator:{value:function(e){var t=this._nodeIterators.indexOf(e);this._nodeIterators.splice(t,1)}},_preremoveNodeIterators:{value:function(e){this._nodeIterators&&this._nodeIterators.forEach(function(t){t._preremove(e)})}},_updateDocTypeElement:{value:function(){this.doctype=this.documentElement=null;for(var t=this.firstChild;t!==null;t=t.nextSibling)t.nodeType===_r.DOCUMENT_TYPE_NODE?this.doctype=t:t.nodeType===_r.ELEMENT_NODE&&(this.documentElement=t)}},insertBefore:{value:function(t,r){return _r.prototype.insertBefore.call(this,t,r),this._updateDocTypeElement(),t}},replaceChild:{value:function(t,r){return _r.prototype.replaceChild.call(this,t,r),this._updateDocTypeElement(),r}},removeChild:{value:function(t){return _r.prototype.removeChild.call(this,t),this._updateDocTypeElement(),t}},getElementById:{value:function(e){var t=this.byId[e];return t?t instanceof ki?t.getFirst():t:null}},_hasMultipleElementsWithId:{value:function(e){return this.byId[e]instanceof ki}},getElementsByName:{value:es.prototype.getElementsByName},getElementsByTagName:{value:es.prototype.getElementsByTagName},getElementsByTagNameNS:{value:es.prototype.getElementsByTagNameNS},getElementsByClassName:{value:es.prototype.getElementsByClassName},adoptNode:{value:function(t){return t.nodeType===_r.DOCUMENT_NODE&&ot.NotSupportedError(),t.nodeType===_r.ATTRIBUTE_NODE||(t.parentNode&&t.parentNode.removeChild(t),t.ownerDocument!==this&&vx(t,this)),t}},importNode:{value:function(t,r){return this.adoptNode(t.cloneNode(r))},writable:lh},origin:{get:function(){return null}},characterSet:{get:function(){return"UTF-8"}},contentType:{get:function(){return this._contentType}},URL:{get:function(){return this._address}},domain:{get:ot.nyi,set:ot.nyi},referrer:{get:ot.nyi},cookie:{get:ot.nyi,set:ot.nyi},lastModified:{get:ot.nyi},location:{get:function(){return this.defaultView?this.defaultView.location:null},set:ot.nyi},_titleElement:{get:function(){return this.getElementsByTagName("title").item(0)||null}},title:{get:function(){var e=this._titleElement,t=e?e.textContent:"";return t.replace(/[ \t\n\r\f]+/g," ").replace(/(^ )|( $)/g,"")},set:function(e){var t=this._titleElement,r=this.head;!t&&!r||(t||(t=this.createElement("title"),r.appendChild(t)),t.textContent=e)}},dir:Ea(function(){var e=this.documentElement;if(e&&e.tagName==="HTML")return e},"dir",""),fgColor:Ea(function(){return this.body},"text",""),linkColor:Ea(function(){return this.body},"link",""),vlinkColor:Ea(function(){return this.body},"vLink",""),alinkColor:Ea(function(){return this.body},"aLink",""),bgColor:Ea(function(){return this.body},"bgColor",""),charset:{get:function(){return this.characterSet}},inputEncoding:{get:function(){return this.characterSet}},scrollingElement:{get:function(){return this._quirks?this.body:this.documentElement}},body:{get:function(){return xx(this.documentElement,"body")},set:ot.nyi},head:{get:function(){return xx(this.documentElement,"head")}},images:{get:ot.nyi},embeds:{get:ot.nyi},plugins:{get:ot.nyi},links:{get:ot.nyi},forms:{get:ot.nyi},scripts:{get:ot.nyi},applets:{get:function(){return[]}},activeElement:{get:function(){return null}},innerHTML:{get:function(){return this.serialize()},set:ot.nyi},outerHTML:{get:function(){return this.serialize()},set:ot.nyi},write:{value:function(e){if(this.isHTML||ot.InvalidStateError(),!!this._parser){this._parser;var t=arguments.join("");this._parser.parse(t)}}},writeln:{value:function(t){this.write(Array.prototype.join.call(arguments,"")+`
@@ -1,7 +1,7 @@
1
- /*! rnx v0.1.367 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.368 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  import { createRequire as __sootsimCreateRequire } from 'node:module'
3
3
  var require = __sootsimCreateRequire(import.meta.url)
4
- import{m as O}from"./chunk-WI5V4TYG.js";import"./chunk-GMLOCV3E.js";import{t as E,v as F,x as N}from"./chunk-XWUTJLBM.js";import"./chunk-VANZFTUE.js";import{r as S}from"./chunk-3VBVEDDA.js";import"./chunk-G5IUIGGC.js";import{createHash as I,randomUUID as q}from"node:crypto";import{createReadStream as D}from"node:fs";import m from"node:fs/promises";import f from"node:path";var T="/__camera-fixtures/",J=new Set([".m4v",".mov",".mp4",".webm"]);function _(){console.log(`
4
+ import{m as O}from"./chunk-RRALQ4WM.js";import"./chunk-M7COA4BE.js";import{t as E,v as F,x as N}from"./chunk-T2MGLXY5.js";import"./chunk-LPAOOJIW.js";import{r as S}from"./chunk-E6XYIIJK.js";import"./chunk-Q65KH25G.js";import{createHash as I,randomUUID as q}from"node:crypto";import{createReadStream as D}from"node:fs";import m from"node:fs/promises";import f from"node:path";var T="/__camera-fixtures/",J=new Set([".m4v",".mov",".mp4",".webm"]);function _(){console.log(`
5
5
  rnx camera \u2014 control the simulator camera source
6
6
 
7
7
  usage: