@archipelagolab/lobi 1.0.5 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/APEv2Parser-FYYGMFPI.js +15 -0
- package/dist/APEv2Parser-FYYGMFPI.js.map +7 -0
- package/dist/AiffParser-JHSDQA7T.js +194 -0
- package/dist/AiffParser-JHSDQA7T.js.map +7 -0
- package/dist/AsfParser-TPCQDEJB.js +620 -0
- package/dist/AsfParser-TPCQDEJB.js.map +7 -0
- package/dist/DsdiffParser-CGD3C3TL.js +192 -0
- package/dist/DsdiffParser-CGD3C3TL.js.map +7 -0
- package/dist/DsfParser-3UTIJVNF.js +114 -0
- package/dist/DsfParser-3UTIJVNF.js.map +7 -0
- package/dist/FlacParser-HLLYPJ76.js +16 -0
- package/dist/FlacParser-HLLYPJ76.js.map +7 -0
- package/dist/MP4Parser-SM7HYL3Z.js +1145 -0
- package/dist/MP4Parser-SM7HYL3Z.js.map +7 -0
- package/dist/MatroskaParser-X7WRZ6D4.js +662 -0
- package/dist/MatroskaParser-X7WRZ6D4.js.map +7 -0
- package/dist/MpegParser-KXQEC6KD.js +652 -0
- package/dist/MpegParser-KXQEC6KD.js.map +7 -0
- package/dist/MusepackParser-NURI46TG.js +331 -0
- package/dist/MusepackParser-NURI46TG.js.map +7 -0
- package/dist/OggParser-5IYVBXPS.js +448 -0
- package/dist/OggParser-5IYVBXPS.js.map +7 -0
- package/dist/WavPackParser-RTEHKSJH.js +209 -0
- package/dist/WavPackParser-RTEHKSJH.js.map +7 -0
- package/dist/WaveParser-3R2NLXGP.js +300 -0
- package/dist/WaveParser-3R2NLXGP.js.map +7 -0
- package/dist/auth-presence.js +2 -2
- package/dist/channel-plugin-api.js +68 -68
- package/dist/chunk-2GFROLI2.js +261 -0
- package/dist/chunk-2GFROLI2.js.map +7 -0
- package/dist/chunk-2IQWKATM.js +127 -0
- package/dist/chunk-2IQWKATM.js.map +7 -0
- package/dist/chunk-2V6Y4CAN.js +25 -0
- package/dist/chunk-2V6Y4CAN.js.map +7 -0
- package/dist/chunk-2WHRUMOM.js +321 -0
- package/dist/chunk-2WHRUMOM.js.map +7 -0
- package/dist/chunk-3GIK7SAA.js +109 -0
- package/dist/chunk-3GIK7SAA.js.map +7 -0
- package/dist/chunk-3OXOEMBS.js +123 -0
- package/dist/chunk-3OXOEMBS.js.map +7 -0
- package/dist/chunk-3R4ATE4Q.js +176 -0
- package/dist/chunk-3R4ATE4Q.js.map +7 -0
- package/dist/chunk-4CFQNJ7F.js +7 -0
- package/dist/chunk-4CFQNJ7F.js.map +7 -0
- package/dist/chunk-4COI4L2Y.js +31 -0
- package/dist/chunk-4COI4L2Y.js.map +7 -0
- package/dist/chunk-4EKKDVG3.js +1662 -0
- package/dist/chunk-4EKKDVG3.js.map +7 -0
- package/dist/chunk-4L2QI6AY.js +71 -0
- package/dist/chunk-4L2QI6AY.js.map +7 -0
- package/dist/chunk-4OXPPDV6.js +676 -0
- package/dist/chunk-4OXPPDV6.js.map +7 -0
- package/dist/chunk-4QTZHELX.js +51 -0
- package/dist/chunk-4QTZHELX.js.map +7 -0
- package/dist/chunk-4U42OJMK.js +217 -0
- package/dist/chunk-4U42OJMK.js.map +7 -0
- package/dist/chunk-4WCKVGQ5.js +193 -0
- package/dist/chunk-4WCKVGQ5.js.map +7 -0
- package/dist/chunk-4XXERLFH.js +95 -0
- package/dist/chunk-4XXERLFH.js.map +7 -0
- package/dist/chunk-4ZY2BOQ4.js +123 -0
- package/dist/chunk-4ZY2BOQ4.js.map +7 -0
- package/dist/chunk-57ROEOHB.js +183 -0
- package/dist/chunk-57ROEOHB.js.map +7 -0
- package/dist/chunk-5BQ6LLNU.js +39 -0
- package/dist/chunk-5BQ6LLNU.js.map +7 -0
- package/dist/chunk-63QTHDJL.js +52 -0
- package/dist/chunk-63QTHDJL.js.map +7 -0
- package/dist/chunk-65UUVZ6B.js +151 -0
- package/dist/chunk-65UUVZ6B.js.map +7 -0
- package/dist/chunk-6COVTMAO.js +3586 -0
- package/dist/chunk-6COVTMAO.js.map +7 -0
- package/dist/chunk-6EYPDJUD.js +34 -0
- package/dist/chunk-6EYPDJUD.js.map +7 -0
- package/dist/chunk-6HDYPVA4.js +15 -0
- package/dist/chunk-6HDYPVA4.js.map +7 -0
- package/dist/chunk-6OP3FK5F.js +266 -0
- package/dist/chunk-6OP3FK5F.js.map +7 -0
- package/dist/chunk-6RBDFNSX.js +88 -0
- package/dist/chunk-6RBDFNSX.js.map +7 -0
- package/dist/chunk-6TWWCETB.js +70 -0
- package/dist/chunk-6TWWCETB.js.map +7 -0
- package/dist/chunk-6WFHPMUF.js +17 -0
- package/dist/chunk-6WFHPMUF.js.map +7 -0
- package/dist/chunk-77BEEAPD.js +86 -0
- package/dist/chunk-77BEEAPD.js.map +7 -0
- package/dist/chunk-77JJ6QJK.js +50 -0
- package/dist/chunk-77JJ6QJK.js.map +7 -0
- package/dist/chunk-7BIUNV33.js +62 -0
- package/dist/chunk-7BIUNV33.js.map +7 -0
- package/dist/chunk-7L37R42D.js +52 -0
- package/dist/chunk-7L37R42D.js.map +7 -0
- package/dist/chunk-7ZP3KYVO.js +104 -0
- package/dist/chunk-7ZP3KYVO.js.map +7 -0
- package/dist/chunk-ARGF232V.js +32 -0
- package/dist/chunk-ARGF232V.js.map +7 -0
- package/dist/chunk-ATCJOK3K.js +24 -0
- package/dist/chunk-ATCJOK3K.js.map +7 -0
- package/dist/chunk-AUUABFHL.js +124 -0
- package/dist/chunk-AUUABFHL.js.map +7 -0
- package/dist/chunk-B3NTODO7.js +57 -0
- package/dist/chunk-B3NTODO7.js.map +7 -0
- package/dist/chunk-BM7J2W36.js +86 -0
- package/dist/chunk-BM7J2W36.js.map +7 -0
- package/dist/chunk-CEB5S2Z5.js +127 -0
- package/dist/chunk-CEB5S2Z5.js.map +7 -0
- package/dist/chunk-CEKNTCJD.js +177 -0
- package/dist/chunk-CEKNTCJD.js.map +7 -0
- package/dist/chunk-CGFDIH77.js +94 -0
- package/dist/chunk-CGFDIH77.js.map +7 -0
- package/dist/chunk-CPLEC5LJ.js +26 -0
- package/dist/chunk-CPLEC5LJ.js.map +7 -0
- package/dist/chunk-D4GYYYMW.js +155 -0
- package/dist/chunk-D4GYYYMW.js.map +7 -0
- package/dist/chunk-D64CZG54.js +78 -0
- package/dist/chunk-D64CZG54.js.map +7 -0
- package/dist/chunk-DSGPDHF2.js +737 -0
- package/dist/chunk-DSGPDHF2.js.map +7 -0
- package/dist/chunk-EBXHW7ZO.js +108 -0
- package/dist/chunk-EBXHW7ZO.js.map +7 -0
- package/dist/chunk-EO35SCFP.js +7 -0
- package/dist/chunk-EO35SCFP.js.map +7 -0
- package/dist/chunk-ER2XTD2S.js +271 -0
- package/dist/chunk-ER2XTD2S.js.map +7 -0
- package/dist/chunk-ERXO3674.js +54 -0
- package/dist/chunk-ERXO3674.js.map +7 -0
- package/dist/chunk-F43CC2X2.js +49 -0
- package/dist/chunk-F43CC2X2.js.map +7 -0
- package/dist/chunk-F64TXVJJ.js +158 -0
- package/dist/chunk-F64TXVJJ.js.map +7 -0
- package/dist/chunk-F6APWSAA.js +51 -0
- package/dist/chunk-F6APWSAA.js.map +7 -0
- package/dist/chunk-F7LNS7G3.js +235 -0
- package/dist/chunk-F7LNS7G3.js.map +7 -0
- package/dist/chunk-FCNWR7ZX.js +16352 -0
- package/dist/chunk-FCNWR7ZX.js.map +7 -0
- package/dist/chunk-FFCG5NRU.js +87 -0
- package/dist/chunk-FFCG5NRU.js.map +7 -0
- package/dist/chunk-FJFC6CRR.js +446 -0
- package/dist/chunk-FJFC6CRR.js.map +7 -0
- package/dist/chunk-FK6RGYBB.js +46 -0
- package/dist/chunk-FK6RGYBB.js.map +7 -0
- package/dist/chunk-FMY6KXK6.js +251 -0
- package/dist/chunk-FMY6KXK6.js.map +7 -0
- package/dist/chunk-FPH56SCM.js +21 -0
- package/dist/chunk-FPH56SCM.js.map +7 -0
- package/dist/chunk-FVSH4Z6T.js +173 -0
- package/dist/chunk-FVSH4Z6T.js.map +7 -0
- package/dist/chunk-FVWBLEAD.js +44 -0
- package/dist/chunk-FVWBLEAD.js.map +7 -0
- package/dist/chunk-FYSARMGS.js +93 -0
- package/dist/chunk-FYSARMGS.js.map +7 -0
- package/dist/chunk-FZJOJ6P4.js +28 -0
- package/dist/chunk-FZJOJ6P4.js.map +7 -0
- package/dist/chunk-G46GHNDU.js +4890 -0
- package/dist/chunk-G46GHNDU.js.map +7 -0
- package/dist/chunk-G4TIS2SC.js +56 -0
- package/dist/chunk-G4TIS2SC.js.map +7 -0
- package/dist/chunk-GGWS7NQP.js +247 -0
- package/dist/chunk-GGWS7NQP.js.map +7 -0
- package/dist/chunk-GRBJYAYF.js +129 -0
- package/dist/chunk-GRBJYAYF.js.map +7 -0
- package/dist/chunk-GXDQGBA2.js +106 -0
- package/dist/chunk-GXDQGBA2.js.map +7 -0
- package/dist/chunk-H2HY73I6.js +122 -0
- package/dist/chunk-H2HY73I6.js.map +7 -0
- package/dist/chunk-H5MLA6PA.js +29 -0
- package/dist/chunk-H5MLA6PA.js.map +7 -0
- package/dist/chunk-H7KAUMBC.js +635 -0
- package/dist/chunk-H7KAUMBC.js.map +7 -0
- package/dist/chunk-HGHU3TVL.js +174 -0
- package/dist/chunk-HGHU3TVL.js.map +7 -0
- package/dist/chunk-HJ5E2JRL.js +88 -0
- package/dist/chunk-HJ5E2JRL.js.map +7 -0
- package/dist/chunk-HJW3CKZL.js +94 -0
- package/dist/chunk-HJW3CKZL.js.map +7 -0
- package/dist/chunk-HKF5EBER.js +418 -0
- package/dist/chunk-HKF5EBER.js.map +7 -0
- package/dist/chunk-HLUR35G5.js +30 -0
- package/dist/chunk-HLUR35G5.js.map +7 -0
- package/dist/chunk-HNIW2NZU.js +120 -0
- package/dist/chunk-HNIW2NZU.js.map +7 -0
- package/dist/chunk-HSXRCP25.js +171 -0
- package/dist/chunk-HSXRCP25.js.map +7 -0
- package/dist/chunk-I26OPZLO.js +28 -0
- package/dist/chunk-I26OPZLO.js.map +7 -0
- package/dist/chunk-I7JJQ4BQ.js +30 -0
- package/dist/chunk-I7JJQ4BQ.js.map +7 -0
- package/dist/chunk-IJ6Y4W7F.js +392 -0
- package/dist/chunk-IJ6Y4W7F.js.map +7 -0
- package/dist/chunk-IJH4NOQ4.js +18 -0
- package/dist/chunk-IJH4NOQ4.js.map +7 -0
- package/dist/chunk-IMHRZQRH.js +76 -0
- package/dist/chunk-IMHRZQRH.js.map +7 -0
- package/dist/chunk-JB6ZQEVR.js +465 -0
- package/dist/chunk-JB6ZQEVR.js.map +7 -0
- package/dist/chunk-JCWNMWNY.js +102 -0
- package/dist/chunk-JCWNMWNY.js.map +7 -0
- package/dist/chunk-JGIZPU2Y.js +39 -0
- package/dist/chunk-JGIZPU2Y.js.map +7 -0
- package/dist/chunk-JIU4FXA7.js +485 -0
- package/dist/chunk-JIU4FXA7.js.map +7 -0
- package/dist/chunk-JU2Y33DB.js +60 -0
- package/dist/chunk-JU2Y33DB.js.map +7 -0
- package/dist/chunk-JVLRI4RU.js +62 -0
- package/dist/chunk-JVLRI4RU.js.map +7 -0
- package/dist/chunk-JZ3AVNZC.js +44117 -0
- package/dist/chunk-JZ3AVNZC.js.map +7 -0
- package/dist/chunk-K3HEWOHN.js +30 -0
- package/dist/chunk-K3HEWOHN.js.map +7 -0
- package/dist/chunk-K5EK4WZV.js +7 -0
- package/dist/chunk-K5EK4WZV.js.map +7 -0
- package/dist/chunk-KAWXMSYC.js +58 -0
- package/dist/chunk-KAWXMSYC.js.map +7 -0
- package/dist/chunk-KEGPHS4C.js +80 -0
- package/dist/chunk-KEGPHS4C.js.map +7 -0
- package/dist/chunk-KXXVR3DC.js +244 -0
- package/dist/chunk-KXXVR3DC.js.map +7 -0
- package/dist/chunk-L5T6XUDP.js +412 -0
- package/dist/chunk-L5T6XUDP.js.map +7 -0
- package/dist/chunk-LIFXTQ4U.js +7287 -0
- package/dist/chunk-LIFXTQ4U.js.map +7 -0
- package/dist/chunk-LMD5UTKM.js +169 -0
- package/dist/chunk-LMD5UTKM.js.map +7 -0
- package/dist/chunk-LTXNC6JX.js +27 -0
- package/dist/chunk-LTXNC6JX.js.map +7 -0
- package/dist/chunk-LUGTGPT6.js +138 -0
- package/dist/chunk-LUGTGPT6.js.map +7 -0
- package/dist/chunk-LZQFDJNW.js +300 -0
- package/dist/chunk-LZQFDJNW.js.map +7 -0
- package/dist/chunk-M4VQPIF4.js +5853 -0
- package/dist/chunk-M4VQPIF4.js.map +7 -0
- package/dist/chunk-M64QE4QC.js +64 -0
- package/dist/chunk-M64QE4QC.js.map +7 -0
- package/dist/chunk-MJ2GW6SU.js +163 -0
- package/dist/chunk-MJ2GW6SU.js.map +7 -0
- package/dist/chunk-MYSK3SIM.js +55 -0
- package/dist/chunk-MYSK3SIM.js.map +7 -0
- package/dist/chunk-N46MIZXB.js +154 -0
- package/dist/chunk-N46MIZXB.js.map +7 -0
- package/dist/chunk-N53537P6.js +31 -0
- package/dist/chunk-N53537P6.js.map +7 -0
- package/dist/chunk-N5CTFOLX.js +40 -0
- package/dist/chunk-N5CTFOLX.js.map +7 -0
- package/dist/chunk-NIFG55CE.js +52 -0
- package/dist/chunk-NIFG55CE.js.map +7 -0
- package/dist/chunk-NJ63ALPX.js +7 -0
- package/dist/chunk-NJ63ALPX.js.map +7 -0
- package/dist/chunk-NZVHE4IT.js +3101 -0
- package/dist/chunk-NZVHE4IT.js.map +7 -0
- package/dist/chunk-O7ORICEC.js +82 -0
- package/dist/chunk-O7ORICEC.js.map +7 -0
- package/dist/chunk-OBMBAM3N.js +73 -0
- package/dist/chunk-OBMBAM3N.js.map +7 -0
- package/dist/chunk-OJJBD5K3.js +45 -0
- package/dist/chunk-OJJBD5K3.js.map +7 -0
- package/dist/chunk-OKDOVX4B.js +699 -0
- package/dist/chunk-OKDOVX4B.js.map +7 -0
- package/dist/chunk-OVMDMCZ5.js +241 -0
- package/dist/chunk-OVMDMCZ5.js.map +7 -0
- package/dist/chunk-OVU43GJK.js +63 -0
- package/dist/chunk-OVU43GJK.js.map +7 -0
- package/dist/chunk-P3TMARA6.js +18 -0
- package/dist/chunk-P3TMARA6.js.map +7 -0
- package/dist/chunk-PLMOTQ42.js +335 -0
- package/dist/chunk-PLMOTQ42.js.map +7 -0
- package/dist/chunk-Q6H5OV2R.js +180 -0
- package/dist/chunk-Q6H5OV2R.js.map +7 -0
- package/dist/chunk-QAR5POXD.js +472 -0
- package/dist/chunk-QAR5POXD.js.map +7 -0
- package/dist/chunk-R5S76YR5.js +12 -0
- package/dist/chunk-R5S76YR5.js.map +7 -0
- package/dist/chunk-R7ZBOXPS.js +163 -0
- package/dist/chunk-R7ZBOXPS.js.map +7 -0
- package/dist/chunk-RAL3KX76.js +239 -0
- package/dist/chunk-RAL3KX76.js.map +7 -0
- package/dist/chunk-RHITG64O.js +50 -0
- package/dist/chunk-RHITG64O.js.map +7 -0
- package/dist/chunk-RK5HZFP6.js +111 -0
- package/dist/chunk-RK5HZFP6.js.map +7 -0
- package/dist/chunk-RQ26XXFS.js +45 -0
- package/dist/chunk-RQ26XXFS.js.map +7 -0
- package/dist/chunk-RSA7PKZH.js +187 -0
- package/dist/chunk-RSA7PKZH.js.map +7 -0
- package/dist/chunk-RTSINQ4T.js +78 -0
- package/dist/chunk-RTSINQ4T.js.map +7 -0
- package/dist/chunk-SH6Y4CGQ.js +175 -0
- package/dist/chunk-SH6Y4CGQ.js.map +7 -0
- package/dist/chunk-SHBAAFFH.js +74 -0
- package/dist/chunk-SHBAAFFH.js.map +7 -0
- package/dist/chunk-SPNSM6SB.js +36 -0
- package/dist/chunk-SPNSM6SB.js.map +7 -0
- package/dist/chunk-SQUHLLK5.js +125 -0
- package/dist/chunk-SQUHLLK5.js.map +7 -0
- package/dist/chunk-SWWK35VQ.js +84 -0
- package/dist/chunk-SWWK35VQ.js.map +7 -0
- package/dist/chunk-TC5ZVFV6.js +292 -0
- package/dist/chunk-TC5ZVFV6.js.map +7 -0
- package/dist/chunk-TFD7ZIYD.js +105 -0
- package/dist/chunk-TFD7ZIYD.js.map +7 -0
- package/dist/chunk-TH6ONRWT.js +516 -0
- package/dist/chunk-TH6ONRWT.js.map +7 -0
- package/dist/chunk-TMQMQ67T.js +81 -0
- package/dist/chunk-TMQMQ67T.js.map +7 -0
- package/dist/chunk-TPYWUZOR.js +178 -0
- package/dist/chunk-TPYWUZOR.js.map +7 -0
- package/dist/chunk-U2O4LE6S.js +22 -0
- package/dist/chunk-U2O4LE6S.js.map +7 -0
- package/dist/chunk-U44IVNP2.js +91 -0
- package/dist/chunk-U44IVNP2.js.map +7 -0
- package/dist/chunk-UDDWLWKZ.js +82 -0
- package/dist/chunk-UDDWLWKZ.js.map +7 -0
- package/dist/chunk-UMMPB6FL.js +506 -0
- package/dist/chunk-UMMPB6FL.js.map +7 -0
- package/dist/chunk-UP42ACP7.js +27 -0
- package/dist/chunk-UP42ACP7.js.map +7 -0
- package/dist/chunk-UPEF7ETP.js +92 -0
- package/dist/chunk-UPEF7ETP.js.map +7 -0
- package/dist/chunk-VBDLTKI2.js +130 -0
- package/dist/chunk-VBDLTKI2.js.map +7 -0
- package/dist/chunk-VCWIKEJ7.js +7 -0
- package/dist/chunk-VCWIKEJ7.js.map +7 -0
- package/dist/chunk-VPQICZQR.js +93 -0
- package/dist/chunk-VPQICZQR.js.map +7 -0
- package/dist/chunk-VRBJNFPL.js +114 -0
- package/dist/chunk-VRBJNFPL.js.map +7 -0
- package/dist/chunk-VUU5KFH3.js +38 -0
- package/dist/chunk-VUU5KFH3.js.map +7 -0
- package/dist/chunk-VVBL5CFF.js +7 -0
- package/dist/chunk-VVBL5CFF.js.map +7 -0
- package/dist/chunk-VYZEQ6KY.js +22 -0
- package/dist/chunk-VYZEQ6KY.js.map +7 -0
- package/dist/chunk-WBPQVWSU.js +198 -0
- package/dist/chunk-WBPQVWSU.js.map +7 -0
- package/dist/chunk-WS6HWBKT.js +30 -0
- package/dist/chunk-WS6HWBKT.js.map +7 -0
- package/dist/chunk-XOZPOHLG.js +233 -0
- package/dist/chunk-XOZPOHLG.js.map +7 -0
- package/dist/chunk-XR7DPSNX.js +195 -0
- package/dist/chunk-XR7DPSNX.js.map +7 -0
- package/dist/chunk-XYH4JC3U.js +7 -0
- package/dist/chunk-XYH4JC3U.js.map +7 -0
- package/dist/chunk-YB5UCHLN.js +314 -0
- package/dist/chunk-YB5UCHLN.js.map +7 -0
- package/dist/chunk-YF5DYD3X.js +97 -0
- package/dist/chunk-YF5DYD3X.js.map +7 -0
- package/dist/chunk-YGVQZCE7.js +30 -0
- package/dist/chunk-YGVQZCE7.js.map +7 -0
- package/dist/chunk-YNHADHHS.js +138 -0
- package/dist/chunk-YNHADHHS.js.map +7 -0
- package/dist/chunk-YOAMBAM2.js +70 -0
- package/dist/chunk-YOAMBAM2.js.map +7 -0
- package/dist/chunk-YWE5AQPZ.js +258 -0
- package/dist/chunk-YWE5AQPZ.js.map +7 -0
- package/dist/chunk-YWHH3MB6.js +1405 -0
- package/dist/chunk-YWHH3MB6.js.map +7 -0
- package/dist/chunk-YZ6F5N7R.js +455 -0
- package/dist/chunk-YZ6F5N7R.js.map +7 -0
- package/dist/chunk-ZFGRQIB6.js +38 -0
- package/dist/chunk-ZFGRQIB6.js.map +7 -0
- package/dist/chunk-ZGAUVPAB.js +14 -0
- package/dist/chunk-ZGAUVPAB.js.map +7 -0
- package/dist/chunk-ZGCATLM5.js +18 -0
- package/dist/chunk-ZGCATLM5.js.map +7 -0
- package/dist/chunk-ZSOPE7DO.js +92 -0
- package/dist/chunk-ZSOPE7DO.js.map +7 -0
- package/dist/chunk-ZY247PXY.js +135 -0
- package/dist/chunk-ZY247PXY.js.map +7 -0
- package/dist/cli-metadata.js +3 -3
- package/dist/contract-api.js +64 -64
- package/dist/dist-DVBXHDB4.js +549 -0
- package/dist/dist-DVBXHDB4.js.map +7 -0
- package/dist/helper-api.js +6 -6
- package/dist/index.js +8 -9
- package/dist/index.js.map +1 -1
- package/dist/magic-string.es-ITIPPYGW.js +1315 -0
- package/dist/magic-string.es-ITIPPYGW.js.map +7 -0
- package/dist/package.json +1 -1
- package/dist/plugin-entry.handlers.runtime-JLRK5XTV.js +20 -0
- package/dist/plugin-entry.handlers.runtime-JLRK5XTV.js.map +7 -0
- package/dist/runtime-api.js +9 -9
- package/dist/rust-crypto-7KS7OJ3F.js +5323 -0
- package/dist/rust-crypto-7KS7OJ3F.js.map +7 -0
- package/dist/secret-contract-api.js +3 -3
- package/dist/setup-entry.js +2 -3
- package/dist/setup-entry.js.map +1 -1
- package/dist/src/account-selection.js +5 -5
- package/dist/src/actions.js +18 -18
- package/dist/src/approval-auth.js +19 -19
- package/dist/src/approval-handler.runtime.js +55 -55
- package/dist/src/approval-ids.js +3 -3
- package/dist/src/approval-native.js +22 -22
- package/dist/src/approval-reactions.js +2 -2
- package/dist/src/auth-precedence.js +2 -2
- package/dist/src/channel-account-paths.js +3 -3
- package/dist/src/channel.js +68 -68
- package/dist/src/channel.runtime.js +51 -51
- package/dist/src/cli-metadata.js +2 -2
- package/dist/src/cli.js +63 -63
- package/dist/src/config-adapter.js +18 -18
- package/dist/src/config-schema.js +2 -2
- package/dist/src/directory-live.js +27 -27
- package/dist/src/doctor-contract.js +3 -3
- package/dist/src/doctor.js +24 -24
- package/dist/src/env-vars.js +2 -2
- package/dist/src/exec-approval-resolver.js +2 -2
- package/dist/src/exec-approvals.js +20 -20
- package/dist/src/group-mentions.js +20 -20
- package/dist/src/legacy-crypto-inspector-availability.js +2 -2
- package/dist/src/legacy-crypto.js +18 -18
- package/dist/src/legacy-state.js +16 -16
- package/dist/src/matrix/account-config.js +2 -2
- package/dist/src/matrix/accounts.js +16 -16
- package/dist/src/matrix/actions/client.js +30 -30
- package/dist/src/matrix/actions/devices.js +32 -32
- package/dist/src/matrix/actions/limits.js +2 -2
- package/dist/src/matrix/actions/messages.js +37 -37
- package/dist/src/matrix/actions/pins.js +36 -36
- package/dist/src/matrix/actions/polls.js +31 -31
- package/dist/src/matrix/actions/profile.js +32 -32
- package/dist/src/matrix/actions/reactions.js +32 -32
- package/dist/src/matrix/actions/room.js +32 -32
- package/dist/src/matrix/actions/summary.js +9 -9
- package/dist/src/matrix/actions/types.js +3 -3
- package/dist/src/matrix/actions/verification.js +37 -37
- package/dist/src/matrix/actions.js +51 -51
- package/dist/src/matrix/active-client.js +2 -2
- package/dist/src/matrix/async-lock.js +2 -2
- package/dist/src/matrix/backup-health.js +2 -2
- package/dist/src/matrix/client/config-runtime-api.js +3 -3
- package/dist/src/matrix/client/config-secret-input.runtime.js +1 -1
- package/dist/src/matrix/client/config.js +13 -13
- package/dist/src/matrix/client/create-client.js +14 -14
- package/dist/src/matrix/client/env-auth.js +14 -14
- package/dist/src/matrix/client/file-sync-store.js +17 -17
- package/dist/src/matrix/client/logging.js +5 -5
- package/dist/src/matrix/client/migration-snapshot.runtime.js +2 -2
- package/dist/src/matrix/client/private-network-host.js +2 -2
- package/dist/src/matrix/client/runtime.js +2 -2
- package/dist/src/matrix/client/shared.js +16 -16
- package/dist/src/matrix/client/storage.js +8 -8
- package/dist/src/matrix/client/types.js +1 -1
- package/dist/src/matrix/client-bootstrap.js +5 -5
- package/dist/src/matrix/client-resolver.test-helpers.js +2 -2
- package/dist/src/matrix/client.js +19 -19
- package/dist/src/matrix/config-paths.js +2 -2
- package/dist/src/matrix/config-update.js +4 -4
- package/dist/src/matrix/credentials-read.js +8 -8
- package/dist/src/matrix/credentials-write.runtime.js +1 -1
- package/dist/src/matrix/credentials.js +10 -10
- package/dist/src/matrix/deps.js +2 -2
- package/dist/src/matrix/device-health.js +2 -2
- package/dist/src/matrix/direct-management.js +6 -6
- package/dist/src/matrix/direct-room.js +2 -2
- package/dist/src/matrix/draft-stream.js +27 -27
- package/dist/src/matrix/encryption-guidance.js +7 -7
- package/dist/src/matrix/errors.js +2 -2
- package/dist/src/matrix/format.js +3 -3
- package/dist/src/matrix/legacy-crypto-inspector.js +3 -4
- package/dist/src/matrix/legacy-crypto-inspector.js.map +1 -1
- package/dist/src/matrix/media-errors.js +2 -2
- package/dist/src/matrix/media-text.js +2 -2
- package/dist/src/matrix/monitor/access-state.js +3 -3
- package/dist/src/matrix/monitor/ack-config.js +4 -4
- package/dist/src/matrix/monitor/allowlist.js +2 -2
- package/dist/src/matrix/monitor/auto-join.js +3 -3
- package/dist/src/matrix/monitor/config.js +31 -31
- package/dist/src/matrix/monitor/context-summary.js +5 -5
- package/dist/src/matrix/monitor/direct.js +7 -7
- package/dist/src/matrix/monitor/events.js +14 -14
- package/dist/src/matrix/monitor/handler.js +70 -70
- package/dist/src/matrix/monitor/handler.test-helpers.js +71 -71
- package/dist/src/matrix/monitor/inbound-dedupe.js +11 -11
- package/dist/src/matrix/monitor/index.js +100 -100
- package/dist/src/matrix/monitor/legacy-crypto-restore.js +8 -8
- package/dist/src/matrix/monitor/location.js +5 -5
- package/dist/src/matrix/monitor/media.js +4 -4
- package/dist/src/matrix/monitor/mentions.js +3 -3
- package/dist/src/matrix/monitor/reaction-events.js +30 -30
- package/dist/src/matrix/monitor/recent-invite.js +4 -4
- package/dist/src/matrix/monitor/replies.js +27 -27
- package/dist/src/matrix/monitor/reply-context.js +6 -6
- package/dist/src/matrix/monitor/room-history.js +2 -2
- package/dist/src/matrix/monitor/room-info.js +3 -3
- package/dist/src/matrix/monitor/rooms.js +3 -3
- package/dist/src/matrix/monitor/route.js +6 -6
- package/dist/src/matrix/monitor/runtime-api.js +2 -2
- package/dist/src/matrix/monitor/startup-verification.js +9 -9
- package/dist/src/matrix/monitor/startup.js +3 -3
- package/dist/src/matrix/monitor/status.js +4 -4
- package/dist/src/matrix/monitor/sync-lifecycle.js +3 -3
- package/dist/src/matrix/monitor/task-runner.js +2 -2
- package/dist/src/matrix/monitor/thread-context.js +6 -6
- package/dist/src/matrix/monitor/threads.js +4 -4
- package/dist/src/matrix/monitor/types.js +3 -3
- package/dist/src/matrix/monitor/verification-events.js +7 -7
- package/dist/src/matrix/monitor/verification-utils.js +2 -2
- package/dist/src/matrix/outbound-media-runtime.js +3 -3
- package/dist/src/matrix/poll-summary.js +4 -4
- package/dist/src/matrix/poll-types.js +3 -3
- package/dist/src/matrix/probe.js +3 -3
- package/dist/src/matrix/probe.runtime.js +19 -19
- package/dist/src/matrix/profile.js +2 -2
- package/dist/src/matrix/reaction-common.js +2 -2
- package/dist/src/matrix/sdk/crypto-bootstrap.js +9 -9
- package/dist/src/matrix/sdk/crypto-facade.js +2 -2
- package/dist/src/matrix/sdk/crypto-node.runtime.js +2 -3
- package/dist/src/matrix/sdk/crypto-node.runtime.js.map +1 -1
- package/dist/src/matrix/sdk/crypto-runtime.js +16 -16
- package/dist/src/matrix/sdk/decrypt-bridge.js +5 -5
- package/dist/src/matrix/sdk/event-helpers.js +2 -2
- package/dist/src/matrix/sdk/http-client.js +7 -7
- package/dist/src/matrix/sdk/idb-persistence-lock.js +2 -2
- package/dist/src/matrix/sdk/idb-persistence.js +5 -5
- package/dist/src/matrix/sdk/idb-persistence.test-helpers.js +1 -1
- package/dist/src/matrix/sdk/logger.js +3 -3
- package/dist/src/matrix/sdk/read-response-with-limit.js +2 -2
- package/dist/src/matrix/sdk/recovery-key-store.js +6 -6
- package/dist/src/matrix/sdk/transport.js +5 -5
- package/dist/src/matrix/sdk/types.js +1 -1
- package/dist/src/matrix/sdk/verification-manager.js +5 -5
- package/dist/src/matrix/sdk/verification-status.js +2 -2
- package/dist/src/matrix/sdk.js +31 -31
- package/dist/src/matrix/send/client.js +4 -4
- package/dist/src/matrix/send/formatting.js +7 -7
- package/dist/src/matrix/send/media.js +12 -12
- package/dist/src/matrix/send/targets.js +7 -7
- package/dist/src/matrix/send/types.js +3 -3
- package/dist/src/matrix/send.js +26 -26
- package/dist/src/matrix/session-store-metadata.js +3 -3
- package/dist/src/matrix/startup-abort.js +2 -2
- package/dist/src/matrix/sync-state.js +2 -2
- package/dist/src/matrix/target-ids.js +2 -2
- package/dist/src/matrix/thread-bindings-shared.js +2 -2
- package/dist/src/matrix/thread-bindings.js +34 -34
- package/dist/src/matrix-migration.runtime.js +22 -22
- package/dist/src/migration-config.js +15 -15
- package/dist/src/migration-snapshot-backup.js +2 -2
- package/dist/src/migration-snapshot.js +21 -21
- package/dist/src/onboarding.js +37 -37
- package/dist/src/onboarding.test-harness.js +2 -2
- package/dist/src/outbound.js +27 -27
- package/dist/src/plugin-entry.runtime.js +3 -3
- package/dist/src/profile-update.js +35 -35
- package/dist/src/record-shared.js +2 -2
- package/dist/src/resolve-targets.js +28 -28
- package/dist/src/resolver.js +2 -2
- package/dist/src/runtime-api.js +2 -2
- package/dist/src/runtime.js +2 -2
- package/dist/src/secret-contract.js +3 -3
- package/dist/src/session-route.js +19 -19
- package/dist/src/setup-bootstrap.js +46 -46
- package/dist/src/setup-config.js +18 -18
- package/dist/src/setup-contract.js +2 -2
- package/dist/src/setup-core.js +19 -19
- package/dist/src/setup-surface.js +38 -38
- package/dist/src/startup-maintenance.js +23 -23
- package/dist/src/storage-paths.js +2 -2
- package/dist/src/test-helpers.js +1 -1
- package/dist/src/test-mocks.js +2 -2
- package/dist/src/test-runtime.js +3 -3
- package/dist/src/tool-actions.js +62 -62
- package/dist/src/tool-actions.runtime.js +62 -62
- package/dist/src/types.js +1 -1
- package/dist/test-api.js +68 -68
- package/dist/thread-bindings-runtime.js +2 -2
- package/package.json +1 -1
|
@@ -0,0 +1,1662 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__commonJS,
|
|
3
|
+
__export,
|
|
4
|
+
__require,
|
|
5
|
+
__toESM,
|
|
6
|
+
init_shims
|
|
7
|
+
} from "./chunk-G4TIS2SC.js";
|
|
8
|
+
|
|
9
|
+
// ../../node_modules/ms/index.js
|
|
10
|
+
var require_ms = __commonJS({
|
|
11
|
+
"../../node_modules/ms/index.js"(exports, module) {
|
|
12
|
+
"use strict";
|
|
13
|
+
init_shims();
|
|
14
|
+
var s = 1e3;
|
|
15
|
+
var m = s * 60;
|
|
16
|
+
var h = m * 60;
|
|
17
|
+
var d = h * 24;
|
|
18
|
+
var w = d * 7;
|
|
19
|
+
var y = d * 365.25;
|
|
20
|
+
module.exports = function(val, options) {
|
|
21
|
+
options = options || {};
|
|
22
|
+
var type = typeof val;
|
|
23
|
+
if (type === "string" && val.length > 0) {
|
|
24
|
+
return parse(val);
|
|
25
|
+
} else if (type === "number" && isFinite(val)) {
|
|
26
|
+
return options.long ? fmtLong(val) : fmtShort(val);
|
|
27
|
+
}
|
|
28
|
+
throw new Error(
|
|
29
|
+
"val is not a non-empty string or a valid number. val=" + JSON.stringify(val)
|
|
30
|
+
);
|
|
31
|
+
};
|
|
32
|
+
function parse(str) {
|
|
33
|
+
str = String(str);
|
|
34
|
+
if (str.length > 100) {
|
|
35
|
+
return;
|
|
36
|
+
}
|
|
37
|
+
var match = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(
|
|
38
|
+
str
|
|
39
|
+
);
|
|
40
|
+
if (!match) {
|
|
41
|
+
return;
|
|
42
|
+
}
|
|
43
|
+
var n = parseFloat(match[1]);
|
|
44
|
+
var type = (match[2] || "ms").toLowerCase();
|
|
45
|
+
switch (type) {
|
|
46
|
+
case "years":
|
|
47
|
+
case "year":
|
|
48
|
+
case "yrs":
|
|
49
|
+
case "yr":
|
|
50
|
+
case "y":
|
|
51
|
+
return n * y;
|
|
52
|
+
case "weeks":
|
|
53
|
+
case "week":
|
|
54
|
+
case "w":
|
|
55
|
+
return n * w;
|
|
56
|
+
case "days":
|
|
57
|
+
case "day":
|
|
58
|
+
case "d":
|
|
59
|
+
return n * d;
|
|
60
|
+
case "hours":
|
|
61
|
+
case "hour":
|
|
62
|
+
case "hrs":
|
|
63
|
+
case "hr":
|
|
64
|
+
case "h":
|
|
65
|
+
return n * h;
|
|
66
|
+
case "minutes":
|
|
67
|
+
case "minute":
|
|
68
|
+
case "mins":
|
|
69
|
+
case "min":
|
|
70
|
+
case "m":
|
|
71
|
+
return n * m;
|
|
72
|
+
case "seconds":
|
|
73
|
+
case "second":
|
|
74
|
+
case "secs":
|
|
75
|
+
case "sec":
|
|
76
|
+
case "s":
|
|
77
|
+
return n * s;
|
|
78
|
+
case "milliseconds":
|
|
79
|
+
case "millisecond":
|
|
80
|
+
case "msecs":
|
|
81
|
+
case "msec":
|
|
82
|
+
case "ms":
|
|
83
|
+
return n;
|
|
84
|
+
default:
|
|
85
|
+
return void 0;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
function fmtShort(ms) {
|
|
89
|
+
var msAbs = Math.abs(ms);
|
|
90
|
+
if (msAbs >= d) {
|
|
91
|
+
return Math.round(ms / d) + "d";
|
|
92
|
+
}
|
|
93
|
+
if (msAbs >= h) {
|
|
94
|
+
return Math.round(ms / h) + "h";
|
|
95
|
+
}
|
|
96
|
+
if (msAbs >= m) {
|
|
97
|
+
return Math.round(ms / m) + "m";
|
|
98
|
+
}
|
|
99
|
+
if (msAbs >= s) {
|
|
100
|
+
return Math.round(ms / s) + "s";
|
|
101
|
+
}
|
|
102
|
+
return ms + "ms";
|
|
103
|
+
}
|
|
104
|
+
function fmtLong(ms) {
|
|
105
|
+
var msAbs = Math.abs(ms);
|
|
106
|
+
if (msAbs >= d) {
|
|
107
|
+
return plural(ms, msAbs, d, "day");
|
|
108
|
+
}
|
|
109
|
+
if (msAbs >= h) {
|
|
110
|
+
return plural(ms, msAbs, h, "hour");
|
|
111
|
+
}
|
|
112
|
+
if (msAbs >= m) {
|
|
113
|
+
return plural(ms, msAbs, m, "minute");
|
|
114
|
+
}
|
|
115
|
+
if (msAbs >= s) {
|
|
116
|
+
return plural(ms, msAbs, s, "second");
|
|
117
|
+
}
|
|
118
|
+
return ms + " ms";
|
|
119
|
+
}
|
|
120
|
+
function plural(ms, msAbs, n, name) {
|
|
121
|
+
var isPlural = msAbs >= n * 1.5;
|
|
122
|
+
return Math.round(ms / n) + " " + name + (isPlural ? "s" : "");
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
});
|
|
126
|
+
|
|
127
|
+
// ../../node_modules/debug/src/common.js
|
|
128
|
+
var require_common = __commonJS({
|
|
129
|
+
"../../node_modules/debug/src/common.js"(exports, module) {
|
|
130
|
+
"use strict";
|
|
131
|
+
init_shims();
|
|
132
|
+
function setup(env) {
|
|
133
|
+
createDebug.debug = createDebug;
|
|
134
|
+
createDebug.default = createDebug;
|
|
135
|
+
createDebug.coerce = coerce;
|
|
136
|
+
createDebug.disable = disable;
|
|
137
|
+
createDebug.enable = enable;
|
|
138
|
+
createDebug.enabled = enabled;
|
|
139
|
+
createDebug.humanize = require_ms();
|
|
140
|
+
createDebug.destroy = destroy;
|
|
141
|
+
Object.keys(env).forEach((key) => {
|
|
142
|
+
createDebug[key] = env[key];
|
|
143
|
+
});
|
|
144
|
+
createDebug.names = [];
|
|
145
|
+
createDebug.skips = [];
|
|
146
|
+
createDebug.formatters = {};
|
|
147
|
+
function selectColor(namespace) {
|
|
148
|
+
let hash = 0;
|
|
149
|
+
for (let i = 0; i < namespace.length; i++) {
|
|
150
|
+
hash = (hash << 5) - hash + namespace.charCodeAt(i);
|
|
151
|
+
hash |= 0;
|
|
152
|
+
}
|
|
153
|
+
return createDebug.colors[Math.abs(hash) % createDebug.colors.length];
|
|
154
|
+
}
|
|
155
|
+
createDebug.selectColor = selectColor;
|
|
156
|
+
function createDebug(namespace) {
|
|
157
|
+
let prevTime;
|
|
158
|
+
let enableOverride = null;
|
|
159
|
+
let namespacesCache;
|
|
160
|
+
let enabledCache;
|
|
161
|
+
function debug(...args) {
|
|
162
|
+
if (!debug.enabled) {
|
|
163
|
+
return;
|
|
164
|
+
}
|
|
165
|
+
const self = debug;
|
|
166
|
+
const curr = Number(/* @__PURE__ */ new Date());
|
|
167
|
+
const ms = curr - (prevTime || curr);
|
|
168
|
+
self.diff = ms;
|
|
169
|
+
self.prev = prevTime;
|
|
170
|
+
self.curr = curr;
|
|
171
|
+
prevTime = curr;
|
|
172
|
+
args[0] = createDebug.coerce(args[0]);
|
|
173
|
+
if (typeof args[0] !== "string") {
|
|
174
|
+
args.unshift("%O");
|
|
175
|
+
}
|
|
176
|
+
let index = 0;
|
|
177
|
+
args[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => {
|
|
178
|
+
if (match === "%%") {
|
|
179
|
+
return "%";
|
|
180
|
+
}
|
|
181
|
+
index++;
|
|
182
|
+
const formatter = createDebug.formatters[format];
|
|
183
|
+
if (typeof formatter === "function") {
|
|
184
|
+
const val = args[index];
|
|
185
|
+
match = formatter.call(self, val);
|
|
186
|
+
args.splice(index, 1);
|
|
187
|
+
index--;
|
|
188
|
+
}
|
|
189
|
+
return match;
|
|
190
|
+
});
|
|
191
|
+
createDebug.formatArgs.call(self, args);
|
|
192
|
+
const logFn = self.log || createDebug.log;
|
|
193
|
+
logFn.apply(self, args);
|
|
194
|
+
}
|
|
195
|
+
debug.namespace = namespace;
|
|
196
|
+
debug.useColors = createDebug.useColors();
|
|
197
|
+
debug.color = createDebug.selectColor(namespace);
|
|
198
|
+
debug.extend = extend;
|
|
199
|
+
debug.destroy = createDebug.destroy;
|
|
200
|
+
Object.defineProperty(debug, "enabled", {
|
|
201
|
+
enumerable: true,
|
|
202
|
+
configurable: false,
|
|
203
|
+
get: () => {
|
|
204
|
+
if (enableOverride !== null) {
|
|
205
|
+
return enableOverride;
|
|
206
|
+
}
|
|
207
|
+
if (namespacesCache !== createDebug.namespaces) {
|
|
208
|
+
namespacesCache = createDebug.namespaces;
|
|
209
|
+
enabledCache = createDebug.enabled(namespace);
|
|
210
|
+
}
|
|
211
|
+
return enabledCache;
|
|
212
|
+
},
|
|
213
|
+
set: (v) => {
|
|
214
|
+
enableOverride = v;
|
|
215
|
+
}
|
|
216
|
+
});
|
|
217
|
+
if (typeof createDebug.init === "function") {
|
|
218
|
+
createDebug.init(debug);
|
|
219
|
+
}
|
|
220
|
+
return debug;
|
|
221
|
+
}
|
|
222
|
+
function extend(namespace, delimiter) {
|
|
223
|
+
const newDebug = createDebug(this.namespace + (typeof delimiter === "undefined" ? ":" : delimiter) + namespace);
|
|
224
|
+
newDebug.log = this.log;
|
|
225
|
+
return newDebug;
|
|
226
|
+
}
|
|
227
|
+
function enable(namespaces) {
|
|
228
|
+
createDebug.save(namespaces);
|
|
229
|
+
createDebug.namespaces = namespaces;
|
|
230
|
+
createDebug.names = [];
|
|
231
|
+
createDebug.skips = [];
|
|
232
|
+
const split = (typeof namespaces === "string" ? namespaces : "").trim().replace(/\s+/g, ",").split(",").filter(Boolean);
|
|
233
|
+
for (const ns of split) {
|
|
234
|
+
if (ns[0] === "-") {
|
|
235
|
+
createDebug.skips.push(ns.slice(1));
|
|
236
|
+
} else {
|
|
237
|
+
createDebug.names.push(ns);
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
function matchesTemplate(search, template) {
|
|
242
|
+
let searchIndex = 0;
|
|
243
|
+
let templateIndex = 0;
|
|
244
|
+
let starIndex = -1;
|
|
245
|
+
let matchIndex = 0;
|
|
246
|
+
while (searchIndex < search.length) {
|
|
247
|
+
if (templateIndex < template.length && (template[templateIndex] === search[searchIndex] || template[templateIndex] === "*")) {
|
|
248
|
+
if (template[templateIndex] === "*") {
|
|
249
|
+
starIndex = templateIndex;
|
|
250
|
+
matchIndex = searchIndex;
|
|
251
|
+
templateIndex++;
|
|
252
|
+
} else {
|
|
253
|
+
searchIndex++;
|
|
254
|
+
templateIndex++;
|
|
255
|
+
}
|
|
256
|
+
} else if (starIndex !== -1) {
|
|
257
|
+
templateIndex = starIndex + 1;
|
|
258
|
+
matchIndex++;
|
|
259
|
+
searchIndex = matchIndex;
|
|
260
|
+
} else {
|
|
261
|
+
return false;
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
while (templateIndex < template.length && template[templateIndex] === "*") {
|
|
265
|
+
templateIndex++;
|
|
266
|
+
}
|
|
267
|
+
return templateIndex === template.length;
|
|
268
|
+
}
|
|
269
|
+
function disable() {
|
|
270
|
+
const namespaces = [
|
|
271
|
+
...createDebug.names,
|
|
272
|
+
...createDebug.skips.map((namespace) => "-" + namespace)
|
|
273
|
+
].join(",");
|
|
274
|
+
createDebug.enable("");
|
|
275
|
+
return namespaces;
|
|
276
|
+
}
|
|
277
|
+
function enabled(name) {
|
|
278
|
+
for (const skip of createDebug.skips) {
|
|
279
|
+
if (matchesTemplate(name, skip)) {
|
|
280
|
+
return false;
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
for (const ns of createDebug.names) {
|
|
284
|
+
if (matchesTemplate(name, ns)) {
|
|
285
|
+
return true;
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
return false;
|
|
289
|
+
}
|
|
290
|
+
function coerce(val) {
|
|
291
|
+
if (val instanceof Error) {
|
|
292
|
+
return val.stack || val.message;
|
|
293
|
+
}
|
|
294
|
+
return val;
|
|
295
|
+
}
|
|
296
|
+
function destroy() {
|
|
297
|
+
console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
|
|
298
|
+
}
|
|
299
|
+
createDebug.enable(createDebug.load());
|
|
300
|
+
return createDebug;
|
|
301
|
+
}
|
|
302
|
+
module.exports = setup;
|
|
303
|
+
}
|
|
304
|
+
});
|
|
305
|
+
|
|
306
|
+
// ../../node_modules/debug/src/browser.js
|
|
307
|
+
var require_browser = __commonJS({
|
|
308
|
+
"../../node_modules/debug/src/browser.js"(exports, module) {
|
|
309
|
+
"use strict";
|
|
310
|
+
init_shims();
|
|
311
|
+
exports.formatArgs = formatArgs;
|
|
312
|
+
exports.save = save;
|
|
313
|
+
exports.load = load;
|
|
314
|
+
exports.useColors = useColors;
|
|
315
|
+
exports.storage = localstorage();
|
|
316
|
+
exports.destroy = /* @__PURE__ */ (() => {
|
|
317
|
+
let warned = false;
|
|
318
|
+
return () => {
|
|
319
|
+
if (!warned) {
|
|
320
|
+
warned = true;
|
|
321
|
+
console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
|
|
322
|
+
}
|
|
323
|
+
};
|
|
324
|
+
})();
|
|
325
|
+
exports.colors = [
|
|
326
|
+
"#0000CC",
|
|
327
|
+
"#0000FF",
|
|
328
|
+
"#0033CC",
|
|
329
|
+
"#0033FF",
|
|
330
|
+
"#0066CC",
|
|
331
|
+
"#0066FF",
|
|
332
|
+
"#0099CC",
|
|
333
|
+
"#0099FF",
|
|
334
|
+
"#00CC00",
|
|
335
|
+
"#00CC33",
|
|
336
|
+
"#00CC66",
|
|
337
|
+
"#00CC99",
|
|
338
|
+
"#00CCCC",
|
|
339
|
+
"#00CCFF",
|
|
340
|
+
"#3300CC",
|
|
341
|
+
"#3300FF",
|
|
342
|
+
"#3333CC",
|
|
343
|
+
"#3333FF",
|
|
344
|
+
"#3366CC",
|
|
345
|
+
"#3366FF",
|
|
346
|
+
"#3399CC",
|
|
347
|
+
"#3399FF",
|
|
348
|
+
"#33CC00",
|
|
349
|
+
"#33CC33",
|
|
350
|
+
"#33CC66",
|
|
351
|
+
"#33CC99",
|
|
352
|
+
"#33CCCC",
|
|
353
|
+
"#33CCFF",
|
|
354
|
+
"#6600CC",
|
|
355
|
+
"#6600FF",
|
|
356
|
+
"#6633CC",
|
|
357
|
+
"#6633FF",
|
|
358
|
+
"#66CC00",
|
|
359
|
+
"#66CC33",
|
|
360
|
+
"#9900CC",
|
|
361
|
+
"#9900FF",
|
|
362
|
+
"#9933CC",
|
|
363
|
+
"#9933FF",
|
|
364
|
+
"#99CC00",
|
|
365
|
+
"#99CC33",
|
|
366
|
+
"#CC0000",
|
|
367
|
+
"#CC0033",
|
|
368
|
+
"#CC0066",
|
|
369
|
+
"#CC0099",
|
|
370
|
+
"#CC00CC",
|
|
371
|
+
"#CC00FF",
|
|
372
|
+
"#CC3300",
|
|
373
|
+
"#CC3333",
|
|
374
|
+
"#CC3366",
|
|
375
|
+
"#CC3399",
|
|
376
|
+
"#CC33CC",
|
|
377
|
+
"#CC33FF",
|
|
378
|
+
"#CC6600",
|
|
379
|
+
"#CC6633",
|
|
380
|
+
"#CC9900",
|
|
381
|
+
"#CC9933",
|
|
382
|
+
"#CCCC00",
|
|
383
|
+
"#CCCC33",
|
|
384
|
+
"#FF0000",
|
|
385
|
+
"#FF0033",
|
|
386
|
+
"#FF0066",
|
|
387
|
+
"#FF0099",
|
|
388
|
+
"#FF00CC",
|
|
389
|
+
"#FF00FF",
|
|
390
|
+
"#FF3300",
|
|
391
|
+
"#FF3333",
|
|
392
|
+
"#FF3366",
|
|
393
|
+
"#FF3399",
|
|
394
|
+
"#FF33CC",
|
|
395
|
+
"#FF33FF",
|
|
396
|
+
"#FF6600",
|
|
397
|
+
"#FF6633",
|
|
398
|
+
"#FF9900",
|
|
399
|
+
"#FF9933",
|
|
400
|
+
"#FFCC00",
|
|
401
|
+
"#FFCC33"
|
|
402
|
+
];
|
|
403
|
+
function useColors() {
|
|
404
|
+
if (typeof window !== "undefined" && window.process && (window.process.type === "renderer" || window.process.__nwjs)) {
|
|
405
|
+
return true;
|
|
406
|
+
}
|
|
407
|
+
if (typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) {
|
|
408
|
+
return false;
|
|
409
|
+
}
|
|
410
|
+
let m;
|
|
411
|
+
return typeof document !== "undefined" && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || // Is firebug? http://stackoverflow.com/a/398120/376773
|
|
412
|
+
typeof window !== "undefined" && window.console && (window.console.firebug || window.console.exception && window.console.table) || // Is firefox >= v31?
|
|
413
|
+
// https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages
|
|
414
|
+
typeof navigator !== "undefined" && navigator.userAgent && (m = navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)) && parseInt(m[1], 10) >= 31 || // Double check webkit in userAgent just in case we are in a worker
|
|
415
|
+
typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
|
|
416
|
+
}
|
|
417
|
+
function formatArgs(args) {
|
|
418
|
+
args[0] = (this.useColors ? "%c" : "") + this.namespace + (this.useColors ? " %c" : " ") + args[0] + (this.useColors ? "%c " : " ") + "+" + module.exports.humanize(this.diff);
|
|
419
|
+
if (!this.useColors) {
|
|
420
|
+
return;
|
|
421
|
+
}
|
|
422
|
+
const c = "color: " + this.color;
|
|
423
|
+
args.splice(1, 0, c, "color: inherit");
|
|
424
|
+
let index = 0;
|
|
425
|
+
let lastC = 0;
|
|
426
|
+
args[0].replace(/%[a-zA-Z%]/g, (match) => {
|
|
427
|
+
if (match === "%%") {
|
|
428
|
+
return;
|
|
429
|
+
}
|
|
430
|
+
index++;
|
|
431
|
+
if (match === "%c") {
|
|
432
|
+
lastC = index;
|
|
433
|
+
}
|
|
434
|
+
});
|
|
435
|
+
args.splice(lastC, 0, c);
|
|
436
|
+
}
|
|
437
|
+
exports.log = console.debug || console.log || (() => {
|
|
438
|
+
});
|
|
439
|
+
function save(namespaces) {
|
|
440
|
+
try {
|
|
441
|
+
if (namespaces) {
|
|
442
|
+
exports.storage.setItem("debug", namespaces);
|
|
443
|
+
} else {
|
|
444
|
+
exports.storage.removeItem("debug");
|
|
445
|
+
}
|
|
446
|
+
} catch (error) {
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
function load() {
|
|
450
|
+
let r;
|
|
451
|
+
try {
|
|
452
|
+
r = exports.storage.getItem("debug") || exports.storage.getItem("DEBUG");
|
|
453
|
+
} catch (error) {
|
|
454
|
+
}
|
|
455
|
+
if (!r && typeof process !== "undefined" && "env" in process) {
|
|
456
|
+
r = process.env.DEBUG;
|
|
457
|
+
}
|
|
458
|
+
return r;
|
|
459
|
+
}
|
|
460
|
+
function localstorage() {
|
|
461
|
+
try {
|
|
462
|
+
return localStorage;
|
|
463
|
+
} catch (error) {
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
module.exports = require_common()(exports);
|
|
467
|
+
var { formatters } = module.exports;
|
|
468
|
+
formatters.j = function(v) {
|
|
469
|
+
try {
|
|
470
|
+
return JSON.stringify(v);
|
|
471
|
+
} catch (error) {
|
|
472
|
+
return "[UnexpectedJSONParseError]: " + error.message;
|
|
473
|
+
}
|
|
474
|
+
};
|
|
475
|
+
}
|
|
476
|
+
});
|
|
477
|
+
|
|
478
|
+
// ../../node_modules/has-flag/index.js
|
|
479
|
+
var require_has_flag = __commonJS({
|
|
480
|
+
"../../node_modules/has-flag/index.js"(exports, module) {
|
|
481
|
+
"use strict";
|
|
482
|
+
init_shims();
|
|
483
|
+
module.exports = (flag, argv = process.argv) => {
|
|
484
|
+
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
|
|
485
|
+
const position = argv.indexOf(prefix + flag);
|
|
486
|
+
const terminatorPosition = argv.indexOf("--");
|
|
487
|
+
return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
|
|
488
|
+
};
|
|
489
|
+
}
|
|
490
|
+
});
|
|
491
|
+
|
|
492
|
+
// ../../node_modules/supports-color/index.js
|
|
493
|
+
var require_supports_color = __commonJS({
|
|
494
|
+
"../../node_modules/supports-color/index.js"(exports, module) {
|
|
495
|
+
"use strict";
|
|
496
|
+
init_shims();
|
|
497
|
+
var os = __require("os");
|
|
498
|
+
var tty = __require("tty");
|
|
499
|
+
var hasFlag = require_has_flag();
|
|
500
|
+
var { env } = process;
|
|
501
|
+
var forceColor;
|
|
502
|
+
if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never")) {
|
|
503
|
+
forceColor = 0;
|
|
504
|
+
} else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) {
|
|
505
|
+
forceColor = 1;
|
|
506
|
+
}
|
|
507
|
+
if ("FORCE_COLOR" in env) {
|
|
508
|
+
if (env.FORCE_COLOR === "true") {
|
|
509
|
+
forceColor = 1;
|
|
510
|
+
} else if (env.FORCE_COLOR === "false") {
|
|
511
|
+
forceColor = 0;
|
|
512
|
+
} else {
|
|
513
|
+
forceColor = env.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env.FORCE_COLOR, 10), 3);
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
function translateLevel(level) {
|
|
517
|
+
if (level === 0) {
|
|
518
|
+
return false;
|
|
519
|
+
}
|
|
520
|
+
return {
|
|
521
|
+
level,
|
|
522
|
+
hasBasic: true,
|
|
523
|
+
has256: level >= 2,
|
|
524
|
+
has16m: level >= 3
|
|
525
|
+
};
|
|
526
|
+
}
|
|
527
|
+
function supportsColor(haveStream, streamIsTTY) {
|
|
528
|
+
if (forceColor === 0) {
|
|
529
|
+
return 0;
|
|
530
|
+
}
|
|
531
|
+
if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) {
|
|
532
|
+
return 3;
|
|
533
|
+
}
|
|
534
|
+
if (hasFlag("color=256")) {
|
|
535
|
+
return 2;
|
|
536
|
+
}
|
|
537
|
+
if (haveStream && !streamIsTTY && forceColor === void 0) {
|
|
538
|
+
return 0;
|
|
539
|
+
}
|
|
540
|
+
const min = forceColor || 0;
|
|
541
|
+
if (env.TERM === "dumb") {
|
|
542
|
+
return min;
|
|
543
|
+
}
|
|
544
|
+
if (process.platform === "win32") {
|
|
545
|
+
const osRelease = os.release().split(".");
|
|
546
|
+
if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
|
|
547
|
+
return Number(osRelease[2]) >= 14931 ? 3 : 2;
|
|
548
|
+
}
|
|
549
|
+
return 1;
|
|
550
|
+
}
|
|
551
|
+
if ("CI" in env) {
|
|
552
|
+
if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "GITHUB_ACTIONS", "BUILDKITE"].some((sign) => sign in env) || env.CI_NAME === "codeship") {
|
|
553
|
+
return 1;
|
|
554
|
+
}
|
|
555
|
+
return min;
|
|
556
|
+
}
|
|
557
|
+
if ("TEAMCITY_VERSION" in env) {
|
|
558
|
+
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
|
|
559
|
+
}
|
|
560
|
+
if (env.COLORTERM === "truecolor") {
|
|
561
|
+
return 3;
|
|
562
|
+
}
|
|
563
|
+
if ("TERM_PROGRAM" in env) {
|
|
564
|
+
const version = parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
|
|
565
|
+
switch (env.TERM_PROGRAM) {
|
|
566
|
+
case "iTerm.app":
|
|
567
|
+
return version >= 3 ? 3 : 2;
|
|
568
|
+
case "Apple_Terminal":
|
|
569
|
+
return 2;
|
|
570
|
+
}
|
|
571
|
+
}
|
|
572
|
+
if (/-256(color)?$/i.test(env.TERM)) {
|
|
573
|
+
return 2;
|
|
574
|
+
}
|
|
575
|
+
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
|
|
576
|
+
return 1;
|
|
577
|
+
}
|
|
578
|
+
if ("COLORTERM" in env) {
|
|
579
|
+
return 1;
|
|
580
|
+
}
|
|
581
|
+
return min;
|
|
582
|
+
}
|
|
583
|
+
function getSupportLevel(stream) {
|
|
584
|
+
const level = supportsColor(stream, stream && stream.isTTY);
|
|
585
|
+
return translateLevel(level);
|
|
586
|
+
}
|
|
587
|
+
module.exports = {
|
|
588
|
+
supportsColor: getSupportLevel,
|
|
589
|
+
stdout: translateLevel(supportsColor(true, tty.isatty(1))),
|
|
590
|
+
stderr: translateLevel(supportsColor(true, tty.isatty(2)))
|
|
591
|
+
};
|
|
592
|
+
}
|
|
593
|
+
});
|
|
594
|
+
|
|
595
|
+
// ../../node_modules/debug/src/node.js
|
|
596
|
+
var require_node = __commonJS({
|
|
597
|
+
"../../node_modules/debug/src/node.js"(exports, module) {
|
|
598
|
+
"use strict";
|
|
599
|
+
init_shims();
|
|
600
|
+
var tty = __require("tty");
|
|
601
|
+
var util = __require("util");
|
|
602
|
+
exports.init = init;
|
|
603
|
+
exports.log = log;
|
|
604
|
+
exports.formatArgs = formatArgs;
|
|
605
|
+
exports.save = save;
|
|
606
|
+
exports.load = load;
|
|
607
|
+
exports.useColors = useColors;
|
|
608
|
+
exports.destroy = util.deprecate(
|
|
609
|
+
() => {
|
|
610
|
+
},
|
|
611
|
+
"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."
|
|
612
|
+
);
|
|
613
|
+
exports.colors = [6, 2, 3, 4, 5, 1];
|
|
614
|
+
try {
|
|
615
|
+
const supportsColor = require_supports_color();
|
|
616
|
+
if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) {
|
|
617
|
+
exports.colors = [
|
|
618
|
+
20,
|
|
619
|
+
21,
|
|
620
|
+
26,
|
|
621
|
+
27,
|
|
622
|
+
32,
|
|
623
|
+
33,
|
|
624
|
+
38,
|
|
625
|
+
39,
|
|
626
|
+
40,
|
|
627
|
+
41,
|
|
628
|
+
42,
|
|
629
|
+
43,
|
|
630
|
+
44,
|
|
631
|
+
45,
|
|
632
|
+
56,
|
|
633
|
+
57,
|
|
634
|
+
62,
|
|
635
|
+
63,
|
|
636
|
+
68,
|
|
637
|
+
69,
|
|
638
|
+
74,
|
|
639
|
+
75,
|
|
640
|
+
76,
|
|
641
|
+
77,
|
|
642
|
+
78,
|
|
643
|
+
79,
|
|
644
|
+
80,
|
|
645
|
+
81,
|
|
646
|
+
92,
|
|
647
|
+
93,
|
|
648
|
+
98,
|
|
649
|
+
99,
|
|
650
|
+
112,
|
|
651
|
+
113,
|
|
652
|
+
128,
|
|
653
|
+
129,
|
|
654
|
+
134,
|
|
655
|
+
135,
|
|
656
|
+
148,
|
|
657
|
+
149,
|
|
658
|
+
160,
|
|
659
|
+
161,
|
|
660
|
+
162,
|
|
661
|
+
163,
|
|
662
|
+
164,
|
|
663
|
+
165,
|
|
664
|
+
166,
|
|
665
|
+
167,
|
|
666
|
+
168,
|
|
667
|
+
169,
|
|
668
|
+
170,
|
|
669
|
+
171,
|
|
670
|
+
172,
|
|
671
|
+
173,
|
|
672
|
+
178,
|
|
673
|
+
179,
|
|
674
|
+
184,
|
|
675
|
+
185,
|
|
676
|
+
196,
|
|
677
|
+
197,
|
|
678
|
+
198,
|
|
679
|
+
199,
|
|
680
|
+
200,
|
|
681
|
+
201,
|
|
682
|
+
202,
|
|
683
|
+
203,
|
|
684
|
+
204,
|
|
685
|
+
205,
|
|
686
|
+
206,
|
|
687
|
+
207,
|
|
688
|
+
208,
|
|
689
|
+
209,
|
|
690
|
+
214,
|
|
691
|
+
215,
|
|
692
|
+
220,
|
|
693
|
+
221
|
|
694
|
+
];
|
|
695
|
+
}
|
|
696
|
+
} catch (error) {
|
|
697
|
+
}
|
|
698
|
+
exports.inspectOpts = Object.keys(process.env).filter((key) => {
|
|
699
|
+
return /^debug_/i.test(key);
|
|
700
|
+
}).reduce((obj, key) => {
|
|
701
|
+
const prop = key.substring(6).toLowerCase().replace(/_([a-z])/g, (_, k) => {
|
|
702
|
+
return k.toUpperCase();
|
|
703
|
+
});
|
|
704
|
+
let val = process.env[key];
|
|
705
|
+
if (/^(yes|on|true|enabled)$/i.test(val)) {
|
|
706
|
+
val = true;
|
|
707
|
+
} else if (/^(no|off|false|disabled)$/i.test(val)) {
|
|
708
|
+
val = false;
|
|
709
|
+
} else if (val === "null") {
|
|
710
|
+
val = null;
|
|
711
|
+
} else {
|
|
712
|
+
val = Number(val);
|
|
713
|
+
}
|
|
714
|
+
obj[prop] = val;
|
|
715
|
+
return obj;
|
|
716
|
+
}, {});
|
|
717
|
+
function useColors() {
|
|
718
|
+
return "colors" in exports.inspectOpts ? Boolean(exports.inspectOpts.colors) : tty.isatty(process.stderr.fd);
|
|
719
|
+
}
|
|
720
|
+
function formatArgs(args) {
|
|
721
|
+
const { namespace: name, useColors: useColors2 } = this;
|
|
722
|
+
if (useColors2) {
|
|
723
|
+
const c = this.color;
|
|
724
|
+
const colorCode = "\x1B[3" + (c < 8 ? c : "8;5;" + c);
|
|
725
|
+
const prefix = ` ${colorCode};1m${name} \x1B[0m`;
|
|
726
|
+
args[0] = prefix + args[0].split("\n").join("\n" + prefix);
|
|
727
|
+
args.push(colorCode + "m+" + module.exports.humanize(this.diff) + "\x1B[0m");
|
|
728
|
+
} else {
|
|
729
|
+
args[0] = getDate() + name + " " + args[0];
|
|
730
|
+
}
|
|
731
|
+
}
|
|
732
|
+
function getDate() {
|
|
733
|
+
if (exports.inspectOpts.hideDate) {
|
|
734
|
+
return "";
|
|
735
|
+
}
|
|
736
|
+
return (/* @__PURE__ */ new Date()).toISOString() + " ";
|
|
737
|
+
}
|
|
738
|
+
function log(...args) {
|
|
739
|
+
return process.stderr.write(util.formatWithOptions(exports.inspectOpts, ...args) + "\n");
|
|
740
|
+
}
|
|
741
|
+
function save(namespaces) {
|
|
742
|
+
if (namespaces) {
|
|
743
|
+
process.env.DEBUG = namespaces;
|
|
744
|
+
} else {
|
|
745
|
+
delete process.env.DEBUG;
|
|
746
|
+
}
|
|
747
|
+
}
|
|
748
|
+
function load() {
|
|
749
|
+
return process.env.DEBUG;
|
|
750
|
+
}
|
|
751
|
+
function init(debug) {
|
|
752
|
+
debug.inspectOpts = {};
|
|
753
|
+
const keys = Object.keys(exports.inspectOpts);
|
|
754
|
+
for (let i = 0; i < keys.length; i++) {
|
|
755
|
+
debug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]];
|
|
756
|
+
}
|
|
757
|
+
}
|
|
758
|
+
module.exports = require_common()(exports);
|
|
759
|
+
var { formatters } = module.exports;
|
|
760
|
+
formatters.o = function(v) {
|
|
761
|
+
this.inspectOpts.colors = this.useColors;
|
|
762
|
+
return util.inspect(v, this.inspectOpts).split("\n").map((str) => str.trim()).join(" ");
|
|
763
|
+
};
|
|
764
|
+
formatters.O = function(v) {
|
|
765
|
+
this.inspectOpts.colors = this.useColors;
|
|
766
|
+
return util.inspect(v, this.inspectOpts);
|
|
767
|
+
};
|
|
768
|
+
}
|
|
769
|
+
});
|
|
770
|
+
|
|
771
|
+
// ../../node_modules/debug/src/index.js
|
|
772
|
+
var require_src = __commonJS({
|
|
773
|
+
"../../node_modules/debug/src/index.js"(exports, module) {
|
|
774
|
+
"use strict";
|
|
775
|
+
init_shims();
|
|
776
|
+
if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) {
|
|
777
|
+
module.exports = require_browser();
|
|
778
|
+
} else {
|
|
779
|
+
module.exports = require_node();
|
|
780
|
+
}
|
|
781
|
+
}
|
|
782
|
+
});
|
|
783
|
+
|
|
784
|
+
// ../../node_modules/ieee754/index.js
|
|
785
|
+
var require_ieee754 = __commonJS({
|
|
786
|
+
"../../node_modules/ieee754/index.js"(exports) {
|
|
787
|
+
"use strict";
|
|
788
|
+
init_shims();
|
|
789
|
+
exports.read = function(buffer, offset, isLE, mLen, nBytes) {
|
|
790
|
+
var e, m;
|
|
791
|
+
var eLen = nBytes * 8 - mLen - 1;
|
|
792
|
+
var eMax = (1 << eLen) - 1;
|
|
793
|
+
var eBias = eMax >> 1;
|
|
794
|
+
var nBits = -7;
|
|
795
|
+
var i = isLE ? nBytes - 1 : 0;
|
|
796
|
+
var d = isLE ? -1 : 1;
|
|
797
|
+
var s = buffer[offset + i];
|
|
798
|
+
i += d;
|
|
799
|
+
e = s & (1 << -nBits) - 1;
|
|
800
|
+
s >>= -nBits;
|
|
801
|
+
nBits += eLen;
|
|
802
|
+
for (; nBits > 0; e = e * 256 + buffer[offset + i], i += d, nBits -= 8) {
|
|
803
|
+
}
|
|
804
|
+
m = e & (1 << -nBits) - 1;
|
|
805
|
+
e >>= -nBits;
|
|
806
|
+
nBits += mLen;
|
|
807
|
+
for (; nBits > 0; m = m * 256 + buffer[offset + i], i += d, nBits -= 8) {
|
|
808
|
+
}
|
|
809
|
+
if (e === 0) {
|
|
810
|
+
e = 1 - eBias;
|
|
811
|
+
} else if (e === eMax) {
|
|
812
|
+
return m ? NaN : (s ? -1 : 1) * Infinity;
|
|
813
|
+
} else {
|
|
814
|
+
m = m + Math.pow(2, mLen);
|
|
815
|
+
e = e - eBias;
|
|
816
|
+
}
|
|
817
|
+
return (s ? -1 : 1) * m * Math.pow(2, e - mLen);
|
|
818
|
+
};
|
|
819
|
+
exports.write = function(buffer, value, offset, isLE, mLen, nBytes) {
|
|
820
|
+
var e, m, c;
|
|
821
|
+
var eLen = nBytes * 8 - mLen - 1;
|
|
822
|
+
var eMax = (1 << eLen) - 1;
|
|
823
|
+
var eBias = eMax >> 1;
|
|
824
|
+
var rt = mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0;
|
|
825
|
+
var i = isLE ? 0 : nBytes - 1;
|
|
826
|
+
var d = isLE ? 1 : -1;
|
|
827
|
+
var s = value < 0 || value === 0 && 1 / value < 0 ? 1 : 0;
|
|
828
|
+
value = Math.abs(value);
|
|
829
|
+
if (isNaN(value) || value === Infinity) {
|
|
830
|
+
m = isNaN(value) ? 1 : 0;
|
|
831
|
+
e = eMax;
|
|
832
|
+
} else {
|
|
833
|
+
e = Math.floor(Math.log(value) / Math.LN2);
|
|
834
|
+
if (value * (c = Math.pow(2, -e)) < 1) {
|
|
835
|
+
e--;
|
|
836
|
+
c *= 2;
|
|
837
|
+
}
|
|
838
|
+
if (e + eBias >= 1) {
|
|
839
|
+
value += rt / c;
|
|
840
|
+
} else {
|
|
841
|
+
value += rt * Math.pow(2, 1 - eBias);
|
|
842
|
+
}
|
|
843
|
+
if (value * c >= 2) {
|
|
844
|
+
e++;
|
|
845
|
+
c /= 2;
|
|
846
|
+
}
|
|
847
|
+
if (e + eBias >= eMax) {
|
|
848
|
+
m = 0;
|
|
849
|
+
e = eMax;
|
|
850
|
+
} else if (e + eBias >= 1) {
|
|
851
|
+
m = (value * c - 1) * Math.pow(2, mLen);
|
|
852
|
+
e = e + eBias;
|
|
853
|
+
} else {
|
|
854
|
+
m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen);
|
|
855
|
+
e = 0;
|
|
856
|
+
}
|
|
857
|
+
}
|
|
858
|
+
for (; mLen >= 8; buffer[offset + i] = m & 255, i += d, m /= 256, mLen -= 8) {
|
|
859
|
+
}
|
|
860
|
+
e = e << mLen | m;
|
|
861
|
+
eLen += mLen;
|
|
862
|
+
for (; eLen > 0; buffer[offset + i] = e & 255, i += d, e /= 256, eLen -= 8) {
|
|
863
|
+
}
|
|
864
|
+
buffer[offset + i - d] |= s * 128;
|
|
865
|
+
};
|
|
866
|
+
}
|
|
867
|
+
});
|
|
868
|
+
|
|
869
|
+
// ../../node_modules/@borewit/text-codec/lib/index.js
|
|
870
|
+
init_shims();
|
|
871
|
+
var WINDOWS_1252_EXTRA = {
|
|
872
|
+
128: "\u20AC",
|
|
873
|
+
130: "\u201A",
|
|
874
|
+
131: "\u0192",
|
|
875
|
+
132: "\u201E",
|
|
876
|
+
133: "\u2026",
|
|
877
|
+
134: "\u2020",
|
|
878
|
+
135: "\u2021",
|
|
879
|
+
136: "\u02C6",
|
|
880
|
+
137: "\u2030",
|
|
881
|
+
138: "\u0160",
|
|
882
|
+
139: "\u2039",
|
|
883
|
+
140: "\u0152",
|
|
884
|
+
142: "\u017D",
|
|
885
|
+
145: "\u2018",
|
|
886
|
+
146: "\u2019",
|
|
887
|
+
147: "\u201C",
|
|
888
|
+
148: "\u201D",
|
|
889
|
+
149: "\u2022",
|
|
890
|
+
150: "\u2013",
|
|
891
|
+
151: "\u2014",
|
|
892
|
+
152: "\u02DC",
|
|
893
|
+
153: "\u2122",
|
|
894
|
+
154: "\u0161",
|
|
895
|
+
155: "\u203A",
|
|
896
|
+
156: "\u0153",
|
|
897
|
+
158: "\u017E",
|
|
898
|
+
159: "\u0178"
|
|
899
|
+
};
|
|
900
|
+
var WINDOWS_1252_REVERSE = {};
|
|
901
|
+
for (const [code, char] of Object.entries(WINDOWS_1252_EXTRA)) {
|
|
902
|
+
WINDOWS_1252_REVERSE[char] = Number.parseInt(code, 10);
|
|
903
|
+
}
|
|
904
|
+
var _utf8Decoder;
|
|
905
|
+
var _utf8Encoder;
|
|
906
|
+
function utf8Decoder() {
|
|
907
|
+
if (typeof globalThis.TextDecoder === "undefined")
|
|
908
|
+
return void 0;
|
|
909
|
+
return _utf8Decoder !== null && _utf8Decoder !== void 0 ? _utf8Decoder : _utf8Decoder = new globalThis.TextDecoder("utf-8");
|
|
910
|
+
}
|
|
911
|
+
function utf8Encoder() {
|
|
912
|
+
if (typeof globalThis.TextEncoder === "undefined")
|
|
913
|
+
return void 0;
|
|
914
|
+
return _utf8Encoder !== null && _utf8Encoder !== void 0 ? _utf8Encoder : _utf8Encoder = new globalThis.TextEncoder();
|
|
915
|
+
}
|
|
916
|
+
var CHUNK = 32 * 1024;
|
|
917
|
+
var REPLACEMENT = 65533;
|
|
918
|
+
function textDecode(bytes, encoding = "utf-8") {
|
|
919
|
+
switch (encoding.toLowerCase()) {
|
|
920
|
+
case "utf-8":
|
|
921
|
+
case "utf8": {
|
|
922
|
+
const dec = utf8Decoder();
|
|
923
|
+
return dec ? dec.decode(bytes) : decodeUTF8(bytes);
|
|
924
|
+
}
|
|
925
|
+
case "utf-16le":
|
|
926
|
+
return decodeUTF16LE(bytes);
|
|
927
|
+
case "us-ascii":
|
|
928
|
+
case "ascii":
|
|
929
|
+
return decodeASCII(bytes);
|
|
930
|
+
case "latin1":
|
|
931
|
+
case "iso-8859-1":
|
|
932
|
+
return decodeLatin1(bytes);
|
|
933
|
+
case "windows-1252":
|
|
934
|
+
return decodeWindows1252(bytes);
|
|
935
|
+
default:
|
|
936
|
+
throw new RangeError(`Encoding '${encoding}' not supported`);
|
|
937
|
+
}
|
|
938
|
+
}
|
|
939
|
+
function textEncode(input = "", encoding = "utf-8") {
|
|
940
|
+
switch (encoding.toLowerCase()) {
|
|
941
|
+
case "utf-8":
|
|
942
|
+
case "utf8": {
|
|
943
|
+
const enc = utf8Encoder();
|
|
944
|
+
return enc ? enc.encode(input) : encodeUTF8(input);
|
|
945
|
+
}
|
|
946
|
+
case "utf-16le":
|
|
947
|
+
return encodeUTF16LE(input);
|
|
948
|
+
case "us-ascii":
|
|
949
|
+
case "ascii":
|
|
950
|
+
return encodeASCII(input);
|
|
951
|
+
case "latin1":
|
|
952
|
+
case "iso-8859-1":
|
|
953
|
+
return encodeLatin1(input);
|
|
954
|
+
case "windows-1252":
|
|
955
|
+
return encodeWindows1252(input);
|
|
956
|
+
default:
|
|
957
|
+
throw new RangeError(`Encoding '${encoding}' not supported`);
|
|
958
|
+
}
|
|
959
|
+
}
|
|
960
|
+
function flushChunk(parts, chunk) {
|
|
961
|
+
if (chunk.length === 0)
|
|
962
|
+
return;
|
|
963
|
+
parts.push(String.fromCharCode.apply(null, chunk));
|
|
964
|
+
chunk.length = 0;
|
|
965
|
+
}
|
|
966
|
+
function pushCodeUnit(parts, chunk, codeUnit) {
|
|
967
|
+
chunk.push(codeUnit);
|
|
968
|
+
if (chunk.length >= CHUNK)
|
|
969
|
+
flushChunk(parts, chunk);
|
|
970
|
+
}
|
|
971
|
+
function pushCodePoint(parts, chunk, cp) {
|
|
972
|
+
if (cp <= 65535) {
|
|
973
|
+
pushCodeUnit(parts, chunk, cp);
|
|
974
|
+
return;
|
|
975
|
+
}
|
|
976
|
+
cp -= 65536;
|
|
977
|
+
pushCodeUnit(parts, chunk, 55296 + (cp >> 10));
|
|
978
|
+
pushCodeUnit(parts, chunk, 56320 + (cp & 1023));
|
|
979
|
+
}
|
|
980
|
+
function decodeUTF8(bytes) {
|
|
981
|
+
const parts = [];
|
|
982
|
+
const chunk = [];
|
|
983
|
+
let i = 0;
|
|
984
|
+
if (bytes.length >= 3 && bytes[0] === 239 && bytes[1] === 187 && bytes[2] === 191) {
|
|
985
|
+
i = 3;
|
|
986
|
+
}
|
|
987
|
+
while (i < bytes.length) {
|
|
988
|
+
const b1 = bytes[i];
|
|
989
|
+
if (b1 <= 127) {
|
|
990
|
+
pushCodeUnit(parts, chunk, b1);
|
|
991
|
+
i++;
|
|
992
|
+
continue;
|
|
993
|
+
}
|
|
994
|
+
if (b1 < 194 || b1 > 244) {
|
|
995
|
+
pushCodeUnit(parts, chunk, REPLACEMENT);
|
|
996
|
+
i++;
|
|
997
|
+
continue;
|
|
998
|
+
}
|
|
999
|
+
if (b1 <= 223) {
|
|
1000
|
+
if (i + 1 >= bytes.length) {
|
|
1001
|
+
pushCodeUnit(parts, chunk, REPLACEMENT);
|
|
1002
|
+
i++;
|
|
1003
|
+
continue;
|
|
1004
|
+
}
|
|
1005
|
+
const b22 = bytes[i + 1];
|
|
1006
|
+
if ((b22 & 192) !== 128) {
|
|
1007
|
+
pushCodeUnit(parts, chunk, REPLACEMENT);
|
|
1008
|
+
i++;
|
|
1009
|
+
continue;
|
|
1010
|
+
}
|
|
1011
|
+
const cp2 = (b1 & 31) << 6 | b22 & 63;
|
|
1012
|
+
pushCodeUnit(parts, chunk, cp2);
|
|
1013
|
+
i += 2;
|
|
1014
|
+
continue;
|
|
1015
|
+
}
|
|
1016
|
+
if (b1 <= 239) {
|
|
1017
|
+
if (i + 2 >= bytes.length) {
|
|
1018
|
+
pushCodeUnit(parts, chunk, REPLACEMENT);
|
|
1019
|
+
i++;
|
|
1020
|
+
continue;
|
|
1021
|
+
}
|
|
1022
|
+
const b22 = bytes[i + 1];
|
|
1023
|
+
const b32 = bytes[i + 2];
|
|
1024
|
+
const valid2 = (b22 & 192) === 128 && (b32 & 192) === 128 && !(b1 === 224 && b22 < 160) && // overlong
|
|
1025
|
+
!(b1 === 237 && b22 >= 160);
|
|
1026
|
+
if (!valid2) {
|
|
1027
|
+
pushCodeUnit(parts, chunk, REPLACEMENT);
|
|
1028
|
+
i++;
|
|
1029
|
+
continue;
|
|
1030
|
+
}
|
|
1031
|
+
const cp2 = (b1 & 15) << 12 | (b22 & 63) << 6 | b32 & 63;
|
|
1032
|
+
pushCodeUnit(parts, chunk, cp2);
|
|
1033
|
+
i += 3;
|
|
1034
|
+
continue;
|
|
1035
|
+
}
|
|
1036
|
+
if (i + 3 >= bytes.length) {
|
|
1037
|
+
pushCodeUnit(parts, chunk, REPLACEMENT);
|
|
1038
|
+
i++;
|
|
1039
|
+
continue;
|
|
1040
|
+
}
|
|
1041
|
+
const b2 = bytes[i + 1];
|
|
1042
|
+
const b3 = bytes[i + 2];
|
|
1043
|
+
const b4 = bytes[i + 3];
|
|
1044
|
+
const valid = (b2 & 192) === 128 && (b3 & 192) === 128 && (b4 & 192) === 128 && !(b1 === 240 && b2 < 144) && // overlong
|
|
1045
|
+
!(b1 === 244 && b2 > 143);
|
|
1046
|
+
if (!valid) {
|
|
1047
|
+
pushCodeUnit(parts, chunk, REPLACEMENT);
|
|
1048
|
+
i++;
|
|
1049
|
+
continue;
|
|
1050
|
+
}
|
|
1051
|
+
const cp = (b1 & 7) << 18 | (b2 & 63) << 12 | (b3 & 63) << 6 | b4 & 63;
|
|
1052
|
+
pushCodePoint(parts, chunk, cp);
|
|
1053
|
+
i += 4;
|
|
1054
|
+
}
|
|
1055
|
+
flushChunk(parts, chunk);
|
|
1056
|
+
return parts.join("");
|
|
1057
|
+
}
|
|
1058
|
+
function decodeUTF16LE(bytes) {
|
|
1059
|
+
const parts = [];
|
|
1060
|
+
const chunk = [];
|
|
1061
|
+
const len = bytes.length;
|
|
1062
|
+
let i = 0;
|
|
1063
|
+
while (i + 1 < len) {
|
|
1064
|
+
const u1 = bytes[i] | bytes[i + 1] << 8;
|
|
1065
|
+
i += 2;
|
|
1066
|
+
if (u1 >= 55296 && u1 <= 56319) {
|
|
1067
|
+
if (i + 1 < len) {
|
|
1068
|
+
const u2 = bytes[i] | bytes[i + 1] << 8;
|
|
1069
|
+
if (u2 >= 56320 && u2 <= 57343) {
|
|
1070
|
+
pushCodeUnit(parts, chunk, u1);
|
|
1071
|
+
pushCodeUnit(parts, chunk, u2);
|
|
1072
|
+
i += 2;
|
|
1073
|
+
} else {
|
|
1074
|
+
pushCodeUnit(parts, chunk, REPLACEMENT);
|
|
1075
|
+
}
|
|
1076
|
+
} else {
|
|
1077
|
+
pushCodeUnit(parts, chunk, REPLACEMENT);
|
|
1078
|
+
}
|
|
1079
|
+
continue;
|
|
1080
|
+
}
|
|
1081
|
+
if (u1 >= 56320 && u1 <= 57343) {
|
|
1082
|
+
pushCodeUnit(parts, chunk, REPLACEMENT);
|
|
1083
|
+
continue;
|
|
1084
|
+
}
|
|
1085
|
+
pushCodeUnit(parts, chunk, u1);
|
|
1086
|
+
}
|
|
1087
|
+
if (i < len) {
|
|
1088
|
+
pushCodeUnit(parts, chunk, REPLACEMENT);
|
|
1089
|
+
}
|
|
1090
|
+
flushChunk(parts, chunk);
|
|
1091
|
+
return parts.join("");
|
|
1092
|
+
}
|
|
1093
|
+
function decodeASCII(bytes) {
|
|
1094
|
+
const parts = [];
|
|
1095
|
+
for (let i = 0; i < bytes.length; i += CHUNK) {
|
|
1096
|
+
const end = Math.min(bytes.length, i + CHUNK);
|
|
1097
|
+
const codes = new Array(end - i);
|
|
1098
|
+
for (let j = i, k = 0; j < end; j++, k++) {
|
|
1099
|
+
codes[k] = bytes[j] & 127;
|
|
1100
|
+
}
|
|
1101
|
+
parts.push(String.fromCharCode.apply(null, codes));
|
|
1102
|
+
}
|
|
1103
|
+
return parts.join("");
|
|
1104
|
+
}
|
|
1105
|
+
function decodeLatin1(bytes) {
|
|
1106
|
+
const parts = [];
|
|
1107
|
+
for (let i = 0; i < bytes.length; i += CHUNK) {
|
|
1108
|
+
const end = Math.min(bytes.length, i + CHUNK);
|
|
1109
|
+
const codes = new Array(end - i);
|
|
1110
|
+
for (let j = i, k = 0; j < end; j++, k++) {
|
|
1111
|
+
codes[k] = bytes[j];
|
|
1112
|
+
}
|
|
1113
|
+
parts.push(String.fromCharCode.apply(null, codes));
|
|
1114
|
+
}
|
|
1115
|
+
return parts.join("");
|
|
1116
|
+
}
|
|
1117
|
+
function decodeWindows1252(bytes) {
|
|
1118
|
+
const parts = [];
|
|
1119
|
+
let out = "";
|
|
1120
|
+
for (let i = 0; i < bytes.length; i++) {
|
|
1121
|
+
const b = bytes[i];
|
|
1122
|
+
const extra = b >= 128 && b <= 159 ? WINDOWS_1252_EXTRA[b] : void 0;
|
|
1123
|
+
out += extra !== null && extra !== void 0 ? extra : String.fromCharCode(b);
|
|
1124
|
+
if (out.length >= CHUNK) {
|
|
1125
|
+
parts.push(out);
|
|
1126
|
+
out = "";
|
|
1127
|
+
}
|
|
1128
|
+
}
|
|
1129
|
+
if (out)
|
|
1130
|
+
parts.push(out);
|
|
1131
|
+
return parts.join("");
|
|
1132
|
+
}
|
|
1133
|
+
function encodeUTF8(str) {
|
|
1134
|
+
const out = [];
|
|
1135
|
+
for (let i = 0; i < str.length; i++) {
|
|
1136
|
+
let cp = str.charCodeAt(i);
|
|
1137
|
+
if (cp >= 55296 && cp <= 56319) {
|
|
1138
|
+
if (i + 1 < str.length) {
|
|
1139
|
+
const lo = str.charCodeAt(i + 1);
|
|
1140
|
+
if (lo >= 56320 && lo <= 57343) {
|
|
1141
|
+
cp = 65536 + (cp - 55296 << 10) + (lo - 56320);
|
|
1142
|
+
i++;
|
|
1143
|
+
} else {
|
|
1144
|
+
cp = REPLACEMENT;
|
|
1145
|
+
}
|
|
1146
|
+
} else {
|
|
1147
|
+
cp = REPLACEMENT;
|
|
1148
|
+
}
|
|
1149
|
+
} else if (cp >= 56320 && cp <= 57343) {
|
|
1150
|
+
cp = REPLACEMENT;
|
|
1151
|
+
}
|
|
1152
|
+
if (cp < 128) {
|
|
1153
|
+
out.push(cp);
|
|
1154
|
+
} else if (cp < 2048) {
|
|
1155
|
+
out.push(192 | cp >> 6, 128 | cp & 63);
|
|
1156
|
+
} else if (cp < 65536) {
|
|
1157
|
+
out.push(224 | cp >> 12, 128 | cp >> 6 & 63, 128 | cp & 63);
|
|
1158
|
+
} else {
|
|
1159
|
+
out.push(240 | cp >> 18, 128 | cp >> 12 & 63, 128 | cp >> 6 & 63, 128 | cp & 63);
|
|
1160
|
+
}
|
|
1161
|
+
}
|
|
1162
|
+
return new Uint8Array(out);
|
|
1163
|
+
}
|
|
1164
|
+
function encodeUTF16LE(str) {
|
|
1165
|
+
const units = [];
|
|
1166
|
+
for (let i = 0; i < str.length; i++) {
|
|
1167
|
+
const u = str.charCodeAt(i);
|
|
1168
|
+
if (u >= 55296 && u <= 56319) {
|
|
1169
|
+
if (i + 1 < str.length) {
|
|
1170
|
+
const lo = str.charCodeAt(i + 1);
|
|
1171
|
+
if (lo >= 56320 && lo <= 57343) {
|
|
1172
|
+
units.push(u, lo);
|
|
1173
|
+
i++;
|
|
1174
|
+
} else {
|
|
1175
|
+
units.push(REPLACEMENT);
|
|
1176
|
+
}
|
|
1177
|
+
} else {
|
|
1178
|
+
units.push(REPLACEMENT);
|
|
1179
|
+
}
|
|
1180
|
+
continue;
|
|
1181
|
+
}
|
|
1182
|
+
if (u >= 56320 && u <= 57343) {
|
|
1183
|
+
units.push(REPLACEMENT);
|
|
1184
|
+
continue;
|
|
1185
|
+
}
|
|
1186
|
+
units.push(u);
|
|
1187
|
+
}
|
|
1188
|
+
const out = new Uint8Array(units.length * 2);
|
|
1189
|
+
for (let i = 0; i < units.length; i++) {
|
|
1190
|
+
const code = units[i];
|
|
1191
|
+
const o = i * 2;
|
|
1192
|
+
out[o] = code & 255;
|
|
1193
|
+
out[o + 1] = code >>> 8;
|
|
1194
|
+
}
|
|
1195
|
+
return out;
|
|
1196
|
+
}
|
|
1197
|
+
function encodeASCII(str) {
|
|
1198
|
+
const out = new Uint8Array(str.length);
|
|
1199
|
+
for (let i = 0; i < str.length; i++)
|
|
1200
|
+
out[i] = str.charCodeAt(i) & 127;
|
|
1201
|
+
return out;
|
|
1202
|
+
}
|
|
1203
|
+
function encodeLatin1(str) {
|
|
1204
|
+
const out = new Uint8Array(str.length);
|
|
1205
|
+
for (let i = 0; i < str.length; i++)
|
|
1206
|
+
out[i] = str.charCodeAt(i) & 255;
|
|
1207
|
+
return out;
|
|
1208
|
+
}
|
|
1209
|
+
function encodeWindows1252(str) {
|
|
1210
|
+
const out = new Uint8Array(str.length);
|
|
1211
|
+
for (let i = 0; i < str.length; i++) {
|
|
1212
|
+
const ch = str[i];
|
|
1213
|
+
const code = ch.charCodeAt(0);
|
|
1214
|
+
if (WINDOWS_1252_REVERSE[ch] !== void 0) {
|
|
1215
|
+
out[i] = WINDOWS_1252_REVERSE[ch];
|
|
1216
|
+
continue;
|
|
1217
|
+
}
|
|
1218
|
+
if (code >= 0 && code <= 127 || code >= 160 && code <= 255) {
|
|
1219
|
+
out[i] = code;
|
|
1220
|
+
continue;
|
|
1221
|
+
}
|
|
1222
|
+
out[i] = 63;
|
|
1223
|
+
}
|
|
1224
|
+
return out;
|
|
1225
|
+
}
|
|
1226
|
+
|
|
1227
|
+
// ../../node_modules/token-types/lib/index.js
|
|
1228
|
+
var lib_exports = {};
|
|
1229
|
+
__export(lib_exports, {
|
|
1230
|
+
AnsiStringType: () => AnsiStringType,
|
|
1231
|
+
Float16_BE: () => Float16_BE,
|
|
1232
|
+
Float16_LE: () => Float16_LE,
|
|
1233
|
+
Float32_BE: () => Float32_BE,
|
|
1234
|
+
Float32_LE: () => Float32_LE,
|
|
1235
|
+
Float64_BE: () => Float64_BE,
|
|
1236
|
+
Float64_LE: () => Float64_LE,
|
|
1237
|
+
Float80_BE: () => Float80_BE,
|
|
1238
|
+
Float80_LE: () => Float80_LE,
|
|
1239
|
+
INT16_BE: () => INT16_BE,
|
|
1240
|
+
INT16_LE: () => INT16_LE,
|
|
1241
|
+
INT24_BE: () => INT24_BE,
|
|
1242
|
+
INT24_LE: () => INT24_LE,
|
|
1243
|
+
INT32_BE: () => INT32_BE,
|
|
1244
|
+
INT32_LE: () => INT32_LE,
|
|
1245
|
+
INT64_BE: () => INT64_BE,
|
|
1246
|
+
INT64_LE: () => INT64_LE,
|
|
1247
|
+
INT8: () => INT8,
|
|
1248
|
+
IgnoreType: () => IgnoreType,
|
|
1249
|
+
StringType: () => StringType,
|
|
1250
|
+
UINT16_BE: () => UINT16_BE,
|
|
1251
|
+
UINT16_LE: () => UINT16_LE,
|
|
1252
|
+
UINT24_BE: () => UINT24_BE,
|
|
1253
|
+
UINT24_LE: () => UINT24_LE,
|
|
1254
|
+
UINT32_BE: () => UINT32_BE,
|
|
1255
|
+
UINT32_LE: () => UINT32_LE,
|
|
1256
|
+
UINT64_BE: () => UINT64_BE,
|
|
1257
|
+
UINT64_LE: () => UINT64_LE,
|
|
1258
|
+
UINT8: () => UINT8,
|
|
1259
|
+
Uint8ArrayType: () => Uint8ArrayType
|
|
1260
|
+
});
|
|
1261
|
+
init_shims();
|
|
1262
|
+
var ieee754 = __toESM(require_ieee754(), 1);
|
|
1263
|
+
function dv(array) {
|
|
1264
|
+
return new DataView(array.buffer, array.byteOffset);
|
|
1265
|
+
}
|
|
1266
|
+
var UINT8 = {
|
|
1267
|
+
len: 1,
|
|
1268
|
+
get(array, offset) {
|
|
1269
|
+
return dv(array).getUint8(offset);
|
|
1270
|
+
},
|
|
1271
|
+
put(array, offset, value) {
|
|
1272
|
+
dv(array).setUint8(offset, value);
|
|
1273
|
+
return offset + 1;
|
|
1274
|
+
}
|
|
1275
|
+
};
|
|
1276
|
+
var UINT16_LE = {
|
|
1277
|
+
len: 2,
|
|
1278
|
+
get(array, offset) {
|
|
1279
|
+
return dv(array).getUint16(offset, true);
|
|
1280
|
+
},
|
|
1281
|
+
put(array, offset, value) {
|
|
1282
|
+
dv(array).setUint16(offset, value, true);
|
|
1283
|
+
return offset + 2;
|
|
1284
|
+
}
|
|
1285
|
+
};
|
|
1286
|
+
var UINT16_BE = {
|
|
1287
|
+
len: 2,
|
|
1288
|
+
get(array, offset) {
|
|
1289
|
+
return dv(array).getUint16(offset);
|
|
1290
|
+
},
|
|
1291
|
+
put(array, offset, value) {
|
|
1292
|
+
dv(array).setUint16(offset, value);
|
|
1293
|
+
return offset + 2;
|
|
1294
|
+
}
|
|
1295
|
+
};
|
|
1296
|
+
var UINT24_LE = {
|
|
1297
|
+
len: 3,
|
|
1298
|
+
get(array, offset) {
|
|
1299
|
+
const dataView = dv(array);
|
|
1300
|
+
return dataView.getUint8(offset) + (dataView.getUint16(offset + 1, true) << 8);
|
|
1301
|
+
},
|
|
1302
|
+
put(array, offset, value) {
|
|
1303
|
+
const dataView = dv(array);
|
|
1304
|
+
dataView.setUint8(offset, value & 255);
|
|
1305
|
+
dataView.setUint16(offset + 1, value >> 8, true);
|
|
1306
|
+
return offset + 3;
|
|
1307
|
+
}
|
|
1308
|
+
};
|
|
1309
|
+
var UINT24_BE = {
|
|
1310
|
+
len: 3,
|
|
1311
|
+
get(array, offset) {
|
|
1312
|
+
const dataView = dv(array);
|
|
1313
|
+
return (dataView.getUint16(offset) << 8) + dataView.getUint8(offset + 2);
|
|
1314
|
+
},
|
|
1315
|
+
put(array, offset, value) {
|
|
1316
|
+
const dataView = dv(array);
|
|
1317
|
+
dataView.setUint16(offset, value >> 8);
|
|
1318
|
+
dataView.setUint8(offset + 2, value & 255);
|
|
1319
|
+
return offset + 3;
|
|
1320
|
+
}
|
|
1321
|
+
};
|
|
1322
|
+
var UINT32_LE = {
|
|
1323
|
+
len: 4,
|
|
1324
|
+
get(array, offset) {
|
|
1325
|
+
return dv(array).getUint32(offset, true);
|
|
1326
|
+
},
|
|
1327
|
+
put(array, offset, value) {
|
|
1328
|
+
dv(array).setUint32(offset, value, true);
|
|
1329
|
+
return offset + 4;
|
|
1330
|
+
}
|
|
1331
|
+
};
|
|
1332
|
+
var UINT32_BE = {
|
|
1333
|
+
len: 4,
|
|
1334
|
+
get(array, offset) {
|
|
1335
|
+
return dv(array).getUint32(offset);
|
|
1336
|
+
},
|
|
1337
|
+
put(array, offset, value) {
|
|
1338
|
+
dv(array).setUint32(offset, value);
|
|
1339
|
+
return offset + 4;
|
|
1340
|
+
}
|
|
1341
|
+
};
|
|
1342
|
+
var INT8 = {
|
|
1343
|
+
len: 1,
|
|
1344
|
+
get(array, offset) {
|
|
1345
|
+
return dv(array).getInt8(offset);
|
|
1346
|
+
},
|
|
1347
|
+
put(array, offset, value) {
|
|
1348
|
+
dv(array).setInt8(offset, value);
|
|
1349
|
+
return offset + 1;
|
|
1350
|
+
}
|
|
1351
|
+
};
|
|
1352
|
+
var INT16_BE = {
|
|
1353
|
+
len: 2,
|
|
1354
|
+
get(array, offset) {
|
|
1355
|
+
return dv(array).getInt16(offset);
|
|
1356
|
+
},
|
|
1357
|
+
put(array, offset, value) {
|
|
1358
|
+
dv(array).setInt16(offset, value);
|
|
1359
|
+
return offset + 2;
|
|
1360
|
+
}
|
|
1361
|
+
};
|
|
1362
|
+
var INT16_LE = {
|
|
1363
|
+
len: 2,
|
|
1364
|
+
get(array, offset) {
|
|
1365
|
+
return dv(array).getInt16(offset, true);
|
|
1366
|
+
},
|
|
1367
|
+
put(array, offset, value) {
|
|
1368
|
+
dv(array).setInt16(offset, value, true);
|
|
1369
|
+
return offset + 2;
|
|
1370
|
+
}
|
|
1371
|
+
};
|
|
1372
|
+
var INT24_LE = {
|
|
1373
|
+
len: 3,
|
|
1374
|
+
get(array, offset) {
|
|
1375
|
+
const unsigned = UINT24_LE.get(array, offset);
|
|
1376
|
+
return unsigned > 8388607 ? unsigned - 16777216 : unsigned;
|
|
1377
|
+
},
|
|
1378
|
+
put(array, offset, value) {
|
|
1379
|
+
const dataView = dv(array);
|
|
1380
|
+
dataView.setUint8(offset, value & 255);
|
|
1381
|
+
dataView.setUint16(offset + 1, value >> 8, true);
|
|
1382
|
+
return offset + 3;
|
|
1383
|
+
}
|
|
1384
|
+
};
|
|
1385
|
+
var INT24_BE = {
|
|
1386
|
+
len: 3,
|
|
1387
|
+
get(array, offset) {
|
|
1388
|
+
const unsigned = UINT24_BE.get(array, offset);
|
|
1389
|
+
return unsigned > 8388607 ? unsigned - 16777216 : unsigned;
|
|
1390
|
+
},
|
|
1391
|
+
put(array, offset, value) {
|
|
1392
|
+
const dataView = dv(array);
|
|
1393
|
+
dataView.setUint16(offset, value >> 8);
|
|
1394
|
+
dataView.setUint8(offset + 2, value & 255);
|
|
1395
|
+
return offset + 3;
|
|
1396
|
+
}
|
|
1397
|
+
};
|
|
1398
|
+
var INT32_BE = {
|
|
1399
|
+
len: 4,
|
|
1400
|
+
get(array, offset) {
|
|
1401
|
+
return dv(array).getInt32(offset);
|
|
1402
|
+
},
|
|
1403
|
+
put(array, offset, value) {
|
|
1404
|
+
dv(array).setInt32(offset, value);
|
|
1405
|
+
return offset + 4;
|
|
1406
|
+
}
|
|
1407
|
+
};
|
|
1408
|
+
var INT32_LE = {
|
|
1409
|
+
len: 4,
|
|
1410
|
+
get(array, offset) {
|
|
1411
|
+
return dv(array).getInt32(offset, true);
|
|
1412
|
+
},
|
|
1413
|
+
put(array, offset, value) {
|
|
1414
|
+
dv(array).setInt32(offset, value, true);
|
|
1415
|
+
return offset + 4;
|
|
1416
|
+
}
|
|
1417
|
+
};
|
|
1418
|
+
var UINT64_LE = {
|
|
1419
|
+
len: 8,
|
|
1420
|
+
get(array, offset) {
|
|
1421
|
+
return dv(array).getBigUint64(offset, true);
|
|
1422
|
+
},
|
|
1423
|
+
put(array, offset, value) {
|
|
1424
|
+
dv(array).setBigUint64(offset, value, true);
|
|
1425
|
+
return offset + 8;
|
|
1426
|
+
}
|
|
1427
|
+
};
|
|
1428
|
+
var INT64_LE = {
|
|
1429
|
+
len: 8,
|
|
1430
|
+
get(array, offset) {
|
|
1431
|
+
return dv(array).getBigInt64(offset, true);
|
|
1432
|
+
},
|
|
1433
|
+
put(array, offset, value) {
|
|
1434
|
+
dv(array).setBigInt64(offset, value, true);
|
|
1435
|
+
return offset + 8;
|
|
1436
|
+
}
|
|
1437
|
+
};
|
|
1438
|
+
var UINT64_BE = {
|
|
1439
|
+
len: 8,
|
|
1440
|
+
get(array, offset) {
|
|
1441
|
+
return dv(array).getBigUint64(offset);
|
|
1442
|
+
},
|
|
1443
|
+
put(array, offset, value) {
|
|
1444
|
+
dv(array).setBigUint64(offset, value);
|
|
1445
|
+
return offset + 8;
|
|
1446
|
+
}
|
|
1447
|
+
};
|
|
1448
|
+
var INT64_BE = {
|
|
1449
|
+
len: 8,
|
|
1450
|
+
get(array, offset) {
|
|
1451
|
+
return dv(array).getBigInt64(offset);
|
|
1452
|
+
},
|
|
1453
|
+
put(array, offset, value) {
|
|
1454
|
+
dv(array).setBigInt64(offset, value);
|
|
1455
|
+
return offset + 8;
|
|
1456
|
+
}
|
|
1457
|
+
};
|
|
1458
|
+
var Float16_BE = {
|
|
1459
|
+
len: 2,
|
|
1460
|
+
get(dataView, offset) {
|
|
1461
|
+
return ieee754.read(dataView, offset, false, 10, this.len);
|
|
1462
|
+
},
|
|
1463
|
+
put(dataView, offset, value) {
|
|
1464
|
+
ieee754.write(dataView, value, offset, false, 10, this.len);
|
|
1465
|
+
return offset + this.len;
|
|
1466
|
+
}
|
|
1467
|
+
};
|
|
1468
|
+
var Float16_LE = {
|
|
1469
|
+
len: 2,
|
|
1470
|
+
get(array, offset) {
|
|
1471
|
+
return ieee754.read(array, offset, true, 10, this.len);
|
|
1472
|
+
},
|
|
1473
|
+
put(array, offset, value) {
|
|
1474
|
+
ieee754.write(array, value, offset, true, 10, this.len);
|
|
1475
|
+
return offset + this.len;
|
|
1476
|
+
}
|
|
1477
|
+
};
|
|
1478
|
+
var Float32_BE = {
|
|
1479
|
+
len: 4,
|
|
1480
|
+
get(array, offset) {
|
|
1481
|
+
return dv(array).getFloat32(offset);
|
|
1482
|
+
},
|
|
1483
|
+
put(array, offset, value) {
|
|
1484
|
+
dv(array).setFloat32(offset, value);
|
|
1485
|
+
return offset + 4;
|
|
1486
|
+
}
|
|
1487
|
+
};
|
|
1488
|
+
var Float32_LE = {
|
|
1489
|
+
len: 4,
|
|
1490
|
+
get(array, offset) {
|
|
1491
|
+
return dv(array).getFloat32(offset, true);
|
|
1492
|
+
},
|
|
1493
|
+
put(array, offset, value) {
|
|
1494
|
+
dv(array).setFloat32(offset, value, true);
|
|
1495
|
+
return offset + 4;
|
|
1496
|
+
}
|
|
1497
|
+
};
|
|
1498
|
+
var Float64_BE = {
|
|
1499
|
+
len: 8,
|
|
1500
|
+
get(array, offset) {
|
|
1501
|
+
return dv(array).getFloat64(offset);
|
|
1502
|
+
},
|
|
1503
|
+
put(array, offset, value) {
|
|
1504
|
+
dv(array).setFloat64(offset, value);
|
|
1505
|
+
return offset + 8;
|
|
1506
|
+
}
|
|
1507
|
+
};
|
|
1508
|
+
var Float64_LE = {
|
|
1509
|
+
len: 8,
|
|
1510
|
+
get(array, offset) {
|
|
1511
|
+
return dv(array).getFloat64(offset, true);
|
|
1512
|
+
},
|
|
1513
|
+
put(array, offset, value) {
|
|
1514
|
+
dv(array).setFloat64(offset, value, true);
|
|
1515
|
+
return offset + 8;
|
|
1516
|
+
}
|
|
1517
|
+
};
|
|
1518
|
+
var Float80_BE = {
|
|
1519
|
+
len: 10,
|
|
1520
|
+
get(array, offset) {
|
|
1521
|
+
return ieee754.read(array, offset, false, 63, this.len);
|
|
1522
|
+
},
|
|
1523
|
+
put(array, offset, value) {
|
|
1524
|
+
ieee754.write(array, value, offset, false, 63, this.len);
|
|
1525
|
+
return offset + this.len;
|
|
1526
|
+
}
|
|
1527
|
+
};
|
|
1528
|
+
var Float80_LE = {
|
|
1529
|
+
len: 10,
|
|
1530
|
+
get(array, offset) {
|
|
1531
|
+
return ieee754.read(array, offset, true, 63, this.len);
|
|
1532
|
+
},
|
|
1533
|
+
put(array, offset, value) {
|
|
1534
|
+
ieee754.write(array, value, offset, true, 63, this.len);
|
|
1535
|
+
return offset + this.len;
|
|
1536
|
+
}
|
|
1537
|
+
};
|
|
1538
|
+
var IgnoreType = class {
|
|
1539
|
+
/**
|
|
1540
|
+
* @param len number of bytes to ignore
|
|
1541
|
+
*/
|
|
1542
|
+
constructor(len) {
|
|
1543
|
+
this.len = len;
|
|
1544
|
+
}
|
|
1545
|
+
// ToDo: don't read, but skip data
|
|
1546
|
+
get(_array, _off) {
|
|
1547
|
+
}
|
|
1548
|
+
};
|
|
1549
|
+
var Uint8ArrayType = class {
|
|
1550
|
+
constructor(len) {
|
|
1551
|
+
this.len = len;
|
|
1552
|
+
}
|
|
1553
|
+
get(array, offset) {
|
|
1554
|
+
return array.subarray(offset, offset + this.len);
|
|
1555
|
+
}
|
|
1556
|
+
};
|
|
1557
|
+
var StringType = class {
|
|
1558
|
+
constructor(len, encoding) {
|
|
1559
|
+
this.len = len;
|
|
1560
|
+
this.encoding = encoding;
|
|
1561
|
+
}
|
|
1562
|
+
get(data, offset = 0) {
|
|
1563
|
+
const bytes = data.subarray(offset, offset + this.len);
|
|
1564
|
+
return textDecode(bytes, this.encoding);
|
|
1565
|
+
}
|
|
1566
|
+
};
|
|
1567
|
+
var AnsiStringType = class extends StringType {
|
|
1568
|
+
constructor(len) {
|
|
1569
|
+
super(len, "windows-1252");
|
|
1570
|
+
}
|
|
1571
|
+
};
|
|
1572
|
+
|
|
1573
|
+
// ../../node_modules/music-metadata/lib/ParseError.js
|
|
1574
|
+
init_shims();
|
|
1575
|
+
var makeParseError = (name) => {
|
|
1576
|
+
return class ParseError extends Error {
|
|
1577
|
+
constructor(message) {
|
|
1578
|
+
super(message);
|
|
1579
|
+
this.name = name;
|
|
1580
|
+
}
|
|
1581
|
+
};
|
|
1582
|
+
};
|
|
1583
|
+
var CouldNotDetermineFileTypeError = class extends makeParseError("CouldNotDetermineFileTypeError") {
|
|
1584
|
+
};
|
|
1585
|
+
var UnsupportedFileTypeError = class extends makeParseError("UnsupportedFileTypeError") {
|
|
1586
|
+
};
|
|
1587
|
+
var UnexpectedFileContentError = class extends makeParseError("UnexpectedFileContentError") {
|
|
1588
|
+
constructor(fileType, message) {
|
|
1589
|
+
super(message);
|
|
1590
|
+
this.fileType = fileType;
|
|
1591
|
+
}
|
|
1592
|
+
// Override toString to include file type information.
|
|
1593
|
+
toString() {
|
|
1594
|
+
return `${this.name} (FileType: ${this.fileType}): ${this.message}`;
|
|
1595
|
+
}
|
|
1596
|
+
};
|
|
1597
|
+
var FieldDecodingError = class extends makeParseError("FieldDecodingError") {
|
|
1598
|
+
};
|
|
1599
|
+
var InternalParserError = class extends makeParseError("InternalParserError") {
|
|
1600
|
+
};
|
|
1601
|
+
var makeUnexpectedFileContentError = (fileType) => {
|
|
1602
|
+
return class extends UnexpectedFileContentError {
|
|
1603
|
+
constructor(message) {
|
|
1604
|
+
super(fileType, message);
|
|
1605
|
+
}
|
|
1606
|
+
};
|
|
1607
|
+
};
|
|
1608
|
+
|
|
1609
|
+
// ../../node_modules/music-metadata/lib/common/BasicParser.js
|
|
1610
|
+
init_shims();
|
|
1611
|
+
var BasicParser = class {
|
|
1612
|
+
/**
|
|
1613
|
+
* Initialize parser with output (metadata), input (tokenizer) & parsing options (options).
|
|
1614
|
+
* @param {INativeMetadataCollector} metadata Output
|
|
1615
|
+
* @param {ITokenizer} tokenizer Input
|
|
1616
|
+
* @param {IOptions} options Parsing options
|
|
1617
|
+
*/
|
|
1618
|
+
constructor(metadata, tokenizer, options) {
|
|
1619
|
+
this.metadata = metadata;
|
|
1620
|
+
this.tokenizer = tokenizer;
|
|
1621
|
+
this.options = options;
|
|
1622
|
+
}
|
|
1623
|
+
};
|
|
1624
|
+
|
|
1625
|
+
export {
|
|
1626
|
+
require_src,
|
|
1627
|
+
textDecode,
|
|
1628
|
+
textEncode,
|
|
1629
|
+
UINT8,
|
|
1630
|
+
UINT16_LE,
|
|
1631
|
+
UINT16_BE,
|
|
1632
|
+
UINT24_LE,
|
|
1633
|
+
UINT24_BE,
|
|
1634
|
+
UINT32_LE,
|
|
1635
|
+
UINT32_BE,
|
|
1636
|
+
INT8,
|
|
1637
|
+
INT16_BE,
|
|
1638
|
+
INT24_BE,
|
|
1639
|
+
INT32_BE,
|
|
1640
|
+
INT32_LE,
|
|
1641
|
+
UINT64_LE,
|
|
1642
|
+
INT64_LE,
|
|
1643
|
+
UINT64_BE,
|
|
1644
|
+
INT64_BE,
|
|
1645
|
+
Float32_BE,
|
|
1646
|
+
Float64_BE,
|
|
1647
|
+
Uint8ArrayType,
|
|
1648
|
+
StringType,
|
|
1649
|
+
lib_exports,
|
|
1650
|
+
CouldNotDetermineFileTypeError,
|
|
1651
|
+
UnsupportedFileTypeError,
|
|
1652
|
+
FieldDecodingError,
|
|
1653
|
+
InternalParserError,
|
|
1654
|
+
makeUnexpectedFileContentError,
|
|
1655
|
+
BasicParser
|
|
1656
|
+
};
|
|
1657
|
+
/*! Bundled license information:
|
|
1658
|
+
|
|
1659
|
+
ieee754/index.js:
|
|
1660
|
+
(*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> *)
|
|
1661
|
+
*/
|
|
1662
|
+
//# sourceMappingURL=chunk-4EKKDVG3.js.map
|