@poe-platform/safe-bash 0.1.813 → 0.1.815
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 +1 -1
- package/dist/mp4-ast/index.d.ts +3 -0
- package/dist/mp4-ast/mp4-fragment-source.d.ts +35 -0
- package/dist/mp4-ast/mp4-sample-source.d.ts +55 -0
- package/dist/mp4-ast/mp4-source.d.ts +32 -0
- package/dist/mp4-ast/types.d.ts +11 -0
- package/dist/office-xml/retained-xml-document.d.ts +6 -0
- package/dist/pdf-ast/content/evaluator.d.ts +4 -0
- package/dist/pdf-ast/cos/object-reader.d.ts +8 -0
- package/dist/pdf-ast/cos/value-parser.d.ts +1 -0
- package/dist/pdf-ast/edit/forms.d.ts +1 -0
- package/dist/pdf-ast/edit/retained-form-appearances.d.ts +10 -0
- package/dist/pdf-ast/edit/retained-form-data.d.ts +9 -0
- package/dist/pdf-ast/edit/retained-graph.d.ts +6 -0
- package/dist/pdf-ast/edit/retained-info-updates.d.ts +33 -0
- package/dist/pdf-ast/index.d.ts +2 -1
- package/dist/pdf-ast/index.js +895 -139
- package/dist/pdf-ast/retained-document.d.ts +5 -0
- package/dist/safe-bash/command-chunks/biff-A7XPBWAK-DCLG5QKF.js +5417 -0
- package/dist/safe-bash/command-chunks/{chunk-34G2SQX2.js → chunk-2BLTUQNK.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-LLU2IQEJ.js → chunk-2BNGPR6Z.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-XIDGHIGB.js → chunk-2PKBXGXD.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-6SRHWVEB.js → chunk-2VVJRVYM.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-G5QVZQCO.js → chunk-3EASXF5D.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-U3SBHEKH.js → chunk-3EB2FSAN.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-VB2TUPO2.js → chunk-3EW7GYHM.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-GVWVRPG6.js → chunk-3GRMU7TM.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-6L4IYQAT.js → chunk-3MG5EAMX.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-RASQPOSV.js → chunk-3SPLP2DB.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-K5COUQAQ.js → chunk-3VGQTLO6.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-K7CV55K5.js → chunk-3YEQI5B7.js} +10 -10
- package/dist/safe-bash/command-chunks/{chunk-KCE5D4Z4.js → chunk-3ZRCL756.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-SOFM3GPG.js → chunk-42MEXZBJ.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-PKLJRB7W.js → chunk-44F5TOHZ.js} +219 -90
- package/dist/safe-bash/command-chunks/{chunk-GQ2ZSPZ3.js → chunk-46AMTJPE.js} +10 -10
- package/dist/safe-bash/command-chunks/{chunk-MTWZEPAR.js → chunk-47IAU25U.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-6GI3NTCW.js → chunk-4B2ZUGLT.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-X64XGIXZ.js → chunk-4EHY6J2Z.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-QQVACHZA.js → chunk-4EZJV4FZ.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-SSKMPDN4.js → chunk-4GQKCUS5.js} +15 -15
- package/dist/safe-bash/command-chunks/{chunk-UOBW5K3M.js → chunk-4RRYWHED.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-PINR7QET.js → chunk-4UPKVQWH.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-I4GMCWAT.js → chunk-4YLACJHE.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-P3WU3PSL.js → chunk-5L4YGRQU.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-WPVBUVFK.js → chunk-5LFGXN3D.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-YXD6VGVG.js → chunk-5OM3UIK3.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-RLCQ7BN3.js → chunk-6CDDKNNA.js} +4 -3
- package/dist/safe-bash/command-chunks/{chunk-TQEB4DH4.js → chunk-6EINUY5G.js} +149 -165
- package/dist/safe-bash/command-chunks/{chunk-C5QDEB3I.js → chunk-6LPSKLLD.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-XLYIVBAR.js → chunk-6QYSF7I2.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-6IWE7PTK.js → chunk-6VBDJC6V.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-6N5GHM72.js → chunk-6WNVGCXD.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-PSCOXGCA.js → chunk-6XES7Z4G.js} +12 -12
- package/dist/safe-bash/command-chunks/{chunk-AFROLW6S.js → chunk-6XGDWFNQ.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-WTE23QXN.js → chunk-6ZGCKUAM.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-RIV6XN7K.js → chunk-7DOLY7IV.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-ET2VPDUA.js → chunk-7KZ5LWV2.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-NGR5KOPQ.js → chunk-A347DLRB.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-ZM2Y4Z3C.js → chunk-A45UG4KT.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-2Z3WRRFT.js → chunk-ADHFF2IM.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-ATI464W3.js → chunk-AG2SNMP5.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-HCKYUQ3L.js → chunk-AM5LANIE.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-RBTC7OFT.js → chunk-AVOGFREX.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-G3RUXKVY.js → chunk-AWPI4DZR.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-FYMNHG7R.js → chunk-AXXZNB7U.js} +13 -13
- package/dist/safe-bash/command-chunks/{chunk-2E2H7MBH.js → chunk-AY3KQ4EN.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-DMCI6T6N.js → chunk-BLGGAHQW.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-CU4DLVME.js → chunk-BLIFGBIO.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-2V6FOLXV.js → chunk-BS3ZEQGT.js} +14 -14
- package/dist/safe-bash/command-chunks/{chunk-WFVSUXJL.js → chunk-BS5JEUEW.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-X53AEG36.js → chunk-BZMNC7Q5.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-5KGEZ3RW.js → chunk-CCMAHM3I.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-PK36TVXB.js → chunk-CFMJXJS5.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-3LJAXFH5.js → chunk-CIRDVCAZ.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-UZL7G57V.js → chunk-CKEMZUE3.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-S2N2V5U4.js → chunk-CQBACD2V.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-G7NENPYV.js → chunk-CSE4VQKG.js} +12 -1
- package/dist/safe-bash/command-chunks/{chunk-X6RHJ6YN.js → chunk-CXME4YHU.js} +23 -0
- package/dist/safe-bash/command-chunks/{chunk-FTLDRH47.js → chunk-CZ5K2YPU.js} +16 -16
- package/dist/safe-bash/command-chunks/{chunk-7PRL6RJ6.js → chunk-DBLQUZGN.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-5VQVZPP3.js → chunk-DBNJEXHK.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-ZO5WBWLL.js → chunk-DN6MSXY7.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-GXLXWZWH.js → chunk-DZH54L3F.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-6CY5BHBS.js → chunk-EBHOZIBS.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-3Y5EME26.js → chunk-ENEIE44W.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-TKRLZIFI.js → chunk-EQWFKNHJ.js} +17 -17
- package/dist/safe-bash/command-chunks/{chunk-YV72XQKL.js → chunk-ETXPMVR6.js} +13 -13
- package/dist/safe-bash/command-chunks/{chunk-4Z6W5EOC.js → chunk-EV5G535P.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-PZMU3Z4L.js → chunk-EVYKV3QI.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-D6UMSC45.js → chunk-F4YFTO2K.js} +11 -11
- package/dist/safe-bash/command-chunks/{chunk-QM2HZJSJ.js → chunk-F762XDNG.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-SGPCXAG7.js → chunk-FOONI6BD.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-DYLNU57U.js → chunk-FSVJ67G5.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-CLKOGAR3.js → chunk-FSYMSWJU.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-FWPVQGYK.js → chunk-FUQMEUAT.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-KXPCSVAT.js → chunk-FXCSPPYE.js} +20 -20
- package/dist/safe-bash/command-chunks/{chunk-7QZ2HP2F.js → chunk-FYYFV6PW.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-3OETVNJA.js → chunk-G2COZLXX.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-MKX4JAZ6.js → chunk-GCHB7VNX.js} +17 -17
- package/dist/safe-bash/command-chunks/{chunk-4Y6O2K35.js → chunk-GLAF45M7.js} +1 -1
- package/dist/safe-bash/command-chunks/chunk-GPGLTWNR.js +271 -0
- package/dist/safe-bash/command-chunks/{chunk-PI6MOMHA.js → chunk-GXMPXMDP.js} +11 -11
- package/dist/safe-bash/command-chunks/{chunk-57DDYKE5.js → chunk-GYM5ICK4.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-5MFDRSGG.js → chunk-H33D4R26.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-3ZDANXIC.js → chunk-HELAVGZH.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-S4QH5BXZ.js → chunk-HGIMFVI2.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-35IPOBWL.js → chunk-HI6ZYH3W.js} +10 -10
- package/dist/safe-bash/command-chunks/{chunk-RGOQKIG6.js → chunk-HK6MSB7Z.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-IHSOOSNC.js → chunk-HQ2UN2L2.js} +17 -17
- package/dist/safe-bash/command-chunks/{chunk-7ZE3VIAN.js → chunk-IB5QP4LF.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-UCR5YDV3.js → chunk-IBYMPAUW.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-LABOWPFB.js → chunk-IHXZMAMY.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-PVGZMLC6.js → chunk-IWHNRYER.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-PPO7YUZF.js → chunk-JGKSWDGP.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-GKILM4HZ.js → chunk-JR3Q6QNL.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-D55REQA3.js → chunk-JUHOL5KB.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-3O2YEI47.js → chunk-JVKE7YZN.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-6NATRKUJ.js → chunk-JW6WVNTM.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-IK6K2HCG.js → chunk-JWORWL72.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-N32GSM3J.js → chunk-K2WOMJOQ.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-73NYFNAS.js → chunk-KASXIRKD.js} +12 -9
- package/dist/safe-bash/command-chunks/{chunk-HKOMXGJS.js → chunk-KBAQHE5Y.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-T3E5RV3U.js → chunk-KCLJGRU7.js} +12 -12
- package/dist/safe-bash/command-chunks/chunk-KHUT7BB5.js +65 -0
- package/dist/safe-bash/command-chunks/{chunk-TUDFMNPP.js → chunk-KINIV2SV.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-43TRBJ2N.js → chunk-KPHLESD4.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-C5KLFZGT.js → chunk-KSBNZTAZ.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-4Y34ZG4T.js → chunk-KUOCGGEU.js} +11 -11
- package/dist/safe-bash/command-chunks/{chunk-ML5R5JML.js → chunk-KY4LCHUF.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-KBUBSMCQ.js → chunk-LDW3RF7Y.js} +12 -12
- package/dist/safe-bash/command-chunks/{chunk-U27XPNLP.js → chunk-LEO4VRIN.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-GZ3VIWNN.js → chunk-LKGTH2Q7.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-TODWFDYB.js → chunk-LNTEV56A.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-DVGXLBUW.js → chunk-LZ2JFMKT.js} +10 -10
- package/dist/safe-bash/command-chunks/{chunk-6D2BMAF4.js → chunk-MEM2ZPMI.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-GNXTMSYN.js → chunk-MGMTRGKM.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-B3NLITWP.js → chunk-MKK6FM5H.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-BK7ISUJL.js → chunk-MKOIPOXX.js} +3 -3
- package/dist/safe-bash/command-chunks/chunk-MLOYUXUV.js +244 -0
- package/dist/safe-bash/command-chunks/{chunk-CBNKHBLD.js → chunk-MNK3DDH6.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-JVGUVHWI.js → chunk-MPXMRTMY.js} +10 -10
- package/dist/safe-bash/command-chunks/{chunk-EJTNVXWF.js → chunk-MVLVIMJ6.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-TY4WDAHM.js → chunk-MYZ46FQL.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-TBAIMDGL.js → chunk-N4MUBJCT.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-NPLVFAD6.js → chunk-N6G3345Q.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-4PBNMKAT.js → chunk-NEMUPUUB.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-MUUWBZIC.js → chunk-NEVQWOU6.js} +10 -10
- package/dist/safe-bash/command-chunks/{chunk-7NXTEWPR.js → chunk-NEYITAAO.js} +208 -254
- package/dist/safe-bash/command-chunks/{chunk-KZ5ODST6.js → chunk-NFGCBQN3.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-LD7BONZY.js → chunk-NFII726L.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-JQPNA77Y.js → chunk-NHNZYWPW.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-ZYLGNIGA.js → chunk-NQINS4XY.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-UAF4IX5H.js → chunk-NRFTYZ2R.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-THMZLJQD.js → chunk-NYFYTL5G.js} +18 -18
- package/dist/safe-bash/command-chunks/{chunk-SMSGLRIH.js → chunk-OTF2AJ5M.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-NPFHUS4X.js → chunk-OVQP6KH5.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-QFF5KBOM.js → chunk-P2LT6TGR.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-BEHUSUOY.js → chunk-PLMF35XK.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-PXWS3Q7L.js → chunk-PLR5IULU.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-DBLHCJJU.js → chunk-PS5GDFIP.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-P7EL2FWW.js → chunk-Q5PWYPQV.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-AJI55RS7.js → chunk-Q7TVCBU2.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-EHTOHOTR.js → chunk-QB72X7FF.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-GOBUDKZ3.js → chunk-QDVDBN2N.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-F3GP3EXE.js → chunk-RGDOYWOD.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-MNHBQBF6.js → chunk-RHDERFMR.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-3KMOXEGH.js → chunk-RHU44OMN.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-XG6UWQV5.js → chunk-RIVKF77R.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-UOR6PXZZ.js → chunk-ROL5AEX6.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-3TYDSGAH.js → chunk-RQYPFLZJ.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-3Y4XZB24.js → chunk-RTNI47C5.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-W5LLKV5H.js → chunk-RV5AGXOV.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-JUJHYPYL.js → chunk-RXQ2G2YK.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-EVU7FLDA.js → chunk-S2QNBAN6.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-YE6OAKK7.js → chunk-S43QRKDC.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-774GLJAO.js → chunk-S7HIOT7Z.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-3D24WDND.js → chunk-SEPUP6TZ.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-JPMYPOYZ.js → chunk-SUTHGUD3.js} +28 -28
- package/dist/safe-bash/command-chunks/{chunk-D6WJY6QO.js → chunk-SWAKALDJ.js} +10 -10
- package/dist/safe-bash/command-chunks/{chunk-WGH3RLJY.js → chunk-T5S4SJGO.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-7JEIWA3A.js → chunk-TID5TSQW.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-EZ4NQIPL.js → chunk-TJLXSENN.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-HVW53ARH.js → chunk-TKCUGMRZ.js} +24 -20
- package/dist/safe-bash/command-chunks/{chunk-5P6I2T63.js → chunk-TXPDKEGY.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-CTDC4LJT.js → chunk-U3C6IT2C.js} +55 -36
- package/dist/safe-bash/command-chunks/{chunk-MPKY37QR.js → chunk-UJERQEJB.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-V37D6AHO.js → chunk-USGZN2KE.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-JAHJWVGF.js → chunk-UYGQEQIP.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-MPORWUTU.js → chunk-V5XC43BX.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-AIMSZBWP.js → chunk-V7E3PZOK.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-CNHRVUHA.js → chunk-VDTFVRYX.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-M3Z5PU2M.js → chunk-VT2PHQ63.js} +15 -15
- package/dist/safe-bash/command-chunks/{chunk-QDVI2YB6.js → chunk-VUWXLH3E.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-O675URF4.js → chunk-W3ZSWK76.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-T6C5QP7T.js → chunk-WAT2562G.js} +6039 -5958
- package/dist/safe-bash/command-chunks/{chunk-JPA2PUYI.js → chunk-WBKB7HBZ.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-6244HYJY.js → chunk-WJ2ERUCQ.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-U5TWQFZY.js → chunk-WTVJLHMG.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-SLQWQKXP.js → chunk-WWHMI4S3.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-2UBZALAK.js → chunk-WYZG3DRR.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-T5ERNELL.js → chunk-WZRFS5OY.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-2DGJOOXM.js → chunk-X6OHFKBL.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-S6ZTBXYO.js → chunk-XKAUKLF7.js} +13 -13
- package/dist/safe-bash/command-chunks/{chunk-NKTULXVD.js → chunk-XM5QJCPD.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-BBAB7LC4.js → chunk-XMTR7QGL.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-5IFRAI7Y.js → chunk-XNGM3W5R.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-Z5BIM5B7.js → chunk-XTEIT5CI.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-4DLIUTQV.js → chunk-XU6S3XUZ.js} +11 -11
- package/dist/safe-bash/command-chunks/{chunk-EXOQGXEU.js → chunk-XUJAQA3S.js} +30 -30
- package/dist/safe-bash/command-chunks/{chunk-VVWXY6IA.js → chunk-Y42KSX63.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-R2BMZAHG.js → chunk-Y54L4P4J.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-6WQD7LRA.js → chunk-YAD7EV4N.js} +14 -14
- package/dist/safe-bash/command-chunks/{chunk-YUXTK3XA.js → chunk-YRPXBGRX.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-JORIVUPM.js → chunk-YW2VYN4V.js} +34 -15
- package/dist/safe-bash/command-chunks/{chunk-NMPED6L5.js → chunk-Z2WNYEPD.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-7PZHWMK6.js → chunk-Z7QOSXQC.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-7UC2Q6Z6.js → chunk-ZIGENXGC.js} +248 -6
- package/dist/safe-bash/command-chunks/{chunk-VQOINPVF.js → chunk-ZQM37BGE.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-W3HV45CI.js → chunk-ZSQZHFWS.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-IDJQP3A6.js → chunk-ZTMZO4IT.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-V6XBEYPC.js → chunk-ZU2KJMXO.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-YXKNJ6EM.js → chunk-ZXELXF2H.js} +5 -5
- package/dist/safe-bash/command-chunks/{clipboard-BBDK33GP-VB22F7GI.js → clipboard-BBDK33GP-QZ4ERNQX.js} +2 -2
- package/dist/safe-bash/command-chunks/{command-engine-X3OLN7N6.js → command-engine-M7S4QIXV.js} +942 -683
- package/dist/safe-bash/command-chunks/{engine-XUCIFZ7V-LJFGZM6O.js → engine-YUYZJIB4-NZUDFEHL.js} +1 -1
- package/dist/safe-bash/command-chunks/{gnumeric-UJPXWBVR-YPXTNEDZ.js → gnumeric-UJPXWBVR-7VOHQAPM.js} +2 -2
- package/dist/safe-bash/command-chunks/{model-store-E7BHBFJC.js → model-store-UB5DWMAP.js} +24 -24
- package/dist/safe-bash-command-awk/awk-runtime.js +3 -3
- package/dist/safe-bash-command-awk/awk.js +4 -4
- package/dist/safe-bash-command-awk/index.js +4 -4
- package/dist/safe-bash-command-diff/diff.js +2 -2
- package/dist/safe-bash-command-diff/index.js +3 -3
- package/dist/safe-bash-command-diff/sync.js +2 -2
- package/dist/safe-bash-command-du/du.js +2 -2
- package/dist/safe-bash-command-du/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.d.ts +8 -2
- package/dist/safe-bash-command-ffprobe/media.js +4 -2
- package/dist/safe-bash-command-html-to-markdown/index.js +3 -234
- package/dist/safe-bash-command-html-to-markdown/stored-text.d.ts +50 -0
- package/dist/safe-bash-command-html-to-markdown/stored-text.js +12 -0
- package/dist/safe-bash-command-htmlq/contracts.d.ts +5 -0
- package/dist/safe-bash-command-htmlq/index.js +1715 -292
- package/dist/safe-bash-command-htmlq/selectors.d.ts +38 -1
- package/dist/safe-bash-command-htmlq/serializer.d.ts +1 -0
- package/dist/safe-bash-command-htmlq/tree.d.ts +1 -0
- package/dist/safe-bash-command-iconv/command.js +2 -2
- package/dist/safe-bash-command-iconv/index.js +2 -2
- package/dist/safe-bash-command-llm/command.js +3 -3
- package/dist/safe-bash-command-llm/index.js +9 -9
- package/dist/safe-bash-command-llm/openai.js +2 -2
- package/dist/safe-bash-command-llm/providers/index.js +2 -2
- package/dist/safe-bash-command-llm/providers/openai.js +2 -2
- package/dist/safe-bash-command-node/commands/node/browser.js +2 -2
- package/dist/safe-bash-command-node/commands/node/default-runtime.js +2 -2
- package/dist/safe-bash-command-node/commands/node/safejs.js +2 -2
- package/dist/safe-bash-command-pandoc/command.js +4 -4
- package/dist/safe-bash-command-pandoc/index.js +40 -40
- package/dist/safe-bash-command-patch/index.js +7 -6
- package/dist/safe-bash-command-patch/patch-formats.d.ts +7 -1
- package/dist/safe-bash-command-patch/patch-formats.js +7 -4
- package/dist/safe-bash-command-patch/patch-gnu-paths.d.ts +7 -7
- package/dist/safe-bash-command-patch/patch-gnu-reject.d.ts +2 -2
- package/dist/safe-bash-command-patch/patch-gnu-reject.js +3 -2
- package/dist/safe-bash-command-patch/patch-publication.js +3 -2
- package/dist/safe-bash-command-patch/patch-text.d.ts +13 -0
- package/dist/safe-bash-command-patch/patch.js +7 -6
- package/dist/safe-bash-command-patch/stored-patch.d.ts +51 -0
- package/dist/safe-bash-command-patch/stored-target.d.ts +41 -0
- package/dist/safe-bash-command-patch/unified.d.ts +28 -9
- package/dist/safe-bash-command-patch/unified.js +4 -1
- package/dist/safe-bash-command-pdftk/index.js +758 -433
- package/dist/safe-bash-command-playwright-cli/index.js +26 -26
- package/dist/safe-bash-command-playwright-cli/playwright/abilities.js +10 -10
- package/dist/safe-bash-command-playwright-cli/playwright/controller.js +14 -14
- package/dist/safe-bash-command-playwright-cli/playwright/index.js +23 -23
- package/dist/safe-bash-command-playwright-cli/playwright/snapshot.js +2 -2
- package/dist/safe-bash-command-playwright-cli/playwright/standard-capabilities.js +6 -6
- package/dist/safe-bash-command-playwright-cli/playwright/storage-capabilities.js +4 -4
- package/dist/safe-bash-command-pptx/command-engine.d.ts +2 -1
- package/dist/safe-bash-command-pptx/engine.js +1 -1
- package/dist/safe-bash-command-pptx/index.d.ts +1 -1
- package/dist/safe-bash-command-pptx/index.js +163 -17
- package/dist/safe-bash-command-pptx/streaming-inputs.d.ts +7 -2
- package/dist/safe-bash-command-python/executor.js +5 -5
- package/dist/safe-bash-command-python/index.js +5 -5
- package/dist/safe-bash-command-python/jspi.js +2 -2
- package/dist/safe-bash-command-soffice/index.js +1 -1
- package/dist/safe-bash-command-sort/index.js +3 -3
- package/dist/safe-bash-command-ssconvert/index.js +2 -2
- package/dist/safe-bash-command-tar/create.js +2 -2
- package/dist/safe-bash-command-tar/extract.js +2 -2
- package/dist/safe-bash-command-tar/index.js +8 -8
- package/dist/safe-bash-command-tar/modes.js +4 -4
- package/dist/safe-bash-command-timeout/index.js +3 -3
- package/dist/safe-bash-command-tree/index.js +2 -2
- package/dist/safe-bash-command-tree/tree.js +2 -2
- package/dist/safe-bash-command-xz/index.js +5 -5
- package/dist/safe-bash-compression-engine/files.js +2 -2
- package/dist/safe-bash-compression-engine/operand.js +4 -4
- package/dist/safe-bash-contracts/diagnostics.js +3 -3
- package/dist/safe-bash-contracts/escaping.js +10 -10
- package/dist/safe-bash-contracts/filesystem-descriptor.js +1 -1
- package/dist/safe-bash-contracts/filesystem-output.js +6 -6
- package/dist/safe-bash-contracts/index.js +33 -33
- package/dist/safe-bash-contracts/io.js +2 -2
- package/dist/safe-bash-contracts/output.js +3 -3
- package/dist/safe-bash-docx-engine/ancillary-resources.js +5 -5
- package/dist/safe-bash-docx-engine/batch-operations.js +63 -63
- package/dist/safe-bash-docx-engine/batch-result-schema.js +74 -74
- package/dist/safe-bash-docx-engine/batch.js +74 -74
- package/dist/safe-bash-docx-engine/bookmarks.js +13 -13
- package/dist/safe-bash-docx-engine/charts.js +6 -6
- package/dist/safe-bash-docx-engine/command-option-rules.js +3 -3
- package/dist/safe-bash-docx-engine/comments.js +21 -21
- package/dist/safe-bash-docx-engine/control-bindings.js +16 -16
- package/dist/safe-bash-docx-engine/control-repeat.js +16 -16
- package/dist/safe-bash-docx-engine/controls.js +14 -14
- package/dist/safe-bash-docx-engine/create.js +8 -8
- package/dist/safe-bash-docx-engine/diagrams.js +6 -6
- package/dist/safe-bash-docx-engine/diff.js +8 -8
- package/dist/safe-bash-docx-engine/document-properties.js +12 -12
- package/dist/safe-bash-docx-engine/equations.js +12 -12
- package/dist/safe-bash-docx-engine/extract.js +9 -9
- package/dist/safe-bash-docx-engine/fields.js +18 -18
- package/dist/safe-bash-docx-engine/font-inventory.js +13 -13
- package/dist/safe-bash-docx-engine/font-resources.js +3 -3
- package/dist/safe-bash-docx-engine/image-batch-operations.js +11 -11
- package/dist/safe-bash-docx-engine/image-insertion.js +17 -17
- package/dist/safe-bash-docx-engine/image-layout.js +14 -14
- package/dist/safe-bash-docx-engine/image-replacement.js +19 -19
- package/dist/safe-bash-docx-engine/images.js +14 -14
- package/dist/safe-bash-docx-engine/index.js +102 -102
- package/dist/safe-bash-docx-engine/inspection.js +15 -15
- package/dist/safe-bash-docx-engine/invocation.js +4 -4
- package/dist/safe-bash-docx-engine/io.js +6 -6
- package/dist/safe-bash-docx-engine/links.js +17 -17
- package/dist/safe-bash-docx-engine/lists.js +16 -16
- package/dist/safe-bash-docx-engine/locations.js +10 -10
- package/dist/safe-bash-docx-engine/notes.js +18 -18
- package/dist/safe-bash-docx-engine/objects.js +14 -14
- package/dist/safe-bash-docx-engine/pack.js +9 -9
- package/dist/safe-bash-docx-engine/package-view-batch-operations.js +19 -19
- package/dist/safe-bash-docx-engine/pandoc-adapter.js +25 -25
- package/dist/safe-bash-docx-engine/paragraph-edit.js +21 -21
- package/dist/safe-bash-docx-engine/publication.js +6 -6
- package/dist/safe-bash-docx-engine/removal.js +16 -16
- package/dist/safe-bash-docx-engine/revision-decisions.js +16 -16
- package/dist/safe-bash-docx-engine/revision-edit.js +15 -15
- package/dist/safe-bash-docx-engine/revisions.js +12 -12
- package/dist/safe-bash-docx-engine/run-format.js +15 -15
- package/dist/safe-bash-docx-engine/sanitize.js +29 -29
- package/dist/safe-bash-docx-engine/sections.js +15 -15
- package/dist/safe-bash-docx-engine/settings.js +6 -6
- package/dist/safe-bash-docx-engine/shape-edit.js +16 -16
- package/dist/safe-bash-docx-engine/signatures.js +11 -11
- package/dist/safe-bash-docx-engine/stories.js +18 -18
- package/dist/safe-bash-docx-engine/structure-model-batch-operations.js +34 -34
- package/dist/safe-bash-docx-engine/style-model-batch-operations.js +24 -24
- package/dist/safe-bash-docx-engine/style-model-result-schema.js +39 -39
- package/dist/safe-bash-docx-engine/styles.js +14 -14
- package/dist/safe-bash-docx-engine/table-edit.js +23 -23
- package/dist/safe-bash-docx-engine/table-read.js +11 -11
- package/dist/safe-bash-docx-engine/template.js +17 -17
- package/dist/safe-bash-docx-engine/text-replace.js +15 -15
- package/dist/safe-bash-docx-engine/text-resource-read.js +11 -11
- package/dist/safe-bash-docx-engine/text.js +11 -11
- package/dist/safe-bash-docx-engine/validation.js +4 -4
- package/dist/safe-bash-docx-engine/xml-parts.js +17 -17
- package/dist/safe-bash-io-engine/commands/text-programs/shared.js +4 -4
- package/dist/safe-bash-line-ending-engine/command.js +3 -3
- package/dist/safe-bash-line-ending-engine/convert.js +2 -2
- package/dist/safe-bash-line-ending-engine/index.js +6 -6
- package/dist/safe-bash-line-ending-engine/info.js +2 -2
- package/dist/safe-bash-markdown-engine/commonmark-blocks.js +4 -4
- package/dist/safe-bash-markdown-engine/commonmark-inlines.js +4 -4
- package/dist/safe-bash-markdown-engine/commonmark-syntax.js +2 -2
- package/dist/safe-bash-markdown-engine/gfm-syntax.js +3 -3
- package/dist/safe-bash-markdown-engine/index.js +5 -5
- package/dist/safe-bash-network-engine/transfer.js +3 -3
- package/dist/safe-bash-presentation-engine/accessibility.js +30 -30
- package/dist/safe-bash-presentation-engine/animation-editing.js +15 -15
- package/dist/safe-bash-presentation-engine/animations.js +15 -15
- package/dist/safe-bash-presentation-engine/backgrounds.js +16 -16
- package/dist/safe-bash-presentation-engine/bytes.js +3 -3
- package/dist/safe-bash-presentation-engine/chart-editing.js +33 -33
- package/dist/safe-bash-presentation-engine/chart-object-operations.js +24 -24
- package/dist/safe-bash-presentation-engine/charts.js +30 -30
- package/dist/safe-bash-presentation-engine/command-placeholder.js +58 -58
- package/dist/safe-bash-presentation-engine/comments.js +16 -16
- package/dist/safe-bash-presentation-engine/connector-operations.js +31 -31
- package/dist/safe-bash-presentation-engine/connectors.js +28 -28
- package/dist/safe-bash-presentation-engine/content-types.js +4 -4
- package/dist/safe-bash-presentation-engine/creation.js +6 -6
- package/dist/safe-bash-presentation-engine/diff.js +31 -31
- package/dist/safe-bash-presentation-engine/drawing-format.js +19 -19
- package/dist/safe-bash-presentation-engine/drawing-operations.js +30 -30
- package/dist/safe-bash-presentation-engine/drawing-schema.js +20 -20
- package/dist/safe-bash-presentation-engine/equations.js +16 -16
- package/dist/safe-bash-presentation-engine/errors.js +2 -2
- package/dist/safe-bash-presentation-engine/fields.js +16 -16
- package/dist/safe-bash-presentation-engine/font-metrics.js +3 -3
- package/dist/safe-bash-presentation-engine/image-extraction.js +19 -19
- package/dist/safe-bash-presentation-engine/image-formatting.js +31 -31
- package/dist/safe-bash-presentation-engine/image-insertion.js +17 -17
- package/dist/safe-bash-presentation-engine/image-replacement.js +20 -20
- package/dist/safe-bash-presentation-engine/image-value.js +4 -4
- package/dist/safe-bash-presentation-engine/images.js +18 -18
- package/dist/safe-bash-presentation-engine/index.js +114 -114
- package/dist/safe-bash-presentation-engine/layouts.js +15 -15
- package/dist/safe-bash-presentation-engine/length.js +3 -3
- package/dist/safe-bash-presentation-engine/links.js +15 -15
- package/dist/safe-bash-presentation-engine/masters.js +14 -14
- package/dist/safe-bash-presentation-engine/media-editing.js +23 -23
- package/dist/safe-bash-presentation-engine/media-extraction.js +16 -16
- package/dist/safe-bash-presentation-engine/media.js +15 -15
- package/dist/safe-bash-presentation-engine/memberships.js +14 -14
- package/dist/safe-bash-presentation-engine/notes.d.ts +1 -0
- package/dist/safe-bash-presentation-engine/notes.js +21 -15
- package/dist/safe-bash-presentation-engine/ole-enum.js +4 -4
- package/dist/safe-bash-presentation-engine/ole-insertion.js +19 -19
- package/dist/safe-bash-presentation-engine/opaque-objects.js +9 -9
- package/dist/safe-bash-presentation-engine/package-reader.js +5 -5
- package/dist/safe-bash-presentation-engine/package-tools.js +18 -18
- package/dist/safe-bash-presentation-engine/package-uri.js +3 -3
- package/dist/safe-bash-presentation-engine/package-writer.js +4 -4
- package/dist/safe-bash-presentation-engine/presentation-model.js +57 -57
- package/dist/safe-bash-presentation-engine/presentation-settings.js +13 -13
- package/dist/safe-bash-presentation-engine/properties.js +15 -15
- package/dist/safe-bash-presentation-engine/relationships.js +4 -4
- package/dist/safe-bash-presentation-engine/resource-limits.js +1 -1
- package/dist/safe-bash-presentation-engine/retained-frame-formatting.d.ts +14 -0
- package/dist/safe-bash-presentation-engine/retained-inspection.js +13 -13
- package/dist/safe-bash-presentation-engine/retained-notes.d.ts +27 -0
- package/dist/safe-bash-presentation-engine/retained-package.js +5 -5
- package/dist/safe-bash-presentation-engine/retained-text.d.ts +9 -2
- package/dist/safe-bash-presentation-engine/retained-text.js +130 -31
- package/dist/safe-bash-presentation-engine/retained-xml-document.d.ts +1 -0
- package/dist/safe-bash-presentation-engine/sanitize.js +16 -16
- package/dist/safe-bash-presentation-engine/selectors.js +10 -10
- package/dist/safe-bash-presentation-engine/shape-groups.js +30 -30
- package/dist/safe-bash-presentation-engine/shape-operations.js +29 -29
- package/dist/safe-bash-presentation-engine/shape-path-operations.js +31 -31
- package/dist/safe-bash-presentation-engine/shape-paths.js +15 -15
- package/dist/safe-bash-presentation-engine/shape-presets.js +3 -3
- package/dist/safe-bash-presentation-engine/shape-selection.js +30 -30
- package/dist/safe-bash-presentation-engine/shape-transforms.js +17 -17
- package/dist/safe-bash-presentation-engine/shapes.js +26 -26
- package/dist/safe-bash-presentation-engine/slide-copy.js +16 -16
- package/dist/safe-bash-presentation-engine/slide-import.js +17 -17
- package/dist/safe-bash-presentation-engine/slide-merge-split.js +19 -19
- package/dist/safe-bash-presentation-engine/slide-model.js +42 -42
- package/dist/safe-bash-presentation-engine/slide-removal.js +17 -17
- package/dist/safe-bash-presentation-engine/slide-transfer-budget.js +9 -9
- package/dist/safe-bash-presentation-engine/slides.js +18 -18
- package/dist/safe-bash-presentation-engine/table-operations.js +32 -32
- package/dist/safe-bash-presentation-engine/table-spans.js +31 -31
- package/dist/safe-bash-presentation-engine/tables.js +30 -30
- package/dist/safe-bash-presentation-engine/tags.js +15 -15
- package/dist/safe-bash-presentation-engine/template-bindings.js +32 -32
- package/dist/safe-bash-presentation-engine/template-repeat.js +39 -39
- package/dist/safe-bash-presentation-engine/text-fitting.js +26 -26
- package/dist/safe-bash-presentation-engine/text-frames.d.ts +13 -0
- package/dist/safe-bash-presentation-engine/text-frames.js +28 -26
- package/dist/safe-bash-presentation-engine/text-paragraphs.js +26 -26
- package/dist/safe-bash-presentation-engine/text-reading.js +11 -11
- package/dist/safe-bash-presentation-engine/text-replacement.js +16 -16
- package/dist/safe-bash-presentation-engine/text-runs.js +19 -19
- package/dist/safe-bash-presentation-engine/themes.js +15 -15
- package/dist/safe-bash-presentation-engine/transitions.js +15 -15
- package/dist/safe-bash-presentation-engine/validation.js +9 -9
- package/dist/safe-bash-presentation-engine/xml-parts.js +18 -18
- package/dist/safe-bash-presentation-engine/xml-view.js +3 -3
- package/dist/safe-bash-presentation-engine/xml.js +3 -3
- package/dist/safe-bash-query-engine/index.js +4 -4
- package/dist/safe-bash-query-engine/interpreter.js +2 -2
- package/dist/safe-bash-query-engine/query-core.js +4 -4
- package/dist/safe-bash-xml-engine/document.js +3 -3
- package/dist/safe-bash-xml-engine/evaluate.js +1 -1
- package/dist/safe-bash-xml-engine/index.js +6 -6
- package/dist/safe-bash-xml-engine/query.js +2 -2
- package/dist/safe-bash-xml-engine/stored-document.d.ts +2 -2
- package/dist/safe-bash-xml-engine/stored-document.js +1 -1
- package/dist/safe-bash-xml-engine/stored-evaluate.js +1 -1
- package/dist/safe-bash-zip-engine/zip/repair.js +3 -3
- package/dist/safe-bash-zip-engine/zip/volumes.js +3 -3
- package/dist/spreadsheet-engine/datasource.js +16 -2
- package/dist/spreadsheet-engine/formulas/diagnostics.d.ts +2 -1
- package/dist/spreadsheet-engine/formulas/diagnostics.js +2 -2
- package/dist/spreadsheet-engine/formulas/evaluator.d.ts +1 -1
- package/dist/spreadsheet-engine/formulas/evaluator.js +2 -1
- package/dist/spreadsheet-format-xls/biff-encrypted-properties.js +7 -6
- package/dist/spreadsheet-format-xls/biff-properties-merge.js +41 -22
- package/dist/spreadsheet-format-xls/biff-properties.js +94 -109
- package/dist/spreadsheet-format-xls/biff-property-dictionary.d.ts +5 -0
- package/dist/spreadsheet-format-xls/biff-property-dictionary.js +75 -0
- package/dist/spreadsheet-format-xls/biff-property-range.d.ts +17 -3
- package/dist/spreadsheet-format-xls/biff-property-range.js +178 -37
- package/dist/spreadsheet-format-xls/biff-property-values.d.ts +31 -0
- package/dist/spreadsheet-format-xls/biff-property-values.js +158 -0
- package/package.json +5 -2
- package/dist/safe-bash/command-chunks/biff-4ALVARRF-7SRX6R6N.js +0 -5192
- package/dist/safe-bash/command-chunks/chunk-63EMPQ7Z.js +0 -115
- package/dist/safe-bash/command-chunks/{chunk-X2HVVMTW.js → chunk-AW4Q3GZW.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-JC2EV66U.js → chunk-BJXADHRT.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-XI2LETBJ.js → chunk-BXU5Y7I5.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-PVLPWVRH.js → chunk-D3HW7R2N.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-OLK3DCJD.js → chunk-DYERIXPU.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-WYBCSJFG.js → chunk-FWCUEZ3K.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-FF2SQ2GP.js → chunk-GGH376XQ.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-D66Q7QJ3.js → chunk-JRSZ5IGD.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-3JST2Q7G.js → chunk-KRRG4MGH.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-Z3YB4EVE.js → chunk-KSM5CCHT.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-NJ4NTTCR.js → chunk-LNLACEAN.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-NBTG6NF6.js → chunk-LTJRUMK6.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-XCYTG7CR.js → chunk-NJGL5JQ6.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-SZ66JC25.js → chunk-Q7J2NTH2.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-MDV7W5AS.js → chunk-SKNI2XQA.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-7ZWACKCG.js → chunk-T6OXG7QQ.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-ECDEPKKW.js → chunk-W25EIKDJ.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-4YSBUQPV.js → chunk-W2FKFEVY.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-2CIDPOUV.js → chunk-WSNHJZQ5.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-4H3TYOVC.js → chunk-Y7AXMCFV.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-U6IEK2CI.js → chunk-YPG55QTP.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-252L5YC5.js → chunk-Z37OM247.js} +6 -6
- package/dist/safe-bash/command-chunks/{pln-DFS7VLVS-JATX6FS7.js → pln-DFS7VLVS-OVOBS4QX.js} +3 -3
- package/dist/safe-bash/command-chunks/{psion-YBI6JEQI-6OMC2PGC.js → psion-YBI6JEQI-GY4S6ZLC.js} +3 -3
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import {
|
|
2
|
+
materializeText,
|
|
3
|
+
textSize
|
|
4
|
+
} from "./chunk-KHUT7BB5.js";
|
|
1
5
|
import {
|
|
2
6
|
decodeHeaderPath,
|
|
3
7
|
isEpochHeader
|
|
@@ -18,27 +22,39 @@ function startIndex(start, count) {
|
|
|
18
22
|
async function parseUnified(text, budget) {
|
|
19
23
|
if (typeof text !== "string") {
|
|
20
24
|
budget.countLines(text.length);
|
|
21
|
-
return parseUnifiedReader({ input: text, index: 0 }, budget, false);
|
|
25
|
+
return parseUnifiedReader({ input: text, index: 0 }, budget, false, bufferedLines);
|
|
22
26
|
}
|
|
23
27
|
if (text && !text.endsWith("\n")) throw new ToolError("patch is truncated: missing final LF");
|
|
24
28
|
const lines = budget.split(text).map((line) => line.slice(0, -1));
|
|
25
29
|
return parseUnifiedReader({ input: { length: lines.length, async read(index) {
|
|
26
30
|
return lines[index];
|
|
27
|
-
} }, index: 0 }, budget, false);
|
|
31
|
+
} }, index: 0 }, budget, false, bufferedLines);
|
|
28
32
|
}
|
|
29
33
|
async function parseUnifiedSection(cursor, budget) {
|
|
30
|
-
if ("input" in cursor) return parseUnifiedReader(cursor, budget, true);
|
|
34
|
+
if ("input" in cursor) return parseUnifiedReader(cursor, budget, true, bufferedLines);
|
|
31
35
|
const indexed = {
|
|
32
36
|
index: cursor.index,
|
|
33
37
|
input: { length: cursor.lines.length, async read(index) {
|
|
34
38
|
return cursor.lines[index];
|
|
35
39
|
} }
|
|
36
40
|
};
|
|
37
|
-
const patches = await parseUnifiedReader(indexed, budget, true);
|
|
41
|
+
const patches = await parseUnifiedReader(indexed, budget, true, bufferedLines);
|
|
38
42
|
cursor.index = indexed.index;
|
|
39
43
|
return patches;
|
|
40
44
|
}
|
|
41
|
-
|
|
45
|
+
function bufferedLines() {
|
|
46
|
+
const lines = [];
|
|
47
|
+
return { lines, async append(line) {
|
|
48
|
+
lines.push({ kind: line.kind, text: await materializeText(line.text) });
|
|
49
|
+
} };
|
|
50
|
+
}
|
|
51
|
+
function bufferedHunks() {
|
|
52
|
+
const hunks = [];
|
|
53
|
+
return { hunks, append(hunk) {
|
|
54
|
+
hunks.push(hunk);
|
|
55
|
+
} };
|
|
56
|
+
}
|
|
57
|
+
async function parseUnifiedReader(cursor, budget, single, createLines, createHunks = bufferedHunks) {
|
|
42
58
|
const physical = cursor.input;
|
|
43
59
|
const patches = [];
|
|
44
60
|
let index = cursor.index;
|
|
@@ -67,7 +83,8 @@ async function parseUnifiedReader(cursor, budget, single) {
|
|
|
67
83
|
const newEpoch = isEpochHeader(await physical.read(index));
|
|
68
84
|
index++;
|
|
69
85
|
budget.file();
|
|
70
|
-
const
|
|
86
|
+
const hunkBuilder = createHunks();
|
|
87
|
+
const hunks = hunkBuilder.hunks;
|
|
71
88
|
let oldEnded = false;
|
|
72
89
|
let newEnded = false;
|
|
73
90
|
while (index < physical.length && (await physical.read(index)).startsWith("@@")) {
|
|
@@ -85,7 +102,7 @@ async function parseUnifiedReader(cursor, budget, single) {
|
|
|
85
102
|
if (oldEnded && oldCount || newEnded && newCount) throw new ToolError("hunk follows an incomplete final line");
|
|
86
103
|
let oldRead = 0;
|
|
87
104
|
let newRead = 0;
|
|
88
|
-
const
|
|
105
|
+
const bodyLines = createLines();
|
|
89
106
|
let changed = false;
|
|
90
107
|
while (oldRead < oldCount || newRead < newCount) {
|
|
91
108
|
budget.step();
|
|
@@ -93,27 +110,28 @@ async function parseUnifiedReader(cursor, budget, single) {
|
|
|
93
110
|
const c = budget.checkpoint();
|
|
94
111
|
if (c) await c;
|
|
95
112
|
}
|
|
96
|
-
const
|
|
113
|
+
const bodyIndex = index++;
|
|
114
|
+
const body = await physical.read(bodyIndex, physical.body ? 1 : void 0);
|
|
97
115
|
const kind = body === "" ? " " : body?.[0];
|
|
98
116
|
if (body === void 0 || kind !== " " && kind !== "+" && kind !== "-") throw new ToolError("truncated or malformed hunk body");
|
|
99
117
|
if (kind !== "+" && oldEnded || kind !== "-" && newEnded) throw new ToolError("content follows an incomplete final line");
|
|
100
118
|
if (kind !== "+") oldRead++;
|
|
101
119
|
if (kind !== "-") newRead++;
|
|
102
120
|
if (oldRead > oldCount || newRead > newCount) throw new ToolError("hunk line counts do not match header");
|
|
103
|
-
const
|
|
104
|
-
|
|
105
|
-
|
|
121
|
+
const incomplete = physical.matches ? await physical.matches(index, "\") : await physical.read(index) === "\";
|
|
122
|
+
const text = physical.body ? await physical.body(bodyIndex, 1, incomplete) : `${body.slice(1)}${incomplete ? "" : "\n"}`;
|
|
123
|
+
const entry = { kind, text };
|
|
106
124
|
changed ||= kind !== " ";
|
|
107
|
-
if (
|
|
108
|
-
if (
|
|
125
|
+
if (incomplete) {
|
|
126
|
+
if (textSize(text) === 0) throw new ToolError("empty incomplete line is not a valid text line");
|
|
109
127
|
index++;
|
|
110
|
-
entry.text = entry.text.slice(0, -1);
|
|
111
128
|
if (kind !== "+") oldEnded = true;
|
|
112
129
|
if (kind !== "-") newEnded = true;
|
|
113
130
|
}
|
|
131
|
+
await bodyLines.append(entry);
|
|
114
132
|
}
|
|
115
133
|
if (!changed) throw new ToolError("hunk has no changes");
|
|
116
|
-
|
|
134
|
+
await hunkBuilder.append({ oldStart, oldCount, newStart, newCount, lines: bodyLines.lines, section: match[5] ?? "" });
|
|
117
135
|
}
|
|
118
136
|
if (!hunks.length) throw new ToolError("file patch has no hunks");
|
|
119
137
|
patches.push({ oldPath, newPath, oldEpoch, newEpoch, oldHeader, newHeader, hunks });
|
|
@@ -354,6 +372,7 @@ export {
|
|
|
354
372
|
startIndex,
|
|
355
373
|
parseUnified,
|
|
356
374
|
parseUnifiedSection,
|
|
375
|
+
parseUnifiedReader,
|
|
357
376
|
reversePatch,
|
|
358
377
|
applyHunks
|
|
359
378
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
themeColorSlots,
|
|
3
3
|
validateColor
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-CCMAHM3I.js";
|
|
5
5
|
import {
|
|
6
6
|
readXmlPercentage
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-TJLXSENN.js";
|
|
8
8
|
import {
|
|
9
9
|
callableConstructor
|
|
10
10
|
} from "./chunk-HR2Y6YEP.js";
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
PropertyAccessError,
|
|
14
14
|
TypeError,
|
|
15
15
|
ValueError
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-JUHOL5KB.js";
|
|
17
17
|
import {
|
|
18
18
|
OfficeError
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-CXME4YHU.js";
|
|
20
20
|
|
|
21
21
|
// packages/safe-bash-presentation-engine/src/enum-definition.ts
|
|
22
22
|
function defineEnum(values) {
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readPackage
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IWHNRYER.js";
|
|
4
4
|
import {
|
|
5
5
|
binarySource,
|
|
6
6
|
readBinary
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-NFII726L.js";
|
|
8
8
|
import {
|
|
9
9
|
parseXmlPart
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-DBLQUZGN.js";
|
|
11
11
|
import {
|
|
12
12
|
parseContentTypes
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ZQM37BGE.js";
|
|
14
14
|
import {
|
|
15
15
|
readRelationshipGraph
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-LNTEV56A.js";
|
|
17
17
|
import {
|
|
18
18
|
asciiKey
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-WTVJLHMG.js";
|
|
20
20
|
import {
|
|
21
21
|
OfficeError,
|
|
22
22
|
resolveOfficeResources
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-CXME4YHU.js";
|
|
24
24
|
|
|
25
25
|
// packages/safe-bash-presentation-engine/src/slide-transfer-budget.ts
|
|
26
26
|
var SlideTransferBudget = class {
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
import {
|
|
2
|
+
openRetainedPresentationIndex,
|
|
3
|
+
stageRetainedOutput,
|
|
4
|
+
streamJson
|
|
5
|
+
} from "./chunk-4EHY6J2Z.js";
|
|
1
6
|
import {
|
|
2
7
|
attr,
|
|
3
8
|
child,
|
|
@@ -7,22 +12,257 @@ import {
|
|
|
7
12
|
nextRel,
|
|
8
13
|
relPart,
|
|
9
14
|
required
|
|
10
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ADHFF2IM.js";
|
|
11
16
|
import {
|
|
12
17
|
SelectionError
|
|
13
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-W3ZSWK76.js";
|
|
19
|
+
import {
|
|
20
|
+
openRetainedPresentationValidation
|
|
21
|
+
} from "./chunk-3GRMU7TM.js";
|
|
22
|
+
import {
|
|
23
|
+
dialects
|
|
24
|
+
} from "./chunk-AWPI4DZR.js";
|
|
14
25
|
import {
|
|
15
26
|
parseXmlPart
|
|
16
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-DBLQUZGN.js";
|
|
17
28
|
import {
|
|
18
29
|
relativePartReference
|
|
19
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-WTVJLHMG.js";
|
|
20
31
|
import {
|
|
21
|
-
OfficeError
|
|
22
|
-
|
|
32
|
+
OfficeError,
|
|
33
|
+
RetainedValues,
|
|
34
|
+
equal,
|
|
35
|
+
folded,
|
|
36
|
+
literal,
|
|
37
|
+
openRetainedXmlDocument,
|
|
38
|
+
resolveOfficeResources
|
|
39
|
+
} from "./chunk-CXME4YHU.js";
|
|
23
40
|
|
|
24
41
|
// packages/safe-bash-presentation-engine/src/notes.ts
|
|
25
42
|
import { SaxesParser } from "saxes";
|
|
43
|
+
|
|
44
|
+
// packages/safe-bash-presentation-engine/src/retained-notes.ts
|
|
45
|
+
import { PagedStorage } from "@poe-platform/safe-fs/storage";
|
|
46
|
+
async function openRetainedNotes(archive, fingerprint, options, settings, selectBeforeValidation = false) {
|
|
47
|
+
if (!options || typeof options !== "object" || ![Object.prototype, null].includes(Object.getPrototypeOf(options)) || Object.keys(options).some((key) => key !== "selection"))
|
|
48
|
+
throw new OfficeError("invalid-value", "Invalid notes query.", "usage");
|
|
49
|
+
if (options.selection !== void 0 && (!options.selection || typeof options.selection !== "object" || ![Object.prototype, null].includes(Object.getPrototypeOf(options.selection))))
|
|
50
|
+
throw new SelectionError("invalid-selection");
|
|
51
|
+
const selection = options.selection === void 0 ? void 0 : { ...options.selection, kind: options.selection.kind ?? "slide", ...options.selection.position ? { position: { ...options.selection.position } } : {} };
|
|
52
|
+
const context = resolveOfficeResources(settings), working = { ...settings.workingStorage }, signal = context.signal ?? new AbortController().signal;
|
|
53
|
+
const index = await openRetainedPresentationIndex(archive, fingerprint, { ...context, workingStorage: working });
|
|
54
|
+
const pages = new PagedStorage({ fs: working.fs, cwd: working.directory, env: {}, signal }, (working.cacheBytes ?? 1024 * 1024) / 16384);
|
|
55
|
+
let closed = false, closing, first = 0, last = 0, count = 0;
|
|
56
|
+
const check = () => {
|
|
57
|
+
if (closed) throw new OfficeError("invalid-handle", "Notes are closed.", "select");
|
|
58
|
+
if (signal.aborted) throw new OfficeError("cancelled", "Operation cancelled.", "select");
|
|
59
|
+
};
|
|
60
|
+
const failure = (error) => error instanceof OfficeError ? error : new OfficeError(signal.aborted ? "cancelled" : "io-failure", "Notes storage operation failed.", "select");
|
|
61
|
+
const close = () => {
|
|
62
|
+
closed = true;
|
|
63
|
+
return closing ??= (async () => {
|
|
64
|
+
const outcomes = await Promise.allSettled([index.close(), pages.close()]);
|
|
65
|
+
for (const outcome of outcomes) if (outcome.status === "rejected") throw outcome.reason;
|
|
66
|
+
})();
|
|
67
|
+
};
|
|
68
|
+
const values = new RetainedValues(pages, check, signal);
|
|
69
|
+
const range = (row2, field) => ({ start: row2[field], length: row2[field + 1] });
|
|
70
|
+
async function row(pointer) {
|
|
71
|
+
check();
|
|
72
|
+
const bytes = await pages.read(pointer, 11 /* Count */ * 8), view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
|
|
73
|
+
return Array.from({ length: 11 /* Count */ }, (_, n) => view.getFloat64(n * 8, true));
|
|
74
|
+
}
|
|
75
|
+
async function write(pointer, numbers) {
|
|
76
|
+
check();
|
|
77
|
+
const bytes = new Uint8Array(numbers.length * 8), view = new DataView(bytes.buffer);
|
|
78
|
+
numbers.forEach((number, n) => view.setFloat64(n * 8, number, true));
|
|
79
|
+
await pages.write(pointer, bytes);
|
|
80
|
+
}
|
|
81
|
+
async function metadata(value) {
|
|
82
|
+
const decoder = new TextDecoder();
|
|
83
|
+
let result = "";
|
|
84
|
+
for await (const bytes of values.read(value)) result += decoder.decode(bytes, { stream: true });
|
|
85
|
+
return result + decoder.decode();
|
|
86
|
+
}
|
|
87
|
+
try {
|
|
88
|
+
if (selectBeforeValidation && selection) for await (const record of index.records.select(selection)) {
|
|
89
|
+
void record;
|
|
90
|
+
check();
|
|
91
|
+
}
|
|
92
|
+
const validation = await openRetainedPresentationValidation(archive, { ...context, workingStorage: working }, {
|
|
93
|
+
...context.xmlLimits,
|
|
94
|
+
...context.relationshipLimits,
|
|
95
|
+
maxBytes: Math.min(context.xmlLimits.maxBytes, context.relationshipLimits.maxBytes),
|
|
96
|
+
maxEntries: context.archiveLimits.maxMembers
|
|
97
|
+
});
|
|
98
|
+
const valid = validation.valid;
|
|
99
|
+
try {
|
|
100
|
+
await validation.close();
|
|
101
|
+
} catch (error) {
|
|
102
|
+
if (valid) await Promise.reject(error);
|
|
103
|
+
}
|
|
104
|
+
if (!valid) throw new OfficeError("invalid-opc", "Invalid presentation graph.", "validate-intent");
|
|
105
|
+
for await (const part of archive.parts()) {
|
|
106
|
+
const key = await values.store(folded(literal(part))), value = await values.store(literal(part));
|
|
107
|
+
await values.insert("parts", key, value);
|
|
108
|
+
}
|
|
109
|
+
const main = await openRetainedXmlDocument(archive.read(index.records.main), { ...context, workingStorage: working });
|
|
110
|
+
let dialect = dialects[0], mainFailed = false;
|
|
111
|
+
try {
|
|
112
|
+
for (const candidate of dialects) if (await equal(main.namespace(main.root), literal(candidate.p))) dialect = candidate;
|
|
113
|
+
} catch (error) {
|
|
114
|
+
mainFailed = true;
|
|
115
|
+
throw error;
|
|
116
|
+
} finally {
|
|
117
|
+
try {
|
|
118
|
+
await main.close();
|
|
119
|
+
} catch (error) {
|
|
120
|
+
if (!mainFailed) await Promise.reject(error);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
async function target(owner, kind, internal) {
|
|
124
|
+
for await (const edge of index.graph.outgoing(owner)) if ((!internal || !edge.external) && await equal(edge.type(), literal(`${dialect.r}/${kind}`))) {
|
|
125
|
+
if (!edge.targetPart) return void 0;
|
|
126
|
+
const original = await values.find("parts", () => folded(edge.targetPart()));
|
|
127
|
+
if (!original) throw new OfficeError("missing-binding", "Package member is absent.", "index");
|
|
128
|
+
return { name: await metadata(original), reference: await values.store(edge.targetPart()) };
|
|
129
|
+
}
|
|
130
|
+
return void 0;
|
|
131
|
+
}
|
|
132
|
+
if (selection) {
|
|
133
|
+
for await (const slide of index.records.select(selection)) if (slide.kind !== "slide") throw new SelectionError("invalid-selection");
|
|
134
|
+
}
|
|
135
|
+
for await (const slide of selection ? index.records.select(selection) : index.records.records("slide")) {
|
|
136
|
+
const part = await target(slide.part, "notesSlide", true);
|
|
137
|
+
if (!part) continue;
|
|
138
|
+
const document = await openRetainedXmlDocument(archive.read(part.name), { ...context, workingStorage: working });
|
|
139
|
+
let failed = false;
|
|
140
|
+
try {
|
|
141
|
+
async function is(node, local, namespace) {
|
|
142
|
+
return node.kind === "element" && await equal(document.raw(node.localName), literal(local)) && await equal(document.namespace(node), namespace);
|
|
143
|
+
}
|
|
144
|
+
async function child2(node, local) {
|
|
145
|
+
if (!node) return void 0;
|
|
146
|
+
let found;
|
|
147
|
+
for await (const candidate of document.children(node)) if (await is(candidate, local, document.namespace(node))) {
|
|
148
|
+
if (found) throw new OfficeError("invalid-value", "Ambiguous shared structure.", "usage");
|
|
149
|
+
found = candidate;
|
|
150
|
+
}
|
|
151
|
+
return found;
|
|
152
|
+
}
|
|
153
|
+
async function required2(node, local) {
|
|
154
|
+
const found = await child2(node, local);
|
|
155
|
+
if (!found) throw new OfficeError("unsupported-edit", "Unsupported shared structure.", "validate-intent");
|
|
156
|
+
return found;
|
|
157
|
+
}
|
|
158
|
+
async function attribute(node, local) {
|
|
159
|
+
if (node) {
|
|
160
|
+
for await (const candidate of document.attributes(node)) if (await equal(document.raw(candidate.localName), literal(local)) && await equal(document.namespace(candidate), literal(""))) return candidate;
|
|
161
|
+
}
|
|
162
|
+
return void 0;
|
|
163
|
+
}
|
|
164
|
+
const tree = await required2(await required2(document.root, "cSld"), "spTree");
|
|
165
|
+
let body2;
|
|
166
|
+
for await (const node of document.children(tree)) if (await is(node, "sp", document.namespace(document.root))) {
|
|
167
|
+
const placeholder2 = await child2(await child2(await child2(node, "nvSpPr"), "nvPr"), "ph"), type = await attribute(placeholder2, "type");
|
|
168
|
+
if (type && await equal(document.text(type), literal("body"))) {
|
|
169
|
+
if (body2) throw new OfficeError("ambiguous-selection", "Notes have multiple speaker bodies.", "select");
|
|
170
|
+
body2 = node;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
const id = await attribute(await child2(await child2(body2, "nvSpPr"), "cNvPr"), "id"), textBody = await child2(body2, "txBody");
|
|
174
|
+
const idRange = id ? await values.store(document.text(id)) : { start: -1, length: 0 };
|
|
175
|
+
let drawing = dialects[0].a;
|
|
176
|
+
for (const candidate of dialects) if (await equal(document.namespace(document.root), literal(candidate.p))) drawing = candidate.a;
|
|
177
|
+
async function* speakerText2() {
|
|
178
|
+
let separator = false;
|
|
179
|
+
if (textBody) {
|
|
180
|
+
for await (const paragraph of document.children(textBody)) if (await is(paragraph, "p", literal(drawing))) {
|
|
181
|
+
if (separator) yield* literal("\n");
|
|
182
|
+
separator = true;
|
|
183
|
+
for await (const inline of document.children(paragraph)) {
|
|
184
|
+
if (await is(inline, "br", literal(drawing))) yield* literal("\v");
|
|
185
|
+
else if (await is(inline, "r", literal(drawing)) || await is(inline, "fld", literal(drawing))) {
|
|
186
|
+
for await (const text2 of document.children(inline)) if (await is(text2, "t", literal(drawing))) yield* document.text(text2);
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
const text = textBody ? await values.store(speakerText2()) : { start: -1, length: 0 }, master = await target(part.name, "notesMaster", false);
|
|
193
|
+
if (!master) throw new OfficeError("invalid-opc", "Missing notes master.", "index");
|
|
194
|
+
const descriptor = await values.store(literal(JSON.stringify({ selector: slide.token, location: slide.location, slide: slide.position })));
|
|
195
|
+
const pointer = pages.allocate(11 /* Count */ * 8);
|
|
196
|
+
await write(pointer, [0, descriptor.start, descriptor.length, part.reference.start, part.reference.length, master.reference.start, master.reference.length, text.start, text.length, idRange.start, idRange.length]);
|
|
197
|
+
if (last) await write(last, [pointer]);
|
|
198
|
+
else first = pointer;
|
|
199
|
+
last = pointer;
|
|
200
|
+
count++;
|
|
201
|
+
} catch (error) {
|
|
202
|
+
failed = true;
|
|
203
|
+
throw error;
|
|
204
|
+
} finally {
|
|
205
|
+
try {
|
|
206
|
+
await document.close();
|
|
207
|
+
} catch (error) {
|
|
208
|
+
if (!failed) await Promise.reject(error);
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
await index.close();
|
|
213
|
+
check();
|
|
214
|
+
async function* records() {
|
|
215
|
+
try {
|
|
216
|
+
for (let pointer = first; pointer; ) {
|
|
217
|
+
const entry = await row(pointer), descriptor = JSON.parse(await metadata(range(entry, 1 /* Metadata */)));
|
|
218
|
+
yield {
|
|
219
|
+
...descriptor,
|
|
220
|
+
part: () => values.read(range(entry, 3 /* Part */)),
|
|
221
|
+
master: () => values.read(range(entry, 5 /* Master */)),
|
|
222
|
+
text: entry[7 /* Text */] === -1 ? null : () => values.read(range(entry, 7 /* Text */)),
|
|
223
|
+
bodyShapeId: entry[9 /* Id */] === -1 ? null : () => values.read(range(entry, 9 /* Id */))
|
|
224
|
+
};
|
|
225
|
+
pointer = entry[0 /* Next */];
|
|
226
|
+
}
|
|
227
|
+
check();
|
|
228
|
+
} catch (error) {
|
|
229
|
+
throw failure(error);
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
return Object.freeze({ records, close, count });
|
|
233
|
+
} catch (error) {
|
|
234
|
+
await close().catch(() => {
|
|
235
|
+
});
|
|
236
|
+
throw failure(error);
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
async function stageRetainedNotes(archive, fingerprint, options, settings, output) {
|
|
240
|
+
const format = { ...output }, notes = await openRetainedNotes(archive, fingerprint, options, settings, format.operation === "notes.get");
|
|
241
|
+
let staged;
|
|
242
|
+
async function* locations() {
|
|
243
|
+
for await (const note of notes.records()) yield note.location;
|
|
244
|
+
}
|
|
245
|
+
async function* render() {
|
|
246
|
+
if (format.json) {
|
|
247
|
+
yield* streamJson({ version: 1, operation: format.operation, ok: true, data: format.operation === "notes.get" && !notes.count ? null : { notes: notes.records() }, affected: 0, warnings: [], errors: [], locations: locations() });
|
|
248
|
+
yield* literal("\n");
|
|
249
|
+
} else for await (const note of notes.records()) {
|
|
250
|
+
yield* literal(`${note.slide}: `);
|
|
251
|
+
if (note.text) yield* note.text();
|
|
252
|
+
yield* literal("\n");
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
try {
|
|
256
|
+
staged = await stageRetainedOutput(render(), settings, format.maxOutputBytes);
|
|
257
|
+
await notes.close();
|
|
258
|
+
return staged;
|
|
259
|
+
} catch (error) {
|
|
260
|
+
await Promise.allSettled([notes.close(), staged?.close()]);
|
|
261
|
+
throw error;
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
// packages/safe-bash-presentation-engine/src/notes.ts
|
|
26
266
|
var relns = "http://schemas.openxmlformats.org/package/2006/relationships";
|
|
27
267
|
function notesPart(s, slide) {
|
|
28
268
|
return s.index.inventory.relationships.find(
|
|
@@ -366,6 +606,8 @@ async function mutateNotes(input, action, options, context) {
|
|
|
366
606
|
}
|
|
367
607
|
|
|
368
608
|
export {
|
|
609
|
+
openRetainedNotes,
|
|
610
|
+
stageRetainedNotes,
|
|
369
611
|
readNotes,
|
|
370
612
|
validateNotesOptions,
|
|
371
613
|
mutateNotes
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
asciiKey,
|
|
3
3
|
partName
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-WTVJLHMG.js";
|
|
5
5
|
import {
|
|
6
6
|
OfficeError
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-CXME4YHU.js";
|
|
8
8
|
|
|
9
9
|
// packages/safe-bash-presentation-engine/src/content-types.ts
|
|
10
10
|
import { SaxesParser } from "saxes";
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openDocumentLocations,
|
|
3
3
|
resolveDocxSelection
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-CKEMZUE3.js";
|
|
5
5
|
import {
|
|
6
6
|
DocumentArchiveEditor
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VUWXLH3E.js";
|
|
8
|
+
import {
|
|
9
|
+
paragraphTextRun
|
|
10
|
+
} from "./chunk-BLIFGBIO.js";
|
|
8
11
|
import {
|
|
9
12
|
measurePackageResourceSerialization
|
|
10
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-2BNGPR6Z.js";
|
|
11
14
|
import {
|
|
12
15
|
validateDocxInvocation
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import {
|
|
15
|
-
paragraphTextRun
|
|
16
|
-
} from "./chunk-CU4DLVME.js";
|
|
16
|
+
} from "./chunk-DZH54L3F.js";
|
|
17
17
|
import {
|
|
18
18
|
assertDocumentEditable,
|
|
19
19
|
publishDocumentArchive
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-EVYKV3QI.js";
|
|
21
21
|
import {
|
|
22
22
|
UnsupportedEditError,
|
|
23
23
|
runElementOpen
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-Y7AXMCFV.js";
|
|
25
25
|
import {
|
|
26
26
|
dialectForNamespace,
|
|
27
27
|
documentDialects
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
admitImage
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7KZ5LWV2.js";
|
|
4
4
|
import {
|
|
5
5
|
readTable
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RQYPFLZJ.js";
|
|
7
7
|
import {
|
|
8
8
|
nodeFor
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-MVLVIMJ6.js";
|
|
10
10
|
import {
|
|
11
11
|
readTextBodies
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-KSBNZTAZ.js";
|
|
13
13
|
import {
|
|
14
14
|
child,
|
|
15
15
|
escape,
|
|
16
16
|
loadShared,
|
|
17
17
|
nextRel,
|
|
18
18
|
relPart
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-ADHFF2IM.js";
|
|
20
20
|
import {
|
|
21
21
|
protectedEquationNodes
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-XTEIT5CI.js";
|
|
23
23
|
import {
|
|
24
24
|
relativePartReference
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-WTVJLHMG.js";
|
|
26
26
|
import {
|
|
27
27
|
OfficeError
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-CXME4YHU.js";
|
|
29
29
|
|
|
30
30
|
// packages/safe-bash-presentation-engine/src/template-bindings.ts
|
|
31
31
|
function invalid() {
|
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
matchesModelVfs,
|
|
3
3
|
modelContext
|
|
4
4
|
} from "./chunk-DMAOMHJQ.js";
|
|
5
|
-
import {
|
|
6
|
-
characterizeRasterHeader
|
|
7
|
-
} from "./chunk-4Y6O2K35.js";
|
|
8
5
|
import {
|
|
9
6
|
DocumentIo
|
|
10
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ZTMZO4IT.js";
|
|
8
|
+
import {
|
|
9
|
+
characterizeRasterHeader
|
|
10
|
+
} from "./chunk-GLAF45M7.js";
|
|
11
11
|
import {
|
|
12
12
|
UnsupportedEditError
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-Y7AXMCFV.js";
|
|
14
14
|
import {
|
|
15
15
|
Emu,
|
|
16
16
|
Inches,
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
Vr,
|
|
5
5
|
Yn,
|
|
6
6
|
gn
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-YXIB6JV5.js";
|
|
7
|
+
} from "./chunk-W2FKFEVY.js";
|
|
9
8
|
import "./chunk-5V3TE7XU.js";
|
|
9
|
+
import "./chunk-YXIB6JV5.js";
|
|
10
10
|
import "./chunk-VO6Q3KKZ.js";
|
|
11
11
|
import "./chunk-Z7ESJVFP.js";
|
|
12
12
|
import "./chunk-2BKOSQD3.js";
|