@poe-platform/safe-bash 0.1.817 → 0.1.818
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/image-ast/index.js +2 -2
- package/dist/mp4-ast/index.d.ts +2 -1
- package/dist/mp4-ast/mp4-metadata-source.d.ts +10 -0
- package/dist/mp4-ast/mp4-packets-source.d.ts +8 -1
- package/dist/mp4-ast/types.d.ts +21 -3
- package/dist/pdf-ast/ast.d.ts +2 -0
- package/dist/pdf-ast/content/evaluator.d.ts +7 -0
- package/dist/pdf-ast/content/retained-evaluator.d.ts +2 -2
- package/dist/pdf-ast/content/retained-page.d.ts +2 -2
- package/dist/pdf-ast/extract/html-text-stream.d.ts +14 -0
- package/dist/pdf-ast/extract/logical-text-stream.d.ts +14 -0
- package/dist/pdf-ast/extract/raw-text-index.d.ts +18 -4
- package/dist/pdf-ast/extract/retained-color.d.ts +6 -6
- package/dist/pdf-ast/extract/retained-decoded-image.d.ts +2 -2
- package/dist/pdf-ast/extract/stored-text-glyphs.d.ts +8 -0
- package/dist/pdf-ast/fonts/retained.d.ts +2 -2
- package/dist/pdf-ast/image.d.ts +2 -0
- package/dist/pdf-ast/image.js +19 -0
- package/dist/pdf-ast/index.d.ts +3 -0
- package/dist/pdf-ast/index.js +264 -66852
- package/dist/pdf-ast/render/postscript.d.ts +6 -0
- package/dist/pdf-ast/render/raster.d.ts +21 -1
- package/dist/pdf-ast/retained-document.d.ts +16 -95
- package/dist/pdf-ast/retained-reader.d.ts +109 -0
- package/dist/safe-bash/command-chunks/biff-AYJZR2YV-JPESBEOO.js +5741 -0
- package/dist/safe-bash/command-chunks/{chunk-SL4LD25A.js → chunk-232N24HE.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-ALD53QFL.js → chunk-2C4QMQQD.js} +42 -12
- package/dist/safe-bash/command-chunks/{chunk-3PM46VWH.js → chunk-2FEMMALH.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-QDV2NIFR.js → chunk-2TMTGVJR.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-ARE267HR.js → chunk-2WTDP3TP.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-FSG6UC2N.js → chunk-2XR7B6DY.js} +420 -167
- package/dist/safe-bash/command-chunks/{chunk-EY3UE26F.js → chunk-2YC6MWQB.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-UPWLHHZ2.js → chunk-37KBCKDF.js} +13 -13
- package/dist/safe-bash/command-chunks/{chunk-DOVWHVHI.js → chunk-3B6554G6.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-FB2WPI3M.js → chunk-3ZGO24WG.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-GR4ONCQ5.js → chunk-424NYO35.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-MQE77MEQ.js → chunk-45GTHPL5.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-AF2IO57Q.js → chunk-4OHTYYNU.js} +8 -136
- package/dist/safe-bash/command-chunks/{chunk-ICJH6A73.js → chunk-4PMMJ45F.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-57PK2QFX.js → chunk-4SFX6YGC.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-G3LUT475.js → chunk-4WHTTCKY.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-UYZ6EFZE.js → chunk-4Z7PBIMP.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-A4P37F3P.js → chunk-57SKL76U.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-J6FNSVHT.js → chunk-5GP4A3TD.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-OFONWWEZ.js → chunk-5IHJWBDR.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-A2L3U7DW.js → chunk-5OS4Q3AX.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-FUYZUETI.js → chunk-5PMLTSQ5.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-TXU7MMHN.js → chunk-5RDS6CNQ.js} +13 -13
- package/dist/safe-bash/command-chunks/{chunk-FR63MJSO.js → chunk-5UGQGB5Y.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-UKAGRRLZ.js → chunk-5VY5O37W.js} +1 -1
- package/dist/safe-bash/command-chunks/chunk-5WS6DXYE.js +68444 -0
- package/dist/safe-bash/command-chunks/{chunk-2ALHVXEM.js → chunk-6EK76ERE.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-4772DJKS.js → chunk-6GCK2KSL.js} +61 -26
- package/dist/safe-bash/command-chunks/{chunk-T5OQ53XS.js → chunk-6IID5HTY.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-EZDWPTYB.js → chunk-6LOAJOWK.js} +13 -13
- package/dist/safe-bash/command-chunks/{chunk-WMBELKPP.js → chunk-6PE2L522.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-ZAYTFXUX.js → chunk-73KY3MZ3.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-BOVDUJ3A.js → chunk-77WBFVZQ.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-3DWFXESW.js → chunk-7GJJDM2F.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-WIW3KDBS.js → chunk-7NFICYRU.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-35DU6I2M.js → chunk-7ZEGARPB.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-A5SPMSKD.js → chunk-A32PUWYE.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-KYIGYYEY.js → chunk-A32ZROH5.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-IOXMGD2H.js → chunk-ADVQZLLE.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-CGJ7GMHO.js → chunk-AEZU6NZE.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-KDDXLHN7.js → chunk-ATHU53C2.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-R7LF4XQV.js → chunk-B6T2526I.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-PPN53PX3.js → chunk-BB7HBO56.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-ZM7HMBAJ.js → chunk-BDGNKRY4.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-VMZIAFVJ.js → chunk-BFRSYJUC.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-X42MJT2J.js → chunk-BJL7AGA5.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-VZTVR3JI.js → chunk-C2QUG7IP.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-IVKAFEPO.js → chunk-C34RLMAC.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-5O45KGW5.js → chunk-C5VUJOUQ.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-LQDANF2B.js → chunk-CCNOZKAK.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-FEBTT5NH.js → chunk-CEHICGP6.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-SICTBSLW.js → chunk-CODJMTSA.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-LJ3UYESS.js → chunk-CP5EO5TT.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-45DKGZYO.js → chunk-CSS5KXQC.js} +329 -152
- package/dist/safe-bash/command-chunks/{chunk-6RLWPB44.js → chunk-CZSLXQU2.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-3ZWFE4CK.js → chunk-D2ZT2UUT.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-WH624PKJ.js → chunk-D5XSGHXN.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-NDALIHKK.js → chunk-D7UFAIBS.js} +18 -18
- package/dist/safe-bash/command-chunks/{chunk-ISFGPCED.js → chunk-DCKAY6HV.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-LNAZ3E4Q.js → chunk-DGCJVZW6.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-LFSWLJPR.js → chunk-DJB5RB6U.js} +288 -32
- package/dist/safe-bash/command-chunks/{chunk-FGHSE3RZ.js → chunk-DZ4ELL34.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-LQX7RAF7.js → chunk-EBKKYRQJ.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-QNETPOMH.js → chunk-EDBNI7WE.js} +14 -14
- package/dist/safe-bash/command-chunks/{chunk-5GDF5FAS.js → chunk-EEJ3YXVO.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-RTHYAGKI.js → chunk-ETN25WCR.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-ET6LMDEX.js → chunk-EV3DPRWE.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-3MUFXGA2.js → chunk-F2JUB7JI.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-345YBIHP.js → chunk-F42WV2YO.js} +19 -19
- package/dist/safe-bash/command-chunks/{chunk-FTZFCMVI.js → chunk-FAVWWMFW.js} +12 -12
- package/dist/safe-bash/command-chunks/{chunk-XBWD6SI3.js → chunk-FDRE535F.js} +16 -16
- package/dist/safe-bash/command-chunks/{chunk-WMV5224N.js → chunk-FILE5PBI.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-XPQUUFQD.js → chunk-FPOM47UA.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-QMBMZSJF.js → chunk-FQ2WRT4Q.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-H56BSMFQ.js → chunk-FVAFISPY.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-2QZUAZTH.js → chunk-GIQUIF6E.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-2TWXRJPB.js → chunk-GNORF6RY.js} +13 -13
- package/dist/safe-bash/command-chunks/{chunk-ABL2DPJI.js → chunk-GPLN6JV2.js} +12 -12
- package/dist/safe-bash/command-chunks/{chunk-DZOKH5BL.js → chunk-GQ7BD75U.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-N4HWOLGZ.js → chunk-GY2C555A.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-N32AP43V.js → chunk-GZNX5SS4.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-YPG55QTP.js → chunk-HCJWEB6P.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-4ABR3KGK.js → chunk-HNY7LZ5P.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-P462JTNT.js → chunk-HOBXZX23.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-5KZMR6AJ.js → chunk-HW3IOXT6.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-3VGQTLO6.js → chunk-HX7QQNWS.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-TXWDR2P4.js → chunk-IBT3OWXB.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-OHEZQ4QA.js → chunk-IFBLXBBM.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-HOJ7WDTS.js → chunk-IJZUUXLL.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-BZRWZ6GO.js → chunk-IKU7ZBF3.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-CKIXC7AO.js → chunk-IPKYPADE.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-IWVANZWH.js → chunk-JLPBGKVC.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-6M3JTPKE.js → chunk-JNRX5EFF.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-5YL453ZF.js → chunk-JSX5CFZY.js} +36 -36
- package/dist/safe-bash/command-chunks/{chunk-V6JPIZUW.js → chunk-JT656DKZ.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-DM5WURQL.js → chunk-JY2T3KV2.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-IZ3SD5S2.js → chunk-K2NV6H7E.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-62RG3GHF.js → chunk-K6E56LND.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-FLSXHLJG.js → chunk-KADQKXZE.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-URQSUMMJ.js → chunk-KFFV7HBL.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-ONQP4FNV.js → chunk-KZICRCQ7.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-N35IJXBK.js → chunk-L6X4EEN6.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-SHLT5R64.js → chunk-LF7YJ5VQ.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-GMBUOYTN.js → chunk-LNHTLWIL.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-A6OTPNNI.js → chunk-LPKMNCC5.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-MUTARE5I.js → chunk-LSKA4IR4.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-N3ZH4YYH.js → chunk-LTWX23FS.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-JA36YOZI.js → chunk-LUJUYUOG.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-4X2MPZXW.js → chunk-M42GCI5F.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-AYQPJQJR.js → chunk-M5BFAMXD.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-OFDJJRAD.js → chunk-M7DZ7COK.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-E64ZI2YB.js → chunk-MMSKDYK6.js} +224 -115
- package/dist/safe-bash/command-chunks/{chunk-NKK76B4V.js → chunk-MN7EEK6Y.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-OBIXFO25.js → chunk-MOJQT6RW.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-HOKPYTHQ.js → chunk-MPRUGL4W.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-CORUUCS2.js → chunk-MRBX4KEP.js} +3 -3
- package/dist/safe-bash/command-chunks/chunk-MTWFSBNG.js +137 -0
- package/dist/safe-bash/command-chunks/{chunk-RRAQII52.js → chunk-MURNTGDL.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-KDBU5Q2N.js → chunk-MWVELMXZ.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-PRO7JOIH.js → chunk-N3MAYM6Y.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-E22EAYJN.js → chunk-NFWLZDMY.js} +177 -34
- package/dist/safe-bash/command-chunks/{chunk-GAROGIVU.js → chunk-NP2QXF2X.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-SNA2LVBX.js → chunk-NPVOYY2A.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-ENMJHB2C.js → chunk-NTXRKJPZ.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-3K5CVXUV.js → chunk-NZF56C25.js} +10 -10
- package/dist/safe-bash/command-chunks/{chunk-5MNQTHED.js → chunk-OA4MEWTN.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-SWIF6BBY.js → chunk-OL75SBZL.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-LT2YCGC5.js → chunk-OVQSILY3.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-WDVPHDBH.js → chunk-P57V45F2.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-OWCBX5M2.js → chunk-PAY4ULWY.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-CHZE6FNT.js → chunk-PFUZPAXQ.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-NLCUQD7Y.js → chunk-PX6E5MHY.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-POGVOCOB.js → chunk-QCN7MRRU.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-ZZERSKAR.js → chunk-QLE6JUR7.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-LZY46GYY.js → chunk-QMWBKR4C.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-BIJW6QWB.js → chunk-QNLX3CZH.js} +13 -13
- package/dist/safe-bash/command-chunks/{chunk-MDFNUNK5.js → chunk-QWX5IERU.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-WOL3LBXE.js → chunk-R2N3E267.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-ZNCPIZCN.js → chunk-R6X63VAO.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-FGARVKAX.js → chunk-RNIFPFGC.js} +13 -11
- package/dist/safe-bash/command-chunks/{chunk-OIHQXURE.js → chunk-ROE6KD4C.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-BKK4MS3V.js → chunk-RR6XG2I6.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-ZHHALBM7.js → chunk-RYOHOS2I.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-U42WHQRH.js → chunk-TTTNFKT6.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-EWC56JNI.js → chunk-TTVJJZOM.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-TY7JXEWI.js → chunk-UBX5I5HY.js} +11 -11
- package/dist/safe-bash/command-chunks/{chunk-QOKFSYD5.js → chunk-UE34SQET.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-DXOXUKQB.js → chunk-UH4CQIU3.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-VNNNVT4C.js → chunk-UZZ2WJQV.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-QNX5LZBK.js → chunk-V6NZVM7C.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-KLAC2MIZ.js → chunk-VEZULAIA.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-OCV5ZU35.js → chunk-VSTAHYCV.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-UFLMOU3B.js → chunk-VUJCVXD4.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-5V7WIQ2D.js → chunk-VW67MA53.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-2IMIKROX.js → chunk-WI5NEHPD.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-SBXS4S6Y.js → chunk-WJSU2UVG.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-VVWHFNHD.js → chunk-WPEIOUJN.js} +415 -25
- package/dist/safe-bash/command-chunks/{chunk-YKODRSGT.js → chunk-WRCYZJNO.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-TID5TSQW.js → chunk-WRJV7OVO.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-T4SEQU66.js → chunk-X4TWJNW7.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-CKA7ZROU.js → chunk-X6KFCAWZ.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-ROQ3VNVX.js → chunk-X6KO7D6R.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-S5ER73EA.js → chunk-XB5ZZHFD.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-FHQOFEQK.js → chunk-XLFOLLUZ.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-UJYXSLM6.js → chunk-XLPEPCQC.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-UT5X6QRU.js → chunk-XQFEP43Y.js} +5 -5
- package/dist/safe-bash/command-chunks/chunk-Y7XL6CWB.js +771 -0
- package/dist/safe-bash/command-chunks/{chunk-RVWIEXR7.js → chunk-YKEMSPJZ.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-ERWIJYCS.js → chunk-YN3OEJAZ.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-6YF2QADH.js → chunk-YOYK2I4N.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-26JE5JEB.js → chunk-YS5ZKMRJ.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-LMLBQSAM.js → chunk-YW7WU7W2.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-YXR4JE4U.js → chunk-Z33YS3DW.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-T2FRXSQT.js → chunk-ZBXUAM34.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-VVV45NLY.js → chunk-ZJUU5IAS.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-7OCTMVYJ.js → chunk-ZNABMTV3.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-6JGICYHP.js → chunk-ZSF2T5D4.js} +1 -1
- package/dist/safe-bash/command-chunks/{command-engine-2QXVRRH3.js → command-engine-PFYHL7GS.js} +10 -4
- package/dist/safe-bash/command-chunks/{engine-T4GP6QOK-ECFKMR5V.js → engine-5AVSKFBI-D7Q5VPUN.js} +1 -1
- package/dist/safe-bash/command-chunks/model-store-IIWQHSEZ.js +54 -0
- package/dist/safe-bash-command-awk/awk-inspection.js +2 -2
- package/dist/safe-bash-command-awk/awk.js +5 -5
- package/dist/safe-bash-command-awk/index.js +5 -5
- package/dist/safe-bash-command-cp/index.js +4 -4
- package/dist/safe-bash-command-diff/diff.js +2 -2
- package/dist/safe-bash-command-diff/index.js +2 -2
- package/dist/safe-bash-command-ffmpeg/index.js +1 -1
- package/dist/safe-bash-command-ffprobe/index.js +2 -2
- package/dist/safe-bash-command-ffprobe/media.js +2 -2
- package/dist/safe-bash-command-node/commands/node/browser.js +6 -6
- package/dist/safe-bash-command-node/commands/node/default-runtime.js +6 -6
- package/dist/safe-bash-command-node/commands/node/filesystem.js +2 -2
- package/dist/safe-bash-command-node/commands/node/safejs.js +6 -6
- package/dist/safe-bash-command-node/commands/node/timers.js +2 -2
- package/dist/safe-bash-command-patch/index.js +3 -3
- package/dist/safe-bash-command-patch/patch-formats.js +2 -2
- package/dist/safe-bash-command-patch/patch.js +3 -3
- package/dist/safe-bash-command-patch/unified.js +1 -1
- package/dist/safe-bash-command-pdftoppm/index.js +89 -124
- package/dist/safe-bash-command-pdftotext/index.d.ts +1 -1
- package/dist/safe-bash-command-pdftotext/index.js +538 -379
- package/dist/safe-bash-command-playwright-cli/index.js +19 -19
- package/dist/safe-bash-command-playwright-cli/playwright/abilities.js +6 -6
- package/dist/safe-bash-command-playwright-cli/playwright/adapter.js +3 -3
- package/dist/safe-bash-command-playwright-cli/playwright/controller.js +13 -13
- package/dist/safe-bash-command-playwright-cli/playwright/index.js +19 -19
- package/dist/safe-bash-command-playwright-cli/playwright/native-storage-replacement.js +2 -2
- package/dist/safe-bash-command-playwright-cli/playwright/open-options.js +2 -2
- package/dist/safe-bash-command-playwright-cli/playwright/profile.js +5 -5
- package/dist/safe-bash-command-playwright-cli/playwright/standard-capabilities.js +4 -4
- package/dist/safe-bash-command-playwright-cli/playwright/storage-capabilities.js +3 -3
- package/dist/safe-bash-command-pptx/engine.js +1 -1
- package/dist/safe-bash-command-python/executor.js +10 -10
- package/dist/safe-bash-command-python/index.js +10 -10
- package/dist/safe-bash-command-python/jspi.js +2 -2
- package/dist/safe-bash-command-safejs/index.js +2 -2
- package/dist/safe-bash-command-safejs/runtime.js +2 -2
- package/dist/safe-bash-command-ssconvert/index.js +13 -13
- package/dist/safe-bash-command-unzip/index.js +4 -4
- package/dist/safe-bash-docx-engine/ancillary-resources.js +10 -10
- package/dist/safe-bash-docx-engine/batch-operations.js +67 -67
- package/dist/safe-bash-docx-engine/batch-result-schema.js +79 -79
- package/dist/safe-bash-docx-engine/batch.js +78 -78
- package/dist/safe-bash-docx-engine/bookmarks.js +18 -18
- package/dist/safe-bash-docx-engine/charts.js +11 -11
- package/dist/safe-bash-docx-engine/command-option-rules.js +6 -6
- package/dist/safe-bash-docx-engine/command-properties.js +3 -3
- package/dist/safe-bash-docx-engine/comments.js +26 -26
- package/dist/safe-bash-docx-engine/control-bindings.js +21 -21
- package/dist/safe-bash-docx-engine/control-repeat.js +21 -21
- package/dist/safe-bash-docx-engine/controls.js +19 -19
- package/dist/safe-bash-docx-engine/create.js +11 -11
- package/dist/safe-bash-docx-engine/diagrams.js +11 -11
- package/dist/safe-bash-docx-engine/diff.js +13 -13
- package/dist/safe-bash-docx-engine/document-properties.js +16 -16
- package/dist/safe-bash-docx-engine/equations.js +17 -17
- package/dist/safe-bash-docx-engine/extract.js +14 -14
- package/dist/safe-bash-docx-engine/fields.js +23 -23
- package/dist/safe-bash-docx-engine/font-inventory.js +18 -18
- package/dist/safe-bash-docx-engine/font-resources.js +6 -6
- package/dist/safe-bash-docx-engine/image-batch-operations.js +14 -14
- package/dist/safe-bash-docx-engine/image-insertion.js +21 -21
- package/dist/safe-bash-docx-engine/image-layout.js +19 -19
- package/dist/safe-bash-docx-engine/image-replacement.js +22 -22
- package/dist/safe-bash-docx-engine/images.js +19 -19
- package/dist/safe-bash-docx-engine/index.js +111 -111
- package/dist/safe-bash-docx-engine/inspection.js +20 -20
- package/dist/safe-bash-docx-engine/invocation.js +9 -9
- package/dist/safe-bash-docx-engine/io.js +9 -9
- package/dist/safe-bash-docx-engine/links.js +21 -21
- package/dist/safe-bash-docx-engine/lists.js +20 -20
- package/dist/safe-bash-docx-engine/locations.js +15 -15
- package/dist/safe-bash-docx-engine/notes.js +22 -22
- package/dist/safe-bash-docx-engine/objects.js +19 -19
- package/dist/safe-bash-docx-engine/operation-json-schema.js +3 -3
- package/dist/safe-bash-docx-engine/operation-schema.js +2 -2
- package/dist/safe-bash-docx-engine/pack.js +14 -14
- package/dist/safe-bash-docx-engine/package-view-batch-operations.js +22 -22
- package/dist/safe-bash-docx-engine/pandoc-adapter.js +29 -29
- package/dist/safe-bash-docx-engine/paragraph-edit.js +25 -25
- package/dist/safe-bash-docx-engine/part-provider.js +3 -3
- package/dist/safe-bash-docx-engine/property-values.js +3 -3
- package/dist/safe-bash-docx-engine/publication.js +9 -9
- package/dist/safe-bash-docx-engine/removal.js +21 -21
- package/dist/safe-bash-docx-engine/revision-decisions.js +22 -22
- package/dist/safe-bash-docx-engine/revision-edit.js +20 -20
- package/dist/safe-bash-docx-engine/revisions.js +18 -18
- package/dist/safe-bash-docx-engine/run-format.js +20 -20
- package/dist/safe-bash-docx-engine/sanitize.js +34 -34
- package/dist/safe-bash-docx-engine/sections.js +19 -19
- package/dist/safe-bash-docx-engine/settings.js +11 -11
- package/dist/safe-bash-docx-engine/shape-edit.js +21 -21
- package/dist/safe-bash-docx-engine/signatures.js +15 -15
- package/dist/safe-bash-docx-engine/stories.js +22 -22
- package/dist/safe-bash-docx-engine/structure-model-batch-operations.js +38 -38
- package/dist/safe-bash-docx-engine/style-model-batch-operations.js +27 -27
- package/dist/safe-bash-docx-engine/style-model-result-schema.js +44 -44
- package/dist/safe-bash-docx-engine/styles.js +18 -18
- package/dist/safe-bash-docx-engine/table-edit.js +27 -27
- package/dist/safe-bash-docx-engine/table-read.js +16 -16
- package/dist/safe-bash-docx-engine/template.js +22 -22
- package/dist/safe-bash-docx-engine/text-replace.js +20 -20
- package/dist/safe-bash-docx-engine/text-resource-read.js +16 -16
- package/dist/safe-bash-docx-engine/text.js +16 -16
- package/dist/safe-bash-docx-engine/validation.js +7 -7
- package/dist/safe-bash-docx-engine/xml-parts.js +22 -22
- package/dist/safe-bash-network-engine/index.js +4 -4
- package/dist/safe-bash-network-engine/transfer.js +12 -12
- package/dist/safe-bash-presentation-engine/accessibility.js +15 -15
- package/dist/safe-bash-presentation-engine/animation-editing.js +5 -5
- package/dist/safe-bash-presentation-engine/animations.js +5 -5
- package/dist/safe-bash-presentation-engine/backgrounds.js +6 -6
- package/dist/safe-bash-presentation-engine/chart-editing.js +18 -18
- package/dist/safe-bash-presentation-engine/chart-object-operations.js +12 -12
- package/dist/safe-bash-presentation-engine/charts.js +15 -15
- package/dist/safe-bash-presentation-engine/command-placeholder.js +39 -38
- package/dist/safe-bash-presentation-engine/comments.js +6 -6
- package/dist/safe-bash-presentation-engine/connector-operations.js +16 -16
- package/dist/safe-bash-presentation-engine/connectors.js +13 -13
- package/dist/safe-bash-presentation-engine/diff.js +21 -20
- package/dist/safe-bash-presentation-engine/drawing-format.js +7 -7
- package/dist/safe-bash-presentation-engine/drawing-operations.js +15 -15
- package/dist/safe-bash-presentation-engine/drawing-schema.js +8 -8
- package/dist/safe-bash-presentation-engine/equations.js +6 -6
- package/dist/safe-bash-presentation-engine/fields.js +6 -6
- package/dist/safe-bash-presentation-engine/image-extraction.js +7 -7
- package/dist/safe-bash-presentation-engine/image-formatting.js +16 -16
- package/dist/safe-bash-presentation-engine/image-insertion.js +6 -6
- package/dist/safe-bash-presentation-engine/image-replacement.js +7 -7
- package/dist/safe-bash-presentation-engine/images.js +6 -6
- package/dist/safe-bash-presentation-engine/index.js +96 -95
- package/dist/safe-bash-presentation-engine/layouts.js +5 -5
- package/dist/safe-bash-presentation-engine/links.js +5 -5
- package/dist/safe-bash-presentation-engine/masters.js +4 -4
- package/dist/safe-bash-presentation-engine/media-editing.js +10 -10
- package/dist/safe-bash-presentation-engine/media-extraction.js +6 -6
- package/dist/safe-bash-presentation-engine/media.js +5 -5
- package/dist/safe-bash-presentation-engine/memberships.d.ts +1 -0
- package/dist/safe-bash-presentation-engine/memberships.js +12 -6
- package/dist/safe-bash-presentation-engine/notes.js +6 -6
- package/dist/safe-bash-presentation-engine/ole-insertion.js +6 -6
- package/dist/safe-bash-presentation-engine/opaque-objects.js +2 -2
- package/dist/safe-bash-presentation-engine/package-tools.js +6 -6
- package/dist/safe-bash-presentation-engine/presentation-model.js +38 -37
- package/dist/safe-bash-presentation-engine/presentation-settings.d.ts +1 -0
- package/dist/safe-bash-presentation-engine/presentation-settings.js +12 -5
- package/dist/safe-bash-presentation-engine/properties.js +7 -6
- package/dist/safe-bash-presentation-engine/retained-inspection.js +3 -3
- package/dist/safe-bash-presentation-engine/retained-memberships.d.ts +25 -0
- package/dist/safe-bash-presentation-engine/retained-presentation-settings.d.ts +25 -0
- package/dist/safe-bash-presentation-engine/retained-text.d.ts +24 -4
- package/dist/safe-bash-presentation-engine/retained-text.js +17 -15
- package/dist/safe-bash-presentation-engine/sanitize.js +8 -7
- package/dist/safe-bash-presentation-engine/selectors.js +2 -2
- package/dist/safe-bash-presentation-engine/shape-groups.js +15 -15
- package/dist/safe-bash-presentation-engine/shape-operations.js +14 -14
- package/dist/safe-bash-presentation-engine/shape-path-operations.js +16 -16
- package/dist/safe-bash-presentation-engine/shape-paths.js +5 -5
- package/dist/safe-bash-presentation-engine/shape-selection.js +15 -15
- package/dist/safe-bash-presentation-engine/shape-transforms.js +5 -5
- package/dist/safe-bash-presentation-engine/shapes.js +11 -11
- package/dist/safe-bash-presentation-engine/slide-copy.js +7 -5
- package/dist/safe-bash-presentation-engine/slide-import.js +6 -6
- package/dist/safe-bash-presentation-engine/slide-merge-split.js +8 -8
- package/dist/safe-bash-presentation-engine/slide-model.js +24 -24
- package/dist/safe-bash-presentation-engine/slide-removal.js +7 -7
- package/dist/safe-bash-presentation-engine/slide-transfer-budget.js +2 -2
- package/dist/safe-bash-presentation-engine/slides.js +5 -5
- package/dist/safe-bash-presentation-engine/table-operations.js +17 -17
- package/dist/safe-bash-presentation-engine/table-spans.js +16 -16
- package/dist/safe-bash-presentation-engine/tables.js +15 -15
- package/dist/safe-bash-presentation-engine/tags.js +6 -6
- package/dist/safe-bash-presentation-engine/template-bindings.js +16 -16
- package/dist/safe-bash-presentation-engine/template-repeat.js +24 -22
- package/dist/safe-bash-presentation-engine/text-fitting.js +11 -11
- package/dist/safe-bash-presentation-engine/text-frames.js +11 -11
- package/dist/safe-bash-presentation-engine/text-paragraphs.js +11 -11
- package/dist/safe-bash-presentation-engine/text-reading.js +3 -3
- package/dist/safe-bash-presentation-engine/text-replacement.js +6 -6
- package/dist/safe-bash-presentation-engine/text-runs.js +8 -8
- package/dist/safe-bash-presentation-engine/themes.js +5 -5
- package/dist/safe-bash-presentation-engine/transitions.js +5 -5
- package/dist/safe-bash-presentation-engine/validation.js +2 -2
- package/dist/safe-bash-presentation-engine/xml-parts.js +5 -5
- package/dist/safe-bash-xml-engine/document.js +2 -2
- package/dist/safe-bash-xml-engine/index.js +2 -2
- package/dist/safe-bash-xml-engine/recovery.d.ts +6 -2
- package/dist/safe-bash-xml-engine/stored-document.d.ts +2 -1
- package/dist/safe-bash-xml-engine/stored-document.js +1 -1
- package/dist/safe-bash-xml-engine/{stored-namespaces.d.ts → stored-map.d.ts} +6 -6
- package/dist/safe-bash-zip-engine/index.js +3 -3
- package/dist/safe-bash-zip-engine/zip/repair.js +3 -3
- package/dist/safe-bash-zip-engine/zip/sfx.js +3 -3
- package/dist/safe-bash-zip-engine/zip-format.js +3 -3
- package/dist/spreadsheet-engine/formatting/cell-text.js +1 -1
- package/dist/spreadsheet-engine/{rendering/print → formatting}/general-number.js +3 -3
- package/dist/spreadsheet-engine/formulas/functions/python-printf.js +9 -7
- package/dist/spreadsheet-engine/solver/program.js +3 -2
- package/dist/spreadsheet-engine/solver/run.js +8 -2
- package/dist/spreadsheet-engine/solver/sensitivity.d.ts +4 -2
- package/dist/spreadsheet-engine/solver/sensitivity.js +80 -42
- package/dist/spreadsheet-format-xls/biff-properties-merge.d.ts +2 -1
- package/dist/spreadsheet-format-xls/biff-properties-merge.js +35 -29
- package/dist/spreadsheet-format-xls/biff-properties-write.js +16 -7
- package/dist/spreadsheet-format-xls/biff-property-names.d.ts +3 -0
- package/dist/spreadsheet-format-xls/biff-property-names.js +44 -1
- package/dist/spreadsheet-format-xls/biff-property-observations.d.ts +33 -0
- package/dist/spreadsheet-format-xls/biff-property-observations.js +160 -0
- package/package.json +6 -4
- package/third-party/pdf-ast/THIRD_PARTY_NOTICES.md +15 -0
- package/third-party/pdf-ast/licenses/PYTHON-PSF.txt +254 -0
- package/third-party/pdf-ast/licenses/V8-BSD.txt +61 -0
- package/dist/safe-bash/command-chunks/biff-KLS4T7FP-UO3CXFFF.js +0 -5581
- package/dist/safe-bash/command-chunks/chunk-6EZWG56T.js +0 -455
- package/dist/safe-bash/command-chunks/model-store-I7YAWL5V.js +0 -54
- package/dist/safe-bash/command-chunks/{chunk-SRXARACJ.js → chunk-3TP4SSPS.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-NCNHJRIY.js → chunk-3W3HLPCX.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-P4OWVKMD.js → chunk-BQXKO3X7.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-OCOJMKDP.js → chunk-CVMHDJ7J.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-AV6N7DDA.js → chunk-DDYPQAXN.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-FEKECRJP.js → chunk-EBTKM7KX.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-WVD5WZXD.js → chunk-FPNUGKCX.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-6W4RMBFH.js → chunk-N6VNHC3B.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-M3OXQXCU.js → chunk-NBRXQUK7.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-LECGQSQW.js → chunk-SF56V6QK.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-2ANW3FXH.js → chunk-U33GIOUY.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-5QXRIZSS.js → chunk-V3NKL42J.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-OEKLEUUW.js → chunk-YZE7BKHC.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-WXW665TV.js → chunk-ZSHXZ3XG.js} +6 -6
- package/dist/safe-bash/command-chunks/{dif-BXKPQOCO-4KB3RC6G.js → dif-BXKPQOCO-FVJYYGYB.js} +4 -4
- package/dist/safe-bash/command-chunks/{pln-DFS7VLVS-OVOBS4QX.js → pln-DFS7VLVS-JATX6FS7.js} +3 -3
- package/dist/safe-bash/command-chunks/{psion-YBI6JEQI-GY4S6ZLC.js → psion-YBI6JEQI-6OMC2PGC.js} +3 -3
- package/dist/safe-bash/command-chunks/{sylk-25D7TL2Y-RU6ANKGT.js → sylk-25D7TL2Y-NJKBZZTF.js} +4 -4
- /package/dist/spreadsheet-engine/{rendering/print → formatting}/general-number.d.ts +0 -0
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openDocumentLocations
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MWVELMXZ.js";
|
|
4
4
|
import {
|
|
5
5
|
embeddedFontContentTypes,
|
|
6
6
|
fontResourceRole
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ROE6KD4C.js";
|
|
8
8
|
import {
|
|
9
9
|
measurePackageResourceSerialization
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ETN25WCR.js";
|
|
11
11
|
import {
|
|
12
12
|
validateDocxInvocation
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-BDGNKRY4.js";
|
|
14
14
|
import {
|
|
15
15
|
readDocumentArchive
|
|
16
16
|
} from "./chunk-5BUL25DF.js";
|
|
17
17
|
import {
|
|
18
18
|
revisionInfo
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-QMWBKR4C.js";
|
|
20
20
|
import {
|
|
21
21
|
documentDialects
|
|
22
22
|
} from "./chunk-WLANDWNW.js";
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readTextSegments
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LPKMNCC5.js";
|
|
4
4
|
import {
|
|
5
5
|
DocumentArchiveEditor
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-GY2C555A.js";
|
|
7
7
|
import {
|
|
8
8
|
LocationIndex,
|
|
9
9
|
addressKey,
|
|
10
10
|
documentScopes,
|
|
11
11
|
pathContains
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-VSTAHYCV.js";
|
|
13
13
|
import {
|
|
14
14
|
validateDocxInvocation
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-BDGNKRY4.js";
|
|
16
16
|
import {
|
|
17
17
|
readDocumentArchive
|
|
18
18
|
} from "./chunk-5BUL25DF.js";
|
|
19
19
|
import {
|
|
20
20
|
UnsupportedEditError
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-QMWBKR4C.js";
|
|
22
22
|
import {
|
|
23
23
|
docxOperationSchemas
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-EBTKM7KX.js";
|
|
25
25
|
import {
|
|
26
26
|
SelectionError,
|
|
27
27
|
closedRecord,
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
reviewResourceDate
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IBT3OWXB.js";
|
|
4
4
|
import {
|
|
5
5
|
openDocumentLocations,
|
|
6
6
|
resolveDocxSelection
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-MWVELMXZ.js";
|
|
8
8
|
import {
|
|
9
9
|
DocumentArchiveEditor
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-GY2C555A.js";
|
|
11
11
|
import {
|
|
12
12
|
pathContains
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-VSTAHYCV.js";
|
|
14
14
|
import {
|
|
15
15
|
incomingResourceReferences
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ETN25WCR.js";
|
|
17
17
|
import {
|
|
18
18
|
validateDocxInvocation
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-BDGNKRY4.js";
|
|
20
20
|
import {
|
|
21
21
|
DocumentPackage
|
|
22
22
|
} from "./chunk-5BUL25DF.js";
|
|
23
23
|
import {
|
|
24
24
|
revisionInfo
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-QMWBKR4C.js";
|
|
26
26
|
import {
|
|
27
27
|
storedIntegerIdentity
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-2TMTGVJR.js";
|
|
29
29
|
import {
|
|
30
30
|
documentDialects
|
|
31
31
|
} from "./chunk-WLANDWNW.js";
|
|
@@ -7,11 +7,133 @@ import {
|
|
|
7
7
|
createMediaAstRegistry,
|
|
8
8
|
encodeUtf8,
|
|
9
9
|
parseStreamingManifest,
|
|
10
|
+
probeMp4Source,
|
|
10
11
|
probeOggFlacSource,
|
|
11
12
|
probeOggStreamMetadata,
|
|
12
13
|
scanMp4Frames,
|
|
13
14
|
scanMp4Packets
|
|
14
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-CSS5KXQC.js";
|
|
16
|
+
|
|
17
|
+
// packages/safe-bash-command-ffprobe/src/probe-text.ts
|
|
18
|
+
import { yieldTurn } from "../../safe-bash-contracts/yield.js";
|
|
19
|
+
function isProbeText(value) {
|
|
20
|
+
return typeof value === "object" && value !== null && "kind" in value && value.kind === "text" && "chunks" in value && typeof value.chunks === "function";
|
|
21
|
+
}
|
|
22
|
+
function* probeJsonSteps(value, compact, depth) {
|
|
23
|
+
if (isProbeText(value)) {
|
|
24
|
+
yield { text: value, mode: "json" };
|
|
25
|
+
return;
|
|
26
|
+
}
|
|
27
|
+
if (value === null || typeof value !== "object") {
|
|
28
|
+
yield JSON.stringify(value) ?? "null";
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
if ("toJSON" in value && typeof value.toJSON === "function" || value instanceof Number || value instanceof String || value instanceof Boolean) {
|
|
32
|
+
const text = JSON.stringify(value, null, compact ? void 0 : 2) ?? "null";
|
|
33
|
+
yield compact ? text : text.replaceAll("\n", "\n" + " ".repeat(depth));
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
const array = Array.isArray(value);
|
|
37
|
+
function* entries() {
|
|
38
|
+
if (Array.isArray(value)) {
|
|
39
|
+
for (let i = 0; i < value.length; i++) yield [String(i), value[i]];
|
|
40
|
+
} else for (const key of Object.keys(value)) {
|
|
41
|
+
const item = value[key];
|
|
42
|
+
if (item !== void 0 && typeof item !== "function" && typeof item !== "symbol") yield [key, item];
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
yield array ? "[" : "{";
|
|
46
|
+
let first = true;
|
|
47
|
+
for (const [key, item] of entries()) {
|
|
48
|
+
yield (first ? "" : ",") + (compact ? "" : "\n" + " ".repeat(depth + 1));
|
|
49
|
+
first = false;
|
|
50
|
+
if (!array) yield JSON.stringify(key) + (compact ? ":" : ": ");
|
|
51
|
+
yield* probeJsonSteps(item, compact, depth + 1);
|
|
52
|
+
}
|
|
53
|
+
if (!first && !compact) yield "\n" + " ".repeat(depth);
|
|
54
|
+
yield array ? "]" : "}";
|
|
55
|
+
}
|
|
56
|
+
async function* textChunks(text, signal) {
|
|
57
|
+
signal?.throwIfAborted();
|
|
58
|
+
const source = text.chunks(), iterator = Symbol.asyncIterator in source ? source[Symbol.asyncIterator]() : source[Symbol.iterator]();
|
|
59
|
+
let ended = false, failed = false, pending = "", steps = 0;
|
|
60
|
+
try {
|
|
61
|
+
for (; ; ) {
|
|
62
|
+
signal?.throwIfAborted();
|
|
63
|
+
const next = await iterator.next();
|
|
64
|
+
signal?.throwIfAborted();
|
|
65
|
+
if (next.done) {
|
|
66
|
+
ended = true;
|
|
67
|
+
if (pending) yield pending;
|
|
68
|
+
break;
|
|
69
|
+
}
|
|
70
|
+
const value = pending + next.value;
|
|
71
|
+
pending = "";
|
|
72
|
+
let end = value.length;
|
|
73
|
+
if (end && value.charCodeAt(end - 1) >= 55296 && value.charCodeAt(end - 1) <= 56319) pending = value[--end];
|
|
74
|
+
for (let start = 0; start < end; ) {
|
|
75
|
+
let stop = Math.min(end, start + 1024);
|
|
76
|
+
if (stop < end && value.charCodeAt(stop - 1) >= 55296 && value.charCodeAt(stop - 1) <= 56319 && value.charCodeAt(stop) >= 56320 && value.charCodeAt(stop) <= 57343) stop--;
|
|
77
|
+
signal?.throwIfAborted();
|
|
78
|
+
yield value.slice(start, stop);
|
|
79
|
+
start = stop;
|
|
80
|
+
if (++steps % 256 === 0) await yieldTurn(signal);
|
|
81
|
+
}
|
|
82
|
+
if (++steps % 256 === 0) await yieldTurn(signal);
|
|
83
|
+
}
|
|
84
|
+
} catch (error) {
|
|
85
|
+
failed = true;
|
|
86
|
+
throw error;
|
|
87
|
+
} finally {
|
|
88
|
+
if (!ended) {
|
|
89
|
+
if (failed) {
|
|
90
|
+
try {
|
|
91
|
+
await iterator.return?.();
|
|
92
|
+
} catch {
|
|
93
|
+
}
|
|
94
|
+
} else await iterator.return?.();
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
async function* formatProbeText(step, signal) {
|
|
99
|
+
const separator = step.separator ?? ".", quoted = step.mode === "flat" || step.mode === "json";
|
|
100
|
+
let csvQuoted = step.mode === "csv" && separator === "";
|
|
101
|
+
if (step.mode === "csv") {
|
|
102
|
+
let tail = "";
|
|
103
|
+
for await (const chunk of textChunks(step.text, signal)) {
|
|
104
|
+
const text = tail + chunk;
|
|
105
|
+
if ([separator, '"', "\n", "\r"].some((character) => text.includes(character))) {
|
|
106
|
+
csvQuoted = true;
|
|
107
|
+
break;
|
|
108
|
+
}
|
|
109
|
+
tail = separator.length > 1 ? text.slice(-(separator.length - 1)) : "";
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
if (quoted || csvQuoted) yield '"';
|
|
113
|
+
for await (const chunk of textChunks(step.text, signal)) {
|
|
114
|
+
if (step.mode === "plain") {
|
|
115
|
+
yield chunk;
|
|
116
|
+
continue;
|
|
117
|
+
}
|
|
118
|
+
if (step.mode === "json") {
|
|
119
|
+
yield JSON.stringify(chunk).slice(1, -1);
|
|
120
|
+
continue;
|
|
121
|
+
}
|
|
122
|
+
if (step.mode === "csv") {
|
|
123
|
+
yield chunk.replaceAll('"', '""');
|
|
124
|
+
continue;
|
|
125
|
+
}
|
|
126
|
+
let escaped = "";
|
|
127
|
+
for (const character of chunk) {
|
|
128
|
+
if (character === "\n") escaped += "\\n";
|
|
129
|
+
else if (character === "\r") escaped += "\\r";
|
|
130
|
+
else if (character === "\\" || (step.mode === "flat" ? character === '"' : character === separator)) escaped += "\\" + character;
|
|
131
|
+
else escaped += character;
|
|
132
|
+
}
|
|
133
|
+
yield escaped;
|
|
134
|
+
}
|
|
135
|
+
if (quoted || csvQuoted) yield '"';
|
|
136
|
+
}
|
|
15
137
|
|
|
16
138
|
// packages/safe-bash-command-ffprobe/src/media.ts
|
|
17
139
|
import { PagedStorage as PagedStorage6, IntegerTable as IntegerTable4 } from "@poe-platform/safe-fs/storage";
|
|
@@ -22,7 +144,7 @@ import { probeOggStreamSource } from "../../audio-ast/index.js";
|
|
|
22
144
|
// packages/safe-bash-command-ffprobe/src/ogg-index.ts
|
|
23
145
|
import { scanOggPages } from "../../audio-ast/index.js";
|
|
24
146
|
import { IntegerTable, PagedStorage } from "@poe-platform/safe-fs/storage";
|
|
25
|
-
import { yieldTurn } from "../../safe-bash-contracts/yield.js";
|
|
147
|
+
import { yieldTurn as yieldTurn2 } from "../../safe-bash-contracts/yield.js";
|
|
26
148
|
var OggIndex = class {
|
|
27
149
|
constructor(source, context) {
|
|
28
150
|
this.source = source;
|
|
@@ -57,7 +179,7 @@ var OggIndex = class {
|
|
|
57
179
|
let active = 0, seen = 0, group = 0;
|
|
58
180
|
for await (const page of scanOggPages(this.source, { signal: this.context.signal, checkpoint: async () => {
|
|
59
181
|
this.check();
|
|
60
|
-
await
|
|
182
|
+
await yieldTurn2(this.context.signal);
|
|
61
183
|
this.check();
|
|
62
184
|
} })) {
|
|
63
185
|
const key = BigInt(page.serial), existing = await this.serials.get(key);
|
|
@@ -148,7 +270,7 @@ var OggIndex = class {
|
|
|
148
270
|
let used = 0, steps = 0, position = cached && offset >= cached.start ? cached.position : first;
|
|
149
271
|
while (used < output.length) {
|
|
150
272
|
if (++steps % 256 === 0) {
|
|
151
|
-
await
|
|
273
|
+
await yieldTurn2(context.signal);
|
|
152
274
|
check();
|
|
153
275
|
}
|
|
154
276
|
if (!position) throw new Error("Truncated Ogg packet index");
|
|
@@ -178,7 +300,7 @@ var OggIndex = class {
|
|
|
178
300
|
let steps = 0;
|
|
179
301
|
for (let position = pageOrder ? this.firstPage : this.first; position; ) {
|
|
180
302
|
if (++steps % 256 === 0) {
|
|
181
|
-
await
|
|
303
|
+
await yieldTurn2(this.context.signal);
|
|
182
304
|
this.check();
|
|
183
305
|
}
|
|
184
306
|
const bytes = await this.storage.read(position, 128), row = new DataView(bytes.buffer, bytes.byteOffset, bytes.length);
|
|
@@ -201,7 +323,7 @@ var OggIndex = class {
|
|
|
201
323
|
// packages/safe-bash-command-ffprobe/src/flac-tags.ts
|
|
202
324
|
import { IntegerTable as IntegerTable2, PagedStorage as PagedStorage2 } from "@poe-platform/safe-fs/storage";
|
|
203
325
|
import { normalizeVorbisCommentKey } from "../../audio-ast/index.js";
|
|
204
|
-
import { yieldTurn as
|
|
326
|
+
import { yieldTurn as yieldTurn3 } from "../../safe-bash-contracts/yield.js";
|
|
205
327
|
var FlacTags = class {
|
|
206
328
|
constructor(source, context, options = {}) {
|
|
207
329
|
this.source = source;
|
|
@@ -235,7 +357,7 @@ var FlacTags = class {
|
|
|
235
357
|
let steps = 0;
|
|
236
358
|
for (let at = 0; at < length; at += 16384) {
|
|
237
359
|
yield decoder.decode(await (stored ? this.storage.read(offset + at, Math.min(16384, length - at)) : this.read(offset + at, Math.min(16384, length - at))), { stream: true });
|
|
238
|
-
if (++steps % 256 === 0) await
|
|
360
|
+
if (++steps % 256 === 0) await yieldTurn3(this.context.signal);
|
|
239
361
|
}
|
|
240
362
|
yield decoder.decode();
|
|
241
363
|
}
|
|
@@ -272,7 +394,7 @@ var FlacTags = class {
|
|
|
272
394
|
if (pending) yield pending;
|
|
273
395
|
}
|
|
274
396
|
async add(span) {
|
|
275
|
-
if (++this.work % 256 === 0) await
|
|
397
|
+
if (++this.work % 256 === 0) await yieldTurn3(this.context.signal);
|
|
276
398
|
let split = -1;
|
|
277
399
|
for (let at = 0; at < span.length; at += 16384) {
|
|
278
400
|
const bytes = await this.read(span.offset + at, Math.min(16384, span.length - at)), found = bytes.indexOf(61);
|
|
@@ -280,7 +402,7 @@ var FlacTags = class {
|
|
|
280
402
|
split = at + found;
|
|
281
403
|
break;
|
|
282
404
|
}
|
|
283
|
-
if ((at / 16384 + 1) % 256 === 0) await
|
|
405
|
+
if ((at / 16384 + 1) % 256 === 0) await yieldTurn3(this.context.signal);
|
|
284
406
|
}
|
|
285
407
|
if (split <= 0) return;
|
|
286
408
|
let keyPosition = this.storage.allocate(0), units = 0, hash = 2166136261, short = "";
|
|
@@ -711,12 +833,12 @@ async function probeStoredOgg(source, context, retain) {
|
|
|
711
833
|
}
|
|
712
834
|
|
|
713
835
|
// packages/safe-bash-command-ffprobe/src/media.ts
|
|
714
|
-
import { yieldTurn as
|
|
836
|
+
import { yieldTurn as yieldTurn7 } from "../../safe-bash-contracts/yield.js";
|
|
715
837
|
|
|
716
838
|
// packages/safe-bash-command-ffprobe/src/source-tags.ts
|
|
717
839
|
import { IntegerTable as IntegerTable3, PagedStorage as PagedStorage3 } from "@poe-platform/safe-fs/storage";
|
|
718
840
|
import { readId3Text } from "../../audio-ast/index.js";
|
|
719
|
-
import { yieldTurn as
|
|
841
|
+
import { yieldTurn as yieldTurn4 } from "../../safe-bash-contracts/yield.js";
|
|
720
842
|
var SourceAudioTags = class {
|
|
721
843
|
constructor(source, context) {
|
|
722
844
|
this.source = source;
|
|
@@ -737,7 +859,7 @@ var SourceAudioTags = class {
|
|
|
737
859
|
close;
|
|
738
860
|
async *decoded(offset, length, encoding = 255, unsynchronized = false) {
|
|
739
861
|
if (encoding < 4) {
|
|
740
|
-
yield* readId3Text(this.source, { key: "", offset, length, encoding, unsynchronized }, { signal: this.context.signal, checkpoint: () =>
|
|
862
|
+
yield* readId3Text(this.source, { key: "", offset, length, encoding, unsynchronized }, { signal: this.context.signal, checkpoint: () => yieldTurn4(this.context.signal) });
|
|
741
863
|
return;
|
|
742
864
|
}
|
|
743
865
|
const decoder = new TextDecoder();
|
|
@@ -748,7 +870,7 @@ var SourceAudioTags = class {
|
|
|
748
870
|
this.context.signal.throwIfAborted();
|
|
749
871
|
if (bytes.length !== Math.min(16384, length - at)) throw new Error("Truncated audio tag");
|
|
750
872
|
yield decoder.decode(bytes, { stream: true });
|
|
751
|
-
if (++steps % 256 === 0) await
|
|
873
|
+
if (++steps % 256 === 0) await yieldTurn4(this.context.signal);
|
|
752
874
|
}
|
|
753
875
|
yield decoder.decode();
|
|
754
876
|
}
|
|
@@ -1026,7 +1148,7 @@ async function* formatTaggedRows(rows, args) {
|
|
|
1026
1148
|
// packages/safe-bash-command-ffprobe/src/probe-output.ts
|
|
1027
1149
|
import { PagedStorage as PagedStorage4 } from "@poe-platform/safe-fs/storage";
|
|
1028
1150
|
import { writeBytes } from "../../safe-bash-contracts/io.js";
|
|
1029
|
-
import { yieldTurn as
|
|
1151
|
+
import { yieldTurn as yieldTurn5 } from "../../safe-bash-contracts/yield.js";
|
|
1030
1152
|
async function* encodeParts(parts2, signal) {
|
|
1031
1153
|
const encoder = new TextEncoder();
|
|
1032
1154
|
let high = "", steps = 0;
|
|
@@ -1042,7 +1164,7 @@ async function* encodeParts(parts2, signal) {
|
|
|
1042
1164
|
text = text.slice(0, -1);
|
|
1043
1165
|
}
|
|
1044
1166
|
if (text) yield encoder.encode(text);
|
|
1045
|
-
if (++steps % 256 === 0) await
|
|
1167
|
+
if (++steps % 256 === 0) await yieldTurn5(signal);
|
|
1046
1168
|
}
|
|
1047
1169
|
}
|
|
1048
1170
|
if (high) yield encoder.encode(high);
|
|
@@ -1077,7 +1199,7 @@ async function writeProbeOutput(context, parts2, check, beforePublish) {
|
|
|
1077
1199
|
import { PagedStorage as PagedStorage5 } from "@poe-platform/safe-fs/storage";
|
|
1078
1200
|
import { readBytes } from "../../safe-bash-contracts/io.js";
|
|
1079
1201
|
import { readFileStream } from "../../safe-bash-contracts/filesystem.js";
|
|
1080
|
-
import { yieldTurn as
|
|
1202
|
+
import { yieldTurn as yieldTurn6 } from "../../safe-bash-contracts/yield.js";
|
|
1081
1203
|
async function openProbeStream(context, path) {
|
|
1082
1204
|
context.signal.throwIfAborted();
|
|
1083
1205
|
if (path === void 0) return readBytes(context.stdin, context.signal);
|
|
@@ -1159,7 +1281,7 @@ async function withStagedProbeSource(context, input, probe2, retain) {
|
|
|
1159
1281
|
size += chunk.length;
|
|
1160
1282
|
start ??= storage.allocate(0);
|
|
1161
1283
|
await storage.append(chunk);
|
|
1162
|
-
if (++steps % 256 === 0) await
|
|
1284
|
+
if (++steps % 256 === 0) await yieldTurn6(context.signal);
|
|
1163
1285
|
}
|
|
1164
1286
|
context.signal.throwIfAborted();
|
|
1165
1287
|
start ??= storage.allocate(0);
|
|
@@ -1376,8 +1498,12 @@ function* formatFfprobeResultChunks(probe2, opts, audioInput) {
|
|
|
1376
1498
|
yield step;
|
|
1377
1499
|
continue;
|
|
1378
1500
|
}
|
|
1501
|
+
if ("text" in step) throw new TypeError("Source text requires asynchronous formatting");
|
|
1379
1502
|
let index = 0;
|
|
1380
|
-
for (const row of step.rows)
|
|
1503
|
+
for (const row of step.rows) for (const part of step.render(row, index++)) {
|
|
1504
|
+
if (typeof part !== "string") throw new TypeError("Source text requires asynchronous formatting");
|
|
1505
|
+
yield part;
|
|
1506
|
+
}
|
|
1381
1507
|
}
|
|
1382
1508
|
}
|
|
1383
1509
|
async function* formatFfprobeSourceChunks(probe2, opts, audioInput, signal) {
|
|
@@ -1393,6 +1519,10 @@ async function* formatFfprobeSourceChunks(probe2, opts, audioInput, signal) {
|
|
|
1393
1519
|
yield step;
|
|
1394
1520
|
continue;
|
|
1395
1521
|
}
|
|
1522
|
+
if ("text" in step) {
|
|
1523
|
+
yield* formatProbeText(step, signal);
|
|
1524
|
+
continue;
|
|
1525
|
+
}
|
|
1396
1526
|
const iterator = Symbol.asyncIterator in step.rows ? step.rows[Symbol.asyncIterator]() : step.rows[Symbol.iterator]();
|
|
1397
1527
|
let index = 0, ended = false, failed = false;
|
|
1398
1528
|
try {
|
|
@@ -1404,8 +1534,11 @@ async function* formatFfprobeSourceChunks(probe2, opts, audioInput, signal) {
|
|
|
1404
1534
|
ended = true;
|
|
1405
1535
|
break;
|
|
1406
1536
|
}
|
|
1407
|
-
|
|
1408
|
-
|
|
1537
|
+
for (const part of step.render(next.value, index++)) {
|
|
1538
|
+
if (typeof part === "string") yield part;
|
|
1539
|
+
else yield* formatProbeText(part, signal);
|
|
1540
|
+
}
|
|
1541
|
+
if (index % 256 === 0) await yieldTurn7(signal);
|
|
1409
1542
|
}
|
|
1410
1543
|
} catch (error) {
|
|
1411
1544
|
failed = true;
|
|
@@ -1532,13 +1665,11 @@ function* formatProbeSteps(probe2, opts) {
|
|
|
1532
1665
|
} else if (section.name === "packets" || section.name === "frames") row = filterObject(row, section.name === "packets" ? "packet" : "frame");
|
|
1533
1666
|
yield (firstRow ? "" : ",") + (compact ? "" : "\n ");
|
|
1534
1667
|
firstRow = false;
|
|
1535
|
-
|
|
1536
|
-
yield compact ? text : text.replaceAll("\n", "\n ");
|
|
1668
|
+
yield* probeJsonSteps(row, compact, 2);
|
|
1537
1669
|
} };
|
|
1538
1670
|
yield (compact || firstRow ? "" : "\n ") + "]";
|
|
1539
1671
|
} else {
|
|
1540
|
-
|
|
1541
|
-
yield compact ? text : text.replaceAll("\n", "\n ");
|
|
1672
|
+
yield* probeJsonSteps(section.value, compact, 1);
|
|
1542
1673
|
}
|
|
1543
1674
|
}
|
|
1544
1675
|
yield (compact || firstSection ? "" : "\n") + "}\n";
|
|
@@ -1552,6 +1683,7 @@ function* formatProbeSteps(probe2, opts) {
|
|
|
1552
1683
|
);
|
|
1553
1684
|
}
|
|
1554
1685
|
function probeText(value, separator = ".") {
|
|
1686
|
+
if (isProbeText(value)) return { text: value, mode: fmt === "csv" || fmt === "flat" ? fmt : "compact", separator };
|
|
1555
1687
|
if (fmt === "flat" && typeof value === "number") return String(value);
|
|
1556
1688
|
const text = String(value);
|
|
1557
1689
|
if (fmt === "csv") {
|
|
@@ -1577,18 +1709,20 @@ function* formatProbeSteps(probe2, opts) {
|
|
|
1577
1709
|
first = false;
|
|
1578
1710
|
}
|
|
1579
1711
|
for (const [key, value] of probeEntries(section, "tag:")) {
|
|
1580
|
-
if (value === void 0 || typeof value === "object") continue;
|
|
1712
|
+
if (value === void 0 || typeof value === "object" && !isProbeText(value)) continue;
|
|
1581
1713
|
if (!first) yield sep;
|
|
1582
1714
|
first = false;
|
|
1583
|
-
|
|
1715
|
+
if (!noKey && fmt !== "csv") yield `${key}=`;
|
|
1716
|
+
yield probeText(value, sep);
|
|
1584
1717
|
}
|
|
1585
1718
|
yield "\n";
|
|
1586
1719
|
} else if (fmt === "flat") {
|
|
1587
1720
|
const sep = paramMap.s ?? ".", prefix = name === "stream" ? `streams${sep}stream${sep}${index}${sep}` : name === "packet" || name === "frame" ? `${name}s${sep}${name}${sep}${index}${sep}` : `format${sep}`;
|
|
1588
1721
|
for (const [key, value] of probeEntries(section, `tags${sep}`)) {
|
|
1589
|
-
if (value === void 0 || typeof value === "object") continue;
|
|
1590
|
-
yield `${prefix}${key}
|
|
1591
|
-
|
|
1722
|
+
if (value === void 0 || typeof value === "object" && !isProbeText(value)) continue;
|
|
1723
|
+
yield `${prefix}${key}=`;
|
|
1724
|
+
yield probeText(value);
|
|
1725
|
+
yield "\n";
|
|
1592
1726
|
}
|
|
1593
1727
|
} else {
|
|
1594
1728
|
const wrapper = name.toUpperCase();
|
|
@@ -1597,7 +1731,11 @@ function* formatProbeSteps(probe2, opts) {
|
|
|
1597
1731
|
for (const [key, value] of Object.entries(section)) {
|
|
1598
1732
|
if (value === void 0) continue;
|
|
1599
1733
|
if (key === "tags" && value && typeof value === "object") {
|
|
1600
|
-
for (const [tag, text] of Object.entries(value))
|
|
1734
|
+
for (const [tag, text] of Object.entries(value)) {
|
|
1735
|
+
if (!noKey) yield `TAG:${tag}=`;
|
|
1736
|
+
yield isProbeText(text) ? { text, mode: "plain" } : String(text);
|
|
1737
|
+
yield "\n";
|
|
1738
|
+
}
|
|
1601
1739
|
} else if (typeof value !== "object") yield (noKey ? String(value) : `${key}=${String(value)}`) + "\n";
|
|
1602
1740
|
}
|
|
1603
1741
|
if (!noWrappers) yield `[/${wrapper}]
|
|
@@ -1716,7 +1854,7 @@ async function probeSourceMetadata(context, plugins, input, filename, budget, re
|
|
|
1716
1854
|
const scanOptions = {
|
|
1717
1855
|
budget,
|
|
1718
1856
|
signal: context.signal,
|
|
1719
|
-
checkpoint: () =>
|
|
1857
|
+
checkpoint: () => yieldTurn7(context.signal),
|
|
1720
1858
|
syncSamples() {
|
|
1721
1859
|
const keys = new IntegerTable4(storage, 128);
|
|
1722
1860
|
return { async add(sample) {
|
|
@@ -1726,6 +1864,7 @@ async function probeSourceMetadata(context, plugins, input, filename, budget, re
|
|
|
1726
1864
|
} };
|
|
1727
1865
|
}
|
|
1728
1866
|
};
|
|
1867
|
+
if (records.mp4Records.metadata) return probeMp4Source(source, { ...scanOptions, filename, showPackets: records.mp4Records.packets, showFrames: records.mp4Records.frames });
|
|
1729
1868
|
return {
|
|
1730
1869
|
streams: [],
|
|
1731
1870
|
chapters: [],
|
|
@@ -1734,7 +1873,7 @@ async function probeSourceMetadata(context, plugins, input, filename, budget, re
|
|
|
1734
1873
|
};
|
|
1735
1874
|
}
|
|
1736
1875
|
if (plugin.formatName === "ogg" && !plugin.probeRecords && !plugin.probeMetadata) {
|
|
1737
|
-
const probeOptions = { ...records, filename, signal: context.signal, budget, limits: budget.limits, checkpoint: () =>
|
|
1876
|
+
const probeOptions = { ...records, filename, signal: context.signal, budget, limits: budget.limits, checkpoint: () => yieldTurn7(context.signal) };
|
|
1738
1877
|
const flac = await probeOggFlacSource(source, probeOptions);
|
|
1739
1878
|
if (flac) return flac;
|
|
1740
1879
|
const ogg = await probeStoredOgg(source, context, retain);
|
|
@@ -1755,7 +1894,7 @@ async function probeSourceMetadata(context, plugins, input, filename, budget, re
|
|
|
1755
1894
|
throw error;
|
|
1756
1895
|
}
|
|
1757
1896
|
} }) : plugin.formatName === "mp3" ? await probeMp3Source(source, { signal: context.signal, checkpoint: async () => {
|
|
1758
|
-
if (++checkpoints % 256 === 0) await
|
|
1897
|
+
if (++checkpoints % 256 === 0) await yieldTurn7(context.signal);
|
|
1759
1898
|
}, onTag: async (span) => {
|
|
1760
1899
|
try {
|
|
1761
1900
|
await tags.add(span);
|
|
@@ -1896,7 +2035,11 @@ function createFfprobeCommand(options = {}) {
|
|
|
1896
2035
|
} = parseProbeArguments(args);
|
|
1897
2036
|
const entryFilter = parseEntryFilter(showEntries);
|
|
1898
2037
|
const packetRecords = showPackets || entryFilter.has("packet"), frameRecords = showFrames || entryFilter.has("frame");
|
|
1899
|
-
const mp4Records = !options.asts
|
|
2038
|
+
const mp4Records = !options.asts ? {
|
|
2039
|
+
packets: packetRecords,
|
|
2040
|
+
frames: frameRecords,
|
|
2041
|
+
metadata: !(packetRecords || frameRecords) || showStreams || showFormat || showChapters || countFrames || countPackets || [...entryFilter.keys()].some((section) => section !== "packet" && section !== "frame")
|
|
2042
|
+
} : void 0;
|
|
1900
2043
|
const packetPlugins = mp4Records ? [registry.findByFormatName("mp4"), registry.findByFormatName("mov")] : [];
|
|
1901
2044
|
let audioInput;
|
|
1902
2045
|
let automaticAudio = !options.asts && !explicitFormat && !showPackets && !showFrames && !showChapters && !showPrograms && !countFrames && !countPackets;
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
nodeFor,
|
|
3
3
|
selected,
|
|
4
4
|
validateSelection
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-YW7WU7W2.js";
|
|
6
6
|
import {
|
|
7
7
|
Length
|
|
8
8
|
} from "./chunk-B6XTAKKQ.js";
|
|
@@ -11,10 +11,10 @@ import {
|
|
|
11
11
|
child,
|
|
12
12
|
loadShared,
|
|
13
13
|
required
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-A32PUWYE.js";
|
|
15
15
|
import {
|
|
16
16
|
SelectionError
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-3W3HLPCX.js";
|
|
18
18
|
import {
|
|
19
19
|
OfficeError
|
|
20
20
|
} from "./chunk-KM2SMMXZ.js";
|
|
@@ -7,26 +7,22 @@ import {
|
|
|
7
7
|
} from "./chunk-7B2MHKIW.js";
|
|
8
8
|
import {
|
|
9
9
|
MSO_LANGUAGE_ID
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-5VY5O37W.js";
|
|
11
11
|
import {
|
|
12
12
|
readRunFormatting,
|
|
13
13
|
runPropertiesMerge,
|
|
14
14
|
textUnderlineStyles,
|
|
15
15
|
validateTextRunOptions
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-424NYO35.js";
|
|
17
17
|
import {
|
|
18
18
|
bestFitText
|
|
19
19
|
} from "./chunk-PU5DMQGG.js";
|
|
20
|
-
import {
|
|
21
|
-
readTextBodies,
|
|
22
|
-
validateTextReadingOptions
|
|
23
|
-
} from "./chunk-YKODRSGT.js";
|
|
24
20
|
import {
|
|
25
21
|
applyDrawingFill,
|
|
26
22
|
applyDrawingUpdate,
|
|
27
23
|
readDrawingColor,
|
|
28
24
|
readDrawingFormat
|
|
29
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-BB7HBO56.js";
|
|
30
26
|
import {
|
|
31
27
|
ColorFormat,
|
|
32
28
|
MSO_COLOR_TYPE,
|
|
@@ -37,7 +33,11 @@ import {
|
|
|
37
33
|
defineEnum,
|
|
38
34
|
defineXmlEnum,
|
|
39
35
|
readRunColor
|
|
40
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-VUJCVXD4.js";
|
|
37
|
+
import {
|
|
38
|
+
readTextBodies,
|
|
39
|
+
validateTextReadingOptions
|
|
40
|
+
} from "./chunk-WRCYZJNO.js";
|
|
41
41
|
import {
|
|
42
42
|
readXmlCoordinate,
|
|
43
43
|
readXmlInteger
|
|
@@ -50,10 +50,10 @@ import {
|
|
|
50
50
|
attr,
|
|
51
51
|
child,
|
|
52
52
|
loadShared
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-A32PUWYE.js";
|
|
54
54
|
import {
|
|
55
55
|
SelectionError
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-3W3HLPCX.js";
|
|
57
57
|
import {
|
|
58
58
|
protectedEquationNodes
|
|
59
59
|
} from "./chunk-GTOMW4VV.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readTable
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IJZUUXLL.js";
|
|
4
4
|
import {
|
|
5
5
|
nodeFor
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YW7WU7W2.js";
|
|
7
7
|
import {
|
|
8
8
|
readTextBodies
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-WRCYZJNO.js";
|
|
10
10
|
import {
|
|
11
11
|
admitImage
|
|
12
12
|
} from "./chunk-4IDV763L.js";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
loadShared,
|
|
17
17
|
nextRel,
|
|
18
18
|
relPart
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-A32PUWYE.js";
|
|
20
20
|
import {
|
|
21
21
|
protectedEquationNodes
|
|
22
22
|
} from "./chunk-GTOMW4VV.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addImage
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GQ7BD75U.js";
|
|
4
4
|
import {
|
|
5
5
|
readMedia
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-AEZU6NZE.js";
|
|
7
7
|
import {
|
|
8
8
|
readImages
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-VW67MA53.js";
|
|
10
10
|
import {
|
|
11
11
|
admitImage
|
|
12
12
|
} from "./chunk-4IDV763L.js";
|
|
@@ -19,10 +19,10 @@ import {
|
|
|
19
19
|
nextRel,
|
|
20
20
|
relPart,
|
|
21
21
|
required
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-A32PUWYE.js";
|
|
23
23
|
import {
|
|
24
24
|
SelectionError
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-3W3HLPCX.js";
|
|
26
26
|
import {
|
|
27
27
|
packageUri,
|
|
28
28
|
relativePartReference
|