@uptimizr/dashboard 0.4.6 → 0.4.8
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 +19 -5
- package/out/__next._full.txt +10 -10
- package/out/__next._tree.txt +1 -1
- package/out/_next/static/chunks/{3cp5nmtwxq4gr.js → 0-6mdj5wxsfid.js} +1 -1
- package/out/_next/static/chunks/{2clevl_9ayd0x.js → 0-qthfqvm1jyj.js} +1 -1
- package/out/_next/static/chunks/01viyuclp2gm9.js +1 -0
- package/out/_next/static/chunks/02aym4t2hgo5c.js +1 -0
- package/out/_next/static/chunks/{1fervgvgv10r-.js → 02ic9b5ejugow.js} +1 -1
- package/out/_next/static/chunks/03p70i4c7qt0v.js +1 -0
- package/out/_next/static/chunks/{3zv5kyos9vtmm.js → 03pjr-ivdicng.js} +1 -1
- package/out/_next/static/chunks/041a06-lxipy5.js +1 -0
- package/out/_next/static/chunks/{3-yhe6rcsjh88.js → 06dzkwetqis-5.js} +1 -1
- package/out/_next/static/chunks/{2mjjo0yj-4ro4.js → 06kvanz5-fo52.js} +1 -1
- package/out/_next/static/chunks/{28i3wgvgn_at1.js → 07y8ke_iy59dn.js} +1 -1
- package/out/_next/static/chunks/09jukc-4jl735.js +1 -0
- package/out/_next/static/chunks/{0cmyc-uvk93kl.js → 09khmdgez3t0a.js} +74 -74
- package/out/_next/static/chunks/{2x-7kbwq8tl-o.js → 0_dca4876jshu.js} +196 -196
- package/out/_next/static/chunks/0axcgnl5qzr6e.js +1 -0
- package/out/_next/static/chunks/0ay4fjomijs3n.js +1 -0
- package/out/_next/static/chunks/0c7fy79wlccat.js +1 -0
- package/out/_next/static/chunks/0cqe4-l3imct3.js +1 -0
- package/out/_next/static/chunks/0cssvelju788j.js +1 -0
- package/out/_next/static/chunks/{2-_a-v1xeo5hb.js → 0ctain5xq2wsd.js} +116 -115
- package/out/_next/static/chunks/{3yk0hzfq5rcs6.js → 0df-dr3otg_4w.js} +1 -1
- package/out/_next/static/chunks/{0i9wa8hjd-5tc.js → 0endw997j7ao9.js} +1 -1
- package/out/_next/static/chunks/0ev_pbit1v_qg.js +1 -0
- package/out/_next/static/chunks/0eyw9oiwipywb.js +1 -0
- package/out/_next/static/chunks/0fkzbuo1tex4u.js +1 -0
- package/out/_next/static/chunks/0govas0u0t4w3.js +1 -0
- package/out/_next/static/chunks/{287hakn2ijupp.js → 0guzhnususp3-.js} +2 -2
- package/out/_next/static/chunks/0h7bq_ysu17q7.js +3 -0
- package/out/_next/static/chunks/0hneh_3xzlo28.js +1 -0
- package/out/_next/static/chunks/0iaqwme19z_0s.js +1 -0
- package/out/_next/static/chunks/0ibmar10xndpn.js +1 -0
- package/out/_next/static/chunks/0ii8mqoteppgh.js +11 -0
- package/out/_next/static/chunks/{3ioxfi3bvznhh.js → 0ip6v64di_l6x.js} +1 -1
- package/out/_next/static/chunks/{184pz6z3dflfm.js → 0ixymgjgz3grn.js} +20 -20
- package/out/_next/static/chunks/0kuah8g7lt5ox.js +1 -0
- package/out/_next/static/chunks/0l3k4j19vxm17.js +1 -0
- package/out/_next/static/chunks/0l6hg0ohwh9-m.js +1 -0
- package/out/_next/static/chunks/0m4um4ylhlfan.js +1 -0
- package/out/_next/static/chunks/0mj837d4h0ddq.js +1 -0
- package/out/_next/static/chunks/0nyn-f4905o91.js +1 -0
- package/out/_next/static/chunks/0og6i9rsgkuif.js +1 -0
- package/out/_next/static/chunks/0os1x-fxzgnxs.js +1 -0
- package/out/_next/static/chunks/0otnra7mp0hog.js +1 -0
- package/out/_next/static/chunks/{3p03l0z65c8vc.js → 0oyf2xzv8ofkk.js} +253 -253
- package/out/_next/static/chunks/0qvsy3gcqjm12.js +1 -0
- package/out/_next/static/chunks/{0yd4_xh476fjn.js → 0rl4ddh2vgxyl.js} +97 -97
- package/out/_next/static/chunks/0rwpttmsmqvn_.js +1 -0
- package/out/_next/static/chunks/0so3wjp9ch93y.js +1 -0
- package/out/_next/static/chunks/{36pz_ews7u0xb.js → 0te4g160_rb5d.js} +1 -1
- package/out/_next/static/chunks/0uby-zvu799ef.js +1 -0
- package/out/_next/static/chunks/{2kk_vvmr2xm3d.js → 0uvn0op2mlr2u.js} +12 -12
- package/out/_next/static/chunks/0vwj4hxjm0igv.js +1 -0
- package/out/_next/static/chunks/{0r-x702_jvhud.js → 0w7c30w07uct2.js} +12 -12
- package/out/_next/static/chunks/0wm38z3u2133a.js +1 -0
- package/out/_next/static/chunks/0y7yk5al7_p8q.js +4 -0
- package/out/_next/static/chunks/0ycr0gi6fn6bt.js +1 -0
- package/out/_next/static/chunks/0ywvahq9t0tki.js +1 -0
- package/out/_next/static/chunks/0zh6nslagkby-.js +1 -0
- package/out/_next/static/chunks/{3twr9ds68-9us.js → 0zo8xa0nej3ex.js} +1 -1
- package/out/_next/static/chunks/{1lu7rjfvxj8yj.js → 0zsir95gpf3xw.js} +1 -1
- package/out/_next/static/chunks/{1j4c0nvdo5q68.js → 0zu6ryyj0ig-j.js} +1 -1
- package/out/_next/static/chunks/{1bv-jzy_2jiqs.js → 1-jv8k10q_1uw.js} +1 -1
- package/out/_next/static/chunks/{0xx7_7y5jdlh4.js → 1-s5ioie9a94e.js} +1 -1
- package/out/_next/static/chunks/{27z7j17kcrty_.js → 1-yos1h0qws5e.js} +11 -11
- package/out/_next/static/chunks/10o7brc3x027r.js +1 -0
- package/out/_next/static/chunks/{2xe4bgir5l-9b.js → 10pae4gb9i929.js} +504 -504
- package/out/_next/static/chunks/13p93itm8a3ym.js +1 -0
- package/out/_next/static/chunks/{2mrkv0z2i74pv.js → 147s8i_lktp4_.js} +2 -2
- package/out/_next/static/chunks/{3nwaovnpiyrt8.js → 14tgo5xt_3j4w.js} +3 -3
- package/out/_next/static/chunks/1699hx-vlak0n.js +22 -0
- package/out/_next/static/chunks/{2b5nt7yn-pq3a.js → 16d6n9e77rqti.js} +1 -1
- package/out/_next/static/chunks/{3nr48h9zwum-3.js → 16f3d5dv83rsr.js} +1 -1
- package/out/_next/static/chunks/16i_tpwn_cmr-.js +1 -0
- package/out/_next/static/chunks/{2117sv2qzo6yq.js → 16rfr165nbha0.js} +1 -1
- package/out/_next/static/chunks/16sl51pvzo4tf.js +1 -0
- package/out/_next/static/chunks/1760s-32qpwgg.js +1 -0
- package/out/_next/static/chunks/{3rj-5v0j_2-_2.js → 18kq07c5xy_4g.js} +4 -4
- package/out/_next/static/chunks/{2wgh5i70bzelt.js → 190tbzt861ao3.js} +392 -392
- package/out/_next/static/chunks/19bhv6cupnnyj.js +1 -0
- package/out/_next/static/chunks/1_14pn2wwebxy.js +1 -0
- package/out/_next/static/chunks/{2_lw4d7t-xcqi.js → 1_kikmeubh0wq.js} +523 -522
- package/out/_next/static/chunks/1ay3z6agelsvz.js +1 -0
- package/out/_next/static/chunks/1b-fi3bfmpe31.js +1 -0
- package/out/_next/static/chunks/1bae3tqv53x9_.js +1 -0
- package/out/_next/static/chunks/{2s4fzgzkwjluu.js → 1bf421g4peccx.js} +2 -2
- package/out/_next/static/chunks/1bfony5qsc5tp.js +1 -0
- package/out/_next/static/chunks/{3vtmucpx25o7q.js → 1ddt0ot7kl8vq.js} +584 -584
- package/out/_next/static/chunks/1emz2vjkgck4z.js +1 -0
- package/out/_next/static/chunks/1eogzzw8i1wsg.js +1 -0
- package/out/_next/static/chunks/1g9p2h1-31q8o.js +1 -0
- package/out/_next/static/chunks/1gcz1k1v1woca.js +1 -0
- package/out/_next/static/chunks/1h8lyicgqhpxa.js +1 -0
- package/out/_next/static/chunks/{0e5dcxmkprebg.js → 1hot663akaepl.js} +1 -1
- package/out/_next/static/chunks/1i7pgl3ks5ye0.js +1 -0
- package/out/_next/static/chunks/{0xzamrecplwzw.js → 1i8sk_qgpdjhs.js} +1 -1
- package/out/_next/static/chunks/1kk3ct7pkpf3b.js +1 -0
- package/out/_next/static/chunks/1kq9o8del67le.js +1 -0
- package/out/_next/static/chunks/1l7tzyx2mumlq.js +1 -0
- package/out/_next/static/chunks/1n_uwed9o--go.js +1 -0
- package/out/_next/static/chunks/1o351eldttogn.js +1 -0
- package/out/_next/static/chunks/{1f07l3q77zat1.js → 1ogs4_aj84bfn.js} +1 -1
- package/out/_next/static/chunks/{3_dm45k0vk1aa.js → 1p206txlluipi.js} +565 -565
- package/out/_next/static/chunks/1p2bt1w845v6c.js +1 -0
- package/out/_next/static/chunks/1p3rgz4aef1gk.js +1 -0
- package/out/_next/static/chunks/{0ypejzd74ixbw.js → 1qcgdx9yl0gfx.js} +15 -15
- package/out/_next/static/chunks/1ql3mm2w5r-m8.js +1 -0
- package/out/_next/static/chunks/1qvcyuyshi3ll.js +53 -0
- package/out/_next/static/chunks/1r0yyg5a_0knc.js +1 -0
- package/out/_next/static/chunks/{374lzksboll-t.js → 1sa6qiidtcyk2.js} +1 -1
- package/out/_next/static/chunks/1t-9vrdrsi8le.js +1 -0
- package/out/_next/static/chunks/1t97zo0tlpbnz.js +1 -0
- package/out/_next/static/chunks/1te2tinzqnwck.js +1 -0
- package/out/_next/static/chunks/{3j3ol_d1vsdhx.js → 1trt-m2nrck0v.js} +1 -1
- package/out/_next/static/chunks/{3vu5y270muh-7.js → 1ty9jpwr3o_st.js} +1 -1
- package/out/_next/static/chunks/{415g3asdds1ac.js → 1u6w6veke8rze.js} +1 -1
- package/out/_next/static/chunks/{0-laj-bivzp4x.js → 1u900urmrbv73.js} +1 -1
- package/out/_next/static/chunks/{0o73w0cn5n_vl.js → 1vz2gd8k74lpi.js} +1 -1
- package/out/_next/static/chunks/1wkpl9bfb0wn7.js +1 -0
- package/out/_next/static/chunks/1wrly9a9c3teq.js +1 -0
- package/out/_next/static/chunks/1x0m05155yy4e.js +1 -0
- package/out/_next/static/chunks/{1my968s78he8g.js → 1xf1wfow43ekc.js} +15 -15
- package/out/_next/static/chunks/1y10o40v9odam.js +1 -0
- package/out/_next/static/chunks/{3_gfl66zf638s.js → 1y_zykt3fpen4.js} +901 -906
- package/out/_next/static/chunks/1ye6xtbm16pg4.js +1 -0
- package/out/_next/static/chunks/1z6_57k5h31u7.js +1 -0
- package/out/_next/static/chunks/1zboqft0h6mop.js +1 -0
- package/out/_next/static/chunks/1zr3c351x0ri5.js +1 -0
- package/out/_next/static/chunks/2-5p2lcedvrli.js +1 -0
- package/out/_next/static/chunks/{1_4hh3dfop93j.js → 206hxrq60f1_e.js} +1 -1
- package/out/_next/static/chunks/20r05k3-studj.js +1 -0
- package/out/_next/static/chunks/22gs24kj2du56.js +1 -0
- package/out/_next/static/chunks/22x5pd1gyp7sf.js +1 -0
- package/out/_next/static/chunks/{3qo7e6b73mfxq.js → 22z-2t_yp1jzs.js} +1 -1
- package/out/_next/static/chunks/{3d43gd91r06y6.js → 23hmfdw6z5zfy.js} +507 -505
- package/out/_next/static/chunks/23y1krqnc-8sm.js +1 -0
- package/out/_next/static/chunks/{0gk5rnci1hznh.js → 24tbkj1qkux88.js} +2 -2
- package/out/_next/static/chunks/{2-i29-jdbwww6.js → 26cmri51v7497.js} +111 -111
- package/out/_next/static/chunks/27jalbk9zu-2b.js +1 -0
- package/out/_next/static/chunks/285d2s9096ryc.js +1 -0
- package/out/_next/static/chunks/296ykep2nvppv.js +1 -0
- package/out/_next/static/chunks/29nehg5cal-ug.js +1 -0
- package/out/_next/static/chunks/2_a56_k3x7to6.js +1 -0
- package/out/_next/static/chunks/2a-0l6eb1blh3.js +4 -0
- package/out/_next/static/chunks/{2oacwtbslo90t.js → 2a31-txop1jzg.js} +360 -360
- package/out/_next/static/chunks/2bse5vll1o-x0.js +1 -0
- package/out/_next/static/chunks/2ct40spu9wfj7.js +1 -0
- package/out/_next/static/chunks/{2epukrz6paj9n.js → 2ept01b7t-e03.js} +1 -1
- package/out/_next/static/chunks/{22yht3s7c-xih.js → 2ey5dqelco_g5.js} +1 -1
- package/out/_next/static/chunks/2fd_009hw7y0m.js +1 -0
- package/out/_next/static/chunks/{2fspbfbxbswzd.js → 2ftz9kaxrsgxh.js} +1 -1
- package/out/_next/static/chunks/2gefdnozflr7p.js +1 -0
- package/out/_next/static/chunks/{2as_br1awqk6k.js → 2gs-u1n5uv7iz.js} +496 -496
- package/out/_next/static/chunks/{1a94whad0y57f.js → 2hizqql79u-54.js} +1 -1
- package/out/_next/static/chunks/2iqf2dpdg_vfl.js +1 -0
- package/out/_next/static/chunks/2j7z127s_ycjd.js +1 -0
- package/out/_next/static/chunks/2kax7uslfxdnx.js +31 -0
- package/out/_next/static/chunks/{2laz1v9fg2a2z.js → 2lh_w9rzy3vek.js} +1 -1
- package/out/_next/static/chunks/{3mmy9zsb7zo-m.js → 2ln1na26qwp-3.js} +23 -23
- package/out/_next/static/chunks/2n08l1q5o_27e.js +1 -0
- package/out/_next/static/chunks/2n7268gyd9z-6.js +1 -0
- package/out/_next/static/chunks/2nq9cgjmtqwvp.js +1 -0
- package/out/_next/static/chunks/{25brs445bjbik.js → 2oj8qc_pv14nk.js} +2 -2
- package/out/_next/static/chunks/2q24e72-olbe8.js +1 -0
- package/out/_next/static/chunks/2qc4hscs26cro.js +1 -0
- package/out/_next/static/chunks/2qe46redkqhfg.js +1 -0
- package/out/_next/static/chunks/2qmfe0mqw150h.js +1 -0
- package/out/_next/static/chunks/2qtc0nbl_521e.js +1 -0
- package/out/_next/static/chunks/2rofu6gu1xzuq.js +1 -0
- package/out/_next/static/chunks/2tdi94rkq739i.js +1 -0
- package/out/_next/static/chunks/2u_2sacqa9xa7.js +1 -0
- package/out/_next/static/chunks/2ujqz6088shm5.js +1 -0
- package/out/_next/static/chunks/{3my05px5mv_s5.js → 2urh9qafp3fiw.js} +235 -235
- package/out/_next/static/chunks/{23-y1f_zw56vo.js → 2v06n4z8wsmn9.js} +1 -1
- package/out/_next/static/chunks/2vp-5skbk1nfu.js +1 -0
- package/out/_next/static/chunks/2vu973j_n6cpx.js +1 -0
- package/out/_next/static/chunks/2wwra56rehfcj.js +1 -0
- package/out/_next/static/chunks/2xpwr97h2asal.js +1 -0
- package/out/_next/static/chunks/3000-0b8n9t_2.js +1 -0
- package/out/_next/static/chunks/{0q0i4pdyq66gb.js → 30t3203d7p2da.js} +1 -1
- package/out/_next/static/chunks/{3t4ys6th6gf2w.js → 31kto7-dxkt3z.js} +1 -1
- package/out/_next/static/chunks/{0j0a0wvmmghxj.js → 32oflcl79d8mu.js} +1 -1
- package/out/_next/static/chunks/32ovg81ae0l03.js +1 -0
- package/out/_next/static/chunks/{2c8rmxz151fxa.js → 331kthnvoma7n.js} +224 -224
- package/out/_next/static/chunks/337kn1mn34rc6.js +1 -0
- package/out/_next/static/chunks/{336ckqpboqmbn.js → 33xug8kf0-a1o.js} +1 -1
- package/out/_next/static/chunks/34dcb7_flbrvo.js +1 -0
- package/out/_next/static/chunks/34zotyeqrz_nq.js +1 -0
- package/out/_next/static/chunks/351wsmi75l8db.js +1 -0
- package/out/_next/static/chunks/36yv-ialtpx98.js +1 -0
- package/out/_next/static/chunks/37hwasxtee5e0.js +1 -0
- package/out/_next/static/chunks/37t0iclgxes05.js +1 -0
- package/out/_next/static/chunks/{1x0j78ohufpul.js → 37xnvnx1jxfaf.js} +1 -1
- package/out/_next/static/chunks/{29hkkj9raxte9.js → 38w74ixqt-9co.js} +77 -77
- package/out/_next/static/chunks/{0jap7l5-bskj4.js → 39t2x_9zd2rst.js} +12 -12
- package/out/_next/static/chunks/{38q0enmlg5q9o.js → 39v73timmzwny.js} +2 -2
- package/out/_next/static/chunks/{3puu2_-t0lln9.js → 3_xqc3658d8sw.js} +12 -12
- package/out/_next/static/chunks/3ba8eudvlczwe.js +1 -0
- package/out/_next/static/chunks/3buezhxqc8n6n.js +1 -0
- package/out/_next/static/chunks/3c5iwwj-fhbue.js +1 -0
- package/out/_next/static/chunks/{2kmmk9coo9_b0.js → 3d8ot2tw6yqfq.js} +143 -143
- package/out/_next/static/chunks/3dc057ffe7ij-.js +1 -0
- package/out/_next/static/chunks/3djnlzwj9869o.js +1 -0
- package/out/_next/static/chunks/{2_6b9lraq-exh.js → 3fuqxjjf8o1v9.js} +5 -5
- package/out/_next/static/chunks/{0j2ygtc_-bo3m.js → 3gt6rzg9qw-an.js} +1 -1
- package/out/_next/static/chunks/{0rykrf_vofbad.js → 3h_05w5j8x538.js} +1 -1
- package/out/_next/static/chunks/{3txu-i5qn183a.js → 3hkhd1_k8xohv.js} +321 -321
- package/out/_next/static/chunks/{2h07np207nlx7.js → 3ijcc5tfisfnj.js} +1 -1
- package/out/_next/static/chunks/3j0dbpd9zop3p.js +1 -0
- package/out/_next/static/chunks/{14e4k-718qadd.js → 3ju83xk-ca7ma.js} +163 -168
- package/out/_next/static/chunks/3jxhl4apmhbm1.js +13 -0
- package/out/_next/static/chunks/{1h1gixjbjkbsl.js → 3la99oz_0p0r6.js} +5 -5
- package/out/_next/static/chunks/{1mt4cnd_d6jvf.js → 3n1b34fd5fdrh.js} +1 -1
- package/out/_next/static/chunks/3nq_hq4x3rn3r.js +1 -0
- package/out/_next/static/chunks/3pgb1kkqrdl9t.js +1 -0
- package/out/_next/static/chunks/3pik_-jj-zkfl.js +1 -0
- package/out/_next/static/chunks/{1zmx71cvc6ksk.js → 3q38kdbzd2nbd.js} +1 -1
- package/out/_next/static/chunks/3q5zl4ks17au2.js +1 -0
- package/out/_next/static/chunks/{1t2g1v0ubcsam.js → 3qr10445lte-n.js} +1 -1
- package/out/_next/static/chunks/3r-8bnguvxsyo.js +1 -0
- package/out/_next/static/chunks/3sg56j8boe-3o.js +1 -0
- package/out/_next/static/chunks/3u7zj1-jdg781.js +1 -0
- package/out/_next/static/chunks/{0o0qtv35dqv3i.js → 3wj5dmf6cywz8.js} +239 -239
- package/out/_next/static/chunks/{2iu0_3cx-ny74.js → 3wr_oijfsq8lr.js} +11 -11
- package/out/_next/static/chunks/3xu0dh1ikzwj2.js +1 -0
- package/out/_next/static/chunks/{0vzo-8t8c26k9.js → 3y5tpixt23-fl.js} +1 -1
- package/out/_next/static/chunks/40gjf-_jt8upu.js +5 -0
- package/out/_next/static/chunks/41f12o_5lf-i9.js +1 -0
- package/out/_next/static/chunks/42ma8lqduohlc.js +1 -0
- package/out/_next/static/chunks/43usshq2nc125.js +1 -0
- package/out/_next/static/chunks/{161yjxmdz9obc.js → 44bl4ufopbmyh.js} +1 -1
- package/out/_next/static/chunks/44iutzkw9r21x.js +1 -0
- package/out/_next/static/chunks/turbopack-1xrxa3noq196-.js +1 -0
- package/out/_not-found/__next._full.txt +11 -11
- package/out/_not-found/__next._not-found.__PAGE__.txt +19 -2
- package/out/_not-found/__next._tree.txt +1 -1
- package/out/_not-found.html +1 -1
- package/out/_not-found.txt +11 -11
- package/out/index.html +1 -1
- package/out/index.txt +10 -10
- package/package.json +11 -11
- package/out/__next._head.txt +0 -6
- package/out/__next._index.txt +0 -5
- package/out/_next/static/chunks/0-k4hp87gwues.js +0 -1
- package/out/_next/static/chunks/04zj0yf1qhk1o.js +0 -1
- package/out/_next/static/chunks/06fbalmyyfpsy.js +0 -1
- package/out/_next/static/chunks/07hgbbqksqd1g.js +0 -1
- package/out/_next/static/chunks/08ou2nvy48e0u.js +0 -1
- package/out/_next/static/chunks/08y5-irjbsiy8.js +0 -1
- package/out/_next/static/chunks/0_jrfk2u1u3fi.js +0 -1
- package/out/_next/static/chunks/0a475u_q5i_dd.js +0 -62
- package/out/_next/static/chunks/0aad2r4s4wl1x.js +0 -5
- package/out/_next/static/chunks/0d9pxx1w_zqr9.js +0 -1
- package/out/_next/static/chunks/0gnjtwq-474uc.js +0 -1
- package/out/_next/static/chunks/0gsh_d0m5xss1.js +0 -1
- package/out/_next/static/chunks/0ibzpjo0h731v.js +0 -1
- package/out/_next/static/chunks/0j_3k5qhv_mdx.js +0 -1
- package/out/_next/static/chunks/0jis2w2mfx062.js +0 -1
- package/out/_next/static/chunks/0jjvp2slpf7d6.js +0 -1
- package/out/_next/static/chunks/0ko10wo4rc9-b.js +0 -1
- package/out/_next/static/chunks/0lqmvz6k2h_of.js +0 -1
- package/out/_next/static/chunks/0lwjmr8efrlbt.js +0 -17
- package/out/_next/static/chunks/0noxyupihh8dk.js +0 -1
- package/out/_next/static/chunks/0o1vph7x9shzu.js +0 -1
- package/out/_next/static/chunks/0p6phe9kjlxn8.js +0 -1
- package/out/_next/static/chunks/0ptxb9dcwsw3o.js +0 -1
- package/out/_next/static/chunks/0q8pt8fd0ma30.js +0 -1
- package/out/_next/static/chunks/0qqx9aoz8l5d2.js +0 -1
- package/out/_next/static/chunks/0tsk32q-88t_7.js +0 -1
- package/out/_next/static/chunks/0u7577db_ivyr.js +0 -1
- package/out/_next/static/chunks/0unnrt0un064x.js +0 -1
- package/out/_next/static/chunks/0uygtr4mo3h0v.js +0 -1
- package/out/_next/static/chunks/0vf3facit951s.js +0 -1
- package/out/_next/static/chunks/0xyija62b6txc.js +0 -1
- package/out/_next/static/chunks/0zeb37703zcz3.js +0 -1
- package/out/_next/static/chunks/0zu5ato7-1-q9.js +0 -1
- package/out/_next/static/chunks/0zydv7y47dxgh.js +0 -1
- package/out/_next/static/chunks/103x4jwovb6d-.js +0 -1
- package/out/_next/static/chunks/107wfq84g9-kn.js +0 -1
- package/out/_next/static/chunks/10afagk8yn__n.js +0 -1
- package/out/_next/static/chunks/12ory_c78yl31.js +0 -1
- package/out/_next/static/chunks/133dqp8_7_yo6.js +0 -1
- package/out/_next/static/chunks/1365lgwdd4vuo.js +0 -1
- package/out/_next/static/chunks/146ou-ohb_qhs.js +0 -1
- package/out/_next/static/chunks/14orr68xgdykd.js +0 -1
- package/out/_next/static/chunks/15qfoj-vl9thu.js +0 -1
- package/out/_next/static/chunks/166yqx3_qvbpy.js +0 -1
- package/out/_next/static/chunks/16gwjao676ieb.js +0 -1
- package/out/_next/static/chunks/16rmmzhy2p7bw.js +0 -1
- package/out/_next/static/chunks/17_jjyx4jz9dd.js +0 -1
- package/out/_next/static/chunks/18h9ugdz6igdb.js +0 -1
- package/out/_next/static/chunks/19d8n5t7ka2fb.js +0 -1
- package/out/_next/static/chunks/1_rbzw3n4fk0g.js +0 -1
- package/out/_next/static/chunks/1aa9g197l4twm.js +0 -1
- package/out/_next/static/chunks/1bq0fcnt1wy86.js +0 -1
- package/out/_next/static/chunks/1c6mho7e0enta.js +0 -1
- package/out/_next/static/chunks/1dfaheve77dhi.js +0 -1
- package/out/_next/static/chunks/1dgf112ehnhm1.js +0 -1
- package/out/_next/static/chunks/1eirucr9s6-h5.js +0 -1
- package/out/_next/static/chunks/1fsof7un7igrn.js +0 -1
- package/out/_next/static/chunks/1gvu5a6ffbs7l.js +0 -1
- package/out/_next/static/chunks/1iel4pzhhh-c3.js +0 -1
- package/out/_next/static/chunks/1iojfx3-g4_n9.js +0 -1
- package/out/_next/static/chunks/1j4jt5q7px8sy.js +0 -1
- package/out/_next/static/chunks/1jjw9hxgi2vzi.js +0 -1
- package/out/_next/static/chunks/1k_8olnprvi8r.js +0 -1
- package/out/_next/static/chunks/1l0rt7d4m-xdk.js +0 -5
- package/out/_next/static/chunks/1s0dpdqy480hg.js +0 -1
- package/out/_next/static/chunks/1t-yolk97lmot.js +0 -12
- package/out/_next/static/chunks/1tbes2sv-qzcx.js +0 -1
- package/out/_next/static/chunks/1upy8a5cb75kt.js +0 -1
- package/out/_next/static/chunks/1xed71f608m4b.js +0 -1
- package/out/_next/static/chunks/1z790xxb46gxy.js +0 -1
- package/out/_next/static/chunks/219n3q-_eengm.js +0 -1
- package/out/_next/static/chunks/21wo3vdr_uby8.js +0 -1
- package/out/_next/static/chunks/25gep78-izw79.js +0 -4
- package/out/_next/static/chunks/26i7dn31afdtm.js +0 -1
- package/out/_next/static/chunks/27hbplu797elx.js +0 -1
- package/out/_next/static/chunks/2992eiy52nazj.js +0 -1
- package/out/_next/static/chunks/29_n5j-hg_gsa.js +0 -1
- package/out/_next/static/chunks/29bxq-67oazfg.js +0 -1
- package/out/_next/static/chunks/29ings58w7kp1.js +0 -1
- package/out/_next/static/chunks/2_n0cpkdsjzli.js +0 -1
- package/out/_next/static/chunks/2a3iy701j4r_y.js +0 -1
- package/out/_next/static/chunks/2al9dh3_1ixhv.js +0 -1
- package/out/_next/static/chunks/2awr1c_vfsutb.js +0 -1
- package/out/_next/static/chunks/2bxe3kjr17tdp.js +0 -1
- package/out/_next/static/chunks/2dvbzar93ooc-.js +0 -1
- package/out/_next/static/chunks/2e-vp0e11g9ew.js +0 -1
- package/out/_next/static/chunks/2exj9-0p6n9x-.js +0 -1
- package/out/_next/static/chunks/2gf8l6hbmt7v3.js +0 -1
- package/out/_next/static/chunks/2h9i_adbqaxs4.js +0 -1
- package/out/_next/static/chunks/2jio3sio-_43z.js +0 -1
- package/out/_next/static/chunks/2neieeo9g2u56.js +0 -1
- package/out/_next/static/chunks/2pb_uosb-aa8x.js +0 -1
- package/out/_next/static/chunks/2qu-gpm3ux1l6.js +0 -1
- package/out/_next/static/chunks/2rsi6v7qmqx2b.js +0 -1
- package/out/_next/static/chunks/2tdvuc-27khif.js +0 -1
- package/out/_next/static/chunks/2trolrgd7neax.js +0 -1
- package/out/_next/static/chunks/2uyuafmoe5wi0.js +0 -3
- package/out/_next/static/chunks/2w2e0pxgs-n8f.js +0 -1
- package/out/_next/static/chunks/2xujlsx3stqig.js +0 -1
- package/out/_next/static/chunks/30y71dxdpv52d.js +0 -1
- package/out/_next/static/chunks/32c-e_v8_2xkf.js +0 -1
- package/out/_next/static/chunks/32oj0iudhp8bm.js +0 -1
- package/out/_next/static/chunks/33p9du6y9eegg.js +0 -1
- package/out/_next/static/chunks/38om-j0h0rryk.js +0 -1
- package/out/_next/static/chunks/39cou9lia_g7l.js +0 -1
- package/out/_next/static/chunks/39pkya0_bvcaj.js +0 -1
- package/out/_next/static/chunks/39rhmj_32ujyj.js +0 -1
- package/out/_next/static/chunks/3_1zzmx92j9c0.js +0 -1
- package/out/_next/static/chunks/3_earszshuz4n.js +0 -1
- package/out/_next/static/chunks/3ap_uxc8lx7ni.js +0 -1
- package/out/_next/static/chunks/3b6na8zrex8jo.js +0 -1
- package/out/_next/static/chunks/3c0cxt72vilyz.js +0 -1
- package/out/_next/static/chunks/3g78x0pdaoi_4.js +0 -1
- package/out/_next/static/chunks/3gjvl1p-tugfe.js +0 -4
- package/out/_next/static/chunks/3i8iro1gas1vx.js +0 -1
- package/out/_next/static/chunks/3kpqfqr99vo7z.js +0 -1
- package/out/_next/static/chunks/3lladf_wemm-2.js +0 -1
- package/out/_next/static/chunks/3n62hbywoknop.js +0 -1
- package/out/_next/static/chunks/3o_dmzpahx-5g.js +0 -1
- package/out/_next/static/chunks/3r7v7un976sn7.js +0 -1
- package/out/_next/static/chunks/3rl_nhqwew40w.js +0 -1
- package/out/_next/static/chunks/3s7hqij6xp_4e.js +0 -1
- package/out/_next/static/chunks/3si3migsmvz9o.js +0 -1
- package/out/_next/static/chunks/3uarw1i1ij1er.js +0 -1
- package/out/_next/static/chunks/3un-w6wutw1qn.js +0 -1
- package/out/_next/static/chunks/3v8kgnjk27wbe.js +0 -1
- package/out/_next/static/chunks/3we1khqfexh3x.js +0 -1
- package/out/_next/static/chunks/3z35loj4i-id4.js +0 -1
- package/out/_next/static/chunks/42lqt7ig40wk5.js +0 -1
- package/out/_next/static/chunks/42s6ghsurq5q7.js +0 -1
- package/out/_next/static/chunks/42yctcfi2rfwr.js +0 -1
- package/out/_next/static/chunks/43_fau1gg69eo.js +0 -1
- package/out/_next/static/chunks/43ywrdzg_7af8.js +0 -31
- package/out/_next/static/chunks/44m1ijc5cv80x.js +0 -1
- package/out/_next/static/chunks/453_bg0lgesmp.js +0 -1
- package/out/_next/static/chunks/turbopack-1s36ieuku1ds3.js +0 -1
- package/out/_not-found/__next._head.txt +0 -6
- package/out/_not-found/__next._index.txt +0 -5
- package/out/_not-found/__next._not-found.txt +0 -5
- /package/out/_next/static/{5UjNvd7WCk97iC2cSmEGH → 4r0L0ZMJeBwOJCVDsvvZ4}/_buildManifest.js +0 -0
- /package/out/_next/static/{5UjNvd7WCk97iC2cSmEGH → 4r0L0ZMJeBwOJCVDsvvZ4}/_clientMiddlewareManifest.js +0 -0
- /package/out/_next/static/{5UjNvd7WCk97iC2cSmEGH → 4r0L0ZMJeBwOJCVDsvvZ4}/_ssgManifest.js +0 -0
|
@@ -1,146 +1,4 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,
|
|
2
|
-
{vec4 diffuseLeftColor;vec4 diffuseRightColor;vec4 opacityParts;vec4 reflectionLeftColor;vec4 reflectionRightColor;vec4 refractionLeftColor;vec4 refractionRightColor;vec4 emissiveLeftColor;vec4 emissiveRightColor;vec2 vDiffuseInfos;vec2 vAmbientInfos;vec2 vOpacityInfos;vec2 vEmissiveInfos;vec2 vLightmapInfos;vec2 vSpecularInfos;vec3 vBumpInfos;mat4 diffuseMatrix;mat4 ambientMatrix;mat4 opacityMatrix;mat4 emissiveMatrix;mat4 lightmapMatrix;mat4 specularMatrix;mat4 bumpMatrix;vec2 vTangentSpaceParams;float pointSize;float alphaCutOff;mat4 refractionMatrix;vec4 vRefractionInfos;vec3 vRefractionPosition;vec3 vRefractionSize;vec4 vSpecularColor;vec3 vEmissiveColor;vec4 vDiffuseColor;vec3 vAmbientColor;vec4 cameraInfo;vec4 vTextureRepetitionHexTilingParams;vec2 vReflectionInfos;mat4 reflectionMatrix;vec3 vReflectionPosition;vec3 vReflectionSize;
|
|
3
|
-
#define ADDITIONAL_UBO_DECLARATION
|
|
4
|
-
};
|
|
5
|
-
#include<sceneUboDeclaration>
|
|
6
|
-
#include<meshUboDeclaration>
|
|
7
|
-
`;i.ShaderStore.IncludesShadersStore[r]||(i.ShaderStore.IncludesShadersStore[r]=t),e.s(["defaultUboDeclaration",0,{name:r,shader:t}])},3954,e=>{"use strict";var i=e.i(47150);let r="helperFunctions",t=`const float PI=3.1415926535897932384626433832795;const float TWO_PI=6.283185307179586;const float HALF_PI=1.5707963267948966;const float RECIPROCAL_PI=0.3183098861837907;const float RECIPROCAL_PI2=0.15915494309189535;const float RECIPROCAL_PI4=0.07957747154594767;const float HALF_MIN=5.96046448e-08;
|
|
8
|
-
const float LinearEncodePowerApprox=2.2;const float GammaEncodePowerApprox=1.0/LinearEncodePowerApprox;const vec3 LuminanceEncodeApprox=vec3(0.2126,0.7152,0.0722);const float Epsilon=0.0000001;
|
|
9
|
-
#define saturate(x) clamp(x,0.0,1.0)
|
|
10
|
-
#define absEps(x) abs(x)+Epsilon
|
|
11
|
-
#define maxEps(x) max(x,Epsilon)
|
|
12
|
-
#define saturateEps(x) clamp(x,Epsilon,1.0)
|
|
13
|
-
mat3 transposeMat3(mat3 inMatrix) {vec3 i0=inMatrix[0];vec3 i1=inMatrix[1];vec3 i2=inMatrix[2];mat3 outMatrix=mat3(
|
|
14
|
-
vec3(i0.x,i1.x,i2.x),
|
|
15
|
-
vec3(i0.y,i1.y,i2.y),
|
|
16
|
-
vec3(i0.z,i1.z,i2.z)
|
|
17
|
-
);return outMatrix;}
|
|
18
|
-
mat3 inverseMat3(mat3 inMatrix) {float a00=inMatrix[0][0],a01=inMatrix[0][1],a02=inMatrix[0][2];float a10=inMatrix[1][0],a11=inMatrix[1][1],a12=inMatrix[1][2];float a20=inMatrix[2][0],a21=inMatrix[2][1],a22=inMatrix[2][2];float b01=a22*a11-a12*a21;float b11=-a22*a10+a12*a20;float b21=a21*a10-a11*a20;float det=a00*b01+a01*b11+a02*b21;return mat3(b01,(-a22*a01+a02*a21),(a12*a01-a02*a11),
|
|
19
|
-
b11,(a22*a00-a02*a20),(-a12*a00+a02*a10),
|
|
20
|
-
b21,(-a21*a00+a01*a20),(a11*a00-a01*a10))/det;}
|
|
21
|
-
#if USE_EXACT_SRGB_CONVERSIONS
|
|
22
|
-
vec3 toLinearSpaceExact(vec3 color)
|
|
23
|
-
{vec3 nearZeroSection=0.0773993808*color;vec3 remainingSection=pow(0.947867299*(color+vec3(0.055)),vec3(2.4));
|
|
24
|
-
#if defined(WEBGL2) || defined(WEBGPU) || defined(NATIVE)
|
|
25
|
-
return mix(remainingSection,nearZeroSection,lessThanEqual(color,vec3(0.04045)));
|
|
26
|
-
#else
|
|
27
|
-
return
|
|
28
|
-
vec3(
|
|
29
|
-
color.r<=0.04045 ? nearZeroSection.r : remainingSection.r,
|
|
30
|
-
color.g<=0.04045 ? nearZeroSection.g : remainingSection.g,
|
|
31
|
-
color.b<=0.04045 ? nearZeroSection.b : remainingSection.b);
|
|
32
|
-
#endif
|
|
33
|
-
}
|
|
34
|
-
vec3 toGammaSpaceExact(vec3 color)
|
|
35
|
-
{vec3 nearZeroSection=12.92*color;vec3 remainingSection=1.055*pow(color,vec3(0.41666))-vec3(0.055);
|
|
36
|
-
#if defined(WEBGL2) || defined(WEBGPU) || defined(NATIVE)
|
|
37
|
-
return mix(remainingSection,nearZeroSection,lessThanEqual(color,vec3(0.0031308)));
|
|
38
|
-
#else
|
|
39
|
-
return
|
|
40
|
-
vec3(
|
|
41
|
-
color.r<=0.0031308 ? nearZeroSection.r : remainingSection.r,
|
|
42
|
-
color.g<=0.0031308 ? nearZeroSection.g : remainingSection.g,
|
|
43
|
-
color.b<=0.0031308 ? nearZeroSection.b : remainingSection.b);
|
|
44
|
-
#endif
|
|
45
|
-
}
|
|
46
|
-
#endif
|
|
47
|
-
float toLinearSpace(float color)
|
|
48
|
-
{
|
|
49
|
-
#if USE_EXACT_SRGB_CONVERSIONS
|
|
50
|
-
float nearZeroSection=0.0773993808*color;float remainingSection=pow(0.947867299*(color+0.055),2.4);return color<=0.04045 ? nearZeroSection : remainingSection;
|
|
51
|
-
#else
|
|
52
|
-
return pow(color,LinearEncodePowerApprox);
|
|
53
|
-
#endif
|
|
54
|
-
}
|
|
55
|
-
vec3 toLinearSpace(vec3 color)
|
|
56
|
-
{
|
|
57
|
-
#if USE_EXACT_SRGB_CONVERSIONS
|
|
58
|
-
return toLinearSpaceExact(color);
|
|
59
|
-
#else
|
|
60
|
-
return pow(color,vec3(LinearEncodePowerApprox));
|
|
61
|
-
#endif
|
|
62
|
-
}
|
|
63
|
-
vec4 toLinearSpace(vec4 color)
|
|
64
|
-
{
|
|
65
|
-
#if USE_EXACT_SRGB_CONVERSIONS
|
|
66
|
-
return vec4(toLinearSpaceExact(color.rgb),color.a);
|
|
67
|
-
#else
|
|
68
|
-
return vec4(pow(color.rgb,vec3(LinearEncodePowerApprox)),color.a);
|
|
69
|
-
#endif
|
|
70
|
-
}
|
|
71
|
-
float toGammaSpace(float color)
|
|
72
|
-
{
|
|
73
|
-
#if USE_EXACT_SRGB_CONVERSIONS
|
|
74
|
-
float nearZeroSection=12.92*color;float remainingSection=1.055*pow(color,0.41666)-0.055;return color<=0.0031308 ? nearZeroSection : remainingSection;
|
|
75
|
-
#else
|
|
76
|
-
return pow(color,GammaEncodePowerApprox);
|
|
77
|
-
#endif
|
|
78
|
-
}
|
|
79
|
-
vec3 toGammaSpace(vec3 color)
|
|
80
|
-
{
|
|
81
|
-
#if USE_EXACT_SRGB_CONVERSIONS
|
|
82
|
-
return toGammaSpaceExact(color);
|
|
83
|
-
#else
|
|
84
|
-
return pow(color,vec3(GammaEncodePowerApprox));
|
|
85
|
-
#endif
|
|
86
|
-
}
|
|
87
|
-
vec4 toGammaSpace(vec4 color)
|
|
88
|
-
{
|
|
89
|
-
#if USE_EXACT_SRGB_CONVERSIONS
|
|
90
|
-
return vec4(toGammaSpaceExact(color.rgb),color.a);
|
|
91
|
-
#else
|
|
92
|
-
return vec4(pow(color.rgb,vec3(GammaEncodePowerApprox)),color.a);
|
|
93
|
-
#endif
|
|
94
|
-
}
|
|
95
|
-
float square(float value)
|
|
96
|
-
{return value*value;}
|
|
97
|
-
vec3 square(vec3 value)
|
|
98
|
-
{return value*value;}
|
|
99
|
-
float pow5(float value) {float sq=value*value;return sq*sq*value;}
|
|
100
|
-
vec3 double_refract(vec3 I,vec3 N,float eta) {vec3 Tfront=refract(I,N,1.0/eta);vec3 Nback=normalize(reflect(N,Tfront));return refract(Tfront,-Nback,eta);}
|
|
101
|
-
float getLuminanceUnclamped(vec3 color)
|
|
102
|
-
{return dot(color,LuminanceEncodeApprox);}
|
|
103
|
-
float getLuminance(vec3 color)
|
|
104
|
-
{return saturate(getLuminanceUnclamped(color));}
|
|
105
|
-
float getRand(vec2 seed) {return fract(sin(dot(seed.xy ,vec2(12.9898,78.233)))*43758.5453);}
|
|
106
|
-
float dither(vec2 seed,float varianceAmount) {float rand=getRand(seed);float normVariance=varianceAmount/255.0;float dither=mix(-normVariance,normVariance,rand);return dither;}
|
|
107
|
-
const float rgbdMaxRange=255.;vec4 toRGBD(vec3 color) {float maxRGB=maxEps(max(color.r,max(color.g,color.b)));float D =max(rgbdMaxRange/maxRGB,1.);D =saturate(floor(D)/255.);vec3 rgb=color.rgb*D;rgb=toGammaSpace(rgb);return vec4(saturate(rgb),D);}
|
|
108
|
-
vec3 fromRGBD(vec4 rgbd) {rgbd.rgb=toLinearSpace(rgbd.rgb);return rgbd.rgb/rgbd.a;}
|
|
109
|
-
vec3 parallaxCorrectNormal( vec3 vertexPos,vec3 origVec,vec3 cubeSize,vec3 cubePos ) {vec3 invOrigVec=vec3(1.)/origVec;vec3 halfSize=cubeSize*0.5;vec3 intersecAtMaxPlane=(cubePos+halfSize-vertexPos)*invOrigVec;vec3 intersecAtMinPlane=(cubePos-halfSize-vertexPos)*invOrigVec;vec3 largestIntersec=max(intersecAtMaxPlane,intersecAtMinPlane);float distance=min(min(largestIntersec.x,largestIntersec.y),largestIntersec.z);vec3 intersectPositionWS=vertexPos+origVec*distance;return intersectPositionWS-cubePos;}
|
|
110
|
-
vec3 equirectangularToCubemapDirection(vec2 uv) {float longitude=uv.x*TWO_PI-PI;float latitude=HALF_PI-uv.y*PI;vec3 direction;direction.x=cos(latitude)*sin(longitude);direction.y=sin(latitude);direction.z=cos(latitude)*cos(longitude);return direction;}
|
|
111
|
-
float sqrtClamped(float value) {return sqrt(max(value,0.));}
|
|
112
|
-
float avg(vec3 value) {return dot(value,vec3(0.333333333));}
|
|
113
|
-
#if defined(WEBGL2) || defined(WEBGPU) || defined(NATIVE)
|
|
114
|
-
uint extractBits(uint value,int offset,int width) {return (value>>offset) & ((1u<<width)-1u);}
|
|
115
|
-
int onlyBitPosition(uint value) {return (floatBitsToInt(float(value))>>23)-0x7f;}
|
|
116
|
-
vec3 singleScatterToMultiScatterAlbedo(vec3 rho_ss) {vec3 s=sqrt(max(vec3(1.0)-rho_ss,vec3(0.0)));return (vec3(1.0)-s)*(vec3(1.0)-vec3(0.139)*s)/(vec3(1.0)+vec3(1.17)*s);}
|
|
117
|
-
vec3 multiScatterToSingleScatterAlbedo(vec3 rho_ms) {vec3 s=4.09712+4.20863*rho_ms-sqrt(9.59217+41.6808*rho_ms+17.7126*rho_ms*rho_ms);return 1.0-s*s;}
|
|
118
|
-
vec3 multiScatterToSingleScatterAlbedo(vec3 rho_ms,float aniso) {vec3 s=4.09712+4.20863*rho_ms-sqrt(9.59217+41.6808*rho_ms+17.7126*rho_ms*rho_ms);return (1.0-s*s)/maxEps(1.0-aniso*s*s);}
|
|
119
|
-
float min3(vec3 v) {return min(v.x,min(v.y,v.z));}
|
|
120
|
-
float max3(vec3 v) {return max(v.x,max(v.y,v.z));}
|
|
121
|
-
float uint2float(uint i) {return uintBitsToFloat(0x3F800000u | (i>>9u))-1.0;}
|
|
122
|
-
vec2 plasticSequence(const uint rstate) {return vec2(uint2float(rstate*3242174889u),
|
|
123
|
-
uint2float(rstate*2447445414u));}
|
|
124
|
-
#endif
|
|
125
|
-
`;i.ShaderStore.IncludesShadersStore[r]||(i.ShaderStore.IncludesShadersStore[r]=t),e.s(["helperFunctions",0,{name:r,shader:t}])},68381,e=>{"use strict";var i=e.i(47150);let r="logDepthDeclaration",t=`#ifdef LOGARITHMICDEPTH
|
|
126
|
-
uniform float logarithmicDepthConstant;varying float vFragmentDepth;
|
|
127
|
-
#endif
|
|
128
|
-
`;i.ShaderStore.IncludesShadersStore[r]||(i.ShaderStore.IncludesShadersStore[r]=t),e.s(["logDepthDeclaration",0,{name:r,shader:t}])},67827,e=>{"use strict";var i=e.i(47150);let r="sceneUboDeclaration",t=`layout(std140,column_major) uniform;uniform Scene {mat4 viewProjection;
|
|
129
|
-
#ifdef MULTIVIEW
|
|
130
|
-
mat4 viewProjectionR;
|
|
131
|
-
#endif
|
|
132
|
-
mat4 view;mat4 projection;vec4 vEyePosition;mat4 inverseProjection;};
|
|
133
|
-
`;i.ShaderStore.IncludesShadersStore[r]||(i.ShaderStore.IncludesShadersStore[r]=t),e.s(["sceneUboDeclaration",0,{name:r,shader:t}])},38605,e=>{"use strict";var i=e.i(47150);let r="meshUboDeclaration",t=`#ifdef WEBGL2
|
|
134
|
-
uniform mat4 world;uniform float visibility;
|
|
135
|
-
#else
|
|
136
|
-
layout(std140,column_major) uniform;uniform Mesh
|
|
137
|
-
{mat4 world;float visibility;};
|
|
138
|
-
#endif
|
|
139
|
-
#define WORLD_UBO
|
|
140
|
-
`;i.ShaderStore.IncludesShadersStore[r]||(i.ShaderStore.IncludesShadersStore[r]=t),e.s(["meshUboDeclaration",0,{name:r,shader:t}])},30868,e=>{"use strict";var i=e.i(47150);let r="mainUVVaryingDeclaration",t=`#ifdef MAINUV{X}
|
|
141
|
-
varying vec2 vMainUV{X};
|
|
142
|
-
#endif
|
|
143
|
-
`;i.ShaderStore.IncludesShadersStore[r]||(i.ShaderStore.IncludesShadersStore[r]=t),e.s(["mainUVVaryingDeclaration",0,{name:r,shader:t}])},36406,36178,42421,47692,51540,95178,e=>{"use strict";var i=e.i(47150);let r="bonesDeclaration",t=`#if NUM_BONE_INFLUENCERS>0
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,12211,60661,88305,16450,67412,11832,e=>{"use strict";var i=e.i(25044);let r="bonesDeclaration",t=`#if NUM_BONE_INFLUENCERS>0
|
|
144
2
|
attribute vec4 matricesIndices;attribute vec4 matricesWeights;
|
|
145
3
|
#if NUM_BONE_INFLUENCERS>4
|
|
146
4
|
attribute vec4 matricesIndicesExtra;attribute vec4 matricesWeightsExtra;
|
|
@@ -169,7 +27,7 @@ return mat4(m0,m1,m2,m3);
|
|
|
169
27
|
#endif
|
|
170
28
|
#endif
|
|
171
29
|
#endif
|
|
172
|
-
`;i.ShaderStore.IncludesShadersStore[r]||(i.ShaderStore.IncludesShadersStore[r]=t),e.s(["bonesDeclaration",0,{name:r,shader:t}],
|
|
30
|
+
`;i.ShaderStore.IncludesShadersStore[r]||(i.ShaderStore.IncludesShadersStore[r]=t),e.s(["bonesDeclaration",0,{name:r,shader:t}],12211);let a="bakedVertexAnimationDeclaration",n=`#ifdef BAKED_VERTEX_ANIMATION_TEXTURE
|
|
173
31
|
uniform float bakedVertexAnimationTime;
|
|
174
32
|
#if !defined(WEBGL2) && !defined(WEBGPU)
|
|
175
33
|
uniform vec2 bakedVertexAnimationTextureSizeInverted;
|
|
@@ -188,7 +46,7 @@ float offset=index*4.0;float frameUV=(frame+0.5)*bakedVertexAnimationTextureSize
|
|
|
188
46
|
#endif
|
|
189
47
|
}
|
|
190
48
|
#endif
|
|
191
|
-
`;i.ShaderStore.IncludesShadersStore[a]||(i.ShaderStore.IncludesShadersStore[a]=n),e.s(["bakedVertexAnimationDeclaration",0,{name:a,shader:n}],
|
|
49
|
+
`;i.ShaderStore.IncludesShadersStore[a]||(i.ShaderStore.IncludesShadersStore[a]=n),e.s(["bakedVertexAnimationDeclaration",0,{name:a,shader:n}],60661);let o="instancesDeclaration",d=`#ifdef INSTANCES
|
|
192
50
|
attribute vec4 world0;attribute vec4 world1;attribute vec4 world2;attribute vec4 world3;
|
|
193
51
|
#ifdef INSTANCESCOLOR
|
|
194
52
|
attribute vec4 instanceColor;
|
|
@@ -210,7 +68,7 @@ uniform mat4 world;
|
|
|
210
68
|
uniform mat4 previousWorld;
|
|
211
69
|
#endif
|
|
212
70
|
#endif
|
|
213
|
-
`;i.ShaderStore.IncludesShadersStore[o]||(i.ShaderStore.IncludesShadersStore[o]=d),e.s(["instancesDeclaration",0,{name:o,shader:d}],
|
|
71
|
+
`;i.ShaderStore.IncludesShadersStore[o]||(i.ShaderStore.IncludesShadersStore[o]=d),e.s(["instancesDeclaration",0,{name:o,shader:d}],88305);let f="instancesVertex",l=`#ifdef INSTANCES
|
|
214
72
|
mat4 finalWorld=mat4(world0,world1,world2,world3);
|
|
215
73
|
#if defined(PREPASS_VELOCITY) || defined(VELOCITY) || defined(PREPASS_VELOCITY_LINEAR) || defined(VELOCITY_LINEAR)
|
|
216
74
|
mat4 finalPreviousWorld=mat4(previousWorld0,previousWorld1,
|
|
@@ -228,7 +86,7 @@ mat4 finalWorld=world;
|
|
|
228
86
|
mat4 finalPreviousWorld=previousWorld;
|
|
229
87
|
#endif
|
|
230
88
|
#endif
|
|
231
|
-
`;i.ShaderStore.IncludesShadersStore[f]||(i.ShaderStore.IncludesShadersStore[f]=l),e.s(["instancesVertex",0,{name:f,shader:l}],
|
|
89
|
+
`;i.ShaderStore.IncludesShadersStore[f]||(i.ShaderStore.IncludesShadersStore[f]=l),e.s(["instancesVertex",0,{name:f,shader:l}],16450);let c="bonesVertex",s=`#ifndef BAKED_VERTEX_ANIMATION_TEXTURE
|
|
232
90
|
#if NUM_BONE_INFLUENCERS>0
|
|
233
91
|
mat4 influence;
|
|
234
92
|
#ifdef BONETEXTURE
|
|
@@ -281,7 +139,7 @@ influence+=mBones[int(matricesIndicesExtra[3])]*matricesWeightsExtra[3];
|
|
|
281
139
|
finalWorld=finalWorld*influence;
|
|
282
140
|
#endif
|
|
283
141
|
#endif
|
|
284
|
-
`;i.ShaderStore.IncludesShadersStore[c]||(i.ShaderStore.IncludesShadersStore[c]=s),e.s(["bonesVertex",0,{name:c,shader:s}],
|
|
142
|
+
`;i.ShaderStore.IncludesShadersStore[c]||(i.ShaderStore.IncludesShadersStore[c]=s),e.s(["bonesVertex",0,{name:c,shader:s}],67412);let m="bakedVertexAnimation",S=`#ifdef BAKED_VERTEX_ANIMATION_TEXTURE
|
|
285
143
|
{
|
|
286
144
|
#ifdef INSTANCES
|
|
287
145
|
#define BVASNAME bakedVertexAnimationSettingsInstanced
|
|
@@ -312,7 +170,17 @@ VATInfluence+=readMatrixFromRawSamplerVAT(bakedVertexAnimationTexture,matricesIn
|
|
|
312
170
|
#endif
|
|
313
171
|
finalWorld=finalWorld*VATInfluence;}
|
|
314
172
|
#endif
|
|
315
|
-
`;i.ShaderStore.IncludesShadersStore[m]||(i.ShaderStore.IncludesShadersStore[m]=S),e.s(["bakedVertexAnimation",0,{name:m,shader:S}],
|
|
173
|
+
`;i.ShaderStore.IncludesShadersStore[m]||(i.ShaderStore.IncludesShadersStore[m]=S),e.s(["bakedVertexAnimation",0,{name:m,shader:S}],11832)},11218,e=>{"use strict";var i=e.i(25044);let r="bumpVertex",t=`#if defined(BUMP) || defined(PARALLAX) || defined(CLEARCOAT_BUMP) || defined(ANISOTROPIC)
|
|
174
|
+
#if defined(TANGENT) && defined(NORMAL)
|
|
175
|
+
vec3 tbnNormal=normalize(normalUpdated);vec3 tbnTangent=normalize(tangentUpdated.xyz);vec3 tbnBitangent=cross(tbnNormal,tbnTangent)*tangentUpdated.w;vTBN=mat3(finalWorld)*mat3(tbnTangent,tbnBitangent,tbnNormal);
|
|
176
|
+
#endif
|
|
177
|
+
#endif
|
|
178
|
+
`;i.ShaderStore.IncludesShadersStore[r]||(i.ShaderStore.IncludesShadersStore[r]=t),e.s(["bumpVertex",0,{name:r,shader:t}])},69263,e=>{"use strict";var i=e.i(25044);let r="bumpVertexDeclaration",t=`#if defined(BUMP) || defined(PARALLAX) || defined(CLEARCOAT_BUMP) || defined(ANISOTROPIC)
|
|
179
|
+
#if defined(TANGENT) && defined(NORMAL)
|
|
180
|
+
varying mat3 vTBN;
|
|
181
|
+
#endif
|
|
182
|
+
#endif
|
|
183
|
+
`;i.ShaderStore.IncludesShadersStore[r]||(i.ShaderStore.IncludesShadersStore[r]=t),e.s(["bumpVertexDeclaration",0,{name:r,shader:t}])},86040,16642,e=>{"use strict";var i=e.i(25044);let r="clipPlaneVertexDeclaration",t=`#ifdef CLIPPLANE
|
|
316
184
|
uniform vec4 vClipPlane;varying float fClipDistance;
|
|
317
185
|
#endif
|
|
318
186
|
#ifdef CLIPPLANE2
|
|
@@ -330,7 +198,7 @@ uniform vec4 vClipPlane5;varying float fClipDistance5;
|
|
|
330
198
|
#ifdef CLIPPLANE6
|
|
331
199
|
uniform vec4 vClipPlane6;varying float fClipDistance6;
|
|
332
200
|
#endif
|
|
333
|
-
`;i.ShaderStore.IncludesShadersStore[r]||(i.ShaderStore.IncludesShadersStore[r]=t),e.s(["clipPlaneVertexDeclaration",0,{name:r,shader:t}],
|
|
201
|
+
`;i.ShaderStore.IncludesShadersStore[r]||(i.ShaderStore.IncludesShadersStore[r]=t),e.s(["clipPlaneVertexDeclaration",0,{name:r,shader:t}],86040);let a="clipPlaneVertex",n=`#ifdef CLIPPLANE
|
|
334
202
|
fClipDistance=dot(worldPos,vClipPlane);
|
|
335
203
|
#endif
|
|
336
204
|
#ifdef CLIPPLANE2
|
|
@@ -348,35 +216,13 @@ fClipDistance5=dot(worldPos,vClipPlane5);
|
|
|
348
216
|
#ifdef CLIPPLANE6
|
|
349
217
|
fClipDistance6=dot(worldPos,vClipPlane6);
|
|
350
218
|
#endif
|
|
351
|
-
`;i.ShaderStore.IncludesShadersStore[a]||(i.ShaderStore.IncludesShadersStore[a]=n),e.s(["clipPlaneVertex",0,{name:a,shader:n}],
|
|
352
|
-
varying vec3 vFogDistance;
|
|
353
|
-
#endif
|
|
354
|
-
`;i.ShaderStore.IncludesShadersStore[r]||(i.ShaderStore.IncludesShadersStore[r]=t),e.s(["fogVertexDeclaration",0,{name:r,shader:t}],3091);let a="fogVertex",n=`#ifdef FOG
|
|
355
|
-
vFogDistance=(view*worldPos).xyz;
|
|
356
|
-
#endif
|
|
357
|
-
`;i.ShaderStore.IncludesShadersStore[a]||(i.ShaderStore.IncludesShadersStore[a]=n),e.s(["fogVertex",0,{name:a,shader:n}],99240)},20220,e=>{"use strict";var i=e.i(47150);let r="vertexColorMixing",t=`#if defined(VERTEXCOLOR) || defined(INSTANCESCOLOR) && defined(INSTANCES)
|
|
358
|
-
vColor=vec4(1.0);
|
|
359
|
-
#ifdef VERTEXCOLOR
|
|
360
|
-
#ifdef VERTEXALPHA
|
|
361
|
-
vColor*=colorUpdated;
|
|
362
|
-
#else
|
|
363
|
-
vColor.rgb*=colorUpdated.rgb;
|
|
364
|
-
#endif
|
|
365
|
-
#endif
|
|
366
|
-
#ifdef INSTANCESCOLOR
|
|
367
|
-
vColor*=instanceColor;
|
|
368
|
-
#endif
|
|
369
|
-
#endif
|
|
370
|
-
`;i.ShaderStore.IncludesShadersStore[r]||(i.ShaderStore.IncludesShadersStore[r]=t),e.s(["vertexColorMixing",0,{name:r,shader:t}])},10873,e=>{"use strict";var i=e.i(47150);let r="logDepthVertex",t=`#ifdef LOGARITHMICDEPTH
|
|
371
|
-
vFragmentDepth=1.0+gl_Position.w;gl_Position.z=log2(max(0.000001,vFragmentDepth))*logarithmicDepthConstant;
|
|
372
|
-
#endif
|
|
373
|
-
`;i.ShaderStore.IncludesShadersStore[r]||(i.ShaderStore.IncludesShadersStore[r]=t),e.s(["logDepthVertex",0,{name:r,shader:t}])},74716,80902,27292,91731,65117,19828,50988,12700,17177,33666,e=>{"use strict";var i=e.i(47150);let r="decalVertexDeclaration",t=`#ifdef DECAL
|
|
219
|
+
`;i.ShaderStore.IncludesShadersStore[a]||(i.ShaderStore.IncludesShadersStore[a]=n),e.s(["clipPlaneVertex",0,{name:a,shader:n}],16642)},40560,43465,84520,4434,65573,80430,4283,15732,51799,61822,e=>{"use strict";var i=e.i(25044);let r="decalVertexDeclaration",t=`#ifdef DECAL
|
|
374
220
|
uniform vec4 vDecalInfos;uniform mat4 decalMatrix;
|
|
375
221
|
#endif
|
|
376
|
-
`;i.ShaderStore.IncludesShadersStore[r]||(i.ShaderStore.IncludesShadersStore[r]=t),e.s(["decalVertexDeclaration",0,{name:r,shader:t}],
|
|
222
|
+
`;i.ShaderStore.IncludesShadersStore[r]||(i.ShaderStore.IncludesShadersStore[r]=t),e.s(["decalVertexDeclaration",0,{name:r,shader:t}],40560);let a="uvAttributeDeclaration",n=`#ifdef UV{X}
|
|
377
223
|
attribute vec2 uv{X};
|
|
378
224
|
#endif
|
|
379
|
-
`;i.ShaderStore.IncludesShadersStore[a]||(i.ShaderStore.IncludesShadersStore[a]=n),e.s(["uvAttributeDeclaration",0,{name:a,shader:n}],
|
|
225
|
+
`;i.ShaderStore.IncludesShadersStore[a]||(i.ShaderStore.IncludesShadersStore[a]=n),e.s(["uvAttributeDeclaration",0,{name:a,shader:n}],43465);let o="prePassVertexDeclaration",d=`#ifdef PREPASS
|
|
380
226
|
#ifdef PREPASS_LOCAL_POSITION
|
|
381
227
|
varying vec3 vPosition;
|
|
382
228
|
#endif
|
|
@@ -390,10 +236,10 @@ varying float vNormViewDepth;
|
|
|
390
236
|
uniform mat4 previousViewProjection;varying vec4 vCurrentPosition;varying vec4 vPreviousPosition;
|
|
391
237
|
#endif
|
|
392
238
|
#endif
|
|
393
|
-
`;i.ShaderStore.IncludesShadersStore[o]||(i.ShaderStore.IncludesShadersStore[o]=d),e.s(["prePassVertexDeclaration",0,{name:o,shader:d}],
|
|
239
|
+
`;i.ShaderStore.IncludesShadersStore[o]||(i.ShaderStore.IncludesShadersStore[o]=d),e.s(["prePassVertexDeclaration",0,{name:o,shader:d}],84520);let f="samplerVertexDeclaration",l=`#if defined(_DEFINENAME_) && _DEFINENAME_DIRECTUV==0
|
|
394
240
|
varying vec2 v_VARYINGNAME_UV;
|
|
395
241
|
#endif
|
|
396
|
-
`;i.ShaderStore.IncludesShadersStore[f]||(i.ShaderStore.IncludesShadersStore[f]=l),e.s(["samplerVertexDeclaration",0,{name:f,shader:l}],
|
|
242
|
+
`;i.ShaderStore.IncludesShadersStore[f]||(i.ShaderStore.IncludesShadersStore[f]=l),e.s(["samplerVertexDeclaration",0,{name:f,shader:l}],4434);let c="lightVxFragmentDeclaration",s=`#ifdef LIGHT{X}
|
|
397
243
|
uniform vec4 vLightData{X};uniform vec4 vLightDiffuse{X};
|
|
398
244
|
#ifdef SPECULARTERM
|
|
399
245
|
uniform vec4 vLightSpecular{X};
|
|
@@ -420,7 +266,7 @@ uniform vec3 vLightGround{X};
|
|
|
420
266
|
uniform vec4 vLightWidth{X};uniform vec4 vLightHeight{X};
|
|
421
267
|
#endif
|
|
422
268
|
#endif
|
|
423
|
-
`;i.ShaderStore.IncludesShadersStore[c]||(i.ShaderStore.IncludesShadersStore[c]=s),e.s(["lightVxFragmentDeclaration",0,{name:c,shader:s}],
|
|
269
|
+
`;i.ShaderStore.IncludesShadersStore[c]||(i.ShaderStore.IncludesShadersStore[c]=s),e.s(["lightVxFragmentDeclaration",0,{name:c,shader:s}],65573);let m="lightVxUboDeclaration",S=`#ifdef LIGHT{X}
|
|
424
270
|
uniform Light{X}
|
|
425
271
|
{vec4 vLightData;vec4 vLightDiffuse;vec4 vLightSpecular;
|
|
426
272
|
#ifdef SPOTLIGHT{X}
|
|
@@ -445,7 +291,7 @@ varying vec4 vPositionFromLight{X};varying float vDepthMetric{X};uniform mat4 li
|
|
|
445
291
|
#endif
|
|
446
292
|
#endif
|
|
447
293
|
#endif
|
|
448
|
-
`;i.ShaderStore.IncludesShadersStore[m]||(i.ShaderStore.IncludesShadersStore[m]=S),e.s(["lightVxUboDeclaration",0,{name:m,shader:S}],
|
|
294
|
+
`;i.ShaderStore.IncludesShadersStore[m]||(i.ShaderStore.IncludesShadersStore[m]=S),e.s(["lightVxUboDeclaration",0,{name:m,shader:S}],80430);let E="prePassVertex",v=`#ifdef PREPASS_DEPTH
|
|
449
295
|
vViewPos=(view*worldPos).rgb;
|
|
450
296
|
#endif
|
|
451
297
|
#ifdef PREPASS_NORMALIZED_VIEW_DEPTH
|
|
@@ -484,13 +330,13 @@ vPreviousPosition=previousViewProjection*finalPreviousWorld*previousInfluence*ve
|
|
|
484
330
|
vPreviousPosition=previousViewProjection*finalPreviousWorld*vec4(positionUpdated,1.0);
|
|
485
331
|
#endif
|
|
486
332
|
#endif
|
|
487
|
-
`;i.ShaderStore.IncludesShadersStore[E]||(i.ShaderStore.IncludesShadersStore[E]=v),e.s(["prePassVertex",0,{name:E,shader:v}],
|
|
333
|
+
`;i.ShaderStore.IncludesShadersStore[E]||(i.ShaderStore.IncludesShadersStore[E]=v),e.s(["prePassVertex",0,{name:E,shader:v}],4283);let u="uvVariableDeclaration",I=`#if !defined(UV{X}) && defined(MAINUV{X})
|
|
488
334
|
vec2 uv{X}=vec2(0.,0.);
|
|
489
335
|
#endif
|
|
490
336
|
#ifdef MAINUV{X}
|
|
491
337
|
vMainUV{X}=uv{X};
|
|
492
338
|
#endif
|
|
493
|
-
`;i.ShaderStore.IncludesShadersStore[u]||(i.ShaderStore.IncludesShadersStore[u]=I),e.s(["uvVariableDeclaration",0,{name:u,shader:I}],
|
|
339
|
+
`;i.ShaderStore.IncludesShadersStore[u]||(i.ShaderStore.IncludesShadersStore[u]=I),e.s(["uvVariableDeclaration",0,{name:u,shader:I}],15732);let A="samplerVertexImplementation",N=`#if defined(_DEFINENAME_) && _DEFINENAME_DIRECTUV==0
|
|
494
340
|
if (v_INFONAME_==0.)
|
|
495
341
|
{v_VARYINGNAME_UV=vec2(_MATRIXNAME_Matrix*vec4(uvUpdated,1.0,0.0));}
|
|
496
342
|
#ifdef UV2
|
|
@@ -514,7 +360,7 @@ else if (v_INFONAME_==5.)
|
|
|
514
360
|
{v_VARYINGNAME_UV=vec2(_MATRIXNAME_Matrix*vec4(uv6,1.0,0.0));}
|
|
515
361
|
#endif
|
|
516
362
|
#endif
|
|
517
|
-
`;i.ShaderStore.IncludesShadersStore[A]||(i.ShaderStore.IncludesShadersStore[A]=N),e.s(["samplerVertexImplementation",0,{name:A,shader:N}],
|
|
363
|
+
`;i.ShaderStore.IncludesShadersStore[A]||(i.ShaderStore.IncludesShadersStore[A]=N),e.s(["samplerVertexImplementation",0,{name:A,shader:N}],51799);let x="shadowsVertex",T=`#ifdef SHADOWS
|
|
518
364
|
#if defined(SHADOWCSM{X})
|
|
519
365
|
vPositionFromCamera{X}=view*worldPos;for (int i=0; i<SHADOWCSMNUM_CASCADES{X}; i++) {vPositionFromLight{X}[i]=lightMatrix{X}[i]*worldPos;
|
|
520
366
|
#ifdef USE_REVERSE_DEPTHBUFFER
|
|
@@ -532,7 +378,153 @@ vDepthMetric{X}=(vPositionFromLight{X}.z+light{X}.depthValues.x)/light{X}.depthV
|
|
|
532
378
|
#endif
|
|
533
379
|
#endif
|
|
534
380
|
#endif
|
|
535
|
-
`;i.ShaderStore.IncludesShadersStore[x]||(i.ShaderStore.IncludesShadersStore[x]=T),e.s(["shadowsVertex",0,{name:x,shader:T}],
|
|
381
|
+
`;i.ShaderStore.IncludesShadersStore[x]||(i.ShaderStore.IncludesShadersStore[x]=T),e.s(["shadowsVertex",0,{name:x,shader:T}],61822)},98529,e=>{"use strict";var i=e.i(25044);e.i(77074),e.i(4100);let r="defaultUboDeclaration",t=`layout(std140,column_major) uniform;uniform Material
|
|
382
|
+
{vec4 diffuseLeftColor;vec4 diffuseRightColor;vec4 opacityParts;vec4 reflectionLeftColor;vec4 reflectionRightColor;vec4 refractionLeftColor;vec4 refractionRightColor;vec4 emissiveLeftColor;vec4 emissiveRightColor;vec2 vDiffuseInfos;vec2 vAmbientInfos;vec2 vOpacityInfos;vec2 vEmissiveInfos;vec2 vLightmapInfos;vec2 vSpecularInfos;vec3 vBumpInfos;mat4 diffuseMatrix;mat4 ambientMatrix;mat4 opacityMatrix;mat4 emissiveMatrix;mat4 lightmapMatrix;mat4 specularMatrix;mat4 bumpMatrix;vec2 vTangentSpaceParams;float pointSize;float alphaCutOff;mat4 refractionMatrix;vec4 vRefractionInfos;vec3 vRefractionPosition;vec3 vRefractionSize;vec4 vSpecularColor;vec3 vEmissiveColor;vec4 vDiffuseColor;vec3 vAmbientColor;vec4 cameraInfo;vec4 vTextureRepetitionHexTilingParams;vec2 vReflectionInfos;mat4 reflectionMatrix;vec3 vReflectionPosition;vec3 vReflectionSize;
|
|
383
|
+
#define ADDITIONAL_UBO_DECLARATION
|
|
384
|
+
};
|
|
385
|
+
#include<sceneUboDeclaration>
|
|
386
|
+
#include<meshUboDeclaration>
|
|
387
|
+
`;i.ShaderStore.IncludesShadersStore[r]||(i.ShaderStore.IncludesShadersStore[r]=t),e.s(["defaultUboDeclaration",0,{name:r,shader:t}])},74912,46327,e=>{"use strict";var i=e.i(25044);let r="fogVertexDeclaration",t=`#ifdef FOG
|
|
388
|
+
varying vec3 vFogDistance;
|
|
389
|
+
#endif
|
|
390
|
+
`;i.ShaderStore.IncludesShadersStore[r]||(i.ShaderStore.IncludesShadersStore[r]=t),e.s(["fogVertexDeclaration",0,{name:r,shader:t}],74912);let a="fogVertex",n=`#ifdef FOG
|
|
391
|
+
vFogDistance=(view*worldPos).xyz;
|
|
392
|
+
#endif
|
|
393
|
+
`;i.ShaderStore.IncludesShadersStore[a]||(i.ShaderStore.IncludesShadersStore[a]=n),e.s(["fogVertex",0,{name:a,shader:n}],46327)},31660,e=>{"use strict";var i=e.i(25044);let r="helperFunctions",t=`const float PI=3.1415926535897932384626433832795;const float TWO_PI=6.283185307179586;const float HALF_PI=1.5707963267948966;const float RECIPROCAL_PI=0.3183098861837907;const float RECIPROCAL_PI2=0.15915494309189535;const float RECIPROCAL_PI4=0.07957747154594767;const float HALF_MIN=5.96046448e-08;
|
|
394
|
+
const float LinearEncodePowerApprox=2.2;const float GammaEncodePowerApprox=1.0/LinearEncodePowerApprox;const vec3 LuminanceEncodeApprox=vec3(0.2126,0.7152,0.0722);const float Epsilon=0.0000001;
|
|
395
|
+
#define saturate(x) clamp(x,0.0,1.0)
|
|
396
|
+
#define absEps(x) abs(x)+Epsilon
|
|
397
|
+
#define maxEps(x) max(x,Epsilon)
|
|
398
|
+
#define saturateEps(x) clamp(x,Epsilon,1.0)
|
|
399
|
+
mat3 transposeMat3(mat3 inMatrix) {vec3 i0=inMatrix[0];vec3 i1=inMatrix[1];vec3 i2=inMatrix[2];mat3 outMatrix=mat3(
|
|
400
|
+
vec3(i0.x,i1.x,i2.x),
|
|
401
|
+
vec3(i0.y,i1.y,i2.y),
|
|
402
|
+
vec3(i0.z,i1.z,i2.z)
|
|
403
|
+
);return outMatrix;}
|
|
404
|
+
mat3 inverseMat3(mat3 inMatrix) {float a00=inMatrix[0][0],a01=inMatrix[0][1],a02=inMatrix[0][2];float a10=inMatrix[1][0],a11=inMatrix[1][1],a12=inMatrix[1][2];float a20=inMatrix[2][0],a21=inMatrix[2][1],a22=inMatrix[2][2];float b01=a22*a11-a12*a21;float b11=-a22*a10+a12*a20;float b21=a21*a10-a11*a20;float det=a00*b01+a01*b11+a02*b21;return mat3(b01,(-a22*a01+a02*a21),(a12*a01-a02*a11),
|
|
405
|
+
b11,(a22*a00-a02*a20),(-a12*a00+a02*a10),
|
|
406
|
+
b21,(-a21*a00+a01*a20),(a11*a00-a01*a10))/det;}
|
|
407
|
+
#if USE_EXACT_SRGB_CONVERSIONS
|
|
408
|
+
vec3 toLinearSpaceExact(vec3 color)
|
|
409
|
+
{vec3 nearZeroSection=0.0773993808*color;vec3 remainingSection=pow(0.947867299*(color+vec3(0.055)),vec3(2.4));
|
|
410
|
+
#if defined(WEBGL2) || defined(WEBGPU) || defined(NATIVE)
|
|
411
|
+
return mix(remainingSection,nearZeroSection,lessThanEqual(color,vec3(0.04045)));
|
|
412
|
+
#else
|
|
413
|
+
return
|
|
414
|
+
vec3(
|
|
415
|
+
color.r<=0.04045 ? nearZeroSection.r : remainingSection.r,
|
|
416
|
+
color.g<=0.04045 ? nearZeroSection.g : remainingSection.g,
|
|
417
|
+
color.b<=0.04045 ? nearZeroSection.b : remainingSection.b);
|
|
418
|
+
#endif
|
|
419
|
+
}
|
|
420
|
+
vec3 toGammaSpaceExact(vec3 color)
|
|
421
|
+
{vec3 nearZeroSection=12.92*color;vec3 remainingSection=1.055*pow(color,vec3(0.41666))-vec3(0.055);
|
|
422
|
+
#if defined(WEBGL2) || defined(WEBGPU) || defined(NATIVE)
|
|
423
|
+
return mix(remainingSection,nearZeroSection,lessThanEqual(color,vec3(0.0031308)));
|
|
424
|
+
#else
|
|
425
|
+
return
|
|
426
|
+
vec3(
|
|
427
|
+
color.r<=0.0031308 ? nearZeroSection.r : remainingSection.r,
|
|
428
|
+
color.g<=0.0031308 ? nearZeroSection.g : remainingSection.g,
|
|
429
|
+
color.b<=0.0031308 ? nearZeroSection.b : remainingSection.b);
|
|
430
|
+
#endif
|
|
431
|
+
}
|
|
432
|
+
#endif
|
|
433
|
+
float toLinearSpace(float color)
|
|
434
|
+
{
|
|
435
|
+
#if USE_EXACT_SRGB_CONVERSIONS
|
|
436
|
+
float nearZeroSection=0.0773993808*color;float remainingSection=pow(0.947867299*(color+0.055),2.4);return color<=0.04045 ? nearZeroSection : remainingSection;
|
|
437
|
+
#else
|
|
438
|
+
return pow(color,LinearEncodePowerApprox);
|
|
439
|
+
#endif
|
|
440
|
+
}
|
|
441
|
+
vec3 toLinearSpace(vec3 color)
|
|
442
|
+
{
|
|
443
|
+
#if USE_EXACT_SRGB_CONVERSIONS
|
|
444
|
+
return toLinearSpaceExact(color);
|
|
445
|
+
#else
|
|
446
|
+
return pow(color,vec3(LinearEncodePowerApprox));
|
|
447
|
+
#endif
|
|
448
|
+
}
|
|
449
|
+
vec4 toLinearSpace(vec4 color)
|
|
450
|
+
{
|
|
451
|
+
#if USE_EXACT_SRGB_CONVERSIONS
|
|
452
|
+
return vec4(toLinearSpaceExact(color.rgb),color.a);
|
|
453
|
+
#else
|
|
454
|
+
return vec4(pow(color.rgb,vec3(LinearEncodePowerApprox)),color.a);
|
|
455
|
+
#endif
|
|
456
|
+
}
|
|
457
|
+
float toGammaSpace(float color)
|
|
458
|
+
{
|
|
459
|
+
#if USE_EXACT_SRGB_CONVERSIONS
|
|
460
|
+
float nearZeroSection=12.92*color;float remainingSection=1.055*pow(color,0.41666)-0.055;return color<=0.0031308 ? nearZeroSection : remainingSection;
|
|
461
|
+
#else
|
|
462
|
+
return pow(color,GammaEncodePowerApprox);
|
|
463
|
+
#endif
|
|
464
|
+
}
|
|
465
|
+
vec3 toGammaSpace(vec3 color)
|
|
466
|
+
{
|
|
467
|
+
#if USE_EXACT_SRGB_CONVERSIONS
|
|
468
|
+
return toGammaSpaceExact(color);
|
|
469
|
+
#else
|
|
470
|
+
return pow(color,vec3(GammaEncodePowerApprox));
|
|
471
|
+
#endif
|
|
472
|
+
}
|
|
473
|
+
vec4 toGammaSpace(vec4 color)
|
|
474
|
+
{
|
|
475
|
+
#if USE_EXACT_SRGB_CONVERSIONS
|
|
476
|
+
return vec4(toGammaSpaceExact(color.rgb),color.a);
|
|
477
|
+
#else
|
|
478
|
+
return vec4(pow(color.rgb,vec3(GammaEncodePowerApprox)),color.a);
|
|
479
|
+
#endif
|
|
480
|
+
}
|
|
481
|
+
float square(float value)
|
|
482
|
+
{return value*value;}
|
|
483
|
+
vec3 square(vec3 value)
|
|
484
|
+
{return value*value;}
|
|
485
|
+
float pow5(float value) {float sq=value*value;return sq*sq*value;}
|
|
486
|
+
vec3 double_refract(vec3 I,vec3 N,float eta) {vec3 Tfront=refract(I,N,1.0/eta);vec3 Nback=normalize(reflect(N,Tfront));return refract(Tfront,-Nback,eta);}
|
|
487
|
+
float getLuminanceUnclamped(vec3 color)
|
|
488
|
+
{return dot(color,LuminanceEncodeApprox);}
|
|
489
|
+
float getLuminance(vec3 color)
|
|
490
|
+
{return saturate(getLuminanceUnclamped(color));}
|
|
491
|
+
float getRand(vec2 seed) {return fract(sin(dot(seed.xy ,vec2(12.9898,78.233)))*43758.5453);}
|
|
492
|
+
float dither(vec2 seed,float varianceAmount) {float rand=getRand(seed);float normVariance=varianceAmount/255.0;float dither=mix(-normVariance,normVariance,rand);return dither;}
|
|
493
|
+
const float rgbdMaxRange=255.;vec4 toRGBD(vec3 color) {float maxRGB=maxEps(max(color.r,max(color.g,color.b)));float D =max(rgbdMaxRange/maxRGB,1.);D =saturate(floor(D)/255.);vec3 rgb=color.rgb*D;rgb=toGammaSpace(rgb);return vec4(saturate(rgb),D);}
|
|
494
|
+
vec3 fromRGBD(vec4 rgbd) {rgbd.rgb=toLinearSpace(rgbd.rgb);return rgbd.rgb/rgbd.a;}
|
|
495
|
+
vec3 parallaxCorrectNormal( vec3 vertexPos,vec3 origVec,vec3 cubeSize,vec3 cubePos ) {vec3 invOrigVec=vec3(1.)/origVec;vec3 halfSize=cubeSize*0.5;vec3 intersecAtMaxPlane=(cubePos+halfSize-vertexPos)*invOrigVec;vec3 intersecAtMinPlane=(cubePos-halfSize-vertexPos)*invOrigVec;vec3 largestIntersec=max(intersecAtMaxPlane,intersecAtMinPlane);float distance=min(min(largestIntersec.x,largestIntersec.y),largestIntersec.z);vec3 intersectPositionWS=vertexPos+origVec*distance;return intersectPositionWS-cubePos;}
|
|
496
|
+
vec3 equirectangularToCubemapDirection(vec2 uv) {float longitude=uv.x*TWO_PI-PI;float latitude=HALF_PI-uv.y*PI;vec3 direction;direction.x=cos(latitude)*sin(longitude);direction.y=sin(latitude);direction.z=cos(latitude)*cos(longitude);return direction;}
|
|
497
|
+
float sqrtClamped(float value) {return sqrt(max(value,0.));}
|
|
498
|
+
float avg(vec3 value) {return dot(value,vec3(0.333333333));}
|
|
499
|
+
#if defined(WEBGL2) || defined(WEBGPU) || defined(NATIVE)
|
|
500
|
+
uint extractBits(uint value,int offset,int width) {return (value>>offset) & ((1u<<width)-1u);}
|
|
501
|
+
int onlyBitPosition(uint value) {return (floatBitsToInt(float(value))>>23)-0x7f;}
|
|
502
|
+
vec3 singleScatterToMultiScatterAlbedo(vec3 rho_ss) {vec3 s=sqrt(max(vec3(1.0)-rho_ss,vec3(0.0)));return (vec3(1.0)-s)*(vec3(1.0)-vec3(0.139)*s)/(vec3(1.0)+vec3(1.17)*s);}
|
|
503
|
+
vec3 multiScatterToSingleScatterAlbedo(vec3 rho_ms) {vec3 s=4.09712+4.20863*rho_ms-sqrt(9.59217+41.6808*rho_ms+17.7126*rho_ms*rho_ms);return 1.0-s*s;}
|
|
504
|
+
vec3 multiScatterToSingleScatterAlbedo(vec3 rho_ms,float aniso) {vec3 s=4.09712+4.20863*rho_ms-sqrt(9.59217+41.6808*rho_ms+17.7126*rho_ms*rho_ms);return (1.0-s*s)/maxEps(1.0-aniso*s*s);}
|
|
505
|
+
float min3(vec3 v) {return min(v.x,min(v.y,v.z));}
|
|
506
|
+
float max3(vec3 v) {return max(v.x,max(v.y,v.z));}
|
|
507
|
+
float uint2float(uint i) {return uintBitsToFloat(0x3F800000u | (i>>9u))-1.0;}
|
|
508
|
+
vec2 plasticSequence(const uint rstate) {return vec2(uint2float(rstate*3242174889u),
|
|
509
|
+
uint2float(rstate*2447445414u));}
|
|
510
|
+
#endif
|
|
511
|
+
`;i.ShaderStore.IncludesShadersStore[r]||(i.ShaderStore.IncludesShadersStore[r]=t),e.s(["helperFunctions",0,{name:r,shader:t}])},10874,e=>{"use strict";var i=e.i(25044);let r="logDepthDeclaration",t=`#ifdef LOGARITHMICDEPTH
|
|
512
|
+
uniform float logarithmicDepthConstant;varying float vFragmentDepth;
|
|
513
|
+
#endif
|
|
514
|
+
`;i.ShaderStore.IncludesShadersStore[r]||(i.ShaderStore.IncludesShadersStore[r]=t),e.s(["logDepthDeclaration",0,{name:r,shader:t}])},24152,e=>{"use strict";var i=e.i(25044);let r="logDepthVertex",t=`#ifdef LOGARITHMICDEPTH
|
|
515
|
+
vFragmentDepth=1.0+gl_Position.w;gl_Position.z=log2(max(0.000001,vFragmentDepth))*logarithmicDepthConstant;
|
|
516
|
+
#endif
|
|
517
|
+
`;i.ShaderStore.IncludesShadersStore[r]||(i.ShaderStore.IncludesShadersStore[r]=t),e.s(["logDepthVertex",0,{name:r,shader:t}])},49185,e=>{"use strict";var i=e.i(25044);let r="mainUVVaryingDeclaration",t=`#ifdef MAINUV{X}
|
|
518
|
+
varying vec2 vMainUV{X};
|
|
519
|
+
#endif
|
|
520
|
+
`;i.ShaderStore.IncludesShadersStore[r]||(i.ShaderStore.IncludesShadersStore[r]=t),e.s(["mainUVVaryingDeclaration",0,{name:r,shader:t}])},4100,e=>{"use strict";var i=e.i(25044);let r="meshUboDeclaration",t=`#ifdef WEBGL2
|
|
521
|
+
uniform mat4 world;uniform float visibility;
|
|
522
|
+
#else
|
|
523
|
+
layout(std140,column_major) uniform;uniform Mesh
|
|
524
|
+
{mat4 world;float visibility;};
|
|
525
|
+
#endif
|
|
526
|
+
#define WORLD_UBO
|
|
527
|
+
`;i.ShaderStore.IncludesShadersStore[r]||(i.ShaderStore.IncludesShadersStore[r]=t),e.s(["meshUboDeclaration",0,{name:r,shader:t}])},70020,93342,35567,67186,e=>{"use strict";var i=e.i(25044);let r="morphTargetsVertexGlobalDeclaration",t=`#ifdef MORPHTARGETS
|
|
536
528
|
uniform float morphTargetInfluences[NUM_MORPH_INFLUENCERS];
|
|
537
529
|
#ifdef MORPHTARGETS_TEXTURE
|
|
538
530
|
uniform float morphTargetTextureIndices[NUM_MORPH_INFLUENCERS];uniform vec3 morphTargetTextureInfo;uniform highp sampler2DArray morphTargets;vec3 readVector3FromRawSampler(int targetIndex,float vertexIndex)
|
|
@@ -553,7 +545,7 @@ float y=floor(vertexIndex/morphTargetTextureInfo.y);float x=vertexIndex-y*morphT
|
|
|
553
545
|
}
|
|
554
546
|
#endif
|
|
555
547
|
#endif
|
|
556
|
-
`;i.ShaderStore.IncludesShadersStore[r]||(i.ShaderStore.IncludesShadersStore[r]=t),e.s(["morphTargetsVertexGlobalDeclaration",0,{name:r,shader:t}],
|
|
548
|
+
`;i.ShaderStore.IncludesShadersStore[r]||(i.ShaderStore.IncludesShadersStore[r]=t),e.s(["morphTargetsVertexGlobalDeclaration",0,{name:r,shader:t}],70020);let a="morphTargetsVertexDeclaration",n=`#ifdef MORPHTARGETS
|
|
557
549
|
#ifndef MORPHTARGETS_TEXTURE
|
|
558
550
|
#ifdef MORPHTARGETS_POSITION
|
|
559
551
|
attribute vec3 position{X};
|
|
@@ -577,12 +569,12 @@ attribute vec4 color{X};
|
|
|
577
569
|
uniform float morphTargetCount;
|
|
578
570
|
#endif
|
|
579
571
|
#endif
|
|
580
|
-
`;i.ShaderStore.IncludesShadersStore[a]||(i.ShaderStore.IncludesShadersStore[a]=n),e.s(["morphTargetsVertexDeclaration",0,{name:a,shader:n}],
|
|
572
|
+
`;i.ShaderStore.IncludesShadersStore[a]||(i.ShaderStore.IncludesShadersStore[a]=n),e.s(["morphTargetsVertexDeclaration",0,{name:a,shader:n}],93342);let o="morphTargetsVertexGlobal",d=`#ifdef MORPHTARGETS
|
|
581
573
|
#ifdef MORPHTARGETS_TEXTURE
|
|
582
574
|
float vertexID;
|
|
583
575
|
#endif
|
|
584
576
|
#endif
|
|
585
|
-
`;i.ShaderStore.IncludesShadersStore[o]||(i.ShaderStore.IncludesShadersStore[o]=d),e.s(["morphTargetsVertexGlobal",0,{name:o,shader:d}],
|
|
577
|
+
`;i.ShaderStore.IncludesShadersStore[o]||(i.ShaderStore.IncludesShadersStore[o]=d),e.s(["morphTargetsVertexGlobal",0,{name:o,shader:d}],35567);let f="morphTargetsVertex",l=`#ifdef MORPHTARGETS
|
|
586
578
|
#ifdef MORPHTARGETS_TEXTURE
|
|
587
579
|
#if {X}==0
|
|
588
580
|
for (int i=0; i<NUM_MORPH_INFLUENCERS; i++) {if (float(i)>=morphTargetCount) break;vertexID=float(gl_VertexID)*morphTargetTextureInfo.x;
|
|
@@ -642,17 +634,25 @@ colorUpdated+=(color{X}-color)*morphTargetInfluences[{X}];
|
|
|
642
634
|
#endif
|
|
643
635
|
#endif
|
|
644
636
|
#endif
|
|
645
|
-
`;i.ShaderStore.IncludesShadersStore[f]||(i.ShaderStore.IncludesShadersStore[f]=l),e.s(["morphTargetsVertex",0,{name:f,shader:l}],
|
|
646
|
-
#
|
|
647
|
-
|
|
637
|
+
`;i.ShaderStore.IncludesShadersStore[f]||(i.ShaderStore.IncludesShadersStore[f]=l),e.s(["morphTargetsVertex",0,{name:f,shader:l}],67186)},77074,e=>{"use strict";var i=e.i(25044);let r="sceneUboDeclaration",t=`layout(std140,column_major) uniform;uniform Scene {mat4 viewProjection;
|
|
638
|
+
#ifdef MULTIVIEW
|
|
639
|
+
mat4 viewProjectionR;
|
|
640
|
+
#endif
|
|
641
|
+
mat4 view;mat4 projection;vec4 vEyePosition;mat4 inverseProjection;};
|
|
642
|
+
`;i.ShaderStore.IncludesShadersStore[r]||(i.ShaderStore.IncludesShadersStore[r]=t),e.s(["sceneUboDeclaration",0,{name:r,shader:t}])},94198,e=>{"use strict";var i=e.i(25044);let r="vertexColorMixing",t=`#if defined(VERTEXCOLOR) || defined(INSTANCESCOLOR) && defined(INSTANCES)
|
|
643
|
+
vColor=vec4(1.0);
|
|
644
|
+
#ifdef VERTEXCOLOR
|
|
645
|
+
#ifdef VERTEXALPHA
|
|
646
|
+
vColor*=colorUpdated;
|
|
647
|
+
#else
|
|
648
|
+
vColor.rgb*=colorUpdated.rgb;
|
|
648
649
|
#endif
|
|
649
650
|
#endif
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
varying mat3 vTBN;
|
|
651
|
+
#ifdef INSTANCESCOLOR
|
|
652
|
+
vColor*=instanceColor;
|
|
653
653
|
#endif
|
|
654
654
|
#endif
|
|
655
|
-
`;i.ShaderStore.IncludesShadersStore[r]||(i.ShaderStore.IncludesShadersStore[r]=t),e.s(["
|
|
655
|
+
`;i.ShaderStore.IncludesShadersStore[r]||(i.ShaderStore.IncludesShadersStore[r]=t),e.s(["vertexColorMixing",0,{name:r,shader:t}])},83122,e=>{"use strict";var i=e.i(25044),r=e.i(40560);let t="defaultVertexDeclaration",a=`uniform mat4 viewProjection;
|
|
656
656
|
#ifdef MULTIVIEW
|
|
657
657
|
mat4 viewProjectionR;
|
|
658
658
|
#endif
|
|
@@ -690,10 +690,10 @@ uniform vec4 vDetailInfos;uniform mat4 detailMatrix;
|
|
|
690
690
|
uniform vec4 cameraInfo;uniform vec4 vTextureRepetitionHexTilingParams;
|
|
691
691
|
#include<decalVertexDeclaration>
|
|
692
692
|
#define ADDITIONAL_VERTEX_DECLARATION
|
|
693
|
-
`;i.ShaderStore.IncludesShadersStore[t]||(i.ShaderStore.IncludesShadersStore[t]=a);var n=e.i(
|
|
693
|
+
`;i.ShaderStore.IncludesShadersStore[t]||(i.ShaderStore.IncludesShadersStore[t]=a);var n=e.i(77074),o=e.i(4100),d=e.i(98529),f=e.i(43465),l=e.i(31660),c=e.i(12211),s=e.i(60661),m=e.i(88305),S=e.i(84520),E=e.i(49185),v=e.i(4434),u=e.i(69263),I=e.i(86040),A=e.i(74912),N=e.i(65573),x=e.i(80430),T=e.i(70020),h=e.i(93342),p=e.i(10874),_=e.i(35567),V=e.i(67186),R=e.i(16450),M=e.i(67412),P=e.i(11832),g=e.i(4283),D=e.i(15732),U=e.i(51799),O=e.i(11218),L=e.i(16642),C=e.i(46327),F=e.i(61822),b=e.i(94198);let X="pointCloudVertex",G=`#if defined(POINTSIZE) && !defined(WEBGPU)
|
|
694
694
|
gl_PointSize=pointSize;
|
|
695
695
|
#endif
|
|
696
|
-
`;i.ShaderStore.IncludesShadersStore[X]||(i.ShaderStore.IncludesShadersStore[X]=G);var W=e.i(
|
|
696
|
+
`;i.ShaderStore.IncludesShadersStore[X]||(i.ShaderStore.IncludesShadersStore[X]=G);var W=e.i(24152);let B="defaultVertexShader",w=`#define CUSTOM_VERTEX_EXTENSION
|
|
697
697
|
#include<__decl__defaultVertex>
|
|
698
698
|
#define CUSTOM_VERTEX_BEGIN
|
|
699
699
|
attribute vec3 position;
|
|
@@ -847,4 +847,4 @@ vMainUV2=uv2Updated;
|
|
|
847
847
|
#include<logDepthVertex>
|
|
848
848
|
#define CUSTOM_VERTEX_MAIN_END
|
|
849
849
|
}
|
|
850
|
-
`;for(let e of(i.ShaderStore.ShadersStore[B]||(i.ShaderStore.ShadersStore[B]=w),[r.decalVertexDeclaration,{name:t,shader:a},n.sceneUboDeclaration,o.meshUboDeclaration,d.defaultUboDeclaration,f.uvAttributeDeclaration,l.helperFunctions,c.bonesDeclaration,s.bakedVertexAnimationDeclaration,m.instancesDeclaration,S.prePassVertexDeclaration,E.mainUVVaryingDeclaration,v.samplerVertexDeclaration,u.bumpVertexDeclaration,I.clipPlaneVertexDeclaration,A.fogVertexDeclaration,N.lightVxFragmentDeclaration,x.lightVxUboDeclaration,T.morphTargetsVertexGlobalDeclaration,h.morphTargetsVertexDeclaration,p.logDepthDeclaration,_.morphTargetsVertexGlobal,V.morphTargetsVertex,R.instancesVertex,M.bonesVertex,P.bakedVertexAnimation,g.prePassVertex,D.uvVariableDeclaration,U.samplerVertexImplementation,O.bumpVertex,L.clipPlaneVertex,C.fogVertex,F.shadowsVertex,b.vertexColorMixing,{name:X,shader:G},W.logDepthVertex]))i.ShaderStore.IncludesShadersStore[e.name]||(i.ShaderStore.IncludesShadersStore[e.name]=e.shader);e.s(["defaultVertexShader",0,{name:B,shader:w}],
|
|
850
|
+
`;for(let e of(i.ShaderStore.ShadersStore[B]||(i.ShaderStore.ShadersStore[B]=w),[r.decalVertexDeclaration,{name:t,shader:a},n.sceneUboDeclaration,o.meshUboDeclaration,d.defaultUboDeclaration,f.uvAttributeDeclaration,l.helperFunctions,c.bonesDeclaration,s.bakedVertexAnimationDeclaration,m.instancesDeclaration,S.prePassVertexDeclaration,E.mainUVVaryingDeclaration,v.samplerVertexDeclaration,u.bumpVertexDeclaration,I.clipPlaneVertexDeclaration,A.fogVertexDeclaration,N.lightVxFragmentDeclaration,x.lightVxUboDeclaration,T.morphTargetsVertexGlobalDeclaration,h.morphTargetsVertexDeclaration,p.logDepthDeclaration,_.morphTargetsVertexGlobal,V.morphTargetsVertex,R.instancesVertex,M.bonesVertex,P.bakedVertexAnimation,g.prePassVertex,D.uvVariableDeclaration,U.samplerVertexImplementation,O.bumpVertex,L.clipPlaneVertex,C.fogVertex,F.shadowsVertex,b.vertexColorMixing,{name:X,shader:G},W.logDepthVertex]))i.ShaderStore.IncludesShadersStore[e.name]||(i.ShaderStore.IncludesShadersStore[e.name]=e.shader);e.s(["defaultVertexShader",0,{name:B,shader:w}],83122)}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,6158,t=>{"use strict";var e=t.i(65678),i=t.i(64675),o=t.i(68282);class s extends i.FlowGraphExecutionBlock{constructor(t){super(t),this.condition=this.registerDataInput("condition",e.RichTypeBoolean),this.onTrue=this._registerSignalOutput("onTrue"),this.onFalse=this._registerSignalOutput("onFalse")}_execute(t){this.condition.getValue(t)?this.onTrue._activateSignal(t):this.onFalse._activateSignal(t)}getClassName(){return"FlowGraphBranchBlock"}}let a=!1;t.s(["FlowGraphBranchBlock",0,s,"RegisterFlowGraphBranchBlock",0,function(){a||(a=!0,(0,o.RegisterClass)("FlowGraphBranchBlock",s))}])}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,38450,t=>{"use strict";var e=t.i(56173);class r{constructor(t,r,a,s){this.normal=new e.Vector3(t,r,a),this.d=s}asArray(){return[this.normal.x,this.normal.y,this.normal.z,this.d]}clone(){return new r(this.normal.x,this.normal.y,this.normal.z,this.d)}getClassName(){return"Plane"}getHashCode(){let t=this.normal.getHashCode();return 397*t^this.d}normalize(){let t=Math.sqrt(this.normal.x*this.normal.x+this.normal.y*this.normal.y+this.normal.z*this.normal.z),e=0;return 0!==t&&(e=1/t),this.normal.x*=e,this.normal.y*=e,this.normal.z*=e,this.d*=e,this}transform(t){let e=r._TmpMatrix;t.invertToRef(e);let a=e.m,s=this.normal.x,i=this.normal.y,n=this.normal.z,o=this.d;return new r(s*a[0]+i*a[1]+n*a[2]+o*a[3],s*a[4]+i*a[5]+n*a[6]+o*a[7],s*a[8]+i*a[9]+n*a[10]+o*a[11],s*a[12]+i*a[13]+n*a[14]+o*a[15])}dotCoordinate(t){return this.normal.x*t.x+this.normal.y*t.y+this.normal.z*t.z+this.d}copyFromPoints(t,e,r){let a,s=e.x-t.x,i=e.y-t.y,n=e.z-t.z,o=r.x-t.x,l=r.y-t.y,c=r.z-t.z,u=i*c-n*l,h=n*o-s*c,d=s*l-i*o,f=Math.sqrt(u*u+h*h+d*d);return a=0!==f?1/f:0,this.normal.x=u*a,this.normal.y=h*a,this.normal.z=d*a,this.d=-(this.normal.x*t.x+this.normal.y*t.y+this.normal.z*t.z),this}isFrontFacingTo(t,r){return e.Vector3.Dot(this.normal,t)<=r}signedDistanceTo(t){return e.Vector3.Dot(t,this.normal)+this.d}static FromArray(t){return new r(t[0],t[1],t[2],t[3])}static FromPoints(t,e,a){let s=new r(0,0,0,0);return s.copyFromPoints(t,e,a),s}static FromPositionAndNormal(t,e){let a=new r(0,0,0,0);return this.FromPositionAndNormalToRef(t,e,a)}static FromPositionAndNormalToRef(t,e,r){return r.normal.copyFrom(e),r.normal.normalize(),r.d=-t.dot(r.normal),r}static SignedDistanceToPlaneFromPositionAndNormal(t,r,a){let s=-(r.x*t.x+r.y*t.y+r.z*t.z);return e.Vector3.Dot(a,r)+s}}r._TmpMatrix=e.Matrix.Identity(),t.s(["Plane",0,r])},69552,88362,t=>{"use strict";var e=t.i(49399);class r{static Eval(t,e){return"true"===(t=t.match(/\([^()]*\)/g)?t.replace(/\([^()]*\)/g,t=>(t=t.slice(1,t.length-1),r._HandleParenthesisContent(t,e))):r._HandleParenthesisContent(t,e))||"false"!==t&&r.Eval(t,e)}static _HandleParenthesisContent(t,e){let a;e=e||(t=>"true"===t);let s=t.split("||");for(let t in s)if(Object.prototype.hasOwnProperty.call(s,t)){let i=r._SimplifyNegation(s[t].trim()),n=i.split("&&");if(n.length>1)for(let t=0;t<n.length;++t){let s=r._SimplifyNegation(n[t].trim());if(!(a="true"!==s&&"false"!==s?"!"===s[0]?!e(s.substring(1)):e(s):"true"===s)){i="false";break}}if(a||"true"===i){a=!0;break}a="true"!==i&&"false"!==i?"!"===i[0]?!e(i.substring(1)):e(i):"true"===i}return a?"true":"false"}static _SimplifyNegation(t){return"!true"===(t=(t=t.replace(/^[\s!]+/,t=>(t=t.replace(/[\s]/g,()=>"")).length%2?"!":"")).trim())?t="false":"!false"===t&&(t="true"),t}}class a{static EnableFor(t){t._tags=t._tags||{},t.hasTags=()=>a.HasTags(t),t.addTags=e=>a.AddTagsTo(t,e),t.removeTags=e=>a.RemoveTagsFrom(t,e),t.matchesTagsQuery=e=>a.MatchesQuery(t,e)}static DisableFor(t){delete t._tags,delete t.hasTags,delete t.addTags,delete t.removeTags,delete t.matchesTagsQuery}static HasTags(t){if(!t._tags)return!1;let e=t._tags;for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!0;return!1}static GetTags(t,e=!0){if(!t._tags)return null;if(!e)return t._tags;{let e=[];for(let r in t._tags)Object.prototype.hasOwnProperty.call(t._tags,r)&&!0===t._tags[r]&&e.push(r);return e.join(" ")}}static AddTagsTo(t,e){if(e&&"string"==typeof e)for(let r of e.split(" "))a._AddTagTo(t,r)}static _AddTagTo(t,e){""===(e=e.trim())||"true"===e||"false"===e||e.match(/[\s]/)||e.match(/^([!]|([|]|[&]){2})/)||(a.EnableFor(t),t._tags[e]=!0)}static RemoveTagsFrom(t,e){if(!a.HasTags(t))return;let r=e.split(" ");for(let e in r)a._RemoveTagFrom(t,r[e])}static _RemoveTagFrom(t,e){delete t._tags[e]}static MatchesQuery(t,e){return void 0===e||(""===e?a.HasTags(t):r.Eval(e,e=>a.HasTags(t)&&t._tags[e]))}}t.s(["Tags",0,a],88362);var s=t.i(24617),i=t.i(56173),n=t.i(42898);let o=function(t,e,r,s={}){let i=t();a&&a.HasTags(e)&&a.AddTagsTo(i,a.GetTags(e,!0));let o=(0,n.GetMergedStore)(i),c={};for(let t in o){let a=o[t],n=e[t],u=a.type;if(null!=n&&("uniqueId"!==t||l.AllowLoadingUniqueId))switch(u){case 0:case 6:case 9:case 11:"function"==typeof n.slice?i[t]=n.slice():i[t]=n;break;case 1:s.cloneTexturesOnlyOnce&&c[n.uniqueId]?i[t]=c[n.uniqueId]:(i[t]=r||n.isRenderTarget?n:n.clone(),c[n.uniqueId]=i[t]);break;case 2:case 3:case 4:case 5:case 7:case 8:case 10:case 12:case 13:i[t]=r?n:n.clone()}}return i};class l{static AppendSerializedAnimations(t,e){if(t.animations){e.animations=[];for(let r=0;r<t.animations.length;r++){let a=t.animations[r];e.animations.push(a.serialize())}}}static Serialize(t,e){e||(e={}),a&&(e.tags=a.GetTags(t));let r=(0,n.GetMergedStore)(t);for(let a in r){let s=r[a],i=s.sourceName||a,n=s.type,o=t[a];if(null!=o&&("uniqueId"!==a||l.AllowLoadingUniqueId))switch(n){case 0:Array.isArray(o)?e[i]=o.slice():e[i]=o;break;case 1:case 3:case 7:case 9:e[i]=o.serialize();break;case 2:case 4:case 5:case 8:case 10:case 12:case 13:e[i]=o.asArray();break;case 6:case 11:e[i]=o.id}}return e}static ParseProperties(t,e,r,a){a||(a="");let o=(0,n.GetMergedStore)(e);for(let n in o){let c=o[n],u=t[c.sourceName||n],h=c.type;if(null!=u&&("uniqueId"!==n||l.AllowLoadingUniqueId))switch(h){case 0:e[n]=u;break;case 1:r&&(e[n]=l._TextureParser(u,r,a));break;case 2:e[n]=s.Color3.FromArray(u);break;case 3:e[n]=l._FresnelParametersParser(u);break;case 4:e[n]=i.Vector2.FromArray(u);break;case 5:e[n]=i.Vector3.FromArray(u);break;case 6:r&&(e[n]=r.getLastMeshById(u));break;case 7:e[n]=l._ColorCurvesParser(u);break;case 8:e[n]=s.Color4.FromArray(u);break;case 9:e[n]=l._ImageProcessingConfigurationParser(u);break;case 10:e[n]=i.Quaternion.FromArray(u);break;case 11:r&&(e[n]=r.getCameraById(u));break;case 12:e[n]=i.Matrix.FromArray(u);break;case 13:e[n]=i.Vector4.FromArray(u)}}}static Parse(t,e,r,s=null){let i=t();return a&&a.AddTagsTo(i,e.tags),l.ParseProperties(e,i,r,s),i}static Clone(t,e,r={}){return o(t,e,!1,r)}static Instanciate(t,e){return o(t,e,!0)}}l.AllowLoadingUniqueId=!1,l._ImageProcessingConfigurationParser=t=>{throw(0,e._WarnImport)("ImageProcessingConfiguration")},l._FresnelParametersParser=t=>{throw(0,e._WarnImport)("FresnelParameters")},l._ColorCurvesParser=t=>{throw(0,e._WarnImport)("ColorCurves")},l._TextureParser=(t,r,a)=>{throw(0,e._WarnImport)("Texture")},t.s(["SerializationHelper",0,l],69552)},6895,t=>{"use strict";class e{constructor(t){this.length=0,this.data=Array(t),this._id=e._GlobalId++}push(t){this.data[this.length++]=t,this.length>this.data.length&&(this.data.length*=2)}forEach(t){for(let e=0;e<this.length;e++)t(this.data[e])}sort(t){this.data.sort(t)}reset(){this.length=0}dispose(){this.reset(),this.data&&(this.data.length=0)}concat(t){if(0!==t.length){this.length+t.length>this.data.length&&(this.data.length=(this.length+t.length)*2);for(let e=0;e<t.length;e++)this.data[this.length++]=(t.data||t)[e]}}indexOf(t){let e=this.data.indexOf(t);return e>=this.length?-1:e}contains(t){return -1!==this.indexOf(t)}}e._GlobalId=0,t.s(["SmartArray",0,e,"SmartArrayNoDuplicate",0,class extends e{constructor(){super(...arguments),this._duplicateId=0}push(t){super.push(t),t.__smartArrayFlags||(t.__smartArrayFlags={}),t.__smartArrayFlags[this._id]=this._duplicateId}pushNoDuplicate(t){return(!t.__smartArrayFlags||t.__smartArrayFlags[this._id]!==this._duplicateId)&&(this.push(t),!0)}reset(){super.reset(),this._duplicateId++}concatWithNoDuplicate(t){if(0!==t.length){this.length+t.length>this.data.length&&(this.data.length=(this.length+t.length)*2);for(let e=0;e<t.length;e++){let r=(t.data||t)[e];this.pushNoDuplicate(r)}}}}])},73403,42898,5207,t=>{"use strict";let e;"function"==typeof SuppressedError&&SuppressedError,t.s(["__classPrivateFieldGet",0,function(t,e,r,a){if("a"===r&&!a)throw TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!a:!e.has(t))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?a:"a"===r?a.call(t):a?a.value:e.get(t)},"__classPrivateFieldSet",0,function(t,e,r,a,s){if("m"===a)throw TypeError("Private method is not writable");if("a"===a&&!s)throw TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!s:!e.has(t))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===a?s.call(t,r):s?s.value=r:e.set(t,r),r},"__esDecorate",0,function(t,e,r,a,s,i){function n(t){if(void 0!==t&&"function"!=typeof t)throw TypeError("Function expected");return t}for(var o,l=a.kind,c="getter"===l?"get":"setter"===l?"set":"value",u=!e&&t?a.static?t:t.prototype:null,h=e||(u?Object.getOwnPropertyDescriptor(u,a.name):{}),d=!1,f=r.length-1;f>=0;f--){var m={};for(var g in a)m[g]="access"===g?{}:a[g];for(var g in a.access)m.access[g]=a.access[g];m.addInitializer=function(t){if(d)throw TypeError("Cannot add initializers after decoration has completed");i.push(n(t||null))};var p=(0,r[f])("accessor"===l?{get:h.get,set:h.set}:h[c],m);if("accessor"===l){if(void 0===p)continue;if(null===p||"object"!=typeof p)throw TypeError("Object expected");(o=n(p.get))&&(h.get=o),(o=n(p.set))&&(h.set=o),(o=n(p.init))&&s.unshift(o)}else(o=n(p))&&("field"===l?s.unshift(o):h[c]=o)}u&&Object.defineProperty(u,a.name,h),d=!0},"__runInitializers",0,function(t,e,r){for(var a=arguments.length>2,s=0;s<e.length;s++)r=a?e[s].call(t,r):e[s].call(t);return a?r:void 0}],73403);let r="__bjs_serializable__",a=new WeakMap;function s(t,e){return Object.prototype.hasOwnProperty.call(t,e)}let i=((e=Symbol.metadata)||Object.defineProperty(Symbol,"metadata",{configurable:!0,writable:!0,value:e=Symbol("Symbol.metadata")}),e);function n(t){if(!t)throw Error(`Decorator metadata is unavailable; the Symbol.metadata (${String(i)}) polyfill must run before decorated classes are evaluated.`);return s(t,r)||(t[r]={}),t[r]}function o(t,e){return(r,a)=>{if(!a.metadata)return;let s=String(a.name),i=n(a.metadata);i[s]||(i[s]={type:t,sourceName:e})}}function l(t,e,r){let a=String(e.name),s=null,i=function(...n){if(null===s){s=t,"u">typeof _native&&_native[a]&&(s=r(_native[a],t));let n=this&&(e.static?this:Object.getPrototypeOf(this));n?.[a]===i&&(n[a]=s)}return s.apply(this,n)};return i}function c(t,e){return l(t,e,t=>t)}t.s(["GetDirectStoreFromMetadata",0,n,"GetMergedStore",0,function(t){let e="function"==typeof t?t:t?.constructor,n=e?e[i]:void 0;if(!n)return{};let o=a.get(n);if(o)return o;let l={},c=[],u=n;for(;u;)c.push(u),u=Object.getPrototypeOf(u);for(let t of c)if(s(t,r)){let e=t[r];for(let t in e)l[t]=e[t]}return a.set(n,l),l}],42898),c.filter=function(t){return(e,r)=>l(e,r,(e,r)=>function(...a){return t(...a)?e(...a):r.apply(this,a)})},t.s(["addAccessorsForMaterialProperty",0,function(t,e=null){return(r,a)=>{let s=e||"_"+String(a.name);return{get(){return this[s]?.value},set(e){"function"==typeof this[s]?.value?.equals&&this[s].value.equals(e)||this[s].value!==e&&(this[s].value=e,this[t]())}}}},"expandToProperty",0,function(t,e=null){return function(t,e=null){return(r,a)=>{let s=e||"_"+String(a.name);return{init(t){return void 0===t&&s in this||(this[s]=t),t},get(){return this[s]},set(e){"function"==typeof this[s]?.equals&&this[s].equals(e)||this[s]!==e&&(this[s]=e,this[t]())}}}}(t,e)},"nativeOverride",0,c,"serialize",0,function(t){return o(0,t)},"serializeAsColor3",0,function(t){return o(2,t)},"serializeAsColor4",0,function(t){return o(8,t)},"serializeAsColorCurves",0,function(t){return o(7,t)},"serializeAsFresnelParameters",0,function(t){return o(3,t)},"serializeAsMatrix",0,function(t){return o(12,t)},"serializeAsMeshReference",0,function(t){return o(6,t)},"serializeAsQuaternion",0,function(t){return o(10,t)},"serializeAsTexture",0,function(t){return o(1,t)},"serializeAsVector2",0,function(t){return o(4,t)},"serializeAsVector3",0,function(t){return o(5,t)}],5207)}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,88676,e=>{"use strict";var t=e.i(60699),r=e.i(65678),o=e.i(54668),a=e.i(48878),s=e.i(54984),i=e.i(82600),l=e.i(56173),n=e.i(80129),c=e.i(76197);function h(e,t){return e.x*t.x+e.y*t.y+e.z*t.z}function u(e){let t,r=Math.abs(e.x),o=Math.abs(e.y),a=Math.abs(e.z);return t=r<=o&&r<=a?l.Vector3.RightReadOnly:o<=a?l.Vector3.UpReadOnly:l.Vector3.LeftHandedForwardReadOnly,l.Vector3.Cross(e,t).normalize()}let p=["xyz","xzy","yxz","yzx","zxy","zyx"];var y=e.i(68282);let w="cachedOperationAxis",m="cachedOperationAngle",V="cachedExecutionId";class F extends a.FlowGraphUnaryOperationBlock{constructor(e){super(r.RichTypeAny,r.RichTypeNumber,e=>this._polymorphicLength(e),"FlowGraphLengthBlock",e)}_polymorphicLength(e){switch((0,n._GetClassNameOf)(e)){case"Vector2":case"Vector3":case"Vector4":case"Quaternion":return e.length();default:throw Error(`Cannot compute length of value ${e}`)}}}class x extends i.FlowGraphCachedOperationBlock{constructor(e){super(r.RichTypeAny,e),this.a=this.registerDataInput("a",r.RichTypeAny)}_doOperation(e){return this._polymorphicNormalize(this.a.getValue(e))}_getInvalidOutputValue(e){let t=this.a.getValue(e);switch((0,n._GetClassNameOf)(t)){case"Vector2":return new l.Vector2(0,0);case"Vector4":return new l.Vector4(0,0,0,0);case"Quaternion":return new l.Quaternion(0,0,0,0);default:return new l.Vector3(0,0,0)}}_polymorphicNormalize(e){switch((0,n._GetClassNameOf)(e)){case"Vector2":case"Vector3":case"Vector4":case"Quaternion":{let t=e.length();if(0===t||!Number.isFinite(t)){if(this.config?.nanOnZeroLength){let t=e.normalizeToNew();return t.setAll(NaN),t}return}return e.normalizeToNew()}default:throw Error(`Cannot normalize value ${e}`)}}getClassName(){return"FlowGraphNormalizeBlock"}}class d extends o.FlowGraphBinaryOperationBlock{constructor(e){super(r.RichTypeAny,r.RichTypeAny,r.RichTypeNumber,(e,t)=>this._polymorphicDot(e,t),"FlowGraphDotBlock",e)}_polymorphicDot(e,t){switch((0,n._GetClassNameOf)(e)){case"Vector2":case"Vector3":case"Vector4":case"Quaternion":return e.dot(t);default:throw Error(`Cannot get dot product of ${e} and ${t}`)}}}class g extends o.FlowGraphBinaryOperationBlock{constructor(e){super(r.RichTypeVector3,r.RichTypeVector3,r.RichTypeVector3,(e,t)=>l.Vector3.Cross(e,t),"FlowGraphCrossBlock",e)}}class B extends o.FlowGraphBinaryOperationBlock{constructor(e){super(r.RichTypeVector2,r.RichTypeNumber,r.RichTypeVector2,(e,t)=>e.rotate(t),"FlowGraphRotate2DBlock",e)}}class R extends o.FlowGraphBinaryOperationBlock{constructor(e){super(r.RichTypeVector3,r.RichTypeQuaternion,r.RichTypeVector3,(e,t)=>e.applyRotationQuaternion(t),"FlowGraphRotate3DBlock",e)}}function G(e,t){switch((0,n._GetClassNameOf)(e)){case"Vector2":case"Vector3":return t.transformVector(e);case"Vector4":return new l.Vector4(e.x*t.m[0]+e.y*t.m[4]+e.z*t.m[8]+e.w*t.m[12],e.x*t.m[1]+e.y*t.m[5]+e.z*t.m[9]+e.w*t.m[13],e.x*t.m[2]+e.y*t.m[6]+e.z*t.m[10]+e.w*t.m[14],e.x*t.m[3]+e.y*t.m[7]+e.z*t.m[11]+e.w*t.m[15]);default:throw Error(`Cannot transform value ${e}`)}}class k extends o.FlowGraphBinaryOperationBlock{constructor(e){const t=e?.vectorType||"Vector3",o="Vector2"===t?"Matrix2D":"Vector3"===t?"Matrix3D":"Matrix";super((0,r.getRichTypeByFlowGraphType)(t),(0,r.getRichTypeByFlowGraphType)(o),(0,r.getRichTypeByFlowGraphType)(t),G,"FlowGraphTransformVectorBlock",e)}}class T extends o.FlowGraphBinaryOperationBlock{constructor(e){super(r.RichTypeVector3,r.RichTypeMatrix,r.RichTypeVector3,(e,t)=>l.Vector3.TransformCoordinates(e,t),"FlowGraphTransformCoordinatesBlock",e)}}class C extends a.FlowGraphUnaryOperationBlock{constructor(e){super(r.RichTypeQuaternion,r.RichTypeQuaternion,e=>e.conjugate(),"FlowGraphConjugateBlock",e)}}class O extends o.FlowGraphBinaryOperationBlock{constructor(e){super(r.RichTypeQuaternion,r.RichTypeQuaternion,r.RichTypeNumber,(e,t)=>2*Math.acos((0,c.Clamp)(e.x*t.x+e.y*t.y+e.z*t.z+e.w*t.w,-1,1)),"FlowGraphAngleBetweenBlock",e)}}class _ extends o.FlowGraphBinaryOperationBlock{constructor(e){super(r.RichTypeVector3,r.RichTypeNumber,r.RichTypeQuaternion,(e,t)=>l.Quaternion.RotationAxis(e,t),"FlowGraphQuaternionFromAxisAngleBlock",e)}}class f extends t.FlowGraphBlock{constructor(e){super(e),this.a=this.registerDataInput("a",r.RichTypeQuaternion),this.axis=this.registerDataOutput("axis",r.RichTypeVector3),this.angle=this.registerDataOutput("angle",r.RichTypeNumber),this.isValid=this.registerDataOutput("isValid",r.RichTypeBoolean)}_updateOutputs(e){let t=e._getExecutionVariable(this,V,-1),r=e._getExecutionVariable(this,w,null),o=e._getExecutionVariable(this,m,null);if(null!=r&&null!=o&&t===e.executionId)this.axis.setValue(r,e),this.angle.setValue(o,e);else try{let{axis:t,angle:r}=this.a.getValue(e).toAxisAngle();e._setExecutionVariable(this,w,t),e._setExecutionVariable(this,m,r),e._setExecutionVariable(this,V,e.executionId),this.axis.setValue(t,e),this.angle.setValue(r,e),this.isValid.setValue(!0,e)}catch(t){this.isValid.setValue(!1,e)}}getClassName(){return"FlowGraphAxisAngleFromQuaternionBlock"}}class z extends o.FlowGraphBinaryOperationBlock{constructor(e){super(r.RichTypeVector3,r.RichTypeVector3,r.RichTypeQuaternion,(e,t)=>{let r;return function(e,t,r){let o=h(e,t);if(Number.isFinite(o)&&o>.999999)return r.copyFromFloats(0,0,0,1);if(Number.isFinite(o)&&o<-.999999){let t=u(e);return r.copyFromFloats(t.x,t.y,t.z,0)}let a=l.Vector3.Cross(e,t).normalize(),s=Math.sqrt(.5-.5*o);r.copyFromFloats(a.x*s,a.y*s,a.z*s,Math.sqrt(.5+.5*o))}(e,t,r=new l.Quaternion),r},"FlowGraphQuaternionFromDirectionsBlock",e)}}class N extends o.FlowGraphBinaryOperationBlock{constructor(e){super(r.RichTypeVector3,r.RichTypeVector3,r.RichTypeQuaternion,(e,t)=>{let r,o,a,s;return r=new l.Vector3(t.x,t.y,t.z),(o=l.Vector3.Cross(e,r)).lengthSquared()<1e-6*1e-6?o=u(r):o.normalize(),a=l.Vector3.Cross(r,o),s=l.Matrix.FromValues(o.x,o.y,o.z,0,a.x,a.y,a.z,0,r.x,r.y,r.z,0,0,0,0,1),l.Quaternion.FromRotationMatrix(s)},"FlowGraphQuaternionFromUpForwardBlock",e)}}class Q extends s.FlowGraphTernaryOperationBlock{constructor(e){super(r.RichTypeAny,r.RichTypeAny,r.RichTypeNumber,r.RichTypeAny,(e,t,r)=>this._polymorphicSlerp(e,t,r),"FlowGraphVectorSlerpBlock",e)}_polymorphicSlerp(e,t,r){switch((0,n._GetClassNameOf)(e)){case"Vector2":return function(e,t,r){let o=Math.sqrt(e.x*e.x+e.y*e.y),a=Math.sqrt(t.x*t.x+t.y*t.y);if(o<1e-6||a<1e-6)return new l.Vector2((1-r)*e.x+r*t.x,(1-r)*e.y+r*t.y);let s=e.x/o,i=e.y/o,n=t.x/a,h=t.y/a,u=Math.acos((0,c.Clamp)(s*n+i*h,-1,1));s*h-i*n<0&&(u=-u);let p=(1-r)*o+r*a,y=Math.cos(r*u),w=Math.sin(r*u);return new l.Vector2((s*y-i*w)*p,(s*w+i*y)*p)}(e,t,r);case"Vector3":return function(e,t,r){let o,a=e.length(),s=t.length(),i=()=>new l.Vector3((1-r)*e.x+r*t.x,(1-r)*e.y+r*t.y,(1-r)*e.z+r*t.z);if(a<1e-6||s<1e-6)return i();let n=new l.Vector3(e.x/a,e.y/a,e.z/a),p=new l.Vector3(t.x/s,t.y/s,t.z/s),y=h(n,p);if(y>.999999)return i();o=y<-.999999?u(n):l.Vector3.Cross(n,p).normalize();let w=r*Math.acos((0,c.Clamp)(y,-1,1)),m=l.Quaternion.RotationAxis(o,w);return n.applyRotationQuaternion(m).scaleInPlace((1-r)*a+r*s)}(e,t,r);default:throw Error(`Cannot slerp value ${e}`)}}}class A extends s.FlowGraphTernaryOperationBlock{constructor(e){super(r.RichTypeNumber,r.RichTypeNumber,r.RichTypeNumber,r.RichTypeQuaternion,(e,t,r)=>(function(e,t,r,o){let a=l.Quaternion.RotationAxis(l.Vector3.RightReadOnly,t),s=l.Quaternion.RotationAxis(l.Vector3.UpReadOnly,r),i=l.Quaternion.RotationAxis(l.Vector3.LeftHandedForwardReadOnly,o);switch(e){case"xyz":return a.multiplyInPlace(s).multiplyInPlace(i);case"xzy":return a.multiplyInPlace(i).multiplyInPlace(s);case"yzx":return s.multiplyInPlace(i).multiplyInPlace(a);case"zxy":return i.multiplyInPlace(a).multiplyInPlace(s);case"zyx":return i.multiplyInPlace(s).multiplyInPlace(a);default:return s.multiplyInPlace(a).multiplyInPlace(i)}})(this._order,e,t,r),"FlowGraphQuaternionFromAnglesBlock",e);const t=e?.order;this._order="string"==typeof t&&-1!==p.indexOf(t)?t:"yxz"}}let b=!1;e.s(["FlowGraphAngleBetweenBlock",0,O,"FlowGraphAxisAngleFromQuaternionBlock",0,f,"FlowGraphConjugateBlock",0,C,"FlowGraphCrossBlock",0,g,"FlowGraphDotBlock",0,d,"FlowGraphLengthBlock",0,F,"FlowGraphNormalizeBlock",0,x,"FlowGraphQuaternionFromAnglesBlock",0,A,"FlowGraphQuaternionFromAxisAngleBlock",0,_,"FlowGraphQuaternionFromDirectionsBlock",0,z,"FlowGraphQuaternionFromUpForwardBlock",0,N,"FlowGraphRotate2DBlock",0,B,"FlowGraphRotate3DBlock",0,R,"FlowGraphTransformBlock",0,k,"FlowGraphTransformCoordinatesBlock",0,T,"FlowGraphVectorSlerpBlock",0,Q,"RegisterFlowGraphVectorMathBlocks",0,function(){b||(b=!0,(0,y.RegisterClass)("FlowGraphLengthBlock",F),(0,y.RegisterClass)("FlowGraphNormalizeBlock",x),(0,y.RegisterClass)("FlowGraphDotBlock",d),(0,y.RegisterClass)("FlowGraphCrossBlock",g),(0,y.RegisterClass)("FlowGraphRotate2DBlock",B),(0,y.RegisterClass)("FlowGraphRotate3DBlock",R),(0,y.RegisterClass)("FlowGraphTransformVectorBlock",k),(0,y.RegisterClass)("FlowGraphTransformCoordinatesBlock",T),(0,y.RegisterClass)("FlowGraphConjugateBlock",C),(0,y.RegisterClass)("FlowGraphAngleBetweenBlock",O),(0,y.RegisterClass)("FlowGraphQuaternionFromAxisAngleBlock",_),(0,y.RegisterClass)("FlowGraphAxisAngleFromQuaternionBlock",f),(0,y.RegisterClass)("FlowGraphQuaternionFromDirectionsBlock",z),(0,y.RegisterClass)("FlowGraphQuaternionFromUpForwardBlock",N),(0,y.RegisterClass)("FlowGraphQuaternionFromAnglesBlock",A),(0,y.RegisterClass)("FlowGraphVectorSlerpBlock",Q))}],88676)},54668,e=>{"use strict";var t=e.i(82600);class r extends t.FlowGraphCachedOperationBlock{constructor(e,t,r,o,a,s){super(r,s),this._operation=o,this._className=a,this.a=this.registerDataInput("a",e),this.b=this.registerDataInput("b",t)}_doOperation(e){let t=this.a.getValue(e),r=this.b.getValue(e);return this._operation(t,r)}getClassName(){return this._className}}e.s(["FlowGraphBinaryOperationBlock",0,r])},82600,e=>{"use strict";var t=e.i(60699),r=e.i(65678);let o="cachedOperationValue",a="cachedExecutionId";class s extends t.FlowGraphBlock{constructor(e,t){super(t),this._outputRichType=e,this.value=this.registerDataOutput("value",e),this.isValid=this.registerDataOutput("isValid",r.RichTypeBoolean)}_getInvalidOutputValue(e){let t=this._outputRichType.defaultValue,r=t?.clone;return"function"==typeof r?r.call(t):t}_updateOutputs(e){let t=e._getExecutionVariable(this,a,-1),r=e._getExecutionVariable(this,o,null);if(null!=r&&t===e.executionId)this.isValid.setValue(!0,e),this.value.setValue(r,e);else try{let t=this._doOperation(e);if(null==t)return void this._setInvalid(e);e._setExecutionVariable(this,o,t),e._setExecutionVariable(this,a,e.executionId),this.value.setValue(t,e),this.isValid.setValue(!0,e)}catch(t){this._setInvalid(e)}}_setInvalid(e){this.isValid.setValue(!1,e),this.value.setValue(this._getInvalidOutputValue(e),e)}}e.s(["FlowGraphCachedOperationBlock",0,s])},54984,e=>{"use strict";var t=e.i(82600);class r extends t.FlowGraphCachedOperationBlock{constructor(e,t,r,o,a,s,i){super(o,i),this._operation=a,this._className=s,this.a=this.registerDataInput("a",e),this.b=this.registerDataInput("b",t),this.c=this.registerDataInput("c",r)}_doOperation(e){return this._operation(this.a.getValue(e),this.b.getValue(e),this.c.getValue(e))}getClassName(){return this._className}}e.s(["FlowGraphTernaryOperationBlock",0,r])},48878,e=>{"use strict";var t=e.i(82600);class r extends t.FlowGraphCachedOperationBlock{constructor(e,t,r,o,a){super(t,a),this._operation=r,this._className=o,this.a=this.registerDataInput("a",e)}_doOperation(e){return this._operation(this.a.getValue(e))}getClassName(){return this._className}}e.s(["FlowGraphUnaryOperationBlock",0,r])}]);
|