@uptimizr/dashboard 0.3.4 → 0.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/404.html +1 -1
- package/out/__next.__PAGE__.txt +4 -4
- package/out/__next._full.txt +10 -10
- package/out/__next._head.txt +4 -4
- package/out/__next._index.txt +3 -3
- package/out/__next._tree.txt +1 -1
- package/out/_next/static/chunks/{2h051-1hu4co_.js → 0-0hui1_v3h8b.js} +9 -9
- package/out/_next/static/chunks/{2dqg85hsevk3c.js → 0-tzsd_n-ywom.js} +4 -4
- package/out/_next/static/chunks/00g5suuoa-_wn.js +1 -0
- package/out/_next/static/chunks/00o9hr_3hd0r8.js +1 -0
- package/out/_next/static/chunks/{0jxklh_ayjd4b.js → 00xc-0pj7on2s.js} +12 -12
- package/out/_next/static/chunks/01fh3_bncbe5u.js +1 -0
- package/out/_next/static/chunks/01urdkl1j8o6l.js +1 -0
- package/out/_next/static/chunks/{2j-sax2xfdv7l.js → 026vw95s88gsy.js} +1 -1
- package/out/_next/static/chunks/02eui3ctddbd2.js +1 -0
- package/out/_next/static/chunks/{3kr1polwvt6o_.js → 03zip1uidm6x9.js} +1 -1
- package/out/_next/static/chunks/{3gi0f1kg72xsf.js → 04_3ri5emyfcu.js} +1 -1
- package/out/_next/static/chunks/04c4nksb5y9r-.js +1 -0
- package/out/_next/static/chunks/04g-l-_b4payc.js +1 -0
- package/out/_next/static/chunks/04j9pexbmysdy.js +1 -0
- package/out/_next/static/chunks/{1rcfy_gzean3n.js → 055baac5e-c2o.js} +1 -1
- package/out/_next/static/chunks/05bdni_jrobq1.js +1 -0
- package/out/_next/static/chunks/05o0tb8l_htmw.js +1 -0
- package/out/_next/static/chunks/{3d5yb9ybkz7hx.js → 05uqfgf-hh-p5.js} +1 -1
- package/out/_next/static/chunks/06f-0kw8s0mqo.js +3 -0
- package/out/_next/static/chunks/{18r387bj9iv0j.js → 077eo-0dhbxz-.js} +1 -1
- package/out/_next/static/chunks/{18k-0jn63_5ie.js → 07z6p262h5hgl.js} +1 -1
- package/out/_next/static/chunks/{08bm3ye5govev.js → 08m_4cihfmik8.js} +1 -1
- package/out/_next/static/chunks/08obqw64faj8j.js +1 -0
- package/out/_next/static/chunks/{2k4s5rt7-l8jr.js → 099ilz3dmm1jw.js} +1 -1
- package/out/_next/static/chunks/09ppu_k464q-n.js +1 -0
- package/out/_next/static/chunks/{1rne-b-ktit5c.js → 0av6n_6q6kzo3.js} +2 -2
- package/out/_next/static/chunks/0bgcaf2x51kms.js +1 -0
- package/out/_next/static/chunks/{0ptp4ne7j6yg6.js → 0bj_310rugcn1.js} +11 -11
- package/out/_next/static/chunks/0c5d3qn2mb3ew.js +1 -0
- package/out/_next/static/chunks/{2gtebfttq1v0o.js → 0dck67in84de0.js} +1 -1
- package/out/_next/static/chunks/0dg4wxz-6u5lo.js +1 -0
- package/out/_next/static/chunks/{2apt1vh-7rl2l.js → 0dva036n8ab62.js} +1 -1
- package/out/_next/static/chunks/{159u-hx80yfaw.js → 0erga_bzezbza.js} +1 -1
- package/out/_next/static/chunks/0f0-i105odxqd.js +1 -0
- package/out/_next/static/chunks/{1fvlbwp6r93wo.js → 0g2wngc6oe7fd.js} +24 -24
- package/out/_next/static/chunks/0gyeqz9pagssf.js +1 -0
- package/out/_next/static/chunks/0i82k-t0fbn8f.js +1 -0
- package/out/_next/static/chunks/0kzw45f61wm3j.js +1 -0
- package/out/_next/static/chunks/0l8bfa2xewq69.js +1 -0
- package/out/_next/static/chunks/{390fogn9oz13i.js → 0n-zml1gn0o1u.js} +1 -1
- package/out/_next/static/chunks/{44gsjajjdhf51.js → 0n92hec_jb_-_.js} +1 -1
- package/out/_next/static/chunks/{2s0dwzg7kq36n.js → 0okbyggxe6mx5.js} +1 -1
- package/out/_next/static/chunks/{0h-ohf4gntwtj.js → 0pv2wirx45e1m.js} +1 -1
- package/out/_next/static/chunks/0qxd_8t3nca36.js +1 -0
- package/out/_next/static/chunks/0s1jghzw8jufz.js +1 -0
- package/out/_next/static/chunks/{0ngai1_zxwsk8.js → 0s84ekz_f9ngx.js} +1 -1
- package/out/_next/static/chunks/{16d4a4iopj2if.js → 0t89-lfct-7m6.js} +5 -5
- package/out/_next/static/chunks/0ti58h622yo-_.js +2 -0
- package/out/_next/static/chunks/{29v8falcmjvev.js → 0tn-9w46cwydp.js} +32 -32
- package/out/_next/static/chunks/0u8yr4k1y6m2t.js +1 -0
- package/out/_next/static/chunks/0ubxyut5rr600.js +1 -0
- package/out/_next/static/chunks/{3_bzxvqtk1t53.js → 0uxdbfa8gv6tk.js} +12 -12
- package/out/_next/static/chunks/0vso09vdz38sr.js +1 -0
- package/out/_next/static/chunks/{0_tqu60oxaj7q.js → 0w-hm7g7trtjg.js} +1 -1
- package/out/_next/static/chunks/0wbw9h7rsis2r.js +1 -0
- package/out/_next/static/chunks/{3sbm1ak54_2ep.js → 0wq_9f98weoe3.js} +1 -1
- package/out/_next/static/chunks/0y4e49hpuucdi.js +1 -0
- package/out/_next/static/chunks/{0ioyy42h35hnd.js → 0yvevihll7sz-.js} +1 -1
- package/out/_next/static/chunks/{0zcdc17ie6lmh.js → 0zf26k6juhlzo.js} +50 -18
- package/out/_next/static/chunks/{3sg4zff4-h3t1.js → 1-b44873bjsdw.js} +1 -1
- package/out/_next/static/chunks/1-c3a1vnl8v1q.js +1 -0
- package/out/_next/static/chunks/1-xf86jgea22y.js +1 -0
- package/out/_next/static/chunks/10b0qqdnb_nox.js +1 -0
- package/out/_next/static/chunks/{2ib62lnqqaf4p.js → 11p92pnn5el0v.js} +1 -1
- package/out/_next/static/chunks/{06ljadw2-i91-.js → 12kdmh0h_mboy.js} +1 -1
- package/out/_next/static/chunks/141tngxsk32hq.js +1 -0
- package/out/_next/static/chunks/14ijcpo72av4r.js +1 -0
- package/out/_next/static/chunks/16hdip1drt8o-.js +1 -0
- package/out/_next/static/chunks/{3g5ae-38cepwm.js → 17aahvhpls1l7.js} +199 -199
- package/out/_next/static/chunks/{17d1isrw8gtnb.js → 18txc1wwwu9f9.js} +1 -1
- package/out/_next/static/chunks/{2716si10ouwu-.js → 18wa83g0qfh-b.js} +1 -1
- package/out/_next/static/chunks/19dp8nr4uygg2.js +5 -0
- package/out/_next/static/chunks/1_8acnu6_-qe-.js +1 -0
- package/out/_next/static/chunks/1__nujzr9e352.js +3 -0
- package/out/_next/static/chunks/1bmyq1b0by7ug.js +1 -0
- package/out/_next/static/chunks/{1wyr4at61q29n.js → 1ccn725by19i1.js} +1 -1
- package/out/_next/static/chunks/{0f_nv15a8q415.js → 1d1tpj9nm1nhf.js} +1 -1
- package/out/_next/static/chunks/1dfwa563iciz3.js +1 -0
- package/out/_next/static/chunks/1di5enkavl9vx.js +4 -0
- package/out/_next/static/chunks/{006nix8mv66z_.js → 1e_-_7biavwmb.js} +1 -1
- package/out/_next/static/chunks/{1y12bjsbq18_t.js → 1ephzzweysylq.js} +34 -34
- package/out/_next/static/chunks/1fwsjnd1y-lx_.js +1 -0
- package/out/_next/static/chunks/{2z9ot-w1x60fv.js → 1fyh50hjt7hi_.js} +1 -1
- package/out/_next/static/chunks/1gaexq_suxai0.js +1 -0
- package/out/_next/static/chunks/1gtj_l5ame5mw.js +1 -0
- package/out/_next/static/chunks/{1--aypw9o8yng.js → 1gvdmbr65lpud.js} +39 -39
- package/out/_next/static/chunks/{02tc9r3sc7fgc.js → 1ho02fc091nj2.js} +1 -1
- package/out/_next/static/chunks/{3v0td-ziuai2i.js → 1hsvckd0sgdgr.js} +1 -1
- package/out/_next/static/chunks/1i4f3n_2_3ery.js +1 -0
- package/out/_next/static/chunks/1j7e3qpjuj89a.js +1 -0
- package/out/_next/static/chunks/{2btqzk0tj0gz6.js → 1mrvp94tietcv.js} +1 -1
- package/out/_next/static/chunks/{3vxkkhs0vi_xa.js → 1mvadj46owrck.js} +1 -1
- package/out/_next/static/chunks/{1b2tkk7e_2o0k.js → 1n_gxvu31aofy.js} +2 -2
- package/out/_next/static/chunks/{0gblbgw7w7r9w.js → 1nasz7q3tvb53.js} +1 -1
- package/out/_next/static/chunks/{2_7dp91937mqi.js → 1ng-fqh2_n984.js} +1 -1
- package/out/_next/static/chunks/{0x4-zyy8pzmlq.js → 1nqojcig-0m3c.js} +1 -1
- package/out/_next/static/chunks/1o3ggu95lfu6i.js +1 -0
- package/out/_next/static/chunks/{2dolerz81xb52.js → 1og49_atcksim.js} +1 -1
- package/out/_next/static/chunks/{0c2k-gvwph4qs.js → 1oljzgz5jistn.js} +1 -1
- package/out/_next/static/chunks/1ozi46t8jajqh.js +1 -0
- package/out/_next/static/chunks/{1w9xu1qa9-wmv.js → 1ph0tfo-4hl-f.js} +1 -1
- package/out/_next/static/chunks/{17dmbt396_tyq.js → 1qjsgebn9m-0l.js} +1 -1
- package/out/_next/static/chunks/{168r9r65o9jnc.js → 1qsut_e3msg0l.js} +1 -1
- package/out/_next/static/chunks/{3efuvh_35yhes.js → 1qxhgauuomthl.js} +39 -39
- package/out/_next/static/chunks/{2w7yf7ouyrlkb.js → 1rb8wewjbdisv.js} +1 -1
- package/out/_next/static/chunks/1rr74xxjtckyv.js +1 -0
- package/out/_next/static/chunks/{1kl5xxohpr6-4.js → 1solqr18og2ot.js} +1 -1
- package/out/_next/static/chunks/{2rjc8yn50ducj.js → 1t2exh89lnazc.js} +34 -34
- package/out/_next/static/chunks/{0_ux41xcoea3u.js → 1t7nl8rx7mabd.js} +40 -40
- package/out/_next/static/chunks/{3fx3sriw1w3sa.js → 1tt1bbry-4f-6.js} +1 -1
- package/out/_next/static/chunks/{0ufakw529sr9d.js → 1upkv4ltuh3s5.js} +40 -40
- package/out/_next/static/chunks/{2npk7tr63h7rl.js → 1uu55ejvi7q5u.js} +1 -1
- package/out/_next/static/chunks/{2cvvxifoedn6j.js → 1ux1rpe-n1mai.js} +1 -1
- package/out/_next/static/chunks/{091ll-lp6spu3.js → 1vmpltnr0cyos.js} +1 -1
- package/out/_next/static/chunks/1x99m91nt1m3b.js +1 -0
- package/out/_next/static/chunks/1xbzxfeq9789f.js +1 -0
- package/out/_next/static/chunks/1ybiu-rkt50_1.js +1 -0
- package/out/_next/static/chunks/{3y9c26fv1poq_.js → 2-hdejef-mpka.js} +199 -199
- package/out/_next/static/chunks/{22qzld31fbhbv.js → 2-p206i_ihx09.js} +1 -1
- package/out/_next/static/chunks/{340pg0qkv5tqq.js → 20qelrstvz9_n.js} +1 -1
- package/out/_next/static/chunks/21at65obnoo8z.js +1 -0
- package/out/_next/static/chunks/21ko5mxfderw0.js +1 -0
- package/out/_next/static/chunks/21muzwu43o8xg.js +1 -0
- package/out/_next/static/chunks/{3he9bxsc67ivq.js → 22ja7c3gk0_ko.js} +1 -1
- package/out/_next/static/chunks/{0mqi0xn_c010j.js → 22rl_arnzs-ve.js} +1 -1
- package/out/_next/static/chunks/23d-hvrwpixpm.js +1 -0
- package/out/_next/static/chunks/{2yzui3v-besdu.js → 255knovck7pv2.js} +4 -4
- package/out/_next/static/chunks/2569rrrffvm2w.js +31 -0
- package/out/_next/static/chunks/{229mkx-mtfcgf.js → 25gf6xn9u1c57.js} +1 -1
- package/out/_next/static/chunks/{2vmybybb3dvia.js → 267q_eg-c6f6m.js} +1 -1
- package/out/_next/static/chunks/{0e7xuupmrw4-e.js → 28ndw4nsw2t_4.js} +1 -1
- package/out/_next/static/chunks/{0m3yjobjg36ce.js → 29gv2swsp7tzu.js} +1 -1
- package/out/_next/static/chunks/29o74k0d6hkdf.js +1 -0
- package/out/_next/static/chunks/{0kr-bd6fuqc2s.js → 2bm95r0011asw.js} +1 -1
- package/out/_next/static/chunks/2btabnibkm0db.js +1 -0
- package/out/_next/static/chunks/2c--awgkdcikq.js +1 -0
- package/out/_next/static/chunks/{2ab-99frxpah-.js → 2c2dspoukng-5.js} +1 -1
- package/out/_next/static/chunks/{0zo4x1j8ug-kb.js → 2e46-2ubc90do.js} +5 -5
- package/out/_next/static/chunks/2ep7mjbaoeou0.js +1 -0
- package/out/_next/static/chunks/{1kq86iv41cet4.js → 2ezgqm7atphi6.js} +1 -1
- package/out/_next/static/chunks/{1bv97vf67p_ri.js → 2ftp5xmq_w23j.js} +35 -35
- package/out/_next/static/chunks/{38g9jpxjoxn2x.js → 2g_1ov-0j2kwd.js} +1 -1
- package/out/_next/static/chunks/2gfjzq_vjea4w.js +1 -0
- package/out/_next/static/chunks/{1tdg_eolxlcdl.js → 2h5hase6ewoyc.js} +1 -1
- package/out/_next/static/chunks/{0m0n7kjzscx0y.js → 2h5nvlgky7fpa.js} +1 -1
- package/out/_next/static/chunks/{17dabmbnkkplu.js → 2i82rmjta9ijs.js} +1 -1
- package/out/_next/static/chunks/2ies66gmou203.js +1 -0
- package/out/_next/static/chunks/2jenu2eek9viz.js +1 -0
- package/out/_next/static/chunks/{3043pprgv9ors.js → 2khh_pmm224k5.js} +23 -23
- package/out/_next/static/chunks/2kv9_bt15v83g.js +1 -0
- package/out/_next/static/chunks/{0msckddycfy76.js → 2luaj_cf5f19-.js} +1 -1
- package/out/_next/static/chunks/2mgmvz66gh5ub.js +1 -0
- package/out/_next/static/chunks/2nwlqtv3vrzcv.js +1 -0
- package/out/_next/static/chunks/{18ss4ls60s31e.js → 2o8k8x5zcepfy.js} +1 -1
- package/out/_next/static/chunks/{1e1zozntzsx42.js → 2pbgsq7vvtk8_.js} +1 -1
- package/out/_next/static/chunks/{0b7-mrrg7ryj2.js → 2pcdnd4nzcw4c.js} +1 -1
- package/out/_next/static/chunks/2q0rz76kj6h5z.js +1 -0
- package/out/_next/static/chunks/{3w1a2o8nevap8.js → 2rjfrjhp4kjev.js} +18 -18
- package/out/_next/static/chunks/2si5cg3hl5dtf.js +4 -0
- package/out/_next/static/chunks/2uhrhq35bki6u.js +1 -0
- package/out/_next/static/chunks/{1l12hkz1g7uhf.js → 2ymtumj-hfrjo.js} +1 -1
- package/out/_next/static/chunks/{2yr9wt421xdjr.js → 2z9mdtudj8crz.js} +17 -17
- package/out/_next/static/chunks/{1iaxzjly2pap1.js → 2zdzgmacaoor9.js} +1 -1
- package/out/_next/static/chunks/{0mk8tangq9equ.js → 2zpn7010iqgsy.js} +1 -1
- package/out/_next/static/chunks/2zyjw8g4tiu51.js +1 -0
- package/out/_next/static/chunks/{2kn_dqzbyabtn.js → 3-_08i4_7yhno.js} +1 -1
- package/out/_next/static/chunks/3-irhmtm1q5qw.js +1 -0
- package/out/_next/static/chunks/3-k74vn9exnb6.js +1 -0
- package/out/_next/static/chunks/{18avgwx9nlxp9.js → 3-x7522okdy-7.js} +1 -1
- package/out/_next/static/chunks/{1ll0ta8a2qx1p.js → 309f81l5ucsb_.js} +16 -16
- package/out/_next/static/chunks/{1f1vq3goue1w4.js → 31ei992g8gqz9.js} +1 -1
- package/out/_next/static/chunks/{0i9oqg-xbq-a9.js → 32vaw89wdwv5_.js} +1 -1
- package/out/_next/static/chunks/34y7nx6qmat06.js +1 -0
- package/out/_next/static/chunks/{1f92k-xa0pl-3.js → 35aagg46wp139.js} +1 -1
- package/out/_next/static/chunks/36rqw8h6ildpl.js +1 -0
- package/out/_next/static/chunks/{0zwkmsojeuekb.js → 380ivzcfb4o_3.js} +4 -4
- package/out/_next/static/chunks/{01aeari2x_tlz.js → 3a_khw6q6pyh1.js} +1 -1
- package/out/_next/static/chunks/3c_31f20z4jrl.js +1 -0
- package/out/_next/static/chunks/3ckp70rgr63u9.js +1 -0
- package/out/_next/static/chunks/{08rk1dp1wb-gm.js → 3d76e_yd8l_0x.js} +38 -38
- package/out/_next/static/chunks/{2p8dbh81chhon.js → 3ed24zmt8qfys.js} +1 -1
- package/out/_next/static/chunks/3ez20hi1mxw0w.js +1 -0
- package/out/_next/static/chunks/3fdx-rnos5ft-.js +1 -0
- package/out/_next/static/chunks/3fgfbxxb-j_bn.js +4 -0
- package/out/_next/static/chunks/{03st_hmor6qju.js → 3go-mst7n3udd.js} +1 -1
- package/out/_next/static/chunks/{3d0ejsnhbzi-j.js → 3gyyjsot8mdav.js} +1 -1
- package/out/_next/static/chunks/{2t9zu9v_g9kr9.js → 3iwf5yeurp57i.js} +3 -3
- package/out/_next/static/chunks/{0rruvj1cyflrh.js → 3k-gz8qf-mj-p.js} +1 -1
- package/out/_next/static/chunks/{2enlv4yy0t-9j.js → 3kalvwsf11-ss.js} +12 -12
- package/out/_next/static/chunks/3lehc5pujwhsz.js +1 -0
- package/out/_next/static/chunks/{05l3dluxivcor.js → 3m0ytnc241yfz.js} +1 -1
- package/out/_next/static/chunks/3mpe7c3iyxn5h.js +1 -0
- package/out/_next/static/chunks/{0tl8j9f8lt0yf.js → 3mvaub8qjdyuc.js} +1 -1
- package/out/_next/static/chunks/{0k79ryqehst0b.js → 3n-7bcmfbh299.js} +48 -18
- package/out/_next/static/chunks/{38ea9kqlbxt86.js → 3nw7u4bie0-g6.js} +1 -1
- package/out/_next/static/chunks/3qatb38-tk_gd.js +1 -0
- package/out/_next/static/chunks/3tdcdi_utmoy_.js +1 -0
- package/out/_next/static/chunks/{3x6wpv_z5m6rz.js → 3tdzweqszru4y.js} +1 -1
- package/out/_next/static/chunks/3tt_ir_va6262.js +1 -0
- package/out/_next/static/chunks/{39lxb7c--3_2u.js → 3w4qettzp7khe.js} +32 -32
- package/out/_next/static/chunks/{2op88btas-hl8.js → 3w_umk1xtj6to.js} +1 -1
- package/out/_next/static/chunks/{1kmsg9ef5djl3.js → 3y_51bmdnc0ey.js} +1 -1
- package/out/_next/static/chunks/{1ajmblsp0wj0_.js → 3yr66ufoli71t.js} +1 -1
- package/out/_next/static/chunks/{348hdbpkkcq_2.js → 3z4suna4kq4j5.js} +20 -20
- package/out/_next/static/chunks/{1y20bv6vl4ylk.js → 41qxc142snm22.js} +1 -1
- package/out/_next/static/chunks/{404f_93w2e8ty.js → 41yy4p3-rtyz1.js} +1 -1
- package/out/_next/static/chunks/{3fz7tc-4j13uv.js → 425epvuw3yy-n.js} +21 -21
- package/out/_next/static/chunks/{1t60cososq7b0.js → 43hwl25uke0l_.js} +1 -1
- package/out/_next/static/chunks/43qmngblcab8f.js +1 -0
- package/out/_next/static/chunks/{2bn9u9r0rfhvc.js → 442e2l3jzxd-_.js} +1 -1
- package/out/_next/static/chunks/{turbopack-16ab30_1p4vhq.js → turbopack-3r8yn0j92tqw_.js} +1 -1
- package/out/_not-found/__next._full.txt +8 -8
- package/out/_not-found/__next._head.txt +4 -4
- package/out/_not-found/__next._index.txt +3 -3
- package/out/_not-found/__next._not-found.__PAGE__.txt +2 -2
- package/out/_not-found/__next._not-found.txt +3 -3
- package/out/_not-found/__next._tree.txt +1 -1
- package/out/_not-found.html +1 -1
- package/out/_not-found.txt +8 -8
- package/out/index.html +1 -1
- package/out/index.txt +10 -10
- package/package.json +10 -10
- package/out/_next/static/chunks/0-29qf-q72olu.js +0 -1
- package/out/_next/static/chunks/0-tk5ptli--r0.js +0 -1
- package/out/_next/static/chunks/0296l8lzd69ns.js +0 -1
- package/out/_next/static/chunks/04pk6n3z75dcy.js +0 -1
- package/out/_next/static/chunks/06m_64ysu9kn0.js +0 -1
- package/out/_next/static/chunks/09p5fltt7o3to.js +0 -1
- package/out/_next/static/chunks/0fxfsshoxnnh6.js +0 -4
- package/out/_next/static/chunks/0g6u34xkzrpjn.js +0 -1
- package/out/_next/static/chunks/0g7p8zp2kxve5.js +0 -1
- package/out/_next/static/chunks/0gwa154w_0wuh.js +0 -1
- package/out/_next/static/chunks/0h1o0cr3327tt.js +0 -1
- package/out/_next/static/chunks/0jf3n5n5yrr4o.js +0 -1
- package/out/_next/static/chunks/0k9-8s-jof_gw.js +0 -1
- package/out/_next/static/chunks/0kcbdjbdxu_wa.js +0 -1
- package/out/_next/static/chunks/0l3wwyl93sqh9.js +0 -1
- package/out/_next/static/chunks/0ngiuj5k-or6g.js +0 -1
- package/out/_next/static/chunks/0nx_t8iq-324h.js +0 -1
- package/out/_next/static/chunks/0oap0o8a8a_cl.js +0 -1
- package/out/_next/static/chunks/0ostjlqtwkhqr.js +0 -1
- package/out/_next/static/chunks/0vddljjnmozzx.js +0 -1
- package/out/_next/static/chunks/0w0sx062qmcsh.js +0 -1
- package/out/_next/static/chunks/0x6i6e6863tir.js +0 -1
- package/out/_next/static/chunks/1--kelnig7pxx.js +0 -1
- package/out/_next/static/chunks/1-ud6hztxiazp.js +0 -1
- package/out/_next/static/chunks/10v4rskkrjgd_.js +0 -1
- package/out/_next/static/chunks/117ys3lltfmcu.js +0 -1
- package/out/_next/static/chunks/13oqt2aoms4f6.js +0 -1
- package/out/_next/static/chunks/14klj_i6-l-10.js +0 -1
- package/out/_next/static/chunks/17ev44x54_jrd.js +0 -1
- package/out/_next/static/chunks/17svumd4o0qnc.js +0 -1
- package/out/_next/static/chunks/17v12p4sfraa0.js +0 -1
- package/out/_next/static/chunks/1a7cup181rjod.js +0 -1
- package/out/_next/static/chunks/1ek5rtpo6rxev.js +0 -1
- package/out/_next/static/chunks/1evp209qbr4cr.js +0 -5
- package/out/_next/static/chunks/1fa265388524p.js +0 -1
- package/out/_next/static/chunks/1g3z43o3h-024.js +0 -31
- package/out/_next/static/chunks/1g_27texazqcj.js +0 -1
- package/out/_next/static/chunks/1j--a56ji33_x.js +0 -1
- package/out/_next/static/chunks/1oara6fkfvgs3.js +0 -1
- package/out/_next/static/chunks/1par9m038tiov.js +0 -1
- package/out/_next/static/chunks/1vkww9l6lgqag.js +0 -1
- package/out/_next/static/chunks/1vpcaaf-0dn7q.js +0 -1
- package/out/_next/static/chunks/1vzmzrjhlm1q5.js +0 -1
- package/out/_next/static/chunks/1zcrrq1fx8g2y.js +0 -4
- package/out/_next/static/chunks/245h82k-g1nxr.js +0 -1
- package/out/_next/static/chunks/24cqjhy669845.js +0 -1
- package/out/_next/static/chunks/259xlbe69b9tc.js +0 -1
- package/out/_next/static/chunks/25ctnyh7njp-d.js +0 -4
- package/out/_next/static/chunks/286ggpetqnwyo.js +0 -3
- package/out/_next/static/chunks/28f1onw3nywbz.js +0 -1
- package/out/_next/static/chunks/28ycc-1519hl2.js +0 -1
- package/out/_next/static/chunks/2dhv35o59yzao.js +0 -1
- package/out/_next/static/chunks/2ey30qeaob985.js +0 -1
- package/out/_next/static/chunks/2f0r-df7tb3pu.js +0 -1
- package/out/_next/static/chunks/2gh4z57fem0_v.js +0 -1
- package/out/_next/static/chunks/2h1uw3cluvmmo.js +0 -1
- package/out/_next/static/chunks/2kje_jvmwsvwo.js +0 -1
- package/out/_next/static/chunks/2l_oqx9idxcs8.js +0 -1
- package/out/_next/static/chunks/2reukv9c7cq_9.js +0 -1
- package/out/_next/static/chunks/2vaoftqgc44cg.js +0 -1
- package/out/_next/static/chunks/2y75diyxqlhzl.js +0 -1
- package/out/_next/static/chunks/2zljunurdji0q.js +0 -1
- package/out/_next/static/chunks/34gp3hvr3j6um.js +0 -1
- package/out/_next/static/chunks/34rcp8qrbp522.js +0 -3
- package/out/_next/static/chunks/38wksra3d_k-4.js +0 -1
- package/out/_next/static/chunks/3ajhvedcs_lzb.js +0 -1
- package/out/_next/static/chunks/3bsvp8qhjqdu0.js +0 -1
- package/out/_next/static/chunks/3g4e2txsrb2p2.js +0 -1
- package/out/_next/static/chunks/3g_h_00xs9u59.js +0 -1
- package/out/_next/static/chunks/3hr-mlwi78nov.js +0 -1
- package/out/_next/static/chunks/3l6t8b3addlw7.js +0 -1
- package/out/_next/static/chunks/3mwoauxszd3mn.js +0 -1
- package/out/_next/static/chunks/3ovd8o_usay7j.js +0 -1
- package/out/_next/static/chunks/3pdpaqzwhhijn.js +0 -1
- package/out/_next/static/chunks/3pyggl13glbdc.js +0 -1
- package/out/_next/static/chunks/3rl45k759wfi1.js +0 -1
- package/out/_next/static/chunks/3urd7r018nel4.js +0 -1
- package/out/_next/static/chunks/3vaho-xrtuchd.js +0 -2
- package/out/_next/static/chunks/3wqs57qehored.js +0 -1
- package/out/_next/static/chunks/40acif2eh_unv.js +0 -1
- package/out/_next/static/chunks/413o2v11bygt5.js +0 -1
- package/out/_next/static/chunks/4227p7752rnny.js +0 -1
- package/out/_next/static/chunks/42oyfkhdvb-u3.js +0 -1
- /package/out/_next/static/{M5esRfAVlWSeBcfLV_jVr → yF_tmb8VExvESewet-_To}/_buildManifest.js +0 -0
- /package/out/_next/static/{M5esRfAVlWSeBcfLV_jVr → yF_tmb8VExvESewet-_To}/_clientMiddlewareManifest.js +0 -0
- /package/out/_next/static/{M5esRfAVlWSeBcfLV_jVr → yF_tmb8VExvESewet-_To}/_ssgManifest.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,47997,e=>{"use strict";var t=e.i(95410);class i{constructor(e,i,r,a){this.normal=new t.Vector3(e,i,r),this.d=a}asArray(){return[this.normal.x,this.normal.y,this.normal.z,this.d]}clone(){return new i(this.normal.x,this.normal.y,this.normal.z,this.d)}getClassName(){return"Plane"}getHashCode(){let e=this.normal.getHashCode();return 397*e^this.d}normalize(){let e=Math.sqrt(this.normal.x*this.normal.x+this.normal.y*this.normal.y+this.normal.z*this.normal.z),t=0;return 0!==e&&(t=1/e),this.normal.x*=t,this.normal.y*=t,this.normal.z*=t,this.d*=t,this}transform(e){let t=i._TmpMatrix;e.invertToRef(t);let r=t.m,a=this.normal.x,s=this.normal.y,n=this.normal.z,o=this.d;return new i(a*r[0]+s*r[1]+n*r[2]+o*r[3],a*r[4]+s*r[5]+n*r[6]+o*r[7],a*r[8]+s*r[9]+n*r[10]+o*r[11],a*r[12]+s*r[13]+n*r[14]+o*r[15])}dotCoordinate(e){return this.normal.x*e.x+this.normal.y*e.y+this.normal.z*e.z+this.d}copyFromPoints(e,t,i){let r,a=t.x-e.x,s=t.y-e.y,n=t.z-e.z,o=i.x-e.x,l=i.y-e.y,h=i.z-e.z,c=s*h-n*l,d=n*o-a*h,u=a*l-s*o,_=Math.sqrt(c*c+d*d+u*u);return r=0!==_?1/_:0,this.normal.x=c*r,this.normal.y=d*r,this.normal.z=u*r,this.d=-(this.normal.x*e.x+this.normal.y*e.y+this.normal.z*e.z),this}isFrontFacingTo(e,i){return t.Vector3.Dot(this.normal,e)<=i}signedDistanceTo(e){return t.Vector3.Dot(e,this.normal)+this.d}static FromArray(e){return new i(e[0],e[1],e[2],e[3])}static FromPoints(e,t,r){let a=new i(0,0,0,0);return a.copyFromPoints(e,t,r),a}static FromPositionAndNormal(e,t){let r=new i(0,0,0,0);return this.FromPositionAndNormalToRef(e,t,r)}static FromPositionAndNormalToRef(e,t,i){return i.normal.copyFrom(t),i.normal.normalize(),i.d=-e.dot(i.normal),i}static SignedDistanceToPlaneFromPositionAndNormal(e,i,r){let a=-(i.x*e.x+i.y*e.y+i.z*e.z);return t.Vector3.Dot(r,i)+a}}i._TmpMatrix=t.Matrix.Identity(),e.s(["Plane",0,i])},88645,e=>{"use strict";e.s(["useOpenGLOrientationForUV",()=>!1])},71615,74308,e=>{"use strict";var t=e.i(85595),i=e.i(53773),r=e.i(90176),a=e.i(95410),s=e.i(88048),n=e.i(38116),o=e.i(33945),l=e.i(49097),h=e.i(79488),c=e.i(47997),d=e.i(26225);function u(e,t,i=!1){let r=t.width,a=t.height;if(e instanceof Float32Array){let t=e.byteLength/e.BYTES_PER_ELEMENT,i=new Uint8Array(t);for(;--t>=0;){let r=e[t];r<0?r=0:r>1&&(r=1),i[t]=255*r}e=i}let s=document.createElement("canvas");s.width=r,s.height=a;let n=s.getContext("2d");if(!n)return null;let o=n.createImageData(r,a);if(o.data.set(e),n.putImageData(o,0,0),i){let e=document.createElement("canvas");e.width=r,e.height=a;let t=e.getContext("2d");return t?(t.translate(0,a),t.scale(1,-1),t.drawImage(s,0,0),e.toDataURL("image/png")):null}return s.toDataURL("image/png")}function _(e,t=0,i=0){let r=e.getInternalTexture();if(!r)return null;let a=e._readPixelsSync(t,i);return a?u(a,e.getSize(),r.invertY):null}async function f(e,t=0,i=0){let r=e.getInternalTexture();if(!r)return null;let a=await e.readPixels(t,i);return a?u(a,e.getSize(),r.invertY):null}e.s(["GenerateBase64StringFromTexture",0,_,"GenerateBase64StringFromTextureAsync",0,f],74308);var m=e.i(88645),T=e.i(68401);class p extends s.BaseTexture{static _CreateVideoTexture(e,t,i,r=!1,a=!1,s=p.TRILINEAR_SAMPLINGMODE,n={},l,h=5){throw(0,o._WarnImport)("VideoTexture")}get noMipmap(){return this._noMipmap}get mimeType(){return this._mimeType}set isBlocking(e){this._isBlocking=e}get isBlocking(){return this._isBlocking}get invertY(){return this._invertY}constructor(e,t,i,a,s=p.TRILINEAR_SAMPLINGMODE,n=null,o=null,h=null,c=!1,d,u,_,f,T){let g;super(t),this.url=null,this.uOffset=0,this.vOffset=0,this.uScale=1,this.vScale=1,this.uAng=0,this.vAng=0,this.wAng=0,this.uRotationCenter=.5,this.vRotationCenter=.5,this.wRotationCenter=.5,this.homogeneousRotationInUVTransform=!1,this.inspectableCustomProperties=null,this._noMipmap=!1,this._invertY=!1,this._rowGenerationMatrix=null,this._cachedTextureMatrix=null,this._projectionModeMatrix=null,this._t0=null,this._t1=null,this._t2=null,this._cachedUOffset=-1,this._cachedVOffset=-1,this._cachedUScale=0,this._cachedVScale=0,this._cachedUAng=-1,this._cachedVAng=-1,this._cachedWAng=-1,this._cachedReflectionProjectionMatrixId=-1,this._cachedURotationCenter=-1,this._cachedVRotationCenter=-1,this._cachedWRotationCenter=-1,this._cachedHomogeneousRotationInUVTransform=!1,this._cachedIdentity3x2=!0,this._cachedReflectionTextureMatrix=null,this._cachedReflectionUOffset=-1,this._cachedReflectionVOffset=-1,this._cachedReflectionUScale=0,this._cachedReflectionVScale=0,this._cachedReflectionCoordinatesMode=-1,this._buffer=null,this._deleteBuffer=!1,this._format=null,this._delayedOnLoad=null,this._delayedOnError=null,this.onLoadObservable=new r.Observable,this._isBlocking=!0,this.name=e||"",this.url=e;let R=!1,x=null,M=!0;"object"==typeof i&&null!==i?(g=i.noMipmap??!1,a=i.invertY??!m.useOpenGLOrientationForUV,s=i.samplingMode??p.TRILINEAR_SAMPLINGMODE,n=i.onLoad??null,o=i.onError??null,h=i.buffer??null,c=i.deleteBuffer??!1,d=i.format,u=i.mimeType,_=i.loaderOptions,f=i.creationFlags,R=i.useSRGBBuffer??!1,x=i.internalTexture??null,M=i.gammaSpace??M,T=i.forcedExtension??T):g=!!i,this._gammaSpace=M,this._noMipmap=g,this._invertY=void 0===a?!m.useOpenGLOrientationForUV:a,this._initialSamplingMode=s,this._buffer=h,this._deleteBuffer=c,this._mimeType=u,this._loaderOptions=_,this._creationFlags=f,this._useSRGBBuffer=R,this._forcedExtension=T,void 0!==d&&(this._format=d);const A=this.getScene(),S=this._getEngine();if(!S)return;S.onBeforeTextureInitObservable.notifyObservers(this);const E=()=>{this._texture&&(this._texture._invertVScale&&(this.vScale*=-1,this.vOffset+=1),null!==this._texture._cachedWrapU&&(this.wrapU=this._texture._cachedWrapU,this._texture._cachedWrapU=null),null!==this._texture._cachedWrapV&&(this.wrapV=this._texture._cachedWrapV,this._texture._cachedWrapV=null),null!==this._texture._cachedWrapR&&(this.wrapR=this._texture._cachedWrapR,this._texture._cachedWrapR=null)),this.onLoadObservable.hasObservers()&&this.onLoadObservable.notifyObservers(this),n&&n(),!this.isBlocking&&A&&A.resetCachedMaterial()},y=(e,t)=>{this._loadingError=!0,this._errorObject={message:e,exception:t},o&&o(e,t),p.OnTextureLoadErrorObservable.notifyObservers(this)};if(!this.url&&!x){this._delayedOnLoad=E,this._delayedOnError=y;return}if(this._texture=x??this._getFromCache(this.url,g,s,this._invertY,R,this.isCube),this._texture)if(this._texture.isReady)l.TimingTools.SetImmediate(()=>E());else{const e=this._texture.onLoadedObservable.add(E);this._texture.onErrorObservable.add(t=>{y(t.message,t.exception),this._texture?.onLoadedObservable.remove(e)})}else if(A&&A.useDelayedTextureLoading)this.delayLoadState=4,this._delayedOnLoad=E,this._delayedOnError=y;else{try{this._texture=S.createTexture(this.url,g,this._invertY,A,s,E,y,this._buffer,void 0,this._format,this._forcedExtension,u,_,f,R)}catch(e){throw y("error loading",e),e}c&&(this._buffer=null)}}updateURL(e,t=null,i,r){this.url&&(this.releaseInternalTexture(),this.getScene().markAllMaterialsAsDirty(1,e=>e.hasTexture(this))),(!this.name||this.name.startsWith("data:"))&&(this.name=e),this.url=e,this._buffer=t,this._forcedExtension=r,this.delayLoadState=4;let a=this._delayedOnLoad,s=()=>{a?a():this.onLoadObservable.hasObservers()&&this.onLoadObservable.notifyObservers(this),i&&i()};this._delayedOnLoad=s,this.delayLoad()}delayLoad(){if(4!==this.delayLoadState)return;let e=this.getScene();if(!e)return;let t=this.url;!t&&(this.name.indexOf("://")>0||this.name.startsWith("data:"))&&(t=this.name),this.delayLoadState=1,this._texture=this._getFromCache(t,this._noMipmap,this.samplingMode,this._invertY,this._useSRGBBuffer,this.isCube),this._texture?this._delayedOnLoad&&(this._texture.isReady?l.TimingTools.SetImmediate(this._delayedOnLoad):this._texture.onLoadedObservable.add(this._delayedOnLoad)):(this._texture=e.getEngine().createTexture(t,this._noMipmap,this._invertY,e,this.samplingMode,this._delayedOnLoad,this._delayedOnError,this._buffer,null,this._format,this._forcedExtension,this._mimeType,this._loaderOptions,this._creationFlags,this._useSRGBBuffer),this._deleteBuffer&&(this._buffer=null)),this._delayedOnLoad=null,this._delayedOnError=null}_prepareRowForTextureGeneration(e,t,i,r){e*=this._cachedUScale,t*=this._cachedVScale,e-=this.uRotationCenter*this._cachedUScale,t-=this.vRotationCenter*this._cachedVScale,i-=this.wRotationCenter,a.Vector3.TransformCoordinatesFromFloatsToRef(e,t,i,this._rowGenerationMatrix,r),r.x+=this.uRotationCenter*this._cachedUScale+this._cachedUOffset,r.y+=this.vRotationCenter*this._cachedVScale+this._cachedVOffset,r.z+=this.wRotationCenter}getTextureMatrix(e=1){if(this.uOffset===this._cachedUOffset&&this.vOffset===this._cachedVOffset&&this.uScale*e===this._cachedUScale&&this.vScale===this._cachedVScale&&this.uAng===this._cachedUAng&&this.vAng===this._cachedVAng&&this.wAng===this._cachedWAng&&this.uRotationCenter===this._cachedURotationCenter&&this.vRotationCenter===this._cachedVRotationCenter&&this.wRotationCenter===this._cachedWRotationCenter&&this.homogeneousRotationInUVTransform===this._cachedHomogeneousRotationInUVTransform)return this._cachedTextureMatrix;this._cachedUOffset=this.uOffset,this._cachedVOffset=this.vOffset,this._cachedUScale=this.uScale*e,this._cachedVScale=this.vScale,this._cachedUAng=this.uAng,this._cachedVAng=this.vAng,this._cachedWAng=this.wAng,this._cachedURotationCenter=this.uRotationCenter,this._cachedVRotationCenter=this.vRotationCenter,this._cachedWRotationCenter=this.wRotationCenter,this._cachedHomogeneousRotationInUVTransform=this.homogeneousRotationInUVTransform,this._cachedTextureMatrix&&this._rowGenerationMatrix||(this._cachedTextureMatrix=a.Matrix.Zero(),this._rowGenerationMatrix=new a.Matrix,this._t0=a.Vector3.Zero(),this._t1=a.Vector3.Zero(),this._t2=a.Vector3.Zero()),a.Matrix.RotationYawPitchRollToRef(this.vAng,this.uAng,this.wAng,this._rowGenerationMatrix),this.homogeneousRotationInUVTransform?(a.Matrix.TranslationToRef(-this._cachedURotationCenter,-this._cachedVRotationCenter,-this._cachedWRotationCenter,a.TmpVectors.Matrix[0]),a.Matrix.TranslationToRef(this._cachedURotationCenter,this._cachedVRotationCenter,this._cachedWRotationCenter,a.TmpVectors.Matrix[1]),a.Matrix.ScalingToRef(this._cachedUScale,this._cachedVScale,0,a.TmpVectors.Matrix[2]),a.Matrix.TranslationToRef(this._cachedUOffset,this._cachedVOffset,0,a.TmpVectors.Matrix[3]),a.TmpVectors.Matrix[0].multiplyToRef(this._rowGenerationMatrix,this._cachedTextureMatrix),this._cachedTextureMatrix.multiplyToRef(a.TmpVectors.Matrix[1],this._cachedTextureMatrix),this._cachedTextureMatrix.multiplyToRef(a.TmpVectors.Matrix[2],this._cachedTextureMatrix),this._cachedTextureMatrix.multiplyToRef(a.TmpVectors.Matrix[3],this._cachedTextureMatrix),this._cachedTextureMatrix.setRowFromFloats(2,this._cachedTextureMatrix.m[12],this._cachedTextureMatrix.m[13],this._cachedTextureMatrix.m[14],1)):(this._prepareRowForTextureGeneration(0,0,0,this._t0),this._prepareRowForTextureGeneration(1,0,0,this._t1),this._prepareRowForTextureGeneration(0,1,0,this._t2),this._t1.subtractInPlace(this._t0),this._t2.subtractInPlace(this._t0),a.Matrix.FromValuesToRef(this._t1.x,this._t1.y,this._t1.z,0,this._t2.x,this._t2.y,this._t2.z,0,this._t0.x,this._t0.y,this._t0.z,0,0,0,0,1,this._cachedTextureMatrix));let t=this.getScene();if(!t)return this._cachedTextureMatrix;let i=this._cachedIdentity3x2;return this._cachedIdentity3x2=this._cachedTextureMatrix.isIdentityAs3x2(),this.optimizeUVAllocation&&i!==this._cachedIdentity3x2&&t.markAllMaterialsAsDirty(1,e=>e.hasTexture(this)),this._cachedTextureMatrix}getReflectionTextureMatrix(){let e=this.getScene();if(!e)return this._cachedReflectionTextureMatrix;if(this.uOffset===this._cachedReflectionUOffset&&this.vOffset===this._cachedReflectionVOffset&&this.uScale===this._cachedReflectionUScale&&this.vScale===this._cachedReflectionVScale&&this.coordinatesMode===this._cachedReflectionCoordinatesMode){if(this.coordinatesMode!==p.PROJECTION_MODE)return this._cachedReflectionTextureMatrix;else if(this._cachedReflectionProjectionMatrixId===e.getProjectionMatrix().updateFlag)return this._cachedReflectionTextureMatrix}this._cachedReflectionTextureMatrix||(this._cachedReflectionTextureMatrix=a.Matrix.Zero()),this._projectionModeMatrix||(this._projectionModeMatrix=a.Matrix.Zero());let t=this._cachedReflectionCoordinatesMode!==this.coordinatesMode;switch(this._cachedReflectionUOffset=this.uOffset,this._cachedReflectionVOffset=this.vOffset,this._cachedReflectionUScale=this.uScale,this._cachedReflectionVScale=this.vScale,this._cachedReflectionCoordinatesMode=this.coordinatesMode,this.coordinatesMode){case p.PLANAR_MODE:a.Matrix.IdentityToRef(this._cachedReflectionTextureMatrix),this._cachedReflectionTextureMatrix[0]=this.uScale,this._cachedReflectionTextureMatrix[5]=this.vScale,this._cachedReflectionTextureMatrix[12]=this.uOffset,this._cachedReflectionTextureMatrix[13]=this.vOffset;break;case p.PROJECTION_MODE:{a.Matrix.FromValuesToRef(.5,0,0,0,0,-.5,0,0,0,0,0,0,.5,.5,1,1,this._projectionModeMatrix);let t=e.getProjectionMatrix();this._cachedReflectionProjectionMatrixId=t.updateFlag,t.multiplyToRef(this._projectionModeMatrix,this._cachedReflectionTextureMatrix);break}default:a.Matrix.IdentityToRef(this._cachedReflectionTextureMatrix)}return t&&e.markAllMaterialsAsDirty(1,e=>e.hasTexture(this)),this._cachedReflectionTextureMatrix}clone(){let e={noMipmap:this._noMipmap,invertY:this._invertY,samplingMode:this.samplingMode,onLoad:void 0,onError:void 0,buffer:this._texture?this._texture._buffer:void 0,deleteBuffer:this._deleteBuffer,format:this.textureFormat,mimeType:this.mimeType,loaderOptions:this._loaderOptions,creationFlags:this._creationFlags,useSRGBBuffer:this._useSRGBBuffer};return T.SerializationHelper.Clone(()=>new p(this._texture?this._texture.url:null,this.getScene(),e),this)}serialize(){let e=this.name;!p.SerializeBuffers&&this.name.startsWith("data:")&&(this.name=""),this.name.startsWith("data:")&&this.url===this.name&&(this.url="");let t=super.serialize(p._SerializeInternalTextureUniqueId);if(!t)return null;if(p.SerializeBuffers||p.ForceSerializeBuffers)if("string"==typeof this._buffer&&this._buffer.startsWith("data:"))t.base64String=this._buffer,t.name=t.name.replace("data:","");else if(this.url&&this.url.startsWith("data:")&&this._buffer instanceof Uint8Array){let e=this.mimeType||"image/png";t.base64String=`data:${e};base64,${(0,d.EncodeArrayBufferToBase64)(this._buffer)}`}else(p.ForceSerializeBuffers||this.url&&this.url.startsWith("blob:")||this._forceSerialize)&&(t.base64String=!this._engine||this._engine._features.supportSyncTextureRead?_(this):f(this));return t.invertY=this._invertY,t.samplingMode=this.samplingMode,t._creationFlags=this._creationFlags,t._useSRGBBuffer=this._useSRGBBuffer,p._SerializeInternalTextureUniqueId&&(t.internalTextureUniqueId=this._texture?.uniqueId),t.internalTextureLabel=this._texture?.label,t.noMipmap=this._noMipmap,this.name=e,t}getClassName(){return"Texture"}dispose(){super.dispose(),this.onLoadObservable.clear(),this._delayedOnLoad=null,this._delayedOnError=null,this._buffer=null}static Parse(e,t,i){let r;if(e.customType){let r=h.InstantiationTools.Instantiate(e.customType).Parse(e,t,i);return e.samplingMode&&r.updateSamplingMode&&r._samplingMode&&r._samplingMode!==e.samplingMode&&r.updateSamplingMode(e.samplingMode),r}if(e.isCube&&!e.isRenderTarget)return p._CubeTextureParser(e,t,i);let a=void 0!==e.internalTextureUniqueId;if(!e.name&&!e.isRenderTarget&&!a)return null;if(a){for(let i of t.getEngine().getLoadedTexturesCache())if(i.uniqueId===e.internalTextureUniqueId){r=i;break}}let s=t=>{if(t&&t._texture&&(t._texture._cachedWrapU=null,t._texture._cachedWrapV=null,t._texture._cachedWrapR=null),e.samplingMode){let i=e.samplingMode;t&&t.samplingMode!==i&&t.updateSamplingMode(i)}if(t&&e.animations)for(let i=0;i<e.animations.length;i++){let r=e.animations[i],a=(0,n.GetClass)("BABYLON.Animation");a&&t.animations.push(a.Parse(r))}t&&t._texture&&(a&&!r&&t._texture._setUniqueId(e.internalTextureUniqueId),t._texture.label=e.internalTextureLabel)};return T.SerializationHelper.Parse(()=>{let a=!0;if(e.noMipmap&&(a=!1),e.mirrorPlane){let i=p._CreateMirror(e.name,e.renderTargetSize,t,a);return i._waitingRenderList=e.renderList,i.mirrorPlane=c.Plane.FromArray(e.mirrorPlane),s(i),i}if(e.isRenderTarget&&!e.base64String){let i=null;if(e.isCube){if(t.reflectionProbes)for(let i=0;i<t.reflectionProbes.length;i++){let r=t.reflectionProbes[i];if(r.name===e.name)return r.cubeTexture}}else(i=p._CreateRenderTargetTexture(e.name,e.renderTargetSize,t,a,e._creationFlags??0))._waitingRenderList=e.renderList;return s(i),i}if(e.isVideo){let r=p._CreateVideoTexture(i+(e.url||e.name),i+(e.src||e.url),t,a,e.invertY,e.samplingMode,e.settings||{});return s(r),r}{let n;if("string"==typeof e.base64String&&e.base64String&&!r){let i={buffer:e.base64String,noMipmap:!a,invertY:e.invertY,samplingMode:e.samplingMode,useSRGBBuffer:e._useSRGBBuffer??!1,creationFlags:e._creationFlags??0,onLoad:()=>{s(n)}},r=e.base64String,o=r.startsWith("data:")?r.substring(5):r;(n=p.CreateFromBase64String("",o,t,i)).name=e.name}else{let o;o=e.name&&(e.name.indexOf("://")>0||e.name.startsWith("data:"))?e.name:i+e.name,e.url&&(e.url.startsWith("data:")||p.UseSerializedUrlIfAny)&&(o=e.url),n=new p(o,t,{noMipmap:!a,invertY:e.invertY,samplingMode:e.samplingMode,useSRGBBuffer:e._useSRGBBuffer??!1,creationFlags:e._creationFlags??0,onLoad:()=>{s(n)},internalTexture:r})}return n}},e,t)}static CreateFromBase64String(e,t,i,r,a,s=p.TRILINEAR_SAMPLINGMODE,n=null,o=null,l=5,h,c){return new p("data:"+t,i,r,a,s,n,o,e,!1,l,void 0,void 0,h,c)}static LoadFromDataString(e,t,i,r=!1,a,s=!0,n=p.TRILINEAR_SAMPLINGMODE,o=null,l=null,h=5,c,d){return"data:"!==e.substring(0,5)&&(e="data:"+e),new p(e,i,a,s,n,o,l,t,r,h,void 0,void 0,c,d)}}p.SerializeBuffers=!0,p.ForceSerializeBuffers=!1,p.OnTextureLoadErrorObservable=new r.Observable,p._SerializeInternalTextureUniqueId=!1,p._CubeTextureParser=(e,t,i)=>{throw(0,o._WarnImport)("CubeTexture")},p._CreateMirror=(e,t,i,r)=>{throw(0,o._WarnImport)("MirrorTexture")},p._CreateRenderTargetTexture=(e,t,i,r,a)=>{throw(0,o._WarnImport)("RenderTargetTexture")},p.NEAREST_SAMPLINGMODE=1,p.NEAREST_NEAREST_MIPLINEAR=8,p.BILINEAR_SAMPLINGMODE=2,p.LINEAR_LINEAR_MIPNEAREST=11,p.TRILINEAR_SAMPLINGMODE=3,p.LINEAR_LINEAR_MIPLINEAR=3,p.NEAREST_NEAREST_MIPNEAREST=4,p.NEAREST_LINEAR_MIPNEAREST=5,p.NEAREST_LINEAR_MIPLINEAR=6,p.NEAREST_LINEAR=7,p.NEAREST_NEAREST=1,p.LINEAR_NEAREST_MIPNEAREST=9,p.LINEAR_NEAREST_MIPLINEAR=10,p.LINEAR_LINEAR=2,p.LINEAR_NEAREST=12,p.EXPLICIT_MODE=0,p.SPHERICAL_MODE=1,p.PLANAR_MODE=2,p.CUBIC_MODE=3,p.PROJECTION_MODE=4,p.SKYBOX_MODE=5,p.INVCUBIC_MODE=6,p.EQUIRECTANGULAR_MODE=7,p.FIXED_EQUIRECTANGULAR_MODE=8,p.FIXED_EQUIRECTANGULAR_MIRRORED_MODE=9,p.CLAMP_ADDRESSMODE=0,p.WRAP_ADDRESSMODE=1,p.MIRROR_ADDRESSMODE=2,p.UseSerializedUrlIfAny=!1,(0,t.__decorate)([(0,i.serialize)()],p.prototype,"url",void 0),(0,t.__decorate)([(0,i.serialize)()],p.prototype,"uOffset",void 0),(0,t.__decorate)([(0,i.serialize)()],p.prototype,"vOffset",void 0),(0,t.__decorate)([(0,i.serialize)()],p.prototype,"uScale",void 0),(0,t.__decorate)([(0,i.serialize)()],p.prototype,"vScale",void 0),(0,t.__decorate)([(0,i.serialize)()],p.prototype,"uAng",void 0),(0,t.__decorate)([(0,i.serialize)()],p.prototype,"vAng",void 0),(0,t.__decorate)([(0,i.serialize)()],p.prototype,"wAng",void 0),(0,t.__decorate)([(0,i.serialize)()],p.prototype,"uRotationCenter",void 0),(0,t.__decorate)([(0,i.serialize)()],p.prototype,"vRotationCenter",void 0),(0,t.__decorate)([(0,i.serialize)()],p.prototype,"wRotationCenter",void 0),(0,t.__decorate)([(0,i.serialize)()],p.prototype,"homogeneousRotationInUVTransform",void 0),(0,t.__decorate)([(0,i.serialize)()],p.prototype,"isBlocking",null);let g=!1;e.s(["RegisterTexture",0,function(){g||(g=!0,(0,n.RegisterClass)("BABYLON.Texture",p),T.SerializationHelper._TextureParser=p.Parse)},"Texture",0,p],71615)},66106,e=>{"use strict";var t,i,r=e.i(13856),a=e.i(80434),s=e.i(71615),n=e.i(93298);function o(){let e=null;onmessage=t=>{if("init"===t.data.action){if(t.data.url)try{importScripts(t.data.url)}catch(e){postMessage({action:"error",error:e})}e||(e=BASIS({wasmBinary:t.data.wasmBinary})),null!==e&&e.then(e=>{BASIS=e,e.initializeBasis(),postMessage({action:"init"})})}else if("transcode"===t.data.action){var i,r;let e,a=t.data.config,s=t.data.imageData,n=new BASIS.BasisFile(s),o=function(e){let t=e.getHasAlpha(),i=e.getNumImages(),r=[];for(let t=0;t<i;t++){let i={levels:[]},a=e.getNumLevels(t);for(let r=0;r<a;r++){let a={width:e.getImageWidth(t,r),height:e.getImageHeight(t,r)};i.levels.push(a)}r.push(i)}return{hasAlpha:t,images:r}}(n),l=t.data.ignoreSupportedFormats?null:(i=t.data.config,r=o,e=null,i.supportedCompressionFormats&&(e=i.supportedCompressionFormats.astc?10:i.supportedCompressionFormats.bc7?6:i.supportedCompressionFormats.s3tc?r.hasAlpha?3:2:i.supportedCompressionFormats.pvrtc?r.hasAlpha?9:8:i.supportedCompressionFormats.etc2?1:14*!i.supportedCompressionFormats.etc1),e),h=!1;null===l&&(h=!0,l=o.hasAlpha?3:2);let c=!0;n.startTranscoding()||(c=!1);let d=[];for(let e=0;e<o.images.length&&c;e++){let t=o.images[e];if(void 0===a.loadSingleImage||a.loadSingleImage===e){let i=t.levels.length;!1===a.loadMipmapLevels&&(i=1);for(let r=0;r<i;r++){let i=t.levels[r],a=function(e,t,i,r,a){let s=new Uint8Array(e.getImageTranscodedSizeInBytes(t,i,r));return e.transcodeImage(s,t,i,r,1,0)?(a&&(s=function(e,t,i){let r=new Uint16Array(4),a=new Uint16Array(t*i),s=t/4,n=i/4;for(let i=0;i<n;i++)for(let n=0;n<s;n++){let o=0+8*(i*s+n);r[0]=e[o]|e[o+1]<<8,r[1]=e[o+2]|e[o+3]<<8,r[2]=(2*(31&r[0])+ +(31&r[1]))/3|(2*(2016&r[0])+ +(2016&r[1]))/3&2016|(2*(63488&r[0])+ +(63488&r[1]))/3&63488,r[3]=(2*(31&r[1])+ +(31&r[0]))/3|(2*(2016&r[1])+ +(2016&r[0]))/3&2016|(2*(63488&r[1])+ +(63488&r[0]))/3&63488;for(let s=0;s<4;s++){let l=e[o+4+s],h=(4*i+s)*t+4*n;a[h++]=r[3&l],a[h++]=r[l>>2&3],a[h++]=r[l>>4&3],a[h]=r[l>>6&3]}}return a}(s,e.getImageWidth(t,i)+3&-4,e.getImageHeight(t,i)+3&-4)),s):null}(n,e,r,l,h);if(!a){c=!1;break}i.transcodedPixels=a,d.push(i.transcodedPixels.buffer)}}}n.close(),n.delete(),h&&(l=-1),c?postMessage({action:"transcode",success:c,id:t.data.id,fileInfo:o,format:l},d):postMessage({action:"transcode",success:c,id:t.data.id})}}}async function l(e,t,i){return await new Promise((a,s)=>{let n=t=>{"init"===t.data.action?(e.removeEventListener("message",n),a(e)):"error"===t.data.action&&s(t.data.error||"error initializing worker")};e.addEventListener("message",n),e.postMessage({action:"init",url:i?r.Tools.GetBabylonScriptURL(i):void 0,wasmBinary:t},[t])})}(t=i||(i={}))[t.cTFETC1=0]="cTFETC1",t[t.cTFETC2=1]="cTFETC2",t[t.cTFBC1=2]="cTFBC1",t[t.cTFBC3=3]="cTFBC3",t[t.cTFBC4=4]="cTFBC4",t[t.cTFBC5=5]="cTFBC5",t[t.cTFBC7=6]="cTFBC7",t[t.cTFPVRTC1_4_RGB=8]="cTFPVRTC1_4_RGB",t[t.cTFPVRTC1_4_RGBA=9]="cTFPVRTC1_4_RGBA",t[t.cTFASTC_4x4=10]="cTFASTC_4x4",t[t.cTFATC_RGB=11]="cTFATC_RGB",t[t.cTFATC_RGBA_INTERPOLATED_ALPHA=12]="cTFATC_RGBA_INTERPOLATED_ALPHA",t[t.cTFRGBA32=13]="cTFRGBA32",t[t.cTFRGB565=14]="cTFRGB565",t[t.cTFBGR565=15]="cTFBGR565",t[t.cTFRGBA4444=16]="cTFRGBA4444",t[t.cTFFXT1_RGB=17]="cTFFXT1_RGB",t[t.cTFPVRTC2_4_RGB=18]="cTFPVRTC2_4_RGB",t[t.cTFPVRTC2_4_RGBA=19]="cTFPVRTC2_4_RGBA",t[t.cTFETC2_EAC_R11=20]="cTFETC2_EAC_R11",t[t.cTFETC2_EAC_RG11=21]="cTFETC2_EAC_RG11";let h={JSModuleURL:`${r.Tools._DefaultCdnUrl}/basisTranscoder/1/basis_transcoder.js`,WasmModuleURL:`${r.Tools._DefaultCdnUrl}/basisTranscoder/1/basis_transcoder.wasm`},c=null,d=null,u=0,_=async()=>(c||(c=new Promise((e,t)=>{d?e(d):r.Tools.LoadFileAsync(r.Tools.GetBabylonScriptURL(h.WasmModuleURL)).then(i=>{if("function"!=typeof URL)return t("Basis transcoder requires an environment with a URL constructor");l(d=new Worker(URL.createObjectURL(new Blob([`(${o})()`],{type:"application/javascript"}))),i,h.JSModuleURL).then(e,t)}).catch(t)})),await c),f=async(e,t)=>{let i=e instanceof ArrayBuffer?new Uint8Array(e):e;return await new Promise((e,r)=>{_().then(()=>{let a=u++,s=t=>{"transcode"===t.data.action&&t.data.id===a&&(d.removeEventListener("message",s),t.data.success?e(t.data):r("Transcode is not supported on this device"))};d.addEventListener("message",s);let n=new Uint8Array(i.byteLength);n.set(new Uint8Array(i.buffer,i.byteOffset,i.byteLength)),d.postMessage({action:"transcode",id:a,imageData:n,config:t,ignoreSupportedFormats:!1},[n.buffer])},e=>{r(e)})})},m=(e,t)=>{let i=t._gl?.TEXTURE_2D;e.isCube&&(i=t._gl?.TEXTURE_CUBE_MAP),t._bindTextureDirectly(i,e,!0)},T=(e,t)=>{let r=e.getEngine();for(let o=0;o<t.fileInfo.images.length;o++){let l=t.fileInfo.images[o].levels[0];if(e._invertVScale=e.invertY,-1===t.format||t.format===i.cTFRGB565)if(e.type=10,e.format=4,r._features.basisNeedsPOT&&(Math.log2(l.width)%1!=0||Math.log2(l.height)%1!=0)){let t=new n.InternalTexture(r,2);e._invertVScale=e.invertY,t.type=10,t.format=4,t.width=l.width+3&-4,t.height=l.height+3&-4,m(t,r),r._uploadDataToTextureDirectly(t,new Uint16Array(l.transcodedPixels.buffer),o,0,4,!0),r._rescaleTexture(t,e,r.scenes[0],r._getInternalFormat(4),()=>{r._releaseTexture(t),m(e,r)})}else e._invertVScale=!e.invertY,e.width=l.width+3&-4,e.height=l.height+3&-4,e.samplingMode=2,m(e,r),r._uploadDataToTextureDirectly(e,new Uint16Array(l.transcodedPixels.buffer),o,0,4,!0);else{e.width=l.width,e.height=l.height,e.generateMipMaps=t.fileInfo.images[o].levels.length>1;let i=p.GetInternalFormatFromBasisFormat(t.format,r);e.format=i,m(e,r);let n=t.fileInfo.images[o].levels;for(let t=0;t<n.length;t++){let a=n[t];r._uploadCompressedDataToTextureDirectly(e,i,a.width,a.height,a.transcodedPixels,o,t)}r._features.basisNeedsPOT&&(Math.log2(e.width)%1!=0||Math.log2(e.height)%1!=0)&&(a.Logger.Warn("Loaded .basis texture width and height are not a power of two. Texture wrapping will be set to Texture.CLAMP_ADDRESSMODE as other modes are not supported with non power of two dimensions in webGL 1."),e._cachedWrapU=s.Texture.CLAMP_ADDRESSMODE,e._cachedWrapV=s.Texture.CLAMP_ADDRESSMODE)}}},p={JSModuleURL:h.JSModuleURL,WasmModuleURL:h.WasmModuleURL,GetInternalFormatFromBasisFormat:(e,t)=>{let r;switch(e){case i.cTFETC1:r=36196;break;case i.cTFBC1:r=33776;break;case i.cTFBC4:r=33779;break;case i.cTFASTC_4x4:r=37808;break;case i.cTFETC2:r=37496;break;case i.cTFBC7:r=36492}if(void 0===r)throw"The chosen Basis transcoder format is not currently supported";return r},TranscodeAsync:f,LoadTextureFromTranscodeResult:T};e.s(["_BasisTextureLoader",0,class{constructor(){this.supportCascades=!1}loadCubeData(e,t,i,a,s){if(Array.isArray(e))return;let n=t.getEngine().getCaps();f(e,{supportedCompressionFormats:{etc1:!!n.etc1,s3tc:!!n.s3tc,pvrtc:!!n.pvrtc,etc2:!!n.etc2,astc:!!n.astc,bc7:!!n.bptc}}).then(e=>{let i=e.fileInfo.images[0].levels.length>1&&t.generateMipMaps;T(t,e),t.getEngine()._setCubeMapTextureParams(t,i),t.isReady=!0,t.onLoadedObservable.notifyObservers(t),t.onLoadedObservable.clear(),a&&a()}).catch(e=>{r.Tools.Warn("Failed to transcode Basis file, transcoding may not be supported on this device"),t.isReady=!0,s&&s(e)})}loadData(e,t,i){let a=t.getEngine().getCaps();f(e,{supportedCompressionFormats:{etc1:!!a.etc1,s3tc:!!a.s3tc,pvrtc:!!a.pvrtc,etc2:!!a.etc2,astc:!!a.astc,bc7:!!a.bptc}}).then(e=>{let r=e.fileInfo.images[0].levels[0],a=e.fileInfo.images[0].levels.length>1&&t.generateMipMaps;i(r.width,r.height,a,-1!==e.format,()=>{T(t,e)})}).catch(e=>{r.Tools.Warn("Failed to transcode Basis file, transcoding may not be supported on this device"),r.Tools.Warn(`Failed to transcode Basis file: ${e}`),i(0,0,!1,!1,()=>{},!0)})}}],66106)}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,99325,r=>{"use strict";var e=r.i(37068),o=r.i(19434);let a="cachedOperationValue",t="cachedExecutionId";class l extends e.FlowGraphBlock{constructor(r,e){super(e),this.value=this.registerDataOutput("value",r),this.isValid=this.registerDataOutput("isValid",o.RichTypeBoolean)}_updateOutputs(r){let e=r._getExecutionVariable(this,t,-1),o=r._getExecutionVariable(this,a,null);if(null!=o&&e===r.executionId)this.isValid.setValue(!0,r),this.value.setValue(o,r);else try{let e=this._doOperation(r);if(null==e)return void this.isValid.setValue(!1,r);r._setExecutionVariable(this,a,e),r._setExecutionVariable(this,t,r.executionId),this.value.setValue(e,r),this.isValid.setValue(!0,r)}catch(e){this.isValid.setValue(!1,r)}}}r.s(["FlowGraphCachedOperationBlock",0,l])},94640,r=>{"use strict";var e=r.i(99325);class o extends e.FlowGraphCachedOperationBlock{constructor(r,e,o,a,t){super(e,t),this._operation=o,this._className=a,this.a=this.registerDataInput("a",r)}_doOperation(r){return this._operation(this.a.getValue(r))}getClassName(){return this._className}}r.s(["FlowGraphUnaryOperationBlock",0,o])},94050,r=>{"use strict";var e=r.i(99325);class o extends e.FlowGraphCachedOperationBlock{constructor(r,e,o,a,t,l){super(o,l),this._operation=a,this._className=t,this.a=this.registerDataInput("a",r),this.b=this.registerDataInput("b",e)}_doOperation(r){let e=this.a.getValue(r),o=this.b.getValue(r);return this._operation(e,o)}getClassName(){return this._className}}r.s(["FlowGraphBinaryOperationBlock",0,o])},89186,r=>{"use strict";var e=r.i(19434),o=r.i(94050),a=r.i(99325);class t extends a.FlowGraphCachedOperationBlock{constructor(r,e,o,a){super(r,a),this._operation=e,this._className=o}_doOperation(r){return this._operation(r)}getClassName(){return this._className}}var l=r.i(95410),p=r.i(94640),c=a;class s extends c.FlowGraphCachedOperationBlock{constructor(r,e,o,a,t,l,p){super(a,p),this._operation=t,this._className=l,this.a=this.registerDataInput("a",r),this.b=this.registerDataInput("b",e),this.c=this.registerDataInput("c",o)}_doOperation(r){return this._operation(this.a.getValue(r),this.b.getValue(r),this.c.getValue(r))}getClassName(){return this._className}}var i=r.i(30302),h=r.i(3010),n=r.i(92943),u=r.i(38116);class y extends o.FlowGraphBinaryOperationBlock{constructor(r){super((0,e.getRichTypeByFlowGraphType)(r?.type),(0,e.getRichTypeByFlowGraphType)(r?.type),(0,e.getRichTypeByFlowGraphType)(r?.type),(r,e)=>this._polymorphicAdd(r,e),"FlowGraphAddBlock",r)}_polymorphicAdd(r,e){let o=(0,n._GetClassNameOf)(r),a=(0,n._GetClassNameOf)(e);if((0,n._AreSameVectorOrQuaternionClass)(o,a)||(0,n._AreSameMatrixClass)(o,a)||(0,n._AreSameIntegerClass)(o,a))return r.add(e);if("Quaternion"===o||"Vector4"===a)return new l.Vector4(r.x,r.y,r.z,r.w).addInPlace(e);if("Vector4"===o||"Quaternion"===a)return r.add(e);if(this.config?.preventIntegerFloatArithmetic&&typeof r!=typeof e)throw Error("Cannot add different types of numbers.");return(0,n.getNumericValue)(r)+(0,n.getNumericValue)(e)}}class w extends o.FlowGraphBinaryOperationBlock{constructor(r){super((0,e.getRichTypeByFlowGraphType)(r?.type),(0,e.getRichTypeByFlowGraphType)(r?.type),(0,e.getRichTypeByFlowGraphType)(r?.type),(r,e)=>this._polymorphicSubtract(r,e),"FlowGraphSubtractBlock",r)}_polymorphicSubtract(r,e){let o=(0,n._GetClassNameOf)(r),a=(0,n._GetClassNameOf)(e);if((0,n._AreSameVectorOrQuaternionClass)(o,a)||(0,n._AreSameIntegerClass)(o,a)||(0,n._AreSameMatrixClass)(o,a))return r.subtract(e);if("Quaternion"===o||"Vector4"===a)return new l.Vector4(r.x,r.y,r.z,r.w).subtractInPlace(e);if("Vector4"===o||"Quaternion"===a)return r.subtract(e);if(this.config?.preventIntegerFloatArithmetic&&typeof r!=typeof e)throw Error("Cannot add different types of numbers.");return(0,n.getNumericValue)(r)-(0,n.getNumericValue)(e)}}class G extends o.FlowGraphBinaryOperationBlock{constructor(r){super((0,e.getRichTypeByFlowGraphType)(r?.type),(0,e.getRichTypeByFlowGraphType)(r?.type),(0,e.getRichTypeByFlowGraphType)(r?.type),(r,e)=>this._polymorphicMultiply(r,e),"FlowGraphMultiplyBlock",r)}_polymorphicMultiply(r,e){let o=(0,n._GetClassNameOf)(r),a=(0,n._GetClassNameOf)(e);if((0,n._AreSameVectorOrQuaternionClass)(o,a)||(0,n._AreSameIntegerClass)(o,a))return r.multiply(e);if("Quaternion"===o||"Vector4"===a)return new l.Vector4(r.x,r.y,r.z,r.w).multiplyInPlace(e);if("Vector4"===o||"Quaternion"===a)return r.multiply(e);if((0,n._AreSameMatrixClass)(o,a))if(!this.config?.useMatrixPerComponent)return e.multiply(r);else{let a=r.m;for(let r=0;r<a.length;r++)a[r]*=e.m[r];return"Matrix2D"===o?new h.FlowGraphMatrix2D(a):"Matrix3D"===o?new h.FlowGraphMatrix3D(a):l.Matrix.FromArray(a)}if(this.config?.preventIntegerFloatArithmetic&&typeof r!=typeof e)throw Error("Cannot add different types of numbers.");return(0,n.getNumericValue)(r)*(0,n.getNumericValue)(e)}}class F extends o.FlowGraphBinaryOperationBlock{constructor(r){super((0,e.getRichTypeByFlowGraphType)(r?.type),(0,e.getRichTypeByFlowGraphType)(r?.type),(0,e.getRichTypeByFlowGraphType)(r?.type),(r,e)=>this._polymorphicDivide(r,e),"FlowGraphDivideBlock",r)}_polymorphicDivide(r,e){let o=(0,n._GetClassNameOf)(r),a=(0,n._GetClassNameOf)(e);if((0,n._AreSameVectorOrQuaternionClass)(o,a)||(0,n._AreSameIntegerClass)(o,a))return r.divide(e);if("Quaternion"===o||"Quaternion"===a){let o=r.clone();return o.x/=e.x,o.y/=e.y,o.z/=e.z,o.w/=e.w,o}if("Quaternion"===o||"Vector4"===a)return new l.Vector4(r.x,r.y,r.z,r.w).divideInPlace(e);if("Vector4"===o||"Quaternion"===a)return r.divide(e);if((0,n._AreSameMatrixClass)(o,a))if(!this.config?.useMatrixPerComponent)return r.divide(e);else{let a=r.m;for(let r=0;r<a.length;r++)a[r]/=e.m[r];return"Matrix2D"===o?new h.FlowGraphMatrix2D(a):"Matrix3D"===o?new h.FlowGraphMatrix3D(a):l.Matrix.FromArray(a)}else{if(this.config?.preventIntegerFloatArithmetic&&typeof r!=typeof e)throw Error("Cannot add different types of numbers.");return(0,n.getNumericValue)(r)/(0,n.getNumericValue)(e)}}}class B extends t{constructor(r){super(e.RichTypeNumber,r=>this._random(r),"FlowGraphRandomBlock",r),this.min=this.registerDataInput("min",e.RichTypeNumber,r?.min??0),this.max=this.registerDataInput("max",e.RichTypeNumber,r?.max??1),r?.seed&&(this._seed=r.seed)}_isSeed(r=this._seed){return void 0!==r}_getRandomValue(){if(this._isSeed(this._seed)){let r=1e4*Math.sin(this._seed++);return r-Math.floor(r)}return Math.random()}_random(r){let e=this.min.getValue(r),o=this.max.getValue(r);return this._getRandomValue()*(o-e)+e}}class k extends t{constructor(r){super(e.RichTypeNumber,()=>Math.E,"FlowGraphEBlock",r)}}class m extends t{constructor(r){super(e.RichTypeNumber,()=>Math.PI,"FlowGraphPIBlock",r)}}class g extends t{constructor(r){super(e.RichTypeNumber,()=>1/0,"FlowGraphInfBlock",r)}}class R extends t{constructor(r){super(e.RichTypeNumber,()=>NaN,"FlowGraphNaNBlock",r)}}function T(r,e){switch((0,n._GetClassNameOf)(r)){case"FlowGraphInteger":return new i.FlowGraphInteger(e(r.value));case"Vector2":return new l.Vector2(e(r.x),e(r.y));case"Vector3":return new l.Vector3(e(r.x),e(r.y),e(r.z));case"Vector4":return new l.Vector4(e(r.x),e(r.y),e(r.z),e(r.w));case"Quaternion":return new l.Quaternion(e(r.x),e(r.y),e(r.z),e(r.w));case"Matrix":return l.Matrix.FromArray(r.m.map(e));case"Matrix2D":return new h.FlowGraphMatrix2D(r.m.map(e));case"Matrix3D":return new h.FlowGraphMatrix3D(r.m.map(e));default:return e(r)}}class d extends p.FlowGraphUnaryOperationBlock{constructor(r){super(e.RichTypeNumber,e.RichTypeNumber,r=>this._polymorphicAbs(r),"FlowGraphAbsBlock",r)}_polymorphicAbs(r){return T(r,Math.abs)}}class _ extends p.FlowGraphUnaryOperationBlock{constructor(r){super(e.RichTypeNumber,e.RichTypeNumber,r=>this._polymorphicSign(r),"FlowGraphSignBlock",r)}_polymorphicSign(r){return T(r,Math.sign)}}class x extends p.FlowGraphUnaryOperationBlock{constructor(r){super(e.RichTypeNumber,e.RichTypeNumber,r=>this._polymorphicTrunc(r),"FlowGraphTruncBlock",r)}_polymorphicTrunc(r){return T(r,Math.trunc)}}class A extends p.FlowGraphUnaryOperationBlock{constructor(r){super(e.RichTypeNumber,e.RichTypeNumber,r=>this._polymorphicFloor(r),"FlowGraphFloorBlock",r)}_polymorphicFloor(r){return T(r,Math.floor)}}class f extends p.FlowGraphUnaryOperationBlock{constructor(r){super(e.RichTypeAny,e.RichTypeAny,r=>this._polymorphicCeiling(r),"FlowGraphCeilBlock",r)}_polymorphicCeiling(r){return T(r,Math.ceil)}}class C extends p.FlowGraphUnaryOperationBlock{constructor(r){super(e.RichTypeAny,e.RichTypeAny,r=>this._polymorphicRound(r),"FlowGraphRoundBlock",r)}_polymorphicRound(r){return T(r,r=>r<0&&this.config?.roundHalfAwayFromZero?-Math.round(-r):Math.round(r))}}class N extends p.FlowGraphUnaryOperationBlock{constructor(r){super(e.RichTypeAny,e.RichTypeAny,r=>this._polymorphicFraction(r),"FlowGraphFractBlock",r)}_polymorphicFraction(r){return T(r,r=>r-Math.floor(r))}}class O extends p.FlowGraphUnaryOperationBlock{constructor(r){super(e.RichTypeAny,e.RichTypeAny,r=>this._polymorphicNeg(r),"FlowGraphNegationBlock",r)}_polymorphicNeg(r){return T(r,r=>-r)}}function M(r,e,o){switch((0,n._GetClassNameOf)(r)){case"FlowGraphInteger":return new i.FlowGraphInteger(o(r.value,e.value));case"Vector2":return new l.Vector2(o(r.x,e.x),o(r.y,e.y));case"Vector3":return new l.Vector3(o(r.x,e.x),o(r.y,e.y),o(r.z,e.z));case"Vector4":return new l.Vector4(o(r.x,e.x),o(r.y,e.y),o(r.z,e.z),o(r.w,e.w));case"Quaternion":return new l.Quaternion(o(r.x,e.x),o(r.y,e.y),o(r.z,e.z),o(r.w,e.w));case"Matrix":return l.Matrix.FromArray(r.m.map((r,a)=>o(r,e.m[a])));case"Matrix2D":return new h.FlowGraphMatrix2D(r.m.map((r,a)=>o(r,e.m[a])));case"Matrix3D":return new h.FlowGraphMatrix3D(r.m.map((r,a)=>o(r,e.m[a])));default:return o((0,n.getNumericValue)(r),(0,n.getNumericValue)(e))}}class b extends o.FlowGraphBinaryOperationBlock{constructor(r){super(e.RichTypeAny,e.RichTypeAny,e.RichTypeAny,(r,e)=>this._polymorphicRemainder(r,e),"FlowGraphModuloBlock",r)}_polymorphicRemainder(r,e){return M(r,e,(r,e)=>r%e)}}class I extends o.FlowGraphBinaryOperationBlock{constructor(r){super(e.RichTypeAny,e.RichTypeAny,e.RichTypeAny,(r,e)=>this._polymorphicMin(r,e),"FlowGraphMinBlock",r)}_polymorphicMin(r,e){return M(r,e,Math.min)}}class V extends o.FlowGraphBinaryOperationBlock{constructor(r){super(e.RichTypeAny,e.RichTypeAny,e.RichTypeAny,(r,e)=>this._polymorphicMax(r,e),"FlowGraphMaxBlock",r)}_polymorphicMax(r,e){return M(r,e,Math.max)}}function S(r,e,o){return Math.min(Math.max(r,Math.min(e,o)),Math.max(e,o))}function v(r,e,o,a){switch((0,n._GetClassNameOf)(r)){case"FlowGraphInteger":return new i.FlowGraphInteger(a(r.value,e.value,o.value));case"Vector2":return new l.Vector2(a(r.x,e.x,o.x),a(r.y,e.y,o.y));case"Vector3":return new l.Vector3(a(r.x,e.x,o.x),a(r.y,e.y,o.y),a(r.z,e.z,o.z));case"Vector4":return new l.Vector4(a(r.x,e.x,o.x),a(r.y,e.y,o.y),a(r.z,e.z,o.z),a(r.w,e.w,o.w));case"Quaternion":return new l.Quaternion(a(r.x,e.x,o.x),a(r.y,e.y,o.y),a(r.z,e.z,o.z),a(r.w,e.w,o.w));case"Matrix":return l.Matrix.FromArray(r.m.map((r,t)=>a(r,e.m[t],o.m[t])));case"Matrix2D":return new h.FlowGraphMatrix2D(r.m.map((r,t)=>a(r,e.m[t],o.m[t])));case"Matrix3D":return new h.FlowGraphMatrix3D(r.m.map((r,t)=>a(r,e.m[t],o.m[t])));default:return a((0,n.getNumericValue)(r),(0,n.getNumericValue)(e),(0,n.getNumericValue)(o))}}class D extends s{constructor(r){super(e.RichTypeAny,e.RichTypeAny,e.RichTypeAny,e.RichTypeAny,(r,e,o)=>this._polymorphicClamp(r,e,o),"FlowGraphClampBlock",r)}_polymorphicClamp(r,e,o){return v(r,e,o,S)}}function E(r){return Math.min(Math.max(r,0),1)}class L extends p.FlowGraphUnaryOperationBlock{constructor(r){super(e.RichTypeAny,e.RichTypeAny,r=>this._polymorphicSaturate(r),"FlowGraphSaturateBlock",r)}_polymorphicSaturate(r){return T(r,E)}}function U(r,e,o){return(1-o)*r+o*e}class q extends s{constructor(r){super(e.RichTypeAny,e.RichTypeAny,e.RichTypeAny,e.RichTypeAny,(r,e,o)=>this._polymorphicInterpolate(r,e,o),"FlowGraphMathInterpolationBlock",r)}_polymorphicInterpolate(r,e,o){return v(r,e,o,U)}}class z extends o.FlowGraphBinaryOperationBlock{constructor(r){super(e.RichTypeAny,e.RichTypeAny,e.RichTypeBoolean,(r,e)=>this._polymorphicEq(r,e),"FlowGraphEqualityBlock",r)}_polymorphicEq(r,e){let o=(0,n._GetClassNameOf)(r),a=(0,n._GetClassNameOf)(e);return typeof r==typeof e&&((0,n._AreSameVectorOrQuaternionClass)(o,a)||(0,n._AreSameMatrixClass)(o,a)||(0,n._AreSameIntegerClass)(o,a)?r.equals(e):r===e)}}function P(r,e,o){if((0,n.isNumeric)(r)&&(0,n.isNumeric)(e))return o((0,n.getNumericValue)(r),(0,n.getNumericValue)(e));throw Error(`Cannot compare ${r} and ${e}`)}class Q extends o.FlowGraphBinaryOperationBlock{constructor(r){super(e.RichTypeAny,e.RichTypeAny,e.RichTypeBoolean,(r,e)=>this._polymorphicLessThan(r,e),"FlowGraphLessThanBlock",r)}_polymorphicLessThan(r,e){return P(r,e,(r,e)=>r<e)}}class $ extends o.FlowGraphBinaryOperationBlock{constructor(r){super(e.RichTypeAny,e.RichTypeAny,e.RichTypeBoolean,(r,e)=>this._polymorphicLessThanOrEqual(r,e),"FlowGraphLessThanOrEqualBlock",r)}_polymorphicLessThanOrEqual(r,e){return P(r,e,(r,e)=>r<=e)}}class Z extends o.FlowGraphBinaryOperationBlock{constructor(r){super(e.RichTypeAny,e.RichTypeAny,e.RichTypeBoolean,(r,e)=>this._polymorphicGreaterThan(r,e),"FlowGraphGreaterThanBlock",r)}_polymorphicGreaterThan(r,e){return P(r,e,(r,e)=>r>e)}}class j extends o.FlowGraphBinaryOperationBlock{constructor(r){super(e.RichTypeAny,e.RichTypeAny,e.RichTypeBoolean,(r,e)=>this._polymorphicGreaterThanOrEqual(r,e),"FlowGraphGreaterThanOrEqualBlock",r)}_polymorphicGreaterThanOrEqual(r,e){return P(r,e,(r,e)=>r>=e)}}class X extends p.FlowGraphUnaryOperationBlock{constructor(r){super(e.RichTypeAny,e.RichTypeBoolean,r=>this._polymorphicIsNan(r),"FlowGraphIsNaNBlock",r)}_polymorphicIsNan(r){if((0,n.isNumeric)(r,!0))return isNaN((0,n.getNumericValue)(r));throw Error(`Cannot get NaN of ${r}`)}}class K extends p.FlowGraphUnaryOperationBlock{constructor(r){super(e.RichTypeAny,e.RichTypeBoolean,r=>this._polymorphicIsInf(r),"FlowGraphIsInfBlock",r)}_polymorphicIsInf(r){if((0,n.isNumeric)(r))return!isFinite((0,n.getNumericValue)(r));throw Error(`Cannot get isInf of ${r}`)}}class H extends p.FlowGraphUnaryOperationBlock{constructor(r){super(e.RichTypeAny,e.RichTypeAny,r=>this._polymorphicDegToRad(r),"FlowGraphDegToRadBlock",r)}_degToRad(r){return r*Math.PI/180}_polymorphicDegToRad(r){return T(r,this._degToRad)}}class J extends p.FlowGraphUnaryOperationBlock{constructor(r){super(e.RichTypeAny,e.RichTypeAny,r=>this._polymorphicRadToDeg(r),"FlowGraphRadToDegBlock",r)}_radToDeg(r){return 180*r/Math.PI}_polymorphicRadToDeg(r){return T(r,this._radToDeg)}}class W extends p.FlowGraphUnaryOperationBlock{constructor(r){super(e.RichTypeNumber,e.RichTypeNumber,r=>this._polymorphicSin(r),"FlowGraphSinBlock",r)}_polymorphicSin(r){return T(r,Math.sin)}}class Y extends p.FlowGraphUnaryOperationBlock{constructor(r){super(e.RichTypeNumber,e.RichTypeNumber,r=>this._polymorphicCos(r),"FlowGraphCosBlock",r)}_polymorphicCos(r){return T(r,Math.cos)}}class rr extends p.FlowGraphUnaryOperationBlock{constructor(r){super(e.RichTypeNumber,e.RichTypeNumber,r=>this._polymorphicTan(r),"FlowGraphTanBlock",r)}_polymorphicTan(r){return T(r,Math.tan)}}class re extends p.FlowGraphUnaryOperationBlock{constructor(r){super(e.RichTypeNumber,e.RichTypeNumber,r=>this._polymorphicAsin(r),"FlowGraphASinBlock",r)}_polymorphicAsin(r){return T(r,Math.asin)}}class ro extends p.FlowGraphUnaryOperationBlock{constructor(r){super(e.RichTypeNumber,e.RichTypeNumber,r=>this._polymorphicAcos(r),"FlowGraphACosBlock",r)}_polymorphicAcos(r){return T(r,Math.acos)}}class ra extends p.FlowGraphUnaryOperationBlock{constructor(r){super(e.RichTypeNumber,e.RichTypeNumber,r=>this._polymorphicAtan(r),"FlowGraphATanBlock",r)}_polymorphicAtan(r){return T(r,Math.atan)}}class rt extends o.FlowGraphBinaryOperationBlock{constructor(r){super(e.RichTypeAny,e.RichTypeAny,e.RichTypeAny,(r,e)=>this._polymorphicAtan2(r,e),"FlowGraphATan2Block",r)}_polymorphicAtan2(r,e){return M(r,e,Math.atan2)}}class rl extends p.FlowGraphUnaryOperationBlock{constructor(r){super(e.RichTypeAny,e.RichTypeAny,r=>this._polymorphicSinh(r),"FlowGraphSinhBlock",r)}_polymorphicSinh(r){return T(r,Math.sinh)}}class rp extends p.FlowGraphUnaryOperationBlock{constructor(r){super(e.RichTypeAny,e.RichTypeAny,r=>this._polymorphicCosh(r),"FlowGraphCoshBlock",r)}_polymorphicCosh(r){return T(r,Math.cosh)}}class rc extends p.FlowGraphUnaryOperationBlock{constructor(r){super(e.RichTypeAny,e.RichTypeAny,r=>this._polymorphicTanh(r),"FlowGraphTanhBlock",r)}_polymorphicTanh(r){return T(r,Math.tanh)}}class rs extends p.FlowGraphUnaryOperationBlock{constructor(r){super(e.RichTypeAny,e.RichTypeNumber,r=>this._polymorphicAsinh(r),"FlowGraphASinhBlock",r)}_polymorphicAsinh(r){return T(r,Math.asinh)}}class ri extends p.FlowGraphUnaryOperationBlock{constructor(r){super(e.RichTypeAny,e.RichTypeNumber,r=>this._polymorphicAcosh(r),"FlowGraphACoshBlock",r)}_polymorphicAcosh(r){return T(r,Math.acosh)}}class rh extends p.FlowGraphUnaryOperationBlock{constructor(r){super(e.RichTypeAny,e.RichTypeNumber,r=>this._polymorphicAtanh(r),"FlowGraphATanhBlock",r)}_polymorphicAtanh(r){return T(r,Math.atanh)}}class rn extends p.FlowGraphUnaryOperationBlock{constructor(r){super(e.RichTypeAny,e.RichTypeNumber,r=>this._polymorphicExp(r),"FlowGraphExponentialBlock",r)}_polymorphicExp(r){return T(r,Math.exp)}}class ru extends p.FlowGraphUnaryOperationBlock{constructor(r){super(e.RichTypeAny,e.RichTypeNumber,r=>this._polymorphicLog(r),"FlowGraphLogBlock",r)}_polymorphicLog(r){return T(r,Math.log)}}class ry extends p.FlowGraphUnaryOperationBlock{constructor(r){super(e.RichTypeAny,e.RichTypeNumber,r=>this._polymorphicLog2(r),"FlowGraphLog2Block",r)}_polymorphicLog2(r){return T(r,Math.log2)}}class rw extends p.FlowGraphUnaryOperationBlock{constructor(r){super(e.RichTypeAny,e.RichTypeNumber,r=>this._polymorphicLog10(r),"FlowGraphLog10Block",r)}_polymorphicLog10(r){return T(r,Math.log10)}}class rG extends p.FlowGraphUnaryOperationBlock{constructor(r){super(e.RichTypeAny,e.RichTypeNumber,r=>this._polymorphicSqrt(r),"FlowGraphSquareRootBlock",r)}_polymorphicSqrt(r){return T(r,Math.sqrt)}}class rF extends p.FlowGraphUnaryOperationBlock{constructor(r){super(e.RichTypeAny,e.RichTypeNumber,r=>this._polymorphicCubeRoot(r),"FlowGraphCubeRootBlock",r)}_polymorphicCubeRoot(r){return T(r,Math.cbrt)}}class rB extends o.FlowGraphBinaryOperationBlock{constructor(r){super(e.RichTypeAny,e.RichTypeNumber,e.RichTypeNumber,(r,e)=>this._polymorphicPow(r,e),"FlowGraphPowerBlock",r)}_polymorphicPow(r,e){return M(r,e,Math.pow)}}class rk extends p.FlowGraphUnaryOperationBlock{constructor(r){super((0,e.getRichTypeByFlowGraphType)(r?.valueType||"FlowGraphInteger"),(0,e.getRichTypeByFlowGraphType)(r?.valueType||"FlowGraphInteger"),r=>"boolean"==typeof r?!r:"number"==typeof r?~r:new i.FlowGraphInteger(~r.value),"FlowGraphBitwiseNotBlock",r)}}class rm extends o.FlowGraphBinaryOperationBlock{constructor(r){super((0,e.getRichTypeByFlowGraphType)(r?.valueType||"FlowGraphInteger"),(0,e.getRichTypeByFlowGraphType)(r?.valueType||"FlowGraphInteger"),(0,e.getRichTypeByFlowGraphType)(r?.valueType||"FlowGraphInteger"),(r,e)=>{if("boolean"==typeof r&&"boolean"==typeof e)return r&&e;if("number"==typeof r&&"number"==typeof e)return r&e;if("object"==typeof r&&"object"==typeof e)return new i.FlowGraphInteger(r.value&e.value);throw Error(`Cannot perform bitwise AND on ${r} and ${e}`)},"FlowGraphBitwiseAndBlock",r)}}class rg extends o.FlowGraphBinaryOperationBlock{constructor(r){super((0,e.getRichTypeByFlowGraphType)(r?.valueType||"FlowGraphInteger"),(0,e.getRichTypeByFlowGraphType)(r?.valueType||"FlowGraphInteger"),(0,e.getRichTypeByFlowGraphType)(r?.valueType||"FlowGraphInteger"),(r,e)=>{if("boolean"==typeof r&&"boolean"==typeof e)return r||e;if("number"==typeof r&&"number"==typeof e)return r|e;if("object"==typeof r&&"object"==typeof e)return new i.FlowGraphInteger(r.value|e.value);throw Error(`Cannot perform bitwise OR on ${r} and ${e}`)},"FlowGraphBitwiseOrBlock",r)}}class rR extends o.FlowGraphBinaryOperationBlock{constructor(r){super((0,e.getRichTypeByFlowGraphType)(r?.valueType||"FlowGraphInteger"),(0,e.getRichTypeByFlowGraphType)(r?.valueType||"FlowGraphInteger"),(0,e.getRichTypeByFlowGraphType)(r?.valueType||"FlowGraphInteger"),(r,e)=>{if("boolean"==typeof r&&"boolean"==typeof e)return r!==e;if("number"==typeof r&&"number"==typeof e)return r^e;if("object"==typeof r&&"object"==typeof e)return new i.FlowGraphInteger(r.value^e.value);throw Error(`Cannot perform bitwise XOR on ${r} and ${e}`)},"FlowGraphBitwiseXorBlock",r)}}class rT extends o.FlowGraphBinaryOperationBlock{constructor(r){super(e.RichTypeFlowGraphInteger,e.RichTypeFlowGraphInteger,e.RichTypeFlowGraphInteger,(r,e)=>new i.FlowGraphInteger(r.value<<e.value),"FlowGraphBitwiseLeftShiftBlock",r)}}class rd extends o.FlowGraphBinaryOperationBlock{constructor(r){super(e.RichTypeFlowGraphInteger,e.RichTypeFlowGraphInteger,e.RichTypeFlowGraphInteger,(r,e)=>new i.FlowGraphInteger(r.value>>e.value),"FlowGraphBitwiseRightShiftBlock",r)}}class r_ extends p.FlowGraphUnaryOperationBlock{constructor(r){super(e.RichTypeFlowGraphInteger,e.RichTypeFlowGraphInteger,r=>new i.FlowGraphInteger(Math.clz32(r.value)),"FlowGraphLeadingZerosBlock",r)}}class rx extends p.FlowGraphUnaryOperationBlock{constructor(r){super(e.RichTypeFlowGraphInteger,e.RichTypeFlowGraphInteger,r=>new i.FlowGraphInteger(r.value?31-Math.clz32(r.value&-r.value):32),"FlowGraphTrailingZerosBlock",r)}}class rA extends p.FlowGraphUnaryOperationBlock{constructor(r){super(e.RichTypeFlowGraphInteger,e.RichTypeFlowGraphInteger,r=>new i.FlowGraphInteger(function(r){let e=0;for(;r;)e+=1&r,r>>=1;return e}(r.value)),"FlowGraphOneBitsCounterBlock",r)}}let rf=!1;function rC(){rf||(rf=!0,(0,u.RegisterClass)("FlowGraphAddBlock",y),(0,u.RegisterClass)("FlowGraphSubtractBlock",w),(0,u.RegisterClass)("FlowGraphMultiplyBlock",G),(0,u.RegisterClass)("FlowGraphDivideBlock",F),(0,u.RegisterClass)("FlowGraphRandomBlock",B),(0,u.RegisterClass)("FlowGraphEBlock",k),(0,u.RegisterClass)("FlowGraphPIBlock",m),(0,u.RegisterClass)("FlowGraphInfBlock",g),(0,u.RegisterClass)("FlowGraphNaNBlock",R),(0,u.RegisterClass)("FlowGraphAbsBlock",d),(0,u.RegisterClass)("FlowGraphSignBlock",_),(0,u.RegisterClass)("FlowGraphTruncBlock",x),(0,u.RegisterClass)("FlowGraphFloorBlock",A),(0,u.RegisterClass)("FlowGraphCeilBlock",f),(0,u.RegisterClass)("FlowGraphRoundBlock",C),(0,u.RegisterClass)("FlowGraphFractBlock",N),(0,u.RegisterClass)("FlowGraphNegationBlock",O),(0,u.RegisterClass)("FlowGraphModuloBlock",b),(0,u.RegisterClass)("FlowGraphMinBlock",I),(0,u.RegisterClass)("FlowGraphMaxBlock",V),(0,u.RegisterClass)("FlowGraphClampBlock",D),(0,u.RegisterClass)("FlowGraphSaturateBlock",L),(0,u.RegisterClass)("FlowGraphMathInterpolationBlock",q),(0,u.RegisterClass)("FlowGraphEqualityBlock",z),(0,u.RegisterClass)("FlowGraphLessThanBlock",Q),(0,u.RegisterClass)("FlowGraphLessThanOrEqualBlock",$),(0,u.RegisterClass)("FlowGraphGreaterThanBlock",Z),(0,u.RegisterClass)("FlowGraphGreaterThanOrEqualBlock",j),(0,u.RegisterClass)("FlowGraphIsNaNBlock",X),(0,u.RegisterClass)("FlowGraphIsInfBlock",K),(0,u.RegisterClass)("FlowGraphDegToRadBlock",H),(0,u.RegisterClass)("FlowGraphRadToDegBlock",J),(0,u.RegisterClass)("FlowGraphASinBlock",re),(0,u.RegisterClass)("FlowGraphACosBlock",ro),(0,u.RegisterClass)("FlowGraphATanBlock",ra),(0,u.RegisterClass)("FlowGraphATan2Block",rt),(0,u.RegisterClass)("FlowGraphSinhBlock",rl),(0,u.RegisterClass)("FlowGraphCoshBlock",rp),(0,u.RegisterClass)("FlowGraphTanhBlock",rc),(0,u.RegisterClass)("FlowGraphASinhBlock",rs),(0,u.RegisterClass)("FlowGraphACoshBlock",ri),(0,u.RegisterClass)("FlowGraphATanhBlock",rh),(0,u.RegisterClass)("FlowGraphExponentialBlock",rn),(0,u.RegisterClass)("FlowGraphLogBlock",ru),(0,u.RegisterClass)("FlowGraphLog2Block",ry),(0,u.RegisterClass)("FlowGraphLog10Block",rw),(0,u.RegisterClass)("FlowGraphSquareRootBlock",rG),(0,u.RegisterClass)("FlowGraphCubeRootBlock",rF),(0,u.RegisterClass)("FlowGraphPowerBlock",rB),(0,u.RegisterClass)("FlowGraphBitwiseNotBlock",rk),(0,u.RegisterClass)("FlowGraphBitwiseAndBlock",rm),(0,u.RegisterClass)("FlowGraphBitwiseOrBlock",rg),(0,u.RegisterClass)("FlowGraphBitwiseXorBlock",rR),(0,u.RegisterClass)("FlowGraphBitwiseLeftShiftBlock",rT),(0,u.RegisterClass)("FlowGraphBitwiseRightShiftBlock",rd),(0,u.RegisterClass)("FlowGraphLeadingZerosBlock",r_),(0,u.RegisterClass)("FlowGraphTrailingZerosBlock",rx),(0,u.RegisterClass)("FlowGraphOneBitsCounterBlock",rA))}r.s(["FlowGraphAbsBlock",0,d,"FlowGraphAcosBlock",0,ro,"FlowGraphAcoshBlock",0,ri,"FlowGraphAddBlock",0,y,"FlowGraphAsinBlock",0,re,"FlowGraphAsinhBlock",0,rs,"FlowGraphAtan2Block",0,rt,"FlowGraphAtanBlock",0,ra,"FlowGraphAtanhBlock",0,rh,"FlowGraphBitwiseAndBlock",0,rm,"FlowGraphBitwiseLeftShiftBlock",0,rT,"FlowGraphBitwiseNotBlock",0,rk,"FlowGraphBitwiseOrBlock",0,rg,"FlowGraphBitwiseRightShiftBlock",0,rd,"FlowGraphBitwiseXorBlock",0,rR,"FlowGraphCeilBlock",0,f,"FlowGraphClampBlock",0,D,"FlowGraphCosBlock",0,Y,"FlowGraphCoshBlock",0,rp,"FlowGraphCubeRootBlock",0,rF,"FlowGraphDegToRadBlock",0,H,"FlowGraphDivideBlock",0,F,"FlowGraphEBlock",0,k,"FlowGraphEqualityBlock",0,z,"FlowGraphExpBlock",0,rn,"FlowGraphFloorBlock",0,A,"FlowGraphFractionBlock",0,N,"FlowGraphGreaterThanBlock",0,Z,"FlowGraphGreaterThanOrEqualBlock",0,j,"FlowGraphInfBlock",0,g,"FlowGraphIsInfinityBlock",0,K,"FlowGraphIsNanBlock",0,X,"FlowGraphLeadingZerosBlock",0,r_,"FlowGraphLessThanBlock",0,Q,"FlowGraphLessThanOrEqualBlock",0,$,"FlowGraphLog10Block",0,rw,"FlowGraphLog2Block",0,ry,"FlowGraphLogBlock",0,ru,"FlowGraphMathInterpolationBlock",0,q,"FlowGraphMaxBlock",0,V,"FlowGraphMinBlock",0,I,"FlowGraphModuloBlock",0,b,"FlowGraphMultiplyBlock",0,G,"FlowGraphNaNBlock",0,R,"FlowGraphNegationBlock",0,O,"FlowGraphOneBitsCounterBlock",0,rA,"FlowGraphPiBlock",0,m,"FlowGraphPowerBlock",0,rB,"FlowGraphRadToDegBlock",0,J,"FlowGraphRandomBlock",0,B,"FlowGraphRoundBlock",0,C,"FlowGraphSaturateBlock",0,L,"FlowGraphSignBlock",0,_,"FlowGraphSinBlock",0,W,"FlowGraphSinhBlock",0,rl,"FlowGraphSquareRootBlock",0,rG,"FlowGraphSubtractBlock",0,w,"FlowGraphTanBlock",0,rr,"FlowGraphTanhBlock",0,rc,"FlowGraphTrailingZerosBlock",0,rx,"FlowGraphTruncBlock",0,x,"RegisterFlowGraphMathBlocks",0,rC],20493),rC(),r.s([],16341),r.i(16341),r.i(20493),r.s(["FlowGraphAbsBlock",0,d,"FlowGraphAcosBlock",0,ro,"FlowGraphAcoshBlock",0,ri,"FlowGraphAddBlock",0,y,"FlowGraphAsinBlock",0,re,"FlowGraphAsinhBlock",0,rs,"FlowGraphAtan2Block",0,rt,"FlowGraphAtanBlock",0,ra,"FlowGraphAtanhBlock",0,rh,"FlowGraphBitwiseAndBlock",0,rm,"FlowGraphBitwiseLeftShiftBlock",0,rT,"FlowGraphBitwiseNotBlock",0,rk,"FlowGraphBitwiseOrBlock",0,rg,"FlowGraphBitwiseRightShiftBlock",0,rd,"FlowGraphBitwiseXorBlock",0,rR,"FlowGraphCeilBlock",0,f,"FlowGraphClampBlock",0,D,"FlowGraphCosBlock",0,Y,"FlowGraphCoshBlock",0,rp,"FlowGraphCubeRootBlock",0,rF,"FlowGraphDegToRadBlock",0,H,"FlowGraphDivideBlock",0,F,"FlowGraphEBlock",0,k,"FlowGraphEqualityBlock",0,z,"FlowGraphExpBlock",0,rn,"FlowGraphFloorBlock",0,A,"FlowGraphFractionBlock",0,N,"FlowGraphGreaterThanBlock",0,Z,"FlowGraphGreaterThanOrEqualBlock",0,j,"FlowGraphInfBlock",0,g,"FlowGraphIsInfinityBlock",0,K,"FlowGraphIsNanBlock",0,X,"FlowGraphLeadingZerosBlock",0,r_,"FlowGraphLessThanBlock",0,Q,"FlowGraphLessThanOrEqualBlock",0,$,"FlowGraphLog10Block",0,rw,"FlowGraphLog2Block",0,ry,"FlowGraphLogBlock",0,ru,"FlowGraphMathInterpolationBlock",0,q,"FlowGraphMaxBlock",0,V,"FlowGraphMinBlock",0,I,"FlowGraphModuloBlock",0,b,"FlowGraphMultiplyBlock",0,G,"FlowGraphNaNBlock",0,R,"FlowGraphNegationBlock",0,O,"FlowGraphOneBitsCounterBlock",0,rA,"FlowGraphPiBlock",0,m,"FlowGraphPowerBlock",0,rB,"FlowGraphRadToDegBlock",0,J,"FlowGraphRandomBlock",0,B,"FlowGraphRoundBlock",0,C,"FlowGraphSaturateBlock",0,L,"FlowGraphSignBlock",0,_,"FlowGraphSinBlock",0,W,"FlowGraphSinhBlock",0,rl,"FlowGraphSquareRootBlock",0,rG,"FlowGraphSubtractBlock",0,w,"FlowGraphTanBlock",0,rr,"FlowGraphTanhBlock",0,rc,"FlowGraphTrailingZerosBlock",0,rx,"FlowGraphTruncBlock",0,x],89186)}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,86242,t=>{"use strict";var e=t.i(37068),i=t.i(19434),n=t.i(38116);class o extends e.FlowGraphBlock{constructor(t){super(t),this.functionName=this.registerDataInput("functionName",i.RichTypeString),this.object=this.registerDataInput("object",i.RichTypeAny),this.context=this.registerDataInput("context",i.RichTypeAny,null),this.output=this.registerDataOutput("output",i.RichTypeAny)}_updateOutputs(t){let e=this.functionName.getValue(t),i=this.object.getValue(t),n=this.context.getValue(t);if(i&&e){let o=i[e];o&&"function"==typeof o&&this.output.setValue(o.bind(n),t)}}getClassName(){return"FlowGraphFunctionReference"}}let c=!1;function s(){c||(c=!0,(0,n.RegisterClass)("FlowGraphFunctionReference",o))}t.s(["FlowGraphFunctionReferenceBlock",0,o,"RegisterFlowGraphFunctionReferenceBlock",0,s],71964),s(),t.s([],85416),t.i(85416),t.i(71964),t.s(["FlowGraphFunctionReferenceBlock",0,o],86242)}]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,84327,e=>{"use strict";var r=e.i(37875);let t="sceneUboDeclaration",i=`struct Scene {viewProjection : mat4x4<f32>,
|
|
2
2
|
#ifdef MULTIVIEW
|
|
3
3
|
viewProjectionR : mat4x4<f32>,
|
|
4
4
|
#endif
|
|
@@ -8,7 +8,7 @@ vEyePosition : vec4<f32>,
|
|
|
8
8
|
inverseProjection : mat4x4<f32>,};
|
|
9
9
|
#define SCENE_UBO
|
|
10
10
|
var<uniform> scene : Scene;
|
|
11
|
-
`;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=i),e.s(["sceneUboDeclarationWGSL",0,{name:t,shader:i}])},
|
|
11
|
+
`;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=i),e.s(["sceneUboDeclarationWGSL",0,{name:t,shader:i}])},17978,e=>{"use strict";var r=e.i(37875);let t="harmonicsFunctions",i=`#ifdef USESPHERICALFROMREFLECTIONMAP
|
|
12
12
|
#ifdef SPHERICAL_HARMONICS
|
|
13
13
|
fn computeEnvironmentIrradiance(normal: vec3f)->vec3f {return uniforms.vSphericalL00
|
|
14
14
|
+ uniforms.vSphericalL1_1*(normal.y)
|
|
@@ -23,7 +23,7 @@ fn computeEnvironmentIrradiance(normal: vec3f)->vec3f {return uniforms.vSpherica
|
|
|
23
23
|
fn computeEnvironmentIrradiance(normal: vec3f)->vec3f {var Nx: f32=normal.x;var Ny: f32=normal.y;var Nz: f32=normal.z;var C1: vec3f=uniforms.vSphericalZZ.rgb;var Cx: vec3f=uniforms.vSphericalX.rgb;var Cy: vec3f=uniforms.vSphericalY.rgb;var Cz: vec3f=uniforms.vSphericalZ.rgb;var Cxx_zz: vec3f=uniforms.vSphericalXX_ZZ.rgb;var Cyy_zz: vec3f=uniforms.vSphericalYY_ZZ.rgb;var Cxy: vec3f=uniforms.vSphericalXY.rgb;var Cyz: vec3f=uniforms.vSphericalYZ.rgb;var Czx: vec3f=uniforms.vSphericalZX.rgb;var a1: vec3f=Cyy_zz*Ny+Cy;var a2: vec3f=Cyz*Nz+a1;var b1: vec3f=Czx*Nz+Cx;var b2: vec3f=Cxy*Ny+b1;var b3: vec3f=Cxx_zz*Nx+b2;var t1: vec3f=Cz *Nz+C1;var t2: vec3f=a2 *Ny+t1;var t3: vec3f=b3 *Nx+t2;return t3;}
|
|
24
24
|
#endif
|
|
25
25
|
#endif
|
|
26
|
-
`;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=i),e.s(["harmonicsFunctionsWGSL",0,{name:t,shader:i}])},
|
|
26
|
+
`;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=i),e.s(["harmonicsFunctionsWGSL",0,{name:t,shader:i}])},50641,93879,e=>{"use strict";var r=e.i(37875);let t="bonesDeclaration",i=`#if NUM_BONE_INFLUENCERS>0
|
|
27
27
|
#ifndef USE_VERTEX_PULLING
|
|
28
28
|
attribute matricesIndices : vec4f;attribute matricesWeights : vec4f;
|
|
29
29
|
#if NUM_BONE_INFLUENCERS>4
|
|
@@ -46,7 +46,7 @@ let textureWidth=i32(uniforms.boneTextureInfo.x);let y=offset/textureWidth;let x
|
|
|
46
46
|
#endif
|
|
47
47
|
#endif
|
|
48
48
|
#endif
|
|
49
|
-
`;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=i),e.s(["bonesDeclarationWGSL",0,{name:t,shader:i}],
|
|
49
|
+
`;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=i),e.s(["bonesDeclarationWGSL",0,{name:t,shader:i}],50641);let n="bakedVertexAnimationDeclaration",a=`#ifdef BAKED_VERTEX_ANIMATION_TEXTURE
|
|
50
50
|
uniform bakedVertexAnimationTime: f32;uniform bakedVertexAnimationSettings: vec4<f32>;var bakedVertexAnimationTexture : texture_2d<f32>;
|
|
51
51
|
#ifdef INSTANCES
|
|
52
52
|
attribute bakedVertexAnimationSettingsInstanced : vec4<f32>;
|
|
@@ -54,7 +54,7 @@ attribute bakedVertexAnimationSettingsInstanced : vec4<f32>;
|
|
|
54
54
|
fn readMatrixFromRawSamplerVAT(smp : texture_2d<f32>,index : f32,frame : f32)->mat4x4<f32>
|
|
55
55
|
{let offset=i32(index)*4;let frameUV=i32(frame);let m0=textureLoad(smp,vec2<i32>(offset+0,frameUV),0);let m1=textureLoad(smp,vec2<i32>(offset+1,frameUV),0);let m2=textureLoad(smp,vec2<i32>(offset+2,frameUV),0);let m3=textureLoad(smp,vec2<i32>(offset+3,frameUV),0);return mat4x4<f32>(m0,m1,m2,m3);}
|
|
56
56
|
#endif
|
|
57
|
-
`;r.ShaderStore.IncludesShadersStoreWGSL[n]||(r.ShaderStore.IncludesShadersStoreWGSL[n]=a),e.s(["bakedVertexAnimationDeclarationWGSL",0,{name:n,shader:a}],
|
|
57
|
+
`;r.ShaderStore.IncludesShadersStoreWGSL[n]||(r.ShaderStore.IncludesShadersStoreWGSL[n]=a),e.s(["bakedVertexAnimationDeclarationWGSL",0,{name:n,shader:a}],93879)},63547,e=>{"use strict";var r=e.i(37875);let t="instancesDeclaration",i=`#ifdef INSTANCES
|
|
58
58
|
attribute world0 : vec4<f32>;attribute world1 : vec4<f32>;attribute world2 : vec4<f32>;attribute world3 : vec4<f32>;
|
|
59
59
|
#ifdef INSTANCESCOLOR
|
|
60
60
|
attribute instanceColor : vec4<f32>;
|
|
@@ -76,7 +76,7 @@ uniform world : mat4x4<f32>;
|
|
|
76
76
|
uniform previousWorld : mat4x4<f32>;
|
|
77
77
|
#endif
|
|
78
78
|
#endif
|
|
79
|
-
`;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=i),e.s(["instancesDeclarationWGSL",0,{name:t,shader:i}])},
|
|
79
|
+
`;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=i),e.s(["instancesDeclarationWGSL",0,{name:t,shader:i}])},63608,e=>{"use strict";var r=e.i(37875);let t="clipPlaneVertexDeclaration",i=`#ifdef CLIPPLANE
|
|
80
80
|
uniform vClipPlane: vec4<f32>;varying fClipDistance: f32;
|
|
81
81
|
#endif
|
|
82
82
|
#ifdef CLIPPLANE2
|
|
@@ -94,7 +94,7 @@ uniform vClipPlane5: vec4<f32>;varying fClipDistance5: f32;
|
|
|
94
94
|
#ifdef CLIPPLANE6
|
|
95
95
|
uniform vClipPlane6: vec4<f32>;varying fClipDistance6: f32;
|
|
96
96
|
#endif
|
|
97
|
-
`;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=i),e.s(["clipPlaneVertexDeclarationWGSL",0,{name:t,shader:i}])},
|
|
97
|
+
`;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=i),e.s(["clipPlaneVertexDeclarationWGSL",0,{name:t,shader:i}])},98046,99804,58220,4312,e=>{"use strict";var r=e.i(37875);let t="instancesVertex",i=`#ifdef INSTANCES
|
|
98
98
|
var finalWorld=mat4x4<f32>(vertexInputs.world0,vertexInputs.world1,vertexInputs.world2,vertexInputs.world3);
|
|
99
99
|
#if defined(PREPASS_VELOCITY) || defined(VELOCITY) || defined(PREPASS_VELOCITY_LINEAR) || defined(VELOCITY_LINEAR)
|
|
100
100
|
var finalPreviousWorld=mat4x4<f32>(
|
|
@@ -121,7 +121,7 @@ var finalWorld=mesh.world;
|
|
|
121
121
|
var finalPreviousWorld=uniforms.previousWorld;
|
|
122
122
|
#endif
|
|
123
123
|
#endif
|
|
124
|
-
`;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=i),e.s(["instancesVertexWGSL",0,{name:t,shader:i}],
|
|
124
|
+
`;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=i),e.s(["instancesVertexWGSL",0,{name:t,shader:i}],98046);let n="bonesVertex",a=`#ifndef BAKED_VERTEX_ANIMATION_TEXTURE
|
|
125
125
|
#if NUM_BONE_INFLUENCERS>0
|
|
126
126
|
var influence : mat4x4<f32>;
|
|
127
127
|
#ifdef BONETEXTURE
|
|
@@ -174,7 +174,7 @@ influence=influence+uniforms.mBones[i32(vertexInputs.matricesIndicesExtra[3])]*v
|
|
|
174
174
|
finalWorld=finalWorld*influence;
|
|
175
175
|
#endif
|
|
176
176
|
#endif
|
|
177
|
-
`;r.ShaderStore.IncludesShadersStoreWGSL[n]||(r.ShaderStore.IncludesShadersStoreWGSL[n]=a),e.s(["bonesVertexWGSL",0,{name:n,shader:a}],
|
|
177
|
+
`;r.ShaderStore.IncludesShadersStoreWGSL[n]||(r.ShaderStore.IncludesShadersStoreWGSL[n]=a),e.s(["bonesVertexWGSL",0,{name:n,shader:a}],99804);let f="bakedVertexAnimation",d=`#ifdef BAKED_VERTEX_ANIMATION_TEXTURE
|
|
178
178
|
{
|
|
179
179
|
#ifdef INSTANCES
|
|
180
180
|
let VATStartFrame: f32=vertexInputs.bakedVertexAnimationSettingsInstanced.x;let VATEndFrame: f32=vertexInputs.bakedVertexAnimationSettingsInstanced.y;let VATOffsetFrame: f32=vertexInputs.bakedVertexAnimationSettingsInstanced.z;let VATSpeed: f32=vertexInputs.bakedVertexAnimationSettingsInstanced.w;
|
|
@@ -205,7 +205,7 @@ VATInfluence=VATInfluence+readMatrixFromRawSamplerVAT(bakedVertexAnimationTextur
|
|
|
205
205
|
#endif
|
|
206
206
|
finalWorld=finalWorld*VATInfluence;}
|
|
207
207
|
#endif
|
|
208
|
-
`;r.ShaderStore.IncludesShadersStoreWGSL[f]||(r.ShaderStore.IncludesShadersStoreWGSL[f]=d),e.s(["bakedVertexAnimationWGSL",0,{name:f,shader:d}],
|
|
208
|
+
`;r.ShaderStore.IncludesShadersStoreWGSL[f]||(r.ShaderStore.IncludesShadersStoreWGSL[f]=d),e.s(["bakedVertexAnimationWGSL",0,{name:f,shader:d}],58220);let o="clipPlaneVertex",s=`#ifdef CLIPPLANE
|
|
209
209
|
vertexOutputs.fClipDistance=dot(worldPos,uniforms.vClipPlane);
|
|
210
210
|
#endif
|
|
211
211
|
#ifdef CLIPPLANE2
|
|
@@ -223,7 +223,7 @@ vertexOutputs.fClipDistance5=dot(worldPos,uniforms.vClipPlane5);
|
|
|
223
223
|
#ifdef CLIPPLANE6
|
|
224
224
|
vertexOutputs.fClipDistance6=dot(worldPos,uniforms.vClipPlane6);
|
|
225
225
|
#endif
|
|
226
|
-
`;r.ShaderStore.IncludesShadersStoreWGSL[o]||(r.ShaderStore.IncludesShadersStoreWGSL[o]=s),e.s(["clipPlaneVertexWGSL",0,{name:o,shader:s}],
|
|
226
|
+
`;r.ShaderStore.IncludesShadersStoreWGSL[o]||(r.ShaderStore.IncludesShadersStoreWGSL[o]=s),e.s(["clipPlaneVertexWGSL",0,{name:o,shader:s}],4312)},13407,16247,78326,9975,e=>{"use strict";var r=e.i(37875);let t="morphTargetsVertexGlobalDeclaration",i=`#ifdef MORPHTARGETS
|
|
227
227
|
uniform morphTargetInfluences : array<f32,NUM_MORPH_INFLUENCERS>;
|
|
228
228
|
#ifdef MORPHTARGETS_TEXTURE
|
|
229
229
|
uniform morphTargetTextureIndices : array<f32,NUM_MORPH_INFLUENCERS>;uniform morphTargetTextureInfo : vec3<f32>;var morphTargets : texture_2d_array<f32>;fn readVector3FromRawSampler(targetIndex : i32,vertexIndex : f32)->vec3<f32>
|
|
@@ -235,7 +235,7 @@ let textureWidth: i32=i32(uniforms.morphTargetTextureInfo.y);
|
|
|
235
235
|
let y: i32=i32(vertexIndex)/textureWidth;let x: i32=i32(vertexIndex) % textureWidth;return textureLoad(morphTargets,vec2i(x,y),i32(uniforms.morphTargetTextureIndices[targetIndex]),0);}
|
|
236
236
|
#endif
|
|
237
237
|
#endif
|
|
238
|
-
`;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=i),e.s(["morphTargetsVertexGlobalDeclarationWGSL",0,{name:t,shader:i}],
|
|
238
|
+
`;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=i),e.s(["morphTargetsVertexGlobalDeclarationWGSL",0,{name:t,shader:i}],13407);let n="morphTargetsVertexDeclaration",a=`#ifdef MORPHTARGETS
|
|
239
239
|
#ifndef MORPHTARGETS_TEXTURE
|
|
240
240
|
#ifdef MORPHTARGETS_POSITION
|
|
241
241
|
attribute position{X} : vec3<f32>;
|
|
@@ -259,12 +259,12 @@ attribute color{X} : vec4<f32>;
|
|
|
259
259
|
uniform morphTargetCount: f32;
|
|
260
260
|
#endif
|
|
261
261
|
#endif
|
|
262
|
-
`;r.ShaderStore.IncludesShadersStoreWGSL[n]||(r.ShaderStore.IncludesShadersStoreWGSL[n]=a),e.s(["morphTargetsVertexDeclarationWGSL",0,{name:n,shader:a}],
|
|
262
|
+
`;r.ShaderStore.IncludesShadersStoreWGSL[n]||(r.ShaderStore.IncludesShadersStoreWGSL[n]=a),e.s(["morphTargetsVertexDeclarationWGSL",0,{name:n,shader:a}],16247);let f="morphTargetsVertexGlobal",d=`#ifdef MORPHTARGETS
|
|
263
263
|
#ifdef MORPHTARGETS_TEXTURE
|
|
264
264
|
var vertexID : f32;
|
|
265
265
|
#endif
|
|
266
266
|
#endif
|
|
267
|
-
`;r.ShaderStore.IncludesShadersStoreWGSL[f]||(r.ShaderStore.IncludesShadersStoreWGSL[f]=d),e.s(["morphTargetsVertexGlobalWGSL",0,{name:f,shader:d}],
|
|
267
|
+
`;r.ShaderStore.IncludesShadersStoreWGSL[f]||(r.ShaderStore.IncludesShadersStoreWGSL[f]=d),e.s(["morphTargetsVertexGlobalWGSL",0,{name:f,shader:d}],78326);let o="morphTargetsVertex",s=`#ifdef MORPHTARGETS
|
|
268
268
|
#ifdef MORPHTARGETS_TEXTURE
|
|
269
269
|
#if {X}==0
|
|
270
270
|
for (var i=0; i<NUM_MORPH_INFLUENCERS; i=i+1) {if (f32(i)>=uniforms.morphTargetCount) {break;}
|
|
@@ -374,12 +374,12 @@ colorUpdated=colorUpdated+(vertexInputs.color{X}-vertexInputs.color)*uniforms.mo
|
|
|
374
374
|
#endif
|
|
375
375
|
#endif
|
|
376
376
|
#endif
|
|
377
|
-
`;r.ShaderStore.IncludesShadersStoreWGSL[o]||(r.ShaderStore.IncludesShadersStoreWGSL[o]=s),e.s(["morphTargetsVertexWGSL",0,{name:o,shader:s}],
|
|
377
|
+
`;r.ShaderStore.IncludesShadersStoreWGSL[o]||(r.ShaderStore.IncludesShadersStoreWGSL[o]=s),e.s(["morphTargetsVertexWGSL",0,{name:o,shader:s}],9975)},90305,e=>{"use strict";var r=e.i(37875);let t="bumpVertex",i=`#if defined(BUMP) || defined(PARALLAX) || defined(CLEARCOAT_BUMP) || defined(ANISOTROPIC)
|
|
378
378
|
#if defined(TANGENT) && defined(NORMAL)
|
|
379
379
|
var tbnNormal: vec3f=normalize(normalUpdated);var tbnTangent: vec3f=normalize(tangentUpdated.xyz);var tbnBitangent: vec3f=cross(tbnNormal,tbnTangent)*tangentUpdated.w;var matTemp= mat3x3f(finalWorld[0].xyz,finalWorld[1].xyz,finalWorld[2].xyz)* mat3x3f(tbnTangent,tbnBitangent,tbnNormal);vertexOutputs.vTBN0=matTemp[0];vertexOutputs.vTBN1=matTemp[1];vertexOutputs.vTBN2=matTemp[2];
|
|
380
380
|
#endif
|
|
381
381
|
#endif
|
|
382
|
-
`;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=i),e.s(["bumpVertexWGSL",0,{name:t,shader:i}])},
|
|
382
|
+
`;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=i),e.s(["bumpVertexWGSL",0,{name:t,shader:i}])},39779,e=>{"use strict";var r=e.i(37875),t=e.i(50641),i=e.i(93879),n=e.i(13407),a=e.i(16247),f=e.i(63547),d=e.i(84327),o=e.i(63608),s=e.i(17978),u=e.i(78326),v=e.i(9975),m=e.i(98046),l=e.i(99804),c=e.i(58220),p=e.i(4312),x=e.i(90305);let S="geometryVertexShader",I=`#include<bonesDeclaration>
|
|
383
383
|
#include<bakedVertexAnimationDeclaration>
|
|
384
384
|
#include<morphTargetsVertexGlobalDeclaration>
|
|
385
385
|
#include<morphTargetsVertexDeclaration>[0..maxSimultaneousMorphTargets]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,99085,t=>{"use strict";var e=t.i(79957),i=t.i(19434),l=t.i(38116);class o extends e.FlowGraphExecutionBlock{constructor(t){super(t),this.onOn=this._registerSignalOutput("onOn"),this.onOff=this._registerSignalOutput("onOff"),this.value=this.registerDataOutput("value",i.RichTypeBoolean)}_execute(t,e){let i=t._getExecutionVariable(this,"value","boolean"==typeof this.config?.startValue&&!this.config.startValue);i=!i,t._setExecutionVariable(this,"value",i),this.value.setValue(i,t),i?this.onOn._activateSignal(t):this.onOff._activateSignal(t)}getClassName(){return"FlowGraphFlipFlopBlock"}}let a=!1;function s(){a||(a=!0,(0,l.RegisterClass)("FlowGraphFlipFlopBlock",o))}t.s(["FlowGraphFlipFlopBlock",0,o,"RegisterFlowGraphFlipFlopBlock",0,s],53358),s(),t.s([],35549),t.i(35549),t.i(53358),t.s(["FlowGraphFlipFlopBlock",0,o],99085)}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,85822,a=>{"use strict";var i=a.i(38759),t=a.i(19434),e=a.i(38116);class o extends i.FlowGraphExecutionBlockWithOutSignal{constructor(a){super(a),this.animationToPause=this.registerDataInput("animationToPause",t.RichTypeAny)}_execute(a){this.animationToPause.getValue(a).pause(),this.out._activateSignal(a)}getClassName(){return"FlowGraphPauseAnimationBlock"}}let s=!1;function n(){s||(s=!0,(0,e.RegisterClass)("FlowGraphPauseAnimationBlock",o))}a.s(["FlowGraphPauseAnimationBlock",0,o,"RegisterFlowGraphPauseAnimationBlock",0,n],73092),n(),a.s([],91963),a.i(91963),a.i(73092),a.s(["FlowGraphPauseAnimationBlock",0,o],85822)}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,37875,t=>{"use strict";class e{static GetShadersRepository(t=0){return 0===t?e.ShadersRepository:e.ShadersRepositoryWGSL}static GetShadersStore(t=0){return 0===t?e.ShadersStore:e.ShadersStoreWGSL}static GetIncludesShadersStore(t=0){return 0===t?e.IncludesShadersStore:e.IncludesShadersStoreWGSL}}e.ShadersRepository="src/Shaders/",e.ShadersStore={},e.IncludesShadersStore={},e.ShadersRepositoryWGSL="src/ShadersWGSL/",e.ShadersStoreWGSL={},e.IncludesShadersStoreWGSL={},t.s(["ShaderStore",0,e])},58910,t=>{"use strict";var e,r,n,s,a=t.i(95410);(e=n||(n={}))[e.LOCAL=0]="LOCAL",e[e.WORLD=1]="WORLD",e[e.BONE=2]="BONE";class i{}i.X=new a.Vector3(1,0,0),i.Y=new a.Vector3(0,1,0),i.Z=new a.Vector3(0,0,1),(r=s||(s={}))[r.X=0]="X",r[r.Y=1]="Y",r[r.Z=2]="Z",t.s(["Axis",0,i,"Coordinate",0,s,"Space",0,n])},46833,t=>{"use strict";var e=t.i(47997);class r{static GetPlanes(t){let n=[];for(let t=0;t<6;t++)n.push(new e.Plane(0,0,0,0));return r.GetPlanesToRef(t,n),n}static GetNearPlaneToRef(t,e){let r=t.m;e.normal.x=r[3]+r[2],e.normal.y=r[7]+r[6],e.normal.z=r[11]+r[10],e.d=r[15]+r[14],e.normalize()}static GetFarPlaneToRef(t,e){let r=t.m;e.normal.x=r[3]-r[2],e.normal.y=r[7]-r[6],e.normal.z=r[11]-r[10],e.d=r[15]-r[14],e.normalize()}static GetLeftPlaneToRef(t,e){let r=t.m;e.normal.x=r[3]+r[0],e.normal.y=r[7]+r[4],e.normal.z=r[11]+r[8],e.d=r[15]+r[12],e.normalize()}static GetRightPlaneToRef(t,e){let r=t.m;e.normal.x=r[3]-r[0],e.normal.y=r[7]-r[4],e.normal.z=r[11]-r[8],e.d=r[15]-r[12],e.normalize()}static GetTopPlaneToRef(t,e){let r=t.m;e.normal.x=r[3]-r[1],e.normal.y=r[7]-r[5],e.normal.z=r[11]-r[9],e.d=r[15]-r[13],e.normalize()}static GetBottomPlaneToRef(t,e){let r=t.m;e.normal.x=r[3]+r[1],e.normal.y=r[7]+r[5],e.normal.z=r[11]+r[9],e.d=r[15]+r[13],e.normalize()}static GetPlanesToRef(t,e){r.GetNearPlaneToRef(t,e[0]),r.GetFarPlaneToRef(t,e[1]),r.GetLeftPlaneToRef(t,e[2]),r.GetRightPlaneToRef(t,e[3]),r.GetTopPlaneToRef(t,e[4]),r.GetBottomPlaneToRef(t,e[5])}static IsPointInFrustum(t,e){for(let r=0;r<6;r++)if(0>e[r].dotCoordinate(t))return!1;return!0}}t.s(["Frustum",0,r])},5252,t=>{"use strict";var e=t.i(95410),r=t.i(45707);t.s(["PickingInfo",0,class{constructor(){this.hit=!1,this.distance=0,this.pickedPoint=null,this.pickedMesh=null,this.bu=0,this.bv=0,this.faceId=-1,this.subMeshFaceId=-1,this.subMeshId=0,this.pickedSprite=null,this.thinInstanceIndex=-1,this.ray=null,this.originMesh=null,this.aimTransform=null,this.gripTransform=null}getNormal(t=!1,n=!0){let s;if(!this.pickedMesh||n&&!this.pickedMesh.isVerticesDataPresent(r.VertexBuffer.NormalKind))return null;let a=this.pickedMesh.getIndices();a?.length===0&&(a=null);let i=e.TmpVectors.Vector3[0],o=e.TmpVectors.Vector3[1],h=e.TmpVectors.Vector3[2];if(n){let t=this.pickedMesh.getVerticesData(r.VertexBuffer.NormalKind),n=a?e.Vector3.FromArrayToRef(t,3*a[3*this.faceId],i):i.copyFromFloats(t[3*this.faceId*3],t[3*this.faceId*3+1],t[3*this.faceId*3+2]),c=a?e.Vector3.FromArrayToRef(t,3*a[3*this.faceId+1],o):o.copyFromFloats(t[(3*this.faceId+1)*3],t[(3*this.faceId+1)*3+1],t[(3*this.faceId+1)*3+2]),f=a?e.Vector3.FromArrayToRef(t,3*a[3*this.faceId+2],h):h.copyFromFloats(t[(3*this.faceId+2)*3],t[(3*this.faceId+2)*3+1],t[(3*this.faceId+2)*3+2]);n=n.scale(this.bu),c=c.scale(this.bv),f=f.scale(1-this.bu-this.bv),s=new e.Vector3(n.x+c.x+f.x,n.y+c.y+f.y,n.z+c.z+f.z)}else{let t=this.pickedMesh.getVerticesData(r.VertexBuffer.PositionKind),n=a?e.Vector3.FromArrayToRef(t,3*a[3*this.faceId],i):i.copyFromFloats(t[3*this.faceId*3],t[3*this.faceId*3+1],t[3*this.faceId*3+2]),c=a?e.Vector3.FromArrayToRef(t,3*a[3*this.faceId+1],o):o.copyFromFloats(t[(3*this.faceId+1)*3],t[(3*this.faceId+1)*3+1],t[(3*this.faceId+1)*3+2]),f=a?e.Vector3.FromArrayToRef(t,3*a[3*this.faceId+2],h):h.copyFromFloats(t[(3*this.faceId+2)*3],t[(3*this.faceId+2)*3+1],t[(3*this.faceId+2)*3+2]),u=n.subtract(c),l=f.subtract(c);s=e.Vector3.Cross(u,l)}let c=(t,r)=>{if(-1!==this.thinInstanceIndex){let n=t._thinInstanceDataStorage.matrixData,s=this.thinInstanceIndex<<4;if(n&&n.length>s){let t=e.TmpVectors.Matrix[0];e.Matrix.FromArrayToRef(n,s,t),e.Vector3.TransformNormalToRef(r,t,r)}}let n=t.getWorldMatrix();t.nonUniformScaling&&(e.TmpVectors.Matrix[0].copyFrom(n),(n=e.TmpVectors.Matrix[0]).setTranslationFromFloats(0,0,0),n.invert(),n.transposeToRef(e.TmpVectors.Matrix[1]),n=e.TmpVectors.Matrix[1]),e.Vector3.TransformNormalToRef(r,n,r)};if(t&&c(this.pickedMesh,s),this.ray){let r=e.TmpVectors.Vector3[0].copyFrom(s);t||c(this.pickedMesh,r),e.Vector3.Dot(r,this.ray.direction)>0&&s.negateInPlace()}return s.normalize(),s}getTextureCoordinates(t=r.VertexBuffer.UVKind){if(!this.pickedMesh||!this.pickedMesh.isVerticesDataPresent(t))return null;let n=this.pickedMesh.getIndices();if(!n)return null;let s=this.pickedMesh.getVerticesData(t);if(!s)return null;let a=e.Vector2.FromArray(s,2*n[3*this.faceId]),i=e.Vector2.FromArray(s,2*n[3*this.faceId+1]),o=e.Vector2.FromArray(s,2*n[3*this.faceId+2]);return a=a.scale(this.bu),i=i.scale(this.bv),o=o.scale(1-this.bu-this.bv),new e.Vector2(a.x+i.x+o.x,a.y+i.y+o.y)}}])},87409,t=>{"use strict";class e{constructor(t,e,r,n){this.x=t,this.y=e,this.width=r,this.height=n}toGlobal(t,r){return new e(this.x*t,this.y*r,this.width*t,this.height*r)}toGlobalToRef(t,e,r){return r.x=this.x*t,r.y=this.y*e,r.width=this.width*t,r.height=this.height*e,this}clone(){return new e(this.x,this.y,this.width,this.height)}}t.s(["Viewport",0,e])},88645,t=>{"use strict";t.s(["useOpenGLOrientationForUV",()=>!1])},27913,t=>{"use strict";var e=t.i(49097);t.s(["DrawWrapper",0,class{static GetEffect(t){return void 0===t.getPipelineContext?t.effect:t}constructor(t,e=!0){this._wasPreviouslyReady=!1,this._forceRebindOnNextCall=!0,this._wasPreviouslyUsingInstances=null,this.effect=null,this.defines=null,this.drawContext=t.createDrawContext(),e&&(this.materialContext=t.createMaterialContext())}setEffect(t,e,r=!0){this.effect=t,void 0!==e&&(this.defines=e),r&&this.drawContext?.reset()}dispose(t=!1){if(this.effect){let r=this.effect;t?r.dispose():e.TimingTools.SetImmediate(()=>{r.getEngine().onEndFrameObservable.addOnce(()=>{r.dispose()})}),this.effect=null}this.drawContext?.dispose()}}])},1901,t=>{"use strict";t.s(["IntersectionInfo",0,class{constructor(t,e,r){this.bu=t,this.bv=e,this.distance=r,this.faceId=0,this.subMeshId=0,this._internalSubMeshId=0}}])},75202,t=>{"use strict";class e{static get ForceFullSceneLoadingForIncremental(){return e._ForceFullSceneLoadingForIncremental}static set ForceFullSceneLoadingForIncremental(t){e._ForceFullSceneLoadingForIncremental=t}static get ShowLoadingScreen(){return e._ShowLoadingScreen}static set ShowLoadingScreen(t){e._ShowLoadingScreen=t}static get loggingLevel(){return e._LoggingLevel}static set loggingLevel(t){e._LoggingLevel=t}static get CleanBoneMatrixWeights(){return e._CleanBoneMatrixWeights}static set CleanBoneMatrixWeights(t){e._CleanBoneMatrixWeights=t}}e._ForceFullSceneLoadingForIncremental=!1,e._ShowLoadingScreen=!0,e._CleanBoneMatrixWeights=!1,e._LoggingLevel=0,t.s(["SceneLoaderFlags",0,e])},6801,70278,58,t=>{"use strict";t.s([],70278);var e=t.i(95410),r=t.i(80434),n=t.i(76527),s=t.i(88577),a=t.i(45707);let i="bakedVertexAnimationSettingsInstanced";function o(t){let e=t.bakedVertexAnimationManager?.texture?.getInternalTexture()?._bufferView;return e instanceof Float32Array||e instanceof Uint16Array}let h=!1;function c(){h||(h=!0,s.Mesh.prototype.thinInstanceAdd=function(t,e=!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(t)?t.length:1);let n=this._thinInstanceDataStorage.instancesCount;if(Array.isArray(t))for(let r=0;r<t.length;++r)this.thinInstanceSetMatrixAt(this._thinInstanceDataStorage.instancesCount++,t[r],r===t.length-1&&e);else this.thinInstanceSetMatrixAt(this._thinInstanceDataStorage.instancesCount++,t,e);return n},s.Mesh.prototype.thinInstanceAddSelf=function(t=!0){return this.thinInstanceAdd(e.Matrix.IdentityReadOnly,t)},s.Mesh.prototype.thinInstanceRegisterAttribute=function(t,e){t===a.VertexBuffer.ColorKind&&(t=a.VertexBuffer.ColorInstanceKind),this.removeVerticesData(t),this._thinInstanceInitializeUserStorage(),this._userThinInstanceBuffersStorage.strides[t]=e,this._userThinInstanceBuffersStorage.sizes[t]=e*Math.max(32,this._thinInstanceDataStorage.instancesCount),this._userThinInstanceBuffersStorage.data[t]=new Float32Array(this._userThinInstanceBuffersStorage.sizes[t]),this._userThinInstanceBuffersStorage.vertexBuffers[t]=new a.VertexBuffer(this.getEngine(),this._userThinInstanceBuffersStorage.data[t],t,!0,!1,e,!0),this.setVerticesBuffer(this._userThinInstanceBuffersStorage.vertexBuffers[t])},s.Mesh.prototype.thinInstanceSetMatrixAt=function(t,e,r=!0){if(!this._thinInstanceDataStorage.matrixData||t>=this._thinInstanceDataStorage.instancesCount)return!1;let n=this._thinInstanceDataStorage.matrixData;return e.copyToArray(n,16*t),this._thinInstanceDataStorage.worldMatrices&&(this._thinInstanceDataStorage.worldMatrices[t]=e),r&&(this.thinInstanceBufferUpdated("matrix"),this.doNotSyncBoundingInfo||this.thinInstanceRefreshBoundingInfo(!1)),!0},s.Mesh.prototype.thinInstanceSetAttributeAt=function(t,e,r,n=!0){return t===a.VertexBuffer.ColorKind&&(t=a.VertexBuffer.ColorInstanceKind),!!this._userThinInstanceBuffersStorage&&!!this._userThinInstanceBuffersStorage.data[t]&&!(e>=this._thinInstanceDataStorage.instancesCount)&&(this._thinInstanceUpdateBufferSize(t,0),this._userThinInstanceBuffersStorage.data[t].set(r,e*this._userThinInstanceBuffersStorage.strides[t]),n&&this.thinInstanceBufferUpdated(t),!0)},Object.defineProperty(s.Mesh.prototype,"thinInstanceCount",{get:function(){return this._thinInstanceDataStorage.instancesCount},set:function(t){let e=this._thinInstanceDataStorage.matrixData??this.source?._thinInstanceDataStorage.matrixData;t<=(e?e.length/16:0)&&(this._thinInstanceDataStorage.instancesCount=t)},enumerable:!0,configurable:!0}),s.Mesh.prototype._thinInstanceCreateMatrixBuffer=function(t,e,r=!0){let n=new a.Buffer(this.getEngine(),e,!r,16,!1,!0);for(let e=0;e<4;e++)this.setVerticesBuffer(n.createVertexBuffer(t+e,4*e,4));return n},s.Mesh.prototype.thinInstanceSetBuffer=function(t,e,r=0,n=!0){if(r=r||16,"matrix"===t)this._thinInstanceDataStorage.matrixBuffer?.dispose(),this._thinInstanceDataStorage.matrixBuffer=null,this._thinInstanceDataStorage.matrixBufferSize=e?e.length:32*r,this._thinInstanceDataStorage.matrixData=e,this._thinInstanceDataStorage.worldMatrices=null,null!==e?(this._thinInstanceDataStorage.instancesCount=e.length/r,this._thinInstanceDataStorage.matrixBuffer=this._thinInstanceCreateMatrixBuffer("world",e,n),this.doNotSyncBoundingInfo||this.thinInstanceRefreshBoundingInfo(!1)):(this._thinInstanceDataStorage.instancesCount=0,this.doNotSyncBoundingInfo||this.refreshBoundingInfo());else if("previousMatrix"===t)this._thinInstanceDataStorage.previousMatrixBuffer?.dispose(),this._thinInstanceDataStorage.previousMatrixBuffer=null,this._thinInstanceDataStorage.previousMatrixData=e,null!==e&&(this._thinInstanceDataStorage.previousMatrixBuffer=this._thinInstanceCreateMatrixBuffer("previousWorld",e,n));else if("splatIndex"===t&&e){this._thinInstanceInitializeUserStorage(),this._thinInstanceDataStorage.instancesCount=e.length/r,this._userThinInstanceBuffersStorage.data[t]=e,this._userThinInstanceBuffersStorage.strides[t]=r,this._userThinInstanceBuffersStorage.sizes[t]=e.length;let n=new a.Buffer(this.getEngine(),e,!0,16,!1,!0);this._thinInstanceDataStorage.matrixBuffer=n;for(let e=0;e<4;e++)this.setVerticesBuffer(n.createVertexBuffer(t+e,4*e,4))}else t===a.VertexBuffer.ColorKind&&(t=a.VertexBuffer.ColorInstanceKind),null===e?this._userThinInstanceBuffersStorage?.data[t]&&(this.removeVerticesData(t),delete this._userThinInstanceBuffersStorage.data[t],delete this._userThinInstanceBuffersStorage.strides[t],delete this._userThinInstanceBuffersStorage.sizes[t],delete this._userThinInstanceBuffersStorage.vertexBuffers[t]):(this._thinInstanceInitializeUserStorage(),this._userThinInstanceBuffersStorage.data[t]=e,this._userThinInstanceBuffersStorage.strides[t]=r,this._userThinInstanceBuffersStorage.sizes[t]=e.length,this._userThinInstanceBuffersStorage.vertexBuffers[t]=new a.VertexBuffer(this.getEngine(),e,t,!n,!1,r,!0),this.setVerticesBuffer(this._userThinInstanceBuffersStorage.vertexBuffers[t]))},s.Mesh.prototype.thinInstanceBufferUpdated=function(t){"matrix"===t?(this.thinInstanceAllowAutomaticStaticBufferRecreation&&this._thinInstanceDataStorage.matrixBuffer&&!this._thinInstanceDataStorage.matrixBuffer.isUpdatable()&&this._thinInstanceRecreateBuffer(t),this._thinInstanceDataStorage.matrixBuffer?.updateDirectly(this._thinInstanceDataStorage.matrixData,0,this._thinInstanceDataStorage.instancesCount)):"previousMatrix"===t?(this.thinInstanceAllowAutomaticStaticBufferRecreation&&this._thinInstanceDataStorage.previousMatrixBuffer&&!this._thinInstanceDataStorage.previousMatrixBuffer.isUpdatable()&&this._thinInstanceRecreateBuffer(t),this._thinInstanceDataStorage.previousMatrixBuffer?.updateDirectly(this._thinInstanceDataStorage.previousMatrixData,0,this._thinInstanceDataStorage.instancesCount)):"splatIndex"===t?this._thinInstanceDataStorage.matrixBuffer?.updateDirectly(this._userThinInstanceBuffersStorage.data[t],0,this._thinInstanceDataStorage.instancesCount):(t===a.VertexBuffer.ColorKind&&(t=a.VertexBuffer.ColorInstanceKind),this._userThinInstanceBuffersStorage?.vertexBuffers[t]&&(this.thinInstanceAllowAutomaticStaticBufferRecreation&&!this._userThinInstanceBuffersStorage.vertexBuffers[t].isUpdatable()&&this._thinInstanceRecreateBuffer(t),this._userThinInstanceBuffersStorage.vertexBuffers[t].updateDirectly(this._userThinInstanceBuffersStorage.data[t],0)))},s.Mesh.prototype.thinInstancePartialBufferUpdate=function(t,e,r){if("matrix"===t)this._thinInstanceDataStorage.matrixBuffer&&("number"==typeof e?this._thinInstanceDataStorage.matrixBuffer.updateDirectly(new Float32Array(this._thinInstanceDataStorage.matrixData.buffer,this._thinInstanceDataStorage.matrixData.byteOffset+16*r*Float32Array.BYTES_PER_ELEMENT,16*e),16*r):this._thinInstanceDataStorage.matrixBuffer.updateDirectly(e,r));else if(t===a.VertexBuffer.ColorKind&&(t=a.VertexBuffer.ColorInstanceKind),this._userThinInstanceBuffersStorage?.vertexBuffers[t]){let n=this._userThinInstanceBuffersStorage.vertexBuffers[t];if("number"==typeof e){let n=new Float32Array(this._userThinInstanceBuffersStorage.data[t].buffer,this._userThinInstanceBuffersStorage.data[t].byteOffset+r*this._userThinInstanceBuffersStorage.strides[t]*Float32Array.BYTES_PER_ELEMENT,e*this._userThinInstanceBuffersStorage.strides[t]);this._userThinInstanceBuffersStorage.vertexBuffers[t].updateDirectly(n,r*this._userThinInstanceBuffersStorage.strides[t])}else n.updateDirectly(e,r)}},s.Mesh.prototype.thinInstanceGetWorldMatrices=function(){if(!this._thinInstanceDataStorage.matrixData||!this._thinInstanceDataStorage.matrixBuffer)return[];let t=this._thinInstanceDataStorage.matrixData;if(!this._thinInstanceDataStorage.worldMatrices){this._thinInstanceDataStorage.worldMatrices=[];for(let r=0;r<this._thinInstanceDataStorage.instancesCount;++r)this._thinInstanceDataStorage.worldMatrices[r]=e.Matrix.FromArray(t,16*r)}return this._thinInstanceDataStorage.worldMatrices},s.Mesh.prototype.thinInstanceRefreshBoundingInfo=function(t=!1,r=!1,s=!1,h=!1){if(!this._thinInstanceDataStorage.matrixData||!this._thinInstanceDataStorage.matrixBuffer)return;let c=this._thinInstanceDataStorage.boundingVectors;if(t||!this.rawBoundingInfo){if(c.length=0,h&&function(t,r,s){let h=t._userThinInstanceBuffersStorage,c=h?.data[i],f=h?.strides[i];if(!c||!f||f<4||!o(t))return!1;let u=t._thinInstanceDataStorage.matrixData;if(!u)return!1;let l={},d=e.TmpVectors.Vector4[0],I=e.TmpVectors.Vector3[1],g=e.TmpVectors.Vector3[2],S=e.TmpVectors.Vector3[3],x=e.TmpVectors.Vector3[4],m=e.TmpVectors.Vector3[5],B=e.TmpVectors.Vector3[6],p=e.TmpVectors.Matrix[2],_=t.geometry?t.geometry.boundingBias:null,T=t.getTotalVertices();I.setAll(1/0),g.setAll(-1/0),S.setAll(1/0),x.setAll(-1/0);for(let r=0;r<t._thinInstanceDataStorage.instancesCount;++r){let n=r*f;d.set(c[n],c[n+1],c[n+2],c[n+3]);let i=t._getData({applyMorph:s,applyBakedVertexAnimation:!0,bakedVertexAnimationSettings:d,updatePositionsArray:!1,cache:l},null,a.VertexBuffer.PositionKind);if(!i)return!1;m.setAll(1/0),B.setAll(-1/0);for(let t=0;t<3*T;t+=3){let e=i[t],r=i[t+1],n=i[t+2];e<m.x&&(m.x=e),r<m.y&&(m.y=r),n<m.z&&(m.z=n),e>B.x&&(B.x=e),r>B.y&&(B.y=r),n>B.z&&(B.z=n)}_&&(m.x-=m.x*_.x+_.y,m.y-=m.y*_.x+_.y,m.z-=m.z*_.x+_.y,B.x+=B.x*_.x+_.y,B.y+=B.y*_.x+_.y,B.z+=B.z*_.x+_.y),I.minimizeInPlace(m),g.maximizeInPlace(B),e.Matrix.FromArrayToRef(u,16*r,p),_?function(t,r,n,s,a){let i=e.TmpVectors.Vector3[7],o=e.TmpVectors.Vector3[8];for(let h=0;h<2;++h)for(let c=0;c<2;++c)for(let f=0;f<2;++f)i.set(h?r.x:t.x,c?r.y:t.y,f?r.z:t.z),e.Vector3.TransformCoordinatesToRef(i,n,o),s.minimizeInPlace(o),a.maximizeInPlace(o)}(m,B,p,S,x):function(t,r,n,s,a){let i=e.TmpVectors.Vector3[7];for(let o=0;o<3*r;o+=3)e.Vector3.TransformCoordinatesFromFloatsToRef(t[o],t[o+1],t[o+2],n,i),s.minimizeInPlace(i),a.maximizeInPlace(i)}(i,T,p,S,x)}if(!isFinite(I.x)||!isFinite(S.x))return!1;t.getBoundingInfo().reConstruct(S,x),t.rawBoundingInfo=new n.BoundingInfo(I,g);var D=t.rawBoundingInfo;r.length=0;for(let t=0;t<D.boundingBox.vectors.length;++t)r.push(D.boundingBox.vectors[t].clone());return t._updateBoundingInfo(),!0}(this,c,s))return;h&&this.bakedVertexAnimationManager?.isEnabled&&o(this)?this.refreshBoundingInfo({applySkeleton:r,applyMorph:s,applyBakedVertexAnimation:!0,updatePositionsArray:!1}):this.refreshBoundingInfo(r,s);let t=this.getBoundingInfo();this.rawBoundingInfo=new n.BoundingInfo(t.minimum,t.maximum)}let f=this.getBoundingInfo(),u=this._thinInstanceDataStorage.matrixData;if(0===c.length)for(let t=0;t<f.boundingBox.vectors.length;++t)c.push(f.boundingBox.vectors[t].clone());e.TmpVectors.Vector3[0].setAll(1/0),e.TmpVectors.Vector3[1].setAll(-1/0);for(let t=0;t<this._thinInstanceDataStorage.instancesCount;++t){e.Matrix.FromArrayToRef(u,16*t,e.TmpVectors.Matrix[0]);for(let t=0;t<c.length;++t)e.Vector3.TransformCoordinatesToRef(c[t],e.TmpVectors.Matrix[0],e.TmpVectors.Vector3[2]),e.TmpVectors.Vector3[0].minimizeInPlace(e.TmpVectors.Vector3[2]),e.TmpVectors.Vector3[1].maximizeInPlace(e.TmpVectors.Vector3[2])}f.reConstruct(e.TmpVectors.Vector3[0],e.TmpVectors.Vector3[1]),this._updateBoundingInfo()},s.Mesh.prototype._thinInstanceRecreateBuffer=function(t,e=!0){"matrix"===t?(this._thinInstanceDataStorage.matrixBuffer?.dispose(),this._thinInstanceDataStorage.matrixBuffer=this._thinInstanceCreateMatrixBuffer("world",this._thinInstanceDataStorage.matrixData,e)):"previousMatrix"===t?this._scene.needsPreviousWorldMatrices&&(this._thinInstanceDataStorage.previousMatrixBuffer?.dispose(),this._thinInstanceDataStorage.previousMatrixBuffer=this._thinInstanceCreateMatrixBuffer("previousWorld",this._thinInstanceDataStorage.previousMatrixData??this._thinInstanceDataStorage.matrixData,e)):(t===a.VertexBuffer.ColorKind&&(t=a.VertexBuffer.ColorInstanceKind),this._userThinInstanceBuffersStorage.vertexBuffers[t]?.dispose(),this._userThinInstanceBuffersStorage.vertexBuffers[t]=new a.VertexBuffer(this.getEngine(),this._userThinInstanceBuffersStorage.data[t],t,!e,!1,this._userThinInstanceBuffersStorage.strides[t],!0),this.setVerticesBuffer(this._userThinInstanceBuffersStorage.vertexBuffers[t]))},s.Mesh.prototype._thinInstanceUpdateBufferSize=function(t,e=1){t===a.VertexBuffer.ColorKind&&(t=a.VertexBuffer.ColorInstanceKind);let r="matrix"===t;if(!r&&(!this._userThinInstanceBuffersStorage||!this._userThinInstanceBuffersStorage.strides[t]))return;let n=r?16:this._userThinInstanceBuffersStorage.strides[t],s=r?this._thinInstanceDataStorage.matrixBufferSize:this._userThinInstanceBuffersStorage.sizes[t],i=r?this._thinInstanceDataStorage.matrixData:this._userThinInstanceBuffersStorage.data[t],o=(this._thinInstanceDataStorage.instancesCount+e)*n,h=s;for(;h<o;)h*=2;if(!i||s!=h){if(i){let t=new Float32Array(h);t.set(i,0),i=t}else i=new Float32Array(h);r?(this._thinInstanceDataStorage.matrixBuffer?.dispose(),this._thinInstanceDataStorage.matrixBuffer=this._thinInstanceCreateMatrixBuffer("world",i,!1),this._thinInstanceDataStorage.matrixData=i,this._thinInstanceDataStorage.matrixBufferSize=h,this._scene.needsPreviousWorldMatrices&&!this._thinInstanceDataStorage.previousMatrixData&&(this._thinInstanceDataStorage.previousMatrixBuffer?.dispose(),this._thinInstanceDataStorage.previousMatrixBuffer=this._thinInstanceCreateMatrixBuffer("previousWorld",i,!1))):(this._userThinInstanceBuffersStorage.vertexBuffers[t]?.dispose(),this._userThinInstanceBuffersStorage.data[t]=i,this._userThinInstanceBuffersStorage.sizes[t]=h,this._userThinInstanceBuffersStorage.vertexBuffers[t]=new a.VertexBuffer(this.getEngine(),i,t,!0,!1,n,!0),this.setVerticesBuffer(this._userThinInstanceBuffersStorage.vertexBuffers[t]))}},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)})}t.s(["RegisterThinInstanceMesh",0,c],58),c(),t.s([],6801)},90951,t=>{"use strict";t.i(6801),t.i(70278);var e=t.i(58);t.s(["RegisterThinInstanceMesh",()=>e.RegisterThinInstanceMesh])},2604,t=>{t.v(e=>Promise.all(["static/chunks/2h5nvlgky7fpa.js"].map(e=>t.l(e))).then(()=>e(96964)))}]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,70994,e=>{"use strict";var t=e.i(37875);let r="postprocessVertexShader",s=`attribute position: vec2<f32>;uniform scale: vec2<f32>;varying vUV: vec2<f32>;const madd=vec2(0.5,0.5);
|
|
2
2
|
#define CUSTOM_VERTEX_DEFINITIONS
|
|
3
3
|
@vertex
|
|
4
4
|
fn main(input : VertexInputs)->FragmentInputs {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,85098,i=>{"use strict";i.i(12305);var n=i.i(32602);i.i(4623),i.s(["AnimationGroup",()=>n.AnimationGroup,"AnimationGroupClipFrames",()=>n.AnimationGroupClipFrames,"AnimationGroupClipFramesInPlace",()=>n.AnimationGroupClipFramesInPlace,"AnimationGroupClipInPlace",()=>n.AnimationGroupClipInPlace,"AnimationGroupClipKeys",()=>n.AnimationGroupClipKeys,"AnimationGroupClipKeysInPlace",()=>n.AnimationGroupClipKeysInPlace,"AnimationGroupMakeAnimationAdditive",()=>n.AnimationGroupMakeAnimationAdditive,"AnimationGroupMergeAnimationGroups",()=>n.AnimationGroupMergeAnimationGroups,"AnimationGroupParse",()=>n.AnimationGroupParse,"RegisterAnimationGroup",()=>n.RegisterAnimationGroup,"TargetedAnimation",()=>n.TargetedAnimation])}]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,73272,e=>{"use strict";var r=e.i(37875);let t="helperFunctions",a=`const PI: f32=3.1415926535897932384626433832795;const TWO_PI: f32=6.283185307179586;const HALF_PI: f32=1.5707963267948966;const RECIPROCAL_PI: f32=0.3183098861837907;const RECIPROCAL_PI2: f32=0.15915494309189535;const RECIPROCAL_PI4: f32=0.07957747154594767;const HALF_MIN: f32=5.96046448e-08;
|
|
2
2
|
const LinearEncodePowerApprox: f32=2.2;const GammaEncodePowerApprox: f32=1.0/LinearEncodePowerApprox;const LuminanceEncodeApprox: vec3f=vec3f(0.2126,0.7152,0.0722);const Epsilon:f32=0.0000001;fn square(x: f32)->f32 {return x*x;}
|
|
3
3
|
fn saturate(x: f32)->f32 {return clamp(x,0.0,1.0);}
|
|
4
4
|
fn saturateVec3(x: vec3f)->vec3f {return clamp(x,vec3f(),vec3f(1.0));}
|
|
@@ -16,9 +16,9 @@ b11/det,(a22*a00-a02*a20)/det,(-a12*a00+a02*a10)/det,
|
|
|
16
16
|
b21/det,(-a21*a00+a01*a20)/det,(a11*a00-a01*a10)/det);}
|
|
17
17
|
#if USE_EXACT_SRGB_CONVERSIONS
|
|
18
18
|
fn toLinearSpaceExact(color: vec3f)->vec3f
|
|
19
|
-
{let nearZeroSection: vec3f=0.0773993808*color;let remainingSection: vec3f=pow(0.947867299*(color+vec3f(0.055)),vec3f(2.4));return
|
|
19
|
+
{let nearZeroSection: vec3f=0.0773993808*color;let remainingSection: vec3f=pow(0.947867299*(color+vec3f(0.055)),vec3f(2.4));return select(remainingSection,nearZeroSection,color<=vec3f(0.04045));}
|
|
20
20
|
fn toGammaSpaceExact(color: vec3f)->vec3f
|
|
21
|
-
{let nearZeroSection: vec3f=12.92*color;let remainingSection: vec3f=1.055*pow(color,vec3f(0.41666))-vec3f(0.055);return
|
|
21
|
+
{let nearZeroSection: vec3f=12.92*color;let remainingSection: vec3f=1.055*pow(color,vec3f(0.41666))-vec3f(0.055);return select(remainingSection,nearZeroSection,color<=vec3f(0.0031308));}
|
|
22
22
|
#endif
|
|
23
23
|
fn toLinearSpace(color: f32)->f32
|
|
24
24
|
{
|
|
@@ -84,7 +84,7 @@ fn max3(v: vec3f)->f32 {return max(v.x,max(v.y,v.z));}
|
|
|
84
84
|
fn uint2float(i: u32)->f32 {return bitcast<f32>(0x3F800000u | (i>>9u))-1.0;}
|
|
85
85
|
fn plasticSequence(rstate: u32)->vec2f {return vec2f(uint2float(rstate*3242174889u),
|
|
86
86
|
uint2float(rstate*2447445414u));}
|
|
87
|
-
`;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=a),e.s(["helperFunctionsWGSL",0,{name:t,shader:a}])},
|
|
87
|
+
`;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=a),e.s(["helperFunctionsWGSL",0,{name:t,shader:a}])},61576,e=>{"use strict";var r=e.i(37875),t=e.i(73272);let a="rgbdEncodePixelShader",c=`varying vUV: vec2f;var textureSamplerSampler: sampler;var textureSampler: texture_2d<f32>;
|
|
88
88
|
#include<helperFunctions>
|
|
89
89
|
#define CUSTOM_FRAGMENT_DEFINITIONS
|
|
90
90
|
@fragment
|