@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,7 +1,213 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,44994,e=>{"use strict";var t=e.i(37875);let o="decalFragmentDeclaration",r=`#ifdef DECAL
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,3954,e=>{"use strict";var t=e.i(47150);let o="helperFunctions",r=`const float PI=3.1415926535897932384626433832795;const float TWO_PI=6.283185307179586;const float HALF_PI=1.5707963267948966;const float RECIPROCAL_PI=0.3183098861837907;const float RECIPROCAL_PI2=0.15915494309189535;const float RECIPROCAL_PI4=0.07957747154594767;const float HALF_MIN=5.96046448e-08;
2
+ const float LinearEncodePowerApprox=2.2;const float GammaEncodePowerApprox=1.0/LinearEncodePowerApprox;const vec3 LuminanceEncodeApprox=vec3(0.2126,0.7152,0.0722);const float Epsilon=0.0000001;
3
+ #define saturate(x) clamp(x,0.0,1.0)
4
+ #define absEps(x) abs(x)+Epsilon
5
+ #define maxEps(x) max(x,Epsilon)
6
+ #define saturateEps(x) clamp(x,Epsilon,1.0)
7
+ mat3 transposeMat3(mat3 inMatrix) {vec3 i0=inMatrix[0];vec3 i1=inMatrix[1];vec3 i2=inMatrix[2];mat3 outMatrix=mat3(
8
+ vec3(i0.x,i1.x,i2.x),
9
+ vec3(i0.y,i1.y,i2.y),
10
+ vec3(i0.z,i1.z,i2.z)
11
+ );return outMatrix;}
12
+ mat3 inverseMat3(mat3 inMatrix) {float a00=inMatrix[0][0],a01=inMatrix[0][1],a02=inMatrix[0][2];float a10=inMatrix[1][0],a11=inMatrix[1][1],a12=inMatrix[1][2];float a20=inMatrix[2][0],a21=inMatrix[2][1],a22=inMatrix[2][2];float b01=a22*a11-a12*a21;float b11=-a22*a10+a12*a20;float b21=a21*a10-a11*a20;float det=a00*b01+a01*b11+a02*b21;return mat3(b01,(-a22*a01+a02*a21),(a12*a01-a02*a11),
13
+ b11,(a22*a00-a02*a20),(-a12*a00+a02*a10),
14
+ b21,(-a21*a00+a01*a20),(a11*a00-a01*a10))/det;}
15
+ #if USE_EXACT_SRGB_CONVERSIONS
16
+ vec3 toLinearSpaceExact(vec3 color)
17
+ {vec3 nearZeroSection=0.0773993808*color;vec3 remainingSection=pow(0.947867299*(color+vec3(0.055)),vec3(2.4));
18
+ #if defined(WEBGL2) || defined(WEBGPU) || defined(NATIVE)
19
+ return mix(remainingSection,nearZeroSection,lessThanEqual(color,vec3(0.04045)));
20
+ #else
21
+ return
22
+ vec3(
23
+ color.r<=0.04045 ? nearZeroSection.r : remainingSection.r,
24
+ color.g<=0.04045 ? nearZeroSection.g : remainingSection.g,
25
+ color.b<=0.04045 ? nearZeroSection.b : remainingSection.b);
26
+ #endif
27
+ }
28
+ vec3 toGammaSpaceExact(vec3 color)
29
+ {vec3 nearZeroSection=12.92*color;vec3 remainingSection=1.055*pow(color,vec3(0.41666))-vec3(0.055);
30
+ #if defined(WEBGL2) || defined(WEBGPU) || defined(NATIVE)
31
+ return mix(remainingSection,nearZeroSection,lessThanEqual(color,vec3(0.0031308)));
32
+ #else
33
+ return
34
+ vec3(
35
+ color.r<=0.0031308 ? nearZeroSection.r : remainingSection.r,
36
+ color.g<=0.0031308 ? nearZeroSection.g : remainingSection.g,
37
+ color.b<=0.0031308 ? nearZeroSection.b : remainingSection.b);
38
+ #endif
39
+ }
40
+ #endif
41
+ float toLinearSpace(float color)
42
+ {
43
+ #if USE_EXACT_SRGB_CONVERSIONS
44
+ float nearZeroSection=0.0773993808*color;float remainingSection=pow(0.947867299*(color+0.055),2.4);return color<=0.04045 ? nearZeroSection : remainingSection;
45
+ #else
46
+ return pow(color,LinearEncodePowerApprox);
47
+ #endif
48
+ }
49
+ vec3 toLinearSpace(vec3 color)
50
+ {
51
+ #if USE_EXACT_SRGB_CONVERSIONS
52
+ return toLinearSpaceExact(color);
53
+ #else
54
+ return pow(color,vec3(LinearEncodePowerApprox));
55
+ #endif
56
+ }
57
+ vec4 toLinearSpace(vec4 color)
58
+ {
59
+ #if USE_EXACT_SRGB_CONVERSIONS
60
+ return vec4(toLinearSpaceExact(color.rgb),color.a);
61
+ #else
62
+ return vec4(pow(color.rgb,vec3(LinearEncodePowerApprox)),color.a);
63
+ #endif
64
+ }
65
+ float toGammaSpace(float color)
66
+ {
67
+ #if USE_EXACT_SRGB_CONVERSIONS
68
+ float nearZeroSection=12.92*color;float remainingSection=1.055*pow(color,0.41666)-0.055;return color<=0.0031308 ? nearZeroSection : remainingSection;
69
+ #else
70
+ return pow(color,GammaEncodePowerApprox);
71
+ #endif
72
+ }
73
+ vec3 toGammaSpace(vec3 color)
74
+ {
75
+ #if USE_EXACT_SRGB_CONVERSIONS
76
+ return toGammaSpaceExact(color);
77
+ #else
78
+ return pow(color,vec3(GammaEncodePowerApprox));
79
+ #endif
80
+ }
81
+ vec4 toGammaSpace(vec4 color)
82
+ {
83
+ #if USE_EXACT_SRGB_CONVERSIONS
84
+ return vec4(toGammaSpaceExact(color.rgb),color.a);
85
+ #else
86
+ return vec4(pow(color.rgb,vec3(GammaEncodePowerApprox)),color.a);
87
+ #endif
88
+ }
89
+ float square(float value)
90
+ {return value*value;}
91
+ vec3 square(vec3 value)
92
+ {return value*value;}
93
+ float pow5(float value) {float sq=value*value;return sq*sq*value;}
94
+ vec3 double_refract(vec3 I,vec3 N,float eta) {vec3 Tfront=refract(I,N,1.0/eta);vec3 Nback=normalize(reflect(N,Tfront));return refract(Tfront,-Nback,eta);}
95
+ float getLuminanceUnclamped(vec3 color)
96
+ {return dot(color,LuminanceEncodeApprox);}
97
+ float getLuminance(vec3 color)
98
+ {return saturate(getLuminanceUnclamped(color));}
99
+ float getRand(vec2 seed) {return fract(sin(dot(seed.xy ,vec2(12.9898,78.233)))*43758.5453);}
100
+ float dither(vec2 seed,float varianceAmount) {float rand=getRand(seed);float normVariance=varianceAmount/255.0;float dither=mix(-normVariance,normVariance,rand);return dither;}
101
+ const float rgbdMaxRange=255.;vec4 toRGBD(vec3 color) {float maxRGB=maxEps(max(color.r,max(color.g,color.b)));float D =max(rgbdMaxRange/maxRGB,1.);D =saturate(floor(D)/255.);vec3 rgb=color.rgb*D;rgb=toGammaSpace(rgb);return vec4(saturate(rgb),D);}
102
+ vec3 fromRGBD(vec4 rgbd) {rgbd.rgb=toLinearSpace(rgbd.rgb);return rgbd.rgb/rgbd.a;}
103
+ vec3 parallaxCorrectNormal( vec3 vertexPos,vec3 origVec,vec3 cubeSize,vec3 cubePos ) {vec3 invOrigVec=vec3(1.)/origVec;vec3 halfSize=cubeSize*0.5;vec3 intersecAtMaxPlane=(cubePos+halfSize-vertexPos)*invOrigVec;vec3 intersecAtMinPlane=(cubePos-halfSize-vertexPos)*invOrigVec;vec3 largestIntersec=max(intersecAtMaxPlane,intersecAtMinPlane);float distance=min(min(largestIntersec.x,largestIntersec.y),largestIntersec.z);vec3 intersectPositionWS=vertexPos+origVec*distance;return intersectPositionWS-cubePos;}
104
+ vec3 equirectangularToCubemapDirection(vec2 uv) {float longitude=uv.x*TWO_PI-PI;float latitude=HALF_PI-uv.y*PI;vec3 direction;direction.x=cos(latitude)*sin(longitude);direction.y=sin(latitude);direction.z=cos(latitude)*cos(longitude);return direction;}
105
+ float sqrtClamped(float value) {return sqrt(max(value,0.));}
106
+ float avg(vec3 value) {return dot(value,vec3(0.333333333));}
107
+ #if defined(WEBGL2) || defined(WEBGPU) || defined(NATIVE)
108
+ uint extractBits(uint value,int offset,int width) {return (value>>offset) & ((1u<<width)-1u);}
109
+ int onlyBitPosition(uint value) {return (floatBitsToInt(float(value))>>23)-0x7f;}
110
+ vec3 singleScatterToMultiScatterAlbedo(vec3 rho_ss) {vec3 s=sqrt(max(vec3(1.0)-rho_ss,vec3(0.0)));return (vec3(1.0)-s)*(vec3(1.0)-vec3(0.139)*s)/(vec3(1.0)+vec3(1.17)*s);}
111
+ vec3 multiScatterToSingleScatterAlbedo(vec3 rho_ms) {vec3 s=4.09712+4.20863*rho_ms-sqrt(9.59217+41.6808*rho_ms+17.7126*rho_ms*rho_ms);return 1.0-s*s;}
112
+ vec3 multiScatterToSingleScatterAlbedo(vec3 rho_ms,float aniso) {vec3 s=4.09712+4.20863*rho_ms-sqrt(9.59217+41.6808*rho_ms+17.7126*rho_ms*rho_ms);return (1.0-s*s)/maxEps(1.0-aniso*s*s);}
113
+ float min3(vec3 v) {return min(v.x,min(v.y,v.z));}
114
+ float max3(vec3 v) {return max(v.x,max(v.y,v.z));}
115
+ float uint2float(uint i) {return uintBitsToFloat(0x3F800000u | (i>>9u))-1.0;}
116
+ vec2 plasticSequence(const uint rstate) {return vec2(uint2float(rstate*3242174889u),
117
+ uint2float(rstate*2447445414u));}
118
+ #endif
119
+ `;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["helperFunctions",0,{name:o,shader:r}])},68381,e=>{"use strict";var t=e.i(47150);let o="logDepthDeclaration",r=`#ifdef LOGARITHMICDEPTH
120
+ uniform float logarithmicDepthConstant;varying float vFragmentDepth;
121
+ #endif
122
+ `;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["logDepthDeclaration",0,{name:o,shader:r}])},67827,e=>{"use strict";var t=e.i(47150);let o="sceneUboDeclaration",r=`layout(std140,column_major) uniform;uniform Scene {mat4 viewProjection;
123
+ #ifdef MULTIVIEW
124
+ mat4 viewProjectionR;
125
+ #endif
126
+ mat4 view;mat4 projection;vec4 vEyePosition;mat4 inverseProjection;};
127
+ `;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["sceneUboDeclaration",0,{name:o,shader:r}])},38605,e=>{"use strict";var t=e.i(47150);let o="meshUboDeclaration",r=`#ifdef WEBGL2
128
+ uniform mat4 world;uniform float visibility;
129
+ #else
130
+ layout(std140,column_major) uniform;uniform Mesh
131
+ {mat4 world;float visibility;};
132
+ #endif
133
+ #define WORLD_UBO
134
+ `;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["meshUboDeclaration",0,{name:o,shader:r}])},30868,e=>{"use strict";var t=e.i(47150);let o="mainUVVaryingDeclaration",r=`#ifdef MAINUV{X}
135
+ varying vec2 vMainUV{X};
136
+ #endif
137
+ `;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["mainUVVaryingDeclaration",0,{name:o,shader:r}])},57487,70402,e=>{"use strict";var t=e.i(47150);let o="clipPlaneFragmentDeclaration",r=`#ifdef CLIPPLANE
138
+ varying float fClipDistance;
139
+ #endif
140
+ #ifdef CLIPPLANE2
141
+ varying float fClipDistance2;
142
+ #endif
143
+ #ifdef CLIPPLANE3
144
+ varying float fClipDistance3;
145
+ #endif
146
+ #ifdef CLIPPLANE4
147
+ varying float fClipDistance4;
148
+ #endif
149
+ #ifdef CLIPPLANE5
150
+ varying float fClipDistance5;
151
+ #endif
152
+ #ifdef CLIPPLANE6
153
+ varying float fClipDistance6;
154
+ #endif
155
+ `;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["clipPlaneFragmentDeclaration",0,{name:o,shader:r}],57487);let a="clipPlaneFragment",i=`#if defined(CLIPPLANE) || defined(CLIPPLANE2) || defined(CLIPPLANE3) || defined(CLIPPLANE4) || defined(CLIPPLANE5) || defined(CLIPPLANE6)
156
+ if (false) {}
157
+ #endif
158
+ #ifdef CLIPPLANE
159
+ else if (fClipDistance>0.0)
160
+ {discard;}
161
+ #endif
162
+ #ifdef CLIPPLANE2
163
+ else if (fClipDistance2>0.0)
164
+ {discard;}
165
+ #endif
166
+ #ifdef CLIPPLANE3
167
+ else if (fClipDistance3>0.0)
168
+ {discard;}
169
+ #endif
170
+ #ifdef CLIPPLANE4
171
+ else if (fClipDistance4>0.0)
172
+ {discard;}
173
+ #endif
174
+ #ifdef CLIPPLANE5
175
+ else if (fClipDistance5>0.0)
176
+ {discard;}
177
+ #endif
178
+ #ifdef CLIPPLANE6
179
+ else if (fClipDistance6>0.0)
180
+ {discard;}
181
+ #endif
182
+ `;t.ShaderStore.IncludesShadersStore[a]||(t.ShaderStore.IncludesShadersStore[a]=i),e.s(["clipPlaneFragment",0,{name:a,shader:i}],70402)},76578,2216,e=>{"use strict";var t=e.i(47150);let o="fogFragmentDeclaration",r=`#ifdef FOG
183
+ #define FOGMODE_NONE 0.
184
+ #define FOGMODE_EXP 1.
185
+ #define FOGMODE_EXP2 2.
186
+ #define FOGMODE_LINEAR 3.
187
+ #define E 2.71828
188
+ uniform vec4 vFogInfos;uniform vec3 vFogColor;varying vec3 vFogDistance;float CalcFogFactor()
189
+ {float fogCoeff=1.0;float fogStart=vFogInfos.y;float fogEnd=vFogInfos.z;float fogDensity=vFogInfos.w;float fogDistance=length(vFogDistance);if (FOGMODE_LINEAR==vFogInfos.x)
190
+ {fogCoeff=(fogEnd-fogDistance)/(fogEnd-fogStart);}
191
+ else if (FOGMODE_EXP==vFogInfos.x)
192
+ {fogCoeff=1.0/pow(E,fogDistance*fogDensity);}
193
+ else if (FOGMODE_EXP2==vFogInfos.x)
194
+ {fogCoeff=1.0/pow(E,fogDistance*fogDistance*fogDensity*fogDensity);}
195
+ return clamp(fogCoeff,0.0,1.0);}
196
+ #endif
197
+ `;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["fogFragmentDeclaration",0,{name:o,shader:r}],76578);let a="fogFragment",i=`#ifdef FOG
198
+ float fog=CalcFogFactor();
199
+ #ifdef PBR
200
+ fog=toLinearSpace(fog);
201
+ #endif
202
+ color.rgb=mix(vFogColor,color.rgb,fog);
203
+ #endif
204
+ `;t.ShaderStore.IncludesShadersStore[a]||(t.ShaderStore.IncludesShadersStore[a]=i),e.s(["fogFragment",0,{name:a,shader:i}],2216)},35047,e=>{"use strict";var t=e.i(47150);let o="logDepthFragment",r=`#ifdef LOGARITHMICDEPTH
205
+ gl_FragDepthEXT=log2(vFragmentDepth)*logarithmicDepthConstant*0.5;
206
+ #endif
207
+ `;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["logDepthFragment",0,{name:o,shader:r}])},11450,e=>{"use strict";var t=e.i(47150);let o="decalFragmentDeclaration",r=`#ifdef DECAL
2
208
  uniform vec4 vDecalInfos;
3
209
  #endif
4
- `;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["decalFragmentDeclaration",0,{name:o,shader:r}])},44178,15937,e=>{"use strict";var t=e.i(37875);let o="prePassDeclaration",r=`#ifdef PREPASS
210
+ `;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["decalFragmentDeclaration",0,{name:o,shader:r}])},64150,23767,e=>{"use strict";var t=e.i(47150);let o="prePassDeclaration",r=`#ifdef PREPASS
5
211
  #extension GL_EXT_draw_buffers : require
6
212
  layout(location=0) out highp vec4 glFragData[{X}];highp vec4 gl_FragColor;
7
213
  #ifdef PREPASS_LOCAL_POSITION
@@ -17,14 +223,14 @@ varying highp float vNormViewDepth;
17
223
  varying highp vec4 vCurrentPosition;varying highp vec4 vPreviousPosition;
18
224
  #endif
19
225
  #endif
20
- `;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["prePassDeclaration",0,{name:o,shader:r}],44178);let a="oitDeclaration",i=`#ifdef ORDER_INDEPENDENT_TRANSPARENCY
226
+ `;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["prePassDeclaration",0,{name:o,shader:r}],64150);let a="oitDeclaration",i=`#ifdef ORDER_INDEPENDENT_TRANSPARENCY
21
227
  #extension GL_EXT_draw_buffers : require
22
228
  layout(location=0) out vec2 depth;
23
229
  layout(location=1) out vec4 frontColor;layout(location=2) out vec4 backColor;
24
230
  #define MAX_DEPTH 99999.0
25
231
  highp vec4 gl_FragColor;uniform sampler2D oitDepthSampler;uniform sampler2D oitFrontColorSampler;
26
232
  #endif
27
- `;t.ShaderStore.IncludesShadersStore[a]||(t.ShaderStore.IncludesShadersStore[a]=i),e.s(["oitDeclaration",0,{name:a,shader:i}],15937)},41298,46860,e=>{"use strict";var t=e.i(37875);let o="lightFragmentDeclaration",r=`#ifdef LIGHT{X}
233
+ `;t.ShaderStore.IncludesShadersStore[a]||(t.ShaderStore.IncludesShadersStore[a]=i),e.s(["oitDeclaration",0,{name:a,shader:i}],23767)},85401,80774,e=>{"use strict";var t=e.i(47150);let o="lightFragmentDeclaration",r=`#ifdef LIGHT{X}
28
234
  uniform vec4 vLightData{X};uniform vec4 vLightDiffuse{X};
29
235
  #ifdef SPECULARTERM
30
236
  uniform vec4 vLightSpecular{X};
@@ -98,7 +304,7 @@ uniform mat4 textureProjectionMatrix{X};uniform sampler2D projectionLightTexture
98
304
  uniform vec2 vSliceData{X};uniform vec2 vSliceRanges{X}[CLUSTLIGHT_SLICES];uniform sampler2D lightDataTexture{X};uniform highp sampler2D tileMaskTexture{X};
99
305
  #endif
100
306
  #endif
101
- `;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["lightFragmentDeclaration",0,{name:o,shader:r}],41298);let a="lightUboDeclaration",i=`#ifdef LIGHT{X}
307
+ `;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["lightFragmentDeclaration",0,{name:o,shader:r}],85401);let a="lightUboDeclaration",i=`#ifdef LIGHT{X}
102
308
  uniform Light{X}
103
309
  {vec4 vLightData;vec4 vLightDiffuse;vec4 vLightSpecular;
104
310
  #ifdef SPOTLIGHT{X}
@@ -170,7 +376,7 @@ uniform mat4 lightMatrix{X};
170
376
  #endif
171
377
  #endif
172
378
  #endif
173
- `;t.ShaderStore.IncludesShadersStore[a]||(t.ShaderStore.IncludesShadersStore[a]=i),e.s(["lightUboDeclaration",0,{name:a,shader:i}],46860)},56090,e=>{"use strict";var t=e.i(37875);let o="ltcHelperFunctions",r=`vec2 LTCUv( const in vec3 N,const in vec3 V,const in float roughness ) {const float LUTSIZE=64.0;const float LUTSCALE=( LUTSIZE-1.0 )/LUTSIZE;const float LUTBIAS=0.5/LUTSIZE;float dotNV=saturate( dot( N,V ) );vec2 uv=vec2( roughness,sqrt( 1.0-dotNV ) );uv=uv*LUTSCALE+LUTBIAS;return uv;}
379
+ `;t.ShaderStore.IncludesShadersStore[a]||(t.ShaderStore.IncludesShadersStore[a]=i),e.s(["lightUboDeclaration",0,{name:a,shader:i}],80774)},93663,e=>{"use strict";var t=e.i(47150);let o="ltcHelperFunctions",r=`vec2 LTCUv( const in vec3 N,const in vec3 V,const in float roughness ) {const float LUTSIZE=64.0;const float LUTSCALE=( LUTSIZE-1.0 )/LUTSIZE;const float LUTBIAS=0.5/LUTSIZE;float dotNV=saturate( dot( N,V ) );vec2 uv=vec2( roughness,sqrt( 1.0-dotNV ) );uv=uv*LUTSCALE+LUTBIAS;return uv;}
174
380
  float LTCClippedSphereFormFactor( const in vec3 f ) {float l=length( f );return max( ( l*l+f.z )/( l+1.0 ),0.0 );}
175
381
  vec3 LTCEdgeVectorFormFactor( const in vec3 v1,const in vec3 v2 ) {float x=dot( v1,v2 );float y=abs( x );float a=0.8543985+( 0.4965155+0.0145206*y )*y;float b=3.4175940+( 4.1616724+y )*y;float v=a/b;float thetaSintheta=0.0;if( x>0.0 )
176
382
  {thetaSintheta=v;}
@@ -208,7 +414,7 @@ vec3( 0,1, 0 ),
208
414
  vec3( t1.z,0,t1.w )
209
415
  );result.Specular=LTCEvaluateWithEmission( normal,viewDir,position,mInv,rectCoords,texFilteredMap );result.Fresnel=t2;
210
416
  #endif
211
- result.Diffuse=LTCEvaluateWithEmission( normal,viewDir,position,mat3( 1.0 ),rectCoords,texFilteredMap );return result;}`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["ltcHelperFunctions",0,{name:o,shader:r}])},13230,e=>{"use strict";var t=e.i(37875);let o="shadowsFragmentFunctions",r=`#ifdef SHADOWS
417
+ result.Diffuse=LTCEvaluateWithEmission( normal,viewDir,position,mat3( 1.0 ),rectCoords,texFilteredMap );return result;}`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["ltcHelperFunctions",0,{name:o,shader:r}])},41628,e=>{"use strict";var t=e.i(47150);let o="shadowsFragmentFunctions",r=`#ifdef SHADOWS
212
418
  #if defined(WEBGL2) || defined(WEBGPU) || defined(NATIVE)
213
419
  #define TEXTUREFUNC(s,c,l) texture2DLodEXT(s,c,l)
214
420
  #else
@@ -551,7 +757,7 @@ float computeShadowWithCSMPCSS64(float layer,vec4 vPositionFromLight,float depth
551
757
  {return computeShadowWithCSMPCSS(layer,vPositionFromLight,depthMetric,depthSampler,shadowSampler,shadowMapSizeInverse,lightSizeUV,darkness,frustumEdgeFalloff,32,64,PoissonSamplers64,lightSizeUVCorrection,depthCorrection,penumbraDarkness);}
552
758
  #endif
553
759
  #endif
554
- `;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["shadowsFragmentFunctions",0,{name:o,shader:r}])},57005,e=>{"use strict";var t=e.i(37875);let o="imageProcessingDeclaration",r=`#ifdef EXPOSURE
760
+ `;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["shadowsFragmentFunctions",0,{name:o,shader:r}])},72284,e=>{"use strict";var t=e.i(47150);let o="imageProcessingDeclaration",r=`#ifdef EXPOSURE
555
761
  uniform float exposureLinear;
556
762
  #endif
557
763
  #ifdef CONTRAST
@@ -577,7 +783,7 @@ uniform vec4 colorTransformSettings;
577
783
  #ifdef DITHER
578
784
  uniform float ditherIntensity;
579
785
  #endif
580
- `;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["imageProcessingDeclaration",0,{name:o,shader:r}])},3142,e=>{"use strict";var t=e.i(37875);let o="imageProcessingFunctions",r=`#if defined(COLORGRADING) && !defined(COLORGRADING3D)
786
+ `;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["imageProcessingDeclaration",0,{name:o,shader:r}])},27613,e=>{"use strict";var t=e.i(47150);let o="imageProcessingFunctions",r=`#if defined(COLORGRADING) && !defined(COLORGRADING3D)
581
787
  /**
582
788
  * Polyfill for SAMPLE_TEXTURE_3D,which is unsupported in WebGL.
583
789
  * sampler3dSetting.x=textureOffset (0.5/textureSize).
@@ -665,7 +871,7 @@ float luma=getLuminance(result.rgb);vec2 curveMix=clamp(vec2(luma*3.0-1.5,luma*-
665
871
  float rand=getRand(gl_FragCoord.xy*vInverseScreenSize);float dither=mix(-ditherIntensity,ditherIntensity,rand);result.rgb=saturate(result.rgb+vec3(dither));
666
872
  #endif
667
873
  #define CUSTOM_IMAGEPROCESSINGFUNCTIONS_UPDATERESULT_ATEND
668
- return result;}`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["imageProcessingFunctions",0,{name:o,shader:r}])},13989,e=>{"use strict";var t=e.i(37875);let o="textureRepetitionFunctions",r=`#if TEXTURE_REPETITION_MODE>0
874
+ return result;}`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["imageProcessingFunctions",0,{name:o,shader:r}])},8808,e=>{"use strict";var t=e.i(47150);let o="textureRepetitionFunctions",r=`#if TEXTURE_REPETITION_MODE>0
669
875
  vec4 _texRepHash4(vec2 p) {return fract(sin(vec4(
670
876
  1.0+dot(p,vec2(37.0,17.0)),
671
877
  2.0+dot(p,vec2(11.0,47.0)),
@@ -706,13 +912,10 @@ float mean=0.3;vec4 res=mean+(va-wt*mean)/sqrt(w2);return mix(va/wt,res,0.4);}
706
912
  #define TEXRD(s,uv) texture2D(s,uv)
707
913
  #endif
708
914
  #define TEXRD_DEFINED
709
- `;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["textureRepetitionFunctions",0,{name:o,shader:r}])},84852,98008,46525,e=>{"use strict";var t=e.i(37875);let o="depthPrePass",r=`#ifdef DEPTHPREPASS
915
+ `;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["textureRepetitionFunctions",0,{name:o,shader:r}])},61241,45041,e=>{"use strict";var t=e.i(47150);let o="depthPrePass",r=`#ifdef DEPTHPREPASS
710
916
  gl_FragColor=vec4(0.,0.,0.,1.0);return;
711
917
  #endif
712
- `;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["depthPrePass",0,{name:o,shader:r}],84852);let a="logDepthFragment",i=`#ifdef LOGARITHMICDEPTH
713
- gl_FragDepthEXT=log2(vFragmentDepth)*logarithmicDepthConstant*0.5;
714
- #endif
715
- `;t.ShaderStore.IncludesShadersStore[a]||(t.ShaderStore.IncludesShadersStore[a]=i),e.s(["logDepthFragment",0,{name:a,shader:i}],98008);let s="oitFragment",c=`#ifdef ORDER_INDEPENDENT_TRANSPARENCY
918
+ `;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["depthPrePass",0,{name:o,shader:r}],61241);let a="oitFragment",i=`#ifdef ORDER_INDEPENDENT_TRANSPARENCY
716
919
  float fragDepth=gl_FragCoord.z;
717
920
  #ifdef ORDER_INDEPENDENT_TRANSPARENCY_16BITS
718
921
  uint halfFloat=packHalf2x16(vec2(fragDepth));vec2 full=unpackHalf2x16(halfFloat);fragDepth=full.x;
@@ -737,4 +940,4 @@ if (fragDepth>nearestDepth && fragDepth<furthestDepth) {
737
940
  #endif
738
941
  depth.rg=vec2(-fragDepth,fragDepth);return;}
739
942
  #endif
740
- `;t.ShaderStore.IncludesShadersStore[s]||(t.ShaderStore.IncludesShadersStore[s]=c),e.s(["oitFragment",0,{name:s,shader:c}],46525)}]);
943
+ `;t.ShaderStore.IncludesShadersStore[a]||(t.ShaderStore.IncludesShadersStore[a]=i),e.s(["oitFragment",0,{name:a,shader:i}],45041)}]);
@@ -1 +1 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,89901,e=>{"use strict";var t=e.i(38759),o=e.i(19434),u=e.i(38116);class i extends t.FlowGraphExecutionBlockWithOutSignal{constructor(e){super(e),this.sound=this.registerDataInput("sound",o.RichTypeAny),this.volume=this.registerDataInput("volume",o.RichTypeNumber,1)}_execute(e,t){let o=this.sound.getValue(e);if(!o){this._reportError(e,"No sound provided"),this.out._activateSignal(e);return}o.volume=this.volume.getValue(e),this.out._activateSignal(e)}getClassName(){return"FlowGraphSetSoundVolumeBlock"}}let l=!1;function s(){l||(l=!0,(0,u.RegisterClass)("FlowGraphSetSoundVolumeBlock",i))}e.s(["FlowGraphSetSoundVolumeBlock",0,i,"RegisterFlowGraphSetSoundVolumeBlock",0,s],48801),s(),e.s([],44695),e.i(44695),e.i(48801),e.s(["FlowGraphSetSoundVolumeBlock",0,i],89901)}]);
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,10678,e=>{"use strict";var t=e.i(62478),o=e.i(75105),u=e.i(44520);class i extends t.FlowGraphExecutionBlockWithOutSignal{constructor(e){super(e),this.sound=this.registerDataInput("sound",o.RichTypeAny),this.volume=this.registerDataInput("volume",o.RichTypeNumber,1)}_execute(e,t){let o=this.sound.getValue(e);if(!o){this._reportError(e,"No sound provided"),this.out._activateSignal(e);return}o.volume=this.volume.getValue(e),this.out._activateSignal(e)}getClassName(){return"FlowGraphSetSoundVolumeBlock"}}let l=!1;function s(){l||(l=!0,(0,u.RegisterClass)("FlowGraphSetSoundVolumeBlock",i))}e.s(["FlowGraphSetSoundVolumeBlock",0,i,"RegisterFlowGraphSetSoundVolumeBlock",0,s],34234),s(),e.s([],72597),e.i(72597),e.i(34234),e.s(["FlowGraphSetSoundVolumeBlock",0,i],10678)}]);
@@ -1 +1 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,13906,t=>{"use strict";var i=t.i(37068),e=t.i(19434),o=t.i(38116);class r extends i.FlowGraphBlock{constructor(t){super(t),this.log=[],this._isDebug=!0,this.input=this.registerDataInput("input",e.RichTypeAny),this.output=this.registerDataOutput("output",e.RichTypeAny)}_updateOutputs(t){let i=this.input.getValue(t);this.output.setValue(i,t),this._logValue(i)}_logValue(t){if(null==t)this.log.push(["null","null"]);else{let i=r._FormatValue(t);this.log.push([i,String(t)])}this.log.length>100&&this.log.shift()}static _FormatValue(t){if("number"==typeof t)return Number.isInteger(t)?t.toString():t.toFixed(4);if("boolean"==typeof t||"string"==typeof t)return String(t);if(t&&"object"==typeof t){if("w"in t&&"x"in t&&"y"in t&&"z"in t)return`(${t.x.toFixed(3)}, ${t.y.toFixed(3)}, ${t.z.toFixed(3)}, ${t.w.toFixed(3)})`;if("z"in t&&"x"in t&&"y"in t)return`(${t.x.toFixed(3)}, ${t.y.toFixed(3)}, ${t.z.toFixed(3)})`;if("x"in t&&"y"in t)return`(${t.x.toFixed(3)}, ${t.y.toFixed(3)})`;if("r"in t&&"g"in t&&"b"in t){let i="a"in t?`, ${t.a.toFixed(3)}`:"";return`(${t.r.toFixed(3)}, ${t.g.toFixed(3)}, ${t.b.toFixed(3)}${i})`}if("function"==typeof t.toString&&t.toString!==Object.prototype.toString)return t.toString()}try{let i=JSON.stringify(t);return i.length>64?i.substring(0,61)+"...":i}catch{return String(t)}}getClassName(){return"FlowGraphDebugBlock"}}let n=!1;function u(){n||(n=!0,(0,o.RegisterClass)("FlowGraphDebugBlock",r))}t.s(["FlowGraphDebugBlock",0,r,"RegisterFlowGraphDebugBlock",0,u],43198),u(),t.s([],2735),t.i(2735),t.i(43198),t.s(["FlowGraphDebugBlock",0,r],13906)}]);
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,34179,t=>{"use strict";var i=t.i(17884),e=t.i(75105),o=t.i(44520);class r extends i.FlowGraphBlock{constructor(t){super(t),this.log=[],this._isDebug=!0,this.input=this.registerDataInput("input",e.RichTypeAny),this.output=this.registerDataOutput("output",e.RichTypeAny)}_updateOutputs(t){let i=this.input.getValue(t);this.output.setValue(i,t),this._logValue(i)}_logValue(t){if(null==t)this.log.push(["null","null"]);else{let i=r._FormatValue(t);this.log.push([i,String(t)])}this.log.length>100&&this.log.shift()}static _FormatValue(t){if("number"==typeof t)return Number.isInteger(t)?t.toString():t.toFixed(4);if("boolean"==typeof t||"string"==typeof t)return String(t);if(t&&"object"==typeof t){if("w"in t&&"x"in t&&"y"in t&&"z"in t)return`(${t.x.toFixed(3)}, ${t.y.toFixed(3)}, ${t.z.toFixed(3)}, ${t.w.toFixed(3)})`;if("z"in t&&"x"in t&&"y"in t)return`(${t.x.toFixed(3)}, ${t.y.toFixed(3)}, ${t.z.toFixed(3)})`;if("x"in t&&"y"in t)return`(${t.x.toFixed(3)}, ${t.y.toFixed(3)})`;if("r"in t&&"g"in t&&"b"in t){let i="a"in t?`, ${t.a.toFixed(3)}`:"";return`(${t.r.toFixed(3)}, ${t.g.toFixed(3)}, ${t.b.toFixed(3)}${i})`}if("function"==typeof t.toString&&t.toString!==Object.prototype.toString)return t.toString()}try{let i=JSON.stringify(t);return i.length>64?i.substring(0,61)+"...":i}catch{return String(t)}}getClassName(){return"FlowGraphDebugBlock"}}let n=!1;function u(){n||(n=!0,(0,o.RegisterClass)("FlowGraphDebugBlock",r))}t.s(["FlowGraphDebugBlock",0,r,"RegisterFlowGraphDebugBlock",0,u],78302),u(),t.s([],75085),t.i(75085),t.i(78302),t.s(["FlowGraphDebugBlock",0,r],34179)}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,62750,t=>{"use strict";var e=t.i(17884),i=t.i(75105);let a="cachedOperationValue",s="cachedExecutionId";class r extends e.FlowGraphBlock{constructor(t,e){super(e),this.value=this.registerDataOutput("value",t),this.isValid=this.registerDataOutput("isValid",i.RichTypeBoolean)}_updateOutputs(t){let e=t._getExecutionVariable(this,s,-1),i=t._getExecutionVariable(this,a,null);if(null!=i&&e===t.executionId)this.isValid.setValue(!0,t),this.value.setValue(i,t);else try{let e=this._doOperation(t);if(null==e)return void this.isValid.setValue(!1,t);t._setExecutionVariable(this,a,e),t._setExecutionVariable(this,s,t.executionId),this.value.setValue(e,t),this.isValid.setValue(!0,t)}catch(e){this.isValid.setValue(!1,t)}}}t.s(["FlowGraphCachedOperationBlock",0,r])},8871,t=>{"use strict";var e=t.i(62750);class i extends e.FlowGraphCachedOperationBlock{constructor(t,e,i,a,s){super(e,s),this._operation=i,this._className=a,this.a=this.registerDataInput("a",t)}_doOperation(t){return this._operation(this.a.getValue(t))}getClassName(){return this._className}}t.s(["FlowGraphUnaryOperationBlock",0,i])},72192,t=>{"use strict";var e=t.i(62750);class i extends e.FlowGraphCachedOperationBlock{constructor(t,e,i,a,s,r){super(i,r),this._operation=a,this._className=s,this.a=this.registerDataInput("a",t),this.b=this.registerDataInput("b",e)}_doOperation(t){let e=this.a.getValue(t),i=this.b.getValue(t);return this._operation(e,i)}getClassName(){return this._className}}t.s(["FlowGraphBinaryOperationBlock",0,i])},3464,t=>{"use strict";var e=t.i(17884),i=t.i(75105),a=t.i(69400),s=t.i(8871),r=t.i(72192),o=t.i(44520);class l extends s.FlowGraphUnaryOperationBlock{constructor(t){super((0,i.getRichTypeByFlowGraphType)(t?.matrixType||"Matrix"),(0,i.getRichTypeByFlowGraphType)(t?.matrixType||"Matrix"),t=>t.transpose?t.transpose():a.Matrix.Transpose(t),"FlowGraphTransposeBlock",t)}}class n extends s.FlowGraphUnaryOperationBlock{constructor(t){super((0,i.getRichTypeByFlowGraphType)(t?.matrixType||"Matrix"),i.RichTypeNumber,t=>t.determinant(),"FlowGraphDeterminantBlock",t)}}class c extends s.FlowGraphUnaryOperationBlock{constructor(t){super((0,i.getRichTypeByFlowGraphType)(t?.matrixType||"Matrix"),(0,i.getRichTypeByFlowGraphType)(t?.matrixType||"Matrix"),t=>t.inverse?t.inverse():a.Matrix.Invert(t),"FlowGraphInvertMatrixBlock",t)}}class h extends r.FlowGraphBinaryOperationBlock{constructor(t){super((0,i.getRichTypeByFlowGraphType)(t?.matrixType||"Matrix"),(0,i.getRichTypeByFlowGraphType)(t?.matrixType||"Matrix"),(0,i.getRichTypeByFlowGraphType)(t?.matrixType||"Matrix"),(t,e)=>e.multiply(t),"FlowGraphMatrixMultiplicationBlock",t)}}class p extends e.FlowGraphBlock{constructor(t){super(t),this.input=this.registerDataInput("input",i.RichTypeMatrix),this.position=this.registerDataOutput("position",i.RichTypeVector3),this.rotationQuaternion=this.registerDataOutput("rotationQuaternion",i.RichTypeQuaternion),this.scaling=this.registerDataOutput("scaling",i.RichTypeVector3),this.isValid=this.registerDataOutput("isValid",i.RichTypeBoolean,!1)}_updateOutputs(t){let e=t._getExecutionVariable(this,"executionId",-1),i=t._getExecutionVariable(this,"cachedPosition",null),s=t._getExecutionVariable(this,"cachedRotation",null),r=t._getExecutionVariable(this,"cachedScaling",null);if(e===t.executionId&&i&&s&&r)this.position.setValue(i,t),this.rotationQuaternion.setValue(s,t),this.scaling.setValue(r,t);else{let e=this.input.getValue(t),o=i||new a.Vector3,l=s||new a.Quaternion,n=r||new a.Vector3,c=Math.round(1e4*e.m[3])/1e4,h=Math.round(1e4*e.m[7])/1e4,p=Math.round(1e4*e.m[11])/1e4,u=Math.round(1e4*e.m[15])/1e4;if(0!==c||0!==h||0!==p||1!==u){this.isValid.setValue(!1,t),this.position.setValue(a.Vector3.Zero(),t),this.rotationQuaternion.setValue(a.Quaternion.Identity(),t),this.scaling.setValue(a.Vector3.One(),t);return}let x=e.decompose(n,l,o);this.isValid.setValue(x,t),this.position.setValue(o,t),this.rotationQuaternion.setValue(l,t),this.scaling.setValue(n,t),t._setExecutionVariable(this,"cachedPosition",o),t._setExecutionVariable(this,"cachedRotation",l),t._setExecutionVariable(this,"cachedScaling",n),t._setExecutionVariable(this,"executionId",t.executionId)}}getClassName(){return"FlowGraphMatrixDecompose"}}class u extends e.FlowGraphBlock{constructor(t){super(t),this.position=this.registerDataInput("position",i.RichTypeVector3),this.rotationQuaternion=this.registerDataInput("rotationQuaternion",i.RichTypeQuaternion),this.scaling=this.registerDataInput("scaling",i.RichTypeVector3),this.value=this.registerDataOutput("value",i.RichTypeMatrix)}_updateOutputs(t){let e=t._getExecutionVariable(this,"executionId",-1),i=t._getExecutionVariable(this,"cachedMatrix",null);if(e===t.executionId&&i)this.value.setValue(i,t);else{let e=a.Matrix.Compose(this.scaling.getValue(t),this.rotationQuaternion.getValue(t),this.position.getValue(t));this.value.setValue(e,t),t._setExecutionVariable(this,"cachedMatrix",e),t._setExecutionVariable(this,"executionId",t.executionId)}}getClassName(){return"FlowGraphMatrixCompose"}}let x=!1;function V(){x||(x=!0,(0,o.RegisterClass)("FlowGraphTransposeBlock",l),(0,o.RegisterClass)("FlowGraphDeterminantBlock",n),(0,o.RegisterClass)("FlowGraphInvertMatrixBlock",c),(0,o.RegisterClass)("FlowGraphMatrixMultiplicationBlock",h),(0,o.RegisterClass)("FlowGraphMatrixDecompose",p),(0,o.RegisterClass)("FlowGraphMatrixCompose",u))}t.s(["FlowGraphDeterminantBlock",0,n,"FlowGraphInvertMatrixBlock",0,c,"FlowGraphMatrixComposeBlock",0,u,"FlowGraphMatrixDecomposeBlock",0,p,"FlowGraphMatrixMultiplicationBlock",0,h,"FlowGraphTransposeBlock",0,l,"RegisterFlowGraphMatrixMathBlocks",0,V],53049),V(),t.s([],66419),t.i(66419),t.i(53049),t.s(["FlowGraphDeterminantBlock",0,n,"FlowGraphInvertMatrixBlock",0,c,"FlowGraphMatrixComposeBlock",0,u,"FlowGraphMatrixDecomposeBlock",0,p,"FlowGraphMatrixMultiplicationBlock",0,h,"FlowGraphTransposeBlock",0,l],3464)}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,47150,t=>{"use strict";class e{static GetShadersRepository(t=0){return 0===t?e.ShadersRepository:e.ShadersRepositoryWGSL}static GetShadersStore(t=0){return 0===t?e.ShadersStore:e.ShadersStoreWGSL}static GetIncludesShadersStore(t=0){return 0===t?e.IncludesShadersStore:e.IncludesShadersStoreWGSL}}e.ShadersRepository="src/Shaders/",e.ShadersStore={},e.IncludesShadersStore={},e.ShadersRepositoryWGSL="src/ShadersWGSL/",e.ShadersStoreWGSL={},e.IncludesShadersStoreWGSL={},t.s(["ShaderStore",0,e])},32451,t=>{"use strict";class e{constructor(t){this.length=0,this.data=Array(t),this._id=e._GlobalId++}push(t){this.data[this.length++]=t,this.length>this.data.length&&(this.data.length*=2)}forEach(t){for(let e=0;e<this.length;e++)t(this.data[e])}sort(t){this.data.sort(t)}reset(){this.length=0}dispose(){this.reset(),this.data&&(this.data.length=0)}concat(t){if(0!==t.length){this.length+t.length>this.data.length&&(this.data.length=(this.length+t.length)*2);for(let e=0;e<t.length;e++)this.data[this.length++]=(t.data||t)[e]}}indexOf(t){let e=this.data.indexOf(t);return e>=this.length?-1:e}contains(t){return -1!==this.indexOf(t)}}e._GlobalId=0,t.s(["SmartArray",0,e,"SmartArrayNoDuplicate",0,class extends e{constructor(){super(...arguments),this._duplicateId=0}push(t){super.push(t),t.__smartArrayFlags||(t.__smartArrayFlags={}),t.__smartArrayFlags[this._id]=this._duplicateId}pushNoDuplicate(t){return(!t.__smartArrayFlags||t.__smartArrayFlags[this._id]!==this._duplicateId)&&(this.push(t),!0)}reset(){super.reset(),this._duplicateId++}concatWithNoDuplicate(t){if(0!==t.length){this.length+t.length>this.data.length&&(this.data.length=(this.length+t.length)*2);for(let e=0;e<t.length;e++){let i=(t.data||t)[e];this.pushNoDuplicate(i)}}}}])},57660,t=>{"use strict";var e=t.i(96042);class i{static GetPlanes(t){let a=[];for(let t=0;t<6;t++)a.push(new e.Plane(0,0,0,0));return i.GetPlanesToRef(t,a),a}static GetNearPlaneToRef(t,e){let i=t.m;e.normal.x=i[3]+i[2],e.normal.y=i[7]+i[6],e.normal.z=i[11]+i[10],e.d=i[15]+i[14],e.normalize()}static GetFarPlaneToRef(t,e){let i=t.m;e.normal.x=i[3]-i[2],e.normal.y=i[7]-i[6],e.normal.z=i[11]-i[10],e.d=i[15]-i[14],e.normalize()}static GetLeftPlaneToRef(t,e){let i=t.m;e.normal.x=i[3]+i[0],e.normal.y=i[7]+i[4],e.normal.z=i[11]+i[8],e.d=i[15]+i[12],e.normalize()}static GetRightPlaneToRef(t,e){let i=t.m;e.normal.x=i[3]-i[0],e.normal.y=i[7]-i[4],e.normal.z=i[11]-i[8],e.d=i[15]-i[12],e.normalize()}static GetTopPlaneToRef(t,e){let i=t.m;e.normal.x=i[3]-i[1],e.normal.y=i[7]-i[5],e.normal.z=i[11]-i[9],e.d=i[15]-i[13],e.normalize()}static GetBottomPlaneToRef(t,e){let i=t.m;e.normal.x=i[3]+i[1],e.normal.y=i[7]+i[5],e.normal.z=i[11]+i[9],e.d=i[15]+i[13],e.normalize()}static GetPlanesToRef(t,e){i.GetNearPlaneToRef(t,e[0]),i.GetFarPlaneToRef(t,e[1]),i.GetLeftPlaneToRef(t,e[2]),i.GetRightPlaneToRef(t,e[3]),i.GetTopPlaneToRef(t,e[4]),i.GetBottomPlaneToRef(t,e[5])}static IsPointInFrustum(t,e){for(let i=0;i<6;i++)if(0>e[i].dotCoordinate(t))return!1;return!0}}t.s(["Frustum",0,i])},84964,t=>{"use strict";var e=t.i(69400);class i{}i.POINTERDOWN=1,i.POINTERUP=2,i.POINTERMOVE=4,i.POINTERWHEEL=8,i.POINTERPICK=16,i.POINTERTAP=32,i.POINTERDOUBLETAP=64;class a{constructor(t,e){this.type=t,this.event=e}}t.s(["PointerEventTypes",0,i,"PointerInfo",0,class extends a{get pickInfo(){return this._pickInfo||this._generatePickInfo(),this._pickInfo}constructor(t,e,i,a=null){super(t,e),this._pickInfo=i,this._inputManager=a}_generatePickInfo(){this._inputManager&&(this._pickInfo=this._inputManager._pickMove(this.event),this._inputManager._setRayOnPointerInfo(this._pickInfo,this.event),this._inputManager=null)}},"PointerInfoPre",0,class extends a{constructor(t,i,a,r){super(t,i),this.ray=null,this.originalPickingInfo=null,this.skipOnPointerObservable=!1,this.localPosition=new e.Vector2(a,r)}}])},71092,t=>{"use strict";class e{}e.KEYDOWN=1,e.KEYUP=2;class i{constructor(t,e){this.type=t,this.event=e}}t.s(["KeyboardEventTypes",0,e,"KeyboardInfo",0,i,"KeyboardInfoPre",0,class extends i{get skipOnPointerObservable(){return this.skipOnKeyboardObservable}set skipOnPointerObservable(t){this.skipOnKeyboardObservable=t}constructor(t,e){super(t,e),this.type=t,this.event=e,this.skipOnKeyboardObservable=!1}}])},4021,t=>{"use strict";var e,i;(i=e||(e={}))[i.PointerMove=0]="PointerMove",i[i.PointerDown=1]="PointerDown",i[i.PointerUp=2]="PointerUp";class a{}a.DOM_DELTA_PIXEL=0,a.DOM_DELTA_LINE=1,a.DOM_DELTA_PAGE=2,t.s(["EventConstants",0,a])},52624,t=>{"use strict";let e,i,a,r,s,n,o,h,l,c,d,u,_,m,p,g;var f,y=t.i(57575),b=t.i(69400),R=t.i(9855),v=t.i(3864),S=t.i(23003),M=t.i(85050),I=t.i(2060);class D{constructor(){this._doNotSerialize=!1,this._isDisposed=!1,this._sceneRootNodesIndex=-1,this._isEnabled=!0,this._isParentEnabled=!0,this._isReady=!0,this._onEnabledStateChangedObservable=new v.Observable,this._onEffectiveEnabledStateChangedObservable=null,this._onClonedObservable=new v.Observable,this._inheritVisibility=!1,this._isVisible=!0}}let x=(n=[],o=[],h=[],l=[],c=[],d=[],u=[],_=[],m=[],p=[],f=class{static AddNodeConstructor(t,e){this._NodeConstructors[t]=e}static Construct(t,e,i,a){let r=this._NodeConstructors[t];return r?r(e,i,a):null}set accessibilityTag(t){this._accessibilityTag=t,this.onAccessibilityTagChangedObservable.notifyObservers(t)}get accessibilityTag(){return this._accessibilityTag}get doNotSerialize(){return!!this._nodeDataStorage._doNotSerialize||!!this._parentNode&&this._parentNode.doNotSerialize}set doNotSerialize(t){this._nodeDataStorage._doNotSerialize=t}isDisposed(){return this._nodeDataStorage._isDisposed}set parent(t){if(this._parentNode===t)return;let e=this._parentNode;if(this._parentNode&&void 0!==this._parentNode._children&&null!==this._parentNode._children){let e=this._parentNode._children.indexOf(this);-1!==e&&this._parentNode._children.splice(e,1),t||this._nodeDataStorage._isDisposed||this._addToSceneRootNodes()}this._parentNode=t,this._isDirty=!0,this._parentNode&&((void 0===this._parentNode._children||null===this._parentNode._children)&&(this._parentNode._children=[]),this._parentNode._children.push(this),e||this._removeFromSceneRootNodes()),this._syncParentEnabledState()}get parent(){return this._parentNode}get inheritVisibility(){return this._nodeDataStorage._inheritVisibility}set inheritVisibility(t){this._nodeDataStorage._inheritVisibility=t}get isVisible(){return(!this.inheritVisibility||!this._parentNode||!!this._parentNode.isVisible)&&this._nodeDataStorage._isVisible}set isVisible(t){this._nodeDataStorage._isVisible=t}_serializeAsParent(t){t.parentId=this.uniqueId}_addToSceneRootNodes(){-1===this._nodeDataStorage._sceneRootNodesIndex&&(this._nodeDataStorage._sceneRootNodesIndex=this._scene.rootNodes.length,this._scene.rootNodes.push(this))}_removeFromSceneRootNodes(){if(-1!==this._nodeDataStorage._sceneRootNodesIndex){let t=this._scene.rootNodes,e=t.length-1;t[this._nodeDataStorage._sceneRootNodesIndex]=t[e],t[this._nodeDataStorage._sceneRootNodesIndex]._nodeDataStorage._sceneRootNodesIndex=this._nodeDataStorage._sceneRootNodesIndex,this._scene.rootNodes.pop(),this._nodeDataStorage._sceneRootNodesIndex=-1}}get animationPropertiesOverride(){return this._animationPropertiesOverride?this._animationPropertiesOverride:this._scene.animationPropertiesOverride}set animationPropertiesOverride(t){this._animationPropertiesOverride=t}getClassName(){return"Node"}set onDispose(t){this._onDisposeObserver&&this.onDisposeObservable.remove(this._onDisposeObserver),this._onDisposeObserver=this.onDisposeObservable.add(t)}get onEnabledStateChangedObservable(){return this._nodeDataStorage._onEnabledStateChangedObservable}get onEffectiveEnabledStateChangedObservable(){var t;return(t=this._nodeDataStorage)._onEffectiveEnabledStateChangedObservable??(t._onEffectiveEnabledStateChangedObservable=new v.Observable)}get onClonedObservable(){return this._nodeDataStorage._onClonedObservable}constructor(t,e=null,i=!0){this._isDirty=!1,this._nodeDataStorage=new D,this.name=(0,y.__runInitializers)(this,n,void 0),this.id=((0,y.__runInitializers)(this,o),(0,y.__runInitializers)(this,h,void 0)),this.uniqueId=((0,y.__runInitializers)(this,l),(0,y.__runInitializers)(this,c,void 0)),this.state=((0,y.__runInitializers)(this,d),(0,y.__runInitializers)(this,u,"")),this.metadata=((0,y.__runInitializers)(this,_),(0,y.__runInitializers)(this,m,null)),this._internalMetadata=(0,y.__runInitializers)(this,p),this.reservedDataStore=null,this._accessibilityTag=null,this.onAccessibilityTagChangedObservable=new v.Observable,this._parentContainer=null,this.animations=[],this._ranges={},this.onReady=null,this._currentRenderId=-1,this._parentUpdateId=-1,this._childUpdateId=-1,this._waitingParentId=null,this._waitingParentInstanceIndex=null,this._waitingParsedUniqueId=null,this._cache={},this._parentNode=null,this._children=null,this._worldMatrix=b.Matrix.Identity(),this._worldMatrixDeterminant=0,this._worldMatrixDeterminantIsDirty=!0,this._animationPropertiesOverride=null,this._isNode=!0,this.onDisposeObservable=new v.Observable,this._onDisposeObserver=null,this._behaviors=[],this.name=t,this.id=t,this._scene=e||S.EngineStore.LastCreatedScene,this.uniqueId=this._scene.getUniqueId(),this._initCache(),i&&this._addToSceneRootNodes()}getScene(){return this._scene}getEngine(){return this._scene.getEngine()}addBehavior(t,e=!1){return -1!==this._behaviors.indexOf(t)||(t.init(),this._scene.isLoading&&!e?this._scene.onDataLoadedObservable.addOnce(()=>{this._behaviors.includes(t)&&t.attach(this)}):t.attach(this),this._behaviors.push(t)),this}removeBehavior(t){let e=this._behaviors.indexOf(t);return -1===e||(this._behaviors.splice(e,1),t.detach()),this}get behaviors(){return this._behaviors}getBehaviorByName(t){for(let e of this._behaviors)if(e.name===t)return e;return null}getWorldMatrix(){return this._currentRenderId!==this._scene.getRenderId()&&this.computeWorldMatrix(),this._worldMatrix}_getWorldMatrixDeterminant(){return this._worldMatrixDeterminantIsDirty&&(this._worldMatrixDeterminantIsDirty=!1,this._worldMatrixDeterminant=this._worldMatrix.determinant()),this._worldMatrixDeterminant}get worldMatrixFromCache(){return this._worldMatrix}_initCache(){this._cache={}}updateCache(t){!t&&this.isSynchronized()||this._updateCache()}_getActionManagerForTrigger(t,e=!0){return this.parent?this.parent._getActionManagerForTrigger(t,!1):null}_updateCache(t){}_isSynchronized(){return!0}_markSyncedWithParent(){this._parentNode&&(this._parentUpdateId=this._parentNode._childUpdateId)}isSynchronizedWithParent(){return!this._parentNode||!this._parentNode._isDirty&&this._parentUpdateId===this._parentNode._childUpdateId&&this._parentNode.isSynchronized()}isSynchronized(){return(!this._parentNode||!!this.isSynchronizedWithParent())&&this._isSynchronized()}isReady(t=!1){return this._nodeDataStorage._isReady}markAsDirty(t){return this._currentRenderId=Number.MAX_VALUE,this._isDirty=!0,this}isEnabled(t=!0){return!1===t?this._nodeDataStorage._isEnabled:!!this._nodeDataStorage._isEnabled&&this._nodeDataStorage._isParentEnabled}_hasEffectiveEnabledStateObservers(){let t=this._nodeDataStorage._onEffectiveEnabledStateChangedObservable;return!!t&&t.hasObservers()}_syncParentEnabledState(){let t=this._hasEffectiveEnabledStateObservers(),e=t?this.isEnabled():null;if(this._nodeDataStorage._isParentEnabled=!this._parentNode||this._parentNode.isEnabled(),this._children)for(let t of this._children)t._syncParentEnabledState();if(t){let t=this.isEnabled();t!==e&&this._nodeDataStorage._onEffectiveEnabledStateChangedObservable.notifyObservers(t)}}setEnabled(t){if(this._nodeDataStorage._isEnabled===t)return;let e=this._hasEffectiveEnabledStateObservers(),i=e?this.isEnabled():null;if(this._nodeDataStorage._isEnabled=t,this._syncParentEnabledState(),this._nodeDataStorage._onEnabledStateChangedObservable.notifyObservers(t),e){let t=this.isEnabled();t!==i&&this._nodeDataStorage._onEffectiveEnabledStateChangedObservable.notifyObservers(t)}}isDescendantOf(t){return!!this.parent&&(this.parent===t||this.parent.isDescendantOf(t))}_getDescendants(t,e=!1,i){if(this._children)for(let a=0;a<this._children.length;a++){let r=this._children[a];(!i||i(r))&&t.push(r),e||r._getDescendants(t,!1,i)}}getDescendants(t,e){let i=[];return this._getDescendants(i,t,e),i}getChildMeshes(t,e){let i=[];return this._getDescendants(i,t,t=>(!e||e(t))&&void 0!==t.cullingStrategy),i}getChildren(t,e=!0){return this.getDescendants(e,t)}_setReady(t){if(t!==this._nodeDataStorage._isReady){if(!t){this._nodeDataStorage._isReady=!1;return}this.onReady&&this.onReady(this),this._nodeDataStorage._isReady=!0}}getAnimationByName(t){for(let e=0;e<this.animations.length;e++){let i=this.animations[e];if(i.name===t)return i}return null}createAnimationRange(t,e,i){if(!this._ranges[t]){this._ranges[t]=f._AnimationRangeFactory(t,e,i);for(let a=0,r=this.animations.length;a<r;a++)this.animations[a]&&this.animations[a].createRange(t,e,i)}}deleteAnimationRange(t,e=!0){for(let i=0,a=this.animations.length;i<a;i++)this.animations[i]&&this.animations[i].deleteRange(t,e);this._ranges[t]=null}getAnimationRange(t){return this._ranges[t]||null}clone(t,e,i){let a=I.SerializationHelper.Clone(()=>new f(t,this.getScene()),this);if(e&&(a.parent=e),!i){let e=this.getDescendants(!0);for(let i=0;i<e.length;i++){let r=e[i];r.clone(t+"."+r.name,a)}}return a}getAnimationRanges(){let t,e=[];for(t in this._ranges)e.push(this._ranges[t]);return e}beginAnimation(t,e,i,a){let r=this.getAnimationRange(t);return r?this._scene.beginAnimation(this,r.from,r.to,e,i,a):null}serializeAnimationRanges(){let t=[];for(let e in this._ranges){let i=this._ranges[e];if(!i)continue;let a={};a.name=e,a.from=i.from,a.to=i.to,t.push(a)}return t}computeWorldMatrix(t){return this._worldMatrix||(this._worldMatrix=b.Matrix.Identity()),this._worldMatrix}dispose(t,e=!1){if(this._nodeDataStorage._isDisposed=!0,!t)for(let i of this.getDescendants(!0))i.dispose(t,e);for(let t of(this.parent?this.parent=null:this._removeFromSceneRootNodes(),this.onDisposeObservable.notifyObservers(this),this.onDisposeObservable.clear(),this.onEnabledStateChangedObservable.clear(),this._nodeDataStorage._onEffectiveEnabledStateChangedObservable?.clear(),this.onClonedObservable.clear(),this._behaviors))t.detach();this._behaviors.length=0,this.metadata=null}static ParseAnimationRanges(t,e,i){if(e.ranges)for(let i=0;i<e.ranges.length;i++){let a=e.ranges[i];t.createAnimationRange(a.name,a.from,a.to)}}getHierarchyBoundingVectors(t=!0,e=null){let i,a;if(this.getScene().incrementRenderId(),this.computeWorldMatrix(!0),this.getBoundingInfo&&this.subMeshes){let t=this.getBoundingInfo();i=t.boundingBox.minimumWorld.clone(),a=t.boundingBox.maximumWorld.clone()}else i=new b.Vector3(Number.MAX_VALUE,Number.MAX_VALUE,Number.MAX_VALUE),a=new b.Vector3(-Number.MAX_VALUE,-Number.MAX_VALUE,-Number.MAX_VALUE);if(t)for(let t of this.getDescendants(!1)){if(t.computeWorldMatrix(!0),e&&!e(t)||!t.getBoundingInfo||0===t.getTotalVertices())continue;let r=t.getBoundingInfo().boundingBox,s=r.minimumWorld,n=r.maximumWorld;b.Vector3.CheckExtends(s,i,a),b.Vector3.CheckExtends(n,i,a)}return{min:i,max:a}}},g="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0,e=[(0,R.serialize)()],i=[(0,R.serialize)()],a=[(0,R.serialize)()],r=[(0,R.serialize)()],s=[(0,R.serialize)()],(0,y.__esDecorate)(null,null,e,{kind:"field",name:"name",static:!1,private:!1,access:{has:t=>"name"in t,get:t=>t.name,set:(t,e)=>{t.name=e}},metadata:g},n,o),(0,y.__esDecorate)(null,null,i,{kind:"field",name:"id",static:!1,private:!1,access:{has:t=>"id"in t,get:t=>t.id,set:(t,e)=>{t.id=e}},metadata:g},h,l),(0,y.__esDecorate)(null,null,a,{kind:"field",name:"uniqueId",static:!1,private:!1,access:{has:t=>"uniqueId"in t,get:t=>t.uniqueId,set:(t,e)=>{t.uniqueId=e}},metadata:g},c,d),(0,y.__esDecorate)(null,null,r,{kind:"field",name:"state",static:!1,private:!1,access:{has:t=>"state"in t,get:t=>t.state,set:(t,e)=>{t.state=e}},metadata:g},u,_),(0,y.__esDecorate)(null,null,s,{kind:"field",name:"metadata",static:!1,private:!1,access:{has:t=>"metadata"in t,get:t=>t.metadata,set:(t,e)=>{t.metadata=e}},metadata:g},m,p),g&&Object.defineProperty(f,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:g}),f._AnimationRangeFactory=(t,e,i)=>{throw(0,M._WarnImport)("AnimationRange")},f._NodeConstructors={},f);t.s(["Node",0,x])},26924,t=>{"use strict";var e,i,a,r,s=t.i(69400);(e=a||(a={}))[e.LOCAL=0]="LOCAL",e[e.WORLD=1]="WORLD",e[e.BONE=2]="BONE";class n{}n.X=new s.Vector3(1,0,0),n.Y=new s.Vector3(0,1,0),n.Z=new s.Vector3(0,0,1),(i=r||(r={}))[i.X=0]="X",i[i.Y=1]="Y",i[i.Z=2]="Z",t.s(["Axis",0,n,"Coordinate",0,r,"Space",0,a])},82571,91586,57113,25970,t=>{"use strict";let e,i,a,r,s,n,o,h,l,c,d,u,_,m;var p,g=t.i(57575),f=t.i(9855),y=t.i(55288),b=t.i(69400),R=t.i(84106),v=t.i(26924);class S{constructor(t,e,i){this._cameraPosition=e,this._behavior=i,this.activeInput=!1,this.speed=1,this.zoomSpeed=1,this.panSpeed=1,this.rotationXSpeed=1,this.rotationYSpeed=1,this._zoomSpeedMultiplier=1,this._panSpeedMultiplier=1,this.zoomInertia=.9,this.panInertia=.9,this.rotationInertia=.9,this.zoomAccumulatedPixels=0,this.panAccumulatedPixels=new b.Vector3,this.rotationAccumulatedPixels=new b.Vector3,this.zoomDeltaCurrentFrame=0,this.panDeltaCurrentFrame=b.Vector3.Zero(),this.rotationDeltaCurrentFrame=b.Vector3.Zero(),this._zoomVelocity=0,this._panVelocity=new b.Vector3,this.referenceFrameRate=60,this._rotationVelocity=new b.Vector3,this._prevFrameTimeMs=0,this._scene=t}computeCurrentFrameDeltas(){let t=this._scene.getEngine().getDeltaTime(),e=this._getEffectiveDeltaMs(t);if(0===this._zoomVelocity&&0===this.zoomAccumulatedPixels&&0===this._panVelocity.x&&0===this._panVelocity.y&&0===this._panVelocity.z&&0===this.panAccumulatedPixels.x&&0===this.panAccumulatedPixels.y&&0===this.panAccumulatedPixels.z&&0===this._rotationVelocity.x&&0===this._rotationVelocity.y&&0===this._rotationVelocity.z&&0===this.rotationAccumulatedPixels.x&&0===this.rotationAccumulatedPixels.y&&0===this.rotationAccumulatedPixels.z&&!this.activeInput){this.panDeltaCurrentFrame.setAll(0),this.rotationDeltaCurrentFrame.setAll(0),this.zoomDeltaCurrentFrame=0,t>0&&(this._prevFrameTimeMs=t);return}this.panDeltaCurrentFrame.setAll(0),this.rotationDeltaCurrentFrame.setAll(0),this.zoomDeltaCurrentFrame=0,(this.panAccumulatedPixels.lengthSquared()>0||this.rotationAccumulatedPixels.lengthSquared()>0||0!==this.zoomAccumulatedPixels)&&this._behavior?.isInterpolating&&this._behavior.stopAllAnimations(),this._panVelocity.copyFromFloats(this._calculateCurrentVelocity(this._panVelocity.x,this.panAccumulatedPixels.x,this.panInertia),this._calculateCurrentVelocity(this._panVelocity.y,this.panAccumulatedPixels.y,this.panInertia),this._calculateCurrentVelocity(this._panVelocity.z,this.panAccumulatedPixels.z,this.panInertia)),this._panVelocity.scaleToRef(this.speed*this.panSpeed*this._panSpeedMultiplier*e,this.panDeltaCurrentFrame),this._rotationVelocity.copyFromFloats(this._calculateCurrentVelocity(this._rotationVelocity.x,this.rotationAccumulatedPixels.x,this.rotationInertia),this._calculateCurrentVelocity(this._rotationVelocity.y,this.rotationAccumulatedPixels.y,this.rotationInertia),this._calculateCurrentVelocity(this._rotationVelocity.z,this.rotationAccumulatedPixels.z,this.rotationInertia)),this.rotationDeltaCurrentFrame.copyFromFloats(this._rotationVelocity.x*this.speed*this.rotationXSpeed*e,this._rotationVelocity.y*this.speed*this.rotationYSpeed*e,0),this._zoomVelocity=this._calculateCurrentVelocity(this._zoomVelocity,this.zoomAccumulatedPixels,this.zoomInertia),this.zoomDeltaCurrentFrame=this._zoomVelocity*(this.speed*this.zoomSpeed*this._zoomSpeedMultiplier)*e,t>0&&(this._prevFrameTimeMs=t),this.zoomAccumulatedPixels=0,this.panAccumulatedPixels.setAll(0),this.rotationAccumulatedPixels.setAll(0),this.activeInput=!1}resetRotationVelocity(){this._rotationVelocity.setAll(0),this.rotationAccumulatedPixels.setAll(0)}resetPanVelocity(){this._panVelocity.setAll(0),this.panAccumulatedPixels.setAll(0)}resetZoomVelocity(){this._zoomVelocity=0,this.zoomAccumulatedPixels=0}get isInterpolating(){return!!this._behavior?.isInterpolating}getFrameIndependentDecay(t){let e=this._scene.getEngine().getDeltaTime();return Math.pow(t,this._getEffectiveDeltaMs(e)/(1e3/this.referenceFrameRate))}getFrameIndependentInputScale(t){let e=1-t;return e<=0?1:(1-this.getFrameIndependentDecay(t))/e}_getEffectiveDeltaMs(t){return t>0?t:this._prevFrameTimeMs>0?this._prevFrameTimeMs:1e3/this.referenceFrameRate}_calculateCurrentVelocity(t,e,i){let a=t,r=this._scene.getEngine().getDeltaTime(),s=this._getEffectiveDeltaMs(r);if(0===s)return a;let n=this.getFrameIndependentDecay(i);if(a*=n,0!==e||this.activeInput){let t=1-i;a+=e/s*(t>0?(1-n)/t:1)}else 1e-6>Math.abs(a)&&(a=0);return a}}t.s(["CameraMovement",0,S],91586);class M{constructor(t,e){this.inputMap=[],this.handlers=t,this._createDefaultEntries=e,this.resetInputMap()}resolveInteraction(t,e){for(let i of this.inputMap)if(i.source===t&&this._entryMatches(i,e))return i;return null}resetInputMap(){this.inputMap=this._createDefaultEntries?.()??[]}getEntry(t,e,i){let a=this.inputMap;for(let r=0;r<a.length;r++){let s=a[r];if(s.source===t&&s.interaction===e&&this._entryConditionsMatch(s,i))return s}}getEntries(t,e,i){let a=[],r=this.inputMap;for(let s=0;s<r.length;s++){let n=r[s];n.source===t&&n.interaction===e&&this._entryConditionsMatch(n,i)&&a.push(n)}return a}addEntry(t){let e=this._entrySpecificity(t),i=this.inputMap.length;for(let t=0;t<this.inputMap.length;t++)if(this._entrySpecificity(this.inputMap[t])<e){i=t;break}this.inputMap.splice(i,0,t)}setInteraction(t,e,i){let a=this.resolveInteraction(t,e);return a&&this._entryCoversAllConditionsOf(a,e)?a.interaction=i:this.addEntry({source:t,...e??{},interaction:i}),!0}_entryCoversAllConditionsOf(t,e){if(!e)return!0;for(let i of Object.keys(e)){let a=e[i];if(void 0!==a){if("modifiers"===i){let e=t.modifiers??{};for(let t of Object.keys(a))if(void 0!==a[t]&&void 0===e[t])return!1}else if(void 0===t[i])return!1}}return!0}setInteractions(t,e,i){let a=0,r=this.inputMap;for(let s=0;s<r.length;s++){let n=r[s];n.source===t&&this._entryMatches(n,e)&&(n.interaction=i,a++)}return a}_entryMatches(t,e){switch(t.source){case"pointer":if(void 0!==t.button&&t.button!==e?.button)return!1;return this._matchModifiers(t.modifiers,e?.modifiers);case"wheel":return this._matchModifiers(t.modifiers,e?.modifiers);case"touch":if(void 0!==t.touchCount&&t.touchCount!==e?.touchCount)return!1;return!0;case"keyboard":if(void 0!==t.key&&(Array.isArray(t.key)?-1===t.key.indexOf(e?.key??-1):t.key!==e?.key))return!1;return this._matchModifiers(t.modifiers,e?.modifiers)}}_entryConditionsMatch(t,e){if(!e)return!0;switch(t.source){case"pointer":if("button"in e&&t.button!==e.button)return!1;return!("modifiers"in e)||this._entryModifiersMatch(t.modifiers,e.modifiers);case"wheel":return!("modifiers"in e)||this._entryModifiersMatch(t.modifiers,e.modifiers);case"touch":return!("touchCount"in e)||t.touchCount===e.touchCount;case"keyboard":if("key"in e){if(void 0===t.key)return void 0===e.key;if(void 0===e.key||(Array.isArray(t.key)?-1===t.key.indexOf(e.key):t.key!==e.key))return!1}return!("modifiers"in e)||this._entryModifiersMatch(t.modifiers,e.modifiers)}}_entrySpecificity(t){let e=0;return"button"in t&&void 0!==t.button&&e++,"key"in t&&void 0!==t.key&&e++,"touchCount"in t&&void 0!==t.touchCount&&e++,"modifiers"in t&&t.modifiers&&e++,e}_matchModifiers(t,e){return!t||(void 0===t.ctrl||t.ctrl===(e?.ctrl??!1))&&(void 0===t.shift||t.shift===(e?.shift??!1))&&(void 0===t.alt||t.alt===(e?.alt??!1))}_entryModifiersMatch(t,e){return e?void 0===e.ctrl&&void 0===e.shift&&void 0===e.alt?!t||void 0===t.ctrl&&void 0===t.shift&&void 0===t.alt:(void 0===e.ctrl||t?.ctrl===e.ctrl)&&(void 0===e.shift||t?.shift===e.shift)&&(void 0===e.alt||t?.alt===e.alt):!t}}t.s(["InputMapper",0,M],57113);class I extends S{constructor(t,e,i){super(t,e,i),this.input=new M({translate:(t,e,i)=>{this.panAccumulatedPixels.x+=t,this.panAccumulatedPixels.y+=e,this.panAccumulatedPixels.z+=i},rotate:(t,e)=>{this.rotationAccumulatedPixels.x+=t,this.rotationAccumulatedPixels.y+=e}},()=>this._createDefaultInputMap())}_createDefaultInputMap(){return[{source:"pointer",interaction:"rotate"},{source:"keyboard",interaction:"translate"},{source:"keyboard",interaction:"rotate"},{source:"touch",interaction:"rotate"},{source:"touch",interaction:"translate"}]}}let D=b.Matrix.Zero(),x=b.Quaternion.Identity(),C=(s=y.Camera,n=[],o=[],h=[],l=[],c=[],d=[],u=[],_=[],p=class extends s{get inertia(){return this._targetInertia}set inertia(t){this._targetInertia=t,this.movement&&(this.movement.panInertia=t,this.movement.rotationInertia=t)}constructor(t,e,i,a=!0){super(t,e,i,a),this.cameraDirection=new b.Vector3(0,0,0),this.cameraRotation=new b.Vector2(0,0),this._targetInertia=.9,this.updateUpVectorFromRotation=(0,g.__runInitializers)(this,n,!1),this.rotation=((0,g.__runInitializers)(this,o),(0,g.__runInitializers)(this,h,void 0)),this.rotationQuaternion=(0,g.__runInitializers)(this,l),this.speed=(0,g.__runInitializers)(this,c,2),this.noRotationConstraint=((0,g.__runInitializers)(this,d),!1),this.invertRotation=!1,this.inverseRotationSpeed=.2,this._panningEpsilon=R.Epsilon,this._rotationEpsilon=R.Epsilon,this.lockedTarget=(0,g.__runInitializers)(this,u,null),this._currentTarget=((0,g.__runInitializers)(this,_),b.Vector3.Zero()),this._initialFocalDistance=1,this._viewMatrix=b.Matrix.Zero(),this._cameraTransformMatrix=b.Matrix.Zero(),this._cameraRotationMatrix=b.Matrix.Zero(),this._transformedReferencePoint=b.Vector3.Zero(),this._deferredPositionUpdate=new b.Vector3,this._deferredRotationQuaternionUpdate=new b.Quaternion,this._deferredRotationUpdate=new b.Vector3,this._deferredUpdated=!1,this._deferOnly=!1,this._cachedRotationZ=0,this._cachedQuaternionRotationZ=0,this._referencePoint=b.Vector3.Forward(this.getScene().useRightHandedSystem),this.rotation=new b.Vector3(0,this.getScene().useRightHandedSystem?Math.PI:0,0),this.movement=new I(this.getScene(),this.position),this.movement.panInertia=this.inertia,this.movement.rotationInertia=this.inertia}getFrontPosition(t){this.getWorldMatrix();let e=b.TmpVectors.Vector3[0],i=b.TmpVectors.Vector3[1];return i.set(0,0,this._scene.useRightHandedSystem?-1:1),this.getDirectionToRef(i,e),e.scaleInPlace(t),this.globalPosition.add(e)}_getLockedTargetPosition(){if(!this.lockedTarget)return null;if(this.lockedTarget.absolutePosition){let t=this.lockedTarget;t.computeWorldMatrix().getTranslationToRef(t.absolutePosition)}return this.lockedTarget.absolutePosition||this.lockedTarget}storeState(){return this._storedPosition=this.position.clone(),this._storedRotation=this.rotation.clone(),this.rotationQuaternion&&(this._storedRotationQuaternion=this.rotationQuaternion.clone()),super.storeState()}_restoreStateValues(){return!!super._restoreStateValues()&&(this.position=this._storedPosition.clone(),this.rotation=this._storedRotation.clone(),this.rotationQuaternion&&this._storedRotationQuaternion&&(this.rotationQuaternion=this._storedRotationQuaternion.clone()),this.cameraDirection.copyFromFloats(0,0,0),this.cameraRotation.copyFromFloats(0,0),!0)}_initCache(){super._initCache(),this._cache.lockedTarget=new b.Vector3(Number.MAX_VALUE,Number.MAX_VALUE,Number.MAX_VALUE),this._cache.rotation=new b.Vector3(Number.MAX_VALUE,Number.MAX_VALUE,Number.MAX_VALUE),this._cache.rotationQuaternion=new b.Quaternion(Number.MAX_VALUE,Number.MAX_VALUE,Number.MAX_VALUE,Number.MAX_VALUE)}_updateCache(t){t||super._updateCache();let e=this._getLockedTargetPosition();e?this._cache.lockedTarget?this._cache.lockedTarget.copyFrom(e):this._cache.lockedTarget=e.clone():this._cache.lockedTarget=null,this._cache.rotation.copyFrom(this.rotation),this.rotationQuaternion&&this._cache.rotationQuaternion.copyFrom(this.rotationQuaternion)}_isSynchronizedViewMatrix(){if(!super._isSynchronizedViewMatrix())return!1;let t=this._getLockedTargetPosition();return(this._cache.lockedTarget?this._cache.lockedTarget.equals(t):!t)&&(this.rotationQuaternion?this.rotationQuaternion.equals(this._cache.rotationQuaternion):this._cache.rotation.equals(this.rotation))}_computeLocalCameraSpeed(){let t=this.getEngine();return this.speed*Math.sqrt(t.getDeltaTime()/(100*t.getFps()))}setTarget(t){this.upVector.normalize(),this._initialFocalDistance=t.subtract(this.position).length(),this.position.z===t.z&&(this.position.z+=R.Epsilon),this._referencePoint.normalize().scaleInPlace(this._initialFocalDistance),this.getScene().useRightHandedSystem?b.Matrix.LookAtRHToRef(this.position,t,b.Vector3.UpReadOnly,D):b.Matrix.LookAtLHToRef(this.position,t,b.Vector3.UpReadOnly,D),D.invert();let e=this.rotationQuaternion||x;b.Quaternion.FromRotationMatrixToRef(D,e),e.toEulerAnglesToRef(this.rotation),this.rotation.z=0}get target(){return this.getTarget()}set target(t){this.setTarget(t)}getTarget(){return this._currentTarget}_decideIfNeedsToMove(){return Math.abs(this.cameraDirection.x)>0||Math.abs(this.cameraDirection.y)>0||Math.abs(this.cameraDirection.z)>0}_updatePosition(){if(this.parent){this.parent.getWorldMatrix().invertToRef(b.TmpVectors.Matrix[0]),b.Vector3.TransformNormalToRef(this.cameraDirection,b.TmpVectors.Matrix[0],b.TmpVectors.Vector3[0]),this._deferredPositionUpdate.addInPlace(b.TmpVectors.Vector3[0]),this._deferOnly?this._deferredUpdated=!0:this.position.copyFrom(this._deferredPositionUpdate);return}this._deferredPositionUpdate.addInPlace(this.cameraDirection),this._deferOnly?this._deferredUpdated=!0:this.position.copyFrom(this._deferredPositionUpdate)}_checkInputs(){let t=this.movement,e=0!==this.cameraDirection.x||0!==this.cameraDirection.y||0!==this.cameraDirection.z;t.panAccumulatedPixels.addInPlace(this.cameraDirection),t.rotationAccumulatedPixels.x+=this.cameraRotation.x,t.rotationAccumulatedPixels.y+=this.cameraRotation.y,t.computeCurrentFrameDeltas(),this.cameraDirection.copyFrom(t.panDeltaCurrentFrame),this.cameraRotation.set(t.rotationDeltaCurrentFrame.x,t.rotationDeltaCurrentFrame.y);let i=this.speed*this._panningEpsilon;!e&&Math.abs(this.cameraDirection.x)<i&&Math.abs(this.cameraDirection.y)<i&&Math.abs(this.cameraDirection.z)<i&&(this.cameraDirection.setAll(0),t.resetPanVelocity());let a=this.invertRotation?-this.inverseRotationSpeed:1,r=this._decideIfNeedsToMove(),s=!!(this.cameraRotation.x||this.cameraRotation.y);this._deferredUpdated=!1,this._deferredRotationUpdate.copyFrom(this.rotation),this._deferredPositionUpdate.copyFrom(this.position),this.rotationQuaternion&&this._deferredRotationQuaternionUpdate.copyFrom(this.rotationQuaternion),r&&this._updatePosition(),s&&(this.rotationQuaternion&&this.rotationQuaternion.toEulerAnglesToRef(this._deferredRotationUpdate),this._deferredRotationUpdate.x+=this.cameraRotation.x*a,this._deferredRotationUpdate.y+=this.cameraRotation.y*a,!this.noRotationConstraint&&(this._deferredRotationUpdate.x>1.570796&&(this._deferredRotationUpdate.x=1.570796),this._deferredRotationUpdate.x<-1.570796&&(this._deferredRotationUpdate.x=-1.570796)),this._deferOnly?this._deferredUpdated=!0:this.rotation.copyFrom(this._deferredRotationUpdate),this.rotationQuaternion&&this._deferredRotationUpdate.lengthSquared()&&(b.Quaternion.RotationYawPitchRollToRef(this._deferredRotationUpdate.y,this._deferredRotationUpdate.x,this._deferredRotationUpdate.z,this._deferredRotationQuaternionUpdate),this._deferOnly?this._deferredUpdated=!0:this.rotationQuaternion.copyFrom(this._deferredRotationQuaternionUpdate))),this.cameraDirection.setAll(0),this.cameraRotation.set(0,0),super._checkInputs()}_updateCameraRotationMatrix(){this.rotationQuaternion?this.rotationQuaternion.toRotationMatrix(this._cameraRotationMatrix):b.Matrix.RotationYawPitchRollToRef(this.rotation.y,this.rotation.x,this.rotation.z,this._cameraRotationMatrix)}_rotateUpVectorWithCameraRotationMatrix(){return b.Vector3.TransformNormalToRef(b.Vector3.UpReadOnly,this._cameraRotationMatrix,this.upVector),this}_getViewMatrix(){return this.lockedTarget&&this.setTarget(this._getLockedTargetPosition()),this._updateCameraRotationMatrix(),this.rotationQuaternion&&this._cachedQuaternionRotationZ!=this.rotationQuaternion.z?(this._rotateUpVectorWithCameraRotationMatrix(),this._cachedQuaternionRotationZ=this.rotationQuaternion.z):this._cachedRotationZ!==this.rotation.z&&(this._rotateUpVectorWithCameraRotationMatrix(),this._cachedRotationZ=this.rotation.z),b.Vector3.TransformCoordinatesToRef(this._referencePoint,this._cameraRotationMatrix,this._transformedReferencePoint),this.position.addToRef(this._transformedReferencePoint,this._currentTarget),this.updateUpVectorFromRotation&&(this.rotationQuaternion?v.Axis.Y.rotateByQuaternionToRef(this.rotationQuaternion,this.upVector):(b.Quaternion.FromEulerVectorToRef(this.rotation,x),v.Axis.Y.rotateByQuaternionToRef(x,this.upVector))),this._computeViewMatrix(this.position,this._currentTarget,this.upVector),this._viewMatrix}_computeViewMatrix(t,e,i){if(this.getScene().useRightHandedSystem?b.Matrix.LookAtRHToRef(t,e,i,this._viewMatrix):b.Matrix.LookAtLHToRef(t,e,i,this._viewMatrix),this.parent){let t=this.parent.getWorldMatrix();this._viewMatrix.invert(),this._viewMatrix.multiplyToRef(t,this._viewMatrix),this._viewMatrix.invert(),this._markSyncedWithParent()}}createRigCamera(t,e){if(this.cameraRigMode!==y.Camera.RIG_MODE_NONE){let e=new p(t,this.position.clone(),this.getScene());return e.isRigCamera=!0,e.rigParent=this,this.cameraRigMode===y.Camera.RIG_MODE_VR&&(this.rotationQuaternion||(this.rotationQuaternion=new b.Quaternion),e._cameraRigParams={},e.rotationQuaternion=new b.Quaternion),e.mode=this.mode,e.orthoLeft=this.orthoLeft,e.orthoRight=this.orthoRight,e.orthoTop=this.orthoTop,e.orthoBottom=this.orthoBottom,e}return null}_updateRigCameras(){let t=this._rigCameras[0],e=this._rigCameras[1];switch(this.computeWorldMatrix(),this.cameraRigMode){case y.Camera.RIG_MODE_STEREOSCOPIC_ANAGLYPH:case y.Camera.RIG_MODE_STEREOSCOPIC_SIDEBYSIDE_PARALLEL:case y.Camera.RIG_MODE_STEREOSCOPIC_SIDEBYSIDE_CROSSEYED:case y.Camera.RIG_MODE_STEREOSCOPIC_OVERUNDER:case y.Camera.RIG_MODE_STEREOSCOPIC_INTERLACED:{let i=this.cameraRigMode===y.Camera.RIG_MODE_STEREOSCOPIC_SIDEBYSIDE_CROSSEYED?1:-1,a=this.cameraRigMode===y.Camera.RIG_MODE_STEREOSCOPIC_SIDEBYSIDE_CROSSEYED?-1:1;this._getRigCamPositionAndTarget(this._cameraRigParams.stereoHalfAngle*i,t),this._getRigCamPositionAndTarget(this._cameraRigParams.stereoHalfAngle*a,e);break}case y.Camera.RIG_MODE_VR:t.rotationQuaternion&&e.rotationQuaternion&&this.rotationQuaternion?(t.rotationQuaternion.copyFrom(this.rotationQuaternion),e.rotationQuaternion.copyFrom(this.rotationQuaternion)):(t.rotation.copyFrom(this.rotation),e.rotation.copyFrom(this.rotation)),t.position.copyFrom(this.position),e.position.copyFrom(this.position)}super._updateRigCameras()}_getRigCamPositionAndTarget(t,e){this.getTarget().subtractToRef(this.position,p._TargetFocalPoint),p._TargetFocalPoint.normalize().scaleInPlace(this._initialFocalDistance);let i=p._TargetFocalPoint.addInPlace(this.position);b.Matrix.TranslationToRef(-i.x,-i.y,-i.z,p._TargetTransformMatrix),p._TargetTransformMatrix.multiplyToRef(b.Matrix.RotationAxis(e.upVector,t),p._RigCamTransformMatrix),b.Matrix.TranslationToRef(i.x,i.y,i.z,p._TargetTransformMatrix),p._RigCamTransformMatrix.multiplyToRef(p._TargetTransformMatrix,p._RigCamTransformMatrix),b.Vector3.TransformCoordinatesToRef(this.position,p._RigCamTransformMatrix,e.position),e.setTarget(i)}getClassName(){return"TargetCamera"}},m="function"==typeof Symbol&&Symbol.metadata?Object.create(s[Symbol.metadata]??null):void 0,e=[(0,f.serialize)()],i=[(0,f.serializeAsVector3)()],a=[(0,f.serialize)()],r=[(0,f.serializeAsMeshReference)("lockedTargetId")],(0,g.__esDecorate)(null,null,e,{kind:"field",name:"updateUpVectorFromRotation",static:!1,private:!1,access:{has:t=>"updateUpVectorFromRotation"in t,get:t=>t.updateUpVectorFromRotation,set:(t,e)=>{t.updateUpVectorFromRotation=e}},metadata:m},n,o),(0,g.__esDecorate)(null,null,i,{kind:"field",name:"rotation",static:!1,private:!1,access:{has:t=>"rotation"in t,get:t=>t.rotation,set:(t,e)=>{t.rotation=e}},metadata:m},h,l),(0,g.__esDecorate)(null,null,a,{kind:"field",name:"speed",static:!1,private:!1,access:{has:t=>"speed"in t,get:t=>t.speed,set:(t,e)=>{t.speed=e}},metadata:m},c,d),(0,g.__esDecorate)(null,null,r,{kind:"field",name:"lockedTarget",static:!1,private:!1,access:{has:t=>"lockedTarget"in t,get:t=>t.lockedTarget,set:(t,e)=>{t.lockedTarget=e}},metadata:m},u,_),m&&Object.defineProperty(p,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:m}),p._RigCamTransformMatrix=new b.Matrix,p._TargetTransformMatrix=new b.Matrix,p._TargetFocalPoint=new b.Vector3,p);t.s(["TargetCamera",0,C],82571);var T=t.i(16347),P=t.i(2060),E={};t.s(["CameraInputTypes",0,E,"CameraInputsManager",0,class{constructor(t){this.attachedToElement=!1,this.attached={},this.camera=t,this.checkInputs=()=>{}}add(t){let e=t.getSimpleName();this.attached[e]?T.Logger.Warn("camera input of type "+e+" already exists on camera"):(this.attached[e]=t,t.camera=this.camera,t.checkInputs&&(this.checkInputs=this._addCheckInputs(t.checkInputs.bind(t))),this.attachedToElement&&t.attachControl(this.noPreventDefault))}remove(t){for(let e in this.attached){let i=this.attached[e];if(i===t){i.detachControl(),i.camera=null,delete this.attached[e],this.rebuildInputCheck();return}}}removeByType(t){for(let e in this.attached){let i=this.attached[e];i.getClassName()===t&&(i.detachControl(),i.camera=null,delete this.attached[e],this.rebuildInputCheck())}}_addCheckInputs(t){let e=this.checkInputs;return()=>{e(),t()}}attachInput(t){this.attachedToElement&&t.attachControl(this.noPreventDefault)}attachElement(t=!1){if(!this.attachedToElement)for(let e in t=!y.Camera.ForceAttachControlToAlwaysPreventDefault&&t,this.attachedToElement=!0,this.noPreventDefault=t,this.attached)this.attached[e].attachControl(t)}detachElement(t=!1){for(let e in this.attached)this.attached[e].detachControl(),t&&(this.attached[e].camera=null);this.attachedToElement=!1}rebuildInputCheck(){for(let t in this.checkInputs=()=>{},this.attached){let e=this.attached[t];e.checkInputs&&(this.checkInputs=this._addCheckInputs(e.checkInputs.bind(e)))}}clear(){this.attachedToElement&&this.detachElement(!0),this.attached={},this.attachedToElement=!1,this.checkInputs=()=>{}}serialize(t){let e={};for(let t in this.attached){let i=this.attached[t],a=P.SerializationHelper.Serialize(i);e[i.getClassName()]=a}t.inputsmgr=e}parse(t){let e=t.inputsmgr;if(e)for(let t in this.clear(),e){let i=E[t];if(i){let a=e[t],r=P.SerializationHelper.Parse(()=>new i,a,null);this.add(r)}}else for(let e in this.attached){let i=E[this.attached[e].getClassName()];if(i){let a=P.SerializationHelper.Parse(()=>new i,t,null);this.remove(this.attached[e]),this.add(a)}}}}],25970)},3470,t=>{"use strict";var e=t.i(22266);class i extends e.FreeCamera{get touchAngularSensibility(){let t=this.inputs.attached.touch;return t?t.touchAngularSensibility:0}set touchAngularSensibility(t){let e=this.inputs.attached.touch;e&&(e.touchAngularSensibility=t)}get touchMoveSensibility(){let t=this.inputs.attached.touch;return t?t.touchMoveSensibility:0}set touchMoveSensibility(t){let e=this.inputs.attached.touch;e&&(e.touchMoveSensibility=t)}constructor(t,e,i){super(t,e,i),this.inputs.addTouch(),this._setupInputs()}getClassName(){return"TouchCamera"}_setupInputs(){let t=this.inputs.attached.touch,e=this.inputs.attached.mouse;e?e.touchEnabled=!t:t&&(t.allowMouse=!e)}}var a=t.i(69400),r=t.i(52624),s=t.i(55288);class n extends i{get gamepadAngularSensibility(){let t=this.inputs.attached.gamepad;return t?t.gamepadAngularSensibility:0}set gamepadAngularSensibility(t){let e=this.inputs.attached.gamepad;e&&(e.gamepadAngularSensibility=t)}get gamepadMoveSensibility(){let t=this.inputs.attached.gamepad;return t?t.gamepadMoveSensibility:0}set gamepadMoveSensibility(t){let e=this.inputs.attached.gamepad;e&&(e.gamepadMoveSensibility=t)}constructor(t,e,i){super(t,e,i),this.inputs.addGamepad()}getClassName(){return"UniversalCamera"}}let o=!1;function h(){o||(o=!0,r.Node.AddNodeConstructor("FreeCamera",(t,e)=>()=>new n(t,a.Vector3.Zero(),e)),s.Camera._CreateDefaultParsedCamera=(t,e)=>new n(t,a.Vector3.Zero(),e))}t.s(["RegisterUniversalCamera",0,h,"UniversalCamera",0,n],36315),h(),t.s([],43792),t.i(43792),t.i(36315),t.s(["RegisterUniversalCamera",0,h,"UniversalCamera",0,n],3470)}]);
@@ -1 +1 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,99085,t=>{"use strict";var e=t.i(79957),i=t.i(19434),l=t.i(38116);class o extends e.FlowGraphExecutionBlock{constructor(t){super(t),this.onOn=this._registerSignalOutput("onOn"),this.onOff=this._registerSignalOutput("onOff"),this.value=this.registerDataOutput("value",i.RichTypeBoolean)}_execute(t,e){let i=t._getExecutionVariable(this,"value","boolean"==typeof this.config?.startValue&&!this.config.startValue);i=!i,t._setExecutionVariable(this,"value",i),this.value.setValue(i,t),i?this.onOn._activateSignal(t):this.onOff._activateSignal(t)}getClassName(){return"FlowGraphFlipFlopBlock"}}let a=!1;function s(){a||(a=!0,(0,l.RegisterClass)("FlowGraphFlipFlopBlock",o))}t.s(["FlowGraphFlipFlopBlock",0,o,"RegisterFlowGraphFlipFlopBlock",0,s],53358),s(),t.s([],35549),t.i(35549),t.i(53358),t.s(["FlowGraphFlipFlopBlock",0,o],99085)}]);
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,34197,t=>{"use strict";var e=t.i(44938),i=t.i(75105),l=t.i(44520);class o extends e.FlowGraphExecutionBlock{constructor(t){super(t),this.onOn=this._registerSignalOutput("onOn"),this.onOff=this._registerSignalOutput("onOff"),this.value=this.registerDataOutput("value",i.RichTypeBoolean)}_execute(t,e){let i=t._getExecutionVariable(this,"value","boolean"==typeof this.config?.startValue&&!this.config.startValue);i=!i,t._setExecutionVariable(this,"value",i),this.value.setValue(i,t),i?this.onOn._activateSignal(t):this.onOff._activateSignal(t)}getClassName(){return"FlowGraphFlipFlopBlock"}}let a=!1;function s(){a||(a=!0,(0,l.RegisterClass)("FlowGraphFlipFlopBlock",o))}t.s(["FlowGraphFlipFlopBlock",0,o,"RegisterFlowGraphFlipFlopBlock",0,s],13980),s(),t.s([],92964),t.i(92964),t.i(13980),t.s(["FlowGraphFlipFlopBlock",0,o],34197)}]);