@uptimizr/dashboard 0.4.4 → 0.4.6

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 (347) hide show
  1. package/out/404.html +1 -1
  2. package/out/__next.__PAGE__.txt +4 -4
  3. package/out/__next._full.txt +11 -11
  4. package/out/__next._head.txt +4 -4
  5. package/out/__next._index.txt +4 -4
  6. package/out/__next._tree.txt +2 -2
  7. package/out/_next/static/chunks/{2o8k8x5zcepfy.js → 0-k4hp87gwues.js} +1 -1
  8. package/out/_next/static/chunks/{0s84ekz_f9ngx.js → 0-laj-bivzp4x.js} +1 -1
  9. package/out/_next/static/chunks/{3tdzweqszru4y.js → 04zj0yf1qhk1o.js} +1 -1
  10. package/out/_next/static/chunks/05s0t-besbvu1.css +3 -0
  11. package/out/_next/static/chunks/{1e_-_7biavwmb.js → 06fbalmyyfpsy.js} +1 -1
  12. package/out/_next/static/chunks/{3yr66ufoli71t.js → 07hgbbqksqd1g.js} +1 -1
  13. package/out/_next/static/chunks/08ou2nvy48e0u.js +1 -0
  14. package/out/_next/static/chunks/08y5-irjbsiy8.js +1 -0
  15. package/out/_next/static/chunks/{2pbgsq7vvtk8_.js → 0_jrfk2u1u3fi.js} +1 -1
  16. package/out/_next/static/chunks/{1-4v8oivkgnyl.js → 0a475u_q5i_dd.js} +2 -2
  17. package/out/_next/static/chunks/0aad2r4s4wl1x.js +5 -0
  18. package/out/_next/static/chunks/{2rjfrjhp4kjev.js → 0cmyc-uvk93kl.js} +52 -52
  19. package/out/_next/static/chunks/{1ozi46t8jajqh.js → 0d9pxx1w_zqr9.js} +1 -1
  20. package/out/_next/static/chunks/{3-x7522okdy-7.js → 0e5dcxmkprebg.js} +1 -1
  21. package/out/_next/static/chunks/{1n_gxvu31aofy.js → 0gk5rnci1hznh.js} +2 -2
  22. package/out/_next/static/chunks/0gnjtwq-474uc.js +1 -0
  23. package/out/_next/static/chunks/0gsh_d0m5xss1.js +1 -0
  24. package/out/_next/static/chunks/0i9wa8hjd-5tc.js +1 -0
  25. package/out/_next/static/chunks/0ibzpjo0h731v.js +1 -0
  26. package/out/_next/static/chunks/{41yy4p3-rtyz1.js → 0j0a0wvmmghxj.js} +1 -1
  27. package/out/_next/static/chunks/{29gv2swsp7tzu.js → 0j2ygtc_-bo3m.js} +1 -1
  28. package/out/_next/static/chunks/{0dck67in84de0.js → 0j_3k5qhv_mdx.js} +1 -1
  29. package/out/_next/static/chunks/0jap7l5-bskj4.js +114 -0
  30. package/out/_next/static/chunks/{0n92hec_jb_-_.js → 0jis2w2mfx062.js} +1 -1
  31. package/out/_next/static/chunks/0jjvp2slpf7d6.js +1 -0
  32. package/out/_next/static/chunks/0ko10wo4rc9-b.js +1 -0
  33. package/out/_next/static/chunks/0lqmvz6k2h_of.js +1 -0
  34. package/out/_next/static/chunks/0lwjmr8efrlbt.js +17 -0
  35. package/out/_next/static/chunks/0noxyupihh8dk.js +1 -0
  36. package/out/_next/static/chunks/{2-hdejef-mpka.js → 0o0qtv35dqv3i.js} +219 -16
  37. package/out/_next/static/chunks/{43hwl25uke0l_.js → 0o1vph7x9shzu.js} +1 -1
  38. package/out/_next/static/chunks/{1tt1bbry-4f-6.js → 0o73w0cn5n_vl.js} +1 -1
  39. package/out/_next/static/chunks/0p6phe9kjlxn8.js +1 -0
  40. package/out/_next/static/chunks/0ptxb9dcwsw3o.js +1 -0
  41. package/out/_next/static/chunks/{31ei992g8gqz9.js → 0q0i4pdyq66gb.js} +1 -1
  42. package/out/_next/static/chunks/0q8pt8fd0ma30.js +1 -0
  43. package/out/_next/static/chunks/0qqx9aoz8l5d2.js +1 -0
  44. package/out/_next/static/chunks/0r-x702_jvhud.js +112 -0
  45. package/out/_next/static/chunks/{2h5nvlgky7fpa.js → 0rykrf_vofbad.js} +1 -1
  46. package/out/_next/static/chunks/0tsk32q-88t_7.js +1 -0
  47. package/out/_next/static/chunks/0u7577db_ivyr.js +1 -0
  48. package/out/_next/static/chunks/0unnrt0un064x.js +1 -0
  49. package/out/_next/static/chunks/{3mvaub8qjdyuc.js → 0uygtr4mo3h0v.js} +1 -1
  50. package/out/_next/static/chunks/0vf3facit951s.js +1 -0
  51. package/out/_next/static/chunks/{2pcdnd4nzcw4c.js → 0vzo-8t8c26k9.js} +1 -1
  52. package/out/_next/static/chunks/0xx7_7y5jdlh4.js +1 -0
  53. package/out/_next/static/chunks/0xyija62b6txc.js +1 -0
  54. package/out/_next/static/chunks/{0vso09vdz38sr.js → 0xzamrecplwzw.js} +1 -1
  55. package/out/_next/static/chunks/{2khh_pmm224k5.js → 0yd4_xh476fjn.js} +14 -217
  56. package/out/_next/static/chunks/0ypejzd74ixbw.js +338 -0
  57. package/out/_next/static/chunks/0zeb37703zcz3.js +1 -0
  58. package/out/_next/static/chunks/0zu5ato7-1-q9.js +1 -0
  59. package/out/_next/static/chunks/0zydv7y47dxgh.js +1 -0
  60. package/out/_next/static/chunks/103x4jwovb6d-.js +1 -0
  61. package/out/_next/static/chunks/107wfq84g9-kn.js +1 -0
  62. package/out/_next/static/chunks/10afagk8yn__n.js +1 -0
  63. package/out/_next/static/chunks/12ory_c78yl31.js +1 -0
  64. package/out/_next/static/chunks/{1ccn725by19i1.js → 133dqp8_7_yo6.js} +1 -1
  65. package/out/_next/static/chunks/1365lgwdd4vuo.js +1 -0
  66. package/out/_next/static/chunks/146ou-ohb_qhs.js +1 -0
  67. package/out/_next/static/chunks/{425epvuw3yy-n.js → 14e4k-718qadd.js} +31 -31
  68. package/out/_next/static/chunks/14orr68xgdykd.js +1 -0
  69. package/out/_next/static/chunks/15qfoj-vl9thu.js +1 -0
  70. package/out/_next/static/chunks/{0okbyggxe6mx5.js → 161yjxmdz9obc.js} +1 -1
  71. package/out/_next/static/chunks/166yqx3_qvbpy.js +1 -0
  72. package/out/_next/static/chunks/16gwjao676ieb.js +1 -0
  73. package/out/_next/static/chunks/{0n-zml1gn0o1u.js → 16rmmzhy2p7bw.js} +1 -1
  74. package/out/_next/static/chunks/{442e2l3jzxd-_.js → 17_jjyx4jz9dd.js} +1 -1
  75. package/out/_next/static/chunks/{0zf26k6juhlzo.js → 184pz6z3dflfm.js} +13 -10
  76. package/out/_next/static/chunks/18h9ugdz6igdb.js +1 -0
  77. package/out/_next/static/chunks/19d8n5t7ka2fb.js +1 -0
  78. package/out/_next/static/chunks/{1mvadj46owrck.js → 1_4hh3dfop93j.js} +1 -1
  79. package/out/_next/static/chunks/1_rbzw3n4fk0g.js +1 -0
  80. package/out/_next/static/chunks/{22ja7c3gk0_ko.js → 1a94whad0y57f.js} +1 -1
  81. package/out/_next/static/chunks/{1vmpltnr0cyos.js → 1aa9g197l4twm.js} +1 -1
  82. package/out/_next/static/chunks/1bq0fcnt1wy86.js +1 -0
  83. package/out/_next/static/chunks/{1fyh50hjt7hi_.js → 1bv-jzy_2jiqs.js} +1 -1
  84. package/out/_next/static/chunks/1c6mho7e0enta.js +1 -0
  85. package/out/_next/static/chunks/{2ymtumj-hfrjo.js → 1dfaheve77dhi.js} +1 -1
  86. package/out/_next/static/chunks/1dgf112ehnhm1.js +1 -0
  87. package/out/_next/static/chunks/{32vaw89wdwv5_.js → 1eirucr9s6-h5.js} +1 -1
  88. package/out/_next/static/chunks/{0dva036n8ab62.js → 1f07l3q77zat1.js} +1 -1
  89. package/out/_next/static/chunks/1fervgvgv10r-.js +1 -0
  90. package/out/_next/static/chunks/1fsof7un7igrn.js +1 -0
  91. package/out/_next/static/chunks/{3gyyjsot8mdav.js → 1gvu5a6ffbs7l.js} +1 -1
  92. package/out/_next/static/chunks/{0t89-lfct-7m6.js → 1h1gixjbjkbsl.js} +5 -5
  93. package/out/_next/static/chunks/1iel4pzhhh-c3.js +1 -0
  94. package/out/_next/static/chunks/1iojfx3-g4_n9.js +1 -0
  95. package/out/_next/static/chunks/{1__nujzr9e352.js → 1j4c0nvdo5q68.js} +1 -1
  96. package/out/_next/static/chunks/{1o3ggu95lfu6i.js → 1j4jt5q7px8sy.js} +1 -1
  97. package/out/_next/static/chunks/{2g_1ov-0j2kwd.js → 1jjw9hxgi2vzi.js} +1 -1
  98. package/out/_next/static/chunks/1k_8olnprvi8r.js +1 -0
  99. package/out/_next/static/chunks/1l0rt7d4m-xdk.js +5 -0
  100. package/out/_next/static/chunks/{1oljzgz5jistn.js → 1lu7rjfvxj8yj.js} +1 -1
  101. package/out/_next/static/chunks/{2c2dspoukng-5.js → 1mt4cnd_d6jvf.js} +1 -1
  102. package/out/_next/static/chunks/1my968s78he8g.js +272 -0
  103. package/out/_next/static/chunks/{03zip1uidm6x9.js → 1s0dpdqy480hg.js} +1 -1
  104. package/out/_next/static/chunks/1t-yolk97lmot.js +12 -0
  105. package/out/_next/static/chunks/1t2g1v0ubcsam.js +1 -0
  106. package/out/_next/static/chunks/{18wa83g0qfh-b.js → 1tbes2sv-qzcx.js} +1 -1
  107. package/out/_next/static/chunks/1upy8a5cb75kt.js +1 -0
  108. package/out/_next/static/chunks/{2zpn7010iqgsy.js → 1x0j78ohufpul.js} +1 -1
  109. package/out/_next/static/chunks/1xed71f608m4b.js +1 -0
  110. package/out/_next/static/chunks/1z790xxb46gxy.js +1 -0
  111. package/out/_next/static/chunks/{22rl_arnzs-ve.js → 1zmx71cvc6ksk.js} +1 -1
  112. package/out/_next/static/chunks/{3kalvwsf11-ss.js → 2-_a-v1xeo5hb.js} +15 -12
  113. package/out/_next/static/chunks/2-i29-jdbwww6.js +532 -0
  114. package/out/_next/static/chunks/{1solqr18og2ot.js → 2117sv2qzo6yq.js} +1 -1
  115. package/out/_next/static/chunks/219n3q-_eengm.js +1 -0
  116. package/out/_next/static/chunks/21wo3vdr_uby8.js +1 -0
  117. package/out/_next/static/chunks/{1nqojcig-0m3c.js → 22yht3s7c-xih.js} +1 -1
  118. package/out/_next/static/chunks/{3go-mst7n3udd.js → 23-y1f_zw56vo.js} +1 -1
  119. package/out/_next/static/chunks/{0-tzsd_n-ywom.js → 25brs445bjbik.js} +2 -2
  120. package/out/_next/static/chunks/25gep78-izw79.js +4 -0
  121. package/out/_next/static/chunks/{099ilz3dmm1jw.js → 26i7dn31afdtm.js} +1 -1
  122. package/out/_next/static/chunks/27hbplu797elx.js +1 -0
  123. package/out/_next/static/chunks/{3n-7bcmfbh299.js → 27z7j17kcrty_.js} +11 -11
  124. package/out/_next/static/chunks/{380ivzcfb4o_3.js → 287hakn2ijupp.js} +2 -2
  125. package/out/_next/static/chunks/28i3wgvgn_at1.js +1 -0
  126. package/out/_next/static/chunks/2992eiy52nazj.js +1 -0
  127. package/out/_next/static/chunks/29_n5j-hg_gsa.js +1 -0
  128. package/out/_next/static/chunks/29bxq-67oazfg.js +1 -0
  129. package/out/_next/static/chunks/{309f81l5ucsb_.js → 29hkkj9raxte9.js} +50 -50
  130. package/out/_next/static/chunks/29ings58w7kp1.js +1 -0
  131. package/out/_next/static/chunks/{2e46-2ubc90do.js → 2_6b9lraq-exh.js} +5 -5
  132. package/out/_next/static/chunks/{3w4qettzp7khe.js → 2_lw4d7t-xcqi.js} +32 -32
  133. package/out/_next/static/chunks/2_n0cpkdsjzli.js +1 -0
  134. package/out/_next/static/chunks/2a3iy701j4r_y.js +1 -0
  135. package/out/_next/static/chunks/2al9dh3_1ixhv.js +1 -0
  136. package/out/_next/static/chunks/{1gvdmbr65lpud.js → 2as_br1awqk6k.js} +69 -69
  137. package/out/_next/static/chunks/{0c5d3qn2mb3ew.js → 2awr1c_vfsutb.js} +1 -1
  138. package/out/_next/static/chunks/{2q0rz76kj6h5z.js → 2b5nt7yn-pq3a.js} +1 -1
  139. package/out/_next/static/chunks/2bxe3kjr17tdp.js +1 -0
  140. package/out/_next/static/chunks/{2z9mdtudj8crz.js → 2c8rmxz151fxa.js} +20 -18
  141. package/out/_next/static/chunks/{35aagg46wp139.js → 2clevl_9ayd0x.js} +1 -1
  142. package/out/_next/static/chunks/{41qxc142snm22.js → 2dvbzar93ooc-.js} +1 -1
  143. package/out/_next/static/chunks/2e-vp0e11g9ew.js +1 -0
  144. package/out/_next/static/chunks/{2-p206i_ihx09.js → 2epukrz6paj9n.js} +1 -1
  145. package/out/_next/static/chunks/2exj9-0p6n9x-.js +1 -0
  146. package/out/_next/static/chunks/{05uqfgf-hh-p5.js → 2fspbfbxbswzd.js} +1 -1
  147. package/out/_next/static/chunks/2gf8l6hbmt7v3.js +1 -0
  148. package/out/_next/static/chunks/{1ph0tfo-4hl-f.js → 2h07np207nlx7.js} +1 -1
  149. package/out/_next/static/chunks/{11p92pnn5el0v.js → 2h9i_adbqaxs4.js} +1 -1
  150. package/out/_next/static/chunks/{0bj_310rugcn1.js → 2iu0_3cx-ny74.js} +11 -11
  151. package/out/_next/static/chunks/2jio3sio-_43z.js +1 -0
  152. package/out/_next/static/chunks/{0uxdbfa8gv6tk.js → 2kk_vvmr2xm3d.js} +29 -29
  153. package/out/_next/static/chunks/2kmmk9coo9_b0.js +505 -0
  154. package/out/_next/static/chunks/{055baac5e-c2o.js → 2laz1v9fg2a2z.js} +1 -1
  155. package/out/_next/static/chunks/{1qsut_e3msg0l.js → 2mjjo0yj-4ro4.js} +1 -1
  156. package/out/_next/static/chunks/{0av6n_6q6kzo3.js → 2mrkv0z2i74pv.js} +2 -2
  157. package/out/_next/static/chunks/{04_3ri5emyfcu.js → 2neieeo9g2u56.js} +1 -1
  158. package/out/_next/static/chunks/{1upkv4ltuh3s5.js → 2oacwtbslo90t.js} +84 -84
  159. package/out/_next/static/chunks/2pb_uosb-aa8x.js +1 -0
  160. package/out/_next/static/chunks/2qu-gpm3ux1l6.js +1 -0
  161. package/out/_next/static/chunks/2rsi6v7qmqx2b.js +1 -0
  162. package/out/_next/static/chunks/2s4fzgzkwjluu.js +2 -0
  163. package/out/_next/static/chunks/2tdvuc-27khif.js +1 -0
  164. package/out/_next/static/chunks/{2bm95r0011asw.js → 2trolrgd7neax.js} +1 -1
  165. package/out/_next/static/chunks/2uyuafmoe5wi0.js +3 -0
  166. package/out/_next/static/chunks/2w2e0pxgs-n8f.js +1 -0
  167. package/out/_next/static/chunks/{1qxhgauuomthl.js → 2wgh5i70bzelt.js} +60 -60
  168. package/out/_next/static/chunks/{3d76e_yd8l_0x.js → 2x-7kbwq8tl-o.js} +59 -59
  169. package/out/_next/static/chunks/{1t2exh89lnazc.js → 2xe4bgir5l-9b.js} +32 -99
  170. package/out/_next/static/chunks/2xujlsx3stqig.js +1 -0
  171. package/out/_next/static/chunks/{267q_eg-c6f6m.js → 3-yhe6rcsjh88.js} +1 -1
  172. package/out/_next/static/chunks/30y71dxdpv52d.js +1 -0
  173. package/out/_next/static/chunks/32c-e_v8_2xkf.js +1 -0
  174. package/out/_next/static/chunks/32oj0iudhp8bm.js +1 -0
  175. package/out/_next/static/chunks/{0w-hm7g7trtjg.js → 336ckqpboqmbn.js} +1 -1
  176. package/out/_next/static/chunks/33p9du6y9eegg.js +1 -0
  177. package/out/_next/static/chunks/{3w_umk1xtj6to.js → 36pz_ews7u0xb.js} +1 -1
  178. package/out/_next/static/chunks/{1ux1rpe-n1mai.js → 374lzksboll-t.js} +1 -1
  179. package/out/_next/static/chunks/38om-j0h0rryk.js +1 -0
  180. package/out/_next/static/chunks/{3oyuoqr8y2g9r.js → 38q0enmlg5q9o.js} +2 -2
  181. package/out/_next/static/chunks/{25gf6xn9u1c57.js → 39cou9lia_g7l.js} +1 -1
  182. package/out/_next/static/chunks/39pkya0_bvcaj.js +1 -0
  183. package/out/_next/static/chunks/{1x99m91nt1m3b.js → 39rhmj_32ujyj.js} +1 -1
  184. package/out/_next/static/chunks/3_1zzmx92j9c0.js +1 -0
  185. package/out/_next/static/chunks/{3z4suna4kq4j5.js → 3_dm45k0vk1aa.js} +34 -35
  186. package/out/_next/static/chunks/3_earszshuz4n.js +1 -0
  187. package/out/_next/static/chunks/{1ephzzweysylq.js → 3_gfl66zf638s.js} +38 -105
  188. package/out/_next/static/chunks/3ap_uxc8lx7ni.js +1 -0
  189. package/out/_next/static/chunks/{0pv2wirx45e1m.js → 3b6na8zrex8jo.js} +1 -1
  190. package/out/_next/static/chunks/3c0cxt72vilyz.js +1 -0
  191. package/out/_next/static/chunks/3cp5nmtwxq4gr.js +1 -0
  192. package/out/_next/static/chunks/{0tn-9w46cwydp.js → 3d43gd91r06y6.js} +39 -40
  193. package/out/_next/static/chunks/3g78x0pdaoi_4.js +1 -0
  194. package/out/_next/static/chunks/{1di5enkavl9vx.js → 3gjvl1p-tugfe.js} +2 -2
  195. package/out/_next/static/chunks/{1mrvp94tietcv.js → 3i8iro1gas1vx.js} +1 -1
  196. package/out/_next/static/chunks/{3-_08i4_7yhno.js → 3ioxfi3bvznhh.js} +1 -1
  197. package/out/_next/static/chunks/{2i82rmjta9ijs.js → 3j3ol_d1vsdhx.js} +1 -1
  198. package/out/_next/static/chunks/3kpqfqr99vo7z.js +1 -0
  199. package/out/_next/static/chunks/3lladf_wemm-2.js +1 -0
  200. package/out/_next/static/chunks/{0-0hui1_v3h8b.js → 3mmy9zsb7zo-m.js} +12 -9
  201. package/out/_next/static/chunks/{17aahvhpls1l7.js → 3my05px5mv_s5.js} +83 -16
  202. package/out/_next/static/chunks/3n62hbywoknop.js +1 -0
  203. package/out/_next/static/chunks/{0wq_9f98weoe3.js → 3nr48h9zwum-3.js} +1 -1
  204. package/out/_next/static/chunks/{2x83vs8ns4pww.js → 3nwaovnpiyrt8.js} +1 -1
  205. package/out/_next/static/chunks/3o_dmzpahx-5g.js +1 -0
  206. package/out/_next/static/chunks/{0g2wngc6oe7fd.js → 3p03l0z65c8vc.js} +27 -25
  207. package/out/_next/static/chunks/{00xc-0pj7on2s.js → 3puu2_-t0lln9.js} +29 -29
  208. package/out/_next/static/chunks/{077eo-0dhbxz-.js → 3qo7e6b73mfxq.js} +1 -1
  209. package/out/_next/static/chunks/3r7v7un976sn7.js +1 -0
  210. package/out/_next/static/chunks/{255knovck7pv2.js → 3rj-5v0j_2-_2.js} +4 -4
  211. package/out/_next/static/chunks/3rl_nhqwew40w.js +1 -0
  212. package/out/_next/static/chunks/3s7hqij6xp_4e.js +1 -0
  213. package/out/_next/static/chunks/{1ng-fqh2_n984.js → 3si3migsmvz9o.js} +1 -1
  214. package/out/_next/static/chunks/3t4ys6th6gf2w.js +1 -0
  215. package/out/_next/static/chunks/{1og49_atcksim.js → 3twr9ds68-9us.js} +1 -1
  216. package/out/_next/static/chunks/{2ftp5xmq_w23j.js → 3txu-i5qn183a.js} +65 -65
  217. package/out/_next/static/chunks/{3y_51bmdnc0ey.js → 3uarw1i1ij1er.js} +1 -1
  218. package/out/_next/static/chunks/3un-w6wutw1qn.js +1 -0
  219. package/out/_next/static/chunks/3v8kgnjk27wbe.js +1 -0
  220. package/out/_next/static/chunks/{1t7nl8rx7mabd.js → 3vtmucpx25o7q.js} +61 -61
  221. package/out/_next/static/chunks/{04j9pexbmysdy.js → 3vu5y270muh-7.js} +1 -1
  222. package/out/_next/static/chunks/3we1khqfexh3x.js +1 -0
  223. package/out/_next/static/chunks/3yk0hzfq5rcs6.js +1 -0
  224. package/out/_next/static/chunks/3z35loj4i-id4.js +1 -0
  225. package/out/_next/static/chunks/{28ndw4nsw2t_4.js → 3zv5kyos9vtmm.js} +1 -1
  226. package/out/_next/static/chunks/{1hsvckd0sgdgr.js → 415g3asdds1ac.js} +1 -1
  227. package/out/_next/static/chunks/{1nasz7q3tvb53.js → 42lqt7ig40wk5.js} +1 -1
  228. package/out/_next/static/chunks/42s6ghsurq5q7.js +1 -0
  229. package/out/_next/static/chunks/42yctcfi2rfwr.js +1 -0
  230. package/out/_next/static/chunks/43_fau1gg69eo.js +1 -0
  231. package/out/_next/static/chunks/43ywrdzg_7af8.js +31 -0
  232. package/out/_next/static/chunks/{1ho02fc091nj2.js → 44m1ijc5cv80x.js} +1 -1
  233. package/out/_next/static/chunks/{3k-gz8qf-mj-p.js → 453_bg0lgesmp.js} +1 -1
  234. package/out/_next/static/chunks/{turbopack-3r8yn0j92tqw_.js → turbopack-1s36ieuku1ds3.js} +1 -1
  235. package/out/_not-found/__next._full.txt +9 -9
  236. package/out/_not-found/__next._head.txt +4 -4
  237. package/out/_not-found/__next._index.txt +4 -4
  238. package/out/_not-found/__next._not-found.__PAGE__.txt +2 -2
  239. package/out/_not-found/__next._not-found.txt +3 -3
  240. package/out/_not-found/__next._tree.txt +2 -2
  241. package/out/_not-found.html +1 -1
  242. package/out/_not-found.txt +9 -9
  243. package/out/index.html +1 -1
  244. package/out/index.txt +11 -11
  245. package/package.json +14 -14
  246. package/out/_next/static/chunks/00g5suuoa-_wn.js +0 -1
  247. package/out/_next/static/chunks/00o9hr_3hd0r8.js +0 -1
  248. package/out/_next/static/chunks/01fh3_bncbe5u.js +0 -1
  249. package/out/_next/static/chunks/01urdkl1j8o6l.js +0 -1
  250. package/out/_next/static/chunks/026vw95s88gsy.js +0 -1
  251. package/out/_next/static/chunks/02eui3ctddbd2.js +0 -1
  252. package/out/_next/static/chunks/04c4nksb5y9r-.js +0 -1
  253. package/out/_next/static/chunks/04g-l-_b4payc.js +0 -1
  254. package/out/_next/static/chunks/05bdni_jrobq1.js +0 -1
  255. package/out/_next/static/chunks/05o0tb8l_htmw.js +0 -1
  256. package/out/_next/static/chunks/07z6p262h5hgl.js +0 -1
  257. package/out/_next/static/chunks/08m_4cihfmik8.js +0 -1
  258. package/out/_next/static/chunks/08obqw64faj8j.js +0 -1
  259. package/out/_next/static/chunks/09ppu_k464q-n.js +0 -1
  260. package/out/_next/static/chunks/0bgcaf2x51kms.js +0 -1
  261. package/out/_next/static/chunks/0dg4wxz-6u5lo.js +0 -1
  262. package/out/_next/static/chunks/0erga_bzezbza.js +0 -1
  263. package/out/_next/static/chunks/0f0-i105odxqd.js +0 -1
  264. package/out/_next/static/chunks/0gyeqz9pagssf.js +0 -1
  265. package/out/_next/static/chunks/0i82k-t0fbn8f.js +0 -1
  266. package/out/_next/static/chunks/0kzw45f61wm3j.js +0 -1
  267. package/out/_next/static/chunks/0l8bfa2xewq69.js +0 -1
  268. package/out/_next/static/chunks/0qxd_8t3nca36.js +0 -1
  269. package/out/_next/static/chunks/0s1jghzw8jufz.js +0 -1
  270. package/out/_next/static/chunks/0ti58h622yo-_.js +0 -2
  271. package/out/_next/static/chunks/0u8yr4k1y6m2t.js +0 -1
  272. package/out/_next/static/chunks/0ubxyut5rr600.js +0 -1
  273. package/out/_next/static/chunks/0wbw9h7rsis2r.js +0 -1
  274. package/out/_next/static/chunks/0y4e49hpuucdi.js +0 -1
  275. package/out/_next/static/chunks/0yvevihll7sz-.js +0 -1
  276. package/out/_next/static/chunks/1-b44873bjsdw.js +0 -1
  277. package/out/_next/static/chunks/1-c3a1vnl8v1q.js +0 -1
  278. package/out/_next/static/chunks/1-xf86jgea22y.js +0 -1
  279. package/out/_next/static/chunks/10b0qqdnb_nox.js +0 -1
  280. package/out/_next/static/chunks/12kdmh0h_mboy.js +0 -1
  281. package/out/_next/static/chunks/141tngxsk32hq.js +0 -1
  282. package/out/_next/static/chunks/14ijcpo72av4r.js +0 -1
  283. package/out/_next/static/chunks/16hdip1drt8o-.js +0 -1
  284. package/out/_next/static/chunks/18txc1wwwu9f9.js +0 -1
  285. package/out/_next/static/chunks/19dp8nr4uygg2.js +0 -5
  286. package/out/_next/static/chunks/1_8acnu6_-qe-.js +0 -1
  287. package/out/_next/static/chunks/1bmyq1b0by7ug.js +0 -1
  288. package/out/_next/static/chunks/1d1tpj9nm1nhf.js +0 -1
  289. package/out/_next/static/chunks/1dfwa563iciz3.js +0 -1
  290. package/out/_next/static/chunks/1fwsjnd1y-lx_.js +0 -1
  291. package/out/_next/static/chunks/1gaexq_suxai0.js +0 -1
  292. package/out/_next/static/chunks/1gtj_l5ame5mw.js +0 -1
  293. package/out/_next/static/chunks/1i4f3n_2_3ery.js +0 -1
  294. package/out/_next/static/chunks/1j7e3qpjuj89a.js +0 -1
  295. package/out/_next/static/chunks/1qjsgebn9m-0l.js +0 -1
  296. package/out/_next/static/chunks/1rb8wewjbdisv.js +0 -1
  297. package/out/_next/static/chunks/1rr74xxjtckyv.js +0 -1
  298. package/out/_next/static/chunks/1uu55ejvi7q5u.js +0 -1
  299. package/out/_next/static/chunks/1xbzxfeq9789f.js +0 -1
  300. package/out/_next/static/chunks/1ybiu-rkt50_1.js +0 -1
  301. package/out/_next/static/chunks/20qelrstvz9_n.js +0 -1
  302. package/out/_next/static/chunks/21at65obnoo8z.js +0 -1
  303. package/out/_next/static/chunks/21ko5mxfderw0.js +0 -1
  304. package/out/_next/static/chunks/21muzwu43o8xg.js +0 -1
  305. package/out/_next/static/chunks/23d-hvrwpixpm.js +0 -1
  306. package/out/_next/static/chunks/2569rrrffvm2w.js +0 -31
  307. package/out/_next/static/chunks/29o74k0d6hkdf.js +0 -1
  308. package/out/_next/static/chunks/2btabnibkm0db.js +0 -1
  309. package/out/_next/static/chunks/2c--awgkdcikq.js +0 -1
  310. package/out/_next/static/chunks/2ep7mjbaoeou0.js +0 -1
  311. package/out/_next/static/chunks/2ezgqm7atphi6.js +0 -1
  312. package/out/_next/static/chunks/2gfjzq_vjea4w.js +0 -1
  313. package/out/_next/static/chunks/2h5hase6ewoyc.js +0 -1
  314. package/out/_next/static/chunks/2hghi41nhdww2.css +0 -3
  315. package/out/_next/static/chunks/2ies66gmou203.js +0 -1
  316. package/out/_next/static/chunks/2jenu2eek9viz.js +0 -1
  317. package/out/_next/static/chunks/2luaj_cf5f19-.js +0 -1
  318. package/out/_next/static/chunks/2mgmvz66gh5ub.js +0 -1
  319. package/out/_next/static/chunks/2nwlqtv3vrzcv.js +0 -1
  320. package/out/_next/static/chunks/2si5cg3hl5dtf.js +0 -4
  321. package/out/_next/static/chunks/2uhrhq35bki6u.js +0 -1
  322. package/out/_next/static/chunks/2zdzgmacaoor9.js +0 -1
  323. package/out/_next/static/chunks/2zyjw8g4tiu51.js +0 -1
  324. package/out/_next/static/chunks/3-irhmtm1q5qw.js +0 -1
  325. package/out/_next/static/chunks/3-k74vn9exnb6.js +0 -1
  326. package/out/_next/static/chunks/34845aqksy1dl.js +0 -3
  327. package/out/_next/static/chunks/34y7nx6qmat06.js +0 -1
  328. package/out/_next/static/chunks/36rqw8h6ildpl.js +0 -1
  329. package/out/_next/static/chunks/3a_khw6q6pyh1.js +0 -1
  330. package/out/_next/static/chunks/3c_31f20z4jrl.js +0 -1
  331. package/out/_next/static/chunks/3ckp70rgr63u9.js +0 -1
  332. package/out/_next/static/chunks/3ed24zmt8qfys.js +0 -1
  333. package/out/_next/static/chunks/3ez20hi1mxw0w.js +0 -1
  334. package/out/_next/static/chunks/3fdx-rnos5ft-.js +0 -1
  335. package/out/_next/static/chunks/3fgfbxxb-j_bn.js +0 -4
  336. package/out/_next/static/chunks/3lehc5pujwhsz.js +0 -1
  337. package/out/_next/static/chunks/3m0ytnc241yfz.js +0 -1
  338. package/out/_next/static/chunks/3mpe7c3iyxn5h.js +0 -1
  339. package/out/_next/static/chunks/3nw7u4bie0-g6.js +0 -1
  340. package/out/_next/static/chunks/3qatb38-tk_gd.js +0 -1
  341. package/out/_next/static/chunks/3rpm-1ryf073k.js +0 -1
  342. package/out/_next/static/chunks/3tdcdi_utmoy_.js +0 -1
  343. package/out/_next/static/chunks/3tt_ir_va6262.js +0 -1
  344. package/out/_next/static/chunks/43qmngblcab8f.js +0 -1
  345. /package/out/_next/static/{UgXxCZvX6DcLoCaAHvGbP → 5UjNvd7WCk97iC2cSmEGH}/_buildManifest.js +0 -0
  346. /package/out/_next/static/{UgXxCZvX6DcLoCaAHvGbP → 5UjNvd7WCk97iC2cSmEGH}/_clientMiddlewareManifest.js +0 -0
  347. /package/out/_next/static/{UgXxCZvX6DcLoCaAHvGbP → 5UjNvd7WCk97iC2cSmEGH}/_ssgManifest.js +0 -0
@@ -1,16 +1,16 @@
1
1
  1:"$Sreact.fragment"
2
- 2:I[89788,["/_next/static/chunks/0s1jghzw8jufz.js"],"default"]
3
- 3:I[14405,["/_next/static/chunks/0s1jghzw8jufz.js"],"default"]
4
- 4:I[17419,["/_next/static/chunks/0s1jghzw8jufz.js"],"OutletBoundary"]
2
+ 2:I[89244,["/_next/static/chunks/3c0cxt72vilyz.js"],"default"]
3
+ 3:I[69789,["/_next/static/chunks/3c0cxt72vilyz.js"],"default"]
4
+ 4:I[82682,["/_next/static/chunks/3c0cxt72vilyz.js"],"OutletBoundary"]
5
5
  5:"$Sreact.suspense"
6
- 8:I[17419,["/_next/static/chunks/0s1jghzw8jufz.js"],"ViewportBoundary"]
7
- a:I[17419,["/_next/static/chunks/0s1jghzw8jufz.js"],"MetadataBoundary"]
8
- c:I[56872,["/_next/static/chunks/0s1jghzw8jufz.js"],"default",1]
9
- :HL["/_next/static/chunks/2hghi41nhdww2.css","style"]
10
- 0:{"P":null,"c":["","_not-found"],"q":"","i":false,"f":[[["",{"children":["/_not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/2hghi41nhdww2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0s1jghzw8jufz.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","className":"space_grotesk_59d6dcf5-module__z_Ctiq__variable jetbrains_mono_38c99671-module__5Dhsuq__variable","children":["$","body",null,{"children":["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:style","children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style","children":404}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style","children":["$","h2",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style","children":"This page could not be found."}]}]]}]}]],null,["$","$L4",null,{"children":["$","$5",null,{"name":"Next.MetadataOutlet","children":"$@6"}]}]]}],{},null,false,null]},null,false,"$@7"]},null,false,null],["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L8",null,{"children":"$L9"}],["$","div",null,{"hidden":true,"children":["$","$La",null,{"children":["$","$5",null,{"name":"Next.Metadata","children":"$Lb"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$c",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/2hghi41nhdww2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"UgXxCZvX6DcLoCaAHvGbP"}
6
+ 8:I[82682,["/_next/static/chunks/3c0cxt72vilyz.js"],"ViewportBoundary"]
7
+ a:I[82682,["/_next/static/chunks/3c0cxt72vilyz.js"],"MetadataBoundary"]
8
+ c:I[94493,["/_next/static/chunks/3c0cxt72vilyz.js"],"default",1]
9
+ :HL["/_next/static/chunks/05s0t-besbvu1.css","style"]
10
+ 0:{"P":null,"c":["","_not-found"],"q":"","i":false,"f":[[["",{"children":["/_not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/05s0t-besbvu1.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/3c0cxt72vilyz.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","className":"space_grotesk_59d6dcf5-module__z_Ctiq__variable jetbrains_mono_38c99671-module__5Dhsuq__variable","children":["$","body",null,{"children":["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:style","children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style","children":404}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style","children":["$","h2",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style","children":"This page could not be found."}]}]]}]}]],null,["$","$L4",null,{"children":["$","$5",null,{"name":"Next.MetadataOutlet","children":"$@6"}]}]]}],{},null,false,null]},null,false,"$@7"]},null,false,null],["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L8",null,{"children":"$L9"}],["$","div",null,{"hidden":true,"children":["$","$La",null,{"children":["$","$5",null,{"name":"Next.Metadata","children":"$Lb"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$c",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/05s0t-besbvu1.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"5UjNvd7WCk97iC2cSmEGH"}
11
11
  d:[]
12
12
  7:"$Wd"
13
13
  9:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
14
- e:I[39259,["/_next/static/chunks/0s1jghzw8jufz.js"],"IconMark"]
14
+ e:I[88715,["/_next/static/chunks/3c0cxt72vilyz.js"],"IconMark"]
15
15
  6:null
16
16
  b:[["$","title","0",{"children":"Uptimizr — 3D Scene Analytics"}],["$","meta","1",{"name":"description","content":"Open-source analytics dashboard for 3D scenes."}],["$","link","2",{"rel":"icon","href":"/icon.svg?icon.08h29dad3pcxg.svg","sizes":"any","type":"image/svg+xml"}],["$","$Le","3",{}]]
package/out/index.html CHANGED
@@ -1 +1 @@
1
- <!DOCTYPE html><html lang="en" class="space_grotesk_59d6dcf5-module__z_Ctiq__variable jetbrains_mono_38c99671-module__5Dhsuq__variable"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/_next/static/media/0c89a48fa5027cee-s.p.2cyn07wtgehh0.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/_next/static/media/70bc3e132a0a741e-s.p.3t6q91iet4nsy.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" as="image" href="/logo.svg"/><link rel="stylesheet" href="/_next/static/chunks/2hghi41nhdww2.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/2569rrrffvm2w.js"/><script src="/_next/static/chunks/19dp8nr4uygg2.js" async=""></script><script src="/_next/static/chunks/3mpe7c3iyxn5h.js" async=""></script><script src="/_next/static/chunks/turbopack-3r8yn0j92tqw_.js" async=""></script><script src="/_next/static/chunks/0s1jghzw8jufz.js" async=""></script><script src="/_next/static/chunks/3rpm-1ryf073k.js" async=""></script><script src="/_next/static/chunks/1-4v8oivkgnyl.js" async=""></script><script src="/_next/static/chunks/34845aqksy1dl.js" async=""></script><meta name="next-size-adjust" content=""/><title>Uptimizr — 3D Scene Analytics</title><meta name="description" content="Open-source analytics dashboard for 3D scenes."/><link rel="icon" href="/icon.svg?icon.08h29dad3pcxg.svg" sizes="any" type="image/svg+xml"/><script src="/_next/static/chunks/0cz1d0mv5g_q7.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><main class="mx-auto max-w-6xl px-6 py-8"><header class="mb-6 flex items-center gap-3"><img src="/logo.svg" alt="Uptimizr" width="36" height="36" class="h-9 w-9 shrink-0"/><div><h1 class="font-display text-2xl font-bold text-fg-hi">Uptimizr</h1><p class="text-sm text-fg-muted">Analytics for 3D scenes — open-source collector.</p></div></header><form class="mb-6 flex flex-wrap items-end gap-3 rounded-xl border border-edge bg-panel p-4"><label class="flex flex-1 flex-col gap-1 text-xs text-fg-muted">Collector URL<input class="min-w-56 rounded-md border border-edge bg-ink px-3 py-2 text-sm text-fg outline-none focus:border-saffron" placeholder="http://localhost:4318" value="http://localhost:4318"/></label><label class="flex flex-1 flex-col gap-1 text-xs text-fg-muted">Project API key<input class="min-w-56 rounded-md border border-edge bg-ink px-3 py-2 text-sm text-fg outline-none focus:border-saffron" type="password" placeholder="utk_…" value=""/></label><button type="submit" class="rounded-md bg-amber px-4 py-2 text-sm font-medium text-ink transition hover:bg-ember disabled:opacity-50">Load</button></form><p class="text-sm text-fg-muted">Enter your collector URL and a project API key, then load to view analytics.</p></main><!--$--><!--/$--><script src="/_next/static/chunks/2569rrrffvm2w.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[89788,[\"/_next/static/chunks/0s1jghzw8jufz.js\"],\"default\"]\n3:I[14405,[\"/_next/static/chunks/0s1jghzw8jufz.js\"],\"default\"]\n4:I[28718,[\"/_next/static/chunks/0s1jghzw8jufz.js\"],\"ClientPageRoot\"]\n5:I[14936,[\"/_next/static/chunks/0s1jghzw8jufz.js\",\"/_next/static/chunks/3rpm-1ryf073k.js\",\"/_next/static/chunks/1-4v8oivkgnyl.js\",\"/_next/static/chunks/34845aqksy1dl.js\"],\"default\"]\n8:I[17419,[\"/_next/static/chunks/0s1jghzw8jufz.js\"],\"OutletBoundary\"]\n9:\"$Sreact.suspense\"\nb:I[17419,[\"/_next/static/chunks/0s1jghzw8jufz.js\"],\"ViewportBoundary\"]\nd:I[17419,[\"/_next/static/chunks/0s1jghzw8jufz.js\"],\"MetadataBoundary\"]\nf:I[56872,[\"/_next/static/chunks/0s1jghzw8jufz.js\"],\"default\",1]\n:HL[\"/_next/static/chunks/2hghi41nhdww2.css\",\"style\"]\n:HL[\"/_next/static/media/0c89a48fa5027cee-s.p.2cyn07wtgehh0.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/media/70bc3e132a0a741e-s.p.3t6q91iet4nsy.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{}]},\"$undefined\",\"$undefined\",16],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/2hghi41nhdww2.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/0s1jghzw8jufz.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"className\":\"space_grotesk_59d6dcf5-module__z_Ctiq__variable jetbrains_mono_38c99671-module__5Dhsuq__variable\",\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"$L4\",null,{\"Component\":\"$5\",\"serverProvidedParams\":{\"searchParams\":{},\"params\":{},\"promises\":[\"$@6\",\"$@7\"]}}],[[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/3rpm-1ryf073k.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/1-4v8oivkgnyl.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-2\",{\"src\":\"/_next/static/chunks/34845aqksy1dl.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"$L8\",null,{\"children\":[\"$\",\"$9\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@a\"}]}]]}],{},null,false,null]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$Lb\",null,{\"children\":\"$Lc\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$Ld\",null,{\"children\":[\"$\",\"$9\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Le\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$f\",[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/2hghi41nhdww2.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"UgXxCZvX6DcLoCaAHvGbP\"}\n"])</script><script>self.__next_f.push([1,"6:{}\n7:\"$0:f:0:1:1:children:0:props:children:0:props:serverProvidedParams:params\"\n"])</script><script>self.__next_f.push([1,"c:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"10:I[39259,[\"/_next/static/chunks/0s1jghzw8jufz.js\"],\"IconMark\"]\na:null\ne:[[\"$\",\"title\",\"0\",{\"children\":\"Uptimizr — 3D Scene Analytics\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Open-source analytics dashboard for 3D scenes.\"}],[\"$\",\"link\",\"2\",{\"rel\":\"icon\",\"href\":\"/icon.svg?icon.08h29dad3pcxg.svg\",\"sizes\":\"any\",\"type\":\"image/svg+xml\"}],[\"$\",\"$L10\",\"3\",{}]]\n"])</script></body></html>
1
+ <!DOCTYPE html><html lang="en" class="space_grotesk_59d6dcf5-module__z_Ctiq__variable jetbrains_mono_38c99671-module__5Dhsuq__variable"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/_next/static/media/0c89a48fa5027cee-s.p.2cyn07wtgehh0.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/_next/static/media/70bc3e132a0a741e-s.p.3t6q91iet4nsy.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" as="image" href="/logo.svg"/><link rel="stylesheet" href="/_next/static/chunks/05s0t-besbvu1.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/43ywrdzg_7af8.js"/><script src="/_next/static/chunks/0aad2r4s4wl1x.js" async=""></script><script src="/_next/static/chunks/2992eiy52nazj.js" async=""></script><script src="/_next/static/chunks/turbopack-1s36ieuku1ds3.js" async=""></script><script src="/_next/static/chunks/3c0cxt72vilyz.js" async=""></script><script src="/_next/static/chunks/2rsi6v7qmqx2b.js" async=""></script><script src="/_next/static/chunks/0a475u_q5i_dd.js" async=""></script><script src="/_next/static/chunks/2uyuafmoe5wi0.js" async=""></script><meta name="next-size-adjust" content=""/><title>Uptimizr — 3D Scene Analytics</title><meta name="description" content="Open-source analytics dashboard for 3D scenes."/><link rel="icon" href="/icon.svg?icon.08h29dad3pcxg.svg" sizes="any" type="image/svg+xml"/><script src="/_next/static/chunks/0cz1d0mv5g_q7.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><main class="mx-auto max-w-6xl px-6 py-8"><header class="mb-6 flex items-center gap-3"><img src="/logo.svg" alt="Uptimizr" width="36" height="36" class="h-9 w-9 shrink-0"/><div><h1 class="font-display text-2xl font-bold text-fg-hi">Uptimizr</h1><p class="text-sm text-fg-muted">Analytics for 3D scenes — open-source collector.</p></div></header><form class="mb-6 flex flex-wrap items-end gap-3 rounded-xl border border-edge bg-panel p-4"><label class="flex flex-1 flex-col gap-1 text-xs text-fg-muted">Collector URL<input class="min-w-56 rounded-md border border-edge bg-ink px-3 py-2 text-sm text-fg outline-none focus:border-saffron" placeholder="http://localhost:4318" value="http://localhost:4318"/></label><label class="flex flex-1 flex-col gap-1 text-xs text-fg-muted">Project API key<input class="min-w-56 rounded-md border border-edge bg-ink px-3 py-2 text-sm text-fg outline-none focus:border-saffron" type="password" placeholder="utk_…" value=""/></label><button type="submit" class="rounded-md bg-amber px-4 py-2 text-sm font-medium text-ink transition hover:bg-ember disabled:opacity-50">Load</button></form><p class="text-sm text-fg-muted">Enter your collector URL and a project API key, then load to view analytics.</p></main><!--$--><!--/$--><script src="/_next/static/chunks/43ywrdzg_7af8.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[89244,[\"/_next/static/chunks/3c0cxt72vilyz.js\"],\"default\"]\n3:I[69789,[\"/_next/static/chunks/3c0cxt72vilyz.js\"],\"default\"]\n4:I[57272,[\"/_next/static/chunks/3c0cxt72vilyz.js\"],\"ClientPageRoot\"]\n5:I[14936,[\"/_next/static/chunks/3c0cxt72vilyz.js\",\"/_next/static/chunks/2rsi6v7qmqx2b.js\",\"/_next/static/chunks/0a475u_q5i_dd.js\",\"/_next/static/chunks/2uyuafmoe5wi0.js\"],\"default\"]\n8:I[82682,[\"/_next/static/chunks/3c0cxt72vilyz.js\"],\"OutletBoundary\"]\n9:\"$Sreact.suspense\"\nb:I[82682,[\"/_next/static/chunks/3c0cxt72vilyz.js\"],\"ViewportBoundary\"]\nd:I[82682,[\"/_next/static/chunks/3c0cxt72vilyz.js\"],\"MetadataBoundary\"]\nf:I[94493,[\"/_next/static/chunks/3c0cxt72vilyz.js\"],\"default\",1]\n:HL[\"/_next/static/chunks/05s0t-besbvu1.css\",\"style\"]\n:HL[\"/_next/static/media/0c89a48fa5027cee-s.p.2cyn07wtgehh0.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/media/70bc3e132a0a741e-s.p.3t6q91iet4nsy.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{}]},\"$undefined\",\"$undefined\",16],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/05s0t-besbvu1.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/3c0cxt72vilyz.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"className\":\"space_grotesk_59d6dcf5-module__z_Ctiq__variable jetbrains_mono_38c99671-module__5Dhsuq__variable\",\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"$L4\",null,{\"Component\":\"$5\",\"serverProvidedParams\":{\"searchParams\":{},\"params\":{},\"promises\":[\"$@6\",\"$@7\"]}}],[[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/2rsi6v7qmqx2b.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/0a475u_q5i_dd.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-2\",{\"src\":\"/_next/static/chunks/2uyuafmoe5wi0.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"$L8\",null,{\"children\":[\"$\",\"$9\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@a\"}]}]]}],{},null,false,null]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$Lb\",null,{\"children\":\"$Lc\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$Ld\",null,{\"children\":[\"$\",\"$9\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Le\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$f\",[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/05s0t-besbvu1.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"5UjNvd7WCk97iC2cSmEGH\"}\n"])</script><script>self.__next_f.push([1,"6:{}\n7:\"$0:f:0:1:1:children:0:props:children:0:props:serverProvidedParams:params\"\n"])</script><script>self.__next_f.push([1,"c:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"10:I[88715,[\"/_next/static/chunks/3c0cxt72vilyz.js\"],\"IconMark\"]\na:null\ne:[[\"$\",\"title\",\"0\",{\"children\":\"Uptimizr — 3D Scene Analytics\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Open-source analytics dashboard for 3D scenes.\"}],[\"$\",\"link\",\"2\",{\"rel\":\"icon\",\"href\":\"/icon.svg?icon.08h29dad3pcxg.svg\",\"sizes\":\"any\",\"type\":\"image/svg+xml\"}],[\"$\",\"$L10\",\"3\",{}]]\n"])</script></body></html>
package/out/index.txt CHANGED
@@ -1,20 +1,20 @@
1
1
  1:"$Sreact.fragment"
2
- 2:I[89788,["/_next/static/chunks/0s1jghzw8jufz.js"],"default"]
3
- 3:I[14405,["/_next/static/chunks/0s1jghzw8jufz.js"],"default"]
4
- 4:I[28718,["/_next/static/chunks/0s1jghzw8jufz.js"],"ClientPageRoot"]
5
- 5:I[14936,["/_next/static/chunks/0s1jghzw8jufz.js","/_next/static/chunks/3rpm-1ryf073k.js","/_next/static/chunks/1-4v8oivkgnyl.js","/_next/static/chunks/34845aqksy1dl.js"],"default"]
6
- 8:I[17419,["/_next/static/chunks/0s1jghzw8jufz.js"],"OutletBoundary"]
2
+ 2:I[89244,["/_next/static/chunks/3c0cxt72vilyz.js"],"default"]
3
+ 3:I[69789,["/_next/static/chunks/3c0cxt72vilyz.js"],"default"]
4
+ 4:I[57272,["/_next/static/chunks/3c0cxt72vilyz.js"],"ClientPageRoot"]
5
+ 5:I[14936,["/_next/static/chunks/3c0cxt72vilyz.js","/_next/static/chunks/2rsi6v7qmqx2b.js","/_next/static/chunks/0a475u_q5i_dd.js","/_next/static/chunks/2uyuafmoe5wi0.js"],"default"]
6
+ 8:I[82682,["/_next/static/chunks/3c0cxt72vilyz.js"],"OutletBoundary"]
7
7
  9:"$Sreact.suspense"
8
- b:I[17419,["/_next/static/chunks/0s1jghzw8jufz.js"],"ViewportBoundary"]
9
- d:I[17419,["/_next/static/chunks/0s1jghzw8jufz.js"],"MetadataBoundary"]
10
- f:I[56872,["/_next/static/chunks/0s1jghzw8jufz.js"],"default",1]
11
- :HL["/_next/static/chunks/2hghi41nhdww2.css","style"]
8
+ b:I[82682,["/_next/static/chunks/3c0cxt72vilyz.js"],"ViewportBoundary"]
9
+ d:I[82682,["/_next/static/chunks/3c0cxt72vilyz.js"],"MetadataBoundary"]
10
+ f:I[94493,["/_next/static/chunks/3c0cxt72vilyz.js"],"default",1]
11
+ :HL["/_next/static/chunks/05s0t-besbvu1.css","style"]
12
12
  :HL["/_next/static/media/0c89a48fa5027cee-s.p.2cyn07wtgehh0.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
13
13
  :HL["/_next/static/media/70bc3e132a0a741e-s.p.3t6q91iet4nsy.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
14
- 0:{"P":null,"c":["",""],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/2hghi41nhdww2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0s1jghzw8jufz.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","className":"space_grotesk_59d6dcf5-module__z_Ctiq__variable jetbrains_mono_38c99671-module__5Dhsuq__variable","children":["$","body",null,{"children":["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]]}],{"children":[["$","$1","c",{"children":[["$","$L4",null,{"Component":"$5","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@6","$@7"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/3rpm-1ryf073k.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/1-4v8oivkgnyl.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/34845aqksy1dl.js","async":true,"nonce":"$undefined"}]],["$","$L8",null,{"children":["$","$9",null,{"name":"Next.MetadataOutlet","children":"$@a"}]}]]}],{},null,false,null]},null,false,null],["$","$1","h",{"children":[null,["$","$Lb",null,{"children":"$Lc"}],["$","div",null,{"hidden":true,"children":["$","$Ld",null,{"children":["$","$9",null,{"name":"Next.Metadata","children":"$Le"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$f",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/2hghi41nhdww2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"UgXxCZvX6DcLoCaAHvGbP"}
14
+ 0:{"P":null,"c":["",""],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/05s0t-besbvu1.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/3c0cxt72vilyz.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","className":"space_grotesk_59d6dcf5-module__z_Ctiq__variable jetbrains_mono_38c99671-module__5Dhsuq__variable","children":["$","body",null,{"children":["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]]}],{"children":[["$","$1","c",{"children":[["$","$L4",null,{"Component":"$5","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@6","$@7"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/2rsi6v7qmqx2b.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0a475u_q5i_dd.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/2uyuafmoe5wi0.js","async":true,"nonce":"$undefined"}]],["$","$L8",null,{"children":["$","$9",null,{"name":"Next.MetadataOutlet","children":"$@a"}]}]]}],{},null,false,null]},null,false,null],["$","$1","h",{"children":[null,["$","$Lb",null,{"children":"$Lc"}],["$","div",null,{"hidden":true,"children":["$","$Ld",null,{"children":["$","$9",null,{"name":"Next.Metadata","children":"$Le"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$f",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/05s0t-besbvu1.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"5UjNvd7WCk97iC2cSmEGH"}
15
15
  6:{}
16
16
  7:"$0:f:0:1:1:children:0:props:children:0:props:serverProvidedParams:params"
17
17
  c:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
18
- 10:I[39259,["/_next/static/chunks/0s1jghzw8jufz.js"],"IconMark"]
18
+ 10:I[88715,["/_next/static/chunks/3c0cxt72vilyz.js"],"IconMark"]
19
19
  a:null
20
20
  e:[["$","title","0",{"children":"Uptimizr — 3D Scene Analytics"}],["$","meta","1",{"name":"description","content":"Open-source analytics dashboard for 3D scenes."}],["$","link","2",{"rel":"icon","href":"/icon.svg?icon.08h29dad3pcxg.svg","sizes":"any","type":"image/svg+xml"}],["$","$L10","3",{}]]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uptimizr/dashboard",
3
- "version": "0.4.4",
3
+ "version": "0.4.6",
4
4
  "description": "Uptimizr analytics dashboard — a static-export SPA that reads the collector query API. Serve it standalone, all-in-one via the collector, or drop the assets on any static host.",
5
5
  "keywords": [
6
6
  "uptimizr",
@@ -36,23 +36,23 @@
36
36
  "LICENSE"
37
37
  ],
38
38
  "dependencies": {
39
- "@babylonjs/core": "^9.15.0",
40
- "@babylonjs/loaders": "^9.15.0",
39
+ "@babylonjs/core": "^9.19.0",
40
+ "@babylonjs/loaders": "^9.19.0",
41
41
  "@mlc-ai/web-llm": "^0.2.79",
42
- "next": "^16.2.10",
43
- "react": "^19.2.7",
44
- "react-dom": "^19.2.7",
42
+ "next": "^16.2.12",
43
+ "react": "^19.2.8",
44
+ "react-dom": "^19.2.8",
45
+ "@uptimizr/react": "0.13.0",
45
46
  "@uptimizr/heatmap": "0.1.3",
46
- "@uptimizr/react": "0.12.0",
47
- "@uptimizr/replay": "0.2.4"
47
+ "@uptimizr/replay": "0.2.5"
48
48
  },
49
49
  "devDependencies": {
50
- "@tailwindcss/postcss": "^4.3.2",
51
- "@types/node": "^26.1.0",
52
- "@types/react": "^19.2.17",
53
- "@types/react-dom": "^19.2.3",
54
- "postcss": "^8.5.16",
55
- "tailwindcss": "^4.3.2",
50
+ "@tailwindcss/postcss": "^4.3.3",
51
+ "@types/node": "^26.1.2",
52
+ "@types/react": "^19.2.18",
53
+ "@types/react-dom": "^19.2.4",
54
+ "postcss": "^8.5.25",
55
+ "tailwindcss": "^4.3.3",
56
56
  "typescript": "^6.0.3",
57
57
  "vitest": "^4.1.10"
58
58
  },
@@ -1 +0,0 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,93298,e=>{"use strict";var t,i,s=e.i(90176);class r{get wrapU(){return this._cachedWrapU}set wrapU(e){this._cachedWrapU=e}get wrapV(){return this._cachedWrapV}set wrapV(e){this._cachedWrapV=e}get wrapR(){return this._cachedWrapR}set wrapR(e){this._cachedWrapR=e}get anisotropicFilteringLevel(){return this._cachedAnisotropicFilteringLevel}set anisotropicFilteringLevel(e){this._cachedAnisotropicFilteringLevel=e}get comparisonFunction(){return this._comparisonFunction}set comparisonFunction(e){this._comparisonFunction=e}get useMipMaps(){return this._useMipMaps}set useMipMaps(e){this._useMipMaps=e}constructor(){this.samplingMode=-1,this._useMipMaps=!0,this._cachedWrapU=null,this._cachedWrapV=null,this._cachedWrapR=null,this._cachedAnisotropicFilteringLevel=null,this._comparisonFunction=0}setParameters(e=1,t=1,i=1,s=1,r=2,a=0){return this._cachedWrapU=e,this._cachedWrapV=t,this._cachedWrapR=i,this._cachedAnisotropicFilteringLevel=s,this.samplingMode=r,this._comparisonFunction=a,this}compareSampler(e){return this._cachedWrapU===e._cachedWrapU&&this._cachedWrapV===e._cachedWrapV&&this._cachedWrapR===e._cachedWrapR&&this._cachedAnisotropicFilteringLevel===e._cachedAnisotropicFilteringLevel&&this.samplingMode===e.samplingMode&&this._comparisonFunction===e._comparisonFunction&&this._useMipMaps===e._useMipMaps}}(t=i||(i={}))[t.Unknown=0]="Unknown",t[t.Url=1]="Url",t[t.Temp=2]="Temp",t[t.Raw=3]="Raw",t[t.Dynamic=4]="Dynamic",t[t.RenderTarget=5]="RenderTarget",t[t.MultiRenderTarget=6]="MultiRenderTarget",t[t.Cube=7]="Cube",t[t.CubeRaw=8]="CubeRaw",t[t.CubePrefiltered=9]="CubePrefiltered",t[t.Raw3D=10]="Raw3D",t[t.Raw2DArray=11]="Raw2DArray",t[t.DepthStencil=12]="DepthStencil",t[t.CubeRawRGBD=13]="CubeRawRGBD",t[t.Depth=14]="Depth",t[t.External=15]="External";class a extends r{get useMipMaps(){return null===this._useMipMaps?this.generateMipMaps:this._useMipMaps}set useMipMaps(e){this._useMipMaps=e}get uniqueId(){return this._uniqueId}_setUniqueId(e){this._uniqueId=e}getEngine(){return this._engine}get source(){return this._source}constructor(e,t,i=!1){super(),this.isReady=!1,this.isCube=!1,this.is3D=!1,this.is2DArray=!1,this.isMultiview=!1,this.url="",this.generateMipMaps=!1,this._useMipMaps=null,this.mipLevelCount=1,this.samples=0,this.type=-1,this.format=-1,this.onLoadedObservable=new s.Observable,this.onErrorObservable=new s.Observable,this.onRebuildCallback=null,this.width=0,this.height=0,this.depth=0,this.baseWidth=0,this.baseHeight=0,this.baseDepth=0,this.invertY=!1,this._invertVScale=!1,this._associatedChannel=-1,this._source=0,this._buffer=null,this._bufferView=null,this._bufferViewArray=null,this._bufferViewArrayArray=null,this._size=0,this._extension="",this._files=null,this._workingCanvas=null,this._workingContext=null,this._cachedCoordinatesMode=null,this._isDisabled=!1,this._compression=null,this._sphericalPolynomial=null,this._sphericalPolynomialPromise=null,this._sphericalPolynomialComputed=!1,this._lodGenerationScale=0,this._lodGenerationOffset=0,this._useSRGBBuffer=!1,this._creationFlags=0,this._lodTextureHigh=null,this._lodTextureMid=null,this._lodTextureLow=null,this._isRGBD=!1,this._linearSpecularLOD=!1,this._irradianceTexture=null,this._hardwareTexture=null,this._maxLodLevel=null,this._references=1,this._gammaSpace=null,this._premulAlpha=!1,this._dynamicTextureSource=null,this._autoMSAAManagement=!1,this._engine=e,this._source=t,this._uniqueId=a._Counter++,i||(this._hardwareTexture=e._createHardwareTexture())}incrementReferences(){this._references++}updateSize(e,t,i=1){this._engine.updateTextureDimensions(this,e,t,i),this.width=e,this.height=t,this.depth=i,this.baseWidth=e,this.baseHeight=t,this.baseDepth=i,this._size=e*t*i}_rebuild(){let e;if(this.isReady=!1,this._cachedCoordinatesMode=null,this._cachedWrapU=null,this._cachedWrapV=null,this._cachedWrapR=null,this._cachedAnisotropicFilteringLevel=null,this.onRebuildCallback){let e=this.onRebuildCallback(this),t=t=>{t._swapAndDie(this,!1),this.isReady=e.isReady};e.isAsync?e.proxy.then(t):t(e.proxy);return}switch(this.source){case 2:case 12:case 14:break;case 1:e=this._engine.createTexture(this._originalUrl??this.url,!this.generateMipMaps,this.invertY,null,this.samplingMode,e=>{e._swapAndDie(this,!1),this.isReady=!0},null,this._buffer,void 0,this.format,this._extension,void 0,void 0,void 0,this._useSRGBBuffer);return;case 3:if((e=this._engine.createRawTexture(this._bufferView,this.baseWidth,this.baseHeight,this.format,this.generateMipMaps,this.invertY,this.samplingMode,this._compression,this.type,this._creationFlags,this._useSRGBBuffer,this.mipLevelCount))._swapAndDie(this,!1),this._bufferViewArray)for(let e=0;e<this._bufferViewArray.length;e++){let t=this._bufferViewArray[e];t&&this._engine.updateRawTexture(this,t,this.format,this.invertY,this._compression,this.type,this._useSRGBBuffer,e)}this.isReady=!0;break;case 10:(e=this._engine.createRawTexture3D(this._bufferView,this.baseWidth,this.baseHeight,this.baseDepth,this.format,this.generateMipMaps,this.invertY,this.samplingMode,this._compression,this.type))._swapAndDie(this,!1),this.isReady=!0;break;case 11:if((e=this._engine.createRawTexture2DArray(this._bufferView,this.baseWidth,this.baseHeight,this.baseDepth,this.format,this.generateMipMaps,this.invertY,this.samplingMode,this._compression,this.type,this._creationFlags,this.mipLevelCount))._swapAndDie(this,!1),this._bufferViewArray)for(let e=0;e<this._bufferViewArray.length;e++){let t=this._bufferViewArray[e];t&&this._engine.updateRawTexture2DArray(this,t,this.format,this.invertY,this._compression,this.type,e)}this.isReady=!0;break;case 4:(e=this._engine.createDynamicTexture(this.baseWidth,this.baseHeight,this.generateMipMaps,this.samplingMode))._swapAndDie(this,!1),this._dynamicTextureSource&&this._engine.updateDynamicTexture(this,this._dynamicTextureSource,this.invertY,this._premulAlpha,this.format,!0);break;case 7:e=this._engine.createCubeTexture(this.url,null,this._files,!this.generateMipMaps,()=>{e._swapAndDie(this,!1),this.isReady=!0},null,this.format,this._extension,!1,0,0,null,void 0,this._useSRGBBuffer,ArrayBuffer.isView(this._buffer)?this._buffer:null);return;case 8:(e=this._engine.createRawCubeTexture(this._bufferViewArray,this.width,this._originalFormat??this.format,this.type,this.generateMipMaps,this.invertY,this.samplingMode,this._compression))._swapAndDie(this,!1),this.isReady=!0;break;case 13:return;case 9:(e=this._engine.createPrefilteredCubeTexture(this.url,null,this._lodGenerationScale,this._lodGenerationOffset,e=>{e&&e._swapAndDie(this,!1),this.isReady=!0},null,this.format,this._extension))._sphericalPolynomial=this._sphericalPolynomial;return}}_swapAndDie(e,t=!0){this._hardwareTexture?.setUsage(e._source,this.generateMipMaps,this.is2DArray,this.isCube,this.is3D,this.width,this.height,this.depth),e._hardwareTexture=this._hardwareTexture,e._setUniqueId(a._Counter++),t&&(e._isRGBD=this._isRGBD),this._lodTextureHigh&&(e._lodTextureHigh&&e._lodTextureHigh.dispose(),e._lodTextureHigh=this._lodTextureHigh),this._lodTextureMid&&(e._lodTextureMid&&e._lodTextureMid.dispose(),e._lodTextureMid=this._lodTextureMid),this._lodTextureLow&&(e._lodTextureLow&&e._lodTextureLow.dispose(),e._lodTextureLow=this._lodTextureLow),this._irradianceTexture&&(e._irradianceTexture&&e._irradianceTexture.dispose(),e._irradianceTexture=this._irradianceTexture);let i=this._engine.getLoadedTexturesCache(),s=i.indexOf(this);-1!==s&&i.splice(s,1),-1===(s=i.indexOf(e))&&i.push(e)}dispose(){this._references--,0===this._references&&(this.onLoadedObservable.clear(),this.onErrorObservable.clear(),this._engine._releaseTexture(this),this._hardwareTexture=null,this._dynamicTextureSource=null)}}a._Counter=0,e.s(["InternalTexture",0,a],93298)},85595,98709,53773,e=>{"use strict";e.s(["__decorate",0,function(e,t,i,s){var r,a=arguments.length,n=a<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n}],85595);let t="__bjs_serializable__",i=new WeakMap;function s(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function r(){let e=Symbol.metadata;return e||Object.defineProperty(Symbol,"metadata",{configurable:!0,writable:!0,value:e=Symbol("Symbol.metadata")}),e}function a(e){return"function"==typeof e?e:e?.constructor}function n(e){let i=function(e){if(e){if(!s(e,r())){let t=Object.getPrototypeOf(e),i=t?t[r()]:null;Object.defineProperty(e,r(),{value:Object.create(i??null),configurable:!0,writable:!0,enumerable:!1})}return e[r()]}}(a(e));return i?(s(i,t)||(i[t]={}),i[t]):{}}function o(e,t){return(i,s)=>{let r=n(i);r[s]||(r[s]={type:e,sourceName:t})}}function l(e,t,i,s){let r=i.value;i.value=(...i)=>{let a=r;if("u">typeof _native&&_native[t]){let e=_native[t];a=s?(...t)=>s(...t)?e(...t):r(...t):e}return e[t]=a,a(...i)}}e.s(["GetDirectStore",0,n,"GetMergedStore",0,function(e){let n=a(e),o=n?n[r()]:void 0;if(!o)return{};let l=i.get(o);if(l)return l;let h={},u=[],c=o;for(;c;)u.push(c),c=Object.getPrototypeOf(c);for(let e of u)if(s(e,t)){let i=e[t];for(let e in i)h[e]=i[e]}return i.set(o,h),h}],98709),l.filter=function(e){return(t,i,s)=>l(t,i,s,e)},e.s(["addAccessorsForMaterialProperty",0,function(e,t=null){return(i,s)=>{Object.defineProperty(i,t||"",{get:function(){return this[s].value},set:function(t){"function"==typeof this[s]?.value?.equals&&this[s].value.equals(t)||this[s].value!==t&&(this[s].value=t,i[e].apply(this))},enumerable:!0,configurable:!0})}},"expandToProperty",0,function(e,t=null){return function(e,t=null){return(i,s)=>{let r=t||"_"+s;Object.defineProperty(i,s,{get:function(){return this[r]},set:function(t){"function"==typeof this[r]?.equals&&this[r].equals(t)||this[r]!==t&&(this[r]=t,i[e].apply(this))},enumerable:!0,configurable:!0})}}(e,t)},"nativeOverride",0,l,"serialize",0,function(e){return o(0,e)},"serializeAsColor3",0,function(e){return o(2,e)},"serializeAsColor4",0,function(e){return o(8,e)},"serializeAsColorCurves",0,function(e){return o(7,e)},"serializeAsFresnelParameters",0,function(e){return o(3,e)},"serializeAsImageProcessingConfiguration",0,function(e){return o(9,e)},"serializeAsMatrix",0,function(e){return o(12,e)},"serializeAsMeshReference",0,function(e){return o(6,e)},"serializeAsQuaternion",0,function(e){return o(10,e)},"serializeAsTexture",0,function(e){return o(1,e)},"serializeAsVector2",0,function(e){return o(4,e)},"serializeAsVector3",0,function(e){return o(5,e)}],53773)},68401,12328,e=>{"use strict";var t=e.i(33945);class i{static Eval(e,t){return"true"===(e=e.match(/\([^()]*\)/g)?e.replace(/\([^()]*\)/g,e=>(e=e.slice(1,e.length-1),i._HandleParenthesisContent(e,t))):i._HandleParenthesisContent(e,t))||"false"!==e&&i.Eval(e,t)}static _HandleParenthesisContent(e,t){let s;t=t||(e=>"true"===e);let r=e.split("||");for(let e in r)if(Object.prototype.hasOwnProperty.call(r,e)){let a=i._SimplifyNegation(r[e].trim()),n=a.split("&&");if(n.length>1)for(let e=0;e<n.length;++e){let r=i._SimplifyNegation(n[e].trim());if(!(s="true"!==r&&"false"!==r?"!"===r[0]?!t(r.substring(1)):t(r):"true"===r)){a="false";break}}if(s||"true"===a){s=!0;break}s="true"!==a&&"false"!==a?"!"===a[0]?!t(a.substring(1)):t(a):"true"===a}return s?"true":"false"}static _SimplifyNegation(e){return"!true"===(e=(e=e.replace(/^[\s!]+/,e=>(e=e.replace(/[\s]/g,()=>"")).length%2?"!":"")).trim())?e="false":"!false"===e&&(e="true"),e}}class s{static EnableFor(e){e._tags=e._tags||{},e.hasTags=()=>s.HasTags(e),e.addTags=t=>s.AddTagsTo(e,t),e.removeTags=t=>s.RemoveTagsFrom(e,t),e.matchesTagsQuery=t=>s.MatchesQuery(e,t)}static DisableFor(e){delete e._tags,delete e.hasTags,delete e.addTags,delete e.removeTags,delete e.matchesTagsQuery}static HasTags(e){if(!e._tags)return!1;let t=e._tags;for(let e in t)if(Object.prototype.hasOwnProperty.call(t,e))return!0;return!1}static GetTags(e,t=!0){if(!e._tags)return null;if(!t)return e._tags;{let t=[];for(let i in e._tags)Object.prototype.hasOwnProperty.call(e._tags,i)&&!0===e._tags[i]&&t.push(i);return t.join(" ")}}static AddTagsTo(e,t){if(t&&"string"==typeof t)for(let i of t.split(" "))s._AddTagTo(e,i)}static _AddTagTo(e,t){""===(t=t.trim())||"true"===t||"false"===t||t.match(/[\s]/)||t.match(/^([!]|([|]|[&]){2})/)||(s.EnableFor(e),e._tags[t]=!0)}static RemoveTagsFrom(e,t){if(!s.HasTags(e))return;let i=t.split(" ");for(let t in i)s._RemoveTagFrom(e,i[t])}static _RemoveTagFrom(e,t){delete e._tags[t]}static MatchesQuery(e,t){return void 0===t||(""===t?s.HasTags(e):i.Eval(t,t=>s.HasTags(e)&&e._tags[t]))}}e.s(["Tags",0,s],12328);var r=e.i(42580),a=e.i(95410),n=e.i(98709);let o=function(e,t,i,r={}){let a=e();s&&s.HasTags(t)&&s.AddTagsTo(a,s.GetTags(t,!0));let o=(0,n.GetMergedStore)(a),h={};for(let e in o){let s=o[e],n=t[e],u=s.type;if(null!=n&&("uniqueId"!==e||l.AllowLoadingUniqueId))switch(u){case 0:case 6:case 9:case 11:"function"==typeof n.slice?a[e]=n.slice():a[e]=n;break;case 1:r.cloneTexturesOnlyOnce&&h[n.uniqueId]?a[e]=h[n.uniqueId]:(a[e]=i||n.isRenderTarget?n:n.clone(),h[n.uniqueId]=a[e]);break;case 2:case 3:case 4:case 5:case 7:case 8:case 10:case 12:a[e]=i?n:n.clone()}}return a};class l{static AppendSerializedAnimations(e,t){if(e.animations){t.animations=[];for(let i=0;i<e.animations.length;i++){let s=e.animations[i];t.animations.push(s.serialize())}}}static Serialize(e,t){t||(t={}),s&&(t.tags=s.GetTags(e));let i=(0,n.GetMergedStore)(e);for(let s in i){let r=i[s],a=r.sourceName||s,n=r.type,o=e[s];if(null!=o&&("uniqueId"!==s||l.AllowLoadingUniqueId))switch(n){case 0:Array.isArray(o)?t[a]=o.slice():t[a]=o;break;case 1:case 3:case 7:case 9:t[a]=o.serialize();break;case 2:case 4:case 5:case 8:case 10:case 12:t[a]=o.asArray();break;case 6:case 11:t[a]=o.id}}return t}static ParseProperties(e,t,i,s){s||(s="");let o=(0,n.GetMergedStore)(t);for(let n in o){let h=o[n],u=e[h.sourceName||n],c=h.type;if(null!=u&&("uniqueId"!==n||l.AllowLoadingUniqueId))switch(c){case 0:t[n]=u;break;case 1:i&&(t[n]=l._TextureParser(u,i,s));break;case 2:t[n]=r.Color3.FromArray(u);break;case 3:t[n]=l._FresnelParametersParser(u);break;case 4:t[n]=a.Vector2.FromArray(u);break;case 5:t[n]=a.Vector3.FromArray(u);break;case 6:i&&(t[n]=i.getLastMeshById(u));break;case 7:t[n]=l._ColorCurvesParser(u);break;case 8:t[n]=r.Color4.FromArray(u);break;case 9:t[n]=l._ImageProcessingConfigurationParser(u);break;case 10:t[n]=a.Quaternion.FromArray(u);break;case 11:i&&(t[n]=i.getCameraById(u));break;case 12:t[n]=a.Matrix.FromArray(u)}}}static Parse(e,t,i,r=null){let a=e();return s&&s.AddTagsTo(a,t.tags),l.ParseProperties(t,a,i,r),a}static Clone(e,t,i={}){return o(e,t,!1,i)}static Instanciate(e,t){return o(e,t,!0)}}l.AllowLoadingUniqueId=!1,l._ImageProcessingConfigurationParser=e=>{throw(0,t._WarnImport)("ImageProcessingConfiguration")},l._FresnelParametersParser=e=>{throw(0,t._WarnImport)("FresnelParameters")},l._ColorCurvesParser=e=>{throw(0,t._WarnImport)("ColorCurves")},l._TextureParser=(e,i,s)=>{throw(0,t._WarnImport)("Texture")},e.s(["SerializationHelper",0,l],68401)},47997,e=>{"use strict";var t=e.i(95410);class i{constructor(e,i,s,r){this.normal=new t.Vector3(e,i,s),this.d=r}asArray(){return[this.normal.x,this.normal.y,this.normal.z,this.d]}clone(){return new i(this.normal.x,this.normal.y,this.normal.z,this.d)}getClassName(){return"Plane"}getHashCode(){let e=this.normal.getHashCode();return 397*e^this.d}normalize(){let e=Math.sqrt(this.normal.x*this.normal.x+this.normal.y*this.normal.y+this.normal.z*this.normal.z),t=0;return 0!==e&&(t=1/e),this.normal.x*=t,this.normal.y*=t,this.normal.z*=t,this.d*=t,this}transform(e){let t=i._TmpMatrix;e.invertToRef(t);let s=t.m,r=this.normal.x,a=this.normal.y,n=this.normal.z,o=this.d;return new i(r*s[0]+a*s[1]+n*s[2]+o*s[3],r*s[4]+a*s[5]+n*s[6]+o*s[7],r*s[8]+a*s[9]+n*s[10]+o*s[11],r*s[12]+a*s[13]+n*s[14]+o*s[15])}dotCoordinate(e){return this.normal.x*e.x+this.normal.y*e.y+this.normal.z*e.z+this.d}copyFromPoints(e,t,i){let s,r=t.x-e.x,a=t.y-e.y,n=t.z-e.z,o=i.x-e.x,l=i.y-e.y,h=i.z-e.z,u=a*h-n*l,c=n*o-r*h,d=r*l-a*o,p=Math.sqrt(u*u+c*c+d*d);return s=0!==p?1/p:0,this.normal.x=u*s,this.normal.y=c*s,this.normal.z=d*s,this.d=-(this.normal.x*e.x+this.normal.y*e.y+this.normal.z*e.z),this}isFrontFacingTo(e,i){return t.Vector3.Dot(this.normal,e)<=i}signedDistanceTo(e){return t.Vector3.Dot(e,this.normal)+this.d}static FromArray(e){return new i(e[0],e[1],e[2],e[3])}static FromPoints(e,t,s){let r=new i(0,0,0,0);return r.copyFromPoints(e,t,s),r}static FromPositionAndNormal(e,t){let s=new i(0,0,0,0);return this.FromPositionAndNormalToRef(e,t,s)}static FromPositionAndNormalToRef(e,t,i){return i.normal.copyFrom(t),i.normal.normalize(),i.d=-e.dot(i.normal),i}static SignedDistanceToPlaneFromPositionAndNormal(e,i,s){let r=-(i.x*e.x+i.y*e.y+i.z*e.z);return t.Vector3.Dot(s,i)+r}}i._TmpMatrix=t.Matrix.Identity(),e.s(["Plane",0,i])}]);
@@ -1 +0,0 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,66106,e=>{"use strict";var t,a,s=e.i(13856),r=e.i(80434),o=e.i(71615),i=e.i(93298);function n(){let e=null;onmessage=t=>{if("init"===t.data.action){if(t.data.url)try{importScripts(t.data.url)}catch(e){postMessage({action:"error",error:e})}e||(e=BASIS({wasmBinary:t.data.wasmBinary})),null!==e&&e.then(e=>{BASIS=e,e.initializeBasis(),postMessage({action:"init"})})}else if("transcode"===t.data.action){var a,s;let e,r=t.data.config,o=t.data.imageData,i=new BASIS.BasisFile(o),n=function(e){let t=e.getHasAlpha(),a=e.getNumImages(),s=[];for(let t=0;t<a;t++){let a={levels:[]},r=e.getNumLevels(t);for(let s=0;s<r;s++){let r={width:e.getImageWidth(t,s),height:e.getImageHeight(t,s)};a.levels.push(r)}s.push(a)}return{hasAlpha:t,images:s}}(i),c=t.data.ignoreSupportedFormats?null:(a=t.data.config,s=n,e=null,a.supportedCompressionFormats&&(e=a.supportedCompressionFormats.astc?10:a.supportedCompressionFormats.bc7?6:a.supportedCompressionFormats.s3tc?s.hasAlpha?3:2:a.supportedCompressionFormats.pvrtc?s.hasAlpha?9:8:a.supportedCompressionFormats.etc2?1:14*!a.supportedCompressionFormats.etc1),e),l=!1;null===c&&(l=!0,c=n.hasAlpha?3:2);let d=!0;i.startTranscoding()||(d=!1);let T=[];for(let e=0;e<n.images.length&&d;e++){let t=n.images[e];if(void 0===r.loadSingleImage||r.loadSingleImage===e){let a=t.levels.length;!1===r.loadMipmapLevels&&(a=1);for(let s=0;s<a;s++){let a=t.levels[s],r=function(e,t,a,s,r){let o=new Uint8Array(e.getImageTranscodedSizeInBytes(t,a,s));return e.transcodeImage(o,t,a,s,1,0)?(r&&(o=function(e,t,a){let s=new Uint16Array(4),r=new Uint16Array(t*a),o=t/4,i=a/4;for(let a=0;a<i;a++)for(let i=0;i<o;i++){let n=0+8*(a*o+i);s[0]=e[n]|e[n+1]<<8,s[1]=e[n+2]|e[n+3]<<8,s[2]=(2*(31&s[0])+ +(31&s[1]))/3|(2*(2016&s[0])+ +(2016&s[1]))/3&2016|(2*(63488&s[0])+ +(63488&s[1]))/3&63488,s[3]=(2*(31&s[1])+ +(31&s[0]))/3|(2*(2016&s[1])+ +(2016&s[0]))/3&2016|(2*(63488&s[1])+ +(63488&s[0]))/3&63488;for(let o=0;o<4;o++){let c=e[n+4+o],l=(4*a+o)*t+4*i;r[l++]=s[3&c],r[l++]=s[c>>2&3],r[l++]=s[c>>4&3],r[l]=s[c>>6&3]}}return r}(o,e.getImageWidth(t,a)+3&-4,e.getImageHeight(t,a)+3&-4)),o):null}(i,e,s,c,l);if(!r){d=!1;break}a.transcodedPixels=r,T.push(a.transcodedPixels.buffer)}}}i.close(),i.delete(),l&&(c=-1),d?postMessage({action:"transcode",success:d,id:t.data.id,fileInfo:n,format:c},T):postMessage({action:"transcode",success:d,id:t.data.id})}}}async function c(e,t,a){return await new Promise((r,o)=>{let i=t=>{"init"===t.data.action?(e.removeEventListener("message",i),r(e)):"error"===t.data.action&&o(t.data.error||"error initializing worker")};e.addEventListener("message",i),e.postMessage({action:"init",url:a?s.Tools.GetBabylonScriptURL(a):void 0,wasmBinary:t},[t])})}(t=a||(a={}))[t.cTFETC1=0]="cTFETC1",t[t.cTFETC2=1]="cTFETC2",t[t.cTFBC1=2]="cTFBC1",t[t.cTFBC3=3]="cTFBC3",t[t.cTFBC4=4]="cTFBC4",t[t.cTFBC5=5]="cTFBC5",t[t.cTFBC7=6]="cTFBC7",t[t.cTFPVRTC1_4_RGB=8]="cTFPVRTC1_4_RGB",t[t.cTFPVRTC1_4_RGBA=9]="cTFPVRTC1_4_RGBA",t[t.cTFASTC_4x4=10]="cTFASTC_4x4",t[t.cTFATC_RGB=11]="cTFATC_RGB",t[t.cTFATC_RGBA_INTERPOLATED_ALPHA=12]="cTFATC_RGBA_INTERPOLATED_ALPHA",t[t.cTFRGBA32=13]="cTFRGBA32",t[t.cTFRGB565=14]="cTFRGB565",t[t.cTFBGR565=15]="cTFBGR565",t[t.cTFRGBA4444=16]="cTFRGBA4444",t[t.cTFFXT1_RGB=17]="cTFFXT1_RGB",t[t.cTFPVRTC2_4_RGB=18]="cTFPVRTC2_4_RGB",t[t.cTFPVRTC2_4_RGBA=19]="cTFPVRTC2_4_RGBA",t[t.cTFETC2_EAC_R11=20]="cTFETC2_EAC_R11",t[t.cTFETC2_EAC_RG11=21]="cTFETC2_EAC_RG11";let l={JSModuleURL:`${s.Tools._DefaultCdnUrl}/basisTranscoder/1/basis_transcoder.js`,WasmModuleURL:`${s.Tools._DefaultCdnUrl}/basisTranscoder/1/basis_transcoder.wasm`},d=null,T=null,g=0,p=async()=>(d||(d=new Promise((e,t)=>{T?e(T):s.Tools.LoadFileAsync(s.Tools.GetBabylonScriptURL(l.WasmModuleURL)).then(a=>{if("function"!=typeof URL)return t("Basis transcoder requires an environment with a URL constructor");c(T=new Worker(URL.createObjectURL(new Blob([`(${n})()`],{type:"application/javascript"}))),a,l.JSModuleURL).then(e,t)}).catch(t)})),await d),u=async(e,t)=>{let a=e instanceof ArrayBuffer?new Uint8Array(e):e;return await new Promise((e,s)=>{p().then(()=>{let r=g++,o=t=>{"transcode"===t.data.action&&t.data.id===r&&(T.removeEventListener("message",o),t.data.success?e(t.data):s("Transcode is not supported on this device"))};T.addEventListener("message",o);let i=new Uint8Array(a.byteLength);i.set(new Uint8Array(a.buffer,a.byteOffset,a.byteLength)),T.postMessage({action:"transcode",id:r,imageData:i,config:t,ignoreSupportedFormats:!1},[i.buffer])},e=>{s(e)})})},h=(e,t)=>{let a=t._gl?.TEXTURE_2D;e.isCube&&(a=t._gl?.TEXTURE_CUBE_MAP),t._bindTextureDirectly(a,e,!0)},m=(e,t)=>{let s=e.getEngine();for(let n=0;n<t.fileInfo.images.length;n++){let c=t.fileInfo.images[n].levels[0];if(e._invertVScale=e.invertY,-1===t.format||t.format===a.cTFRGB565)if(e.type=10,e.format=4,s._features.basisNeedsPOT&&(Math.log2(c.width)%1!=0||Math.log2(c.height)%1!=0)){let t=new i.InternalTexture(s,2);e._invertVScale=e.invertY,t.type=10,t.format=4,t.width=c.width+3&-4,t.height=c.height+3&-4,h(t,s),s._uploadDataToTextureDirectly(t,new Uint16Array(c.transcodedPixels.buffer),n,0,4,!0),s._rescaleTexture(t,e,s.scenes[0],s._getInternalFormat(4),()=>{s._releaseTexture(t),h(e,s)})}else e._invertVScale=!e.invertY,e.width=c.width+3&-4,e.height=c.height+3&-4,e.samplingMode=2,h(e,s),s._uploadDataToTextureDirectly(e,new Uint16Array(c.transcodedPixels.buffer),n,0,4,!0);else{e.width=c.width,e.height=c.height,e.generateMipMaps=t.fileInfo.images[n].levels.length>1;let a=f.GetInternalFormatFromBasisFormat(t.format,s);e.format=a,h(e,s);let i=t.fileInfo.images[n].levels;for(let t=0;t<i.length;t++){let r=i[t];s._uploadCompressedDataToTextureDirectly(e,a,r.width,r.height,r.transcodedPixels,n,t)}s._features.basisNeedsPOT&&(Math.log2(e.width)%1!=0||Math.log2(e.height)%1!=0)&&(r.Logger.Warn("Loaded .basis texture width and height are not a power of two. Texture wrapping will be set to Texture.CLAMP_ADDRESSMODE as other modes are not supported with non power of two dimensions in webGL 1."),e._cachedWrapU=o.Texture.CLAMP_ADDRESSMODE,e._cachedWrapV=o.Texture.CLAMP_ADDRESSMODE)}}},f={JSModuleURL:l.JSModuleURL,WasmModuleURL:l.WasmModuleURL,GetInternalFormatFromBasisFormat:(e,t)=>{let s;switch(e){case a.cTFETC1:s=36196;break;case a.cTFBC1:s=33776;break;case a.cTFBC4:s=33779;break;case a.cTFASTC_4x4:s=37808;break;case a.cTFETC2:s=37496;break;case a.cTFBC7:s=36492}if(void 0===s)throw"The chosen Basis transcoder format is not currently supported";return s},TranscodeAsync:u,LoadTextureFromTranscodeResult:m};e.s(["_BasisTextureLoader",0,class{constructor(){this.supportCascades=!1}loadCubeData(e,t,a,r,o){if(Array.isArray(e))return;let i=t.getEngine().getCaps();u(e,{supportedCompressionFormats:{etc1:!!i.etc1,s3tc:!!i.s3tc,pvrtc:!!i.pvrtc,etc2:!!i.etc2,astc:!!i.astc,bc7:!!i.bptc}}).then(e=>{let a=e.fileInfo.images[0].levels.length>1&&t.generateMipMaps;m(t,e),t.getEngine()._setCubeMapTextureParams(t,a),t.isReady=!0,t.onLoadedObservable.notifyObservers(t),t.onLoadedObservable.clear(),r&&r()}).catch(e=>{s.Tools.Warn("Failed to transcode Basis file, transcoding may not be supported on this device"),t.isReady=!0,o&&o(e)})}loadData(e,t,a){let r=t.getEngine().getCaps();u(e,{supportedCompressionFormats:{etc1:!!r.etc1,s3tc:!!r.s3tc,pvrtc:!!r.pvrtc,etc2:!!r.etc2,astc:!!r.astc,bc7:!!r.bptc}}).then(e=>{let s=e.fileInfo.images[0].levels[0],r=e.fileInfo.images[0].levels.length>1&&t.generateMipMaps;a(s.width,s.height,r,-1!==e.format,()=>{m(t,e)})}).catch(e=>{s.Tools.Warn("Failed to transcode Basis file, transcoding may not be supported on this device"),s.Tools.Warn(`Failed to transcode Basis file: ${e}`),a(0,0,!1,!1,()=>{},!0)})}}],66106)}]);
@@ -1 +0,0 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,2348,2413,e=>{"use strict";let t=1/1.2;e.s(["ZOOM_IN_FACTOR",0,t,"ZOOM_OUT_FACTOR",0,1.2,"attachDoubleClickFocus",0,function(e,t,s){let n=()=>{let t=e.pick(e.pointerX,e.pointerY);t?.hit&&t.pickedPoint&&s.setTarget(t.pickedPoint)};return t.addEventListener("dblclick",n),()=>t.removeEventListener("dblclick",n)},"disableWheelZoom",0,function(e){e.inputs.removeByType("ArcRotateCameraMouseWheelInput")},"resetFocus",0,function(e,t){e.setTarget(t.target),e.alpha=t.alpha,e.beta=t.beta,e.radius=t.radius},"stepZoom",0,function(e,t){let s=e.lowerRadiusLimit??.01,n=e.upperRadiusLimit??1/0;e.radius=Math.min(n,Math.max(s,e.radius*t))}],2348);var s=e.i(46369);e.s(["ZoomButtons",0,function({onZoom:e,onReset:n}){let i="grid h-8 w-8 place-items-center rounded-md border border-edge bg-ink/80 text-lg leading-none text-fg backdrop-blur transition hover:bg-ink hover:text-white";return(0,s.jsxs)("div",{className:"absolute right-3 top-3 flex flex-col gap-1",children:[(0,s.jsx)("button",{type:"button","aria-label":"Zoom in",className:i,onClick:()=>e(t),children:"+"}),(0,s.jsx)("button",{type:"button","aria-label":"Zoom out",className:i,onClick:()=>e(1.2),children:"−"}),n?(0,s.jsx)("button",{type:"button","aria-label":"Reset camera focus to center",title:"Reset focus to center",className:i,onClick:n,children:(0,s.jsxs)("svg",{viewBox:"0 0 16 16",width:"16",height:"16",fill:"none",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round","aria-hidden":"true",children:[(0,s.jsx)("circle",{cx:"8",cy:"8",r:"3"}),(0,s.jsx)("path",{d:"M8 1v2.5M8 12.5V15M1 8h2.5M12.5 8H15"})]})}):null]})}],2413)},76421,e=>{"use strict";var t=e.i(46369),s=e.i(19594);let n={status:"idle",gated:!1,count:0};var i=e.i(60614),r=e.i(2348),a=e.i(2413);let l=new Set,o=[{key:"interaction",label:"Clicks & picks",color:"#fb923c",types:new Set(["pointer_click","mesh_interaction"])},{key:"actors",label:"Scene actors",color:"#e879f9",types:new Set(["node_transform"])},{key:"custom",label:"Custom",color:"#34d399",types:new Set(["custom"])},{key:"camera",label:"Camera",color:"#38bdf8",types:new Set(["camera_sample"])},{key:"pointer",label:"Pointer",color:"#94a3b8",types:new Set(["pointer_move","pointer_down","pointer_up"])},{key:"perf",label:"Perf",color:"#a78bfa",types:new Set(["frame_perf"])},{key:"lifecycle",label:"Lifecycle",color:"#f472b6",types:new Set(["session_start","session_end","scene_change","focus_change","visibility_change","viewport_resize","context_lost","context_restored","runtime_error","capability_change","input_action","resource_sample","compile_stall","mesh_visibility","hover_dwell"])}];function c(e,t,s){let n=Math.max(1,s),i=new Map;o.forEach((e,t)=>{for(let s of e.types)i.set(s,t)});let r=o.map(()=>new Set);for(let s of e){let e=i.get(s.type);if(void 0===e)continue;let a=Math.min(1,Math.max(0,(s.ts-t)/n));r[e].add(Math.round(600*a))}return o.map((e,t)=>({key:e.key,label:e.label,color:e.color,marks:[...r[t]].sort((e,t)=>e-t).map(e=>e/600)})).filter(e=>e.marks.length>0)}function u(e){let t=Math.max(0,Math.round(e/1e3)),s=Math.floor(t/60);return`${s}:${(t%60).toString().padStart(2,"0")}`}function h(e){let t=e.slice(e.lastIndexOf("/")+1);return t.length>20?`${t.slice(0,19)}\u2026`:t}function d({lanes:e,duration:s,progress:n,onSeek:i,hiddenTypes:r}){let a=e.filter(e=>{let t=o.find(t=>t.key===e.key);if(!t)return!0;for(let e of t.types)if(!r.has(e))return!0;return!1});if(0===a.length)return null;let l=`${Math.min(100,Math.max(0,n/Math.max(1,s)*100))}%`;return(0,t.jsxs)("div",{className:"mt-4",children:[(0,t.jsx)("div",{className:"mb-1.5 flex flex-wrap items-center gap-x-3 gap-y-1 text-[10px] text-fg-muted",children:a.map(e=>(0,t.jsxs)("span",{className:"inline-flex items-center gap-1",children:[(0,t.jsx)("span",{"aria-hidden":!0,className:"inline-block h-2 w-2 rounded-sm",style:{backgroundColor:e.color}}),e.label,(0,t.jsxs)("span",{className:"tabular-nums text-fg-muted",children:["(",e.marks.length,")"]})]},e.key))}),(0,t.jsxs)("button",{type:"button","aria-label":"Event timeline — click to seek",className:"relative block w-full cursor-pointer select-none rounded-md border border-edge bg-ink/60 p-1.5 text-left",onClick:e=>{var t;let n;return t=e.clientX,void i(Math.min(1,Math.max(0,(t-(n=e.currentTarget.getBoundingClientRect()).left)/(n.width||1)))*s)},children:[(0,t.jsx)("div",{className:"flex flex-col gap-1",children:a.map(e=>(0,t.jsx)("div",{className:"relative h-2.5 rounded-sm bg-white/5",children:e.marks.map((s,n)=>(0,t.jsx)("span",{"aria-hidden":!0,className:"pointer-events-none absolute top-0 h-full w-px",style:{left:`${100*s}%`,backgroundColor:e.color,opacity:.85}},n))},e.key))}),(0,t.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-y-1 w-px bg-saffron",style:{left:l}})]})]})}e.s(["SessionReplayView",0,function({api:o,sessionId:m,hiddenTypes:p,isLive:f=!1}){let b=(0,s.useRef)(null),g=(0,s.useRef)(null),k=(0,s.useRef)(0),x=(0,s.useRef)(p??l),y=(0,s.useRef)(!1),j=(0,s.useRef)(null),w=(0,s.useRef)(!1),v=(0,s.useRef)(!1),_=(0,s.useRef)(null),M=(0,s.useRef)(0),C=(0,s.useRef)([]),P=(0,s.useRef)([]),N=(0,s.useRef)([]),S=(0,s.useRef)(!0),R=(0,s.useRef)("birdview"),z=(0,s.useRef)(null),$=(0,s.useRef)(null),q=(0,s.useRef)([]),L=(0,s.useRef)(null),I=(0,s.useRef)(null),[V,A]=(0,s.useState)("idle"),[E,T]=(0,s.useState)(null),[Z,F]=(0,s.useState)(0),[O,W]=(0,s.useState)(0),[B,H]=(0,s.useState)(!1),[K,U]=(0,s.useState)([]),[X,D]=(0,s.useState)([]),[G,Y]=(0,s.useState)([]),[J,Q]=(0,s.useState)(!0),[ee,et]=(0,s.useState)(!1),[es,en]=(0,s.useState)("birdview"),[ei,er]=(0,s.useState)(null),[ea,el]=(0,s.useState)(!1),[eo,ec]=(0,s.useState)(!1),[eu,eh]=(0,s.useState)(null);(0,s.useEffect)(()=>{S.current=J},[J]),(0,s.useEffect)(()=>{v.current=B},[B]),(0,s.useEffect)(()=>{w.current=ee},[ee]),(0,s.useEffect)(()=>{R.current=es,y.current=!0},[es]),(0,s.useEffect)(()=>{x.current=p??l,y.current=!0},[p]),(0,s.useEffect)(()=>{let t=b.current;if(!t)return;let s=!1,n=null;return A("loading"),T(null),H(!1),F(0),W(0),U([]),D([]),Y([]),er(null),z.current=null,C.current=[],P.current=[],N.current=[],k.current=0,L.current=null,q.current=[],$.current=null,el(!1),ec(!1),eh(null),(async()=>{try{let[{Engine:a},{Scene:l},{ArcRotateCamera:u},{UniversalCamera:h},{HemisphericLight:d},{Vector3:p,Color3:b,Color4:I,Matrix:V},{MeshBuilder:E},{StandardMaterial:T},{ReplayPlayer:Z}]=await Promise.all([e.A(95338),e.A(79935),e.A(49958),e.A(59188),e.A(7513),e.A(58532),e.A(43302),e.A(61027),e.A(85461),e.A(87961)]),O=await o.sessionEvents(m);if(s)return;if(0===O.length)return void A("empty");let B=O[0].ts,K=O[0].ts;for(let e of O)e.ts<B&&(B=e.ts),e.ts>K&&(K=e.ts);let X=await (0,i.mergeSceneProxies)(o,{since:B-1,until:K+1});if(s)return;let G=[...O].sort((e,t)=>e.ts-t.ts),J=G[0].ts,Q=[],ee=[],es=new Map,en=null;for(let e of G){let t=e.ts-J;if("camera_sample"===e.type){en=[e.position[0],e.position[1],e.position[2]],Q.push({at:t,position:en,direction:[e.direction[0],e.direction[1],e.direction[2]],..."number"==typeof e.fov?{fov:e.fov}:{}});continue}if("node_transform"===e.type){if(e.boneId)continue;let s=e.childPath?`${e.nodeId}/${e.childPath}`:e.nodeId,n=es.get(s);n||(n=[],es.set(s,n)),n.push({at:t,position:[e.position[0],e.position[1],e.position[2]]});continue}if("pointer_click"===e.type&&e.hitPoint){let s=e.ray?.origin??en;if(!s)continue;ee.push({at:t,type:"pointer_click",origin:[s[0],s[1],s[2]],hit:[e.hitPoint[0],e.hitPoint[1],e.hitPoint[2]],...e.hitMesh?{mesh:e.hitMesh}:{}});continue}if("mesh_interaction"===e.type&&e.point){if(!en)continue;ee.push({at:t,type:"mesh_interaction",origin:[en[0],en[1],en[2]],hit:[e.point[0],e.point[1],e.point[2]],...e.mesh?{mesh:e.mesh}:{}})}}if(0===Q.length&&0===ee.length&&0===es.size)return void A("empty");let ei=new a(t,!0,{preserveDrawingBuffer:!1}),ea=new l(ei);ea.clearColor=new I(.04,.05,.07,1),$.current=ea;let el=new u("birdview-cam",-Math.PI/2,.22,12,p.Zero(),ea);el.attachControl(t,!0),(0,r.disableWheelZoom)(el),g.current=el,new d("replay-light",new p(0,1,0),ea);let eo=new h("replay-follow-cam",p.Zero(),ea);eo.minZ=.05,eo.fov=Math.PI/3,ea.activeCamera=el;let ec="birdview",eu=E.CreateGround("replay-ground",{width:20,height:20,subdivisions:20},ea),eh=new T("replay-ground-mat",ea);eh.diffuseColor=new b(.12,.14,.18),eh.wireframe=!0,eu.material=eh;let ed=new Set(es.keys()),em=new Set(Array.from(ed,e=>e.slice(e.lastIndexOf("/")+1))),ep=[],ef=[],eb=new Set,eg=e=>{if(eb.has(e.name)||(e=>{if(e.path){for(let t of ed)if(e.path===t||e.path.endsWith(`/${t}`))return!0}return em.has(e.name)})(e))return!1;eb.add(e.name);let t=e.aabb,s=Math.max(t[3]-t[0],.001),n=Math.max(t[4]-t[1],.001),i=Math.max(t[5]-t[2],.001),r=E.CreateBox(`replay-proxy-${e.name}`,{width:s,height:n,depth:i},ea);r.position=new p((t[0]+t[3])/2,(t[1]+t[4])/2,(t[2]+t[5])/2);let a=new T(`replay-proxy-mat-${e.name}`,ea);return a.wireframe=!0,a.disableLighting=!0,a.emissiveColor=new b(.32,.4,.52),a.alpha=.35,r.material=a,r.isPickable=!1,L.current&&r.setEnabled(!1),ef.push(r),ep.push({name:e.name,center:new p((t[0]+t[3])/2,t[4],(t[2]+t[5])/2)}),!0};for(let e of X)eg(e);C.current=ep,P.current=ep.map(()=>null),D(ep.map(e=>e.name)),q.current=ef;let ek=async()=>{let e=await (0,i.mergeSceneProxies)(o,{since:B-1}).catch(()=>null);if(s||!e)return;let t=!1;for(let s of e)eg(s)&&(t=!0);t&&(C.current=ep,P.current=ep.map((e,t)=>P.current[t]??null),D(ep.map(e=>e.name)),y.current=!0)},ex=[[.91,.47,.98],[.4,.95,.6],[.98,.8,.3],[.45,.85,1]],ey=e=>{let t=e.indexOf("/");return -1===t?e:e.slice(0,t)},ej=[],ew=new Map,ev=0,e_=(e,t,s)=>{let n=E.CreateSphere(`replay-actor-${e}`,{diameter:.5,segments:12},ea),i=new T(`replay-actor-mat-${e}`,ea);i.disableLighting=!0;let r=ex[ev%ex.length];i.emissiveColor=new b(r[0],r[1],r[2]),n.material=i,n.isPickable=!1,n.isVisible=!1,ev++;let a={key:e,mesh:n,samples:s,driveKey:t};return ej.push(a),ew.set(e,a),a},eM=new Map,eC=new Map;for(let[e,t]of es){if(0===t.length)continue;let s=ey(e);if(e===s)eM.set(s,t);else{let n=eC.get(s);(!n||t.length>n.samples.length)&&eC.set(s,{key:e,samples:t})}}for(let e of new Set([...eM.keys(),...eC.keys()])){let t=eM.get(e);if(t)e_(e,e,t);else{let t=eC.get(e);e_(e,t.key,t.samples)}}N.current=ej.map(()=>null),Y(ej.map(e=>e.key));let eP=(e,t)=>{if(0===e.length||t<e[0].at)return null;let s=0,n=e.length-1,i=-1;for(;s<=n;){let r=s+n>>1;e[r].at<=t?(i=r,s=r+1):n=r-1}if(i<0)return null;let r=e[i],a=e[i+1];if(!a)return r.position;let l=a.at-r.at;if(l<=0)return r.position;let o=Math.max(0,Math.min(1,(t-r.at)/l));return[r.position[0]+(a.position[0]-r.position[0])*o,r.position[1]+(a.position[1]-r.position[1])*o,r.position[2]+(a.position[2]-r.position[2])*o]},eN=1,eS=1.4,eR=E.CreateSphere("replay-camera-origin",{diameter:.35,segments:12},ea),ez=new T("replay-camera-origin-mat",ea);ez.disableLighting=!0,ez.emissiveColor=new b(.6,.9,1),eR.material=ez;let e$=E.CreateLines("replay-camera-frustum",{points:[p.Zero(),new p(0,0,1)]},ea);e$.color=new b(.7,.95,1),e$.isPickable=!1;let eq=E.CreateCylinder("replay-camera-cone",{height:1,diameterTop:0,diameterBottom:1,tessellation:24},ea);eq.bakeTransformIntoVertices(V.RotationX(-Math.PI/2).multiply(V.Translation(0,0,.5)));let eL=new T("replay-camera-cone-mat",ea);eL.disableLighting=!0,eL.emissiveColor=new b(.4,.78,1),eL.alpha=.16,eL.backFaceCulling=!1,eq.material=eL,eq.isPickable=!1,eq.isVisible=!1;let eI=(e,t,s,n)=>{if(e?.dispose(),0===s.length)return null;let i=E.CreateLineSystem(t,{lines:s,...n?{colors:n,useVertexAlpha:!0}:{}},ea);return i.isPickable=!1,i},eV=null,eA=null,eE=null,eT=()=>{let e=x.current,t=[],s=[];for(let n of ee){if(e.has(n.type))continue;let[i,r,a]=n.hit,l="mesh_interaction"===n.type?new I(.45,.85,1,.32):new I(1,.7,.35,.32);t.push([new p(i-.1,r,a),new p(i+.1,r,a)]),t.push([new p(i,r-.1,a),new p(i,r+.1,a)]),t.push([new p(i,r,a-.1),new p(i,r,a+.1)]),s.push([l,l],[l,l],[l,l])}eE=eI(eE,"replay-persistent-marks",t,s)};eT();let eZ=E.CreateSphere("replay-glow",{diameter:1,segments:12},ea),eF=new T("replay-glow-mat",ea);eF.disableLighting=!0,eF.emissiveColor=new b(1,.62,.2),eF.alpha=0,eZ.material=eF,eZ.isPickable=!1,eZ.isVisible=!1;let eO=1/0,eW=1/0,eB=1/0,eH=-1/0,eK=-1/0,eU=-1/0,eX=!1,eD=e=>{eO=Math.min(eO,e[0]),eW=Math.min(eW,e[1]),eB=Math.min(eB,e[2]),eH=Math.max(eH,e[0]),eK=Math.max(eK,e[1]),eU=Math.max(eU,e[2])},eG=()=>{let e;if(eX||!Number.isFinite(eO))return;let t=(eO+eH)/2,s=(eW+eK)/2,n=(eB+eU)/2,i=eH-eO,r=eK-eW,a=eU-eB,l=Math.sqrt(i*i+r*r+a*a);el.setTarget(new p(t,s,n)),e=1.3*l,el.radius=Number.isFinite(e)?Math.max(8,e):12,eX=!0};for(let e of Q)eD(e.position);for(let e of ee)eD(e.origin),eD(e.hit);for(let e of es.values())for(let t of e)eD(t.position);for(let e of X)eD(e.aabb.slice(0,3)),eD(e.aabb.slice(3,6));eG();{let e=eH-eO,t=eK-eW,s=eU-eB,n=Number.isFinite(e)?Math.sqrt(e*e+t*t+s*s):0,i=Math.min(Math.max(.035*n,.45),Math.max(.45,.18*n));eN=i/.35,eS=Math.max(.16*n,3.2*i,1.4),eR.scaling.setAll(eN)}let eY=-1,eJ=e=>{var n;let i=y.current;if(!i&&e===eY)return;y.current=!1,eY=e,i&&eT();let r=x.current;(n=R.current)!==ec&&(ec=n,"follow"===n?(el.detachControl(),ea.activeCamera=eo):(ea.activeCamera=el,el.attachControl(t,!0)));let a="follow"===R.current,l=r.has("camera_sample")?null:(e=>{if(0===Q.length)return null;let t=0,s=Q.length-1,n=-1;for(;t<=s;){let i=t+s>>1;Q[i].at<=e?(n=i,t=i+1):s=i-1}return n>=0?Q[n]:null})(e);if(l){eR.position.set(l.position[0],l.position[1],l.position[2]);let e=l.direction,t=Math.sqrt(e[0]*e[0]+e[1]*e[1]+e[2]*e[2])||1,s=eS,n=new p(l.position[0]+e[0]/t*s,l.position[1]+e[1]/t*s,l.position[2]+e[2]/t*s);if(a)eR.isVisible=!1,e$.isVisible=!1,eq.isVisible=!1,eo.position.set(l.position[0],l.position[1],l.position[2]),eo.setTarget(n),l.fov&&l.fov>0&&(eo.fov=l.fov);else{eR.isVisible=!0,e$.isVisible=!0,e$=E.CreateLines("replay-camera-frustum",{points:[eR.position.clone(),n],instance:e$},ea);let e=(l.fov&&l.fov>0?l.fov:Math.PI/3)/2,t=s*Math.tan(e);eq.isVisible=!0,eq.position.copyFrom(eR.position),eq.lookAt(n),eq.scaling.set(2*t,2*t,s)}}else eR.isVisible=!1,e$.isVisible=!1,eq.isVisible=!1;let o=r.has("node_transform");for(let t of ej){let s=o?null:eP(t.samples,e);if(!s){t.mesh.isVisible=!1;continue}t.mesh.isVisible=!0,t.mesh.position.set(s[0],s[1],s[2])}let c=ee.filter(t=>!r.has(t.type)&&t.at<=e&&t.at>=e-2200),u=[],h=[],d=[],m=[],f=null;for(let t of c){let s=e-t.at,n=Math.max(0,Math.min(1,1-s/2200)),i=new I(1,.62,.2,.18+.72*n),r=new p(t.origin[0],t.origin[1],t.origin[2]),a=new p(t.hit[0],t.hit[1],t.hit[2]);u.push([r,a]),h.push([i,i]);let l=.12+.08*n;d.push([new p(a.x-l,a.y,a.z),new p(a.x+l,a.y,a.z)]),d.push([new p(a.x,a.y-l,a.z),new p(a.x,a.y+l,a.z)]),d.push([new p(a.x,a.y,a.z-l),new p(a.x,a.y,a.z+l)]);let o=new I(1,.78,.42,.22+.72*n);if(m.push([o,o],[o,o],[o,o]),s<=900){let e=1-s/900;(!f||e>f.t)&&(f={hit:t.hit,t:e})}}if(f){let e=.25+.9*f.t;eZ.isVisible=!0,eZ.scaling.set(e,e,e),eZ.position.set(f.hit[0],f.hit[1],f.hit[2]),eF.alpha=.12+.5*f.t}else eZ.isVisible=!1;let b=null,g=-1/0;for(let e of c)e.mesh&&e.at>g&&(g=e.at,b=e.mesh);b!==z.current&&(z.current=b,s||er(b)),eV=eI(eV,"replay-trail-lines",u,h),eA=eI(eA,"replay-trail-hits",d,m)},eQ=G.length>0?G[G.length-1].ts-J:0,e0=eQ,e1=G.length>0?G[G.length-1].ts:-1/0,e2=G.map(e=>({type:e.type,ts:e.ts})),e5=0,e3=null;if(f)j.current=null,_.current=e=>{if(s)return;let t="number"==typeof e.ts?e.ts:NaN;if(!Number.isFinite(t)||t<=e1)return;e1=t;let n=t-J;if(n>e0&&(e0=n),n>eQ&&(eQ=n),e2.push({type:e.type,ts:t}),"camera_sample"===e.type){let t=e.position,s=e.direction;if(t&&s){let i=[t[0],t[1],t[2]];en=i;let r="number"==typeof e.fov?e.fov:void 0;Q.push({at:n,position:i,direction:[s[0],s[1],s[2]],...void 0!==r?{fov:r}:{}}),eD(i),eG()}}else if("pointer_click"===e.type){let t=e.hitPoint,s=e.ray,i=s?.origin??en;if(t&&i){let s="string"==typeof e.hitMesh?e.hitMesh:void 0;ee.push({at:n,type:"pointer_click",origin:[i[0],i[1],i[2]],hit:[t[0],t[1],t[2]],...s?{mesh:s}:{}}),eD(t),y.current=!0}}else if("mesh_interaction"===e.type){let t=e.point;if(t&&en){let s="string"==typeof e.mesh?e.mesh:void 0;ee.push({at:n,type:"mesh_interaction",origin:[en[0],en[1],en[2]],hit:[t[0],t[1],t[2]],...s?{mesh:s}:{}}),eD(t),y.current=!0}}else if("node_transform"===e.type){let t=e.position;if(e.boneId||"string"!=typeof e.nodeId||!t)return;let s="string"==typeof e.childPath?e.childPath:void 0,i=s?`${e.nodeId}/${s}`:e.nodeId;((e,t)=>{let s=ey(e),n=ew.get(s);if(!n){n=e_(s,e,[]);let t=N.current;N.current=ej.map((e,s)=>t[s]??null),Y(ej.map(e=>e.key))}e===n.driveKey?n.samples.push(t):e===s&&n.driveKey!==s&&(n.driveKey=s,n.samples.length=0,n.samples.push(t))})(i,{at:n,position:[t[0],t[1],t[2]]}),eD(t)}let i=performance.now();i-e5>250&&(e5=i,U(c(e2,J,Math.max(1,eQ)))),w.current&&n>k.current&&(k.current=n)},M.current=eQ,k.current=eQ,w.current=!0,et(!0),H(!1),F(eQ),W(eQ),U(c(e2,J,Math.max(1,eQ))),eJ(eQ),e3=setInterval(()=>void ek(),4e3);else{let e=new Z(O,{reset(){},apply(){}},{onProgress:e=>{s||(k.current=e,W(e))},onComplete:()=>{s||H(!1)}});j.current=e,F(e.durationMs),U(c(G,J,e.durationMs)),e.update(0),eJ(0)}let e8=V.Identity(),e6=new Map,e4=e=>{let t=e6.get(e);if(t)return t;let s={w:e.offsetWidth||60,h:e.offsetHeight||16};return e.offsetWidth>0&&e6.set(e,s),s},e9=performance.now(),e7=0;ei.runRenderLoop(()=>{if(f){let e=performance.now(),t=e-e9;if(e9=e,w.current)k.current+=t,k.current>eQ&&(eQ=k.current),M.current=eQ,W(k.current),e-e7>250&&(e7=e,F(eQ));else if(v.current){let e=k.current+t;e>=eQ&&(e=eQ),k.current=e,W(e)}}eJ(k.current),ea.render(),(()=>{if(!S.current)return;let e=t.clientWidth||ei.getRenderWidth(),s=t.clientHeight||ei.getRenderHeight(),n=el.viewport.toGlobal(e,s),i=ea.getTransformMatrix(),r=z.current,a=e=>e.slice(e.lastIndexOf("/")+1),l=e=>!!r&&(r===e||a(r)===a(e)||e.endsWith(`/${r}`)||r.endsWith(`/${e}`)),o=[],c=C.current,u=P.current;for(let e=0;e<c.length;e++){let t=u[e];if(!t)continue;let s=p.Project(c[e].center,e8,i,n);if(s.z<0||s.z>1){t.style.opacity="0";continue}o.push({el:t,x:s.x,y:s.y,liftPct:140,highlighted:l(c[e].name)})}let h=N.current;for(let e=0;e<ej.length;e++){let t=h[e];if(!t)continue;let s=ej[e].mesh;if(!s.isVisible){t.style.opacity="0";continue}let r=p.Project(s.position,e8,i,n);if(r.z<0||r.z>1){t.style.opacity="0";continue}o.push({el:t,x:r.x,y:r.y,liftPct:180,highlighted:l(ej[e].key)})}o.sort((e,t)=>e.highlighted!==t.highlighted?e.highlighted?-1:1:e.y-t.y||e.x-t.x);let d=[];for(let e of o){let{w:t,h:s}=e4(e.el),n=e.x-t/2,i=e.x+t/2,r=e.y-e.liftPct/100*s,a=r,l=!0,o=0;for(;l&&o++<256;)for(let e of(l=!1,d))n<e.right&&i>e.left&&a<e.bottom&&a+s>e.top&&(a=e.bottom+1,l=!0);d.push({left:n,right:i,top:a,bottom:a+s});let c=a-r;e.el.style.opacity="1",e.el.style.zIndex=e.highlighted?"10":"",e.el.style.transform=`translate(${e.x}px, ${e.y+c}px) translate(-50%, -${e.liftPct}%)`}})()});let te=()=>ei.resize();window.addEventListener("resize",te),A("ready"),n=()=>{window.removeEventListener("resize",te),e3&&clearInterval(e3),_.current=null,j.current?.pause(),e$.dispose(),eq.dispose(),eV?.dispose(),eA?.dispose(),eE?.dispose(),eZ.dispose(),L.current?.dispose(),L.current=null,q.current=[],$.current=null,ea.dispose(),ei.dispose(),g.current=null,j.current=null}}catch(e){if(s)return;A("error"),T(e instanceof Error?e.message:"Failed to load replay.")}})(),()=>{s=!0,n?.()}},[o,m,f]);let ed=(0,s.useCallback)(()=>{if(f){et(!1),w.current=!1,H(e=>{let t=!e;return v.current=t,t});return}let e=j.current;e&&H(t=>(t?e.pause():e.play(),!t))},[f]),em=(0,s.useCallback)(e=>{if(f){et(!1),w.current=!1,H(!1),v.current=!1,k.current=e,W(e);return}let t=j.current;t&&(t.pause(),t.seek(e),H(!1),k.current=e,W(e))},[f]),ep=(0,s.useCallback)(()=>{et(!0),w.current=!0,H(!1),v.current=!1,k.current=M.current,W(M.current)},[]),{gated:ef}=function(e,t,i,r,a){let[l,o]=(0,s.useState)(n),c=(0,s.useRef)(r),u=(0,s.useRef)(a);return c.current=r,u.current=a,(0,s.useEffect)(()=>i?e.liveSession(t,e=>c.current(e),{onReset:()=>u.current(),onState:o}):void o(n),[e,t,i]),l}(o,m,f&&"ready"===V,e=>_.current?.(e),()=>{}),eb=(0,s.useCallback)(e=>{if(!ei)return!1;if(ei===e)return!0;let t=e=>e.slice(e.lastIndexOf("/")+1);return t(ei)===t(e)||e.endsWith(`/${ei}`)||ei.endsWith(`/${e}`)},[ei]),eg=(0,s.useCallback)(async t=>{let s=$.current;if(s){ec(!0),eh(`Loading ${t.name}…`);try{let[{loadSceneBackdrop:n}]=await Promise.all([e.A(90974),e.A(22365)]);if($.current!==s)return;L.current?.dispose();let i=await n(s,t);if($.current!==s)return void i.dispose();for(let e of(L.current=i,q.current))e.setEnabled(!1);y.current=!0,el(!0),eh(`Loaded ${t.name} (${i.meshes.length} meshes).`)}catch(e){eh(e instanceof Error?e.message:"Could not load model.")}finally{ec(!1)}}},[]),ek=(0,s.useCallback)(e=>{let t=e.target.files?.[0];e.target.value="",t&&eg(t)},[eg]),ex=(0,s.useCallback)(()=>{for(let e of(L.current?.dispose(),L.current=null,q.current))e.setEnabled(!0);y.current=!0,el(!1),eh(null)},[]);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("canvas",{ref:b,className:"aspect-video w-full rounded-lg border border-edge bg-ink"}),(0,t.jsxs)("div",{className:`pointer-events-none absolute inset-0 overflow-hidden ${J?"":"hidden"}`,children:[X.map((e,s)=>(0,t.jsx)("div",{title:e,ref:e=>{e&&(P.current[s]=e)},className:`absolute left-0 top-0 whitespace-nowrap rounded px-1.5 py-0.5 text-[10px] font-medium opacity-0 transition-colors ${eb(e)?"bg-amber/30 text-white ring-2 ring-amber shadow-lg shadow-amber/30":"bg-ink/80 text-saffron ring-1 ring-amber/30"}`,children:h(e)},e)),G.map((e,s)=>(0,t.jsx)("div",{title:e,ref:e=>{e&&(N.current[s]=e)},className:`absolute left-0 top-0 whitespace-nowrap rounded px-1.5 py-0.5 text-[10px] font-medium opacity-0 transition-colors ${eb(e)?"bg-fuchsia-400/30 text-white ring-2 ring-fuchsia-300 shadow-lg shadow-fuchsia-500/30":"bg-ink/80 text-fuchsia-300 ring-1 ring-fuchsia-400/30"}`,children:h(e)},`actor-${e}`))]}),"ready"===V&&(X.length>0||G.length>0)?(0,t.jsx)("button",{type:"button",onClick:()=>Q(e=>!e),className:"absolute left-3 top-3 rounded-md border border-edge bg-ink/80 px-2 py-1 text-xs font-medium text-fg transition hover:bg-ink hover:text-white","aria-pressed":J?"true":"false",children:J?"Hide labels":"Show labels"}):null,"ready"===V&&"birdview"===es?(0,t.jsx)(a.ZoomButtons,{onZoom:e=>g.current&&(0,r.stepZoom)(g.current,e)}):null,"ready"!==V?(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0 grid place-items-center text-sm text-fg-muted",children:"loading"===V?"Loading replay…":"empty"===V?"No replayable events (raw retention may be disabled).":"error"===V?E??"Replay unavailable.":null}):null]}),(0,t.jsxs)("div",{className:"mt-3 flex items-center gap-3",children:[(0,t.jsx)("button",{type:"button",onClick:ed,disabled:"ready"!==V,className:"rounded-md bg-amber px-3 py-1.5 text-sm font-medium text-ink transition hover:bg-ember disabled:opacity-40",children:B?"Pause":"Play"}),f?(0,t.jsxs)("button",{type:"button",onClick:ep,disabled:"ready"!==V,"aria-pressed":ee?"true":"false",className:`flex items-center gap-1.5 rounded-md px-2.5 py-1.5 text-sm font-medium transition disabled:opacity-40 ${ee?"bg-rose-500/20 text-rose-300 ring-1 ring-rose-400/40":"border border-edge text-fg hover:bg-ink hover:text-white"}`,children:[(0,t.jsx)("span",{className:`inline-block h-2 w-2 rounded-full ${ee?"animate-pulse bg-rose-400":"bg-fg-muted"}`}),ee?"LIVE":"Resume live"]}):null,(0,t.jsxs)("div",{role:"group","aria-label":"Camera view",className:"flex items-center rounded-md border border-edge p-0.5 text-xs font-medium",children:[(0,t.jsx)("button",{type:"button",onClick:()=>en("birdview"),disabled:"ready"!==V,"aria-pressed":"birdview"===es?"true":"false",className:`rounded px-2 py-1 transition disabled:opacity-40 ${"birdview"===es?"bg-amber text-ink":"text-fg hover:text-white"}`,children:"Birdview"}),(0,t.jsx)("button",{type:"button",onClick:()=>en("follow"),disabled:"ready"!==V,"aria-pressed":"follow"===es?"true":"false",className:`rounded px-2 py-1 transition disabled:opacity-40 ${"follow"===es?"bg-amber text-ink":"text-fg hover:text-white"}`,children:"Follow camera"})]}),(0,t.jsx)("span",{className:"w-12 text-right font-mono text-xs tabular-nums text-fg-muted",children:u(O)}),(0,t.jsx)("input",{type:"range",min:0,max:Math.max(1,Z),step:50,value:Math.min(O,Z),onChange:e=>em(Number(e.target.value)),disabled:"ready"!==V,className:"flex-1 accent-amber"}),(0,t.jsx)("span",{className:"w-12 font-mono text-xs tabular-nums text-fg-muted",children:u(Z)})]}),"ready"===V?(0,t.jsxs)("div",{className:"mt-3 flex flex-wrap items-center gap-3",children:[(0,t.jsx)("input",{ref:I,type:"file",accept:".glb,.gltf,model/gltf-binary,model/gltf+json",onChange:ek,className:"hidden"}),(0,t.jsx)("button",{type:"button",onClick:()=>I.current?.click(),disabled:eo,className:"rounded-md border border-edge bg-ink/80 px-2.5 py-1.5 text-xs font-medium text-fg transition hover:bg-ink hover:text-white disabled:opacity-40",children:eo?"Loading model…":ea?"Replace model (.glb)":"Load model (.glb)"}),ea?(0,t.jsx)("button",{type:"button",onClick:ex,disabled:eo,className:"rounded-md border border-edge px-2.5 py-1.5 text-xs font-medium text-fg transition hover:bg-ink hover:text-white disabled:opacity-40",children:"Remove model"}):null,eu?(0,t.jsx)("span",{className:"text-xs text-fg-muted",role:"status",children:eu}):(0,t.jsx)("span",{className:"text-xs text-fg-muted",children:"Load a glTF model to replace the wireframe boxes with your real scene."})]}):null,"ready"===V?(0,t.jsx)(d,{lanes:K,duration:Z,progress:O,onSeek:em,hiddenTypes:p??l}):null,f&&ef&&"ready"===V?(0,t.jsx)("p",{className:"mt-2 text-xs text-fg-muted",children:"Live follow is unavailable — raw session retention is disabled on the collector."}):null]})}],76421)},95338,e=>{e.v(t=>Promise.all(["static/chunks/21at65obnoo8z.js","static/chunks/08m_4cihfmik8.js","static/chunks/2uhrhq35bki6u.js","static/chunks/1di5enkavl9vx.js","static/chunks/1gtj_l5ame5mw.js","static/chunks/0ti58h622yo-_.js","static/chunks/2btabnibkm0db.js"].map(t=>e.l(t))).then(()=>t(62619)))},79935,e=>{e.v(t=>Promise.all(["static/chunks/1dfwa563iciz3.js","static/chunks/00g5suuoa-_wn.js","static/chunks/21at65obnoo8z.js","static/chunks/1uu55ejvi7q5u.js","static/chunks/0ti58h622yo-_.js","static/chunks/0bgcaf2x51kms.js","static/chunks/3fdx-rnos5ft-.js","static/chunks/1di5enkavl9vx.js","static/chunks/0ubxyut5rr600.js"].map(t=>e.l(t))).then(()=>t(90189)))},49958,e=>{e.v(t=>Promise.all(["static/chunks/00g5suuoa-_wn.js","static/chunks/08obqw64faj8j.js","static/chunks/1d1tpj9nm1nhf.js","static/chunks/3fdx-rnos5ft-.js","static/chunks/21at65obnoo8z.js","static/chunks/1xbzxfeq9789f.js","static/chunks/1i4f3n_2_3ery.js","static/chunks/0ti58h622yo-_.js","static/chunks/0ubxyut5rr600.js","static/chunks/1di5enkavl9vx.js","static/chunks/1uu55ejvi7q5u.js","static/chunks/0u8yr4k1y6m2t.js"].map(t=>e.l(t))).then(()=>t(50734)))},59188,e=>{e.v(t=>Promise.all(["static/chunks/1j7e3qpjuj89a.js","static/chunks/00g5suuoa-_wn.js","static/chunks/3ez20hi1mxw0w.js","static/chunks/21at65obnoo8z.js","static/chunks/0y4e49hpuucdi.js","static/chunks/0ti58h622yo-_.js","static/chunks/21ko5mxfderw0.js","static/chunks/1di5enkavl9vx.js"].map(t=>e.l(t))).then(()=>t(67049)))},7513,e=>{e.v(t=>Promise.all(["static/chunks/3ed24zmt8qfys.js","static/chunks/09ppu_k464q-n.js","static/chunks/3fdx-rnos5ft-.js","static/chunks/1di5enkavl9vx.js","static/chunks/21at65obnoo8z.js"].map(t=>e.l(t))).then(()=>t(67984)))},58532,e=>{e.v(t=>Promise.all(["static/chunks/3c_31f20z4jrl.js","static/chunks/1di5enkavl9vx.js","static/chunks/21at65obnoo8z.js"].map(t=>e.l(t))).then(()=>t(29959)))},43302,e=>{e.v(t=>Promise.all(["static/chunks/3ckp70rgr63u9.js","static/chunks/00g5suuoa-_wn.js","static/chunks/026vw95s88gsy.js","static/chunks/20qelrstvz9_n.js","static/chunks/21at65obnoo8z.js","static/chunks/1_8acnu6_-qe-.js","static/chunks/08obqw64faj8j.js","static/chunks/1d1tpj9nm1nhf.js","static/chunks/0ti58h622yo-_.js","static/chunks/0u8yr4k1y6m2t.js","static/chunks/3fdx-rnos5ft-.js","static/chunks/0bgcaf2x51kms.js","static/chunks/0ubxyut5rr600.js","static/chunks/1di5enkavl9vx.js","static/chunks/1uu55ejvi7q5u.js","static/chunks/3a_khw6q6pyh1.js"].map(t=>e.l(t))).then(()=>t(16874)))},61027,e=>{e.v(t=>Promise.all(["static/chunks/2si5cg3hl5dtf.js","static/chunks/2h5hase6ewoyc.js","static/chunks/00g5suuoa-_wn.js","static/chunks/3fdx-rnos5ft-.js","static/chunks/1bmyq1b0by7ug.js","static/chunks/21at65obnoo8z.js","static/chunks/0ubxyut5rr600.js","static/chunks/0ti58h622yo-_.js","static/chunks/1d1tpj9nm1nhf.js","static/chunks/0bgcaf2x51kms.js","static/chunks/1uu55ejvi7q5u.js","static/chunks/1di5enkavl9vx.js"].map(t=>e.l(t))).then(()=>t(27455)))},87961,e=>{e.v(t=>Promise.all(["static/chunks/00g5suuoa-_wn.js","static/chunks/3ez20hi1mxw0w.js","static/chunks/21at65obnoo8z.js","static/chunks/1uu55ejvi7q5u.js","static/chunks/3qatb38-tk_gd.js","static/chunks/1di5enkavl9vx.js","static/chunks/3fdx-rnos5ft-.js","static/chunks/0bgcaf2x51kms.js","static/chunks/0ubxyut5rr600.js","static/chunks/0ti58h622yo-_.js"].map(t=>e.l(t))).then(()=>t(87531)))},90974,e=>{e.v(t=>Promise.all(["static/chunks/2ies66gmou203.js","static/chunks/1di5enkavl9vx.js"].map(t=>e.l(t))).then(()=>t(97900)))},22365,e=>{e.v(t=>Promise.all(["static/chunks/2mgmvz66gh5ub.js","static/chunks/00g5suuoa-_wn.js","static/chunks/20qelrstvz9_n.js","static/chunks/08obqw64faj8j.js","static/chunks/1qjsgebn9m-0l.js","static/chunks/21at65obnoo8z.js","static/chunks/18txc1wwwu9f9.js","static/chunks/1bmyq1b0by7ug.js","static/chunks/1rr74xxjtckyv.js","static/chunks/141tngxsk32hq.js","static/chunks/04g-l-_b4payc.js","static/chunks/1d1tpj9nm1nhf.js","static/chunks/0f0-i105odxqd.js","static/chunks/0bgcaf2x51kms.js","static/chunks/1uu55ejvi7q5u.js","static/chunks/1di5enkavl9vx.js","static/chunks/1_8acnu6_-qe-.js","static/chunks/0u8yr4k1y6m2t.js","static/chunks/2c--awgkdcikq.js","static/chunks/0ti58h622yo-_.js","static/chunks/0ubxyut5rr600.js","static/chunks/21muzwu43o8xg.js","static/chunks/21ko5mxfderw0.js","static/chunks/3fgfbxxb-j_bn.js"].map(t=>e.l(t))).then(()=>t(80911)))}]);
@@ -1 +0,0 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,37875,e=>{"use strict";class t{static GetShadersRepository(e=0){return 0===e?t.ShadersRepository:t.ShadersRepositoryWGSL}static GetShadersStore(e=0){return 0===e?t.ShadersStore:t.ShadersStoreWGSL}static GetIncludesShadersStore(e=0){return 0===e?t.IncludesShadersStore:t.IncludesShadersStoreWGSL}}t.ShadersRepository="src/Shaders/",t.ShadersStore={},t.IncludesShadersStore={},t.ShadersRepositoryWGSL="src/ShadersWGSL/",t.ShadersStoreWGSL={},t.IncludesShadersStoreWGSL={},e.s(["ShaderStore",0,t])},93298,e=>{"use strict";var t,i,s=e.i(90176);class r{get wrapU(){return this._cachedWrapU}set wrapU(e){this._cachedWrapU=e}get wrapV(){return this._cachedWrapV}set wrapV(e){this._cachedWrapV=e}get wrapR(){return this._cachedWrapR}set wrapR(e){this._cachedWrapR=e}get anisotropicFilteringLevel(){return this._cachedAnisotropicFilteringLevel}set anisotropicFilteringLevel(e){this._cachedAnisotropicFilteringLevel=e}get comparisonFunction(){return this._comparisonFunction}set comparisonFunction(e){this._comparisonFunction=e}get useMipMaps(){return this._useMipMaps}set useMipMaps(e){this._useMipMaps=e}constructor(){this.samplingMode=-1,this._useMipMaps=!0,this._cachedWrapU=null,this._cachedWrapV=null,this._cachedWrapR=null,this._cachedAnisotropicFilteringLevel=null,this._comparisonFunction=0}setParameters(e=1,t=1,i=1,s=1,r=2,a=0){return this._cachedWrapU=e,this._cachedWrapV=t,this._cachedWrapR=i,this._cachedAnisotropicFilteringLevel=s,this.samplingMode=r,this._comparisonFunction=a,this}compareSampler(e){return this._cachedWrapU===e._cachedWrapU&&this._cachedWrapV===e._cachedWrapV&&this._cachedWrapR===e._cachedWrapR&&this._cachedAnisotropicFilteringLevel===e._cachedAnisotropicFilteringLevel&&this.samplingMode===e.samplingMode&&this._comparisonFunction===e._comparisonFunction&&this._useMipMaps===e._useMipMaps}}(t=i||(i={}))[t.Unknown=0]="Unknown",t[t.Url=1]="Url",t[t.Temp=2]="Temp",t[t.Raw=3]="Raw",t[t.Dynamic=4]="Dynamic",t[t.RenderTarget=5]="RenderTarget",t[t.MultiRenderTarget=6]="MultiRenderTarget",t[t.Cube=7]="Cube",t[t.CubeRaw=8]="CubeRaw",t[t.CubePrefiltered=9]="CubePrefiltered",t[t.Raw3D=10]="Raw3D",t[t.Raw2DArray=11]="Raw2DArray",t[t.DepthStencil=12]="DepthStencil",t[t.CubeRawRGBD=13]="CubeRawRGBD",t[t.Depth=14]="Depth",t[t.External=15]="External";class a extends r{get useMipMaps(){return null===this._useMipMaps?this.generateMipMaps:this._useMipMaps}set useMipMaps(e){this._useMipMaps=e}get uniqueId(){return this._uniqueId}_setUniqueId(e){this._uniqueId=e}getEngine(){return this._engine}get source(){return this._source}constructor(e,t,i=!1){super(),this.isReady=!1,this.isCube=!1,this.is3D=!1,this.is2DArray=!1,this.isMultiview=!1,this.url="",this.generateMipMaps=!1,this._useMipMaps=null,this.mipLevelCount=1,this.samples=0,this.type=-1,this.format=-1,this.onLoadedObservable=new s.Observable,this.onErrorObservable=new s.Observable,this.onRebuildCallback=null,this.width=0,this.height=0,this.depth=0,this.baseWidth=0,this.baseHeight=0,this.baseDepth=0,this.invertY=!1,this._invertVScale=!1,this._associatedChannel=-1,this._source=0,this._buffer=null,this._bufferView=null,this._bufferViewArray=null,this._bufferViewArrayArray=null,this._size=0,this._extension="",this._files=null,this._workingCanvas=null,this._workingContext=null,this._cachedCoordinatesMode=null,this._isDisabled=!1,this._compression=null,this._sphericalPolynomial=null,this._sphericalPolynomialPromise=null,this._sphericalPolynomialComputed=!1,this._lodGenerationScale=0,this._lodGenerationOffset=0,this._useSRGBBuffer=!1,this._creationFlags=0,this._lodTextureHigh=null,this._lodTextureMid=null,this._lodTextureLow=null,this._isRGBD=!1,this._linearSpecularLOD=!1,this._irradianceTexture=null,this._hardwareTexture=null,this._maxLodLevel=null,this._references=1,this._gammaSpace=null,this._premulAlpha=!1,this._dynamicTextureSource=null,this._autoMSAAManagement=!1,this._engine=e,this._source=t,this._uniqueId=a._Counter++,i||(this._hardwareTexture=e._createHardwareTexture())}incrementReferences(){this._references++}updateSize(e,t,i=1){this._engine.updateTextureDimensions(this,e,t,i),this.width=e,this.height=t,this.depth=i,this.baseWidth=e,this.baseHeight=t,this.baseDepth=i,this._size=e*t*i}_rebuild(){let e;if(this.isReady=!1,this._cachedCoordinatesMode=null,this._cachedWrapU=null,this._cachedWrapV=null,this._cachedWrapR=null,this._cachedAnisotropicFilteringLevel=null,this.onRebuildCallback){let e=this.onRebuildCallback(this),t=t=>{t._swapAndDie(this,!1),this.isReady=e.isReady};e.isAsync?e.proxy.then(t):t(e.proxy);return}switch(this.source){case 2:case 12:case 14:break;case 1:e=this._engine.createTexture(this._originalUrl??this.url,!this.generateMipMaps,this.invertY,null,this.samplingMode,e=>{e._swapAndDie(this,!1),this.isReady=!0},null,this._buffer,void 0,this.format,this._extension,void 0,void 0,void 0,this._useSRGBBuffer);return;case 3:if((e=this._engine.createRawTexture(this._bufferView,this.baseWidth,this.baseHeight,this.format,this.generateMipMaps,this.invertY,this.samplingMode,this._compression,this.type,this._creationFlags,this._useSRGBBuffer,this.mipLevelCount))._swapAndDie(this,!1),this._bufferViewArray)for(let e=0;e<this._bufferViewArray.length;e++){let t=this._bufferViewArray[e];t&&this._engine.updateRawTexture(this,t,this.format,this.invertY,this._compression,this.type,this._useSRGBBuffer,e)}this.isReady=!0;break;case 10:(e=this._engine.createRawTexture3D(this._bufferView,this.baseWidth,this.baseHeight,this.baseDepth,this.format,this.generateMipMaps,this.invertY,this.samplingMode,this._compression,this.type))._swapAndDie(this,!1),this.isReady=!0;break;case 11:if((e=this._engine.createRawTexture2DArray(this._bufferView,this.baseWidth,this.baseHeight,this.baseDepth,this.format,this.generateMipMaps,this.invertY,this.samplingMode,this._compression,this.type,this._creationFlags,this.mipLevelCount))._swapAndDie(this,!1),this._bufferViewArray)for(let e=0;e<this._bufferViewArray.length;e++){let t=this._bufferViewArray[e];t&&this._engine.updateRawTexture2DArray(this,t,this.format,this.invertY,this._compression,this.type,e)}this.isReady=!0;break;case 4:(e=this._engine.createDynamicTexture(this.baseWidth,this.baseHeight,this.generateMipMaps,this.samplingMode))._swapAndDie(this,!1),this._dynamicTextureSource&&this._engine.updateDynamicTexture(this,this._dynamicTextureSource,this.invertY,this._premulAlpha,this.format,!0);break;case 7:e=this._engine.createCubeTexture(this.url,null,this._files,!this.generateMipMaps,()=>{e._swapAndDie(this,!1),this.isReady=!0},null,this.format,this._extension,!1,0,0,null,void 0,this._useSRGBBuffer,ArrayBuffer.isView(this._buffer)?this._buffer:null);return;case 8:(e=this._engine.createRawCubeTexture(this._bufferViewArray,this.width,this._originalFormat??this.format,this.type,this.generateMipMaps,this.invertY,this.samplingMode,this._compression))._swapAndDie(this,!1),this.isReady=!0;break;case 13:return;case 9:(e=this._engine.createPrefilteredCubeTexture(this.url,null,this._lodGenerationScale,this._lodGenerationOffset,e=>{e&&e._swapAndDie(this,!1),this.isReady=!0},null,this.format,this._extension))._sphericalPolynomial=this._sphericalPolynomial;return}}_swapAndDie(e,t=!0){this._hardwareTexture?.setUsage(e._source,this.generateMipMaps,this.is2DArray,this.isCube,this.is3D,this.width,this.height,this.depth),e._hardwareTexture=this._hardwareTexture,e._setUniqueId(a._Counter++),t&&(e._isRGBD=this._isRGBD),this._lodTextureHigh&&(e._lodTextureHigh&&e._lodTextureHigh.dispose(),e._lodTextureHigh=this._lodTextureHigh),this._lodTextureMid&&(e._lodTextureMid&&e._lodTextureMid.dispose(),e._lodTextureMid=this._lodTextureMid),this._lodTextureLow&&(e._lodTextureLow&&e._lodTextureLow.dispose(),e._lodTextureLow=this._lodTextureLow),this._irradianceTexture&&(e._irradianceTexture&&e._irradianceTexture.dispose(),e._irradianceTexture=this._irradianceTexture);let i=this._engine.getLoadedTexturesCache(),s=i.indexOf(this);-1!==s&&i.splice(s,1),-1===(s=i.indexOf(e))&&i.push(e)}dispose(){this._references--,0===this._references&&(this.onLoadedObservable.clear(),this.onErrorObservable.clear(),this._engine._releaseTexture(this),this._hardwareTexture=null,this._dynamicTextureSource=null)}}a._Counter=0,e.s(["InternalTexture",0,a],93298)},47997,e=>{"use strict";var t=e.i(95410);class i{constructor(e,i,s,r){this.normal=new t.Vector3(e,i,s),this.d=r}asArray(){return[this.normal.x,this.normal.y,this.normal.z,this.d]}clone(){return new i(this.normal.x,this.normal.y,this.normal.z,this.d)}getClassName(){return"Plane"}getHashCode(){let e=this.normal.getHashCode();return 397*e^this.d}normalize(){let e=Math.sqrt(this.normal.x*this.normal.x+this.normal.y*this.normal.y+this.normal.z*this.normal.z),t=0;return 0!==e&&(t=1/e),this.normal.x*=t,this.normal.y*=t,this.normal.z*=t,this.d*=t,this}transform(e){let t=i._TmpMatrix;e.invertToRef(t);let s=t.m,r=this.normal.x,a=this.normal.y,h=this.normal.z,n=this.d;return new i(r*s[0]+a*s[1]+h*s[2]+n*s[3],r*s[4]+a*s[5]+h*s[6]+n*s[7],r*s[8]+a*s[9]+h*s[10]+n*s[11],r*s[12]+a*s[13]+h*s[14]+n*s[15])}dotCoordinate(e){return this.normal.x*e.x+this.normal.y*e.y+this.normal.z*e.z+this.d}copyFromPoints(e,t,i){let s,r=t.x-e.x,a=t.y-e.y,h=t.z-e.z,n=i.x-e.x,o=i.y-e.y,l=i.z-e.z,u=a*l-h*o,c=h*n-r*l,d=r*o-a*n,_=Math.sqrt(u*u+c*c+d*d);return s=0!==_?1/_:0,this.normal.x=u*s,this.normal.y=c*s,this.normal.z=d*s,this.d=-(this.normal.x*e.x+this.normal.y*e.y+this.normal.z*e.z),this}isFrontFacingTo(e,i){return t.Vector3.Dot(this.normal,e)<=i}signedDistanceTo(e){return t.Vector3.Dot(e,this.normal)+this.d}static FromArray(e){return new i(e[0],e[1],e[2],e[3])}static FromPoints(e,t,s){let r=new i(0,0,0,0);return r.copyFromPoints(e,t,s),r}static FromPositionAndNormal(e,t){let s=new i(0,0,0,0);return this.FromPositionAndNormalToRef(e,t,s)}static FromPositionAndNormalToRef(e,t,i){return i.normal.copyFrom(t),i.normal.normalize(),i.d=-e.dot(i.normal),i}static SignedDistanceToPlaneFromPositionAndNormal(e,i,s){let r=-(i.x*e.x+i.y*e.y+i.z*e.z);return t.Vector3.Dot(s,i)+r}}i._TmpMatrix=t.Matrix.Identity(),e.s(["Plane",0,i])},88645,e=>{"use strict";e.s(["useOpenGLOrientationForUV",()=>!1])},61623,e=>{"use strict";e.s([],98776),e.i(98776);var t=e.i(80434),i=e.i(71615),s=e.i(98551),r=e.i(35160),a=e.i(93298);let h=!1;class n extends i.Texture{constructor(e,t,n,o=!1,l=3,u=5,c){const d=!n||n._isScene;super(null,d?n:n?.scene,d?!o:n,c,l,void 0,void 0,void 0,void 0,u),h||(h=!0,r.ThinEngine.prototype.createDynamicTexture=function(e,t,i,r){let h=new a.InternalTexture(this,4);return h.baseWidth=e,h.baseHeight=t,i&&(e=this.needPOTTextures?(0,s.GetExponentOfTwo)(e,this._caps.maxTextureSize):e,t=this.needPOTTextures?(0,s.GetExponentOfTwo)(t,this._caps.maxTextureSize):t),h.width=e,h.height=t,h.isReady=!1,h.generateMipMaps=i,h.samplingMode=r,this.updateTextureSamplingMode(r,h),this._internalTexturesCache.push(h),h},r.ThinEngine.prototype.updateDynamicTexture=function(e,t,i,s=!1,r,a=!1,h=!1){if(!e)return;let n=this._gl,o=n.TEXTURE_2D,l=this._bindTextureDirectly(o,e,!0,a);this._unpackFlipY(void 0===i?e.invertY:i),s&&n.pixelStorei(n.UNPACK_PREMULTIPLY_ALPHA_WEBGL,1);let u=this._getWebGLTextureType(e.type),c=this._getInternalFormat(r||e.format),d=this._getRGBABufferInternalSizedFormat(e.type,c);n.texImage2D(o,0,d,c,u,t),e.generateMipMaps&&n.generateMipmap(o),l||this._bindTextureDirectly(o,null),s&&n.pixelStorei(n.UNPACK_PREMULTIPLY_ALPHA_WEBGL,0),r&&(e.format=r),e._dynamicTextureSource=t,e._premulAlpha=s,e.invertY=i||!1,e.isReady=!0}),this.name=e,this.wrapU=i.Texture.CLAMP_ADDRESSMODE,this.wrapV=i.Texture.CLAMP_ADDRESSMODE,this._generateMipMaps=o;const _=this._getEngine();if(!_)return;t.getContext?(this._canvas=t,this._ownCanvas=!1,this._texture=_.createDynamicTexture(this._canvas.width,this._canvas.height,o,l)):(this._canvas=_.createCanvas(1,1),this._ownCanvas=!0,t.width||0===t.width?this._texture=_.createDynamicTexture(t.width,t.height,o,l):this._texture=_.createDynamicTexture(t,t,o,l));const p=this.getSize();this._canvas.width!==p.width&&(this._canvas.width=p.width),this._canvas.height!==p.height&&(this._canvas.height=p.height),this._context=this._canvas.getContext("2d")}getClassName(){return"DynamicTexture"}get canRescale(){return!0}_recreate(e){this._canvas.width=e.width,this._canvas.height=e.height,this.releaseInternalTexture(),this._texture=this._getEngine().createDynamicTexture(e.width,e.height,this._generateMipMaps,this.samplingMode)}scale(e){let t=this.getSize();t.width*=e,t.height*=e,this._recreate(t)}scaleTo(e,t){let i=this.getSize();i.width=e,i.height=t,this._recreate(i)}getContext(){return this._context}clear(e){let t=this.getSize();e&&(this._context.fillStyle=e),this._context.clearRect(0,0,t.width,t.height)}update(e,t=!1,i=!1){this._texture&&this._getEngine().updateDynamicTexture(this._texture,this._canvas,void 0===e||e,t,this._format||void 0,void 0,i)}drawText(e,t,i,s,r,a,h,n=!0){let o=this.getSize();if(a&&(this._context.fillStyle=a,this._context.fillRect(0,0,o.width,o.height)),this._context.font=s,null==t){let i=this._context.measureText(e);t=(o.width-i.width)/2}if(null==i){let e=parseInt(s.replace(/\D/g,""));i=o.height/2+e/3.65}this._context.fillStyle=r||"",this._context.fillText(e,t,i),n&&this.update(h)}dispose(){super.dispose(),this._ownCanvas&&this._canvas?.remove?.(),this._canvas=null,this._context=null}clone(){let e=this.getScene();if(!e)return this;let t=this.getSize(),i=new n(this.name,t,e,this._generateMipMaps);return i.hasAlpha=this.hasAlpha,i.level=this.level,i.wrapU=this.wrapU,i.wrapV=this.wrapV,i}serialize(){let e=this.getScene();e&&!e.isReady()&&t.Logger.Warn("The scene must be ready before serializing the dynamic texture");let i=super.serialize();return n._IsCanvasElement(this._canvas)&&(i.base64String=this._canvas.toDataURL()),i.invertY=this._invertY,i.samplingMode=this.samplingMode,i}static _IsCanvasElement(e){return void 0!==e.toDataURL}_rebuild(){this.update()}}e.s(["DynamicTexture",0,n],38982),e.i(38982),e.s(["DynamicTexture",0,n],61623)}]);
@@ -1 +0,0 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,17766,87452,e=>{"use strict";var t=e.i(45707),s=e.i(90176);e.s(["PostProcessManager",0,class{constructor(e){this._vertexBuffers={},this._activePostProcesses=[],this.onBeforeRenderObservable=new s.Observable,this._scene=e}_prepareBuffers(){if(this._vertexBuffers[t.VertexBuffer.PositionKind])return;let e=[];e.push(1,1),e.push(-1,1),e.push(-1,-1),e.push(1,-1),this._vertexBuffers[t.VertexBuffer.PositionKind]=new t.VertexBuffer(this._scene.getEngine(),e,t.VertexBuffer.PositionKind,!1,!1,2),this._buildIndexBuffer()}_buildIndexBuffer(){let e=[];e.push(0),e.push(1),e.push(2),e.push(0),e.push(2),e.push(3),this._indexBuffer=this._scene.getEngine().createIndexBuffer(e)}_getActivePostProcesses(e){let t=this._activePostProcesses;t.length=0;for(let s=0;s<e.length;s++){let r=e[s];r&&t.push(r)}return t}_rebuild(){let e=this._vertexBuffers[t.VertexBuffer.PositionKind];e&&(e._rebuild(),this._buildIndexBuffer())}_prepareFrame(e=null,t=null){let s=this._scene.activeCamera;return!!s&&!!(t=t||this._getActivePostProcesses(s._postProcesses))&&0!==t.length&&!!this._scene.postProcessesEnabled&&(t[0].activate(s,e,null!=t),!0)}directRender(e,t=null,s=!1,r=0,i=0,n=!1,a=e.length){let h=this._scene.getEngine();for(let o=0;o<a;o++){o<e.length-1?e[o+1].activate(this._scene.activeCamera||this._scene,t?.texture):(t?h.bindFramebuffer(t,r,void 0,void 0,s,i):n||h.restoreDefaultFramebuffer(),h._debugInsertMarker?.(`post process ${e[o].name} output`));let a=e[o],l=a.apply();l&&(a.onBeforeRenderObservable.notifyObservers(l),this._prepareBuffers(),h.bindBuffers(this._vertexBuffers,this._indexBuffer,l),h.drawElementsType(0,0,6),a.onAfterRenderObservable.notifyObservers(l))}h.setDepthBuffer(!0),h.setDepthWrite(!0)}_finalizeFrame(e,t,s,r,i=!1){let n=this._scene.activeCamera;if(!n||(this.onBeforeRenderObservable.notifyObservers(this),0===(r=r||this._getActivePostProcesses(n._postProcesses)).length||!this._scene.postProcessesEnabled))return;let a=this._scene.getEngine();for(let h=0,o=r.length;h<o;h++){let l=r[h];if(h<o-1?l._outputTexture=r[h+1].activate(n,t?.texture):(t?(a.bindFramebuffer(t,s,void 0,void 0,i),l._outputTexture=t):(a.restoreDefaultFramebuffer(),l._outputTexture=null),a._debugInsertMarker?.(`post process ${r[h].name} output`)),e)break;let c=l.apply();c&&(l.onBeforeRenderObservable.notifyObservers(c),this._prepareBuffers(),a.bindBuffers(this._vertexBuffers,this._indexBuffer,c),a.drawElementsType(0,0,6),l.onAfterRenderObservable.notifyObservers(c))}a.setDepthBuffer(!0),a.setDepthWrite(!0),a.setAlphaMode(0)}dispose(){let e=this._vertexBuffers[t.VertexBuffer.PositionKind];e&&(e.dispose(),this._vertexBuffers[t.VertexBuffer.PositionKind]=null),this._indexBuffer&&(this._scene.getEngine()._releaseBuffer(this._indexBuffer),this._indexBuffer=null)}}],17766);var r=e.i(70432),i=e.i(95410);class n{set opaqueSortCompareFn(e){e?this._opaqueSortCompareFn=e:this._opaqueSortCompareFn=n.PainterSortCompare,this._renderOpaque=this._renderOpaqueSorted}set alphaTestSortCompareFn(e){e?this._alphaTestSortCompareFn=e:this._alphaTestSortCompareFn=n.PainterSortCompare,this._renderAlphaTest=this._renderAlphaTestSorted}set transparentSortCompareFn(e){e?this._transparentSortCompareFn=e:this._transparentSortCompareFn=n.defaultTransparentSortCompare,this._renderTransparent=this._renderTransparentSorted}constructor(e,t,s=null,i=null,n=null){this.index=e,this._opaqueSubMeshes=new r.SmartArray(256),this._transparentSubMeshes=new r.SmartArray(256),this._alphaTestSubMeshes=new r.SmartArray(256),this._depthOnlySubMeshes=new r.SmartArray(256),this._particleSystems=new r.SmartArray(256),this._spriteManagers=new r.SmartArray(256),this._empty=!0,this._edgesRenderers=new r.SmartArrayNoDuplicate(16),this.disableDepthPrePass=!1,this._scene=t,this.opaqueSortCompareFn=s,this.alphaTestSortCompareFn=i,this.transparentSortCompareFn=n}render(e,t,s,r,i=!0,n=!0,a=!0,h=!0,o){if(e)return void e(this._opaqueSubMeshes,this._alphaTestSubMeshes,this._transparentSubMeshes,this._depthOnlySubMeshes);let l=this._scene.getEngine();i&&0!==this._depthOnlySubMeshes.length&&(l.setColorWrite(!1),this._renderAlphaTest(this._depthOnlySubMeshes),l.setColorWrite(!0)),n&&0!==this._opaqueSubMeshes.length&&this._renderOpaque(this._opaqueSubMeshes),a&&0!==this._alphaTestSubMeshes.length&&this._renderAlphaTest(this._alphaTestSubMeshes);let c=l.getStencilBuffer();if(l.setStencilBuffer(!1),t&&this._renderSprites(),s&&this._renderParticles(r),this.onBeforeTransparentRendering&&this.onBeforeTransparentRendering(),h&&(o||0!==this._transparentSubMeshes.length||this._scene.useOrderIndependentTransparency)){if(l.setStencilBuffer(c),o)o(this._transparentSubMeshes,this);else if(this._scene.useOrderIndependentTransparency){let e=this._scene.depthPeelingRenderer.render(this._transparentSubMeshes);e.length&&this._renderTransparent(e)}else this._renderTransparent(this._transparentSubMeshes);l.setAlphaMode(0)}if(l.setStencilBuffer(!1),n&&this._edgesRenderers.length){for(let e=0;e<this._edgesRenderers.length;e++)this._edgesRenderers.data[e].render();l.setAlphaMode(0)}l.setStencilBuffer(c)}_renderOpaqueSorted(e){n._RenderSorted(e,this._opaqueSortCompareFn,this._scene.activeCamera,!1,this.disableDepthPrePass)}_renderAlphaTestSorted(e){n._RenderSorted(e,this._alphaTestSortCompareFn,this._scene.activeCamera,!1,this.disableDepthPrePass)}_renderTransparentSorted(e){n._RenderSorted(e,this._transparentSortCompareFn,this._scene.activeCamera,!0,this.disableDepthPrePass)}static _RenderSorted(e,t,s,r,a){let h,o=0,l=s?s.globalPosition:n._ZeroVector;if(r)for(;o<e.length;o++)(h=e.data[o])._alphaIndex=h.getMesh().alphaIndex,h._distanceToCamera=i.Vector3.Distance(h.getBoundingInfo().boundingSphere.centerWorld,l);let c=e.length===e.data.length?e.data:e.data.slice(0,e.length);t&&c.sort(t);let u=c[0].getMesh().getScene();for(o=0;o<c.length;o++)if(h=c[o],!u._activeMeshesFrozenButKeepClipping||h.isInFrustum(u._frustumPlanes)){if(r){let e=h.getMaterial();if(e&&e.needDepthPrePass&&!a){let t=e.getScene().getEngine();t.setColorWrite(!1),t.setAlphaMode(0),h.render(!1),t.setColorWrite(!0)}}h.render(r)}}static defaultTransparentSortCompare(e,t){return e._alphaIndex>t._alphaIndex?1:e._alphaIndex<t._alphaIndex?-1:n.backToFrontSortCompare(e,t)}static backToFrontSortCompare(e,t){return e._distanceToCamera<t._distanceToCamera?1:e._distanceToCamera>t._distanceToCamera?-1:0}static frontToBackSortCompare(e,t){return e._distanceToCamera<t._distanceToCamera?-1:+(e._distanceToCamera>t._distanceToCamera)}static PainterSortCompare(e,t){let s=e.getMesh(),r=t.getMesh();return s.material&&r.material?s.material.uniqueId-r.material.uniqueId:s.uniqueId-r.uniqueId}prepare(){this._opaqueSubMeshes.reset(),this._transparentSubMeshes.reset(),this._alphaTestSubMeshes.reset(),this._depthOnlySubMeshes.reset(),this._particleSystems.reset(),this.prepareSprites(),this._edgesRenderers.reset(),this._empty=!0}prepareSprites(){this._spriteManagers.reset()}dispose(){this._opaqueSubMeshes.dispose(),this._transparentSubMeshes.dispose(),this._alphaTestSubMeshes.dispose(),this._depthOnlySubMeshes.dispose(),this._particleSystems.dispose(),this._spriteManagers.dispose(),this._edgesRenderers.dispose()}dispatch(e,t,s){void 0===t&&(t=e.getMesh()),void 0===s&&(s=e.getMaterial()),null!=s&&(s.needAlphaBlendingForMesh(t)?this._transparentSubMeshes.push(e):s.needAlphaTestingForMesh(t)?(s.needDepthPrePass&&!this.disableDepthPrePass&&this._depthOnlySubMeshes.push(e),this._alphaTestSubMeshes.push(e)):(s.needDepthPrePass&&!this.disableDepthPrePass&&this._depthOnlySubMeshes.push(e),this._opaqueSubMeshes.push(e)),t._renderingGroup=this,t._edgesRenderer&&t.isEnabled()&&t.isVisible&&t._edgesRenderer.isEnabled&&this._edgesRenderers.pushNoDuplicate(t._edgesRenderer),this._empty=!1)}dispatchSprites(e){this._spriteManagers.push(e),this._empty=!1}dispatchParticles(e){this._particleSystems.push(e),this._empty=!1}_renderParticles(e){if(0===this._particleSystems.length)return;let t=this._scene.activeCamera;this._scene.onBeforeParticlesRenderingObservable.notifyObservers(this._scene);for(let s=0;s<this._particleSystems.length;s++){let r=this._particleSystems.data[s];if(0===(t&&t.layerMask&r.layerMask))continue;let i=r.emitter;i.position&&e&&-1===e.indexOf(i)||this._scene._activeParticles.addCount(r.render(),!1)}this._scene.onAfterParticlesRenderingObservable.notifyObservers(this._scene)}_renderSprites(){if(!this._scene.spritesEnabled||0===this._spriteManagers.length)return;let e=this._scene.activeCamera;this._scene.onBeforeSpritesRenderingObservable.notifyObservers(this._scene);for(let t=0;t<this._spriteManagers.length;t++){let s=this._spriteManagers.data[t];0!==(e&&e.layerMask&s.layerMask)&&s.render()}this._scene.onAfterSpritesRenderingObservable.notifyObservers(this._scene)}}n._ZeroVector=i.Vector3.Zero();class a{}class h{get disableDepthPrePass(){return this._disableDepthPrePass}set disableDepthPrePass(e){for(let t of(this._disableDepthPrePass=e,this._renderingGroups))t.disableDepthPrePass=e}get maintainStateBetweenFrames(){return this._maintainStateBetweenFrames}set maintainStateBetweenFrames(e){e!==this._maintainStateBetweenFrames&&(this._maintainStateBetweenFrames=e,this._maintainStateBetweenFrames||this.restoreDispachedFlags())}restoreDispachedFlags(){for(let e of this._scene.meshes)if(e.subMeshes)for(let t of e.subMeshes)t._wasDispatched=!1;if(this._scene.spriteManagers)for(let e of this._scene.spriteManagers)e._wasDispatched=!1;for(let e of this._scene.particleSystems)e._wasDispatched=!1}constructor(e){this._useSceneAutoClearSetup=!1,this._disableDepthPrePass=!1,this._renderingGroups=[],this._autoClearDepthStencil={},this._customOpaqueSortCompareFn={},this._customAlphaTestSortCompareFn={},this._customTransparentSortCompareFn={},this._renderingGroupInfo=new a,this._maintainStateBetweenFrames=!1,this._scene=e;for(let e=h.MIN_RENDERINGGROUPS;e<h.MAX_RENDERINGGROUPS;e++)this._autoClearDepthStencil[e]={autoClear:!0,depth:!0,stencil:!0}}get renderingGroups(){return this._renderingGroups}getRenderingGroup(e){let t=e||0;return this._prepareRenderingGroup(t),this._renderingGroups[t]}_clearDepthStencilBuffer(e=!0,t=!0){this._depthStencilBufferAlreadyCleaned||(this._scene.getEngine().clear(null,!1,e,t),this._depthStencilBufferAlreadyCleaned=!0)}render(e,t,s,r,i=!0,n=!0,a=!0,o=!0,l){let c=this._renderingGroupInfo;if(c.scene=this._scene,c.camera=this._scene.activeCamera,c.renderingManager=this,this._scene.spriteManagers&&r)for(let e=0;e<this._scene.spriteManagers.length;e++){let t=this._scene.spriteManagers[e];this.dispatchSprites(t)}for(let u=h.MIN_RENDERINGGROUPS;u<h.MAX_RENDERINGGROUPS;u++){this._depthStencilBufferAlreadyCleaned=u===h.MIN_RENDERINGGROUPS;let p=this._renderingGroups[u];if(!p||p._empty)continue;let d=1<<u;if(c.renderingGroupId=u,this._scene.onBeforeRenderingGroupObservable.notifyObservers(c,d),h.AUTOCLEAR){let e=this._useSceneAutoClearSetup?this._scene.getAutoClearDepthStencilSetup(u):this._autoClearDepthStencil[u];e&&e.autoClear&&this._clearDepthStencilBuffer(e.depth,e.stencil)}for(let e of this._scene._beforeRenderingGroupDrawStage)e.action(u);for(let h of(p.render(e,r,s,t,i,n,a,o,l),this._scene._afterRenderingGroupDrawStage))h.action(u);this._scene.onAfterRenderingGroupObservable.notifyObservers(c,d)}}reset(){if(!this.maintainStateBetweenFrames)for(let e=h.MIN_RENDERINGGROUPS;e<h.MAX_RENDERINGGROUPS;e++){let t=this._renderingGroups[e];t&&t.prepare()}}resetSprites(){if(!this.maintainStateBetweenFrames)for(let e=h.MIN_RENDERINGGROUPS;e<h.MAX_RENDERINGGROUPS;e++){let t=this._renderingGroups[e];t&&t.prepareSprites()}}dispose(){this.freeRenderingGroups(),this._renderingGroups.length=0,this._renderingGroupInfo=null}freeRenderingGroups(){for(let e=h.MIN_RENDERINGGROUPS;e<h.MAX_RENDERINGGROUPS;e++){let t=this._renderingGroups[e];t&&t.dispose()}}_prepareRenderingGroup(e){void 0===this._renderingGroups[e]&&(this._renderingGroups[e]=new n(e,this._scene,this._customOpaqueSortCompareFn[e],this._customAlphaTestSortCompareFn[e],this._customTransparentSortCompareFn[e]),this._renderingGroups[e].disableDepthPrePass=this._disableDepthPrePass)}dispatchSprites(e){this.maintainStateBetweenFrames&&e._wasDispatched||(e._wasDispatched=!0,this.getRenderingGroup(e.renderingGroupId).dispatchSprites(e))}dispatchParticles(e){this.maintainStateBetweenFrames&&e._wasDispatched||(e._wasDispatched=!0,this.getRenderingGroup(e.renderingGroupId).dispatchParticles(e))}dispatch(e,t,s){void 0===t&&(t=e.getMesh()),this.maintainStateBetweenFrames&&e._wasDispatched||(e._wasDispatched=!0,this.getRenderingGroup(t.renderingGroupId).dispatch(e,t,s))}setRenderingOrder(e,t=null,s=null,r=null){if(this._customOpaqueSortCompareFn[e]=t,this._customAlphaTestSortCompareFn[e]=s,this._customTransparentSortCompareFn[e]=r,this._renderingGroups[e]){let t=this._renderingGroups[e];t.opaqueSortCompareFn=this._customOpaqueSortCompareFn[e],t.alphaTestSortCompareFn=this._customAlphaTestSortCompareFn[e],t.transparentSortCompareFn=this._customTransparentSortCompareFn[e]}}setRenderingAutoClearDepthStencil(e,t,s=!0,r=!0){this._autoClearDepthStencil[e]={autoClear:t,depth:s,stencil:r}}getAutoClearDepthStencilSetup(e){return this._autoClearDepthStencil[e]}}h.MAX_RENDERINGGROUPS=4,h.MIN_RENDERINGGROUPS=0,h.AUTOCLEAR=!0,e.s(["RenderingManager",0,h],87452)},63217,e=>{"use strict";var t=e.i(87869);class s{get min(){return this._min}get max(){return this._max}get average(){return this._average}get lastSecAverage(){return this._lastSecAverage}get current(){return this._current}get total(){return this._totalAccumulated}get count(){return this._totalValueCount}constructor(){this._startMonitoringTime=0,this._min=0,this._max=0,this._average=0,this._lastSecAverage=0,this._current=0,this._totalValueCount=0,this._totalAccumulated=0,this._lastSecAccumulated=0,this._lastSecTime=0,this._lastSecValueCount=0}fetchNewFrame(){this._totalValueCount++,this._current=0,this._lastSecValueCount++}addCount(e,t){s.Enabled&&(this._current+=e,t&&this._fetchResult())}beginMonitoring(){s.Enabled&&(this._startMonitoringTime=t.PrecisionDate.Now)}endMonitoring(e=!0){if(!s.Enabled)return;e&&this.fetchNewFrame();let r=t.PrecisionDate.Now;this._current=r-this._startMonitoringTime,e&&this._fetchResult()}endFrame(){this._fetchResult()}_fetchResult(){this._totalAccumulated+=this._current,this._lastSecAccumulated+=this._current,this._min=Math.min(this._min,this._current),this._max=Math.max(this._max,this._current),this._average=this._totalAccumulated/this._totalValueCount;let e=t.PrecisionDate.Now;e-this._lastSecTime>1e3&&(this._lastSecAverage=this._lastSecAccumulated/this._lastSecValueCount,this._lastSecTime=e,this._lastSecAccumulated=0,this._lastSecValueCount=0)}}s.Enabled=!0,e.s(["PerfCounter",0,s])},46833,e=>{"use strict";var t=e.i(47997);class s{static GetPlanes(e){let r=[];for(let e=0;e<6;e++)r.push(new t.Plane(0,0,0,0));return s.GetPlanesToRef(e,r),r}static GetNearPlaneToRef(e,t){let s=e.m;t.normal.x=s[3]+s[2],t.normal.y=s[7]+s[6],t.normal.z=s[11]+s[10],t.d=s[15]+s[14],t.normalize()}static GetFarPlaneToRef(e,t){let s=e.m;t.normal.x=s[3]-s[2],t.normal.y=s[7]-s[6],t.normal.z=s[11]-s[10],t.d=s[15]-s[14],t.normalize()}static GetLeftPlaneToRef(e,t){let s=e.m;t.normal.x=s[3]+s[0],t.normal.y=s[7]+s[4],t.normal.z=s[11]+s[8],t.d=s[15]+s[12],t.normalize()}static GetRightPlaneToRef(e,t){let s=e.m;t.normal.x=s[3]-s[0],t.normal.y=s[7]-s[4],t.normal.z=s[11]-s[8],t.d=s[15]-s[12],t.normalize()}static GetTopPlaneToRef(e,t){let s=e.m;t.normal.x=s[3]-s[1],t.normal.y=s[7]-s[5],t.normal.z=s[11]-s[9],t.d=s[15]-s[13],t.normalize()}static GetBottomPlaneToRef(e,t){let s=e.m;t.normal.x=s[3]+s[1],t.normal.y=s[7]+s[5],t.normal.z=s[11]+s[9],t.d=s[15]+s[13],t.normalize()}static GetPlanesToRef(e,t){s.GetNearPlaneToRef(e,t[0]),s.GetFarPlaneToRef(e,t[1]),s.GetLeftPlaneToRef(e,t[2]),s.GetRightPlaneToRef(e,t[3]),s.GetTopPlaneToRef(e,t[4]),s.GetBottomPlaneToRef(e,t[5])}static IsPointInFrustum(e,t){for(let s=0;s<6;s++)if(0>t[s].dotCoordinate(e))return!1;return!0}}e.s(["Frustum",0,s])},5252,e=>{"use strict";var t=e.i(95410),s=e.i(45707);e.s(["PickingInfo",0,class{constructor(){this.hit=!1,this.distance=0,this.pickedPoint=null,this.pickedMesh=null,this.bu=0,this.bv=0,this.faceId=-1,this.subMeshFaceId=-1,this.subMeshId=0,this.pickedSprite=null,this.thinInstanceIndex=-1,this.ray=null,this.originMesh=null,this.aimTransform=null,this.gripTransform=null}getNormal(e=!1,r=!0){let i;if(!this.pickedMesh||r&&!this.pickedMesh.isVerticesDataPresent(s.VertexBuffer.NormalKind))return null;let n=this.pickedMesh.getIndices();n?.length===0&&(n=null);let a=t.TmpVectors.Vector3[0],h=t.TmpVectors.Vector3[1],o=t.TmpVectors.Vector3[2];if(r){let e=this.pickedMesh.getVerticesData(s.VertexBuffer.NormalKind),r=n?t.Vector3.FromArrayToRef(e,3*n[3*this.faceId],a):a.copyFromFloats(e[3*this.faceId*3],e[3*this.faceId*3+1],e[3*this.faceId*3+2]),l=n?t.Vector3.FromArrayToRef(e,3*n[3*this.faceId+1],h):h.copyFromFloats(e[(3*this.faceId+1)*3],e[(3*this.faceId+1)*3+1],e[(3*this.faceId+1)*3+2]),c=n?t.Vector3.FromArrayToRef(e,3*n[3*this.faceId+2],o):o.copyFromFloats(e[(3*this.faceId+2)*3],e[(3*this.faceId+2)*3+1],e[(3*this.faceId+2)*3+2]);r=r.scale(this.bu),l=l.scale(this.bv),c=c.scale(1-this.bu-this.bv),i=new t.Vector3(r.x+l.x+c.x,r.y+l.y+c.y,r.z+l.z+c.z)}else{let e=this.pickedMesh.getVerticesData(s.VertexBuffer.PositionKind),r=n?t.Vector3.FromArrayToRef(e,3*n[3*this.faceId],a):a.copyFromFloats(e[3*this.faceId*3],e[3*this.faceId*3+1],e[3*this.faceId*3+2]),l=n?t.Vector3.FromArrayToRef(e,3*n[3*this.faceId+1],h):h.copyFromFloats(e[(3*this.faceId+1)*3],e[(3*this.faceId+1)*3+1],e[(3*this.faceId+1)*3+2]),c=n?t.Vector3.FromArrayToRef(e,3*n[3*this.faceId+2],o):o.copyFromFloats(e[(3*this.faceId+2)*3],e[(3*this.faceId+2)*3+1],e[(3*this.faceId+2)*3+2]),u=r.subtract(l),p=c.subtract(l);i=t.Vector3.Cross(u,p)}let l=(e,s)=>{if(-1!==this.thinInstanceIndex){let r=e._thinInstanceDataStorage.matrixData,i=this.thinInstanceIndex<<4;if(r&&r.length>i){let e=t.TmpVectors.Matrix[0];t.Matrix.FromArrayToRef(r,i,e),t.Vector3.TransformNormalToRef(s,e,s)}}let r=e.getWorldMatrix();e.nonUniformScaling&&(t.TmpVectors.Matrix[0].copyFrom(r),(r=t.TmpVectors.Matrix[0]).setTranslationFromFloats(0,0,0),r.invert(),r.transposeToRef(t.TmpVectors.Matrix[1]),r=t.TmpVectors.Matrix[1]),t.Vector3.TransformNormalToRef(s,r,s)};if(e&&l(this.pickedMesh,i),this.ray){let s=t.TmpVectors.Vector3[0].copyFrom(i);e||l(this.pickedMesh,s),t.Vector3.Dot(s,this.ray.direction)>0&&i.negateInPlace()}return i.normalize(),i}getTextureCoordinates(e=s.VertexBuffer.UVKind){if(!this.pickedMesh||!this.pickedMesh.isVerticesDataPresent(e))return null;let r=this.pickedMesh.getIndices();if(!r)return null;let i=this.pickedMesh.getVerticesData(e);if(!i)return null;let n=t.Vector2.FromArray(i,2*r[3*this.faceId]),a=t.Vector2.FromArray(i,2*r[3*this.faceId+1]),h=t.Vector2.FromArray(i,2*r[3*this.faceId+2]);return n=n.scale(this.bu),a=a.scale(this.bv),h=h.scale(1-this.bu-this.bv),new t.Vector2(n.x+a.x+h.x,n.y+a.y+h.y)}}])},95801,e=>{"use strict";var t=e.i(95410);class s{}s.POINTERDOWN=1,s.POINTERUP=2,s.POINTERMOVE=4,s.POINTERWHEEL=8,s.POINTERPICK=16,s.POINTERTAP=32,s.POINTERDOUBLETAP=64;class r{constructor(e,t){this.type=e,this.event=t}}e.s(["PointerEventTypes",0,s,"PointerInfo",0,class extends r{get pickInfo(){return this._pickInfo||this._generatePickInfo(),this._pickInfo}constructor(e,t,s,r=null){super(e,t),this._pickInfo=s,this._inputManager=r}_generatePickInfo(){this._inputManager&&(this._pickInfo=this._inputManager._pickMove(this.event),this._inputManager._setRayOnPointerInfo(this._pickInfo,this.event),this._inputManager=null)}},"PointerInfoPre",0,class extends r{constructor(e,s,r,i){super(e,s),this.ray=null,this.originalPickingInfo=null,this.skipOnPointerObservable=!1,this.localPosition=new t.Vector2(r,i)}}])},35705,e=>{"use strict";class t{}t.KEYDOWN=1,t.KEYUP=2;class s{constructor(e,t){this.type=e,this.event=t}}e.s(["KeyboardEventTypes",0,t,"KeyboardInfo",0,s,"KeyboardInfoPre",0,class extends s{get skipOnPointerObservable(){return this.skipOnKeyboardObservable}set skipOnPointerObservable(e){this.skipOnKeyboardObservable=e}constructor(e,t){super(e,t),this.type=e,this.event=t,this.skipOnKeyboardObservable=!1}}])},21056,e=>{"use strict";var t,s;(s=t||(t={}))[s.PointerMove=0]="PointerMove",s[s.PointerDown=1]="PointerDown",s[s.PointerUp=2]="PointerUp";class r{}r.DOM_DELTA_PIXEL=0,r.DOM_DELTA_LINE=1,r.DOM_DELTA_PAGE=2,e.s(["EventConstants",0,r])},69914,e=>{"use strict";e.s(["EffectFallbacks",0,class{constructor(){this._defines={},this._currentRank=32,this._maxRank=-1,this._mesh=null}unBindMesh(){this._mesh=null}addFallback(e,t){this._defines[e]||(e<this._currentRank&&(this._currentRank=e),e>this._maxRank&&(this._maxRank=e),this._defines[e]=[]),this._defines[e].push(t)}addCPUSkinningFallback(e,t){this._mesh=t,e<this._currentRank&&(this._currentRank=e),e>this._maxRank&&(this._maxRank=e)}get hasMoreFallbacks(){return this._currentRank<=this._maxRank}reduce(e,t){if(this._mesh&&this._mesh.computeBonesUsingShaders&&this._mesh.numBoneInfluencers>0){this._mesh.computeBonesUsingShaders=!1,e=e.replace("#define NUM_BONE_INFLUENCERS "+this._mesh.numBoneInfluencers,"#define NUM_BONE_INFLUENCERS 0"),t._bonesComputationForcedToCPU=!0;let s=this._mesh.getScene();for(let e=0;e<s.meshes.length;e++){let r=s.meshes[e];if(!r.material){!this._mesh.material&&r.computeBonesUsingShaders&&r.numBoneInfluencers>0&&(r.computeBonesUsingShaders=!1);continue}if(r.computeBonesUsingShaders&&0!==r.numBoneInfluencers){if(r.material.getEffect()===t)r.computeBonesUsingShaders=!1;else if(r.subMeshes){for(let e of r.subMeshes)if(e.effect===t){r.computeBonesUsingShaders=!1;break}}}}}else{let t=this._defines[this._currentRank];if(t)for(let s=0;s<t.length;s++)e=e.replace("#define "+t[s],"");this._currentRank++}return e}}])},25974,e=>{"use strict";var t=e.i(95410),s=e.i(57135);class r extends s.Material{constructor(e,s,r=!0,i=!1){super(e,s,void 0,i),this._normalMatrix=new t.Matrix,this._storeEffectOnSubMeshes=r}getEffect(){return this._storeEffectOnSubMeshes?this._activeEffect:super.getEffect()}isReady(e,t){return!!e&&(!this._storeEffectOnSubMeshes||!e.subMeshes||0===e.subMeshes.length||this.isReadyForSubMesh(e,e.subMeshes[0],t))}_isReadyForSubMesh(e){let t=e.materialDefines;return!this.checkReadyOnEveryCall&&!!e.effect&&!!t&&t._renderId===this.getScene().getRenderId()}bindOnlyWorldMatrix(e){this._activeEffect.setMatrix("world",e)}bindOnlyNormalMatrix(e){this._activeEffect.setMatrix("normalMatrix",e)}bind(e,t){t&&this.bindForSubMesh(e,t,t.subMeshes[0])}_afterBind(e,t=null,s){super._afterBind(e,t,s),this.getScene()._cachedEffect=t,s?s._drawWrapper._forceRebindOnNextCall=!1:this._drawWrapper._forceRebindOnNextCall=!1}_mustRebind(e,t,s,r=1){return s._drawWrapper._forceRebindOnNextCall||e.isCachedMaterialInvalid(this,t,r)}dispose(e,t,s){this._activeEffect=void 0,super.dispose(e,t,s)}}e.s(["PushMaterial",0,r])},47899,e=>{"use strict";let t=new WeakMap;e.s(["BindVertexPullingUniforms",0,function(e,t){t.forEach((t,s)=>{let r=`vp_${s}_info`;e.setFloat4(r,t.offset,t.stride,t.type,+!!t.normalized)})},"PrepareVertexPullingUniforms",0,function(e){let s=e.getVertexBuffers();if(!s)return null;let r=t.get(e);if(r){let e=!1;for(let t in s)if(!r.has(t)){e=!0;break}if(!e)return r}else r=new Map,t.set(e,r);for(let e in s){let t=s[e];if(t){let s=t.byteOffset,i=t.byteStride,n=t.type,a=t.normalized;r.set(e,{offset:s,stride:i,type:n,normalized:a})}}return r}])}]);