hyperframes 0.8.210 → 0.8.211
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/{add-36M7YRR4.js → add-WERDY37C.js} +26 -23
- package/dist/{agentPromptGenerator-4NJ252MR.js → agentPromptGenerator-SEAPWYY5.js} +30 -1
- package/dist/{animatedGifPrep-RZLTC77F.js → animatedGifPrep-LC43PROA.js} +11 -10
- package/dist/api.js +25 -24
- package/dist/{appHistory-OHYU5ZBQ.js → appHistory-BCWH6XYH.js} +3 -3
- package/dist/{asset-HRGZ7ZCB.js → asset-IVDQNYHP.js} +10 -5
- package/dist/{assetCataloger-LN7RI2IC.js → assetCataloger-PPE7M2WM.js} +12 -11
- package/dist/{audio-ULOHC2KL.js → audio-IJ22GXO6.js} +33 -30
- package/dist/{auth-K4ZULHQY.js → auth-FZMDHX2H.js} +11 -6
- package/dist/{autoUpdate-MUJ4WPP6.js → autoUpdate-EO6SFALF.js} +10 -5
- package/dist/{backgroundChecks-O6JST752.js → backgroundChecks-YW5VIAYF.js} +8 -5
- package/dist/backgroundChecksWorker.js +9 -5
- package/dist/{batchRender-U742UVOD.js → batchRender-OOXYNZOT.js} +11 -7
- package/dist/{beats-2CSE5WJD.js → beats-X7GRQA4J.js} +21 -18
- package/dist/{benchmark-YJB2YKOE.js → benchmark-JGGBMRZO.js} +24 -21
- package/dist/{browser-WJ5E7RYS.js → browser-FQ5JPTME.js} +21 -18
- package/dist/{bundleWithLocalizedFonts-F5VQMFHZ.js → bundleWithLocalizedFonts-XA73ZJ4S.js} +7 -3
- package/dist/{capture-6OJDKKEZ.js → capture-GUVCA5JQ.js} +23 -23
- package/dist/{capture-IYV3OS5W.js → capture-KKVB3MKM.js} +11 -9
- package/dist/{captureCompositionFrame-7357PUMG.js → captureCompositionFrame-LNKWWCXE.js} +22 -18
- package/dist/{catalog-CZBK33QH.js → catalog-LKJEMEOC.js} +38 -35
- package/dist/{catch-up-7IJQ7AUR.js → catch-up-FA6KWX4S.js} +19 -16
- package/dist/{check-ISUFX4DK.js → check-6GIDKL6S.js} +57 -54
- package/dist/{checkAudio-GAA2SY5E.js → checkAudio-H3AUFC4M.js} +19 -15
- package/dist/{checkBrowser-JRADOMED.js → checkBrowser-YWWF63S6.js} +49 -46
- package/dist/{chunk-EYGWMHXV.js → chunk-22OGII5H.js} +4 -4
- package/dist/{chunk-J7A73K2B.js → chunk-24F7TOW2.js} +99 -44
- package/dist/{chunk-ZTZA4UWZ.js → chunk-2GICKZ3I.js} +4 -1
- package/dist/{chunk-U7CZBDMV.js → chunk-2P5DTXUN.js} +1 -1
- package/dist/{chunk-PCPMSUW6.js → chunk-2QAR7ZNY.js} +3 -3
- package/dist/{chunk-DROFHVQD.js → chunk-2RQZQJHV.js} +4 -4
- package/dist/{chunk-UIOZIIB7.js → chunk-32NEJ553.js} +1 -73
- package/dist/{chunk-57QUPSP2.js → chunk-3JYKWNFR.js} +1 -1
- package/dist/{chunk-7BOGLQFM.js → chunk-3LACB6HG.js} +4 -4
- package/dist/{chunk-BYZPLQSX.js → chunk-3NIESDKN.js} +1 -1
- package/dist/{chunk-X2T5EOI7.js → chunk-3R5MYOJN.js} +4 -4
- package/dist/{chunk-MA447PNF.js → chunk-3WL7WU6K.js} +13 -13
- package/dist/{chunk-5ZJGEQGS.js → chunk-472C35EW.js} +2 -2
- package/dist/{chunk-FBIWJ3A4.js → chunk-4D46TX6Q.js} +3 -3
- package/dist/{chunk-XIUHHEBS.js → chunk-4EO7DNRJ.js} +3 -3
- package/dist/{chunk-5PCT5DDF.js → chunk-4JWKC3GH.js} +5 -5
- package/dist/chunk-5766TK7Q.js +145 -0
- package/dist/{chunk-4A27M7CJ.js → chunk-5AKWJHRJ.js} +1 -1
- package/dist/{chunk-5IWRGVAX.js → chunk-5KOZRJR7.js} +2 -2
- package/dist/{chunk-BW5WYF4N.js → chunk-5LITFBMY.js} +105 -61
- package/dist/{chunk-TGFDRZTM.js → chunk-5MCR5DA5.js} +3 -3
- package/dist/{chunk-MNNK7RV5.js → chunk-5SWWIT7K.js} +2 -1
- package/dist/{chunk-KCLBO65Y.js → chunk-5YPMCCCA.js} +1 -1
- package/dist/{chunk-HP7BXJFZ.js → chunk-66KMYUNO.js} +2 -2
- package/dist/{chunk-DST7GU2Y.js → chunk-67JTGRNM.js} +1 -1
- package/dist/{chunk-36EOFTVG.js → chunk-6EN2LWOM.js} +1 -1
- package/dist/{chunk-35HSGF46.js → chunk-6J2G57BB.js} +11 -16
- package/dist/chunk-6LDHXB4Z.js +36 -0
- package/dist/{chunk-GDZA4ALG.js → chunk-77KGX4A3.js} +7 -4
- package/dist/chunk-7KDQAD2W.js +81 -0
- package/dist/{chunk-NQ2INEHX.js → chunk-A4ZTSQLW.js} +1 -1
- package/dist/{chunk-FCXEVKFQ.js → chunk-ABBVDJMG.js} +4 -4
- package/dist/{chunk-EVTBRL37.js → chunk-AIY2Y5UY.js} +3 -3
- package/dist/{chunk-W4E3ZOWH.js → chunk-AQMGYRX6.js} +2 -2
- package/dist/{chunk-JLBJRJO6.js → chunk-B2B4MN3R.js} +3 -3
- package/dist/{chunk-OMLVCHNN.js → chunk-B4KGJHTE.js} +3 -3
- package/dist/{chunk-ZRSQNF4A.js → chunk-BGC5S3OZ.js} +26 -24
- package/dist/{chunk-AF3L5JJX.js → chunk-CCLBOLYU.js} +1 -1
- package/dist/{chunk-WWQJYYAB.js → chunk-CGAUUUDL.js} +4 -4
- package/dist/{chunk-DGECWPTL.js → chunk-CJ5QZRY7.js} +2 -2
- package/dist/{chunk-ERVBXEPZ.js → chunk-CNU65QE2.js} +4 -4
- package/dist/{chunk-VQB7G5BM.js → chunk-CTZJSMGU.js} +1 -1
- package/dist/{chunk-IMKBZEGT.js → chunk-CZCRSS3U.js} +2 -2
- package/dist/{chunk-YBY2WVLC.js → chunk-DAXKGMJL.js} +3 -3
- package/dist/{chunk-AG566TRI.js → chunk-DDRCX7P2.js} +2 -2
- package/dist/{chunk-WOFTAZSZ.js → chunk-DJ3H6EW3.js} +11 -11
- package/dist/chunk-DL4OD7IA.js +21 -0
- package/dist/{chunk-I4H5JWND.js → chunk-DMIFCIG6.js} +1 -1
- package/dist/{chunk-KGG2PUZN.js → chunk-DPYI2HRJ.js} +4 -4
- package/dist/{chunk-6CSYCFQV.js → chunk-DW35FX4I.js} +1 -1
- package/dist/{chunk-LRE4GDFA.js → chunk-DWIMUPFK.js} +4 -4
- package/dist/{chunk-JHNBF2HD.js → chunk-FBN5AQJL.js} +2 -2
- package/dist/{chunk-BKXC5XHB.js → chunk-FI7SSV73.js} +1 -1
- package/dist/{chunk-HD4KXG5U.js → chunk-FIC3E7IM.js} +14 -13
- package/dist/{chunk-2R5ZKWSV.js → chunk-FLXZ4GZI.js} +1 -1
- package/dist/{chunk-QFXF5GXE.js → chunk-FVY2XRX4.js} +3 -3
- package/dist/chunk-FWKZ3O52.js +4870 -0
- package/dist/{chunk-QSFWGZG6.js → chunk-G7VEYUZ2.js} +16 -132
- package/dist/{chunk-UWEGMKKU.js → chunk-GSXA4YLV.js} +1 -1
- package/dist/{chunk-32BLIKEV.js → chunk-IEVU4FXB.js} +3 -3
- package/dist/{chunk-K2FLNJVB.js → chunk-J2JG4XGP.js} +1 -1
- package/dist/{chunk-WERLJGIC.js → chunk-J3RXEDR2.js} +17 -2
- package/dist/{chunk-JLCAHJUO.js → chunk-JMD5HDPB.js} +2 -2
- package/dist/{chunk-KGAPL42S.js → chunk-JZVUSRZ5.js} +1 -1
- package/dist/{chunk-BN22WCAF.js → chunk-K3LLHG6I.js} +2 -2
- package/dist/{chunk-RUW65P3N.js → chunk-K43XLAQV.js} +3 -3
- package/dist/{chunk-MV3J6ZOP.js → chunk-KDDO3UYI.js} +9 -9
- package/dist/{chunk-QI5TLQNW.js → chunk-KF6I5WA7.js} +10 -10
- package/dist/chunk-KSNIYQRB.js +1105 -0
- package/dist/{chunk-3PTZ2TD4.js → chunk-KUXOAS4Z.js} +1 -1
- package/dist/{chunk-NEKKA2DA.js → chunk-KZBBY72Q.js} +2 -2
- package/dist/{chunk-JVBRJMOP.js → chunk-LALLQUSK.js} +6 -2
- package/dist/{chunk-DKJAK6JW.js → chunk-LAR5VTCN.js} +7 -7
- package/dist/{chunk-66LREXGS.js → chunk-NEQIJUV2.js} +1 -1
- package/dist/{chunk-QIDN4ML5.js → chunk-NO6F7CLR.js} +1 -1
- package/dist/{chunk-QPX7FJP3.js → chunk-OE5EHGDG.js} +1 -1
- package/dist/{chunk-AZGVCQGO.js → chunk-OOA6C4AG.js} +2 -2
- package/dist/{chunk-RIJHDTM5.js → chunk-ORXLO64X.js} +1 -1
- package/dist/{chunk-FHIBBIEZ.js → chunk-PICG2XRD.js} +3 -3
- package/dist/{chunk-P2L7NNHT.js → chunk-PKWZG642.js} +3 -3
- package/dist/{chunk-W3V5EOFA.js → chunk-Q52ISCT4.js} +1 -1
- package/dist/{chunk-DHTWYTSV.js → chunk-QVHC77IF.js} +1 -1
- package/dist/{chunk-UA3YNZK6.js → chunk-RQNFW6YC.js} +9 -4
- package/dist/{chunk-ZA5TNF4R.js → chunk-SJK64HHG.js} +1 -1
- package/dist/{chunk-F7IWJMIO.js → chunk-SXJJTFV4.js} +4 -4
- package/dist/{chunk-TDEORHFN.js → chunk-T2L2GJ4C.js} +5 -5
- package/dist/{chunk-K4FVGVA6.js → chunk-T2WJO4XM.js} +1 -1
- package/dist/{chunk-P327BIJR.js → chunk-U46JEU26.js} +1 -1
- package/dist/{chunk-I3PNZDKR.js → chunk-UI7X4L4M.js} +151 -20
- package/dist/{chunk-GNESG4XA.js → chunk-VBC3DQFS.js} +3 -3
- package/dist/{chunk-EQPXSSNG.js → chunk-VGKQFZCC.js} +14 -14
- package/dist/{chunk-QXUFQSSK.js → chunk-VUEWZXZG.js} +1 -1
- package/dist/{chunk-ERUQ3S6D.js → chunk-WE42NVH7.js} +6 -1
- package/dist/{chunk-HKCIRH26.js → chunk-WNDTMINP.js} +5 -5
- package/dist/{chunk-SE2MXV2N.js → chunk-X4SBDDLS.js} +2 -1
- package/dist/{chunk-YIFEK3UD.js → chunk-XQ26I3PL.js} +1 -1
- package/dist/{chunk-QRWTVCGH.js → chunk-YPNBEBQ6.js} +18 -18
- package/dist/{chunk-GKNTPIFD.js → chunk-YWPCMOX4.js} +10 -10
- package/dist/{chunk-XCIHCPJK.js → chunk-YWRUQ7XZ.js} +3 -2
- package/dist/{chunk-A2H5EJZM.js → chunk-Z2UZAY2Q.js} +2 -2
- package/dist/{chunk-P6EXMN5D.js → chunk-ZCHULPJZ.js} +3 -3
- package/dist/{chunk-RIAWW4G2.js → chunk-ZE57TSS6.js} +2 -2
- package/dist/{chunk-FCIO4WSW.js → chunk-ZNSKOXFW.js} +3 -3
- package/dist/{chunk-A45HCDG7.js → chunk-ZPXXWUQ3.js} +2 -2
- package/dist/{clean-NVBEXXIS.js → clean-SVEOBRPM.js} +35 -32
- package/dist/cli.js +82 -67
- package/dist/{cloud-3T6HF7DT.js → cloud-ADFJGIEH.js} +11 -6
- package/dist/{cloudrun-TXEEZGJ7.js → cloudrun-BNY7Q5RK.js} +24 -18
- package/dist/{colors-HKWSZCGK.js → colors-HRL7QSVG.js} +5 -1
- package/dist/commands/layout-audit.browser.js +1 -1
- package/dist/commands/motion-signature.browser.js +11 -2
- package/dist/{compare-Q42Z56P7.js → compare-QC3T22KV.js} +47 -44
- package/dist/{compiler-IL2PZJFH.js → compiler-4ITKK4XI.js} +4 -4
- package/dist/{component-2IWQZYCZ.js → component-CNZCB3RY.js} +12 -7
- package/dist/{compositions-3EZ3GBK2.js → compositions-UO32IP6Z.js} +25 -22
- package/dist/{delete-2UBY2JTM.js → delete-RWTOSI24.js} +23 -17
- package/dist/{deploy-QTS2OM2H.js → deploy-OKWS53NP.js} +9 -5
- package/dist/{destroy-CGAZIL2C.js → destroy-4RL5VOXQ.js} +7 -3
- package/dist/{dist-XF53LCKD.js → dist-AEE3QTRB.js} +3 -3
- package/dist/{dist-73YTUT3W.js → dist-NCI6JOJZ.js} +2 -2
- package/dist/{docs-UEWLIP6D.js → docs-UMIA66EZ.js} +8 -3
- package/dist/{doctor-FIXMXWE6.js → doctor-SIF72ESZ.js} +23 -20
- package/dist/{events-NTZSSMBR.js → events-34PIVLZQ.js} +12 -10
- package/dist/{events-7WYSDXTE.js → events-S3VUTFEG.js} +12 -9
- package/dist/{feedback-7SOB5GZC.js → feedback-VS4LRXHW.js} +33 -28
- package/dist/{ffmpeg-PYY5FSIX.js → ffmpeg-YVQOKNV6.js} +12 -11
- package/dist/{figma-DTWA3G22.js → figma-AF4JKDBA.js} +10 -5
- package/dist/fontLocalizeCli.js +15 -13
- package/dist/{get-DMGUJPLP.js → get-UQGCS6Q4.js} +19 -15
- package/dist/{gpuPolicy-KVYO4OU4.js → gpuPolicy-Q4B3D6PW.js} +11 -10
- package/dist/{grade-compare-NCYPJFLI.js → grade-compare-G34673XC.js} +48 -45
- package/dist/hangReport.js +1 -0
- package/dist/{heifImagePrep-F7LFUYGC.js → heifImagePrep-XD4DGOUS.js} +12 -11
- package/dist/{help-I4RRBHCW.js → help-3QSD26IC.js} +6 -2
- package/dist/{history-GVBBXZKQ.js → history-6DC24UCF.js} +21 -18
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +51 -51
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-UE2PY5AF.js → info-6JUHWWJK.js} +20 -17
- package/dist/{init-4UGFGJQK.js → init-2DPX6U3J.js} +64 -57
- package/dist/{inspect-ZRREAUCB.js → inspect-Z55YUSXC.js} +47 -44
- package/dist/{installer-ABXPRFIJ.js → installer-XVKYJU7S.js} +7 -7
- package/dist/{keyframes-MFR4TYVR.js → keyframes-YHF4AQIL.js} +18 -15
- package/dist/{lambda-E3Z6JCIB.js → lambda-JITTS37E.js} +37 -31
- package/dist/{layout-IO7T5SSU.js → layout-V5NYJXIX.js} +47 -44
- package/dist/{lint-WYPQK5XA.js → lint-V4WMO7YL.js} +21 -18
- package/dist/{lintProject-KCN7MRBN.js → lintProject-EM7Y2ZRB.js} +2 -2
- package/dist/{list-7F2LXWOZ.js → list-W7UCIYKA.js} +20 -16
- package/dist/localPage-BLQFFIDF.js +56 -0
- package/dist/{login-TTMYCXN2.js → login-IX3MOREU.js} +15 -11
- package/dist/{logout-QRSB4CNH.js → logout-46NLNY2K.js} +10 -5
- package/dist/{manager-LQXZTUTJ.js → manager-IZIK7BHN.js} +7 -5
- package/dist/{manager-OQ5J26ST.js → manager-WJOWZNHM.js} +13 -12
- package/dist/{media-treatment-ELB6WRA5.js → media-treatment-XBO6EXL4.js} +29 -26
- package/dist/{media-use-JBN57JE3.js → media-use-3RFKY7XJ.js} +3 -2
- package/dist/{models-D2FNIGNZ.js → models-P3NSHDQS.js} +26 -21
- package/dist/{motionShot-53VDDRIC.js → motionShot-D4QMLTQP.js} +26 -22
- package/dist/{normalize-audio-QHNCFWR2.js → normalize-audio-Q4VUR3QJ.js} +22 -19
- package/dist/{open-3KMTT3AV.js → open-LGKX534P.js} +29 -26
- package/dist/{parakeetRunner-T65S6FW3.js → parakeetRunner-FAOQMPS6.js} +19 -18
- package/dist/{pipeline-DUVRZGIM.js → pipeline-2YONKZYC.js} +16 -15
- package/dist/{play-27R6RBSK.js → play-PJOUIY55.js} +43 -40
- package/dist/{policies-NWIEUGGW.js → policies-UPNRQ7IW.js} +10 -5
- package/dist/{preflight-QB6NKBBL.js → preflight-3PPM7QBU.js} +16 -14
- package/dist/{present-RHV3FKI5.js → present-323D6OE2.js} +37 -34
- package/dist/{preview-IAKIXYLN.js → preview-E42QP2KX.js} +47 -44
- package/dist/{producer-F6PHB4M4.js → producer-MTMNLJSC.js} +1 -1
- package/dist/{progress-PX3PVAIM.js → progress-LMQ2DXM4.js} +7 -3
- package/dist/{projectConfig-MPHWYY5D.js → projectConfig-5QRVB5KY.js} +11 -11
- package/dist/prompts-P3IT5H36.js +40 -0
- package/dist/{publication-CBAEINEG.js → publication-AUZLFOG5.js} +5 -5
- package/dist/{publish-4A2A6V7Z.js → publish-H5P7UHRV.js} +38 -27
- package/dist/{refresh-F7FUCXLX.js → refresh-4XRQS3N6.js} +10 -5
- package/dist/{remove-background-3I7RZGVG.js → remove-background-T2RV476S.js} +31 -26
- package/dist/{render-2HYATL32.js → render-3FRGIWES.js} +42 -38
- package/dist/{render-BSKLHCZ4.js → render-4XEB3XWI.js} +56 -53
- package/dist/{render-BGPUHBFC.js → render-GJH7446R.js} +14 -10
- package/dist/{render-batch-JD6C3BDD.js → render-batch-77X5453X.js} +14 -10
- package/dist/renderSetupWorker.js +10 -7
- package/dist/{resolver-SQYR7LII.js → resolver-DIUNK525.js} +7 -7
- package/dist/{sherpa-VXD3DAH4.js → sherpa-SUS3YSEP.js} +18 -17
- package/dist/sherpaWorker.js +1 -0
- package/dist/{sites-Q2S3DZY4.js → sites-V42IFVTK.js} +7 -3
- package/dist/{skills-B2SHEHWL.js → skills-YCGSIOCE.js} +17 -14
- package/dist/{skillsUpdateCheck-ST43UUPK.js → skillsUpdateCheck-VCQIZGOL.js} +8 -5
- package/dist/{snapshot-USJYNKDM.js → snapshot-H6R5PWNS.js} +55 -51
- package/dist/{src-5OX35WPG.js → src-ED5VCIRC.js} +13 -12
- package/dist/{src-PX3VIS7K.js → src-HHDLJV4L.js} +18 -9
- package/dist/{state-JPNCCXAV.js → state-D5SYQFCB.js} +2 -2
- package/dist/{staticProjectServer-ET7H5LMV.js → staticProjectServer-VY7QG5XH.js} +30 -23
- package/dist/{status-QVDRHXW2.js → status-GEZNVPII.js} +12 -8
- package/dist/studio/assets/{hyperframes-player-DUpxahTX.js → hyperframes-player-CzrqgMUX.js} +1 -1
- package/dist/studio/assets/{index-B4dcZZAm.js → index-B3SPHPi1.js} +1 -1
- package/dist/studio/assets/{index-CtrcjpbM.js → index-k4nVfS2D.js} +123 -123
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-PLKYSG2X.js → studio-api-TR5RPX57.js} +16 -14
- package/dist/{studioServer-CNUXGRFS.js → studioServer-4SZLLQOV.js} +71 -68
- package/dist/{synthesize-RVE7IUOJ.js → synthesize-QALK5SQR.js} +3 -3
- package/dist/{system-YD4AW5ZX.js → system-MVRF5UM2.js} +5 -3
- package/dist/{telemetry-DGDEJLGL.js → telemetry-7HUKOQ6X.js} +12 -10
- package/dist/{telemetry-EJS5PXH2.js → telemetry-KGY7G3UR.js} +9 -5
- package/dist/templates/blank/index.html +1 -1
- package/dist/{timeline-VCQC4TLM.js → timeline-CGIKWCQI.js} +37 -34
- package/dist/{tokens-AEOBCDW5.js → tokens-AZALDJEK.js} +11 -6
- package/dist/{transcribe-COFCB3ZB.js → transcribe-CTF5EIXJ.js} +34 -31
- package/dist/{transcribe-X6O5ZSGQ.js → transcribe-V6K5547L.js} +15 -14
- package/dist/{tts-AGMCPQXE.js → tts-C2HBLFKK.js} +14 -9
- package/dist/{updateCheck-BW7MDUXZ.js → updateCheck-5I563YLB.js} +7 -4
- package/dist/{upgrade-QXOGA54H.js → upgrade-GRPVQE7Z.js} +25 -12
- package/dist/{urlDownloader-QB3TBIQ5.js → urlDownloader-EP6Q4WES.js} +10 -9
- package/dist/{usage-HG4WMM7A.js → usage-772JV45U.js} +2 -1
- package/dist/{validate-AU2BZ7D7.js → validate-TVCDSQS3.js} +39 -36
- package/dist/{video-GNNYAL5T.js → video-CFEIRKAE.js} +17 -13
- package/dist/warmCheck.js +58 -54
- package/dist/warmCheckClient.js +1 -0
- package/package.json +1 -1
- package/dist/chunk-QRC7IVBC.js +0 -4870
- package/dist/chunk-WMQNIQDJ.js +0 -2057
- package/dist/dist-EWXJGN63.js +0 -129
- package/dist/localPage-V3HBGM3Z.js +0 -27
|
@@ -0,0 +1,1105 @@
|
|
|
1
|
+
import { createRequire as __hf_createRequire } from "node:module";
|
|
2
|
+
import { fileURLToPath as __hf_fileURLToPath } from "node:url";
|
|
3
|
+
import { dirname as __hf_dirname } from "node:path";
|
|
4
|
+
var require = __hf_createRequire(import.meta.url);
|
|
5
|
+
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = __hf_dirname(__filename);
|
|
7
|
+
import {
|
|
8
|
+
CliUsageError
|
|
9
|
+
} from "./chunk-LALLQUSK.js";
|
|
10
|
+
import {
|
|
11
|
+
isUnattended
|
|
12
|
+
} from "./chunk-J3RXEDR2.js";
|
|
13
|
+
import {
|
|
14
|
+
__commonJS,
|
|
15
|
+
__toESM
|
|
16
|
+
} from "./chunk-M2WBOQ2Q.js";
|
|
17
|
+
|
|
18
|
+
// ../../node_modules/.bun/sisteransi@1.0.5/node_modules/sisteransi/src/index.js
|
|
19
|
+
var require_src = __commonJS({
|
|
20
|
+
"../../node_modules/.bun/sisteransi@1.0.5/node_modules/sisteransi/src/index.js"(exports, module) {
|
|
21
|
+
"use strict";
|
|
22
|
+
var ESC2 = "\x1B";
|
|
23
|
+
var CSI2 = `${ESC2}[`;
|
|
24
|
+
var beep = "\x07";
|
|
25
|
+
var cursor = {
|
|
26
|
+
to(x, y) {
|
|
27
|
+
if (!y) return `${CSI2}${x + 1}G`;
|
|
28
|
+
return `${CSI2}${y + 1};${x + 1}H`;
|
|
29
|
+
},
|
|
30
|
+
move(x, y) {
|
|
31
|
+
let ret = "";
|
|
32
|
+
if (x < 0) ret += `${CSI2}${-x}D`;
|
|
33
|
+
else if (x > 0) ret += `${CSI2}${x}C`;
|
|
34
|
+
if (y < 0) ret += `${CSI2}${-y}A`;
|
|
35
|
+
else if (y > 0) ret += `${CSI2}${y}B`;
|
|
36
|
+
return ret;
|
|
37
|
+
},
|
|
38
|
+
up: (count = 1) => `${CSI2}${count}A`,
|
|
39
|
+
down: (count = 1) => `${CSI2}${count}B`,
|
|
40
|
+
forward: (count = 1) => `${CSI2}${count}C`,
|
|
41
|
+
backward: (count = 1) => `${CSI2}${count}D`,
|
|
42
|
+
nextLine: (count = 1) => `${CSI2}E`.repeat(count),
|
|
43
|
+
prevLine: (count = 1) => `${CSI2}F`.repeat(count),
|
|
44
|
+
left: `${CSI2}G`,
|
|
45
|
+
hide: `${CSI2}?25l`,
|
|
46
|
+
show: `${CSI2}?25h`,
|
|
47
|
+
save: `${ESC2}7`,
|
|
48
|
+
restore: `${ESC2}8`
|
|
49
|
+
};
|
|
50
|
+
var scroll = {
|
|
51
|
+
up: (count = 1) => `${CSI2}S`.repeat(count),
|
|
52
|
+
down: (count = 1) => `${CSI2}T`.repeat(count)
|
|
53
|
+
};
|
|
54
|
+
var erase = {
|
|
55
|
+
screen: `${CSI2}2J`,
|
|
56
|
+
up: (count = 1) => `${CSI2}1J`.repeat(count),
|
|
57
|
+
down: (count = 1) => `${CSI2}J`.repeat(count),
|
|
58
|
+
line: `${CSI2}2K`,
|
|
59
|
+
lineEnd: `${CSI2}K`,
|
|
60
|
+
lineStart: `${CSI2}1K`,
|
|
61
|
+
lines(count) {
|
|
62
|
+
let clear = "";
|
|
63
|
+
for (let i = 0; i < count; i++)
|
|
64
|
+
clear += this.line + (i < count - 1 ? cursor.up() : "");
|
|
65
|
+
if (count)
|
|
66
|
+
clear += cursor.left;
|
|
67
|
+
return clear;
|
|
68
|
+
}
|
|
69
|
+
};
|
|
70
|
+
module.exports = { cursor, scroll, erase, beep };
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
|
|
74
|
+
// ../../node_modules/.bun/@clack+core@1.3.0/node_modules/@clack/core/dist/index.mjs
|
|
75
|
+
import { styleText as v } from "util";
|
|
76
|
+
import { stdout as S, stdin as D } from "process";
|
|
77
|
+
import * as b from "readline";
|
|
78
|
+
import E from "readline";
|
|
79
|
+
|
|
80
|
+
// ../../node_modules/.bun/fast-string-truncated-width@3.0.3/node_modules/fast-string-truncated-width/dist/utils.js
|
|
81
|
+
var getCodePointsLength = /* @__PURE__ */ (() => {
|
|
82
|
+
const SURROGATE_PAIR_RE = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g;
|
|
83
|
+
return (input) => {
|
|
84
|
+
let surrogatePairsNr = 0;
|
|
85
|
+
SURROGATE_PAIR_RE.lastIndex = 0;
|
|
86
|
+
while (SURROGATE_PAIR_RE.test(input)) {
|
|
87
|
+
surrogatePairsNr += 1;
|
|
88
|
+
}
|
|
89
|
+
return input.length - surrogatePairsNr;
|
|
90
|
+
};
|
|
91
|
+
})();
|
|
92
|
+
var isFullWidth = (x) => {
|
|
93
|
+
return x === 12288 || x >= 65281 && x <= 65376 || x >= 65504 && x <= 65510;
|
|
94
|
+
};
|
|
95
|
+
var isWideNotCJKTNotEmoji = (x) => {
|
|
96
|
+
return x === 8987 || x === 9001 || x >= 12272 && x <= 12287 || x >= 12289 && x <= 12350 || x >= 12441 && x <= 12543 || x >= 12549 && x <= 12591 || x >= 12593 && x <= 12686 || x >= 12688 && x <= 12771 || x >= 12783 && x <= 12830 || x >= 12832 && x <= 12871 || x >= 12880 && x <= 19903 || x >= 65040 && x <= 65049 || x >= 65072 && x <= 65106 || x >= 65108 && x <= 65126 || x >= 65128 && x <= 65131 || x >= 127488 && x <= 127490 || x >= 127504 && x <= 127547 || x >= 127552 && x <= 127560 || x >= 131072 && x <= 196605 || x >= 196608 && x <= 262141;
|
|
97
|
+
};
|
|
98
|
+
|
|
99
|
+
// ../../node_modules/.bun/fast-string-truncated-width@3.0.3/node_modules/fast-string-truncated-width/dist/index.js
|
|
100
|
+
var ANSI_RE = /[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]|\u001b\]8;[^;]*;.*?(?:\u0007|\u001b\u005c)/y;
|
|
101
|
+
var CONTROL_RE = /[\x00-\x08\x0A-\x1F\x7F-\x9F]{1,1000}/y;
|
|
102
|
+
var CJKT_WIDE_RE = /(?:(?![\uFF61-\uFF9F\uFF00-\uFFEF])[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}\p{Script=Tangut}]){1,1000}/yu;
|
|
103
|
+
var TAB_RE = /\t{1,1000}/y;
|
|
104
|
+
var EMOJI_RE = new RegExp("[\\u{1F1E6}-\\u{1F1FF}]{2}|\\u{1F3F4}[\\u{E0061}-\\u{E007A}]{2}[\\u{E0030}-\\u{E0039}\\u{E0061}-\\u{E007A}]{1,3}\\u{E007F}|(?:\\p{Emoji}\\uFE0F\\u20E3?|\\p{Emoji_Modifier_Base}\\p{Emoji_Modifier}?|\\p{Emoji_Presentation})(?:\\u200D(?:\\p{Emoji_Modifier_Base}\\p{Emoji_Modifier}?|\\p{Emoji_Presentation}|\\p{Emoji}\\uFE0F\\u20E3?))*", "yu");
|
|
105
|
+
var LATIN_RE = /(?:[\x20-\x7E\xA0-\xFF](?!\uFE0F)){1,1000}/y;
|
|
106
|
+
var MODIFIER_RE = new RegExp("\\p{M}+", "gu");
|
|
107
|
+
var NO_TRUNCATION = { limit: Infinity, ellipsis: "" };
|
|
108
|
+
var getStringTruncatedWidth = (input, truncationOptions = {}, widthOptions = {}) => {
|
|
109
|
+
const LIMIT = truncationOptions.limit ?? Infinity;
|
|
110
|
+
const ELLIPSIS = truncationOptions.ellipsis ?? "";
|
|
111
|
+
const ELLIPSIS_WIDTH = truncationOptions?.ellipsisWidth ?? (ELLIPSIS ? getStringTruncatedWidth(ELLIPSIS, NO_TRUNCATION, widthOptions).width : 0);
|
|
112
|
+
const ANSI_WIDTH = 0;
|
|
113
|
+
const CONTROL_WIDTH = widthOptions.controlWidth ?? 0;
|
|
114
|
+
const TAB_WIDTH = widthOptions.tabWidth ?? 8;
|
|
115
|
+
const EMOJI_WIDTH = widthOptions.emojiWidth ?? 2;
|
|
116
|
+
const FULL_WIDTH_WIDTH = 2;
|
|
117
|
+
const REGULAR_WIDTH = widthOptions.regularWidth ?? 1;
|
|
118
|
+
const WIDE_WIDTH = widthOptions.wideWidth ?? FULL_WIDTH_WIDTH;
|
|
119
|
+
const PARSE_BLOCKS = [
|
|
120
|
+
[LATIN_RE, REGULAR_WIDTH],
|
|
121
|
+
[ANSI_RE, ANSI_WIDTH],
|
|
122
|
+
[CONTROL_RE, CONTROL_WIDTH],
|
|
123
|
+
[TAB_RE, TAB_WIDTH],
|
|
124
|
+
[EMOJI_RE, EMOJI_WIDTH],
|
|
125
|
+
[CJKT_WIDE_RE, WIDE_WIDTH]
|
|
126
|
+
];
|
|
127
|
+
let indexPrev = 0;
|
|
128
|
+
let index = 0;
|
|
129
|
+
let length = input.length;
|
|
130
|
+
let lengthExtra = 0;
|
|
131
|
+
let truncationEnabled = false;
|
|
132
|
+
let truncationIndex = length;
|
|
133
|
+
let truncationLimit = Math.max(0, LIMIT - ELLIPSIS_WIDTH);
|
|
134
|
+
let unmatchedStart = 0;
|
|
135
|
+
let unmatchedEnd = 0;
|
|
136
|
+
let width = 0;
|
|
137
|
+
let widthExtra = 0;
|
|
138
|
+
outer: while (true) {
|
|
139
|
+
if (unmatchedEnd > unmatchedStart || index >= length && index > indexPrev) {
|
|
140
|
+
const unmatched = input.slice(unmatchedStart, unmatchedEnd) || input.slice(indexPrev, index);
|
|
141
|
+
lengthExtra = 0;
|
|
142
|
+
for (const char of unmatched.replaceAll(MODIFIER_RE, "")) {
|
|
143
|
+
const codePoint = char.codePointAt(0) || 0;
|
|
144
|
+
if (isFullWidth(codePoint)) {
|
|
145
|
+
widthExtra = FULL_WIDTH_WIDTH;
|
|
146
|
+
} else if (isWideNotCJKTNotEmoji(codePoint)) {
|
|
147
|
+
widthExtra = WIDE_WIDTH;
|
|
148
|
+
} else {
|
|
149
|
+
widthExtra = REGULAR_WIDTH;
|
|
150
|
+
}
|
|
151
|
+
if (width + widthExtra > truncationLimit) {
|
|
152
|
+
truncationIndex = Math.min(truncationIndex, Math.max(unmatchedStart, indexPrev) + lengthExtra);
|
|
153
|
+
}
|
|
154
|
+
if (width + widthExtra > LIMIT) {
|
|
155
|
+
truncationEnabled = true;
|
|
156
|
+
break outer;
|
|
157
|
+
}
|
|
158
|
+
lengthExtra += char.length;
|
|
159
|
+
width += widthExtra;
|
|
160
|
+
}
|
|
161
|
+
unmatchedStart = unmatchedEnd = 0;
|
|
162
|
+
}
|
|
163
|
+
if (index >= length) {
|
|
164
|
+
break outer;
|
|
165
|
+
}
|
|
166
|
+
for (let i = 0, l = PARSE_BLOCKS.length; i < l; i++) {
|
|
167
|
+
const [BLOCK_RE, BLOCK_WIDTH] = PARSE_BLOCKS[i];
|
|
168
|
+
BLOCK_RE.lastIndex = index;
|
|
169
|
+
if (BLOCK_RE.test(input)) {
|
|
170
|
+
lengthExtra = BLOCK_RE === CJKT_WIDE_RE ? getCodePointsLength(input.slice(index, BLOCK_RE.lastIndex)) : BLOCK_RE === EMOJI_RE ? 1 : BLOCK_RE.lastIndex - index;
|
|
171
|
+
widthExtra = lengthExtra * BLOCK_WIDTH;
|
|
172
|
+
if (width + widthExtra > truncationLimit) {
|
|
173
|
+
truncationIndex = Math.min(truncationIndex, index + Math.floor((truncationLimit - width) / BLOCK_WIDTH));
|
|
174
|
+
}
|
|
175
|
+
if (width + widthExtra > LIMIT) {
|
|
176
|
+
truncationEnabled = true;
|
|
177
|
+
break outer;
|
|
178
|
+
}
|
|
179
|
+
width += widthExtra;
|
|
180
|
+
unmatchedStart = indexPrev;
|
|
181
|
+
unmatchedEnd = index;
|
|
182
|
+
index = indexPrev = BLOCK_RE.lastIndex;
|
|
183
|
+
continue outer;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
index += 1;
|
|
187
|
+
}
|
|
188
|
+
return {
|
|
189
|
+
width: truncationEnabled ? truncationLimit : width,
|
|
190
|
+
index: truncationEnabled ? truncationIndex : length,
|
|
191
|
+
truncated: truncationEnabled,
|
|
192
|
+
ellipsed: truncationEnabled && LIMIT >= ELLIPSIS_WIDTH
|
|
193
|
+
};
|
|
194
|
+
};
|
|
195
|
+
var dist_default = getStringTruncatedWidth;
|
|
196
|
+
|
|
197
|
+
// ../../node_modules/.bun/fast-string-width@3.0.2/node_modules/fast-string-width/dist/index.js
|
|
198
|
+
var NO_TRUNCATION2 = {
|
|
199
|
+
limit: Infinity,
|
|
200
|
+
ellipsis: "",
|
|
201
|
+
ellipsisWidth: 0
|
|
202
|
+
};
|
|
203
|
+
var fastStringWidth = (input, options = {}) => {
|
|
204
|
+
return dist_default(input, NO_TRUNCATION2, options).width;
|
|
205
|
+
};
|
|
206
|
+
var dist_default2 = fastStringWidth;
|
|
207
|
+
|
|
208
|
+
// ../../node_modules/.bun/fast-wrap-ansi@0.2.0/node_modules/fast-wrap-ansi/lib/main.js
|
|
209
|
+
var ESC = "\x1B";
|
|
210
|
+
var CSI = "\x9B";
|
|
211
|
+
var END_CODE = 39;
|
|
212
|
+
var ANSI_ESCAPE_BELL = "\x07";
|
|
213
|
+
var ANSI_CSI = "[";
|
|
214
|
+
var ANSI_OSC = "]";
|
|
215
|
+
var ANSI_SGR_TERMINATOR = "m";
|
|
216
|
+
var ANSI_ESCAPE_LINK = `${ANSI_OSC}8;;`;
|
|
217
|
+
var GROUP_REGEX = new RegExp(`(?:\\${ANSI_CSI}(?<code>\\d+)m|\\${ANSI_ESCAPE_LINK}(?<uri>.*)${ANSI_ESCAPE_BELL})`, "y");
|
|
218
|
+
var getClosingCode = (openingCode) => {
|
|
219
|
+
if (openingCode >= 30 && openingCode <= 37)
|
|
220
|
+
return 39;
|
|
221
|
+
if (openingCode >= 90 && openingCode <= 97)
|
|
222
|
+
return 39;
|
|
223
|
+
if (openingCode >= 40 && openingCode <= 47)
|
|
224
|
+
return 49;
|
|
225
|
+
if (openingCode >= 100 && openingCode <= 107)
|
|
226
|
+
return 49;
|
|
227
|
+
if (openingCode === 1 || openingCode === 2)
|
|
228
|
+
return 22;
|
|
229
|
+
if (openingCode === 3)
|
|
230
|
+
return 23;
|
|
231
|
+
if (openingCode === 4)
|
|
232
|
+
return 24;
|
|
233
|
+
if (openingCode === 7)
|
|
234
|
+
return 27;
|
|
235
|
+
if (openingCode === 8)
|
|
236
|
+
return 28;
|
|
237
|
+
if (openingCode === 9)
|
|
238
|
+
return 29;
|
|
239
|
+
if (openingCode === 0)
|
|
240
|
+
return 0;
|
|
241
|
+
return void 0;
|
|
242
|
+
};
|
|
243
|
+
var wrapAnsiCode = (code) => `${ESC}${ANSI_CSI}${code}${ANSI_SGR_TERMINATOR}`;
|
|
244
|
+
var wrapAnsiHyperlink = (url) => `${ESC}${ANSI_ESCAPE_LINK}${url}${ANSI_ESCAPE_BELL}`;
|
|
245
|
+
var wrapWord = (rows, word, columns) => {
|
|
246
|
+
const characters = word[Symbol.iterator]();
|
|
247
|
+
let isInsideEscape = false;
|
|
248
|
+
let isInsideLinkEscape = false;
|
|
249
|
+
let lastRow = rows.at(-1);
|
|
250
|
+
let visible = lastRow === void 0 ? 0 : dist_default2(lastRow);
|
|
251
|
+
let currentCharacter = characters.next();
|
|
252
|
+
let nextCharacter = characters.next();
|
|
253
|
+
let rawCharacterIndex = 0;
|
|
254
|
+
while (!currentCharacter.done) {
|
|
255
|
+
const character = currentCharacter.value;
|
|
256
|
+
const characterLength = dist_default2(character);
|
|
257
|
+
if (visible + characterLength <= columns) {
|
|
258
|
+
rows[rows.length - 1] += character;
|
|
259
|
+
} else {
|
|
260
|
+
rows.push(character);
|
|
261
|
+
visible = 0;
|
|
262
|
+
}
|
|
263
|
+
if (character === ESC || character === CSI) {
|
|
264
|
+
isInsideEscape = true;
|
|
265
|
+
isInsideLinkEscape = word.startsWith(ANSI_ESCAPE_LINK, rawCharacterIndex + 1);
|
|
266
|
+
}
|
|
267
|
+
if (isInsideEscape) {
|
|
268
|
+
if (isInsideLinkEscape) {
|
|
269
|
+
if (character === ANSI_ESCAPE_BELL) {
|
|
270
|
+
isInsideEscape = false;
|
|
271
|
+
isInsideLinkEscape = false;
|
|
272
|
+
}
|
|
273
|
+
} else if (character === ANSI_SGR_TERMINATOR) {
|
|
274
|
+
isInsideEscape = false;
|
|
275
|
+
}
|
|
276
|
+
} else {
|
|
277
|
+
visible += characterLength;
|
|
278
|
+
if (visible === columns && !nextCharacter.done) {
|
|
279
|
+
rows.push("");
|
|
280
|
+
visible = 0;
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
currentCharacter = nextCharacter;
|
|
284
|
+
nextCharacter = characters.next();
|
|
285
|
+
rawCharacterIndex += character.length;
|
|
286
|
+
}
|
|
287
|
+
lastRow = rows.at(-1);
|
|
288
|
+
if (!visible && lastRow !== void 0 && lastRow.length && rows.length > 1) {
|
|
289
|
+
rows[rows.length - 2] += rows.pop();
|
|
290
|
+
}
|
|
291
|
+
};
|
|
292
|
+
var stringVisibleTrimSpacesRight = (string) => {
|
|
293
|
+
const words = string.split(" ");
|
|
294
|
+
let last = words.length;
|
|
295
|
+
while (last) {
|
|
296
|
+
if (dist_default2(words[last - 1])) {
|
|
297
|
+
break;
|
|
298
|
+
}
|
|
299
|
+
last--;
|
|
300
|
+
}
|
|
301
|
+
if (last === words.length) {
|
|
302
|
+
return string;
|
|
303
|
+
}
|
|
304
|
+
return words.slice(0, last).join(" ") + words.slice(last).join("");
|
|
305
|
+
};
|
|
306
|
+
var exec = (string, columns, options = {}) => {
|
|
307
|
+
if (options.trim !== false && string.trim() === "") {
|
|
308
|
+
return "";
|
|
309
|
+
}
|
|
310
|
+
let returnValue = "";
|
|
311
|
+
let escapeCode;
|
|
312
|
+
let escapeUrl;
|
|
313
|
+
const words = string.split(" ");
|
|
314
|
+
let rows = [""];
|
|
315
|
+
let rowLength = 0;
|
|
316
|
+
for (let index = 0; index < words.length; index++) {
|
|
317
|
+
const word = words[index];
|
|
318
|
+
if (options.trim !== false) {
|
|
319
|
+
const row = rows.at(-1) ?? "";
|
|
320
|
+
const trimmed = row.trimStart();
|
|
321
|
+
if (row.length !== trimmed.length) {
|
|
322
|
+
rows[rows.length - 1] = trimmed;
|
|
323
|
+
rowLength = dist_default2(trimmed);
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
if (index !== 0) {
|
|
327
|
+
if (rowLength >= columns && (options.wordWrap === false || options.trim === false)) {
|
|
328
|
+
rows.push("");
|
|
329
|
+
rowLength = 0;
|
|
330
|
+
}
|
|
331
|
+
if (rowLength || options.trim === false) {
|
|
332
|
+
rows[rows.length - 1] += " ";
|
|
333
|
+
rowLength++;
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
const wordLength = dist_default2(word);
|
|
337
|
+
if (options.hard && wordLength > columns) {
|
|
338
|
+
const remainingColumns = columns - rowLength;
|
|
339
|
+
const breaksStartingThisLine = 1 + Math.floor((wordLength - remainingColumns - 1) / columns);
|
|
340
|
+
const breaksStartingNextLine = Math.floor((wordLength - 1) / columns);
|
|
341
|
+
if (breaksStartingNextLine < breaksStartingThisLine) {
|
|
342
|
+
rows.push("");
|
|
343
|
+
}
|
|
344
|
+
wrapWord(rows, word, columns);
|
|
345
|
+
rowLength = dist_default2(rows.at(-1) ?? "");
|
|
346
|
+
continue;
|
|
347
|
+
}
|
|
348
|
+
if (rowLength + wordLength > columns && rowLength && wordLength) {
|
|
349
|
+
if (options.wordWrap === false && rowLength < columns) {
|
|
350
|
+
wrapWord(rows, word, columns);
|
|
351
|
+
rowLength = dist_default2(rows.at(-1) ?? "");
|
|
352
|
+
continue;
|
|
353
|
+
}
|
|
354
|
+
rows.push("");
|
|
355
|
+
rowLength = 0;
|
|
356
|
+
}
|
|
357
|
+
if (rowLength + wordLength > columns && options.wordWrap === false) {
|
|
358
|
+
wrapWord(rows, word, columns);
|
|
359
|
+
rowLength = dist_default2(rows.at(-1) ?? "");
|
|
360
|
+
continue;
|
|
361
|
+
}
|
|
362
|
+
rows[rows.length - 1] += word;
|
|
363
|
+
rowLength += wordLength;
|
|
364
|
+
}
|
|
365
|
+
if (options.trim !== false) {
|
|
366
|
+
rows = rows.map((row) => stringVisibleTrimSpacesRight(row));
|
|
367
|
+
}
|
|
368
|
+
const preString = rows.join("\n");
|
|
369
|
+
let inSurrogate = false;
|
|
370
|
+
for (let i = 0; i < preString.length; i++) {
|
|
371
|
+
const character = preString[i];
|
|
372
|
+
returnValue += character;
|
|
373
|
+
if (!inSurrogate) {
|
|
374
|
+
inSurrogate = character >= "\uD800" && character <= "\uDBFF";
|
|
375
|
+
if (inSurrogate) {
|
|
376
|
+
continue;
|
|
377
|
+
}
|
|
378
|
+
} else {
|
|
379
|
+
inSurrogate = false;
|
|
380
|
+
}
|
|
381
|
+
if (character === ESC || character === CSI) {
|
|
382
|
+
GROUP_REGEX.lastIndex = i + 1;
|
|
383
|
+
const groupsResult = GROUP_REGEX.exec(preString);
|
|
384
|
+
const groups = groupsResult?.groups;
|
|
385
|
+
if (groups?.code !== void 0) {
|
|
386
|
+
const code = Number.parseFloat(groups.code);
|
|
387
|
+
escapeCode = code === END_CODE ? void 0 : code;
|
|
388
|
+
} else if (groups?.uri !== void 0) {
|
|
389
|
+
escapeUrl = groups.uri.length === 0 ? void 0 : groups.uri;
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
if (preString[i + 1] === "\n") {
|
|
393
|
+
if (escapeUrl) {
|
|
394
|
+
returnValue += wrapAnsiHyperlink("");
|
|
395
|
+
}
|
|
396
|
+
const closingCode = escapeCode ? getClosingCode(escapeCode) : void 0;
|
|
397
|
+
if (escapeCode && closingCode) {
|
|
398
|
+
returnValue += wrapAnsiCode(closingCode);
|
|
399
|
+
}
|
|
400
|
+
} else if (character === "\n") {
|
|
401
|
+
if (escapeCode && getClosingCode(escapeCode)) {
|
|
402
|
+
returnValue += wrapAnsiCode(escapeCode);
|
|
403
|
+
}
|
|
404
|
+
if (escapeUrl) {
|
|
405
|
+
returnValue += wrapAnsiHyperlink(escapeUrl);
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
return returnValue;
|
|
410
|
+
};
|
|
411
|
+
var CRLF_OR_LF = /\r?\n/;
|
|
412
|
+
function wrapAnsi(string, columns, options) {
|
|
413
|
+
return String(string).normalize().split(CRLF_OR_LF).map((line) => exec(line, columns, options)).join("\n");
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
// ../../node_modules/.bun/@clack+core@1.3.0/node_modules/@clack/core/dist/index.mjs
|
|
417
|
+
var import_sisteransi = __toESM(require_src(), 1);
|
|
418
|
+
import { ReadStream as O } from "tty";
|
|
419
|
+
function d(r, t, s) {
|
|
420
|
+
if (!s.some((o) => !o.disabled)) return r;
|
|
421
|
+
const e2 = r + t, i = Math.max(s.length - 1, 0), n = e2 < 0 ? i : e2 > i ? 0 : e2;
|
|
422
|
+
return s[n].disabled ? d(n, t < 0 ? -1 : 1, s) : n;
|
|
423
|
+
}
|
|
424
|
+
var G = ["up", "down", "left", "right", "space", "enter", "cancel"];
|
|
425
|
+
var K = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
|
|
426
|
+
var h = { actions: new Set(G), aliases: /* @__PURE__ */ new Map([["k", "up"], ["j", "down"], ["h", "left"], ["l", "right"], ["", "cancel"], ["escape", "cancel"]]), messages: { cancel: "Canceled", error: "Something went wrong" }, withGuide: true, date: { monthNames: [...K], messages: { required: "Please enter a valid date", invalidMonth: "There are only 12 months in a year", invalidDay: (r, t) => `There are only ${r} days in ${t}`, afterMin: (r) => `Date must be on or after ${r.toISOString().slice(0, 10)}`, beforeMax: (r) => `Date must be on or before ${r.toISOString().slice(0, 10)}` } } };
|
|
427
|
+
function C(r, t) {
|
|
428
|
+
if (typeof r == "string") return h.aliases.get(r) === t;
|
|
429
|
+
for (const s of r) if (s !== void 0 && C(s, t)) return true;
|
|
430
|
+
return false;
|
|
431
|
+
}
|
|
432
|
+
function z(r, t) {
|
|
433
|
+
if (r === t) return;
|
|
434
|
+
const s = r.split(`
|
|
435
|
+
`), e2 = t.split(`
|
|
436
|
+
`), i = Math.max(s.length, e2.length), n = [];
|
|
437
|
+
for (let o = 0; o < i; o++) s[o] !== e2[o] && n.push(o);
|
|
438
|
+
return { lines: n, numLinesBefore: s.length, numLinesAfter: e2.length, numLines: i };
|
|
439
|
+
}
|
|
440
|
+
var Y = globalThis.process.platform.startsWith("win");
|
|
441
|
+
var k = /* @__PURE__ */ Symbol("clack:cancel");
|
|
442
|
+
function q(r) {
|
|
443
|
+
return r === k;
|
|
444
|
+
}
|
|
445
|
+
function w(r, t) {
|
|
446
|
+
const s = r;
|
|
447
|
+
s.isTTY && s.setRawMode(t);
|
|
448
|
+
}
|
|
449
|
+
function R({ input: r = D, output: t = S, overwrite: s = true, hideCursor: e2 = true } = {}) {
|
|
450
|
+
const i = b.createInterface({ input: r, output: t, prompt: "", tabSize: 1 });
|
|
451
|
+
b.emitKeypressEvents(r, i), r instanceof O && r.isTTY && r.setRawMode(true);
|
|
452
|
+
const n = (o, { name: u, sequence: a }) => {
|
|
453
|
+
const l = String(o);
|
|
454
|
+
if (C([l, u, a], "cancel")) {
|
|
455
|
+
e2 && t.write(import_sisteransi.cursor.show), process.exit(0);
|
|
456
|
+
return;
|
|
457
|
+
}
|
|
458
|
+
if (!s) return;
|
|
459
|
+
const f = u === "return" ? 0 : -1, y = u === "return" ? -1 : 0;
|
|
460
|
+
b.moveCursor(t, f, y, () => {
|
|
461
|
+
b.clearLine(t, 1, () => {
|
|
462
|
+
r.once("keypress", n);
|
|
463
|
+
});
|
|
464
|
+
});
|
|
465
|
+
};
|
|
466
|
+
return e2 && t.write(import_sisteransi.cursor.hide), r.once("keypress", n), () => {
|
|
467
|
+
r.off("keypress", n), e2 && t.write(import_sisteransi.cursor.show), r instanceof O && r.isTTY && !Y && r.setRawMode(false), i.terminal = false, i.close();
|
|
468
|
+
};
|
|
469
|
+
}
|
|
470
|
+
var A = (r) => "columns" in r && typeof r.columns == "number" ? r.columns : 80;
|
|
471
|
+
var L = (r) => "rows" in r && typeof r.rows == "number" ? r.rows : 20;
|
|
472
|
+
function W(r, t, s, e2 = s, i) {
|
|
473
|
+
const n = A(r ?? S);
|
|
474
|
+
return wrapAnsi(t, n - s.length, { hard: true, trim: false }).split(`
|
|
475
|
+
`).map((o, u) => {
|
|
476
|
+
const a = i ? i(o, u) : o;
|
|
477
|
+
return `${u === 0 ? e2 : s}${a}`;
|
|
478
|
+
}).join(`
|
|
479
|
+
`);
|
|
480
|
+
}
|
|
481
|
+
var p = class {
|
|
482
|
+
input;
|
|
483
|
+
output;
|
|
484
|
+
_abortSignal;
|
|
485
|
+
rl;
|
|
486
|
+
opts;
|
|
487
|
+
_render;
|
|
488
|
+
_track = false;
|
|
489
|
+
_prevFrame = "";
|
|
490
|
+
_subscribers = /* @__PURE__ */ new Map();
|
|
491
|
+
_cursor = 0;
|
|
492
|
+
state = "initial";
|
|
493
|
+
error = "";
|
|
494
|
+
value;
|
|
495
|
+
userInput = "";
|
|
496
|
+
constructor(t, s = true) {
|
|
497
|
+
const { input: e2 = D, output: i = S, render: n, signal: o, ...u } = t;
|
|
498
|
+
this.opts = u, this.onKeypress = this.onKeypress.bind(this), this.close = this.close.bind(this), this.render = this.render.bind(this), this._render = n.bind(this), this._track = s, this._abortSignal = o, this.input = e2, this.output = i;
|
|
499
|
+
}
|
|
500
|
+
unsubscribe() {
|
|
501
|
+
this._subscribers.clear();
|
|
502
|
+
}
|
|
503
|
+
setSubscriber(t, s) {
|
|
504
|
+
const e2 = this._subscribers.get(t) ?? [];
|
|
505
|
+
e2.push(s), this._subscribers.set(t, e2);
|
|
506
|
+
}
|
|
507
|
+
on(t, s) {
|
|
508
|
+
this.setSubscriber(t, { cb: s });
|
|
509
|
+
}
|
|
510
|
+
once(t, s) {
|
|
511
|
+
this.setSubscriber(t, { cb: s, once: true });
|
|
512
|
+
}
|
|
513
|
+
emit(t, ...s) {
|
|
514
|
+
const e2 = this._subscribers.get(t) ?? [], i = [];
|
|
515
|
+
for (const n of e2) n.cb(...s), n.once && i.push(() => e2.splice(e2.indexOf(n), 1));
|
|
516
|
+
for (const n of i) n();
|
|
517
|
+
}
|
|
518
|
+
prompt() {
|
|
519
|
+
return new Promise((t) => {
|
|
520
|
+
if (this._abortSignal) {
|
|
521
|
+
if (this._abortSignal.aborted) return this.state = "cancel", this.close(), t(k);
|
|
522
|
+
this._abortSignal.addEventListener("abort", () => {
|
|
523
|
+
this.state = "cancel", this.close();
|
|
524
|
+
}, { once: true });
|
|
525
|
+
}
|
|
526
|
+
this.rl = E.createInterface({ input: this.input, tabSize: 2, prompt: "", escapeCodeTimeout: 50, terminal: true }), this.rl.prompt(), this.opts.initialUserInput !== void 0 && this._setUserInput(this.opts.initialUserInput, true), this.input.on("keypress", this.onKeypress), w(this.input, true), this.output.on("resize", this.render), this.render(), this.once("submit", () => {
|
|
527
|
+
this.output.write(import_sisteransi.cursor.show), this.output.off("resize", this.render), w(this.input, false), t(this.value);
|
|
528
|
+
}), this.once("cancel", () => {
|
|
529
|
+
this.output.write(import_sisteransi.cursor.show), this.output.off("resize", this.render), w(this.input, false), t(k);
|
|
530
|
+
});
|
|
531
|
+
});
|
|
532
|
+
}
|
|
533
|
+
_isActionKey(t, s) {
|
|
534
|
+
return t === " ";
|
|
535
|
+
}
|
|
536
|
+
_shouldSubmit(t, s) {
|
|
537
|
+
return true;
|
|
538
|
+
}
|
|
539
|
+
_setValue(t) {
|
|
540
|
+
this.value = t, this.emit("value", this.value);
|
|
541
|
+
}
|
|
542
|
+
_setUserInput(t, s) {
|
|
543
|
+
this.userInput = t ?? "", this.emit("userInput", this.userInput), s && this._track && this.rl && (this.rl.write(this.userInput), this._cursor = this.rl.cursor);
|
|
544
|
+
}
|
|
545
|
+
_clearUserInput() {
|
|
546
|
+
this.rl?.write(null, { ctrl: true, name: "u" }), this._setUserInput("");
|
|
547
|
+
}
|
|
548
|
+
onKeypress(t, s) {
|
|
549
|
+
if (this._track && s.name !== "return" && (s.name && this._isActionKey(t, s) && this.rl?.write(null, { ctrl: true, name: "h" }), this._cursor = this.rl?.cursor ?? 0, this._setUserInput(this.rl?.line)), this.state === "error" && (this.state = "active"), s?.name && (!this._track && h.aliases.has(s.name) && this.emit("cursor", h.aliases.get(s.name)), h.actions.has(s.name) && this.emit("cursor", s.name)), t && (t.toLowerCase() === "y" || t.toLowerCase() === "n") && this.emit("confirm", t.toLowerCase() === "y"), this.emit("key", t?.toLowerCase(), s), s?.name === "return" && this._shouldSubmit(t, s)) {
|
|
550
|
+
if (this.opts.validate) {
|
|
551
|
+
const e2 = this.opts.validate(this.value);
|
|
552
|
+
e2 && (this.error = e2 instanceof Error ? e2.message : e2, this.state = "error", this.rl?.write(this.userInput));
|
|
553
|
+
}
|
|
554
|
+
this.state !== "error" && (this.state = "submit");
|
|
555
|
+
}
|
|
556
|
+
C([t, s?.name, s?.sequence], "cancel") && (this.state = "cancel"), (this.state === "submit" || this.state === "cancel") && this.emit("finalize"), this.render(), (this.state === "submit" || this.state === "cancel") && this.close();
|
|
557
|
+
}
|
|
558
|
+
close() {
|
|
559
|
+
this.input.unpipe(), this.input.removeListener("keypress", this.onKeypress), this.output.write(`
|
|
560
|
+
`), w(this.input, false), this.rl?.close(), this.rl = void 0, this.emit(`${this.state}`, this.value), this.unsubscribe();
|
|
561
|
+
}
|
|
562
|
+
restoreCursor() {
|
|
563
|
+
const t = wrapAnsi(this._prevFrame, process.stdout.columns, { hard: true, trim: false }).split(`
|
|
564
|
+
`).length - 1;
|
|
565
|
+
this.output.write(import_sisteransi.cursor.move(-999, t * -1));
|
|
566
|
+
}
|
|
567
|
+
render() {
|
|
568
|
+
const t = wrapAnsi(this._render(this) ?? "", process.stdout.columns, { hard: true, trim: false });
|
|
569
|
+
if (t !== this._prevFrame) {
|
|
570
|
+
if (this.state === "initial") this.output.write(import_sisteransi.cursor.hide);
|
|
571
|
+
else {
|
|
572
|
+
const s = z(this._prevFrame, t), e2 = L(this.output);
|
|
573
|
+
if (this.restoreCursor(), s) {
|
|
574
|
+
const i = Math.max(0, s.numLinesAfter - e2), n = Math.max(0, s.numLinesBefore - e2);
|
|
575
|
+
let o = s.lines.find((u) => u >= i);
|
|
576
|
+
if (o === void 0) {
|
|
577
|
+
this._prevFrame = t;
|
|
578
|
+
return;
|
|
579
|
+
}
|
|
580
|
+
if (s.lines.length === 1) {
|
|
581
|
+
this.output.write(import_sisteransi.cursor.move(0, o - n)), this.output.write(import_sisteransi.erase.lines(1));
|
|
582
|
+
const u = t.split(`
|
|
583
|
+
`);
|
|
584
|
+
this.output.write(u[o]), this._prevFrame = t, this.output.write(import_sisteransi.cursor.move(0, u.length - o - 1));
|
|
585
|
+
return;
|
|
586
|
+
} else if (s.lines.length > 1) {
|
|
587
|
+
if (i < n) o = i;
|
|
588
|
+
else {
|
|
589
|
+
const a = o - n;
|
|
590
|
+
a > 0 && this.output.write(import_sisteransi.cursor.move(0, a));
|
|
591
|
+
}
|
|
592
|
+
this.output.write(import_sisteransi.erase.down());
|
|
593
|
+
const u = t.split(`
|
|
594
|
+
`).slice(o);
|
|
595
|
+
this.output.write(u.join(`
|
|
596
|
+
`)), this._prevFrame = t;
|
|
597
|
+
return;
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
this.output.write(import_sisteransi.erase.down());
|
|
601
|
+
}
|
|
602
|
+
this.output.write(t), this.state === "initial" && (this.state = "active"), this._prevFrame = t;
|
|
603
|
+
}
|
|
604
|
+
}
|
|
605
|
+
};
|
|
606
|
+
var X = class extends p {
|
|
607
|
+
get cursor() {
|
|
608
|
+
return this.value ? 0 : 1;
|
|
609
|
+
}
|
|
610
|
+
get _value() {
|
|
611
|
+
return this.cursor === 0;
|
|
612
|
+
}
|
|
613
|
+
constructor(t) {
|
|
614
|
+
super(t, false), this.value = !!t.initialValue, this.on("userInput", () => {
|
|
615
|
+
this.value = this._value;
|
|
616
|
+
}), this.on("confirm", (s) => {
|
|
617
|
+
this.output.write(import_sisteransi.cursor.move(0, -1)), this.value = s, this.state = "submit", this.close();
|
|
618
|
+
}), this.on("cursor", () => {
|
|
619
|
+
this.value = !this.value;
|
|
620
|
+
});
|
|
621
|
+
}
|
|
622
|
+
};
|
|
623
|
+
var ot = class extends p {
|
|
624
|
+
_mask = "\u2022";
|
|
625
|
+
get cursor() {
|
|
626
|
+
return this._cursor;
|
|
627
|
+
}
|
|
628
|
+
get masked() {
|
|
629
|
+
return this.userInput.replaceAll(/./g, this._mask);
|
|
630
|
+
}
|
|
631
|
+
get userInputWithCursor() {
|
|
632
|
+
if (this.state === "submit" || this.state === "cancel") return this.masked;
|
|
633
|
+
const t = this.userInput;
|
|
634
|
+
if (this.cursor >= t.length) return `${this.masked}${v(["inverse", "hidden"], "_")}`;
|
|
635
|
+
const s = this.masked, e2 = s.slice(0, this.cursor), i = s.slice(this.cursor);
|
|
636
|
+
return `${e2}${v("inverse", i[0])}${i.slice(1)}`;
|
|
637
|
+
}
|
|
638
|
+
clear() {
|
|
639
|
+
this._clearUserInput();
|
|
640
|
+
}
|
|
641
|
+
constructor({ mask: t, ...s }) {
|
|
642
|
+
super(s), this._mask = t ?? "\u2022", this.on("userInput", (e2) => {
|
|
643
|
+
this._setValue(e2);
|
|
644
|
+
});
|
|
645
|
+
}
|
|
646
|
+
};
|
|
647
|
+
var ut = class extends p {
|
|
648
|
+
options;
|
|
649
|
+
cursor = 0;
|
|
650
|
+
get _selectedValue() {
|
|
651
|
+
return this.options[this.cursor];
|
|
652
|
+
}
|
|
653
|
+
changeValue() {
|
|
654
|
+
this.value = this._selectedValue.value;
|
|
655
|
+
}
|
|
656
|
+
constructor(t) {
|
|
657
|
+
super(t, false), this.options = t.options;
|
|
658
|
+
const s = this.options.findIndex(({ value: i }) => i === t.initialValue), e2 = s === -1 ? 0 : s;
|
|
659
|
+
this.cursor = this.options[e2].disabled ? d(e2, 1, this.options) : e2, this.changeValue(), this.on("cursor", (i) => {
|
|
660
|
+
switch (i) {
|
|
661
|
+
case "left":
|
|
662
|
+
case "up":
|
|
663
|
+
this.cursor = d(this.cursor, -1, this.options);
|
|
664
|
+
break;
|
|
665
|
+
case "down":
|
|
666
|
+
case "right":
|
|
667
|
+
this.cursor = d(this.cursor, 1, this.options);
|
|
668
|
+
break;
|
|
669
|
+
}
|
|
670
|
+
this.changeValue();
|
|
671
|
+
});
|
|
672
|
+
}
|
|
673
|
+
};
|
|
674
|
+
var ht = class extends p {
|
|
675
|
+
get userInputWithCursor() {
|
|
676
|
+
if (this.state === "submit") return this.userInput;
|
|
677
|
+
const t = this.userInput;
|
|
678
|
+
if (this.cursor >= t.length) return `${this.userInput}\u2588`;
|
|
679
|
+
const s = t.slice(0, this.cursor), [e2, ...i] = t.slice(this.cursor);
|
|
680
|
+
return `${s}${v("inverse", e2)}${i.join("")}`;
|
|
681
|
+
}
|
|
682
|
+
get cursor() {
|
|
683
|
+
return this._cursor;
|
|
684
|
+
}
|
|
685
|
+
constructor(t) {
|
|
686
|
+
super({ ...t, initialUserInput: t.initialUserInput ?? t.initialValue }), this.on("userInput", (s) => {
|
|
687
|
+
this._setValue(s);
|
|
688
|
+
}), this.on("finalize", () => {
|
|
689
|
+
this.value || (this.value = t.defaultValue), this.value === void 0 && (this.value = "");
|
|
690
|
+
});
|
|
691
|
+
}
|
|
692
|
+
};
|
|
693
|
+
|
|
694
|
+
// ../../node_modules/.bun/@clack+prompts@1.3.0/node_modules/@clack/prompts/dist/index.mjs
|
|
695
|
+
import { styleText as e, stripVTControlCharacters as nt2 } from "util";
|
|
696
|
+
import j2 from "process";
|
|
697
|
+
var import_sisteransi2 = __toESM(require_src(), 1);
|
|
698
|
+
import { existsSync as zt, lstatSync as wt, readdirSync as Qt } from "fs";
|
|
699
|
+
import { dirname as bt, join as Zt } from "path";
|
|
700
|
+
function te() {
|
|
701
|
+
return j2.platform !== "win32" ? j2.env.TERM !== "linux" : !!j2.env.CI || !!j2.env.WT_SESSION || !!j2.env.TERMINUS_SUBLIME || j2.env.ConEmuTask === "{cmd::Cmder}" || j2.env.TERM_PROGRAM === "Terminus-Sublime" || j2.env.TERM_PROGRAM === "vscode" || j2.env.TERM === "xterm-256color" || j2.env.TERM === "alacritty" || j2.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
|
|
702
|
+
}
|
|
703
|
+
var tt = te();
|
|
704
|
+
var at2 = () => process.env.CI === "true";
|
|
705
|
+
var w2 = (t, r) => tt ? t : r;
|
|
706
|
+
var _t = w2("\u25C6", "*");
|
|
707
|
+
var ot2 = w2("\u25A0", "x");
|
|
708
|
+
var ut2 = w2("\u25B2", "x");
|
|
709
|
+
var F = w2("\u25C7", "o");
|
|
710
|
+
var lt = w2("\u250C", "T");
|
|
711
|
+
var $ = w2("\u2502", "|");
|
|
712
|
+
var E2 = w2("\u2514", "\u2014");
|
|
713
|
+
var It = w2("\u2510", "T");
|
|
714
|
+
var Et = w2("\u2518", "\u2014");
|
|
715
|
+
var z2 = w2("\u25CF", ">");
|
|
716
|
+
var H = w2("\u25CB", " ");
|
|
717
|
+
var et2 = w2("\u25FB", "[\u2022]");
|
|
718
|
+
var U = w2("\u25FC", "[+]");
|
|
719
|
+
var J = w2("\u25FB", "[ ]");
|
|
720
|
+
var Gt = w2("\u25AA", "\u2022");
|
|
721
|
+
var st = w2("\u2500", "-");
|
|
722
|
+
var ct = w2("\u256E", "+");
|
|
723
|
+
var xt = w2("\u251C", "+");
|
|
724
|
+
var $t = w2("\u256F", "+");
|
|
725
|
+
var dt = w2("\u2570", "+");
|
|
726
|
+
var Ot = w2("\u256D", "+");
|
|
727
|
+
var ht2 = w2("\u25CF", "\u2022");
|
|
728
|
+
var pt = w2("\u25C6", "*");
|
|
729
|
+
var mt = w2("\u25B2", "!");
|
|
730
|
+
var gt = w2("\u25A0", "x");
|
|
731
|
+
var M = (t) => {
|
|
732
|
+
switch (t) {
|
|
733
|
+
case "initial":
|
|
734
|
+
case "active":
|
|
735
|
+
return e("cyan", _t);
|
|
736
|
+
case "cancel":
|
|
737
|
+
return e("red", ot2);
|
|
738
|
+
case "error":
|
|
739
|
+
return e("yellow", ut2);
|
|
740
|
+
case "submit":
|
|
741
|
+
return e("green", F);
|
|
742
|
+
}
|
|
743
|
+
};
|
|
744
|
+
var yt = (t) => {
|
|
745
|
+
switch (t) {
|
|
746
|
+
case "initial":
|
|
747
|
+
case "active":
|
|
748
|
+
return e("cyan", $);
|
|
749
|
+
case "cancel":
|
|
750
|
+
return e("red", $);
|
|
751
|
+
case "error":
|
|
752
|
+
return e("yellow", $);
|
|
753
|
+
case "submit":
|
|
754
|
+
return e("green", $);
|
|
755
|
+
}
|
|
756
|
+
};
|
|
757
|
+
var ee = (t, r, s, i, u) => {
|
|
758
|
+
let n = r, o = 0;
|
|
759
|
+
for (let c2 = s; c2 < i; c2++) {
|
|
760
|
+
const a = t[c2];
|
|
761
|
+
if (n = n - a.length, o++, n <= u) break;
|
|
762
|
+
}
|
|
763
|
+
return { lineCount: n, removals: o };
|
|
764
|
+
};
|
|
765
|
+
var Y2 = ({ cursor: t, options: r, style: s, output: i = process.stdout, maxItems: u = Number.POSITIVE_INFINITY, columnPadding: n = 0, rowPadding: o = 4 }) => {
|
|
766
|
+
const c2 = A(i) - n, a = L(i), l = e("dim", "..."), d2 = Math.max(a - o, 0), y = Math.max(Math.min(u, d2), 5);
|
|
767
|
+
let p2 = 0;
|
|
768
|
+
t >= y - 3 && (p2 = Math.max(Math.min(t - y + 3, r.length - y), 0));
|
|
769
|
+
let m = y < r.length && p2 > 0, g = y < r.length && p2 + y < r.length;
|
|
770
|
+
const S2 = Math.min(p2 + y, r.length), h2 = [];
|
|
771
|
+
let f = 0;
|
|
772
|
+
m && f++, g && f++;
|
|
773
|
+
const v2 = p2 + (m ? 1 : 0), T = S2 - (g ? 1 : 0);
|
|
774
|
+
for (let b2 = v2; b2 < T; b2++) {
|
|
775
|
+
const G2 = wrapAnsi(s(r[b2], b2 === t), c2, { hard: true, trim: false }).split(`
|
|
776
|
+
`);
|
|
777
|
+
h2.push(G2), f += G2.length;
|
|
778
|
+
}
|
|
779
|
+
if (f > d2) {
|
|
780
|
+
let b2 = 0, G2 = 0, x = f;
|
|
781
|
+
const A2 = t - v2, P = (N, D2) => ee(h2, x, N, D2, d2);
|
|
782
|
+
m ? ({ lineCount: x, removals: b2 } = P(0, A2), x > d2 && ({ lineCount: x, removals: G2 } = P(A2 + 1, h2.length))) : ({ lineCount: x, removals: G2 } = P(A2 + 1, h2.length), x > d2 && ({ lineCount: x, removals: b2 } = P(0, A2))), b2 > 0 && (m = true, h2.splice(0, b2)), G2 > 0 && (g = true, h2.splice(h2.length - G2, G2));
|
|
783
|
+
}
|
|
784
|
+
const C2 = [];
|
|
785
|
+
m && C2.push(l);
|
|
786
|
+
for (const b2 of h2) for (const G2 of b2) C2.push(G2);
|
|
787
|
+
return g && C2.push(l), C2;
|
|
788
|
+
};
|
|
789
|
+
var ue = (t) => {
|
|
790
|
+
const r = t.active ?? "Yes", s = t.inactive ?? "No";
|
|
791
|
+
return new X({ active: r, inactive: s, signal: t.signal, input: t.input, output: t.output, initialValue: t.initialValue ?? true, render() {
|
|
792
|
+
const i = t.withGuide ?? h.withGuide, u = `${M(this.state)} `, n = i ? `${e("gray", $)} ` : "", o = W(t.output, t.message, n, u), c2 = `${i ? `${e("gray", $)}
|
|
793
|
+
` : ""}${o}
|
|
794
|
+
`, a = this.value ? r : s;
|
|
795
|
+
switch (this.state) {
|
|
796
|
+
case "submit": {
|
|
797
|
+
const l = i ? `${e("gray", $)} ` : "";
|
|
798
|
+
return `${c2}${l}${e("dim", a)}`;
|
|
799
|
+
}
|
|
800
|
+
case "cancel": {
|
|
801
|
+
const l = i ? `${e("gray", $)} ` : "";
|
|
802
|
+
return `${c2}${l}${e(["strikethrough", "dim"], a)}${i ? `
|
|
803
|
+
${e("gray", $)}` : ""}`;
|
|
804
|
+
}
|
|
805
|
+
default: {
|
|
806
|
+
const l = i ? `${e("cyan", $)} ` : "", d2 = i ? e("cyan", E2) : "";
|
|
807
|
+
return `${c2}${l}${this.value ? `${e("green", z2)} ${r}` : `${e("dim", H)} ${e("dim", r)}`}${t.vertical ? i ? `
|
|
808
|
+
${e("cyan", $)} ` : `
|
|
809
|
+
` : ` ${e("dim", "/")} `}${this.value ? `${e("dim", H)} ${e("dim", s)}` : `${e("green", z2)} ${s}`}
|
|
810
|
+
${d2}
|
|
811
|
+
`;
|
|
812
|
+
}
|
|
813
|
+
}
|
|
814
|
+
} }).prompt();
|
|
815
|
+
};
|
|
816
|
+
var R2 = { message: (t = [], { symbol: r = e("gray", $), secondarySymbol: s = e("gray", $), output: i = process.stdout, spacing: u = 1, withGuide: n } = {}) => {
|
|
817
|
+
const o = [], c2 = n ?? h.withGuide, a = c2 ? s : "", l = c2 ? `${r} ` : "", d2 = c2 ? `${s} ` : "";
|
|
818
|
+
for (let p2 = 0; p2 < u; p2++) o.push(a);
|
|
819
|
+
const y = Array.isArray(t) ? t : t.split(`
|
|
820
|
+
`);
|
|
821
|
+
if (y.length > 0) {
|
|
822
|
+
const [p2, ...m] = y;
|
|
823
|
+
p2.length > 0 ? o.push(`${l}${p2}`) : o.push(c2 ? r : "");
|
|
824
|
+
for (const g of m) g.length > 0 ? o.push(`${d2}${g}`) : o.push(c2 ? s : "");
|
|
825
|
+
}
|
|
826
|
+
i.write(`${o.join(`
|
|
827
|
+
`)}
|
|
828
|
+
`);
|
|
829
|
+
}, info: (t, r) => {
|
|
830
|
+
R2.message(t, { ...r, symbol: e("blue", ht2) });
|
|
831
|
+
}, success: (t, r) => {
|
|
832
|
+
R2.message(t, { ...r, symbol: e("green", pt) });
|
|
833
|
+
}, step: (t, r) => {
|
|
834
|
+
R2.message(t, { ...r, symbol: e("green", F) });
|
|
835
|
+
}, warn: (t, r) => {
|
|
836
|
+
R2.message(t, { ...r, symbol: e("yellow", mt) });
|
|
837
|
+
}, warning: (t, r) => {
|
|
838
|
+
R2.warn(t, r);
|
|
839
|
+
}, error: (t, r) => {
|
|
840
|
+
R2.message(t, { ...r, symbol: e("red", gt) });
|
|
841
|
+
} };
|
|
842
|
+
var me = (t = "", r) => {
|
|
843
|
+
const s = r?.output ?? process.stdout, i = r?.withGuide ?? h.withGuide ? `${e("gray", E2)} ` : "";
|
|
844
|
+
s.write(`${i}${e("red", t)}
|
|
845
|
+
|
|
846
|
+
`);
|
|
847
|
+
};
|
|
848
|
+
var ge = (t = "", r) => {
|
|
849
|
+
const s = r?.output ?? process.stdout, i = r?.withGuide ?? h.withGuide ? `${e("gray", lt)} ` : "";
|
|
850
|
+
s.write(`${i}${t}
|
|
851
|
+
`);
|
|
852
|
+
};
|
|
853
|
+
var ye = (t = "", r) => {
|
|
854
|
+
const s = r?.output ?? process.stdout, i = r?.withGuide ?? h.withGuide ? `${e("gray", $)}
|
|
855
|
+
${e("gray", E2)} ` : "";
|
|
856
|
+
s.write(`${i}${t}
|
|
857
|
+
|
|
858
|
+
`);
|
|
859
|
+
};
|
|
860
|
+
var we = (t) => e("dim", t);
|
|
861
|
+
var be = (t, r, s) => {
|
|
862
|
+
const i = { hard: true, trim: false }, u = wrapAnsi(t, r, i).split(`
|
|
863
|
+
`), n = u.reduce((a, l) => Math.max(dist_default2(l), a), 0), o = u.map(s).reduce((a, l) => Math.max(dist_default2(l), a), 0), c2 = r - (o - n);
|
|
864
|
+
return wrapAnsi(t, c2, i);
|
|
865
|
+
};
|
|
866
|
+
var Se = (t = "", r = "", s) => {
|
|
867
|
+
const i = s?.output ?? j2.stdout, u = s?.withGuide ?? h.withGuide, n = s?.format ?? we, o = ["", ...be(t, A(i) - 6, n).split(`
|
|
868
|
+
`).map(n), ""], c2 = dist_default2(r), a = Math.max(o.reduce((p2, m) => {
|
|
869
|
+
const g = dist_default2(m);
|
|
870
|
+
return g > p2 ? g : p2;
|
|
871
|
+
}, 0), c2) + 2, l = o.map((p2) => `${e("gray", $)} ${p2}${" ".repeat(a - dist_default2(p2))}${e("gray", $)}`).join(`
|
|
872
|
+
`), d2 = u ? `${e("gray", $)}
|
|
873
|
+
` : "", y = u ? xt : dt;
|
|
874
|
+
i.write(`${d2}${e("green", F)} ${e("reset", r)} ${e("gray", st.repeat(Math.max(a - c2 - 1, 1)) + ct)}
|
|
875
|
+
${l}
|
|
876
|
+
${e("gray", y + st.repeat(a + 2) + $t)}
|
|
877
|
+
`);
|
|
878
|
+
};
|
|
879
|
+
var Ce = (t) => new ot({ validate: t.validate, mask: t.mask ?? Gt, signal: t.signal, input: t.input, output: t.output, render() {
|
|
880
|
+
const r = t.withGuide ?? h.withGuide, s = `${r ? `${e("gray", $)}
|
|
881
|
+
` : ""}${M(this.state)} ${t.message}
|
|
882
|
+
`, i = this.userInputWithCursor, u = this.masked;
|
|
883
|
+
switch (this.state) {
|
|
884
|
+
case "error": {
|
|
885
|
+
const n = r ? `${e("yellow", $)} ` : "", o = r ? `${e("yellow", E2)} ` : "", c2 = u ?? "";
|
|
886
|
+
return t.clearOnError && this.clear(), `${s.trim()}
|
|
887
|
+
${n}${c2}
|
|
888
|
+
${o}${e("yellow", this.error)}
|
|
889
|
+
`;
|
|
890
|
+
}
|
|
891
|
+
case "submit": {
|
|
892
|
+
const n = r ? `${e("gray", $)} ` : "", o = u ? e("dim", u) : "";
|
|
893
|
+
return `${s}${n}${o}`;
|
|
894
|
+
}
|
|
895
|
+
case "cancel": {
|
|
896
|
+
const n = r ? `${e("gray", $)} ` : "", o = u ? e(["strikethrough", "dim"], u) : "";
|
|
897
|
+
return `${s}${n}${o}${u && r ? `
|
|
898
|
+
${e("gray", $)}` : ""}`;
|
|
899
|
+
}
|
|
900
|
+
default: {
|
|
901
|
+
const n = r ? `${e("cyan", $)} ` : "", o = r ? e("cyan", E2) : "";
|
|
902
|
+
return `${s}${n}${i}
|
|
903
|
+
${o}
|
|
904
|
+
`;
|
|
905
|
+
}
|
|
906
|
+
}
|
|
907
|
+
} }).prompt();
|
|
908
|
+
var _e = (t) => e("magenta", t);
|
|
909
|
+
var ft = ({ indicator: t = "dots", onCancel: r, output: s = process.stdout, cancelMessage: i, errorMessage: u, frames: n = tt ? ["\u25D2", "\u25D0", "\u25D3", "\u25D1"] : ["\u2022", "o", "O", "0"], delay: o = tt ? 80 : 120, signal: c2, ...a } = {}) => {
|
|
910
|
+
const l = at2();
|
|
911
|
+
let d2, y, p2 = false, m = false, g = "", S2, h2 = performance.now();
|
|
912
|
+
const f = A(s), v2 = a?.styleFrame ?? _e, T = (I) => {
|
|
913
|
+
const V2 = I > 1 ? u ?? h.messages.error : i ?? h.messages.cancel;
|
|
914
|
+
m = I === 1, p2 && (W2(V2, I), m && typeof r == "function" && r());
|
|
915
|
+
}, C2 = () => T(2), b2 = () => T(1), G2 = () => {
|
|
916
|
+
process.on("uncaughtExceptionMonitor", C2), process.on("unhandledRejection", C2), process.on("SIGINT", b2), process.on("SIGTERM", b2), process.on("exit", T), c2 && c2.addEventListener("abort", b2);
|
|
917
|
+
}, x = () => {
|
|
918
|
+
process.removeListener("uncaughtExceptionMonitor", C2), process.removeListener("unhandledRejection", C2), process.removeListener("SIGINT", b2), process.removeListener("SIGTERM", b2), process.removeListener("exit", T), c2 && c2.removeEventListener("abort", b2);
|
|
919
|
+
}, A2 = () => {
|
|
920
|
+
if (S2 === void 0) return;
|
|
921
|
+
l && s.write(`
|
|
922
|
+
`);
|
|
923
|
+
const I = wrapAnsi(S2, f, { hard: true, trim: false }).split(`
|
|
924
|
+
`);
|
|
925
|
+
I.length > 1 && s.write(import_sisteransi2.cursor.up(I.length - 1)), s.write(import_sisteransi2.cursor.to(0)), s.write(import_sisteransi2.erase.down());
|
|
926
|
+
}, P = (I) => I.replace(/\.+$/, ""), N = (I) => {
|
|
927
|
+
const V2 = (performance.now() - I) / 1e3, B = Math.floor(V2 / 60), L2 = Math.floor(V2 % 60);
|
|
928
|
+
return B > 0 ? `[${B}m ${L2}s]` : `[${L2}s]`;
|
|
929
|
+
}, D2 = a.withGuide ?? h.withGuide, rt2 = (I = "") => {
|
|
930
|
+
p2 = true, d2 = R({ output: s }), g = P(I), h2 = performance.now(), D2 && s.write(`${e("gray", $)}
|
|
931
|
+
`);
|
|
932
|
+
let V2 = 0, B = 0;
|
|
933
|
+
G2(), y = setInterval(() => {
|
|
934
|
+
if (l && g === S2) return;
|
|
935
|
+
A2(), S2 = g;
|
|
936
|
+
const L2 = v2(n[V2]);
|
|
937
|
+
let Z;
|
|
938
|
+
if (l) Z = `${L2} ${g}...`;
|
|
939
|
+
else if (t === "timer") Z = `${L2} ${g} ${N(h2)}`;
|
|
940
|
+
else {
|
|
941
|
+
const kt = ".".repeat(Math.floor(B)).slice(0, 3);
|
|
942
|
+
Z = `${L2} ${g}${kt}`;
|
|
943
|
+
}
|
|
944
|
+
const Nt = wrapAnsi(Z, f, { hard: true, trim: false });
|
|
945
|
+
s.write(Nt), V2 = V2 + 1 < n.length ? V2 + 1 : 0, B = B < 4 ? B + 0.125 : 0;
|
|
946
|
+
}, o);
|
|
947
|
+
}, W2 = (I = "", V2 = 0, B = false) => {
|
|
948
|
+
if (!p2) return;
|
|
949
|
+
p2 = false, clearInterval(y), A2();
|
|
950
|
+
const L2 = V2 === 0 ? e("green", F) : V2 === 1 ? e("red", ot2) : e("red", ut2);
|
|
951
|
+
g = I ?? g, B || (t === "timer" ? s.write(`${L2} ${g} ${N(h2)}
|
|
952
|
+
`) : s.write(`${L2} ${g}
|
|
953
|
+
`)), x(), d2();
|
|
954
|
+
};
|
|
955
|
+
return { start: rt2, stop: (I = "") => W2(I, 0), message: (I = "") => {
|
|
956
|
+
g = P(I ?? g);
|
|
957
|
+
}, cancel: (I = "") => W2(I, 1), error: (I = "") => W2(I, 2), clear: () => W2("", 0, true), get isCancelled() {
|
|
958
|
+
return m;
|
|
959
|
+
} };
|
|
960
|
+
};
|
|
961
|
+
var Vt = { light: w2("\u2500", "-"), heavy: w2("\u2501", "="), block: w2("\u2588", "#") };
|
|
962
|
+
var it2 = (t, r) => t.includes(`
|
|
963
|
+
`) ? t.split(`
|
|
964
|
+
`).map((s) => r(s)).join(`
|
|
965
|
+
`) : r(t);
|
|
966
|
+
var Ee = (t) => {
|
|
967
|
+
const r = (s, i) => {
|
|
968
|
+
const u = s.label ?? String(s.value);
|
|
969
|
+
switch (i) {
|
|
970
|
+
case "disabled":
|
|
971
|
+
return `${e("gray", H)} ${it2(u, (n) => e("gray", n))}${s.hint ? ` ${e("dim", `(${s.hint ?? "disabled"})`)}` : ""}`;
|
|
972
|
+
case "selected":
|
|
973
|
+
return `${it2(u, (n) => e("dim", n))}`;
|
|
974
|
+
case "active":
|
|
975
|
+
return `${e("green", z2)} ${u}${s.hint ? ` ${e("dim", `(${s.hint})`)}` : ""}`;
|
|
976
|
+
case "cancelled":
|
|
977
|
+
return `${it2(u, (n) => e(["strikethrough", "dim"], n))}`;
|
|
978
|
+
default:
|
|
979
|
+
return `${e("dim", H)} ${it2(u, (n) => e("dim", n))}`;
|
|
980
|
+
}
|
|
981
|
+
};
|
|
982
|
+
return new ut({ options: t.options, signal: t.signal, input: t.input, output: t.output, initialValue: t.initialValue, render() {
|
|
983
|
+
const s = t.withGuide ?? h.withGuide, i = `${M(this.state)} `, u = `${yt(this.state)} `, n = W(t.output, t.message, u, i), o = `${s ? `${e("gray", $)}
|
|
984
|
+
` : ""}${n}
|
|
985
|
+
`;
|
|
986
|
+
switch (this.state) {
|
|
987
|
+
case "submit": {
|
|
988
|
+
const c2 = s ? `${e("gray", $)} ` : "", a = W(t.output, r(this.options[this.cursor], "selected"), c2);
|
|
989
|
+
return `${o}${a}`;
|
|
990
|
+
}
|
|
991
|
+
case "cancel": {
|
|
992
|
+
const c2 = s ? `${e("gray", $)} ` : "", a = W(t.output, r(this.options[this.cursor], "cancelled"), c2);
|
|
993
|
+
return `${o}${a}${s ? `
|
|
994
|
+
${e("gray", $)}` : ""}`;
|
|
995
|
+
}
|
|
996
|
+
default: {
|
|
997
|
+
const c2 = s ? `${e("cyan", $)} ` : "", a = s ? e("cyan", E2) : "", l = o.split(`
|
|
998
|
+
`).length, d2 = s ? 2 : 1;
|
|
999
|
+
return `${o}${c2}${Y2({ output: t.output, cursor: this.cursor, options: this.options, maxItems: t.maxItems, columnPadding: c2.length, rowPadding: l + d2, style: (y, p2) => r(y, y.disabled ? "disabled" : p2 ? "active" : "inactive") }).join(`
|
|
1000
|
+
${c2}`)}
|
|
1001
|
+
${a}
|
|
1002
|
+
`;
|
|
1003
|
+
}
|
|
1004
|
+
}
|
|
1005
|
+
} }).prompt();
|
|
1006
|
+
};
|
|
1007
|
+
var jt = `${e("gray", $)} `;
|
|
1008
|
+
var Re = (t) => new ht({ validate: t.validate, placeholder: t.placeholder, defaultValue: t.defaultValue, initialValue: t.initialValue, output: t.output, signal: t.signal, input: t.input, render() {
|
|
1009
|
+
const r = t?.withGuide ?? h.withGuide, s = `${`${r ? `${e("gray", $)}
|
|
1010
|
+
` : ""}${M(this.state)} `}${t.message}
|
|
1011
|
+
`, i = t.placeholder ? e("inverse", t.placeholder[0]) + e("dim", t.placeholder.slice(1)) : e(["inverse", "hidden"], "_"), u = this.userInput ? this.userInputWithCursor : i, n = this.value ?? "";
|
|
1012
|
+
switch (this.state) {
|
|
1013
|
+
case "error": {
|
|
1014
|
+
const o = this.error ? ` ${e("yellow", this.error)}` : "", c2 = r ? `${e("yellow", $)} ` : "", a = r ? e("yellow", E2) : "";
|
|
1015
|
+
return `${s.trim()}
|
|
1016
|
+
${c2}${u}
|
|
1017
|
+
${a}${o}
|
|
1018
|
+
`;
|
|
1019
|
+
}
|
|
1020
|
+
case "submit": {
|
|
1021
|
+
const o = n ? ` ${e("dim", n)}` : "", c2 = r ? e("gray", $) : "";
|
|
1022
|
+
return `${s}${c2}${o}`;
|
|
1023
|
+
}
|
|
1024
|
+
case "cancel": {
|
|
1025
|
+
const o = n ? ` ${e(["strikethrough", "dim"], n)}` : "", c2 = r ? e("gray", $) : "";
|
|
1026
|
+
return `${s}${c2}${o}${n.trim() ? `
|
|
1027
|
+
${c2}` : ""}`;
|
|
1028
|
+
}
|
|
1029
|
+
default: {
|
|
1030
|
+
const o = r ? `${e("cyan", $)} ` : "", c2 = r ? e("cyan", E2) : "";
|
|
1031
|
+
return `${s}${o}${u}
|
|
1032
|
+
${c2}
|
|
1033
|
+
`;
|
|
1034
|
+
}
|
|
1035
|
+
}
|
|
1036
|
+
} }).prompt();
|
|
1037
|
+
|
|
1038
|
+
// src/ui/prompts.ts
|
|
1039
|
+
import { stripVTControlCharacters } from "util";
|
|
1040
|
+
function confirmationRequired(command, hint) {
|
|
1041
|
+
throw new CliUsageError(
|
|
1042
|
+
`${command} asks for confirmation, and this run cannot answer a prompt.`,
|
|
1043
|
+
{
|
|
1044
|
+
hint
|
|
1045
|
+
}
|
|
1046
|
+
);
|
|
1047
|
+
}
|
|
1048
|
+
function assertCanPrompt() {
|
|
1049
|
+
if (!isUnattended()) return;
|
|
1050
|
+
throw new CliUsageError("This command asks a question, and this run cannot answer a prompt.", {
|
|
1051
|
+
hint: "Pass the answer as a flag; the command's --help lists them."
|
|
1052
|
+
});
|
|
1053
|
+
}
|
|
1054
|
+
function confirm(opts) {
|
|
1055
|
+
assertCanPrompt();
|
|
1056
|
+
return ue(opts);
|
|
1057
|
+
}
|
|
1058
|
+
function select(opts) {
|
|
1059
|
+
assertCanPrompt();
|
|
1060
|
+
return Ee(opts);
|
|
1061
|
+
}
|
|
1062
|
+
function text(opts) {
|
|
1063
|
+
assertCanPrompt();
|
|
1064
|
+
return Re(opts);
|
|
1065
|
+
}
|
|
1066
|
+
function password(opts) {
|
|
1067
|
+
assertCanPrompt();
|
|
1068
|
+
return Ce(opts);
|
|
1069
|
+
}
|
|
1070
|
+
function lineSpinner() {
|
|
1071
|
+
const say = (message) => {
|
|
1072
|
+
if (message) process.stderr.write(`${stripVTControlCharacters(message)}
|
|
1073
|
+
`);
|
|
1074
|
+
};
|
|
1075
|
+
return {
|
|
1076
|
+
start: () => {
|
|
1077
|
+
},
|
|
1078
|
+
message: () => {
|
|
1079
|
+
},
|
|
1080
|
+
stop: say,
|
|
1081
|
+
cancel: say,
|
|
1082
|
+
error: say,
|
|
1083
|
+
clear: () => {
|
|
1084
|
+
},
|
|
1085
|
+
isCancelled: false
|
|
1086
|
+
};
|
|
1087
|
+
}
|
|
1088
|
+
function spinner(opts) {
|
|
1089
|
+
return isUnattended() ? lineSpinner() : ft(opts);
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
export {
|
|
1093
|
+
q,
|
|
1094
|
+
R2 as R,
|
|
1095
|
+
me,
|
|
1096
|
+
ge,
|
|
1097
|
+
ye,
|
|
1098
|
+
Se,
|
|
1099
|
+
confirmationRequired,
|
|
1100
|
+
confirm,
|
|
1101
|
+
select,
|
|
1102
|
+
text,
|
|
1103
|
+
password,
|
|
1104
|
+
spinner
|
|
1105
|
+
};
|