viral-viewer-2 7.0.7 → 7.0.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.
@@ -1,4 +1,4 @@
1
- import { B as S, a as V, V as Z } from "./index-_ARtf-uJ.mjs";
1
+ import { B as S, a as V, V as Z } from "./index-BZ2LjLxN.mjs";
2
2
  (function() {
3
3
  var s = "b9H79Tebbbe9ok9Geueu9Geub9Gbb9Gruuuuuuueu9Gvuuuuueu9Gduueu9Gluuuueu9Gvuuuuub9Gouuuuuub9Gluuuub9GiuuueuiE8AdilveoveovrrwrrrDDoDrbqqbelve9Weiiviebeoweuec;G:Qdkr:PlCo9TW9T9VV95dbH9F9F939H79T9F9J9H229F9Jt9VV7bb8F9TW79O9V9Wt9FW9U9J9V9KW9wWVtW949c919M9MWV9mW4W2be8A9TW79O9V9Wt9FW9U9J9V9KW9wWVtW949c919M9MWVbd8F9TW79O9V9Wt9FW9U9J9V9KW9wWVtW949c919M9MWV9c9V919U9KbiE9TW79O9V9Wt9FW9U9J9V9KW9wWVtW949wWV79P9V9UblY9TW79O9V9Wt9FW9U9J9V9KW69U9KW949c919M9MWVbv8E9TW79O9V9Wt9FW9U9J9V9KW69U9KW949c919M9MWV9c9V919U9Kbo8A9TW79O9V9Wt9FW9U9J9V9KW69U9KW949wWV79P9V9UbrE9TW79O9V9Wt9FW9U9J9V9KW69U9KW949tWG91W9U9JWbwa9TW79O9V9Wt9FW9U9J9V9KW69U9KW949tWG91W9U9JW9c9V919U9KbDL9TW79O9V9Wt9FW9U9J9V9KWS9P2tWV9p9JtbqK9TW79O9V9Wt9FW9U9J9V9KWS9P2tWV9r919HtbkL9TW79O9V9Wt9FW9U9J9V9KWS9P2tWVT949WbxY9TW79O9V9Wt9FW9U9J9V9KWS9P2tWVJ9V29VVbmE9TW79O9V9Wt9F9V9Wt9P9T9P96W9wWVtW94J9H9J9OWbza9TW79O9V9Wt9F9V9Wt9P9T9P96W9wWVtW94J9H9J9OW9ttV9P9WbHa9TW79O9V9Wt9F9V9Wt9P9T9P96W9wWVtW94SWt9J9O9sW9T9H9WbOK9TW79O9V9Wt9F79W9Ht9P9H29t9VVt9sW9T9H9WbAl79IV9RbXDwebcekdKYq;i28Adbk:Bhdhud9:8Jjjjjbc;qw9Rgr8KjjjjbcbhwdnaeTmbabcbyd;C:kjjbaoaocb9iEgDc:GeV86bbarc;adfcbcjdz:xjjjb8AdnaiTmbarc;adfadalz:wjjjb8Akarc;abfalfcbcbcjdal9RalcFe0Ez:xjjjb8Aarc;abfarc;adfalz:wjjjb8AarcUf9cb83ibarc8Wf9cb83ibarcyf9cb83ibarcaf9cb83ibarcKf9cb83ibarczf9cb83ibar9cb83iwar9cb83ibcj;abal9Uc;WFbGcjdalca0Ehqdnaicd6mbavcd9imbaDTmbadcefhkaqci2gxal2hmarc;alfclfhParc;qlfceVhsarc;qofclVhzarc;qofcKfhHarc;qofczfhOcbhAincdhCcbhodnavci6mbaH9cb83ibaO9cb83ibar9cb83i;yoar9cb83i;qoadaAfgoybbhXcbhQincbhwcbhLdninaoalfhKaoybbgYaX7aLVhLawcP0meaKhoaYhXawcefgwaQfai6mbkkcbhXarc;qofhwincwh8AcwhEdnaLaX93gocFeGg3cs0mbclhEa3ci0mba3cb9hcethEkdnaocw4cFeGg3cs0mbclh8Aa3ci0mba3cb9hceth8Aka8AaEfh3awydbh5cwh8AcwhEdnaocz4cFeGg8Ecs0mbclhEa8Eci0mba8Ecb9hcethEka3a5fh3dnaocFFFFb0mbclh8AaocFFF8F0mbaocFFFr0ceth8Akawa3aEfa8AfBdbawclfhwaXcefgXcw9hmbkaKhoaYhXaQczfgQai6mbkcbhocehwazhLinawaoaLydbarc;qofaocdtfydb6EhoaLclfhLawcefgwcw9hmbkcihCkcbh3arc;qlfcbcjdz:xjjjb8Aarc;alfcwfcbBdbar9cb83i;alaoclth8Fadhaaqhhakh5inarc;qlfadcba3cufgoaoa30Eal2falz:wjjjb8Aaiahaiah6Ehgdnaqaia39Ra3aqfai6EgYcsfc9WGgoaY9nmbarc;qofaYfcbaoaY9Rz:xjjjb8Akada3al2fh8Jcbh8Kina8Ka8FVcl4hQarc;alfa8Kcdtfh8LaAh8Mcbh8Nina8NaAfhwdndndndndndna8KPldebidkasa8Mc98GgLfhoa5aLfh8Aarc;qlfawc98GgLfRbbhXcwhwinaoRbbawtaXVhXaocefhoawcwfgwca9hmbkaYTmla8Ncith8Ea8JaLfhEcbhKinaERbbhLcwhoa8AhwinawRbbaotaLVhLawcefhwaocwfgoca9hmbkarc;qofaKfaLaX7aQ93a8E486bba8Aalfh8AaEalfhEaLhXaKcefgKaY9hmbxlkkaYTmia8Mc9:Ghoa8NcitcwGhEarc;qlfawceVfRbbcwtarc;qlfawc9:GfRbbVhLarc;qofhwaghXinawa5aofRbbcwtaaaofRbbVg8AaL9RgLcetaLcztcz91cs47cFFiGaE486bbaoalfhoawcefhwa8AhLa3aXcufgX9hmbxikkaYTmda8Jawfhoarc;qlfawfRbbhLarc;qofhwaghXinawaoRbbg8AaL9RgLcetaLcKtcK91cr4786bbawcefhwaoalfhoa8AhLa3aXcufgX9hmbxdkkaYTmeka8LydbhEcbhKarc;qofhoincdhLcbhwinaLaoawfRbbcb9hfhLawcefgwcz9hmbkclhXcbhwinaXaoawfRbbcd0fhXawcefgwcz9hmbkcwh8Acbhwina8AaoawfRbbcP0fh8Aawcefgwcz9hmbkaLaXaLaX6Egwa8Aawa8A6Egwczawcz6EaEfhEaoczfhoaKczfgKaY6mbka8LaEBdbka8Mcefh8Ma8Ncefg8Ncl9hmbka8Kcefg8KaC9hmbkaaamfhaahaxfhha5amfh5a3axfg3ai6mbkcbhocehwaPhLinawaoaLydbarc;alfaocdtfydb6EhoaLclfhLawcefgXhwaCaX9hmbkaraAcd4fa8FcdVaoaocdSE86bbaAclfgAal6mbkkabaefh8Kabcefhoalcd4gecbaDEhkadcefhOarc;abfceVhHcbhmdndninaiam9nmearc;qofcbcjdz:xjjjb8Aa8Kao9Rak6mdadamal2gwfhxcbh8JaOawfhzaocbakz:xjjjbghakfh5aqaiam9Ramaqfai6Egscsfgocl4cifcd4hCaoc9WGg8LThPindndndndndndndndndndnaDTmbara8Jcd4fRbbgLciGPlbedlbkasTmdaxa8Jfhoarc;abfa8JfRbbhLarc;qofhwashXinawaoRbbg8AaL9RgLcetaLcKtcK91cr4786bbawcefhwaoalfhoa8AhLaXcufgXmbxikkasTmia8JcitcwGhEarc;abfa8JceVfRbbcwtarc;abfa8Jc9:GgofRbbVhLaxaofhoarc;qofhwashXinawao8Vbbg8AaL9RgLcetaLcztcz91cs47cFFiGaE486bbawcefhwaoalfhoa8AhLaXcufgXmbxdkkaHa8Jc98GgEfhoazaEfh8Aarc;abfaEfRbbhXcwhwinaoRbbawtaXVhXaocefhoawcwfgwca9hmbkasTmbaLcl4hYa8JcitcKGh3axaEfhEcbhKinaERbbhLcwhoa8AhwinawRbbaotaLVhLawcefhwaocwfgoca9hmbkarc;qofaKfaLaX7aY93a3486bba8Aalfh8AaEalfhEaLhXaKcefgKas9hmbkkaDmbcbhoxlka8LTmbcbhodninarc;qofaofgwcwf8Pibaw8Pib:e9qTmeaoczfgoa8L9pmdxbkkdnavmbcehoxikcbhEaChKaChYinarc;qofaEfgocwf8Pibhyao8Pibh8PcdhLcbhwinaLaoawfRbbcb9hfhLawcefgwcz9hmbkclhXcbhwinaXaoawfRbbcd0fhXawcefgwcz9hmbkcwh8Acbhwina8AaoawfRbbcP0fh8Aawcefgwcz9hmbkaLaXaLaX6Egoa8Aaoa8A6Egoczaocz6EaYfhYaocucbaya8P:e9cb9sEgwaoaw6EaKfhKaEczfgEa8L9pmdxbkkaha8Jcd4fgoaoRbbcda8JcetcoGtV86bbxikdnaKas6mbaYas6mbaha8Jcd4fgoaoRbbcia8JcetcoGtV86bba8Ka59Ras6mra5arc;qofasz:wjjjbasfh5xikaKaY9phokaha8Jcd4fgwawRbbaoa8JcetcoGtV86bbka8Ka59RaC6mla5cbaCz:xjjjbgAaCfhYdndna8LmbaPhoxekdna8KaY9RcK9pmbaPhoxekaocdtc:q1jjbfcj1jjbaDEg5ydxggcetc;:FFFeGh8Fcuh3cuagtcu7cFeGhacbh8Marc;qofhLinarc;qofa8MfhQczhEdndndnagPDbeeeeeeedekcucbaQcwf8PibaQ8Pib:e9cb9sEhExekcbhoa8FhEinaEaaaLaofRbb9nfhEaocefgocz9hmbkkcih8Ecbh8Ainczhwdndndna5a8AcdtfydbgKPDbeeeeeeedekcucbaQcwf8PibaQ8Pib:e9cb9sEhwxekaKcetc;:FFFeGhwcuaKtcu7cFeGhXcbhoinawaXaLaofRbb9nfhwaocefgocz9hmbkkdndnawaE6mbaKa39hmeawaE9hmea5a8EcdtfydbcwSmeka8Ah8EawhEka8Acefg8Aci9hmbkaAa8Mco4fgoaoRbba8Ea8Mci4coGtV86bbdndndna5a8Ecdtfydbg3PDdbbbbbbbebkdncwa39Tg8ETmbcua3tcu7hwdndna3ceSmbcbh8NaLhQinaQhoa8Eh8AcbhXinaoRbbgEawcFeGgKaEaK6EaXa3tVhXaocefhoa8Acufg8AmbkaYaX86bbaQa8EfhQaYcefhYa8Na8Efg8Ncz6mbxdkkcbh8NaLhQinaQhoa8Eh8AcbhXinaoRbbgEawcFeGgKaEaK6EaXcetVhXaocefhoa8Acufg8AmbkaYaX:T9cFe:d9c:c:qj:bw9:9c:q;c1:I1e:d9c:b:c:e1z9:9ca188bbaQa8EfhQaYcefhYa8Na8Efg8Ncz6mbkkcbhoinaYaLaofRbbgX86bbaYaXawcFeG9pfhYaocefgocz9hmbxikkdna3ceSmbinaYcb86bbaYcefhYxbkkinaYcb86bbaYcefhYxbkkaYaQ8Pbb83bbaYcwfaQcwf8Pbb83bbaYczfhYka8Mczfg8Ma8L9pgomeaLczfhLa8KaY9RcK9pmbkkaoTmlaYh5aYTmlka8Jcefg8Jal9hmbkarc;abfaxascufal2falz:wjjjb8Aasamfhma5hoa5mbkcbhwxdkdna8Kao9RakalfgwcKcaaDEgLawaL0EgX9pmbcbhwxdkdnawaL9pmbaocbaXaw9Rgwz:xjjjbawfhokaoarc;adfalz:wjjjbalfhodnaDTmbaoaraez:wjjjbaefhokaoab9Rhwxekcbhwkarc;qwf8Kjjjjbawk5babaeadaialcdcbyd;C:kjjbz:bjjjbk9reduaecd4gdaefgicaaica0Eabcj;abae9Uc;WFbGcjdaeca0Egifcufai9Uae2aiadfaicl4cifcd4f2fcefkmbcbabBd;C:kjjbk:Ese5u8Jjjjjbc;ae9Rgl8Kjjjjbcbhvdnaici9UgocHfae0mbabcbyd;m:kjjbgrc;GeV86bbalc;abfcFecjez:xjjjb8AalcUfgw9cu83ibalc8WfgD9cu83ibalcyfgq9cu83ibalcafgk9cu83ibalcKfgx9cu83ibalczfgm9cu83ibal9cu83iwal9cu83ibabaefc9WfhPabcefgsaofhednaiTmbcmcsarcb9kgzEhHcbhOcbhAcbhCcbhXcbhQindnaeaP9nmbcbhvxikaQcufhvadaCcdtfgLydbhKaLcwfydbhYaLclfydbh8AcbhEdndndninalc;abfavcsGcitfgoydlh3dndndnaoydbgoaK9hmba3a8ASmekdnaoa8A9hmba3aY9hmbaEcefhExekaoaY9hmea3aK9hmeaEcdfhEkaEc870mdaXcufhvaLaEciGcx2goc;i1jjbfydbcdtfydbh3aLaoc;e1jjbfydbcdtfydbh8AaLaoc;a1jjbfydbcdtfydbhKcbhodnindnalavcsGcdtfydba39hmbaohYxdkcuhYavcufhvaocefgocz9hmbkkaOa3aOSgvaYce9iaYaH9oVgoGfhOdndndncbcsavEaYaoEgvcs9hmbarce9imba3a3aAa3cefaASgvEgAcefSmecmcsavEhvkasavaEcdtc;WeGV86bbavcs9hmea3aA9Rgvcetavc8F917hvinaeavcFb0crtavcFbGV86bbaecefheavcje6hoavcr4hvaoTmbka3hAxvkcPhvasaEcdtcPV86bba3hAkavTmiavaH9omicdhocehEaQhYxlkavcufhvaEclfgEc;ab9hmbkkdnaLceaYaOSceta8AaOSEcx2gvc;a1jjbfydbcdtfydbgKTaLavc;e1jjbfydbcdtfydbg8AceSGaLavc;i1jjbfydbcdtfydbg3cdSGaOcb9hGazGg5ce9hmbaw9cu83ibaD9cu83ibaq9cu83ibak9cu83ibax9cu83ibam9cu83ibal9cu83iwal9cu83ibcbhOkcbhEaXcufgvhodnindnalaocsGcdtfydba8A9hmbaEhYxdkcuhYaocufhoaEcefgEcz9hmbkkcbhodnindnalavcsGcdtfydba39hmbaohExdkcuhEavcufhvaocefgocz9hmbkkaOaKaOSg8EfhLdndnaYcm0mbaYcefhYxekcbcsa8AaLSgvEhYaLavfhLkdndnaEcm0mbaEcefhExekcbcsa3aLSgvEhEaLavfhLkc9:cua8EEh8FcbhvaEaYcltVgacFeGhodndndninavc:W1jjbfRbbaoSmeavcefgvcz9hmbxdkka5aKaO9havcm0VVmbasavc;WeV86bbxekasa8F86bbaeaa86bbaecefhekdna8EmbaKaA9Rgvcetavc8F917hvinaeavcFb0gocrtavcFbGV86bbavcr4hvaecefheaombkaKhAkdnaYcs9hmba8AaA9Rgvcetavc8F917hvinaeavcFb0gocrtavcFbGV86bbavcr4hvaecefheaombka8AhAkdnaEcs9hmba3aA9Rgvcetavc8F917hvinaeavcFb0gocrtavcFbGV86bbavcr4hvaecefheaombka3hAkalaXcdtfaKBdbaXcefcsGhvdndnaYPzbeeeeeeeeeeeeeebekalavcdtfa8ABdbaXcdfcsGhvkdndnaEPzbeeeeeeeeeeeeeebekalavcdtfa3BdbavcefcsGhvkcihoalc;abfaQcitfgEaKBdlaEa8ABdbaQcefcsGhYcdhEavhXaLhOxekcdhoalaXcdtfa3BdbcehEaXcefcsGhXaQhYkalc;abfaYcitfgva8ABdlava3Bdbalc;abfaQaEfcsGcitfgva3BdlavaKBdbascefhsaQaofcsGhQaCcifgCai6mbkkdnaeaP9nmbcbhvxekcbhvinaeavfavc:W1jjbfRbb86bbavcefgvcz9hmbkaeab9Ravfhvkalc;aef8KjjjjbavkZeeucbhddninadcefgdc8F0meceadtae6mbkkadcrfcFeGcr9Uci2cdfabci9U2cHfkmbcbabBd;m:kjjbk:Adewu8Jjjjjbcz9Rhlcbhvdnaicvfae0mbcbhvabcbRb;m:kjjbc;qeV86bbal9cb83iwabcefhoabaefc98fhrdnaiTmbcbhwcbhDindnaoar6mbcbskadaDcdtfydbgqalcwfawaqav9Rgvavc8F91gv7av9Rc507gwcdtfgkydb9Rgvc8E91c9:Gavcdt7awVhvinaoavcFb0gecrtavcFbGV86bbavcr4hvaocefhoaembkakaqBdbaqhvaDcefgDai9hmbkkdnaoar9nmbcbskaocbBbbaoab9RclfhvkavkBeeucbhddninadcefgdc8F0meceadtae6mbkkadcwfcFeGcr9Uab2cvfk:bvli99dui99ludnaeTmbcuadcetcuftcu7:Zhvdndncuaicuftcu7:ZgoJbbbZMgr:lJbbb9p9DTmbar:Ohwxekcjjjj94hwkcbhicbhDinalclfIdbgrJbbbbJbbjZalIdbgq:lar:lMalcwfIdbgk:lMgr:varJbbbb9BEgrNhxaqarNhrdndnakJbbbb9GTmbaxhqxekJbbjZar:l:tgqaq:maxJbbbb9GEhqJbbjZax:l:tgxax:marJbbbb9GEhrkdndnalcxfIdbgxJbbj:;axJbbj:;9GEgkJbbjZakJbbjZ9FEavNJbbbZJbbb:;axJbbbb9GEMgx:lJbbb9p9DTmbax:Ohmxekcjjjj94hmkdndnaqJbbj:;aqJbbj:;9GEgxJbbjZaxJbbjZ9FEaoNJbbbZJbbb:;aqJbbbb9GEMgq:lJbbb9p9DTmbaq:OhPxekcjjjj94hPkdndnarJbbj:;arJbbj:;9GEgqJbbjZaqJbbjZ9FEaoNJbbbZJbbb:;arJbbbb9GEMgr:lJbbb9p9DTmbar:Ohsxekcjjjj94hskdndnadcl9hmbabaifgzas86bbazcifam86bbazcdfaw86bbazcefaP86bbxekabaDfgzas87ebazcofam87ebazclfaw87ebazcdfaP87ebkalczfhlaiclfhiaDcwfhDaecufgembkkk;hlld99eud99eudnaeTmbdndncuaicuftcu7:ZgvJbbbZMgo:lJbbb9p9DTmbao:Ohixekcjjjj94hikaic;8FiGhrinabcofcicdalclfIdb:lalIdb:l9EgialcwfIdb:lalaicdtfIdb:l9EEgialcxfIdb:lalaicdtfIdb:l9EEgiarV87ebdndnJbbj:;JbbjZalaicdtfIdbJbbbb9DEgoalaicd7cdtfIdbJ;Zl:1ZNNgwJbbj:;awJbbj:;9GEgDJbbjZaDJbbjZ9FEavNJbbbZJbbb:;awJbbbb9GEMgw:lJbbb9p9DTmbaw:Ohqxekcjjjj94hqkabcdfaq87ebdndnalaicefciGcdtfIdbJ;Zl:1ZNaoNgwJbbj:;awJbbj:;9GEgDJbbjZaDJbbjZ9FEavNJbbbZJbbb:;awJbbbb9GEMgw:lJbbb9p9DTmbaw:Ohqxekcjjjj94hqkabaq87ebdndnaoalaicufciGcdtfIdbJ;Zl:1ZNNgoJbbj:;aoJbbj:;9GEgwJbbjZawJbbjZ9FEavNJbbbZJbbb:;aoJbbbb9GEMgo:lJbbb9p9DTmbao:Ohixekcjjjj94hikabclfai87ebabcwfhbalczfhlaecufgembkkk;3viDue99eu8Jjjjjbcjd9Rgo8Kjjjjbadcd4hrdndndndnavcd9hmbadcl6meaohwarhDinawc:CuBdbawclfhwaDcufgDmbkaeTmiadcl6mdarcdthqalhkcbhxinaohwakhDarhminawawydbgPcbaDIdbgs:8cL4cFeGc:cufasJbbbb9BEgzaPaz9kEBdbaDclfhDawclfhwamcufgmmbkakaqfhkaxcefgxaeSmixbkkaeTmdxekaeTmekarcdthkavce9hhqadcl6hdcbhxindndndnaqmbadmdc:CuhDalhwarhminaDcbawIdbgs:8cL4cFeGc:cufasJbbbb9BEgPaDaP9kEhDawclfhwamcufgmmbxdkkc:CuhDdndnavPleddbdkadmdaohwalhmarhPinawcbamIdbgs:8cL4cFeGgzc;:bazc;:b0Ec:cufasJbbbb9BEBdbamclfhmawclfhwaPcufgPmbxdkkadmecbhwarhminaoawfcbalawfIdbgs:8cL4cFeGgPc8AaPc8A0Ec:cufasJbbbb9BEBdbawclfhwamcufgmmbkkadmbcbhwarhPinaDhmdnavceSmbaoawfydbhmkdndnalawfIdbgscjjj;8iamai9RcefgmcLt9R::NJbbbZJbbb:;asJbbbb9GEMgs:lJbbb9p9DTmbas:Ohzxekcjjjj94hzkabawfazcFFFrGamcKtVBdbawclfhwaPcufgPmbkkabakfhbalakfhlaxcefgxae9hmbkkaocjdf8Kjjjjbk:Ylvdud99due99iudnaeTmbceaicufgvthocuaitcu7:Zhrcuavtcu7:Zhwcbhvadcl9hhDcbhqindndnalcwfIdbgkJbbbbakJbbbb9GEgkJbbjZakJbbjZ9FEarNJbbbZMgk:lJbbb9p9DTmbak:Ohixekcjjjj94hikdndnalIdbgkJbbbbakJbbbb9GEgkJbbjZakJbbjZ9FEarNJbbbZMgk:lJbbb9p9DTmbak:Ohdxekcjjjj94hdkadai9Rcd9TgxaifhidndnalclfIdbgkJbbbbakJbbbb9GEgkJbbjZakJbbjZ9FEarNJbbbZMgk:lJbbb9p9DTmbak:Ohdxekcjjjj94hdkadai9Rcd9ThddndnalcxfIdbgkJbbbbakJbbbb9GEgkJbbjZakJbbjZ9FEawNJbbbZMgk:lJbbb9p9DTmbak:Ohmxekcjjjj94hmkadaifhiaoamVhmdndnaDmbabavfgPai86bbaPcifam86bbaPcdfad86bbaPcefax86bbxekabaqfgPai87ebaPcofam87ebaPclfad87ebaPcdfax87ebkalczfhlavclfhvaqcwfhqaecufgembkkk;YqdXui998Jjjjjbc:qd9Rgv8Kjjjjbavc:Sefcbc;Kbz:xjjjb8AcbhodnadTmbcbhoaiTmbdndnabaeSmbaehrxekavcuadcdtgwadcFFFFi0Ecbyd;q:kjjbHjjjjbbgrBd:SeavceBd:mdaraeawz:wjjjb8Akavc:GefcwfcbBdbav9cb83i:Geavc:Gefaradaiavc:Sefz:pjjjbavyd:GehDadci9Ugqcbyd;q:kjjbHjjjjbbheavc:Sefavyd:mdgkcdtfaeBdbavakcefgwBd:mdaecbaqz:xjjjbhxavc:SefawcdtfcuaicdtaicFFFFi0Ecbyd;q:kjjbHjjjjbbgmBdbavakcdfgPBd:mdalc;ebfhsaDheamhwinawalIdbasaeydbgzcwazcw6EcdtfIdbMUdbaeclfheawclfhwaicufgimbkavc:SefaPcdtfcuaqcdtadcFFFF970Ecbyd;q:kjjbHjjjjbbgPBdbdnadci6mbarheaPhwaqhiinawamaeydbcdtfIdbamaeclfydbcdtfIdbMamaecwfydbcdtfIdbMUdbaecxfheawclfhwaicufgimbkkakcifhoalc;ebfhHavc;qbfhOavheavyd:KehAavyd:OehCcbhzcbhwcbhXcehQinaehLcihkarawci2gKcdtfgeydbhsaeclfydbhdabaXcx2fgicwfaecwfydbgYBdbaiclfadBdbaiasBdbaxawfce86bbaOaYBdwaOadBdlaOasBdbaPawcdtfcbBdbdnazTmbcihkaLhiinaOakcdtfaiydbgeBdbakaeaY9haeas9haead9hGGfhkaiclfhiazcufgzmbkkaXcefhXcbhzinaCaAarazaKfcdtfydbcdtgifydbcdtfgYheaDaifgdydbgshidnasTmbdninaeydbawSmeaeclfheaicufgiTmdxbkkaeaYascdtfc98fydbBdbadadydbcufBdbkazcefgzci9hmbkdndnakTmbcuhwJbbbbh8Acbhdavyd:KehYavyd:OehKindndnaDaOadcdtfydbcdtgzfydbgembadcefhdxekadcs0hiamazfgsIdbhEasalcbadcefgdaiEcdtfIdbaHaecwaecw6EcdtfIdbMg3Udba3aE:th3aecdthiaKaYazfydbcdtfheinaPaeydbgzcdtfgsa3asIdbMgEUdbaEa8Aa8AaE9DgsEh8AazawasEhwaeclfheaic98fgimbkkadak9hmbkawcu9hmekaQaq9pmdindnaxaQfRbbmbaQhwxdkaqaQcefgQ9hmbxikkakczakcz6EhzaOheaLhOawcu9hmbkkaocdtavc:Seffc98fhedninaoTmeaeydbcbyd;u:kjjbH:bjjjbbaec98fheaocufhoxbkkavc:qdf8Kjjjjbk;IlevucuaicdtgvaicFFFFi0Egocbyd;q:kjjbHjjjjbbhralalyd9GgwcdtfarBdbalawcefBd9GabarBdbaocbyd;q:kjjbHjjjjbbhralalyd9GgocdtfarBdbalaocefBd9GabarBdlcuadcdtadcFFFFi0Ecbyd;q:kjjbHjjjjbbhralalyd9GgocdtfarBdbalaocefBd9GabarBdwabydbcbavz:xjjjb8Aadci9UhDdnadTmbabydbhoaehladhrinaoalydbcdtfgvavydbcefBdbalclfhlarcufgrmbkkdnaiTmbabydbhlabydlhrcbhvaihoinaravBdbarclfhralydbavfhvalclfhlaocufgombkkdnadci6mbabydlhrabydwhvcbhlinaecwfydbhoaeclfydbhdaraeydbcdtfgwawydbgwcefBdbavawcdtfalBdbaradcdtfgdadydbgdcefBdbavadcdtfalBdbaraocdtfgoaoydbgocefBdbavaocdtfalBdbaecxfheaDalcefgl9hmbkkdnaiTmbabydlheabydbhlinaeaeydbalydb9RBdbalclfhlaeclfheaicufgimbkkkQbabaeadaic;K1jjbz:ojjjbkQbabaeadaic;m:jjjbz:ojjjbk9DeeuabcFeaicdtz:xjjjbhlcbhbdnadTmbindnalaeydbcdtfgiydbcu9hmbaiabBdbabcefhbkaeclfheadcufgdmbkkabk:Vvioud9:du8Jjjjjbc;Wa9Rgl8Kjjjjbcbhvalcxfcbc;Kbz:xjjjb8AalcuadcitgoadcFFFFe0Ecbyd;q:kjjbHjjjjbbgrBdxalceBd2araeadaicezNjjjbalcuaoadcjjjjoGEcbyd;q:kjjbHjjjjbbgwBdzadcdthednadTmbabhiinaiavBdbaiclfhiadavcefgv9hmbkkawaefhDalabBdwalawBdl9cbhqindnadTmbaq9cq9:hkarhvaDhiadheinaiav8Pibak1:NcFrG87ebavcwfhvaicdfhiaecufgembkkalclfaq:NceGcdtfydbhxalclfaq9ce98gq:NceGcdtfydbhmalc;Wbfcbcjaz:xjjjb8AaDhvadhidnadTmbinalc;Wbfav8VebcdtfgeaeydbcefBdbavcdfhvaicufgimbkkcbhvcbhiinalc;WbfavfgeydbhoaeaiBdbaoaifhiavclfgvcja9hmbkadhvdndnadTmbinalc;WbfaDamydbgicetf8VebcdtfgeaeydbgecefBdbaxaecdtfaiBdbamclfhmavcufgvmbkaq9cv9smdcbhvinabawydbcdtfavBdbawclfhwadavcefgv9hmbxdkkaq9cv9smekkclhvdninavc98Smealcxfavfydbcbyd;u:kjjbH:bjjjbbavc98fhvxbkkalc;Waf8Kjjjjbk:Jwliuo99iud9:cbhv8Jjjjjbca9Rgoczfcwfcbyd:8:kjjbBdbaocb8Pd:0:kjjb83izaocwfcbyd;i:kjjbBdbaocb8Pd;a:kjjb83ibaicd4hrdndnadmbJFFuFhwJFFuuhDJFFuuhqJFFuFhkJFFuuhxJFFuFhmxekarcdthPaehsincbhiinaoczfaifgzasaifIdbgwazIdbgDaDaw9EEUdbaoaifgzawazIdbgDaDaw9DEUdbaiclfgicx9hmbkasaPfhsavcefgvad9hmbkaoIdKhDaoIdwhwaoIdChqaoIdlhkaoIdzhxaoIdbhmkdnadTmbJbbbbJbFu9hJbbbbamax:tgmamJbbbb9DEgmakaq:tgkakam9DEgkawaD:tgwawak9DEgw:vawJbbbb9BEhwdnalmbarcdthoindndnaeclfIdbaq:tawNJbbbZMgk:lJbbb9p9DTmbak:Ohixekcjjjj94hikai:S9cC:ghHdndnaeIdbax:tawNJbbbZMgk:lJbbb9p9DTmbak:Ohixekcjjjj94hikaHai:S:ehHdndnaecwfIdbaD:tawNJbbbZMgk:lJbbb9p9DTmbak:Ohixekcjjjj94hikabaHai:T9cy:g:e83ibaeaofheabcwfhbadcufgdmbxdkkarcdthoindndnaeIdbax:tawNJbbbZMgk:lJbbb9p9DTmbak:Ohixekcjjjj94hikai:SgH9ca:gaH9cz:g9cjjj;4s:d:eaH9cFe:d:e9cF:bj;4:pj;ar:d9c:bd9:9c:p;G:d;4j:E;ar:d9cH9:9c;d;H:W:y:m:g;d;Hb:d9cv9:9c;j:KM;j:KM;j:Kd:dhOdndnaeclfIdbaq:tawNJbbbZMgk:lJbbb9p9DTmbak:Ohixekcjjjj94hikai:SgH9ca:gaH9cz:g9cjjj;4s:d:eaH9cFe:d:e9cF:bj;4:pj;ar:d9c:bd9:9c:p;G:d;4j:E;ar:d9cH9:9c;d;H:W:y:m:g;d;Hb:d9cq9:9cM;j:KM;j:KM;jl:daO:ehOdndnaecwfIdbaD:tawNJbbbZMgk:lJbbb9p9DTmbak:Ohixekcjjjj94hikabaOai:SgH9ca:gaH9cz:g9cjjj;4s:d:eaH9cFe:d:e9cF:bj;4:pj;ar:d9c:bd9:9c:p;G:d;4j:E;ar:d9cH9:9c;d;H:W:y:m:g;d;Hb:d9cC9:9c:KM;j:KM;j:KMD:d:e83ibaeaofheabcwfhbadcufgdmbkkk9teiucbcbyd;y:kjjbgeabcifc98GfgbBd;y:kjjbdndnabZbcztgd9nmbcuhiabad9RcFFifcz4nbcuSmekaehikaik;teeeudndnaeabVciGTmbabhixekdndnadcz9pmbabhixekabhiinaiaeydbBdbaiaeydlBdlaiaeydwBdwaiaeydxBdxaeczfheaiczfhiadc9Wfgdcs0mbkkadcl6mbinaiaeydbBdbaeclfheaiclfhiadc98fgdci0mbkkdnadTmbinaiaeRbb86bbaicefhiaecefheadcufgdmbkkabk:3eedudndnabciGTmbabhixekaecFeGc:b:c:ew2hldndnadcz9pmbabhixekabhiinaialBdxaialBdwaialBdlaialBdbaiczfhiadc9Wfgdcs0mbkkadcl6mbinaialBdbaiclfhiadc98fgdci0mbkkdnadTmbinaiae86bbaicefhiadcufgdmbkkabk9teiucbcbyd;y:kjjbgeabcrfc94GfgbBd;y:kjjbdndnabZbcztgd9nmbcuhiabad9RcFFifcz4nbcuSmekaehikaik9:eiuZbhedndncbyd;y:kjjbgdaecztgi9nmbcuheadai9RcFFifcz4nbcuSmekadhekcbabae9Rcifc98Gcbyd;y:kjjbfgdBd;y:kjjbdnadZbcztge9nmbadae9RcFFifcz4nb8Akkk;Qddbcjwk;mdbbbbdbbblbbbwbbbbbbbebbbdbbblbbbwbbbbbbbbbbbbbbbb4:h9w9N94:P:gW:j9O:ye9Pbbbbbbebbbdbbbebbbdbbbbbbbdbbbbbbbebbbbbbb:l29hZ;69:9kZ;N;76Z;rg97Z;z;o9xZ8J;B85Z;:;u9yZ;b;k9HZ:2;Z9DZ9e:l9mZ59A8KZ:r;T3Z:A:zYZ79OHZ;j4::8::Y:D9V8:bbbb9s:49:Z8R:hBZ9M9M;M8:L;z;o8:;8:PG89q;x:J878R:hQ8::M:B;e87bbbbbbjZbbjZbbjZ:E;V;N8::Y:DsZ9i;H;68:xd;R8:;h0838:;W:NoZbbbb:WV9O8:uf888:9i;H;68:9c9G;L89;n;m9m89;D8Ko8:bbbbf:8tZ9m836ZS:2AZL;zPZZ818EZ9e:lxZ;U98F8:819E;68:FFuuFFuuFFuuFFuFFFuFFFuFbc;mqkzebbbebbbdbbb9G:vbb", D = new Uint8Array([
4
4
  32,
@@ -3492,7 +3492,7 @@ function Nn() {
3492
3492
  const s = Math.random() * 4294967295 | 0, e = Math.random() * 4294967295 | 0, t = Math.random() * 4294967295 | 0, i = Math.random() * 4294967295 | 0;
3493
3493
  return (zi[s & 255] + zi[s >> 8 & 255] + zi[s >> 16 & 255] + zi[s >> 24 & 255] + "-" + zi[e & 255] + zi[e >> 8 & 255] + "-" + zi[e >> 16 & 15 | 64] + zi[e >> 24 & 255] + "-" + zi[t & 63 | 128] + zi[t >> 8 & 255] + "-" + zi[t >> 16 & 255] + zi[t >> 24 & 255] + zi[i & 255] + zi[i >> 8 & 255] + zi[i >> 16 & 255] + zi[i >> 24 & 255]).toLowerCase();
3494
3494
  }
3495
- function ut(s, e, t) {
3495
+ function ft(s, e, t) {
3496
3496
  return Math.max(e, Math.min(t, s));
3497
3497
  }
3498
3498
  function Xp(s, e) {
@@ -3635,7 +3635,7 @@ const pd = {
3635
3635
  * @param {number} max - The max value.
3636
3636
  * @return {number} The clamped value.
3637
3637
  */
3638
- clamp: ut,
3638
+ clamp: ft,
3639
3639
  /**
3640
3640
  * Computes the Euclidean modulo of the given parameters that
3641
3641
  * is `( ( n % m ) + m ) % m`.
@@ -4123,7 +4123,7 @@ class K {
4123
4123
  * @return {Vector2} A reference to this vector.
4124
4124
  */
4125
4125
  clamp(e, t) {
4126
- return this.x = ut(this.x, e.x, t.x), this.y = ut(this.y, e.y, t.y), this;
4126
+ return this.x = ft(this.x, e.x, t.x), this.y = ft(this.y, e.y, t.y), this;
4127
4127
  }
4128
4128
  /**
4129
4129
  * If this vector's x or y values are greater than the max value, they are
@@ -4136,7 +4136,7 @@ class K {
4136
4136
  * @return {Vector2} A reference to this vector.
4137
4137
  */
4138
4138
  clampScalar(e, t) {
4139
- return this.x = ut(this.x, e, t), this.y = ut(this.y, e, t), this;
4139
+ return this.x = ft(this.x, e, t), this.y = ft(this.y, e, t), this;
4140
4140
  }
4141
4141
  /**
4142
4142
  * If this vector's length is greater than the max value, it is replaced by
@@ -4150,7 +4150,7 @@ class K {
4150
4150
  */
4151
4151
  clampLength(e, t) {
4152
4152
  const i = this.length();
4153
- return this.divideScalar(i || 1).multiplyScalar(ut(i, e, t));
4153
+ return this.divideScalar(i || 1).multiplyScalar(ft(i, e, t));
4154
4154
  }
4155
4155
  /**
4156
4156
  * The components of this vector are rounded down to the nearest integer value.
@@ -4265,7 +4265,7 @@ class K {
4265
4265
  if (t === 0)
4266
4266
  return Math.PI / 2;
4267
4267
  const i = this.dot(e) / t;
4268
- return Math.acos(ut(i, -1, 1));
4268
+ return Math.acos(ft(i, -1, 1));
4269
4269
  }
4270
4270
  /**
4271
4271
  * Computes the distance from the given vector to this instance.
@@ -4628,7 +4628,7 @@ class ui {
4628
4628
  * @return {number} The angle in radians.
4629
4629
  */
4630
4630
  angleTo(e) {
4631
- return 2 * Math.acos(Math.abs(ut(this.dot(e), -1, 1)));
4631
+ return 2 * Math.acos(Math.abs(ft(this.dot(e), -1, 1)));
4632
4632
  }
4633
4633
  /**
4634
4634
  * Rotates this quaternion by a given angular step to the given quaternion.
@@ -5197,7 +5197,7 @@ class P {
5197
5197
  * @return {Vector3} A reference to this vector.
5198
5198
  */
5199
5199
  clamp(e, t) {
5200
- return this.x = ut(this.x, e.x, t.x), this.y = ut(this.y, e.y, t.y), this.z = ut(this.z, e.z, t.z), this;
5200
+ return this.x = ft(this.x, e.x, t.x), this.y = ft(this.y, e.y, t.y), this.z = ft(this.z, e.z, t.z), this;
5201
5201
  }
5202
5202
  /**
5203
5203
  * If this vector's x, y or z values are greater than the max value, they are
@@ -5210,7 +5210,7 @@ class P {
5210
5210
  * @return {Vector3} A reference to this vector.
5211
5211
  */
5212
5212
  clampScalar(e, t) {
5213
- return this.x = ut(this.x, e, t), this.y = ut(this.y, e, t), this.z = ut(this.z, e, t), this;
5213
+ return this.x = ft(this.x, e, t), this.y = ft(this.y, e, t), this.z = ft(this.z, e, t), this;
5214
5214
  }
5215
5215
  /**
5216
5216
  * If this vector's length is greater than the max value, it is replaced by
@@ -5224,7 +5224,7 @@ class P {
5224
5224
  */
5225
5225
  clampLength(e, t) {
5226
5226
  const i = this.length();
5227
- return this.divideScalar(i || 1).multiplyScalar(ut(i, e, t));
5227
+ return this.divideScalar(i || 1).multiplyScalar(ft(i, e, t));
5228
5228
  }
5229
5229
  /**
5230
5230
  * The components of this vector are rounded down to the nearest integer value.
@@ -5411,7 +5411,7 @@ class P {
5411
5411
  if (t === 0)
5412
5412
  return Math.PI / 2;
5413
5413
  const i = this.dot(e) / t;
5414
- return Math.acos(ut(i, -1, 1));
5414
+ return Math.acos(ft(i, -1, 1));
5415
5415
  }
5416
5416
  /**
5417
5417
  * Computes the distance from the given vector to this instance.
@@ -6776,7 +6776,7 @@ class Mt {
6776
6776
  * @return {Vector4} A reference to this vector.
6777
6777
  */
6778
6778
  clamp(e, t) {
6779
- return this.x = ut(this.x, e.x, t.x), this.y = ut(this.y, e.y, t.y), this.z = ut(this.z, e.z, t.z), this.w = ut(this.w, e.w, t.w), this;
6779
+ return this.x = ft(this.x, e.x, t.x), this.y = ft(this.y, e.y, t.y), this.z = ft(this.z, e.z, t.z), this.w = ft(this.w, e.w, t.w), this;
6780
6780
  }
6781
6781
  /**
6782
6782
  * If this vector's x, y, z or w values are greater than the max value, they are
@@ -6789,7 +6789,7 @@ class Mt {
6789
6789
  * @return {Vector4} A reference to this vector.
6790
6790
  */
6791
6791
  clampScalar(e, t) {
6792
- return this.x = ut(this.x, e, t), this.y = ut(this.y, e, t), this.z = ut(this.z, e, t), this.w = ut(this.w, e, t), this;
6792
+ return this.x = ft(this.x, e, t), this.y = ft(this.y, e, t), this.z = ft(this.z, e, t), this.w = ft(this.w, e, t), this;
6793
6793
  }
6794
6794
  /**
6795
6795
  * If this vector's length is greater than the max value, it is replaced by
@@ -6803,7 +6803,7 @@ class Mt {
6803
6803
  */
6804
6804
  clampLength(e, t) {
6805
6805
  const i = this.length();
6806
- return this.divideScalar(i || 1).multiplyScalar(ut(i, e, t));
6806
+ return this.divideScalar(i || 1).multiplyScalar(ft(i, e, t));
6807
6807
  }
6808
6808
  /**
6809
6809
  * The components of this vector are rounded down to the nearest integer value.
@@ -7176,7 +7176,7 @@ class E1 extends ci {
7176
7176
  super(null), this.isData3DTexture = !0, this.image = { data: e, width: t, height: i, depth: n }, this.magFilter = Dt, this.minFilter = Dt, this.wrapR = Zn, this.generateMipmaps = !1, this.flipY = !1, this.unpackAlignment = 1;
7177
7177
  }
7178
7178
  }
7179
- class ft {
7179
+ class ut {
7180
7180
  /**
7181
7181
  * Constructs a new bounding box.
7182
7182
  *
@@ -7585,7 +7585,7 @@ const As = [
7585
7585
  /* @__PURE__ */ new P(),
7586
7586
  /* @__PURE__ */ new P(),
7587
7587
  /* @__PURE__ */ new P()
7588
- ], Vn = /* @__PURE__ */ new P(), _c = /* @__PURE__ */ new ft(), Ea = /* @__PURE__ */ new P(), Pa = /* @__PURE__ */ new P(), Ca = /* @__PURE__ */ new P(), qs = /* @__PURE__ */ new P(), Zs = /* @__PURE__ */ new P(), Dr = /* @__PURE__ */ new P(), Go = /* @__PURE__ */ new P(), wc = /* @__PURE__ */ new P(), Sc = /* @__PURE__ */ new P(), Lr = /* @__PURE__ */ new P();
7588
+ ], Vn = /* @__PURE__ */ new P(), _c = /* @__PURE__ */ new ut(), Ea = /* @__PURE__ */ new P(), Pa = /* @__PURE__ */ new P(), Ca = /* @__PURE__ */ new P(), qs = /* @__PURE__ */ new P(), Zs = /* @__PURE__ */ new P(), Dr = /* @__PURE__ */ new P(), Go = /* @__PURE__ */ new P(), wc = /* @__PURE__ */ new P(), Sc = /* @__PURE__ */ new P(), Lr = /* @__PURE__ */ new P();
7589
7589
  function iu(s, e, t, i, n) {
7590
7590
  for (let r = 0, a = s.length - 3; r <= a; r += 3) {
7591
7591
  Lr.fromArray(s, r);
@@ -7595,7 +7595,7 @@ function iu(s, e, t, i, n) {
7595
7595
  }
7596
7596
  return !0;
7597
7597
  }
7598
- const P1 = /* @__PURE__ */ new ft(), Wo = /* @__PURE__ */ new P(), nu = /* @__PURE__ */ new P();
7598
+ const P1 = /* @__PURE__ */ new ut(), Wo = /* @__PURE__ */ new P(), nu = /* @__PURE__ */ new P();
7599
7599
  class ni {
7600
7600
  /**
7601
7601
  * Constructs a new sphere.
@@ -8889,22 +8889,22 @@ class hn {
8889
8889
  const n = e.elements, r = n[0], a = n[4], o = n[8], l = n[1], c = n[5], h = n[9], d = n[2], u = n[6], f = n[10];
8890
8890
  switch (t) {
8891
8891
  case "XYZ":
8892
- this._y = Math.asin(ut(o, -1, 1)), Math.abs(o) < 0.9999999 ? (this._x = Math.atan2(-h, f), this._z = Math.atan2(-a, r)) : (this._x = Math.atan2(u, c), this._z = 0);
8892
+ this._y = Math.asin(ft(o, -1, 1)), Math.abs(o) < 0.9999999 ? (this._x = Math.atan2(-h, f), this._z = Math.atan2(-a, r)) : (this._x = Math.atan2(u, c), this._z = 0);
8893
8893
  break;
8894
8894
  case "YXZ":
8895
- this._x = Math.asin(-ut(h, -1, 1)), Math.abs(h) < 0.9999999 ? (this._y = Math.atan2(o, f), this._z = Math.atan2(l, c)) : (this._y = Math.atan2(-d, r), this._z = 0);
8895
+ this._x = Math.asin(-ft(h, -1, 1)), Math.abs(h) < 0.9999999 ? (this._y = Math.atan2(o, f), this._z = Math.atan2(l, c)) : (this._y = Math.atan2(-d, r), this._z = 0);
8896
8896
  break;
8897
8897
  case "ZXY":
8898
- this._x = Math.asin(ut(u, -1, 1)), Math.abs(u) < 0.9999999 ? (this._y = Math.atan2(-d, f), this._z = Math.atan2(-a, c)) : (this._y = 0, this._z = Math.atan2(l, r));
8898
+ this._x = Math.asin(ft(u, -1, 1)), Math.abs(u) < 0.9999999 ? (this._y = Math.atan2(-d, f), this._z = Math.atan2(-a, c)) : (this._y = 0, this._z = Math.atan2(l, r));
8899
8899
  break;
8900
8900
  case "ZYX":
8901
- this._y = Math.asin(-ut(d, -1, 1)), Math.abs(d) < 0.9999999 ? (this._x = Math.atan2(u, f), this._z = Math.atan2(l, r)) : (this._x = 0, this._z = Math.atan2(-a, c));
8901
+ this._y = Math.asin(-ft(d, -1, 1)), Math.abs(d) < 0.9999999 ? (this._x = Math.atan2(u, f), this._z = Math.atan2(l, r)) : (this._x = 0, this._z = Math.atan2(-a, c));
8902
8902
  break;
8903
8903
  case "YZX":
8904
- this._z = Math.asin(ut(l, -1, 1)), Math.abs(l) < 0.9999999 ? (this._x = Math.atan2(-h, c), this._y = Math.atan2(-d, r)) : (this._x = 0, this._y = Math.atan2(o, f));
8904
+ this._z = Math.asin(ft(l, -1, 1)), Math.abs(l) < 0.9999999 ? (this._x = Math.atan2(-h, c), this._y = Math.atan2(-d, r)) : (this._x = 0, this._y = Math.atan2(o, f));
8905
8905
  break;
8906
8906
  case "XZY":
8907
- this._z = Math.asin(-ut(a, -1, 1)), Math.abs(a) < 0.9999999 ? (this._x = Math.atan2(u, c), this._y = Math.atan2(o, r)) : (this._x = Math.atan2(-h, f), this._y = 0);
8907
+ this._z = Math.asin(-ft(a, -1, 1)), Math.abs(a) < 0.9999999 ? (this._x = Math.atan2(u, c), this._y = Math.atan2(o, r)) : (this._x = Math.atan2(-h, f), this._y = 0);
8908
8908
  break;
8909
8909
  default:
8910
8910
  Je("Euler: .setFromRotationMatrix() encountered an unknown order: " + t);
@@ -10232,7 +10232,7 @@ class Ie {
10232
10232
  * @return {Color} A reference to this color.
10233
10233
  */
10234
10234
  setHSL(e, t, i, n = It.workingColorSpace) {
10235
- if (e = Xp(e, 1), t = ut(t, 0, 1), i = ut(i, 0, 1), t === 0)
10235
+ if (e = Xp(e, 1), t = ft(t, 0, 1), i = ft(i, 0, 1), t === 0)
10236
10236
  this.r = this.g = this.b = i;
10237
10237
  else {
10238
10238
  const r = i <= 0.5 ? i * (1 + t) : i + t - i * t, a = 2 * i - r;
@@ -10382,7 +10382,7 @@ class Ie {
10382
10382
  * @return {number} The hexadecimal value.
10383
10383
  */
10384
10384
  getHex(e = Pi) {
10385
- return It.workingToColorSpace(ki.copy(this), e), Math.round(ut(ki.r * 255, 0, 255)) * 65536 + Math.round(ut(ki.g * 255, 0, 255)) * 256 + Math.round(ut(ki.b * 255, 0, 255));
10385
+ return It.workingToColorSpace(ki.copy(this), e), Math.round(ft(ki.r * 255, 0, 255)) * 65536 + Math.round(ft(ki.g * 255, 0, 255)) * 256 + Math.round(ft(ki.b * 255, 0, 255));
10386
10386
  }
10387
10387
  /**
10388
10388
  * Returns the hexadecimal value of this color as a string (for example, 'FFFFFF').
@@ -11186,7 +11186,7 @@ class et extends ot {
11186
11186
  }
11187
11187
  }
11188
11188
  let F1 = 0;
11189
- const An = /* @__PURE__ */ new Ce(), gu = /* @__PURE__ */ new Lt(), Na = /* @__PURE__ */ new P(), mn = /* @__PURE__ */ new ft(), jo = /* @__PURE__ */ new ft(), Ai = /* @__PURE__ */ new P();
11189
+ const An = /* @__PURE__ */ new Ce(), gu = /* @__PURE__ */ new Lt(), Na = /* @__PURE__ */ new P(), mn = /* @__PURE__ */ new ut(), jo = /* @__PURE__ */ new ut(), Ai = /* @__PURE__ */ new P();
11190
11190
  class dt extends Ws {
11191
11191
  /**
11192
11192
  * Constructs a new geometry.
@@ -11437,7 +11437,7 @@ class dt extends Ws {
11437
11437
  * You may need to recompute the bounding box if the geometry vertices are modified.
11438
11438
  */
11439
11439
  computeBoundingBox() {
11440
- this.boundingBox === null && (this.boundingBox = new ft());
11440
+ this.boundingBox === null && (this.boundingBox = new ut());
11441
11441
  const e = this.attributes.position, t = this.morphAttributes.position;
11442
11442
  if (e && e.isGLBufferAttribute) {
11443
11443
  vt("BufferGeometry.computeBoundingBox(): GLBufferAttribute requires a manual bounding box.", this), this.boundingBox.set(
@@ -13235,7 +13235,7 @@ class Vx extends Q {
13235
13235
  */
13236
13236
  computeBoundingBox() {
13237
13237
  const e = this.geometry;
13238
- this.boundingBox === null && (this.boundingBox = new ft()), this.boundingBox.makeEmpty();
13238
+ this.boundingBox === null && (this.boundingBox = new ut()), this.boundingBox.makeEmpty();
13239
13239
  const t = e.getAttribute("position");
13240
13240
  for (let i = 0; i < t.count; i++)
13241
13241
  this.getVertexPosition(i, Vc), this.boundingBox.expandByPoint(Vc);
@@ -13512,7 +13512,7 @@ class yn extends ot {
13512
13512
  return e.meshPerAttribute = this.meshPerAttribute, e.isInstancedBufferAttribute = !0, e;
13513
13513
  }
13514
13514
  }
13515
- const Xa = /* @__PURE__ */ new Ce(), Zg = /* @__PURE__ */ new Ce(), Xc = [], $g = /* @__PURE__ */ new ft(), j1 = /* @__PURE__ */ new Ce(), Ko = /* @__PURE__ */ new Q(), Jo = /* @__PURE__ */ new ni();
13515
+ const Xa = /* @__PURE__ */ new Ce(), Zg = /* @__PURE__ */ new Ce(), Xc = [], $g = /* @__PURE__ */ new ut(), j1 = /* @__PURE__ */ new Ce(), Ko = /* @__PURE__ */ new Q(), Jo = /* @__PURE__ */ new ni();
13516
13516
  class Hs extends Q {
13517
13517
  /**
13518
13518
  * Constructs a new instanced mesh.
@@ -13533,7 +13533,7 @@ class Hs extends Q {
13533
13533
  */
13534
13534
  computeBoundingBox() {
13535
13535
  const e = this.geometry, t = this.count;
13536
- this.boundingBox === null && (this.boundingBox = new ft()), e.boundingBox === null && e.computeBoundingBox(), this.boundingBox.makeEmpty();
13536
+ this.boundingBox === null && (this.boundingBox = new ut()), e.boundingBox === null && e.computeBoundingBox(), this.boundingBox.makeEmpty();
13537
13537
  for (let i = 0; i < t; i++)
13538
13538
  this.getMatrixAt(i, Xa), $g.copy(e.boundingBox).applyMatrix4(Xa), this.boundingBox.union($g);
13539
13539
  }
@@ -14162,7 +14162,7 @@ class eS {
14162
14162
  this.list.length = 0, this.index = 0;
14163
14163
  }
14164
14164
  }
14165
- const rn = /* @__PURE__ */ new Ce(), tS = /* @__PURE__ */ new Ie(1, 1, 1), Kg = /* @__PURE__ */ new Oo(), iS = /* @__PURE__ */ new jp(), Yc = /* @__PURE__ */ new ft(), Br = /* @__PURE__ */ new ni(), el = /* @__PURE__ */ new P(), Jg = /* @__PURE__ */ new P(), nS = /* @__PURE__ */ new P(), Mu = /* @__PURE__ */ new eS(), Vi = /* @__PURE__ */ new Q(), Gc = [];
14165
+ const rn = /* @__PURE__ */ new Ce(), tS = /* @__PURE__ */ new Ie(1, 1, 1), Kg = /* @__PURE__ */ new Oo(), iS = /* @__PURE__ */ new jp(), Yc = /* @__PURE__ */ new ut(), Br = /* @__PURE__ */ new ni(), el = /* @__PURE__ */ new P(), Jg = /* @__PURE__ */ new P(), nS = /* @__PURE__ */ new P(), Mu = /* @__PURE__ */ new eS(), Vi = /* @__PURE__ */ new Q(), Gc = [];
14166
14166
  function sS(s, e, t = 0) {
14167
14167
  const i = e.itemSize;
14168
14168
  if (s.isInterleavedBufferAttribute || s.array.constructor !== e.array.constructor) {
@@ -14313,7 +14313,7 @@ class Xx extends Q {
14313
14313
  * otherwise they are `null`.
14314
14314
  */
14315
14315
  computeBoundingBox() {
14316
- this.boundingBox === null && (this.boundingBox = new ft());
14316
+ this.boundingBox === null && (this.boundingBox = new ut());
14317
14317
  const e = this.boundingBox, t = this._instanceInfo;
14318
14318
  e.makeEmpty();
14319
14319
  for (let i = 0, n = t.length; i < n; i++) {
@@ -14513,7 +14513,7 @@ class Xx extends Q {
14513
14513
  return null;
14514
14514
  const i = this.geometry, n = this._geometryInfo[e];
14515
14515
  if (n.boundingBox === null) {
14516
- const r = new ft(), a = i.index, o = i.attributes.position;
14516
+ const r = new ut(), a = i.index, o = i.attributes.position;
14517
14517
  for (let l = n.start, c = n.start + n.count; l < c; l++) {
14518
14518
  let h = l;
14519
14519
  a && (h = a.getX(h)), r.expandByPoint(el.fromBufferAttribute(o, h));
@@ -14685,7 +14685,7 @@ class Xx extends Q {
14685
14685
  }
14686
14686
  raycast(e, t) {
14687
14687
  const i = this._instanceInfo, n = this._geometryInfo, r = this.matrixWorld, a = this.geometry;
14688
- Vi.material = this.material, Vi.geometry.index = a.index, Vi.geometry.attributes = a.attributes, Vi.geometry.boundingBox === null && (Vi.geometry.boundingBox = new ft()), Vi.geometry.boundingSphere === null && (Vi.geometry.boundingSphere = new ni());
14688
+ Vi.material = this.material, Vi.geometry.index = a.index, Vi.geometry.attributes = a.attributes, Vi.geometry.boundingBox === null && (Vi.geometry.boundingBox = new ut()), Vi.geometry.boundingSphere === null && (Vi.geometry.boundingSphere = new ni());
14689
14689
  for (let o = 0, l = i.length; o < l; o++) {
14690
14690
  if (!i[o].visible || !i[o].active)
14691
14691
  continue;
@@ -15800,13 +15800,13 @@ class ws {
15800
15800
  for (let f = 1; f <= e; f++) {
15801
15801
  if (r[f] = r[f - 1].clone(), a[f] = a[f - 1].clone(), o.crossVectors(n[f - 1], n[f]), o.length() > Number.EPSILON) {
15802
15802
  o.normalize();
15803
- const p = Math.acos(ut(n[f - 1].dot(n[f]), -1, 1));
15803
+ const p = Math.acos(ft(n[f - 1].dot(n[f]), -1, 1));
15804
15804
  r[f].applyMatrix4(l.makeRotationAxis(o, p));
15805
15805
  }
15806
15806
  a[f].crossVectors(n[f], r[f]);
15807
15807
  }
15808
15808
  if (t === !0) {
15809
- let f = Math.acos(ut(r[0].dot(r[e]), -1, 1));
15809
+ let f = Math.acos(ft(r[0].dot(r[e]), -1, 1));
15810
15810
  f /= e, n[0].dot(o.crossVectors(r[0], r[e])) > 0 && (f = -f);
15811
15811
  for (let p = 1; p <= e; p++)
15812
15812
  r[p].applyMatrix4(l.makeRotationAxis(n[p], f * p)), a[p].crossVectors(n[p], r[p]);
@@ -17466,7 +17466,7 @@ class sm extends dt {
17466
17466
  segments: t,
17467
17467
  phiStart: i,
17468
17468
  phiLength: n
17469
- }, t = Math.floor(t), n = ut(n, 0, Math.PI * 2);
17469
+ }, t = Math.floor(t), n = ft(n, 0, Math.PI * 2);
17470
17470
  const r = [], a = [], o = [], l = [], c = [], h = 1 / t, d = new P(), u = new K(), f = new P(), p = new P(), v = new P();
17471
17471
  let g = 0, m = 0;
17472
17472
  for (let b = 0; b <= e.length - 1; b++)
@@ -18164,7 +18164,7 @@ class ts extends on {
18164
18164
  PHYSICAL: ""
18165
18165
  }, this.type = "MeshPhysicalMaterial", this.anisotropyRotation = 0, this.anisotropyMap = null, this.clearcoatMap = null, this.clearcoatRoughness = 0, this.clearcoatRoughnessMap = null, this.clearcoatNormalScale = new K(1, 1), this.clearcoatNormalMap = null, this.ior = 1.5, Object.defineProperty(this, "reflectivity", {
18166
18166
  get: function() {
18167
- return ut(2.5 * (this.ior - 1) / (this.ior + 1), 0, 1);
18167
+ return ft(2.5 * (this.ior - 1) / (this.ior + 1), 0, 1);
18168
18168
  },
18169
18169
  set: function(t) {
18170
18170
  this.ior = (1 + 0.4 * t) / (1 - 0.4 * t);
@@ -20975,12 +20975,12 @@ class aM extends Qs {
20975
20975
  case "BatchedMesh":
20976
20976
  h = o(e.geometry), d = l(e.material), a = new Xx(e.maxInstanceCount, e.maxVertexCount, e.maxIndexCount, d), a.geometry = h, a.perObjectFrustumCulled = e.perObjectFrustumCulled, a.sortObjects = e.sortObjects, a._drawRanges = e.drawRanges, a._reservedRanges = e.reservedRanges, a._geometryInfo = e.geometryInfo.map((v) => {
20977
20977
  let g = null, m = null;
20978
- return v.boundingBox !== void 0 && (g = new ft().fromJSON(v.boundingBox)), v.boundingSphere !== void 0 && (m = new ni().fromJSON(v.boundingSphere)), {
20978
+ return v.boundingBox !== void 0 && (g = new ut().fromJSON(v.boundingBox)), v.boundingSphere !== void 0 && (m = new ni().fromJSON(v.boundingSphere)), {
20979
20979
  ...v,
20980
20980
  boundingBox: g,
20981
20981
  boundingSphere: m
20982
20982
  };
20983
- }), a._instanceInfo = e.instanceInfo, a._availableInstanceIds = e._availableInstanceIds, a._availableGeometryIds = e._availableGeometryIds, a._nextIndexStart = e.nextIndexStart, a._nextVertexStart = e.nextVertexStart, a._geometryCount = e.geometryCount, a._maxInstanceCount = e.maxInstanceCount, a._maxVertexCount = e.maxVertexCount, a._maxIndexCount = e.maxIndexCount, a._geometryInitialized = e.geometryInitialized, a._matricesTexture = c(e.matricesTexture.uuid), a._indirectTexture = c(e.indirectTexture.uuid), e.colorsTexture !== void 0 && (a._colorsTexture = c(e.colorsTexture.uuid)), e.boundingSphere !== void 0 && (a.boundingSphere = new ni().fromJSON(e.boundingSphere)), e.boundingBox !== void 0 && (a.boundingBox = new ft().fromJSON(e.boundingBox));
20983
+ }), a._instanceInfo = e.instanceInfo, a._availableInstanceIds = e._availableInstanceIds, a._availableGeometryIds = e._availableGeometryIds, a._nextIndexStart = e.nextIndexStart, a._nextVertexStart = e.nextVertexStart, a._geometryCount = e.geometryCount, a._maxInstanceCount = e.maxInstanceCount, a._maxVertexCount = e.maxVertexCount, a._maxIndexCount = e.maxIndexCount, a._geometryInitialized = e.geometryInitialized, a._matricesTexture = c(e.matricesTexture.uuid), a._indirectTexture = c(e.indirectTexture.uuid), e.colorsTexture !== void 0 && (a._colorsTexture = c(e.colorsTexture.uuid)), e.boundingSphere !== void 0 && (a.boundingSphere = new ni().fromJSON(e.boundingSphere)), e.boundingBox !== void 0 && (a.boundingBox = new ut().fromJSON(e.boundingBox));
20984
20984
  break;
20985
20985
  case "LOD":
20986
20986
  a = new kx();
@@ -22535,7 +22535,7 @@ class db {
22535
22535
  * @return {Spherical} A reference to this spherical.
22536
22536
  */
22537
22537
  makeSafe() {
22538
- return this.phi = ut(this.phi, 1e-6, Math.PI - 1e-6), this;
22538
+ return this.phi = ft(this.phi, 1e-6, Math.PI - 1e-6), this;
22539
22539
  }
22540
22540
  /**
22541
22541
  * Sets the spherical components from the given vector which is assumed to hold
@@ -22556,7 +22556,7 @@ class db {
22556
22556
  * @return {Spherical} A reference to this spherical.
22557
22557
  */
22558
22558
  setFromCartesianCoords(e, t, i) {
22559
- return this.radius = Math.sqrt(e * e + t * t + i * i), this.radius === 0 ? (this.theta = 0, this.phi = 0) : (this.theta = Math.atan2(e, i), this.phi = Math.acos(ut(t / this.radius, -1, 1))), this;
22559
+ return this.radius = Math.sqrt(e * e + t * t + i * i), this.radius === 0 ? (this.theta = 0, this.phi = 0) : (this.theta = Math.atan2(e, i), this.phi = Math.acos(ft(t / this.radius, -1, 1))), this;
22560
22560
  }
22561
22561
  /**
22562
22562
  * Returns a new spherical with copied values from this instance.
@@ -22652,7 +22652,7 @@ class _s {
22652
22652
  _0.subVectors(e, this.start), nh.subVectors(this.end, this.start);
22653
22653
  const i = nh.dot(nh);
22654
22654
  let r = nh.dot(_0) / i;
22655
- return t && (r = ut(r, 0, 1)), r;
22655
+ return t && (r = ft(r, 0, 1)), r;
22656
22656
  }
22657
22657
  /**
22658
22658
  * Returns the closest point on the line for a given point.
@@ -22683,14 +22683,14 @@ class _s {
22683
22683
  if (d <= n && u <= n)
22684
22684
  return t.copy(o), i.copy(l), t.sub(i), t.dot(t);
22685
22685
  if (d <= n)
22686
- r = 0, a = f / u, a = ut(a, 0, 1);
22686
+ r = 0, a = f / u, a = ft(a, 0, 1);
22687
22687
  else {
22688
22688
  const p = Ya.dot(Lu);
22689
22689
  if (u <= n)
22690
- a = 0, r = ut(-p / d, 0, 1);
22690
+ a = 0, r = ft(-p / d, 0, 1);
22691
22691
  else {
22692
22692
  const v = Ya.dot(Ga), g = d * u - v * v;
22693
- g !== 0 ? r = ut((v * f - p * u) / g, 0, 1) : r = 0, a = (v * r + f) / u, a < 0 ? (a = 0, r = ut(-p / d, 0, 1)) : a > 1 && (a = 1, r = ut((v - p) / d, 0, 1));
22693
+ g !== 0 ? r = ft((v * f - p * u) / g, 0, 1) : r = 0, a = (v * r + f) / u, a < 0 ? (a = 0, r = ft(-p / d, 0, 1)) : a > 1 && (a = 1, r = ft((v - p) / d, 0, 1));
22694
22694
  }
22695
22695
  }
22696
22696
  return t.copy(o).add(Ya.multiplyScalar(r)), i.copy(l).add(Ga.multiplyScalar(a)), t.sub(i), t.dot(t);
@@ -22789,7 +22789,7 @@ function fi(s, e, t, i, n, r, a) {
22789
22789
  l.setXYZ(o[c], sh.x, sh.y, sh.z);
22790
22790
  }
22791
22791
  }
22792
- const rh = /* @__PURE__ */ new ft();
22792
+ const rh = /* @__PURE__ */ new ut();
22793
22793
  class TM extends Ii {
22794
22794
  /**
22795
22795
  * Constructs a new box helper.
@@ -34813,7 +34813,7 @@ const gP = {
34813
34813
  Quaternion: ui,
34814
34814
  Matrix4: Ce,
34815
34815
  Spherical: db,
34816
- Box3: ft,
34816
+ Box3: ut,
34817
34817
  Sphere: ni,
34818
34818
  Raycaster: _d,
34819
34819
  MathUtils: pd
@@ -34896,7 +34896,7 @@ class vP {
34896
34896
  focusModelByName(e = "Viral Model") {
34897
34897
  var t = this.viralViewerApi.viralScene.scene.getObjectByName(e);
34898
34898
  if (t && this.cameraControls) {
34899
- var i = new ft().setFromObject(t);
34899
+ var i = new ut().setFromObject(t);
34900
34900
  console.log(i), this.cameraControls.fitToBox(i, !0);
34901
34901
  }
34902
34902
  }
@@ -35014,7 +35014,7 @@ class vP {
35014
35014
  const t = this.viralViewerApi.viralScene.scene;
35015
35015
  if (!t || !this.camera)
35016
35016
  return;
35017
- const n = new ft().setFromObject(t).getSize(new P()), r = Math.max(n.x, n.y, n.z);
35017
+ const n = new ut().setFromObject(t).getSize(new P()), r = Math.max(n.x, n.y, n.z);
35018
35018
  this.camera.far = r + e, this.camera.updateProjectionMatrix(), this.cameraControls && (this.cameraControls.maxDistance = this.camera.far * 0.95);
35019
35019
  }
35020
35020
  /**
@@ -35505,7 +35505,7 @@ class Et {
35505
35505
  return t.length == 1 ? "0" + t : t;
35506
35506
  }
35507
35507
  static mergeBoundingBoxes(e) {
35508
- const t = new ft();
35508
+ const t = new ut();
35509
35509
  return e.forEach((i) => {
35510
35510
  t.union(i);
35511
35511
  }), t;
@@ -36358,7 +36358,7 @@ class Er {
36358
36358
  this._mesh.material = e;
36359
36359
  }
36360
36360
  }
36361
- const nv = new ft(), dh = new P();
36361
+ const nv = new ut(), dh = new P();
36362
36362
  class Ad extends cb {
36363
36363
  /**
36364
36364
  * Constructs a new line segments geometry.
@@ -36443,7 +36443,7 @@ class Ad extends cb {
36443
36443
  return this.setPositions(t.attributes.position.array), this;
36444
36444
  }
36445
36445
  computeBoundingBox() {
36446
- this.boundingBox === null && (this.boundingBox = new ft());
36446
+ this.boundingBox === null && (this.boundingBox = new ut());
36447
36447
  const e = this.attributes.instanceStart, t = this.attributes.instanceEnd;
36448
36448
  e !== void 0 && t !== void 0 && (this.boundingBox.setFromBufferAttribute(e), nv.setFromBufferAttribute(t), this.boundingBox.union(nv));
36449
36449
  }
@@ -37011,7 +37011,7 @@ class bb extends mt {
37011
37011
  this.defines && (e === !0 !== this.alphaToCoverage && (this.needsUpdate = !0), e === !0 ? this.defines.USE_ALPHA_TO_COVERAGE = "" : delete this.defines.USE_ALPHA_TO_COVERAGE);
37012
37012
  }
37013
37013
  }
37014
- const Xu = new Mt(), sv = new P(), rv = new P(), Oi = new Mt(), Ni = new Mt(), cs = new Mt(), Hu = new P(), Yu = new Ce(), Fi = new _s(), av = new P(), uh = new ft(), fh = new ni(), hs = new Mt();
37014
+ const Xu = new Mt(), sv = new P(), rv = new P(), Oi = new Mt(), Ni = new Mt(), cs = new Mt(), Hu = new P(), Yu = new Ce(), Fi = new _s(), av = new P(), uh = new ut(), fh = new ni(), hs = new Mt();
37015
37015
  let ms, sa;
37016
37016
  function ov(s, e, t) {
37017
37017
  return hs.set(0, 0, -e, 1).applyMatrix4(s.projectionMatrix), hs.multiplyScalar(1 / hs.w), hs.x = sa / t.width, hs.y = sa / t.height, hs.applyMatrix4(s.projectionMatrixInverse), hs.multiplyScalar(1 / hs.w), Math.abs(Math.max(hs.x, hs.y));
@@ -38770,7 +38770,7 @@ class yC {
38770
38770
  }
38771
38771
  }
38772
38772
  function _C(s, e, t) {
38773
- const i = e.attributes, n = new ft();
38773
+ const i = e.attributes, n = new ut();
38774
38774
  if (i.POSITION !== void 0) {
38775
38775
  const o = t.json.accessors[i.POSITION], l = o.min, c = o.max;
38776
38776
  if (l !== void 0 && c !== void 0) {
@@ -42540,22 +42540,23 @@ class Fn extends Q {
42540
42540
  //#endregion
42541
42541
  //#region geometry helper
42542
42542
  getElementBoxs(e) {
42543
- let t = this._bufferElements.find(
42544
- (i) => e.some(
42545
- (n) => i.modelId === Number.parseInt(n.modelId) && i.elementId === n.elementId
42543
+ const t = this._bufferElements.filter(
42544
+ (r) => e.some(
42545
+ (a) => r.modelId === Number.parseInt(a.modelId) && r.elementId === a.elementId
42546
42546
  )
42547
42547
  );
42548
- if (t) {
42549
- const i = new ft(), n = new P();
42550
- for (let r = 0; r < t.buffer.length; r += 3)
42551
- n.set(
42552
- t.buffer[r],
42553
- t.buffer[r + 1],
42554
- t.buffer[r + 2]
42555
- ), i.expandByPoint(n);
42556
- return i;
42557
- }
42558
- return null;
42548
+ if (t.length === 0)
42549
+ return null;
42550
+ const i = new ut(), n = new P();
42551
+ for (const r of t)
42552
+ if (r.buffer)
42553
+ for (let a = 0; a < r.buffer.length; a += 3)
42554
+ n.set(
42555
+ r.buffer[a],
42556
+ r.buffer[a + 1],
42557
+ r.buffer[a + 2]
42558
+ ), i.expandByPoint(n);
42559
+ return i;
42559
42560
  }
42560
42561
  getTotalVertexCount() {
42561
42562
  const e = this.geometry.getAttribute("position");
@@ -42586,7 +42587,7 @@ class Fn extends Q {
42586
42587
  */
42587
42588
  async createSimplifiedLODs(e) {
42588
42589
  var n, r;
42589
- const { simplifyBufferElementsBatch: t } = await import("./batched-mesh-simplifier-Bx_m6DnI.mjs"), i = [this];
42590
+ const { simplifyBufferElementsBatch: t } = await import("./batched-mesh-simplifier-keNCYakv.mjs"), i = [this];
42590
42591
  console.log(
42591
42592
  `🔨 Creating ${e.length} LOD levels for batched mesh...`
42592
42593
  );
@@ -42630,7 +42631,7 @@ class Fn extends Q {
42630
42631
  * ```
42631
42632
  */
42632
42633
  async createSimplifiedLODFast(e) {
42633
- const { simplifyBatchedMeshFast: t } = await import("./batched-mesh-simplifier-Bx_m6DnI.mjs");
42634
+ const { simplifyBatchedMeshFast: t } = await import("./batched-mesh-simplifier-keNCYakv.mjs");
42634
42635
  return t(this, e);
42635
42636
  }
42636
42637
  /**
@@ -43264,16 +43265,22 @@ if (gl_FragColor.a < 0.01) discard;`
43264
43265
  return this._bufferElements.filter((t) => t.modelId === e);
43265
43266
  }
43266
43267
  getElementBoxs(e) {
43267
- var l;
43268
- const t = e[0], i = (l = this._elementMap.get(t.modelId)) == null ? void 0 : l.get(t.elementId);
43269
- if (!i || i.length === 0)
43270
- return null;
43271
- const { instancedMesh: n, instanceIndex: r } = i[0], a = new Ce();
43272
- n.getMatrixAt(r, a);
43273
- const o = new ft().setFromBufferAttribute(
43274
- n.geometry.getAttribute("position")
43275
- );
43276
- return o.applyMatrix4(a), o;
43268
+ var n;
43269
+ const t = new ut();
43270
+ let i = !1;
43271
+ for (const r of e) {
43272
+ const a = (n = this._elementMap.get(r.modelId)) == null ? void 0 : n.get(r.elementId);
43273
+ if (!(!a || a.length === 0))
43274
+ for (const { instancedMesh: o, instanceIndex: l } of a) {
43275
+ const c = new Ce();
43276
+ o.getMatrixAt(l, c);
43277
+ const h = new ut().setFromBufferAttribute(
43278
+ o.geometry.getAttribute("position")
43279
+ );
43280
+ h.applyMatrix4(c), t.union(h), i = !0;
43281
+ }
43282
+ }
43283
+ return i ? t : null;
43277
43284
  }
43278
43285
  getTotalVertexCount() {
43279
43286
  let e = 0;
@@ -43845,9 +43852,9 @@ class FC extends Q {
43845
43852
  }
43846
43853
  get bounds() {
43847
43854
  try {
43848
- return new ft().setFromObject(this);
43855
+ return new ut().setFromObject(this);
43849
43856
  } catch {
43850
- return new ft();
43857
+ return new ut();
43851
43858
  }
43852
43859
  }
43853
43860
  setReady(e) {
@@ -47394,7 +47401,7 @@ class b3 extends Q {
47394
47401
  super(), this._viralMeshes = [], this._viralInstancedMeshes = [];
47395
47402
  }
47396
47403
  get bounds() {
47397
- return new ft().setFromObject(this);
47404
+ return new ut().setFromObject(this);
47398
47405
  }
47399
47406
  addViralMesh(e) {
47400
47407
  this.add(e), this._viralMeshes.push(e);
@@ -48116,7 +48123,7 @@ class A3 {
48116
48123
  2 * w / 2,
48117
48124
  -(2 * w) / 2
48118
48125
  ));
48119
- const T = new ft(g, m);
48126
+ const T = new ut(g, m);
48120
48127
  await ((u = this.viralViewerApi.viralCamera.cameraControls) == null ? void 0 : u.fitToBox(
48121
48128
  T,
48122
48129
  !1
@@ -49121,7 +49128,7 @@ Pn.d = (s, e) => {
49121
49128
  var Ft = {};
49122
49129
  (() => {
49123
49130
  Pn.d(Ft, { HY: () => c, K8: () => i, vF: () => g, jM: () => m, st: () => b, J7: () => ht, KV: () => Te, Tl: () => ee, gv: () => gt, LR: () => ce, C9: () => I, zF: () => Ee, XL: () => ge, uv: () => ve, vs: () => fe, YJ: () => N, i9: () => l, uD: () => o, lV: () => r, Sp: () => n, RJ: () => Ss, SB: () => kn, TL: () => x, oe: () => y, AB: () => a, dZ: () => _, Gf: () => le, gK: () => w, BT: () => S, bt: () => T, sX: () => E });
49124
- const s = (e = { AdditiveBlending: () => Hl, Box3: () => ft, BufferAttribute: () => ot, BufferGeometry: () => dt, CanvasTexture: () => np, Color: () => Ie, DataTexture: () => Bn, EventDispatcher: () => Ws, Frustum: () => Oo, GLSL3: () => ep, LessEqualDepth: () => la, LineBasicMaterial: () => dn, LineSegments: () => Ii, LinearFilter: () => jt, Matrix4: () => Ce, NearestFilter: () => Dt, NoBlending: () => $t, Object3D: () => Lt, Points: () => _o, RGBAFormat: () => Kt, RawShaderMaterial: () => hm, Scene: () => lc, ShaderMaterial: () => mt, Sphere: () => ni, Texture: () => ci, Uint8BufferAttribute: () => U1, Vector2: () => K, Vector3: () => P, Vector4: () => Mt, WebGLRenderTarget: () => Tt }, t = {}, Pn.d(t, e), t);
49131
+ const s = (e = { AdditiveBlending: () => Hl, Box3: () => ut, BufferAttribute: () => ot, BufferGeometry: () => dt, CanvasTexture: () => np, Color: () => Ie, DataTexture: () => Bn, EventDispatcher: () => Ws, Frustum: () => Oo, GLSL3: () => ep, LessEqualDepth: () => la, LineBasicMaterial: () => dn, LineSegments: () => Ii, LinearFilter: () => jt, Matrix4: () => Ce, NearestFilter: () => Dt, NoBlending: () => $t, Object3D: () => Lt, Points: () => _o, RGBAFormat: () => Kt, RawShaderMaterial: () => hm, Scene: () => lc, ShaderMaterial: () => mt, Sphere: () => ni, Texture: () => ci, Uint8BufferAttribute: () => U1, Vector2: () => K, Vector3: () => P, Vector4: () => Mt, WebGLRenderTarget: () => Tt }, t = {}, Pn.d(t, e), t);
49125
49132
  var e, t, i, n, r, a, o, l;
49126
49133
  class c extends s.ShaderMaterial {
49127
49134
  constructor() {
@@ -50722,7 +50729,7 @@ class D3 {
50722
50729
  2 * x / 2,
50723
50730
  -(2 * x) / 2
50724
50731
  ));
50725
- const y = new ft(f, p);
50732
+ const y = new ut(f, p);
50726
50733
  await ((h = this.viralViewerApi.viralCamera.cameraControls) == null ? void 0 : h.fitToBox(
50727
50734
  y,
50728
50735
  !1
@@ -50813,7 +50820,7 @@ class D3 {
50813
50820
  2 * l / 2,
50814
50821
  -(2 * l) / 2
50815
50822
  ));
50816
- const c = new ft(t, i);
50823
+ const c = new ut(t, i);
50817
50824
  await ((p = this.viralViewerApi.viralCamera.cameraControls) == null ? void 0 : p.fitToBox(
50818
50825
  c,
50819
50826
  !1
@@ -51799,7 +51806,7 @@ class sI {
51799
51806
  }
51800
51807
  const Jt = new sI();
51801
51808
  let gr, oo;
51802
- const ja = [], Sh = /* @__PURE__ */ new xm(() => new ft());
51809
+ const ja = [], Sh = /* @__PURE__ */ new xm(() => new ut());
51803
51810
  function rI(s, e, t, i, n, r) {
51804
51811
  gr = Sh.getPrimitive(), oo = Sh.getPrimitive(), ja.push(gr, oo), Jt.setBuffer(s._roots[e]);
51805
51812
  const a = pp(0, s.geometry, t, i, n, r);
@@ -52082,7 +52089,7 @@ function gp(s, e, t, i, n, r) {
52082
52089
  return b && y ? b.distance <= y.distance ? b : y : b || y || null;
52083
52090
  }
52084
52091
  }
52085
- const Ph = /* @__PURE__ */ new ft(), qa = /* @__PURE__ */ new es(), Za = /* @__PURE__ */ new es(), dl = /* @__PURE__ */ new Ce(), Mv = /* @__PURE__ */ new en(), Ch = /* @__PURE__ */ new en();
52092
+ const Ph = /* @__PURE__ */ new ut(), qa = /* @__PURE__ */ new es(), Za = /* @__PURE__ */ new es(), dl = /* @__PURE__ */ new Ce(), Mv = /* @__PURE__ */ new en(), Ch = /* @__PURE__ */ new en();
52086
52093
  function yI(s, e, t, i) {
52087
52094
  Jt.setBuffer(s._roots[e]);
52088
52095
  const n = vp(0, s, t, i);
@@ -52247,7 +52254,7 @@ function bp(s, e, t, i, n, r) {
52247
52254
  return b && y ? b.distance <= y.distance ? b : y : b || y || null;
52248
52255
  }
52249
52256
  }
52250
- const Rh = /* @__PURE__ */ new ft(), $a = /* @__PURE__ */ new es(), Ka = /* @__PURE__ */ new es(), fl = /* @__PURE__ */ new Ce(), Av = /* @__PURE__ */ new en(), Dh = /* @__PURE__ */ new en();
52257
+ const Rh = /* @__PURE__ */ new ut(), $a = /* @__PURE__ */ new es(), Ka = /* @__PURE__ */ new es(), fl = /* @__PURE__ */ new Ce(), Av = /* @__PURE__ */ new en(), Dh = /* @__PURE__ */ new en();
52251
52258
  function II(s, e, t, i) {
52252
52259
  Jt.setBuffer(s._roots[e]);
52253
52260
  const n = yp(0, s, t, i);
@@ -52335,7 +52342,7 @@ function NI(s, e, t, i = {}, n = {}, r = 0, a = 1 / 0) {
52335
52342
  function BI() {
52336
52343
  return typeof SharedArrayBuffer < "u";
52337
52344
  }
52338
- const Ll = new Jt.constructor(), ld = new Jt.constructor(), or = new xm(() => new ft()), Ja = new ft(), eo = new ft(), nf = new ft(), sf = new ft();
52345
+ const Ll = new Jt.constructor(), ld = new Jt.constructor(), or = new xm(() => new ut()), Ja = new ut(), eo = new ut(), nf = new ut(), sf = new ut();
52339
52346
  let rf = !1;
52340
52347
  function UI(s, e, t, i) {
52341
52348
  if (rf)
@@ -52549,7 +52556,7 @@ function Gn(s, e, t, i, n, r = 0, a = 0, o = 0, l = 0, c = null, h = !1) {
52549
52556
  }
52550
52557
  return T;
52551
52558
  }
52552
- const Oh = /* @__PURE__ */ new en(), Tv = /* @__PURE__ */ new ft(), FI = {
52559
+ const Oh = /* @__PURE__ */ new en(), Tv = /* @__PURE__ */ new ut(), FI = {
52553
52560
  strategy: Tb,
52554
52561
  maxDepth: 40,
52555
52562
  maxLeafTris: 10,
@@ -52611,7 +52618,7 @@ class bm {
52611
52618
  [Zu]: !1
52612
52619
  }, t), t.useSharedArrayBuffer && !BI())
52613
52620
  throw new Error("MeshBVH: SharedArrayBuffer is not available.");
52614
- this.geometry = e, this._roots = null, this._indirectBuffer = null, t[Zu] || (J3(this, t), !e.boundingBox && t.setBoundingBox && (e.boundingBox = this.getBoundingBox(new ft()))), this.resolveTriangleIndex = t.indirect ? (i) => this._indirectBuffer[i] : (i) => i;
52621
+ this.geometry = e, this._roots = null, this._indirectBuffer = null, t[Zu] || (J3(this, t), !e.boundingBox && t.setBoundingBox && (e.boundingBox = this.getBoundingBox(new ut()))), this.resolveTriangleIndex = t.indirect ? (i) => this._indirectBuffer[i] : (i) => i;
52615
52622
  }
52616
52623
  refit(e = null) {
52617
52624
  return (this.indirect ? TI : fI)(this, e);
@@ -53170,7 +53177,7 @@ class KI {
53170
53177
  this.viralViewerApi.viralScene.sunLight && (this.viralViewerApi.viralScene.sunLight.castShadow = !1), this.viralViewerApi.viralRenderer.render();
53171
53178
  }
53172
53179
  _adjustLightForMesh(e, t) {
53173
- const i = new ft().setFromObject(e), n = i.min, r = i.max, a = n.distanceTo(r), o = i.getCenter(new P()), l = t.shadow.camera;
53180
+ const i = new ut().setFromObject(e), n = i.min, r = i.max, a = n.distanceTo(r), o = i.getCenter(new P()), l = t.shadow.camera;
53174
53181
  l.left = -a / 2, l.right = a / 2, l.top = a / 2, l.bottom = -a / 2, l.near = 0.1, l.far = a + t.position.distanceTo(o), t.position.set(
53175
53182
  o.x + a / 2,
53176
53183
  o.y + a / 2,
@@ -53204,7 +53211,7 @@ class KI {
53204
53211
  r.forEach(
53205
53212
  (o) => o.applyMatrix4(e.shadow.camera.matrixWorldInverse)
53206
53213
  );
53207
- const a = new ft().setFromPoints(r);
53214
+ const a = new ut().setFromPoints(r);
53208
53215
  e.shadow.camera.left = a.min.x, e.shadow.camera.right = a.max.x, e.shadow.camera.top = a.min.y, e.shadow.camera.bottom = a.max.y, e.shadow.camera.near = Math.abs(a.max.z), e.shadow.camera.far = Math.abs(a.min.z), e.shadow.camera.updateProjectionMatrix(), this.viralViewerApi.viralRenderer.renderer.shadowMap.needsUpdate = !0;
53209
53216
  }
53210
53217
  //#endregion
@@ -53301,9 +53308,9 @@ class KI {
53301
53308
  if (this._ground)
53302
53309
  this._ground.visible = !0, this.viralViewerApi.viralRenderer.render();
53303
53310
  else {
53304
- let t = new ft();
53311
+ let t = new ut();
53305
53312
  if (e)
53306
- t = new ft().setFromObject(e);
53313
+ t = new ut().setFromObject(e);
53307
53314
  else {
53308
53315
  let l = [this.viralViewerApi.viralScene.mergedModel.bounds];
53309
53316
  t = Et.mergeBoundingBoxes(l);
@@ -54852,7 +54859,7 @@ class SR {
54852
54859
  if (e.activate) {
54853
54860
  if (t) {
54854
54861
  if (t.visible = !0, this.viralTools.viralViewerApi.viralScene.models.length > 0) {
54855
- let i = new ft().setFromObject(
54862
+ let i = new ut().setFromObject(
54856
54863
  this.viralTools.viralViewerApi.viralScene.models[0]
54857
54864
  );
54858
54865
  const n = new P();
@@ -55769,7 +55776,7 @@ class NR {
55769
55776
  }
55770
55777
  createPlaneEdges() {
55771
55778
  this.planeEdges && this.viralViewerApi.viralScene.scene.remove(this.planeEdges);
55772
- const e = new ft().setFromObject(
55779
+ const e = new ut().setFromObject(
55773
55780
  this.viralViewerApi.viralScene.mergedModel
55774
55781
  ), t = e.min, i = e.max, n = [
55775
55782
  new qi(new P(1, 0, 0), Math.abs(t.x)),
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { s as i, v as r, C as l, u as s, r as t, t as n, D as o, E as V, F as u, G as d, H as g, I as m, L as c, x as E, T as M, c as T, V as y, i as f, d as h, y as p, j as v, z as C, h as D, g as R, b, w as B, f as S, e as F, p as k, o as w, l as G, k as H, A as I, n as L, m as P, J as x, q as z } from "./index-_ARtf-uJ.mjs";
1
+ import { s as i, v as r, C as l, u as s, r as t, t as n, D as o, E as V, F as u, G as d, H as g, I as m, L as c, x as E, T as M, c as T, V as y, i as f, d as h, y as p, j as v, z as C, h as D, g as R, b, w as B, f as S, e as F, p as k, o as w, l as G, k as H, A as I, n as L, m as P, J as x, q as z } from "./index-BZ2LjLxN.mjs";
2
2
  export {
3
3
  i as BufferElement,
4
4
  r as CheckClashResult,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "viral-viewer-2",
3
- "version": "7.0.7",
3
+ "version": "7.0.8",
4
4
  "description": "",
5
5
  "main": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",