@uptimizr/dashboard 0.4.7 → 1.0.0
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 +9 -9
- package/out/__next._full.txt +10 -10
- package/out/__next._tree.txt +1 -1
- package/out/_next/static/chunks/{209sxygecny37.js → 0-6mdj5wxsfid.js} +1 -1
- package/out/_next/static/chunks/{0ybs1u66q26su.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/02ic9b5ejugow.js +1 -0
- package/out/_next/static/chunks/03p70i4c7qt0v.js +1 -0
- package/out/_next/static/chunks/{33i36o_l69sm5.js → 03pjr-ivdicng.js} +1 -1
- package/out/_next/static/chunks/041a06-lxipy5.js +1 -0
- package/out/_next/static/chunks/{1zm6eo861i3c8.js → 06dzkwetqis-5.js} +1 -1
- package/out/_next/static/chunks/{3ipx7xbxchsq9.js → 06kvanz5-fo52.js} +1 -1
- package/out/_next/static/chunks/07y8ke_iy59dn.js +1 -0
- package/out/_next/static/chunks/09jukc-4jl735.js +1 -0
- package/out/_next/static/chunks/{35sne1llxnc-m.js → 09khmdgez3t0a.js} +18 -18
- package/out/_next/static/chunks/{02qk_wmkf9at-.js → 0_dca4876jshu.js} +38 -38
- 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/{0-_j1khfoib6l.js → 0ctain5xq2wsd.js} +12 -12
- package/out/_next/static/chunks/{22yqh0zlo_vwr.js → 0df-dr3otg_4w.js} +1 -1
- package/out/_next/static/chunks/{26y9sv8_-ykxf.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/{0grasqqf5dw7r.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/{1uh9zgsy69g92.js → 0ip6v64di_l6x.js} +1 -1
- package/out/_next/static/chunks/{267prao6fyt22.js → 0ixymgjgz3grn.js} +10 -10
- 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/{1gttu-n9am66k.js → 0oyf2xzv8ofkk.js} +21 -21
- package/out/_next/static/chunks/0qvsy3gcqjm12.js +1 -0
- package/out/_next/static/chunks/{1qg1l7t00nyib.js → 0rl4ddh2vgxyl.js} +14 -14
- package/out/_next/static/chunks/0rwpttmsmqvn_.js +1 -0
- package/out/_next/static/chunks/0so3wjp9ch93y.js +1 -0
- package/out/_next/static/chunks/{43fp64xnfy646.js → 0te4g160_rb5d.js} +1 -1
- package/out/_next/static/chunks/0uby-zvu799ef.js +1 -0
- package/out/_next/static/chunks/{3h6akt2uu05ku.js → 0uvn0op2mlr2u.js} +12 -12
- package/out/_next/static/chunks/0vwj4hxjm0igv.js +1 -0
- package/out/_next/static/chunks/{1m9zc5gm-327d.js → 0w7c30w07uct2.js} +10 -10
- package/out/_next/static/chunks/0wm38z3u2133a.js +1 -0
- package/out/_next/static/chunks/0y7yk5al7_p8q.js +4 -0
- package/out/_next/static/chunks/0ywvahq9t0tki.js +1 -0
- package/out/_next/static/chunks/0zh6nslagkby-.js +1 -0
- package/out/_next/static/chunks/{3vbamaoiuk9yj.js → 0zo8xa0nej3ex.js} +1 -1
- package/out/_next/static/chunks/{2of8q0kaeqpf0.js → 0zsir95gpf3xw.js} +1 -1
- package/out/_next/static/chunks/0zu6ryyj0ig-j.js +3 -0
- package/out/_next/static/chunks/{2c721vfva711t.js → 1-jv8k10q_1uw.js} +1 -1
- package/out/_next/static/chunks/1-s5ioie9a94e.js +1 -0
- package/out/_next/static/chunks/{13zcn4lv0qj76.js → 1-yos1h0qws5e.js} +11 -11
- package/out/_next/static/chunks/10o7brc3x027r.js +1 -0
- package/out/_next/static/chunks/{060iult6f68_e.js → 10pae4gb9i929.js} +29 -29
- package/out/_next/static/chunks/13p93itm8a3ym.js +1 -0
- package/out/_next/static/chunks/{0btmk0wmekl02.js → 147s8i_lktp4_.js} +2 -2
- package/out/_next/static/chunks/{3njwfothmmg7u.js → 14tgo5xt_3j4w.js} +1 -1
- package/out/_next/static/chunks/1699hx-vlak0n.js +22 -0
- package/out/_next/static/chunks/16d6n9e77rqti.js +1 -0
- package/out/_next/static/chunks/{3zs7l4362msjd.js → 16f3d5dv83rsr.js} +1 -1
- package/out/_next/static/chunks/16i_tpwn_cmr-.js +1 -0
- package/out/_next/static/chunks/{1by60_b14x-3o.js → 16rfr165nbha0.js} +1 -1
- package/out/_next/static/chunks/{0zqgq0lwtz9tn.js → 16sl51pvzo4tf.js} +1 -1
- package/out/_next/static/chunks/{2n-pveub8b_5t.js → 1760s-32qpwgg.js} +1 -1
- package/out/_next/static/chunks/{1u8snlm6a7uhi.js → 18kq07c5xy_4g.js} +4 -4
- package/out/_next/static/chunks/{1rcdimhu0qhlu.js → 190tbzt861ao3.js} +39 -39
- package/out/_next/static/chunks/19bhv6cupnnyj.js +1 -0
- package/out/_next/static/chunks/1_14pn2wwebxy.js +1 -0
- package/out/_next/static/chunks/{3huu0tqmxwowu.js → 1_kikmeubh0wq.js} +30 -30
- 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/1bf421g4peccx.js +2 -0
- package/out/_next/static/chunks/1bfony5qsc5tp.js +1 -0
- package/out/_next/static/chunks/{1e8_jl2cxd3rp.js → 1ddt0ot7kl8vq.js} +40 -40
- package/out/_next/static/chunks/1emz2vjkgck4z.js +1 -0
- package/out/_next/static/chunks/1eogzzw8i1wsg.js +1 -0
- package/out/_next/static/chunks/{2apihn9ra2ufp.js → 1g9p2h1-31q8o.js} +1 -1
- package/out/_next/static/chunks/1gcz1k1v1woca.js +1 -0
- package/out/_next/static/chunks/{3v-0c2aj6c0on.js → 1h8lyicgqhpxa.js} +1 -1
- package/out/_next/static/chunks/{3772oce1n3t_g.js → 1hot663akaepl.js} +1 -1
- package/out/_next/static/chunks/1i7pgl3ks5ye0.js +1 -0
- package/out/_next/static/chunks/{2sys9nj8lo3uk.js → 1i8sk_qgpdjhs.js} +1 -1
- package/out/_next/static/chunks/1k8erl2uygr8g.js +1 -0
- package/out/_next/static/chunks/{30bhz7czzs4mf.js → 1kk3ct7pkpf3b.js} +1 -1
- package/out/_next/static/chunks/{33hp-khdfohdq.js → 1kq9o8del67le.js} +1 -1
- package/out/_next/static/chunks/{3d-i_skta_wes.js → 1l7tzyx2mumlq.js} +1 -1
- 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/1ogs4_aj84bfn.js +1 -0
- package/out/_next/static/chunks/{0sw-8gxbg4x0l.js → 1p206txlluipi.js} +18 -18
- package/out/_next/static/chunks/1p2bt1w845v6c.js +1 -0
- package/out/_next/static/chunks/1p3rgz4aef1gk.js +1 -0
- package/out/_next/static/chunks/{41b5gpyqbj58m.js → 1qcgdx9yl0gfx.js} +4 -4
- 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/{15o4_2t-l3rj5.js → 1sa6qiidtcyk2.js} +1 -1
- package/out/_next/static/chunks/1t-9vrdrsi8le.js +1 -0
- package/out/_next/static/chunks/{1rlfg62jxqj3z.js → 1t97zo0tlpbnz.js} +1 -1
- package/out/_next/static/chunks/1te2tinzqnwck.js +1 -0
- package/out/_next/static/chunks/{3sa_hlx3konc7.js → 1trt-m2nrck0v.js} +1 -1
- package/out/_next/static/chunks/1ty9jpwr3o_st.js +1 -0
- package/out/_next/static/chunks/1u6w6veke8rze.js +1 -0
- package/out/_next/static/chunks/1u900urmrbv73.js +1 -0
- package/out/_next/static/chunks/{3_dgblylldcgb.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/{3xl-op0hwxytg.js → 1xf1wfow43ekc.js} +5 -5
- package/out/_next/static/chunks/1y10o40v9odam.js +1 -0
- package/out/_next/static/chunks/{2s6kpclh6ie7o.js → 1y_zykt3fpen4.js} +29 -29
- package/out/_next/static/chunks/1ye6xtbm16pg4.js +1 -0
- package/out/_next/static/chunks/{1t5oynmttpfsw.js → 1z6_57k5h31u7.js} +1 -1
- package/out/_next/static/chunks/{0lep3_bqwfuin.js → 1zboqft0h6mop.js} +1 -1
- package/out/_next/static/chunks/{43v4y2gu5z9_h.js → 1zr3c351x0ri5.js} +1 -1
- package/out/_next/static/chunks/2-5p2lcedvrli.js +1 -0
- package/out/_next/static/chunks/206hxrq60f1_e.js +1 -0
- package/out/_next/static/chunks/20r05k3-studj.js +1 -0
- package/out/_next/static/chunks/221j_mhvdpitn.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/{2a07so920b6aa.js → 22z-2t_yp1jzs.js} +1 -1
- package/out/_next/static/chunks/{30n4y_uu8chbh.js → 23hmfdw6z5zfy.js} +30 -30
- package/out/_next/static/chunks/23y1krqnc-8sm.js +1 -0
- package/out/_next/static/chunks/{3f8qelpscqfym.js → 24tbkj1qkux88.js} +2 -2
- package/out/_next/static/chunks/{2ao-3jzz7yw3p.js → 26cmri51v7497.js} +11 -11
- 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/{3qn6r8-0u6dij.js → 2a31-txop1jzg.js} +38 -38
- package/out/_next/static/chunks/2aanowvpmkmvj.js +1 -0
- package/out/_next/static/chunks/2bse5vll1o-x0.js +1 -0
- package/out/_next/static/chunks/2ct40spu9wfj7.js +1 -0
- package/out/_next/static/chunks/{2kok6zedeeltw.js → 2ept01b7t-e03.js} +1 -1
- package/out/_next/static/chunks/{3w59kt5ztyvoq.js → 2ey5dqelco_g5.js} +1 -1
- package/out/_next/static/chunks/2fd_009hw7y0m.js +1 -0
- package/out/_next/static/chunks/{0fd-0i1yt23kz.js → 2ftz9kaxrsgxh.js} +1 -1
- package/out/_next/static/chunks/2gefdnozflr7p.js +1 -0
- package/out/_next/static/chunks/{2izok2otbk8-2.js → 2gs-u1n5uv7iz.js} +37 -37
- package/out/_next/static/chunks/{2r96kyeehsji9.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/2lh_w9rzy3vek.js +1 -0
- package/out/_next/static/chunks/{0rracz73p38mo.js → 2ln1na26qwp-3.js} +9 -9
- 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/{005bbq_px7lke.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/{0gf-ztg86zd80.js → 2qe46redkqhfg.js} +1 -1
- package/out/_next/static/chunks/2qtc0nbl_521e.js +1 -0
- package/out/_next/static/chunks/{0e1jfrmioeuws.js → 2rofu6gu1xzuq.js} +1 -1
- 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/{1l_3oidssbhns.js → 2urh9qafp3fiw.js} +17 -17
- package/out/_next/static/chunks/{05v-nubi896jg.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/{37cnbm5ft1mqf.js → 2wwra56rehfcj.js} +1 -1
- 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/30t3203d7p2da.js +1 -0
- package/out/_next/static/chunks/31kto7-dxkt3z.js +1 -0
- package/out/_next/static/chunks/{2lsvk7xcfkarc.js → 32oflcl79d8mu.js} +1 -1
- package/out/_next/static/chunks/32ovg81ae0l03.js +1 -0
- package/out/_next/static/chunks/{0z9erbl3llr_b.js → 331kthnvoma7n.js} +16 -16
- package/out/_next/static/chunks/{0q75860p8u_ii.js → 337kn1mn34rc6.js} +1 -1
- package/out/_next/static/chunks/{2tc3e-iqv71y_.js → 33xug8kf0-a1o.js} +1 -1
- package/out/_next/static/chunks/{1-ogak5u00kwa.js → 34dcb7_flbrvo.js} +1 -1
- package/out/_next/static/chunks/34g070edw165e.js +3 -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/{15jlgfcaeaki9.js → 36yv-ialtpx98.js} +1 -1
- package/out/_next/static/chunks/37hwasxtee5e0.js +1 -0
- package/out/_next/static/chunks/37t0iclgxes05.js +1 -0
- package/out/_next/static/chunks/{1q4lkgxfnqnew.js → 37xnvnx1jxfaf.js} +1 -1
- package/out/_next/static/chunks/{2z_iab7ozohhq.js → 38w74ixqt-9co.js} +16 -16
- package/out/_next/static/chunks/{2h249uvhh2sij.js → 39t2x_9zd2rst.js} +10 -10
- package/out/_next/static/chunks/{2n3xu_wbvtj7h.js → 3_xqc3658d8sw.js} +12 -12
- package/out/_next/static/chunks/3ba8eudvlczwe.js +1 -0
- package/out/_next/static/chunks/{2q6l-xdqzgmpf.js → 3buezhxqc8n6n.js} +1 -1
- package/out/_next/static/chunks/{1zt1xxovnjhkm.js → 3c5iwwj-fhbue.js} +1 -1
- package/out/_next/static/chunks/{2urx6fow8c8c9.js → 3d8ot2tw6yqfq.js} +12 -12
- package/out/_next/static/chunks/3dc057ffe7ij-.js +1 -0
- package/out/_next/static/chunks/3djnlzwj9869o.js +1 -0
- package/out/_next/static/chunks/{2y8i7_nxm4r05.js → 3fuqxjjf8o1v9.js} +5 -5
- package/out/_next/static/chunks/{0z004fn14pbcu.js → 3gt6rzg9qw-an.js} +1 -1
- package/out/_next/static/chunks/{1tgj55b305g4h.js → 3h_05w5j8x538.js} +1 -1
- package/out/_next/static/chunks/{3j9xvdz55bi4p.js → 3hkhd1_k8xohv.js} +33 -33
- package/out/_next/static/chunks/{42ymanq326mo7.js → 3ijcc5tfisfnj.js} +1 -1
- package/out/_next/static/chunks/3j0dbpd9zop3p.js +1 -0
- package/out/_next/static/chunks/{1zkd8v-qka--j.js → 3ju83xk-ca7ma.js} +21 -21
- package/out/_next/static/chunks/3jxhl4apmhbm1.js +13 -0
- package/out/_next/static/chunks/{302qk2fjdrthp.js → 3la99oz_0p0r6.js} +5 -5
- package/out/_next/static/chunks/3n1b34fd5fdrh.js +1 -0
- package/out/_next/static/chunks/{2j120dkh7q3uf.js → 3nq_hq4x3rn3r.js} +1 -1
- 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/{2w99knknr5i8c.js → 3q38kdbzd2nbd.js} +1 -1
- package/out/_next/static/chunks/3q5zl4ks17au2.js +1 -0
- package/out/_next/static/chunks/{2uo6vm7mfgrbf.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/{2q8yg63br2jc9.js → 3u7zj1-jdg781.js} +1 -1
- package/out/_next/static/chunks/{32_c4mbb6j1l6.js → 3wj5dmf6cywz8.js} +22 -22
- package/out/_next/static/chunks/{3oqxl46ukaojj.js → 3wr_oijfsq8lr.js} +11 -11
- package/out/_next/static/chunks/3xu0dh1ikzwj2.js +1 -0
- package/out/_next/static/chunks/3y5tpixt23-fl.js +1 -0
- 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/{0ai0zgbgjqb92.js → 43usshq2nc125.js} +1 -1
- package/out/_next/static/chunks/{0hajwk2yd-rwr.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 +8 -8
- package/out/_not-found/__next._not-found.__PAGE__.txt +7 -7
- package/out/_not-found/__next._tree.txt +1 -1
- package/out/_not-found.html +1 -1
- package/out/_not-found.txt +8 -8
- package/out/index.html +1 -1
- package/out/index.txt +10 -10
- package/package.json +10 -10
- package/out/_next/static/chunks/00fbhtmui-yxg.js +0 -1
- package/out/_next/static/chunks/017pn-pen381_.js +0 -1
- package/out/_next/static/chunks/01vov6inx1zzt.js +0 -1
- package/out/_next/static/chunks/03bd5plut08tg.js +0 -1
- package/out/_next/static/chunks/03dwfqmo73w_z.js +0 -1
- package/out/_next/static/chunks/03sn4419dam-h.js +0 -5
- package/out/_next/static/chunks/05ere0-228syf.js +0 -1
- package/out/_next/static/chunks/05h8u5lrypn5m.js +0 -1
- package/out/_next/static/chunks/05z79zh625ezu.js +0 -1
- package/out/_next/static/chunks/08lvtnv7b1cxp.js +0 -1
- package/out/_next/static/chunks/0_v2luu_qmeid.js +0 -1
- package/out/_next/static/chunks/0boov9mwycanf.js +0 -1
- package/out/_next/static/chunks/0d8x8m2x6ca_m.js +0 -1
- package/out/_next/static/chunks/0dmrdrwtd093b.js +0 -1
- package/out/_next/static/chunks/0e7nlxmneb2j_.js +0 -1
- package/out/_next/static/chunks/0es97pusfxupl.js +0 -1
- package/out/_next/static/chunks/0fxdyvb1w23d1.js +0 -1
- package/out/_next/static/chunks/0fxhc24djjcgq.js +0 -1
- package/out/_next/static/chunks/0hk1wg7h4araz.js +0 -1
- package/out/_next/static/chunks/0j74ipw4fps-n.js +0 -1
- package/out/_next/static/chunks/0kj-vckdn7t5p.js +0 -1
- package/out/_next/static/chunks/0lbs5xdyjuzuo.js +0 -1
- package/out/_next/static/chunks/0mp0jh1gj7290.js +0 -1
- package/out/_next/static/chunks/0ngpoj2g5i4kz.js +0 -1
- package/out/_next/static/chunks/0nhljhguceh66.js +0 -1
- package/out/_next/static/chunks/0p6z73afb9dj2.js +0 -1
- package/out/_next/static/chunks/0p9zfmidzqkps.js +0 -1
- package/out/_next/static/chunks/0sx-6rf3eteqn.js +0 -1
- package/out/_next/static/chunks/0thw099xk3_0p.js +0 -3
- package/out/_next/static/chunks/0u85f0dhb4i8e.js +0 -1
- package/out/_next/static/chunks/0uk7kigzm4vi2.js +0 -31
- package/out/_next/static/chunks/0ulufxnsrou61.js +0 -1
- package/out/_next/static/chunks/0xa9dyg6ezzyd.js +0 -2
- package/out/_next/static/chunks/0xvrfvur0p534.js +0 -1
- package/out/_next/static/chunks/0ydfhk-p6zvm0.js +0 -1
- package/out/_next/static/chunks/0zcsxvcvog9ue.js +0 -1
- package/out/_next/static/chunks/10_5p5-xf2aoo.js +0 -1
- package/out/_next/static/chunks/118qlrzdwpfmo.js +0 -1
- package/out/_next/static/chunks/11km5p4gd0ut4.js +0 -1
- package/out/_next/static/chunks/120rl4l29q9xs.js +0 -1
- package/out/_next/static/chunks/129m5i93ltoym.js +0 -1
- package/out/_next/static/chunks/12n73o884lyyl.js +0 -1
- package/out/_next/static/chunks/133glnfos64oo.js +0 -1
- package/out/_next/static/chunks/175st2ogkg_1o.js +0 -1
- package/out/_next/static/chunks/19rsodtu91ja_.js +0 -1
- package/out/_next/static/chunks/1a2ouhup611bz.js +0 -1
- package/out/_next/static/chunks/1cyq7i39885sl.js +0 -1
- package/out/_next/static/chunks/1d9it6yocgt54.js +0 -1
- package/out/_next/static/chunks/1dp1s1t-y7gal.js +0 -1
- package/out/_next/static/chunks/1dr7gh6xgypl8.js +0 -1
- package/out/_next/static/chunks/1dt30s_sp8415.js +0 -1
- package/out/_next/static/chunks/1f1rek_fxk3of.js +0 -1
- package/out/_next/static/chunks/1f2mna0k5efeq.js +0 -1
- package/out/_next/static/chunks/1gfz3sxwkkg3d.js +0 -1
- package/out/_next/static/chunks/1gr35qeguuws0.js +0 -1
- package/out/_next/static/chunks/1imi0xwi9hd99.js +0 -1
- package/out/_next/static/chunks/1ka5v5zu0cstt.js +0 -1
- package/out/_next/static/chunks/1n9nhz-6azcp3.js +0 -3
- package/out/_next/static/chunks/1ncqwe81t_9_x.js +0 -1
- package/out/_next/static/chunks/1nix_lulkpklo.js +0 -1
- package/out/_next/static/chunks/1ntqovuz2c217.js +0 -1
- package/out/_next/static/chunks/1pgs-98tfkq9_.js +0 -1
- package/out/_next/static/chunks/1q2z0aeopo8t8.js +0 -1
- package/out/_next/static/chunks/1ses023uud001.js +0 -1
- package/out/_next/static/chunks/1t9i20i5-f8ze.js +0 -1
- package/out/_next/static/chunks/1ug4k-1zhr63a.js +0 -1
- package/out/_next/static/chunks/1vrpzlif-z_p0.js +0 -1
- package/out/_next/static/chunks/1vurgl6oz2qey.js +0 -17
- package/out/_next/static/chunks/1w-qc09n9ijtq.js +0 -1
- package/out/_next/static/chunks/1ycqxcht6x54p.js +0 -1
- package/out/_next/static/chunks/1zj4307ugq0qz.js +0 -1
- package/out/_next/static/chunks/1zm52cjrfrq7c.js +0 -1
- package/out/_next/static/chunks/1zp9363yfhpom.js +0 -1
- package/out/_next/static/chunks/2-3hk_db5fpok.js +0 -1
- package/out/_next/static/chunks/2-bv9a_0zgw1f.js +0 -1
- package/out/_next/static/chunks/216uiih3_vdfd.js +0 -1
- package/out/_next/static/chunks/21kfpd_bityxt.js +0 -1
- package/out/_next/static/chunks/24ecas0m9tao7.js +0 -3
- package/out/_next/static/chunks/24pq9210rng3f.js +0 -1
- package/out/_next/static/chunks/26skkagvj1z96.js +0 -1
- package/out/_next/static/chunks/2701xfv_07wz_.js +0 -1
- package/out/_next/static/chunks/271333m8y3k0e.js +0 -1
- package/out/_next/static/chunks/29rkmguzky-bp.js +0 -1
- package/out/_next/static/chunks/2a2oy8ryz2tsk.js +0 -1
- package/out/_next/static/chunks/2apnpj0-fs9ks.js +0 -1
- package/out/_next/static/chunks/2b481pitl4k85.js +0 -1
- package/out/_next/static/chunks/2bettxaqt3d2p.js +0 -1
- package/out/_next/static/chunks/2d2kl_m64j9cb.js +0 -1
- package/out/_next/static/chunks/2droqjmvmgj13.js +0 -1
- package/out/_next/static/chunks/2dxbvwbbgpzoq.js +0 -1
- package/out/_next/static/chunks/2eqbsut829r5l.js +0 -1
- package/out/_next/static/chunks/2f3_mzxjh3gso.js +0 -1
- package/out/_next/static/chunks/2fsde0jwi5qtt.js +0 -1
- package/out/_next/static/chunks/2j2ynchpqh34-.js +0 -1
- package/out/_next/static/chunks/2kj6pzs_wap1v.js +0 -1
- package/out/_next/static/chunks/2lnj9jruy4nrv.js +0 -1
- package/out/_next/static/chunks/2ofwtw6p08sfz.js +0 -1
- package/out/_next/static/chunks/2phl5ta4iim7l.js +0 -12
- package/out/_next/static/chunks/2r5qgieqldcd9.js +0 -1
- package/out/_next/static/chunks/2r7y401cvjc1s.js +0 -1
- package/out/_next/static/chunks/2rmc6ru7mc-kg.js +0 -1
- package/out/_next/static/chunks/2w2k1gveljyb7.js +0 -1
- package/out/_next/static/chunks/2w_ptlw-ad8-9.js +0 -4
- package/out/_next/static/chunks/2ws1s9d52ayv8.js +0 -1
- package/out/_next/static/chunks/2x7enks3ydgai.js +0 -1
- package/out/_next/static/chunks/2ydub0t01728d.js +0 -1
- package/out/_next/static/chunks/3-m_vzabs1uez.js +0 -1
- package/out/_next/static/chunks/3527r3jo5fj3i.js +0 -1
- package/out/_next/static/chunks/355dg8yaa94hr.js +0 -1
- package/out/_next/static/chunks/35ntbr_c-yx44.js +0 -1
- package/out/_next/static/chunks/36enkx1skkv2-.js +0 -4
- package/out/_next/static/chunks/38xdo3cifphut.js +0 -1
- package/out/_next/static/chunks/3beawo-qwuk8k.js +0 -1
- package/out/_next/static/chunks/3cj_6sl9kr3e9.js +0 -1
- package/out/_next/static/chunks/3df_l2we755bb.js +0 -1
- package/out/_next/static/chunks/3eve5y7fpzx2h.js +0 -1
- package/out/_next/static/chunks/3ewgyb4y19w-3.js +0 -1
- package/out/_next/static/chunks/3f3789eh18_oy.js +0 -1
- package/out/_next/static/chunks/3g3-e9m1en45q.js +0 -1
- package/out/_next/static/chunks/3i239y-1hbkm-.js +0 -1
- package/out/_next/static/chunks/3kp8qmhoi24oz.js +0 -1
- package/out/_next/static/chunks/3ksq69yq-40_r.js +0 -1
- package/out/_next/static/chunks/3qye1lytea2i8.js +0 -1
- package/out/_next/static/chunks/3rlp9yr75liz7.js +0 -1
- package/out/_next/static/chunks/3tyo643l62h3m.js +0 -1
- package/out/_next/static/chunks/3tz2tpqa9uvwm.js +0 -1
- package/out/_next/static/chunks/3utpc-fc6_y0f.js +0 -1
- package/out/_next/static/chunks/3v6nxa28rxngq.js +0 -1
- package/out/_next/static/chunks/3vv99btjc-mky.js +0 -1
- package/out/_next/static/chunks/3x02lxdo28u9i.js +0 -1
- package/out/_next/static/chunks/3ydnxyc4rvad_.js +0 -1
- package/out/_next/static/chunks/3ylg4gfetwgxw.js +0 -1
- package/out/_next/static/chunks/3zdtteq-r2fs5.js +0 -62
- package/out/_next/static/chunks/3zkwt0gybqtgm.js +0 -1
- package/out/_next/static/chunks/40etabvml_71y.js +0 -1
- package/out/_next/static/chunks/417jkzz0slv9m.js +0 -1
- package/out/_next/static/chunks/41u2-5jayyajf.js +0 -22
- package/out/_next/static/chunks/42gcpy51w7lk1.js +0 -1
- package/out/_next/static/chunks/44cer242u-f8v.js +0 -1
- package/out/_next/static/chunks/44zi0gl0a6a8w.js +0 -1
- package/out/_next/static/chunks/turbopack-0n2o5_bkskckx.js +0 -1
- /package/out/_next/static/{A1hxMz783bIWo0Q9qqV3L → ThV8NNsoOCsJ6Q9-7H2dV}/_buildManifest.js +0 -0
- /package/out/_next/static/{A1hxMz783bIWo0Q9qqV3L → ThV8NNsoOCsJ6Q9-7H2dV}/_clientMiddlewareManifest.js +0 -0
- /package/out/_next/static/{A1hxMz783bIWo0Q9qqV3L → ThV8NNsoOCsJ6Q9-7H2dV}/_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,5721,47727,e=>{"use strict";var t=e.i(25044);let o="clipPlaneFragmentDeclaration",r=`#ifdef CLIPPLANE
|
|
2
2
|
varying float fClipDistance;
|
|
3
3
|
#endif
|
|
4
4
|
#ifdef CLIPPLANE2
|
|
@@ -16,7 +16,7 @@ varying float fClipDistance5;
|
|
|
16
16
|
#ifdef CLIPPLANE6
|
|
17
17
|
varying float fClipDistance6;
|
|
18
18
|
#endif
|
|
19
|
-
`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["clipPlaneFragmentDeclaration",0,{name:o,shader:r}],
|
|
19
|
+
`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["clipPlaneFragmentDeclaration",0,{name:o,shader:r}],5721);let a="clipPlaneFragment",i=`#if defined(CLIPPLANE) || defined(CLIPPLANE2) || defined(CLIPPLANE3) || defined(CLIPPLANE4) || defined(CLIPPLANE5) || defined(CLIPPLANE6)
|
|
20
20
|
if (false) {}
|
|
21
21
|
#endif
|
|
22
22
|
#ifdef CLIPPLANE
|
|
@@ -43,13 +43,13 @@ else if (fClipDistance5>0.0)
|
|
|
43
43
|
else if (fClipDistance6>0.0)
|
|
44
44
|
{discard;}
|
|
45
45
|
#endif
|
|
46
|
-
`;t.ShaderStore.IncludesShadersStore[a]||(t.ShaderStore.IncludesShadersStore[a]=i),e.s(["clipPlaneFragment",0,{name:a,shader:i}],
|
|
46
|
+
`;t.ShaderStore.IncludesShadersStore[a]||(t.ShaderStore.IncludesShadersStore[a]=i),e.s(["clipPlaneFragment",0,{name:a,shader:i}],47727)},51587,e=>{"use strict";var t=e.i(25044);let o="decalFragmentDeclaration",r=`#ifdef DECAL
|
|
47
47
|
uniform vec4 vDecalInfos;
|
|
48
48
|
#endif
|
|
49
|
-
`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["decalFragmentDeclaration",0,{name:o,shader:r}])},
|
|
49
|
+
`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["decalFragmentDeclaration",0,{name:o,shader:r}])},95530,33152,e=>{"use strict";var t=e.i(25044);let o="depthPrePass",r=`#ifdef DEPTHPREPASS
|
|
50
50
|
gl_FragColor=vec4(0.,0.,0.,1.0);return;
|
|
51
51
|
#endif
|
|
52
|
-
`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["depthPrePass",0,{name:o,shader:r}],
|
|
52
|
+
`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["depthPrePass",0,{name:o,shader:r}],95530);let a="oitFragment",i=`#ifdef ORDER_INDEPENDENT_TRANSPARENCY
|
|
53
53
|
float fragDepth=gl_FragCoord.z;
|
|
54
54
|
#ifdef ORDER_INDEPENDENT_TRANSPARENCY_16BITS
|
|
55
55
|
uint halfFloat=packHalf2x16(vec2(fragDepth));vec2 full=unpackHalf2x16(halfFloat);fragDepth=full.x;
|
|
@@ -74,7 +74,7 @@ if (fragDepth>nearestDepth && fragDepth<furthestDepth) {
|
|
|
74
74
|
#endif
|
|
75
75
|
depth.rg=vec2(-fragDepth,fragDepth);return;}
|
|
76
76
|
#endif
|
|
77
|
-
`;t.ShaderStore.IncludesShadersStore[a]||(t.ShaderStore.IncludesShadersStore[a]=i),e.s(["oitFragment",0,{name:a,shader:i}],
|
|
77
|
+
`;t.ShaderStore.IncludesShadersStore[a]||(t.ShaderStore.IncludesShadersStore[a]=i),e.s(["oitFragment",0,{name:a,shader:i}],33152)},68767,78133,e=>{"use strict";var t=e.i(25044);let o="fogFragmentDeclaration",r=`#ifdef FOG
|
|
78
78
|
#define FOGMODE_NONE 0.
|
|
79
79
|
#define FOGMODE_EXP 1.
|
|
80
80
|
#define FOGMODE_EXP2 2.
|
|
@@ -89,14 +89,14 @@ else if (FOGMODE_EXP2==vFogInfos.x)
|
|
|
89
89
|
{fogCoeff=1.0/pow(E,fogDistance*fogDistance*fogDensity*fogDensity);}
|
|
90
90
|
return clamp(fogCoeff,0.0,1.0);}
|
|
91
91
|
#endif
|
|
92
|
-
`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["fogFragmentDeclaration",0,{name:o,shader:r}],
|
|
92
|
+
`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["fogFragmentDeclaration",0,{name:o,shader:r}],68767);let a="fogFragment",i=`#ifdef FOG
|
|
93
93
|
float fog=CalcFogFactor();
|
|
94
94
|
#ifdef PBR
|
|
95
95
|
fog=toLinearSpace(fog);
|
|
96
96
|
#endif
|
|
97
97
|
color.rgb=mix(vFogColor,color.rgb,fog);
|
|
98
98
|
#endif
|
|
99
|
-
`;t.ShaderStore.IncludesShadersStore[a]||(t.ShaderStore.IncludesShadersStore[a]=i),e.s(["fogFragment",0,{name:a,shader:i}],
|
|
99
|
+
`;t.ShaderStore.IncludesShadersStore[a]||(t.ShaderStore.IncludesShadersStore[a]=i),e.s(["fogFragment",0,{name:a,shader:i}],78133)},31660,e=>{"use strict";var t=e.i(25044);let o="helperFunctions",r=`const float PI=3.1415926535897932384626433832795;const float TWO_PI=6.283185307179586;const float HALF_PI=1.5707963267948966;const float RECIPROCAL_PI=0.3183098861837907;const float RECIPROCAL_PI2=0.15915494309189535;const float RECIPROCAL_PI4=0.07957747154594767;const float HALF_MIN=5.96046448e-08;
|
|
100
100
|
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;
|
|
101
101
|
#define saturate(x) clamp(x,0.0,1.0)
|
|
102
102
|
#define absEps(x) abs(x)+Epsilon
|
|
@@ -214,7 +214,7 @@ float uint2float(uint i) {return uintBitsToFloat(0x3F800000u | (i>>9u))-1.0;}
|
|
|
214
214
|
vec2 plasticSequence(const uint rstate) {return vec2(uint2float(rstate*3242174889u),
|
|
215
215
|
uint2float(rstate*2447445414u));}
|
|
216
216
|
#endif
|
|
217
|
-
`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["helperFunctions",0,{name:o,shader:r}])},
|
|
217
|
+
`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["helperFunctions",0,{name:o,shader:r}])},15607,e=>{"use strict";var t=e.i(25044);let o="imageProcessingDeclaration",r=`#ifdef EXPOSURE
|
|
218
218
|
uniform float exposureLinear;
|
|
219
219
|
#endif
|
|
220
220
|
#ifdef CONTRAST
|
|
@@ -240,7 +240,7 @@ uniform vec4 colorTransformSettings;
|
|
|
240
240
|
#ifdef DITHER
|
|
241
241
|
uniform float ditherIntensity;
|
|
242
242
|
#endif
|
|
243
|
-
`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["imageProcessingDeclaration",0,{name:o,shader:r}])},
|
|
243
|
+
`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["imageProcessingDeclaration",0,{name:o,shader:r}])},79573,e=>{"use strict";var t=e.i(25044);let o="imageProcessingFunctions",r=`#if defined(COLORGRADING) && !defined(COLORGRADING3D)
|
|
244
244
|
/**
|
|
245
245
|
* Polyfill for SAMPLE_TEXTURE_3D,which is unsupported in WebGL.
|
|
246
246
|
* sampler3dSetting.x=textureOffset (0.5/textureSize).
|
|
@@ -328,7 +328,7 @@ float luma=getLuminance(result.rgb);vec2 curveMix=clamp(vec2(luma*3.0-1.5,luma*-
|
|
|
328
328
|
float rand=getRand(gl_FragCoord.xy*vInverseScreenSize);float dither=mix(-ditherIntensity,ditherIntensity,rand);result.rgb=saturate(result.rgb+vec3(dither));
|
|
329
329
|
#endif
|
|
330
330
|
#define CUSTOM_IMAGEPROCESSINGFUNCTIONS_UPDATERESULT_ATEND
|
|
331
|
-
return result;}`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["imageProcessingFunctions",0,{name:o,shader:r}])},
|
|
331
|
+
return result;}`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["imageProcessingFunctions",0,{name:o,shader:r}])},88226,15260,e=>{"use strict";var t=e.i(25044);let o="lightFragmentDeclaration",r=`#ifdef LIGHT{X}
|
|
332
332
|
uniform vec4 vLightData{X};uniform vec4 vLightDiffuse{X};
|
|
333
333
|
#ifdef SPECULARTERM
|
|
334
334
|
uniform vec4 vLightSpecular{X};
|
|
@@ -402,7 +402,7 @@ uniform mat4 textureProjectionMatrix{X};uniform sampler2D projectionLightTexture
|
|
|
402
402
|
uniform vec2 vSliceData{X};uniform vec2 vSliceRanges{X}[CLUSTLIGHT_SLICES];uniform sampler2D lightDataTexture{X};uniform highp sampler2D tileMaskTexture{X};
|
|
403
403
|
#endif
|
|
404
404
|
#endif
|
|
405
|
-
`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["lightFragmentDeclaration",0,{name:o,shader:r}],
|
|
405
|
+
`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["lightFragmentDeclaration",0,{name:o,shader:r}],88226);let a="lightUboDeclaration",i=`#ifdef LIGHT{X}
|
|
406
406
|
uniform Light{X}
|
|
407
407
|
{vec4 vLightData;vec4 vLightDiffuse;vec4 vLightSpecular;
|
|
408
408
|
#ifdef SPOTLIGHT{X}
|
|
@@ -474,13 +474,13 @@ uniform mat4 lightMatrix{X};
|
|
|
474
474
|
#endif
|
|
475
475
|
#endif
|
|
476
476
|
#endif
|
|
477
|
-
`;t.ShaderStore.IncludesShadersStore[a]||(t.ShaderStore.IncludesShadersStore[a]=i),e.s(["lightUboDeclaration",0,{name:a,shader:i}],
|
|
477
|
+
`;t.ShaderStore.IncludesShadersStore[a]||(t.ShaderStore.IncludesShadersStore[a]=i),e.s(["lightUboDeclaration",0,{name:a,shader:i}],15260)},10874,e=>{"use strict";var t=e.i(25044);let o="logDepthDeclaration",r=`#ifdef LOGARITHMICDEPTH
|
|
478
478
|
uniform float logarithmicDepthConstant;varying float vFragmentDepth;
|
|
479
479
|
#endif
|
|
480
|
-
`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["logDepthDeclaration",0,{name:o,shader:r}])},
|
|
480
|
+
`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["logDepthDeclaration",0,{name:o,shader:r}])},28497,e=>{"use strict";var t=e.i(25044);let o="logDepthFragment",r=`#ifdef LOGARITHMICDEPTH
|
|
481
481
|
gl_FragDepthEXT=log2(vFragmentDepth)*logarithmicDepthConstant*0.5;
|
|
482
482
|
#endif
|
|
483
|
-
`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["logDepthFragment",0,{name:o,shader:r}])},
|
|
483
|
+
`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["logDepthFragment",0,{name:o,shader:r}])},31444,e=>{"use strict";var t=e.i(25044);let o="ltcHelperFunctions",r=`vec2 LTCUv( const in vec3 N,const in vec3 V,const in float roughness ) {const float LUTSIZE=64.0;const float LUTSCALE=( LUTSIZE-1.0 )/LUTSIZE;const float LUTBIAS=0.5/LUTSIZE;float dotNV=saturate( dot( N,V ) );vec2 uv=vec2( roughness,sqrt( 1.0-dotNV ) );uv=uv*LUTSCALE+LUTBIAS;return uv;}
|
|
484
484
|
float LTCClippedSphereFormFactor( const in vec3 f ) {float l=length( f );return max( ( l*l+f.z )/( l+1.0 ),0.0 );}
|
|
485
485
|
vec3 LTCEdgeVectorFormFactor( const in vec3 v1,const in vec3 v2 ) {float x=dot( v1,v2 );float y=abs( x );float a=0.8543985+( 0.4965155+0.0145206*y )*y;float b=3.4175940+( 4.1616724+y )*y;float v=a/b;float thetaSintheta=0.0;if( x>0.0 )
|
|
486
486
|
{thetaSintheta=v;}
|
|
@@ -518,17 +518,17 @@ vec3( 0,1, 0 ),
|
|
|
518
518
|
vec3( t1.z,0,t1.w )
|
|
519
519
|
);result.Specular=LTCEvaluateWithEmission( normal,viewDir,position,mInv,rectCoords,texFilteredMap );result.Fresnel=t2;
|
|
520
520
|
#endif
|
|
521
|
-
result.Diffuse=LTCEvaluateWithEmission( normal,viewDir,position,mat3( 1.0 ),rectCoords,texFilteredMap );return result;}`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["ltcHelperFunctions",0,{name:o,shader:r}])},
|
|
521
|
+
result.Diffuse=LTCEvaluateWithEmission( normal,viewDir,position,mat3( 1.0 ),rectCoords,texFilteredMap );return result;}`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["ltcHelperFunctions",0,{name:o,shader:r}])},49185,e=>{"use strict";var t=e.i(25044);let o="mainUVVaryingDeclaration",r=`#ifdef MAINUV{X}
|
|
522
522
|
varying vec2 vMainUV{X};
|
|
523
523
|
#endif
|
|
524
|
-
`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["mainUVVaryingDeclaration",0,{name:o,shader:r}])},
|
|
524
|
+
`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["mainUVVaryingDeclaration",0,{name:o,shader:r}])},4100,e=>{"use strict";var t=e.i(25044);let o="meshUboDeclaration",r=`#ifdef WEBGL2
|
|
525
525
|
uniform mat4 world;uniform float visibility;
|
|
526
526
|
#else
|
|
527
527
|
layout(std140,column_major) uniform;uniform Mesh
|
|
528
528
|
{mat4 world;float visibility;};
|
|
529
529
|
#endif
|
|
530
530
|
#define WORLD_UBO
|
|
531
|
-
`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["meshUboDeclaration",0,{name:o,shader:r}])},
|
|
531
|
+
`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["meshUboDeclaration",0,{name:o,shader:r}])},81402,80667,e=>{"use strict";var t=e.i(25044);let o="prePassDeclaration",r=`#ifdef PREPASS
|
|
532
532
|
#extension GL_EXT_draw_buffers : require
|
|
533
533
|
layout(location=0) out highp vec4 glFragData[{X}];highp vec4 gl_FragColor;
|
|
534
534
|
#ifdef PREPASS_LOCAL_POSITION
|
|
@@ -544,19 +544,19 @@ varying highp float vNormViewDepth;
|
|
|
544
544
|
varying highp vec4 vCurrentPosition;varying highp vec4 vPreviousPosition;
|
|
545
545
|
#endif
|
|
546
546
|
#endif
|
|
547
|
-
`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["prePassDeclaration",0,{name:o,shader:r}],
|
|
547
|
+
`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["prePassDeclaration",0,{name:o,shader:r}],81402);let a="oitDeclaration",i=`#ifdef ORDER_INDEPENDENT_TRANSPARENCY
|
|
548
548
|
#extension GL_EXT_draw_buffers : require
|
|
549
549
|
layout(location=0) out vec2 depth;
|
|
550
550
|
layout(location=1) out vec4 frontColor;layout(location=2) out vec4 backColor;
|
|
551
551
|
#define MAX_DEPTH 99999.0
|
|
552
552
|
highp vec4 gl_FragColor;uniform sampler2D oitDepthSampler;uniform sampler2D oitFrontColorSampler;
|
|
553
553
|
#endif
|
|
554
|
-
`;t.ShaderStore.IncludesShadersStore[a]||(t.ShaderStore.IncludesShadersStore[a]=i),e.s(["oitDeclaration",0,{name:a,shader:i}],
|
|
554
|
+
`;t.ShaderStore.IncludesShadersStore[a]||(t.ShaderStore.IncludesShadersStore[a]=i),e.s(["oitDeclaration",0,{name:a,shader:i}],80667)},77074,e=>{"use strict";var t=e.i(25044);let o="sceneUboDeclaration",r=`layout(std140,column_major) uniform;uniform Scene {mat4 viewProjection;
|
|
555
555
|
#ifdef MULTIVIEW
|
|
556
556
|
mat4 viewProjectionR;
|
|
557
557
|
#endif
|
|
558
558
|
mat4 view;mat4 projection;vec4 vEyePosition;mat4 inverseProjection;};
|
|
559
|
-
`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["sceneUboDeclaration",0,{name:o,shader:r}])},
|
|
559
|
+
`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["sceneUboDeclaration",0,{name:o,shader:r}])},75664,e=>{"use strict";var t=e.i(25044);let o="shadowsFragmentFunctions",r=`#ifdef SHADOWS
|
|
560
560
|
#if defined(WEBGL2) || defined(WEBGPU) || defined(NATIVE)
|
|
561
561
|
#define TEXTUREFUNC(s,c,l) texture2DLodEXT(s,c,l)
|
|
562
562
|
#else
|
|
@@ -899,7 +899,7 @@ float computeShadowWithCSMPCSS64(float layer,vec4 vPositionFromLight,float depth
|
|
|
899
899
|
{return computeShadowWithCSMPCSS(layer,vPositionFromLight,depthMetric,depthSampler,shadowSampler,shadowMapSizeInverse,lightSizeUV,darkness,frustumEdgeFalloff,32,64,PoissonSamplers64,lightSizeUVCorrection,depthCorrection,penumbraDarkness);}
|
|
900
900
|
#endif
|
|
901
901
|
#endif
|
|
902
|
-
`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["shadowsFragmentFunctions",0,{name:o,shader:r}])},
|
|
902
|
+
`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["shadowsFragmentFunctions",0,{name:o,shader:r}])},62948,e=>{"use strict";var t=e.i(25044);let o="textureRepetitionFunctions",r=`#if TEXTURE_REPETITION_MODE>0
|
|
903
903
|
vec4 _texRepHash4(vec2 p) {return fract(sin(vec4(
|
|
904
904
|
1.0+dot(p,vec2(37.0,17.0)),
|
|
905
905
|
2.0+dot(p,vec2(11.0,47.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,27717,e=>{"use strict";var i=e.i(25044),n=e.i(81402),a=e.i(80667),r=e.i(51587);let f="pbrFragmentDeclaration",o=`uniform vec4 vEyePosition;uniform vec3 vReflectionColor;uniform vec4 vAlbedoColor;uniform float baseWeight;uniform float baseDiffuseRoughness;uniform vec4 vLightingIntensity;uniform vec4 vReflectivityColor;uniform vec4 vMetallicReflectanceFactors;uniform vec3 vEmissiveColor;uniform float visibility;uniform vec3 vAmbientColor;
|
|
2
2
|
#ifdef ALBEDO
|
|
3
3
|
uniform vec2 vAlbedoInfos;
|
|
4
4
|
#endif
|
|
@@ -149,7 +149,7 @@ uniform vec3 vSphericalX;uniform vec3 vSphericalY;uniform vec3 vSphericalZ;unifo
|
|
|
149
149
|
uniform vec4 vTextureRepetitionHexTilingParams;
|
|
150
150
|
#endif
|
|
151
151
|
#define ADDITIONAL_FRAGMENT_DECLARATION
|
|
152
|
-
`;i.ShaderStore.IncludesShadersStore[f]||(i.ShaderStore.IncludesShadersStore[f]=o);var t=e.i(
|
|
152
|
+
`;i.ShaderStore.IncludesShadersStore[f]||(i.ShaderStore.IncludesShadersStore[f]=o);var t=e.i(77074),c=e.i(4100),l=e.i(83089),d=e.i(49185),s=e.i(63807),E=e.i(88226),R=e.i(15260),S=e.i(95804);let C="samplerFragmentAlternateDeclaration",u=`#ifdef _DEFINENAME_
|
|
153
153
|
#if _DEFINENAME_DIRECTUV==1
|
|
154
154
|
#define v_VARYINGNAME_UV vMainUV1
|
|
155
155
|
#elif _DEFINENAME_DIRECTUV==2
|
|
@@ -166,7 +166,7 @@ uniform vec4 vTextureRepetitionHexTilingParams;
|
|
|
166
166
|
varying vec2 v_VARYINGNAME_UV;
|
|
167
167
|
#endif
|
|
168
168
|
#endif
|
|
169
|
-
`;i.ShaderStore.IncludesShadersStore[C]||(i.ShaderStore.IncludesShadersStore[C]=u);var A=e.i(
|
|
169
|
+
`;i.ShaderStore.IncludesShadersStore[C]||(i.ShaderStore.IncludesShadersStore[C]=u);var A=e.i(20675);let I="pbrFragmentSamplersDeclaration",m=`#include<samplerFragmentDeclaration>(_DEFINENAME_,ALBEDO,_VARYINGNAME_,Albedo,_SAMPLERNAME_,albedo)
|
|
170
170
|
#include<samplerFragmentDeclaration>(_DEFINENAME_,BASE_WEIGHT,_VARYINGNAME_,BaseWeight,_SAMPLERNAME_,baseWeight)
|
|
171
171
|
#include<samplerFragmentDeclaration>(_DEFINENAME_,BASE_DIFFUSE_ROUGHNESS,_VARYINGNAME_,BaseDiffuseRoughness,_SAMPLERNAME_,baseDiffuseRoughness)
|
|
172
172
|
#include<samplerFragmentDeclaration>(_DEFINENAME_,AMBIENT,_VARYINGNAME_,Ambient,_SAMPLERNAME_,ambient)
|
|
@@ -233,7 +233,7 @@ uniform sampler2D refractionSamplerLow;uniform sampler2D refractionSamplerHigh;
|
|
|
233
233
|
#ifdef IBL_CDF_FILTERING
|
|
234
234
|
uniform sampler2D icdfSampler;
|
|
235
235
|
#endif
|
|
236
|
-
`;i.ShaderStore.IncludesShadersStore[I]||(i.ShaderStore.IncludesShadersStore[I]=m);var v=e.i(
|
|
236
|
+
`;i.ShaderStore.IncludesShadersStore[I]||(i.ShaderStore.IncludesShadersStore[I]=m);var v=e.i(15607),T=e.i(5721),N=e.i(10874),O=e.i(68767),p=e.i(62948),L=e.i(31660),_=e.i(25176),D=e.i(72317),M=e.i(7750),h=e.i(79573),F=e.i(75664),g=e.i(8823),P=e.i(31444),U=e.i(44239),b=e.i(34464),y=e.i(16300),B=e.i(32181),G=e.i(50154),V=e.i(18054),H=e.i(92655),x=e.i(36435),X=e.i(12075),W=e.i(90256);let Y="pbrBlockAlbedoOpacity",k=`struct albedoOpacityOutParams
|
|
237
237
|
{vec3 surfaceAlbedo;float alpha;};
|
|
238
238
|
#define pbr_inline
|
|
239
239
|
albedoOpacityOutParams albedoOpacityBlock(
|
|
@@ -1679,7 +1679,7 @@ outParams.refractionIrradiance=refractionIrradiance.rgb;
|
|
|
1679
1679
|
#endif
|
|
1680
1680
|
return outParams;}
|
|
1681
1681
|
#endif
|
|
1682
|
-
`;i.ShaderStore.IncludesShadersStore[et]||(i.ShaderStore.IncludesShadersStore[et]=ec);var el=e.i(
|
|
1682
|
+
`;i.ShaderStore.IncludesShadersStore[et]||(i.ShaderStore.IncludesShadersStore[et]=ec);var el=e.i(7673);let ed="pbrBlockReflectance0",es=`float reflectanceF0=reflectivityOut.reflectanceF0;vec3 specularEnvironmentR0=reflectivityOut.colorReflectanceF0;vec3 specularEnvironmentR90=reflectivityOut.colorReflectanceF90;
|
|
1683
1683
|
#ifdef ALPHAFRESNEL
|
|
1684
1684
|
float reflectance90=fresnelGrazingReflectance(reflectanceF0);specularEnvironmentR90=specularEnvironmentR90*reflectance90;
|
|
1685
1685
|
#endif
|
|
@@ -1796,7 +1796,7 @@ result.sheen+=info.sheen;
|
|
|
1796
1796
|
batchOffset+=CLUSTLIGHT_BATCH;}
|
|
1797
1797
|
return result;}
|
|
1798
1798
|
#endif
|
|
1799
|
-
`;i.ShaderStore.IncludesShadersStore[eE]||(i.ShaderStore.IncludesShadersStore[eE]=eR);var eS=e.i(
|
|
1799
|
+
`;i.ShaderStore.IncludesShadersStore[eE]||(i.ShaderStore.IncludesShadersStore[eE]=eR);var eS=e.i(47727),eC=e.i(8734),eu=e.i(78948);let eA="pbrBlockNormalFinal",eI=`#if defined(FORCENORMALFORWARD) && defined(NORMAL)
|
|
1800
1800
|
vec3 faceNormal=normalize(cross(dFdx(vPositionW),dFdy(vPositionW)))*vEyePosition.w;
|
|
1801
1801
|
#if defined(TWOSIDEDLIGHTING)
|
|
1802
1802
|
faceNormal=gl_FrontFacing ? faceNormal : -faceNormal;
|
|
@@ -1810,7 +1810,7 @@ normalW=gl_FrontFacing ? -normalW : normalW;
|
|
|
1810
1810
|
normalW=gl_FrontFacing ? normalW : -normalW;
|
|
1811
1811
|
#endif
|
|
1812
1812
|
#endif
|
|
1813
|
-
`;i.ShaderStore.IncludesShadersStore[eA]||(i.ShaderStore.IncludesShadersStore[eA]=eI);var em=e.i(
|
|
1813
|
+
`;i.ShaderStore.IncludesShadersStore[eA]||(i.ShaderStore.IncludesShadersStore[eA]=eI);var em=e.i(95530);let ev="pbrBlockLightmapInit",eT=`#ifdef LIGHTMAP
|
|
1814
1814
|
vec4 lightmapColor=TEXRD(lightmapSampler,vLightmapUV+uvOffset);
|
|
1815
1815
|
#ifdef RGBDLIGHTMAP
|
|
1816
1816
|
lightmapColor.rgb=fromRGBD(lightmapColor);
|
|
@@ -1891,7 +1891,7 @@ float aggShadow=0.;float numLights=0.;
|
|
|
1891
1891
|
#if defined(CLEARCOAT) && defined(CLEARCOAT_TINT)
|
|
1892
1892
|
vec3 absorption=vec3(0.);
|
|
1893
1893
|
#endif
|
|
1894
|
-
`;i.ShaderStore.IncludesShadersStore[e_]||(i.ShaderStore.IncludesShadersStore[e_]=eD);var eM=e.i(
|
|
1894
|
+
`;i.ShaderStore.IncludesShadersStore[e_]||(i.ShaderStore.IncludesShadersStore[e_]=eD);var eM=e.i(27960);let eh="pbrBlockFinalLitComponents",eF=`aggShadow=aggShadow/numLights;
|
|
1895
1895
|
#if defined(ENVIRONMENTBRDF)
|
|
1896
1896
|
#ifdef MS_BRDF_ENERGY_CONSERVATION
|
|
1897
1897
|
vec3 baseSpecularEnergyConservationFactor=getEnergyConservationFactor(vec3(reflectanceF0),environmentBrdf);vec3 coloredEnergyConservationFactor=getEnergyConservationFactor(clearcoatOut.specularEnvironmentR0,environmentBrdf);
|
|
@@ -2063,7 +2063,7 @@ finalColor.rgb+=lightmapColor.rgb;
|
|
|
2063
2063
|
finalColor.rgb+=finalEmissive;
|
|
2064
2064
|
#define CUSTOM_FRAGMENT_BEFORE_FOG
|
|
2065
2065
|
finalColor=max(finalColor,0.0);
|
|
2066
|
-
`;i.ShaderStore.IncludesShadersStore[eU]||(i.ShaderStore.IncludesShadersStore[eU]=eb);var ey=e.i(
|
|
2066
|
+
`;i.ShaderStore.IncludesShadersStore[eU]||(i.ShaderStore.IncludesShadersStore[eU]=eb);var ey=e.i(28497),eB=e.i(78133),eG=e.i(46456);let eV="pbrBlockPrePass",eH=`#if SCENE_MRT_COUNT>0
|
|
2067
2067
|
float writeGeometryInfo=finalColor.a>ALPHATESTVALUE ? 1.0 : 0.0;
|
|
2068
2068
|
#ifdef PREPASS_POSITION
|
|
2069
2069
|
gl_FragData[PREPASS_POSITION_INDEX]=vec4(vPositionW,writeGeometryInfo);
|
|
@@ -2145,7 +2145,7 @@ gl_FragData[PREPASS_REFLECTIVITY_INDEX]=vec4( 0.0,0.0,0.0,1.0 )*writeGeometryInf
|
|
|
2145
2145
|
#endif
|
|
2146
2146
|
#endif
|
|
2147
2147
|
#endif
|
|
2148
|
-
`;i.ShaderStore.IncludesShadersStore[eV]||(i.ShaderStore.IncludesShadersStore[eV]=eH);var ex=e.i(
|
|
2148
|
+
`;i.ShaderStore.IncludesShadersStore[eV]||(i.ShaderStore.IncludesShadersStore[eV]=eH);var ex=e.i(33152),eX=e.i(37897);let eW="pbrPixelShader",eY=`#define PBR_FRAGMENT_SHADER
|
|
2149
2149
|
#define CUSTOM_FRAGMENT_EXTENSION
|
|
2150
2150
|
#if defined(BUMP) || !defined(NORMAL) || defined(FORCENORMALFORWARD) || defined(SPECULARAA) || defined(CLEARCOAT_BUMP) || defined(ANISOTROPIC)
|
|
2151
2151
|
#extension GL_OES_standard_derivatives : enable
|
|
@@ -2709,4 +2709,4 @@ if (fragDepth==nearestDepth) {frontColor.rgb+=finalColor.rgb*finalColor.a*alphaM
|
|
|
2709
2709
|
#include<pbrDebug>
|
|
2710
2710
|
#define CUSTOM_FRAGMENT_MAIN_END
|
|
2711
2711
|
}
|
|
2712
|
-
`;for(let e of(i.ShaderStore.ShadersStore[eW]||(i.ShaderStore.ShadersStore[eW]=eY),[n.prePassDeclaration,a.oitDeclaration,r.decalFragmentDeclaration,{name:f,shader:o},t.sceneUboDeclaration,c.meshUboDeclaration,l.pbrUboDeclaration,d.mainUVVaryingDeclaration,s.pbrFragmentExtraDeclaration,E.lightFragmentDeclaration,R.lightUboDeclaration,S.samplerFragmentDeclaration,{name:C,shader:u},A.pbrFragmentReflectionDeclaration,{name:I,shader:m},v.imageProcessingDeclaration,T.clipPlaneFragmentDeclaration,N.logDepthDeclaration,O.fogFragmentDeclaration,p.textureRepetitionFunctions,L.helperFunctions,_.subSurfaceScatteringFunctions,D.importanceSampling,M.pbrHelperFunctions,h.imageProcessingFunctions,F.shadowsFragmentFunctions,g.harmonicsFunctions,P.ltcHelperFunctions,U.pbrDirectLightingSetupFunctions,b.pbrDirectLightingFalloffFunctions,y.pbrBRDFFunctions,B.hdrFilteringFunctions,G.pbrDirectLightingFunctions,V.pbrIBLFunctions,H.bumpFragmentMainFunctions,x.bumpFragmentFunctions,X.reflectionFunction,W.decalFragment,{name:Y,shader:k},{name:w,shader:K},{name:z,shader:Z},{name:q,shader:J},{name:j,shader:Q},{name:$,shader:ee},{name:ei,shader:en},{name:ea,shader:er},{name:ef,shader:eo},{name:et,shader:ec},el.clusteredLightingFunctions,{name:ed,shader:es},{name:eE,shader:eR},eS.clipPlaneFragment,eC.pbrBlockNormalGeometric,eu.bumpFragment,{name:eA,shader:eI},em.depthPrePass,{name:ev,shader:eT},{name:eN,shader:eO},{name:ep,shader:eL},{name:e_,shader:eD},eM.lightFragment,{name:eh,shader:eF},{name:eg,shader:eP},{name:eU,shader:eb},ey.logDepthFragment,eB.fogFragment,eG.pbrBlockImageProcessing,{name:eV,shader:eH},ex.oitFragment,eX.pbrDebug]))i.ShaderStore.IncludesShadersStore[e.name]||(i.ShaderStore.IncludesShadersStore[e.name]=e.shader);e.s(["pbrPixelShader",0,{name:eW,shader:eY}],
|
|
2712
|
+
`;for(let e of(i.ShaderStore.ShadersStore[eW]||(i.ShaderStore.ShadersStore[eW]=eY),[n.prePassDeclaration,a.oitDeclaration,r.decalFragmentDeclaration,{name:f,shader:o},t.sceneUboDeclaration,c.meshUboDeclaration,l.pbrUboDeclaration,d.mainUVVaryingDeclaration,s.pbrFragmentExtraDeclaration,E.lightFragmentDeclaration,R.lightUboDeclaration,S.samplerFragmentDeclaration,{name:C,shader:u},A.pbrFragmentReflectionDeclaration,{name:I,shader:m},v.imageProcessingDeclaration,T.clipPlaneFragmentDeclaration,N.logDepthDeclaration,O.fogFragmentDeclaration,p.textureRepetitionFunctions,L.helperFunctions,_.subSurfaceScatteringFunctions,D.importanceSampling,M.pbrHelperFunctions,h.imageProcessingFunctions,F.shadowsFragmentFunctions,g.harmonicsFunctions,P.ltcHelperFunctions,U.pbrDirectLightingSetupFunctions,b.pbrDirectLightingFalloffFunctions,y.pbrBRDFFunctions,B.hdrFilteringFunctions,G.pbrDirectLightingFunctions,V.pbrIBLFunctions,H.bumpFragmentMainFunctions,x.bumpFragmentFunctions,X.reflectionFunction,W.decalFragment,{name:Y,shader:k},{name:w,shader:K},{name:z,shader:Z},{name:q,shader:J},{name:j,shader:Q},{name:$,shader:ee},{name:ei,shader:en},{name:ea,shader:er},{name:ef,shader:eo},{name:et,shader:ec},el.clusteredLightingFunctions,{name:ed,shader:es},{name:eE,shader:eR},eS.clipPlaneFragment,eC.pbrBlockNormalGeometric,eu.bumpFragment,{name:eA,shader:eI},em.depthPrePass,{name:ev,shader:eT},{name:eN,shader:eO},{name:ep,shader:eL},{name:e_,shader:eD},eM.lightFragment,{name:eh,shader:eF},{name:eg,shader:eP},{name:eU,shader:eb},ey.logDepthFragment,eB.fogFragment,eG.pbrBlockImageProcessing,{name:eV,shader:eH},ex.oitFragment,eX.pbrDebug]))i.ShaderStore.IncludesShadersStore[e.name]||(i.ShaderStore.IncludesShadersStore[e.name]=e.shader);e.s(["pbrPixelShader",0,{name:eW,shader:eY}],27717)}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,58536,e=>{"use strict";var t,r,s,a,o,i,n=e.i(8697);class c{constructor(e,t){if(this.data=e,this.isInvalid=!1,!c.IsValid(e)){this.isInvalid=!0,n.Logger.Error("texture missing KTX identifier");return}const r=Uint32Array.BYTES_PER_ELEMENT,s=new DataView(this.data.buffer,this.data.byteOffset+12,13*r),a=0x4030201===s.getUint32(0,!0);if(this.glType=s.getUint32(+r,a),this.glTypeSize=s.getUint32(2*r,a),this.glFormat=s.getUint32(3*r,a),this.glInternalFormat=s.getUint32(4*r,a),this.glBaseInternalFormat=s.getUint32(5*r,a),this.pixelWidth=s.getUint32(6*r,a),this.pixelHeight=s.getUint32(7*r,a),this.pixelDepth=s.getUint32(8*r,a),this.numberOfArrayElements=s.getUint32(9*r,a),this.numberOfFaces=s.getUint32(10*r,a),this.numberOfMipmapLevels=s.getUint32(11*r,a),this.bytesOfKeyValueData=s.getUint32(12*r,a),0!==this.glType){n.Logger.Error("only compressed formats currently supported"),this.isInvalid=!0;return}if(this.numberOfMipmapLevels=Math.max(1,this.numberOfMipmapLevels),0===this.pixelHeight||0!==this.pixelDepth){n.Logger.Error("only 2D textures currently supported"),this.isInvalid=!0;return}if(0!==this.numberOfArrayElements){n.Logger.Error("texture arrays not currently supported"),this.isInvalid=!0;return}if(this.numberOfFaces!==t){n.Logger.Error("number of faces expected"+t+", but found "+this.numberOfFaces),this.isInvalid=!0;return}this.loadType=c.COMPRESSED_2D}uploadLevels(e,t){switch(this.loadType){case c.COMPRESSED_2D:this._upload2DCompressedLevels(e,t);case c.TEX_2D:case c.COMPRESSED_3D:case c.TEX_3D:}}_upload2DCompressedLevels(e,t){let r=c.HEADER_LEN+this.bytesOfKeyValueData,s=this.pixelWidth,a=this.pixelHeight,o=t?this.numberOfMipmapLevels:1;for(let t=0;t<o;t++){let o=new Int32Array(this.data.buffer,this.data.byteOffset+r,1)[0];r+=4;for(let i=0;i<this.numberOfFaces;i++){let n=new Uint8Array(this.data.buffer,this.data.byteOffset+r,o);e.getEngine()._uploadCompressedDataToTextureDirectly(e,e.format,s,a,n,i,t),r+=o,r+=3-(o+3)%4}s=Math.max(1,.5*s),a=Math.max(1,.5*a)}}static IsValid(e){if(e.byteLength>=12){let t=new Uint8Array(e.buffer,e.byteOffset,12);if(171===t[0]&&75===t[1]&&84===t[2]&&88===t[3]&&32===t[4]&&49===t[5]&&49===t[6]&&187===t[7]&&13===t[8]&&10===t[9]&&26===t[10]&&10===t[11])return!0}return!1}}c.HEADER_LEN=64,c.COMPRESSED_2D=0,c.COMPRESSED_3D=1,c.TEX_2D=2,c.TEX_3D=3;var d=e.i(54616),T=e.i(17814);function l(e,t){let r=t?.jsDecoderModule||KTX2DECODER;e&&(e.wasmBaseUrl&&(r.Transcoder.WasmBaseUrl=e.wasmBaseUrl),e.wasmUASTCToASTC&&(r.LiteTranscoder_UASTC_ASTC.WasmModuleURL=e.wasmUASTCToASTC),e.wasmUASTCToBC7&&(r.LiteTranscoder_UASTC_BC7.WasmModuleURL=e.wasmUASTCToBC7),e.wasmUASTCToRGBA_UNORM&&(r.LiteTranscoder_UASTC_RGBA_UNORM.WasmModuleURL=e.wasmUASTCToRGBA_UNORM),e.wasmUASTCToRGBA_SRGB&&(r.LiteTranscoder_UASTC_RGBA_SRGB.WasmModuleURL=e.wasmUASTCToRGBA_SRGB),e.wasmUASTCToR8_UNORM&&(r.LiteTranscoder_UASTC_R8_UNORM.WasmModuleURL=e.wasmUASTCToR8_UNORM),e.wasmUASTCToRG8_UNORM&&(r.LiteTranscoder_UASTC_RG8_UNORM.WasmModuleURL=e.wasmUASTCToRG8_UNORM),e.jsMSCTranscoder&&(r.MSCTranscoder.JSModuleURL=e.jsMSCTranscoder),e.wasmMSCTranscoder&&(r.MSCTranscoder.WasmModuleURL=e.wasmMSCTranscoder),e.wasmZSTDDecoder&&(r.ZSTDDecoder.WasmModuleURL=e.wasmZSTDDecoder)),t&&(t.wasmUASTCToASTC&&(r.LiteTranscoder_UASTC_ASTC.WasmBinary=t.wasmUASTCToASTC),t.wasmUASTCToBC7&&(r.LiteTranscoder_UASTC_BC7.WasmBinary=t.wasmUASTCToBC7),t.wasmUASTCToRGBA_UNORM&&(r.LiteTranscoder_UASTC_RGBA_UNORM.WasmBinary=t.wasmUASTCToRGBA_UNORM),t.wasmUASTCToRGBA_SRGB&&(r.LiteTranscoder_UASTC_RGBA_SRGB.WasmBinary=t.wasmUASTCToRGBA_SRGB),t.wasmUASTCToR8_UNORM&&(r.LiteTranscoder_UASTC_R8_UNORM.WasmBinary=t.wasmUASTCToR8_UNORM),t.wasmUASTCToRG8_UNORM&&(r.LiteTranscoder_UASTC_RG8_UNORM.WasmBinary=t.wasmUASTCToRG8_UNORM),t.jsMSCTranscoder&&(r.MSCTranscoder.JSModule=t.jsMSCTranscoder),t.wasmMSCTranscoder&&(r.MSCTranscoder.WasmBinary=t.wasmMSCTranscoder),t.wasmZSTDDecoder&&(r.ZSTDDecoder.WasmBinary=t.wasmZSTDDecoder))}function _(e){let t;void 0===e&&"u">typeof KTX2DECODER&&(e=KTX2DECODER),onmessage=r=>{if(r.data)switch(r.data.action){case"init":{let s=r.data.urls;s&&(s.jsDecoderModule&&void 0===e&&(importScripts(s.jsDecoderModule),e=KTX2DECODER),l(s)),r.data.wasmBinaries&&l(void 0,{...r.data.wasmBinaries,jsDecoderModule:e}),t=new e.KTX2Decoder,postMessage({action:"init"});break}case"setDefaultDecoderOptions":e.KTX2Decoder.DefaultDecoderOptions=r.data.options;break;case"decode":t.decode(r.data.data,r.data.caps,r.data.options).then(e=>{let t=[];for(let r=0;r<e.mipmaps.length;++r){let s=e.mipmaps[r];s&&s.data&&t.push(s.data.buffer)}postMessage({action:"decoded",success:!0,decodedData:e},t)}).catch(e=>{postMessage({action:"decoded",success:!1,msg:e})})}}}async function R(e,t,r){return await new Promise((s,a)=>{let o=t=>{e.removeEventListener("error",o),e.removeEventListener("message",i),a(t)},i=t=>{"init"===t.data.action&&(e.removeEventListener("error",o),e.removeEventListener("message",i),s(e))};e.addEventListener("error",o),e.addEventListener("message",i),e.postMessage({action:"init",urls:r,wasmBinaries:t})})}(t=a||(a={}))[t.ETC1S=0]="ETC1S",t[t.UASTC4x4=1]="UASTC4x4",t[t.RGBA32=2]="RGBA32",(r=o||(o={}))[r.ASTC_4X4_RGBA=0]="ASTC_4X4_RGBA",r[r.ASTC_4x4_RGBA=0]="ASTC_4x4_RGBA",r[r.BC7_RGBA=1]="BC7_RGBA",r[r.BC3_RGBA=2]="BC3_RGBA",r[r.BC1_RGB=3]="BC1_RGB",r[r.PVRTC1_4_RGBA=4]="PVRTC1_4_RGBA",r[r.PVRTC1_4_RGB=5]="PVRTC1_4_RGB",r[r.ETC2_RGBA=6]="ETC2_RGBA",r[r.ETC1_RGB=7]="ETC1_RGB",r[r.RGBA32=8]="RGBA32",r[r.R8=9]="R8",r[r.RG8=10]="RG8",(s=i||(i={}))[s.COMPRESSED_RGBA_BPTC_UNORM_EXT=36492]="COMPRESSED_RGBA_BPTC_UNORM_EXT",s[s.COMPRESSED_RGBA_ASTC_4X4_KHR=37808]="COMPRESSED_RGBA_ASTC_4X4_KHR",s[s.COMPRESSED_RGB_S3TC_DXT1_EXT=33776]="COMPRESSED_RGB_S3TC_DXT1_EXT",s[s.COMPRESSED_RGBA_S3TC_DXT5_EXT=33779]="COMPRESSED_RGBA_S3TC_DXT5_EXT",s[s.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG=35842]="COMPRESSED_RGBA_PVRTC_4BPPV1_IMG",s[s.COMPRESSED_RGB_PVRTC_4BPPV1_IMG=35840]="COMPRESSED_RGB_PVRTC_4BPPV1_IMG",s[s.COMPRESSED_RGBA8_ETC2_EAC=37496]="COMPRESSED_RGBA8_ETC2_EAC",s[s.COMPRESSED_RGB8_ETC2=37492]="COMPRESSED_RGB8_ETC2",s[s.COMPRESSED_RGB_ETC1_WEBGL=36196]="COMPRESSED_RGB_ETC1_WEBGL",s[s.RGBA8Format=32856]="RGBA8Format",s[s.R8Format=33321]="R8Format",s[s.RG8Format=33323]="RG8Format";class C{static GetDefaultNumWorkers(){return"object"==typeof navigator&&navigator.hardwareConcurrency?Math.min(Math.floor(.5*navigator.hardwareConcurrency),4):1}static _Initialize(e){if(C._WorkerPoolPromise||C._DecoderModulePromise)return;let t={wasmBaseUrl:T.Tools.ScriptBaseUrl,jsDecoderModule:T.Tools.GetBabylonScriptURL(this.URLConfig.jsDecoderModule,!0),wasmUASTCToASTC:T.Tools.GetBabylonScriptURL(this.URLConfig.wasmUASTCToASTC,!0),wasmUASTCToBC7:T.Tools.GetBabylonScriptURL(this.URLConfig.wasmUASTCToBC7,!0),wasmUASTCToRGBA_UNORM:T.Tools.GetBabylonScriptURL(this.URLConfig.wasmUASTCToRGBA_UNORM,!0),wasmUASTCToRGBA_SRGB:T.Tools.GetBabylonScriptURL(this.URLConfig.wasmUASTCToRGBA_SRGB,!0),wasmUASTCToR8_UNORM:T.Tools.GetBabylonScriptURL(this.URLConfig.wasmUASTCToR8_UNORM,!0),wasmUASTCToRG8_UNORM:T.Tools.GetBabylonScriptURL(this.URLConfig.wasmUASTCToRG8_UNORM,!0),jsMSCTranscoder:T.Tools.GetBabylonScriptURL(this.URLConfig.jsMSCTranscoder,!0),wasmMSCTranscoder:T.Tools.GetBabylonScriptURL(this.URLConfig.wasmMSCTranscoder,!0),wasmZSTDDecoder:T.Tools.GetBabylonScriptURL(this.URLConfig.wasmZSTDDecoder,!0)};e&&"function"==typeof Worker&&"u">typeof URL?C._WorkerPoolPromise=new Promise(r=>{let s=`${l}(${_})()`,a=URL.createObjectURL(new Blob([s],{type:"application/javascript"}));r(new d.AutoReleaseWorkerPool(e,async()=>await R(new Worker(a),void 0,t)))}):void 0===C._KTX2DecoderModule?C._DecoderModulePromise=T.Tools.LoadBabylonScriptAsync(t.jsDecoderModule).then(()=>(C._KTX2DecoderModule=KTX2DECODER,C._KTX2DecoderModule.MSCTranscoder.UseFromWorkerThread=!1,C._KTX2DecoderModule.WASMMemoryManager.LoadBinariesFromCurrentThread=!0,l(t,C._KTX2DecoderModule),new C._KTX2DecoderModule.KTX2Decoder)):(C._KTX2DecoderModule.MSCTranscoder.UseFromWorkerThread=!1,C._KTX2DecoderModule.WASMMemoryManager.LoadBinariesFromCurrentThread=!0,C._DecoderModulePromise=Promise.resolve(new C._KTX2DecoderModule.KTX2Decoder))}constructor(e,t=C.DefaultNumWorkers){this._engine=e;const r="object"==typeof t&&t.workerPool||C.WorkerPool;if(r)C._WorkerPoolPromise=Promise.resolve(r);else{"object"==typeof t?C._KTX2DecoderModule=t?.binariesAndModulesContainer?.jsDecoderModule:"u">typeof KTX2DECODER&&(C._KTX2DecoderModule=KTX2DECODER);const e="number"==typeof t?t:t.numWorkers??C.DefaultNumWorkers;C._Initialize(e)}}async _uploadAsync(e,t,r){let s=await this._decodeAsync(e,r);this._createTexture(s,t,r)}async _decodeAsync(e,t){let r=this._engine.getCaps(),s={astc:!!r.astc,bptc:!!r.bptc,s3tc:!!r.s3tc,pvrtc:!!r.pvrtc,etc2:!!r.etc2,etc1:!!r.etc1};if(C._WorkerPoolPromise){let r=await C._WorkerPoolPromise;return await new Promise((a,o)=>{r.push((r,i)=>{let n=e=>{r.removeEventListener("error",n),r.removeEventListener("message",c),o(e),i()},c=e=>{"decoded"===e.data.action&&(r.removeEventListener("error",n),r.removeEventListener("message",c),e.data.success?a(e.data.decodedData):o({message:e.data.msg}),i())};r.addEventListener("error",n),r.addEventListener("message",c),r.postMessage({action:"setDefaultDecoderOptions",options:C.DefaultDecoderOptions._getKTX2DecoderOptions()});let d=new Uint8Array(e.byteLength);d.set(new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),r.postMessage({action:"decode",data:d,caps:s,options:t},[d.buffer])})})}if(C._DecoderModulePromise){let s=await C._DecoderModulePromise;return C.DefaultDecoderOptions.isDirty&&(C._KTX2DecoderModule.KTX2Decoder.DefaultDecoderOptions=C.DefaultDecoderOptions._getKTX2DecoderOptions()),await new Promise((a,o)=>{s.decode(e,r,t).then(e=>{a(e)}).catch(e=>{o({message:e})})})}throw Error("KTX2 decoder module is not available")}_createTexture(e,t,r){if((e.layerCount??1)>1)throw Error("KTX2 container - array textures are not supported by this texture loader.");this._engine._bindTextureDirectly(3553,t),r&&(r.transcodedFormat=e.transcodedFormat,r.isInGammaSpace=e.isInGammaSpace,r.hasAlpha=e.hasAlpha,r.transcoderName=e.transcoderName);let s=!0;switch(e.transcodedFormat){case 32856:t.type=0,t.format=5;break;case 33321:t.type=0,t.format=6;break;case 33323:t.type=0,t.format=7;break;default:t.format=e.transcodedFormat,s=!1}if(t._gammaSpace=e.isInGammaSpace,t.generateMipMaps=e.mipmaps.length>1,t.width=e.mipmaps[0].width,t.height=e.mipmaps[0].height,e.errors)throw Error("KTX2 container - could not transcode the data. "+e.errors);for(let r=0;r<e.mipmaps.length;++r){let a=e.mipmaps[r];if(!a||!a.data)throw Error("KTX2 container - could not transcode one of the image");s?(t.width=a.width,t.height=a.height,this._engine._uploadDataToTextureDirectly(t,a.data,0,r,void 0,!0)):this._engine._uploadCompressedDataToTextureDirectly(t,e.transcodedFormat,a.width,a.height,a.data,0,r)}t._extension=".ktx2",t.isReady=!0,this._engine._bindTextureDirectly(3553,null)}static IsValid(e){if(e.byteLength>=12){let t=new Uint8Array(e.buffer,e.byteOffset,12);if(171===t[0]&&75===t[1]&&84===t[2]&&88===t[3]&&32===t[4]&&50===t[5]&&48===t[6]&&187===t[7]&&13===t[8]&&10===t[9]&&26===t[10]&&10===t[11])return!0}return!1}}function u(e){switch(e){case 35916:return 33776;case 35918:return 33778;case 35919:return 33779;case 37493:return 37492;case 37497:return 37496;case 37495:return 37494;case 37840:return 37808;case 37841:return 37809;case 37842:return 37810;case 37843:return 37811;case 37844:return 37812;case 37845:return 37813;case 37846:return 37814;case 37847:return 37815;case 37848:return 37816;case 37849:return 37817;case 37850:return 37818;case 37851:return 37819;case 37852:return 37820;case 37853:return 37821;case 36493:return 36492}return null}C.URLConfig={jsDecoderModule:"https://cdn.babylonjs.com/babylon.ktx2Decoder.js",wasmUASTCToASTC:null,wasmUASTCToBC7:null,wasmUASTCToRGBA_UNORM:null,wasmUASTCToRGBA_SRGB:null,wasmUASTCToR8_UNORM:null,wasmUASTCToRG8_UNORM:null,jsMSCTranscoder:null,wasmMSCTranscoder:null,wasmZSTDDecoder:null},C.DefaultNumWorkers=C.GetDefaultNumWorkers(),C.DefaultDecoderOptions=new class{constructor(){this._isDirty=!0,this._useRGBAIfOnlyBC1BC3AvailableWhenUASTC=!0,this._ktx2DecoderOptions={}}get isDirty(){return this._isDirty}get useRGBAIfASTCBC7NotAvailableWhenUASTC(){return this._useRGBAIfASTCBC7NotAvailableWhenUASTC}set useRGBAIfASTCBC7NotAvailableWhenUASTC(e){this._useRGBAIfASTCBC7NotAvailableWhenUASTC!==e&&(this._useRGBAIfASTCBC7NotAvailableWhenUASTC=e,this._isDirty=!0)}get useRGBAIfOnlyBC1BC3AvailableWhenUASTC(){return this._useRGBAIfOnlyBC1BC3AvailableWhenUASTC}set useRGBAIfOnlyBC1BC3AvailableWhenUASTC(e){this._useRGBAIfOnlyBC1BC3AvailableWhenUASTC!==e&&(this._useRGBAIfOnlyBC1BC3AvailableWhenUASTC=e,this._isDirty=!0)}get forceRGBA(){return this._forceRGBA}set forceRGBA(e){this._forceRGBA!==e&&(this._forceRGBA=e,this._isDirty=!0)}get forceR8(){return this._forceR8}set forceR8(e){this._forceR8!==e&&(this._forceR8=e,this._isDirty=!0)}get forceRG8(){return this._forceRG8}set forceRG8(e){this._forceRG8!==e&&(this._forceRG8=e,this._isDirty=!0)}get bypassTranscoders(){return this._bypassTranscoders}set bypassTranscoders(e){this._bypassTranscoders!==e&&(this._bypassTranscoders=e,this._isDirty=!0)}_getKTX2DecoderOptions(){if(!this._isDirty)return this._ktx2DecoderOptions;this._isDirty=!1;let e={};return void 0!==this._useRGBAIfASTCBC7NotAvailableWhenUASTC&&(e.useRGBAIfASTCBC7NotAvailableWhenUASTC=this._useRGBAIfASTCBC7NotAvailableWhenUASTC),void 0!==this._forceRGBA&&(e.forceRGBA=this._forceRGBA),void 0!==this._forceR8&&(e.forceR8=this._forceR8),void 0!==this._forceRG8&&(e.forceRG8=this._forceRG8),void 0!==this._bypassTranscoders&&(e.bypassTranscoders=this._bypassTranscoders),this.useRGBAIfOnlyBC1BC3AvailableWhenUASTC&&(e.transcodeFormatDecisionTree={UASTC:{transcodeFormat:[o.BC1_RGB,o.BC3_RGBA],yes:{transcodeFormat:o.RGBA32,engineFormat:32856,roundToMultiple4:!1}}}),this._ktx2DecoderOptions=e,e}},e.s(["_KTXTextureLoader",0,class{constructor(){this.supportCascades=!1}loadCubeData(e,t,r,s){if(Array.isArray(e))return;t._invertVScale=!t.invertY;let a=t.getEngine(),o=new c(e,6),i=u(o.glInternalFormat);null!==i?(t.format=i,t._useSRGBBuffer=a._getUseSRGBBuffer(!0,!t.generateMipMaps),t._gammaSpace=!0):t.format=o.glInternalFormat;let n=o.numberOfMipmapLevels>1&&t.generateMipMaps;a._unpackFlipY(!0),o.uploadLevels(t,t.generateMipMaps),t.width=o.pixelWidth,t.height=o.pixelHeight,a._setCubeMapTextureParams(t,n,o.numberOfMipmapLevels-1),t.isReady=!0,t.onLoadedObservable.notifyObservers(t),t.onLoadedObservable.clear(),s&&s()}loadData(e,t,r,s){if(c.IsValid(e)){t._invertVScale=!t.invertY;let s=new c(e,1),a=u(s.glInternalFormat);null!==a?(t.format=a,t._useSRGBBuffer=t.getEngine()._getUseSRGBBuffer(!0,!t.generateMipMaps),t._gammaSpace=!0):t.format=s.glInternalFormat,r(s.pixelWidth,s.pixelHeight,t.generateMipMaps,!0,()=>{s.uploadLevels(t,t.generateMipMaps)},s.isInvalid)}else C.IsValid(e)?new C(t.getEngine())._uploadAsync(e,t,s).then(()=>{r(t.width,t.height,t.generateMipMaps,!0,()=>{},!1)},e=>{n.Logger.Warn(`Failed to load KTX2 texture data: ${e.message}`),r(0,0,!1,!1,()=>{},!0)}):(n.Logger.Error("texture missing KTX identifier"),r(0,0,!1,!1,()=>{},!0))}}],58536)}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,55571,e=>{"use strict";var t,r,n,l,a,i,o=e.i(8697),u=e.i(76197),s=e.i(61654);function f(e,t){let r=new Uint8Array(e),n=0;for(;0!=r[t.value+n];)n+=1;let l=new TextDecoder().decode(r.slice(t.value,t.value+n));return t.value=t.value+n+1,l}function c(e,t){let r=e.getInt32(t.value,!0);return t.value+=4,r}function h(e,t){let r=e.getUint32(t.value,!0);return t.value+=4,r}function d(e,t){let r=e.getUint8(t.value);return t.value+=1,r}function p(e,t){let r=e.getUint16(t.value,!0);return t.value+=2,r}function y(e,t){let r=e[t.value];return t.value+=1,r}function w(e,t){let r=e.getFloat32(t.value,!0);return t.value+=4,r}function v(e,t){return(0,s.FromHalfFloat)(p(e,t))}function b(e,t){return(0,s.ToHalfFloat)((0,u.Clamp)(w(e,t),-s.MaxHalfFloat,s.MaxHalfFloat))}function S(e){for(let t=1;t<e.length;t++){let r=e[t-1]+e[t]-128;e[t]=r}}function E(e,t){let r=0,n=Math.floor((e.length+1)/2),l=0,a=e.length-1;for(;!(l>a)&&(t[l++]=e[r++],!(l>a));){;t[l++]=e[n++]}}function g(e,t){if(0x1312f76!=e.getUint32(0,!0))throw Error("Incorrect OpenEXR format");let r=e.getUint8(4),n=e.getUint8(5);t.value=8;let l={},i=!0;for(;i;){let r=f(e.buffer,t);if(r){let n=f(e.buffer,t),i=h(e,t),u=function(e,t,r,n){var l;switch(r){case"string":case"stringvector":case"iccProfile":let i;return l=e.buffer,i=new TextDecoder().decode(new Uint8Array(l).slice(t.value,t.value+n)),t.value=t.value+n,i;case"chlist":return function(e,t,r){let n=t.value,l=[];for(;t.value<n+r-1;){let r=f(e.buffer,t),n=c(e,t),a=d(e,t);t.value+=3;let i=c(e,t),o=c(e,t);l.push({name:r,pixelType:n,pLinear:a,xSampling:i,ySampling:o})}return t.value+=1,l}(e,t,n);case"chromaticities":let o,u,s,p,y,v;return o=w(e,t),u=w(e,t),s=w(e,t),p=w(e,t),y=w(e,t),v=w(e,t),{redX:o,redY:u,greenX:s,greenY:p,blueX:y,blueY:v,whiteX:w(e,t),whiteY:w(e,t)};case"compression":return d(e,t);case"box2i":let b,S;return b=c(e,t),S=c(e,t),{xMin:b,yMin:S,xMax:c(e,t),yMax:c(e,t)};case"lineOrder":return a[d(e,t)];case"float":return w(e,t);case"v2f":return[w(e,t),w(e,t)];case"v3f":let E;return E=w(e,t),[E,w(e,t),w(e,t)];case"int":return c(e,t);case"rational":return[c(e,t),h(e,t)];case"timecode":return[h(e,t),h(e,t)];case"preview":return t.value+=n,"skipped";default:t.value+=n;return}}(e,t,n,i);void 0===u?o.Logger.Warn(`Unknown header attribute type ${n}'.`):l[r]=u}else i=!1}if((-5&n)!=0)throw Error("Unsupported file format");return{version:r,spec:{singleTile:!!(2&n),longName:!!(4&n),deepFormat:!!(8&n),multiPart:!!(16&n)},...l}}(t=l||(l={}))[t.NO_COMPRESSION=0]="NO_COMPRESSION",t[t.RLE_COMPRESSION=1]="RLE_COMPRESSION",t[t.ZIPS_COMPRESSION=2]="ZIPS_COMPRESSION",t[t.ZIP_COMPRESSION=3]="ZIP_COMPRESSION",t[t.PIZ_COMPRESSION=4]="PIZ_COMPRESSION",t[t.PXR24_COMPRESSION=5]="PXR24_COMPRESSION",(r=a||(a={}))[r.INCREASING_Y=0]="INCREASING_Y",r[r.DECREASING_Y=1]="DECREASING_Y";function O(e,t,r,n,l){for(;r<e;)t=t<<8|y(n,l),r+=8;return{l:t>>(r-=e)&(1<<e)-1,c:t,lc:r}}function A(e,t,r,n){return{c:e=e<<8|y(r,n),lc:t+=8}}function C(e,t,r,n,l,a,i,o,u){if(e==t){if(n<8){let e=A(r,n,l,a);r=e.c,n=e.lc}let e=r>>(n-=8);if(e=new Uint8Array([e])[0],o.value+e>u)return null;let t=i[o.value-1];for(;e-- >0;)i[o.value++]=t}else{if(!(o.value<u))return null;i[o.value++]=e}return{c:r,lc:n}}let I=Array(59);function R(e){let t=65535&e;return t>32767?t-65536:t}function M(e,t){let r=R(e),n=R(t),l=r+(1&n)+(n>>1);return{a:l,b:l-n}}function x(e,t){let r=65535&t,n=(65535&e)-(r>>1)&65535;return{a:r+n-32768&65535,b:n}}function m(e){return new DataView(e.array.buffer,e.offset.value,e.size)}function P(e){let t=new Uint8Array(function(e){let t=e.byteLength,r=[],n=0,l=new DataView(e);for(;t>0;){let e=l.getInt8(n++);if(e<0){let a=-e;t-=a+1;for(let e=0;e<a;e++)r.push(l.getUint8(n++))}else{t-=2;let a=l.getUint8(n++);for(let t=0;t<e+1;t++)r.push(a)}}return r}(e.viewer.buffer.slice(e.offset.value,e.offset.value+e.size))),r=new Uint8Array(t.length);return S(t),E(t,r),new DataView(r.buffer)}function U(e){let t=e.array.slice(e.offset.value,e.offset.value+e.size),r=fflate.unzlibSync(t),n=new Uint8Array(r.length);return S(r),E(r,n),new DataView(n.buffer)}function F(e){let t=e.array.slice(e.offset.value,e.offset.value+e.size),r=fflate.unzlibSync(t),n=e.lines*e.channels*e.width,l=1==e.type?new Uint16Array(n):new Uint32Array(n),a=0,i=0,o=[,,,,];for(let t=0;t<e.lines;t++)for(let t=0;t<e.channels;t++){let t=0;switch(e.type){case 1:o[0]=a,o[1]=o[0]+e.width,a=o[1]+e.width;for(let n=0;n<e.width;++n)t+=r[o[0]++]<<8|r[o[1]++],l[i]=t,i++;break;case 2:o[0]=a,o[1]=o[0]+e.width,o[2]=o[1]+e.width,a=o[2]+e.width;for(let n=0;n<e.width;++n)t+=r[o[0]++]<<24|r[o[1]++]<<16|r[o[2]++]<<8,l[i]=t,i++}}return new DataView(l.buffer)}function N(e){let t=e.viewer,r={value:e.offset.value},n=new Uint16Array(e.width*e.scanlineBlockSize*(e.channels*e.type)),l=new Uint8Array(8192),a=0,i=Array(e.channels);for(let t=0;t<e.channels;t++)i[t]={},i[t].start=a,i[t].end=i[t].start,i[t].nx=e.width,i[t].ny=e.lines,i[t].size=e.type,a+=i[t].nx*i[t].ny*i[t].size;let o=p(t,r),u=p(t,r);if(u>=8192)throw Error("Wrong PIZ_COMPRESSION BITMAP_SIZE");if(o<=u)for(let e=0;e<u-o+1;e++)l[e+o]=d(t,r);let s=new Uint16Array(65536),f=function(e,t){let r=0;for(let n=0;n<65536;++n)(0==n||e[n>>3]&1<<(7&n))&&(t[r++]=n);let n=r-1;for(;r<65536;)t[r++]=0;return n}(l,s),c=h(t,r);!function(e,t,r,n,l,a){let i=r.value,o=h(t,r),u=h(t,r);r.value+=4;let s=h(t,r);if(r.value+=4,o<0||o>=65537||u<0||u>=65537)throw Error("Wrong HUF_ENCSIZE");let f=Array(65537),c=Array(16384);for(let e=0;e<16384;e++)c[e]={},c[e].len=0,c[e].lit=0,c[e].p=null;let d=n-(r.value-i);if(!function(e,t,r,n,l,a){let i=0,o=0;for(;n<=l;n++){if(t.value-t.value>r)return;let u=O(6,i,o,e,t),s=u.l;if(i=u.c,o=u.lc,a[n]=s,63==s){if(t.value-t.value>r)throw Error("Error in HufUnpackEncTable");let s=(u=O(8,i,o,e,t)).l+6;if(i=u.c,o=u.lc,n+s>l+1)throw Error("Error in HufUnpackEncTable");for(;s--;)a[n++]=0;n--}else if(s>=59){let e=s-59+2;if(n+e>l+1)throw Error("Error in HufUnpackEncTable");for(;e--;)a[n++]=0;n--}}!function(e){for(let e=0;e<=58;++e)I[e]=0;for(let t=0;t<65537;++t)I[e[t]]+=1;let t=0;for(let e=58;e>0;--e){let r=t+I[e]>>1;I[e]=t,t=r}for(let t=0;t<65537;++t){let r=e[t];r>0&&(e[t]=r|I[r]++<<6)}}(a)}(e,r,d,o,u,f),s>8*(n-(r.value-i)))throw Error("Wrong hufUncompress");!function(e,t,r,n){for(;t<=r;t++){let r=e[t]>>6,l=63&e[t];if(r>>l)throw Error("Invalid table entry");if(l>14){let e=n[r>>l-14];if(e.len)throw Error("Invalid table entry");if(e.lit++,e.p){let t=e.p;e.p=Array(e.lit);for(let r=0;r<e.lit-1;++r)e.p[r]=t[r]}else e.p=[,];e.p[e.lit-1]=t}else if(l){let e=0;for(let a=1<<14-l;a>0;a--){let a=n[(r<<14-l)+e];if(a.len||a.p)throw Error("Invalid table entry");a.len=l,a.lit=t,e++}}}}(f,o,u,c),function(e,t,r,n,l,a,i,o,u){let s=0,f=0,c=Math.trunc(n.value+(l+7)/8);for(;n.value<c;){let l=A(s,f,r,n);for(s=l.c,f=l.lc;f>=14;){let h=t[s>>f-14&16383];if(h.len){f-=h.len;let e=C(h.lit,a,s,f,r,n,o,u,i);e&&(s=e.c,f=e.lc)}else{let t;if(!h.p)throw Error("hufDecode issues");for(t=0;t<h.lit;t++){let d=63&e[h.p[t]];for(;f<d&&n.value<c;)s=(l=A(s,f,r,n)).c,f=l.lc;if(f>=d&&e[h.p[t]]>>6==(s>>f-d&(1<<d)-1)){f-=d;let e=C(h.p[t],a,s,f,r,n,o,u,i);e&&(s=e.c,f=e.lc);break}}if(t==h.lit)throw Error("HufDecode issues")}}}let h=8-l&7;for(s>>=h,f-=h;f>0;){let e=t[s<<14-f&16383];if(e.len){f-=e.len;let t=C(e.lit,a,s,f,r,n,o,u,i);t&&(s=t.c,f=t.lc)}else throw Error("HufDecode issues")}}(f,c,e,r,s,u,a,l,{value:0})}(e.array,t,r,c,n,a);for(let t=0;t<e.channels;++t){let e=i[t];for(let r=0;r<i[t].size;++r)!function(e,t,r,n,l,a,i){let o,u,s=i<16384,f=r>l?l:r,c=1;for(;c<=f;)c<<=1;for(c>>=1,o=c,c>>=1;c>=1;){let i,f,h,d,p=(u=0)+a*(l-o),y=a*c,w=a*o,v=n*c,b=n*o;for(;u<=p;u+=w){let l=u,a=u+n*(r-o);for(;l<=a;l+=b){let r=l+v,n=l+y,a=n+v;if(s){let o=M(e[l+t],e[n+t]);i=o.a,h=o.b,f=(o=M(e[r+t],e[a+t])).a,d=o.b,o=M(i,f),e[l+t]=o.a,e[r+t]=o.b,o=M(h,d),e[n+t]=o.a,e[a+t]=o.b}else{let o=x(e[l+t],e[n+t]);i=o.a,h=o.b,f=(o=x(e[r+t],e[a+t])).a,d=o.b,o=x(i,f),e[l+t]=o.a,e[r+t]=o.b,o=x(h,d),e[n+t]=o.a,e[a+t]=o.b}}if(r&c){let r,n=l+y;i=(r=s?M(e[l+t],e[n+t]):x(e[l+t],e[n+t])).a,e[n+t]=r.b,e[l+t]=i}}if(l&c){let l=u,a=u+n*(r-o);for(;l<=a;l+=b){let r,n=l+v;i=(r=s?M(e[l+t],e[n+t]):x(e[l+t],e[n+t])).a,e[n+t]=r.b,e[l+t]=i}}o=c,c>>=1}}(n,e.start+r,e.nx,e.size,e.ny,e.nx*e.size,f)}var y=a;for(let e=0;e<y;++e)n[e]=s[n[e]];let w=0,v=new Uint8Array(n.buffer.byteLength);for(let t=0;t<e.lines;t++)for(let t=0;t<e.channels;t++){let e=i[t],r=e.nx*e.size,l=new Uint8Array(n.buffer,2*e.end,2*r);v.set(l,w),w+=2*r,e.end+=r}return new DataView(v.buffer)}var T=e.i(17814);(n=i||(i={}))[n.Float=0]="Float",n[n.HalfFloat=1]="HalfFloat";class k{}async function z(e,t,r,n){let a={size:0,viewer:t,array:new Uint8Array(t.buffer),offset:r,width:e.dataWindow.xMax-e.dataWindow.xMin+1,height:e.dataWindow.yMax-e.dataWindow.yMin+1,channels:e.channels.length,channelLineOffsets:{},scanOrder:()=>0,bytesPerLine:0,outLineWidth:0,lines:0,scanlineBlockSize:0,inputSize:null,type:0,uncompress:null,getter:()=>0,format:5,outputChannels:0,decodeChannels:{},blockCount:null,byteArray:null,linearSpace:!1,textureType:0};switch(e.compression){case l.NO_COMPRESSION:a.lines=1,a.uncompress=m;break;case l.RLE_COMPRESSION:a.lines=1,a.uncompress=P;break;case l.ZIPS_COMPRESSION:a.lines=1,a.uncompress=U,await T.Tools.LoadScriptAsync(k.FFLATEUrl);break;case l.ZIP_COMPRESSION:a.lines=16,a.uncompress=U,await T.Tools.LoadScriptAsync(k.FFLATEUrl);break;case l.PIZ_COMPRESSION:a.lines=32,a.uncompress=N;break;case l.PXR24_COMPRESSION:a.lines=16,a.uncompress=F,await T.Tools.LoadScriptAsync(k.FFLATEUrl);break;default:throw Error(l[e.compression]+" is unsupported")}a.scanlineBlockSize=a.lines;let o={};for(let t of e.channels)switch(t.name){case"R":case"G":case"B":case"A":case"Y":o[t.name]=!0,a.type=t.pixelType}let u=!1;if(o.R&&o.G&&o.B&&o.A)a.outputChannels=4,a.decodeChannels={R:0,G:1,B:2,A:3};else if(o.R&&o.G&&o.B)u=!0,a.outputChannels=4,a.decodeChannels={R:0,G:1,B:2,A:3};else if(o.R&&o.G)a.outputChannels=2,a.decodeChannels={R:0,G:1};else if(o.R)a.outputChannels=1,a.decodeChannels={R:0};else if(o.Y)a.outputChannels=1,a.decodeChannels={Y:0};else throw Error("EXRLoader.parse: file contains unsupported data channels.");if(1===a.type)switch(n){case i.Float:a.getter=v,a.inputSize=2;break;case i.HalfFloat:a.getter=p,a.inputSize=2}else if(2===a.type)switch(n){case i.Float:a.getter=w,a.inputSize=4;break;case i.HalfFloat:a.getter=b,a.inputSize=4}else throw Error("Unsupported pixelType "+a.type+" for "+e.compression);a.blockCount=a.height/a.scanlineBlockSize;for(let e=0;e<a.blockCount;e++)!function(e,t){"getBigInt64"in DataView.prototype?e.getBigInt64(t.value,!0):(e.getUint32(t.value+4,!0),e.getUint32(t.value,!0)),t.value+=8}(t,r);let s=a.width*a.height*a.outputChannels;switch(n){case i.Float:a.byteArray=new Float32Array(s),a.textureType=1,u&&a.byteArray.fill(1,0,s);break;case i.HalfFloat:a.byteArray=new Uint16Array(s),a.textureType=2,u&&a.byteArray.fill(15360,0,s);break;default:throw Error("Unsupported type: "+n)}let f=0;for(let t of e.channels)void 0!==a.decodeChannels[t.name]&&(a.channelLineOffsets[t.name]=f*a.width),f+=2*t.pixelType;return a.bytesPerLine=a.width*f,a.outLineWidth=a.width*a.outputChannels,"INCREASING_Y"===e.lineOrder?a.scanOrder=e=>e:a.scanOrder=e=>a.height-1-e,4==a.outputChannels?(a.format=5,a.linearSpace=!0):(a.format=6,a.linearSpace=!1),a}function L(e,t,r,n){let l={value:0};for(let a=0;a<e.height/e.scanlineBlockSize;a++){let i=c(r,n)-t.dataWindow.yMin;e.size=h(r,n),e.lines=i+e.scanlineBlockSize>e.height?e.height-i:e.scanlineBlockSize;let o=e.size<e.lines*e.bytesPerLine&&e.uncompress?e.uncompress(e):m(e);n.value+=e.size;for(let r=0;r<e.scanlineBlockSize;r++){let n=a*e.scanlineBlockSize,i=r+e.scanOrder(n);if(i>=e.height)continue;let u=r*e.bytesPerLine,s=(e.height-1-i)*e.outLineWidth;for(let r=0;r<e.channels;r++){let n=t.channels[r].name,a=e.channelLineOffsets[n],i=e.decodeChannels[n];if(void 0!==i){l.value=u+a;for(let t=0;t<e.width;t++){let r=s+t*e.outputChannels+i;e.byteArray&&(e.byteArray[r]=e.getter(o,l))}}}}}}async function _(e){let t=new DataView(e),r={value:0},n=g(t,r);try{let e=await z(n,t,r,i.Float);if(L(e,n,t,r),!e.byteArray)return o.Logger.Error("Failed to decode EXR data: No byte array available."),{width:0,height:0,data:null};return{width:n.dataWindow.xMax-n.dataWindow.xMin+1,height:n.dataWindow.yMax-n.dataWindow.yMin+1,data:new Float32Array(e.byteArray)}}catch(e){o.Logger.Error("Failed to load EXR data: ",e)}return{width:0,height:0,data:null}}k.DefaultOutputType=i.HalfFloat,k.FFLATEUrl="https://unpkg.com/fflate@0.8.2",e.s(["ReadExrDataAsync",0,_,"_ExrTextureLoader",0,class{constructor(){this.supportCascades=!1}loadCubeData(e,t,r,n,l){throw".exr not supported in Cube."}loadData(e,t,r){let n=new DataView(e.buffer),l={value:0},a=g(n,l);z(a,n,l,k.DefaultOutputType).then(e=>{L(e,a,n,l),r(a.dataWindow.xMax-a.dataWindow.xMin+1,a.dataWindow.yMax-a.dataWindow.yMin+1,t.generateMipMaps,!1,()=>{let r=t.getEngine();t.format=a.format,t.type=e.textureType,t.invertY=!1,t._gammaSpace=!a.linearSpace,e.byteArray&&r._uploadDataToTextureDirectly(t,e.byteArray,0,0,void 0,!0)})}).catch(e=>{o.Logger.Error("Failed to load EXR texture: ",e)})}}],55571)}]);
|