@uptimizr/dashboard 0.3.0 → 0.3.2

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 (360) 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/0-29qf-q72olu.js +1 -0
  8. package/out/_next/static/chunks/0-tk5ptli--r0.js +1 -0
  9. package/out/_next/static/chunks/006nix8mv66z_.js +1 -0
  10. package/out/_next/static/chunks/01aeari2x_tlz.js +1 -0
  11. package/out/_next/static/chunks/0296l8lzd69ns.js +1 -0
  12. package/out/_next/static/chunks/02tc9r3sc7fgc.js +1 -0
  13. package/out/_next/static/chunks/{256k1jw1m--l7.js → 03st_hmor6qju.js} +1 -1
  14. package/out/_next/static/chunks/{2ue1wo4ryk87z.js → 04pk6n3z75dcy.js} +1 -1
  15. package/out/_next/static/chunks/05l3dluxivcor.js +1 -0
  16. package/out/_next/static/chunks/06ljadw2-i91-.js +1 -0
  17. package/out/_next/static/chunks/06m_64ysu9kn0.js +1 -0
  18. package/out/_next/static/chunks/{2ycvtdd68gub7.js → 08bm3ye5govev.js} +1 -1
  19. package/out/_next/static/chunks/{32ahba5ezp467.js → 08rk1dp1wb-gm.js} +38 -38
  20. package/out/_next/static/chunks/091ll-lp6spu3.js +1 -0
  21. package/out/_next/static/chunks/09p5fltt7o3to.js +1 -0
  22. package/out/_next/static/chunks/{3mbnfpufs2-7e.js → 0_tqu60oxaj7q.js} +1 -1
  23. package/out/_next/static/chunks/{3riekaxl3uxfb.js → 0_ux41xcoea3u.js} +40 -40
  24. package/out/_next/static/chunks/0b7-mrrg7ryj2.js +1 -0
  25. package/out/_next/static/chunks/{29tfeb6amdkjb.js → 0c2k-gvwph4qs.js} +1 -1
  26. package/out/_next/static/chunks/0e7xuupmrw4-e.js +1 -0
  27. package/out/_next/static/chunks/0f_nv15a8q415.js +1 -0
  28. package/out/_next/static/chunks/0fxfsshoxnnh6.js +4 -0
  29. package/out/_next/static/chunks/0g6u34xkzrpjn.js +1 -0
  30. package/out/_next/static/chunks/0g7p8zp2kxve5.js +1 -0
  31. package/out/_next/static/chunks/0gblbgw7w7r9w.js +1 -0
  32. package/out/_next/static/chunks/0gwa154w_0wuh.js +1 -0
  33. package/out/_next/static/chunks/0h-ohf4gntwtj.js +1 -0
  34. package/out/_next/static/chunks/0h1o0cr3327tt.js +1 -0
  35. package/out/_next/static/chunks/0i9oqg-xbq-a9.js +1 -0
  36. package/out/_next/static/chunks/0ioyy42h35hnd.js +1 -0
  37. package/out/_next/static/chunks/{242xhzxxetctz.js → 0jf3n5n5yrr4o.js} +1 -1
  38. package/out/_next/static/chunks/{3idaz_s77e-j_.js → 0jxklh_ayjd4b.js} +12 -12
  39. package/out/_next/static/chunks/{07eeopuufsqp-.js → 0k79ryqehst0b.js} +11 -11
  40. package/out/_next/static/chunks/{3be6s4_kn9q-o.js → 0kcbdjbdxu_wa.js} +1 -1
  41. package/out/_next/static/chunks/0kr-bd6fuqc2s.js +1 -0
  42. package/out/_next/static/chunks/0l3wwyl93sqh9.js +1 -0
  43. package/out/_next/static/chunks/{3l1dr_qm_x5kp.js → 0m0n7kjzscx0y.js} +1 -1
  44. package/out/_next/static/chunks/0m3yjobjg36ce.js +1 -0
  45. package/out/_next/static/chunks/{1a9l89j7e6mqu.js → 0mk8tangq9equ.js} +1 -1
  46. package/out/_next/static/chunks/0mqi0xn_c010j.js +1 -0
  47. package/out/_next/static/chunks/0msckddycfy76.js +1 -0
  48. package/out/_next/static/chunks/0ngai1_zxwsk8.js +1 -0
  49. package/out/_next/static/chunks/0ngiuj5k-or6g.js +1 -0
  50. package/out/_next/static/chunks/0nx_t8iq-324h.js +1 -0
  51. package/out/_next/static/chunks/0oap0o8a8a_cl.js +1 -0
  52. package/out/_next/static/chunks/{3tm-pqpmq_ppw.js → 0ostjlqtwkhqr.js} +1 -1
  53. package/out/_next/static/chunks/{1uu-rt_8p1edp.js → 0ptp4ne7j6yg6.js} +11 -11
  54. package/out/_next/static/chunks/0rruvj1cyflrh.js +1 -0
  55. package/out/_next/static/chunks/{0o_mp98xzqfyf.js → 0tl8j9f8lt0yf.js} +1 -1
  56. package/out/_next/static/chunks/{0sqys6o2pbe1q.js → 0ufakw529sr9d.js} +38 -38
  57. package/out/_next/static/chunks/{3ne77mjdz2y7o.js → 0vddljjnmozzx.js} +1 -1
  58. package/out/_next/static/chunks/{0dm32-jq30tg8.js → 0w0sx062qmcsh.js} +1 -1
  59. package/out/_next/static/chunks/{0rys92_73hdb0.js → 0x4-zyy8pzmlq.js} +1 -1
  60. package/out/_next/static/chunks/0x6i6e6863tir.js +1 -0
  61. package/out/_next/static/chunks/{3k9d4ylc3li2t.js → 0zcdc17ie6lmh.js} +10 -10
  62. package/out/_next/static/chunks/{44nxswtahaq4w.js → 0zo4x1j8ug-kb.js} +5 -5
  63. package/out/_next/static/chunks/{0jmn7u31w95ly.js → 0zwkmsojeuekb.js} +2 -2
  64. package/out/_next/static/chunks/{3m6nmp2dca6un.js → 1--aypw9o8yng.js} +37 -37
  65. package/out/_next/static/chunks/1--kelnig7pxx.js +1 -0
  66. package/out/_next/static/chunks/1-ud6hztxiazp.js +1 -0
  67. package/out/_next/static/chunks/10v4rskkrjgd_.js +1 -0
  68. package/out/_next/static/chunks/117ys3lltfmcu.js +1 -0
  69. package/out/_next/static/chunks/14klj_i6-l-10.js +1 -0
  70. package/out/_next/static/chunks/159u-hx80yfaw.js +1 -0
  71. package/out/_next/static/chunks/{3gimb3z_mteou.js → 168r9r65o9jnc.js} +1 -1
  72. package/out/_next/static/chunks/{0w8_1yjvol1f0.js → 16d4a4iopj2if.js} +5 -5
  73. package/out/_next/static/chunks/{2z_jn9ud28fk7.js → 17d1isrw8gtnb.js} +1 -1
  74. package/out/_next/static/chunks/17dabmbnkkplu.js +1 -0
  75. package/out/_next/static/chunks/17dmbt396_tyq.js +1 -0
  76. package/out/_next/static/chunks/17ev44x54_jrd.js +1 -0
  77. package/out/_next/static/chunks/17svumd4o0qnc.js +1 -0
  78. package/out/_next/static/chunks/17v12p4sfraa0.js +1 -0
  79. package/out/_next/static/chunks/18avgwx9nlxp9.js +1 -0
  80. package/out/_next/static/chunks/{0tw4dyl-cp-hd.js → 18k-0jn63_5ie.js} +1 -1
  81. package/out/_next/static/chunks/18r387bj9iv0j.js +1 -0
  82. package/out/_next/static/chunks/18ss4ls60s31e.js +1 -0
  83. package/out/_next/static/chunks/1a7cup181rjod.js +1 -0
  84. package/out/_next/static/chunks/1ajmblsp0wj0_.js +1 -0
  85. package/out/_next/static/chunks/{1dsy2ngmfflis.js → 1b2tkk7e_2o0k.js} +2 -2
  86. package/out/_next/static/chunks/{1ltux4lwz7muf.js → 1bv97vf67p_ri.js} +33 -33
  87. package/out/_next/static/chunks/1e1zozntzsx42.js +1 -0
  88. package/out/_next/static/chunks/1ek5rtpo6rxev.js +1 -0
  89. package/out/_next/static/chunks/1evp209qbr4cr.js +5 -0
  90. package/out/_next/static/chunks/1f1vq3goue1w4.js +1 -0
  91. package/out/_next/static/chunks/{296w2ke-v5tbm.js → 1f92k-xa0pl-3.js} +1 -1
  92. package/out/_next/static/chunks/1fa265388524p.js +1 -0
  93. package/out/_next/static/chunks/1fruncg3k-3pu.js +3 -0
  94. package/out/_next/static/chunks/{1_qzlkuxukhpq.js → 1fvlbwp6r93wo.js} +22 -22
  95. package/out/_next/static/chunks/1g3z43o3h-024.js +31 -0
  96. package/out/_next/static/chunks/1g_27texazqcj.js +1 -0
  97. package/out/_next/static/chunks/1iaxzjly2pap1.js +1 -0
  98. package/out/_next/static/chunks/{0c83pe1mpx456.js → 1j--a56ji33_x.js} +1 -1
  99. package/out/_next/static/chunks/{112hws17nz665.js → 1kl5xxohpr6-4.js} +1 -1
  100. package/out/_next/static/chunks/1kmsg9ef5djl3.js +1 -0
  101. package/out/_next/static/chunks/1kq86iv41cet4.js +1 -0
  102. package/out/_next/static/chunks/1l12hkz1g7uhf.js +1 -0
  103. package/out/_next/static/chunks/{3figbil1t4ssj.js → 1ll0ta8a2qx1p.js} +16 -16
  104. package/out/_next/static/chunks/{1ynju1jqfrcv0.js → 1oara6fkfvgs3.js} +1 -1
  105. package/out/_next/static/chunks/1par9m038tiov.js +1 -0
  106. package/out/_next/static/chunks/1rcfy_gzean3n.js +1 -0
  107. package/out/_next/static/chunks/{35h5n42wxwgzk.js → 1rne-b-ktit5c.js} +2 -2
  108. package/out/_next/static/chunks/1t60cososq7b0.js +1 -0
  109. package/out/_next/static/chunks/1tdg_eolxlcdl.js +1 -0
  110. package/out/_next/static/chunks/1vkww9l6lgqag.js +1 -0
  111. package/out/_next/static/chunks/1vpcaaf-0dn7q.js +1 -0
  112. package/out/_next/static/chunks/1vzmzrjhlm1q5.js +1 -0
  113. package/out/_next/static/chunks/1w9xu1qa9-wmv.js +1 -0
  114. package/out/_next/static/chunks/1wyr4at61q29n.js +1 -0
  115. package/out/_next/static/chunks/{3_mu-4rdjajna.js → 1y12bjsbq18_t.js} +34 -34
  116. package/out/_next/static/chunks/1y20bv6vl4ylk.js +1 -0
  117. package/out/_next/static/chunks/{0tnlbw78tgaxp.js → 1zcrrq1fx8g2y.js} +2 -2
  118. package/out/_next/static/chunks/224_scesvd739.js +1 -0
  119. package/out/_next/static/chunks/229mkx-mtfcgf.js +1 -0
  120. package/out/_next/static/chunks/{3yfrsm8lfi6ls.js → 22qzld31fbhbv.js} +1 -1
  121. package/out/_next/static/chunks/245h82k-g1nxr.js +1 -0
  122. package/out/_next/static/chunks/24cqjhy669845.js +1 -0
  123. package/out/_next/static/chunks/25ctnyh7njp-d.js +4 -0
  124. package/out/_next/static/chunks/2716si10ouwu-.js +1 -0
  125. package/out/_next/static/chunks/286ggpetqnwyo.js +3 -0
  126. package/out/_next/static/chunks/28f1onw3nywbz.js +1 -0
  127. package/out/_next/static/chunks/28ycc-1519hl2.js +1 -0
  128. package/out/_next/static/chunks/{17xd8hnazzr0g.js → 29v8falcmjvev.js} +34 -33
  129. package/out/_next/static/chunks/{0o6ayai0s01js.js → 2_7dp91937mqi.js} +1 -1
  130. package/out/_next/static/chunks/2_hgfg-cjqw1-.js +1 -0
  131. package/out/_next/static/chunks/2ab-99frxpah-.js +1 -0
  132. package/out/_next/static/chunks/2apt1vh-7rl2l.js +1 -0
  133. package/out/_next/static/chunks/2bn9u9r0rfhvc.js +1 -0
  134. package/out/_next/static/chunks/{45bwefvdpztfs.js → 2btqzk0tj0gz6.js} +1 -1
  135. package/out/_next/static/chunks/2cvvxifoedn6j.js +1 -0
  136. package/out/_next/static/chunks/2dhv35o59yzao.js +1 -0
  137. package/out/_next/static/chunks/{17q0c2h5ui10r.js → 2dolerz81xb52.js} +1 -1
  138. package/out/_next/static/chunks/{2xwy0-qfho1iz.js → 2dqg85hsevk3c.js} +2 -2
  139. package/out/_next/static/chunks/{41wt50z9tx9cx.js → 2enlv4yy0t-9j.js} +12 -12
  140. package/out/_next/static/chunks/2ey30qeaob985.js +1 -0
  141. package/out/_next/static/chunks/2f0r-df7tb3pu.js +1 -0
  142. package/out/_next/static/chunks/2gh4z57fem0_v.js +1 -0
  143. package/out/_next/static/chunks/2gtebfttq1v0o.js +1 -0
  144. package/out/_next/static/chunks/{1ua15kzid0_8p.js → 2h051-1hu4co_.js} +9 -9
  145. package/out/_next/static/chunks/2h1uw3cluvmmo.js +1 -0
  146. package/out/_next/static/chunks/2ib62lnqqaf4p.js +1 -0
  147. package/out/_next/static/chunks/2j-sax2xfdv7l.js +1 -0
  148. package/out/_next/static/chunks/{3z84au-mitjjw.js → 2k4s5rt7-l8jr.js} +1 -1
  149. package/out/_next/static/chunks/2kje_jvmwsvwo.js +1 -0
  150. package/out/_next/static/chunks/{2cbmf9m7lqv6k.js → 2kn_dqzbyabtn.js} +1 -1
  151. package/out/_next/static/chunks/2ktxjmx03u9l3.js +1 -0
  152. package/out/_next/static/chunks/2kw33jl_i9o5j.css +3 -0
  153. package/out/_next/static/chunks/2l_oqx9idxcs8.js +1 -0
  154. package/out/_next/static/chunks/{42k2-4_2hrg6u.js → 2mleh3pbge181.js} +1 -1
  155. package/out/_next/static/chunks/{31u5lbu1vxznh.js → 2npk7tr63h7rl.js} +1 -1
  156. package/out/_next/static/chunks/2op88btas-hl8.js +1 -0
  157. package/out/_next/static/chunks/{1gs-5722l4u59.js → 2p8dbh81chhon.js} +1 -1
  158. package/out/_next/static/chunks/{2yph6f7khgqii.js → 2reukv9c7cq_9.js} +1 -1
  159. package/out/_next/static/chunks/{14ggsmqwej_tt.js → 2rjc8yn50ducj.js} +34 -34
  160. package/out/_next/static/chunks/2s0dwzg7kq36n.js +1 -0
  161. package/out/_next/static/chunks/2vaoftqgc44cg.js +1 -0
  162. package/out/_next/static/chunks/{3_gku1pwluoo0.js → 2vmybybb3dvia.js} +1 -1
  163. package/out/_next/static/chunks/2w7yf7ouyrlkb.js +1 -0
  164. package/out/_next/static/chunks/{3218lp8l0a5g_.js → 2y75diyxqlhzl.js} +1 -1
  165. package/out/_next/static/chunks/{0fh-9h9ylxskr.js → 2yr9wt421xdjr.js} +17 -17
  166. package/out/_next/static/chunks/{0otsec99kdkt7.js → 2yzui3v-besdu.js} +4 -4
  167. package/out/_next/static/chunks/{3wi9gzq2mtr_q.js → 2z9ot-w1x60fv.js} +1 -1
  168. package/out/_next/static/chunks/2zljunurdji0q.js +1 -0
  169. package/out/_next/static/chunks/30363ptka3vzy.js +1 -0
  170. package/out/_next/static/chunks/{38x3c1ra5slhe.js → 3043pprgv9ors.js} +23 -23
  171. package/out/_next/static/chunks/340pg0qkv5tqq.js +1 -0
  172. package/out/_next/static/chunks/{37epa8fz59vba.js → 348hdbpkkcq_2.js} +22 -21
  173. package/out/_next/static/chunks/34gp3hvr3j6um.js +1 -0
  174. package/out/_next/static/chunks/38ea9kqlbxt86.js +1 -0
  175. package/out/_next/static/chunks/38g9jpxjoxn2x.js +1 -0
  176. package/out/_next/static/chunks/390fogn9oz13i.js +1 -0
  177. package/out/_next/static/chunks/{3w9go565cjhq3.js → 39lxb7c--3_2u.js} +30 -30
  178. package/out/_next/static/chunks/39ojyykom0z2r.js +1 -0
  179. package/out/_next/static/chunks/{2bjlls8-qe05r.js → 3_bzxvqtk1t53.js} +12 -12
  180. package/out/_next/static/chunks/3ajhvedcs_lzb.js +1 -0
  181. package/out/_next/static/chunks/3bsvp8qhjqdu0.js +1 -0
  182. package/out/_next/static/chunks/{023axeoslq39i.js → 3d0ejsnhbzi-j.js} +1 -1
  183. package/out/_next/static/chunks/3d5yb9ybkz7hx.js +1 -0
  184. package/out/_next/static/chunks/{0echnagbkyx79.js → 3efuvh_35yhes.js} +39 -39
  185. package/out/_next/static/chunks/3fx3sriw1w3sa.js +1 -0
  186. package/out/_next/static/chunks/{2qq3uzsbiicw3.js → 3fz7tc-4j13uv.js} +21 -21
  187. package/out/_next/static/chunks/3g4e2txsrb2p2.js +1 -0
  188. package/out/_next/static/chunks/{1m_buecgcq67j.js → 3g5ae-38cepwm.js} +199 -199
  189. package/out/_next/static/chunks/3g_h_00xs9u59.js +1 -0
  190. package/out/_next/static/chunks/3gi0f1kg72xsf.js +1 -0
  191. package/out/_next/static/chunks/{38fhw7fatsyvd.js → 3he9bxsc67ivq.js} +1 -1
  192. package/out/_next/static/chunks/3hr-mlwi78nov.js +1 -0
  193. package/out/_next/static/chunks/3jha6wlqw8459.js +1 -0
  194. package/out/_next/static/chunks/3kr1polwvt6o_.js +1 -0
  195. package/out/_next/static/chunks/{0j__xaq_8_di1.js → 3mwoauxszd3mn.js} +1 -1
  196. package/out/_next/static/chunks/3ovd8o_usay7j.js +1 -0
  197. package/out/_next/static/chunks/3pdpaqzwhhijn.js +1 -0
  198. package/out/_next/static/chunks/3pyggl13glbdc.js +1 -0
  199. package/out/_next/static/chunks/3rl45k759wfi1.js +1 -0
  200. package/out/_next/static/chunks/{0flc7nppbmsl1.js → 3sbm1ak54_2ep.js} +1 -1
  201. package/out/_next/static/chunks/3sg4zff4-h3t1.js +1 -0
  202. package/out/_next/static/chunks/3urd7r018nel4.js +1 -0
  203. package/out/_next/static/chunks/3v0td-ziuai2i.js +1 -0
  204. package/out/_next/static/chunks/3vaho-xrtuchd.js +2 -0
  205. package/out/_next/static/chunks/3vxkkhs0vi_xa.js +1 -0
  206. package/out/_next/static/chunks/{1g7emwu85bifo.js → 3w1a2o8nevap8.js} +18 -18
  207. package/out/_next/static/chunks/3wqs57qehored.js +1 -0
  208. package/out/_next/static/chunks/3x6wpv_z5m6rz.js +1 -0
  209. package/out/_next/static/chunks/{1qg_etglhvp9h.js → 3y9c26fv1poq_.js} +199 -199
  210. package/out/_next/static/chunks/{0ql-s-tsmel_u.js → 404f_93w2e8ty.js} +1 -1
  211. package/out/_next/static/chunks/40acif2eh_unv.js +1 -0
  212. package/out/_next/static/chunks/{1hatz-jlztrn0.js → 4227p7752rnny.js} +1 -1
  213. package/out/_next/static/chunks/42oyfkhdvb-u3.js +1 -0
  214. package/out/_next/static/chunks/44gsjajjdhf51.js +1 -0
  215. package/out/_next/static/chunks/{turbopack-19105pdhzxp1x.js → turbopack-16ab30_1p4vhq.js} +1 -1
  216. package/out/_not-found/__next._full.txt +9 -9
  217. package/out/_not-found/__next._head.txt +4 -4
  218. package/out/_not-found/__next._index.txt +4 -4
  219. package/out/_not-found/__next._not-found.__PAGE__.txt +2 -2
  220. package/out/_not-found/__next._not-found.txt +3 -3
  221. package/out/_not-found/__next._tree.txt +2 -2
  222. package/out/_not-found.html +1 -1
  223. package/out/_not-found.txt +9 -9
  224. package/out/index.html +1 -1
  225. package/out/index.txt +11 -11
  226. package/package.json +8 -8
  227. package/out/_next/static/chunks/002cjeoit6-up.js +0 -1
  228. package/out/_next/static/chunks/02n1uiltexy3w.js +0 -1
  229. package/out/_next/static/chunks/03ab2khhe8-x5.js +0 -1
  230. package/out/_next/static/chunks/04_yytpc2paxy.js +0 -1
  231. package/out/_next/static/chunks/06qot1qvlsqaz.js +0 -1
  232. package/out/_next/static/chunks/08a5xek662n8n.js +0 -1
  233. package/out/_next/static/chunks/08wuc9--s8zn_.js +0 -1
  234. package/out/_next/static/chunks/0927l-ygd5c8d.js +0 -1
  235. package/out/_next/static/chunks/09510356f0lad.js +0 -1
  236. package/out/_next/static/chunks/0_eu72k69lxj7.js +0 -1
  237. package/out/_next/static/chunks/0beajlqy8p8b5.js +0 -1
  238. package/out/_next/static/chunks/0dn0yx0rn6mpf.js +0 -1
  239. package/out/_next/static/chunks/0eh1ml86u8dh7.js +0 -1
  240. package/out/_next/static/chunks/0fzmc1up21g1i.js +0 -1
  241. package/out/_next/static/chunks/0g_v2zswo4l6f.js +0 -1
  242. package/out/_next/static/chunks/0grlb9lo8e502.js +0 -1
  243. package/out/_next/static/chunks/0h22pg-0xrxnm.js +0 -1
  244. package/out/_next/static/chunks/0j6p1pmc14t96.js +0 -1
  245. package/out/_next/static/chunks/0j_6dx-sttgsy.js +0 -1
  246. package/out/_next/static/chunks/0kfd-cvj5fvtz.js +0 -1
  247. package/out/_next/static/chunks/0r47gs_e93cka.js +0 -1
  248. package/out/_next/static/chunks/0titqrn1qmcsv.js +0 -1
  249. package/out/_next/static/chunks/0tl_moiyi2txt.js +0 -1
  250. package/out/_next/static/chunks/0v82oqyoy9zol.js +0 -1
  251. package/out/_next/static/chunks/0vbce-8omgurc.js +0 -1
  252. package/out/_next/static/chunks/0vfsg5byzep_0.js +0 -1
  253. package/out/_next/static/chunks/0xh144a5fz58h.js +0 -1
  254. package/out/_next/static/chunks/0xjltg_pph0c8.js +0 -1
  255. package/out/_next/static/chunks/0yeqgh0dnas8d.js +0 -1
  256. package/out/_next/static/chunks/101-7e_7up7rk.js +0 -1
  257. package/out/_next/static/chunks/128e51hj_04r0.js +0 -1
  258. package/out/_next/static/chunks/12kv810lohbsx.js +0 -5
  259. package/out/_next/static/chunks/14bws-suyy5zu.js +0 -1
  260. package/out/_next/static/chunks/15s7425ffrec9.js +0 -3
  261. package/out/_next/static/chunks/17genz6pkmty_.js +0 -1
  262. package/out/_next/static/chunks/18dczy9ylt2s_.js +0 -1
  263. package/out/_next/static/chunks/18xs_kvsaolb0.js +0 -1
  264. package/out/_next/static/chunks/19016f8-ry0z6.js +0 -1
  265. package/out/_next/static/chunks/1_6oejyxj39li.js +0 -1
  266. package/out/_next/static/chunks/1_aon8nz9p1fr.js +0 -1
  267. package/out/_next/static/chunks/1akaj5rhgitn3.js +0 -1
  268. package/out/_next/static/chunks/1bvl1ws7b_3gn.js +0 -1
  269. package/out/_next/static/chunks/1cdbk6kxyr1c9.js +0 -1
  270. package/out/_next/static/chunks/1fbjkk55uu4_g.js +0 -1
  271. package/out/_next/static/chunks/1furcfsgrw_3g.js +0 -1
  272. package/out/_next/static/chunks/1g0-f1g3gn_rs.js +0 -1
  273. package/out/_next/static/chunks/1gt4kh0_xmigy.js +0 -1
  274. package/out/_next/static/chunks/1h8xzuuhhglu9.js +0 -1
  275. package/out/_next/static/chunks/1iioifo7i0t0_.js +0 -1
  276. package/out/_next/static/chunks/1iiz7jqgj20z0.js +0 -1
  277. package/out/_next/static/chunks/1kujmd5n0j9nk.js +0 -1
  278. package/out/_next/static/chunks/1n9sy0yt5d2vq.js +0 -1
  279. package/out/_next/static/chunks/1nj82er7msdto.js +0 -2
  280. package/out/_next/static/chunks/1p1gz6dseck--.js +0 -1
  281. package/out/_next/static/chunks/1p1xtsfwvpuqo.js +0 -1
  282. package/out/_next/static/chunks/1p8f6okk2ewbz.js +0 -1
  283. package/out/_next/static/chunks/1pdep2_c530sg.js +0 -1
  284. package/out/_next/static/chunks/1th_t5ujeqlkf.js +0 -1
  285. package/out/_next/static/chunks/1thr-mdzbu96v.js +0 -1
  286. package/out/_next/static/chunks/1tta1a064979p.js +0 -1
  287. package/out/_next/static/chunks/1u_riwm0nfww7.js +0 -1
  288. package/out/_next/static/chunks/1uu93wuxigx4k.js +0 -1
  289. package/out/_next/static/chunks/1vuq3dos1406d.css +0 -3
  290. package/out/_next/static/chunks/1zfojlgb15okk.js +0 -1
  291. package/out/_next/static/chunks/1zj8x5wbgnzz-.js +0 -1
  292. package/out/_next/static/chunks/1zl6t15gh34nn.js +0 -1
  293. package/out/_next/static/chunks/2-qo2o1_fmpy-.js +0 -3
  294. package/out/_next/static/chunks/223vrr_4sfhsj.js +0 -1
  295. package/out/_next/static/chunks/22cr2b04btguf.js +0 -1
  296. package/out/_next/static/chunks/24essz5mmvx-6.js +0 -1
  297. package/out/_next/static/chunks/259obyrpxcv6r.js +0 -1
  298. package/out/_next/static/chunks/26v9yqicofqba.js +0 -1
  299. package/out/_next/static/chunks/2712627rfsmwn.js +0 -1
  300. package/out/_next/static/chunks/290d93hmm_e8b.js +0 -1
  301. package/out/_next/static/chunks/2_2fk7iddrs43.js +0 -1
  302. package/out/_next/static/chunks/2ckd7f1wbfod-.js +0 -1
  303. package/out/_next/static/chunks/2d6hru4qo23tt.js +0 -1
  304. package/out/_next/static/chunks/2ejvntxtvf5o9.js +0 -1
  305. package/out/_next/static/chunks/2f7_3tzf7xhps.js +0 -1
  306. package/out/_next/static/chunks/2gxd_o1g89_bv.js +0 -1
  307. package/out/_next/static/chunks/2hd2txb4-m9k1.js +0 -1
  308. package/out/_next/static/chunks/2hpxou_cnp4f_.js +0 -1
  309. package/out/_next/static/chunks/2izioctrfc0s5.js +0 -1
  310. package/out/_next/static/chunks/2jhnk4h4n0udv.js +0 -1
  311. package/out/_next/static/chunks/2jpkhkk9zi8-f.js +0 -1
  312. package/out/_next/static/chunks/2kpet_l1kq2sx.js +0 -1
  313. package/out/_next/static/chunks/2nck5w4c7leb7.js +0 -1
  314. package/out/_next/static/chunks/2qqqpu0ahfdda.js +0 -1
  315. package/out/_next/static/chunks/2r3ct6se2qn8z.js +0 -1
  316. package/out/_next/static/chunks/2u-f7mmxvk8wj.js +0 -1
  317. package/out/_next/static/chunks/2uk-vwlxe9-xr.js +0 -1
  318. package/out/_next/static/chunks/2ur5-lxdvv1jm.js +0 -1
  319. package/out/_next/static/chunks/2veqsohwfhfqc.js +0 -1
  320. package/out/_next/static/chunks/2vqlv9wnewhu9.js +0 -1
  321. package/out/_next/static/chunks/2wzshintp5lf8.js +0 -1
  322. package/out/_next/static/chunks/2x-00glogc485.js +0 -1
  323. package/out/_next/static/chunks/2yfxy0f5fqs4o.js +0 -1
  324. package/out/_next/static/chunks/2z88mt3ixktu3.js +0 -1
  325. package/out/_next/static/chunks/3-eswqjobiqk1.js +0 -1
  326. package/out/_next/static/chunks/30-tbi7pys6fp.js +0 -4
  327. package/out/_next/static/chunks/30c-nsedy_ce0.js +0 -1
  328. package/out/_next/static/chunks/337hn35kts7ud.js +0 -1
  329. package/out/_next/static/chunks/33dgpebv-tf73.js +0 -1
  330. package/out/_next/static/chunks/36jkdhq6kb-cf.js +0 -1
  331. package/out/_next/static/chunks/3833xfnz0a-ub.js +0 -1
  332. package/out/_next/static/chunks/38awrh_qxn22k.js +0 -1
  333. package/out/_next/static/chunks/39idqlqlcp5b9.js +0 -1
  334. package/out/_next/static/chunks/3coacc4-g-g5c.js +0 -1
  335. package/out/_next/static/chunks/3e00fzdfkclzq.js +0 -1
  336. package/out/_next/static/chunks/3e8fmlq0k5wkg.js +0 -1
  337. package/out/_next/static/chunks/3e9tzyrt4_98z.js +0 -1
  338. package/out/_next/static/chunks/3edelqkq92pil.js +0 -1
  339. package/out/_next/static/chunks/3j-4wuhs5weba.js +0 -1
  340. package/out/_next/static/chunks/3jjfnwvybayy7.js +0 -1
  341. package/out/_next/static/chunks/3jwm5dfk_78gc.js +0 -1
  342. package/out/_next/static/chunks/3l3_0ack3gy4k.js +0 -1
  343. package/out/_next/static/chunks/3lwhs5ja7tun3.js +0 -1
  344. package/out/_next/static/chunks/3mcd08gmt038z.js +0 -1
  345. package/out/_next/static/chunks/3mt5th7b1i_u9.js +0 -1
  346. package/out/_next/static/chunks/3puhrqtujktyv.js +0 -1
  347. package/out/_next/static/chunks/3rdifucupcgkg.js +0 -1
  348. package/out/_next/static/chunks/3sdoskq_buttj.js +0 -1
  349. package/out/_next/static/chunks/3sjq_xoi4rbyg.js +0 -31
  350. package/out/_next/static/chunks/3tg-ma9tv9xu4.js +0 -1
  351. package/out/_next/static/chunks/3xagd_2_9zft2.js +0 -1
  352. package/out/_next/static/chunks/3xsq_anpad-fb.js +0 -1
  353. package/out/_next/static/chunks/3ycv2qq7vpbua.js +0 -1
  354. package/out/_next/static/chunks/4030dhur2h70-.js +0 -1
  355. package/out/_next/static/chunks/40ffffml4h_3r.js +0 -4
  356. package/out/_next/static/chunks/431slrqh0wa0g.js +0 -1
  357. package/out/_next/static/chunks/43s_lbd1i2krj.js +0 -1
  358. /package/out/_next/static/{1NTbwHeIsn3AW-SeH9aP0 → 2AsIePMYsPfJoAl46w-g4}/_buildManifest.js +0 -0
  359. /package/out/_next/static/{1NTbwHeIsn3AW-SeH9aP0 → 2AsIePMYsPfJoAl46w-g4}/_clientMiddlewareManifest.js +0 -0
  360. /package/out/_next/static/{1NTbwHeIsn3AW-SeH9aP0 → 2AsIePMYsPfJoAl46w-g4}/_ssgManifest.js +0 -0
@@ -1,4 +0,0 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,12423,e=>{"use strict";class t{static GetShadersRepository(e=0){return 0===e?t.ShadersRepository:t.ShadersRepositoryWGSL}static GetShadersStore(e=0){return 0===e?t.ShadersStore:t.ShadersStoreWGSL}static GetIncludesShadersStore(e=0){return 0===e?t.IncludesShadersStore:t.IncludesShadersStoreWGSL}}t.ShadersRepository="src/Shaders/",t.ShadersStore={},t.IncludesShadersStore={},t.ShadersRepositoryWGSL="src/ShadersWGSL/",t.ShadersStoreWGSL={},t.IncludesShadersStoreWGSL={},e.s(["ShaderStore",0,t])},63719,e=>{"use strict";let t=(0,e.i(64545).IsNavigatorAvailable)()&&/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform);function r(e){return"number"==typeof e?e:e.value}e.s(["_AreSameIntegerClass",0,function(e,t){return"FlowGraphInteger"===e&&"FlowGraphInteger"===t},"_AreSameMatrixClass",0,function(e,t){return e===t&&("Matrix"===e||"Matrix2D"===e||"Matrix3D"===e)},"_AreSameVectorOrQuaternionClass",0,function(e,t){return e===t&&("Vector2"===e||"Vector3"===e||"Vector4"===e||"Quaternion"===e)},"_GetClassNameOf",0,function(e){if(e.getClassName)return e.getClassName()},"_IsDescendantOf",0,function e(t,r){return!!(t.parent&&(t.parent===r||e(t.parent,r)))},"_IsMacPlatform",0,t,"getNumericValue",0,r,"isNumeric",0,function(e,t){let i="number"==typeof e||"number"==typeof e?.value;return i&&!t?!isNaN(r(e)):i}])},13379,e=>{"use strict";class t{static _CheckLimit(e,r){let i=t._LogLimitOutputs[e];return i?i.current++:(i={limit:r,current:1},t._LogLimitOutputs[e]=i),i.current<=i.limit}static _GenerateLimitMessage(e,r=1){let i=t._LogLimitOutputs[e];if(!i||!t.MessageLimitReached)return;let s=this._Levels[r];i.current===i.limit&&t[s.name](t.MessageLimitReached.replace(/%LIMIT%/g,""+i.limit).replace(/%TYPE%/g,s.name??""))}static _AddLogEntry(e){t._LogCache=e+t._LogCache,t.OnNewCacheEntry&&t.OnNewCacheEntry(e)}static _FormatMessage(e){let t=e=>e<10?"0"+e:""+e,r=new Date;return"["+t(r.getHours())+":"+t(r.getMinutes())+":"+t(r.getSeconds())+"]: "+e}static _LogDisabled(e,t){}static _LogEnabled(e=1,r,i){let s=Array.isArray(r)?r[0]:r;if(void 0!==i&&!t._CheckLimit(s,i))return;let n=t._FormatMessage(s),a=this._Levels[e],o=Array.isArray(r)?r.slice(1):[];a.logFunc&&a.logFunc("BJS - "+n,...o);let l=`<div style='color:${a.color}'>${n}</div><br>`;t._AddLogEntry(l),t._GenerateLimitMessage(s,e)}static get LogCache(){return t._LogCache}static ClearLogCache(){t._LogCache="",t._LogLimitOutputs={},t.errorsCount=0}static set LogLevels(e){for(let r of(t.Log=t._LogDisabled,t.Warn=t._LogDisabled,t.Error=t._LogDisabled,[t.MessageLogLevel,t.WarningLogLevel,t.ErrorLogLevel]))(e&r)===r&&(t[this._Levels[r].name]=t._LogEnabled.bind(t,r))}}t.NoneLogLevel=0,t.MessageLogLevel=1,t.WarningLogLevel=2,t.ErrorLogLevel=4,t.AllLogLevel=7,t.MessageLimitReached="Too many %TYPE%s (%LIMIT%), no more %TYPE%s will be reported for this message.",t._LogCache="",t._LogLimitOutputs={},t._Levels=[{},{color:"white",logFunc:console.log,name:"Log"},{color:"orange",logFunc:console.warn,name:"Warn"},{},{color:"red",logFunc:console.error,name:"Error"}],t.errorsCount=0,t.Log=t._LogEnabled.bind(t,t.MessageLogLevel),t.Warn=t._LogEnabled.bind(t,t.WarningLogLevel),t.Error=t._LogEnabled.bind(t,t.ErrorLogLevel),e.s(["Logger",0,t])},84768,e=>{"use strict";e.s(["RandomGUID",0,function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{let t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})}])},5110,65487,49658,e=>{"use strict";var t,r,i=e.i(96265),s=e.i(70653);class n{constructor(e){this.value=this._toInt(e)}_toInt(e){return 0|e}add(e){return new n(this.value+e.value)}subtract(e){return new n(this.value-e.value)}multiply(e){return new n(Math.imul(this.value,e.value))}divide(e){return new n(this.value/e.value)}getClassName(){return n.ClassName}equals(e){return this.value===e.value}static FromValue(e){return new n(e)}toString(){return this.value.toString()}}n.ClassName="FlowGraphInteger",e.s(["FlowGraphInteger",0,n],65487);class a{constructor(e=[1,0,0,1]){this._m=e}get m(){return this._m}transformVector(e){return this.transformVectorToRef(e,new i.Vector2)}transformVectorToRef(e,t){return t.x=e.x*this._m[0]+e.y*this._m[1],t.y=e.x*this._m[2]+e.y*this._m[3],t}asArray(){return this.toArray()}toArray(e=[]){for(let t=0;t<4;t++)e[t]=this._m[t];return e}fromArray(e){for(let t=0;t<4;t++)this._m[t]=e[t];return this}multiplyToRef(e,t){let r=e._m,i=this._m,s=t._m;return s[0]=r[0]*i[0]+r[1]*i[2],s[1]=r[0]*i[1]+r[1]*i[3],s[2]=r[2]*i[0]+r[3]*i[2],s[3]=r[2]*i[1]+r[3]*i[3],t}multiply(e){return this.multiplyToRef(e,new a)}divideToRef(e,t){let r=this._m,i=e._m,s=t._m;return s[0]=r[0]/i[0],s[1]=r[1]/i[1],s[2]=r[2]/i[2],s[3]=r[3]/i[3],t}divide(e){return this.divideToRef(e,new a)}addToRef(e,t){let r=this._m,i=e.m,s=t.m;return s[0]=r[0]+i[0],s[1]=r[1]+i[1],s[2]=r[2]+i[2],s[3]=r[3]+i[3],t}add(e){return this.addToRef(e,new a)}subtractToRef(e,t){let r=this._m,i=e.m,s=t.m;return s[0]=r[0]-i[0],s[1]=r[1]-i[1],s[2]=r[2]-i[2],s[3]=r[3]-i[3],t}subtract(e){return this.subtractToRef(e,new a)}transpose(){let e=this._m;return new a([e[0],e[2],e[1],e[3]])}determinant(){let e=this._m;return e[0]*e[3]-e[1]*e[2]}inverse(){let e=this.determinant();if(0===e)throw Error("Matrix is not invertible");let t=this._m,r=1/e;return new a([t[3]*r,-t[1]*r,-t[2]*r,t[0]*r])}equals(e,t=0){let r=this._m,i=e.m;return 0===t?r[0]===i[0]&&r[1]===i[1]&&r[2]===i[2]&&r[3]===i[3]:Math.abs(r[0]-i[0])<t&&Math.abs(r[1]-i[1])<t&&Math.abs(r[2]-i[2])<t&&Math.abs(r[3]-i[3])<t}getClassName(){return"FlowGraphMatrix2D"}toString(){return`FlowGraphMatrix2D(${this._m.join(", ")})`}}class o{constructor(e=[1,0,0,0,1,0,0,0,1]){this._m=e}get m(){return this._m}transformVector(e){return this.transformVectorToRef(e,new i.Vector3)}transformVectorToRef(e,t){let r=this._m;return t.x=e.x*r[0]+e.y*r[1]+e.z*r[2],t.y=e.x*r[3]+e.y*r[4]+e.z*r[5],t.z=e.x*r[6]+e.y*r[7]+e.z*r[8],t}multiplyToRef(e,t){let r=e._m,i=this._m,s=t.m;return s[0]=r[0]*i[0]+r[1]*i[3]+r[2]*i[6],s[1]=r[0]*i[1]+r[1]*i[4]+r[2]*i[7],s[2]=r[0]*i[2]+r[1]*i[5]+r[2]*i[8],s[3]=r[3]*i[0]+r[4]*i[3]+r[5]*i[6],s[4]=r[3]*i[1]+r[4]*i[4]+r[5]*i[7],s[5]=r[3]*i[2]+r[4]*i[5]+r[5]*i[8],s[6]=r[6]*i[0]+r[7]*i[3]+r[8]*i[6],s[7]=r[6]*i[1]+r[7]*i[4]+r[8]*i[7],s[8]=r[6]*i[2]+r[7]*i[5]+r[8]*i[8],t}multiply(e){return this.multiplyToRef(e,new o)}divideToRef(e,t){let r=this._m,i=e.m,s=t.m;return s[0]=r[0]/i[0],s[1]=r[1]/i[1],s[2]=r[2]/i[2],s[3]=r[3]/i[3],s[4]=r[4]/i[4],s[5]=r[5]/i[5],s[6]=r[6]/i[6],s[7]=r[7]/i[7],s[8]=r[8]/i[8],t}divide(e){return this.divideToRef(e,new o)}addToRef(e,t){let r=this._m,i=e.m,s=t.m;return s[0]=r[0]+i[0],s[1]=r[1]+i[1],s[2]=r[2]+i[2],s[3]=r[3]+i[3],s[4]=r[4]+i[4],s[5]=r[5]+i[5],s[6]=r[6]+i[6],s[7]=r[7]+i[7],s[8]=r[8]+i[8],t}add(e){return this.addToRef(e,new o)}subtractToRef(e,t){let r=this._m,i=e.m,s=t.m;return s[0]=r[0]-i[0],s[1]=r[1]-i[1],s[2]=r[2]-i[2],s[3]=r[3]-i[3],s[4]=r[4]-i[4],s[5]=r[5]-i[5],s[6]=r[6]-i[6],s[7]=r[7]-i[7],s[8]=r[8]-i[8],t}subtract(e){return this.subtractToRef(e,new o)}toArray(e=[]){for(let t=0;t<9;t++)e[t]=this._m[t];return e}asArray(){return this.toArray()}fromArray(e){for(let t=0;t<9;t++)this._m[t]=e[t];return this}transpose(){let e=this._m;return new o([e[0],e[3],e[6],e[1],e[4],e[7],e[2],e[5],e[8]])}determinant(){let e=this._m;return e[0]*(e[4]*e[8]-e[5]*e[7])-e[1]*(e[3]*e[8]-e[5]*e[6])+e[2]*(e[3]*e[7]-e[4]*e[6])}inverse(){let e=this.determinant();if(0===e)throw Error("Matrix is not invertible");let t=this._m,r=1/e;return new o([(t[4]*t[8]-t[5]*t[7])*r,(t[2]*t[7]-t[1]*t[8])*r,(t[1]*t[5]-t[2]*t[4])*r,(t[5]*t[6]-t[3]*t[8])*r,(t[0]*t[8]-t[2]*t[6])*r,(t[2]*t[3]-t[0]*t[5])*r,(t[3]*t[7]-t[4]*t[6])*r,(t[1]*t[6]-t[0]*t[7])*r,(t[0]*t[4]-t[1]*t[3])*r])}equals(e,t=0){let r=this._m,i=e.m;return 0===t?r[0]===i[0]&&r[1]===i[1]&&r[2]===i[2]&&r[3]===i[3]&&r[4]===i[4]&&r[5]===i[5]&&r[6]===i[6]&&r[7]===i[7]&&r[8]===i[8]:Math.abs(r[0]-i[0])<t&&Math.abs(r[1]-i[1])<t&&Math.abs(r[2]-i[2])<t&&Math.abs(r[3]-i[3])<t&&Math.abs(r[4]-i[4])<t&&Math.abs(r[5]-i[5])<t&&Math.abs(r[6]-i[6])<t&&Math.abs(r[7]-i[7])<t&&Math.abs(r[8]-i[8])<t}getClassName(){return"FlowGraphMatrix3D"}toString(){return`FlowGraphMatrix3D(${this._m.join(", ")})`}}e.s(["FlowGraphMatrix2D",0,a,"FlowGraphMatrix3D",0,o],49658),(t=r||(r={})).Any="any",t.String="string",t.Number="number",t.Boolean="boolean",t.Object="object",t.Integer="FlowGraphInteger",t.Vector2="Vector2",t.Vector3="Vector3",t.Vector4="Vector4",t.Quaternion="Quaternion",t.Matrix="Matrix",t.Matrix2D="Matrix2D",t.Matrix3D="Matrix3D",t.Color3="Color3",t.Color4="Color4";class l{constructor(e,t,r=-1){this.typeName=e,this.defaultValue=t,this.animationType=r}serialize(e){e.typeName=this.typeName,e.defaultValue=this.defaultValue}}let c=new l("any",void 0),h=new l("string",""),u=new l("number",0,0),g=new l("boolean",!1),d=new l("Vector2",i.Vector2.Zero(),5),f=new l("Vector3",i.Vector3.Zero(),1),p=new l("Vector4",i.Vector4.Zero()),m=new l("Matrix",i.Matrix.Identity(),3),_=new l("Matrix2D",new a),y=new l("Matrix3D",new o),T=new l("Color3",s.Color3.Black(),4),x=new l("Color4",new s.Color4(0,0,0,0),7),I=new l("Quaternion",i.Quaternion.Identity(),2),P=new l("FlowGraphInteger",new n(0),0),b=!1;e.s(["RegisterFlowGraphRichTypes",0,function(){b||(b=!0,I.typeTransformer=e=>{if(e.getClassName){if("Vector4"===e.getClassName())return i.Quaternion.FromArray(e.asArray());else if("Vector3"===e.getClassName())return i.Quaternion.FromEulerVector(e);else if("Matrix"===e.getClassName())return i.Quaternion.FromRotationMatrix(e)}return e})},"RichTypeAny",0,c,"RichTypeBoolean",0,g,"RichTypeFlowGraphInteger",0,P,"RichTypeMatrix",0,m,"RichTypeMatrix2D",0,_,"RichTypeMatrix3D",0,y,"RichTypeNumber",0,u,"RichTypeQuaternion",0,I,"RichTypeString",0,h,"RichTypeVector2",0,d,"RichTypeVector3",0,f,"RichTypeVector4",0,p,"getAnimationTypeByFlowGraphType",0,function(e){switch(e){case"number":default:return 0;case"Vector2":return 5;case"Vector3":return 1;case"Matrix":return 3;case"Color3":return 4;case"Color4":return 7;case"Quaternion":return 2}},"getRichTypeByAnimationType",0,function(e){switch(e){case 0:return u;case 5:return d;case 1:return f;case 3:return m;case 4:return T;case 7:return x;case 2:return I;default:return c}},"getRichTypeByFlowGraphType",0,function(e){switch(e){case"string":return h;case"number":return u;case"boolean":return g;case"Vector2":return d;case"Vector3":return f;case"Vector4":return p;case"Matrix":return m;case"Color3":return T;case"Color4":return x;case"Quaternion":return I;case"FlowGraphInteger":return P;case"Matrix2D":return _;case"Matrix3D":return y;default:return c}},"getRichTypeFromValue",0,function(e){switch(typeof e){case"string":return h;case"number":return u;case"boolean":return g;case"object":if(e.getClassName)switch(e.getClassName()){case"Vector2":return d;case"Vector3":return f;case"Vector4":return p;case"Matrix":return m;case"Color3":return T;case"Color4":return x;case"Quaternion":return I;case"FlowGraphInteger":return P;case"Matrix2D":return _;case"Matrix3D":return y}return c;default:return c}}],5110)},36146,e=>{"use strict";var t=e.i(13379),r=e.i(70653),i=e.i(96265),s=e.i(65487),n=e.i(5110),a=e.i(49658);function o(e){return"Vector2"===e||"Vector3"===e||"Vector4"===e||"Quaternion"===e||"Color3"===e||"Color4"===e}e.s(["defaultValueParseFunction",0,function e(t,l,c,h){let u,g=l[t],d=g?.type??g?.className,f=function(e,t){if(!e||!e.id&&!e.name)return;let r=t.getNodes().filter(t=>e.id?t.id===e.id:t.name===e.name);if(0===r.length)return;let i=e.type??e.className,s=i?r.filter(e=>e.getClassName()===i):[],n=s.length>0?s:r;return(e.uniqueId?n.find(t=>t.uniqueId===e.uniqueId):void 0)??n[0]}(g,h);if(f)u=f;else if(o(d))u=function(e,t,s=!1){if("Vector2"===e)return i.Vector2.FromArray(t);if("Vector3"===e)return s&&(t[2]*=-1),i.Vector3.FromArray(t);if("Vector4"===e)return i.Vector4.FromArray(t);if("Quaternion"===e)return s&&(t[2]*=-1,t[3]*=-1),i.Quaternion.FromArray(t);if("Color3"===e)return new r.Color3(t[0],t[1],t[2]);else if("Color4"===e)return new r.Color4(t[0],t[1],t[2],t[3]);else throw Error(`Unknown vector class name ${e}`)}(d,g.value);else if("AnimationGroup"===d){let e=h.animationGroups.filter(e=>e.name===g.name);u=1===e.length?e[0]:e.find(e=>e.uniqueId===g.uniqueId)}else u="Matrix"===d?i.Matrix.FromArray(g.value):"Matrix2D"===d?new a.FlowGraphMatrix2D(g.value):"Matrix3D"===d?new a.FlowGraphMatrix3D(g.value):"FlowGraphInteger"===d?s.FlowGraphInteger.FromValue(g.value):"number"===d||"string"===d||"boolean"===d?g.value[0]:g&&void 0!==g.value?g.value:Array.isArray(g)&&g.length>0&&"object"==typeof g[0]&&null!==g[0]&&"eventData"in g[0]?g.reduce((t,r)=>(r.eventData&&(t[r.id]={type:(0,n.getRichTypeByFlowGraphType)(r.type)},void 0!==r.value&&(t[r.id].value=e("value",r,c,h))),t),{}):g;return u},"defaultValueSerializationFunction",0,function(e,r,i){var s;let n=r?.getClassName?.()??"";if(o(n)||"Matrix"===(s=n)||"Matrix2D"===s||"Matrix3D"===s)i[e]={value:r.asArray(),className:n};else if("FlowGraphInteger"===n)i[e]={value:r.value,className:n};else if(n&&(r.id||r.name))i[e]={id:r.id,name:r.name,className:n,uniqueId:r.uniqueId};else if("object"!=typeof r||null===r)i[e]=r;else{if("pathConverter"===e||Object.values(r).some(e=>"function"==typeof e))return;try{i[e]=JSON.parse(JSON.stringify(r))}catch{t.Logger.Warn(`FlowGraph serialization: value for key "${e}" is not JSON-serializable and was skipped.`)}}},"needsPathConverter",0,function(e){return"FlowGraphJsonPointerParserBlock"===e}])},58044,e=>{"use strict";var t,r,i=e.i(84768);(t=r||(r={}))[t.Input=0]="Input",t[t.Output=1]="Output",e.s(["FlowGraphConnection",0,class{constructor(e,t,r){this._ownerBlock=r,this._connectedPoint=[],this.uniqueId=(0,i.RandomGUID)(),this.connectedPointIds=[],this.name=e,this._connectionType=t}get connectionType(){return this._connectionType}_isSingularConnection(){return!0}isConnected(){return this._connectedPoint.length>0}connectTo(e){if(this._connectionType===e._connectionType)throw Error(`Cannot connect two points of type ${this.connectionType}`);if(this._isSingularConnection()&&this._connectedPoint.length>0||e._isSingularConnection()&&e._connectedPoint.length>0)throw Error("Max number of connections for point reached");this._connectedPoint.push(e),e._connectedPoint.push(this)}disconnectFrom(e,t=!0){let r=this._connectedPoint.indexOf(e),i=e._connectedPoint.indexOf(this);-1!==r&&-1!==i&&(t&&this._connectedPoint.splice(r,1),e._connectedPoint.splice(i,1))}disconnectFromAll(){for(let e of this._connectedPoint)this.disconnectFrom(e,!1);this._connectedPoint.length=0}dispose(){for(let e of this._connectedPoint)this.disconnectFrom(e)}serialize(e={}){for(let t of(e.uniqueId=this.uniqueId,e.name=this.name,e._connectionType=this._connectionType,e.connectedPointIds=[],e.className=this.getClassName(),this._connectedPoint))e.connectedPointIds.push(t.uniqueId)}getClassName(){return"FGConnection"}deserialize(e){this.uniqueId=e.uniqueId,this.name=e.name,this._connectionType=e._connectionType,this.connectedPointIds=e.connectedPointIds}}])},25742,e=>{"use strict";var t=e.i(84768),r=e.i(58044),i=e.i(99267),s=e.i(36146);class n extends r.FlowGraphConnection{constructor(e,t,r,s,n=s.defaultValue,a=!1){super(e,t,r),this.richType=s,this._defaultValue=n,this._optional=a,this._isDisabled=!1,this._lastValue=null,this.dataTransformer=null,this.onValueChangedObservable=new i.Observable}get optional(){return this._optional}get isDisabled(){return this._isDisabled}set isDisabled(e){this._isDisabled!==e&&(this._isDisabled=e,this._isDisabled&&this.disconnectFromAll())}_isSingularConnection(){return 0===this.connectionType}setValue(e,t){t._getConnectionValue(this)!==e&&(t._setConnectionValue(this,e),this.onValueChangedObservable.notifyObservers(e))}resetToDefaultValue(e){e._setConnectionValue(this,this._defaultValue)}connectTo(e){this._isDisabled||super.connectTo(e)}_getValueOrDefault(e){let t=e._getConnectionValue(this)??this._defaultValue;return this.dataTransformer?this.dataTransformer(t):t}getValue(e){if(1===this.connectionType){e._notifyExecuteNode(this._ownerBlock),this._ownerBlock._updateOutputs(e);let t=this._getValueOrDefault(e);return this._lastValue=t,this.richType.typeTransformer?this.richType.typeTransformer(t):t}let t=this.isConnected()?this._connectedPoint[0].getValue(e):this._getValueOrDefault(e);return this._lastValue=t,this.richType.typeTransformer?this.richType.typeTransformer(t):t}_getLastValue(){return this._lastValue}getClassName(){return"FlowGraphDataConnection"}serialize(e={}){super.serialize(e),e.richType={},this.richType.serialize(e.richType),e.optional=this._optional,(0,s.defaultValueSerializationFunction)("defaultValue",this._defaultValue,e)}}e.s(["FlowGraphBlock",0,class{constructor(e){this.config=e,this.uniqueId=(0,t.RandomGUID)(),this.name=this.config?.name??this.getClassName(),this.dataInputs=[],this.dataOutputs=[]}_updateOutputs(e){}registerDataInput(e,t,r){let i=new n(e,0,this,t,r);return this.dataInputs.push(i),i}registerDataOutput(e,t,r){let i=new n(e,1,this,t,r);return this.dataOutputs.push(i),i}getDataInput(e){return this.dataInputs.find(t=>t.name===e)}getDataOutput(e){return this.dataOutputs.find(t=>t.name===e)}serialize(e={},t=s.defaultValueSerializationFunction){if(e.uniqueId=this.uniqueId,e.config={},this.config){let r=this.config;for(let i of Object.keys(r))t(i,r[i],e.config)}for(let t of(e.dataInputs=[],e.dataOutputs=[],e.className=this.getClassName(),this.dataInputs)){let r={};t.serialize(r),e.dataInputs.push(r)}for(let t of this.dataOutputs){let r={};t.serialize(r),e.dataOutputs.push(r)}}deserialize(e){}_log(e,t,r){e.logger?.addLogItem({action:t,payload:r,className:this.getClassName(),uniqueId:this.uniqueId})}getClassName(){return"FlowGraphBlock"}}],25742)},55491,e=>{"use strict";var t=e.i(25742),r=e.i(58044);class i extends r.FlowGraphConnection{constructor(){super(...arguments),this.priority=0,this._lastActivationTime=-1}_isSingularConnection(){return!1}connectTo(e){super.connectTo(e),this._connectedPoint.sort((e,t)=>t.priority-e.priority)}_activateSignal(e){if(this._lastActivationTime=performance.now(),e.logger?.addLogItem({action:"ActivateSignal",className:this._ownerBlock.getClassName(),uniqueId:this._ownerBlock.uniqueId,payload:{connectionType:this.connectionType,name:this.name}}),0===this.connectionType){if(e._shouldBreak(this._ownerBlock,this))return;e._notifyExecuteNode(this._ownerBlock);let t=performance.now();this._ownerBlock._execute(e,this),this._ownerBlock._lastExecutionTime=performance.now()-t,e._increaseExecutionId()}else for(let t of this._connectedPoint)t._activateSignal(e)}}class s extends t.FlowGraphBlock{constructor(e){super(e),this.priority=0,this._lastExecutionTime=-1,this.signalInputs=[],this.signalOutputs=[],this.in=this._registerSignalInput("in"),this.error=this._registerSignalOutput("error")}_registerSignalInput(e){let t=new i(e,0,this);return this.signalInputs.push(t),t}_registerSignalOutput(e){let t=new i(e,1,this);return this.signalOutputs.push(t),t}_unregisterSignalInput(e){let t=this.signalInputs.findIndex(t=>t.name===e);-1!==t&&(this.signalInputs[t].dispose(),this.signalInputs.splice(t,1))}_unregisterSignalOutput(e){let t=this.signalOutputs.findIndex(t=>t.name===e);-1!==t&&(this.signalOutputs[t].dispose(),this.signalOutputs.splice(t,1))}_reportError(e,t){this.error.payload="string"==typeof t?Error(t):t,this.error._activateSignal(e)}getSignalInput(e){return this.signalInputs.find(t=>t.name===e)}getSignalOutput(e){return this.signalOutputs.find(t=>t.name===e)}serialize(e={}){for(let t of(super.serialize(e),e.signalInputs=[],e.signalOutputs=[],this.signalInputs)){let r={};t.serialize(r),e.signalInputs.push(r)}for(let t of this.signalOutputs){let r={};t.serialize(r),e.signalOutputs.push(r)}}deserialize(e){for(let t=0;t<e.signalInputs.length;t++){let r=this.getSignalInput(e.signalInputs[t].name);if(r)r.deserialize(e.signalInputs[t]);else throw Error("Could not find signal input with name "+e.signalInputs[t].name+" in block "+e.className)}for(let t=0;t<e.signalOutputs.length;t++){let r=this.getSignalOutput(e.signalOutputs[t].name);if(r)r.deserialize(e.signalOutputs[t]);else throw Error("Could not find signal output with name "+e.signalOutputs[t].name+" in block "+e.className)}}getClassName(){return"FlowGraphExecutionBlock"}}e.s(["FlowGraphExecutionBlock",0,s],55491)},44023,e=>{"use strict";var t=e.i(55491);class r extends t.FlowGraphExecutionBlock{constructor(e){super(e),this.out=this._registerSignalOutput("out")}}e.s(["FlowGraphExecutionBlockWithOutSignal",0,r])},46518,e=>{"use strict";var t=e.i(44023);class r extends t.FlowGraphExecutionBlockWithOutSignal{constructor(e,t){if(super(e),this._eventsSignalOutputs={},this.done=this._registerSignalOutput("done"),t)for(const e of t)this._eventsSignalOutputs[e]=this._registerSignalOutput(e+"Event")}_executeOnTick(e){}_startPendingTasks(e){e._getExecutionVariable(this,"_initialized",!1)&&(this._cancelPendingTasks(e),this._resetAfterCanceled(e)),this._preparePendingTasks(e),e._addPendingBlock(this),this.out._activateSignal(e),e._setExecutionVariable(this,"_initialized",!0)}_resetAfterCanceled(e){e._deleteExecutionVariable(this,"_initialized"),e._removePendingBlock(this)}}e.s(["FlowGraphAsyncExecutionBlock",0,r])},43350,e=>{"use strict";var t=e.i(46518);class r extends t.FlowGraphAsyncExecutionBlock{constructor(e){super(e),this.initPriority=0,this.type="NoTrigger",this._unregisterSignalInput("in")}deserialize(e){let t={...e};t.signalInputs=(e.signalInputs??[]).filter(e=>"in"!==e.name),super.deserialize(t)}_execute(e){e._notifyExecuteNode(this),this.done._activateSignal(e),this.out._activateSignal(e)}_startPendingTasks(e){e._getExecutionVariable(this,"_initialized",!1)&&(this._cancelPendingTasks(e),this._resetAfterCanceled(e)),this._preparePendingTasks(e),e._addPendingBlock(this),e._setExecutionVariable(this,"_initialized",!0)}}e.s(["FlowGraphEventBlock",0,r])},44939,e=>{"use strict";var t=e.i(23240);e.s(["DrawWrapper",0,class{static GetEffect(e){return void 0===e.getPipelineContext?e.effect:e}constructor(e,t=!0){this._wasPreviouslyReady=!1,this._forceRebindOnNextCall=!0,this._wasPreviouslyUsingInstances=null,this.effect=null,this.defines=null,this.drawContext=e.createDrawContext(),t&&(this.materialContext=e.createMaterialContext())}setEffect(e,t,r=!0){this.effect=e,void 0!==t&&(this.defines=t),r&&this.drawContext?.reset()}dispose(e=!1){if(this.effect){let r=this.effect;e?r.dispose():t.TimingTools.SetImmediate(()=>{r.getEngine().onEndFrameObservable.addOnce(()=>{r.dispose()})}),this.effect=null}this.drawContext?.dispose()}}])},49007,e=>{"use strict";e.s(["IntersectionInfo",0,class{constructor(e,t,r){this.bu=e,this.bv=t,this.distance=r,this.faceId=0,this.subMeshId=0,this._internalSubMeshId=0}}])},70247,e=>{"use strict";var t,r,i,s,n=e.i(96265);(t=i||(i={}))[t.LOCAL=0]="LOCAL",t[t.WORLD=1]="WORLD",t[t.BONE=2]="BONE";class a{}a.X=new n.Vector3(1,0,0),a.Y=new n.Vector3(0,1,0),a.Z=new n.Vector3(0,0,1),(r=s||(s={}))[r.X=0]="X",r[r.Y=1]="Y",r[r.Z=2]="Z",e.s(["Axis",0,a,"Coordinate",0,s,"Space",0,i])},45334,e=>{"use strict";class t{static get ForceFullSceneLoadingForIncremental(){return t._ForceFullSceneLoadingForIncremental}static set ForceFullSceneLoadingForIncremental(e){t._ForceFullSceneLoadingForIncremental=e}static get ShowLoadingScreen(){return t._ShowLoadingScreen}static set ShowLoadingScreen(e){t._ShowLoadingScreen=e}static get loggingLevel(){return t._LoggingLevel}static set loggingLevel(e){t._LoggingLevel=e}static get CleanBoneMatrixWeights(){return t._CleanBoneMatrixWeights}static set CleanBoneMatrixWeights(e){t._CleanBoneMatrixWeights=e}}t._ForceFullSceneLoadingForIncremental=!1,t._ShowLoadingScreen=!0,t._CleanBoneMatrixWeights=!1,t._LoggingLevel=0,e.s(["SceneLoaderFlags",0,t])},14953,e=>{"use strict";var t=e.i(96265);let r=[Math.sqrt(1/(4*Math.PI)),-Math.sqrt(3/(4*Math.PI)),Math.sqrt(3/(4*Math.PI)),-Math.sqrt(3/(4*Math.PI)),Math.sqrt(15/(4*Math.PI)),-Math.sqrt(15/(4*Math.PI)),Math.sqrt(5/(16*Math.PI)),-Math.sqrt(15/(4*Math.PI)),Math.sqrt(15/(16*Math.PI))],i=[()=>1,e=>e.y,e=>e.z,e=>e.x,e=>e.x*e.y,e=>e.y*e.z,e=>3*e.z*e.z-1,e=>e.x*e.z,e=>e.x*e.x-e.y*e.y],s=(e,t)=>r[e]*i[e](t),n=[Math.PI,2*Math.PI/3,2*Math.PI/3,2*Math.PI/3,Math.PI/4,Math.PI/4,Math.PI/4,Math.PI/4,Math.PI/4];class a{constructor(){this.preScaled=!1,this.l00=t.Vector3.Zero(),this.l1_1=t.Vector3.Zero(),this.l10=t.Vector3.Zero(),this.l11=t.Vector3.Zero(),this.l2_2=t.Vector3.Zero(),this.l2_1=t.Vector3.Zero(),this.l20=t.Vector3.Zero(),this.l21=t.Vector3.Zero(),this.l22=t.Vector3.Zero()}addLight(e,r,i){t.TmpVectors.Vector3[0].set(r.r,r.g,r.b);let n=t.TmpVectors.Vector3[0],a=t.TmpVectors.Vector3[1];n.scaleToRef(i,a),a.scaleToRef(s(0,e),t.TmpVectors.Vector3[2]),this.l00.addInPlace(t.TmpVectors.Vector3[2]),a.scaleToRef(s(1,e),t.TmpVectors.Vector3[2]),this.l1_1.addInPlace(t.TmpVectors.Vector3[2]),a.scaleToRef(s(2,e),t.TmpVectors.Vector3[2]),this.l10.addInPlace(t.TmpVectors.Vector3[2]),a.scaleToRef(s(3,e),t.TmpVectors.Vector3[2]),this.l11.addInPlace(t.TmpVectors.Vector3[2]),a.scaleToRef(s(4,e),t.TmpVectors.Vector3[2]),this.l2_2.addInPlace(t.TmpVectors.Vector3[2]),a.scaleToRef(s(5,e),t.TmpVectors.Vector3[2]),this.l2_1.addInPlace(t.TmpVectors.Vector3[2]),a.scaleToRef(s(6,e),t.TmpVectors.Vector3[2]),this.l20.addInPlace(t.TmpVectors.Vector3[2]),a.scaleToRef(s(7,e),t.TmpVectors.Vector3[2]),this.l21.addInPlace(t.TmpVectors.Vector3[2]),a.scaleToRef(s(8,e),t.TmpVectors.Vector3[2]),this.l22.addInPlace(t.TmpVectors.Vector3[2])}scaleInPlace(e){this.l00.scaleInPlace(e),this.l1_1.scaleInPlace(e),this.l10.scaleInPlace(e),this.l11.scaleInPlace(e),this.l2_2.scaleInPlace(e),this.l2_1.scaleInPlace(e),this.l20.scaleInPlace(e),this.l21.scaleInPlace(e),this.l22.scaleInPlace(e)}convertIncidentRadianceToIrradiance(){this.l00.scaleInPlace(n[0]),this.l1_1.scaleInPlace(n[1]),this.l10.scaleInPlace(n[2]),this.l11.scaleInPlace(n[3]),this.l2_2.scaleInPlace(n[4]),this.l2_1.scaleInPlace(n[5]),this.l20.scaleInPlace(n[6]),this.l21.scaleInPlace(n[7]),this.l22.scaleInPlace(n[8])}convertIrradianceToLambertianRadiance(){this.scaleInPlace(1/Math.PI)}preScaleForRendering(){this.preScaled=!0,this.l00.scaleInPlace(r[0]),this.l1_1.scaleInPlace(r[1]),this.l10.scaleInPlace(r[2]),this.l11.scaleInPlace(r[3]),this.l2_2.scaleInPlace(r[4]),this.l2_1.scaleInPlace(r[5]),this.l20.scaleInPlace(r[6]),this.l21.scaleInPlace(r[7]),this.l22.scaleInPlace(r[8])}updateFromArray(e){return t.Vector3.FromArrayToRef(e[0],0,this.l00),t.Vector3.FromArrayToRef(e[1],0,this.l1_1),t.Vector3.FromArrayToRef(e[2],0,this.l10),t.Vector3.FromArrayToRef(e[3],0,this.l11),t.Vector3.FromArrayToRef(e[4],0,this.l2_2),t.Vector3.FromArrayToRef(e[5],0,this.l2_1),t.Vector3.FromArrayToRef(e[6],0,this.l20),t.Vector3.FromArrayToRef(e[7],0,this.l21),t.Vector3.FromArrayToRef(e[8],0,this.l22),this}updateFromFloatsArray(e){return t.Vector3.FromFloatsToRef(e[0],e[1],e[2],this.l00),t.Vector3.FromFloatsToRef(e[3],e[4],e[5],this.l1_1),t.Vector3.FromFloatsToRef(e[6],e[7],e[8],this.l10),t.Vector3.FromFloatsToRef(e[9],e[10],e[11],this.l11),t.Vector3.FromFloatsToRef(e[12],e[13],e[14],this.l2_2),t.Vector3.FromFloatsToRef(e[15],e[16],e[17],this.l2_1),t.Vector3.FromFloatsToRef(e[18],e[19],e[20],this.l20),t.Vector3.FromFloatsToRef(e[21],e[22],e[23],this.l21),t.Vector3.FromFloatsToRef(e[24],e[25],e[26],this.l22),this}static FromArray(e){return new a().updateFromArray(e)}static FromPolynomial(e){let t=new a;return t.l00=e.xx.scale(.376127).add(e.yy.scale(.376127)).add(e.zz.scale(.376126)),t.l1_1=e.y.scale(.977204),t.l10=e.z.scale(.977204),t.l11=e.x.scale(.977204),t.l2_2=e.xy.scale(1.16538),t.l2_1=e.yz.scale(1.16538),t.l20=e.zz.scale(1.34567).subtract(e.xx.scale(.672834)).subtract(e.yy.scale(.672834)),t.l21=e.zx.scale(1.16538),t.l22=e.xx.scale(1.16538).subtract(e.yy.scale(1.16538)),t.l1_1.scaleInPlace(-1),t.l11.scaleInPlace(-1),t.l2_1.scaleInPlace(-1),t.l21.scaleInPlace(-1),t.scaleInPlace(Math.PI),t}}class o{constructor(){this.x=t.Vector3.Zero(),this.y=t.Vector3.Zero(),this.z=t.Vector3.Zero(),this.xx=t.Vector3.Zero(),this.yy=t.Vector3.Zero(),this.zz=t.Vector3.Zero(),this.xy=t.Vector3.Zero(),this.yz=t.Vector3.Zero(),this.zx=t.Vector3.Zero()}get preScaledHarmonics(){return this._harmonics||(this._harmonics=a.FromPolynomial(this)),this._harmonics.preScaled||this._harmonics.preScaleForRendering(),this._harmonics}addAmbient(e){t.TmpVectors.Vector3[0].copyFromFloats(e.r,e.g,e.b);let r=t.TmpVectors.Vector3[0];this.xx.addInPlace(r),this.yy.addInPlace(r),this.zz.addInPlace(r)}scaleInPlace(e){this.x.scaleInPlace(e),this.y.scaleInPlace(e),this.z.scaleInPlace(e),this.xx.scaleInPlace(e),this.yy.scaleInPlace(e),this.zz.scaleInPlace(e),this.yz.scaleInPlace(e),this.zx.scaleInPlace(e),this.xy.scaleInPlace(e)}updateFromHarmonics(e){return this._harmonics=e,this.x.copyFrom(e.l11),this.x.scaleInPlace(1.02333).scaleInPlace(-1),this.y.copyFrom(e.l1_1),this.y.scaleInPlace(1.02333).scaleInPlace(-1),this.z.copyFrom(e.l10),this.z.scaleInPlace(1.02333),this.xx.copyFrom(e.l00),t.TmpVectors.Vector3[0].copyFrom(e.l20).scaleInPlace(.247708),t.TmpVectors.Vector3[1].copyFrom(e.l22).scaleInPlace(.429043),this.xx.scaleInPlace(.886277).subtractInPlace(t.TmpVectors.Vector3[0]).addInPlace(t.TmpVectors.Vector3[1]),this.yy.copyFrom(e.l00),this.yy.scaleInPlace(.886277).subtractInPlace(t.TmpVectors.Vector3[0]).subtractInPlace(t.TmpVectors.Vector3[1]),this.zz.copyFrom(e.l00),t.TmpVectors.Vector3[0].copyFrom(e.l20).scaleInPlace(.495417),this.zz.scaleInPlace(.886277).addInPlace(t.TmpVectors.Vector3[0]),this.yz.copyFrom(e.l2_1),this.yz.scaleInPlace(.858086).scaleInPlace(-1),this.zx.copyFrom(e.l21),this.zx.scaleInPlace(.858086).scaleInPlace(-1),this.xy.copyFrom(e.l2_2),this.xy.scaleInPlace(.858086),this.scaleInPlace(1/Math.PI),this}static FromHarmonics(e){return new o().updateFromHarmonics(e)}static FromArray(e){let r=new o;return t.Vector3.FromArrayToRef(e[0],0,r.x),t.Vector3.FromArrayToRef(e[1],0,r.y),t.Vector3.FromArrayToRef(e[2],0,r.z),t.Vector3.FromArrayToRef(e[3],0,r.xx),t.Vector3.FromArrayToRef(e[4],0,r.yy),t.Vector3.FromArrayToRef(e[5],0,r.zz),t.Vector3.FromArrayToRef(e[6],0,r.yz),t.Vector3.FromArrayToRef(e[7],0,r.zx),t.Vector3.FromArrayToRef(e[8],0,r.xy),r}}e.s(["SphericalHarmonics",0,a,"SphericalPolynomial",0,o])},82155,e=>{"use strict";(0,e.i(5110).RegisterFlowGraphRichTypes)(),e.s([])},18131,e=>{"use strict";e.s(["PrePassConfiguration",0,class{constructor(){this.previousWorldMatrices={},this.previousBones={}}static AddUniforms(e){e.push("previousWorld","previousViewProjection","mPreviousBones")}static AddSamplers(e){}bindForSubMesh(e,t,r,i,s){if(t.prePassRenderer&&t.prePassRenderer.enabled&&t.prePassRenderer.currentRTisSceneRT&&(-1!==t.prePassRenderer.getIndex(2)||-1!==t.prePassRenderer.getIndex(11))){this.previousWorldMatrices[r.uniqueId]||(this.previousWorldMatrices[r.uniqueId]=i.clone()),this.previousViewProjection||(this.previousViewProjection=t.getTransformMatrix().clone(),this.currentViewProjection=t.getTransformMatrix().clone());let s=t.getEngine();this.currentViewProjection.updateFlag!==t.getTransformMatrix().updateFlag?(this._lastUpdateFrameId=s.frameId,this.previousViewProjection.copyFrom(this.currentViewProjection),this.currentViewProjection.copyFrom(t.getTransformMatrix())):this._lastUpdateFrameId!==s.frameId&&(this._lastUpdateFrameId=s.frameId,this.previousViewProjection.copyFrom(this.currentViewProjection)),e.setMatrix("previousWorld",this.previousWorldMatrices[r.uniqueId]),e.setMatrix("previousViewProjection",this.previousViewProjection),this.previousWorldMatrices[r.uniqueId]=i.clone()}}}])},44702,e=>{"use strict";e.s(["MaterialDefines",0,class{constructor(e){if(this.VERTEXOUTPUT_INVARIANT=!1,this._keys=[],this._isDirty=!0,this._areLightsDirty=!0,this._areLightsDisposed=!1,this._areAttributesDirty=!0,this._areTexturesDirty=!0,this._areFresnelDirty=!0,this._areMiscDirty=!0,this._arePrePassDirty=!0,this._areImageProcessingDirty=!0,this._normals=!1,this._uvs=!1,this._needNormals=!1,this._needUVs=!1,this._externalProperties=e,e)for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&this._setDefaultValue(t)}get isDirty(){return this._isDirty}markAsProcessed(){this._isDirty=!1,this._areAttributesDirty=!1,this._areTexturesDirty=!1,this._areFresnelDirty=!1,this._areLightsDirty=!1,this._areLightsDisposed=!1,this._areMiscDirty=!1,this._arePrePassDirty=!1,this._areImageProcessingDirty=!1}markAsUnprocessed(){this._isDirty=!0}markAllAsDirty(){this._areTexturesDirty=!0,this._areAttributesDirty=!0,this._areLightsDirty=!0,this._areFresnelDirty=!0,this._areMiscDirty=!0,this._arePrePassDirty=!0,this._areImageProcessingDirty=!0,this._isDirty=!0}markAsImageProcessingDirty(){this._areImageProcessingDirty=!0,this._isDirty=!0}markAsLightDirty(e=!1){this._areLightsDirty=!0,this._areLightsDisposed=this._areLightsDisposed||e,this._isDirty=!0}markAsAttributesDirty(){this._areAttributesDirty=!0,this._isDirty=!0}markAsTexturesDirty(){this._areTexturesDirty=!0,this._isDirty=!0}markAsFresnelDirty(){this._areFresnelDirty=!0,this._isDirty=!0}markAsMiscDirty(){this._areMiscDirty=!0,this._isDirty=!0}markAsPrePassDirty(){this._arePrePassDirty=!0,this._isDirty=!0}rebuild(){for(let e of(this._keys.length=0,Object.keys(this)))"_"!==e[0]&&this._keys.push(e);if(this._externalProperties)for(let e in this._externalProperties)-1===this._keys.indexOf(e)&&this._keys.push(e)}isEqual(e){if(this._keys.length!==e._keys.length)return!1;for(let t=0;t<this._keys.length;t++){let r=this._keys[t];if(this[r]!==e[r])return!1}return!0}cloneTo(e){this._keys.length!==e._keys.length&&(e._keys=this._keys.slice(0));for(let t=0;t<this._keys.length;t++){let r=this._keys[t];e[r]=this[r]}}reset(){for(let e of this._keys)this._setDefaultValue(e)}_setDefaultValue(e){let t=this._externalProperties?.[e]?.type??typeof this[e],r=this._externalProperties?.[e]?.default;switch(t){case"number":this[e]=r??0;break;case"string":this[e]=r??"";break;default:this[e]=r??!1}}toString(){let e="";for(let t=0;t<this._keys.length;t++){let r=this._keys[t],i=this[r];switch(typeof i){case"number":case"string":e+="#define "+r+" "+i+"\n";break;default:i&&(e+="#define "+r+"\n")}}return e}}])},89748,44451,e=>{"use strict";e.i(44702).MaterialDefines,e.s(["ImageProcessingDefinesMixin",0,function(e){return class extends e{constructor(){super(...arguments),this.IMAGEPROCESSING=!1,this.VIGNETTE=!1,this.VIGNETTEBLENDMODEMULTIPLY=!1,this.VIGNETTEBLENDMODEOPAQUE=!1,this.TONEMAPPING=0,this.CONTRAST=!1,this.COLORCURVES=!1,this.COLORGRADING=!1,this.COLORGRADING3D=!1,this.SAMPLER3DGREENDEPTH=!1,this.SAMPLER3DBGRMAP=!1,this.DITHER=!1,this.IMAGEPROCESSINGPOSTPROCESS=!1,this.SKIPFINALCOLORCLAMP=!1,this.EXPOSURE=!1}}}],89748);var t,r,i=e.i(96265);(t=r||(r={}))[t.Zero=0]="Zero",t[t.One=1]="One",t[t.MaxViewZ=2]="MaxViewZ",t[t.NoClear=3]="NoClear";class s{static CreateConfiguration(e){return s._Configurations[e]={defines:{},previousWorldMatrices:{},previousViewProjection:i.Matrix.Zero(),currentViewProjection:i.Matrix.Zero(),previousBones:{},lastUpdateFrameId:-1,excludedSkinnedMesh:[],reverseCulling:!1},s._Configurations[e]}static DeleteConfiguration(e){delete s._Configurations[e]}static GetConfiguration(e){return s._Configurations[e]}static AddUniformsAndSamplers(e,t){e.push("previousWorld","previousViewProjection","mPreviousBones")}static MarkAsDirty(e,t){for(let r of t)if(r.subMeshes)for(let t of r.subMeshes)t._removeDrawWrapper(e)}static PrepareDefines(e,t,r){if(!r._arePrePassDirty)return;let i=s._Configurations[e];if(!i)return;r.PREPASS=!0;let n=0;for(let e=0;e<s.GeometryTextureDescriptions.length;e++){let t=s.GeometryTextureDescriptions[e],a=t.define,o=t.defineIndex,l=i.defines[o];void 0!==l?(r[a]=!0,r[o]=l,n++):(r[a]=!1,delete r[o])}r.SCENE_MRT_COUNT=n,r.BONES_VELOCITY_ENABLED=t.useBones&&t.computeBonesUsingShaders&&t.skeleton&&!t.skeleton.isUsingTextureForMatrices&&-1===i.excludedSkinnedMesh.indexOf(t)}static Bind(e,t,r,i,n){let a=s._Configurations[e];if(!a)return;let o=r.getScene(),l=o.getEngine();if(a.reverseCulling&&l.setStateCullFaceType(o._mirroredCameraPosition?n.cullBackFaces:!n.cullBackFaces),(void 0!==a.defines.PREPASS_VELOCITY_INDEX||void 0!==a.defines.PREPASS_VELOCITY_LINEAR_INDEX)&&(a.previousWorldMatrices[r.uniqueId]||(a.previousWorldMatrices[r.uniqueId]=i.clone()),a.previousViewProjection||(a.previousViewProjection=o.getTransformMatrix().clone(),a.currentViewProjection=o.getTransformMatrix().clone()),a.currentViewProjection.updateFlag!==o.getTransformMatrix().updateFlag?(a.lastUpdateFrameId=l.frameId,a.previousViewProjection.copyFrom(a.currentViewProjection),a.currentViewProjection.copyFrom(o.getTransformMatrix())):a.lastUpdateFrameId!==l.frameId&&(a.lastUpdateFrameId=l.frameId,a.previousViewProjection.copyFrom(a.currentViewProjection)),t.setMatrix("previousWorld",a.previousWorldMatrices[r.uniqueId]),t.setMatrix("previousViewProjection",a.previousViewProjection),a.previousWorldMatrices[r.uniqueId]=i.clone(),r.useBones&&r.computeBonesUsingShaders&&r.skeleton)){let e=r.skeleton;if(!e.isUsingTextureForMatrices||-1===t.getUniformIndex("boneTextureInfo")){let i=e.getTransformMatrices(r);i&&(a.previousBones[r.uniqueId]||(a.previousBones[r.uniqueId]=i.slice()),t.setMatrices("mPreviousBones",a.previousBones[r.uniqueId]),a.previousBones[r.uniqueId].set(i))}}}}s.GeometryTextureDescriptions=[{type:0,name:"IrradianceLegacy",clearType:0,define:"PREPASS_IRRADIANCE_LEGACY",defineIndex:"PREPASS_IRRADIANCE_LEGACY_INDEX"},{type:1,name:"WorldPosition",clearType:0,define:"PREPASS_POSITION",defineIndex:"PREPASS_POSITION_INDEX"},{type:2,name:"Velocity",clearType:0,define:"PREPASS_VELOCITY",defineIndex:"PREPASS_VELOCITY_INDEX"},{type:3,name:"Reflectivity",clearType:0,define:"PREPASS_REFLECTIVITY",defineIndex:"PREPASS_REFLECTIVITY_INDEX"},{type:5,name:"ViewDepth",clearType:2,define:"PREPASS_DEPTH",defineIndex:"PREPASS_DEPTH_INDEX"},{type:6,name:"ViewNormal",clearType:0,define:"PREPASS_NORMAL",defineIndex:"PREPASS_NORMAL_INDEX"},{type:7,name:"AlbedoSqrt",clearType:0,define:"PREPASS_ALBEDO_SQRT",defineIndex:"PREPASS_ALBEDO_SQRT_INDEX"},{type:8,name:"WorldNormal",clearType:0,define:"PREPASS_WORLD_NORMAL",defineIndex:"PREPASS_WORLD_NORMAL_INDEX"},{type:9,name:"LocalPosition",clearType:0,define:"PREPASS_LOCAL_POSITION",defineIndex:"PREPASS_LOCAL_POSITION_INDEX"},{type:10,name:"ScreenDepth",clearType:1,define:"PREPASS_SCREENSPACE_DEPTH",defineIndex:"PREPASS_SCREENSPACE_DEPTH_INDEX"},{type:11,name:"LinearVelocity",clearType:0,define:"PREPASS_VELOCITY_LINEAR",defineIndex:"PREPASS_VELOCITY_LINEAR_INDEX"},{type:12,name:"Albedo",clearType:0,define:"PREPASS_ALBEDO",defineIndex:"PREPASS_ALBEDO_INDEX"},{type:13,name:"NormalizedViewDepth",clearType:1,define:"PREPASS_NORMALIZED_VIEW_DEPTH",defineIndex:"PREPASS_NORMALIZED_VIEW_DEPTH_INDEX"},{type:4,name:"Color",clearType:3,define:"PREPASS_COLOR",defineIndex:"PREPASS_COLOR_INDEX"},{type:14,name:"Irradiance",clearType:0,define:"PREPASS_IRRADIANCE",defineIndex:"PREPASS_IRRADIANCE_INDEX"}],s._Configurations={},e.s(["MaterialHelperGeometryRendering",0,s],44451)},80737,37882,5436,e=>{"use strict";e.s(["UVDefinesMixin",0,function(e){return class extends e{constructor(){super(...arguments),this.MAINUV1=!1,this.MAINUV2=!1,this.MAINUV3=!1,this.MAINUV4=!1,this.MAINUV5=!1,this.MAINUV6=!1,this.UV1=!1,this.UV2=!1,this.UV3=!1,this.UV4=!1,this.UV5=!1,this.UV6=!1}}}],80737),e.s(["PrepassDefinesMixin",0,function(e){return class extends e{constructor(){super(...arguments),this.PREPASS=!1,this.PREPASS_COLOR=!1,this.PREPASS_COLOR_INDEX=-1,this.PREPASS_IRRADIANCE_LEGACY=!1,this.PREPASS_IRRADIANCE_LEGACY_INDEX=-1,this.PREPASS_IRRADIANCE=!1,this.PREPASS_IRRADIANCE_INDEX=-1,this.PREPASS_ALBEDO=!1,this.PREPASS_ALBEDO_INDEX=-1,this.PREPASS_ALBEDO_SQRT=!1,this.PREPASS_ALBEDO_SQRT_INDEX=-1,this.PREPASS_DEPTH=!1,this.PREPASS_DEPTH_INDEX=-1,this.PREPASS_SCREENSPACE_DEPTH=!1,this.PREPASS_SCREENSPACE_DEPTH_INDEX=-1,this.PREPASS_NORMALIZED_VIEW_DEPTH=!1,this.PREPASS_NORMALIZED_VIEW_DEPTH_INDEX=-1,this.PREPASS_NORMAL=!1,this.PREPASS_NORMAL_INDEX=-1,this.PREPASS_NORMAL_WORLDSPACE=!1,this.PREPASS_WORLD_NORMAL=!1,this.PREPASS_WORLD_NORMAL_INDEX=-1,this.PREPASS_POSITION=!1,this.PREPASS_POSITION_INDEX=-1,this.PREPASS_LOCAL_POSITION=!1,this.PREPASS_LOCAL_POSITION_INDEX=-1,this.PREPASS_VELOCITY=!1,this.PREPASS_VELOCITY_INDEX=-1,this.PREPASS_VELOCITY_LINEAR=!1,this.PREPASS_VELOCITY_LINEAR_INDEX=-1,this.PREPASS_REFLECTIVITY=!1,this.PREPASS_REFLECTIVITY_INDEX=-1,this.SCENE_MRT_COUNT=0}}}],37882);var t=e.i(37143);e.s(["ImageProcessingMixin",0,function(e){return class extends e{constructor(...e){super(...e),(0,t.serializeAsImageProcessingConfiguration)()(this,"_imageProcessingConfiguration")}get imageProcessingConfiguration(){return this._imageProcessingConfiguration}set imageProcessingConfiguration(e){this._attachImageProcessingConfiguration(e),this._markAllSubMeshesAsImageProcessingDirty&&this._markAllSubMeshesAsImageProcessingDirty()}_attachImageProcessingConfiguration(e){e!==this._imageProcessingConfiguration&&(this._imageProcessingConfiguration&&this._imageProcessingObserver&&this._imageProcessingConfiguration.onUpdateParameters.remove(this._imageProcessingObserver),!e&&this.getScene?this._imageProcessingConfiguration=this.getScene().imageProcessingConfiguration:e&&(this._imageProcessingConfiguration=e),this._imageProcessingConfiguration&&(this._imageProcessingObserver=this._imageProcessingConfiguration.onUpdateParameters.add(()=>{this._markAllSubMeshesAsImageProcessingDirty&&this._markAllSubMeshesAsImageProcessingDirty()})))}get cameraColorCurvesEnabled(){return this.imageProcessingConfiguration.colorCurvesEnabled}set cameraColorCurvesEnabled(e){this.imageProcessingConfiguration.colorCurvesEnabled=e}get cameraColorGradingEnabled(){return this.imageProcessingConfiguration.colorGradingEnabled}set cameraColorGradingEnabled(e){this.imageProcessingConfiguration.colorGradingEnabled=e}get cameraToneMappingEnabled(){return this._imageProcessingConfiguration.toneMappingEnabled}set cameraToneMappingEnabled(e){this._imageProcessingConfiguration.toneMappingEnabled=e}get cameraExposure(){return this._imageProcessingConfiguration.exposure}set cameraExposure(e){this._imageProcessingConfiguration.exposure=e}get cameraContrast(){return this._imageProcessingConfiguration.contrast}set cameraContrast(e){this._imageProcessingConfiguration.contrast=e}get cameraColorGradingTexture(){return this._imageProcessingConfiguration.colorGradingTexture}set cameraColorGradingTexture(e){this._imageProcessingConfiguration.colorGradingTexture=e}get cameraColorCurves(){return this._imageProcessingConfiguration.colorCurves}set cameraColorCurves(e){this._imageProcessingConfiguration.colorCurves=e}}}],5436)},86206,78831,e=>{"use strict";var t=e.i(10272),r=e.i(23507),i=e.i(37143),s=e.i(33457),n=e.i(44702),a=e.i(74596),o=e.i(12423);let l=RegExp("^([gimus]+)!");class c{constructor(e){this._plugins=[],this._activePlugins=[],this._activePluginsForExtraEvents=[],this._material=e,this._scene=e.getScene(),this._engine=this._scene.getEngine()}_addPlugin(e){for(let t=0;t<this._plugins.length;++t)if(this._plugins[t].name===e.name)return!1;if(this._material._uniformBufferLayoutBuilt&&(this._material.resetDrawCache(),this._material._createUniformBuffer()),!e.isCompatible(this._material.shaderLanguage))throw`The plugin "${e.name}" can't be added to the material "${this._material.name}" because the plugin is not compatible with the shader language of the material.`;let t=e.getClassName();c._MaterialPluginClassToMainDefine[t]||(c._MaterialPluginClassToMainDefine[t]="MATERIALPLUGIN_"+ ++c._MaterialPluginCounter),this._material._callbackPluginEventGeneric=(e,t)=>this._handlePluginEvent(e,t),this._plugins.push(e),this._plugins.sort((e,t)=>e.priority-t.priority),this._codeInjectionPoints={};let r={};for(let e of(r[c._MaterialPluginClassToMainDefine[t]]={type:"boolean",default:!0},this._plugins))e.collectDefines(r),this._collectPointNames("vertex",e.getCustomCode("vertex",this._material.shaderLanguage)),this._collectPointNames("fragment",e.getCustomCode("fragment",this._material.shaderLanguage));return this._defineNamesFromPlugins=r,!0}_activatePlugin(e){-1===this._activePlugins.indexOf(e)&&(this._activePlugins.push(e),this._activePlugins.sort((e,t)=>e.priority-t.priority),this._material._callbackPluginEventIsReadyForSubMesh=this._handlePluginEventIsReadyForSubMesh.bind(this),this._material._callbackPluginEventPrepareDefinesBeforeAttributes=this._handlePluginEventPrepareDefinesBeforeAttributes.bind(this),this._material._callbackPluginEventPrepareDefines=this._handlePluginEventPrepareDefines.bind(this),this._material._callbackPluginEventBindForSubMesh=this._handlePluginEventBindForSubMesh.bind(this),e.registerForExtraEvents&&(this._activePluginsForExtraEvents.push(e),this._activePluginsForExtraEvents.sort((e,t)=>e.priority-t.priority),this._material._callbackPluginEventHasRenderTargetTextures=this._handlePluginEventHasRenderTargetTextures.bind(this),this._material._callbackPluginEventFillRenderTargetTextures=this._handlePluginEventFillRenderTargetTextures.bind(this),this._material._callbackPluginEventHardBindForSubMesh=this._handlePluginEventHardBindForSubMesh.bind(this)))}getPlugin(e){for(let t=0;t<this._plugins.length;++t)if(this._plugins[t].name===e)return this._plugins[t];return null}_handlePluginEventIsReadyForSubMesh(e){let t=!0;for(let r of this._activePlugins)t=t&&r.isReadyForSubMesh(e.defines,this._scene,this._engine,e.subMesh);e.isReadyForSubMesh=t}_handlePluginEventPrepareDefinesBeforeAttributes(e){for(let t of this._activePlugins)t.prepareDefinesBeforeAttributes(e.defines,this._scene,e.mesh)}_handlePluginEventPrepareDefines(e){for(let t of this._activePlugins)t.prepareDefines(e.defines,this._scene,e.mesh)}_handlePluginEventHardBindForSubMesh(e){for(let t of this._activePluginsForExtraEvents)t.hardBindForSubMesh(this._material._uniformBuffer,this._scene,this._engine,e.subMesh)}_handlePluginEventBindForSubMesh(e){for(let t of this._activePlugins)t.bindForSubMesh(this._material._uniformBuffer,this._scene,this._engine,e.subMesh)}_handlePluginEventHasRenderTargetTextures(e){let t=!1;for(let e of this._activePluginsForExtraEvents)if(t=e.hasRenderTargetTextures())break;e.hasRenderTargetTextures=t}_handlePluginEventFillRenderTargetTextures(e){for(let t of this._activePluginsForExtraEvents)t.fillRenderTargetTextures(e.renderTargets)}_handlePluginEvent(e,t){switch(e){case 512:for(let e of this._activePlugins)e.getActiveTextures(t.activeTextures);break;case 256:for(let e of this._activePlugins)e.getAnimatables(t.animatables);break;case 1024:{let e=!1;for(let r of this._activePlugins)if(e=r.hasTexture(t.texture))break;t.hasTexture=e;break}case 2:for(let e of this._plugins)e.dispose(t.forceDisposeTextures);break;case 4:t.defineNames=this._defineNamesFromPlugins;break;case 128:for(let e of this._activePlugins)t.fallbackRank=e.addFallbacks(t.defines,t.fallbacks,t.fallbackRank),e.getAttributes(t.attributes,this._scene,t.mesh);this._uniformList.length>0&&t.uniforms.push(...this._uniformList),this._samplerList.length>0&&t.samplers.push(...this._samplerList),this._uboList.length>0&&t.uniformBuffersNames.push(...this._uboList),t.customCode=this._injectCustomCode(t,t.customCode);break;case 8:{this._uboDeclaration="",this._vertexDeclaration="",this._fragmentDeclaration="",this._uniformList=[],this._samplerList=[],this._uboList=[];let e=1===this._material.shaderLanguage;for(let r of this._plugins){let i=r.getUniforms(this._material.shaderLanguage);if(i){if(i.ubo)for(let r of i.ubo){if(r.size&&r.type){let i=r.arraySize??0;if(t.ubo.addUniform(r.name,r.size,i),e){let e;switch(r.type){case"mat4":e="mat4x4f";break;case"float":e="f32";break;default:e=`${r.type}f`}i>0?this._uboDeclaration+=`uniform ${r.name}: array<${e}, ${i}>;
2
- `:this._uboDeclaration+=`uniform ${r.name}: ${e};
3
- `}else this._uboDeclaration+=`${r.type} ${r.name}${i>0?`[${i}]`:""};
4
- `}this._uniformList.push(r.name)}i.vertex&&(this._vertexDeclaration+=i.vertex+"\n"),i.fragment&&(this._fragmentDeclaration+=i.fragment+"\n"),i.externalUniforms&&this._uniformList.push(...i.externalUniforms)}r.getSamplers(this._samplerList),r.getUniformBuffersNames(this._uboList)}}}}_collectPointNames(e,t){if(t)for(let r in t)this._codeInjectionPoints[e]||(this._codeInjectionPoints[e]={}),this._codeInjectionPoints[e][r]=!0}_injectCustomCode(e,t){return(r,i)=>{t&&(i=t(r,i)),this._uboDeclaration&&(i=i.replace("#define ADDITIONAL_UBO_DECLARATION",this._uboDeclaration)),this._vertexDeclaration&&(i=i.replace("#define ADDITIONAL_VERTEX_DECLARATION",this._vertexDeclaration)),this._fragmentDeclaration&&(i=i.replace("#define ADDITIONAL_FRAGMENT_DECLARATION",this._fragmentDeclaration));let s=this._codeInjectionPoints?.[r];if(!s)return i;let n=null;for(let t in s){let s="";for(let i of this._activePlugins){let l=this._material.shaderLanguage,c=i.getCustomCode(r,l)?.[t];c&&(i.resolveIncludes&&(null===n&&(n={defines:[],indexParameters:e.indexParameters,isFragment:!1,shouldUseHighPrecisionShader:this._engine._shouldUseHighPrecisionShader,processor:void 0,supportsUniformBuffers:this._engine.supportsUniformBuffers,shadersRepository:o.ShaderStore.GetShadersRepository(l),includesShadersStore:o.ShaderStore.GetIncludesShadersStore(l),version:void 0,platformName:this._engine.shaderPlatformName,processingContext:void 0,isNDCHalfZRange:this._engine.isNDCHalfZRange,useReverseDepthBuffer:this._engine.useReverseDepthBuffer,processCodeAfterIncludes:void 0}),n.isFragment="fragment"===r,(0,a.ProcessIncludes)(c,n,e=>c=e)),s+=c+"\n")}if(s.length>0)if("!"===t.charAt(0)){t=t.substring(1);let e="g";if("!"===t.charAt(0))e="",t=t.substring(1);else{let r=l.exec(t);r&&r.length>=2&&(e=r[1],t=t.substring(e.length+1))}0>e.indexOf("g")&&(e+="g");let r=i,n=new RegExp(t,e),a=n.exec(r);for(;null!==a;){let e=s;for(let t=0;t<a.length;++t)e=e.replace("$"+t,a[t]);i=i.replace(a[0],e),a=n.exec(r)}}else{let e="#define "+t;i=i.replace(e,"\n"+s+"\n"+e)}}return i}}}c._MaterialPluginClassToMainDefine={},c._MaterialPluginCounter=0;var h=e.i(80871);class u{isCompatible(e){return 0===e}_enable(e){e&&this._pluginManager._activatePlugin(this)}constructor(e,t,r,i,s=!0,n=!1,a=!1){this.priority=500,this.resolveIncludes=!1,this.registerForExtraEvents=!1,this.doNotSerialize=!1,this._material=e,this.name=t,this.priority=r,this.resolveIncludes=a,e.pluginManager||(e.pluginManager=new c(e),e.onDisposeObservable.add(()=>{e.pluginManager=void 0})),this._pluginDefineNames=i,this._pluginManager=e.pluginManager,s&&this._pluginManager._addPlugin(this),n&&this._enable(!0),this.markAllDefinesAsDirty=e._dirtyCallbacks[127]}getClassName(){return"MaterialPluginBase"}isReadyForSubMesh(e,t,r,i){return!0}hardBindForSubMesh(e,t,r,i){}bindForSubMesh(e,t,r,i){}dispose(e){}getCustomCode(e,t=0){return null}collectDefines(e){if(this._pluginDefineNames)for(let t of Object.keys(this._pluginDefineNames)){if("_"===t[0])continue;let r=typeof this._pluginDefineNames[t];e[t]={type:"number"===r?"number":"string"===r?"string":"boolean"===r?"boolean":"object",default:this._pluginDefineNames[t]}}}prepareDefinesBeforeAttributes(e,t,r){}prepareDefines(e,t,r){}hasTexture(e){return!1}hasRenderTargetTextures(){return!1}fillRenderTargetTextures(e){}getActiveTextures(e){}getAnimatables(e){}addFallbacks(e,t,r){return r}getSamplers(e){}getAttributes(e,t,r){}getUniformBuffersNames(e){}getUniforms(e=0){return{}}copyTo(e){h.SerializationHelper.Clone(()=>e,this)}serialize(){return h.SerializationHelper.Serialize(this)}parse(e,t,r){h.SerializationHelper.Parse(()=>this,e,t,r)}}(0,t.__decorate)([(0,i.serialize)()],u.prototype,"name",void 0),(0,t.__decorate)([(0,i.serialize)()],u.prototype,"priority",void 0),(0,t.__decorate)([(0,i.serialize)()],u.prototype,"resolveIncludes",void 0),(0,t.__decorate)([(0,i.serialize)()],u.prototype,"registerForExtraEvents",void 0),e.s(["MaterialPluginBase",0,u],78831);var g=e.i(97001);class d extends n.MaterialDefines{constructor(){super(...arguments),this.DETAIL=!1,this.DETAILDIRECTUV=0,this.DETAIL_NORMALBLENDMETHOD=0}}class f extends u{_markAllSubMeshesAsTexturesDirty(){this._enable(this._isEnabled),this._internalMarkAllSubMeshesAsTexturesDirty()}isCompatible(){return!0}constructor(e,t=!0){super(e,"DetailMap",140,new d,t),this._texture=null,this.diffuseBlendLevel=1,this.roughnessBlendLevel=1,this.bumpLevel=1,this._normalBlendMethod=r.Material.MATERIAL_NORMALBLENDMETHOD_WHITEOUT,this._isEnabled=!1,this.isEnabled=!1,this._internalMarkAllSubMeshesAsTexturesDirty=e._dirtyCallbacks[1]}isReadyForSubMesh(e,t,r){return!this._isEnabled||!e._areTexturesDirty||!t.texturesEnabled||!r.getCaps().standardDerivatives||!this._texture||!s.MaterialFlags.DetailTextureEnabled||!!this._texture.isReady()}prepareDefines(e,t){if(this._isEnabled){e.DETAIL_NORMALBLENDMETHOD=this._normalBlendMethod;let r=t.getEngine();e._areTexturesDirty&&(r.getCaps().standardDerivatives&&this._texture&&s.MaterialFlags.DetailTextureEnabled&&this._isEnabled?((0,g.PrepareDefinesForMergedUV)(this._texture,e,"DETAIL"),e.DETAIL_NORMALBLENDMETHOD=this._normalBlendMethod):e.DETAIL=!1)}else e.DETAIL=!1}bindForSubMesh(e,t){if(!this._isEnabled)return;let r=this._material.isFrozen;e.useUbo&&r&&e.isSync||!this._texture||!s.MaterialFlags.DetailTextureEnabled||(e.updateFloat4("vDetailInfos",this._texture.coordinatesIndex,this.diffuseBlendLevel,this.bumpLevel,this.roughnessBlendLevel),(0,g.BindTextureMatrix)(this._texture,e,"detail")),t.texturesEnabled&&this._texture&&s.MaterialFlags.DetailTextureEnabled&&e.setTexture("detailSampler",this._texture)}hasTexture(e){return this._texture===e}getActiveTextures(e){this._texture&&e.push(this._texture)}getAnimatables(e){this._texture&&this._texture.animations&&this._texture.animations.length>0&&e.push(this._texture)}dispose(e){e&&this._texture?.dispose()}getClassName(){return"DetailMapConfiguration"}getSamplers(e){e.push("detailSampler")}getUniforms(){return{ubo:[{name:"vDetailInfos",size:4,type:"vec4"},{name:"detailMatrix",size:16,type:"mat4"}]}}}(0,t.__decorate)([(0,i.serializeAsTexture)("detailTexture"),(0,i.expandToProperty)("_markAllSubMeshesAsTexturesDirty")],f.prototype,"texture",void 0),(0,t.__decorate)([(0,i.serialize)()],f.prototype,"diffuseBlendLevel",void 0),(0,t.__decorate)([(0,i.serialize)()],f.prototype,"roughnessBlendLevel",void 0),(0,t.__decorate)([(0,i.serialize)()],f.prototype,"bumpLevel",void 0),(0,t.__decorate)([(0,i.serialize)(),(0,i.expandToProperty)("_markAllSubMeshesAsTexturesDirty")],f.prototype,"normalBlendMethod",void 0),(0,t.__decorate)([(0,i.serialize)(),(0,i.expandToProperty)("_markAllSubMeshesAsTexturesDirty")],f.prototype,"isEnabled",void 0),e.s(["DetailMapConfiguration",0,f],86206)},35627,e=>{"use strict";(0,e.i(40408).RegisterMesh)(),e.s([])},4577,e=>{"use strict";var t=e.i(25742);e.i(82155);var r=e.i(5110);class i extends t.FlowGraphBlock{constructor(e){super(e);const t=e.glTF,i=t?.animations?.map(e=>e._babylonAnimationGroup)||[];this.animationGroups=this.registerDataOutput("animationGroups",r.RichTypeAny,i);const s=t?.nodes?.map(e=>e._babylonTransformNode)||[];this.nodes=this.registerDataOutput("nodes",r.RichTypeAny,s)}getClassName(){return"FlowGraphGLTFDataProvider"}}e.s(["FlowGraphGLTFDataProvider",0,i])},21143,e=>{"use strict";class t{constructor(e){this._pendingActions=[],this._workerInfos=e.map(e=>({workerPromise:Promise.resolve(e),idle:!0}))}dispose(){for(let e of this._workerInfos)e.workerPromise.then(e=>{e.terminate()});this._workerInfos.length=0,this._pendingActions.length=0}push(e){this._executeOnIdleWorker(e)||this._pendingActions.push(e)}_executeOnIdleWorker(e){for(let t of this._workerInfos)if(t.idle)return this._execute(t,e),!0;return!1}_execute(e,t){e.idle=!1,e.workerPromise.then(r=>{t(r,()=>{let t=this._pendingActions.shift();t?this._execute(e,t):e.idle=!0})})}}class r extends t{constructor(e,t,i=r.DefaultOptions){super([]),this._maxWorkers=e,this._createWorkerAsync=t,this._options=i}push(e){if(!this._executeOnIdleWorker(e))if(this._workerInfos.length<this._maxWorkers){let t={workerPromise:this._createWorkerAsync(),idle:!1};this._workerInfos.push(t),this._execute(t,e)}else this._pendingActions.push(e)}_execute(e,t){e.timeoutId&&(clearTimeout(e.timeoutId),delete e.timeoutId),super._execute(e,(r,i)=>{t(r,()=>{i(),e.idle&&(e.timeoutId=setTimeout(()=>{e.workerPromise.then(e=>{e.terminate()});let t=this._workerInfos.indexOf(e);-1!==t&&this._workerInfos.splice(t,1)},this._options.idleTimeElapsedBeforeRelease))})})}}r.DefaultOptions={idleTimeElapsedBeforeRelease:1e3},e.s(["AutoReleaseWorkerPool",0,r])},7549,71911,3246,e=>{"use strict";e.s([],71911);var t=e.i(96265),r=e.i(13379),i=e.i(70227),s=e.i(40408),n=e.i(35407);let a="bakedVertexAnimationSettingsInstanced";function o(e){let t=e.bakedVertexAnimationManager?.texture?.getInternalTexture()?._bufferView;return t instanceof Float32Array||t instanceof Uint16Array}let l=!1;function c(){l||(l=!0,s.Mesh.prototype.thinInstanceAdd=function(e,t=!0){if(!this.getScene().getEngine().getCaps().instancedArrays)return r.Logger.Error("Thin Instances are not supported on this device as Instanced Array extension not supported"),-1;this._thinInstanceUpdateBufferSize("matrix",Array.isArray(e)?e.length:1);let i=this._thinInstanceDataStorage.instancesCount;if(Array.isArray(e))for(let r=0;r<e.length;++r)this.thinInstanceSetMatrixAt(this._thinInstanceDataStorage.instancesCount++,e[r],r===e.length-1&&t);else this.thinInstanceSetMatrixAt(this._thinInstanceDataStorage.instancesCount++,e,t);return i},s.Mesh.prototype.thinInstanceAddSelf=function(e=!0){return this.thinInstanceAdd(t.Matrix.IdentityReadOnly,e)},s.Mesh.prototype.thinInstanceRegisterAttribute=function(e,t){e===n.VertexBuffer.ColorKind&&(e=n.VertexBuffer.ColorInstanceKind),this.removeVerticesData(e),this._thinInstanceInitializeUserStorage(),this._userThinInstanceBuffersStorage.strides[e]=t,this._userThinInstanceBuffersStorage.sizes[e]=t*Math.max(32,this._thinInstanceDataStorage.instancesCount),this._userThinInstanceBuffersStorage.data[e]=new Float32Array(this._userThinInstanceBuffersStorage.sizes[e]),this._userThinInstanceBuffersStorage.vertexBuffers[e]=new n.VertexBuffer(this.getEngine(),this._userThinInstanceBuffersStorage.data[e],e,!0,!1,t,!0),this.setVerticesBuffer(this._userThinInstanceBuffersStorage.vertexBuffers[e])},s.Mesh.prototype.thinInstanceSetMatrixAt=function(e,t,r=!0){if(!this._thinInstanceDataStorage.matrixData||e>=this._thinInstanceDataStorage.instancesCount)return!1;let i=this._thinInstanceDataStorage.matrixData;return t.copyToArray(i,16*e),this._thinInstanceDataStorage.worldMatrices&&(this._thinInstanceDataStorage.worldMatrices[e]=t),r&&(this.thinInstanceBufferUpdated("matrix"),this.doNotSyncBoundingInfo||this.thinInstanceRefreshBoundingInfo(!1)),!0},s.Mesh.prototype.thinInstanceSetAttributeAt=function(e,t,r,i=!0){return e===n.VertexBuffer.ColorKind&&(e=n.VertexBuffer.ColorInstanceKind),!!this._userThinInstanceBuffersStorage&&!!this._userThinInstanceBuffersStorage.data[e]&&!(t>=this._thinInstanceDataStorage.instancesCount)&&(this._thinInstanceUpdateBufferSize(e,0),this._userThinInstanceBuffersStorage.data[e].set(r,t*this._userThinInstanceBuffersStorage.strides[e]),i&&this.thinInstanceBufferUpdated(e),!0)},Object.defineProperty(s.Mesh.prototype,"thinInstanceCount",{get:function(){return this._thinInstanceDataStorage.instancesCount},set:function(e){let t=this._thinInstanceDataStorage.matrixData??this.source?._thinInstanceDataStorage.matrixData;e<=(t?t.length/16:0)&&(this._thinInstanceDataStorage.instancesCount=e)},enumerable:!0,configurable:!0}),s.Mesh.prototype._thinInstanceCreateMatrixBuffer=function(e,t,r=!0){let i=new n.Buffer(this.getEngine(),t,!r,16,!1,!0);for(let t=0;t<4;t++)this.setVerticesBuffer(i.createVertexBuffer(e+t,4*t,4));return i},s.Mesh.prototype.thinInstanceSetBuffer=function(e,t,r=0,i=!0){if(r=r||16,"matrix"===e)this._thinInstanceDataStorage.matrixBuffer?.dispose(),this._thinInstanceDataStorage.matrixBuffer=null,this._thinInstanceDataStorage.matrixBufferSize=t?t.length:32*r,this._thinInstanceDataStorage.matrixData=t,this._thinInstanceDataStorage.worldMatrices=null,null!==t?(this._thinInstanceDataStorage.instancesCount=t.length/r,this._thinInstanceDataStorage.matrixBuffer=this._thinInstanceCreateMatrixBuffer("world",t,i),this.doNotSyncBoundingInfo||this.thinInstanceRefreshBoundingInfo(!1)):(this._thinInstanceDataStorage.instancesCount=0,this.doNotSyncBoundingInfo||this.refreshBoundingInfo());else if("previousMatrix"===e)this._thinInstanceDataStorage.previousMatrixBuffer?.dispose(),this._thinInstanceDataStorage.previousMatrixBuffer=null,this._thinInstanceDataStorage.previousMatrixData=t,null!==t&&(this._thinInstanceDataStorage.previousMatrixBuffer=this._thinInstanceCreateMatrixBuffer("previousWorld",t,i));else if("splatIndex"===e&&t){this._thinInstanceInitializeUserStorage(),this._thinInstanceDataStorage.instancesCount=t.length/r,this._userThinInstanceBuffersStorage.data[e]=t,this._userThinInstanceBuffersStorage.strides[e]=r,this._userThinInstanceBuffersStorage.sizes[e]=t.length;let i=new n.Buffer(this.getEngine(),t,!0,16,!1,!0);this._thinInstanceDataStorage.matrixBuffer=i;for(let t=0;t<4;t++)this.setVerticesBuffer(i.createVertexBuffer(e+t,4*t,4))}else e===n.VertexBuffer.ColorKind&&(e=n.VertexBuffer.ColorInstanceKind),null===t?this._userThinInstanceBuffersStorage?.data[e]&&(this.removeVerticesData(e),delete this._userThinInstanceBuffersStorage.data[e],delete this._userThinInstanceBuffersStorage.strides[e],delete this._userThinInstanceBuffersStorage.sizes[e],delete this._userThinInstanceBuffersStorage.vertexBuffers[e]):(this._thinInstanceInitializeUserStorage(),this._userThinInstanceBuffersStorage.data[e]=t,this._userThinInstanceBuffersStorage.strides[e]=r,this._userThinInstanceBuffersStorage.sizes[e]=t.length,this._userThinInstanceBuffersStorage.vertexBuffers[e]=new n.VertexBuffer(this.getEngine(),t,e,!i,!1,r,!0),this.setVerticesBuffer(this._userThinInstanceBuffersStorage.vertexBuffers[e]))},s.Mesh.prototype.thinInstanceBufferUpdated=function(e){"matrix"===e?(this.thinInstanceAllowAutomaticStaticBufferRecreation&&this._thinInstanceDataStorage.matrixBuffer&&!this._thinInstanceDataStorage.matrixBuffer.isUpdatable()&&this._thinInstanceRecreateBuffer(e),this._thinInstanceDataStorage.matrixBuffer?.updateDirectly(this._thinInstanceDataStorage.matrixData,0,this._thinInstanceDataStorage.instancesCount)):"previousMatrix"===e?(this.thinInstanceAllowAutomaticStaticBufferRecreation&&this._thinInstanceDataStorage.previousMatrixBuffer&&!this._thinInstanceDataStorage.previousMatrixBuffer.isUpdatable()&&this._thinInstanceRecreateBuffer(e),this._thinInstanceDataStorage.previousMatrixBuffer?.updateDirectly(this._thinInstanceDataStorage.previousMatrixData,0,this._thinInstanceDataStorage.instancesCount)):"splatIndex"===e?this._thinInstanceDataStorage.matrixBuffer?.updateDirectly(this._userThinInstanceBuffersStorage.data[e],0,this._thinInstanceDataStorage.instancesCount):(e===n.VertexBuffer.ColorKind&&(e=n.VertexBuffer.ColorInstanceKind),this._userThinInstanceBuffersStorage?.vertexBuffers[e]&&(this.thinInstanceAllowAutomaticStaticBufferRecreation&&!this._userThinInstanceBuffersStorage.vertexBuffers[e].isUpdatable()&&this._thinInstanceRecreateBuffer(e),this._userThinInstanceBuffersStorage.vertexBuffers[e].updateDirectly(this._userThinInstanceBuffersStorage.data[e],0)))},s.Mesh.prototype.thinInstancePartialBufferUpdate=function(e,t,r){if("matrix"===e)this._thinInstanceDataStorage.matrixBuffer&&("number"==typeof t?this._thinInstanceDataStorage.matrixBuffer.updateDirectly(new Float32Array(this._thinInstanceDataStorage.matrixData.buffer,this._thinInstanceDataStorage.matrixData.byteOffset+16*r*Float32Array.BYTES_PER_ELEMENT,16*t),16*r):this._thinInstanceDataStorage.matrixBuffer.updateDirectly(t,r));else if(e===n.VertexBuffer.ColorKind&&(e=n.VertexBuffer.ColorInstanceKind),this._userThinInstanceBuffersStorage?.vertexBuffers[e]){let i=this._userThinInstanceBuffersStorage.vertexBuffers[e];if("number"==typeof t){let i=new Float32Array(this._userThinInstanceBuffersStorage.data[e].buffer,this._userThinInstanceBuffersStorage.data[e].byteOffset+r*this._userThinInstanceBuffersStorage.strides[e]*Float32Array.BYTES_PER_ELEMENT,t*this._userThinInstanceBuffersStorage.strides[e]);this._userThinInstanceBuffersStorage.vertexBuffers[e].updateDirectly(i,r*this._userThinInstanceBuffersStorage.strides[e])}else i.updateDirectly(t,r)}},s.Mesh.prototype.thinInstanceGetWorldMatrices=function(){if(!this._thinInstanceDataStorage.matrixData||!this._thinInstanceDataStorage.matrixBuffer)return[];let e=this._thinInstanceDataStorage.matrixData;if(!this._thinInstanceDataStorage.worldMatrices){this._thinInstanceDataStorage.worldMatrices=[];for(let r=0;r<this._thinInstanceDataStorage.instancesCount;++r)this._thinInstanceDataStorage.worldMatrices[r]=t.Matrix.FromArray(e,16*r)}return this._thinInstanceDataStorage.worldMatrices},s.Mesh.prototype.thinInstanceRefreshBoundingInfo=function(e=!1,r=!1,s=!1,l=!1){if(!this._thinInstanceDataStorage.matrixData||!this._thinInstanceDataStorage.matrixBuffer)return;let c=this._thinInstanceDataStorage.boundingVectors;if(e||!this.rawBoundingInfo){if(c.length=0,l&&function(e,r,s){let l=e._userThinInstanceBuffersStorage,c=l?.data[a],h=l?.strides[a];if(!c||!h||h<4||!o(e))return!1;let u=e._thinInstanceDataStorage.matrixData;if(!u)return!1;let g={},d=t.TmpVectors.Vector4[0],f=t.TmpVectors.Vector3[1],p=t.TmpVectors.Vector3[2],m=t.TmpVectors.Vector3[3],_=t.TmpVectors.Vector3[4],y=t.TmpVectors.Vector3[5],T=t.TmpVectors.Vector3[6],x=t.TmpVectors.Matrix[2],I=e.geometry?e.geometry.boundingBias:null,P=e.getTotalVertices();f.setAll(1/0),p.setAll(-1/0),m.setAll(1/0),_.setAll(-1/0);for(let r=0;r<e._thinInstanceDataStorage.instancesCount;++r){let i=r*h;d.set(c[i],c[i+1],c[i+2],c[i+3]);let a=e._getData({applyMorph:s,applyBakedVertexAnimation:!0,bakedVertexAnimationSettings:d,updatePositionsArray:!1,cache:g},null,n.VertexBuffer.PositionKind);if(!a)return!1;y.setAll(1/0),T.setAll(-1/0);for(let e=0;e<3*P;e+=3){let t=a[e],r=a[e+1],i=a[e+2];t<y.x&&(y.x=t),r<y.y&&(y.y=r),i<y.z&&(y.z=i),t>T.x&&(T.x=t),r>T.y&&(T.y=r),i>T.z&&(T.z=i)}I&&(y.x-=y.x*I.x+I.y,y.y-=y.y*I.x+I.y,y.z-=y.z*I.x+I.y,T.x+=T.x*I.x+I.y,T.y+=T.y*I.x+I.y,T.z+=T.z*I.x+I.y),f.minimizeInPlace(y),p.maximizeInPlace(T),t.Matrix.FromArrayToRef(u,16*r,x),I?function(e,r,i,s,n){let a=t.TmpVectors.Vector3[7],o=t.TmpVectors.Vector3[8];for(let l=0;l<2;++l)for(let c=0;c<2;++c)for(let h=0;h<2;++h)a.set(l?r.x:e.x,c?r.y:e.y,h?r.z:e.z),t.Vector3.TransformCoordinatesToRef(a,i,o),s.minimizeInPlace(o),n.maximizeInPlace(o)}(y,T,x,m,_):function(e,r,i,s,n){let a=t.TmpVectors.Vector3[7];for(let o=0;o<3*r;o+=3)t.Vector3.TransformCoordinatesFromFloatsToRef(e[o],e[o+1],e[o+2],i,a),s.minimizeInPlace(a),n.maximizeInPlace(a)}(a,P,x,m,_)}if(!isFinite(f.x)||!isFinite(m.x))return!1;e.getBoundingInfo().reConstruct(m,_),e.rawBoundingInfo=new i.BoundingInfo(f,p);var b=e.rawBoundingInfo;r.length=0;for(let e=0;e<b.boundingBox.vectors.length;++e)r.push(b.boundingBox.vectors[e].clone());return e._updateBoundingInfo(),!0}(this,c,s))return;l&&this.bakedVertexAnimationManager?.isEnabled&&o(this)?this.refreshBoundingInfo({applySkeleton:r,applyMorph:s,applyBakedVertexAnimation:!0,updatePositionsArray:!1}):this.refreshBoundingInfo(r,s);let e=this.getBoundingInfo();this.rawBoundingInfo=new i.BoundingInfo(e.minimum,e.maximum)}let h=this.getBoundingInfo(),u=this._thinInstanceDataStorage.matrixData;if(0===c.length)for(let e=0;e<h.boundingBox.vectors.length;++e)c.push(h.boundingBox.vectors[e].clone());t.TmpVectors.Vector3[0].setAll(1/0),t.TmpVectors.Vector3[1].setAll(-1/0);for(let e=0;e<this._thinInstanceDataStorage.instancesCount;++e){t.Matrix.FromArrayToRef(u,16*e,t.TmpVectors.Matrix[0]);for(let e=0;e<c.length;++e)t.Vector3.TransformCoordinatesToRef(c[e],t.TmpVectors.Matrix[0],t.TmpVectors.Vector3[2]),t.TmpVectors.Vector3[0].minimizeInPlace(t.TmpVectors.Vector3[2]),t.TmpVectors.Vector3[1].maximizeInPlace(t.TmpVectors.Vector3[2])}h.reConstruct(t.TmpVectors.Vector3[0],t.TmpVectors.Vector3[1]),this._updateBoundingInfo()},s.Mesh.prototype._thinInstanceRecreateBuffer=function(e,t=!0){"matrix"===e?(this._thinInstanceDataStorage.matrixBuffer?.dispose(),this._thinInstanceDataStorage.matrixBuffer=this._thinInstanceCreateMatrixBuffer("world",this._thinInstanceDataStorage.matrixData,t)):"previousMatrix"===e?this._scene.needsPreviousWorldMatrices&&(this._thinInstanceDataStorage.previousMatrixBuffer?.dispose(),this._thinInstanceDataStorage.previousMatrixBuffer=this._thinInstanceCreateMatrixBuffer("previousWorld",this._thinInstanceDataStorage.previousMatrixData??this._thinInstanceDataStorage.matrixData,t)):(e===n.VertexBuffer.ColorKind&&(e=n.VertexBuffer.ColorInstanceKind),this._userThinInstanceBuffersStorage.vertexBuffers[e]?.dispose(),this._userThinInstanceBuffersStorage.vertexBuffers[e]=new n.VertexBuffer(this.getEngine(),this._userThinInstanceBuffersStorage.data[e],e,!t,!1,this._userThinInstanceBuffersStorage.strides[e],!0),this.setVerticesBuffer(this._userThinInstanceBuffersStorage.vertexBuffers[e]))},s.Mesh.prototype._thinInstanceUpdateBufferSize=function(e,t=1){e===n.VertexBuffer.ColorKind&&(e=n.VertexBuffer.ColorInstanceKind);let r="matrix"===e;if(!r&&(!this._userThinInstanceBuffersStorage||!this._userThinInstanceBuffersStorage.strides[e]))return;let i=r?16:this._userThinInstanceBuffersStorage.strides[e],s=r?this._thinInstanceDataStorage.matrixBufferSize:this._userThinInstanceBuffersStorage.sizes[e],a=r?this._thinInstanceDataStorage.matrixData:this._userThinInstanceBuffersStorage.data[e],o=(this._thinInstanceDataStorage.instancesCount+t)*i,l=s;for(;l<o;)l*=2;if(!a||s!=l){if(a){let e=new Float32Array(l);e.set(a,0),a=e}else a=new Float32Array(l);r?(this._thinInstanceDataStorage.matrixBuffer?.dispose(),this._thinInstanceDataStorage.matrixBuffer=this._thinInstanceCreateMatrixBuffer("world",a,!1),this._thinInstanceDataStorage.matrixData=a,this._thinInstanceDataStorage.matrixBufferSize=l,this._scene.needsPreviousWorldMatrices&&!this._thinInstanceDataStorage.previousMatrixData&&(this._thinInstanceDataStorage.previousMatrixBuffer?.dispose(),this._thinInstanceDataStorage.previousMatrixBuffer=this._thinInstanceCreateMatrixBuffer("previousWorld",a,!1))):(this._userThinInstanceBuffersStorage.vertexBuffers[e]?.dispose(),this._userThinInstanceBuffersStorage.data[e]=a,this._userThinInstanceBuffersStorage.sizes[e]=l,this._userThinInstanceBuffersStorage.vertexBuffers[e]=new n.VertexBuffer(this.getEngine(),a,e,!0,!1,i,!0),this.setVerticesBuffer(this._userThinInstanceBuffersStorage.vertexBuffers[e]))}},s.Mesh.prototype._thinInstanceInitializeUserStorage=function(){this._userThinInstanceBuffersStorage||(this._userThinInstanceBuffersStorage={data:{},sizes:{},vertexBuffers:{},strides:{}})},s.Mesh.prototype._disposeThinInstanceSpecificData=function(){this._thinInstanceDataStorage?.matrixBuffer&&(this._thinInstanceDataStorage.matrixBuffer.dispose(),this._thinInstanceDataStorage.matrixBuffer=null),this._thinInstanceDataStorage?.previousMatrixBuffer&&(this._thinInstanceDataStorage.previousMatrixBuffer.dispose(),this._thinInstanceDataStorage.previousMatrixBuffer=null)})}e.s(["RegisterThinInstanceMesh",0,c],3246),c(),e.s([],7549)},46778,e=>{"use strict";var t=e.i(10272),r=e.i(37143),i=e.i(96265),s=e.i(70653),n=e.i(34548),a=e.i(33855),o=e.i(77052),l=e.i(21823),c=e.i(80871);class h extends n.Node{get range(){return this._range}set range(e){this._range=e,this._inverseSquaredRange=1/(this.range*this.range)}get intensityMode(){return this._intensityMode}set intensityMode(e){this._intensityMode=e,this._computePhotometricScale()}get radius(){return this._radius}set radius(e){this._radius=e,this._computePhotometricScale()}get shadowEnabled(){return this._shadowEnabled}set shadowEnabled(e){this._shadowEnabled!==e&&(this._shadowEnabled=e,this._markMeshesAsLightDirty())}get includedOnlyMeshes(){return this._includedOnlyMeshes}set includedOnlyMeshes(e){this._includedOnlyMeshes=e,this._hookArrayForIncludedOnly(e)}get excludedMeshes(){return this._excludedMeshes}set excludedMeshes(e){this._excludedMeshes=e,this._hookArrayForExcluded(e)}get excludeWithLayerMask(){return this._excludeWithLayerMask}set excludeWithLayerMask(e){this._excludeWithLayerMask=e,this._resyncMeshes()}get includeOnlyWithLayerMask(){return this._includeOnlyWithLayerMask}set includeOnlyWithLayerMask(e){this._includeOnlyWithLayerMask=e,this._resyncMeshes()}get lightmapMode(){return this._lightmapMode}set lightmapMode(e){this._lightmapMode!==e&&(this._lightmapMode=e,this._markMeshesAsLightDirty())}getViewMatrix(e){return null}getProjectionMatrix(e,t){return null}constructor(e,t,r){super(e,t,!1),this.diffuse=new s.Color3(1,1,1),this.specular=new s.Color3(1,1,1),this.falloffType=h.FALLOFF_DEFAULT,this.intensity=1,this._range=Number.MAX_VALUE,this._inverseSquaredRange=0,this._photometricScale=1,this._intensityMode=h.INTENSITYMODE_AUTOMATIC,this._radius=1e-5,this.renderPriority=0,this._shadowEnabled=!0,this._excludeWithLayerMask=0,this._includeOnlyWithLayerMask=0,this._lightmapMode=0,this._shadowGenerators=null,this._excludedMeshesIds=[],this._includedOnlyMeshesIds=[],this._currentViewDepth=0,this._clusteredContainer=null,this._isLight=!0,r||this.getScene().addLight(this),this._uniformBuffer=new a.UniformBuffer(this.getScene().getEngine(),void 0,void 0,e),this._buildUniformLayout(),this.includedOnlyMeshes=[],this.excludedMeshes=[],r||this._resyncMeshes()}transferTexturesToEffect(e,t){return this}_bindLight(e,t,r,i,n=!0){let a=e.toString(),o=!1;if(this._uniformBuffer.bindToEffect(r,"Light"+a),this._renderId!==t.getRenderId()||this._lastUseSpecular!==i||!this._uniformBuffer.useUbo){this._renderId=t.getRenderId(),this._lastUseSpecular=i;let e=this.getScaledIntensity();this.transferToEffect(r,a),this.diffuse.scaleToRef(e,s.TmpColors.Color3[0]),this._uniformBuffer.updateColor4("vLightDiffuse",s.TmpColors.Color3[0],this.range,a),i&&(this.specular.scaleToRef(e,s.TmpColors.Color3[1]),this._uniformBuffer.updateColor4("vLightSpecular",s.TmpColors.Color3[1],this.radius,a)),o=!0}if(this.transferTexturesToEffect(r,a),t.shadowsEnabled&&this.shadowEnabled&&n){let e=this.getShadowGenerator(t.activeCamera)??this.getShadowGenerator();e&&(e.bindShadowLight(a,r),o=!0)}o?this._uniformBuffer.update():this._uniformBuffer.bindUniformBuffer()}getClassName(){return"Light"}toString(e){let t="Name: "+this.name;if(t+=", type: "+["Point","Directional","Spot","Hemispheric","Clustered"][this.getTypeID()],this.animations)for(let r=0;r<this.animations.length;r++)t+=", animation[0]: "+this.animations[r].toString(e);return t}_syncParentEnabledState(){super._syncParentEnabledState(),this.isDisposed()||this._resyncMeshes()}setEnabled(e){super.setEnabled(e),this._resyncMeshes()}getShadowGenerator(e=null){return null===this._shadowGenerators?null:this._shadowGenerators.get(e)??null}getShadowGenerators(){return this._shadowGenerators}getAbsolutePosition(){return i.Vector3.Zero()}canAffectMesh(e){return!e||(!this.includedOnlyMeshes||!(this.includedOnlyMeshes.length>0)||-1!==this.includedOnlyMeshes.indexOf(e))&&(!this.excludedMeshes||!(this.excludedMeshes.length>0)||-1===this.excludedMeshes.indexOf(e))&&(0===this.includeOnlyWithLayerMask||(this.includeOnlyWithLayerMask&e.layerMask)!=0)&&(0===this.excludeWithLayerMask||!(this.excludeWithLayerMask&e.layerMask))}dispose(e,t=!1){if(this._shadowGenerators){let e=this._shadowGenerators.values();for(let t=e.next();!0!==t.done;t=e.next())t.value.dispose();this._shadowGenerators=null}if(this.getScene().stopAnimation(this),this._parentContainer){let e=this._parentContainer.lights.indexOf(this);e>-1&&this._parentContainer.lights.splice(e,1),this._parentContainer=null}for(let e of this.getScene().meshes)e._removeLightSource(this,!0);this._uniformBuffer.dispose(),this.getScene().removeLight(this),super.dispose(e,t)}getTypeID(){return 0}getScaledIntensity(){return this._photometricScale*this.intensity}clone(e,t=null){let r=h.GetConstructorFromName(this.getTypeID(),e,this.getScene());if(!r)return null;let i=c.SerializationHelper.Clone(r,this);return e&&(i.name=e),t&&(i.parent=t),i.setEnabled(this.isEnabled()),this.onClonedObservable.notifyObservers(i),i}serialize(){let e=c.SerializationHelper.Serialize(this);if(e.uniqueId=this.uniqueId,e.type=this.getTypeID(),this.parent&&this.parent._serializeAsParent(e),this.excludedMeshes.length>0)for(let t of(e.excludedMeshesIds=[],this.excludedMeshes))e.excludedMeshesIds.push(t.id);if(this.includedOnlyMeshes.length>0)for(let t of(e.includedOnlyMeshesIds=[],this.includedOnlyMeshes))e.includedOnlyMeshesIds.push(t.id);return c.SerializationHelper.AppendSerializedAnimations(this,e),e.ranges=this.serializeAnimationRanges(),e.isEnabled=this.isEnabled(),e}static GetConstructorFromName(e,t,r){let i=n.Node.Construct("Light_Type_"+e,t,r);return i||null}static Parse(e,t){let r=h.GetConstructorFromName(e.type,e.name,t);if(!r)return null;let i=c.SerializationHelper.Parse(r,e,t);if(e.excludedMeshesIds&&(i._excludedMeshesIds=e.excludedMeshesIds),e.includedOnlyMeshesIds&&(i._includedOnlyMeshesIds=e.includedOnlyMeshesIds),void 0!==e.parentId&&(i._waitingParentId=e.parentId),void 0!==e.parentInstanceIndex&&(i._waitingParentInstanceIndex=e.parentInstanceIndex),void 0!==e.falloffType&&(i.falloffType=e.falloffType),void 0!==e.lightmapMode&&(i.lightmapMode=e.lightmapMode),e.animations){for(let t=0;t<e.animations.length;t++){let r=e.animations[t],s=(0,o.GetClass)("BABYLON.Animation");s&&i.animations.push(s.Parse(r))}n.Node.ParseAnimationRanges(i,e,t)}return e.autoAnimate&&t.beginAnimation(i,e.autoAnimateFrom,e.autoAnimateTo,e.autoAnimateLoop,e.autoAnimateSpeed||1),void 0!==e.isEnabled&&i.setEnabled(e.isEnabled),i._onParsed(e,t),i}_onParsed(e,t){}_hookArrayForExcluded(e){let t=e.push;e.push=(...r)=>{let i=t.apply(e,r);if(this._clusteredContainer)return i;for(let e of r)e._resyncLightSource(this);return i};let r=e.splice;if(e.splice=(t,i)=>{let s=r.call(e,t,i??e.length);if(this._clusteredContainer)return s;for(let e of s)e._resyncLightSource(this);return s},!this._clusteredContainer)for(let t of e)t._resyncLightSource(this)}_hookArrayForIncludedOnly(e){let t=e.push;e.push=(...r)=>{let i=t.apply(e,r);return this._resyncMeshes(),i};let r=e.splice;e.splice=(t,i)=>{let s=r.call(e,t,i??e.length);return this._resyncMeshes(),s},this._resyncMeshes()}_resyncMeshes(){if(!this._clusteredContainer)for(let e of this.getScene().meshes)e._resyncLightSource(this)}_markMeshesAsLightDirty(){for(let e of this.getScene().meshes)-1!==e.lightSources.indexOf(this)&&e._markSubMeshesAsLightDirty()}_computePhotometricScale(){this._photometricScale=this._getPhotometricScale(),this.getScene().resetCachedMaterial()}_getPhotometricScale(){let e=0,t=this.getTypeID(),r=this.intensityMode;switch(r===h.INTENSITYMODE_AUTOMATIC&&(r=t===h.LIGHTTYPEID_DIRECTIONALLIGHT?h.INTENSITYMODE_ILLUMINANCE:h.INTENSITYMODE_LUMINOUSINTENSITY),t){case h.LIGHTTYPEID_POINTLIGHT:case h.LIGHTTYPEID_SPOTLIGHT:switch(r){case h.INTENSITYMODE_LUMINOUSPOWER:e=1/(4*Math.PI);break;case h.INTENSITYMODE_LUMINOUSINTENSITY:e=1;break;case h.INTENSITYMODE_LUMINANCE:e=this.radius*this.radius}break;case h.LIGHTTYPEID_DIRECTIONALLIGHT:switch(r){case h.INTENSITYMODE_ILLUMINANCE:e=1;break;case h.INTENSITYMODE_LUMINANCE:{let t=this.radius;e=2*Math.PI*(1-Math.cos(t=Math.max(t,.001)))}}break;case h.LIGHTTYPEID_HEMISPHERICLIGHT:e=1}return e}_reorderLightsInScene(){let e=this.getScene();0!=this._renderPriority&&(e.requireLightSorting=!0),this.getScene().sortLightsByPriority()}areLightTexturesReady(){return!0}_isReady(){return!0}}h.FALLOFF_DEFAULT=l.LightConstants.FALLOFF_DEFAULT,h.FALLOFF_PHYSICAL=l.LightConstants.FALLOFF_PHYSICAL,h.FALLOFF_GLTF=l.LightConstants.FALLOFF_GLTF,h.FALLOFF_STANDARD=l.LightConstants.FALLOFF_STANDARD,h.LIGHTMAP_DEFAULT=l.LightConstants.LIGHTMAP_DEFAULT,h.LIGHTMAP_SPECULAR=l.LightConstants.LIGHTMAP_SPECULAR,h.LIGHTMAP_SHADOWSONLY=l.LightConstants.LIGHTMAP_SHADOWSONLY,h.INTENSITYMODE_AUTOMATIC=l.LightConstants.INTENSITYMODE_AUTOMATIC,h.INTENSITYMODE_LUMINOUSPOWER=l.LightConstants.INTENSITYMODE_LUMINOUSPOWER,h.INTENSITYMODE_LUMINOUSINTENSITY=l.LightConstants.INTENSITYMODE_LUMINOUSINTENSITY,h.INTENSITYMODE_ILLUMINANCE=l.LightConstants.INTENSITYMODE_ILLUMINANCE,h.INTENSITYMODE_LUMINANCE=l.LightConstants.INTENSITYMODE_LUMINANCE,h.LIGHTTYPEID_POINTLIGHT=l.LightConstants.LIGHTTYPEID_POINTLIGHT,h.LIGHTTYPEID_DIRECTIONALLIGHT=l.LightConstants.LIGHTTYPEID_DIRECTIONALLIGHT,h.LIGHTTYPEID_SPOTLIGHT=l.LightConstants.LIGHTTYPEID_SPOTLIGHT,h.LIGHTTYPEID_HEMISPHERICLIGHT=l.LightConstants.LIGHTTYPEID_HEMISPHERICLIGHT,h.LIGHTTYPEID_RECT_AREALIGHT=l.LightConstants.LIGHTTYPEID_RECT_AREALIGHT,(0,t.__decorate)([(0,r.serializeAsColor3)()],h.prototype,"diffuse",void 0),(0,t.__decorate)([(0,r.serializeAsColor3)()],h.prototype,"specular",void 0),(0,t.__decorate)([(0,r.serialize)()],h.prototype,"falloffType",void 0),(0,t.__decorate)([(0,r.serialize)()],h.prototype,"intensity",void 0),(0,t.__decorate)([(0,r.serialize)()],h.prototype,"range",null),(0,t.__decorate)([(0,r.serialize)()],h.prototype,"intensityMode",null),(0,t.__decorate)([(0,r.serialize)()],h.prototype,"radius",null),(0,t.__decorate)([(0,r.serialize)()],h.prototype,"_renderPriority",void 0),(0,t.__decorate)([(0,r.expandToProperty)("_reorderLightsInScene")],h.prototype,"renderPriority",void 0),(0,t.__decorate)([(0,r.serialize)("shadowEnabled")],h.prototype,"_shadowEnabled",void 0),(0,t.__decorate)([(0,r.serialize)("excludeWithLayerMask")],h.prototype,"_excludeWithLayerMask",void 0),(0,t.__decorate)([(0,r.serialize)("includeOnlyWithLayerMask")],h.prototype,"_includeOnlyWithLayerMask",void 0),(0,t.__decorate)([(0,r.serialize)("lightmapMode")],h.prototype,"_lightmapMode",void 0),e.s(["Light",0,h])},7509,21545,e=>{"use strict";var t=e.i(10272),r=e.i(37143),i=e.i(96265),s=e.i(70653),n=e.i(46778),a=e.i(34548),o=e.i(77052);class l extends n.Light{constructor(e,t,r,n){super(e,r,n),this.groundColor=new s.Color3(0,0,0),this.direction=t||i.Vector3.Up()}_buildUniformLayout(){this._uniformBuffer.addUniform("vLightData",4),this._uniformBuffer.addUniform("vLightDiffuse",4),this._uniformBuffer.addUniform("vLightSpecular",4),this._uniformBuffer.addUniform("vLightGround",3),this._uniformBuffer.addUniform("shadowsInfo",3),this._uniformBuffer.addUniform("depthValues",2),this._uniformBuffer.create()}getClassName(){return"HemisphericLight"}setDirectionToTarget(e){return this.direction=i.Vector3.Normalize(e.subtract(i.Vector3.Zero())),this.direction}getShadowGenerator(){return null}transferToEffect(e,t){let r=i.Vector3.Normalize(this.direction);return this._uniformBuffer.updateFloat4("vLightData",r.x,r.y,r.z,0,t),this._uniformBuffer.updateColor3("vLightGround",this.groundColor.scale(this.intensity),t),this}transferToNodeMaterialEffect(e,t){let r=i.Vector3.Normalize(this.direction);return e.setFloat3(t,r.x,r.y,r.z),this}computeWorldMatrix(){return this._worldMatrix||(this._worldMatrix=i.Matrix.Identity()),this._worldMatrix}getTypeID(){return n.Light.LIGHTTYPEID_HEMISPHERICLIGHT}prepareLightSpecificDefines(e,t){e["HEMILIGHT"+t]=!0}}(0,t.__decorate)([(0,r.serializeAsColor3)()],l.prototype,"groundColor",void 0),(0,t.__decorate)([(0,r.serializeAsVector3)()],l.prototype,"direction",void 0);let c=!1;function h(){c||(c=!0,a.Node.AddNodeConstructor("Light_Type_3",(e,t)=>()=>new l(e,i.Vector3.Zero(),t)),(0,o.RegisterClass)("BABYLON.HemisphericLight",l))}e.s(["HemisphericLight",0,l,"RegisterHemisphericLight",0,h],21545),h(),e.s([],7509)},37348,e=>{"use strict";var t=e.i(10272),r=e.i(518),i=e.i(65740),s=e.i(46703),n=e.i(81623),a=e.i(13379),o=e.i(49311),l=e.i(37143);let c=null;async function h(){let t=n.EngineStore.LastCreatedEngine?.createCanvas(100,100)??new OffscreenCanvas(100,100);t instanceof OffscreenCanvas&&a.Logger.Warn("DumpData: OffscreenCanvas will be used for dumping data. This may result in lossy alpha values.");let{ThinEngine:i}=await e.A(33558);if(!i.IsSupported)throw Error("DumpData: No WebGL context available. Cannot dump data.");let s=new i(t,!1,{preserveDrawingBuffer:!0,depth:!1,stencil:!1,alpha:!0,premultipliedAlpha:!1,antialias:!1,failIfMajorPerformanceCaveat:!1});n.EngineStore.Instances.pop(),n.EngineStore.OnEnginesDisposedObservable.add(e=>{s&&e!==s&&!s.isDisposed&&0===n.EngineStore.Instances.length&&_()}),s.getCaps().parallelShaderCompile=void 0;let o=new r.EffectRenderer(s),{passPixelShader:l}=await e.A(21236),c=new r.EffectWrapper({engine:s,name:l.name,fragmentShader:l.shader,samplerNames:["textureSampler"]});return{canvas:t,dumpEngine:{engine:s,renderer:o,wrapper:c}}}async function u(){return c||(c=h()),await c}class g{static async EncodeImageAsync(e,t,r,s,n,a){let o=await u(),l=o.dumpEngine;l.engine.setSize(t,r,!0);let c=l.engine.createRawTexture(e,t,r,5,!1,!n,1);return l.renderer.setViewport(),l.renderer.applyEffectWrapper(l.wrapper),l.wrapper.effect._bindTexture("textureSampler",c),l.renderer.draw(),c.dispose(),await new Promise((e,t)=>{i.Tools.ToBlob(o.canvas,r=>{r?e(r):t(Error("EncodeImageAsync: Failed to convert canvas to blob."))},s,a)})}}(0,t.__decorate)([l.nativeOverride],g,"EncodeImageAsync",null);let d=g.EncodeImageAsync;async function f(e,t,r,i,s="image/png",n,a){let o=new Uint8Array((await r.readPixels(0,0,e,t)).buffer);m(e,t,o,i,s,n,!0,void 0,a)}async function p(e,t,r,n="image/png",l,c=!1,h=!1,u){if(r instanceof Float32Array){let e=new Uint8Array(r.length),t=r.length;for(;t--;){let i=r[t];e[t]=Math.round(255*(0,s.Clamp)(i))}r=e}let d=await g.EncodeImageAsync(r,e,t,n,c,u);void 0!==l&&i.Tools.DownloadBlob(d,l),d.type!==n&&a.Logger.Warn(`DumpData: The requested mimeType '${n}' is not supported. The result has mimeType '${d.type}' instead.`);let f=await d.arrayBuffer();return h?f:`data:${n};base64,${(0,o.EncodeArrayBufferToBase64)(f)}`}function m(e,t,r,i,s="image/png",n,a=!1,o=!1,l){void 0!==n||i||(n=""),p(e,t,r,s,n,a,o,l).then(e=>{i&&i(e)})}function _(){c&&(c?.then(e=>{e.canvas instanceof HTMLCanvasElement&&e.canvas.remove(),e.dumpEngine&&(e.dumpEngine.engine.dispose(),e.dumpEngine.renderer.dispose(),e.dumpEngine.wrapper.dispose())}),c=null)}let y=!1;e.s(["Dispose",0,_,"DumpData",0,m,"DumpDataAsync",0,p,"DumpFramebuffer",0,f,"DumpTools",0,{DumpData:m,DumpDataAsync:p,DumpFramebuffer:f,Dispose:_},"EncodeImageAsync",0,d,"RegisterDumpTools",0,function(){y||(y=!0,i.Tools.DumpData=m,i.Tools.DumpDataAsync=p,i.Tools.DumpFramebuffer=f)}])},99551,e=>{"use strict";var t=e.i(68179),r=e.i(96265),i=e.i(46703),s=e.i(14953),n=e.i(84201),a=e.i(52153),o=(e.i(66749),e.i(66863)),l=e.i(13379),c=e.i(53438),h=e.i(37348),u=e.i(38118);let g="image/png",d=[134,22,135,150,246,214,150,54];function f(e){if(e.version>2)throw Error(`Unsupported babylon environment map version "${e.version}". Latest supported version is "2".`);return 2===e.version?e:e={...e,version:2,imageType:g}}async function p(e,t,r,i,s,n,a,o,l,c,h){return await new Promise((u,g)=>{if(r){let r=t.createTexture(null,!0,!0,null,1,null,e=>{g(e)},e);i?.onEffectCreatedObservable.addOnce(o=>{o.executeWhenCompiled(()=>{i.externalTextureSamplerBinding=!0,i.onApply=i=>{i._bindTexture("textureSampler",r),i.setFloat2("scale",1,t._features.needsInvertingBitmap&&e instanceof ImageBitmap?-1:1)},t.scenes.length&&(t.scenes[0].postProcessManager.directRender([i],c,!0,n,a),t.restoreDefaultFramebuffer(),r.dispose(),URL.revokeObjectURL(s),u())})})}else{if(t._uploadImageToTexture(h,e,n,a),o){let r=l[a];r&&t._uploadImageToTexture(r._texture,e,n,0)}u()}})}async function m(e,t,r=g){let i=e.getEngine();e.format=5,e.type=0,e.generateMipMaps=!0,e._cachedAnisotropicFilteringLevel=null,i.updateTextureSamplingMode(3,e),await y(e,t,!0,r),e.isReady=!0}async function _(e,t,r,i=g,s=null){let o=e.getEngine(),l=new n.InternalTexture(o,5),c=new a.BaseTexture(o,l);e._irradianceTexture=c,c._dominantDirection=s,l.isCube=!0,l.format=5,l.type=0,l.generateMipMaps=!0,l._cachedAnisotropicFilteringLevel=null,l.generateMipMaps=!0,l.width=r,l.height=r,o.updateTextureSamplingMode(3,l),await y(l,[t],!1,i),o.generateMipMapsForCubemap(l),l.isReady=!0}async function y(r,s,l,c=g){if(!(0,t.IsExponentOfTwo)(r.width))throw Error("Texture size must be a power of two");let h=(0,i.ILog2)(r.width)+1,d=r.getEngine(),f=!1,m=!1,_=null,T=null,x=null,I=d.getCaps();I.textureLOD?d._features.supportRenderAndCopyToLodForFloatTextures?I.textureHalfFloatRender&&I.textureHalfFloatLinearFiltering?(f=!0,r.type=2):I.textureFloatRender&&I.textureFloatLinearFiltering&&(f=!0,r.type=1):f=!1:(f=!1,m=l);let P=0;if(f)d.isWebGPU?(P=1,await e.A(35527)):await e.A(19392),_=new o.PostProcess("rgbdDecode","rgbdDecode",null,null,1,null,3,d,!1,void 0,r.type,void 0,null,!1,void 0,P),r._isRGBD=!1,r.invertY=!1,T=d.createRenderTargetCubeTexture(r.width,{generateDepthBuffer:!1,generateMipMaps:!0,generateStencilBuffer:!1,samplingMode:3,type:r.type,format:5});else if(r._isRGBD=!0,r.invertY=!0,m){x={};let e=r._lodGenerationScale,t=r._lodGenerationOffset;for(let i=0;i<3;i++){let s=(h-1)*e+t,o=Math.round(Math.min(Math.max(t+(s-t)*(1-i/2),0),s)),l=new n.InternalTexture(d,2);l.isCube=!0,l.invertY=!0,l.generateMipMaps=!1,d.updateTextureSamplingMode(2,l);let c=new a.BaseTexture(null);switch(c._isCube=!0,c._texture=l,x[o]=c,i){case 0:r._lodTextureLow=c;break;case 1:r._lodTextureMid=c;break;case 2:r._lodTextureHigh=c}}}let b=[];for(let e=0;e<s.length;e++)for(let t=0;t<6;t++){let i,n=s[e][t],a=new Blob([(0,u.GetBlobBufferSource)(n)],{type:c}),o=URL.createObjectURL(a);if(d._features.forceBitmapOverHTMLImageElement)i=d.createImageBitmap(a,{premultiplyAlpha:"none",colorSpaceConversion:"none"}).then(async i=>await p(i,d,f,_,o,t,e,m,x,T,r));else{let s=new Image;s.src=o,i=new Promise((i,n)=>{s.onload=()=>{p(s,d,f,_,o,t,e,m,x,T,r).then(()=>i()).catch(e=>{n(e)})},s.onerror=e=>{n(e)}})}b.push(i)}if(await Promise.all(b),s.length<h){let e,t=Math.pow(2,h-1-s.length),i=t*t*4;switch(r.type){case 0:e=new Uint8Array(i);break;case 2:e=new Uint16Array(i);break;case 1:e=new Float32Array(i)}for(let t=s.length;t<h;t++)for(let i=0;i<6;i++)d._uploadArrayBufferViewToTexture(T?.texture||r,e,i,t)}if(T){let e=r._irradianceTexture;r._irradianceTexture=null,d._releaseTexture(r),T._swapAndDie(r),r._irradianceTexture=e}_&&_.dispose(),m&&(r._lodTextureHigh&&r._lodTextureHigh._texture&&(r._lodTextureHigh._texture.isReady=!0),r._lodTextureMid&&r._lodTextureMid._texture&&(r._lodTextureMid._texture.isReady=!0),r._lodTextureLow&&r._lodTextureLow._texture&&(r._lodTextureLow._texture.isReady=!0))}e.s(["GetEnvInfo",0,function(e){let t,r=new DataView(e.buffer,e.byteOffset,e.byteLength),i=0;for(let e=0;e<d.length;e++)if(r.getUint8(i++)!==d[e])return l.Logger.Error("Not a babylon environment map"),null;let s="";for(;t=r.getUint8(i++);)s+=String.fromCharCode(t);let n=JSON.parse(s);return(n=f(n)).binaryDataPosition=i,n.specular&&(n.specular.lodGenerationScale=n.specular.lodGenerationScale||.8),n},"UploadEnvLevelsAsync",0,function(e,t,i){let s=(i=f(i)).specular;if(!s)return Promise.resolve([]);e._lodGenerationScale=s.lodGenerationScale;let n=[],a=function(e,t){let r=(t=f(t)).specular,i=Math.log2(t.width);if(i=Math.round(i)+1,r.mipmaps.length!==6*i)throw Error(`Unsupported specular mipmaps number "${r.mipmaps.length}"`);let s=Array(i);for(let n=0;n<i;n++){s[n]=Array(6);for(let i=0;i<6;i++){let a=r.mipmaps[6*n+i];s[n][i]=new Uint8Array(e.buffer,e.byteOffset+t.binaryDataPosition+a.position,a.length)}}return s}(t,i);n.push(m(e,a,i.imageType));let o=i.irradiance?.irradianceTexture;if(o){let s=function(e,t){t=f(t);let r=Array(6),i=t.irradiance?.irradianceTexture;if(i){if(6!==i.faces.length)throw Error(`Incorrect irradiance texture faces number "${i.faces.length}"`);for(let s=0;s<6;s++){let n=i.faces[s];r[s]=new Uint8Array(e.buffer,e.byteOffset+t.binaryDataPosition+n.position,n.length)}}return r}(t,i),a=null;i.irradiance?.irradianceTexture?.dominantDirection&&(a=r.Vector3.FromArray(i.irradiance.irradianceTexture.dominantDirection)),n.push(_(e,s,o.size,i.imageType,a))}return Promise.all(n)},"UploadEnvSpherical",0,function(e,t){let i=(t=f(t)).irradiance;if(!i)return;let n=new s.SphericalPolynomial;r.Vector3.FromArrayToRef(i.x,0,n.x),r.Vector3.FromArrayToRef(i.y,0,n.y),r.Vector3.FromArrayToRef(i.z,0,n.z),r.Vector3.FromArrayToRef(i.xx,0,n.xx),r.Vector3.FromArrayToRef(i.yy,0,n.yy),r.Vector3.FromArrayToRef(i.zz,0,n.zz),r.Vector3.FromArrayToRef(i.yz,0,n.yz),r.Vector3.FromArrayToRef(i.zx,0,n.zx),r.Vector3.FromArrayToRef(i.xy,0,n.xy),e._sphericalPolynomial=n},"_UpdateRGBDAsync",0,function(e,t,r,i,s){let n=m(e.getEngine().createRawCubeTexture(null,e.width,e.format,e.type,e.generateMipMaps,e.invertY,e.samplingMode,e._compression),t).then(()=>e);return e.onRebuildCallback=e=>({proxy:n,isReady:!0,isAsync:!0}),e._source=13,e._bufferViewArrayArray=t,e._lodGenerationScale=i,e._lodGenerationOffset=s,e._sphericalPolynomial=r,m(e,t).then(()=>(e.isReady=!0,e))}])},19114,e=>{"use strict";var t,r,i=e.i(65740),s=e.i(99267),n=e.i(66749),a=e.i(81623),o=e.i(13379),l=e.i(45334),c=e.i(46712),h=e.i(92605),u=e.i(84768),g=e.i(76535),d=e.i(65295);async function f(e,t){let r=t.method||"GET";return await new Promise((i,s)=>{let n=new d.WebRequest;n.addEventListener("readystatechange",()=>{if(4==n.readyState)if(200==n.status){let e={};if(t.responseHeaders)for(let r of t.responseHeaders)e[r]=n.getResponseHeader(r)||"";i({response:n.response,headerValues:e})}else s(`Unable to fetch data from ${e}. Error code: ${n.status}`)}),n.open(r,e),n.send()})}(t=r||(r={}))[t.Clean=0]="Clean",t[t.Stop=1]="Stop",t[t.Sync=2]="Sync",t[t.NoSync=3]="NoSync";let p=new s.Observable,m={},_=!1;function y(){return m[".babylon"]}function T(e,t){let r=m[e];return r||(o.Logger.Warn("Unable to find a plugin to load "+e+" files. Trying to use .babylon default plugin. To load from a specific filetype (eg. gltf) see: https://doc.babylonjs.com/features/featuresDeepDive/importers/loadingFileTypes"),t?y():void 0)}function x(e,t,r){let i,s=(i="Unable to load from "+(e.rawData?"binary data":e.url),t?i+=`: ${t}`:r&&(i+=`: ${r}`),i);return new h.RuntimeError(s,h.ErrorCodes.SceneLoaderError,r)}function I(e){return e instanceof Error?e.message:String(e)}function P(e,t){return t instanceof h.RuntimeError&&t.errorCode===h.ErrorCodes.SceneLoaderError?t:x(e,I(t),t)}function b(e,t){if(!(e.importMesh||e.load||e.loadAssetContainer))return e;let r=e=>{let r,i=e((e,t)=>{r={message:e,exception:t}});if(!i)throw x(t,r?.message,r?.exception);return i};return{name:e.name,extensions:e.extensions,importMeshAsync:async(t,i,s,n)=>{let a=[],o=[],l=[];return r(r=>e.importMesh(t,i,s,n,a,o,l,r)),{meshes:a,particleSystems:o,skeletons:l,animationGroups:[],transformNodes:[],geometries:[],lights:[],spriteManagers:[]}},loadAsync:async(t,i,s)=>{r(r=>e.load(t,i,s,r))},loadAssetContainerAsync:async(t,i,s)=>r(r=>e.loadAssetContainer(t,i,s,r))}}function S(e,t,r){let i=I(r);e&&t?e(t,i,r):o.Logger.Error(i)}function v(e){if(e)return t=>{try{e(t)}catch(e){o.Logger.Warn("Error in onProgress callback: "+I(e))}}}async function M(e,t,r,i,s,n){var a,o;let l,h,u,d="data:"===(a=e.url).substring(0,5)?a.substring(5):null;if(e.rawData&&!i)throw Error("When using ArrayBufferView to load data the file extension must be provided.");let _=d||i?"":(-1!==(h=(o=e.url).indexOf("?"))&&(o=o.substring(0,h)),u=o.lastIndexOf("."),o.substring(u,o.length).toLowerCase()),I=i?T(i,!0):d?function(e){for(let t in m){let r=m[t].plugin;if(r.canDirectLoad&&r.canDirectLoad(e))return m[t]}return y()}(e.url):T(_,!1);if(!I&&_){if(e.url&&!e.url.startsWith("blob:")){let t=await f(e.url,{method:"HEAD",responseHeaders:["Content-Type"]}),r=t.headerValues?t.headerValues["Content-Type"]:"";r&&(I=function(e){for(let t in m){let r=m[t];if(r.mimeType===e)return r}}(r))}I||(I=y())}if(!I)throw Error(`No plugin or fallback for ${i??e.url}`);if(n?.[I.plugin.name]?.enabled===!1)throw Error(`The '${I.plugin.name}' plugin is disabled via the loader options passed to the loading operation.`);if(e.rawData&&!I.isBinary)throw Error("Loading from ArrayBufferView can not be used with plugins that don't support binary loading.");if(I.plugin.createPlugin){let t=I.plugin;try{let e=t.createPlugin(n??{});l=e instanceof Promise?await e:e}catch(t){throw x(e,"Error instantiating plugin.",t)}}else l=I.plugin;if(!l)throw Error(`The loader plugin corresponding to the '${i}' file type has not been found. If using es6, please import the plugin you wish to use before.`);if(p.notifyObservers(l),d&&(l.canDirectLoad&&l.canDirectLoad(e.url)||!(0,c.IsBase64DataUrl)(e.url))){if(l.directLoad){let r;try{r=await l.directLoad(t,d)}catch(t){throw x(e,"Error in directLoad of _loadData: "+t,t)}return{plugin:l,data:r}}return{plugin:l,data:d}}let P=I.isBinary;return await new Promise((i,n)=>{let a=null,o=!1,c=l.onDisposeObservable?.add(()=>{o=!0,a&&(a.abort(),a=null),u(x(e,"Loading was aborted because the plugin was disposed."))}),h=()=>{c&&l.onDisposeObservable?.remove(c)},u=e=>{h(),n(e)},d=(r,s)=>{var n;t.isDisposed?u(x(e,"Scene has been disposed")):(n={plugin:l,data:r,responseURL:s},h(),i(n))},f=()=>{if(o)return;let i=(t,r)=>{u(x(e,t?.statusText,r))};if(!l.loadFile&&e.rawData)return void u(x(e,"Plugin does not support loading ArrayBufferView."));try{a=l.loadFile?l.loadFile(t,e.rawData||e.file||e.url,e.rootUrl,d,r,P,i,s):t._loadFile(e.file||e.url,d,r,!0,P,i)}catch(t){u(x(e,void 0,t))}},p=t.getEngine(),m=!e.file&&!e.rawData&&p.enableOfflineSupport;if(m){let r=!1;for(let i of t.disableOfflineSupportExceptionRules)if(i.test(e.url)){r=!0;break}m=!r}if(m&&g.AbstractEngine.OfflineProviderFactory)try{t.offlineProvider=g.AbstractEngine.OfflineProviderFactory(e.url,f,p.disableManifestCheck)}catch(t){u(x(e,void 0,t))}else f()})}function D(e,t){let r,s,n=null,a=null;if(t)if(t.name)r=`file:${t.name}`,s=t.name,n=t;else if(ArrayBuffer.isView(t))r="",s=(0,u.RandomGUID)(),a=t;else if(t.startsWith("data:"))r=t,s="";else if(e){if("/"===t.substring(0,1))return i.Tools.Error("Wrong sceneFilename parameter"),null;r=e+t,s=t}else r=t,s=i.Tools.GetFilename(t),e=i.Tools.GetFolderPath(t);else r=e,s=i.Tools.GetFilename(e),e=i.Tools.GetFolderPath(e);return{url:r,rootUrl:e,name:s,file:n,rawData:a}}function L(e){if("string"==typeof e.extensions)m[e.extensions.toLowerCase()]={plugin:e,isBinary:!1};else{let t=e.extensions;for(let r of Object.keys(t))m[r.toLowerCase()]={plugin:e,isBinary:t[r].isBinary,mimeType:t[r].mimeType}}}async function E(e,t,r="",i=a.EngineStore.LastCreatedScene,s,n,o="",l={}){if(!i)throw Error("No scene available to import mesh to");let c=D(t,r);if(!c)throw Error("Cannot load file: a valid scene filename or root url was not provided.");let h={};i.addPendingData(h);let u=v(s);try{let t,{plugin:r,data:s,responseURL:a}=await M(c,i,u,n??null,o,l);r.rewriteRootURL&&(c.rootUrl=r.rewriteRootURL(c.rootUrl,a));try{t=await b(r,c).importMeshAsync(e,i,s,c.rootUrl,u,c.name)}catch(e){throw P(c,e)}return i.loadingPluginName=r.name,i.importedMeshesFiles.push(c.url),t}finally{i.removePendingData(h)}}async function A(e,t="",r=a.EngineStore.LastCreatedEngine,i,s,o="",l={}){if(!r)throw Error("No engine available");let c=new n.Scene(r);try{await C(e,t,c,i,s,o,l)}catch(e){throw c.dispose(),e}return c}async function C(e,t="",r=a.EngineStore.LastCreatedScene,i,s,n="",o={}){if(!r)throw Error("No scene available to append to");let c=D(e,t);if(!c)throw Error("Cannot load file: a valid scene filename or root url was not provided.");let h={};r.addPendingData(h),l.SceneLoaderFlags.ShowLoadingScreen&&!_&&(_=!0,r.getEngine().displayLoadingUI(),r.executeWhenReady(()=>{r.getEngine().hideLoadingUI(),_=!1}));let u=v(i);try{let{plugin:e,data:t}=await M(c,r,u,s??null,n,o);try{await b(e,c).loadAsync(r,t,c.rootUrl,u,c.name)}catch(e){throw P(c,e)}return r.loadingPluginName=e.name,r}finally{r.removePendingData(h)}}async function w(e,t="",r=a.EngineStore.LastCreatedScene,i,s,n="",o={}){if(!r)throw Error("No scene available to load asset container to");let l=D(e,t);if(!l)throw Error("Cannot load file: a valid scene filename or root url was not provided.");let c={};r.addPendingData(c);let h=v(i);try{let e,{plugin:t,data:i}=await M(l,r,h,s??null,n,o),a=b(t,l);if(!a.loadAssetContainerAsync)throw x(l,"LoadAssetContainer is not supported by this plugin. Plugin did not provide a loadAssetContainer or loadAssetContainerAsync method.");try{e=await a.loadAssetContainerAsync(r,i,l.rootUrl,h,l.name)}catch(e){throw P(l,e)}return e.populateRootNodes(),r.loadingPluginName=t.name,e}finally{r.removePendingData(c)}}async function R(e,t,r){let{rootUrl:i="",onProgress:s,pluginExtension:n,name:a,pluginOptions:o}=r??{};return await w(i,e,t,s,n,a,o)}async function V(e,t="",r=a.EngineStore.LastCreatedScene,i=!0,s=0,n=null,o,l,c="",h={}){if(!r)throw Error("No scene available to load animations to");if(i){for(let e of r.animatables)e.reset();for(let e of(r.stopAllAnimations(),r.animationGroups.slice()))e.dispose();for(let e of r.getNodes())e.animations&&(e.animations=[])}else switch(s){case 0:for(let e of r.animationGroups.slice())e.dispose();break;case 1:for(let e of r.animationGroups)e.stop();break;case 2:for(let e of r.animationGroups)e.reset(),e.restart();break;case 3:break;default:throw Error("Unknown animation group loading mode value '"+s+"'")}let u=r.animatables.length,g=await w(e,t,r,o,l,c,h);g.mergeAnimationsTo(r,r.animatables.slice(u),n),g.dispose(),r.onAnimationFileImportedObservable.notifyObservers(r)}class N{static get ForceFullSceneLoadingForIncremental(){return l.SceneLoaderFlags.ForceFullSceneLoadingForIncremental}static set ForceFullSceneLoadingForIncremental(e){l.SceneLoaderFlags.ForceFullSceneLoadingForIncremental=e}static get ShowLoadingScreen(){return l.SceneLoaderFlags.ShowLoadingScreen}static set ShowLoadingScreen(e){l.SceneLoaderFlags.ShowLoadingScreen=e}static get loggingLevel(){return l.SceneLoaderFlags.loggingLevel}static set loggingLevel(e){l.SceneLoaderFlags.loggingLevel=e}static get CleanBoneMatrixWeights(){return l.SceneLoaderFlags.CleanBoneMatrixWeights}static set CleanBoneMatrixWeights(e){l.SceneLoaderFlags.CleanBoneMatrixWeights=e}static GetDefaultPlugin(){return y()}static GetPluginForExtension(e){return T(e,!0)?.plugin}static IsPluginForExtensionAvailable(e){return!!m[e]}static RegisterPlugin(e){L(e)}static ImportMesh(e,t,r,i,s,n,o,l,c,h){let u=i??a.EngineStore.LastCreatedScene;(async()=>{try{let a=await E(e,t,r,i,n,l,c,h);s?.(a.meshes,a.particleSystems,a.skeletons,a.animationGroups,a.transformNodes,a.geometries,a.lights,a.spriteManagers)}catch(e){S(o,u,e)}})()}static async ImportMeshAsync(e,t,r,i,s,n,a){return await E(e,t,r,i,s,n,a)}static Load(e,t,r,i,s,n,o,l){(async()=>{try{let n=await A(e,t,r,s,o,l);i?.(n)}catch(e){S(n,a.EngineStore.LastCreatedScene,e)}})()}static async LoadAsync(e,t,r,i,s,n){return await A(e,t,r,i,s,n)}static Append(e,t,r,i,s,n,o,l){let c=r??a.EngineStore.LastCreatedScene;(async()=>{try{let n=await C(e,t,r,s,o,l);i?.(n)}catch(e){S(n,c,e)}})()}static async AppendAsync(e,t,r,i,s,n){return await C(e,t,r,i,s,n)}static LoadAssetContainer(e,t,r,i,s,n,o,l){let c=r??a.EngineStore.LastCreatedScene;(async()=>{try{let n=await w(e,t,r,s,o,l);i?.(n)}catch(e){S(n,c,e)}})()}static async LoadAssetContainerAsync(e,t,r,i,s,n){return await w(e,t,r,i,s,n)}static ImportAnimations(e,t,r,i,s,n,o,l,c,h,u){let g=r??a.EngineStore.LastCreatedScene;(async()=>{try{await V(e,t,r,i,s,n,l,h,u),o?.(g)}catch(e){S(c,g,e)}})()}static async ImportAnimationsAsync(e,t,r,i,s,n,o,l,c,h,u){let g=r??a.EngineStore.LastCreatedScene;return await V(e,t,g,i,s,n,l,h,u),g}}N.NO_LOGGING=0,N.MINIMAL_LOGGING=1,N.SUMMARY_LOGGING=2,N.DETAILED_LOGGING=3,N.OnPluginActivatedObservable=p,e.s(["LoadAssetContainerAsync",0,R,"RegisterSceneLoaderPlugin",0,L],19114)},65785,54964,71732,9922,72675,36787,e=>{"use strict";var t=e.i(976);(0,t.RegisterAnimation)(),e.s([],54964),e.i(42586);var r=e.i(96265),i=e.i(10038);e.i(11307);var s=e.i(70653),n=e.i(10272),a=e.i(37143),o=e.i(46778),l=o,c=e.i(70247);class h extends l.Light{constructor(){super(...arguments),this._needProjectionMatrixCompute=!0,this._viewMatrix=r.Matrix.Identity(),this._projectionMatrix=r.Matrix.Identity()}_setPosition(e){this._position=e}get position(){return this._position}set position(e){this._setPosition(e)}_setDirection(e){this._direction=e}get direction(){return this._direction}set direction(e){this._setDirection(e)}get shadowMinZ(){return this._shadowMinZ}set shadowMinZ(e){this._shadowMinZ=e,this.forceProjectionMatrixCompute()}get shadowMaxZ(){return this._shadowMaxZ}set shadowMaxZ(e){this._shadowMaxZ=e,this.forceProjectionMatrixCompute()}computeTransformedInformation(){return!!this.parent&&!!this.parent.getWorldMatrix&&(this.transformedPosition||(this.transformedPosition=r.Vector3.Zero()),r.Vector3.TransformCoordinatesToRef(this.position,this.parent.getWorldMatrix(),this.transformedPosition),this.direction&&(this.transformedDirection||(this.transformedDirection=r.Vector3.Zero()),r.Vector3.TransformNormalToRef(this.direction,this.parent.getWorldMatrix(),this.transformedDirection)),!0)}getDepthScale(){return 50}getShadowDirection(e){return this.transformedDirection?this.transformedDirection:this.direction}getAbsolutePosition(){return this.transformedPosition?this.transformedPosition:this.position}setDirectionToTarget(e){return this.direction=r.Vector3.Normalize(e.subtract(this.position)),this.direction}getRotation(){this.direction.normalize();let e=r.Vector3.Cross(this.direction,c.Axis.Y),t=r.Vector3.Cross(e,this.direction);return r.Vector3.RotationFromAxis(e,t,this.direction)}needCube(){return!1}needProjectionMatrixCompute(){return this._needProjectionMatrixCompute}forceProjectionMatrixCompute(){this._needProjectionMatrixCompute=!0}_initCache(){super._initCache(),this._cache.position=r.Vector3.Zero()}_isSynchronized(){return!!this._cache.position.equals(this.position)}computeWorldMatrix(e){return!e&&this.isSynchronized()?this._currentRenderId=this.getScene().getRenderId():(this._updateCache(),this._cache.position.copyFrom(this.position),this._worldMatrix||(this._worldMatrix=r.Matrix.Identity()),r.Matrix.TranslationToRef(this.position.x,this.position.y,this.position.z,this._worldMatrix),this.parent&&this.parent.getWorldMatrix&&(this._worldMatrix.multiplyToRef(this.parent.getWorldMatrix(),this._worldMatrix),this._markSyncedWithParent()),this._worldMatrixDeterminantIsDirty=!0),this._worldMatrix}getDepthMinZ(e){return void 0!==this.shadowMinZ?this.shadowMinZ:e?.minZ||0}getDepthMaxZ(e){return void 0!==this.shadowMaxZ?this.shadowMaxZ:e?.maxZ||1e4}setShadowProjectionMatrix(e,t,r){return this.customProjectionMatrixBuilder?this.customProjectionMatrixBuilder(t,r,e):this._setDefaultShadowProjectionMatrix(e,t,r),this}_syncParentEnabledState(){super._syncParentEnabledState(),this.parent&&this.parent.getWorldMatrix||(this.transformedPosition=null,this.transformedDirection=null)}getViewMatrix(e){let t=r.TmpVectors.Vector3[0],i=this.position;this.computeTransformedInformation()&&(i=this.transformedPosition),r.Vector3.NormalizeToRef(this.getShadowDirection(e),t),1===Math.abs(r.Vector3.Dot(t,r.Vector3.Up()))&&(t.z=1e-13);let s=r.TmpVectors.Vector3[1];return i.addToRef(t,s),r.Matrix.LookAtLHToRef(i,s,r.Vector3.Up(),this._viewMatrix),this._viewMatrix}getProjectionMatrix(e,t){return this.setShadowProjectionMatrix(this._projectionMatrix,e??this._viewMatrix,t??[]),this._projectionMatrix}}(0,n.__decorate)([(0,a.serializeAsVector3)()],h.prototype,"position",null),(0,n.__decorate)([(0,a.serializeAsVector3)()],h.prototype,"direction",null),(0,n.__decorate)([(0,a.serialize)()],h.prototype,"shadowMinZ",null),(0,n.__decorate)([(0,a.serialize)()],h.prototype,"shadowMaxZ",null),e.s(["ShadowLight",0,h],71732);var u=e.i(58720),g=e.i(34548),d=e.i(77052);class f extends h{get iesProfileTexture(){return this._iesProfileTexture}set iesProfileTexture(e){this._iesProfileTexture!==e&&(this._iesProfileTexture=e,this._iesProfileTexture&&f._IsTexture(this._iesProfileTexture)&&this._iesProfileTexture.onLoadObservable.addOnce(()=>{this._markMeshesAsLightDirty()}))}get angle(){return this._angle}set angle(e){this._angle=e,this._cosHalfAngle=Math.cos(.5*e),this._projectionTextureProjectionLightDirty=!0,this.forceProjectionMatrixCompute(),this._computeAngleValues()}get innerAngle(){return this._innerAngle}set innerAngle(e){this._innerAngle=e,this._computeAngleValues()}get shadowAngleScale(){return this._shadowAngleScale}set shadowAngleScale(e){this._shadowAngleScale=e,this.forceProjectionMatrixCompute()}get projectionTextureMatrix(){return this._projectionTextureMatrix}get projectionTextureLightNear(){return this._projectionTextureLightNear}set projectionTextureLightNear(e){this._projectionTextureLightNear=e,this._projectionTextureProjectionLightDirty=!0}get projectionTextureLightFar(){return this._projectionTextureLightFar}set projectionTextureLightFar(e){this._projectionTextureLightFar=e,this._projectionTextureProjectionLightDirty=!0}get projectionTextureUpDirection(){return this._projectionTextureUpDirection}set projectionTextureUpDirection(e){this._projectionTextureUpDirection=e,this._projectionTextureProjectionLightDirty=!0}get projectionTexture(){return this._projectionTexture}set projectionTexture(e){this._projectionTexture!==e&&(this._projectionTexture=e,this._projectionTextureDirty=!0,this._projectionTexture&&!this._projectionTexture.isReady()&&(f._IsProceduralTexture(this._projectionTexture)?this._projectionTexture.getEffect().executeWhenCompiled(()=>{this._markMeshesAsLightDirty()}):f._IsTexture(this._projectionTexture)&&this._projectionTexture.onLoadObservable.addOnce(()=>{this._markMeshesAsLightDirty()})))}static _IsProceduralTexture(e){return void 0!==e.onGeneratedObservable}static _IsTexture(e){return void 0!==e.onLoadObservable}get projectionTextureProjectionLightMatrix(){return this._projectionTextureProjectionLightMatrix}set projectionTextureProjectionLightMatrix(e){this._projectionTextureProjectionLightMatrix=e,this._projectionTextureProjectionLightDirty=!1,this._projectionTextureDirty=!0}constructor(e,t,i,s,n,a,o){super(e,a,o),this._innerAngle=0,this._iesProfileTexture=null,this._projectionTextureMatrix=r.Matrix.Zero(),this._projectionTextureLightNear=1e-6,this._projectionTextureLightFar=1e3,this._projectionTextureUpDirection=r.Vector3.Up(),this._projectionTextureViewLightDirty=!0,this._projectionTextureProjectionLightDirty=!0,this._projectionTextureDirty=!0,this._projectionTextureViewTargetVector=r.Vector3.Zero(),this._projectionTextureViewLightMatrix=r.Matrix.Zero(),this._projectionTextureProjectionLightMatrix=r.Matrix.Zero(),this._projectionTextureScalingMatrix=r.Matrix.FromValues(.5,0,0,0,0,.5,0,0,0,0,.5,0,.5,.5,.5,1),this.position=t,this.direction=i,this.angle=s,this.exponent=n}getClassName(){return"SpotLight"}getTypeID(){return o.Light.LIGHTTYPEID_SPOTLIGHT}_setDirection(e){super._setDirection(e),this._projectionTextureViewLightDirty=!0}_setPosition(e){super._setPosition(e),this._projectionTextureViewLightDirty=!0}_setDefaultShadowProjectionMatrix(e,t,i){let s=this.getScene().activeCamera;if(!s)return;this._shadowAngleScale=this._shadowAngleScale||1;let n=this._shadowAngleScale*this._angle,a=void 0!==this.shadowMinZ?this.shadowMinZ:s.minZ,o=void 0!==this.shadowMaxZ?this.shadowMaxZ:s.maxZ,l=this.getScene().getEngine().useReverseDepthBuffer;r.Matrix.PerspectiveFovLHToRef(n,1,l?o:a,l?a:o,e,!0,this._scene.getEngine().isNDCHalfZRange,void 0,l)}_computeProjectionTextureViewLightMatrix(){this._projectionTextureViewLightDirty=!1,this._projectionTextureDirty=!0,this.getAbsolutePosition().addToRef(this.getShadowDirection(),this._projectionTextureViewTargetVector),r.Matrix.LookAtLHToRef(this.getAbsolutePosition(),this._projectionTextureViewTargetVector,this._projectionTextureUpDirection,this._projectionTextureViewLightMatrix)}_computeProjectionTextureProjectionLightMatrix(){this._projectionTextureProjectionLightDirty=!1,this._projectionTextureDirty=!0;let e=this.projectionTextureLightFar,t=this.projectionTextureLightNear,i=e/(e-t),s=1/Math.tan(this._angle/2);r.Matrix.FromValuesToRef(s/1,0,0,0,0,s,0,0,0,0,i,1,0,0,-i*t,0,this._projectionTextureProjectionLightMatrix)}_computeProjectionTextureMatrix(){if(this._projectionTextureDirty=!1,this._projectionTextureViewLightMatrix.multiplyToRef(this._projectionTextureProjectionLightMatrix,this._projectionTextureMatrix),this._projectionTexture instanceof u.Texture){let e=this._projectionTexture.uScale/2,t=this._projectionTexture.vScale/2;r.Matrix.FromValuesToRef(e,0,0,0,0,t,0,0,0,0,.5,0,.5,.5,.5,1,this._projectionTextureScalingMatrix)}this._projectionTextureMatrix.multiplyToRef(this._projectionTextureScalingMatrix,this._projectionTextureMatrix)}_buildUniformLayout(){this._uniformBuffer.addUniform("vLightData",4),this._uniformBuffer.addUniform("vLightDiffuse",4),this._uniformBuffer.addUniform("vLightSpecular",4),this._uniformBuffer.addUniform("vLightDirection",3),this._uniformBuffer.addUniform("vLightFalloff",4),this._uniformBuffer.addUniform("shadowsInfo",3),this._uniformBuffer.addUniform("depthValues",2),this._uniformBuffer.create()}_computeAngleValues(){this._lightAngleScale=1/Math.max(.001,Math.cos(.5*this._innerAngle)-this._cosHalfAngle),this._lightAngleOffset=-this._cosHalfAngle*this._lightAngleScale}transferTexturesToEffect(e,t){return this.projectionTexture&&this.projectionTexture.isReady()&&(this._projectionTextureViewLightDirty&&this._computeProjectionTextureViewLightMatrix(),this._projectionTextureProjectionLightDirty&&this._computeProjectionTextureProjectionLightMatrix(),this._projectionTextureDirty&&this._computeProjectionTextureMatrix(),e.setMatrix("textureProjectionMatrix"+t,this._projectionTextureMatrix),e.setTexture("projectionLightTexture"+t,this.projectionTexture)),this._iesProfileTexture&&this._iesProfileTexture.isReady()&&e.setTexture("iesLightTexture"+t,this._iesProfileTexture),this}transferToEffect(e,t){let i,s=this._scene.floatingOriginOffset;return this.computeTransformedInformation()?(this._uniformBuffer.updateFloat4("vLightData",this.transformedPosition.x-s.x,this.transformedPosition.y-s.y,this.transformedPosition.z-s.z,this.exponent,t),i=r.Vector3.Normalize(this.transformedDirection)):(this._uniformBuffer.updateFloat4("vLightData",this.position.x-s.x,this.position.y-s.y,this.position.z-s.z,this.exponent,t),i=r.Vector3.Normalize(this.direction)),this._uniformBuffer.updateFloat4("vLightDirection",i.x,i.y,i.z,this._cosHalfAngle,t),this._uniformBuffer.updateFloat4("vLightFalloff",this.range,this._inverseSquaredRange,this._lightAngleScale,this._lightAngleOffset,t),this}transferToNodeMaterialEffect(e,t){let i;return i=this.computeTransformedInformation()?r.Vector3.Normalize(this.transformedDirection):r.Vector3.Normalize(this.direction),this.getScene().useRightHandedSystem?e.setFloat3(t,-i.x,-i.y,-i.z):e.setFloat3(t,i.x,i.y,i.z),this}dispose(){super.dispose(),this._projectionTexture&&this._projectionTexture.dispose(),this._iesProfileTexture&&(this._iesProfileTexture.dispose(),this._iesProfileTexture=null)}getDepthMinZ(e){let t=this._scene.getEngine(),r=void 0!==this.shadowMinZ?this.shadowMinZ:e?.minZ??0;return t.useReverseDepthBuffer&&t.isNDCHalfZRange?r:this._scene.getEngine().isNDCHalfZRange?0:r}getDepthMaxZ(e){let t=this._scene.getEngine(),r=void 0!==this.shadowMaxZ?this.shadowMaxZ:e?.maxZ??1e4;return t.useReverseDepthBuffer&&t.isNDCHalfZRange?0:r}areLightTexturesReady(){return(!this._projectionTexture||!!this._projectionTexture.isReadyOrNotBlocking())&&(!this._iesProfileTexture||!!this._iesProfileTexture.isReadyOrNotBlocking())}prepareLightSpecificDefines(e,t){e["SPOTLIGHT"+t]=!0,e["PROJECTEDLIGHTTEXTURE"+t]=!!(this.projectionTexture&&this.projectionTexture.isReady()),e["IESLIGHTTEXTURE"+t]=!!(this._iesProfileTexture&&this._iesProfileTexture.isReady())}}(0,n.__decorate)([(0,a.serialize)()],f.prototype,"angle",null),(0,n.__decorate)([(0,a.serialize)()],f.prototype,"innerAngle",null),(0,n.__decorate)([(0,a.serialize)()],f.prototype,"shadowAngleScale",null),(0,n.__decorate)([(0,a.serialize)()],f.prototype,"exponent",void 0),(0,n.__decorate)([(0,a.serialize)()],f.prototype,"projectionTextureLightNear",null),(0,n.__decorate)([(0,a.serialize)()],f.prototype,"projectionTextureLightFar",null),(0,n.__decorate)([(0,a.serialize)()],f.prototype,"projectionTextureUpDirection",null),(0,n.__decorate)([(0,a.serializeAsTexture)("projectedLightTexture")],f.prototype,"_projectionTexture",void 0);let p=!1;function m(){p||(p=!0,g.Node.AddNodeConstructor("Light_Type_2",(e,t)=>()=>new f(e,r.Vector3.Zero(),r.Vector3.Zero(),0,0,t)),(0,d.RegisterClass)("BABYLON.SpotLight",f))}e.s(["RegisterSpotLight",0,m,"SpotLight",0,f],9922),m(),e.s([],72675);let _=[{regex:RegExp("^/nodes/\\d+/extensions/")}];class y{constructor(e,t){this._gltf=e,this._infoTree=t}convert(e){let t,r=this._gltf,i=this._infoTree;if(!e.startsWith("/"))throw Error("Path must start with a /");let s=e.split("/");if(s.shift(),s[s.length-1].includes(".length")){let e=s[s.length-1].split(".");s.pop(),s.push(...e)}let n=!1;for(let a of s){let s="length"===a;if(s&&!i.__array__)throw Error(`Path ${e} is invalid`);if(i.__ignoreObjectTree__&&(n=!0),i.__array__&&!s)i=i.__array__;else if(!(i=i[a]))throw Error(`Path ${e} is invalid`);if(!n)if(void 0===r){if(!_.find(t=>t.regex.test(e)))throw Error(`Path ${e} is invalid`)}else s||(r=r?.[a]);(i.__target__||s)&&(t=r)}return{object:t,info:i}}}function T(e,t,r,i){let s=x(e,t);return i?s[r][i]:s[r]}function x(e,t,r){return e._data?.[r?.fillMode??i.Constants.MATERIAL_TriangleFillMode]?.babylonMaterial}function I(e,t){return{offset:{componentsCount:2,type:"Vector2",get:(i,s,n)=>{let a=T(i,n,e,t);return new r.Vector2(a?.uOffset,a?.vOffset)},getTarget:x,set:(r,i,s,n)=>{let a=T(i,n,e,t);a.uOffset=r.x,a.vOffset=r.y},getPropertyName:[()=>`${e}${t?"."+t:""}.uOffset`,()=>`${e}${t?"."+t:""}.vOffset`]},rotation:{type:"number",get:(r,i,s)=>T(r,s,e,t)?.wAng,getTarget:x,set:(r,i,s,n)=>T(i,n,e,t).wAng=r,getPropertyName:[()=>`${e}${t?"."+t:""}.wAng`]},scale:{componentsCount:2,type:"Vector2",get:(i,s,n)=>{let a=T(i,n,e,t);return new r.Vector2(a?.uScale,a?.vScale)},getTarget:x,set:(r,i,s,n)=>{let a=T(i,n,e,t);a.uScale=r.x,a.vScale=r.y},getPropertyName:[()=>`${e}${t?"."+t:""}.uScale`,()=>`${e}${t?"."+t:""}.vScale`]}}}let P={cameras:{__array__:{__target__:!0,orthographic:{xmag:{componentsCount:2,type:"Vector2",get:e=>new r.Vector2(e._babylonCamera?.orthoLeft??0,e._babylonCamera?.orthoRight??0),set:(e,t)=>{t._babylonCamera&&(t._babylonCamera.orthoLeft=e.x,t._babylonCamera.orthoRight=e.y)},getTarget:e=>e,getPropertyName:[()=>"orthoLeft",()=>"orthoRight"]},ymag:{componentsCount:2,type:"Vector2",get:e=>new r.Vector2(e._babylonCamera?.orthoBottom??0,e._babylonCamera?.orthoTop??0),set:(e,t)=>{t._babylonCamera&&(t._babylonCamera.orthoBottom=e.x,t._babylonCamera.orthoTop=e.y)},getTarget:e=>e,getPropertyName:[()=>"orthoBottom",()=>"orthoTop"]},zfar:{type:"number",get:e=>e._babylonCamera?.maxZ,set:(e,t)=>{t._babylonCamera&&(t._babylonCamera.maxZ=e)},getTarget:e=>e,getPropertyName:[()=>"maxZ"]},znear:{type:"number",get:e=>e._babylonCamera?.minZ,set:(e,t)=>{t._babylonCamera&&(t._babylonCamera.minZ=e)},getTarget:e=>e,getPropertyName:[()=>"minZ"]}},perspective:{aspectRatio:{type:"number",get:e=>e._babylonCamera?.getEngine().getAspectRatio(e._babylonCamera),getTarget:e=>e,getPropertyName:[()=>"aspectRatio"],isReadOnly:!0},yfov:{type:"number",get:e=>e._babylonCamera?.fov,set:(e,t)=>{t._babylonCamera&&(t._babylonCamera.fov=e)},getTarget:e=>e,getPropertyName:[()=>"fov"]},zfar:{type:"number",get:e=>e._babylonCamera?.maxZ,set:(e,t)=>{t._babylonCamera&&(t._babylonCamera.maxZ=e)},getTarget:e=>e,getPropertyName:[()=>"maxZ"]},znear:{type:"number",get:e=>e._babylonCamera?.minZ,set:(e,t)=>{t._babylonCamera&&(t._babylonCamera.minZ=e)},getTarget:e=>e,getPropertyName:[()=>"minZ"]}}}},nodes:{length:{type:"number",get:e=>e.length,getTarget:e=>e.map(e=>e._babylonTransformNode),getPropertyName:[()=>"length"]},__array__:{__target__:!0,translation:{type:"Vector3",get:e=>e._babylonTransformNode?.position,set:(e,t)=>t._babylonTransformNode?.position.copyFrom(e),getTarget:e=>e._babylonTransformNode,getPropertyName:[()=>"position"]},rotation:{type:"Quaternion",get:e=>e._babylonTransformNode?.rotationQuaternion,set:(e,t)=>t._babylonTransformNode?.rotationQuaternion?.copyFrom(e),getTarget:e=>e._babylonTransformNode,getPropertyName:[()=>"rotationQuaternion"]},scale:{type:"Vector3",get:e=>e._babylonTransformNode?.scaling,set:(e,t)=>t._babylonTransformNode?.scaling.copyFrom(e),getTarget:e=>e._babylonTransformNode,getPropertyName:[()=>"scaling"]},weights:{length:{type:"number",get:e=>e._numMorphTargets,getTarget:e=>e._babylonTransformNode,getPropertyName:[()=>"influence"]},__array__:{__target__:!0,type:"number",get:(e,t)=>void 0!==t?e._primitiveBabylonMeshes?.[0].morphTargetManager?.getTarget(t).influence:void 0,getTarget:e=>e._babylonTransformNode,getPropertyName:[()=>"influence"]},type:"number[]",get:(e,t)=>[0],getTarget:e=>e._babylonTransformNode,getPropertyName:[()=>"influence"]},matrix:{type:"Matrix",get:e=>r.Matrix.Compose(e._babylonTransformNode?.scaling,e._babylonTransformNode?.rotationQuaternion,e._babylonTransformNode?.position),getTarget:e=>e._babylonTransformNode,isReadOnly:!0},globalMatrix:{type:"Matrix",get:e=>{let t=r.Matrix.Identity(),i=e.parent;for(;i&&i.parent;)i=i.parent;let s=e._babylonTransformNode?.position._isDirty||e._babylonTransformNode?.rotationQuaternion?._isDirty||e._babylonTransformNode?.scaling._isDirty;if(i){let r=i._babylonTransformNode?.computeWorldMatrix(!0).invert();r&&e._babylonTransformNode?.computeWorldMatrix(s)?.multiplyToRef(r,t)}else e._babylonTransformNode&&t.copyFrom(e._babylonTransformNode.computeWorldMatrix(s));return t},getTarget:e=>e._babylonTransformNode,isReadOnly:!0},extensions:{EXT_lights_ies:{multiplier:{type:"number",get:e=>e._babylonTransformNode?.getChildren(e=>e instanceof f,!0)[0]?.intensity,getTarget:e=>e._babylonTransformNode?.getChildren(e=>e instanceof f,!0)[0],set:(e,t)=>{if(t._babylonTransformNode){let r=t._babylonTransformNode.getChildren(e=>e instanceof f,!0)[0];r&&(r.intensity=e)}}},color:{type:"Color3",get:e=>e._babylonTransformNode?.getChildren(e=>e instanceof f,!0)[0]?.diffuse,getTarget:e=>e._babylonTransformNode?.getChildren(e=>e instanceof f,!0)[0],set:(e,t)=>{if(t._babylonTransformNode){let r=t._babylonTransformNode.getChildren(e=>e instanceof f,!0)[0];r&&(r.diffuse=e)}}}},KHR_node_visibility:{visible:{type:"boolean",get:e=>!!e._primitiveBabylonMeshes&&e._primitiveBabylonMeshes[0].isVisible,getTarget:()=>void 0,set:(e,t)=>{t._primitiveBabylonMeshes&&t._primitiveBabylonMeshes.forEach(t=>t.isVisible=e)}}}}}},materials:{__array__:{__target__:!0,emissiveFactor:{type:"Color3",get:(e,t,r)=>x(e,t,r).emissiveColor,set:(e,t,r,i)=>x(t,r,i).emissiveColor.copyFrom(e),getTarget:(e,t,r)=>x(e,t,r),getPropertyName:[()=>"emissiveColor"]},emissiveTexture:{extensions:{KHR_texture_transform:I("emissiveTexture")}},normalTexture:{scale:{type:"number",get:(e,t,r)=>T(e,r,"bumpTexture")?.level,set:(e,t,r,i)=>{let s=T(t,i,"bumpTexture");s&&(s.level=e)},getTarget:(e,t,r)=>x(e,t,r),getPropertyName:[()=>"level"]},extensions:{KHR_texture_transform:I("bumpTexture")}},occlusionTexture:{strength:{type:"number",get:(e,t,r)=>x(e,t,r).ambientTextureStrength,set:(e,t,r,i)=>{let s=x(t,r,i);s&&(s.ambientTextureStrength=e)},getTarget:(e,t,r)=>x(e,t,r),getPropertyName:[()=>"ambientTextureStrength"]},extensions:{KHR_texture_transform:I("ambientTexture")}},pbrMetallicRoughness:{baseColorFactor:{type:"Color4",get:(e,t,r)=>{let i=x(e,t,r);return s.Color4.FromColor3(i.albedoColor,i.alpha)},set:(e,t,r,i)=>{let s=x(t,r,i);s.albedoColor.set(e.r,e.g,e.b),s.alpha=e.a},getTarget:(e,t,r)=>x(e,t,r),getPropertyName:[()=>"albedoColor",()=>"alpha"]},baseColorTexture:{extensions:{KHR_texture_transform:I("albedoTexture")}},metallicFactor:{type:"number",get:(e,t,r)=>x(e,t,r).metallic,set:(e,t,r,i)=>{let s=x(t,r,i);s&&(s.metallic=e)},getTarget:(e,t,r)=>x(e,t,r),getPropertyName:[()=>"metallic"]},roughnessFactor:{type:"number",get:(e,t,r)=>x(e,t,r).roughness,set:(e,t,r,i)=>{let s=x(t,r,i);s&&(s.roughness=e)},getTarget:(e,t,r)=>x(e,t,r),getPropertyName:[()=>"roughness"]},metallicRoughnessTexture:{extensions:{KHR_texture_transform:I("metallicTexture")}}},extensions:{KHR_materials_anisotropy:{anisotropyStrength:{type:"number",get:(e,t,r)=>x(e,t,r).anisotropy.intensity,set:(e,t,r,i)=>{x(t,r,i).anisotropy.intensity=e},getTarget:(e,t,r)=>x(e,t,r),getPropertyName:[()=>"anisotropy.intensity"]},anisotropyRotation:{type:"number",get:(e,t,r)=>x(e,t,r).anisotropy.angle,set:(e,t,r,i)=>{x(t,r,i).anisotropy.angle=e},getTarget:(e,t,r)=>x(e,t,r),getPropertyName:[()=>"anisotropy.angle"]},anisotropyTexture:{extensions:{KHR_texture_transform:I("anisotropy","texture")}}},KHR_materials_clearcoat:{clearcoatFactor:{type:"number",get:(e,t,r)=>x(e,t,r).clearCoat.intensity,set:(e,t,r,i)=>{x(t,r,i).clearCoat.intensity=e},getTarget:(e,t,r)=>x(e,t,r),getPropertyName:[()=>"clearCoat.intensity"]},clearcoatRoughnessFactor:{type:"number",get:(e,t,r)=>x(e,t,r).clearCoat.roughness,set:(e,t,r,i)=>{x(t,r,i).clearCoat.roughness=e},getTarget:(e,t,r)=>x(e,t,r),getPropertyName:[()=>"clearCoat.roughness"]},clearcoatTexture:{extensions:{KHR_texture_transform:I("clearCoat","texture")}},clearcoatNormalTexture:{scale:{type:"number",get:(e,t,r)=>x(e,t,r).clearCoat.bumpTexture?.level,getTarget:x,set:(e,t,r,i)=>x(t,r,i).clearCoat.bumpTexture.level=e},extensions:{KHR_texture_transform:I("clearCoat","bumpTexture")}},clearcoatRoughnessTexture:{extensions:{KHR_texture_transform:I("clearCoat","textureRoughness")}}},KHR_materials_dispersion:{dispersion:{type:"number",get:(e,t,r)=>x(e,t,r).subSurface.dispersion,getTarget:x,set:(e,t,r,i)=>x(t,r,i).subSurface.dispersion=e}},KHR_materials_emissive_strength:{emissiveStrength:{type:"number",get:(e,t,r)=>x(e,t,r).emissiveIntensity,getTarget:x,set:(e,t,r,i)=>x(t,r,i).emissiveIntensity=e}},KHR_materials_ior:{ior:{type:"number",get:(e,t,r)=>x(e,t,r).indexOfRefraction,getTarget:x,set:(e,t,r,i)=>x(t,r,i).indexOfRefraction=e}},KHR_materials_iridescence:{iridescenceFactor:{type:"number",get:(e,t,r)=>x(e,t,r).iridescence.intensity,getTarget:x,set:(e,t,r,i)=>x(t,r,i).iridescence.intensity=e},iridescenceIor:{type:"number",get:(e,t,r)=>x(e,t,r).iridescence.indexOfRefraction,getTarget:x,set:(e,t,r,i)=>x(t,r,i).iridescence.indexOfRefraction=e},iridescenceTexture:{extensions:{KHR_texture_transform:I("iridescence","texture")}},iridescenceThicknessMaximum:{type:"number",get:(e,t,r)=>x(e,t,r).iridescence.maximumThickness,getTarget:x,set:(e,t,r,i)=>x(t,r,i).iridescence.maximumThickness=e},iridescenceThicknessMinimum:{type:"number",get:(e,t,r)=>x(e,t,r).iridescence.minimumThickness,getTarget:x,set:(e,t,r,i)=>x(t,r,i).iridescence.minimumThickness=e},iridescenceThicknessTexture:{extensions:{KHR_texture_transform:I("iridescence","thicknessTexture")}}},KHR_materials_sheen:{sheenColorFactor:{type:"Color3",get:(e,t,r)=>x(e,t,r).sheen.color,getTarget:x,set:(e,t,r,i)=>x(t,r,i).sheen.color.copyFrom(e)},sheenColorTexture:{extensions:{KHR_texture_transform:I("sheen","texture")}},sheenRoughnessFactor:{type:"number",get:(e,t,r)=>x(e,t,r).sheen.intensity,getTarget:x,set:(e,t,r,i)=>x(t,r,i).sheen.intensity=e},sheenRoughnessTexture:{extensions:{KHR_texture_transform:I("sheen","thicknessTexture")}}},KHR_materials_specular:{specularFactor:{type:"number",get:(e,t,r)=>x(e,t,r).metallicF0Factor,getTarget:x,set:(e,t,r,i)=>x(t,r,i).metallicF0Factor=e,getPropertyName:[()=>"metallicF0Factor"]},specularColorFactor:{type:"Color3",get:(e,t,r)=>x(e,t,r).metallicReflectanceColor,getTarget:x,set:(e,t,r,i)=>x(t,r,i).metallicReflectanceColor.copyFrom(e),getPropertyName:[()=>"metallicReflectanceColor"]},specularTexture:{extensions:{KHR_texture_transform:I("metallicReflectanceTexture")}},specularColorTexture:{extensions:{KHR_texture_transform:I("reflectanceTexture")}}},KHR_materials_transmission:{transmissionFactor:{type:"number",get:(e,t,r)=>x(e,t,r).subSurface.refractionIntensity,getTarget:x,set:(e,t,r,i)=>x(t,r,i).subSurface.refractionIntensity=e,getPropertyName:[()=>"subSurface.refractionIntensity"]},transmissionTexture:{extensions:{KHR_texture_transform:I("subSurface","refractionIntensityTexture")}}},KHR_materials_diffuse_transmission:{diffuseTransmissionFactor:{type:"number",get:(e,t,r)=>x(e,t,r).subSurface.translucencyIntensity,getTarget:x,set:(e,t,r,i)=>x(t,r,i).subSurface.translucencyIntensity=e},diffuseTransmissionTexture:{extensions:{KHR_texture_transform:I("subSurface","translucencyIntensityTexture")}},diffuseTransmissionColorFactor:{type:"Color3",get:(e,t,r)=>x(e,t,r).subSurface.translucencyColor,getTarget:x,set:(e,t,r,i)=>e&&x(t,r,i).subSurface.translucencyColor?.copyFrom(e)},diffuseTransmissionColorTexture:{extensions:{KHR_texture_transform:I("subSurface","translucencyColorTexture")}}},KHR_materials_volume:{attenuationColor:{type:"Color3",get:(e,t,r)=>x(e,t,r).subSurface.tintColor,getTarget:x,set:(e,t,r,i)=>x(t,r,i).subSurface.tintColor.copyFrom(e)},attenuationDistance:{type:"number",get:(e,t,r)=>x(e,t,r).subSurface.tintColorAtDistance,getTarget:x,set:(e,t,r,i)=>x(t,r,i).subSurface.tintColorAtDistance=e},thicknessFactor:{type:"number",get:(e,t,r)=>x(e,t,r).subSurface.maximumThickness,getTarget:x,set:(e,t,r,i)=>x(t,r,i).subSurface.maximumThickness=e},thicknessTexture:{extensions:{KHR_texture_transform:I("subSurface","thicknessTexture")}}}}}},extensions:{KHR_lights_punctual:{lights:{length:{type:"number",get:e=>e.length,getTarget:e=>e.map(e=>e._babylonLight),getPropertyName:[e=>"length"]},__array__:{__target__:!0,color:{type:"Color3",get:e=>e._babylonLight?.diffuse,set:(e,t)=>t._babylonLight?.diffuse.copyFrom(e),getTarget:e=>e._babylonLight,getPropertyName:[e=>"diffuse"]},intensity:{type:"number",get:e=>e._babylonLight?.intensity,set:(e,t)=>t._babylonLight?t._babylonLight.intensity=e:void 0,getTarget:e=>e._babylonLight,getPropertyName:[e=>"intensity"]},range:{type:"number",get:e=>e._babylonLight?.range,set:(e,t)=>t._babylonLight?t._babylonLight.range=e:void 0,getTarget:e=>e._babylonLight,getPropertyName:[e=>"range"]},spot:{innerConeAngle:{type:"number",get:e=>e._babylonLight?.innerAngle,set:(e,t)=>t._babylonLight?t._babylonLight.innerAngle=e:void 0,getTarget:e=>e._babylonLight,getPropertyName:[e=>"innerConeAngle"]},outerConeAngle:{type:"number",get:e=>e._babylonLight?.angle,set:(e,t)=>t._babylonLight?t._babylonLight.angle=e:void 0,getTarget:e=>e._babylonLight,getPropertyName:[e=>"outerConeAngle"]}}}}},EXT_lights_area:{lights:{length:{type:"number",get:e=>e.length,getTarget:e=>e.map(e=>e._babylonLight),getPropertyName:[e=>"length"]},__array__:{__target__:!0,color:{type:"Color3",get:e=>e._babylonLight?.diffuse,set:(e,t)=>t._babylonLight?.diffuse.copyFrom(e),getTarget:e=>e._babylonLight,getPropertyName:[e=>"diffuse"]},intensity:{type:"number",get:e=>e._babylonLight?.intensity,set:(e,t)=>t._babylonLight?t._babylonLight.intensity=e:void 0,getTarget:e=>e._babylonLight,getPropertyName:[e=>"intensity"]},size:{type:"number",get:e=>e._babylonLight?.height,set:(e,t)=>t._babylonLight?t._babylonLight.height=e:void 0,getTarget:e=>e._babylonLight,getPropertyName:[e=>"size"]},rect:{aspect:{type:"number",get:e=>e._babylonLight?.width/e._babylonLight?.height,set:(e,t)=>t._babylonLight?t._babylonLight.width=e*t._babylonLight.height:void 0,getTarget:e=>e._babylonLight,getPropertyName:[e=>"aspect"]}}}}},EXT_lights_ies:{lights:{length:{type:"number",get:e=>e.length,getTarget:e=>e.map(e=>e._babylonLight),getPropertyName:[e=>"length"]}}},EXT_lights_image_based:{lights:{length:{type:"number",get:e=>e.length,getTarget:e=>e.map(e=>e._babylonTexture),getPropertyName:[e=>"length"]},__array__:{__target__:!0,intensity:{type:"number",get:e=>e._babylonTexture?.level,set:(e,t)=>{t._babylonTexture&&(t._babylonTexture.level=e)},getTarget:e=>e._babylonTexture},rotation:{type:"Quaternion",get:e=>e._babylonTexture&&r.Quaternion.FromRotationMatrix(e._babylonTexture?.getReflectionTextureMatrix()),set:(e,t)=>{t._babylonTexture&&(t._babylonTexture.getScene()?.useRightHandedSystem||(e=r.Quaternion.Inverse(e)),r.Matrix.FromQuaternionToRef(e,t._babylonTexture.getReflectionTextureMatrix()))},getTarget:e=>e._babylonTexture}}}}},animations:{length:{type:"number",get:e=>e.length,getTarget:e=>e.map(e=>e._babylonAnimationGroup),getPropertyName:[()=>"length"]},__array__:{}},meshes:{length:{type:"number",get:e=>e.length,getTarget:e=>e.map(e=>e.primitives[0]._instanceData?.babylonSourceMesh),getPropertyName:[()=>"length"]},__array__:{}}};function b(e,t){let r=e.split("/").map(e=>e.replace(/{}/g,"__array__")),i=P;for(let e of r)e&&(i=i[e]);i&&i.type&&i.get&&(i.interpolation=t)}function S(e,t,i,s){return r.Vector3.FromArray(t,i).scaleInPlace(s)}function v(e,t,i,s){return r.Quaternion.FromArray(t,i).scaleInPlace(s)}function M(e,t,r,i){let s=Array(e._numMorphTargets);for(let e=0;e<s.length;e++)s[e]=t[r++]*i;return s}e.s(["AddObjectAccessorToKey",0,function(e,t){let r=e.split("/").map(e=>e.replace(/{}/g,"__array__")),i=P;for(let e of r)if(e){if(!i[e]){if("?"===e){i.__ignoreObjectTree__=!0;continue}i[e]={},"__array__"===e&&(i[e].__target__=!0)}i=i[e]}Object.assign(i,t)},"GetMappingForKey",0,function(e){let t=e.split("/").map(e=>e.replace(/{}/g,"__array__")),r=P;for(let e of t)e&&(r=r[e]);if(r&&r.type&&r.get)return r},"GetPathToObjectConverter",0,function(e){return new y(e,P)},"SetInterpolationForKey",0,b],36787);class D{constructor(e,t,r,i){this.type=e,this.name=t,this.getValue=r,this.getStride=i}_buildAnimation(e,r,i){let s=new t.Animation(e,this.name,r,this.type);return s.setKeys(i,!0),s}}class L extends D{buildAnimations(e,t,r,i){let s=[];return s.push({babylonAnimatable:e._babylonTransformNode,babylonAnimation:this._buildAnimation(t,r,i)}),s}}class E extends D{buildAnimations(e,r,i,s){let n=[];if(e._numMorphTargets)for(let a=0;a<e._numMorphTargets;a++){let o=new t.Animation(`${r}_${a}`,this.name,i,this.type);if(o.setKeys(s.map(e=>({frame:e.frame,inTangent:e.inTangent?e.inTangent[a]:void 0,value:e.value[a],outTangent:e.outTangent?e.outTangent[a]:void 0,interpolation:e.interpolation})),!0),e._primitiveBabylonMeshes){for(let t of e._primitiveBabylonMeshes)if(t.morphTargetManager){let e=t.morphTargetManager.getTarget(a),r=o.clone();e.animations.push(r),n.push({babylonAnimatable:e,babylonAnimation:r})}}}return n}}b("/nodes/{}/translation",[new L(t.Animation.ANIMATIONTYPE_VECTOR3,"position",S,()=>3)]),b("/nodes/{}/rotation",[new L(t.Animation.ANIMATIONTYPE_QUATERNION,"rotationQuaternion",v,()=>4)]),b("/nodes/{}/scale",[new L(t.Animation.ANIMATIONTYPE_VECTOR3,"scaling",S,()=>3)]),b("/nodes/{}/weights",[new E(t.Animation.ANIMATIONTYPE_FLOAT,"influence",M,e=>e._numMorphTargets)]),e.s(["AnimationPropertyInfo",0,D,"TransformNodeAnimationPropertyInfo",0,L,"WeightAnimationPropertyInfo",0,E,"getQuaternion",0,v,"getVector3",0,S,"getWeights",0,M],65785)},42829,e=>{e.v(t=>Promise.all(["static/chunks/3l1dr_qm_x5kp.js"].map(t=>e.l(t))).then(()=>t(47786)))},60020,e=>{e.v(t=>Promise.all(["static/chunks/32ahba5ezp467.js"].map(t=>e.l(t))).then(()=>t(44237)))},66183,e=>{e.v(t=>Promise.all(["static/chunks/1qg_etglhvp9h.js","static/chunks/38x3c1ra5slhe.js"].map(t=>e.l(t))).then(()=>t(40042)))},22649,e=>{e.v(t=>Promise.all(["static/chunks/0otsec99kdkt7.js","static/chunks/1ltux4lwz7muf.js"].map(t=>e.l(t))).then(()=>t(14610)))},39487,e=>{e.v(t=>Promise.all(["static/chunks/41wt50z9tx9cx.js","static/chunks/1_qzlkuxukhpq.js"].map(t=>e.l(t))).then(()=>t(26022)))},74875,e=>{e.v(t=>Promise.all(["static/chunks/3e00fzdfkclzq.js","static/chunks/0vfsg5byzep_0.js"].map(t=>e.l(t))).then(()=>t(883)))},71043,e=>{e.v(e=>Promise.resolve().then(()=>e(33234)))},55254,e=>{e.v(t=>Promise.all(["static/chunks/3mcd08gmt038z.js","static/chunks/0xjltg_pph0c8.js"].map(t=>e.l(t))).then(()=>t(49867)))},81853,e=>{e.v(e=>Promise.resolve().then(()=>e(54268)))},73551,e=>{e.v(t=>Promise.all(["static/chunks/1p1xtsfwvpuqo.js","static/chunks/1_aon8nz9p1fr.js"].map(t=>e.l(t))).then(()=>t(40257)))},50731,e=>{e.v(e=>Promise.resolve().then(()=>e(65785)))},49950,e=>{e.v(t=>Promise.all(["static/chunks/0dn0yx0rn6mpf.js"].map(t=>e.l(t))).then(()=>t(16681)))},95637,e=>{e.v(t=>Promise.all(["static/chunks/3mbnfpufs2-7e.js"].map(t=>e.l(t))).then(()=>t(31035)))},34479,e=>{e.v(t=>Promise.all(["static/chunks/3wi9gzq2mtr_q.js"].map(t=>e.l(t))).then(()=>t(72526)))},69617,e=>{e.v(t=>Promise.all(["static/chunks/256k1jw1m--l7.js"].map(t=>e.l(t))).then(()=>t(93933)))},11030,e=>{e.v(t=>Promise.all(["static/chunks/0ql-s-tsmel_u.js"].map(t=>e.l(t))).then(()=>t(2259)))},35413,e=>{e.v(t=>Promise.all(["static/chunks/112hws17nz665.js"].map(t=>e.l(t))).then(()=>t(37717)))},37828,e=>{e.v(t=>Promise.all(["static/chunks/296w2ke-v5tbm.js"].map(t=>e.l(t))).then(()=>t(2689)))},21236,e=>{e.v(t=>Promise.all(["static/chunks/17q0c2h5ui10r.js"].map(t=>e.l(t))).then(()=>t(39218)))},78398,e=>{e.v(t=>Promise.all(["static/chunks/2cbmf9m7lqv6k.js"].map(t=>e.l(t))).then(()=>t(34637)))},26167,e=>{e.v(t=>Promise.all(["static/chunks/29tfeb6amdkjb.js"].map(t=>e.l(t))).then(()=>t(88647)))},7133,e=>{e.v(t=>Promise.all(["static/chunks/1a9l89j7e6mqu.js"].map(t=>e.l(t))).then(()=>t(85528)))},29574,e=>{e.v(t=>Promise.all(["static/chunks/38fhw7fatsyvd.js"].map(t=>e.l(t))).then(()=>t(49697)))},53578,e=>{e.v(t=>Promise.all(["static/chunks/3yfrsm8lfi6ls.js"].map(t=>e.l(t))).then(()=>t(95170)))},9368,e=>{e.v(t=>Promise.all(["static/chunks/0flc7nppbmsl1.js"].map(t=>e.l(t))).then(()=>t(1753)))},54745,e=>{e.v(t=>Promise.all(["static/chunks/3_gku1pwluoo0.js"].map(t=>e.l(t))).then(()=>t(2348)))},32289,e=>{e.v(t=>Promise.all(["static/chunks/0rys92_73hdb0.js"].map(t=>e.l(t))).then(()=>t(31507)))},88211,e=>{e.v(t=>Promise.all(["static/chunks/15s7425ffrec9.js"].map(t=>e.l(t))).then(()=>t(71773)))},19392,e=>{e.v(t=>Promise.all(["static/chunks/1dsy2ngmfflis.js"].map(t=>e.l(t))).then(()=>t(94597)))},35527,e=>{e.v(t=>Promise.all(["static/chunks/2xwy0-qfho1iz.js"].map(t=>e.l(t))).then(()=>t(8617)))},72206,e=>{e.v(t=>Promise.all(["static/chunks/0jmn7u31w95ly.js"].map(t=>e.l(t))).then(()=>t(7295)))},62039,e=>{e.v(t=>Promise.all(["static/chunks/35h5n42wxwgzk.js"].map(t=>e.l(t))).then(()=>t(85949)))},33558,e=>{e.v(t=>Promise.all(["static/chunks/2712627rfsmwn.js"].map(t=>e.l(t))).then(()=>t(40422)))},10210,e=>{e.v(t=>Promise.all(["static/chunks/3mt5th7b1i_u9.js","static/chunks/3jwm5dfk_78gc.js"].map(t=>e.l(t))).then(()=>t(5200)))},32052,e=>{e.v(t=>Promise.all(["static/chunks/2ejvntxtvf5o9.js"].map(t=>e.l(t))).then(()=>t(72904)))},10379,e=>{e.v(t=>Promise.all(["static/chunks/3ycv2qq7vpbua.js"].map(t=>e.l(t))).then(()=>t(45582)))},33722,e=>{e.v(t=>Promise.all(["static/chunks/337hn35kts7ud.js"].map(t=>e.l(t))).then(()=>t(89080)))},22118,e=>{e.v(t=>Promise.all(["static/chunks/36jkdhq6kb-cf.js"].map(t=>e.l(t))).then(()=>t(33002)))},18012,e=>{e.v(t=>Promise.all(["static/chunks/3rdifucupcgkg.js"].map(t=>e.l(t))).then(()=>t(61703)))},23104,e=>{e.v(t=>Promise.all(["static/chunks/3l3_0ack3gy4k.js"].map(t=>e.l(t))).then(()=>t(61715)))},74441,e=>{e.v(t=>Promise.all(["static/chunks/3e9tzyrt4_98z.js"].map(t=>e.l(t))).then(()=>t(55602)))},44142,e=>{e.v(t=>Promise.all(["static/chunks/22cr2b04btguf.js"].map(t=>e.l(t))).then(()=>t(93802)))},73077,e=>{e.v(t=>Promise.all(["static/chunks/30c-nsedy_ce0.js"].map(t=>e.l(t))).then(()=>t(25620)))},52080,e=>{e.v(t=>Promise.all(["static/chunks/2_2fk7iddrs43.js"].map(t=>e.l(t))).then(()=>t(68362)))},80831,e=>{e.v(t=>Promise.all(["static/chunks/2x-00glogc485.js"].map(t=>e.l(t))).then(()=>t(9954)))},68135,e=>{e.v(t=>Promise.all(["static/chunks/08a5xek662n8n.js"].map(t=>e.l(t))).then(()=>t(44113)))},57048,e=>{e.v(t=>Promise.all(["static/chunks/1h8xzuuhhglu9.js"].map(t=>e.l(t))).then(()=>t(60783)))},2331,e=>{e.v(t=>Promise.all(["static/chunks/1tta1a064979p.js"].map(t=>e.l(t))).then(()=>t(54395)))},79405,e=>{e.v(t=>Promise.all(["static/chunks/38awrh_qxn22k.js"].map(t=>e.l(t))).then(()=>t(46665)))},93114,e=>{e.v(t=>Promise.all(["static/chunks/02n1uiltexy3w.js"].map(t=>e.l(t))).then(()=>t(96795)))},14704,e=>{e.v(t=>Promise.all(["static/chunks/18dczy9ylt2s_.js"].map(t=>e.l(t))).then(()=>t(25029)))},84308,e=>{e.v(t=>Promise.all(["static/chunks/101-7e_7up7rk.js"].map(t=>e.l(t))).then(()=>t(18224)))},66009,e=>{e.v(t=>Promise.all(["static/chunks/2gxd_o1g89_bv.js"].map(t=>e.l(t))).then(()=>t(59011)))},15273,e=>{e.v(t=>Promise.all(["static/chunks/128e51hj_04r0.js"].map(t=>e.l(t))).then(()=>t(47156)))},86576,e=>{e.v(t=>Promise.all(["static/chunks/3jjfnwvybayy7.js"].map(t=>e.l(t))).then(()=>t(20284)))},11537,e=>{e.v(t=>Promise.all(["static/chunks/3gimb3z_mteou.js"].map(t=>e.l(t))).then(()=>t(28283)))},31284,e=>{e.v(t=>Promise.all(["static/chunks/3tm-pqpmq_ppw.js"].map(t=>e.l(t))).then(()=>t(27432)))},15439,e=>{e.v(t=>Promise.all(["static/chunks/3tg-ma9tv9xu4.js"].map(t=>e.l(t))).then(()=>t(58203)))},69906,e=>{e.v(t=>Promise.all(["static/chunks/1kujmd5n0j9nk.js"].map(t=>e.l(t))).then(()=>t(96869)))},49926,e=>{e.v(t=>Promise.all(["static/chunks/3puhrqtujktyv.js"].map(t=>e.l(t))).then(()=>t(93095)))},88688,e=>{e.v(t=>Promise.all(["static/chunks/2ue1wo4ryk87z.js"].map(t=>e.l(t))).then(()=>t(53640)))},81151,e=>{e.v(t=>Promise.all(["static/chunks/06qot1qvlsqaz.js"].map(t=>e.l(t))).then(()=>t(74117)))},56291,e=>{e.v(t=>Promise.all(["static/chunks/26v9yqicofqba.js"].map(t=>e.l(t))).then(()=>t(30456)))},12665,e=>{e.v(t=>Promise.all(["static/chunks/242xhzxxetctz.js"].map(t=>e.l(t))).then(()=>t(88597)))},99440,e=>{e.v(t=>Promise.all(["static/chunks/0j6p1pmc14t96.js"].map(t=>e.l(t))).then(()=>t(90520)))},62734,e=>{e.v(t=>Promise.all(["static/chunks/1zfojlgb15okk.js"].map(t=>e.l(t))).then(()=>t(71163)))},12353,e=>{e.v(t=>Promise.all(["static/chunks/0beajlqy8p8b5.js"].map(t=>e.l(t))).then(()=>t(1093)))},10464,e=>{e.v(t=>Promise.all(["static/chunks/2vqlv9wnewhu9.js"].map(t=>e.l(t))).then(()=>t(84024)))},96090,e=>{e.v(t=>Promise.all(["static/chunks/2yfxy0f5fqs4o.js"].map(t=>e.l(t))).then(()=>t(21131)))},99771,e=>{e.v(t=>Promise.all(["static/chunks/4030dhur2h70-.js"].map(t=>e.l(t))).then(()=>t(25613)))},12116,e=>{e.v(t=>Promise.all(["static/chunks/1iioifo7i0t0_.js"].map(t=>e.l(t))).then(()=>t(82191)))},72848,e=>{e.v(t=>Promise.all(["static/chunks/0o_mp98xzqfyf.js"].map(t=>e.l(t))).then(()=>t(33786)))},41143,e=>{e.v(t=>Promise.all(["static/chunks/3z84au-mitjjw.js"].map(t=>e.l(t))).then(()=>t(25478)))},15356,e=>{e.v(t=>Promise.all(["static/chunks/2z88mt3ixktu3.js"].map(t=>e.l(t))).then(()=>t(21555)))},7821,e=>{e.v(t=>Promise.all(["static/chunks/1cdbk6kxyr1c9.js"].map(t=>e.l(t))).then(()=>t(14136)))},22527,e=>{e.v(t=>Promise.all(["static/chunks/1gt4kh0_xmigy.js"].map(t=>e.l(t))).then(()=>t(36333)))},49435,e=>{e.v(t=>Promise.all(["static/chunks/1p1gz6dseck--.js"].map(t=>e.l(t))).then(()=>t(29089)))},67541,e=>{e.v(t=>Promise.all(["static/chunks/1u_riwm0nfww7.js"].map(t=>e.l(t))).then(()=>t(30855)))},1509,e=>{e.v(t=>Promise.all(["static/chunks/03ab2khhe8-x5.js"].map(t=>e.l(t))).then(()=>t(83800)))},28893,e=>{e.v(t=>Promise.all(["static/chunks/1n9sy0yt5d2vq.js"].map(t=>e.l(t))).then(()=>t(49648)))},89981,e=>{e.v(t=>Promise.all(["static/chunks/1furcfsgrw_3g.js"].map(t=>e.l(t))).then(()=>t(32796)))},55867,e=>{e.v(t=>Promise.all(["static/chunks/3j-4wuhs5weba.js"].map(t=>e.l(t))).then(()=>t(48983)))},338,e=>{e.v(t=>Promise.all(["static/chunks/39idqlqlcp5b9.js"].map(t=>e.l(t))).then(()=>t(75955)))},87989,e=>{e.v(t=>Promise.all(["static/chunks/2ur5-lxdvv1jm.js"].map(t=>e.l(t))).then(()=>t(9584)))},47861,e=>{e.v(t=>Promise.all(["static/chunks/2kpet_l1kq2sx.js"].map(t=>e.l(t))).then(()=>t(33284)))},39988,e=>{e.v(t=>Promise.all(["static/chunks/0fzmc1up21g1i.js"].map(t=>e.l(t))).then(()=>t(82752)))},28362,e=>{e.v(t=>Promise.all(["static/chunks/0eh1ml86u8dh7.js"].map(t=>e.l(t))).then(()=>t(66836)))},35852,e=>{e.v(t=>Promise.all(["static/chunks/3xsq_anpad-fb.js"].map(t=>e.l(t))).then(()=>t(89210)))},41325,e=>{e.v(t=>Promise.all(["static/chunks/0h22pg-0xrxnm.js"].map(t=>e.l(t))).then(()=>t(69926)))},77947,e=>{e.v(t=>Promise.all(["static/chunks/24essz5mmvx-6.js"].map(t=>e.l(t))).then(()=>t(24517)))},13042,e=>{e.v(t=>Promise.all(["static/chunks/0kfd-cvj5fvtz.js"].map(t=>e.l(t))).then(()=>t(56418)))},68682,e=>{e.v(t=>Promise.all(["static/chunks/1g0-f1g3gn_rs.js"].map(t=>e.l(t))).then(()=>t(252)))},4730,e=>{e.v(t=>Promise.all(["static/chunks/2jpkhkk9zi8-f.js"].map(t=>e.l(t))).then(()=>t(36756)))},39210,e=>{e.v(t=>Promise.all(["static/chunks/18xs_kvsaolb0.js"].map(t=>e.l(t))).then(()=>t(55238)))},4586,e=>{e.v(t=>Promise.all(["static/chunks/09510356f0lad.js"].map(t=>e.l(t))).then(()=>t(10557)))},74223,e=>{e.v(t=>Promise.all(["static/chunks/1fbjkk55uu4_g.js"].map(t=>e.l(t))).then(()=>t(46187)))},284,e=>{e.v(t=>Promise.all(["static/chunks/259obyrpxcv6r.js"].map(t=>e.l(t))).then(()=>t(17711)))},15119,e=>{e.v(t=>Promise.all(["static/chunks/0j__xaq_8_di1.js"].map(t=>e.l(t))).then(()=>t(40354)))},70439,e=>{e.v(t=>Promise.all(["static/chunks/1p8f6okk2ewbz.js"].map(t=>e.l(t))).then(()=>t(72161)))},84069,e=>{e.v(t=>Promise.all(["static/chunks/3lwhs5ja7tun3.js"].map(t=>e.l(t))).then(()=>t(24484)))},41530,e=>{e.v(t=>Promise.all(["static/chunks/0vbce-8omgurc.js"].map(t=>e.l(t))).then(()=>t(58703)))},92768,e=>{e.v(t=>Promise.all(["static/chunks/2qqqpu0ahfdda.js"].map(t=>e.l(t))).then(()=>t(45235)))},27806,e=>{e.v(t=>Promise.all(["static/chunks/17genz6pkmty_.js"].map(t=>e.l(t))).then(()=>t(43623)))},52501,e=>{e.v(t=>Promise.all(["static/chunks/2uk-vwlxe9-xr.js"].map(t=>e.l(t))).then(()=>t(1349)))},44857,e=>{e.v(e=>Promise.resolve().then(()=>e(4577)))}]);