@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,4 +1,4 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,23797,e=>{"use strict";var r=e.i(25044),t=e.i(54058),a=e.i(83915),i=e.i(38267),n=e.i(95057),o=e.i(69337),f=e.i(48585),s=e.i(23275),l=e.i(32614),c=e.i(71184),_=e.i(10486);let m="openpbrFragmentSamplersDeclaration",d=`#include<samplerFragmentDeclaration>(_DEFINENAME_,BASE_COLOR,_VARYINGNAME_,BaseColor,_SAMPLERNAME_,baseColor)
|
|
2
2
|
#include<samplerFragmentDeclaration>(_DEFINENAME_,BASE_WEIGHT,_VARYINGNAME_,BaseWeight,_SAMPLERNAME_,baseWeight)
|
|
3
3
|
#include<samplerFragmentDeclaration>(_DEFINENAME_,BASE_DIFFUSE_ROUGHNESS,_VARYINGNAME_,BaseDiffuseRoughness,_SAMPLERNAME_,baseDiffuseRoughness)
|
|
4
4
|
#include<samplerFragmentDeclaration>(_DEFINENAME_,BASE_METALNESS,_VARYINGNAME_,BaseMetalness,_SAMPLERNAME_,baseMetalness)
|
|
@@ -50,7 +50,7 @@ var blueNoiseSamplerSampler: sampler;var blueNoiseSampler: texture_2d<f32>;
|
|
|
50
50
|
#ifdef IBL_CDF_FILTERING
|
|
51
51
|
var icdfSamplerSampler: sampler;var icdfSampler: texture_2d<f32>;
|
|
52
52
|
#endif
|
|
53
|
-
`;r.ShaderStore.IncludesShadersStoreWGSL[m]||(r.ShaderStore.IncludesShadersStoreWGSL[m]=d);var u=e.i(
|
|
53
|
+
`;r.ShaderStore.IncludesShadersStoreWGSL[m]||(r.ShaderStore.IncludesShadersStoreWGSL[m]=d);var u=e.i(53872),g=e.i(96045),p=e.i(69288),v=e.i(36953),S=e.i(1658),E=e.i(65503),h=e.i(54826),I=e.i(32777),R=e.i(76262),T=e.i(71896),N=e.i(51292),A=e.i(96528),b=e.i(93496),L=e.i(31989),F=e.i(72165),D=e.i(86165),O=e.i(71714),C=e.i(55143),P=e.i(99205),G=e.i(92668),x=e.i(56878),M=e.i(31278);let y="openpbrNormalMapFragmentMainFunctions",W=`#if defined(GEOMETRY_NORMAL) || defined(GEOMETRY_COAT_NORMAL) || defined(ANISOTROPIC) || defined(FUZZ) || defined(DETAIL)
|
|
54
54
|
#if defined(TANGENT) && defined(NORMAL)
|
|
55
55
|
varying vTBN0: vec3f;varying vTBN1: vec3f;varying vTBN2: vec3f;
|
|
56
56
|
#endif
|
|
@@ -90,7 +90,7 @@ fn perturbNormal(cotangentFrame: mat3x3f,textureSample: vec3f,scale: f32)->vec3f
|
|
|
90
90
|
fn cotangent_frame(normal: vec3f,p: vec3f,uv: vec2f,tangentSpaceParams: vec2f)->mat3x3f
|
|
91
91
|
{var dp1: vec3f=dpdx(p);var dp2: vec3f=dpdy(p);var duv1: vec2f=dpdx(uv);var duv2: vec2f=dpdy(uv);var dp2perp: vec3f=cross(dp2,normal);var dp1perp: vec3f=cross(normal,dp1);var tangent: vec3f=dp2perp*duv1.x+dp1perp*duv2.x;var bitangent: vec3f=dp2perp*duv1.y+dp1perp*duv2.y;tangent*=tangentSpaceParams.x;bitangent*=tangentSpaceParams.y;var det: f32=max(dot(tangent,tangent),dot(bitangent,bitangent));var invmax: f32=select(inverseSqrt(det),0.0,det==0.0);return mat3x3f(tangent*invmax,bitangent*invmax,normal);}
|
|
92
92
|
#endif
|
|
93
|
-
`;r.ShaderStore.IncludesShadersStoreWGSL[
|
|
93
|
+
`;r.ShaderStore.IncludesShadersStoreWGSL[y]||(r.ShaderStore.IncludesShadersStoreWGSL[y]=W);let z="openpbrNormalMapFragmentFunctions",U=`#if defined(GEOMETRY_NORMAL)
|
|
94
94
|
#include<samplerFragmentDeclaration>(_DEFINENAME_,GEOMETRY_NORMAL,_VARYINGNAME_,GeometryNormal,_SAMPLERNAME_,geometryNormal)
|
|
95
95
|
#endif
|
|
96
96
|
#if defined(GEOMETRY_COAT_NORMAL)
|
|
@@ -123,7 +123,7 @@ return -texCoordOffset;
|
|
|
123
123
|
#endif
|
|
124
124
|
}
|
|
125
125
|
#endif
|
|
126
|
-
`;r.ShaderStore.IncludesShadersStoreWGSL[
|
|
126
|
+
`;r.ShaderStore.IncludesShadersStoreWGSL[z]||(r.ShaderStore.IncludesShadersStoreWGSL[z]=U);var w=e.i(71047),X=e.i(47622);let H="openpbrConductorReflectance",V=`#define pbr_inline
|
|
127
127
|
fn conductorReflectance(baseColor: vec3f,specularColor: vec3f,specularWeight: f32)->ReflectanceParams
|
|
128
128
|
{var outParams: ReflectanceParams;
|
|
129
129
|
#if (CONDUCTOR_SPECULAR_MODEL==CONDUCTOR_SPECULAR_MODEL_OPENPBR)
|
|
@@ -131,9 +131,9 @@ outParams.coloredF0=baseColor*specularWeight;outParams.coloredF90=specularColor*
|
|
|
131
131
|
#else
|
|
132
132
|
outParams.coloredF0=baseColor;outParams.coloredF90=vec3f(1.0f);
|
|
133
133
|
#endif
|
|
134
|
-
outParams.F0=1.0f;outParams.F90=1.0f;return outParams;}`;r.ShaderStore.IncludesShadersStoreWGSL[
|
|
134
|
+
outParams.F0=1.0f;outParams.F90=1.0f;return outParams;}`;r.ShaderStore.IncludesShadersStoreWGSL[H]||(r.ShaderStore.IncludesShadersStoreWGSL[H]=V);let B="openpbrAmbientOcclusionFunctions",k=`fn compute_specular_occlusion(n_dot_v: f32,metallic: f32,ambient_occlusion: f32,roughness: f32)->f32
|
|
135
135
|
{let specular_occlusion: f32=saturate(pow(n_dot_v+ambient_occlusion,exp2(-16.0*roughness-1.0))-1.0+ambient_occlusion);return mix(specular_occlusion,1.0,metallic*square(1.0-roughness));}
|
|
136
|
-
`;r.ShaderStore.IncludesShadersStoreWGSL[
|
|
136
|
+
`;r.ShaderStore.IncludesShadersStoreWGSL[B]||(r.ShaderStore.IncludesShadersStoreWGSL[B]=k);var Y=e.i(41690),Z=e.i(32923);let j="openpbrVolumeFunctions",q=`struct OpenPBRHomogeneousVolume {extinction_coeff: vec3f,
|
|
137
137
|
ss_albedo: vec3f,
|
|
138
138
|
multi_scatter_color: vec3f,
|
|
139
139
|
absorption_coeff: vec3f,
|
|
@@ -190,7 +190,7 @@ let filter_samples_scale: f32=samples_scale(pixels_to_projective(overscan_size_i
|
|
|
190
190
|
return vec3f(select(unconvolved_irradiance.r,irradiance_sum.r/weight_sum.r,weight_sum.r>=1e-5f),
|
|
191
191
|
select(unconvolved_irradiance.g,irradiance_sum.g/weight_sum.g,weight_sum.g>=1e-5f),
|
|
192
192
|
select(unconvolved_irradiance.b,irradiance_sum.b/weight_sum.b,weight_sum.b>=1e-5f));}
|
|
193
|
-
`;r.ShaderStore.IncludesShadersStoreWGSL[
|
|
193
|
+
`;r.ShaderStore.IncludesShadersStoreWGSL[j]||(r.ShaderStore.IncludesShadersStoreWGSL[j]=q);var K=e.i(63122),Q=e.i(61444);let J="openpbrNormalMapFragment",$=`var uvOffset: vec2f= vec2f(0.0,0.0);
|
|
194
194
|
#if defined(GEOMETRY_NORMAL) || defined(GEOMETRY_COAT_NORMAL) || defined(PARALLAX) || defined(DETAIL)
|
|
195
195
|
#ifdef NORMALXYSCALE
|
|
196
196
|
var normalScale: f32=1.0;
|
|
@@ -245,7 +245,7 @@ normalW=perturbNormalBase(TBN,blendedNormal,uniforms.vGeometryNormalInfos.y);
|
|
|
245
245
|
#elif defined(DETAIL)
|
|
246
246
|
detailNormal=vec3f(detailNormal.xy*uniforms.vDetailInfos.z,detailNormal.z);normalW=perturbNormalBase(TBN,detailNormal,uniforms.vDetailInfos.z);
|
|
247
247
|
#endif
|
|
248
|
-
`;r.ShaderStore.IncludesShadersStoreWGSL[
|
|
248
|
+
`;r.ShaderStore.IncludesShadersStoreWGSL[J]||(r.ShaderStore.IncludesShadersStoreWGSL[J]=$);let ee="openpbrBlockNormalFinal",er=`#if defined(FORCENORMALFORWARD) && defined(NORMAL)
|
|
249
249
|
var faceNormal: vec3f=normalize(cross(dpdx(fragmentInputs.vPositionW),dpdy(fragmentInputs.vPositionW)))*scene.vEyePosition.w;
|
|
250
250
|
#if defined(TWOSIDEDLIGHTING)
|
|
251
251
|
faceNormal=select(-faceNormal,faceNormal,fragmentInputs.frontFacing);
|
|
@@ -259,7 +259,7 @@ normalW=select(normalW,-normalW,fragmentInputs.frontFacing);coatNormalW=select(c
|
|
|
259
259
|
normalW=select(-normalW,normalW,fragmentInputs.frontFacing);coatNormalW=select(-coatNormalW,coatNormalW,fragmentInputs.frontFacing);
|
|
260
260
|
#endif
|
|
261
261
|
#endif
|
|
262
|
-
`;r.ShaderStore.IncludesShadersStoreWGSL[
|
|
262
|
+
`;r.ShaderStore.IncludesShadersStoreWGSL[ee]||(r.ShaderStore.IncludesShadersStoreWGSL[ee]=er);let et="openpbrBaseLayerData",ea=`var base_color=vec3f(0.8);var base_metalness: f32=0.0;var base_diffuse_roughness: f32=0.0;var specular_weight: f32=1.0;var specular_roughness: f32=0.3;var specular_color: vec3f=vec3f(1.0);var specular_roughness_anisotropy: f32=0.0;var specular_ior: f32=1.5;var alpha: f32=1.0;var geometry_tangent: vec2f=vec2f(1.0,0.0);var geometry_thickness: f32=0.0;
|
|
263
263
|
#ifdef BASE_WEIGHT
|
|
264
264
|
let baseWeightFromTexture: vec4f=TEXRD(baseWeightSampler,baseWeightSamplerSampler,fragmentInputs.vBaseWeightUV+uvOffset);
|
|
265
265
|
#endif
|
|
@@ -384,7 +384,7 @@ let detailRoughness: f32=mix(0.5f,detailColor.b,vDetailInfos.w);let loLerp: f32=
|
|
|
384
384
|
#ifdef USE_GLTF_STYLE_ANISOTROPY
|
|
385
385
|
let baseAlpha: f32=specular_roughness*specular_roughness;let roughnessT: f32=mix(baseAlpha,1.0f,specular_roughness_anisotropy*specular_roughness_anisotropy);let roughnessB: f32=baseAlpha;specular_roughness_anisotropy=1.0f-roughnessB/max(roughnessT,0.00001f);specular_roughness=sqrt(roughnessT/sqrt(2.0f/(1.0f+(1.0f-specular_roughness_anisotropy)*(1.0f-specular_roughness_anisotropy))));
|
|
386
386
|
#endif
|
|
387
|
-
`;r.ShaderStore.IncludesShadersStoreWGSL[
|
|
387
|
+
`;r.ShaderStore.IncludesShadersStoreWGSL[et]||(r.ShaderStore.IncludesShadersStoreWGSL[et]=ea);var ei=e.i(24095),en=e.i(24186);let eo="openpbrCoatLayerData",ef=`var coat_weight: f32=0.0f;var coat_color: vec3f=vec3f(1.0f);var coat_roughness: f32=0.0f;var coat_roughness_anisotropy: f32=0.0f;var coat_ior: f32=1.6f;var coat_darkening: f32=1.0f;var geometry_coat_tangent: vec2f=vec2f(1.0f,0.0f);
|
|
388
388
|
#ifdef COAT_WEIGHT
|
|
389
389
|
var coatWeightFromTexture: vec4f=TEXRD(coatWeightSampler,coatWeightSamplerSampler,fragmentInputs.vCoatWeightUV+uvOffset);
|
|
390
390
|
#endif
|
|
@@ -436,7 +436,7 @@ coat_darkening*=coatDarkeningFromTexture.r;
|
|
|
436
436
|
#ifdef USE_GLTF_STYLE_ANISOTROPY
|
|
437
437
|
let coatAlpha: f32=coat_roughness*coat_roughness;let coatRoughnessT: f32=mix(coatAlpha,1.0f,coat_roughness_anisotropy*coat_roughness_anisotropy);let coatRoughnessB: f32=coatAlpha;coat_roughness_anisotropy=1.0f-coatRoughnessB/max(coatRoughnessT,0.00001f);coat_roughness=sqrt(coatRoughnessT/sqrt(2.0f/(1.0f+(1.0f-coat_roughness_anisotropy)*(1.0f-coat_roughness_anisotropy))));
|
|
438
438
|
#endif
|
|
439
|
-
`;r.ShaderStore.IncludesShadersStoreWGSL[
|
|
439
|
+
`;r.ShaderStore.IncludesShadersStoreWGSL[eo]||(r.ShaderStore.IncludesShadersStoreWGSL[eo]=ef);let es="openpbrThinFilmLayerData",el=`#ifdef THIN_FILM
|
|
440
440
|
var thin_film_weight: f32=uniforms.vThinFilmWeight;var thin_film_thickness: f32=uniforms.vThinFilmThickness.r*1000.0f;
|
|
441
441
|
var thin_film_ior: f32=uniforms.vThinFilmIor;
|
|
442
442
|
#ifdef THIN_FILM_WEIGHT
|
|
@@ -453,7 +453,7 @@ thin_film_thickness*=thinFilmThicknessFromTexture;
|
|
|
453
453
|
#endif
|
|
454
454
|
let thin_film_ior_scale: f32=clamp(2.0f*abs(thin_film_ior-1.0f),0.0f,1.0f);
|
|
455
455
|
#endif
|
|
456
|
-
`;r.ShaderStore.IncludesShadersStoreWGSL[
|
|
456
|
+
`;r.ShaderStore.IncludesShadersStoreWGSL[es]||(r.ShaderStore.IncludesShadersStoreWGSL[es]=el);let ec="openpbrFuzzLayerData",e_=`var fuzz_weight: f32=0.0f;var fuzz_color: vec3f=vec3f(1.0f);var fuzz_roughness: f32=0.0f;
|
|
457
457
|
#ifdef FUZZ
|
|
458
458
|
#ifdef FUZZ_WEIGHT
|
|
459
459
|
let fuzzWeightFromTexture: vec4f=TEXRD(fuzzWeightSampler,fuzzWeightSamplerSampler,fragmentInputs.vFuzzWeightUV+uvOffset);
|
|
@@ -482,11 +482,11 @@ fuzz_roughness*=fuzzRoughnessFromTexture.a;
|
|
|
482
482
|
fuzz_roughness*=fuzzRoughnessFromTexture.r;
|
|
483
483
|
#endif
|
|
484
484
|
#endif
|
|
485
|
-
`;r.ShaderStore.IncludesShadersStoreWGSL[
|
|
485
|
+
`;r.ShaderStore.IncludesShadersStoreWGSL[ec]||(r.ShaderStore.IncludesShadersStoreWGSL[ec]=e_);let em="openpbrAmbientOcclusionData",ed=`var ambient_occlusion: vec3f=vec3f(1.0f,1.0f,1.0f);var specular_ambient_occlusion: f32=1.0f;var coat_specular_ambient_occlusion: f32=1.0f;
|
|
486
486
|
#ifdef AMBIENT_OCCLUSION
|
|
487
487
|
var ambientOcclusionFromTexture: vec3f=TEXRD(ambientOcclusionSampler,ambientOcclusionSamplerSampler,fragmentInputs.vAmbientOcclusionUV+uvOffset).rgb;ambient_occlusion=vec3f(ambientOcclusionFromTexture.r*uniforms.vAmbientOcclusionInfos.y+(1.0f-uniforms.vAmbientOcclusionInfos.y));
|
|
488
488
|
#endif
|
|
489
|
-
`;r.ShaderStore.IncludesShadersStoreWGSL[
|
|
489
|
+
`;r.ShaderStore.IncludesShadersStoreWGSL[em]||(r.ShaderStore.IncludesShadersStoreWGSL[em]=ed);var eu=e.i(44053);let eg="openpbrBackgroundTransmission",ep=`var slab_translucent_background: vec4f=vec4f(0.,0.,0.,1.);
|
|
490
490
|
#ifdef REFRACTED_BACKGROUND
|
|
491
491
|
{let refractionLOD: f32=min(transmission_roughness,0.8)*uniforms.vBackgroundRefractionInfos.x;let lodTexelSize: f32=pow(2.0f,refractionLOD-uniforms.vBackgroundRefractionInfos.x);
|
|
492
492
|
#ifdef DISPERSION
|
|
@@ -514,7 +514,7 @@ let noiseOffset: vec2f=noise.xy*lodTexelSize;slab_translucent_background=texture
|
|
|
514
514
|
#endif
|
|
515
515
|
}
|
|
516
516
|
#endif
|
|
517
|
-
`;r.ShaderStore.IncludesShadersStoreWGSL[
|
|
517
|
+
`;r.ShaderStore.IncludesShadersStoreWGSL[eg]||(r.ShaderStore.IncludesShadersStoreWGSL[eg]=ep);let ev="openpbrEnvironmentLighting",eS=`#if defined(REFLECTION) || defined(REFRACTED_BACKGROUND)
|
|
518
518
|
var coatAbsorption=vec3f(1.0f);var coatIblFresnel: f32=0.0;if (coat_weight>0.0) {coatIblFresnel=computeDielectricIblFresnel(coatReflectance,coatGeoInfo.environmentBrdf);let hemisphere_avg_fresnel: f32=coatReflectance.F0+0.5f*(1.0f-coatReflectance.F0);var averageReflectance: f32=(coatIblFresnel+hemisphere_avg_fresnel)*0.5f;let roughnessFactor=1.0f-coat_roughness*0.5f;averageReflectance*=roughnessFactor;var darkened_transmission: f32=(1.0f-averageReflectance)*(1.0f-averageReflectance);darkened_transmission=mix(1.0,darkened_transmission,coat_darkening);var sin2: f32=1.0f-coatGeoInfo.NdotV*coatGeoInfo.NdotV;sin2=sin2/(coat_ior*coat_ior)*coat_weight;let cos_t: f32=sqrt(1.0f-sin2);let coatPathLength=1.0f/cos_t;let effectivePathLength=coatPathLength*coat_weight;let colored_transmission: vec3f=pow(coat_color,vec3f(effectivePathLength));coatAbsorption=colored_transmission*mix(1.0f,darkened_transmission,coat_weight);}
|
|
519
519
|
#endif
|
|
520
520
|
#ifdef REFLECTION
|
|
@@ -840,7 +840,7 @@ slab_translucent_base_ibl=slab_translucent_background.rgb*volume_absorption*tran
|
|
|
840
840
|
#endif
|
|
841
841
|
let material_dielectric_base_ibl: vec3f=mix(black,slab_translucent_base_ibl.rgb,surface_translucency_weight);let material_dielectric_gloss_ibl: vec3f=material_dielectric_base_ibl*(baseGeoInfo.NdotV);let material_base_substrate_ibl: vec3f=mix(material_dielectric_gloss_ibl,black,base_metalness);let material_coated_base_ibl: vec3f=layer(material_base_substrate_ibl,black,coatIblFresnel,coatAbsorption,vec3f(1.0f));material_surface_ibl=material_coated_base_ibl;
|
|
842
842
|
#endif
|
|
843
|
-
`;r.ShaderStore.IncludesShadersStoreWGSL[
|
|
843
|
+
`;r.ShaderStore.IncludesShadersStoreWGSL[ev]||(r.ShaderStore.IncludesShadersStoreWGSL[ev]=eS);let eE="openpbrDirectLightingInit",eh=`#ifdef LIGHT{X}
|
|
844
844
|
var preInfo{X}: preLightingInfo;var preInfoCoat{X}: preLightingInfo;let lightColor{X}: vec4f=light{X}.vLightDiffuse;var shadow{X}: f32=1.0f;
|
|
845
845
|
#if defined(SHADOWONLY) || defined(LIGHTMAP) && defined(LIGHTMAPEXCLUDED{X}) && defined(LIGHTMAPNOSPECULAR{X})
|
|
846
846
|
#else
|
|
@@ -911,7 +911,7 @@ preInfo{X}.roughness=adjustRoughnessFromLightProperties(specular_roughness,light
|
|
|
911
911
|
preInfo{X}.diffuseRoughness=base_diffuse_roughness;preInfo{X}.surfaceAlbedo=base_color.rgb;
|
|
912
912
|
#endif
|
|
913
913
|
#endif
|
|
914
|
-
`;r.ShaderStore.IncludesShadersStoreWGSL[
|
|
914
|
+
`;r.ShaderStore.IncludesShadersStoreWGSL[eE]||(r.ShaderStore.IncludesShadersStoreWGSL[eE]=eh);let eI="openpbrDirectLighting",eR=`#ifdef LIGHT{X}
|
|
915
915
|
{var slab_diffuse: vec3f=vec3f(0.f,0.f,0.f);var slab_translucent: vec3f=vec3f(0.f,0.f,0.f);var slab_glossy: vec3f=vec3f(0.f,0.f,0.f);var specularFresnel: f32=0.0f;var specularColoredFresnel: vec3f=vec3f(0.f,0.f,0.f);var slab_metal: vec3f=vec3f(0.f,0.f,0.f);var slab_coat: vec3f=vec3f(0.f,0.f,0.f);var coatFresnel: f32=0.0f;var slab_fuzz: vec3f=vec3f(0.f,0.f,0.f);var fuzzFresnel: f32=0.0f;
|
|
916
916
|
#ifdef HEMILIGHT{X}
|
|
917
917
|
slab_diffuse=computeHemisphericDiffuseLighting(preInfo{X},lightColor{X}.rgb,light{X}.vLightGround);
|
|
@@ -1066,7 +1066,7 @@ total_direct_diffuse+=slab_diffuse;
|
|
|
1066
1066
|
#endif
|
|
1067
1067
|
let material_dielectric_base: vec3f=mix(slab_diffuse*base_color.rgb,slab_translucent,surface_translucency_weight);let material_dielectric_gloss: vec3f=material_dielectric_base*(1.0f-specularFresnel)+slab_glossy*specularColoredFresnel;let material_base_substrate: vec3f=mix(material_dielectric_gloss,slab_metal,base_metalness);let material_coated_base: vec3f=layer(material_base_substrate,slab_coat,coatFresnel,coatAbsorption,vec3f(1.0f));material_surface_direct+=layer(material_coated_base,slab_fuzz,fuzzFresnel*fuzz_weight,vec3f(1.0f),fuzz_color);}
|
|
1068
1068
|
#endif
|
|
1069
|
-
`;r.ShaderStore.IncludesShadersStoreWGSL[
|
|
1069
|
+
`;r.ShaderStore.IncludesShadersStoreWGSL[eI]||(r.ShaderStore.IncludesShadersStoreWGSL[eI]=eR);var eT=e.i(60240),eN=e.i(56821),eA=e.i(92520);let eb="openpbrBlockPrePass",eL=`#if SCENE_MRT_COUNT>0
|
|
1070
1070
|
var writeGeometryInfo: f32=select(0.0,1.0,finalColor.a>ALPHATESTVALUE);var fragData: array<vec4<f32>,SCENE_MRT_COUNT>;
|
|
1071
1071
|
#ifdef PREPASS_POSITION
|
|
1072
1072
|
fragData[PREPASS_POSITION_INDEX]= vec4f(fragmentInputs.vPositionW,writeGeometryInfo);
|
|
@@ -1156,7 +1156,7 @@ fragmentOutputs.fragData6=fragData[6];
|
|
|
1156
1156
|
fragmentOutputs.fragData7=fragData[7];
|
|
1157
1157
|
#endif
|
|
1158
1158
|
#endif
|
|
1159
|
-
`;r.ShaderStore.IncludesShadersStoreWGSL[
|
|
1159
|
+
`;r.ShaderStore.IncludesShadersStoreWGSL[eb]||(r.ShaderStore.IncludesShadersStoreWGSL[eb]=eL);var eF=e.i(81920),eD=e.i(96645);let eO="openpbrPixelShader",eC=`#define OPENPBR_FRAGMENT_SHADER
|
|
1160
1160
|
#define CUSTOM_FRAGMENT_BEGIN
|
|
1161
1161
|
#include<prePassDeclaration>[SCENE_MRT_COUNT]
|
|
1162
1162
|
#include<oitDeclaration>
|
|
@@ -1384,4 +1384,4 @@ if (fragDepth==nearestDepth) {fragmentOutputs.frontColor=vec4f(fragmentOutputs.f
|
|
|
1384
1384
|
#define CUSTOM_FRAGMENT_MAIN_END
|
|
1385
1385
|
#endif
|
|
1386
1386
|
}
|
|
1387
|
-
`;for(let e of(r.ShaderStore.ShadersStoreWGSL[
|
|
1387
|
+
`;for(let e of(r.ShaderStore.ShadersStoreWGSL[eO]||(r.ShaderStore.ShadersStoreWGSL[eO]=eC),[t.prePassDeclarationWGSL,a.oitDeclarationWGSL,i.sceneUboDeclarationWGSL,n.meshUboDeclarationWGSL,o.openpbrUboDeclarationWGSL,f.mainUVVaryingDeclarationWGSL,s.pbrFragmentExtraDeclarationWGSL,l.lightUboDeclarationWGSL,c.samplerFragmentDeclarationWGSL,_.pbrFragmentReflectionDeclarationWGSL,{name:m,shader:d},u.imageProcessingDeclarationWGSL,g.clipPlaneFragmentDeclarationWGSL,p.logDepthDeclarationWGSL,v.fogFragmentDeclarationWGSL,S.textureRepetitionFunctionsWGSL,E.helperFunctionsWGSL,h.subSurfaceScatteringFunctionsWGSL,I.importanceSamplingWGSL,R.pbrHelperFunctionsWGSL,T.imageProcessingFunctionsWGSL,N.shadowsFragmentFunctionsWGSL,A.harmonicsFunctionsWGSL,b.ltcHelperFunctionsWGSL,L.pbrDirectLightingSetupFunctionsWGSL,F.pbrDirectLightingFalloffFunctionsWGSL,D.pbrBRDFFunctionsWGSL,O.hdrFilteringFunctionsWGSL,C.clusteredLightingFunctionsWGSL,P.pbrBlockReflectance0WGSL,G.pbrClusteredLightingFunctionsWGSL,x.pbrDirectLightingFunctionsWGSL,M.pbrIBLFunctionsWGSL,{name:y,shader:W},{name:z,shader:U},w.reflectionFunctionWGSL,X.openpbrDielectricReflectanceWGSL,{name:H,shader:V},{name:B,shader:k},Y.openpbrGeometryInfoWGSL,Z.openpbrIblFunctionsWGSL,{name:j,shader:q},K.clipPlaneFragmentWGSL,Q.pbrBlockNormalGeometricWGSL,{name:J,shader:$},{name:ee,shader:er},{name:et,shader:ea},ei.openpbrTransmissionLayerDataWGSL,en.openpbrSubsurfaceLayerDataWGSL,{name:eo,shader:ef},{name:es,shader:el},{name:ec,shader:e_},{name:em,shader:ed},eu.depthPrePassWGSL,{name:eg,shader:ep},{name:ev,shader:eS},{name:eE,shader:eh},{name:eI,shader:eR},eT.logDepthFragmentWGSL,eN.fogFragmentWGSL,eA.pbrBlockImageProcessingWGSL,{name:eb,shader:eL},eF.oitFragmentWGSL,eD.pbrDebugWGSL]))r.ShaderStore.IncludesShadersStoreWGSL[e.name]||(r.ShaderStore.IncludesShadersStoreWGSL[e.name]=e.shader);e.s(["openpbrPixelShaderWGSL",0,{name:eO,shader:eC}],23797)}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,28215,8781,e=>{"use strict";var t=e.i(56173),i=e.i(24617),n=e.i(76197);class o{constructor(e,t,i){this.name=e,this.from=t,this.to=i}clone(){return new o(this.name,this.from,this.to)}}e.s(["AnimationRange",0,o],8781);var a=e.i(43384),r=e.i(92953),s=e.i(5369),l=e.i(69552),u=e.i(68282);let c=Object.freeze(new t.Quaternion(0,0,0,0)),h=Object.freeze(t.Vector3.Zero()),T=Object.freeze(t.Vector2.Zero()),m=Object.freeze(r.Size.Zero()),A=Object.freeze(i.Color3.Black()),p=Object.freeze(new i.Color4(0,0,0,0)),_={key:0,repeatCount:0,loopMode:2};class d{static _PrepareAnimation(e,n,o,a,s,l,u,c){let h;if(!isNaN(parseFloat(s))&&isFinite(s)?h=d.ANIMATIONTYPE_FLOAT:s instanceof t.Quaternion?h=d.ANIMATIONTYPE_QUATERNION:s instanceof t.Vector3?h=d.ANIMATIONTYPE_VECTOR3:s instanceof t.Vector2?h=d.ANIMATIONTYPE_VECTOR2:s instanceof i.Color3?h=d.ANIMATIONTYPE_COLOR3:s instanceof i.Color4?h=d.ANIMATIONTYPE_COLOR4:s instanceof r.Size&&(h=d.ANIMATIONTYPE_SIZE),void 0==h)return null;let T=new d(e,n,o,h,u);return T.setKeys([{frame:0,value:s},{frame:a,value:l}]),void 0!==c&&T.setEasingFunction(c),T}get runtimeAnimations(){return this._runtimeAnimations}get hasRunningRuntimeAnimations(){for(let e of this._runtimeAnimations)if(!e.isStopped())return!0;return!1}constructor(e,t,i,n,o,a){this.name=e,this.targetProperty=t,this.framePerSecond=i,this.dataType=n,this.loopMode=o,this.enableBlending=a,this._easingFunction=null,this._runtimeAnimations=[],this._events=[],this.blendingSpeed=.01,this._ranges={},this._coreAnimation=null,this.targetPropertyPath=t.split("."),this.dataType=n,this.loopMode=void 0===o?d.ANIMATIONLOOPMODE_CYCLE:o,this.uniqueId=d._UniqueIdGenerator++}toString(e){let t="Name: "+this.name+", property: "+this.targetProperty;if(t+=", datatype: "+["Float","Vector3","Quaternion","Matrix","Color3","Vector2"][this.dataType],t+=", nKeys: "+(this._keys?this._keys.length:"none"),t+=", nRanges: "+(this._ranges?Object.keys(this._ranges).length:"none"),e){t+=", Ranges: {";let e=!0;for(let i in this._ranges)e||(t+=", "),e=!1,t+=i;t+="}"}return t}addEvent(e){this._events.push(e),this._events.sort((e,t)=>e.frame-t.frame)}removeEvents(e){for(let t=0;t<this._events.length;t++)this._events[t].frame===e&&(this._events.splice(t,1),t--)}getEvents(){return this._events}createRange(e,t,i){this._ranges[e]||(this._ranges[e]=new o(e,t,i))}deleteRange(e,t=!0){let i=this._ranges[e];if(i){if(t){let e=i.from,t=i.to;for(let i=this._keys.length-1;i>=0;i--)this._keys[i].frame>=e&&this._keys[i].frame<=t&&this._keys.splice(i,1)}this._ranges[e]=null}}getRange(e){return this._ranges[e]}getKeys(){return this._keys}getHighestFrame(){let e=0;for(let t=0,i=this._keys.length;t<i;t++)e<this._keys[t].frame&&(e=this._keys[t].frame);return e}getEasingFunction(){return this._easingFunction}setEasingFunction(e){this._easingFunction=e}floatInterpolateFunction(e,t,i){return(0,n.Lerp)(e,t,i)}floatInterpolateFunctionWithTangents(e,t,i,o,a){return(0,n.Hermite)(e,t,i,o,a)}quaternionInterpolateFunction(e,i,n){return t.Quaternion.Slerp(e,i,n)}quaternionInterpolateFunctionWithTangents(e,i,n,o,a){return t.Quaternion.Hermite(e,i,n,o,a).normalize()}vector3InterpolateFunction(e,i,n){return t.Vector3.Lerp(e,i,n)}vector3InterpolateFunctionWithTangents(e,i,n,o,a){return t.Vector3.Hermite(e,i,n,o,a)}vector2InterpolateFunction(e,i,n){return t.Vector2.Lerp(e,i,n)}vector2InterpolateFunctionWithTangents(e,i,n,o,a){return t.Vector2.Hermite(e,i,n,o,a)}sizeInterpolateFunction(e,t,i){return r.Size.Lerp(e,t,i)}color3InterpolateFunction(e,t,n){return i.Color3.Lerp(e,t,n)}color3InterpolateFunctionWithTangents(e,t,n,o,a){return i.Color3.Hermite(e,t,n,o,a)}color4InterpolateFunction(e,t,n){return i.Color4.Lerp(e,t,n)}color4InterpolateFunctionWithTangents(e,t,n,o,a){return i.Color4.Hermite(e,t,n,o,a)}_getKeyValue(e){return"function"==typeof e?e():e}evaluate(e){return _.key=0,this._interpolate(e,_)}_interpolate(e,t,i=!1){let n;if(t.loopMode===d.ANIMATIONLOOPMODE_CONSTANT&&t.repeatCount>0)return t.highLimitValue.clone?t.highLimitValue.clone():t.highLimitValue;let o=this._keys;if(this._coreAnimation)n=this._coreAnimation._key;else{let a=o.length;for(n=t.key;n>=0&&e<o[n].frame;)--n;for(;n+1<=a-1&&e>=o[n+1].frame;)++n;if(t.key=n,n<0)return i?void 0:this._getKeyValue(o[0].value);if(n+1>a-1)return i?void 0:this._getKeyValue(o[a-1].value);this._key=n}let a=o[n],r=o[n+1];if(i&&(e===a.frame||e===r.frame))return;let s=this._getKeyValue(a.value),l=this._getKeyValue(r.value);if(1===a.interpolation)if(r.frame>e)return s;else return l;let u=void 0!==a.outTangent&&void 0!==r.inTangent,_=r.frame-a.frame,O=(e-a.frame)/_,M=a.easingFunction||this.getEasingFunction();switch(M&&(O=M.ease(O)),this.dataType){case d.ANIMATIONTYPE_FLOAT:{let e=u?this.floatInterpolateFunctionWithTangents(s,a.outTangent*_,l,r.inTangent*_,O):this.floatInterpolateFunction(s,l,O);switch(t.loopMode){case d.ANIMATIONLOOPMODE_CYCLE:case d.ANIMATIONLOOPMODE_CONSTANT:case d.ANIMATIONLOOPMODE_YOYO:return e;case d.ANIMATIONLOOPMODE_RELATIVE:case d.ANIMATIONLOOPMODE_RELATIVE_FROM_CURRENT:return(t.offsetValue??0)*t.repeatCount+e}break}case d.ANIMATIONTYPE_QUATERNION:{let e=u?this.quaternionInterpolateFunctionWithTangents(s,a.outTangent.scale(_),l,r.inTangent.scale(_),O):this.quaternionInterpolateFunction(s,l,O);switch(t.loopMode){case d.ANIMATIONLOOPMODE_CYCLE:case d.ANIMATIONLOOPMODE_CONSTANT:case d.ANIMATIONLOOPMODE_YOYO:break;case d.ANIMATIONLOOPMODE_RELATIVE:case d.ANIMATIONLOOPMODE_RELATIVE_FROM_CURRENT:return e.addInPlace((t.offsetValue||c).scale(t.repeatCount))}return e}case d.ANIMATIONTYPE_VECTOR3:{let e=u?this.vector3InterpolateFunctionWithTangents(s,a.outTangent.scale(_),l,r.inTangent.scale(_),O):this.vector3InterpolateFunction(s,l,O);switch(t.loopMode){case d.ANIMATIONLOOPMODE_CYCLE:case d.ANIMATIONLOOPMODE_CONSTANT:case d.ANIMATIONLOOPMODE_YOYO:return e;case d.ANIMATIONLOOPMODE_RELATIVE:case d.ANIMATIONLOOPMODE_RELATIVE_FROM_CURRENT:return e.add((t.offsetValue||h).scale(t.repeatCount))}break}case d.ANIMATIONTYPE_VECTOR2:{let e=u?this.vector2InterpolateFunctionWithTangents(s,a.outTangent.scale(_),l,r.inTangent.scale(_),O):this.vector2InterpolateFunction(s,l,O);switch(t.loopMode){case d.ANIMATIONLOOPMODE_CYCLE:case d.ANIMATIONLOOPMODE_CONSTANT:case d.ANIMATIONLOOPMODE_YOYO:return e;case d.ANIMATIONLOOPMODE_RELATIVE:case d.ANIMATIONLOOPMODE_RELATIVE_FROM_CURRENT:return e.add((t.offsetValue||T).scale(t.repeatCount))}break}case d.ANIMATIONTYPE_SIZE:switch(t.loopMode){case d.ANIMATIONLOOPMODE_CYCLE:case d.ANIMATIONLOOPMODE_CONSTANT:case d.ANIMATIONLOOPMODE_YOYO:return this.sizeInterpolateFunction(s,l,O);case d.ANIMATIONLOOPMODE_RELATIVE:case d.ANIMATIONLOOPMODE_RELATIVE_FROM_CURRENT:return this.sizeInterpolateFunction(s,l,O).add((t.offsetValue||m).scale(t.repeatCount))}break;case d.ANIMATIONTYPE_COLOR3:{let e=u?this.color3InterpolateFunctionWithTangents(s,a.outTangent.scale(_),l,r.inTangent.scale(_),O):this.color3InterpolateFunction(s,l,O);switch(t.loopMode){case d.ANIMATIONLOOPMODE_CYCLE:case d.ANIMATIONLOOPMODE_CONSTANT:case d.ANIMATIONLOOPMODE_YOYO:return e;case d.ANIMATIONLOOPMODE_RELATIVE:case d.ANIMATIONLOOPMODE_RELATIVE_FROM_CURRENT:return e.add((t.offsetValue||A).scale(t.repeatCount))}break}case d.ANIMATIONTYPE_COLOR4:{let e=u?this.color4InterpolateFunctionWithTangents(s,a.outTangent.scale(_),l,r.inTangent.scale(_),O):this.color4InterpolateFunction(s,l,O);switch(t.loopMode){case d.ANIMATIONLOOPMODE_CYCLE:case d.ANIMATIONLOOPMODE_CONSTANT:case d.ANIMATIONLOOPMODE_YOYO:return e;case d.ANIMATIONLOOPMODE_RELATIVE:case d.ANIMATIONLOOPMODE_RELATIVE_FROM_CURRENT:return e.add((t.offsetValue||p).scale(t.repeatCount))}break}case d.ANIMATIONTYPE_MATRIX:switch(t.loopMode){case d.ANIMATIONLOOPMODE_CYCLE:case d.ANIMATIONLOOPMODE_CONSTANT:case d.ANIMATIONLOOPMODE_YOYO:if(d.AllowMatricesInterpolation)return this.matrixInterpolateFunction(s,l,O,t.workValue);return s;case d.ANIMATIONLOOPMODE_RELATIVE:case d.ANIMATIONLOOPMODE_RELATIVE_FROM_CURRENT:return s}}return 0}matrixInterpolateFunction(e,i,n,o){return d.AllowMatrixDecomposeForInterpolation?o?(t.Matrix.DecomposeLerpToRef(e,i,n,o),o):t.Matrix.DecomposeLerp(e,i,n):o?(t.Matrix.LerpToRef(e,i,n,o),o):t.Matrix.Lerp(e,i,n)}clone(e=!1){let t=new d(this.name,this.targetPropertyPath.join("."),this.framePerSecond,this.dataType,this.loopMode);if(t.enableBlending=this.enableBlending,t.blendingSpeed=this.blendingSpeed,this._keys&&t.setKeys(this._keys,!1,e),this._ranges)for(let e in t._ranges={},this._ranges){let i=this._ranges[e];i&&(t._ranges[e]=i.clone())}return t}setKeys(e,t=!1,i=!1){if(t)this._keys=e;else if(this._keys=e.slice(0),i)for(let e=0;e<this._keys.length;e++){let t=this._keys[e];this._keys[e]={frame:t.frame,value:t.value.clone?t.value.clone():t.value,inTangent:t.inTangent&&t.inTangent.clone?t.inTangent.clone():t.inTangent,outTangent:t.outTangent&&t.outTangent.clone?t.outTangent.clone():t.outTangent,interpolation:t.interpolation,lockedTangent:t.lockedTangent,easingFunction:t.easingFunction}}}createKeyForFrame(e){_.key=0;let t=this._interpolate(e,_,!0);if(!t)return this._keys[_.key].frame===e?_.key:_.key+1;let i={frame:e,value:t.clone?t.clone():t};return this._keys.splice(_.key+1,0,i),_.key+1}serialize(){let e={};e.name=this.name,e.property=this.targetProperty,e.framePerSecond=this.framePerSecond,e.dataType=this.dataType,e.loopBehavior=this.loopMode,e.enableBlending=this.enableBlending,e.blendingSpeed=this.blendingSpeed;let t=this.dataType;e.keys=[];let i=this.getKeys();for(let n=0;n<i.length;n++){let o=i[n],a={};switch(a.frame=o.frame,t){case d.ANIMATIONTYPE_FLOAT:a.values=[o.value],void 0!==o.inTangent&&a.values.push(o.inTangent),void 0!==o.outTangent&&(void 0===o.inTangent&&a.values.push(void 0),a.values.push(o.outTangent)),void 0!==o.interpolation&&(void 0===o.inTangent&&a.values.push(void 0),void 0===o.outTangent&&a.values.push(void 0),a.values.push(o.interpolation));break;case d.ANIMATIONTYPE_QUATERNION:case d.ANIMATIONTYPE_MATRIX:case d.ANIMATIONTYPE_VECTOR3:case d.ANIMATIONTYPE_COLOR3:case d.ANIMATIONTYPE_COLOR4:a.values=o.value.asArray(),void 0!=o.inTangent&&a.values.push(o.inTangent.asArray()),void 0!=o.outTangent&&(void 0===o.inTangent&&a.values.push(void 0),a.values.push(o.outTangent.asArray())),void 0!==o.interpolation&&(void 0===o.inTangent&&a.values.push(void 0),void 0===o.outTangent&&a.values.push(void 0),a.values.push(o.interpolation))}e.keys.push(a)}for(let t in e.ranges=[],this._ranges){let i=this._ranges[t];if(!i)continue;let n={};n.name=t,n.from=i.from,n.to=i.to,e.ranges.push(n)}return e}static _UniversalLerp(e,t,i){let n=e.constructor;return n.Lerp?n.Lerp(e,t,i):n.Slerp?n.Slerp(e,t,i):e.toFixed?e*(1-i)+i*t:t}}function O(e,i,n,o=!1,a){let r,s=e;(r="object"==typeof i?i:{referenceFrame:i??0,range:n,cloneOriginalAnimation:o,clonedAnimationName:a}).cloneOriginalAnimation&&((s=e.clone()).name=r.clonedAnimationName||s.name);let l=s.getKeys();if(!l.length)return s;let u=r.referenceFrame&&r.referenceFrame>=0?r.referenceFrame:0,c=0,h=l[0],T=l.length-1,m=l[T],A={referenceValue:h.value,referencePosition:t.TmpVectors.Vector3[0],referenceQuaternion:t.TmpVectors.Quaternion[0],referenceScaling:t.TmpVectors.Vector3[1],keyPosition:t.TmpVectors.Vector3[2],keyQuaternion:t.TmpVectors.Quaternion[1],keyScaling:t.TmpVectors.Vector3[3]},p=h.frame,M=m.frame;if(r.range){let e=s.getRange(r.range);e&&(p=e.from,M=e.to)}else p=r.fromFrame??p,M=r.toFrame??M;p!==h.frame&&(c=s.createKeyForFrame(p)),M!==m.frame&&(T=s.createKeyForFrame(M));let g=s.getKeys();if(1===g.length){let e=s._getKeyValue(g[0].value);A.referenceValue=e.clone?e.clone():e}else if(u<=h.frame){let e=s._getKeyValue(h.value);A.referenceValue=e.clone?e.clone():e}else if(u>=m.frame){let e=s._getKeyValue(m.value);A.referenceValue=e.clone?e.clone():e}else{_.key=0;let e=s._interpolate(u,_);A.referenceValue=e.clone?e.clone():e}s.dataType===d.ANIMATIONTYPE_QUATERNION?A.referenceValue.normalize().conjugateInPlace():s.dataType===d.ANIMATIONTYPE_MATRIX&&(A.referenceValue.decompose(A.referenceScaling,A.referenceQuaternion,A.referencePosition),A.referenceQuaternion.normalize().conjugateInPlace());let f=Number.MAX_VALUE,I=r.clipKeys?[]:null;for(let e=c;e<=T;e++){let i=g[e];if((I||r.cloneOriginalAnimation)&&(i={frame:i.frame,value:i.value.clone?i.value.clone():i.value,inTangent:i.inTangent,outTangent:i.outTangent,interpolation:i.interpolation,lockedTangent:i.lockedTangent,easingFunction:i.easingFunction},I&&(f===Number.MAX_VALUE&&(f=i.frame),i.frame-=f,I.push(i))),!e||s.dataType===d.ANIMATIONTYPE_FLOAT||i.value!==h.value)switch(s.dataType){case d.ANIMATIONTYPE_MATRIX:i.value.decompose(A.keyScaling,A.keyQuaternion,A.keyPosition),A.keyPosition.subtractInPlace(A.referencePosition),A.keyScaling.divideInPlace(A.referenceScaling),A.referenceQuaternion.multiplyToRef(A.keyQuaternion,A.keyQuaternion),t.Matrix.ComposeToRef(A.keyScaling,A.keyQuaternion,A.keyPosition,i.value);break;case d.ANIMATIONTYPE_QUATERNION:A.referenceValue.multiplyToRef(i.value,i.value);break;case d.ANIMATIONTYPE_VECTOR2:case d.ANIMATIONTYPE_VECTOR3:case d.ANIMATIONTYPE_COLOR3:case d.ANIMATIONTYPE_COLOR4:i.value.subtractToRef(A.referenceValue,i.value);break;case d.ANIMATIONTYPE_SIZE:i.value.width-=A.referenceValue.width,i.value.height-=A.referenceValue.height;break;default:i.value-=A.referenceValue}}return I&&s.setKeys(I,!0),s}function M(e,t,i,n){let o=new d(e+"Animation",e,i,t,d.ANIMATIONLOOPMODE_CONSTANT);return o.setEasingFunction(n),o}function g(e,t,i,n,o,a,r,s,l,u,c){let h=d._PrepareAnimation(e,i,n,o,a,r,s,l);return h&&(t.getScene&&(c=t.getScene()),c)?c.beginDirectAnimation(t,[h],0,o,h.loopMode!==d.ANIMATIONLOOPMODE_CONSTANT,1,u):null}function f(e,t,i,n,o,a,r,s,l,u,c){let h=d._PrepareAnimation(e,n,o,a,r,s,l,u);return h?t.getScene().beginDirectHierarchyAnimation(t,i,[h],0,a,1===h.loopMode,1,c):null}function I(e,t,i,n,o,a,r,s,l,u){let c=d._PrepareAnimation(e,i,n,o,a,r,s,l);return c?(t.animations.push(c),t.getScene().beginAnimation(t,0,o,1===c.loopMode,1,u)):null}function N(e,t,i,n,o,a,r,s=null,l=!0,u){if(r<=0)return i[e]=t,s&&s(),null;let c=r/1e3*o;return a.setKeys(u??[{frame:0,value:i[e].clone?i[e].clone():i[e]},{frame:c,value:t}]),i.animations||(i.animations=[]),i.animations.push(a),n.beginAnimation(i,0,c,!1,1,s??void 0,void 0,l)}function y(e,t){l.SerializationHelper.AppendSerializedAnimations(e,t)}function R(e){let n,o,a=new d(e.name,e.property,e.framePerSecond,e.dataType,e.loopBehavior),r=e.dataType,s=[];for(e.enableBlending&&(a.enableBlending=e.enableBlending),e.blendingSpeed&&(a.blendingSpeed=e.blendingSpeed),o=0;o<e.keys.length;o++){let a,l,u,c=e.keys[o];switch(r){case d.ANIMATIONTYPE_FLOAT:n=c.values[0],c.values.length>=2&&(a=c.values[1]),c.values.length>=3&&(l=c.values[2]),c.values.length>=4&&(u=c.values[3]);break;case d.ANIMATIONTYPE_QUATERNION:if(n=t.Quaternion.FromArray(c.values),c.values.length>=8){let e=t.Quaternion.FromArray(c.values.slice(4,8));e.equals(t.Quaternion.Zero())||(a=e)}if(c.values.length>=12){let e=t.Quaternion.FromArray(c.values.slice(8,12));e.equals(t.Quaternion.Zero())||(l=e)}c.values.length>=13&&(u=c.values[12]);break;case d.ANIMATIONTYPE_MATRIX:n=t.Matrix.FromArray(c.values),c.values.length>=17&&(u=c.values[16]);break;case d.ANIMATIONTYPE_COLOR3:n=i.Color3.FromArray(c.values),c.values[3]&&(a=i.Color3.FromArray(c.values[3])),c.values[4]&&(l=i.Color3.FromArray(c.values[4])),c.values[5]&&(u=c.values[5]);break;case d.ANIMATIONTYPE_COLOR4:n=i.Color4.FromArray(c.values),c.values[4]&&(a=i.Color4.FromArray(c.values[4])),c.values[5]&&(l=i.Color4.FromArray(c.values[5])),c.values[6]&&(u=c.values[6]);break;case d.ANIMATIONTYPE_VECTOR3:default:n=t.Vector3.FromArray(c.values),c.values[3]&&(a=t.Vector3.FromArray(c.values[3])),c.values[4]&&(l=t.Vector3.FromArray(c.values[4])),c.values[5]&&(u=c.values[5])}let h={};h.frame=c.frame,h.value=n,void 0!=a&&(h.inTangent=a),void 0!=l&&(h.outTangent=l),void 0!=u&&(h.interpolation=u),s.push(h)}if(a.setKeys(s),e.ranges)for(o=0;o<e.ranges.length;o++)n=e.ranges[o],a.createRange(n.name,n.from,n.to);return a}async function E(e,t){return await new Promise((i,n)=>{let o=new s.WebRequest;o.addEventListener("readystatechange",()=>{if(4==o.readyState)if(200==o.status){let t=JSON.parse(o.responseText);if(t.animations&&(t=t.animations),t.length){let e=[];for(let i of t)e.push(R(i));i(e)}else{let n=R(t);e&&(n.name=e),i(n)}}else n("Unable to load the animation")}),o.open("GET",t),o.send()})}async function x(e){let t=this?.SnippetUrl??d.SnippetUrl;return await new Promise((i,n)=>{let o=new s.WebRequest;o.addEventListener("readystatechange",()=>{if(4==o.readyState)if(200==o.status){let t=JSON.parse(JSON.parse(o.responseText).jsonPayload);if(t.animations){let n=JSON.parse(t.animations),o=[];for(let t of n.animations){let i=R(t);i.snippetId=e,o.push(i)}i(o)}else{let n=R(JSON.parse(t.animation));n.snippetId=e,i(n)}}else n("Unable to load the snippet "+e)}),o.open("GET",t+"/"+e.replace(/#/g,"/")),o.send()})}d._UniqueIdGenerator=0,d.AllowMatricesInterpolation=!1,d.AllowMatrixDecomposeForInterpolation=!0,d.InheritOriginalValueFromActiveAnimations=!1,d.SnippetUrl="https://snippet.babylonjs.com",d.ANIMATIONTYPE_FLOAT=0,d.ANIMATIONTYPE_VECTOR3=1,d.ANIMATIONTYPE_QUATERNION=2,d.ANIMATIONTYPE_MATRIX=3,d.ANIMATIONTYPE_COLOR3=4,d.ANIMATIONTYPE_COLOR4=7,d.ANIMATIONTYPE_VECTOR2=5,d.ANIMATIONTYPE_SIZE=6,d.ANIMATIONLOOPMODE_RELATIVE=0,d.ANIMATIONLOOPMODE_CYCLE=1,d.ANIMATIONLOOPMODE_CONSTANT=2,d.ANIMATIONLOOPMODE_YOYO=4,d.ANIMATIONLOOPMODE_RELATIVE_FROM_CURRENT=5;let v=!1;e.s(["Animation",0,d,"AnimationCreateAnimation",0,M,"AnimationMakeAnimationAdditive",0,O,"AnimationParse",0,R,"RegisterAnimation",0,function(){v||(v=!0,d.Parse=R,d.ParseFromFileAsync=E,d.ParseFromSnippetAsync=x,d.CreateFromSnippetAsync=x,d.CreateAnimation=M,d.CreateAndStartAnimation=g,d.CreateAndStartHierarchyAnimation=f,d.CreateMergeAndStartAnimation=I,d.MakeAnimationAdditive=O,d.TransitionTo=N,d.AppendSerializedAnimations=y,(0,u.RegisterClass)("BABYLON.Animation",d),a.Node._AnimationRangeFactory=(e,t,i)=>new o(e,t,i))},"_StaticOffsetValueColor3",0,A,"_StaticOffsetValueColor4",0,p,"_StaticOffsetValueQuaternion",0,c,"_StaticOffsetValueSize",0,m,"_StaticOffsetValueVector2",0,T,"_StaticOffsetValueVector3",0,h],28215)},97372,e=>{"use strict";var t,i=e.i(56173),n=e.i(81978),o=e.i(43384),a=e.i(49399);class r extends o.Node{get _matrix(){return this._compose(),this._localMatrix}set _matrix(e){(e.updateFlag!==this._localMatrix.updateFlag||this._needToCompose)&&(this._needToCompose=!1,this._localMatrix.copyFrom(e),this._markAsDirtyAndDecompose())}constructor(e,t,n=null,o=null,a=null,r=null,s=null){super(e,t.getScene(),!1),this.name=e,this.children=[],this.animations=[],this._index=null,this._scalingDeterminant=1,this._needToDecompose=!0,this._needToCompose=!1,this._linkedTransformNode=null,this._waitingTransformNodeId=null,this._waitingTransformNodeUniqueId=null,this._skeleton=t,this._localMatrix=o?.clone()??i.Matrix.Identity(),this._restMatrix=a??this._localMatrix.clone(),this._bindMatrix=r??this._localMatrix.clone(),this._index=s,this._absoluteMatrix=new i.Matrix,this._absoluteBindMatrix=new i.Matrix,this._absoluteInverseBindMatrix=new i.Matrix,this._finalMatrix=new i.Matrix,t.bones.push(this),this.setParent(n,!1),this._updateAbsoluteBindMatrices()}getClassName(){return"Bone"}getSkeleton(){return this._skeleton}get parent(){return this._parentNode}getParent(){return this.parent}getChildren(){return this.children}getIndex(){return null===this._index?this.getSkeleton().bones.indexOf(this):this._index}set parent(e){this.setParent(e)}setParent(e,t=!0){if(this.parent!==e){if(this.parent){let e=this.parent.children.indexOf(this);-1!==e&&this.parent.children.splice(e,1)}this._parentNode=e,this.parent&&this.parent.children.push(this),t&&this._updateAbsoluteBindMatrices(),this.markAsDirty()}}getLocalMatrix(){return this._compose(),this._localMatrix}getBindMatrix(){return this._bindMatrix}getBaseMatrix(){return this.getBindMatrix()}getRestMatrix(){return this._restMatrix}getRestPose(){return this.getRestMatrix()}setRestMatrix(e){this._restMatrix.copyFrom(e)}setRestPose(e){this.setRestMatrix(e)}getBindPose(){return this.getBindMatrix()}setBindMatrix(e){this.updateMatrix(e)}setBindPose(e){this.setBindMatrix(e)}getFinalMatrix(){return this._finalMatrix}getWorldMatrix(){return this.getFinalMatrix()}returnToRest(){if(this._linkedTransformNode){let e=i.TmpVectors.Vector3[0],t=i.TmpVectors.Quaternion[0],n=i.TmpVectors.Vector3[1];this.getRestMatrix().decompose(e,t,n),this._linkedTransformNode.position.copyFrom(n),this._linkedTransformNode.rotationQuaternion=this._linkedTransformNode.rotationQuaternion??i.Quaternion.Identity(),this._linkedTransformNode.rotationQuaternion.copyFrom(t),this._linkedTransformNode.scaling.copyFrom(e)}else this._matrix=this._restMatrix}getAbsoluteInverseBindMatrix(){return this._absoluteInverseBindMatrix}getInvertedAbsoluteTransform(){return this.getAbsoluteInverseBindMatrix()}getAbsoluteMatrix(){return this._skeleton.computeAbsoluteMatrices(),this._absoluteMatrix}getAbsoluteTransform(){return this.getAbsoluteMatrix()}linkTransformNode(e){this._linkedTransformNode&&this._skeleton._numBonesWithLinkedTransformNode--,this._linkedTransformNode=e,this._linkedTransformNode&&this._skeleton._numBonesWithLinkedTransformNode++}getTransformNode(){return this._linkedTransformNode}get position(){return this._decompose(),this._localPosition}set position(e){this._decompose(),this._localPosition.copyFrom(e),this._markAsDirtyAndCompose()}get rotation(){return this.getRotation()}set rotation(e){this.setRotation(e)}get rotationQuaternion(){return this._decompose(),this._localRotation}set rotationQuaternion(e){this.setRotationQuaternion(e)}get scaling(){return this.getScale()}set scaling(e){this.setScale(e)}get animationPropertiesOverride(){return this._skeleton.animationPropertiesOverride}_decompose(){this._needToDecompose&&(this._needToDecompose=!1,this._localScaling||(this._localScaling=i.Vector3.Zero(),this._localRotation=i.Quaternion.Zero(),this._localPosition=i.Vector3.Zero()),this._localMatrix.decompose(this._localScaling,this._localRotation,this._localPosition))}_compose(){if(this._needToCompose){if(!this._localScaling){this._needToCompose=!1;return}this._needToCompose=!1,i.Matrix.ComposeToRef(this._localScaling,this._localRotation,this._localPosition,this._localMatrix)}}updateMatrix(e,t=!0,i=!0){this._bindMatrix.copyFrom(e),t&&this._updateAbsoluteBindMatrices(),i?this._matrix=e:this.markAsDirty()}_updateAbsoluteBindMatrices(e,t=!0){if(e||(e=this._bindMatrix),this.parent?e.multiplyToRef(this.parent._absoluteBindMatrix,this._absoluteBindMatrix):this._absoluteBindMatrix.copyFrom(e),this._absoluteBindMatrix.invertToRef(this._absoluteInverseBindMatrix),t)for(let e=0;e<this.children.length;e++)this.children[e]._updateAbsoluteBindMatrices();this._scalingDeterminant=0>this._absoluteBindMatrix.determinant()?-1:1}markAsDirty(){return this._currentRenderId++,this._childUpdateId++,this._skeleton._markAsDirty(),this}_markAsDirtyAndCompose(){this.markAsDirty(),this._needToCompose=!0}_markAsDirtyAndDecompose(){this.markAsDirty(),this._needToDecompose=!0}_updatePosition(e,t=0,n,o=!0){let a=this.getLocalMatrix();if(0==t)o?(a.addAtIndex(12,e.x),a.addAtIndex(13,e.y),a.addAtIndex(14,e.z)):a.setTranslationFromFloats(e.x,e.y,e.z);else{let t=r._TmpMats[0],s=r._TmpVecs[0];this.parent?(t.copyFrom(this.parent.getAbsoluteMatrix()),n&&t.multiplyToRef(n.getWorldMatrix(),t)):i.Matrix.IdentityToRef(t),o&&t.setTranslationFromFloats(0,0,0),t.invert(),i.Vector3.TransformCoordinatesToRef(e,t,s),o?(a.addAtIndex(12,s.x),a.addAtIndex(13,s.y),a.addAtIndex(14,s.z)):a.setTranslationFromFloats(s.x,s.y,s.z)}this._markAsDirtyAndDecompose()}translate(e,t=0,i){this._updatePosition(e,t,i,!0)}setPosition(e,t=0,i){this._updatePosition(e,t,i,!1)}setAbsolutePosition(e,t){this.setPosition(e,1,t)}scale(e,t,n,o=!1){let a=this.getLocalMatrix(),s=r._TmpMats[0];for(let o of(i.Matrix.ScalingToRef(e,t,n,s),s.multiplyToRef(a,a),s.invert(),this.children)){let i=o.getLocalMatrix();i.multiplyToRef(s,i),i.multiplyAtIndex(12,e),i.multiplyAtIndex(13,t),i.multiplyAtIndex(14,n),o._markAsDirtyAndDecompose()}if(this._markAsDirtyAndDecompose(),o)for(let i of this.children)i.scale(e,t,n,o)}setScale(e){this._decompose(),this._localScaling.copyFrom(e),this._markAsDirtyAndCompose()}getScale(){return this._decompose(),this._localScaling}getScaleToRef(e){this._decompose(),e.copyFrom(this._localScaling)}setYawPitchRoll(e,t,n,o=0,a){if(0===o){let s=r._TmpQuat;i.Quaternion.RotationYawPitchRollToRef(e,t,n,s),this.setRotationQuaternion(s,o,a);return}let s=r._TmpMats[0];if(!this._getAbsoluteInverseMatrixUnscaledToRef(s,a))return;let l=r._TmpMats[1];i.Matrix.RotationYawPitchRollToRef(e,t,n,l),s.multiplyToRef(l,l),this._rotateWithMatrix(l,o,a)}rotate(e,t,n=0,o){let a=r._TmpMats[0];a.setTranslationFromFloats(0,0,0),i.Matrix.RotationAxisToRef(e,t,a),this._rotateWithMatrix(a,n,o)}setAxisAngle(e,t,n=0,o){if(0===n){let a=r._TmpQuat;i.Quaternion.RotationAxisToRef(e,t,a),this.setRotationQuaternion(a,n,o);return}let a=r._TmpMats[0];if(!this._getAbsoluteInverseMatrixUnscaledToRef(a,o))return;let s=r._TmpMats[1];i.Matrix.RotationAxisToRef(e,t,s),a.multiplyToRef(s,s),this._rotateWithMatrix(s,n,o)}setRotation(e,t=0,i){this.setYawPitchRoll(e.y,e.x,e.z,t,i)}setRotationQuaternion(e,t=0,n){if(0===t){this._decompose(),this._localRotation.copyFrom(e),this._markAsDirtyAndCompose();return}let o=r._TmpMats[0];if(!this._getAbsoluteInverseMatrixUnscaledToRef(o,n))return;let a=r._TmpMats[1];i.Matrix.FromQuaternionToRef(e,a),o.multiplyToRef(a,a),this._rotateWithMatrix(a,t,n)}setRotationMatrix(e,t=0,n){if(0===t){let o=r._TmpQuat;i.Quaternion.FromRotationMatrixToRef(e,o),this.setRotationQuaternion(o,t,n);return}let o=r._TmpMats[0];if(!this._getAbsoluteInverseMatrixUnscaledToRef(o,n))return;let a=r._TmpMats[1];a.copyFrom(e),o.multiplyToRef(e,a),this._rotateWithMatrix(a,t,n)}_rotateWithMatrix(e,t=0,i){let n=this.getLocalMatrix(),o=n.m[12],a=n.m[13],s=n.m[14],l=this.getParent(),u=r._TmpMats[3],c=r._TmpMats[4];l&&1==t?(i?(u.copyFrom(i.getWorldMatrix()),l.getAbsoluteMatrix().multiplyToRef(u,u)):u.copyFrom(l.getAbsoluteMatrix()),c.copyFrom(u),c.invert(),n.multiplyToRef(u,n),n.multiplyToRef(e,n),n.multiplyToRef(c,n)):1==t&&i?(u.copyFrom(i.getWorldMatrix()),c.copyFrom(u),c.invert(),n.multiplyToRef(u,n),n.multiplyToRef(e,n),n.multiplyToRef(c,n)):n.multiplyToRef(e,n),n.setTranslationFromFloats(o,a,s),this._markAsDirtyAndDecompose()}_getAbsoluteInverseMatrixUnscaledToRef(e,t){let n=r._TmpMats[2];return e.copyFrom(this.getAbsoluteMatrix()),t?(e.multiplyToRef(t.getWorldMatrix(),e),i.Matrix.ScalingToRef(t.scaling.x,t.scaling.y,t.scaling.z,n)):i.Matrix.IdentityToRef(n),e.invert(),!isNaN(e.m[0])&&(n.multiplyAtIndex(0,this._scalingDeterminant),e.multiplyToRef(n,e),!0)}getPosition(e=0,t=null){let n=i.Vector3.Zero();return this.getPositionToRef(e,t,n),n}getPositionToRef(e=0,t,i){if(0==e){let e=this.getLocalMatrix();i.x=e.m[12],i.y=e.m[13],i.z=e.m[14]}else{let e=r._TmpMats[0].copyFrom(this.getAbsoluteMatrix());t&&e.multiplyToRef(t.getWorldMatrix(),e),i.x=e.m[12],i.y=e.m[13],i.z=e.m[14]}}getAbsolutePosition(e=null){let t=i.Vector3.Zero();return this.getPositionToRef(1,e,t),t}getAbsolutePositionToRef(e,t){this.getPositionToRef(1,e,t)}computeAbsoluteMatrices(){if(this._compose(),this.parent)this._localMatrix.multiplyToRef(this.parent._absoluteMatrix,this._absoluteMatrix);else{this._absoluteMatrix.copyFrom(this._localMatrix);let e=this._skeleton.getPoseMatrix();e&&this._absoluteMatrix.multiplyToRef(e,this._absoluteMatrix)}let e=this.children,t=e.length;for(let i=0;i<t;i++)e[i].computeAbsoluteMatrices()}computeAbsoluteTransforms(){this.computeAbsoluteMatrices()}getDirection(e,t=null){let n=i.Vector3.Zero();return this.getDirectionToRef(e,t,n),n}getDirectionToRef(e,t=null,n){let o=r._TmpMats[0].copyFrom(this.getAbsoluteMatrix());t&&o.multiplyToRef(t.getWorldMatrix(),o),i.Vector3.TransformNormalToRef(e,o,n),n.normalize()}getRotation(e=0,t=null){let n=i.Vector3.Zero();return this.getRotationToRef(e,t,n),n}getRotationToRef(e=0,t=null,i){let n=r._TmpQuat;this.getRotationQuaternionToRef(e,t,n),n.toEulerAnglesToRef(i)}getRotationQuaternion(e=0,t=null){let n=i.Quaternion.Identity();return this.getRotationQuaternionToRef(e,t,n),n}getRotationQuaternionToRef(e=0,t=null,i){if(0==e)this._decompose(),i.copyFrom(this._localRotation);else{let e=r._TmpMats[0],n=this.getAbsoluteMatrix();t?n.multiplyToRef(t.getWorldMatrix(),e):e.copyFrom(n),e.multiplyAtIndex(0,this._scalingDeterminant),e.multiplyAtIndex(1,this._scalingDeterminant),e.multiplyAtIndex(2,this._scalingDeterminant),e.decompose(void 0,i,void 0)}}getRotationMatrix(e=0,t){let n=i.Matrix.Identity();return this.getRotationMatrixToRef(e,t,n),n}getRotationMatrixToRef(e=0,t,i){if(0==e)this.getLocalMatrix().getRotationMatrixToRef(i);else{let e=r._TmpMats[0],n=this.getAbsoluteMatrix();t?n.multiplyToRef(t.getWorldMatrix(),e):e.copyFrom(n),e.multiplyAtIndex(0,this._scalingDeterminant),e.multiplyAtIndex(1,this._scalingDeterminant),e.multiplyAtIndex(2,this._scalingDeterminant),e.getRotationMatrixToRef(i)}}getAbsolutePositionFromLocal(e,t=null){let n=i.Vector3.Zero();return this.getAbsolutePositionFromLocalToRef(e,t,n),n}getAbsolutePositionFromLocalToRef(e,t=null,n){let o=r._TmpMats[0].copyFrom(this.getAbsoluteMatrix());t&&o.multiplyToRef(t.getWorldMatrix(),o),i.Vector3.TransformCoordinatesToRef(e,o,n)}getLocalPositionFromAbsolute(e,t=null){let n=i.Vector3.Zero();return this.getLocalPositionFromAbsoluteToRef(e,t,n),n}getLocalPositionFromAbsoluteToRef(e,t=null,n){let o=r._TmpMats[0].copyFrom(this.getAbsoluteMatrix());t&&o.multiplyToRef(t.getWorldMatrix(),o),o.invert(),i.Vector3.TransformCoordinatesToRef(e,o,n)}setCurrentPoseAsRest(){this.setRestMatrix(this.getLocalMatrix())}dispose(){this._linkedTransformNode=null;let e=this._skeleton.bones.indexOf(this);if(-1!==e&&this._skeleton.bones.splice(e,1),this._parentNode&&this._parentNode.children){let e=this._parentNode.children,t=e.indexOf(this);-1!==t&&e.splice(t,1)}super.dispose()}}r._TmpVecs=(0,n.BuildArray)(2,i.Vector3.Zero),r._TmpQuat=i.Quaternion.Identity(),r._TmpMats=(0,n.BuildArray)(5,i.Matrix.Identity),(t=r.prototype).copyAnimationRange??(t.copyAnimationRange=(0,a._MissingSideEffect)("Bone","copyAnimationRange")),e.s(["Bone",0,r])}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,63792,e=>{"use strict";var l=e.i(23422),t=e.i(65678),a=e.i(80129),i=e.i(49795),r=e.i(68282);class n extends l.FlowGraphExecutionBlockWithOutSignal{constructor(e){super(e),this.delayIndex=this.registerDataInput("delayIndex",t.RichTypeFlowGraphInteger)}_execute(e,l){let t=(0,a.getNumericValue)(this.delayIndex.getValue(e));if(t<0||isNaN(t)||!isFinite(t))return this._reportError(e,"Invalid delay index");let r=e._getGlobalContextVariable("pendingDelays",[]),n=r[t];n&&(n.dispose(),delete r[t],e._setGlobalContextVariable("pendingDelays",r)),(0,i.MarkDelayInactive)(e,t),this.out._activateSignal(e)}getClassName(){return"FlowGraphCancelDelayBlock"}}let o=!1;e.s(["FlowGraphCancelDelayBlock",0,n,"RegisterFlowGraphCancelDelayBlock",0,function(){o||(o=!0,(0,r.RegisterClass)("FlowGraphCancelDelayBlock",n))}])}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,99373,e=>{"use strict";var t=e.i(56173),r=e.i(76197),a=e.i(81705),o=e.i(33491),l=e.i(24617);class n{constructor(e,t,r,a){this.name=e,this.worldAxisForNormal=t,this.worldAxisForFileX=r,this.worldAxisForFileY=a}}class i{static _NearestPow2Floor(e){return e<=1?1:1<<Math.floor(Math.log2(e))}static ConvertCubeMapTextureToSphericalPolynomial(e){let t,r;if(!e.isCube)return null;e.getScene()?.getEngine().flushFramebuffer();let a=e.getSize().width,o=e._sphericalPolynomialTargetSize,l=o>0?this._NearestPow2Floor(o):0,n=!e.noMipmap&&e._texture?.generateMipMaps===!0,i=l>0&&l<a&&n,f=i?Math.max(0,Math.round(Math.log2(a/l))):0,s=i?Math.max(1,Math.floor(a/Math.pow(2,f))):a,c=e.readPixels(0,f,void 0,!1),u=e.readPixels(1,f,void 0,!1);e.isRenderTarget?(t=e.readPixels(3,f,void 0,!1),r=e.readPixels(2,f,void 0,!1)):(t=e.readPixels(2,f,void 0,!1),r=e.readPixels(3,f,void 0,!1));let A=e.readPixels(4,f,void 0,!1),m=e.readPixels(5,f,void 0,!1),p=e.gammaSpace,F=l>0&&l<a&&!i;return new Promise(e=>{Promise.all([u,c,t,r,A,m]).then(([t,r,o,n,i,f])=>{let c=s;F&&(t=this._DownsampleFace(t,a,l,4),r=this._DownsampleFace(r,a,l,4),o=this._DownsampleFace(o,a,l,4),n=this._DownsampleFace(n,a,l,4),i=this._DownsampleFace(i,a,l,4),f=this._DownsampleFace(f,a,l,4),c=l);let u={size:c,right:r,left:t,up:o,down:n,front:i,back:f,format:5,type:+(t instanceof Float32Array),gammaSpace:p};e(this.ConvertCubeMapToSphericalPolynomial(u))})})}static _AreaElement(e,t){return Math.atan2(e*t,Math.sqrt(e*e+t*t+1))}static _DownsampleFace(e,t,r,a){let o=e instanceof Float32Array?e:Float32Array.from(e),l=r*r*a,n=new Float32Array(l),i=t/r,f=1/(i*i);for(let e=0;e<r;e++){let l=Math.floor(e*i),s=Math.floor((e+1)*i);for(let c=0;c<r;c++){let u=Math.floor(c*i),A=Math.floor((c+1)*i),m=(e*r+c)*a;for(let e=0;e<a;e++){let r=0;for(let n=l;n<s;n++)for(let l=u;l<A;l++)r+=o[(n*t+l)*a+e];n[m+e]=r*f}}}if(e instanceof Float32Array)return n;let s=new e.constructor(l);for(let e=0;e<l;e++)s[e]=n[e]+.5|0;return s}static ConvertCubeMapToSphericalPolynomial(e,t=0){let n=t>0?this._NearestPow2Floor(t):0;if(n>0&&e.size>n){let t=5===e.format?4:3,r={};for(let a of["right","left","up","down","front","back"])r[a]=this._DownsampleFace(e[a],e.size,n,t);e={...e,...r,size:n}}let i=new a.SphericalHarmonics,f=0,s=2/e.size,c=.5*s,u=c-1;for(let t=0;t<6;t++){let a=this._FileFaces[t],n=e[a.name],A=u,m=5===e.format?4:3;for(let t=0;t<e.size;t++){let p=u;for(let u=0;u<e.size;u++){let F=a.worldAxisForFileX.scale(p).add(a.worldAxisForFileY.scale(A)).add(a.worldAxisForNormal);F.normalize();let h=this._AreaElement(p-c,A-c)-this._AreaElement(p-c,A+c)-this._AreaElement(p+c,A-c)+this._AreaElement(p+c,A+c),y=n[t*e.size*m+u*m+0],d=n[t*e.size*m+u*m+1],w=n[t*e.size*m+u*m+2];isNaN(y)&&(y=0),isNaN(d)&&(d=0),isNaN(w)&&(w=0),0===e.type&&(y/=255,d/=255,w/=255),e.gammaSpace&&(y=Math.pow((0,r.Clamp)(y),o.ToLinearSpace),d=Math.pow((0,r.Clamp)(d),o.ToLinearSpace),w=Math.pow((0,r.Clamp)(w),o.ToLinearSpace));let C=this.MAX_HDRI_VALUE;if(this.PRESERVE_CLAMPED_COLORS){let e=Math.max(y,d,w);if(e>C){let t=C/e;y*=t,d*=t,w*=t}}else y=(0,r.Clamp)(y,0,C),d=(0,r.Clamp)(d,0,C),w=(0,r.Clamp)(w,0,C);let _=new l.Color3(y,d,w);i.addLight(F,_,h),f+=h,p+=s}A+=s}}let A=4*Math.PI*6/6/f;return i.scaleInPlace(A),i.convertIncidentRadianceToIrradiance(),i.convertIrradianceToLambertianRadiance(),a.SphericalPolynomial.FromHarmonics(i)}}i._FileFaces=[new n("right",new t.Vector3(1,0,0),new t.Vector3(0,0,-1),new t.Vector3(0,-1,0)),new n("left",new t.Vector3(-1,0,0),new t.Vector3(0,0,1),new t.Vector3(0,-1,0)),new n("up",new t.Vector3(0,1,0),new t.Vector3(1,0,0),new t.Vector3(0,0,1)),new n("down",new t.Vector3(0,-1,0),new t.Vector3(1,0,0),new t.Vector3(0,0,-1)),new n("front",new t.Vector3(0,0,1),new t.Vector3(1,0,0),new t.Vector3(0,-1,0)),new n("back",new t.Vector3(0,0,-1),new t.Vector3(-1,0,0),new t.Vector3(0,-1,0))],i.MAX_HDRI_VALUE=4096,i.PRESERVE_CLAMPED_COLORS=!1,e.s(["CubeMapToSphericalPolynomialTools",0,i])},45389,e=>{"use strict";var t=e.i(76197),r=e.i(8697),a=e.i(99373),o=e.i(61654);function l(e){return e.charCodeAt(0)+(e.charCodeAt(1)<<8)+(e.charCodeAt(2)<<16)+(e.charCodeAt(3)<<24)}let n=l("DXT1"),i=l("DXT3"),f=l("DXT5"),s=l("DX10");class c{static GetDDSInfo(e){let t=new Int32Array(e.buffer,e.byteOffset,31),r=new Int32Array(e.buffer,e.byteOffset,35),a=1;131072&t[2]&&(a=Math.max(1,t[7]));let o=t[21],l=o===s?r[32]:0,c=0;switch(o){case 113:c=2;break;case 116:c=1;break;case s:if(10===l){c=2;break}2===l&&(c=1)}return{width:t[4],height:t[3],mipmapCount:a,isFourCC:(4&t[20])==4,isRGB:(64&t[20])==64,isLuminance:(131072&t[20])==131072,isCube:(512&t[28])==512,isCompressed:o===n||o===i||o===f,dxgiFormat:l,textureType:c}}static _GetHalfFloatAsFloatRGBAArrayBuffer(e,t,r,a,l,n){let i=new Float32Array(a),f=new Uint16Array(l,r),s=0;for(let r=0;r<t;r++)for(let t=0;t<e;t++){let a=(t+r*e)*4;i[s]=(0,o.FromHalfFloat)(f[a]),i[s+1]=(0,o.FromHalfFloat)(f[a+1]),i[s+2]=(0,o.FromHalfFloat)(f[a+2]),c.StoreLODInAlphaChannel?i[s+3]=n:i[s+3]=(0,o.FromHalfFloat)(f[a+3]),s+=4}return i}static _GetHalfFloatRGBAArrayBuffer(e,t,r,a,l,n){if(c.StoreLODInAlphaChannel){let i=new Uint16Array(a),f=new Uint16Array(l,r),s=0;for(let r=0;r<t;r++)for(let t=0;t<e;t++){let a=(t+r*e)*4;i[s]=f[a],i[s+1]=f[a+1],i[s+2]=f[a+2],i[s+3]=(0,o.ToHalfFloat)(n),s+=4}return i}return new Uint16Array(l,r,a)}static _GetFloatRGBAArrayBuffer(e,t,r,a,o,l){if(c.StoreLODInAlphaChannel){let n=new Float32Array(a),i=new Float32Array(o,r),f=0;for(let r=0;r<t;r++)for(let t=0;t<e;t++){let a=(t+r*e)*4;n[f]=i[a],n[f+1]=i[a+1],n[f+2]=i[a+2],n[f+3]=l,f+=4}return n}return new Float32Array(o,r,a)}static _GetFloatAsHalfFloatRGBAArrayBuffer(e,t,r,a,l,n){let i=new Uint16Array(a),f=new Float32Array(l,r),s=0;for(let r=0;r<t;r++)for(let t=0;t<e;t++)i[s]=(0,o.ToHalfFloat)(f[s]),i[s+1]=(0,o.ToHalfFloat)(f[s+1]),i[s+2]=(0,o.ToHalfFloat)(f[s+2]),c.StoreLODInAlphaChannel?i[s+3]=(0,o.ToHalfFloat)(n):i[s+3]=(0,o.ToHalfFloat)(f[s+3]),s+=4;return i}static _GetFloatAsUIntRGBAArrayBuffer(e,r,a,o,l,n){let i=new Uint8Array(o),f=new Float32Array(l,a),s=0;for(let a=0;a<r;a++)for(let r=0;r<e;r++){let o=(r+a*e)*4;i[s]=255*(0,t.Clamp)(f[o]),i[s+1]=255*(0,t.Clamp)(f[o+1]),i[s+2]=255*(0,t.Clamp)(f[o+2]),c.StoreLODInAlphaChannel?i[s+3]=n:i[s+3]=255*(0,t.Clamp)(f[o+3]),s+=4}return i}static _GetHalfFloatAsUIntRGBAArrayBuffer(e,r,a,l,n,i){let f=new Uint8Array(l),s=new Uint16Array(n,a),u=0;for(let a=0;a<r;a++)for(let r=0;r<e;r++){let l=(r+a*e)*4;f[u]=255*(0,t.Clamp)((0,o.FromHalfFloat)(s[l])),f[u+1]=255*(0,t.Clamp)((0,o.FromHalfFloat)(s[l+1])),f[u+2]=255*(0,t.Clamp)((0,o.FromHalfFloat)(s[l+2])),c.StoreLODInAlphaChannel?f[u+3]=i:f[u+3]=255*(0,t.Clamp)((0,o.FromHalfFloat)(s[l+3])),u+=4}return f}static _GetRGBAArrayBuffer(e,t,r,a,o,l,n,i,f){let s=new Uint8Array(a),c=new Uint8Array(o,r),u=0;for(let r=0;r<t;r++)for(let t=0;t<e;t++){let a=(t+r*e)*4;s[u]=c[a+l],s[u+1]=c[a+n],s[u+2]=c[a+i],s[u+3]=c[a+f],u+=4}return s}static _ExtractLongWordOrder(e){return 0===e||255===e||-0x1000000===e?0:1+c._ExtractLongWordOrder(e>>8)}static _GetRGBArrayBuffer(e,t,r,a,o,l,n,i){let f=new Uint8Array(a),s=new Uint8Array(o,r),c=0;for(let r=0;r<t;r++)for(let t=0;t<e;t++){let a=(t+r*e)*3;f[c]=s[a+l],f[c+1]=s[a+n],f[c+2]=s[a+i],c+=3}return f}static _GetLuminanceArrayBuffer(e,t,r,a,o){let l=new Uint8Array(a),n=new Uint8Array(o,r),i=0;for(let r=0;r<t;r++)for(let t=0;t<e;t++){let a=t+r*e;l[i]=n[a],i++}return l}static UploadDDSLevels(e,t,o,l,u,A,m=-1,p,F=!0){let h,y,d,w=null;l.sphericalPolynomial&&(w=[]);let C=!!e.getCaps().s3tc;t.generateMipMaps=u;let _=new Int32Array(o.buffer,o.byteOffset,31),b,B,G,x=0,g,R=0,M=1;if(0x20534444!==_[0])return void r.Logger.Error("Invalid magic number in DDS header");if(!l.isFourCC&&!l.isRGB&&!l.isLuminance)return void r.Logger.Error("Unsupported format, must contain a FourCC, RGB or LUMINANCE code");if(l.isCompressed&&!C)return void r.Logger.Error("Compressed textures are not supported on this platform.");let D=_[22];g=_[1]+4;let T=!1;if(l.isFourCC)switch(b=_[21]){case n:M=8,R=33777;break;case i:M=16,R=33778;break;case f:M=16,R=33779;break;case 113:T=!0,D=64;break;case 116:T=!0,D=128;break;case s:{g+=20;let e=!1;switch(l.dxgiFormat){case 10:T=!0,D=64,e=!0;break;case 2:T=!0,D=128,e=!0;break;case 88:l.isRGB=!0,l.isFourCC=!1,D=32,e=!0}if(e)break}default:r.Logger.Error(["Unsupported FourCC code:",String.fromCharCode(255&b,b>>8&255,b>>16&255,b>>24&255)]);return}let L=c._ExtractLongWordOrder(_[23]),S=c._ExtractLongWordOrder(_[24]),O=c._ExtractLongWordOrder(_[25]),H=c._ExtractLongWordOrder(_[26]);T&&(R=e._getRGBABufferInternalSizedFormat(l.textureType)),y=1,131072&_[2]&&!1!==u&&(y=Math.max(1,_[7]));let P=p||0,U=e.getCaps();for(let r=P;r<A;r++){for(B=_[4],G=_[3],d=0;d<y;++d){if(-1===m||m===d){let a=-1===m?d:0;if(!l.isCompressed&&l.isFourCC){t.format=5,x=B*G*4;let l=null;if(e._badOS||e._badDesktopOS||!U.textureHalfFloat&&!U.textureFloat)128===D?(l=c._GetFloatAsUIntRGBAArrayBuffer(B,G,o.byteOffset+g,x,o.buffer,a),w&&0==a&&w.push(c._GetFloatRGBAArrayBuffer(B,G,o.byteOffset+g,x,o.buffer,a))):64===D&&(l=c._GetHalfFloatAsUIntRGBAArrayBuffer(B,G,o.byteOffset+g,x,o.buffer,a),w&&0==a&&w.push(c._GetHalfFloatAsFloatRGBAArrayBuffer(B,G,o.byteOffset+g,x,o.buffer,a))),t.type=0;else{let e,r=U.textureFloat&&(F&&U.textureFloatLinearFiltering||!F),n=U.textureHalfFloat&&(F&&U.textureHalfFloatLinearFiltering||!F),i=(128===D||64===D&&!n)&&r?1:(64===D||128===D&&!r)&&n?2:0,f=null;if(128===D)switch(i){case 1:e=c._GetFloatRGBAArrayBuffer,f=null;break;case 2:e=c._GetFloatAsHalfFloatRGBAArrayBuffer,f=c._GetFloatRGBAArrayBuffer;break;case 0:e=c._GetFloatAsUIntRGBAArrayBuffer,f=c._GetFloatRGBAArrayBuffer}else switch(i){case 1:e=c._GetHalfFloatAsFloatRGBAArrayBuffer,f=null;break;case 2:e=c._GetHalfFloatRGBAArrayBuffer,f=c._GetHalfFloatAsFloatRGBAArrayBuffer;break;case 0:e=c._GetHalfFloatAsUIntRGBAArrayBuffer,f=c._GetHalfFloatAsFloatRGBAArrayBuffer}t.type=i,l=e(B,G,o.byteOffset+g,x,o.buffer,a),w&&0==a&&w.push(f?f(B,G,o.byteOffset+g,x,o.buffer,a):l)}l&&e._uploadDataToTextureDirectly(t,l,r,a)}else if(l.isRGB)t.type=0,24===D?(t.format=4,x=B*G*3,h=c._GetRGBArrayBuffer(B,G,o.byteOffset+g,x,o.buffer,L,S,O)):(t.format=5,x=B*G*4,h=c._GetRGBAArrayBuffer(B,G,o.byteOffset+g,x,o.buffer,L,S,O,H)),e._uploadDataToTextureDirectly(t,h,r,a);else if(l.isLuminance){let l=e._getUnpackAlignement(),n=B;x=Math.floor((B+l-1)/l)*l*(G-1)+n,h=c._GetLuminanceArrayBuffer(B,G,o.byteOffset+g,x,o.buffer),t.format=1,t.type=0,e._uploadDataToTextureDirectly(t,h,r,a)}else x=Math.max(4,B)/4*Math.max(4,G)/4*M,h=new Uint8Array(o.buffer,o.byteOffset+g,x),t.type=0,e._uploadCompressedDataToTextureDirectly(t,R,B,G,h,r,a)}g+=D?B*G*(D/8):x,B*=.5,G*=.5,B=Math.max(1,B),G=Math.max(1,G)}if(void 0!==p)break}w&&w.length>0?l.sphericalPolynomial=a.CubeMapToSphericalPolynomialTools.ConvertCubeMapToSphericalPolynomial({size:_[4],right:w[0],left:w[1],up:w[2],down:w[3],front:w[4],back:w[5],format:5,type:1,gammaSpace:!1}):l.sphericalPolynomial=void 0}}c.StoreLODInAlphaChannel=!1,e.s(["DDSTools",0,c])}]);
|