@poe-platform/safe-bash 0.1.812 → 0.1.814
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/audio-ast/id3-source.d.ts +27 -0
- package/dist/audio-ast/index.d.ts +4 -0
- package/dist/audio-ast/index.js +996 -596
- package/dist/audio-ast/mp3-source.d.ts +18 -0
- package/dist/audio-ast/ogg-source.d.ts +25 -0
- package/dist/audio-ast/ogg-stream-source.d.ts +22 -0
- package/dist/image-ast/index.js +139 -9
- package/dist/mp4-ast/containers/adapters.d.ts +7 -0
- package/dist/mp4-ast/index.d.ts +2 -0
- package/dist/mp4-ast/mp4-sample-source.d.ts +52 -0
- package/dist/mp4-ast/mp4-source.d.ts +32 -0
- package/dist/office-xml/retained-xml-document.d.ts +14 -0
- package/dist/pdf-ast/ast.d.ts +2 -0
- package/dist/pdf-ast/content/dictionary-cursor.d.ts +15 -0
- package/dist/pdf-ast/content/evaluator.d.ts +4 -0
- package/dist/pdf-ast/content/range-operator-parser.d.ts +4 -0
- package/dist/pdf-ast/content/stored-dictionary.d.ts +10 -0
- package/dist/pdf-ast/cos/lexer.d.ts +8 -5
- package/dist/pdf-ast/cos/object-reader.d.ts +11 -3
- package/dist/pdf-ast/cos/range-parser.d.ts +4 -0
- package/dist/pdf-ast/cos/retained-objects.d.ts +1 -0
- package/dist/pdf-ast/cos/retained-writer.d.ts +1 -0
- package/dist/pdf-ast/cos/value-parser.d.ts +10 -0
- package/dist/pdf-ast/edit/retained-append-attachments.d.ts +13 -0
- package/dist/pdf-ast/edit/retained-bookmarks.d.ts +13 -0
- package/dist/pdf-ast/edit/retained-form-appearances.d.ts +10 -0
- package/dist/pdf-ast/edit/retained-graph.d.ts +12 -0
- package/dist/pdf-ast/edit/retained-info-updates.d.ts +33 -0
- package/dist/pdf-ast/edit/retained-save.d.ts +2 -0
- package/dist/pdf-ast/edit/retained-stamps.d.ts +9 -0
- package/dist/pdf-ast/fonts/resolve.d.ts +3 -1
- package/dist/pdf-ast/index.d.ts +3 -1
- package/dist/pdf-ast/index.js +1966 -844
- package/dist/pdf-ast/retained-document.d.ts +5 -0
- package/dist/safe-bash/audio-ast.browser.js +6 -1
- package/dist/safe-bash/chunks/{chunk-HHSOUC3Z.js → chunk-HPQE675Q.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-BUYRKFW2.js → chunk-I6ECNJMR.js} +1 -1
- package/dist/safe-bash/chunks/{pdftk-WRYEP3CA.js → pdftk-Y2TX74LY.js} +2 -1
- package/dist/safe-bash/command-chunks/biff-KRHJ63K3-VQPJCVIL.js +5309 -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-HWQ2UHMT.js → chunk-2ETEJOYX.js} +18 -18
- package/dist/safe-bash/command-chunks/{chunk-NQDIT667.js → chunk-2PKBXGXD.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-MMBZTYXO.js → chunk-2PQRZDNR.js} +221 -0
- package/dist/safe-bash/command-chunks/{chunk-6QBMND4A.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-RNSKXOG3.js → chunk-3GRMU7TM.js} +6 -6
- package/dist/safe-bash/command-chunks/chunk-3JM7E42I.js +197 -0
- 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-ZXR6LXV5.js → chunk-3ZRCL756.js} +48 -4
- package/dist/safe-bash/command-chunks/{chunk-SOFM3GPG.js → chunk-42MEXZBJ.js} +1 -1
- 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-L5MCW6CM.js → chunk-4EHY6J2Z.js} +9 -155
- 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-M7QE2MN7.js → chunk-4YLACJHE.js} +6 -6
- package/dist/safe-bash/command-chunks/chunk-5BIQWWLB.js +175 -0
- package/dist/safe-bash/command-chunks/{chunk-P3WU3PSL.js → chunk-5L4YGRQU.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-HKATEVAP.js → chunk-5LFGXN3D.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-SPLOIABU.js → chunk-5OM3UIK3.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-TVH4JORU.js → chunk-6LPSKLLD.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-CV7M2QJU.js → chunk-6QYSF7I2.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-XVP6V5K3.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-6CCQI6XZ.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-6ZHQB453.js +35 -0
- package/dist/safe-bash/command-chunks/{chunk-RIV6XN7K.js → chunk-7DOLY7IV.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-QD7ZRDUN.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-56NYSX65.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-FDCIPJBQ.js → chunk-AM5LANIE.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-3Q247UDJ.js → chunk-AVGXFWEB.js} +278 -135
- package/dist/safe-bash/command-chunks/{chunk-RBTC7OFT.js → chunk-AVOGFREX.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-QC5RMGSA.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-Q6S57NOQ.js → chunk-AY3KQ4EN.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-456PHA3L.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-NARD63DY.js → chunk-BS3ZEQGT.js} +22 -66
- package/dist/safe-bash/command-chunks/{chunk-WFVSUXJL.js → chunk-BS5JEUEW.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-UYWSIIUX.js → chunk-BZMNC7Q5.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-RHYJVTJO.js → chunk-CCMAHM3I.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-N4R2SHSS.js → chunk-CCZZVCHX.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-WGG6G2KG.js → chunk-CIRDVCAZ.js} +7 -7
- package/dist/safe-bash/command-chunks/chunk-CK2WFJZN.js +178 -0
- package/dist/safe-bash/command-chunks/{chunk-UZL7G57V.js → chunk-CKEMZUE3.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-B5LDP7AA.js → chunk-CQBACD2V.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-JYUJAF4L.js → chunk-CSE4VQKG.js} +16 -1
- package/dist/safe-bash/command-chunks/{chunk-Q73EMLLZ.js → chunk-CXME4YHU.js} +107 -5
- package/dist/safe-bash/command-chunks/{chunk-FTLDRH47.js → chunk-CZ5K2YPU.js} +16 -16
- package/dist/safe-bash/command-chunks/{chunk-554Z6IKP.js → chunk-DBLQUZGN.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-6M6TM5Z5.js → chunk-DBNJEXHK.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-SPW4GW4Z.js → chunk-DFI7QF3M.js} +2 -2
- 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-XRVKWGVQ.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-ATTWQVR2.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-JFYWVQ4V.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-MPUHH2KR.js → chunk-F762XDNG.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-D2ASPM7R.js → chunk-FF7UGJWS.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-OA75SGN2.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-22MOB45U.js → chunk-FUQMEUAT.js} +6 -6
- package/dist/safe-bash/command-chunks/chunk-FWKLBDMK.js +0 -0
- package/dist/safe-bash/command-chunks/{chunk-KXPCSVAT.js → chunk-FXCSPPYE.js} +20 -20
- package/dist/safe-bash/command-chunks/{chunk-XZ2FWFNV.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-ZEX53S5I.js → chunk-G3TAX3CV.js} +7369 -7221
- package/dist/safe-bash/command-chunks/{chunk-LXLLA4PM.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-OEJM666F.js → chunk-GQGMQMIM.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-RRL3Y562.js → chunk-GXMPXMDP.js} +11 -11
- package/dist/safe-bash/command-chunks/{chunk-GEM47B2P.js → chunk-GYM5ICK4.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-A5FZBR7X.js → chunk-H33D4R26.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-AGLK7OJR.js → chunk-HDSIIQBS.js} +1 -1
- 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-KB7DUBVL.js → chunk-HK6MSB7Z.js} +5 -5
- 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-XPD636C4.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-KCOJA7EM.js → chunk-JR3Q6QNL.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-S6R3IB36.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-JOCFI7TG.js → chunk-K2WOMJOQ.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-XVLWZTPY.js → chunk-K4XNUJVJ.js} +543 -144
- package/dist/safe-bash/command-chunks/{chunk-DM2CPMB4.js → chunk-KBAQHE5Y.js} +2 -2
- package/dist/safe-bash/command-chunks/chunk-KCLJGRU7.js +737 -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-47NEG4UO.js → chunk-KRRG4MGH.js} +222 -46
- package/dist/safe-bash/command-chunks/{chunk-33YCKZZX.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-2JSDKQ4J.js → chunk-LAPOMHGY.js} +251 -239
- package/dist/safe-bash/command-chunks/{chunk-ENT3IV2G.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-ZMHEGDU2.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-HTVIYLVB.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-Z2JW6M2D.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-TW73OXPR.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-ZIIO6GRY.js → chunk-NEMUPUUB.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-K5GB2YMN.js → chunk-NEVQWOU6.js} +10 -10
- package/dist/safe-bash/command-chunks/{chunk-FIIAYCWS.js → chunk-NFGCBQN3.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-PNGDJA6M.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-NQINS4XY.js +156 -0
- package/dist/safe-bash/command-chunks/{chunk-APEWTWCC.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-QZZ73J2O.js → chunk-OVQP6KH5.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-HDJVJTCK.js → chunk-P2LT6TGR.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-YS25EI54.js → chunk-PCCFLPUQ.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-26VCZHLJ.js → chunk-PIOQBOEK.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-D2KZ66W4.js → chunk-PIVH35EQ.js} +190 -42
- package/dist/safe-bash/command-chunks/{chunk-QYMEASQ6.js → chunk-PLMF35XK.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-JQVHUSDD.js → chunk-PLR5IULU.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-2CORNDGF.js → chunk-PS5GDFIP.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-R6EGGK5M.js → chunk-Q5PWYPQV.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-COKYZUBW.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-F3GP3EXE.js → chunk-RGDOYWOD.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-RQIQ75W5.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-7PVHO47B.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-AHA6IWAJ.js → chunk-RQYPFLZJ.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-YSMNXMAO.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-PMAM4N33.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-SEPUP6TZ.js +63 -0
- package/dist/safe-bash/command-chunks/{chunk-JPMYPOYZ.js → chunk-SUTHGUD3.js} +28 -28
- package/dist/safe-bash/command-chunks/chunk-SW37YCBW.js +286 -0
- package/dist/safe-bash/command-chunks/{chunk-Y4EYCZFT.js → chunk-SWAKALDJ.js} +10 -10
- package/dist/safe-bash/command-chunks/{chunk-QUM3SYAJ.js → chunk-SYSX46IV.js} +3 -3
- 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-CRV2Q3PB.js → chunk-TJLXSENN.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-IT7TAC3F.js → chunk-TKCUGMRZ.js} +24 -20
- package/dist/safe-bash/command-chunks/{chunk-7GKKMNL6.js → chunk-TXPDKEGY.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-A2CLZMQZ.js → chunk-UJERQEJB.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-6VPQ3CDZ.js → chunk-USGZN2KE.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-LCZDBW55.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-KJ4XXZIL.js → chunk-VT2PHQ63.js} +582 -59
- package/dist/safe-bash/command-chunks/{chunk-MOZD7RUY.js → chunk-VT7UBPAE.js} +38 -15
- package/dist/safe-bash/command-chunks/{chunk-QDVI2YB6.js → chunk-VUWXLH3E.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-X7FA7ZD5.js → chunk-W3ZSWK76.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-JPA2PUYI.js → chunk-WBKB7HBZ.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-MIRL7HTF.js → chunk-WJ2ERUCQ.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-36XGIPOG.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-YORJDX4V.js → chunk-WZRFS5OY.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-EHSM5ZQS.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-EUT24Y5Z.js → chunk-XM5QJCPD.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-WXRYDALR.js → chunk-XMTR7QGL.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-4CKFNXRN.js → chunk-XNGM3W5R.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-2ZFLMWOX.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-CJQSAATC.js → chunk-XUJAQA3S.js} +30 -30
- package/dist/safe-bash/command-chunks/{chunk-W5YSINXC.js → chunk-Y42KSX63.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-UAXSE3XE.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-WVMHRNXZ.js → chunk-YRPXBGRX.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-5HPU7D36.js → chunk-Z2WNYEPD.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-SDTPO2VV.js → chunk-Z7QOSXQC.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-WJCN2IXI.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-RID6VYS3.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-BCUQGJJ4.js → command-engine-7V6PZR7G.js} +1012 -678
- package/dist/safe-bash/command-chunks/{engine-LAUEWYSQ-DQCEI5HE.js → engine-UYJENSWK-VSCGKSQV.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-chunks/paradox-4FCZE53D-LQPGVMEL.js +365 -0
- package/dist/safe-bash/commands/pandoc/index.browser.js +1 -1
- package/dist/safe-bash/full-core.browser.js +2 -2
- package/dist/safe-bash/plugins/index.browser.js +2 -2
- 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 +3 -1
- package/dist/safe-bash-command-ffprobe/media.js +2 -2
- package/dist/safe-bash-command-html-to-markdown/budget.js +2 -1
- package/dist/safe-bash-command-html-to-markdown/entities.js +4 -3
- package/dist/safe-bash-command-html-to-markdown/index.js +533 -310
- package/dist/safe-bash-command-html-to-markdown/input.js +6 -5
- package/dist/safe-bash-command-html-to-markdown/options.js +2 -1
- package/dist/safe-bash-command-html-to-markdown/parser.js +5 -4
- package/dist/safe-bash-command-html-to-markdown/render.js +6 -5
- 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-html-to-markdown/text.js +3 -2
- package/dist/safe-bash-command-htmlq/contracts.d.ts +5 -0
- package/dist/safe-bash-command-htmlq/index.js +2006 -259
- 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 +4 -2
- 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 +7 -7
- package/dist/safe-bash-command-pandoc/index.js +46 -46
- package/dist/safe-bash-command-patch/index.js +6 -6
- package/dist/safe-bash-command-patch/patch-envelope.js +53 -3
- package/dist/safe-bash-command-patch/patch-formats.d.ts +7 -2
- package/dist/safe-bash-command-patch/patch-formats.js +6 -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 +3 -2
- package/dist/safe-bash-command-patch/patch-gnu-reject.js +4 -3
- package/dist/safe-bash-command-patch/patch-publication.js +2 -1
- package/dist/safe-bash-command-patch/patch.js +6 -6
- package/dist/safe-bash-command-patch/stored-patch.d.ts +26 -0
- package/dist/safe-bash-command-patch/stored-target.d.ts +40 -0
- package/dist/safe-bash-command-patch/unified.d.ts +23 -10
- package/dist/safe-bash-command-patch/unified.js +3 -1
- package/dist/safe-bash-command-pdftk/index.d.ts +6 -2
- package/dist/safe-bash-command-pdftk/index.js +1247 -373
- 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 +5 -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 +172 -19
- 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-xmllint/index.js +22 -31
- 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 +31 -30
- package/dist/safe-bash-presentation-engine/animation-editing.js +16 -15
- package/dist/safe-bash-presentation-engine/animations.js +16 -15
- package/dist/safe-bash-presentation-engine/backgrounds.js +17 -16
- package/dist/safe-bash-presentation-engine/bytes.js +3 -3
- package/dist/safe-bash-presentation-engine/chart-editing.js +34 -33
- package/dist/safe-bash-presentation-engine/chart-object-operations.js +25 -24
- package/dist/safe-bash-presentation-engine/charts.js +31 -30
- package/dist/safe-bash-presentation-engine/command-placeholder.js +59 -56
- package/dist/safe-bash-presentation-engine/comments.js +17 -16
- package/dist/safe-bash-presentation-engine/connector-operations.js +32 -31
- package/dist/safe-bash-presentation-engine/connectors.js +29 -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 +32 -31
- package/dist/safe-bash-presentation-engine/drawing-enums.d.ts +10 -10
- package/dist/safe-bash-presentation-engine/drawing-format.js +20 -19
- package/dist/safe-bash-presentation-engine/drawing-operations.js +31 -30
- package/dist/safe-bash-presentation-engine/drawing-schema.js +21 -20
- package/dist/safe-bash-presentation-engine/equations.js +17 -16
- package/dist/safe-bash-presentation-engine/errors.js +2 -2
- package/dist/safe-bash-presentation-engine/fields.js +17 -16
- package/dist/safe-bash-presentation-engine/font-metrics.js +3 -3
- package/dist/safe-bash-presentation-engine/image-extraction.js +20 -19
- package/dist/safe-bash-presentation-engine/image-formatting.js +32 -31
- package/dist/safe-bash-presentation-engine/image-insertion.js +18 -17
- package/dist/safe-bash-presentation-engine/image-replacement.js +21 -20
- package/dist/safe-bash-presentation-engine/image-value.js +4 -4
- package/dist/safe-bash-presentation-engine/images.js +19 -18
- package/dist/safe-bash-presentation-engine/index.d.ts +5 -1
- package/dist/safe-bash-presentation-engine/index.js +121 -108
- package/dist/safe-bash-presentation-engine/layouts.js +16 -15
- package/dist/safe-bash-presentation-engine/length.js +3 -3
- package/dist/safe-bash-presentation-engine/links.js +16 -15
- package/dist/safe-bash-presentation-engine/masters.js +15 -14
- package/dist/safe-bash-presentation-engine/media-editing.js +24 -23
- package/dist/safe-bash-presentation-engine/media-extraction.js +17 -16
- package/dist/safe-bash-presentation-engine/media.js +16 -15
- package/dist/safe-bash-presentation-engine/memberships.js +15 -14
- package/dist/safe-bash-presentation-engine/notes.js +16 -15
- package/dist/safe-bash-presentation-engine/ole-enum.js +4 -4
- package/dist/safe-bash-presentation-engine/ole-insertion.js +20 -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.d.ts +3 -0
- package/dist/safe-bash-presentation-engine/package-tools.js +27 -17
- 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 +58 -55
- package/dist/safe-bash-presentation-engine/presentation-settings.js +14 -13
- package/dist/safe-bash-presentation-engine/properties.js +16 -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-archive-staging.d.ts +19 -0
- package/dist/safe-bash-presentation-engine/retained-extraction-output.d.ts +18 -0
- package/dist/safe-bash-presentation-engine/retained-frame-formatting.d.ts +14 -0
- package/dist/safe-bash-presentation-engine/retained-inspection.js +14 -12
- package/dist/safe-bash-presentation-engine/retained-package-extraction.d.ts +22 -0
- package/dist/safe-bash-presentation-engine/retained-package-packing.d.ts +19 -0
- package/dist/safe-bash-presentation-engine/retained-package.d.ts +2 -0
- package/dist/safe-bash-presentation-engine/retained-package.js +6 -4
- package/dist/safe-bash-presentation-engine/retained-text.d.ts +9 -2
- package/dist/safe-bash-presentation-engine/retained-text.js +131 -30
- package/dist/safe-bash-presentation-engine/retained-xml-document.d.ts +1 -0
- package/dist/safe-bash-presentation-engine/retained-xml-parts.d.ts +5 -1
- package/dist/safe-bash-presentation-engine/retained-xml-publication.d.ts +18 -0
- package/dist/safe-bash-presentation-engine/retained-xml-replacement.d.ts +13 -0
- package/dist/safe-bash-presentation-engine/sanitize.js +17 -16
- package/dist/safe-bash-presentation-engine/selectors.js +10 -10
- package/dist/safe-bash-presentation-engine/shape-groups.js +31 -30
- package/dist/safe-bash-presentation-engine/shape-operations.js +30 -29
- package/dist/safe-bash-presentation-engine/shape-path-operations.js +32 -31
- package/dist/safe-bash-presentation-engine/shape-paths.js +16 -15
- package/dist/safe-bash-presentation-engine/shape-presets.js +3 -3
- package/dist/safe-bash-presentation-engine/shape-selection.js +31 -30
- package/dist/safe-bash-presentation-engine/shape-transforms.js +18 -17
- package/dist/safe-bash-presentation-engine/shapes.d.ts +1 -1
- package/dist/safe-bash-presentation-engine/shapes.js +27 -26
- package/dist/safe-bash-presentation-engine/slide-copy.js +17 -16
- package/dist/safe-bash-presentation-engine/slide-import.js +18 -17
- package/dist/safe-bash-presentation-engine/slide-merge-split.js +20 -19
- package/dist/safe-bash-presentation-engine/slide-model.js +43 -42
- package/dist/safe-bash-presentation-engine/slide-removal.js +18 -17
- package/dist/safe-bash-presentation-engine/slide-transfer-budget.js +9 -9
- package/dist/safe-bash-presentation-engine/slides.js +19 -16
- package/dist/safe-bash-presentation-engine/table-operations.js +33 -32
- package/dist/safe-bash-presentation-engine/table-spans.js +32 -31
- package/dist/safe-bash-presentation-engine/tables.js +31 -30
- package/dist/safe-bash-presentation-engine/tags.js +16 -15
- package/dist/safe-bash-presentation-engine/template-bindings.js +33 -32
- package/dist/safe-bash-presentation-engine/template-repeat.js +40 -39
- package/dist/safe-bash-presentation-engine/text-fitting.js +27 -26
- package/dist/safe-bash-presentation-engine/text-frames.d.ts +13 -0
- package/dist/safe-bash-presentation-engine/text-frames.js +29 -26
- package/dist/safe-bash-presentation-engine/text-paragraphs.js +27 -26
- package/dist/safe-bash-presentation-engine/text-reading.js +11 -11
- package/dist/safe-bash-presentation-engine/text-replacement.js +17 -16
- package/dist/safe-bash-presentation-engine/text-runs.js +20 -19
- package/dist/safe-bash-presentation-engine/themes.js +16 -15
- package/dist/safe-bash-presentation-engine/transitions.js +16 -15
- package/dist/safe-bash-presentation-engine/validation.js +10 -9
- package/dist/safe-bash-presentation-engine/xml-parts.d.ts +2 -0
- package/dist/safe-bash-presentation-engine/xml-parts.js +23 -15
- 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-regex-engine/index.js +1 -1
- package/dist/safe-bash-regex-engine/python-glob.js +1 -1
- package/dist/safe-bash-regex-engine/text/regex.d.ts +19 -0
- package/dist/safe-bash-regex-engine/text/regex.js +1 -1
- 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.d.ts +1 -0
- package/dist/safe-bash-xml-engine/index.js +9 -5
- package/dist/safe-bash-xml-engine/query.js +2 -2
- package/dist/safe-bash-xml-engine/recovery.d.ts +10 -0
- package/dist/safe-bash-xml-engine/stored-document.d.ts +3 -3
- 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-engine/formulas/functions/python-printf.js +56 -33
- package/dist/spreadsheet-format-xls/biff-encrypted-properties.d.ts +1 -1
- package/dist/spreadsheet-format-xls/biff-encrypted-properties.js +54 -24
- package/dist/spreadsheet-format-xls/biff-properties-merge.d.ts +6 -2
- package/dist/spreadsheet-format-xls/biff-properties-merge.js +413 -296
- package/dist/spreadsheet-format-xls/biff-properties-write.js +40 -23
- package/dist/spreadsheet-format-xls/biff-properties.js +95 -175
- 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-index.d.ts +23 -0
- package/dist/spreadsheet-format-xls/biff-property-index.js +93 -0
- package/dist/spreadsheet-format-xls/biff-property-name.d.ts +4 -0
- package/dist/spreadsheet-format-xls/biff-property-name.js +114 -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-text.d.ts +6 -0
- package/dist/spreadsheet-format-xls/biff-property-text.js +68 -0
- package/dist/spreadsheet-format-xls/biff-property-transcode.d.ts +5 -0
- package/dist/spreadsheet-format-xls/biff-property-transcode.js +45 -0
- package/package.json +8 -3
- package/dist/safe-bash/command-chunks/biff-YKPDH35C-MVQIWNKV.js +0 -4974
- package/dist/safe-bash/command-chunks/chunk-2VLAXKTS.js +0 -245
- package/dist/safe-bash/command-chunks/chunk-5Q22ZLNC.js +0 -127
- package/dist/safe-bash/command-chunks/chunk-JKLOBSMP.js +0 -56
- package/dist/safe-bash/command-chunks/chunk-JYTESTBS.js +0 -99
- package/dist/safe-bash/command-chunks/chunk-ZEGNRZV2.js +0 -333
- package/dist/safe-bash/command-chunks/paradox-ZWWXYY4J-JYOSWSBL.js +0 -362
- package/dist/spreadsheet-format-xls/biff-properties-layout.js +0 -56
- 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-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
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
import {
|
|
2
|
+
targetBytes
|
|
3
|
+
} from "./chunk-CK2WFJZN.js";
|
|
4
|
+
|
|
5
|
+
// packages/safe-bash-command-patch/src/stored-patch.ts
|
|
6
|
+
import { PagedStorage } from "@poe-platform/safe-fs/storage";
|
|
7
|
+
import { closeDocumentResources } from "../../safe-bash-diff-engine/document.js";
|
|
8
|
+
async function patchLine(hunk, index) {
|
|
9
|
+
return Array.isArray(hunk.lines) ? hunk.lines[index] : hunk.lines.read(index);
|
|
10
|
+
}
|
|
11
|
+
var PatchBodyStore = class {
|
|
12
|
+
data;
|
|
13
|
+
records;
|
|
14
|
+
dataEnd = 8;
|
|
15
|
+
recordEnd = 8;
|
|
16
|
+
constructor(documents) {
|
|
17
|
+
this.data = new PagedStorage(documents.budget.context, 16, documents.cache);
|
|
18
|
+
this.records = new PagedStorage(documents.budget.context, 16, documents.cache);
|
|
19
|
+
}
|
|
20
|
+
begin() {
|
|
21
|
+
const start = this.recordEnd;
|
|
22
|
+
let length = 0;
|
|
23
|
+
return {
|
|
24
|
+
lines: {
|
|
25
|
+
get length() {
|
|
26
|
+
return length;
|
|
27
|
+
},
|
|
28
|
+
read: async (index) => {
|
|
29
|
+
if (!Number.isSafeInteger(index) || index < 0 || index >= length) throw new RangeError("Invalid patch line");
|
|
30
|
+
const bytes = await this.records.read(start + index * 24, 24);
|
|
31
|
+
const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
|
|
32
|
+
return {
|
|
33
|
+
kind: String.fromCharCode(bytes[16]),
|
|
34
|
+
text: { storage: this.data, start: view.getFloat64(0, true), end: view.getFloat64(8, true) }
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
append: async (line) => {
|
|
39
|
+
const textStart = this.dataEnd;
|
|
40
|
+
for await (const bytes of targetBytes(line.text)) {
|
|
41
|
+
await this.data.append(bytes);
|
|
42
|
+
this.dataEnd += bytes.length;
|
|
43
|
+
}
|
|
44
|
+
const cell = new Uint8Array(24), view = new DataView(cell.buffer);
|
|
45
|
+
view.setFloat64(0, textStart, true);
|
|
46
|
+
view.setFloat64(8, this.dataEnd, true);
|
|
47
|
+
cell[16] = line.kind.charCodeAt(0);
|
|
48
|
+
await this.records.append(cell);
|
|
49
|
+
this.recordEnd += 24;
|
|
50
|
+
length++;
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
close() {
|
|
55
|
+
return closeDocumentResources([this.data, this.records]);
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
function reverseStoredPatch(patch) {
|
|
59
|
+
return {
|
|
60
|
+
...patch,
|
|
61
|
+
oldPath: patch.newPath,
|
|
62
|
+
newPath: patch.oldPath,
|
|
63
|
+
oldEpoch: patch.newEpoch,
|
|
64
|
+
newEpoch: patch.oldEpoch,
|
|
65
|
+
hunks: patch.hunks.map((hunk) => ({
|
|
66
|
+
...hunk,
|
|
67
|
+
oldStart: hunk.newStart,
|
|
68
|
+
oldCount: hunk.newCount,
|
|
69
|
+
newStart: hunk.oldStart,
|
|
70
|
+
newCount: hunk.oldCount,
|
|
71
|
+
lines: {
|
|
72
|
+
length: hunk.lines.length,
|
|
73
|
+
async read(index) {
|
|
74
|
+
const line = await patchLine(hunk, index);
|
|
75
|
+
return { kind: line.kind === "+" ? "-" : line.kind === "-" ? "+" : " ", text: line.text };
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}))
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
// packages/safe-bash-command-patch/src/patch-gnu-reject.ts
|
|
83
|
+
function timestamp(header) {
|
|
84
|
+
if (!header) return "";
|
|
85
|
+
const separator = header.indexOf(" ");
|
|
86
|
+
return separator < 0 ? "" : header.slice(separator);
|
|
87
|
+
}
|
|
88
|
+
function unifiedRange(start, count, offset) {
|
|
89
|
+
return `${start + offset}${count === 1 ? "" : `,${count}`}`;
|
|
90
|
+
}
|
|
91
|
+
function contextRange(start, count, offset) {
|
|
92
|
+
return count === 0 ? "0" : count === 1 ? `${start + offset}` : `${start + offset},${start + offset + count - 1}`;
|
|
93
|
+
}
|
|
94
|
+
async function* rejectBytes(patch, outcomes, oldName, newName, indexName, reverse, budget, format) {
|
|
95
|
+
const normal = patch.format === "normal";
|
|
96
|
+
const context = format === void 0 ? patch.format === "context" || normal : format === "context";
|
|
97
|
+
const names = [normal ? "/dev/null" : oldName ?? "/dev/null", normal ? "/dev/null" : newName ?? "/dev/null"];
|
|
98
|
+
const times = normal ? ["", ""] : [timestamp(patch.oldHeader), timestamp(patch.newHeader)];
|
|
99
|
+
if (reverse) {
|
|
100
|
+
names.reverse();
|
|
101
|
+
times.reverse();
|
|
102
|
+
}
|
|
103
|
+
const add = async function* (text) {
|
|
104
|
+
for await (const bytes of targetBytes(text)) {
|
|
105
|
+
budget.outputLength(bytes.length);
|
|
106
|
+
yield bytes;
|
|
107
|
+
}
|
|
108
|
+
};
|
|
109
|
+
if (indexName !== void 0) yield* add(`Index: ${indexName}
|
|
110
|
+
`);
|
|
111
|
+
yield* add(`${context ? "***" : "---"} ${names[0]}${times[0]}
|
|
112
|
+
${context ? "---" : "+++"} ${names[1]}${times[1]}
|
|
113
|
+
`);
|
|
114
|
+
for (const outcome of outcomes) {
|
|
115
|
+
if (!outcome.failed) continue;
|
|
116
|
+
budget.step();
|
|
117
|
+
{
|
|
118
|
+
const c = budget.checkpoint();
|
|
119
|
+
if (c) await c;
|
|
120
|
+
}
|
|
121
|
+
const { hunk, outputOffset } = outcome;
|
|
122
|
+
if (!context) {
|
|
123
|
+
yield* add(`@@ -${unifiedRange(hunk.oldStart, hunk.oldCount, outputOffset)} +${unifiedRange(hunk.newStart, hunk.newCount, outputOffset)} @@${hunk.section ?? ""}
|
|
124
|
+
`);
|
|
125
|
+
for (let start = 0; start < hunk.lines.length; ) {
|
|
126
|
+
budget.step();
|
|
127
|
+
{
|
|
128
|
+
const c = budget.checkpoint();
|
|
129
|
+
if (c) await c;
|
|
130
|
+
}
|
|
131
|
+
const line = await patchLine(hunk, start);
|
|
132
|
+
if (line.kind === " ") {
|
|
133
|
+
yield* add(" ");
|
|
134
|
+
yield* add(line.text);
|
|
135
|
+
start++;
|
|
136
|
+
continue;
|
|
137
|
+
}
|
|
138
|
+
let end = start;
|
|
139
|
+
while (end < hunk.lines.length && (await patchLine(hunk, end)).kind !== " ") {
|
|
140
|
+
end++;
|
|
141
|
+
budget.step();
|
|
142
|
+
const c = budget.checkpoint();
|
|
143
|
+
if (c) await c;
|
|
144
|
+
}
|
|
145
|
+
for (const kind of ["-", "+"]) for (let index = start; index < end; index++) {
|
|
146
|
+
const line2 = await patchLine(hunk, index);
|
|
147
|
+
if (line2.kind === kind) {
|
|
148
|
+
yield* add(kind);
|
|
149
|
+
yield* add(line2.text);
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
start = end;
|
|
153
|
+
}
|
|
154
|
+
} else {
|
|
155
|
+
yield* add(`***************${hunk.section ?? ""}
|
|
156
|
+
*** ${contextRange(hunk.oldStart, hunk.oldCount, outputOffset)}${normal ? "" : " ****"}
|
|
157
|
+
`);
|
|
158
|
+
for (const kind of ["-", "+"]) {
|
|
159
|
+
if (kind === "+") yield* add(`--- ${contextRange(hunk.newStart, hunk.newCount, outputOffset)}${normal ? " -----" : " ----"}
|
|
160
|
+
`);
|
|
161
|
+
for (let start = 0; start < hunk.lines.length; ) {
|
|
162
|
+
budget.step();
|
|
163
|
+
const c = budget.checkpoint();
|
|
164
|
+
if (c) await c;
|
|
165
|
+
const line = await patchLine(hunk, start);
|
|
166
|
+
if (line.kind === " ") {
|
|
167
|
+
yield* add(" ");
|
|
168
|
+
yield* add(line.text);
|
|
169
|
+
start++;
|
|
170
|
+
continue;
|
|
171
|
+
}
|
|
172
|
+
let end = start, removed = false, added = false;
|
|
173
|
+
while (end < hunk.lines.length && (await patchLine(hunk, end)).kind !== " ") {
|
|
174
|
+
removed ||= (await patchLine(hunk, end)).kind === "-";
|
|
175
|
+
added ||= (await patchLine(hunk, end)).kind === "+";
|
|
176
|
+
end++;
|
|
177
|
+
budget.step();
|
|
178
|
+
const c2 = budget.checkpoint();
|
|
179
|
+
if (c2) await c2;
|
|
180
|
+
}
|
|
181
|
+
for (let index = start; index < end; index++) if ((await patchLine(hunk, index)).kind === kind) {
|
|
182
|
+
yield* add(`${!normal && removed && added ? "!" : kind} `);
|
|
183
|
+
yield* add((await patchLine(hunk, index)).text);
|
|
184
|
+
}
|
|
185
|
+
start = end;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
export {
|
|
193
|
+
patchLine,
|
|
194
|
+
PatchBodyStore,
|
|
195
|
+
reverseStoredPatch,
|
|
196
|
+
rejectBytes
|
|
197
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveDocumentModelContext
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IBYMPAUW.js";
|
|
4
4
|
import {
|
|
5
5
|
CommentsPart,
|
|
6
6
|
CoreProperties,
|
|
@@ -20,13 +20,13 @@ import {
|
|
|
20
20
|
StylesPart,
|
|
21
21
|
XmlPartView,
|
|
22
22
|
_NumberingDefinitions
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-CZ5K2YPU.js";
|
|
24
24
|
import {
|
|
25
25
|
acquireDocumentTransportInput
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-RV5AGXOV.js";
|
|
27
27
|
import {
|
|
28
28
|
acquireImageModelInput
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-ZXELXF2H.js";
|
|
30
30
|
import {
|
|
31
31
|
docxOperationSchemas
|
|
32
32
|
} from "./chunk-RIKNMBLZ.js";
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
editDocumentParagraphs,
|
|
3
3
|
tableContainerWidth
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ETXPMVR6.js";
|
|
5
5
|
import {
|
|
6
6
|
openDocumentLocations,
|
|
7
7
|
resolveDocxSelection
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-CKEMZUE3.js";
|
|
9
9
|
import {
|
|
10
10
|
DocumentArchiveEditor
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import {
|
|
13
|
-
validateDocxInvocation
|
|
14
|
-
} from "./chunk-GXLXWZWH.js";
|
|
11
|
+
} from "./chunk-VUWXLH3E.js";
|
|
15
12
|
import {
|
|
16
13
|
editMergedTable,
|
|
17
14
|
mergedTableGrid,
|
|
18
15
|
replaceCellContent
|
|
19
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-A347DLRB.js";
|
|
20
17
|
import {
|
|
21
18
|
LocationIndex,
|
|
22
19
|
addressKey
|
|
23
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-47IAU25U.js";
|
|
21
|
+
import {
|
|
22
|
+
validateDocxInvocation
|
|
23
|
+
} from "./chunk-DZH54L3F.js";
|
|
24
24
|
import {
|
|
25
25
|
assertDocumentEditable,
|
|
26
26
|
publishDocumentArchive
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-EVYKV3QI.js";
|
|
28
28
|
import {
|
|
29
29
|
DocumentPackage
|
|
30
30
|
} from "./chunk-5BUL25DF.js";
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
runElementOpen,
|
|
37
37
|
twips,
|
|
38
38
|
xmlValue
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-Y7AXMCFV.js";
|
|
40
40
|
import {
|
|
41
41
|
storedBooleanValue
|
|
42
42
|
} from "./chunk-ET5SFGRH.js";
|
|
@@ -1,11 +1,16 @@
|
|
|
1
|
+
import {
|
|
2
|
+
RetainedOrder
|
|
3
|
+
} from "./chunk-NQINS4XY.js";
|
|
1
4
|
import {
|
|
2
5
|
asciiKey,
|
|
3
6
|
partName
|
|
4
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-WTVJLHMG.js";
|
|
5
8
|
import {
|
|
6
9
|
OfficeError,
|
|
10
|
+
RetainedValues,
|
|
11
|
+
literal,
|
|
7
12
|
resolveOfficeResources
|
|
8
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-CXME4YHU.js";
|
|
9
14
|
import {
|
|
10
15
|
ZipStorageFailure,
|
|
11
16
|
createStoredZipEntries
|
|
@@ -239,7 +244,7 @@ async function openPackageArchive(input, settings) {
|
|
|
239
244
|
if (directory) await outputParents.set(key, 1);
|
|
240
245
|
else await outputNames.set(key, 1);
|
|
241
246
|
};
|
|
242
|
-
|
|
247
|
+
const writeEntry = async (entry) => {
|
|
243
248
|
check();
|
|
244
249
|
const part = partName(entry.directory && entry.name.endsWith("/") ? entry.name.slice(0, -1) : entry.name, true);
|
|
245
250
|
if (entry.directory) {
|
|
@@ -253,7 +258,46 @@ async function openPackageArchive(input, settings) {
|
|
|
253
258
|
await reserve(part);
|
|
254
259
|
if (replacement === void 0) await writer.add(entry);
|
|
255
260
|
else await writer.addSource(entry.name, replacement, { modified: new Date(Date.UTC(1980, 0, 1)), mode: 33188, directory: false, symlink: false, compression });
|
|
256
|
-
}
|
|
261
|
+
};
|
|
262
|
+
if (options.sourceOrder === "name") {
|
|
263
|
+
const values = new RetainedValues(pages, check, signal);
|
|
264
|
+
const order = new RetainedOrder(pages, values, check);
|
|
265
|
+
const binaryFields = ["rawName", "localName", "comment", "localExtra", "centralExtra"];
|
|
266
|
+
await codec.readZipArchive(source, limits, signal, { storage, async onEntry(entry) {
|
|
267
|
+
const metadata = JSON.stringify(entry, (key, value) => key === "data" ? void 0 : value instanceof Uint8Array ? Array.from(value) : value);
|
|
268
|
+
try {
|
|
269
|
+
await order.add(literal(entry.name), await values.store(literal(metadata)));
|
|
270
|
+
} catch (error) {
|
|
271
|
+
throw new ZipStorageFailure(error);
|
|
272
|
+
}
|
|
273
|
+
} });
|
|
274
|
+
try {
|
|
275
|
+
await order.seal();
|
|
276
|
+
} catch (error) {
|
|
277
|
+
throw new ZipStorageFailure(error);
|
|
278
|
+
}
|
|
279
|
+
const rows = order.entries();
|
|
280
|
+
for (; ; ) {
|
|
281
|
+
let metadata = "";
|
|
282
|
+
try {
|
|
283
|
+
const row = await rows.next();
|
|
284
|
+
if (row.done) break;
|
|
285
|
+
const decoder2 = new TextDecoder();
|
|
286
|
+
for await (const bytes of values.read(row.value)) metadata += decoder2.decode(bytes, { stream: true });
|
|
287
|
+
metadata += decoder2.decode();
|
|
288
|
+
} catch (error) {
|
|
289
|
+
throw new ZipStorageFailure(error);
|
|
290
|
+
}
|
|
291
|
+
const entry = JSON.parse(metadata, (key, value) => binaryFields.includes(key) ? new Uint8Array(value) : key === "modified" ? new Date(value) : value);
|
|
292
|
+
await writeEntry({ ...entry, async *data() {
|
|
293
|
+
for (let offset = 0; offset < entry.compressedSize; ) {
|
|
294
|
+
const bytes = await source.read(entry.dataOffset + offset, Math.min(16384, entry.compressedSize - offset), { signal });
|
|
295
|
+
offset += bytes.length;
|
|
296
|
+
yield bytes;
|
|
297
|
+
}
|
|
298
|
+
} });
|
|
299
|
+
}
|
|
300
|
+
} else await codec.readZipArchive(source, limits, signal, { storage, onEntry: writeEntry });
|
|
257
301
|
if (options.additions) for await (const item of options.additions) {
|
|
258
302
|
check();
|
|
259
303
|
const part = partName(item.part, false);
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectDocumentRevisions
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-V5XC43BX.js";
|
|
4
4
|
import {
|
|
5
5
|
assertOutsideFields,
|
|
6
6
|
parseFields
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-AG2SNMP5.js";
|
|
8
8
|
import {
|
|
9
9
|
openDocumentLocations
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-CKEMZUE3.js";
|
|
11
11
|
import {
|
|
12
12
|
DocumentArchiveEditor
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import {
|
|
15
|
-
validateDocxInvocation
|
|
16
|
-
} from "./chunk-GXLXWZWH.js";
|
|
13
|
+
} from "./chunk-VUWXLH3E.js";
|
|
17
14
|
import {
|
|
18
15
|
pathContains
|
|
19
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-47IAU25U.js";
|
|
17
|
+
import {
|
|
18
|
+
validateDocxInvocation
|
|
19
|
+
} from "./chunk-DZH54L3F.js";
|
|
20
20
|
import {
|
|
21
21
|
assertDocumentEditable,
|
|
22
22
|
publishDocumentArchive
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-EVYKV3QI.js";
|
|
24
24
|
import {
|
|
25
25
|
UnsupportedEditError,
|
|
26
26
|
assertOutsideRevisionRanges,
|
|
27
27
|
containsRevision,
|
|
28
28
|
revisionInfo,
|
|
29
29
|
xmlValue
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-Y7AXMCFV.js";
|
|
31
31
|
import {
|
|
32
32
|
closedRecord,
|
|
33
33
|
encodeGeneratedLocation
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
tableRows
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KY4LCHUF.js";
|
|
4
4
|
import {
|
|
5
5
|
DocumentPackage
|
|
6
6
|
} from "./chunk-5BUL25DF.js";
|
|
7
7
|
import {
|
|
8
8
|
collectShapeCarriers,
|
|
9
9
|
revisionInfo
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-Y7AXMCFV.js";
|
|
11
11
|
import {
|
|
12
12
|
trimXmlWhitespace
|
|
13
13
|
} from "./chunk-ET5SFGRH.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openDocumentLocations,
|
|
3
3
|
resolveDocxSelection
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-CKEMZUE3.js";
|
|
5
5
|
import {
|
|
6
6
|
validateDocxInvocation
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-DZH54L3F.js";
|
|
8
8
|
import {
|
|
9
9
|
assertDocumentEditable,
|
|
10
10
|
publishDocumentArchive
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-EVYKV3QI.js";
|
|
12
12
|
import {
|
|
13
13
|
documentPartRole
|
|
14
14
|
} from "./chunk-L4FX5S6P.js";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
runElementOpen,
|
|
26
26
|
splitNativeTextRunXml,
|
|
27
27
|
xmlValue
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-Y7AXMCFV.js";
|
|
29
29
|
import {
|
|
30
30
|
corePropertyKeys,
|
|
31
31
|
customPropertyType,
|
|
@@ -1,18 +1,21 @@
|
|
|
1
|
+
import {
|
|
2
|
+
RetainedOrder
|
|
3
|
+
} from "./chunk-NQINS4XY.js";
|
|
1
4
|
import {
|
|
2
5
|
SelectionError,
|
|
3
6
|
diagramContentTypes,
|
|
4
7
|
diagramRelationshipKinds,
|
|
5
8
|
prepareSelectionQuery
|
|
6
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-W3ZSWK76.js";
|
|
7
10
|
import {
|
|
8
11
|
dialects,
|
|
9
12
|
openRetainedCompatibility,
|
|
10
13
|
openRetainedContentTypes,
|
|
11
14
|
openRetainedRelationshipGraph
|
|
12
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-AWPI4DZR.js";
|
|
13
16
|
import {
|
|
14
17
|
equationOpaqueElements
|
|
15
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-XTEIT5CI.js";
|
|
16
19
|
import {
|
|
17
20
|
OfficeError,
|
|
18
21
|
RetainedValues,
|
|
@@ -23,7 +26,7 @@ import {
|
|
|
23
26
|
literal,
|
|
24
27
|
openRetainedXmlDocument,
|
|
25
28
|
resolveOfficeResources
|
|
26
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-CXME4YHU.js";
|
|
27
30
|
|
|
28
31
|
// packages/safe-bash-presentation-engine/src/retained-inspection.ts
|
|
29
32
|
import { PagedStorage as PagedStorage6 } from "@poe-platform/safe-fs/storage";
|
|
@@ -333,157 +336,6 @@ async function openRetainedSelectionRecords(archive, fingerprint, settings) {
|
|
|
333
336
|
|
|
334
337
|
// packages/safe-bash-presentation-engine/src/retained-package-inventory.ts
|
|
335
338
|
import { PagedStorage as PagedStorage2 } from "@poe-platform/safe-fs/storage";
|
|
336
|
-
|
|
337
|
-
// packages/safe-bash-presentation-engine/src/retained-order.ts
|
|
338
|
-
async function* sortKey(source) {
|
|
339
|
-
const decoder = new TextDecoder("utf-8", { fatal: true });
|
|
340
|
-
function* encode(text) {
|
|
341
|
-
for (let offset = 0; offset < text.length; offset += 8192) {
|
|
342
|
-
const end = Math.min(offset + 8192, text.length), bytes = new Uint8Array((end - offset) * 2);
|
|
343
|
-
for (let n = offset; n < end; n++) {
|
|
344
|
-
const code = text.charCodeAt(n);
|
|
345
|
-
bytes[(n - offset) * 2] = code >>> 8;
|
|
346
|
-
bytes[(n - offset) * 2 + 1] = code & 255;
|
|
347
|
-
}
|
|
348
|
-
yield bytes;
|
|
349
|
-
}
|
|
350
|
-
}
|
|
351
|
-
for await (const bytes of source) for (let offset = 0; offset < bytes.length; offset += 8192) yield* encode(decoder.decode(bytes.subarray(offset, offset + 8192), { stream: true }));
|
|
352
|
-
yield* encode(decoder.decode());
|
|
353
|
-
}
|
|
354
|
-
var RetainedOrder = class {
|
|
355
|
-
constructor(pages, values, check) {
|
|
356
|
-
this.pages = pages;
|
|
357
|
-
this.values = values;
|
|
358
|
-
this.check = check;
|
|
359
|
-
}
|
|
360
|
-
pages;
|
|
361
|
-
values;
|
|
362
|
-
check;
|
|
363
|
-
head = 0;
|
|
364
|
-
tail = 0;
|
|
365
|
-
state = "open";
|
|
366
|
-
async row(pointer) {
|
|
367
|
-
this.check();
|
|
368
|
-
const bytes = await this.pages.read(pointer, 40), view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
|
|
369
|
-
return Array.from({ length: 5 }, (_, n) => view.getFloat64(n * 8, true));
|
|
370
|
-
}
|
|
371
|
-
async write(pointer, data) {
|
|
372
|
-
this.check();
|
|
373
|
-
const bytes = new Uint8Array(data.length * 8), view = new DataView(bytes.buffer);
|
|
374
|
-
data.forEach((value, n) => view.setFloat64(n * 8, value, true));
|
|
375
|
-
await this.pages.write(pointer, bytes);
|
|
376
|
-
}
|
|
377
|
-
async add(key, value) {
|
|
378
|
-
this.check();
|
|
379
|
-
if (this.state !== "open") throw new OfficeError("invalid-handle", "Ordered inventory is sealed.", "index");
|
|
380
|
-
const stored = await this.values.store(sortKey(key)), pointer = this.pages.allocate(40);
|
|
381
|
-
await this.write(pointer, [0, stored.start, stored.length, value.start, value.length]);
|
|
382
|
-
if (this.tail) await this.write(this.tail, [pointer]);
|
|
383
|
-
else this.head = pointer;
|
|
384
|
-
this.tail = pointer;
|
|
385
|
-
}
|
|
386
|
-
async compare(left, right) {
|
|
387
|
-
const a = this.values.read({ start: left[1], length: left[2] })[Symbol.asyncIterator]();
|
|
388
|
-
const b = this.values.read({ start: right[1], length: right[2] })[Symbol.asyncIterator]();
|
|
389
|
-
let x = new Uint8Array(), y = new Uint8Array(), i = 0, j = 0, ae = false, be = false, failed = false;
|
|
390
|
-
try {
|
|
391
|
-
for (; ; ) {
|
|
392
|
-
this.check();
|
|
393
|
-
while (i === x.length && !ae) {
|
|
394
|
-
const next = await a.next();
|
|
395
|
-
ae = !!next.done;
|
|
396
|
-
x = ae ? new Uint8Array() : new Uint8Array(next.value);
|
|
397
|
-
i = 0;
|
|
398
|
-
}
|
|
399
|
-
while (j === y.length && !be) {
|
|
400
|
-
const next = await b.next();
|
|
401
|
-
be = !!next.done;
|
|
402
|
-
y = be ? new Uint8Array() : new Uint8Array(next.value);
|
|
403
|
-
j = 0;
|
|
404
|
-
}
|
|
405
|
-
if (ae || be) return ae === be ? 0 : ae ? -1 : 1;
|
|
406
|
-
const count = Math.min(x.length - i, y.length - j);
|
|
407
|
-
for (let n = 0; n < count; n++) if (x[i + n] !== y[j + n]) return x[i + n] < y[j + n] ? -1 : 1;
|
|
408
|
-
i += count;
|
|
409
|
-
j += count;
|
|
410
|
-
}
|
|
411
|
-
} catch (error) {
|
|
412
|
-
failed = true;
|
|
413
|
-
throw error;
|
|
414
|
-
} finally {
|
|
415
|
-
const outcomes = await Promise.allSettled([Promise.resolve().then(() => a.return?.()), Promise.resolve().then(() => b.return?.())]);
|
|
416
|
-
if (!failed) {
|
|
417
|
-
for (const outcome of outcomes) if (outcome.status === "rejected") await Promise.reject(outcome.reason);
|
|
418
|
-
}
|
|
419
|
-
}
|
|
420
|
-
}
|
|
421
|
-
async seal() {
|
|
422
|
-
this.check();
|
|
423
|
-
if (this.state === "ready") return;
|
|
424
|
-
if (this.state !== "open") throw new OfficeError("invalid-handle", "Ordered inventory cannot be sealed.", "index");
|
|
425
|
-
this.state = "sorting";
|
|
426
|
-
try {
|
|
427
|
-
for (let width = 1; this.head; width *= 2) {
|
|
428
|
-
let p = this.head, head = 0, tail = 0, merges = 0;
|
|
429
|
-
while (p) {
|
|
430
|
-
merges++;
|
|
431
|
-
let q = p, left = 0, right = width;
|
|
432
|
-
for (let n = 0; n < width && q; n++) {
|
|
433
|
-
left++;
|
|
434
|
-
q = (await this.row(q))[0];
|
|
435
|
-
}
|
|
436
|
-
while (left || right && q) {
|
|
437
|
-
let next;
|
|
438
|
-
if (!left) {
|
|
439
|
-
next = q;
|
|
440
|
-
q = (await this.row(q))[0];
|
|
441
|
-
right--;
|
|
442
|
-
} else if (!right || !q) {
|
|
443
|
-
next = p;
|
|
444
|
-
p = (await this.row(p))[0];
|
|
445
|
-
left--;
|
|
446
|
-
} else {
|
|
447
|
-
const a = await this.row(p), b = await this.row(q);
|
|
448
|
-
if (await this.compare(a, b) <= 0) {
|
|
449
|
-
next = p;
|
|
450
|
-
p = a[0];
|
|
451
|
-
left--;
|
|
452
|
-
} else {
|
|
453
|
-
next = q;
|
|
454
|
-
q = b[0];
|
|
455
|
-
right--;
|
|
456
|
-
}
|
|
457
|
-
}
|
|
458
|
-
if (tail) await this.write(tail, [next]);
|
|
459
|
-
else head = next;
|
|
460
|
-
tail = next;
|
|
461
|
-
}
|
|
462
|
-
p = q;
|
|
463
|
-
}
|
|
464
|
-
await this.write(tail, [0]);
|
|
465
|
-
this.head = head;
|
|
466
|
-
this.tail = tail;
|
|
467
|
-
if (merges <= 1) break;
|
|
468
|
-
}
|
|
469
|
-
this.state = "ready";
|
|
470
|
-
} catch (error) {
|
|
471
|
-
this.state = "failed";
|
|
472
|
-
throw error;
|
|
473
|
-
}
|
|
474
|
-
}
|
|
475
|
-
async *entries() {
|
|
476
|
-
this.check();
|
|
477
|
-
if (this.state !== "ready") throw new OfficeError("invalid-handle", "Ordered inventory is not sealed.", "index");
|
|
478
|
-
for (let pointer = this.head; pointer; ) {
|
|
479
|
-
const data = await this.row(pointer);
|
|
480
|
-
yield { start: data[3], length: data[4] };
|
|
481
|
-
pointer = data[0];
|
|
482
|
-
}
|
|
483
|
-
}
|
|
484
|
-
};
|
|
485
|
-
|
|
486
|
-
// packages/safe-bash-presentation-engine/src/retained-package-inventory.ts
|
|
487
339
|
var diagramKinds = Object.keys(diagramContentTypes);
|
|
488
340
|
var targetKinds = ["slideMaster", "slideLayout", "theme"];
|
|
489
341
|
async function* joined(...sources) {
|
|
@@ -1554,7 +1406,9 @@ async function stageRetainedInspection(archive, fingerprint, selection, settings
|
|
|
1554
1406
|
}
|
|
1555
1407
|
|
|
1556
1408
|
export {
|
|
1409
|
+
rawJson,
|
|
1557
1410
|
streamJson,
|
|
1411
|
+
boundedOutput,
|
|
1558
1412
|
stageRetainedOutput,
|
|
1559
1413
|
openRetainedPresentationIndex,
|
|
1560
1414
|
stageRetainedInspection
|