@claudiolabs/claudin 1.1.12 → 1.1.13
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/README.md +3 -24
- package/dist/chunks/AgentTool-1.1.13-63r89cdz.mjs +1 -0
- package/dist/chunks/App-1.1.13-d46t1gxs.mjs +1 -0
- package/dist/chunks/ApproveApiKey-1.1.13-ss1skn67.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-1.1.13-akb18zhk.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-1.1.13-wy2pstpa.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-1.1.13-nrs4ahv7.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.13-p12n7vw3.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-1.1.13-tqx20akq.mjs +1 -0
- package/dist/chunks/DiffDialog-1.1.13-6nf4k00f.mjs +6 -0
- package/dist/chunks/Doctor-1.1.13-sab3pc3m.mjs +1 -0
- package/dist/chunks/ExplorerDialog-1.1.13-8j4yph77.mjs +6 -0
- package/dist/chunks/ITermBackend-1.1.13-ezctrhfh.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-1.1.13-fn55xkky.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-1.1.13-v601bm3n.mjs +1 -0
- package/dist/chunks/MigrationDialog-1.1.13-m30010yq.mjs +1 -0
- package/dist/chunks/Onboarding-1.1.13-r6p8ac38.mjs +1 -0
- package/dist/chunks/ProviderManager-1.1.13-2mn20qcd.mjs +1 -0
- package/dist/chunks/REPL-1.1.13-mn8t5yw9.mjs +1 -0
- package/dist/chunks/ResumeConversation-1.1.13-ayr9p9vf.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-1.1.13-wvmmeycx.mjs +1 -0
- package/dist/chunks/TeleportProgress-1.1.13-wy75ekbh.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.13-mbjqq83z.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-1.1.13-590kxc7c.mjs +1 -0
- package/dist/chunks/TmuxBackend-1.1.13-3z3twxzs.mjs +9 -0
- package/dist/chunks/ToolSearchTool-1.1.13-wzknhxkr.mjs +1 -0
- package/dist/chunks/TrustDialog-1.1.13-ev0qre9c.mjs +1 -0
- package/dist/chunks/activeProvider-1.1.13-mf4z3aws.mjs +1 -0
- package/dist/chunks/add-dir-1.1.13-r8re3j87.mjs +1 -0
- package/dist/chunks/agentTypes-1.1.13-nxkcga73.mjs +1 -0
- package/dist/chunks/agents-1.1.13-86a1wgye.mjs +110 -0
- package/dist/chunks/agents-1.1.13-w1pmkekd.mjs +3 -0
- package/dist/chunks/api-1.1.13-5ffq20rc.mjs +1 -0
- package/dist/chunks/asciicast-1.1.13-633wvh0n.mjs +1 -0
- package/dist/chunks/assistant-1.1.13-9q7zxtfz.mjs +1 -0
- package/dist/chunks/auth-1.1.13-a50e1ztc.mjs +1 -0
- package/dist/chunks/auth-1.1.13-xv576tj3.mjs +1 -0
- package/dist/chunks/autoMode-1.1.13-3n3c9p8y.mjs +48 -0
- package/dist/chunks/autoUpdater-1.1.13-mb65jkk5.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-1.1.13-avr9z4k0.mjs +1 -0
- package/dist/chunks/branch-1.1.13-gmg9we2y.mjs +4 -0
- package/dist/chunks/bridge-1.1.13-hvfvhpm1.mjs +2 -0
- package/dist/chunks/bridgeConfig-1.1.13-zzxf7mvh.mjs +1 -0
- package/dist/chunks/bridgeEnabled-1.1.13-f2fjmfs0.mjs +1 -0
- package/dist/chunks/bridgeMain-1.1.13-8tn5vy8z.mjs +88 -0
- package/dist/chunks/bridgePointer-1.1.13-97d9ec9y.mjs +1 -0
- package/dist/chunks/btw-1.1.13-v2hwppkk.mjs +1 -0
- package/dist/chunks/buddy-1.1.13-svfg8x3f.mjs +3 -0
- package/dist/chunks/cache-probe-1.1.13-td1bna05.mjs +21 -0
- package/dist/chunks/cacheStats-1.1.13-tmmf2k7r.mjs +4 -0
- package/dist/chunks/caches-1.1.13-s55yzhpm.mjs +1 -0
- package/dist/chunks/claudeDesktop-1.1.13-8d0bp8yb.mjs +1 -0
- package/dist/chunks/claudemd-1.1.13-3mc0z25q.mjs +1 -0
- package/dist/chunks/clear-1.1.13-1d9yvw3f.mjs +1 -0
- package/dist/chunks/clearTerminal-1.1.13-882kpw7s.mjs +1 -0
- package/dist/chunks/cli-1.1.13-03rdpsbf.mjs +2 -0
- package/dist/chunks/cli-1.1.13-0dha376x.mjs +3 -0
- package/dist/chunks/cli-1.1.13-0h48j6a1.mjs +7 -0
- package/dist/chunks/cli-1.1.13-0qy978b3.mjs +3 -0
- package/dist/chunks/cli-1.1.13-0x1mk1dp.mjs +2 -0
- package/dist/chunks/cli-1.1.13-0y4933cs.mjs +2 -0
- package/dist/chunks/cli-1.1.13-0yte5zpd.mjs +2 -0
- package/dist/chunks/cli-1.1.13-15nbdw38.mjs +2 -0
- package/dist/chunks/cli-1.1.13-17xy86gy.mjs +24 -0
- package/dist/chunks/cli-1.1.13-1d70jtz7.mjs +6 -0
- package/dist/chunks/cli-1.1.13-1frz0zm3.mjs +2 -0
- package/dist/chunks/cli-1.1.13-1jf910f2.mjs +2 -0
- package/dist/chunks/cli-1.1.13-1qk5qhgt.mjs +2 -0
- package/dist/chunks/cli-1.1.13-1rfveg0v.mjs +2 -0
- package/dist/chunks/cli-1.1.13-1x4z2mj8.mjs +2 -0
- package/dist/chunks/cli-1.1.13-24284zna.mjs +2 -0
- package/dist/chunks/cli-1.1.13-284pjmzy.mjs +4 -0
- package/dist/chunks/cli-1.1.13-2964cc2e.mjs +2 -0
- package/dist/chunks/cli-1.1.13-2a8k8qw7.mjs +2 -0
- package/dist/chunks/cli-1.1.13-2f0gzs1e.mjs +2 -0
- package/dist/chunks/cli-1.1.13-2m39r998.mjs +2 -0
- package/dist/chunks/cli-1.1.13-2mrqqgcm.mjs +202 -0
- package/dist/chunks/cli-1.1.13-2sx1bxbt.mjs +2 -0
- package/dist/chunks/cli-1.1.13-2txesqy8.mjs +2 -0
- package/dist/chunks/cli-1.1.13-3dmbtx8g.mjs +2 -0
- package/dist/chunks/cli-1.1.13-3wxfn6t5.mjs +2 -0
- package/dist/chunks/cli-1.1.13-46jvx14j.mjs +2 -0
- package/dist/chunks/cli-1.1.13-49gvv5kd.mjs +2 -0
- package/dist/chunks/cli-1.1.13-4tt8dq0e.mjs +42 -0
- package/dist/chunks/cli-1.1.13-4vt96sm8.mjs +2 -0
- package/dist/chunks/cli-1.1.13-53ght581.mjs +3 -0
- package/dist/chunks/cli-1.1.13-53zq1gs2.mjs +2 -0
- package/dist/chunks/cli-1.1.13-5kpppj1f.mjs +6 -0
- package/dist/chunks/cli-1.1.13-61mygvzg.mjs +2 -0
- package/dist/chunks/cli-1.1.13-64d0d5ye.mjs +2 -0
- package/dist/chunks/cli-1.1.13-65c7kxwt.mjs +12 -0
- package/dist/chunks/cli-1.1.13-669vhsjj.mjs +2 -0
- package/dist/chunks/cli-1.1.13-6727vw4f.mjs +2 -0
- package/dist/chunks/cli-1.1.13-6b845car.mjs +2 -0
- package/dist/chunks/cli-1.1.13-6c4qxmj3.mjs +4 -0
- package/dist/chunks/cli-1.1.13-6dcpjy34.mjs +17 -0
- package/dist/chunks/cli-1.1.13-6ebd7gpv.mjs +2 -0
- package/dist/chunks/cli-1.1.13-6jy1pnge.mjs +2 -0
- package/dist/chunks/cli-1.1.13-6k71beqh.mjs +2 -0
- package/dist/chunks/cli-1.1.13-6tf67wfm.mjs +2 -0
- package/dist/chunks/cli-1.1.13-74rczf0f.mjs +2 -0
- package/dist/chunks/cli-1.1.13-7h18kpv0.mjs +2 -0
- package/dist/chunks/cli-1.1.13-7k2bp2pf.mjs +2 -0
- package/dist/chunks/cli-1.1.13-7s34jqge.mjs +133 -0
- package/dist/chunks/cli-1.1.13-7srn3vy6.mjs +2 -0
- package/dist/chunks/cli-1.1.13-7wyfj1qp.mjs +2 -0
- package/dist/chunks/cli-1.1.13-82y6dszx.mjs +2 -0
- package/dist/chunks/cli-1.1.13-86kjp502.mjs +2 -0
- package/dist/chunks/cli-1.1.13-91q67gqp.mjs +2 -0
- package/dist/chunks/cli-1.1.13-9609q0ww.mjs +2 -0
- package/dist/chunks/cli-1.1.13-9ktdmvzq.mjs +15 -0
- package/dist/chunks/cli-1.1.13-9qhgyzkx.mjs +2 -0
- package/dist/chunks/cli-1.1.13-9s0arh3g.mjs +25 -0
- package/dist/chunks/cli-1.1.13-9v3mg87v.mjs +2 -0
- package/dist/chunks/cli-1.1.13-9x53mnyd.mjs +5 -0
- package/dist/chunks/cli-1.1.13-a3q7qm6t.mjs +2 -0
- package/dist/chunks/cli-1.1.13-a3s5tdea.mjs +2 -0
- package/dist/chunks/cli-1.1.13-a3zfe19b.mjs +25 -0
- package/dist/chunks/cli-1.1.13-a40ncbc3.mjs +2 -0
- package/dist/chunks/cli-1.1.13-a96dm0r5.mjs +4 -0
- package/dist/chunks/cli-1.1.13-aac9pss7.mjs +59 -0
- package/dist/chunks/cli-1.1.13-aeq919w1.mjs +2 -0
- package/dist/chunks/cli-1.1.13-aqph7zr1.mjs +2 -0
- package/dist/chunks/cli-1.1.13-ayx92dtj.mjs +6 -0
- package/dist/chunks/cli-1.1.13-b47k2p92.mjs +21 -0
- package/dist/chunks/cli-1.1.13-b9sg0jsz.mjs +2 -0
- package/dist/chunks/cli-1.1.13-baxww5k9.mjs +3 -0
- package/dist/chunks/cli-1.1.13-c4zxjf91.mjs +2 -0
- package/dist/chunks/cli-1.1.13-cd7jraqe.mjs +2 -0
- package/dist/chunks/cli-1.1.13-cey8v1xc.mjs +2 -0
- package/dist/chunks/cli-1.1.13-cg1m9a2x.mjs +2 -0
- package/dist/chunks/cli-1.1.13-ck2qzqbj.mjs +2 -0
- package/dist/chunks/cli-1.1.13-cm4vwx6e.mjs +2 -0
- package/dist/chunks/cli-1.1.13-cn9g3704.mjs +12 -0
- package/dist/chunks/cli-1.1.13-cqhxyzrd.mjs +2 -0
- package/dist/chunks/cli-1.1.13-d4z9sv3g.mjs +2 -0
- package/dist/chunks/cli-1.1.13-d54qh52e.mjs +3 -0
- package/dist/chunks/cli-1.1.13-d8d30wps.mjs +3 -0
- package/dist/chunks/cli-1.1.13-djvyb4s5.mjs +3 -0
- package/dist/chunks/cli-1.1.13-dpsjxc84.mjs +2 -0
- package/dist/chunks/cli-1.1.13-dthjfxxw.mjs +2 -0
- package/dist/chunks/cli-1.1.13-e4hsds4b.mjs +2 -0
- package/dist/chunks/cli-1.1.13-e4k7980n.mjs +2 -0
- package/dist/chunks/cli-1.1.13-e68npf24.mjs +2 -0
- package/dist/chunks/cli-1.1.13-ehaqachs.mjs +2 -0
- package/dist/chunks/cli-1.1.13-epjmphrz.mjs +133 -0
- package/dist/chunks/cli-1.1.13-ev08z5ye.mjs +24 -0
- package/dist/chunks/cli-1.1.13-ewxej7em.mjs +2 -0
- package/dist/chunks/cli-1.1.13-ey931psa.mjs +2 -0
- package/dist/chunks/cli-1.1.13-f5s7e6kg.mjs +2 -0
- package/dist/chunks/cli-1.1.13-far5gqfj.mjs +2 -0
- package/dist/chunks/cli-1.1.13-fccy9c48.mjs +2 -0
- package/dist/chunks/cli-1.1.13-fjxx2wgm.mjs +2 -0
- package/dist/chunks/cli-1.1.13-fkcaczca.mjs +2 -0
- package/dist/chunks/cli-1.1.13-fkvcsg0a.mjs +2 -0
- package/dist/chunks/cli-1.1.13-fr4zp0cx.mjs +3 -0
- package/dist/chunks/cli-1.1.13-g8k8na90.mjs +2 -0
- package/dist/chunks/cli-1.1.13-gaa8s22w.mjs +8 -0
- package/dist/chunks/cli-1.1.13-gechs2yp.mjs +4 -0
- package/dist/chunks/cli-1.1.13-gfyds6b8.mjs +18 -0
- package/dist/chunks/cli-1.1.13-gh95gh19.mjs +2 -0
- package/dist/chunks/cli-1.1.13-gmqmzw50.mjs +2 -0
- package/dist/chunks/cli-1.1.13-gzfw6n93.mjs +39 -0
- package/dist/chunks/cli-1.1.13-gznvgt6g.mjs +16 -0
- package/dist/chunks/cli-1.1.13-h1v6cap9.mjs +2 -0
- package/dist/chunks/cli-1.1.13-h7n0z0dz.mjs +2 -0
- package/dist/chunks/cli-1.1.13-h7xrb6x3.mjs +2 -0
- package/dist/chunks/cli-1.1.13-hb5bb8jk.mjs +3 -0
- package/dist/chunks/cli-1.1.13-hg8x8693.mjs +6 -0
- package/dist/chunks/cli-1.1.13-hzneg4va.mjs +2 -0
- package/dist/chunks/cli-1.1.13-j02dcs05.mjs +2 -0
- package/dist/chunks/cli-1.1.13-j7dbk8te.mjs +2 -0
- package/dist/chunks/cli-1.1.13-j98qjhp9.mjs +15 -0
- package/dist/chunks/cli-1.1.13-jdcqc6bd.mjs +2 -0
- package/dist/chunks/cli-1.1.13-je6371k7.mjs +2 -0
- package/dist/chunks/cli-1.1.13-jevpf9b3.mjs +2 -0
- package/dist/chunks/cli-1.1.13-k5sbyjwd.mjs +2 -0
- package/dist/chunks/cli-1.1.13-k6ef9cy7.mjs +34 -0
- package/dist/chunks/cli-1.1.13-kbf9vss4.mjs +4 -0
- package/dist/chunks/cli-1.1.13-kct81ph3.mjs +2 -0
- package/dist/chunks/cli-1.1.13-kjdr6edt.mjs +15 -0
- package/dist/chunks/cli-1.1.13-kmrz3wh8.mjs +2 -0
- package/dist/chunks/cli-1.1.13-kq8spsav.mjs +2 -0
- package/dist/chunks/cli-1.1.13-ksvd60yr.mjs +2 -0
- package/dist/chunks/cli-1.1.13-kw2fntc3.mjs +3 -0
- package/dist/chunks/cli-1.1.13-m5grg33r.mjs +4 -0
- package/dist/chunks/cli-1.1.13-mct1fasm.mjs +2 -0
- package/dist/chunks/cli-1.1.13-mt0y53s0.mjs +17 -0
- package/dist/chunks/cli-1.1.13-mzq23677.mjs +2 -0
- package/dist/chunks/cli-1.1.13-n24mxjbh.mjs +2 -0
- package/dist/chunks/cli-1.1.13-n8nv58q7.mjs +2 -0
- package/dist/chunks/cli-1.1.13-nbdp9ez1.mjs +3 -0
- package/dist/chunks/cli-1.1.13-nr09192d.mjs +2 -0
- package/dist/chunks/cli-1.1.13-pa4chrcw.mjs +2 -0
- package/dist/chunks/cli-1.1.13-pam922jf.mjs +2 -0
- package/dist/chunks/cli-1.1.13-pedv9sma.mjs +9 -0
- package/dist/chunks/cli-1.1.13-pjxb9g99.mjs +2 -0
- package/dist/chunks/cli-1.1.13-pmejqt4x.mjs +2 -0
- package/dist/chunks/cli-1.1.13-pscw4dkq.mjs +2 -0
- package/dist/chunks/cli-1.1.13-psmq4bkh.mjs +50 -0
- package/dist/chunks/cli-1.1.13-q1hx591h.mjs +2 -0
- package/dist/chunks/cli-1.1.13-q1yggv9b.mjs +2 -0
- package/dist/chunks/cli-1.1.13-qc5bvtyx.mjs +2 -0
- package/dist/chunks/cli-1.1.13-qd5r2qba.mjs +2 -0
- package/dist/chunks/cli-1.1.13-qhavh0s1.mjs +9 -0
- package/dist/chunks/cli-1.1.13-qr4adses.mjs +2 -0
- package/dist/chunks/cli-1.1.13-qtzpy08k.mjs +2 -0
- package/dist/chunks/cli-1.1.13-qv85wtc7.mjs +2 -0
- package/dist/chunks/cli-1.1.13-qxrjvprg.mjs +3 -0
- package/dist/chunks/cli-1.1.13-qyjx1fky.mjs +2 -0
- package/dist/chunks/cli-1.1.13-r2qnta4s.mjs +2 -0
- package/dist/chunks/cli-1.1.13-r4znfhyr.mjs +2 -0
- package/dist/chunks/cli-1.1.13-r9tfxszp.mjs +2 -0
- package/dist/chunks/cli-1.1.13-rcgr5xjp.mjs +1 -0
- package/dist/chunks/cli-1.1.13-rh27w2xj.mjs +24 -0
- package/dist/chunks/cli-1.1.13-rhtvcdjb.mjs +3 -0
- package/dist/chunks/cli-1.1.13-rmt4z6qm.mjs +2 -0
- package/dist/chunks/cli-1.1.13-rnajmfsp.mjs +2 -0
- package/dist/chunks/cli-1.1.13-rrp2vm36.mjs +2 -0
- package/dist/chunks/cli-1.1.13-segzta4x.mjs +2 -0
- package/dist/chunks/cli-1.1.13-shz97pa0.mjs +2 -0
- package/dist/chunks/cli-1.1.13-smefk747.mjs +2 -0
- package/dist/chunks/cli-1.1.13-snkbv1w2.mjs +2 -0
- package/dist/chunks/cli-1.1.13-sqg8rfkh.mjs +2 -0
- package/dist/chunks/cli-1.1.13-sycf9s0v.mjs +3 -0
- package/dist/chunks/cli-1.1.13-t4z97zfd.mjs +2 -0
- package/dist/chunks/cli-1.1.13-t8ypngwg.mjs +4 -0
- package/dist/chunks/cli-1.1.13-tma5xwa2.mjs +2 -0
- package/dist/chunks/cli-1.1.13-tx4y2gtw.mjs +2 -0
- package/dist/chunks/cli-1.1.13-tz8pn7w4.mjs +24 -0
- package/dist/chunks/cli-1.1.13-v06xvs9s.mjs +2 -0
- package/dist/chunks/cli-1.1.13-v2synpdg.mjs +2 -0
- package/dist/chunks/cli-1.1.13-v32emtk0.mjs +26 -0
- package/dist/chunks/cli-1.1.13-vm8xs878.mjs +3 -0
- package/dist/chunks/cli-1.1.13-vpgfmshm.mjs +4 -0
- package/dist/chunks/cli-1.1.13-vx6r9z72.mjs +45 -0
- package/dist/chunks/cli-1.1.13-vxpmt3js.mjs +66 -0
- package/dist/chunks/cli-1.1.13-wh5smpta.mjs +2 -0
- package/dist/chunks/cli-1.1.13-wje228e3.mjs +2 -0
- package/dist/chunks/cli-1.1.13-wmpc2gzg.mjs +2 -0
- package/dist/chunks/cli-1.1.13-wqteqtr2.mjs +2 -0
- package/dist/chunks/cli-1.1.13-ws1mny6h.mjs +58 -0
- package/dist/chunks/cli-1.1.13-x663d461.mjs +2 -0
- package/dist/chunks/cli-1.1.13-x79qava2.mjs +5413 -0
- package/dist/chunks/cli-1.1.13-x83epxhw.mjs +2 -0
- package/dist/chunks/cli-1.1.13-x92dpkgj.mjs +6 -0
- package/dist/chunks/cli-1.1.13-xbxnp58a.mjs +2 -0
- package/dist/chunks/cli-1.1.13-xjr3rwfq.mjs +6 -0
- package/dist/chunks/cli-1.1.13-xpwxcmvd.mjs +2 -0
- package/dist/chunks/cli-1.1.13-xqqf08vq.mjs +2 -0
- package/dist/chunks/cli-1.1.13-y5d299s9.mjs +2 -0
- package/dist/chunks/cli-1.1.13-y6pa258f.mjs +4 -0
- package/dist/chunks/cli-1.1.13-y6vdh2z1.mjs +2 -0
- package/dist/chunks/cli-1.1.13-ykzv8nyq.mjs +2 -0
- package/dist/chunks/cli-1.1.13-z39hx0gz.mjs +20 -0
- package/dist/chunks/cli-1.1.13-z3t7b0fc.mjs +2 -0
- package/dist/chunks/cli-1.1.13-z4p8zcbq.mjs +2 -0
- package/dist/chunks/cli-1.1.13-z9471mhs.mjs +4 -0
- package/dist/chunks/cli-1.1.13-zb95jpx7.mjs +4 -0
- package/dist/chunks/cli-1.1.13-zgnxf8h2.mjs +2 -0
- package/dist/chunks/cli-1.1.13-zmb192fn.mjs +18 -0
- package/dist/chunks/cli-1.1.13-zq5f89xg.mjs +5 -0
- package/dist/chunks/cli-1.1.13-zwkd4wt2.mjs +2 -0
- package/dist/chunks/client-1.1.13-6axfwqya.mjs +1 -0
- package/dist/chunks/color-1.1.13-g1rjvg86.mjs +1 -0
- package/dist/chunks/compact-1.1.13-9k4jts81.mjs +3 -0
- package/dist/chunks/config-1.1.13-58bj6t43.mjs +1 -0
- package/dist/chunks/config-1.1.13-csmwn3d0.mjs +1 -0
- package/dist/chunks/constants-1.1.13-cydjncsk.mjs +1 -0
- package/dist/chunks/context-1.1.13-04y3svxc.mjs +1 -0
- package/dist/chunks/context-noninteractive-1.1.13-03weyc85.mjs +1 -0
- package/dist/chunks/conversation-1.1.13-3e1jc3w3.mjs +1 -0
- package/dist/chunks/copilotHeaders-1.1.13-51e32r1x.mjs +1 -0
- package/dist/chunks/copy-1.1.13-4zq95frp.mjs +9 -0
- package/dist/chunks/cost-1.1.13-fwm0etgk.mjs +1 -0
- package/dist/chunks/createSSHSession-1.1.13-j73jx662.mjs +1 -0
- package/dist/chunks/createSession-1.1.13-2qt6zyq3.mjs +1 -0
- package/dist/chunks/debug-1.1.13-v33s5nkx.mjs +1 -0
- package/dist/chunks/defaultActionDeps-1.1.13-jyb9mebt.mjs +1526 -0
- package/dist/chunks/desktop-1.1.13-3pyvc57q.mjs +1 -0
- package/dist/chunks/detectRepository-1.1.13-c8evf71r.mjs +1 -0
- package/dist/chunks/detection-1.1.13-k5td7n26.mjs +1 -0
- package/dist/chunks/diff-1.1.13-d31m696z.mjs +1 -0
- package/dist/chunks/doctor-1.1.13-59947n3f.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-1.1.13-tvrr2smf.mjs +1 -0
- package/dist/chunks/earlyInput-1.1.13-yngv0q4n.mjs +1 -0
- package/dist/chunks/effort-1.1.13-mknzxvcm.mjs +13 -0
- package/dist/chunks/engine-1.1.13-p9g24e16.mjs +1 -0
- package/dist/chunks/envLessBridgeConfig-1.1.13-wvdxmeaw.mjs +1 -0
- package/dist/chunks/envUtils-1.1.13-v5y7eb11.mjs +1 -0
- package/dist/chunks/environmentSelection-1.1.13-5fx84mw2.mjs +1 -0
- package/dist/chunks/environments-1.1.13-dkqy0n2f.mjs +1 -0
- package/dist/chunks/errors-1.1.13-xf58n7yx.mjs +1 -0
- package/dist/chunks/exampleCommands-1.1.13-1mqkdys8.mjs +1 -0
- package/dist/chunks/execFileNoThrow-1.1.13-08pbvmpc.mjs +1 -0
- package/dist/chunks/exit-1.1.13-n91w8c6v.mjs +1 -0
- package/dist/chunks/explorer-1.1.13-zh3tbspv.mjs +1 -0
- package/dist/chunks/export-1.1.13-vgfr4wyy.mjs +2 -0
- package/dist/chunks/extra-usage-1.1.13-ww6z773x.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-1.1.13-sfm57e8v.mjs +1 -0
- package/dist/chunks/fast-1.1.13-2an1j0he.mjs +1 -0
- package/dist/chunks/feedback-1.1.13-dz4kng15.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-1.1.13-zdhe9x8w.mjs +1 -0
- package/dist/chunks/git-1.1.13-n4743t7m.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-1.1.13-39mkwpe0.mjs +1 -0
- package/dist/chunks/goal-1.1.13-kt16xsn7.mjs +4 -0
- package/dist/chunks/growthbook-1.1.13-12sbk0rh.mjs +1 -0
- package/dist/chunks/headless-1.1.13-me11khs4.mjs +2 -0
- package/dist/chunks/heapdump-1.1.13-2m1pfhn8.mjs +6 -0
- package/dist/chunks/help-1.1.13-sdyj6mfj.mjs +1 -0
- package/dist/chunks/hookChains-1.1.13-kwx32g3b.mjs +3 -0
- package/dist/chunks/hooks-1.1.13-cgr9s1yz.mjs +1 -0
- package/dist/chunks/hooks-1.1.13-rbvjw5bs.mjs +79 -0
- package/dist/chunks/ide-1.1.13-699b7xgf.mjs +3 -0
- package/dist/chunks/image-processor-napi-1.1.13-m17yzsrx.mjs +1 -0
- package/dist/chunks/inboundAttachments-1.1.13-x1sbkysh.mjs +1 -0
- package/dist/chunks/index-1.1.13-1magnv9t.mjs +1 -0
- package/dist/chunks/index-1.1.13-20fw0vyg.mjs +1 -0
- package/dist/chunks/index-1.1.13-3dw8qr3q.mjs +1 -0
- package/dist/chunks/index-1.1.13-5fffrw39.mjs +23 -0
- package/dist/chunks/index-1.1.13-7v1v2795.mjs +1 -0
- package/dist/chunks/index-1.1.13-89b63y1a.mjs +1 -0
- package/dist/chunks/index-1.1.13-9hmkds89.mjs +1 -0
- package/dist/chunks/index-1.1.13-gy0jpfpr.mjs +1 -0
- package/dist/chunks/index-1.1.13-hvpk64ts.mjs +9 -0
- package/dist/chunks/index-1.1.13-pfnaxhas.mjs +9 -0
- package/dist/chunks/index-1.1.13-pq81pd76.mjs +2 -0
- package/dist/chunks/index-1.1.13-q7xgkez4.mjs +1 -0
- package/dist/chunks/index-1.1.13-qed5hqgm.mjs +1 -0
- package/dist/chunks/index-1.1.13-qncvk76v.mjs +1 -0
- package/dist/chunks/index-1.1.13-qzm5brgp.mjs +2 -0
- package/dist/chunks/index-1.1.13-sqz3new4.mjs +1 -0
- package/dist/chunks/index-1.1.13-swwn9vsr.mjs +1 -0
- package/dist/chunks/index-1.1.13-tseyy72z.mjs +1 -0
- package/dist/chunks/index-1.1.13-v219xtkm.mjs +1 -0
- package/dist/chunks/index-1.1.13-vbws03kk.mjs +30 -0
- package/dist/chunks/index-1.1.13-vpewasbk.mjs +1 -0
- package/dist/chunks/index-1.1.13-yncdgpnc.mjs +5 -0
- package/dist/chunks/index-1.1.13-zs9h2fe1.mjs +1 -0
- package/dist/chunks/init-1.1.13-6m1d58s6.mjs +1 -0
- package/dist/chunks/initReplBridge-1.1.13-awvfmbnw.mjs +1 -0
- package/dist/chunks/ink-1.1.13-vsh153b4.mjs +1 -0
- package/dist/chunks/insights-1.1.13-q1te7p8c.mjs +870 -0
- package/dist/chunks/install-1.1.13-4m9h1gcp.mjs +1 -0
- package/dist/chunks/install-github-app-1.1.13-6psvvf35.mjs +149 -0
- package/dist/chunks/install-slack-app-1.1.13-rav6afh8.mjs +1 -0
- package/dist/chunks/instrumentation-1.1.13-8hhppwk0.mjs +1 -0
- package/dist/chunks/interactiveHelpers-1.1.13-18fm94xz.mjs +1 -0
- package/dist/chunks/keybindings-1.1.13-3k2cx6e8.mjs +2 -0
- package/dist/chunks/knowledge-1.1.13-v9293wfr.mjs +2 -0
- package/dist/chunks/latestVersionCache-1.1.13-1hy01yw3.mjs +1 -0
- package/dist/chunks/loadAgentsDir-1.1.13-gkw0j99z.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.1.13-mh4yata3.mjs +1 -0
- package/dist/chunks/log-1.1.13-j05vnw45.mjs +1 -0
- package/dist/chunks/main-1.1.13-9eb7dv86.mjs +1 -0
- package/dist/chunks/managedEnv-1.1.13-9ded70wd.mjs +1 -0
- package/dist/chunks/mcp-1.1.13-kp94f55t.mjs +1 -0
- package/dist/chunks/mcp-1.1.13-vyp2stqn.mjs +4 -0
- package/dist/chunks/mcp-1.1.13-xwk9expt.mjs +17 -0
- package/dist/chunks/mcpb-1.1.13-e4x7a1cq.mjs +1 -0
- package/dist/chunks/memory-1.1.13-xq6wwcec.mjs +72 -0
- package/dist/chunks/model-1.1.13-e9231b6a.mjs +2 -0
- package/dist/chunks/model-1.1.13-qkp6et1j.mjs +1 -0
- package/dist/chunks/node-1.1.13-eg9nzfxw.mjs +12 -0
- package/dist/chunks/oauth-1.1.13-65c8za8p.mjs +1 -0
- package/dist/chunks/openaiShim-1.1.13-9ym9m1mj.mjs +14 -0
- package/dist/chunks/output-style-1.1.13-3ew33fvw.mjs +1 -0
- package/dist/chunks/package-L37ZVTF4-1.1.13-53j92t2g.mjs +1 -0
- package/dist/chunks/parseConnectUrl-1.1.13-1jbm6fkk.mjs +1 -0
- package/dist/chunks/parser-1.1.13-5g8tytma.mjs +1 -0
- package/dist/chunks/passes-1.1.13-5xeg8jj4.mjs +1 -0
- package/dist/chunks/permissions-1.1.13-rtwebb2e.mjs +3 -0
- package/dist/chunks/permissions-1.1.13-tzfqtc98.mjs +1 -0
- package/dist/chunks/plan-1.1.13-fh6rsd03.mjs +1 -0
- package/dist/chunks/plist-1.1.13-4dh5ng03.mjs +1 -0
- package/dist/chunks/plugin-1.1.13-s7ah8dsz.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-1.1.13-yv5cavjc.mjs +1 -0
- package/dist/chunks/plugins-1.1.13-nbh7kt80.mjs +9 -0
- package/dist/chunks/preActionHook-1.1.13-364dz1r6.mjs +2 -0
- package/dist/chunks/print-1.1.13-cba5ekrx.mjs +57 -0
- package/dist/chunks/process-1.1.13-cavp5bw3.mjs +1 -0
- package/dist/chunks/processBashCommand-1.1.13-fxe0rhkm.mjs +1 -0
- package/dist/chunks/processSlashCommand-1.1.13-r4eqk2r6.mjs +9 -0
- package/dist/chunks/prompt-1.1.13-31mpaj7k.mjs +1 -0
- package/dist/chunks/prompt-1.1.13-ncxsva6c.mjs +1 -0
- package/dist/chunks/prompts-1.1.13-dhrj0hdm.mjs +1 -0
- package/dist/chunks/protocolHandler-1.1.13-gvd8r63q.mjs +13 -0
- package/dist/chunks/provider-1.1.13-aec8n85t.mjs +2 -0
- package/dist/chunks/providerProfiles-1.1.13-zy5qqb30.mjs +1 -0
- package/dist/chunks/providerValidation-1.1.13-cxfdm6ma.mjs +6 -0
- package/dist/chunks/rate-limit-options-1.1.13-v7dcfp2w.mjs +1 -0
- package/dist/chunks/registerSubcommands-1.1.13-w8vyweq5.mjs +26 -0
- package/dist/chunks/registry-1.1.13-0gr1a931.mjs +1 -0
- package/dist/chunks/release-notes-1.1.13-e00b70ja.mjs +5 -0
- package/dist/chunks/reload-plugins-1.1.13-sqy72754.mjs +2 -0
- package/dist/chunks/remote-env-1.1.13-xx2p7c0r.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-1.1.13-8aq4kysc.mjs +1 -0
- package/dist/chunks/remoteSession-1.1.13-pnkdpev8.mjs +1 -0
- package/dist/chunks/rename-1.1.13-7mj7635m.mjs +1 -0
- package/dist/chunks/replBridgeHandle-1.1.13-1jjw29zv.mjs +1 -0
- package/dist/chunks/replLauncher-1.1.13-r9abzwa5.mjs +1 -0
- package/dist/chunks/resume-1.1.13-j22aqaqb.mjs +2 -0
- package/dist/chunks/rewind-1.1.13-f1jde571.mjs +1 -0
- package/dist/chunks/rootOptions-1.1.13-m3dg8wsz.mjs +1 -0
- package/dist/chunks/runWorkflowHeadless-1.1.13-g7t752v0.mjs +10 -0
- package/dist/chunks/sandbox-adapter-1.1.13-8dyb4jrf.mjs +1 -0
- package/dist/chunks/sandbox-toggle-1.1.13-ns6smzfv.mjs +1 -0
- package/dist/chunks/session-1.1.13-je6e2q22.mjs +2 -0
- package/dist/chunks/sessionDiscovery-1.1.13-75db2930.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-1.1.13-8251mhbe.mjs +1 -0
- package/dist/chunks/sessionStorage-1.1.13-xg7nehyd.mjs +1 -0
- package/dist/chunks/settings-1.1.13-tbc6gf4g.mjs +1 -0
- package/dist/chunks/setup-1.1.13-pk56d4kg.mjs +5 -0
- package/dist/chunks/sinks-1.1.13-vgc4py0g.mjs +1 -0
- package/dist/chunks/skills-1.1.13-k0dra3w7.mjs +1 -0
- package/dist/chunks/startupProfiler-1.1.13-fvpsbvqy.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-1.1.13-v5fdv702.mjs +1 -0
- package/dist/chunks/state-1.1.13-m97vrspe.mjs +1 -0
- package/dist/chunks/stats-1.1.13-x2ranep4.mjs +6 -0
- package/dist/chunks/status-1.1.13-xv9dh6gx.mjs +1 -0
- package/dist/chunks/stickers-1.1.13-am6n03pg.mjs +1 -0
- package/dist/chunks/subprocessEnv-1.1.13-w3gcpn8h.mjs +1 -0
- package/dist/chunks/tasks-1.1.13-y9rjkzvh.mjs +1 -0
- package/dist/chunks/teamHelpers-1.1.13-paydek0r.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-1.1.13-w7zznyew.mjs +1 -0
- package/dist/chunks/teleport-1.1.13-fm868anx.mjs +1 -0
- package/dist/chunks/terminalSetup-1.1.13-nfx648p3.mjs +1 -0
- package/dist/chunks/theme-1.1.13-2a11bn8e.mjs +1 -0
- package/dist/chunks/thinkback-1.1.13-8a8pxp4f.mjs +1 -0
- package/dist/chunks/thinkback-play-1.1.13-0v3gmmaa.mjs +1 -0
- package/dist/chunks/toolPool-1.1.13-6pma3gae.mjs +1 -0
- package/dist/chunks/toolSearch-1.1.13-gmb9gs2k.mjs +1 -0
- package/dist/chunks/tools-1.1.13-pdnr83pg.mjs +1 -0
- package/dist/chunks/trustedDevice-1.1.13-82cy5yze.mjs +1 -0
- package/dist/chunks/turndown.cjs-1.1.13-bqqaen2x.mjs +69 -0
- package/dist/chunks/types-1.1.13-2f1xtenh.mjs +1 -0
- package/dist/chunks/ultrareviewCommand-1.1.13-89cvmahe.mjs +4 -0
- package/dist/chunks/update-1.1.13-0hd3pst5.mjs +72 -0
- package/dist/chunks/upgrade-1.1.13-3yjr0p81.mjs +1 -0
- package/dist/chunks/upload-1.1.13-kxah5qjz.mjs +7 -0
- package/dist/chunks/upstreamproxy-1.1.13-1jkww0dp.mjs +14 -0
- package/dist/chunks/url-handler-napi-1.1.13-xxqesd6p.mjs +1 -0
- package/dist/chunks/usage-1.1.13-mwqdp27m.mjs +1 -0
- package/dist/chunks/util-1.1.13-vzt92dj7.mjs +1 -0
- package/dist/chunks/utils-1.1.13-dw4qnd8d.mjs +1 -0
- package/dist/chunks/vim-1.1.13-1d635y0m.mjs +1 -0
- package/dist/chunks/watchLoop-1.1.13-dd5a4gny.mjs +13 -0
- package/dist/chunks/watcher-1.1.13-s8bc1gyy.mjs +1 -0
- package/dist/chunks/wiki-1.1.13-0j3t4xgh.mjs +132 -0
- package/dist/chunks/workflows-1.1.13-4jfegd8x.mjs +1 -0
- package/dist/chunks/worktree-1.1.13-t2dn2nay.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-1.1.13-sc9g7vcd.mjs +1 -0
- package/dist/chunks/wrapper-1.1.13-4tbb5aym.mjs +7 -0
- package/dist/cli.mjs +2 -2
- package/dist/help-agents.txt +1 -1
- package/dist/help-auth.txt +1 -1
- package/dist/help-auto-mode.txt +1 -1
- package/dist/help-doctor.txt +1 -1
- package/dist/help-install.txt +1 -1
- package/dist/help-mcp.txt +1 -1
- package/dist/help-plugin.txt +1 -1
- package/dist/help-plugins.txt +1 -1
- package/dist/help-setup-token.txt +1 -1
- package/dist/help-update.txt +1 -1
- package/dist/help-upgrade.txt +1 -1
- package/dist/help-workflow.txt +1 -1
- package/dist/help.txt +3 -4
- package/install.cjs +2 -2
- package/package.json +9 -9
- package/dist/chunks/AgentTool-1.1.12-z67tcj7m.mjs +0 -1
- package/dist/chunks/App-1.1.12-6m8fx08p.mjs +0 -1
- package/dist/chunks/ApproveApiKey-1.1.12-9rdxzxf0.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-1.1.12-6rckmhy4.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-1.1.12-xdatx4qm.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-1.1.12-p6nvmxpz.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.12-j1dkkgzh.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-1.1.12-9pjvfqhh.mjs +0 -1
- package/dist/chunks/DiffDialog-1.1.12-k3538pgr.mjs +0 -6
- package/dist/chunks/Doctor-1.1.12-8xnts7st.mjs +0 -1
- package/dist/chunks/ExplorerDialog-1.1.12-t2ees4c0.mjs +0 -6
- package/dist/chunks/Grove-1.1.12-z9nf34rs.mjs +0 -1
- package/dist/chunks/ITermBackend-1.1.12-dnkmjp57.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-1.1.12-hb5hwbwd.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-1.1.12-7q3pvsg2.mjs +0 -1
- package/dist/chunks/MigrationDialog-1.1.12-w85qg0sk.mjs +0 -1
- package/dist/chunks/Onboarding-1.1.12-3p5fgrdr.mjs +0 -1
- package/dist/chunks/ProviderManager-1.1.12-sqzzs4qj.mjs +0 -1
- package/dist/chunks/REPL-1.1.12-ejf4py4g.mjs +0 -1
- package/dist/chunks/ResumeConversation-1.1.12-z1gm7qjh.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-1.1.12-ktkjmqt0.mjs +0 -1
- package/dist/chunks/TeleportProgress-1.1.12-df4xpg25.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.12-2jttx03a.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-1.1.12-bsh7aza9.mjs +0 -1
- package/dist/chunks/TmuxBackend-1.1.12-1hm6hjzf.mjs +0 -9
- package/dist/chunks/ToolSearchTool-1.1.12-heqpnxfc.mjs +0 -1
- package/dist/chunks/TrustDialog-1.1.12-nqtr7drj.mjs +0 -1
- package/dist/chunks/activeProvider-1.1.12-36c5q5d7.mjs +0 -1
- package/dist/chunks/add-dir-1.1.12-4r3h4r9d.mjs +0 -1
- package/dist/chunks/agentTypes-1.1.12-xjtxhm9n.mjs +0 -1
- package/dist/chunks/agents-1.1.12-5a1wg8yy.mjs +0 -110
- package/dist/chunks/agents-1.1.12-yq791fds.mjs +0 -3
- package/dist/chunks/api-1.1.12-w7wkenbt.mjs +0 -1
- package/dist/chunks/asciicast-1.1.12-k7kngvg3.mjs +0 -1
- package/dist/chunks/assistant-1.1.12-n50thbh3.mjs +0 -1
- package/dist/chunks/auth-1.1.12-0qp19bt1.mjs +0 -1
- package/dist/chunks/auth-1.1.12-9a3a2p9d.mjs +0 -1
- package/dist/chunks/autoMode-1.1.12-zn10hew4.mjs +0 -48
- package/dist/chunks/autoUpdater-1.1.12-s1tcgwnw.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-1.1.12-6hfegmgt.mjs +0 -1
- package/dist/chunks/branch-1.1.12-92zy497f.mjs +0 -4
- package/dist/chunks/bridge-1.1.12-fmkkv0ft.mjs +0 -2
- package/dist/chunks/bridgeConfig-1.1.12-6ef9yk1w.mjs +0 -1
- package/dist/chunks/bridgeEnabled-1.1.12-h641n63k.mjs +0 -1
- package/dist/chunks/bridgeMain-1.1.12-4cgwnkv3.mjs +0 -88
- package/dist/chunks/bridgePointer-1.1.12-kfyejqjb.mjs +0 -1
- package/dist/chunks/btw-1.1.12-dnt55cvn.mjs +0 -1
- package/dist/chunks/buddy-1.1.12-2qy9cqkv.mjs +0 -3
- package/dist/chunks/cache-probe-1.1.12-y10v5wg0.mjs +0 -21
- package/dist/chunks/cacheStats-1.1.12-z78x71tj.mjs +0 -4
- package/dist/chunks/caches-1.1.12-rg9yrcpg.mjs +0 -1
- package/dist/chunks/claudeDesktop-1.1.12-4cwvvrgp.mjs +0 -1
- package/dist/chunks/claudemd-1.1.12-k6g88gh4.mjs +0 -1
- package/dist/chunks/clear-1.1.12-dbbxf36q.mjs +0 -1
- package/dist/chunks/clearTerminal-1.1.12-5t5v4w1p.mjs +0 -1
- package/dist/chunks/cli-1.1.12-03j3j1bx.mjs +0 -5
- package/dist/chunks/cli-1.1.12-03wcx04d.mjs +0 -4
- package/dist/chunks/cli-1.1.12-06rfexx7.mjs +0 -2
- package/dist/chunks/cli-1.1.12-074txgfh.mjs +0 -12
- package/dist/chunks/cli-1.1.12-0te4nxph.mjs +0 -3
- package/dist/chunks/cli-1.1.12-141j9tb0.mjs +0 -8
- package/dist/chunks/cli-1.1.12-14f97qyv.mjs +0 -2
- package/dist/chunks/cli-1.1.12-14n2vprd.mjs +0 -2
- package/dist/chunks/cli-1.1.12-1kpyfq9h.mjs +0 -3
- package/dist/chunks/cli-1.1.12-1n54vqtf.mjs +0 -1
- package/dist/chunks/cli-1.1.12-1v1j4j93.mjs +0 -2
- package/dist/chunks/cli-1.1.12-1w6d2zap.mjs +0 -3
- package/dist/chunks/cli-1.1.12-23j4qrhe.mjs +0 -24
- package/dist/chunks/cli-1.1.12-24hecrkb.mjs +0 -2
- package/dist/chunks/cli-1.1.12-2jkk9gdn.mjs +0 -2
- package/dist/chunks/cli-1.1.12-2nzqqw4h.mjs +0 -2
- package/dist/chunks/cli-1.1.12-2rsbwq0w.mjs +0 -2
- package/dist/chunks/cli-1.1.12-2sfgep06.mjs +0 -2
- package/dist/chunks/cli-1.1.12-30xcatmk.mjs +0 -2
- package/dist/chunks/cli-1.1.12-3avc8vy5.mjs +0 -2
- package/dist/chunks/cli-1.1.12-3nh3r36s.mjs +0 -2
- package/dist/chunks/cli-1.1.12-3rcvzpnf.mjs +0 -2
- package/dist/chunks/cli-1.1.12-3ytes8mc.mjs +0 -2
- package/dist/chunks/cli-1.1.12-4270h6mb.mjs +0 -2
- package/dist/chunks/cli-1.1.12-42p6d7f9.mjs +0 -2
- package/dist/chunks/cli-1.1.12-46wkbg3h.mjs +0 -24
- package/dist/chunks/cli-1.1.12-46xs6yv5.mjs +0 -2
- package/dist/chunks/cli-1.1.12-4q37r7c7.mjs +0 -2
- package/dist/chunks/cli-1.1.12-4v2wmqm5.mjs +0 -2
- package/dist/chunks/cli-1.1.12-4xwk18f5.mjs +0 -2
- package/dist/chunks/cli-1.1.12-52z4wbfk.mjs +0 -2
- package/dist/chunks/cli-1.1.12-53smjkkn.mjs +0 -2
- package/dist/chunks/cli-1.1.12-5c6amx7a.mjs +0 -2
- package/dist/chunks/cli-1.1.12-5dbxwy0d.mjs +0 -5408
- package/dist/chunks/cli-1.1.12-5ebdya2v.mjs +0 -2
- package/dist/chunks/cli-1.1.12-5epjf6b6.mjs +0 -2
- package/dist/chunks/cli-1.1.12-5n60hab1.mjs +0 -2
- package/dist/chunks/cli-1.1.12-5phn452s.mjs +0 -2
- package/dist/chunks/cli-1.1.12-5qar5rtd.mjs +0 -2
- package/dist/chunks/cli-1.1.12-5wda517s.mjs +0 -24
- package/dist/chunks/cli-1.1.12-6492m2bk.mjs +0 -3
- package/dist/chunks/cli-1.1.12-6h4jsnrb.mjs +0 -2
- package/dist/chunks/cli-1.1.12-6hs980bz.mjs +0 -4
- package/dist/chunks/cli-1.1.12-6kn2n3qt.mjs +0 -2
- package/dist/chunks/cli-1.1.12-6nk81f9n.mjs +0 -2
- package/dist/chunks/cli-1.1.12-6p7q4hd1.mjs +0 -3
- package/dist/chunks/cli-1.1.12-6w4t0de0.mjs +0 -66
- package/dist/chunks/cli-1.1.12-7009ycac.mjs +0 -2
- package/dist/chunks/cli-1.1.12-71evpmpb.mjs +0 -2
- package/dist/chunks/cli-1.1.12-7c33mey4.mjs +0 -17
- package/dist/chunks/cli-1.1.12-7fgcfdc9.mjs +0 -2
- package/dist/chunks/cli-1.1.12-7p6yz3vy.mjs +0 -2
- package/dist/chunks/cli-1.1.12-7v3c8nf8.mjs +0 -2
- package/dist/chunks/cli-1.1.12-7w47edrg.mjs +0 -2
- package/dist/chunks/cli-1.1.12-81527bdh.mjs +0 -2
- package/dist/chunks/cli-1.1.12-8e1x1ne0.mjs +0 -2
- package/dist/chunks/cli-1.1.12-8f8r3ncx.mjs +0 -6
- package/dist/chunks/cli-1.1.12-8fpt1x4e.mjs +0 -2
- package/dist/chunks/cli-1.1.12-8kym0ef6.mjs +0 -3
- package/dist/chunks/cli-1.1.12-8nsx4xmd.mjs +0 -2
- package/dist/chunks/cli-1.1.12-8vqxb580.mjs +0 -2
- package/dist/chunks/cli-1.1.12-916jr8n9.mjs +0 -3
- package/dist/chunks/cli-1.1.12-95neb0qs.mjs +0 -2
- package/dist/chunks/cli-1.1.12-9ebacb10.mjs +0 -2
- package/dist/chunks/cli-1.1.12-9f1q50xe.mjs +0 -5
- package/dist/chunks/cli-1.1.12-9rhhwnqq.mjs +0 -18
- package/dist/chunks/cli-1.1.12-9zcjp5sz.mjs +0 -25
- package/dist/chunks/cli-1.1.12-a5k4ztc0.mjs +0 -2
- package/dist/chunks/cli-1.1.12-aee47rfb.mjs +0 -2
- package/dist/chunks/cli-1.1.12-afkfmm9p.mjs +0 -4
- package/dist/chunks/cli-1.1.12-b2khpv7n.mjs +0 -2
- package/dist/chunks/cli-1.1.12-bc08z4xe.mjs +0 -2
- package/dist/chunks/cli-1.1.12-bjra5k78.mjs +0 -12
- package/dist/chunks/cli-1.1.12-bwz4w7h6.mjs +0 -2
- package/dist/chunks/cli-1.1.12-c2gz12r6.mjs +0 -6
- package/dist/chunks/cli-1.1.12-c2pssp70.mjs +0 -2
- package/dist/chunks/cli-1.1.12-c40rcer1.mjs +0 -133
- package/dist/chunks/cli-1.1.12-c4rttvkn.mjs +0 -6
- package/dist/chunks/cli-1.1.12-c5qeebez.mjs +0 -2
- package/dist/chunks/cli-1.1.12-c5qghmz7.mjs +0 -45
- package/dist/chunks/cli-1.1.12-cehv7hpf.mjs +0 -2
- package/dist/chunks/cli-1.1.12-cv3yy30x.mjs +0 -2
- package/dist/chunks/cli-1.1.12-cxgcszn5.mjs +0 -2
- package/dist/chunks/cli-1.1.12-d1nm8nza.mjs +0 -4
- package/dist/chunks/cli-1.1.12-d51fm3w8.mjs +0 -2
- package/dist/chunks/cli-1.1.12-d7rpenw1.mjs +0 -2
- package/dist/chunks/cli-1.1.12-dbebv805.mjs +0 -2
- package/dist/chunks/cli-1.1.12-ddtnjfs6.mjs +0 -2
- package/dist/chunks/cli-1.1.12-dgfste25.mjs +0 -3
- package/dist/chunks/cli-1.1.12-djycjsgd.mjs +0 -16
- package/dist/chunks/cli-1.1.12-dtv1b9yb.mjs +0 -2
- package/dist/chunks/cli-1.1.12-dyrae0ap.mjs +0 -17
- package/dist/chunks/cli-1.1.12-dz2c907x.mjs +0 -2
- package/dist/chunks/cli-1.1.12-e12y7jsd.mjs +0 -2
- package/dist/chunks/cli-1.1.12-ekjf9eqs.mjs +0 -2
- package/dist/chunks/cli-1.1.12-ep5dsvhp.mjs +0 -2
- package/dist/chunks/cli-1.1.12-eyp8nyhg.mjs +0 -9
- package/dist/chunks/cli-1.1.12-f9r3wz7j.mjs +0 -2
- package/dist/chunks/cli-1.1.12-fcmw5w0b.mjs +0 -2
- package/dist/chunks/cli-1.1.12-fhakaf4h.mjs +0 -2
- package/dist/chunks/cli-1.1.12-fkqwvtrq.mjs +0 -2
- package/dist/chunks/cli-1.1.12-fpn24m0s.mjs +0 -2
- package/dist/chunks/cli-1.1.12-fww07vcc.mjs +0 -20
- package/dist/chunks/cli-1.1.12-fx9tstdr.mjs +0 -4
- package/dist/chunks/cli-1.1.12-fy2fghxn.mjs +0 -6
- package/dist/chunks/cli-1.1.12-fzme9j9v.mjs +0 -2
- package/dist/chunks/cli-1.1.12-g42nmgyj.mjs +0 -2
- package/dist/chunks/cli-1.1.12-g74smv34.mjs +0 -2
- package/dist/chunks/cli-1.1.12-gcneaf27.mjs +0 -9
- package/dist/chunks/cli-1.1.12-gj4qv6k2.mjs +0 -2
- package/dist/chunks/cli-1.1.12-gj7b8n1z.mjs +0 -4
- package/dist/chunks/cli-1.1.12-gwf0e4mf.mjs +0 -2
- package/dist/chunks/cli-1.1.12-h7y15004.mjs +0 -21
- package/dist/chunks/cli-1.1.12-hg1d1fgx.mjs +0 -2
- package/dist/chunks/cli-1.1.12-hz5fe64e.mjs +0 -2
- package/dist/chunks/cli-1.1.12-j5w0mkzd.mjs +0 -2
- package/dist/chunks/cli-1.1.12-j66wgyhx.mjs +0 -2
- package/dist/chunks/cli-1.1.12-jcdbxf8s.mjs +0 -2
- package/dist/chunks/cli-1.1.12-jespejyn.mjs +0 -2
- package/dist/chunks/cli-1.1.12-jjjbjcg7.mjs +0 -2
- package/dist/chunks/cli-1.1.12-jv4zbbhn.mjs +0 -2
- package/dist/chunks/cli-1.1.12-k11knrs8.mjs +0 -2
- package/dist/chunks/cli-1.1.12-k27ty3ar.mjs +0 -2
- package/dist/chunks/cli-1.1.12-kdwqa420.mjs +0 -4
- package/dist/chunks/cli-1.1.12-kv8ajcy1.mjs +0 -6
- package/dist/chunks/cli-1.1.12-kzy42jsj.mjs +0 -2
- package/dist/chunks/cli-1.1.12-ma7hkjc4.mjs +0 -2
- package/dist/chunks/cli-1.1.12-mbz4shze.mjs +0 -133
- package/dist/chunks/cli-1.1.12-mc1t8ngb.mjs +0 -2
- package/dist/chunks/cli-1.1.12-mr8fpbax.mjs +0 -2
- package/dist/chunks/cli-1.1.12-mrjjav4s.mjs +0 -59
- package/dist/chunks/cli-1.1.12-n1489021.mjs +0 -24
- package/dist/chunks/cli-1.1.12-n32xbyrn.mjs +0 -3
- package/dist/chunks/cli-1.1.12-n7zph2hg.mjs +0 -2
- package/dist/chunks/cli-1.1.12-nfb55a30.mjs +0 -3
- package/dist/chunks/cli-1.1.12-nfqrrpxy.mjs +0 -2
- package/dist/chunks/cli-1.1.12-ngk7eqab.mjs +0 -2
- package/dist/chunks/cli-1.1.12-p4fz1xfs.mjs +0 -58
- package/dist/chunks/cli-1.1.12-ph37v1jt.mjs +0 -2
- package/dist/chunks/cli-1.1.12-pyh14x7q.mjs +0 -2
- package/dist/chunks/cli-1.1.12-q1ejgfk9.mjs +0 -2
- package/dist/chunks/cli-1.1.12-q6ks02c2.mjs +0 -2
- package/dist/chunks/cli-1.1.12-q8d5kbeh.mjs +0 -2
- package/dist/chunks/cli-1.1.12-qv15ch44.mjs +0 -2
- package/dist/chunks/cli-1.1.12-r39m68an.mjs +0 -12
- package/dist/chunks/cli-1.1.12-r8d25p10.mjs +0 -2
- package/dist/chunks/cli-1.1.12-ra14et4a.mjs +0 -2
- package/dist/chunks/cli-1.1.12-rambm7kx.mjs +0 -2
- package/dist/chunks/cli-1.1.12-rhbwxyg7.mjs +0 -2
- package/dist/chunks/cli-1.1.12-rn91dahv.mjs +0 -2
- package/dist/chunks/cli-1.1.12-rpazm264.mjs +0 -2
- package/dist/chunks/cli-1.1.12-rpfw7xpx.mjs +0 -18
- package/dist/chunks/cli-1.1.12-rz34q5jj.mjs +0 -2
- package/dist/chunks/cli-1.1.12-rz9vy1pm.mjs +0 -4
- package/dist/chunks/cli-1.1.12-saf4srq3.mjs +0 -2
- package/dist/chunks/cli-1.1.12-sj6ttn0z.mjs +0 -2
- package/dist/chunks/cli-1.1.12-sjzxt59x.mjs +0 -26
- package/dist/chunks/cli-1.1.12-sk6tjvhy.mjs +0 -15
- package/dist/chunks/cli-1.1.12-sn2zpx90.mjs +0 -2
- package/dist/chunks/cli-1.1.12-ss7r3f1r.mjs +0 -50
- package/dist/chunks/cli-1.1.12-swkg0qbh.mjs +0 -2
- package/dist/chunks/cli-1.1.12-t5bn5vd1.mjs +0 -2
- package/dist/chunks/cli-1.1.12-t72ybt8s.mjs +0 -2
- package/dist/chunks/cli-1.1.12-t7wqmksj.mjs +0 -2
- package/dist/chunks/cli-1.1.12-tnbdhy9q.mjs +0 -3
- package/dist/chunks/cli-1.1.12-tr130hgr.mjs +0 -2
- package/dist/chunks/cli-1.1.12-tyfp1v92.mjs +0 -2
- package/dist/chunks/cli-1.1.12-v395vz88.mjs +0 -202
- package/dist/chunks/cli-1.1.12-v6t5mf9a.mjs +0 -2
- package/dist/chunks/cli-1.1.12-v92yevq8.mjs +0 -2
- package/dist/chunks/cli-1.1.12-vf9e6229.mjs +0 -2
- package/dist/chunks/cli-1.1.12-vmt4b9p8.mjs +0 -2
- package/dist/chunks/cli-1.1.12-w03v7m0a.mjs +0 -3
- package/dist/chunks/cli-1.1.12-w367zd8v.mjs +0 -15
- package/dist/chunks/cli-1.1.12-w43nkerm.mjs +0 -2
- package/dist/chunks/cli-1.1.12-w85y45c2.mjs +0 -2
- package/dist/chunks/cli-1.1.12-w932xt3k.mjs +0 -2
- package/dist/chunks/cli-1.1.12-wffm9a57.mjs +0 -2
- package/dist/chunks/cli-1.1.12-wgwn4sap.mjs +0 -2
- package/dist/chunks/cli-1.1.12-wkfkz74f.mjs +0 -2
- package/dist/chunks/cli-1.1.12-x31de1c9.mjs +0 -2
- package/dist/chunks/cli-1.1.12-xa0wj1br.mjs +0 -4
- package/dist/chunks/cli-1.1.12-xgpj2nyq.mjs +0 -3
- package/dist/chunks/cli-1.1.12-xkbvk7gy.mjs +0 -2
- package/dist/chunks/cli-1.1.12-xnc015zw.mjs +0 -39
- package/dist/chunks/cli-1.1.12-xs6j60cr.mjs +0 -2
- package/dist/chunks/cli-1.1.12-xsn6jnhb.mjs +0 -2
- package/dist/chunks/cli-1.1.12-xstqyy5j.mjs +0 -2
- package/dist/chunks/cli-1.1.12-y138q38p.mjs +0 -2
- package/dist/chunks/cli-1.1.12-ydnrj62w.mjs +0 -2
- package/dist/chunks/cli-1.1.12-yefhww7n.mjs +0 -25
- package/dist/chunks/cli-1.1.12-yk347gmt.mjs +0 -7
- package/dist/chunks/cli-1.1.12-ym0xwz0f.mjs +0 -2
- package/dist/chunks/cli-1.1.12-ynj3kc2v.mjs +0 -4
- package/dist/chunks/cli-1.1.12-yppz4ya2.mjs +0 -15
- package/dist/chunks/cli-1.1.12-ytbvkdpk.mjs +0 -2
- package/dist/chunks/cli-1.1.12-yy8193ev.mjs +0 -2
- package/dist/chunks/cli-1.1.12-z3m10b9z.mjs +0 -2
- package/dist/chunks/cli-1.1.12-z6ysegyx.mjs +0 -2
- package/dist/chunks/cli-1.1.12-zc3ybemp.mjs +0 -3
- package/dist/chunks/cli-1.1.12-zcapjmh1.mjs +0 -34
- package/dist/chunks/cli-1.1.12-zdc0tyd1.mjs +0 -4
- package/dist/chunks/cli-1.1.12-zdsde34g.mjs +0 -42
- package/dist/chunks/cli-1.1.12-zm8dmy4y.mjs +0 -2
- package/dist/chunks/cli-1.1.12-zntk4z6s.mjs +0 -2
- package/dist/chunks/cli-1.1.12-zpcxbqx6.mjs +0 -2
- package/dist/chunks/cli-1.1.12-zpzh9jxt.mjs +0 -2
- package/dist/chunks/cli-1.1.12-zrye84ef.mjs +0 -6
- package/dist/chunks/cli-1.1.12-zvv4a1gt.mjs +0 -2
- package/dist/chunks/cli-1.1.12-zx5fc844.mjs +0 -3
- package/dist/chunks/client-1.1.12-vcr1mkrr.mjs +0 -1
- package/dist/chunks/color-1.1.12-ct9ya3mq.mjs +0 -1
- package/dist/chunks/compact-1.1.12-6r7bss38.mjs +0 -3
- package/dist/chunks/config-1.1.12-qqtdd7an.mjs +0 -1
- package/dist/chunks/config-1.1.12-y8t2tjqd.mjs +0 -1
- package/dist/chunks/constants-1.1.12-cm63efby.mjs +0 -1
- package/dist/chunks/context-1.1.12-ygn6bxv9.mjs +0 -1
- package/dist/chunks/context-noninteractive-1.1.12-hgswa08e.mjs +0 -1
- package/dist/chunks/conversation-1.1.12-tphkevth.mjs +0 -1
- package/dist/chunks/copilotHeaders-1.1.12-829bfs3w.mjs +0 -1
- package/dist/chunks/copy-1.1.12-r9n6a65j.mjs +0 -9
- package/dist/chunks/cost-1.1.12-n2rdrg20.mjs +0 -1
- package/dist/chunks/createSSHSession-1.1.12-egtd3eaw.mjs +0 -1
- package/dist/chunks/createSession-1.1.12-7gxk01sr.mjs +0 -1
- package/dist/chunks/debug-1.1.12-b6cytcv1.mjs +0 -1
- package/dist/chunks/defaultActionDeps-1.1.12-rgcrme58.mjs +0 -1526
- package/dist/chunks/desktop-1.1.12-eckskas4.mjs +0 -1
- package/dist/chunks/detectRepository-1.1.12-ratnwpjs.mjs +0 -1
- package/dist/chunks/detection-1.1.12-395de1na.mjs +0 -1
- package/dist/chunks/diff-1.1.12-7fqs95xh.mjs +0 -1
- package/dist/chunks/doctor-1.1.12-xfvdw00n.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-1.1.12-tx9s23b0.mjs +0 -1
- package/dist/chunks/earlyInput-1.1.12-61wn1eaf.mjs +0 -1
- package/dist/chunks/effort-1.1.12-5q04d93m.mjs +0 -13
- package/dist/chunks/engine-1.1.12-8xkrm2vj.mjs +0 -1
- package/dist/chunks/envLessBridgeConfig-1.1.12-75x734zy.mjs +0 -1
- package/dist/chunks/envUtils-1.1.12-r6n7156t.mjs +0 -1
- package/dist/chunks/environmentSelection-1.1.12-x8tyrfwf.mjs +0 -1
- package/dist/chunks/environments-1.1.12-dcnn1d4j.mjs +0 -1
- package/dist/chunks/errors-1.1.12-nwhp3qgf.mjs +0 -1
- package/dist/chunks/exampleCommands-1.1.12-hwkpkwfe.mjs +0 -1
- package/dist/chunks/execFileNoThrow-1.1.12-y0sj5esm.mjs +0 -1
- package/dist/chunks/exit-1.1.12-gxfn9nw3.mjs +0 -1
- package/dist/chunks/explorer-1.1.12-jcxv04by.mjs +0 -1
- package/dist/chunks/export-1.1.12-zxnph32a.mjs +0 -2
- package/dist/chunks/extra-usage-1.1.12-7w75gnnp.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-1.1.12-n12v83qy.mjs +0 -1
- package/dist/chunks/fast-1.1.12-371erhxm.mjs +0 -1
- package/dist/chunks/feedback-1.1.12-s34ps1x1.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-1.1.12-0ncbc73w.mjs +0 -1
- package/dist/chunks/git-1.1.12-wxtpf7pf.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-1.1.12-tttfpren.mjs +0 -1
- package/dist/chunks/goal-1.1.12-800r9esg.mjs +0 -4
- package/dist/chunks/grove-1.1.12-hv4r4hb8.mjs +0 -1
- package/dist/chunks/growthbook-1.1.12-wxg22631.mjs +0 -1
- package/dist/chunks/headless-1.1.12-w864zwd1.mjs +0 -2
- package/dist/chunks/heapdump-1.1.12-3jwp0863.mjs +0 -6
- package/dist/chunks/help-1.1.12-kzvzc554.mjs +0 -1
- package/dist/chunks/hookChains-1.1.12-fkv0v6gn.mjs +0 -3
- package/dist/chunks/hooks-1.1.12-p4z7dnw6.mjs +0 -79
- package/dist/chunks/hooks-1.1.12-xchahxt5.mjs +0 -1
- package/dist/chunks/ide-1.1.12-d8rscp4q.mjs +0 -3
- package/dist/chunks/image-processor-napi-1.1.12-s674xy0j.mjs +0 -1
- package/dist/chunks/inboundAttachments-1.1.12-x8zn544c.mjs +0 -1
- package/dist/chunks/index-1.1.12-02zxjhq3.mjs +0 -1
- package/dist/chunks/index-1.1.12-1vh2ahxx.mjs +0 -1
- package/dist/chunks/index-1.1.12-2pstq7tv.mjs +0 -9
- package/dist/chunks/index-1.1.12-3dbbn7w7.mjs +0 -1
- package/dist/chunks/index-1.1.12-5a7hynt4.mjs +0 -1
- package/dist/chunks/index-1.1.12-5mfghyec.mjs +0 -1
- package/dist/chunks/index-1.1.12-6vq9c1cr.mjs +0 -1
- package/dist/chunks/index-1.1.12-7p2zkyey.mjs +0 -1
- package/dist/chunks/index-1.1.12-7vsfkxfa.mjs +0 -2
- package/dist/chunks/index-1.1.12-9kvmaraj.mjs +0 -23
- package/dist/chunks/index-1.1.12-c8fpc37f.mjs +0 -1
- package/dist/chunks/index-1.1.12-d9r4f332.mjs +0 -1
- package/dist/chunks/index-1.1.12-earg3m7e.mjs +0 -1
- package/dist/chunks/index-1.1.12-es1dys6g.mjs +0 -1
- package/dist/chunks/index-1.1.12-nghq39nb.mjs +0 -1
- package/dist/chunks/index-1.1.12-pbgc1mh4.mjs +0 -1
- package/dist/chunks/index-1.1.12-py9kpda6.mjs +0 -30
- package/dist/chunks/index-1.1.12-q0mp0qzt.mjs +0 -1
- package/dist/chunks/index-1.1.12-rw9g1s3p.mjs +0 -5
- package/dist/chunks/index-1.1.12-s6pbqjnw.mjs +0 -1
- package/dist/chunks/index-1.1.12-sbwkw323.mjs +0 -1
- package/dist/chunks/index-1.1.12-x2xqtds2.mjs +0 -9
- package/dist/chunks/index-1.1.12-yqxq96cy.mjs +0 -2
- package/dist/chunks/init-1.1.12-t8gxxp63.mjs +0 -1
- package/dist/chunks/initReplBridge-1.1.12-bvd6m3pc.mjs +0 -1
- package/dist/chunks/ink-1.1.12-c5se9pvd.mjs +0 -1
- package/dist/chunks/insights-1.1.12-5keqwf7b.mjs +0 -870
- package/dist/chunks/install-1.1.12-623af2vt.mjs +0 -1
- package/dist/chunks/install-github-app-1.1.12-e87ed92t.mjs +0 -149
- package/dist/chunks/install-slack-app-1.1.12-v4bew01g.mjs +0 -1
- package/dist/chunks/instrumentation-1.1.12-0c5g9078.mjs +0 -1
- package/dist/chunks/interactiveHelpers-1.1.12-2qc63t4e.mjs +0 -1
- package/dist/chunks/keybindings-1.1.12-a0tmf36r.mjs +0 -2
- package/dist/chunks/knowledge-1.1.12-363c6h7r.mjs +0 -2
- package/dist/chunks/latestVersionCache-1.1.12-fqjqfvtm.mjs +0 -1
- package/dist/chunks/loadAgentsDir-1.1.12-ybqbmem8.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.1.12-0szntw6f.mjs +0 -1
- package/dist/chunks/log-1.1.12-qb76ahe6.mjs +0 -1
- package/dist/chunks/main-1.1.12-e4jqmbqy.mjs +0 -1
- package/dist/chunks/managedEnv-1.1.12-gn8k7e7q.mjs +0 -1
- package/dist/chunks/mcp-1.1.12-79yf4k4w.mjs +0 -4
- package/dist/chunks/mcp-1.1.12-f2qmv0zk.mjs +0 -1
- package/dist/chunks/mcp-1.1.12-zfjm905b.mjs +0 -17
- package/dist/chunks/mcpb-1.1.12-5ce16qgj.mjs +0 -1
- package/dist/chunks/memory-1.1.12-d08yzqtm.mjs +0 -72
- package/dist/chunks/model-1.1.12-cba9df5d.mjs +0 -1
- package/dist/chunks/model-1.1.12-qqs773ew.mjs +0 -2
- package/dist/chunks/node-1.1.12-rvzx843p.mjs +0 -12
- package/dist/chunks/oauth-1.1.12-fktc2gey.mjs +0 -1
- package/dist/chunks/openaiShim-1.1.12-fhkx69xv.mjs +0 -14
- package/dist/chunks/output-style-1.1.12-t539nvk9.mjs +0 -1
- package/dist/chunks/package-L37ZVTF4-1.1.12-fhh7sea5.mjs +0 -1
- package/dist/chunks/parseConnectUrl-1.1.12-98w20c9k.mjs +0 -1
- package/dist/chunks/parser-1.1.12-zafdjj8h.mjs +0 -1
- package/dist/chunks/passes-1.1.12-cfx78b3r.mjs +0 -1
- package/dist/chunks/permissions-1.1.12-7v81g5xj.mjs +0 -3
- package/dist/chunks/permissions-1.1.12-8r0rwpj3.mjs +0 -1
- package/dist/chunks/plan-1.1.12-68zd5zhz.mjs +0 -1
- package/dist/chunks/plist-1.1.12-qbs00pf8.mjs +0 -1
- package/dist/chunks/plugin-1.1.12-thq4hntn.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-1.1.12-ewtmw9rh.mjs +0 -1
- package/dist/chunks/plugins-1.1.12-3cv1cq26.mjs +0 -9
- package/dist/chunks/preActionHook-1.1.12-d2y5qxhy.mjs +0 -2
- package/dist/chunks/print-1.1.12-28d4f6k1.mjs +0 -57
- package/dist/chunks/privacy-settings-1.1.12-b9svr4k8.mjs +0 -1
- package/dist/chunks/process-1.1.12-chcr08qr.mjs +0 -1
- package/dist/chunks/processBashCommand-1.1.12-d1yg1qp9.mjs +0 -1
- package/dist/chunks/processSlashCommand-1.1.12-yh9sm9jn.mjs +0 -9
- package/dist/chunks/prompt-1.1.12-eqqsbefq.mjs +0 -1
- package/dist/chunks/prompt-1.1.12-my1cpxq3.mjs +0 -1
- package/dist/chunks/prompts-1.1.12-xznb2ad4.mjs +0 -1
- package/dist/chunks/protocolHandler-1.1.12-40y37me1.mjs +0 -13
- package/dist/chunks/provider-1.1.12-8tmes6kx.mjs +0 -2
- package/dist/chunks/providerProfiles-1.1.12-k7xhy2fd.mjs +0 -1
- package/dist/chunks/providerValidation-1.1.12-yshek88b.mjs +0 -6
- package/dist/chunks/rate-limit-options-1.1.12-gxbek2zs.mjs +0 -1
- package/dist/chunks/registerSubcommands-1.1.12-s1q5g1ny.mjs +0 -34
- package/dist/chunks/registry-1.1.12-wkqn4ts6.mjs +0 -1
- package/dist/chunks/release-notes-1.1.12-qfbyqd13.mjs +0 -5
- package/dist/chunks/reload-plugins-1.1.12-5my0jgr4.mjs +0 -2
- package/dist/chunks/remote-env-1.1.12-wz3p1bq9.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-1.1.12-anebgzqr.mjs +0 -1
- package/dist/chunks/remoteSession-1.1.12-4622xyt5.mjs +0 -1
- package/dist/chunks/rename-1.1.12-tqghxn33.mjs +0 -1
- package/dist/chunks/replBridgeHandle-1.1.12-qc15dz9b.mjs +0 -1
- package/dist/chunks/replLauncher-1.1.12-s2k2vt3c.mjs +0 -1
- package/dist/chunks/resume-1.1.12-ryzpjeqs.mjs +0 -2
- package/dist/chunks/rewind-1.1.12-1fe45fnp.mjs +0 -1
- package/dist/chunks/rootOptions-1.1.12-bxwa8e9d.mjs +0 -1
- package/dist/chunks/runWorkflowHeadless-1.1.12-8arepd3m.mjs +0 -10
- package/dist/chunks/sandbox-adapter-1.1.12-y5vfwm88.mjs +0 -1
- package/dist/chunks/sandbox-toggle-1.1.12-bmqzjkd8.mjs +0 -1
- package/dist/chunks/session-1.1.12-55r46xq4.mjs +0 -2
- package/dist/chunks/sessionDiscovery-1.1.12-dyw8e5zx.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-1.1.12-xy8msffh.mjs +0 -1
- package/dist/chunks/sessionStorage-1.1.12-wt7grqer.mjs +0 -1
- package/dist/chunks/settings-1.1.12-qw143rxg.mjs +0 -1
- package/dist/chunks/setup-1.1.12-0vs8v1y9.mjs +0 -5
- package/dist/chunks/sinks-1.1.12-b8md831f.mjs +0 -1
- package/dist/chunks/skills-1.1.12-8axg6568.mjs +0 -1
- package/dist/chunks/startupProfiler-1.1.12-m1fc0a1m.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-1.1.12-4p3bf4ag.mjs +0 -1
- package/dist/chunks/state-1.1.12-ckqt4tjb.mjs +0 -1
- package/dist/chunks/stats-1.1.12-wf77dajm.mjs +0 -6
- package/dist/chunks/status-1.1.12-901ytber.mjs +0 -1
- package/dist/chunks/stickers-1.1.12-aebpa8cn.mjs +0 -1
- package/dist/chunks/subprocessEnv-1.1.12-r8kpq95b.mjs +0 -1
- package/dist/chunks/tasks-1.1.12-gmrvpykv.mjs +0 -1
- package/dist/chunks/teamHelpers-1.1.12-xyywtqtf.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-1.1.12-njh39thh.mjs +0 -1
- package/dist/chunks/teleport-1.1.12-rh5bkep5.mjs +0 -1
- package/dist/chunks/terminalSetup-1.1.12-ct6aey8w.mjs +0 -1
- package/dist/chunks/theme-1.1.12-t5254zeg.mjs +0 -1
- package/dist/chunks/thinkback-1.1.12-z360yz4z.mjs +0 -1
- package/dist/chunks/thinkback-play-1.1.12-y1wq3m6b.mjs +0 -1
- package/dist/chunks/toolPool-1.1.12-p38eypkj.mjs +0 -1
- package/dist/chunks/toolSearch-1.1.12-1tghfpxm.mjs +0 -1
- package/dist/chunks/tools-1.1.12-ajkb4njh.mjs +0 -1
- package/dist/chunks/trustedDevice-1.1.12-yjnkzy41.mjs +0 -1
- package/dist/chunks/turndown.cjs-1.1.12-3hpr7sds.mjs +0 -69
- package/dist/chunks/types-1.1.12-p981e2xb.mjs +0 -1
- package/dist/chunks/ultrareviewCommand-1.1.12-mvab53j9.mjs +0 -4
- package/dist/chunks/update-1.1.12-tnmfcwxb.mjs +0 -72
- package/dist/chunks/upgrade-1.1.12-d1wcx9qz.mjs +0 -1
- package/dist/chunks/upload-1.1.12-pdryb6wx.mjs +0 -7
- package/dist/chunks/upstreamproxy-1.1.12-96ye5mxn.mjs +0 -14
- package/dist/chunks/url-handler-napi-1.1.12-d3qb4n7w.mjs +0 -1
- package/dist/chunks/usage-1.1.12-rbb8qhyy.mjs +0 -1
- package/dist/chunks/util-1.1.12-dmfb6s9t.mjs +0 -1
- package/dist/chunks/utils-1.1.12-aqwbefma.mjs +0 -1
- package/dist/chunks/vim-1.1.12-750k4yz3.mjs +0 -1
- package/dist/chunks/watchLoop-1.1.12-ex8pbh7f.mjs +0 -13
- package/dist/chunks/watcher-1.1.12-jnj825rr.mjs +0 -1
- package/dist/chunks/wiki-1.1.12-pqmnnn75.mjs +0 -132
- package/dist/chunks/workflows-1.1.12-81m0dz4r.mjs +0 -1
- package/dist/chunks/worktree-1.1.12-fnr58dd9.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-1.1.12-m3y6kfsn.mjs +0 -1
- package/dist/chunks/wrapper-1.1.12-gz9canae.mjs +0 -7
- /package/dist/chunks/{cli-1.1.12-r3fqsq5b.mjs → cli-1.1.13-8812dqjq.mjs} +0 -0
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import{j_ as as}from"./cli-1.1.12-6492m2bk.mjs";import{Nsa as Du,Osa as uu,Psa as os,Qsa as Jc}from"./cli-1.1.12-eyp8nyhg.mjs";import{Tsa as Vi,Usa as mt,Vsa as Ct,Wsa as zn,Xsa as Ee,Ysa as pe}from"./cli-1.1.12-7c33mey4.mjs";import{$sa as $,cta as ht}from"./cli-1.1.12-2nzqqw4h.mjs";var Rn=$((xe)=>{Object.defineProperty(xe,"__esModule",{value:!0});xe.resolveHttpHandlerRuntimeConfig=xe.getHttpHandlerExtensionConfiguration=xe.isValidHostname=xe.HttpResponse=xe.HttpRequest=xe.Fields=xe.Field=void 0;var ze=pe();Object.defineProperty(xe,"Field",{enumerable:!0,get:function(){return ze.Field}});Object.defineProperty(xe,"Fields",{enumerable:!0,get:function(){return ze.Fields}});Object.defineProperty(xe,"HttpRequest",{enumerable:!0,get:function(){return ze.HttpRequest}});Object.defineProperty(xe,"HttpResponse",{enumerable:!0,get:function(){return ze.HttpResponse}});Object.defineProperty(xe,"isValidHostname",{enumerable:!0,get:function(){return ze.isValidHostname}});Object.defineProperty(xe,"getHttpHandlerExtensionConfiguration",{enumerable:!0,get:function(){return ze.getHttpHandlerExtensionConfiguration}});Object.defineProperty(xe,"resolveHttpHandlerRuntimeConfig",{enumerable:!0,get:function(){return ze.resolveHttpHandlerRuntimeConfig}})});var Na=$((ma)=>{var da=Rn();function fa(e){return e}var Dn=(e)=>(t)=>async(i)=>{if(!da.HttpRequest.isInstance(i.request))return t(i);let{request:s}=i,{handlerProtocol:c=""}=e.requestHandler.metadata||{};if(c.indexOf("h2")>=0&&!s.headers[":authority"])delete s.headers.host,s.headers[":authority"]=s.hostname+(s.port?":"+s.port:"");else if(!s.headers.host){let o=s.hostname;if(s.port!=null)o+=`:${s.port}`;s.headers.host=o}return t(i)},Mn={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"],override:!0},pa=(e)=>({applyToStack:(t)=>{t.add(Dn(e),Mn)}});ma.getHostHeaderPlugin=pa;ma.hostHeaderMiddleware=Dn;ma.hostHeaderMiddlewareOptions=Mn;ma.resolveHostHeaderConfig=fa});var Oa=$((xa)=>{var jn=()=>(e,t)=>async(i)=>{try{let s=await e(i),{clientName:c,commandName:o,logger:a,dynamoDbDocumentClientOptions:l={}}=t,{overrideInputFilterSensitiveLog:f,overrideOutputFilterSensitiveLog:m}=l,g=f??t.inputFilterSensitiveLog,b=m??t.outputFilterSensitiveLog,{$metadata:w,..._}=s.output;return a?.info?.({clientName:c,commandName:o,input:g(i.input),output:b(_),metadata:w}),s}catch(s){let{clientName:c,commandName:o,logger:a,dynamoDbDocumentClientOptions:l={}}=t,{overrideInputFilterSensitiveLog:f}=l,m=f??t.inputFilterSensitiveLog;throw a?.error?.({clientName:c,commandName:o,input:m(i.input),error:s,metadata:s.$metadata}),s}},Ln={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize",override:!0},wa=(e)=>({applyToStack:(t)=>{t.add(jn(),Ln)}});xa.getLoggerPlugin=wa;xa.loggerMiddleware=jn;xa.loggerMiddlewareOptions=Ln});var Hn=$((Pa)=>{var lt={REQUEST_ID:Symbol.for("_AWS_LAMBDA_REQUEST_ID"),X_RAY_TRACE_ID:Symbol.for("_AWS_LAMBDA_X_RAY_TRACE_ID"),TENANT_ID:Symbol.for("_AWS_LAMBDA_TENANT_ID")},cr=["true","1"].includes(process.env?.AWS_LAMBDA_NODEJS_NO_GLOBAL_AWSLAMBDA??"");if(!cr)globalThis.awslambda=globalThis.awslambda||{};class Pt{static PROTECTED_KEYS=lt;isProtectedKey(e){return Object.values(lt).includes(e)}getRequestId(){return this.get(lt.REQUEST_ID)??"-"}getXRayTraceId(){return this.get(lt.X_RAY_TRACE_ID)}getTenantId(){return this.get(lt.TENANT_ID)}}class $n extends Pt{currentContext;getContext(){return this.currentContext}hasContext(){return this.currentContext!==void 0}get(e){return this.currentContext?.[e]}set(e,t){if(this.isProtectedKey(e))throw Error(`Cannot modify protected Lambda context field: ${String(e)}`);this.currentContext=this.currentContext||{},this.currentContext[e]=t}run(e,t){return this.currentContext=e,t()}}class hr extends Pt{als;static async create(){let e=new hr,t=await import("node:async_hooks");return e.als=new t.AsyncLocalStorage,e}getContext(){return this.als.getStore()}hasContext(){return this.als.getStore()!==void 0}get(e){return this.als.getStore()?.[e]}set(e,t){if(this.isProtectedKey(e))throw Error(`Cannot modify protected Lambda context field: ${String(e)}`);let i=this.als.getStore();if(!i)throw Error("No context available");i[e]=t}run(e,t){return this.als.run(e,t)}}Pa.InvokeStore=void 0;(function(e){let t=null;async function i(s){if(!t)t=(async()=>{let o=s===!0||"AWS_LAMBDA_MAX_CONCURRENCY"in process.env?await hr.create():new $n;if(!cr&&globalThis.awslambda?.InvokeStore)return globalThis.awslambda.InvokeStore;else if(!cr&&globalThis.awslambda)return globalThis.awslambda.InvokeStore=o,o;else return o})();return t}e.getInstanceAsync=i,e._testing=process.env.AWS_LAMBDA_BENCHMARK_MODE==="1"?{reset:()=>{if(t=null,globalThis.awslambda?.InvokeStore)delete globalThis.awslambda.InvokeStore;globalThis.awslambda={InvokeStore:void 0}}}:void 0})(Pa.InvokeStore||(Pa.InvokeStore={}));Pa.InvokeStoreBase=Pt});var Un=$((Se)=>{Object.defineProperty(Se,"__esModule",{value:!0});Se.resolveHttpHandlerRuntimeConfig=Se.getHttpHandlerExtensionConfiguration=Se.isValidHostname=Se.HttpResponse=Se.HttpRequest=Se.Fields=Se.Field=void 0;var qe=pe();Object.defineProperty(Se,"Field",{enumerable:!0,get:function(){return qe.Field}});Object.defineProperty(Se,"Fields",{enumerable:!0,get:function(){return qe.Fields}});Object.defineProperty(Se,"HttpRequest",{enumerable:!0,get:function(){return qe.HttpRequest}});Object.defineProperty(Se,"HttpResponse",{enumerable:!0,get:function(){return qe.HttpResponse}});Object.defineProperty(Se,"isValidHostname",{enumerable:!0,get:function(){return qe.isValidHostname}});Object.defineProperty(Se,"getHttpHandlerExtensionConfiguration",{enumerable:!0,get:function(){return qe.getHttpHandlerExtensionConfiguration}});Object.defineProperty(Se,"resolveHttpHandlerRuntimeConfig",{enumerable:!0,get:function(){return qe.resolveHttpHandlerRuntimeConfig}})});var Vn=$((Fn)=>{Object.defineProperty(Fn,"__esModule",{value:!0});Fn.recursionDetectionMiddleware=void 0;var Ia=Hn(),Ra=Un(),dr="X-Amzn-Trace-Id",Da="AWS_LAMBDA_FUNCTION_NAME",Ma="_X_AMZN_TRACE_ID",ja=()=>(e)=>async(t)=>{let{request:i}=t;if(!Ra.HttpRequest.isInstance(i))return e(t);let s=Object.keys(i.headers??{}).find((g)=>g.toLowerCase()===dr.toLowerCase())??dr;if(i.headers.hasOwnProperty(s))return e(t);let c=process.env[Da],o=process.env[Ma],f=(await Ia.InvokeStore.getInstanceAsync())?.getXRayTraceId()??o,m=(g)=>typeof g==="string"&&g.length>0;if(m(c)&&m(f))i.headers[dr]=f;return e({...t,request:i})};Fn.recursionDetectionMiddleware=ja});var Ua=$((ft)=>{var dt=Vn(),La={step:"build",tags:["RECURSION_DETECTION"],name:"recursionDetectionMiddleware",override:!0,priority:"low"},$a=(e)=>({applyToStack:(t)=>{t.add(dt.recursionDetectionMiddleware(),La)}});ft.getRecursionDetectionPlugin=$a;Object.prototype.hasOwnProperty.call(dt,"__proto__")&&!Object.prototype.hasOwnProperty.call(ft,"__proto__")&&Object.defineProperty(ft,"__proto__",{enumerable:!0,value:dt.__proto__});Object.keys(dt).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(ft,e))ft[e]=dt[e]})});var qn=$((ye)=>{Object.defineProperty(ye,"__esModule",{value:!0});ye.EndpointError=ye.resolveEndpoint=ye.customEndpointFunctions=ye.isValidHostLabel=ye.isIpAddress=ye.decideEndpoint=ye.EndpointCache=ye.BinaryDecisionDiagram=void 0;var Me=zn();Object.defineProperty(ye,"BinaryDecisionDiagram",{enumerable:!0,get:function(){return Me.BinaryDecisionDiagram}});Object.defineProperty(ye,"EndpointCache",{enumerable:!0,get:function(){return Me.EndpointCache}});Object.defineProperty(ye,"decideEndpoint",{enumerable:!0,get:function(){return Me.decideEndpoint}});Object.defineProperty(ye,"isIpAddress",{enumerable:!0,get:function(){return Me.isIpAddress}});Object.defineProperty(ye,"isValidHostLabel",{enumerable:!0,get:function(){return Me.isValidHostLabel}});Object.defineProperty(ye,"customEndpointFunctions",{enumerable:!0,get:function(){return Me.customEndpointFunctions}});Object.defineProperty(ye,"resolveEndpoint",{enumerable:!0,get:function(){return Me.resolveEndpoint}});Object.defineProperty(ye,"EndpointError",{enumerable:!0,get:function(){return Me.EndpointError}})});var Xn=$((fr)=>{Object.defineProperty(fr,"__esModule",{value:!0});fr.parseUrl=void 0;var Ba=pe();Object.defineProperty(fr,"parseUrl",{enumerable:!0,get:function(){return Ba.parseUrl}})});var es=$((Ya)=>{var ve=qn(),za=Xn(),kn=(e,t=!1)=>{if(t){for(let i of e.split("."))if(!kn(i))return!1;return!0}if(!ve.isValidHostLabel(e))return!1;if(e.length<3||e.length>63)return!1;if(e!==e.toLowerCase())return!1;if(ve.isIpAddress(e))return!1;return!0},Gn=":",qa="/",Xa=(e)=>{let t=e.split(Gn);if(t.length<6)return null;let[i,s,c,o,a,...l]=t;if(i!=="arn"||s===""||c===""||l.join(Gn)==="")return null;let f=l.map((m)=>m.split(qa)).flat();return{partition:s,service:c,region:o,accountId:a,resourceId:f}},Ga=[{id:"aws",outputs:{dnsSuffix:"amazonaws.com",dualStackDnsSuffix:"api.aws",implicitGlobalRegion:"us-east-1",name:"aws",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^(us|eu|ap|sa|ca|me|af|il|mx)\\-\\w+\\-\\d+$",regions:{"af-south-1":{description:"Africa (Cape Town)"},"ap-east-1":{description:"Asia Pacific (Hong Kong)"},"ap-east-2":{description:"Asia Pacific (Taipei)"},"ap-northeast-1":{description:"Asia Pacific (Tokyo)"},"ap-northeast-2":{description:"Asia Pacific (Seoul)"},"ap-northeast-3":{description:"Asia Pacific (Osaka)"},"ap-south-1":{description:"Asia Pacific (Mumbai)"},"ap-south-2":{description:"Asia Pacific (Hyderabad)"},"ap-southeast-1":{description:"Asia Pacific (Singapore)"},"ap-southeast-2":{description:"Asia Pacific (Sydney)"},"ap-southeast-3":{description:"Asia Pacific (Jakarta)"},"ap-southeast-4":{description:"Asia Pacific (Melbourne)"},"ap-southeast-5":{description:"Asia Pacific (Malaysia)"},"ap-southeast-6":{description:"Asia Pacific (New Zealand)"},"ap-southeast-7":{description:"Asia Pacific (Thailand)"},"aws-global":{description:"aws global region"},"ca-central-1":{description:"Canada (Central)"},"ca-west-1":{description:"Canada West (Calgary)"},"eu-central-1":{description:"Europe (Frankfurt)"},"eu-central-2":{description:"Europe (Zurich)"},"eu-north-1":{description:"Europe (Stockholm)"},"eu-south-1":{description:"Europe (Milan)"},"eu-south-2":{description:"Europe (Spain)"},"eu-west-1":{description:"Europe (Ireland)"},"eu-west-2":{description:"Europe (London)"},"eu-west-3":{description:"Europe (Paris)"},"il-central-1":{description:"Israel (Tel Aviv)"},"me-central-1":{description:"Middle East (UAE)"},"me-south-1":{description:"Middle East (Bahrain)"},"mx-central-1":{description:"Mexico (Central)"},"sa-east-1":{description:"South America (Sao Paulo)"},"us-east-1":{description:"US East (N. Virginia)"},"us-east-2":{description:"US East (Ohio)"},"us-west-1":{description:"US West (N. California)"},"us-west-2":{description:"US West (Oregon)"}}},{id:"aws-cn",outputs:{dnsSuffix:"amazonaws.com.cn",dualStackDnsSuffix:"api.amazonwebservices.com.cn",implicitGlobalRegion:"cn-northwest-1",name:"aws-cn",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^cn\\-\\w+\\-\\d+$",regions:{"aws-cn-global":{description:"aws-cn global region"},"cn-north-1":{description:"China (Beijing)"},"cn-northwest-1":{description:"China (Ningxia)"}}},{id:"aws-eusc",outputs:{dnsSuffix:"amazonaws.eu",dualStackDnsSuffix:"api.amazonwebservices.eu",implicitGlobalRegion:"eusc-de-east-1",name:"aws-eusc",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^eusc\\-(de)\\-\\w+\\-\\d+$",regions:{"eusc-de-east-1":{description:"AWS European Sovereign Cloud (Germany)"}}},{id:"aws-iso",outputs:{dnsSuffix:"c2s.ic.gov",dualStackDnsSuffix:"api.aws.ic.gov",implicitGlobalRegion:"us-iso-east-1",name:"aws-iso",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^us\\-iso\\-\\w+\\-\\d+$",regions:{"aws-iso-global":{description:"aws-iso global region"},"us-iso-east-1":{description:"US ISO East"},"us-iso-west-1":{description:"US ISO WEST"}}},{id:"aws-iso-b",outputs:{dnsSuffix:"sc2s.sgov.gov",dualStackDnsSuffix:"api.aws.scloud",implicitGlobalRegion:"us-isob-east-1",name:"aws-iso-b",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^us\\-isob\\-\\w+\\-\\d+$",regions:{"aws-iso-b-global":{description:"aws-iso-b global region"},"us-isob-east-1":{description:"US ISOB East (Ohio)"},"us-isob-west-1":{description:"US ISOB West"}}},{id:"aws-iso-e",outputs:{dnsSuffix:"cloud.adc-e.uk",dualStackDnsSuffix:"api.cloud-aws.adc-e.uk",implicitGlobalRegion:"eu-isoe-west-1",name:"aws-iso-e",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^eu\\-isoe\\-\\w+\\-\\d+$",regions:{"aws-iso-e-global":{description:"aws-iso-e global region"},"eu-isoe-west-1":{description:"EU ISOE West"}}},{id:"aws-iso-f",outputs:{dnsSuffix:"csp.hci.ic.gov",dualStackDnsSuffix:"api.aws.hci.ic.gov",implicitGlobalRegion:"us-isof-south-1",name:"aws-iso-f",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^us\\-isof\\-\\w+\\-\\d+$",regions:{"aws-iso-f-global":{description:"aws-iso-f global region"},"us-isof-east-1":{description:"US ISOF EAST"},"us-isof-south-1":{description:"US ISOF SOUTH"}}},{id:"aws-us-gov",outputs:{dnsSuffix:"amazonaws.com",dualStackDnsSuffix:"api.aws",implicitGlobalRegion:"us-gov-west-1",name:"aws-us-gov",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^us\\-gov\\-\\w+\\-\\d+$",regions:{"aws-us-gov-global":{description:"aws-us-gov global region"},"us-gov-east-1":{description:"AWS GovCloud (US-East)"},"us-gov-west-1":{description:"AWS GovCloud (US-West)"}}}],ka="1.1",Wn={partitions:Ga,version:ka},Qn=Wn,Kn="",Yn=(e)=>{let{partitions:t}=Qn;for(let s of t){let{regions:c,outputs:o}=s;for(let[a,l]of Object.entries(c))if(a===e)return{...o,...l}}for(let s of t){let{regionRegex:c,outputs:o}=s;if(new RegExp(c).test(e))return{...o}}let i=t.find((s)=>s.id==="aws");if(!i)throw Error("Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist.");return{...i.outputs}},Jn=(e,t="")=>{Qn=e,Kn=t},Wa=()=>{Jn(Wn,"")},Qa=()=>Kn,Zn={isVirtualHostableS3Bucket:kn,parseArn:Xa,partition:Yn};ve.customEndpointFunctions.aws=Zn;var Ka=(e)=>{if(typeof e.endpointProvider!=="function")throw Error("@aws-sdk/util-endpoint - endpointProvider and endpoint missing in config for this client.");let{endpoint:t}=e;if(t===void 0)e.endpoint=async()=>{return vn(e.endpointProvider({Region:typeof e.region==="function"?await e.region():e.region,UseDualStack:typeof e.useDualstackEndpoint==="function"?await e.useDualstackEndpoint():e.useDualstackEndpoint,UseFIPS:typeof e.useFipsEndpoint==="function"?await e.useFipsEndpoint():e.useFipsEndpoint,Endpoint:void 0},{logger:e.logger}))};return e},vn=(e)=>za.parseUrl(e.url);Ya.EndpointError=ve.EndpointError;Ya.isIpAddress=ve.isIpAddress;Ya.resolveEndpoint=ve.resolveEndpoint;Ya.awsEndpointFunctions=Zn;Ya.getUserAgentPrefix=Qa;Ya.partition=Yn;Ya.resolveDefaultAwsRegionalEndpointsConfig=Ka;Ya.setPartitionInfo=Jn;Ya.toEndpointV1=vn;Ya.useDefaultPartitionInfo=Wa});var ts=$((_e)=>{Object.defineProperty(_e,"__esModule",{value:!0});_e.resolveHttpHandlerRuntimeConfig=_e.getHttpHandlerExtensionConfiguration=_e.isValidHostname=_e.HttpResponse=_e.HttpRequest=_e.Fields=_e.Field=void 0;var Xe=pe();Object.defineProperty(_e,"Field",{enumerable:!0,get:function(){return Xe.Field}});Object.defineProperty(_e,"Fields",{enumerable:!0,get:function(){return Xe.Fields}});Object.defineProperty(_e,"HttpRequest",{enumerable:!0,get:function(){return Xe.HttpRequest}});Object.defineProperty(_e,"HttpResponse",{enumerable:!0,get:function(){return Xe.HttpResponse}});Object.defineProperty(_e,"isValidHostname",{enumerable:!0,get:function(){return Xe.isValidHostname}});Object.defineProperty(_e,"getHttpHandlerExtensionConfiguration",{enumerable:!0,get:function(){return Xe.getHttpHandlerExtensionConfiguration}});Object.defineProperty(_e,"resolveHttpHandlerRuntimeConfig",{enumerable:!0,get:function(){return Xe.resolveHttpHandlerRuntimeConfig}})});var hs=$((wu)=>{var cu=as(),lu=es(),hu=ts(),Te=os(),rs=uu(),us=void 0;function du(e){if(e===void 0)return!0;return typeof e==="string"&&e.length<=50}function fu(e){let t=cu.normalizeProvider(e.userAgentAppId??us),{customUserAgent:i}=e;return Object.assign(e,{customUserAgent:typeof i==="string"?[[i]]:i,userAgentAppId:async()=>{let s=await t();if(!du(s)){let c=e.logger?.constructor?.name==="NoOpLogger"||!e.logger?console:e.logger;if(typeof s!=="string")c?.warn("userAgentAppId must be a string or undefined.");else if(s.length>50)c?.warn("The provided userAgentAppId exceeds the maximum length of 50 characters.")}return s}})}var pu=/\d{12}\.ddb/;async function mu(e,t,i){if(i.request?.headers?.["smithy-protocol"]==="rpc-v2-cbor")Te.setFeature(e,"PROTOCOL_RPC_V2_CBOR","M");if(typeof t.retryStrategy==="function"){let o=await t.retryStrategy();if(typeof o.mode==="string")switch(o.mode){case rs.RETRY_MODES.ADAPTIVE:Te.setFeature(e,"RETRY_MODE_ADAPTIVE","F");break;case rs.RETRY_MODES.STANDARD:Te.setFeature(e,"RETRY_MODE_STANDARD","E");break}}if(typeof t.accountIdEndpointMode==="function"){let o=e.endpointV2;if(String(o?.url?.hostname).match(pu))Te.setFeature(e,"ACCOUNT_ID_ENDPOINT","O");switch(await t.accountIdEndpointMode?.()){case"disabled":Te.setFeature(e,"ACCOUNT_ID_MODE_DISABLED","Q");break;case"preferred":Te.setFeature(e,"ACCOUNT_ID_MODE_PREFERRED","P");break;case"required":Te.setFeature(e,"ACCOUNT_ID_MODE_REQUIRED","R");break}}let c=e.__smithy_context?.selectedHttpAuthScheme?.identity;if(c?.$source){let o=c;if(o.accountId)Te.setFeature(e,"RESOLVED_ACCOUNT_ID","T");for(let[a,l]of Object.entries(o.$source??{}))Te.setFeature(e,a,l)}}var ns="user-agent",pr="x-amz-user-agent",ss=" ",mr="/",gu=/[^!$%&'*+\-.^_`|~\w]/g,yu=/[^!$%&'*+\-.^_`|~\w#]/g,is="-",bu=1024;function Eu(e){let t="";for(let i in e){let s=e[i];if(t.length+s.length+1<=bu){if(t.length)t+=","+s;else t+=s;continue}break}return t}var cs=(e)=>(t,i)=>async(s)=>{let{request:c}=s;if(!hu.HttpRequest.isInstance(c))return t(s);let{headers:o}=c,a=i?.userAgent?.map(At)||[],l=(await e.defaultUserAgentProvider()).map(At);await mu(i,e,s);let f=i;l.push(`m/${Eu(Object.assign({},i.__smithy_context?.features,f.__aws_sdk_context?.features))}`);let m=e?.customUserAgent?.map(At)||[],g=await e.userAgentAppId();if(g)l.push(At(["app",`${g}`]));let b=lu.getUserAgentPrefix(),w=(b?[b]:[]).concat([...l,...a,...m]).join(ss),_=[...l.filter((T)=>T.startsWith("aws-sdk-")),...m].join(ss);if(e.runtime!=="browser"){if(_)o[pr]=o[pr]?`${o[ns]} ${_}`:_;o[ns]=w}else o[pr]=w;return t({...s,request:c})},At=(e)=>{let t=e[0].split(mr).map((a)=>a.replace(gu,is)).join(mr),i=e[1]?.replace(yu,is),s=t.indexOf(mr),c=t.substring(0,s),o=t.substring(s+1);if(c==="api")o=o.toLowerCase();return[c,o,i].filter((a)=>a&&a.length>0).reduce((a,l,f)=>{switch(f){case 0:return l;case 1:return`${a}/${l}`;default:return`${a}#${l}`}},"")},ls={name:"getUserAgentMiddleware",step:"build",priority:"low",tags:["SET_USER_AGENT","USER_AGENT"],override:!0},Nu=(e)=>({applyToStack:(t)=>{t.add(cs(e),ls)}});wu.DEFAULT_UA_APP_ID=us;wu.getUserAgentMiddlewareOptions=ls;wu.getUserAgentPlugin=Nu;wu.resolveUserAgentConfig=fu;wu.userAgentMiddleware=cs});var gr=$((J)=>{Object.defineProperty(J,"__esModule",{value:!0});J.getRegionInfo=J.resolveRegionConfig=J.NODE_REGION_CONFIG_FILE_OPTIONS=J.NODE_REGION_CONFIG_OPTIONS=J.REGION_INI_NAME=J.REGION_ENV_NAME=J.resolveEndpointsConfig=J.resolveCustomEndpointsConfig=J.nodeFipsConfigSelectors=J.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS=J.DEFAULT_USE_FIPS_ENDPOINT=J.CONFIG_USE_FIPS_ENDPOINT=J.ENV_USE_FIPS_ENDPOINT=J.nodeDualstackConfigSelectors=J.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS=J.DEFAULT_USE_DUALSTACK_ENDPOINT=J.CONFIG_USE_DUALSTACK_ENDPOINT=J.ENV_USE_DUALSTACK_ENDPOINT=void 0;var te=Ct();Object.defineProperty(J,"ENV_USE_DUALSTACK_ENDPOINT",{enumerable:!0,get:function(){return te.ENV_USE_DUALSTACK_ENDPOINT}});Object.defineProperty(J,"CONFIG_USE_DUALSTACK_ENDPOINT",{enumerable:!0,get:function(){return te.CONFIG_USE_DUALSTACK_ENDPOINT}});Object.defineProperty(J,"DEFAULT_USE_DUALSTACK_ENDPOINT",{enumerable:!0,get:function(){return te.DEFAULT_USE_DUALSTACK_ENDPOINT}});Object.defineProperty(J,"NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS",{enumerable:!0,get:function(){return te.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS}});Object.defineProperty(J,"nodeDualstackConfigSelectors",{enumerable:!0,get:function(){return te.nodeDualstackConfigSelectors}});Object.defineProperty(J,"ENV_USE_FIPS_ENDPOINT",{enumerable:!0,get:function(){return te.ENV_USE_FIPS_ENDPOINT}});Object.defineProperty(J,"CONFIG_USE_FIPS_ENDPOINT",{enumerable:!0,get:function(){return te.CONFIG_USE_FIPS_ENDPOINT}});Object.defineProperty(J,"DEFAULT_USE_FIPS_ENDPOINT",{enumerable:!0,get:function(){return te.DEFAULT_USE_FIPS_ENDPOINT}});Object.defineProperty(J,"NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS",{enumerable:!0,get:function(){return te.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS}});Object.defineProperty(J,"nodeFipsConfigSelectors",{enumerable:!0,get:function(){return te.nodeFipsConfigSelectors}});Object.defineProperty(J,"resolveCustomEndpointsConfig",{enumerable:!0,get:function(){return te.resolveCustomEndpointsConfig}});Object.defineProperty(J,"resolveEndpointsConfig",{enumerable:!0,get:function(){return te.resolveEndpointsConfig}});Object.defineProperty(J,"REGION_ENV_NAME",{enumerable:!0,get:function(){return te.REGION_ENV_NAME}});Object.defineProperty(J,"REGION_INI_NAME",{enumerable:!0,get:function(){return te.REGION_INI_NAME}});Object.defineProperty(J,"NODE_REGION_CONFIG_OPTIONS",{enumerable:!0,get:function(){return te.NODE_REGION_CONFIG_OPTIONS}});Object.defineProperty(J,"NODE_REGION_CONFIG_FILE_OPTIONS",{enumerable:!0,get:function(){return te.NODE_REGION_CONFIG_FILE_OPTIONS}});Object.defineProperty(J,"resolveRegionConfig",{enumerable:!0,get:function(){return te.resolveRegionConfig}});Object.defineProperty(J,"getRegionInfo",{enumerable:!0,get:function(){return te.getRegionInfo}})});var Cu=$((pt)=>{Object.defineProperty(pt,"__esModule",{value:!0});pt.getContentLengthPlugin=pt.contentLengthMiddlewareOptions=pt.contentLengthMiddleware=void 0;var yr=pe();Object.defineProperty(pt,"contentLengthMiddleware",{enumerable:!0,get:function(){return yr.contentLengthMiddleware}});Object.defineProperty(pt,"contentLengthMiddlewareOptions",{enumerable:!0,get:function(){return yr.contentLengthMiddlewareOptions}});Object.defineProperty(pt,"getContentLengthPlugin",{enumerable:!0,get:function(){return yr.getContentLengthPlugin}})});var Ru=$((be)=>{Object.defineProperty(be,"__esModule",{value:!0});be.resolveEndpointRequiredConfig=be.resolveEndpointConfig=be.getEndpointPlugin=be.endpointMiddlewareOptions=be.endpointMiddleware=be.toEndpointV1=be.resolveParams=be.getEndpointFromInstructions=void 0;var je=zn();Object.defineProperty(be,"getEndpointFromInstructions",{enumerable:!0,get:function(){return je.getEndpointFromInstructions}});Object.defineProperty(be,"resolveParams",{enumerable:!0,get:function(){return je.resolveParams}});Object.defineProperty(be,"toEndpointV1",{enumerable:!0,get:function(){return je.toEndpointV1}});Object.defineProperty(be,"endpointMiddleware",{enumerable:!0,get:function(){return je.endpointMiddleware}});Object.defineProperty(be,"endpointMiddlewareOptions",{enumerable:!0,get:function(){return je.endpointMiddlewareOptions}});Object.defineProperty(be,"getEndpointPlugin",{enumerable:!0,get:function(){return je.getEndpointPlugin}});Object.defineProperty(be,"resolveEndpointConfig",{enumerable:!0,get:function(){return je.resolveEndpointConfig}});Object.defineProperty(be,"resolveEndpointRequiredConfig",{enumerable:!0,get:function(){return je.resolveEndpointRequiredConfig}})});var ju=$((Z)=>{Object.defineProperty(Z,"__esModule",{value:!0});Z.retryMiddlewareOptions=Z.retryMiddleware=Z.resolveRetryConfig=Z.omitRetryHeadersMiddlewareOptions=Z.omitRetryHeadersMiddleware=Z.getRetryPlugin=Z.getRetryAfterHint=Z.getOmitRetryHeadersPlugin=Z.defaultRetryDecider=Z.defaultDelayDecider=Z.NODE_RETRY_MODE_CONFIG_OPTIONS=Z.NODE_MAX_ATTEMPT_CONFIG_OPTIONS=Z.ENV_RETRY_MODE=Z.ENV_MAX_ATTEMPTS=Z.CONFIG_RETRY_MODE=Z.CONFIG_MAX_ATTEMPTS=Z.StandardRetryStrategy=Z.AdaptiveRetryStrategy=void 0;var re=Du();Object.defineProperty(Z,"AdaptiveRetryStrategy",{enumerable:!0,get:function(){return re.DeprecatedAdaptiveRetryStrategy}});Object.defineProperty(Z,"StandardRetryStrategy",{enumerable:!0,get:function(){return re.DeprecatedStandardRetryStrategy}});Object.defineProperty(Z,"CONFIG_MAX_ATTEMPTS",{enumerable:!0,get:function(){return re.CONFIG_MAX_ATTEMPTS}});Object.defineProperty(Z,"CONFIG_RETRY_MODE",{enumerable:!0,get:function(){return re.CONFIG_RETRY_MODE}});Object.defineProperty(Z,"ENV_MAX_ATTEMPTS",{enumerable:!0,get:function(){return re.ENV_MAX_ATTEMPTS}});Object.defineProperty(Z,"ENV_RETRY_MODE",{enumerable:!0,get:function(){return re.ENV_RETRY_MODE}});Object.defineProperty(Z,"NODE_MAX_ATTEMPT_CONFIG_OPTIONS",{enumerable:!0,get:function(){return re.NODE_MAX_ATTEMPT_CONFIG_OPTIONS}});Object.defineProperty(Z,"NODE_RETRY_MODE_CONFIG_OPTIONS",{enumerable:!0,get:function(){return re.NODE_RETRY_MODE_CONFIG_OPTIONS}});Object.defineProperty(Z,"defaultDelayDecider",{enumerable:!0,get:function(){return re.defaultDelayDecider}});Object.defineProperty(Z,"defaultRetryDecider",{enumerable:!0,get:function(){return re.defaultRetryDecider}});Object.defineProperty(Z,"getOmitRetryHeadersPlugin",{enumerable:!0,get:function(){return re.getOmitRetryHeadersPlugin}});Object.defineProperty(Z,"getRetryAfterHint",{enumerable:!0,get:function(){return re.getRetryAfterHint}});Object.defineProperty(Z,"getRetryPlugin",{enumerable:!0,get:function(){return re.getRetryPlugin}});Object.defineProperty(Z,"omitRetryHeadersMiddleware",{enumerable:!0,get:function(){return re.omitRetryHeadersMiddleware}});Object.defineProperty(Z,"omitRetryHeadersMiddlewareOptions",{enumerable:!0,get:function(){return re.omitRetryHeadersMiddlewareOptions}});Object.defineProperty(Z,"resolveRetryConfig",{enumerable:!0,get:function(){return re.resolveRetryConfig}});Object.defineProperty(Z,"retryMiddleware",{enumerable:!0,get:function(){return re.retryMiddleware}});Object.defineProperty(Z,"retryMiddlewareOptions",{enumerable:!0,get:function(){return re.retryMiddlewareOptions}})});var Hu=$((A)=>{Object.defineProperty(A,"__esModule",{value:!0});A.createAggregatedClient=A.convertMap=A._json=A.ServiceException=A.SENSITIVE_STRING=A.NoOpLogger=A.Command=A.Client=A.strictParseShort=A.strictParseLong=A.strictParseInt32=A.strictParseInt=A.strictParseFloat32=A.strictParseFloat=A.strictParseDouble=A.strictParseByte=A.splitHeader=A.splitEvery=A.quoteHeader=A.parseRfc7231DateTime=A.parseRfc3339DateTimeWithOffset=A.parseRfc3339DateTime=A.parseEpochTimestamp=A.parseBoolean=A.nv=A.logger=A.limitedParseFloat32=A.limitedParseFloat=A.limitedParseDouble=A.handleFloat=A.generateIdempotencyToken=A.expectUnion=A.expectString=A.expectShort=A.expectObject=A.expectNumber=A.expectNonNull=A.expectLong=A.expectInt32=A.expectInt=A.expectFloat32=A.expectByte=A.expectBoolean=A.dateToUtcString=A.copyDocumentWithTransform=A._parseRfc7231DateTime=A._parseRfc3339DateTimeWithOffset=A._parseEpochTimestamp=A.NumericValue=A.LazyJsonString=void 0;A.resolvedPath=A.extendedEncodeURIComponent=A.collectBody=A.withBaseException=A.throwDefaultError=A.take=A.serializeFloat=A.serializeDateTime=A.resolveDefaultRuntimeConfig=A.map=A.loadConfigsForDefaultMode=A.isSerializableHeaderValue=A.getValueFromTextNode=A.getDefaultExtensionConfiguration=A.getDefaultClientConfiguration=A.getArrayIfSingleItem=A.emitWarningIfUnsupportedVersion=A.decorateServiceException=void 0;var H=Ee();Object.defineProperty(A,"LazyJsonString",{enumerable:!0,get:function(){return H.LazyJsonString}});Object.defineProperty(A,"NumericValue",{enumerable:!0,get:function(){return H.NumericValue}});Object.defineProperty(A,"_parseEpochTimestamp",{enumerable:!0,get:function(){return H._parseEpochTimestamp}});Object.defineProperty(A,"_parseRfc3339DateTimeWithOffset",{enumerable:!0,get:function(){return H._parseRfc3339DateTimeWithOffset}});Object.defineProperty(A,"_parseRfc7231DateTime",{enumerable:!0,get:function(){return H._parseRfc7231DateTime}});Object.defineProperty(A,"copyDocumentWithTransform",{enumerable:!0,get:function(){return H.copyDocumentWithTransform}});Object.defineProperty(A,"dateToUtcString",{enumerable:!0,get:function(){return H.dateToUtcString}});Object.defineProperty(A,"expectBoolean",{enumerable:!0,get:function(){return H.expectBoolean}});Object.defineProperty(A,"expectByte",{enumerable:!0,get:function(){return H.expectByte}});Object.defineProperty(A,"expectFloat32",{enumerable:!0,get:function(){return H.expectFloat32}});Object.defineProperty(A,"expectInt",{enumerable:!0,get:function(){return H.expectInt}});Object.defineProperty(A,"expectInt32",{enumerable:!0,get:function(){return H.expectInt32}});Object.defineProperty(A,"expectLong",{enumerable:!0,get:function(){return H.expectLong}});Object.defineProperty(A,"expectNonNull",{enumerable:!0,get:function(){return H.expectNonNull}});Object.defineProperty(A,"expectNumber",{enumerable:!0,get:function(){return H.expectNumber}});Object.defineProperty(A,"expectObject",{enumerable:!0,get:function(){return H.expectObject}});Object.defineProperty(A,"expectShort",{enumerable:!0,get:function(){return H.expectShort}});Object.defineProperty(A,"expectString",{enumerable:!0,get:function(){return H.expectString}});Object.defineProperty(A,"expectUnion",{enumerable:!0,get:function(){return H.expectUnion}});Object.defineProperty(A,"generateIdempotencyToken",{enumerable:!0,get:function(){return H.generateIdempotencyToken}});Object.defineProperty(A,"handleFloat",{enumerable:!0,get:function(){return H.handleFloat}});Object.defineProperty(A,"limitedParseDouble",{enumerable:!0,get:function(){return H.limitedParseDouble}});Object.defineProperty(A,"limitedParseFloat",{enumerable:!0,get:function(){return H.limitedParseFloat}});Object.defineProperty(A,"limitedParseFloat32",{enumerable:!0,get:function(){return H.limitedParseFloat32}});Object.defineProperty(A,"logger",{enumerable:!0,get:function(){return H.logger}});Object.defineProperty(A,"nv",{enumerable:!0,get:function(){return H.nv}});Object.defineProperty(A,"parseBoolean",{enumerable:!0,get:function(){return H.parseBoolean}});Object.defineProperty(A,"parseEpochTimestamp",{enumerable:!0,get:function(){return H.parseEpochTimestamp}});Object.defineProperty(A,"parseRfc3339DateTime",{enumerable:!0,get:function(){return H.parseRfc3339DateTime}});Object.defineProperty(A,"parseRfc3339DateTimeWithOffset",{enumerable:!0,get:function(){return H.parseRfc3339DateTimeWithOffset}});Object.defineProperty(A,"parseRfc7231DateTime",{enumerable:!0,get:function(){return H.parseRfc7231DateTime}});Object.defineProperty(A,"quoteHeader",{enumerable:!0,get:function(){return H.quoteHeader}});Object.defineProperty(A,"splitEvery",{enumerable:!0,get:function(){return H.splitEvery}});Object.defineProperty(A,"splitHeader",{enumerable:!0,get:function(){return H.splitHeader}});Object.defineProperty(A,"strictParseByte",{enumerable:!0,get:function(){return H.strictParseByte}});Object.defineProperty(A,"strictParseDouble",{enumerable:!0,get:function(){return H.strictParseDouble}});Object.defineProperty(A,"strictParseFloat",{enumerable:!0,get:function(){return H.strictParseFloat}});Object.defineProperty(A,"strictParseFloat32",{enumerable:!0,get:function(){return H.strictParseFloat32}});Object.defineProperty(A,"strictParseInt",{enumerable:!0,get:function(){return H.strictParseInt}});Object.defineProperty(A,"strictParseInt32",{enumerable:!0,get:function(){return H.strictParseInt32}});Object.defineProperty(A,"strictParseLong",{enumerable:!0,get:function(){return H.strictParseLong}});Object.defineProperty(A,"strictParseShort",{enumerable:!0,get:function(){return H.strictParseShort}});var W=mt();Object.defineProperty(A,"Client",{enumerable:!0,get:function(){return W.Client}});Object.defineProperty(A,"Command",{enumerable:!0,get:function(){return W.Command}});Object.defineProperty(A,"NoOpLogger",{enumerable:!0,get:function(){return W.NoOpLogger}});Object.defineProperty(A,"SENSITIVE_STRING",{enumerable:!0,get:function(){return W.SENSITIVE_STRING}});Object.defineProperty(A,"ServiceException",{enumerable:!0,get:function(){return W.ServiceException}});Object.defineProperty(A,"_json",{enumerable:!0,get:function(){return W._json}});Object.defineProperty(A,"convertMap",{enumerable:!0,get:function(){return W.convertMap}});Object.defineProperty(A,"createAggregatedClient",{enumerable:!0,get:function(){return W.createAggregatedClient}});Object.defineProperty(A,"decorateServiceException",{enumerable:!0,get:function(){return W.decorateServiceException}});Object.defineProperty(A,"emitWarningIfUnsupportedVersion",{enumerable:!0,get:function(){return W.emitWarningIfUnsupportedVersion}});Object.defineProperty(A,"getArrayIfSingleItem",{enumerable:!0,get:function(){return W.getArrayIfSingleItem}});Object.defineProperty(A,"getDefaultClientConfiguration",{enumerable:!0,get:function(){return W.getDefaultClientConfiguration}});Object.defineProperty(A,"getDefaultExtensionConfiguration",{enumerable:!0,get:function(){return W.getDefaultExtensionConfiguration}});Object.defineProperty(A,"getValueFromTextNode",{enumerable:!0,get:function(){return W.getValueFromTextNode}});Object.defineProperty(A,"isSerializableHeaderValue",{enumerable:!0,get:function(){return W.isSerializableHeaderValue}});Object.defineProperty(A,"loadConfigsForDefaultMode",{enumerable:!0,get:function(){return W.loadConfigsForDefaultMode}});Object.defineProperty(A,"map",{enumerable:!0,get:function(){return W.map}});Object.defineProperty(A,"resolveDefaultRuntimeConfig",{enumerable:!0,get:function(){return W.resolveDefaultRuntimeConfig}});Object.defineProperty(A,"serializeDateTime",{enumerable:!0,get:function(){return W.serializeDateTime}});Object.defineProperty(A,"serializeFloat",{enumerable:!0,get:function(){return W.serializeFloat}});Object.defineProperty(A,"take",{enumerable:!0,get:function(){return W.take}});Object.defineProperty(A,"throwDefaultError",{enumerable:!0,get:function(){return W.throwDefaultError}});Object.defineProperty(A,"withBaseException",{enumerable:!0,get:function(){return W.withBaseException}});var br=pe();Object.defineProperty(A,"collectBody",{enumerable:!0,get:function(){return br.collectBody}});Object.defineProperty(A,"extendedEncodeURIComponent",{enumerable:!0,get:function(){return br.extendedEncodeURIComponent}});Object.defineProperty(A,"resolvedPath",{enumerable:!0,get:function(){return br.resolvedPath}})});var ds=$((Er)=>{Object.defineProperty(Er,"__esModule",{value:!0});Er.loadConfig=void 0;var Uu=Ct();Object.defineProperty(Er,"loadConfig",{enumerable:!0,get:function(){return Uu.loadConfig}})});var ms=$((ps)=>{Object.defineProperty(ps,"__esModule",{value:!0});ps.warning=void 0;ps.stsRegionDefaultResolver=Vu;var fs=gr(),Bu=ds();function Vu(e={}){return(0,Bu.loadConfig)({...fs.NODE_REGION_CONFIG_OPTIONS,async default(){if(!ps.warning.silence)console.warn("@aws-sdk - WARN - default STS region of us-east-1 used. See @aws-sdk/credential-providers README and set a region explicitly.");return"us-east-1"}},{...fs.NODE_REGION_CONFIG_FILE_OPTIONS,...e})}ps.warning={silence:!1}});var Zu=$((gt)=>{var It=ms(),yt=gr(),qu=(e)=>{return{setRegion(t){e.region=t},region(){return e.region}}},Xu=(e)=>{return{region:e.region()}};gt.NODE_REGION_CONFIG_FILE_OPTIONS=yt.NODE_REGION_CONFIG_FILE_OPTIONS;gt.NODE_REGION_CONFIG_OPTIONS=yt.NODE_REGION_CONFIG_OPTIONS;gt.REGION_ENV_NAME=yt.REGION_ENV_NAME;gt.REGION_INI_NAME=yt.REGION_INI_NAME;gt.resolveRegionConfig=yt.resolveRegionConfig;gt.getAwsRegionExtensionConfiguration=qu;gt.resolveAwsRegionExtensionConfiguration=Xu;Object.prototype.hasOwnProperty.call(It,"__proto__")&&!Object.prototype.hasOwnProperty.call(gt,"__proto__")&&Object.defineProperty(gt,"__proto__",{enumerable:!0,value:It.__proto__});Object.keys(It).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(gt,e))gt[e]=It[e]})});var ec=$((Oe)=>{Object.defineProperty(Oe,"__esModule",{value:!0});Oe.resolveHttpHandlerRuntimeConfig=Oe.getHttpHandlerExtensionConfiguration=Oe.isValidHostname=Oe.HttpResponse=Oe.HttpRequest=Oe.Fields=Oe.Field=void 0;var Ge=pe();Object.defineProperty(Oe,"Field",{enumerable:!0,get:function(){return Ge.Field}});Object.defineProperty(Oe,"Fields",{enumerable:!0,get:function(){return Ge.Fields}});Object.defineProperty(Oe,"HttpRequest",{enumerable:!0,get:function(){return Ge.HttpRequest}});Object.defineProperty(Oe,"HttpResponse",{enumerable:!0,get:function(){return Ge.HttpResponse}});Object.defineProperty(Oe,"isValidHostname",{enumerable:!0,get:function(){return Ge.isValidHostname}});Object.defineProperty(Oe,"getHttpHandlerExtensionConfiguration",{enumerable:!0,get:function(){return Ge.getHttpHandlerExtensionConfiguration}});Object.defineProperty(Oe,"resolveHttpHandlerRuntimeConfig",{enumerable:!0,get:function(){return Ge.resolveHttpHandlerRuntimeConfig}})});var gs=$((Pe)=>{Object.defineProperty(Pe,"__esModule",{value:!0});Pe.resolveHttpHandlerRuntimeConfig=Pe.getHttpHandlerExtensionConfiguration=Pe.isValidHostname=Pe.HttpResponse=Pe.HttpRequest=Pe.Fields=Pe.Field=void 0;var ke=pe();Object.defineProperty(Pe,"Field",{enumerable:!0,get:function(){return ke.Field}});Object.defineProperty(Pe,"Fields",{enumerable:!0,get:function(){return ke.Fields}});Object.defineProperty(Pe,"HttpRequest",{enumerable:!0,get:function(){return ke.HttpRequest}});Object.defineProperty(Pe,"HttpResponse",{enumerable:!0,get:function(){return ke.HttpResponse}});Object.defineProperty(Pe,"isValidHostname",{enumerable:!0,get:function(){return ke.isValidHostname}});Object.defineProperty(Pe,"getHttpHandlerExtensionConfiguration",{enumerable:!0,get:function(){return ke.getHttpHandlerExtensionConfiguration}});Object.defineProperty(Pe,"resolveHttpHandlerRuntimeConfig",{enumerable:!0,get:function(){return ke.resolveHttpHandlerRuntimeConfig}})});var zs=$((hc)=>{var ie=Ee(),ys=mt(),tt=pe();class ws{format(e){let t=[];for(let c of Object.keys(e)){let o=ie.fromUtf8(c);t.push(Uint8Array.from([o.byteLength]),o,this.formatHeaderValue(e[c]))}let i=new Uint8Array(t.reduce((c,o)=>c+o.byteLength,0)),s=0;for(let c of t)i.set(c,s),s+=c.byteLength;return i}formatHeaderValue(e){switch(e.type){case"boolean":return Uint8Array.from([e.value?0:1]);case"byte":return Uint8Array.from([2,e.value]);case"short":let t=new DataView(new ArrayBuffer(3));return t.setUint8(0,3),t.setInt16(1,e.value,!1),new Uint8Array(t.buffer);case"integer":let i=new DataView(new ArrayBuffer(5));return i.setUint8(0,4),i.setInt32(1,e.value,!1),new Uint8Array(i.buffer);case"long":let s=new Uint8Array(9);return s[0]=5,s.set(e.value.bytes,1),s;case"binary":let c=new DataView(new ArrayBuffer(3+e.value.byteLength));c.setUint8(0,6),c.setUint16(1,e.value.byteLength,!1);let o=new Uint8Array(c.buffer);return o.set(e.value,3),o;case"string":let a=ie.fromUtf8(e.value),l=new DataView(new ArrayBuffer(3+a.byteLength));l.setUint8(0,7),l.setUint16(1,a.byteLength,!1);let f=new Uint8Array(l.buffer);return f.set(a,3),f;case"timestamp":let m=new Uint8Array(9);return m[0]=8,m.set(Sr.fromNumber(e.value.valueOf()).bytes,1),m;case"uuid":if(!rc.test(e.value))throw Error(`Invalid UUID received: ${e.value}`);let g=new Uint8Array(17);return g[0]=9,g.set(ie.fromHex(e.value.replace(/\-/g,"")),1),g}}}var bs;(function(e){e[e.boolTrue=0]="boolTrue",e[e.boolFalse=1]="boolFalse",e[e.byte=2]="byte",e[e.short=3]="short",e[e.integer=4]="integer",e[e.long=5]="long",e[e.byteArray=6]="byteArray",e[e.string=7]="string",e[e.timestamp=8]="timestamp",e[e.uuid=9]="uuid"})(bs||(bs={}));var rc=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;class Sr{bytes;constructor(e){if(this.bytes=e,e.byteLength!==8)throw Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(e){if(e>9223372036854776000||e<-9223372036854776000)throw Error(`${e} is too large (or, if negative, too small) to represent as an Int64`);let t=new Uint8Array(8);for(let i=7,s=Math.abs(Math.round(e));i>-1&&s>0;i--,s/=256)t[i]=s;if(e<0)Es(t);return new Sr(t)}valueOf(){let e=this.bytes.slice(0),t=e[0]&128;if(t)Es(e);return parseInt(ie.toHex(e),16)*(t?-1:1)}toString(){return String(this.valueOf())}}function Es(e){for(let t=0;t<8;t++)e[t]^=255;for(let t=7;t>-1;t--)if(e[t]++,e[t]!==0)break}var xs="X-Amz-Algorithm",Ss="X-Amz-Credential",_r="X-Amz-Date",_s="X-Amz-SignedHeaders",Ts="X-Amz-Expires",Tr="X-Amz-Signature",Or="X-Amz-Security-Token",nc="X-Amz-Region-Set",Pr="authorization",Ar=_r.toLowerCase(),Os="date",Ps=[Pr,Ar,Os],As=Tr.toLowerCase(),Lt="x-amz-content-sha256",Cs=Or.toLowerCase(),sc="host",Is={authorization:!0,"cache-control":!0,connection:!0,expect:!0,from:!0,"keep-alive":!0,"max-forwards":!0,pragma:!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,"user-agent":!0,"x-amzn-trace-id":!0},Rs=/^proxy-/,Ds=/^sec-/,ic=[/^proxy-/i,/^sec-/i],Rt="AWS4-HMAC-SHA256",oc="AWS4-ECDSA-P256-SHA256",Ms="AWS4-HMAC-SHA256-PAYLOAD",js="UNSIGNED-PAYLOAD",Ls=50,Cr="aws4_request",$s=604800,Hs=({query:e={}})=>{let t=[],i={};for(let s of Object.keys(e)){if(s.toLowerCase()===As)continue;let c=tt.escapeUri(s);t.push(c);let o=e[s];if(typeof o==="string")i[c]=`${c}=${tt.escapeUri(o)}`;else if(Array.isArray(o))i[c]=o.slice(0).reduce((a,l)=>a.concat([`${c}=${tt.escapeUri(l)}`]),[]).sort().join("&")}return t.sort().map((s)=>i[s]).filter((s)=>s).join("&")},ac=(e)=>uc(e).toISOString().replace(/\.\d{3}Z$/,"Z"),uc=(e)=>{if(typeof e==="number")return new Date(e*1000);if(typeof e==="string"){if(Number(e))return new Date(Number(e)*1000);return new Date(e)}return e};class Ir{service;regionProvider;credentialProvider;sha256;uriEscapePath;applyChecksum;constructor({applyChecksum:e,credentials:t,region:i,service:s,sha256:c,uriEscapePath:o=!0}){this.service=s,this.sha256=c,this.uriEscapePath=o,this.applyChecksum=typeof e==="boolean"?e:!0,this.regionProvider=ys.normalizeProvider(i),this.credentialProvider=ys.normalizeProvider(t)}createCanonicalRequest(e,t,i){let s=Object.keys(t).sort();return`${e.method}
|
|
2
|
-
${this.getCanonicalPath(e)}
|
|
3
|
-
${Hs(e)}
|
|
4
|
-
${s.map((c)=>`${c}:${t[c]}`).join(`
|
|
5
|
-
`)}
|
|
6
|
-
|
|
7
|
-
${s.join(";")}
|
|
8
|
-
${i}`}async createStringToSign(e,t,i,s){let c=new this.sha256;c.update(ie.toUint8Array(i));let o=await c.digest();return`${s}
|
|
9
|
-
${e}
|
|
10
|
-
${t}
|
|
11
|
-
${ie.toHex(o)}`}getCanonicalPath({path:e}){if(this.uriEscapePath){let t=[];for(let c of e.split("/")){if(c?.length===0)continue;if(c===".")continue;if(c==="..")t.pop();else t.push(c)}let i=`${e?.startsWith("/")?"/":""}${t.join("/")}${t.length>0&&e?.endsWith("/")?"/":""}`;return tt.escapeUri(i).replace(/%2F/g,"/")}return e}validateResolvedCredentials(e){if(typeof e!=="object"||typeof e.accessKeyId!=="string"||typeof e.secretAccessKey!=="string")throw Error("Resolved credential object is not valid")}formatDate(e){let t=ac(e).replace(/[\-:]/g,"");return{longDate:t,shortDate:t.slice(0,8)}}getCanonicalHeaderList(e){return Object.keys(e).sort().join(";")}}var et={},Dt=[],Mt=(e,t,i)=>`${e}/${t}/${i}/${Cr}`,Us=async(e,t,i,s,c)=>{let o=await Ns(e,t.secretAccessKey,t.accessKeyId),a=`${i}:${s}:${c}:${ie.toHex(o)}:${t.sessionToken}`;if(a in et)return et[a];Dt.push(a);while(Dt.length>Ls)delete et[Dt.shift()];let l=`AWS4${t.secretAccessKey}`;for(let f of[i,s,c,Cr])l=await Ns(e,l,f);return et[a]=l},cc=()=>{Dt.length=0,Object.keys(et).forEach((e)=>{delete et[e]})},Ns=(e,t,i)=>{let s=new e(t);return s.update(ie.toUint8Array(i)),s.digest()},wr=({headers:e},t,i)=>{let s={};for(let c of Object.keys(e).sort()){if(e[c]==null)continue;let o=c.toLowerCase();if(o in Is||t?.has(o)||Rs.test(o)||Ds.test(o)){if(!i||i&&!i.has(o))continue}s[o]=e[c].trim().replace(/\s+/g," ")}return s},jt=async({headers:e,body:t},i)=>{for(let s of Object.keys(e))if(s.toLowerCase()===Lt)return e[s];if(t==null)return"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";else if(typeof t==="string"||ArrayBuffer.isView(t)||ie.isArrayBuffer(t)){let s=new i;return s.update(ie.toUint8Array(t)),ie.toHex(await s.digest())}return js},Fs=(e,t)=>{e=e.toLowerCase();for(let i of Object.keys(t))if(e===i.toLowerCase())return!0;return!1},Bs=(e,t={})=>{let{headers:i,query:s={}}=tt.HttpRequest.clone(e);for(let c of Object.keys(i)){let o=c.toLowerCase();if(o.slice(0,6)==="x-amz-"&&!t.unhoistableHeaders?.has(o)||t.hoistableHeaders?.has(o))s[c]=i[c],delete i[c]}return{...e,headers:i,query:s}},xr=(e)=>{e=tt.HttpRequest.clone(e);for(let t of Object.keys(e.headers))if(Ps.indexOf(t.toLowerCase())>-1)delete e.headers[t];return e};class Vs extends Ir{headerFormatter=new ws;constructor({applyChecksum:e,credentials:t,region:i,service:s,sha256:c,uriEscapePath:o=!0}){super({applyChecksum:e,credentials:t,region:i,service:s,sha256:c,uriEscapePath:o})}async presign(e,t={}){let{signingDate:i=new Date,expiresIn:s=3600,unsignableHeaders:c,unhoistableHeaders:o,signableHeaders:a,hoistableHeaders:l,signingRegion:f,signingService:m}=t,g=await this.credentialProvider();this.validateResolvedCredentials(g);let b=f??await this.regionProvider(),{longDate:w,shortDate:_}=this.formatDate(i);if(s>$s)return Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future");let T=Mt(_,b,m??this.service),P=Bs(xr(e),{unhoistableHeaders:o,hoistableHeaders:l});if(g.sessionToken)P.query[Or]=g.sessionToken;P.query[xs]=Rt,P.query[Ss]=`${g.accessKeyId}/${T}`,P.query[_r]=w,P.query[Ts]=s.toString(10);let V=wr(P,c,a);return P.query[_s]=this.getCanonicalHeaderList(V),P.query[Tr]=await this.getSignature(w,T,this.getSigningKey(g,b,_,m),this.createCanonicalRequest(P,V,await jt(e,this.sha256))),P}async sign(e,t){if(typeof e==="string")return this.signString(e,t);else if(e.headers&&e.payload)return this.signEvent(e,t);else if(e.message)return this.signMessage(e,t);else return this.signRequest(e,t)}async signEvent({headers:e,payload:t},{signingDate:i=new Date,priorSignature:s,signingRegion:c,signingService:o,eventStreamCredentials:a}){let l=c??await this.regionProvider(),{shortDate:f,longDate:m}=this.formatDate(i),g=Mt(f,l,o??this.service),b=await jt({headers:{},body:t},this.sha256),w=new this.sha256;w.update(e);let _=ie.toHex(await w.digest()),T=[Ms,m,g,s,_,b].join(`
|
|
12
|
-
`);return this.signString(T,{signingDate:i,signingRegion:l,signingService:o,eventStreamCredentials:a})}async signMessage(e,{signingDate:t=new Date,signingRegion:i,signingService:s,eventStreamCredentials:c}){return this.signEvent({headers:this.headerFormatter.format(e.message.headers),payload:e.message.body},{signingDate:t,signingRegion:i,signingService:s,priorSignature:e.priorSignature,eventStreamCredentials:c}).then((a)=>{return{message:e.message,signature:a}})}async signString(e,{signingDate:t=new Date,signingRegion:i,signingService:s,eventStreamCredentials:c}={}){let o=c??await this.credentialProvider();this.validateResolvedCredentials(o);let a=i??await this.regionProvider(),{shortDate:l}=this.formatDate(t),f=new this.sha256(await this.getSigningKey(o,a,l,s));return f.update(ie.toUint8Array(e)),ie.toHex(await f.digest())}async signRequest(e,{signingDate:t=new Date,signableHeaders:i,unsignableHeaders:s,signingRegion:c,signingService:o}={}){let a=await this.credentialProvider();this.validateResolvedCredentials(a);let l=c??await this.regionProvider(),f=xr(e),{longDate:m,shortDate:g}=this.formatDate(t),b=Mt(g,l,o??this.service);if(f.headers[Ar]=m,a.sessionToken)f.headers[Cs]=a.sessionToken;let w=await jt(f,this.sha256);if(!Fs(Lt,f.headers)&&this.applyChecksum)f.headers[Lt]=w;let _=wr(f,s,i),T=await this.getSignature(m,b,this.getSigningKey(a,l,g,o),this.createCanonicalRequest(f,_,w));return f.headers[Pr]=`${Rt} Credential=${a.accessKeyId}/${b}, SignedHeaders=${this.getCanonicalHeaderList(_)}, Signature=${T}`,f}async getSignature(e,t,i,s){let c=await this.createStringToSign(e,t,s,Rt),o=new this.sha256(await i);return o.update(ie.toUint8Array(c)),ie.toHex(await o.digest())}getSigningKey(e,t,i,s){return Us(this.sha256,e,i,t,s||this.service)}}var lc={SignatureV4a:null};hc.ALGORITHM_IDENTIFIER=Rt;hc.ALGORITHM_IDENTIFIER_V4A=oc;hc.ALGORITHM_QUERY_PARAM=xs;hc.ALWAYS_UNSIGNABLE_HEADERS=Is;hc.AMZ_DATE_HEADER=Ar;hc.AMZ_DATE_QUERY_PARAM=_r;hc.AUTH_HEADER=Pr;hc.CREDENTIAL_QUERY_PARAM=Ss;hc.DATE_HEADER=Os;hc.EVENT_ALGORITHM_IDENTIFIER=Ms;hc.EXPIRES_QUERY_PARAM=Ts;hc.GENERATED_HEADERS=Ps;hc.HOST_HEADER=sc;hc.KEY_TYPE_IDENTIFIER=Cr;hc.MAX_CACHE_SIZE=Ls;hc.MAX_PRESIGNED_TTL=$s;hc.PROXY_HEADER_PATTERN=Rs;hc.REGION_SET_PARAM=nc;hc.SEC_HEADER_PATTERN=Ds;hc.SHA256_HEADER=Lt;hc.SIGNATURE_HEADER=As;hc.SIGNATURE_QUERY_PARAM=Tr;hc.SIGNED_HEADERS_QUERY_PARAM=_s;hc.SignatureV4=Vs;hc.SignatureV4Base=Ir;hc.TOKEN_HEADER=Cs;hc.TOKEN_QUERY_PARAM=Or;hc.UNSIGNABLE_PATTERNS=ic;hc.UNSIGNED_PAYLOAD=js;hc.clearCredentialCache=cc;hc.createScope=Mt;hc.getCanonicalHeaders=wr;hc.getCanonicalQuery=Hs;hc.getPayloadHash=jt;hc.getSigningKey=Us;hc.hasHeader=Fs;hc.moveHeadersToQuery=Bs;hc.prepareRequest=xr;hc.signatureV4aContainer=lc});var bl=$((al)=>{var Rr=gs(),Le=as(),qs=Jc(),Zc=os(),Xs=zs(),Gs=(e)=>Rr.HttpResponse.isInstance(e)?e.headers?.date??e.headers?.Date:void 0,Dr=(e)=>new Date(Date.now()+e),vc=(e,t)=>Math.abs(Dr(t).getTime()-e)>=300000,ks=(e,t)=>{let i=Date.parse(e);if(vc(i,t))return i-Date.now();return t},bt=(e,t)=>{if(!t)throw Error(`Property \`${e}\` is not resolved for AWS SDK SigV4Auth`);return t},Mr=async(e)=>{let t=bt("context",e.context),i=bt("config",e.config),s=t.endpointV2?.properties?.authSchemes?.[0],o=await bt("signer",i.signer)(s),a=e?.signingRegion,l=e?.signingRegionSet,f=e?.signingName;return{config:i,signer:o,signingRegion:a,signingRegionSet:l,signingName:f}};class $t{async sign(e,t,i){if(!Rr.HttpRequest.isInstance(e))throw Error("The request is not an instance of `HttpRequest` and cannot be signed");let s=await Mr(i),{config:c,signer:o}=s,{signingRegion:a,signingName:l}=s,f=i.context;if(f?.authSchemes?.length??!1){let[g,b]=f.authSchemes;if(g?.name==="sigv4a"&&b?.name==="sigv4")a=b?.signingRegion??a,l=b?.signingName??l}return await o.sign(e,{signingDate:Dr(c.systemClockOffset),signingRegion:a,signingService:l})}errorHandler(e){return(t)=>{let i=t.ServerTime??Gs(t.$response);if(i){let s=bt("config",e.config),c=s.systemClockOffset;if(s.systemClockOffset=ks(i,s.systemClockOffset),s.systemClockOffset!==c&&t.$metadata)t.$metadata.clockSkewCorrected=!0}throw t}}successHandler(e,t){let i=Gs(e);if(i){let s=bt("config",t.config);s.systemClockOffset=ks(i,s.systemClockOffset)}}}var el=$t;class Ys extends $t{async sign(e,t,i){if(!Rr.HttpRequest.isInstance(e))throw Error("The request is not an instance of `HttpRequest` and cannot be signed");let{config:s,signer:c,signingRegion:o,signingRegionSet:a,signingName:l}=await Mr(i),m=(await s.sigv4aSigningRegionSet?.()??a??[o]).join(",");return await c.sign(e,{signingDate:Dr(s.systemClockOffset),signingRegion:m,signingService:l})}}var Ws=(e)=>typeof e==="string"&&e.length>0?e.split(",").map((t)=>t.trim()):[],Js=(e)=>`AWS_BEARER_TOKEN_${e.replace(/[\s-]/g,"_").toUpperCase()}`,Qs="AWS_AUTH_SCHEME_PREFERENCE",Ks="auth_scheme_preference",tl={environmentVariableSelector:(e,t)=>{if(t?.signingName){if(Js(t.signingName)in e)return["httpBearerAuth"]}if(!(Qs in e))return;return Ws(e[Qs])},configFileSelector:(e)=>{if(!(Ks in e))return;return Ws(e[Ks])},default:[]},rl=(e)=>{return e.sigv4aSigningRegionSet=Le.normalizeProvider(e.sigv4aSigningRegionSet),e},nl={environmentVariableSelector(e){if(e.AWS_SIGV4A_SIGNING_REGION_SET)return e.AWS_SIGV4A_SIGNING_REGION_SET.split(",").map((t)=>t.trim());throw new qs.ProviderError("AWS_SIGV4A_SIGNING_REGION_SET not set in env.",{tryNextLink:!0})},configFileSelector(e){if(e.sigv4a_signing_region_set)return(e.sigv4a_signing_region_set??"").split(",").map((t)=>t.trim());throw new qs.ProviderError("sigv4a_signing_region_set not set in profile.",{tryNextLink:!0})},default:void 0},Zs=(e)=>{let t=e.credentials,i=!!e.credentials,s=void 0;Object.defineProperty(e,"credentials",{set(m){if(m&&m!==t&&m!==s)i=!0;t=m;let g=il(e,{credentials:t,credentialDefaultProvider:e.credentialDefaultProvider}),b=ol(e,g);if(i&&!b.attributed){let w=typeof t==="object"&&t!==null;s=async(_)=>{let P=await b(_);if(w&&(!P.$source||Object.keys(P.$source).length===0))return Zc.setCredentialFeature(P,"CREDENTIALS_CODE","e");return P},s.memoized=b.memoized,s.configBound=b.configBound,s.attributed=!0}else s=b},get(){return s},enumerable:!0,configurable:!0}),e.credentials=t;let{signingEscapePath:c=!0,systemClockOffset:o=e.systemClockOffset||0,sha256:a}=e,l;if(e.signer)l=Le.normalizeProvider(e.signer);else if(e.regionInfoProvider)l=()=>Le.normalizeProvider(e.region)().then(async(m)=>[await e.regionInfoProvider(m,{useFipsEndpoint:await e.useFipsEndpoint(),useDualstackEndpoint:await e.useDualstackEndpoint()})||{},m]).then(([m,g])=>{let{signingRegion:b,signingService:w}=m;e.signingRegion=e.signingRegion||b||g,e.signingName=e.signingName||w||e.serviceId;let _={...e,credentials:e.credentials,region:e.signingRegion,service:e.signingName,sha256:a,uriEscapePath:c};return new(e.signerConstructor||Xs.SignatureV4)(_)});else l=async(m)=>{m=Object.assign({},{name:"sigv4",signingName:e.signingName||e.defaultSigningName,signingRegion:await Le.normalizeProvider(e.region)(),properties:{}},m);let{signingRegion:g,signingName:b}=m;e.signingRegion=e.signingRegion||g,e.signingName=e.signingName||b||e.serviceId;let w={...e,credentials:e.credentials,region:e.signingRegion,service:e.signingName,sha256:a,uriEscapePath:c};return new(e.signerConstructor||Xs.SignatureV4)(w)};return Object.assign(e,{systemClockOffset:o,signingEscapePath:c,signer:l})},sl=Zs;function il(e,{credentials:t,credentialDefaultProvider:i}){let s;if(t)if(!t?.memoized)s=Le.memoizeIdentityProvider(t,Le.isIdentityExpired,Le.doesIdentityRequireRefresh);else s=t;else if(i)s=Le.normalizeProvider(i(Object.assign({},e,{parentClientConfig:e})));else s=async()=>{throw Error("@aws-sdk/core::resolveAwsSdkSigV4Config - `credentials` not provided and no credentialDefaultProvider was configured.")};return s.memoized=!0,s}function ol(e,t){if(t.configBound)return t;let i=async(s)=>t({...s,callerClientConfig:e});return i.memoized=t.memoized,i.configBound=!0,i}al.AWSSDKSigV4Signer=el;al.AwsSdkSigV4ASigner=Ys;al.AwsSdkSigV4Signer=$t;al.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS=tl;al.NODE_SIGV4A_CONFIG_OPTIONS=nl;al.getBearerTokenEnvKey=Js;al.resolveAWSSDKSigV4Config=sl;al.resolveAwsSdkSigV4AConfig=rl;al.resolveAwsSdkSigV4Config=Zs;al.validateSigningProperties=Mr});var Nl=$((Ht)=>{Object.defineProperty(Ht,"__esModule",{value:!0});Ht.normalizeProvider=Ht.getSmithyContext=void 0;var vs=mt();Object.defineProperty(Ht,"getSmithyContext",{enumerable:!0,get:function(){return vs.getSmithyContext}});Object.defineProperty(Ht,"normalizeProvider",{enumerable:!0,get:function(){return vs.normalizeProvider}})});var wl=$((eg,Bt)=>{var ei,ti,ri,ni,si,ii,oi,ai,ui,ci,li,hi,di,Ut,jr,fi,pi,mi,rt,gi,yi,bi,Ei,Ni,wi,xi,Si,_i,Ft,Ti,Oi,Pi;(function(e){var t=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd)define("tslib",["exports"],function(s){e(i(t,i(s)))});else if(typeof Bt==="object"&&typeof eg==="object")e(i(t,i(eg)));else e(i(t));function i(s,c){if(s!==t)if(typeof Object.create==="function")Object.defineProperty(s,"__esModule",{value:!0});else s.__esModule=!0;return function(o,a){return s[o]=c?c(o,a):a}}})(function(e){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,a){o.__proto__=a}||function(o,a){for(var l in a)if(Object.prototype.hasOwnProperty.call(a,l))o[l]=a[l]};ei=function(o,a){if(typeof a!=="function"&&a!==null)throw TypeError("Class extends value "+String(a)+" is not a constructor or null");t(o,a);function l(){this.constructor=o}o.prototype=a===null?Object.create(a):(l.prototype=a.prototype,new l)},ti=Object.assign||function(o){for(var a,l=1,f=arguments.length;l<f;l++){a=arguments[l];for(var m in a)if(Object.prototype.hasOwnProperty.call(a,m))o[m]=a[m]}return o},ri=function(o,a){var l={};for(var f in o)if(Object.prototype.hasOwnProperty.call(o,f)&&a.indexOf(f)<0)l[f]=o[f];if(o!=null&&typeof Object.getOwnPropertySymbols==="function"){for(var m=0,f=Object.getOwnPropertySymbols(o);m<f.length;m++)if(a.indexOf(f[m])<0&&Object.prototype.propertyIsEnumerable.call(o,f[m]))l[f[m]]=o[f[m]]}return l},ni=function(o,a,l,f){var m=arguments.length,g=m<3?a:f===null?f=Object.getOwnPropertyDescriptor(a,l):f,b;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")g=Reflect.decorate(o,a,l,f);else for(var w=o.length-1;w>=0;w--)if(b=o[w])g=(m<3?b(g):m>3?b(a,l,g):b(a,l))||g;return m>3&&g&&Object.defineProperty(a,l,g),g},si=function(o,a){return function(l,f){a(l,f,o)}},ii=function(o,a,l,f,m,g){function b(G){if(G!==void 0&&typeof G!=="function")throw TypeError("Function expected");return G}var w=f.kind,_=w==="getter"?"get":w==="setter"?"set":"value",T=!a&&o?f.static?o:o.prototype:null,P=a||(T?Object.getOwnPropertyDescriptor(T,f.name):{}),V,X=!1;for(var B=l.length-1;B>=0;B--){var j={};for(var v in f)j[v]=v==="access"?{}:f[v];for(var v in f.access)j.access[v]=f.access[v];j.addInitializer=function(G){if(X)throw TypeError("Cannot add initializers after decoration has completed");g.push(b(G||null))};var he=(0,l[B])(w==="accessor"?{get:P.get,set:P.set}:P[_],j);if(w==="accessor"){if(he===void 0)continue;if(he===null||typeof he!=="object")throw TypeError("Object expected");if(V=b(he.get))P.get=V;if(V=b(he.set))P.set=V;if(V=b(he.init))m.unshift(V)}else if(V=b(he))if(w==="field")m.unshift(V);else P[_]=V}if(T)Object.defineProperty(T,f.name,P);X=!0},oi=function(o,a,l){var f=arguments.length>2;for(var m=0;m<a.length;m++)l=f?a[m].call(o,l):a[m].call(o);return f?l:void 0},ai=function(o){return typeof o==="symbol"?o:"".concat(o)},ui=function(o,a,l){if(typeof a==="symbol")a=a.description?"[".concat(a.description,"]"):"";return Object.defineProperty(o,"name",{configurable:!0,value:l?"".concat(l," ",a):a})},ci=function(o,a){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(o,a)},li=function(o,a,l,f){function m(g){return g instanceof l?g:new l(function(b){b(g)})}return new(l||(l=Promise))(function(g,b){function w(P){try{T(f.next(P))}catch(V){b(V)}}function _(P){try{T(f.throw(P))}catch(V){b(V)}}function T(P){P.done?g(P.value):m(P.value).then(w,_)}T((f=f.apply(o,a||[])).next())})},hi=function(o,a){var l={label:0,sent:function(){if(g[0]&1)throw g[1];return g[1]},trys:[],ops:[]},f,m,g,b=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return b.next=w(0),b.throw=w(1),b.return=w(2),typeof Symbol==="function"&&(b[Symbol.iterator]=function(){return this}),b;function w(T){return function(P){return _([T,P])}}function _(T){if(f)throw TypeError("Generator is already executing.");while(b&&(b=0,T[0]&&(l=0)),l)try{if(f=1,m&&(g=T[0]&2?m.return:T[0]?m.throw||((g=m.return)&&g.call(m),0):m.next)&&!(g=g.call(m,T[1])).done)return g;if(m=0,g)T=[T[0]&2,g.value];switch(T[0]){case 0:case 1:g=T;break;case 4:return l.label++,{value:T[1],done:!1};case 5:l.label++,m=T[1],T=[0];continue;case 7:T=l.ops.pop(),l.trys.pop();continue;default:if((g=l.trys,!(g=g.length>0&&g[g.length-1]))&&(T[0]===6||T[0]===2)){l=0;continue}if(T[0]===3&&(!g||T[1]>g[0]&&T[1]<g[3])){l.label=T[1];break}if(T[0]===6&&l.label<g[1]){l.label=g[1],g=T;break}if(g&&l.label<g[2]){l.label=g[2],l.ops.push(T);break}if(g[2])l.ops.pop();l.trys.pop();continue}T=a.call(o,l)}catch(P){T=[6,P],m=0}finally{f=g=0}if(T[0]&5)throw T[1];return{value:T[0]?T[1]:void 0,done:!0}}},di=function(o,a){for(var l in o)if(l!=="default"&&!Object.prototype.hasOwnProperty.call(a,l))Ft(a,o,l)},Ft=Object.create?function(o,a,l,f){if(f===void 0)f=l;var m=Object.getOwnPropertyDescriptor(a,l);if(!m||("get"in m?!a.__esModule:m.writable||m.configurable))m={enumerable:!0,get:function(){return a[l]}};Object.defineProperty(o,f,m)}:function(o,a,l,f){if(f===void 0)f=l;o[f]=a[l]},Ut=function(o){var a=typeof Symbol==="function"&&Symbol.iterator,l=a&&o[a],f=0;if(l)return l.call(o);if(o&&typeof o.length==="number")return{next:function(){if(o&&f>=o.length)o=void 0;return{value:o&&o[f++],done:!o}}};throw TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")},jr=function(o,a){var l=typeof Symbol==="function"&&o[Symbol.iterator];if(!l)return o;var f=l.call(o),m,g=[],b;try{while((a===void 0||a-- >0)&&!(m=f.next()).done)g.push(m.value)}catch(w){b={error:w}}finally{try{if(m&&!m.done&&(l=f.return))l.call(f)}finally{if(b)throw b.error}}return g},fi=function(){for(var o=[],a=0;a<arguments.length;a++)o=o.concat(jr(arguments[a]));return o},pi=function(){for(var o=0,a=0,l=arguments.length;a<l;a++)o+=arguments[a].length;for(var f=Array(o),m=0,a=0;a<l;a++)for(var g=arguments[a],b=0,w=g.length;b<w;b++,m++)f[m]=g[b];return f},mi=function(o,a,l){if(l||arguments.length===2){for(var f=0,m=a.length,g;f<m;f++)if(g||!(f in a)){if(!g)g=Array.prototype.slice.call(a,0,f);g[f]=a[f]}}return o.concat(g||Array.prototype.slice.call(a))},rt=function(o){return this instanceof rt?(this.v=o,this):new rt(o)},gi=function(o,a,l){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var f=l.apply(o,a||[]),m,g=[];return m=Object.create((typeof AsyncIterator==="function"?AsyncIterator:Object).prototype),w("next"),w("throw"),w("return",b),m[Symbol.asyncIterator]=function(){return this},m;function b(B){return function(j){return Promise.resolve(j).then(B,V)}}function w(B,j){if(f[B]){if(m[B]=function(v){return new Promise(function(he,G){g.push([B,v,he,G])>1||_(B,v)})},j)m[B]=j(m[B])}}function _(B,j){try{T(f[B](j))}catch(v){X(g[0][3],v)}}function T(B){B.value instanceof rt?Promise.resolve(B.value.v).then(P,V):X(g[0][2],B)}function P(B){_("next",B)}function V(B){_("throw",B)}function X(B,j){if(B(j),g.shift(),g.length)_(g[0][0],g[0][1])}},yi=function(o){var a,l;return a={},f("next"),f("throw",function(m){throw m}),f("return"),a[Symbol.iterator]=function(){return this},a;function f(m,g){a[m]=o[m]?function(b){return(l=!l)?{value:rt(o[m](b)),done:!1}:g?g(b):b}:g}},bi=function(o){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var a=o[Symbol.asyncIterator],l;return a?a.call(o):(o=typeof Ut==="function"?Ut(o):o[Symbol.iterator](),l={},f("next"),f("throw"),f("return"),l[Symbol.asyncIterator]=function(){return this},l);function f(g){l[g]=o[g]&&function(b){return new Promise(function(w,_){b=o[g](b),m(w,_,b.done,b.value)})}}function m(g,b,w,_){Promise.resolve(_).then(function(T){g({value:T,done:w})},b)}},Ei=function(o,a){if(Object.defineProperty)Object.defineProperty(o,"raw",{value:a});else o.raw=a;return o};var i=Object.create?function(o,a){Object.defineProperty(o,"default",{enumerable:!0,value:a})}:function(o,a){o.default=a},s=function(o){return s=Object.getOwnPropertyNames||function(a){var l=[];for(var f in a)if(Object.prototype.hasOwnProperty.call(a,f))l[l.length]=f;return l},s(o)};Ni=function(o){if(o&&o.__esModule)return o;var a={};if(o!=null){for(var l=s(o),f=0;f<l.length;f++)if(l[f]!=="default")Ft(a,o,l[f])}return i(a,o),a},wi=function(o){return o&&o.__esModule?o:{default:o}},xi=function(o,a,l,f){if(l==="a"&&!f)throw TypeError("Private accessor was defined without a getter");if(typeof a==="function"?o!==a||!f:!a.has(o))throw TypeError("Cannot read private member from an object whose class did not declare it");return l==="m"?f:l==="a"?f.call(o):f?f.value:a.get(o)},Si=function(o,a,l,f,m){if(f==="m")throw TypeError("Private method is not writable");if(f==="a"&&!m)throw TypeError("Private accessor was defined without a setter");if(typeof a==="function"?o!==a||!m:!a.has(o))throw TypeError("Cannot write private member to an object whose class did not declare it");return f==="a"?m.call(o,l):m?m.value=l:a.set(o,l),l},_i=function(o,a){if(a===null||typeof a!=="object"&&typeof a!=="function")throw TypeError("Cannot use 'in' operator on non-object");return typeof o==="function"?a===o:o.has(a)},Ti=function(o,a,l){if(a!==null&&a!==void 0){if(typeof a!=="object"&&typeof a!=="function")throw TypeError("Object expected.");var f,m;if(l){if(!Symbol.asyncDispose)throw TypeError("Symbol.asyncDispose is not defined.");f=a[Symbol.asyncDispose]}if(f===void 0){if(!Symbol.dispose)throw TypeError("Symbol.dispose is not defined.");if(f=a[Symbol.dispose],l)m=f}if(typeof f!=="function")throw TypeError("Object not disposable.");if(m)f=function(){try{m.call(this)}catch(g){return Promise.reject(g)}};o.stack.push({value:a,dispose:f,async:l})}else if(l)o.stack.push({async:!0});return a};var c=typeof SuppressedError==="function"?SuppressedError:function(o,a,l){var f=Error(l);return f.name="SuppressedError",f.error=o,f.suppressed=a,f};Oi=function(o){function a(g){o.error=o.hasError?new c(g,o.error,"An error was suppressed during disposal."):g,o.hasError=!0}var l,f=0;function m(){while(l=o.stack.pop())try{if(!l.async&&f===1)return f=0,o.stack.push(l),Promise.resolve().then(m);if(l.dispose){var g=l.dispose.call(l.value);if(l.async)return f|=2,Promise.resolve(g).then(m,function(b){return a(b),m()})}else f|=1}catch(b){a(b)}if(f===1)return o.hasError?Promise.reject(o.error):Promise.resolve();if(o.hasError)throw o.error}return m()},Pi=function(o,a){if(typeof o==="string"&&/^\.\.?\//.test(o))return o.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(l,f,m,g,b){return f?a?".jsx":".js":m&&(!g||!b)?l:m+g+"."+b.toLowerCase()+"js"});return o},e("__extends",ei),e("__assign",ti),e("__rest",ri),e("__decorate",ni),e("__param",si),e("__esDecorate",ii),e("__runInitializers",oi),e("__propKey",ai),e("__setFunctionName",ui),e("__metadata",ci),e("__awaiter",li),e("__generator",hi),e("__exportStar",di),e("__createBinding",Ft),e("__values",Ut),e("__read",jr),e("__spread",fi),e("__spreadArrays",pi),e("__spreadArray",mi),e("__await",rt),e("__asyncGenerator",gi),e("__asyncDelegator",yi),e("__asyncValues",bi),e("__makeTemplateObject",Ei),e("__importStar",Ni),e("__importDefault",wi),e("__classPrivateFieldGet",xi),e("__classPrivateFieldSet",Si),e("__classPrivateFieldIn",_i),e("__addDisposableResource",Ti),e("__disposeResources",Oi),e("__rewriteRelativeImportExtension",Pi)})});var Sl=$((tg,xl)=>{xl.exports={name:"@aws-sdk/nested-clients",version:"3.997.6",description:"Nested clients for AWS SDK packages.",main:"./dist-cjs/index.js",module:"./dist-es/index.js",types:"./dist-types/index.d.ts",scripts:{build:"yarn lint && concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs","build:cjs":"node ../../scripts/compilation/inline nested-clients","build:es":"tsc -p tsconfig.es.json","build:include:deps":'yarn g:turbo run build -F="$npm_package_name"',"build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4",clean:"premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",lint:"node ../../scripts/validation/submodules-linter.js --pkg nested-clients",test:"yarn g:vitest run","test:watch":"yarn g:vitest watch"},engines:{node:">=20.0.0"},sideEffects:!1,author:{name:"AWS SDK for JavaScript Team",url:"https://aws.amazon.com/javascript/"},license:"Apache-2.0",dependencies:{"@aws-crypto/sha256-browser":"5.2.0","@aws-crypto/sha256-js":"5.2.0","@aws-sdk/core":"^3.974.8","@aws-sdk/middleware-host-header":"^3.972.10","@aws-sdk/middleware-logger":"^3.972.10","@aws-sdk/middleware-recursion-detection":"^3.972.11","@aws-sdk/middleware-user-agent":"^3.972.38","@aws-sdk/region-config-resolver":"^3.972.13","@aws-sdk/signature-v4-multi-region":"^3.996.25","@aws-sdk/types":"^3.973.8","@aws-sdk/util-endpoints":"^3.996.8","@aws-sdk/util-user-agent-browser":"^3.972.10","@aws-sdk/util-user-agent-node":"^3.973.24","@smithy/config-resolver":"^4.4.17","@smithy/core":"^3.23.17","@smithy/fetch-http-handler":"^5.3.17","@smithy/hash-node":"^4.2.14","@smithy/invalid-dependency":"^4.2.14","@smithy/middleware-content-length":"^4.2.14","@smithy/middleware-endpoint":"^4.4.32","@smithy/middleware-retry":"^4.5.7","@smithy/middleware-serde":"^4.2.20","@smithy/middleware-stack":"^4.2.14","@smithy/node-config-provider":"^4.3.14","@smithy/node-http-handler":"^4.6.1","@smithy/protocol-http":"^5.3.14","@smithy/smithy-client":"^4.12.13","@smithy/types":"^4.14.1","@smithy/url-parser":"^4.2.14","@smithy/util-base64":"^4.3.2","@smithy/util-body-length-browser":"^4.2.2","@smithy/util-body-length-node":"^4.2.3","@smithy/util-defaults-mode-browser":"^4.3.49","@smithy/util-defaults-mode-node":"^4.2.54","@smithy/util-endpoints":"^3.4.2","@smithy/util-middleware":"^4.2.14","@smithy/util-retry":"^4.3.6","@smithy/util-utf8":"^4.2.2",tslib:"^2.6.2"},devDependencies:{concurrently:"7.0.0","downlevel-dts":"0.10.1",premove:"4.0.0",typescript:"~5.8.3"},typesVersions:{"<4.5":{"dist-types/*":["dist-types/ts3.4/*"]}},files:["./cognito-identity.d.ts","./cognito-identity.js","./signin.d.ts","./signin.js","./sso-oidc.d.ts","./sso-oidc.js","./sso.d.ts","./sso.js","./sts.d.ts","./sts.js","dist-*/**"],browser:{"./dist-es/submodules/cognito-identity/runtimeConfig":"./dist-es/submodules/cognito-identity/runtimeConfig.browser","./dist-es/submodules/signin/runtimeConfig":"./dist-es/submodules/signin/runtimeConfig.browser","./dist-es/submodules/sso-oidc/runtimeConfig":"./dist-es/submodules/sso-oidc/runtimeConfig.browser","./dist-es/submodules/sso/runtimeConfig":"./dist-es/submodules/sso/runtimeConfig.browser","./dist-es/submodules/sts/runtimeConfig":"./dist-es/submodules/sts/runtimeConfig.browser"},"react-native":{},homepage:"https://github.com/aws/aws-sdk-js-v3/tree/main/packages/nested-clients",repository:{type:"git",url:"https://github.com/aws/aws-sdk-js-v3.git",directory:"packages/nested-clients"},exports:{"./package.json":"./package.json","./sso-oidc":{types:"./dist-types/submodules/sso-oidc/index.d.ts",module:"./dist-es/submodules/sso-oidc/index.js",node:"./dist-cjs/submodules/sso-oidc/index.js",import:"./dist-es/submodules/sso-oidc/index.js",require:"./dist-cjs/submodules/sso-oidc/index.js"},"./sts":{types:"./dist-types/submodules/sts/index.d.ts",module:"./dist-es/submodules/sts/index.js",node:"./dist-cjs/submodules/sts/index.js",import:"./dist-es/submodules/sts/index.js",require:"./dist-cjs/submodules/sts/index.js"},"./signin":{types:"./dist-types/submodules/signin/index.d.ts",module:"./dist-es/submodules/signin/index.js",node:"./dist-cjs/submodules/signin/index.js",import:"./dist-es/submodules/signin/index.js",require:"./dist-cjs/submodules/signin/index.js"},"./cognito-identity":{types:"./dist-types/submodules/cognito-identity/index.d.ts",module:"./dist-es/submodules/cognito-identity/index.js",node:"./dist-cjs/submodules/cognito-identity/index.js",import:"./dist-es/submodules/cognito-identity/index.js",require:"./dist-cjs/submodules/cognito-identity/index.js"},"./sso":{types:"./dist-types/submodules/sso/index.d.ts",module:"./dist-es/submodules/sso/index.js",node:"./dist-cjs/submodules/sso/index.js",import:"./dist-es/submodules/sso/index.js",require:"./dist-cjs/submodules/sso/index.js"}}}});var Ai=$((Et)=>{Object.defineProperty(Et,"__esModule",{value:!0});Et.SelectorType=Et.numberSelector=Et.booleanSelector=void 0;var Lr=Ct();Object.defineProperty(Et,"booleanSelector",{enumerable:!0,get:function(){return Lr.booleanSelector}});Object.defineProperty(Et,"numberSelector",{enumerable:!0,get:function(){return Lr.numberSelector}});Object.defineProperty(Et,"SelectorType",{enumerable:!0,get:function(){return Lr.SelectorType}})});var Gl=$((Ul)=>{var __dirname="/home/runner/work/claudin/claudin/node_modules/@aws-sdk/util-user-agent-node/dist-cjs",Ci=ht("node:os"),Nt=ht("node:process"),Ii=Ai(),Ri=ht("node:fs/promises"),nt=ht("node:path"),Tl=hs(),Ol=()=>{let e=["deno","bun","llrt"];for(let t of e)if(Nt.versions[t])return[`md/${t}`,Nt.versions[t]];return["md/nodejs",Nt.versions.node]},Pl=(e)=>{let t=process.cwd();if(!e)return[t];let i=nt.normalize(e),s=i.split(nt.sep),c=s.indexOf("node_modules"),o=c!==-1?s.slice(0,c).join(nt.sep):i;if(t===o)return[t];return[o,t]},Al=/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*)?$/,Di=(e="")=>{let t=e.match(Al);if(!t)return;let[i,s,c,o]=[t[1],t[2],t[3],t[4]];return o?`${i}.${s}.${c}-${o}`:`${i}.${s}.${c}`},Cl=["^","~",">=","<=",">","<"],Il=["latest","beta","dev","rc","insiders","next"],Rl=(e="")=>{if(Il.includes(e))return e;let t=Cl.find((s)=>e.startsWith(s))??"",i=Di(e.slice(t.length));if(!i)return;return`${t}${i}`},Ne,Dl=nt.join("node_modules","typescript","package.json"),Ml=async()=>{if(Ne===null)return;else if(typeof Ne==="string")return["md/tsc",Ne];let e=!1;try{e=Ii.booleanSelector(process.env,"AWS_SDK_JS_TYPESCRIPT_DETECTION_DISABLED",Ii.SelectorType.ENV)||!1}catch{}if(e){Ne=null;return}let i=Pl(typeof __dirname<"u"?__dirname:void 0),s;for(let a of i)try{let l=nt.join(a,"package.json"),f=await Ri.readFile(l,"utf-8"),{dependencies:m,devDependencies:g}=JSON.parse(f),b=g?.typescript??m?.typescript;if(typeof b!=="string")continue;s=b;break}catch{}if(!s){Ne=null;return}let c;for(let a of i)try{let l=nt.join(a,Dl),f=await Ri.readFile(l,"utf-8"),{version:m}=JSON.parse(f),g=Di(m);if(typeof g!=="string")continue;c=g;break}catch{}if(c)return Ne=c,["md/tsc",Ne];let o=Rl(s);if(typeof o!=="string"){Ne=null;return}return Ne=`dev_${o}`,["md/tsc",Ne]},Mi={isCrtAvailable:!1},jl=()=>{if(Mi.isCrtAvailable)return["md/crt-avail"];return null},ji=({serviceId:e,clientVersion:t})=>{let i=Ol();return async(s)=>{let c=[["aws-sdk-js",t],["ua","2.1"],[`os/${Ci.platform()}`,Ci.release()],["lang/js"],i],o=await Ml();if(o)c.push(o);let a=jl();if(a)c.push(a);if(e)c.push([`api/${e}`,t]);if(Nt.env.AWS_EXECUTION_ENV)c.push([`exec-env/${Nt.env.AWS_EXECUTION_ENV}`]);let l=await s?.userAgentAppId?.();return l?[...c,[`app/${l}`]]:[...c]}},Ll=ji,Li="AWS_SDK_UA_APP_ID",$i="sdk_ua_app_id",$l="sdk-ua-app-id",Hl={environmentVariableSelector:(e)=>e[Li],configFileSelector:(e)=>e[$i]??e[$l],default:Tl.DEFAULT_UA_APP_ID};Ul.NODE_APP_ID_CONFIG_OPTIONS=Hl;Ul.UA_APP_ID_ENV_NAME=Li;Ul.UA_APP_ID_INI_NAME=$i;Ul.createDefaultUserAgentProvider=ji;Ul.crtAvailability=Mi;Ul.defaultUserAgent=Ll});var Ql=$(($r)=>{Object.defineProperty($r,"__esModule",{value:!0});$r.Hash=void 0;var kl=Ee();Object.defineProperty($r,"Hash",{enumerable:!0,get:function(){return kl.Hash}})});var Jl=$((Hr)=>{Object.defineProperty(Hr,"__esModule",{value:!0});Hr.calculateBodyLength=void 0;var Kl=Ee();Object.defineProperty(Hr,"calculateBodyLength",{enumerable:!0,get:function(){return Kl.calculateBodyLength}})});var eh=$((Ur)=>{Object.defineProperty(Ur,"__esModule",{value:!0});Ur.resolveDefaultsModeConfig=void 0;var Zl=Ct();Object.defineProperty(Ur,"resolveDefaultsModeConfig",{enumerable:!0,get:function(){return Zl.resolveDefaultsModeConfig}})});var Hi=$((wt)=>{Object.defineProperty(wt,"__esModule",{value:!0});wt.toUtf8=wt.toUint8Array=wt.fromUtf8=void 0;var Fr=Ee();Object.defineProperty(wt,"fromUtf8",{enumerable:!0,get:function(){return Fr.fromUtf8}});Object.defineProperty(wt,"toUint8Array",{enumerable:!0,get:function(){return Fr.toUint8Array}});Object.defineProperty(wt,"toUtf8",{enumerable:!0,get:function(){return Fr.toUtf8}})});var Yi=$((xh)=>{var ge=Ee(),it=pe(),rh=mt(),st=Vi(),qt=0,Xt=1,We=2,$e=3,xt=4,Vt=5,zi=6,Br=7,qi=20,qr=21,Xi=22,nh=23,Gr=24,Qe=25,Ke=26,He=27,kr=31;function ot(e){return typeof Buffer<"u"?Buffer.alloc(e):new Uint8Array(e)}var Wr=Symbol("@smithy/core/cbor::tagSymbol");function Qr(e){return e[Wr]=!0,e}var sh=typeof TextDecoder<"u",ih=typeof Buffer<"u",q=ot(0),Ie=new DataView(q.buffer,q.byteOffset,q.byteLength),Ui=sh?new TextDecoder:null,F=0;function oh(e){q=e,Ie=new DataView(q.buffer,q.byteOffset,q.byteLength)}function Re(e,t){if(e>=t)throw Error("unexpected end of (decode) payload.");let i=(q[e]&224)>>5,s=q[e]&31;switch(i){case qt:case Xt:case zi:let c,o;if(s<24)c=s,o=1;else switch(s){case Gr:case Qe:case Ke:case He:let a=ki[s],l=a+1;if(o=l,t-e<l)throw Error(`countLength ${a} greater than remaining buf len.`);let f=e+1;if(a===1)c=q[f];else if(a===2)c=Ie.getUint16(f);else if(a===4)c=Ie.getUint32(f);else c=Ie.getBigUint64(f);break;default:throw Error(`unexpected minor value ${s}.`)}if(i===qt)return F=o,Vr(c);else if(i===Xt){let a;if(typeof c==="bigint")a=BigInt(-1)-c;else a=-1-c;return F=o,Vr(a)}else if(s===2||s===3){let a=St(e+o,t),l=BigInt(0),f=e+o+F;for(let m=f;m<f+a;++m)l=l<<BigInt(8)|BigInt(q[m]);return F=o+F+a,s===3?-l-BigInt(1):l}else if(s===4){let a=Re(e+o,t),[l,f]=a,m=f<0?-1:1,g="0".repeat(Math.abs(l)+1)+String(BigInt(m)*BigInt(f)),b,w=f<0?"-":"";if(b=l===0?g:g.slice(0,g.length+l)+"."+g.slice(l),b=b.replace(/^0+/g,""),b==="")b="0";if(b[0]===".")b="0"+b;return b=w+b,F=o+F,ge.nv(b)}else{let a=Re(e+o,t);return F=o+F,Qr({tag:Vr(c),value:a})}case $e:case Vt:case xt:case We:if(s===kr)switch(i){case $e:return lh(e,t);case Vt:return mh(e,t);case xt:return fh(e,t);case We:return hh(e,t)}else switch(i){case $e:return ch(e,t);case Vt:return ph(e,t);case xt:return dh(e,t);case We:return Kr(e,t)}default:return gh(e,t)}}function Gi(e,t,i){if(ih&&e.constructor?.name==="Buffer")return e.toString("utf-8",t,i);if(Ui)return Ui.decode(e.subarray(t,i));return ge.toUtf8(e.subarray(t,i))}function ah(e){let t=Number(e);if(t<Number.MIN_SAFE_INTEGER||Number.MAX_SAFE_INTEGER<t)console.warn(Error(`@smithy/core/cbor - truncating BigInt(${e}) to ${t} with loss of precision.`));return t}var ki={[Gr]:1,[Qe]:2,[Ke]:4,[He]:8};function uh(e,t){let i=e>>7,s=(e&124)>>2,c=(e&3)<<8|t,o=i===0?1:-1,a,l;if(s===0)if(c===0)return 0;else a=Math.pow(2,-14),l=0;else if(s===31)if(c===0)return o*(1/0);else return NaN;else a=Math.pow(2,s-15),l=1;return l+=c/1024,o*(a*l)}function St(e,t){let i=q[e]&31;if(i<24)return F=1,i;if(i===Gr||i===Qe||i===Ke||i===He){let s=ki[i];if(F=s+1,t-e<F)throw Error(`countLength ${s} greater than remaining buf len.`);let c=e+1;if(s===1)return q[c];else if(s===2)return Ie.getUint16(c);else if(s===4)return Ie.getUint32(c);return ah(Ie.getBigUint64(c))}throw Error(`unexpected minor value ${i}.`)}function ch(e,t){let i=St(e,t),s=F;if(e+=s,t-e<i)throw Error(`string len ${i} greater than remaining buf len.`);let c=Gi(q,e,e+i);return F=s+i,c}function lh(e,t){e+=1;let i=[];for(let s=e;e<t;){if(q[e]===255){let f=ot(i.length);return f.set(i,0),F=e-s+2,Gi(f,0,f.length)}let c=(q[e]&224)>>5,o=q[e]&31;if(c!==$e)throw Error(`unexpected major type ${c} in indefinite string.`);if(o===kr)throw Error("nested indefinite string.");let a=Kr(e,t);e+=F;for(let f=0;f<a.length;++f)i.push(a[f])}throw Error("expected break marker.")}function Kr(e,t){let i=St(e,t),s=F;if(e+=s,t-e<i)throw Error(`unstructured byte string len ${i} greater than remaining buf len.`);let c=q.subarray(e,e+i);return F=s+i,c}function hh(e,t){e+=1;let i=[];for(let s=e;e<t;){if(q[e]===255){let f=ot(i.length);return f.set(i,0),F=e-s+2,f}let c=(q[e]&224)>>5,o=q[e]&31;if(c!==We)throw Error(`unexpected major type ${c} in indefinite string.`);if(o===kr)throw Error("nested indefinite string.");let a=Kr(e,t);e+=F;for(let f=0;f<a.length;++f)i.push(a[f])}throw Error("expected break marker.")}function dh(e,t){let i=St(e,t),s=F;e+=s;let c=e,o=Array(i);for(let a=0;a<i;++a){let l=Re(e,t),f=F;o[a]=l,e+=f}return F=s+(e-c),o}function fh(e,t){e+=1;let i=[];for(let s=e;e<t;){if(q[e]===255)return F=e-s+2,i;let c=Re(e,t);e+=F,i.push(c)}throw Error("expected break marker.")}function ph(e,t){let i=St(e,t),s=F;e+=s;let c=e,o={};for(let a=0;a<i;++a){if(e>=t)throw Error("unexpected end of map payload.");let l=(q[e]&224)>>5;if(l!==$e)throw Error(`unexpected major type ${l} for map key at index ${e}.`);let f=Re(e,t);e+=F;let m=Re(e,t);e+=F,o[f]=m}return F=s+(e-c),o}function mh(e,t){e+=1;let i=e,s={};for(;e<t;){if(e>=t)throw Error("unexpected end of map payload.");if(q[e]===255)return F=e-i+2,s;let c=(q[e]&224)>>5;if(c!==$e)throw Error(`unexpected major type ${c} for map key.`);let o=Re(e,t);e+=F;let a=Re(e,t);e+=F,s[o]=a}throw Error("expected break marker.")}function gh(e,t){let i=q[e]&31;switch(i){case qr:case qi:return F=1,i===qr;case Xi:return F=1,null;case nh:return F=1,null;case Qe:if(t-e<3)throw Error("incomplete float16 at end of buf.");return F=3,uh(q[e+1],q[e+2]);case Ke:if(t-e<5)throw Error("incomplete float32 at end of buf.");return F=5,Ie.getFloat32(e+1);case He:if(t-e<9)throw Error("incomplete float64 at end of buf.");return F=9,Ie.getFloat64(e+1);default:throw Error(`unexpected minor value ${i}.`)}}function Vr(e){if(typeof e==="number")return e;let t=Number(e);if(Number.MIN_SAFE_INTEGER<=t&&t<=Number.MAX_SAFE_INTEGER)return t;return e}var Fi=typeof Buffer<"u",yh=2048,L=ot(yh),Ce=new DataView(L.buffer,L.byteOffset,L.byteLength),R=0;function zr(e){if(L.byteLength-R<e)if(R<16000000)Xr(Math.max(L.byteLength*4,L.byteLength+e));else Xr(L.byteLength+e+16000000)}function Bi(){let e=ot(R);return e.set(L.subarray(0,R),0),R=0,e}function Xr(e){let t=L;if(L=ot(e),t)if(t.copy)t.copy(L,0,0,t.byteLength);else L.set(t,0);Ce=new DataView(L.buffer,L.byteOffset,L.byteLength)}function Ae(e,t){if(t<24)L[R++]=e<<5|t;else if(t<256)L[R++]=e<<5|24,L[R++]=t;else if(t<65536)L[R++]=e<<5|Qe,Ce.setUint16(R,t),R+=2;else if(t<4294967296)L[R++]=e<<5|Ke,Ce.setUint32(R,t),R+=4;else L[R++]=e<<5|He,Ce.setBigUint64(R,typeof t==="bigint"?t:BigInt(t)),R+=8}function bh(e){let t=[e];while(t.length){let i=t.pop();if(zr(typeof i==="string"?i.length*4:64),typeof i==="string"){if(Fi)Ae($e,Buffer.byteLength(i)),R+=L.write(i,R);else{let s=ge.fromUtf8(i);Ae($e,s.byteLength),L.set(s,R),R+=s.byteLength}continue}else if(typeof i==="number"){if(Number.isInteger(i)){let s=i>=0,c=s?qt:Xt,o=s?i:-i-1;if(o<24)L[R++]=c<<5|o;else if(o<256)L[R++]=c<<5|24,L[R++]=o;else if(o<65536)L[R++]=c<<5|Qe,L[R++]=o>>8,L[R++]=o;else if(o<4294967296)L[R++]=c<<5|Ke,Ce.setUint32(R,o),R+=4;else L[R++]=c<<5|He,Ce.setBigUint64(R,BigInt(o)),R+=8;continue}L[R++]=Br<<5|He,Ce.setFloat64(R,i),R+=8;continue}else if(typeof i==="bigint"){let s=i>=0,c=s?qt:Xt,o=s?i:-i-BigInt(1),a=Number(o);if(a<24)L[R++]=c<<5|a;else if(a<256)L[R++]=c<<5|24,L[R++]=a;else if(a<65536)L[R++]=c<<5|Qe,L[R++]=a>>8,L[R++]=a&255;else if(a<4294967296)L[R++]=c<<5|Ke,Ce.setUint32(R,a),R+=4;else if(o<BigInt("18446744073709551616"))L[R++]=c<<5|He,Ce.setBigUint64(R,o),R+=8;else{let l=o.toString(2),f=new Uint8Array(Math.ceil(l.length/8)),m=o,g=0;while(f.byteLength-++g>=0)f[f.byteLength-g]=Number(m&BigInt(255)),m>>=BigInt(8);if(zr(f.byteLength*2),L[R++]=s?194:195,Fi)Ae(We,Buffer.byteLength(f));else Ae(We,f.byteLength);L.set(f,R),R+=f.byteLength}continue}else if(i===null){L[R++]=Br<<5|Xi;continue}else if(typeof i==="boolean"){L[R++]=Br<<5|(i?qr:qi);continue}else if(typeof i>"u")throw Error("@smithy/core/cbor: client may not serialize undefined value.");else if(Array.isArray(i)){for(let s=i.length-1;s>=0;--s)t.push(i[s]);Ae(xt,i.length);continue}else if(typeof i.byteLength==="number"){zr(i.length*2),Ae(We,i.length),L.set(i,R),R+=i.byteLength;continue}else if(typeof i==="object"){if(i instanceof ge.NumericValue){let c=i.string.indexOf("."),o=c===-1?0:c-i.string.length+1,a=BigInt(i.string.replace(".",""));L[R++]=196,t.push(a),t.push(o),Ae(xt,2);continue}if(i[Wr])if("tag"in i&&"value"in i){t.push(i.value),Ae(zi,i.tag);continue}else throw Error("tag encountered with missing fields, need 'tag' and 'value', found: "+JSON.stringify(i));let s=Object.keys(i);for(let c=s.length-1;c>=0;--c){let o=s[c];t.push(i[o]),t.push(o)}Ae(Vt,s.length);continue}throw Error(`data type ${i?.constructor?.name??typeof i} not compatible for encoding.`)}}var Gt={deserialize(e){return oh(e),Re(0,e.length)},serialize(e){try{return bh(e),Bi()}catch(t){throw Bi(),t}},resizeEncodingBuffer(e){Xr(e)}},Wi=(e,t)=>{return it.collectBody(e,t).then(async(i)=>{if(i.length)try{return Gt.deserialize(i)}catch(s){throw Object.defineProperty(s,"$responseBodyText",{value:t.utf8Encoder(i)}),s}return{}})},zt=(e)=>{return Qr({tag:1,value:e.getTime()/1000})},Eh=async(e,t)=>{let i=await Wi(e,t);return i.message=i.message??i.Message,i},Qi=(e,t)=>{let i=(c)=>{let o=c;if(typeof o==="number")o=o.toString();if(o.indexOf(",")>=0)o=o.split(",")[0];if(o.indexOf(":")>=0)o=o.split(":")[0];if(o.indexOf("#")>=0)o=o.split("#")[1];return o};if(t.__type!==void 0)return i(t.__type);let s;for(let c in t)if(c.toLowerCase()==="code"){s=c;break}if(s&&t[s]!==void 0)return i(t[s])},Nh=(e)=>{if(String(e.headers["smithy-protocol"]).toLowerCase()!=="rpc-v2-cbor")throw Error("Malformed RPCv2 CBOR response, status: "+e.statusCode)},wh=async(e,t,i,s,c)=>{let o=await e.endpoint(),{hostname:a,protocol:l="https",port:f,path:m}=o,g={protocol:l,hostname:a,port:f,method:"POST",path:m.endsWith("/")?m.slice(0,-1)+i:m+i,headers:{...t}};if(s!==void 0)g.hostname=s;if(o.headers)for(let b in o.headers)g.headers[b]=o.headers[b];if(c!==void 0){g.body=c;try{g.headers["content-length"]=String(ge.calculateBodyLength(c))}catch(b){}}return new it.HttpRequest(g)};class Yr extends it.SerdeContext{createSerializer(){let e=new Jr;return e.setSerdeContext(this.serdeContext),e}createDeserializer(){let e=new Zr;return e.setSerdeContext(this.serdeContext),e}}class Jr extends it.SerdeContext{value;write(e,t){this.value=this.serialize(e,t)}serialize(e,t){let i=st.NormalizedSchema.of(e);if(t==null){if(i.isIdempotencyToken())return ge.generateIdempotencyToken();return t}if(i.isBlobSchema()){if(typeof t==="string")return(this.serdeContext?.base64Decoder??ge.fromBase64)(t);return t}if(i.isTimestampSchema()){if(typeof t==="number"||typeof t==="bigint")return zt(new Date(Number(t)/1000|0));return zt(t)}if(typeof t==="function"||typeof t==="object"){let s=t;if(i.isListSchema()&&Array.isArray(s)){let o=!!i.getMergedTraits().sparse,a=[],l=0;for(let f of s){let m=this.serialize(i.getValueSchema(),f);if(m!=null||o)a[l++]=m}return a}if(s instanceof Date)return zt(s);let c={};if(i.isMapSchema()){let o=!!i.getMergedTraits().sparse;for(let a in s){let l=this.serialize(i.getValueSchema(),s[a]);if(l!=null||o)c[a]=l}}else if(i.isStructSchema()){for(let[a,l]of i.structIterator()){let f=this.serialize(l,s[a]);if(f!=null)c[a]=f}if(i.isUnionSchema()&&Array.isArray(s.$unknown)){let[a,l]=s.$unknown;c[a]=l}else if(typeof s.__type==="string"){for(let a in s)if(!(a in c))c[a]=this.serialize(15,s[a])}}else if(i.isDocumentSchema())for(let o in s)c[o]=this.serialize(i.getValueSchema(),s[o]);else if(i.isBigDecimalSchema())return s;return c}return t}flush(){let e=Gt.serialize(this.value);return this.value=void 0,e}}class Zr extends it.SerdeContext{read(e,t){let i=Gt.deserialize(t);return this.readValue(e,i)}readValue(e,t){let i=st.NormalizedSchema.of(e);if(i.isTimestampSchema()){if(typeof t==="number")return ge._parseEpochTimestamp(t);if(typeof t==="object"){if(t.tag===1&&"value"in t)return ge._parseEpochTimestamp(t.value)}}if(i.isBlobSchema()){if(typeof t==="string")return(this.serdeContext?.base64Decoder??ge.fromBase64)(t);return t}if(typeof t>"u"||typeof t==="boolean"||typeof t==="number"||typeof t==="string"||typeof t==="bigint"||typeof t==="symbol")return t;else if(typeof t==="object"){if(t===null)return null;if("byteLength"in t)return t;if(t instanceof Date)return t;if(i.isDocumentSchema())return t;if(i.isListSchema()){let c=[],o=i.getValueSchema();for(let a of t){let l=this.readValue(o,a);c.push(l)}return c}let s={};if(i.isMapSchema()){let c=i.getValueSchema();for(let o in t){let a=this.readValue(c,t[o]);s[o]=a}}else if(i.isStructSchema()){let c=i.isUnionSchema(),o;if(c){o=new Set;for(let a in t)if(a!=="__type")o.add(a)}for(let[a,l]of i.structIterator()){if(c)o.delete(a);if(t[a]!=null)s[a]=this.readValue(l,t[a])}if(c&&o?.size===1){let a=!0;for(let l in s){a=!1;break}if(a){let l=o.values().next().value;s.$unknown=[l,t[l]]}}else if(typeof t.__type==="string"){for(let a in t)if(!(a in s))s[a]=t[a]}}else if(t instanceof ge.NumericValue)return t;return s}else return t}}class Ki extends it.RpcProtocol{codec=new Yr;serializer=this.codec.createSerializer();deserializer=this.codec.createDeserializer();constructor({defaultNamespace:e,errorTypeRegistries:t}){super({defaultNamespace:e,errorTypeRegistries:t})}getShapeId(){return"smithy.protocols#rpcv2Cbor"}getPayloadCodec(){return this.codec}async serializeRequest(e,t,i){let s=await super.serializeRequest(e,t,i);if(Object.assign(s.headers,{"content-type":this.getDefaultContentType(),"smithy-protocol":"rpc-v2-cbor",accept:this.getDefaultContentType()}),st.deref(e.input)==="unit")delete s.body,delete s.headers["content-type"];else{if(!s.body)this.serializer.write(15,{}),s.body=this.serializer.flush();try{s.headers["content-length"]=String(s.body.byteLength)}catch(l){}}let{service:c,operation:o}=rh.getSmithyContext(i),a=`/service/${c}/operation/${o}`;if(s.path.endsWith("/"))s.path+=a.slice(1);else s.path+=a;return s}async deserializeResponse(e,t,i){return super.deserializeResponse(e,t,i)}async handleError(e,t,i,s,c){let o=Qi(i,s)??"Unknown",a={$metadata:c,$fault:i.statusCode<=500?"client":"server"},l=this.options.defaultNamespace;if(o.includes("#"))[l]=o.split("#");let f=this.compositeErrorRegistry,m=st.TypeRegistry.for(l);f.copyFrom(m);let g;try{g=f.getSchema(o)}catch(V){if(s.Message)s.message=s.Message;let X=st.TypeRegistry.for("smithy.ts.sdk.synthetic."+l);f.copyFrom(X);let B=f.getBaseException();if(B){let j=f.getErrorCtor(B);throw Object.assign(new j({name:o}),a,s)}throw Object.assign(Error(o),a,s)}let b=st.NormalizedSchema.of(g),w=f.getErrorCtor(g),_=s.message??s.Message??"Unknown",T=new w(_),P={};for(let[V,X]of b.structIterator())P[V]=this.deserializer.readValue(X,s[V]);throw Object.assign(T,a,{$fault:b.getMergedTraits().error,message:_},P)}getDefaultContentType(){return"application/cbor"}}xh.CborCodec=Yr;xh.CborShapeDeserializer=Zr;xh.CborShapeSerializer=Jr;xh.SmithyRpcV2CborProtocol=Ki;xh.buildHttpRpcRequest=wh;xh.cbor=Gt;xh.checkCborResponse=Nh;xh.dateToTag=zt;xh.loadSmithyRpcV2CborErrorCode=Qi;xh.parseCborBody=Wi;xh.parseCborErrorBody=Eh;xh.tag=Qr;xh.tagSymbol=Wr});var Ji=$((C)=>{Object.defineProperty(C,"__esModule",{value:!0});C.createAggregatedClient=C.convertMap=C._json=C.ServiceException=C.SENSITIVE_STRING=C.NoOpLogger=C.Command=C.Client=C.strictParseShort=C.strictParseLong=C.strictParseInt32=C.strictParseInt=C.strictParseFloat32=C.strictParseFloat=C.strictParseDouble=C.strictParseByte=C.splitHeader=C.splitEvery=C.quoteHeader=C.parseRfc7231DateTime=C.parseRfc3339DateTimeWithOffset=C.parseRfc3339DateTime=C.parseEpochTimestamp=C.parseBoolean=C.nv=C.logger=C.limitedParseFloat32=C.limitedParseFloat=C.limitedParseDouble=C.handleFloat=C.generateIdempotencyToken=C.expectUnion=C.expectString=C.expectShort=C.expectObject=C.expectNumber=C.expectNonNull=C.expectLong=C.expectInt32=C.expectInt=C.expectFloat32=C.expectByte=C.expectBoolean=C.dateToUtcString=C.copyDocumentWithTransform=C._parseRfc7231DateTime=C._parseRfc3339DateTimeWithOffset=C._parseEpochTimestamp=C.NumericValue=C.LazyJsonString=void 0;C.resolvedPath=C.extendedEncodeURIComponent=C.collectBody=C.withBaseException=C.throwDefaultError=C.take=C.serializeFloat=C.serializeDateTime=C.resolveDefaultRuntimeConfig=C.map=C.loadConfigsForDefaultMode=C.isSerializableHeaderValue=C.getValueFromTextNode=C.getDefaultExtensionConfiguration=C.getDefaultClientConfiguration=C.getArrayIfSingleItem=C.emitWarningIfUnsupportedVersion=C.decorateServiceException=void 0;var U=Ee();Object.defineProperty(C,"LazyJsonString",{enumerable:!0,get:function(){return U.LazyJsonString}});Object.defineProperty(C,"NumericValue",{enumerable:!0,get:function(){return U.NumericValue}});Object.defineProperty(C,"_parseEpochTimestamp",{enumerable:!0,get:function(){return U._parseEpochTimestamp}});Object.defineProperty(C,"_parseRfc3339DateTimeWithOffset",{enumerable:!0,get:function(){return U._parseRfc3339DateTimeWithOffset}});Object.defineProperty(C,"_parseRfc7231DateTime",{enumerable:!0,get:function(){return U._parseRfc7231DateTime}});Object.defineProperty(C,"copyDocumentWithTransform",{enumerable:!0,get:function(){return U.copyDocumentWithTransform}});Object.defineProperty(C,"dateToUtcString",{enumerable:!0,get:function(){return U.dateToUtcString}});Object.defineProperty(C,"expectBoolean",{enumerable:!0,get:function(){return U.expectBoolean}});Object.defineProperty(C,"expectByte",{enumerable:!0,get:function(){return U.expectByte}});Object.defineProperty(C,"expectFloat32",{enumerable:!0,get:function(){return U.expectFloat32}});Object.defineProperty(C,"expectInt",{enumerable:!0,get:function(){return U.expectInt}});Object.defineProperty(C,"expectInt32",{enumerable:!0,get:function(){return U.expectInt32}});Object.defineProperty(C,"expectLong",{enumerable:!0,get:function(){return U.expectLong}});Object.defineProperty(C,"expectNonNull",{enumerable:!0,get:function(){return U.expectNonNull}});Object.defineProperty(C,"expectNumber",{enumerable:!0,get:function(){return U.expectNumber}});Object.defineProperty(C,"expectObject",{enumerable:!0,get:function(){return U.expectObject}});Object.defineProperty(C,"expectShort",{enumerable:!0,get:function(){return U.expectShort}});Object.defineProperty(C,"expectString",{enumerable:!0,get:function(){return U.expectString}});Object.defineProperty(C,"expectUnion",{enumerable:!0,get:function(){return U.expectUnion}});Object.defineProperty(C,"generateIdempotencyToken",{enumerable:!0,get:function(){return U.generateIdempotencyToken}});Object.defineProperty(C,"handleFloat",{enumerable:!0,get:function(){return U.handleFloat}});Object.defineProperty(C,"limitedParseDouble",{enumerable:!0,get:function(){return U.limitedParseDouble}});Object.defineProperty(C,"limitedParseFloat",{enumerable:!0,get:function(){return U.limitedParseFloat}});Object.defineProperty(C,"limitedParseFloat32",{enumerable:!0,get:function(){return U.limitedParseFloat32}});Object.defineProperty(C,"logger",{enumerable:!0,get:function(){return U.logger}});Object.defineProperty(C,"nv",{enumerable:!0,get:function(){return U.nv}});Object.defineProperty(C,"parseBoolean",{enumerable:!0,get:function(){return U.parseBoolean}});Object.defineProperty(C,"parseEpochTimestamp",{enumerable:!0,get:function(){return U.parseEpochTimestamp}});Object.defineProperty(C,"parseRfc3339DateTime",{enumerable:!0,get:function(){return U.parseRfc3339DateTime}});Object.defineProperty(C,"parseRfc3339DateTimeWithOffset",{enumerable:!0,get:function(){return U.parseRfc3339DateTimeWithOffset}});Object.defineProperty(C,"parseRfc7231DateTime",{enumerable:!0,get:function(){return U.parseRfc7231DateTime}});Object.defineProperty(C,"quoteHeader",{enumerable:!0,get:function(){return U.quoteHeader}});Object.defineProperty(C,"splitEvery",{enumerable:!0,get:function(){return U.splitEvery}});Object.defineProperty(C,"splitHeader",{enumerable:!0,get:function(){return U.splitHeader}});Object.defineProperty(C,"strictParseByte",{enumerable:!0,get:function(){return U.strictParseByte}});Object.defineProperty(C,"strictParseDouble",{enumerable:!0,get:function(){return U.strictParseDouble}});Object.defineProperty(C,"strictParseFloat",{enumerable:!0,get:function(){return U.strictParseFloat}});Object.defineProperty(C,"strictParseFloat32",{enumerable:!0,get:function(){return U.strictParseFloat32}});Object.defineProperty(C,"strictParseInt",{enumerable:!0,get:function(){return U.strictParseInt}});Object.defineProperty(C,"strictParseInt32",{enumerable:!0,get:function(){return U.strictParseInt32}});Object.defineProperty(C,"strictParseLong",{enumerable:!0,get:function(){return U.strictParseLong}});Object.defineProperty(C,"strictParseShort",{enumerable:!0,get:function(){return U.strictParseShort}});var Q=mt();Object.defineProperty(C,"Client",{enumerable:!0,get:function(){return Q.Client}});Object.defineProperty(C,"Command",{enumerable:!0,get:function(){return Q.Command}});Object.defineProperty(C,"NoOpLogger",{enumerable:!0,get:function(){return Q.NoOpLogger}});Object.defineProperty(C,"SENSITIVE_STRING",{enumerable:!0,get:function(){return Q.SENSITIVE_STRING}});Object.defineProperty(C,"ServiceException",{enumerable:!0,get:function(){return Q.ServiceException}});Object.defineProperty(C,"_json",{enumerable:!0,get:function(){return Q._json}});Object.defineProperty(C,"convertMap",{enumerable:!0,get:function(){return Q.convertMap}});Object.defineProperty(C,"createAggregatedClient",{enumerable:!0,get:function(){return Q.createAggregatedClient}});Object.defineProperty(C,"decorateServiceException",{enumerable:!0,get:function(){return Q.decorateServiceException}});Object.defineProperty(C,"emitWarningIfUnsupportedVersion",{enumerable:!0,get:function(){return Q.emitWarningIfUnsupportedVersion}});Object.defineProperty(C,"getArrayIfSingleItem",{enumerable:!0,get:function(){return Q.getArrayIfSingleItem}});Object.defineProperty(C,"getDefaultClientConfiguration",{enumerable:!0,get:function(){return Q.getDefaultClientConfiguration}});Object.defineProperty(C,"getDefaultExtensionConfiguration",{enumerable:!0,get:function(){return Q.getDefaultExtensionConfiguration}});Object.defineProperty(C,"getValueFromTextNode",{enumerable:!0,get:function(){return Q.getValueFromTextNode}});Object.defineProperty(C,"isSerializableHeaderValue",{enumerable:!0,get:function(){return Q.isSerializableHeaderValue}});Object.defineProperty(C,"loadConfigsForDefaultMode",{enumerable:!0,get:function(){return Q.loadConfigsForDefaultMode}});Object.defineProperty(C,"map",{enumerable:!0,get:function(){return Q.map}});Object.defineProperty(C,"resolveDefaultRuntimeConfig",{enumerable:!0,get:function(){return Q.resolveDefaultRuntimeConfig}});Object.defineProperty(C,"serializeDateTime",{enumerable:!0,get:function(){return Q.serializeDateTime}});Object.defineProperty(C,"serializeFloat",{enumerable:!0,get:function(){return Q.serializeFloat}});Object.defineProperty(C,"take",{enumerable:!0,get:function(){return Q.take}});Object.defineProperty(C,"throwDefaultError",{enumerable:!0,get:function(){return Q.throwDefaultError}});Object.defineProperty(C,"withBaseException",{enumerable:!0,get:function(){return Q.withBaseException}});var vr=pe();Object.defineProperty(C,"collectBody",{enumerable:!0,get:function(){return vr.collectBody}});Object.defineProperty(C,"extendedEncodeURIComponent",{enumerable:!0,get:function(){return vr.extendedEncodeURIComponent}});Object.defineProperty(C,"resolvedPath",{enumerable:!0,get:function(){return vr.resolvedPath}})});var vi=$((kt)=>{Object.defineProperty(kt,"__esModule",{value:!0});kt.toBase64=kt.fromBase64=void 0;var Zi=Ee();Object.defineProperty(kt,"fromBase64",{enumerable:!0,get:function(){return Zi.fromBase64}});Object.defineProperty(kt,"toBase64",{enumerable:!0,get:function(){return Zi.toBase64}})});var to=$((Ay,eo)=>{(()=>{var e={d:(r,n)=>{for(var u in n)e.o(n,u)&&!e.o(r,u)&&Object.defineProperty(r,u,{enumerable:!0,get:n[u]})},o:(r,n)=>Object.prototype.hasOwnProperty.call(r,n),r:(r)=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{XMLBuilder:()=>ca,XMLParser:()=>On,XMLValidator:()=>la});let i=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",s=new RegExp("^["+i+"]["+i+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$");function c(r,n){let u=[],h=n.exec(r);for(;h;){let d=[];d.startIndex=n.lastIndex-h[0].length;let p=h.length;for(let x=0;x<p;x++)d.push(h[x]);u.push(d),h=n.exec(r)}return u}let o=function(r){return s.exec(r)!=null},a=["hasOwnProperty","toString","valueOf","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__"],l=["__proto__","constructor","prototype"],f={allowBooleanAttributes:!1,unpairedTags:[]};function m(r,n){n=Object.assign({},f,n);let u=[],h=!1,d=!1;r[0]==="\uFEFF"&&(r=r.substr(1));for(let p=0;p<r.length;p++)if(r[p]==="<"&&r[p+1]==="?"){if(p+=2,p=b(r,p),p.err)return p}else{if(r[p]!=="<"){if(g(r[p]))continue;return j("InvalidChar","char '"+r[p]+"' is not expected.",G(r,p))}{let x=p;if(p++,r[p]==="!"){p=w(r,p);continue}{let y=!1;r[p]==="/"&&(y=!0,p++);let N="";for(;p<r.length&&r[p]!==">"&&r[p]!==" "&&r[p]!=="\t"&&r[p]!==`
|
|
13
|
-
`&&r[p]!=="\r";p++)N+=r[p];if(N=N.trim(),N[N.length-1]==="/"&&(N=N.substring(0,N.length-1),p--),!he(N)){let O;return O=N.trim().length===0?"Invalid space after '<'.":"Tag '"+N+"' is an invalid name.",j("InvalidTag",O,G(r,p))}let E=P(r,p);if(E===!1)return j("InvalidAttr","Attributes for '"+N+"' have open quote.",G(r,p));let S=E.value;if(p=E.index,S[S.length-1]==="/"){let O=p-S.length;S=S.substring(0,S.length-1);let I=X(S,n);if(I!==!0)return j(I.err.code,I.err.msg,G(r,O+I.err.line));h=!0}else if(y){if(!E.tagClosed)return j("InvalidTag","Closing tag '"+N+"' doesn't have proper closing.",G(r,p));if(S.trim().length>0)return j("InvalidTag","Closing tag '"+N+"' can't have attributes or invalid starting.",G(r,x));if(u.length===0)return j("InvalidTag","Closing tag '"+N+"' has not been opened.",G(r,x));{let O=u.pop();if(N!==O.tagName){let I=G(r,O.tagStartPos);return j("InvalidTag","Expected closing tag '"+O.tagName+"' (opened in line "+I.line+", col "+I.col+") instead of closing tag '"+N+"'.",G(r,x))}u.length==0&&(d=!0)}}else{let O=X(S,n);if(O!==!0)return j(O.err.code,O.err.msg,G(r,p-S.length+O.err.line));if(d===!0)return j("InvalidXml","Multiple possible root nodes found.",G(r,p));n.unpairedTags.indexOf(N)!==-1||u.push({tagName:N,tagStartPos:x}),h=!0}for(p++;p<r.length;p++)if(r[p]==="<"){if(r[p+1]==="!"){p++,p=w(r,p);continue}if(r[p+1]!=="?")break;if(p=b(r,++p),p.err)return p}else if(r[p]==="&"){let O=B(r,p);if(O==-1)return j("InvalidChar","char '&' is not expected.",G(r,p));p=O}else if(d===!0&&!g(r[p]))return j("InvalidXml","Extra text at the end",G(r,p));r[p]==="<"&&p--}}}return h?u.length==1?j("InvalidTag","Unclosed tag '"+u[0].tagName+"'.",G(r,u[0].tagStartPos)):!(u.length>0)||j("InvalidXml","Invalid '"+JSON.stringify(u.map((p)=>p.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):j("InvalidXml","Start tag expected.",1)}function g(r){return r===" "||r==="\t"||r===`
|
|
14
|
-
`||r==="\r"}function b(r,n){let u=n;for(;n<r.length;n++)if(r[n]=="?"||r[n]==" "){let h=r.substr(u,n-u);if(n>5&&h==="xml")return j("InvalidXml","XML declaration allowed only at the start of the document.",G(r,n));if(r[n]=="?"&&r[n+1]==">"){n++;break}continue}return n}function w(r,n){if(r.length>n+5&&r[n+1]==="-"&&r[n+2]==="-"){for(n+=3;n<r.length;n++)if(r[n]==="-"&&r[n+1]==="-"&&r[n+2]===">"){n+=2;break}}else if(r.length>n+8&&r[n+1]==="D"&&r[n+2]==="O"&&r[n+3]==="C"&&r[n+4]==="T"&&r[n+5]==="Y"&&r[n+6]==="P"&&r[n+7]==="E"){let u=1;for(n+=8;n<r.length;n++)if(r[n]==="<")u++;else if(r[n]===">"&&(u--,u===0))break}else if(r.length>n+9&&r[n+1]==="["&&r[n+2]==="C"&&r[n+3]==="D"&&r[n+4]==="A"&&r[n+5]==="T"&&r[n+6]==="A"&&r[n+7]==="["){for(n+=8;n<r.length;n++)if(r[n]==="]"&&r[n+1]==="]"&&r[n+2]===">"){n+=2;break}}return n}let _='"',T="'";function P(r,n){let u="",h="",d=!1;for(;n<r.length;n++){if(r[n]===_||r[n]===T)h===""?h=r[n]:h!==r[n]||(h="");else if(r[n]===">"&&h===""){d=!0;break}u+=r[n]}return h===""&&{value:u,index:n,tagClosed:d}}let V=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function X(r,n){let u=c(r,V),h={};for(let d=0;d<u.length;d++){if(u[d][1].length===0)return j("InvalidAttr","Attribute '"+u[d][2]+"' has no space in starting.",me(u[d]));if(u[d][3]!==void 0&&u[d][4]===void 0)return j("InvalidAttr","Attribute '"+u[d][2]+"' is without value.",me(u[d]));if(u[d][3]===void 0&&!n.allowBooleanAttributes)return j("InvalidAttr","boolean attribute '"+u[d][2]+"' is not allowed.",me(u[d]));let p=u[d][2];if(!v(p))return j("InvalidAttr","Attribute '"+p+"' is an invalid name.",me(u[d]));if(Object.prototype.hasOwnProperty.call(h,p))return j("InvalidAttr","Attribute '"+p+"' is repeated.",me(u[d]));h[p]=1}return!0}function B(r,n){if(r[++n]===";")return-1;if(r[n]==="#")return function(h,d){let p=/\d/;for(h[d]==="x"&&(d++,p=/[\da-fA-F]/);d<h.length;d++){if(h[d]===";")return d;if(!h[d].match(p))break}return-1}(r,++n);let u=0;for(;n<r.length;n++,u++)if(!(r[n].match(/\w/)&&u<20)){if(r[n]===";")break;return-1}return n}function j(r,n,u){return{err:{code:r,msg:n,line:u.line||u,col:u.col}}}function v(r){return o(r)}function he(r){return o(r)}function G(r,n){let u=r.substring(0,n).split(/\r?\n/);return{line:u.length,col:u[u.length-1].length+1}}function me(r){return r.startIndex+r[1].length}let pn=(r)=>a.includes(r)?"__"+r:r,Oo={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function(r,n){return n},attributeValueProcessor:function(r,n){return n},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,entityDecoder:null,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(r,n,u){return r},captureMetaData:!1,maxNestedTags:100,strictReservedNames:!0,jPath:!0,onDangerousProperty:pn};function Po(r,n){if(typeof r!="string")return;let u=r.toLowerCase();if(a.some((h)=>u===h.toLowerCase()))throw Error(`[SECURITY] Invalid ${n}: "${r}" is a reserved JavaScript keyword that could cause prototype pollution`);if(l.some((h)=>u===h.toLowerCase()))throw Error(`[SECURITY] Invalid ${n}: "${r}" is a reserved JavaScript keyword that could cause prototype pollution`)}function mn(r,n){return typeof r=="boolean"?{enabled:r,maxEntitySize:1e4,maxExpansionDepth:1e4,maxTotalExpansions:1/0,maxExpandedLength:1e5,maxEntityCount:1000,allowedTags:null,tagFilter:null,appliesTo:"all"}:typeof r=="object"&&r!==null?{enabled:r.enabled!==!1,maxEntitySize:Math.max(1,r.maxEntitySize??1e4),maxExpansionDepth:Math.max(1,r.maxExpansionDepth??1e4),maxTotalExpansions:Math.max(1,r.maxTotalExpansions??1/0),maxExpandedLength:Math.max(1,r.maxExpandedLength??1e5),maxEntityCount:Math.max(1,r.maxEntityCount??1000),allowedTags:r.allowedTags??null,tagFilter:r.tagFilter??null,appliesTo:r.appliesTo??"all"}:mn(!0)}let Ao=function(r){let n=Object.assign({},Oo,r),u=[{value:n.attributeNamePrefix,name:"attributeNamePrefix"},{value:n.attributesGroupName,name:"attributesGroupName"},{value:n.textNodeName,name:"textNodeName"},{value:n.cdataPropName,name:"cdataPropName"},{value:n.commentPropName,name:"commentPropName"}];for(let{value:h,name:d}of u)h&&Po(h,d);return n.onDangerousProperty===null&&(n.onDangerousProperty=pn),n.processEntities=mn(n.processEntities,n.htmlEntities),n.unpairedTagsSet=new Set(n.unpairedTags),n.stopNodes&&Array.isArray(n.stopNodes)&&(n.stopNodes=n.stopNodes.map((h)=>typeof h=="string"&&h.startsWith("*.")?".."+h.substring(2):h)),n},er;er=typeof Symbol!="function"?"@@xmlMetadata":Symbol("XML Node Metadata");class we{constructor(r){this.tagname=r,this.child=[],this[":@"]=Object.create(null)}add(r,n){r==="__proto__"&&(r="#__proto__"),this.child.push({[r]:n})}addChild(r,n){r.tagname==="__proto__"&&(r.tagname="#__proto__"),r[":@"]&&Object.keys(r[":@"]).length>0?this.child.push({[r.tagname]:r.child,":@":r[":@"]}):this.child.push({[r.tagname]:r.child}),n!==void 0&&(this.child[this.child.length-1][er]={startIndex:n})}static getMetaDataSymbol(){return er}}class gn{constructor(r){this.suppressValidationErr=!r,this.options=r}readDocType(r,n){let u=Object.create(null),h=0;if(r[n+3]!=="O"||r[n+4]!=="C"||r[n+5]!=="T"||r[n+6]!=="Y"||r[n+7]!=="P"||r[n+8]!=="E")throw Error("Invalid Tag instead of DOCTYPE");{n+=9;let d=1,p=!1,x=!1,y="";for(;n<r.length;n++)if(r[n]!=="<"||x)if(r[n]===">"){if(x?r[n-1]==="-"&&r[n-2]==="-"&&(x=!1,d--):d--,d===0)break}else r[n]==="["?p=!0:y+=r[n];else{if(p&&Fe(r,"!ENTITY",n)){let N,E;if(n+=7,[N,E,n]=this.readEntityExp(r,n+1,this.suppressValidationErr),E.indexOf("&")===-1){if(this.options.enabled!==!1&&this.options.maxEntityCount!=null&&h>=this.options.maxEntityCount)throw Error(`Entity count (${h+1}) exceeds maximum allowed (${this.options.maxEntityCount})`);u[N]=E,h++}}else if(p&&Fe(r,"!ELEMENT",n)){n+=8;let{index:N}=this.readElementExp(r,n+1);n=N}else if(p&&Fe(r,"!ATTLIST",n))n+=8;else if(p&&Fe(r,"!NOTATION",n)){n+=9;let{index:N}=this.readNotationExp(r,n+1,this.suppressValidationErr);n=N}else{if(!Fe(r,"!--",n))throw Error("Invalid DOCTYPE");x=!0}d++,y=""}if(d!==0)throw Error("Unclosed DOCTYPE")}return{entities:u,i:n}}readEntityExp(r,n){let u=n=ce(r,n);for(;n<r.length&&!/\s/.test(r[n])&&r[n]!=='"'&&r[n]!=="'";)n++;let h=r.substring(u,n);if(ct(h),n=ce(r,n),!this.suppressValidationErr){if(r.substring(n,n+6).toUpperCase()==="SYSTEM")throw Error("External entities are not supported");if(r[n]==="%")throw Error("Parameter entities are not supported")}let d="";if([n,d]=this.readIdentifierVal(r,n,"entity"),this.options.enabled!==!1&&this.options.maxEntitySize!=null&&d.length>this.options.maxEntitySize)throw Error(`Entity "${h}" size (${d.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`);return[h,d,--n]}readNotationExp(r,n){let u=n=ce(r,n);for(;n<r.length&&!/\s/.test(r[n]);)n++;let h=r.substring(u,n);!this.suppressValidationErr&&ct(h),n=ce(r,n);let d=r.substring(n,n+6).toUpperCase();if(!this.suppressValidationErr&&d!=="SYSTEM"&&d!=="PUBLIC")throw Error(`Expected SYSTEM or PUBLIC, found "${d}"`);n+=d.length,n=ce(r,n);let p=null,x=null;if(d==="PUBLIC")[n,p]=this.readIdentifierVal(r,n,"publicIdentifier"),r[n=ce(r,n)]!=='"'&&r[n]!=="'"||([n,x]=this.readIdentifierVal(r,n,"systemIdentifier"));else if(d==="SYSTEM"&&([n,x]=this.readIdentifierVal(r,n,"systemIdentifier"),!this.suppressValidationErr&&!x))throw Error("Missing mandatory system identifier for SYSTEM notation");return{notationName:h,publicIdentifier:p,systemIdentifier:x,index:--n}}readIdentifierVal(r,n,u){let h="",d=r[n];if(d!=='"'&&d!=="'")throw Error(`Expected quoted string, found "${d}"`);let p=++n;for(;n<r.length&&r[n]!==d;)n++;if(h=r.substring(p,n),r[n]!==d)throw Error(`Unterminated ${u} value`);return[++n,h]}readElementExp(r,n){let u=n=ce(r,n);for(;n<r.length&&!/\s/.test(r[n]);)n++;let h=r.substring(u,n);if(!this.suppressValidationErr&&!o(h))throw Error(`Invalid element name: "${h}"`);let d="";if(r[n=ce(r,n)]==="E"&&Fe(r,"MPTY",n))n+=4;else if(r[n]==="A"&&Fe(r,"NY",n))n+=2;else if(r[n]==="("){let p=++n;for(;n<r.length&&r[n]!==")";)n++;if(d=r.substring(p,n),r[n]!==")")throw Error("Unterminated content model")}else if(!this.suppressValidationErr)throw Error(`Invalid Element Expression, found "${r[n]}"`);return{elementName:h,contentModel:d.trim(),index:n}}readAttlistExp(r,n){let u=n=ce(r,n);for(;n<r.length&&!/\s/.test(r[n]);)n++;let h=r.substring(u,n);for(ct(h),u=n=ce(r,n);n<r.length&&!/\s/.test(r[n]);)n++;let d=r.substring(u,n);if(!ct(d))throw Error(`Invalid attribute name: "${d}"`);n=ce(r,n);let p="";if(r.substring(n,n+8).toUpperCase()==="NOTATION"){if(p="NOTATION",r[n=ce(r,n+=8)]!=="(")throw Error(`Expected '(', found "${r[n]}"`);n++;let y=[];for(;n<r.length&&r[n]!==")";){let N=n;for(;n<r.length&&r[n]!=="|"&&r[n]!==")";)n++;let E=r.substring(N,n);if(E=E.trim(),!ct(E))throw Error(`Invalid notation name: "${E}"`);y.push(E),r[n]==="|"&&(n++,n=ce(r,n))}if(r[n]!==")")throw Error("Unterminated list of notations");n++,p+=" ("+y.join("|")+")"}else{let y=n;for(;n<r.length&&!/\s/.test(r[n]);)n++;p+=r.substring(y,n);let N=["CDATA","ID","IDREF","IDREFS","ENTITY","ENTITIES","NMTOKEN","NMTOKENS"];if(!this.suppressValidationErr&&!N.includes(p.toUpperCase()))throw Error(`Invalid attribute type: "${p}"`)}n=ce(r,n);let x="";return r.substring(n,n+8).toUpperCase()==="#REQUIRED"?(x="#REQUIRED",n+=8):r.substring(n,n+7).toUpperCase()==="#IMPLIED"?(x="#IMPLIED",n+=7):[n,x]=this.readIdentifierVal(r,n,"ATTLIST"),{elementName:h,attributeName:d,attributeType:p,defaultValue:x,index:n}}}let ce=(r,n)=>{for(;n<r.length&&/\s/.test(r[n]);)n++;return n};function Fe(r,n,u){for(let h=0;h<n.length;h++)if(n[h]!==r[u+h+1])return!1;return!0}function ct(r){if(o(r))return r;throw Error(`Invalid entity name ${r}`)}let Co=/^[-+]?0x[a-fA-F0-9]+$/,Io=/^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/,Ro={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0,infinity:"original"},Do=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;class yn{constructor(r){this._matcher=r}get separator(){return this._matcher.separator}getCurrentTag(){let r=this._matcher.path;return r.length>0?r[r.length-1].tag:void 0}getCurrentNamespace(){let r=this._matcher.path;return r.length>0?r[r.length-1].namespace:void 0}getAttrValue(r){let n=this._matcher.path;if(n.length!==0)return n[n.length-1].values?.[r]}hasAttr(r){let n=this._matcher.path;if(n.length===0)return!1;let u=n[n.length-1];return u.values!==void 0&&r in u.values}getPosition(){let r=this._matcher.path;return r.length===0?-1:r[r.length-1].position??0}getCounter(){let r=this._matcher.path;return r.length===0?-1:r[r.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this._matcher.path.length}toString(r,n=!0){return this._matcher.toString(r,n)}toArray(){return this._matcher.path.map((r)=>r.tag)}matches(r){return this._matcher.matches(r)}matchesAny(r){return r.matchesAny(this._matcher)}}class Tt{constructor(r={}){this.separator=r.separator||".",this.path=[],this.siblingStacks=[],this._pathStringCache=null,this._view=new yn(this)}push(r,n=null,u=null){this._pathStringCache=null,this.path.length>0&&(this.path[this.path.length-1].values=void 0);let h=this.path.length;this.siblingStacks[h]||(this.siblingStacks[h]=new Map);let d=this.siblingStacks[h],p=u?`${u}:${r}`:r,x=d.get(p)||0,y=0;for(let E of d.values())y+=E;d.set(p,x+1);let N={tag:r,position:y,counter:x};u!=null&&(N.namespace=u),n!=null&&(N.values=n),this.path.push(N)}pop(){if(this.path.length===0)return;this._pathStringCache=null;let r=this.path.pop();return this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1),r}updateCurrent(r){if(this.path.length>0){let n=this.path[this.path.length-1];r!=null&&(n.values=r)}}getCurrentTag(){return this.path.length>0?this.path[this.path.length-1].tag:void 0}getCurrentNamespace(){return this.path.length>0?this.path[this.path.length-1].namespace:void 0}getAttrValue(r){if(this.path.length!==0)return this.path[this.path.length-1].values?.[r]}hasAttr(r){if(this.path.length===0)return!1;let n=this.path[this.path.length-1];return n.values!==void 0&&r in n.values}getPosition(){return this.path.length===0?-1:this.path[this.path.length-1].position??0}getCounter(){return this.path.length===0?-1:this.path[this.path.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this.path.length}toString(r,n=!0){let u=r||this.separator;if(u===this.separator&&n===!0){if(this._pathStringCache!==null)return this._pathStringCache;let h=this.path.map((d)=>d.namespace?`${d.namespace}:${d.tag}`:d.tag).join(u);return this._pathStringCache=h,h}return this.path.map((h)=>n&&h.namespace?`${h.namespace}:${h.tag}`:h.tag).join(u)}toArray(){return this.path.map((r)=>r.tag)}reset(){this._pathStringCache=null,this.path=[],this.siblingStacks=[]}matches(r){let n=r.segments;return n.length!==0&&(r.hasDeepWildcard()?this._matchWithDeepWildcard(n):this._matchSimple(n))}_matchSimple(r){if(this.path.length!==r.length)return!1;for(let n=0;n<r.length;n++)if(!this._matchSegment(r[n],this.path[n],n===this.path.length-1))return!1;return!0}_matchWithDeepWildcard(r){let n=this.path.length-1,u=r.length-1;for(;u>=0&&n>=0;){let h=r[u];if(h.type==="deep-wildcard"){if(u--,u<0)return!0;let d=r[u],p=!1;for(let x=n;x>=0;x--)if(this._matchSegment(d,this.path[x],x===this.path.length-1)){n=x-1,u--,p=!0;break}if(!p)return!1}else{if(!this._matchSegment(h,this.path[n],n===this.path.length-1))return!1;n--,u--}}return u<0}_matchSegment(r,n,u){if(r.tag!=="*"&&r.tag!==n.tag)return!1;if(r.namespace!==void 0&&r.namespace!=="*"&&r.namespace!==n.namespace)return!1;if(r.attrName!==void 0){if(!u)return!1;if(!n.values||!(r.attrName in n.values))return!1;if(r.attrValue!==void 0&&String(n.values[r.attrName])!==String(r.attrValue))return!1}if(r.position!==void 0){if(!u)return!1;let h=n.counter??0;if(r.position==="first"&&h!==0)return!1;if(r.position==="odd"&&h%2!=1)return!1;if(r.position==="even"&&h%2!=0)return!1;if(r.position==="nth"&&h!==r.positionValue)return!1}return!0}matchesAny(r){return r.matchesAny(this)}snapshot(){return{path:this.path.map((r)=>({...r})),siblingStacks:this.siblingStacks.map((r)=>new Map(r))}}restore(r){this._pathStringCache=null,this.path=r.path.map((n)=>({...n})),this.siblingStacks=r.siblingStacks.map((n)=>new Map(n))}readOnly(){return this._view}}class Be{constructor(r,n={},u){this.pattern=r,this.separator=n.separator||".",this.segments=this._parse(r),this.data=u,this._hasDeepWildcard=this.segments.some((h)=>h.type==="deep-wildcard"),this._hasAttributeCondition=this.segments.some((h)=>h.attrName!==void 0),this._hasPositionSelector=this.segments.some((h)=>h.position!==void 0)}_parse(r){let n=[],u=0,h="";for(;u<r.length;)r[u]===this.separator?u+1<r.length&&r[u+1]===this.separator?(h.trim()&&(n.push(this._parseSegment(h.trim())),h=""),n.push({type:"deep-wildcard"}),u+=2):(h.trim()&&n.push(this._parseSegment(h.trim())),h="",u++):(h+=r[u],u++);return h.trim()&&n.push(this._parseSegment(h.trim())),n}_parseSegment(r){let n={type:"tag"},u=null,h=r,d=r.match(/^([^\[]+)(\[[^\]]*\])(.*)$/);if(d&&(h=d[1]+d[3],d[2])){let E=d[2].slice(1,-1);E&&(u=E)}let p,x,y=h;if(h.includes("::")){let E=h.indexOf("::");if(p=h.substring(0,E).trim(),y=h.substring(E+2).trim(),!p)throw Error(`Invalid namespace in pattern: ${r}`)}let N=null;if(y.includes(":")){let E=y.lastIndexOf(":"),S=y.substring(0,E).trim(),O=y.substring(E+1).trim();["first","last","odd","even"].includes(O)||/^nth\(\d+\)$/.test(O)?(x=S,N=O):x=y}else x=y;if(!x)throw Error(`Invalid segment pattern: ${r}`);if(n.tag=x,p&&(n.namespace=p),u)if(u.includes("=")){let E=u.indexOf("=");n.attrName=u.substring(0,E).trim(),n.attrValue=u.substring(E+1).trim()}else n.attrName=u.trim();if(N){let E=N.match(/^nth\((\d+)\)$/);E?(n.position="nth",n.positionValue=parseInt(E[1],10)):n.position=N}return n}get length(){return this.segments.length}hasDeepWildcard(){return this._hasDeepWildcard}hasAttributeCondition(){return this._hasAttributeCondition}hasPositionSelector(){return this._hasPositionSelector}toString(){return this.pattern}}class bn{constructor(){this._byDepthAndTag=new Map,this._wildcardByDepth=new Map,this._deepWildcards=[],this._patterns=new Set,this._sealed=!1}add(r){if(this._sealed)throw TypeError("ExpressionSet is sealed. Create a new ExpressionSet to add more expressions.");if(this._patterns.has(r.pattern))return this;if(this._patterns.add(r.pattern),r.hasDeepWildcard())return this._deepWildcards.push(r),this;let n=r.length,u=r.segments[r.segments.length-1],h=u?.tag;if(h&&h!=="*"){let d=`${n}:${h}`;this._byDepthAndTag.has(d)||this._byDepthAndTag.set(d,[]),this._byDepthAndTag.get(d).push(r)}else this._wildcardByDepth.has(n)||this._wildcardByDepth.set(n,[]),this._wildcardByDepth.get(n).push(r);return this}addAll(r){for(let n of r)this.add(n);return this}has(r){return this._patterns.has(r.pattern)}get size(){return this._patterns.size}seal(){return this._sealed=!0,this}get isSealed(){return this._sealed}matchesAny(r){return this.findMatch(r)!==null}findMatch(r){let n=r.getDepth(),u=`${n}:${r.getCurrentTag()}`,h=this._byDepthAndTag.get(u);if(h){for(let p=0;p<h.length;p++)if(r.matches(h[p]))return h[p]}let d=this._wildcardByDepth.get(n);if(d){for(let p=0;p<d.length;p++)if(r.matches(d[p]))return d[p]}for(let p=0;p<this._deepWildcards.length;p++)if(r.matches(this._deepWildcards[p]))return this._deepWildcards[p];return null}}let Mo={cent:"¢",pound:"£",curren:"¤",yen:"¥",euro:"€",dollar:"$",euro:"€",fnof:"ƒ",inr:"₹",af:"؋",birr:"ብር",peso:"₱",rub:"₽",won:"₩",yuan:"¥",cedil:"¸"},En={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'},jo={nbsp:" ",copy:"©",reg:"®",trade:"™",mdash:"—",ndash:"–",hellip:"…",laquo:"«",raquo:"»",lsquo:"‘",rsquo:"’",ldquo:"“",rdquo:"”",bull:"•",para:"¶",sect:"§",deg:"°",frac12:"½",frac14:"¼",frac34:"¾"},Lo=new Set("!?\\\\/[]$%{}^&*()<>|+");function Nn(r){if(r[0]==="#")throw Error(`[EntityReplacer] Invalid character '#' in entity name: "${r}"`);for(let n of r)if(Lo.has(n))throw Error(`[EntityReplacer] Invalid character '${n}' in entity name: "${r}"`);return r}function tr(...r){let n=Object.create(null);for(let u of r)if(u)for(let h of Object.keys(u)){let d=u[h];if(typeof d=="string")n[h]=d;else if(d&&typeof d=="object"&&d.val!==void 0){let p=d.val;typeof p=="string"&&(n[h]=p)}}return n}let Ve="external",Ot="base",rr="all",de=Object.freeze({allow:0,leave:1,remove:2,throw:3}),$o=new Set([9,10,13]);class wn{constructor(r={}){var n;this._limit=r.limit||{},this._maxTotalExpansions=this._limit.maxTotalExpansions||0,this._maxExpandedLength=this._limit.maxExpandedLength||0,this._postCheck=typeof r.postCheck=="function"?r.postCheck:(h)=>h,this._limitTiers=(n=this._limit.applyLimitsTo??Ve)&&n!==Ve?n===rr?new Set([rr]):n===Ot?new Set([Ot]):Array.isArray(n)?new Set(n):new Set([Ve]):new Set([Ve]),this._numericAllowed=r.numericAllowed??!0,this._baseMap=tr(En,r.namedEntities||null),this._externalMap=Object.create(null),this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this._removeSet=new Set(r.remove&&Array.isArray(r.remove)?r.remove:[]),this._leaveSet=new Set(r.leave&&Array.isArray(r.leave)?r.leave:[]);let u=function(h){if(!h)return{xmlVersion:1,onLevel:de.allow,nullLevel:de.remove};let d=h.xmlVersion===1.1?1.1:1,p=de[h.onNCR]??de.allow,x=de[h.nullNCR]??de.remove;return{xmlVersion:d,onLevel:p,nullLevel:Math.max(x,de.remove)}}(r.ncr);this._ncrXmlVersion=u.xmlVersion,this._ncrOnLevel=u.onLevel,this._ncrNullLevel=u.nullLevel}setExternalEntities(r){if(r)for(let n of Object.keys(r))Nn(n);this._externalMap=tr(r)}addExternalEntity(r,n){Nn(r),typeof n=="string"&&n.indexOf("&")===-1&&(this._externalMap[r]=n)}addInputEntities(r){this._totalExpansions=0,this._expandedLength=0,this._inputMap=tr(r)}reset(){return this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this}setXmlVersion(r){this._ncrXmlVersion=r===1.1?1.1:1}decode(r){if(typeof r!="string"||r.length===0)return r;let n=r,u=[],h=r.length,d=0,p=0,x=this._maxTotalExpansions>0,y=this._maxExpandedLength>0,N=x||y;for(;p<h;){if(r.charCodeAt(p)!==38){p++;continue}let S=p+1;for(;S<h&&r.charCodeAt(S)!==59&&S-p<=32;)S++;if(S>=h||r.charCodeAt(S)!==59){p++;continue}let O=r.slice(p+1,S);if(O.length===0){p++;continue}let I,D;if(this._removeSet.has(O))I="",D===void 0&&(D=Ve);else{if(this._leaveSet.has(O)){p++;continue}if(O.charCodeAt(0)===35){let M=this._resolveNCR(O);if(M===void 0){p++;continue}I=M,D=Ot}else{let M=this._resolveName(O);I=M?.value,D=M?.tier}}if(I!==void 0){if(p>d&&u.push(r.slice(d,p)),u.push(I),d=S+1,p=d,N&&this._tierCounts(D)){if(x&&(this._totalExpansions++,this._totalExpansions>this._maxTotalExpansions))throw Error(`[EntityReplacer] Entity expansion count limit exceeded: ${this._totalExpansions} > ${this._maxTotalExpansions}`);if(y){let M=I.length-(O.length+2);if(M>0&&(this._expandedLength+=M,this._expandedLength>this._maxExpandedLength))throw Error(`[EntityReplacer] Expanded content length limit exceeded: ${this._expandedLength} > ${this._maxExpandedLength}`)}}}else p++}d<h&&u.push(r.slice(d));let E=u.length===0?r:u.join("");return this._postCheck(E,n)}_tierCounts(r){return!!this._limitTiers.has(rr)||this._limitTiers.has(r)}_resolveName(r){return r in this._inputMap?{value:this._inputMap[r],tier:Ve}:(r in this._externalMap)?{value:this._externalMap[r],tier:Ve}:(r in this._baseMap)?{value:this._baseMap[r],tier:Ot}:void 0}_classifyNCR(r){return r===0?this._ncrNullLevel:r>=55296&&r<=57343||this._ncrXmlVersion===1&&r>=1&&r<=31&&!$o.has(r)?de.remove:-1}_applyNCRAction(r,n,u){switch(r){case de.allow:return String.fromCodePoint(u);case de.remove:return"";case de.leave:return;case de.throw:throw Error(`[EntityDecoder] Prohibited numeric character reference &${n}; (U+${u.toString(16).toUpperCase().padStart(4,"0")})`);default:return String.fromCodePoint(u)}}_resolveNCR(r){let n=r.charCodeAt(1),u;if(u=n===120||n===88?parseInt(r.slice(2),16):parseInt(r.slice(1),10),Number.isNaN(u)||u<0||u>1114111)return;let h=this._classifyNCR(u);if(!this._numericAllowed&&h<de.remove)return;let d=h===-1?this._ncrOnLevel:Math.max(this._ncrOnLevel,h);return this._applyNCRAction(d,r,u)}}function Ho(r,n){if(!r)return{};let u=n.attributesGroupName?r[n.attributesGroupName]:r;if(!u)return{};let h={};for(let d in u)d.startsWith(n.attributeNamePrefix)?h[d.substring(n.attributeNamePrefix.length)]=u[d]:h[d]=u[d];return h}function Uo(r){if(!r||typeof r!="string")return;let n=r.indexOf(":");if(n!==-1&&n>0){let u=r.substring(0,n);if(u!=="xmlns")return u}}class xn{constructor(r,n){var u;this.options=r,this.currentNode=null,this.tagsNodeStack=[],this.parseXml=qo,this.parseTextData=Fo,this.resolveNameSpace=Bo,this.buildAttributesMap=zo,this.isItStopNode=Wo,this.replaceEntitiesValue=Go,this.readStopNodeData=Ko,this.saveTextToParentTag=ko,this.addChild=Xo,this.ignoreAttributesFn=typeof(u=this.options.ignoreAttributes)=="function"?u:Array.isArray(u)?(p)=>{for(let x of u){if(typeof x=="string"&&p===x)return!0;if(x instanceof RegExp&&x.test(p))return!0}}:()=>!1,this.entityExpansionCount=0,this.currentExpandedLength=0;let h={...En};this.options.entityDecoder?this.entityDecoder=this.options.entityDecoder:(typeof this.options.htmlEntities=="object"?h=this.options.htmlEntities:this.options.htmlEntities===!0&&(h={...jo,...Mo}),this.entityDecoder=new wn({namedEntities:{...h,...n},numericAllowed:this.options.htmlEntities,limit:{maxTotalExpansions:this.options.processEntities.maxTotalExpansions,maxExpandedLength:this.options.processEntities.maxExpandedLength,applyLimitsTo:this.options.processEntities.appliesTo}})),this.matcher=new Tt,this.readonlyMatcher=this.matcher.readOnly(),this.isCurrentNodeStopNode=!1,this.stopNodeExpressionsSet=new bn;let d=this.options.stopNodes;if(d&&d.length>0){for(let p=0;p<d.length;p++){let x=d[p];typeof x=="string"?this.stopNodeExpressionsSet.add(new Be(x)):x instanceof Be&&this.stopNodeExpressionsSet.add(x)}this.stopNodeExpressionsSet.seal()}}}function Fo(r,n,u,h,d,p,x){let y=this.options;if(r!==void 0&&(y.trimValues&&!h&&(r=r.trim()),r.length>0)){x||(r=this.replaceEntitiesValue(r,n,u));let N=y.jPath?u.toString():u,E=y.tagValueProcessor(n,r,N,d,p);return E==null?r:typeof E!=typeof r||E!==r?E:y.trimValues||r.trim()===r?Sn(r,y.parseTagValue,y.numberParseOptions):r}}function Bo(r){if(this.options.removeNSPrefix){let n=r.split(":"),u=r.charAt(0)==="/"?"/":"";if(n[0]==="xmlns")return"";n.length===2&&(r=u+n[1])}return r}let Vo=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function zo(r,n,u,h=!1){let d=this.options;if(h===!0||d.ignoreAttributes!==!0&&typeof r=="string"){let p=c(r,Vo),x=p.length,y={},N=Array(x),E=!1,S={};for(let D=0;D<x;D++){let M=this.resolveNameSpace(p[D][1]),z=p[D][4];if(M.length&&z!==void 0){let Y=z;d.trimValues&&(Y=Y.trim()),Y=this.replaceEntitiesValue(Y,u,this.readonlyMatcher),N[D]=Y,S[M]=Y,E=!0}}E&&typeof n=="object"&&n.updateCurrent&&n.updateCurrent(S);let O=d.jPath?n.toString():this.readonlyMatcher,I=!1;for(let D=0;D<x;D++){let M=this.resolveNameSpace(p[D][1]);if(this.ignoreAttributesFn(M,O))continue;let z=d.attributeNamePrefix+M;if(M.length)if(d.transformAttributeName&&(z=d.transformAttributeName(z)),z=_n(z,d),p[D][4]!==void 0){let Y=N[D],oe=d.attributeValueProcessor(M,Y,O);y[z]=oe==null?Y:typeof oe!=typeof Y||oe!==Y?oe:Sn(Y,d.parseAttributeValue,d.numberParseOptions),I=!0}else d.allowBooleanAttributes&&(y[z]=!0,I=!0)}if(!I)return;if(d.attributesGroupName&&!d.preserveOrder){let D={};return D[d.attributesGroupName]=y,D}return y}}let qo=function(r){r=r.replace(/\r\n?/g,`
|
|
15
|
-
`);let n=new we("!xml"),u=n,h="";this.matcher.reset(),this.entityDecoder.reset(),this.entityExpansionCount=0,this.currentExpandedLength=0;let d=this.options,p=new gn(d.processEntities),x=r.length;for(let y=0;y<x;y++)if(r[y]==="<"){let N=r.charCodeAt(y+1);if(N===47){let E=Je(r,">",y,"Closing Tag is not closed."),S=r.substring(y+2,E).trim();if(d.removeNSPrefix){let I=S.indexOf(":");I!==-1&&(S=S.substr(I+1))}S=sr(d.transformTagName,S,"",d).tagName,u&&(h=this.saveTextToParentTag(h,u,this.readonlyMatcher));let O=this.matcher.getCurrentTag();if(S&&d.unpairedTagsSet.has(S))throw Error(`Unpaired tag can not be used as closing tag: </${S}>`);O&&d.unpairedTagsSet.has(O)&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,u=this.tagsNodeStack.pop(),h="",y=E}else if(N===63){let E=nr(r,y,!1,"?>");if(!E)throw Error("Pi Tag is not closed.");h=this.saveTextToParentTag(h,u,this.readonlyMatcher);let S=this.buildAttributesMap(E.tagExp,this.matcher,E.tagName,!0);if(S){let O=S[this.options.attributeNamePrefix+"version"];this.entityDecoder.setXmlVersion(Number(O)||1)}if(d.ignoreDeclaration&&E.tagName==="?xml"||d.ignorePiTags);else{let O=new we(E.tagName);O.add(d.textNodeName,""),E.tagName!==E.tagExp&&E.attrExpPresent&&d.ignoreAttributes!==!0&&(O[":@"]=S),this.addChild(u,O,this.readonlyMatcher,y)}y=E.closeIndex+1}else if(N===33&&r.charCodeAt(y+2)===45&&r.charCodeAt(y+3)===45){let E=Je(r,"-->",y+4,"Comment is not closed.");if(d.commentPropName){let S=r.substring(y+4,E-2);h=this.saveTextToParentTag(h,u,this.readonlyMatcher),u.add(d.commentPropName,[{[d.textNodeName]:S}])}y=E}else if(N===33&&r.charCodeAt(y+2)===68){let E=p.readDocType(r,y);this.entityDecoder.addInputEntities(E.entities),y=E.i}else if(N===33&&r.charCodeAt(y+2)===91){let E=Je(r,"]]>",y,"CDATA is not closed.")-2,S=r.substring(y+9,E);h=this.saveTextToParentTag(h,u,this.readonlyMatcher);let O=this.parseTextData(S,u.tagname,this.readonlyMatcher,!0,!1,!0,!0);O==null&&(O=""),d.cdataPropName?u.add(d.cdataPropName,[{[d.textNodeName]:S}]):u.add(d.textNodeName,O),y=E+2}else{let E=nr(r,y,d.removeNSPrefix);if(!E){let K=r.substring(Math.max(0,y-50),Math.min(x,y+50));throw Error(`readTagExp returned undefined at position ${y}. Context: "${K}"`)}let{tagName:S,rawTagName:O,tagExp:I,attrExpPresent:D,closeIndex:M}=E;if({tagName:S,tagExp:I}=sr(d.transformTagName,S,I,d),d.strictReservedNames&&(S===d.commentPropName||S===d.cdataPropName||S===d.textNodeName||S===d.attributesGroupName))throw Error(`Invalid tag name: ${S}`);u&&h&&u.tagname!=="!xml"&&(h=this.saveTextToParentTag(h,u,this.readonlyMatcher,!1));let z=u;z&&d.unpairedTagsSet.has(z.tagname)&&(u=this.tagsNodeStack.pop(),this.matcher.pop());let Y=!1;I.length>0&&I.lastIndexOf("/")===I.length-1&&(Y=!0,S[S.length-1]==="/"?(S=S.substr(0,S.length-1),I=S):I=I.substr(0,I.length-1),D=S!==I);let oe,ne=null,Ze={};oe=Uo(O),S!==n.tagname&&this.matcher.push(S,{},oe),S!==I&&D&&(ne=this.buildAttributesMap(I,this.matcher,S),ne&&(Ze=Ho(ne,d))),S!==n.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode());let ae=y;if(this.isCurrentNodeStopNode){let K="";if(Y)y=E.closeIndex;else if(d.unpairedTagsSet.has(S))y=E.closeIndex;else{let ur=this.readStopNodeData(r,O,M+1);if(!ur)throw Error(`Unexpected end of ${O}`);y=ur.i,K=ur.tagContent}let ar=new we(S);ne&&(ar[":@"]=ne),ar.add(d.textNodeName,K),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(u,ar,this.readonlyMatcher,ae)}else{if(Y){({tagName:S,tagExp:I}=sr(d.transformTagName,S,I,d));let K=new we(S);ne&&(K[":@"]=ne),this.addChild(u,K,this.readonlyMatcher,ae),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else{if(d.unpairedTagsSet.has(S)){let K=new we(S);ne&&(K[":@"]=ne),this.addChild(u,K,this.readonlyMatcher,ae),this.matcher.pop(),this.isCurrentNodeStopNode=!1,y=E.closeIndex;continue}{let K=new we(S);if(this.tagsNodeStack.length>d.maxNestedTags)throw Error("Maximum nested tags exceeded");this.tagsNodeStack.push(u),ne&&(K[":@"]=ne),this.addChild(u,K,this.readonlyMatcher,ae),u=K}}h="",y=M}}}else h+=r[y];return n.child};function Xo(r,n,u,h){this.options.captureMetaData||(h=void 0);let d=this.options.jPath?u.toString():u,p=this.options.updateTag(n.tagname,d,n[":@"]);p===!1||(typeof p=="string"?(n.tagname=p,r.addChild(n,h)):r.addChild(n,h))}function Go(r,n,u){let h=this.options.processEntities;if(!h||!h.enabled)return r;if(h.allowedTags){let d=this.options.jPath?u.toString():u;if(!(Array.isArray(h.allowedTags)?h.allowedTags.includes(n):h.allowedTags(n,d)))return r}if(h.tagFilter){let d=this.options.jPath?u.toString():u;if(!h.tagFilter(n,d))return r}return this.entityDecoder.decode(r)}function ko(r,n,u,h){return r&&(h===void 0&&(h=n.child.length===0),(r=this.parseTextData(r,n.tagname,u,!1,!!n[":@"]&&Object.keys(n[":@"]).length!==0,h))!==void 0&&r!==""&&n.add(this.options.textNodeName,r),r=""),r}function Wo(){return this.stopNodeExpressionsSet.size!==0&&this.matcher.matchesAny(this.stopNodeExpressionsSet)}function Je(r,n,u,h){let d=r.indexOf(n,u);if(d===-1)throw Error(h);return d+n.length-1}function Qo(r,n,u,h){let d=r.indexOf(n,u);if(d===-1)throw Error(h);return d}function nr(r,n,u,h=">"){let d=function(O,I,D=">"){let M=0,z=O.length,Y=D.charCodeAt(0),oe=D.length>1?D.charCodeAt(1):-1,ne="",Ze=I;for(let ae=I;ae<z;ae++){let K=O.charCodeAt(ae);if(M)K===M&&(M=0);else if(K===34||K===39)M=K;else if(K===Y){if(oe===-1)return ne+=O.substring(Ze,ae),{data:ne,index:ae};if(O.charCodeAt(ae+1)===oe)return ne+=O.substring(Ze,ae),{data:ne,index:ae}}else K!==9||M||(ne+=O.substring(Ze,ae)+" ",Ze=ae+1)}}(r,n+1,h);if(!d)return;let{data:p,index:x}=d,y=p.search(/\s/),N=p,E=!0;y!==-1&&(N=p.substring(0,y),p=p.substring(y+1).trimStart());let S=N;if(u){let O=N.indexOf(":");O!==-1&&(N=N.substr(O+1),E=N!==d.data.substr(O+1))}return{tagName:N,tagExp:p,closeIndex:x,attrExpPresent:E,rawTagName:S}}function Ko(r,n,u){let h=u,d=1,p=r.length;for(;u<p;u++)if(r[u]==="<"){let x=r.charCodeAt(u+1);if(x===47){let y=Qo(r,">",u,`${n} is not closed`);if(r.substring(u+2,y).trim()===n&&(d--,d===0))return{tagContent:r.substring(h,u),i:y};u=y}else if(x===63)u=Je(r,"?>",u+1,"StopNode is not closed.");else if(x===33&&r.charCodeAt(u+2)===45&&r.charCodeAt(u+3)===45)u=Je(r,"-->",u+3,"StopNode is not closed.");else if(x===33&&r.charCodeAt(u+2)===91)u=Je(r,"]]>",u,"StopNode is not closed.")-2;else{let y=nr(r,u,">");y&&((y&&y.tagName)===n&&y.tagExp[y.tagExp.length-1]!=="/"&&d++,u=y.closeIndex)}}}function Sn(r,n,u){if(n&&typeof r=="string"){let h=r.trim();return h==="true"||h!=="false"&&function(d,p={}){if(p=Object.assign({},Ro,p),!d||typeof d!="string")return d;let x=d.trim();if(x.length===0)return d;if(p.skipLike!==void 0&&p.skipLike.test(x))return d;if(x==="0")return 0;if(p.hex&&Co.test(x))return function(N){if(parseInt)return parseInt(N,16);if(Number.parseInt)return Number.parseInt(N,16);if(window&&window.parseInt)return window.parseInt(N,16);throw Error("parseInt, Number.parseInt, window.parseInt are not supported")}(x);if(isFinite(x)){if(x.includes("e")||x.includes("E"))return function(N,E,S){if(!S.eNotation)return N;let O=E.match(Do);if(O){let I=O[1]||"",D=O[3].indexOf("e")===-1?"E":"e",M=O[2],z=I?N[M.length+1]===D:N[M.length]===D;return M.length>1&&z?N:(M.length!==1||!O[3].startsWith(`.${D}`)&&O[3][0]!==D)&&M.length>0?S.leadingZeros&&!z?(E=(O[1]||"")+O[3],Number(E)):N:Number(E)}return N}(d,x,p);{let N=Io.exec(x);if(N){let E=N[1]||"",S=N[2],O=(y=N[3])&&y.indexOf(".")!==-1?((y=y.replace(/0+$/,""))==="."?y="0":y[0]==="."?y="0"+y:y[y.length-1]==="."&&(y=y.substring(0,y.length-1)),y):y,I=E?d[S.length+1]===".":d[S.length]===".";if(!p.leadingZeros&&(S.length>1||S.length===1&&!I))return d;{let D=Number(x),M=String(D);if(D===0)return D;if(M.search(/[eE]/)!==-1)return p.eNotation?D:d;if(x.indexOf(".")!==-1)return M==="0"||M===O||M===`${E}${O}`?D:d;let z=S?O:x;return S?z===M||E+z===M?D:d:z===M||z===E+M?D:d}}return d}}var y;return function(N,E,S){let O=E===1/0;switch(S.infinity.toLowerCase()){case"null":return null;case"infinity":return E;case"string":return O?"Infinity":"-Infinity";default:return N}}(d,Number(x),p)}(r,u)}return r!==void 0?r:""}function sr(r,n,u,h){if(r){let d=r(n);u===n&&(u=d),n=d}return{tagName:n=_n(n,h),tagExp:u}}function _n(r,n){if(l.includes(r))throw Error(`[SECURITY] Invalid name: "${r}" is a reserved JavaScript keyword that could cause prototype pollution`);return a.includes(r)?n.onDangerousProperty(r):r}let ir=we.getMetaDataSymbol();function Yo(r,n){if(!r||typeof r!="object")return{};if(!n)return r;let u={};for(let h in r)h.startsWith(n)?u[h.substring(n.length)]=r[h]:u[h]=r[h];return u}function Jo(r,n,u,h){return Tn(r,n,u,h)}function Tn(r,n,u,h){let d,p={};for(let x=0;x<r.length;x++){let y=r[x],N=Zo(y);if(N!==void 0&&N!==n.textNodeName){let E=Yo(y[":@"]||{},n.attributeNamePrefix);u.push(N,E)}if(N===n.textNodeName)d===void 0?d=y[N]:d+=""+y[N];else{if(N===void 0)continue;if(y[N]){let E=Tn(y[N],n,u,h),S=ea(E,n);if(y[":@"]?vo(E,y[":@"],h,n):Object.keys(E).length!==1||E[n.textNodeName]===void 0||n.alwaysCreateTextNode?Object.keys(E).length===0&&(n.alwaysCreateTextNode?E[n.textNodeName]="":E=""):E=E[n.textNodeName],y[ir]!==void 0&&typeof E=="object"&&E!==null&&(E[ir]=y[ir]),p[N]!==void 0&&Object.prototype.hasOwnProperty.call(p,N))Array.isArray(p[N])||(p[N]=[p[N]]),p[N].push(E);else{let O=n.jPath?h.toString():h;n.isArray(N,O,S)?p[N]=[E]:p[N]=E}N!==void 0&&N!==n.textNodeName&&u.pop()}}}return typeof d=="string"?d.length>0&&(p[n.textNodeName]=d):d!==void 0&&(p[n.textNodeName]=d),p}function Zo(r){let n=Object.keys(r);for(let u=0;u<n.length;u++){let h=n[u];if(h!==":@")return h}}function vo(r,n,u,h){if(n){let d=Object.keys(n),p=d.length;for(let x=0;x<p;x++){let y=d[x],N=y.startsWith(h.attributeNamePrefix)?y.substring(h.attributeNamePrefix.length):y,E=h.jPath?u.toString()+"."+N:u;h.isArray(y,E,!0,!0)?r[y]=[n[y]]:r[y]=n[y]}}}function ea(r,n){let{textNodeName:u}=n,h=Object.keys(r).length;return h===0||!(h!==1||!r[u]&&typeof r[u]!="boolean"&&r[u]!==0)}class On{constructor(r){this.externalEntities={},this.options=Ao(r)}parse(r,n){if(typeof r!="string"&&r.toString)r=r.toString();else if(typeof r!="string")throw Error("XML data is accepted in String or Bytes[] form.");if(n){n===!0&&(n={});let d=m(r,n);if(d!==!0)throw Error(`${d.err.msg}:${d.err.line}:${d.err.col}`)}let u=new xn(this.options,this.externalEntities),h=u.parseXml(r);return this.options.preserveOrder||h===void 0?h:Jo(h,this.options,u.matcher,u.readonlyMatcher)}addEntity(r,n){if(n.indexOf("&")!==-1)throw Error("Entity value can't have '&'");if(r.indexOf("&")!==-1||r.indexOf(";")!==-1)throw Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '
'");if(n==="&")throw Error("An entity with value '&' is not permitted");this.externalEntities[r]=n}static getMetaDataSymbol(){return we.getMetaDataSymbol()}}function ta(r,n){let u="";n.format&&n.indentBy.length>0&&(u=`
|
|
16
|
-
`);let h=[];if(n.stopNodes&&Array.isArray(n.stopNodes))for(let d=0;d<n.stopNodes.length;d++){let p=n.stopNodes[d];typeof p=="string"?h.push(new Be(p)):p instanceof Be&&h.push(p)}return Pn(r,n,u,new Tt,h)}function Pn(r,n,u,h,d){let p="",x=!1;if(n.maxNestedTags&&h.getDepth()>n.maxNestedTags)throw Error("Maximum nested tags exceeded");if(!Array.isArray(r)){if(r!=null){let y=r.toString();return y=or(y,n),y}return""}for(let y=0;y<r.length;y++){let N=r[y],E=Cn(N);if(E===void 0)continue;let S=ra(N[":@"],n);h.push(E,S);let O=sa(h,d);if(E===n.textNodeName){let z=N[E];O||(z=n.tagValueProcessor(E,z),z=or(z,n)),x&&(p+=u),p+=z,x=!1,h.pop();continue}if(E===n.cdataPropName){x&&(p+=u);let z=N[E][0][n.textNodeName];p+=`<![CDATA[${String(z).replace(/\]\]>/g,"]]]]><![CDATA[>")}]]>`,x=!1,h.pop();continue}if(E===n.commentPropName){let z=N[E][0][n.textNodeName];p+=u+`<!--${String(z).replace(/--/g,"- -").replace(/-$/,"- ")}-->`,x=!0,h.pop();continue}if(E[0]==="?"){let z=In(N[":@"],n,O),Y=E==="?xml"?"":u,oe=N[E][0][n.textNodeName];oe=oe.length!==0?" "+oe:"",p+=Y+`<${E}${oe}${z}?>`,x=!0,h.pop();continue}let I=u;I!==""&&(I+=n.indentBy);let D=u+`<${E}${In(N[":@"],n,O)}`,M;M=O?An(N[E],n):Pn(N[E],n,I,h,d),n.unpairedTags.indexOf(E)!==-1?n.suppressUnpairedNode?p+=D+">":p+=D+"/>":M&&M.length!==0||!n.suppressEmptyNode?M&&M.endsWith(">")?p+=D+`>${M}${u}</${E}>`:(p+=D+">",M&&u!==""&&(M.includes("/>")||M.includes("</"))?p+=u+n.indentBy+M+u:p+=M,p+=`</${E}>`):p+=D+"/>",x=!0,h.pop()}return p}function ra(r,n){if(!r||n.ignoreAttributes)return null;let u={},h=!1;for(let d in r)Object.prototype.hasOwnProperty.call(r,d)&&(u[d.startsWith(n.attributeNamePrefix)?d.substr(n.attributeNamePrefix.length):d]=r[d],h=!0);return h?u:null}function An(r,n){if(!Array.isArray(r))return r!=null?r.toString():"";let u="";for(let h=0;h<r.length;h++){let d=r[h],p=Cn(d);if(p===n.textNodeName)u+=d[p];else if(p===n.cdataPropName)u+=d[p][0][n.textNodeName];else if(p===n.commentPropName)u+=d[p][0][n.textNodeName];else{if(p&&p[0]==="?")continue;if(p){let x=na(d[":@"],n),y=An(d[p],n);y&&y.length!==0?u+=`<${p}${x}>${y}</${p}>`:u+=`<${p}${x}/>`}}}return u}function na(r,n){let u="";if(r&&!n.ignoreAttributes)for(let h in r){if(!Object.prototype.hasOwnProperty.call(r,h))continue;let d=r[h];d===!0&&n.suppressBooleanAttributes?u+=` ${h.substr(n.attributeNamePrefix.length)}`:u+=` ${h.substr(n.attributeNamePrefix.length)}="${d}"`}return u}function Cn(r){let n=Object.keys(r);for(let u=0;u<n.length;u++){let h=n[u];if(Object.prototype.hasOwnProperty.call(r,h)&&h!==":@")return h}}function In(r,n,u){let h="";if(r&&!n.ignoreAttributes)for(let d in r){if(!Object.prototype.hasOwnProperty.call(r,d))continue;let p;u?p=r[d]:(p=n.attributeValueProcessor(d,r[d]),p=or(p,n)),p===!0&&n.suppressBooleanAttributes?h+=` ${d.substr(n.attributeNamePrefix.length)}`:h+=` ${d.substr(n.attributeNamePrefix.length)}="${p}"`}return h}function sa(r,n){if(!n||n.length===0)return!1;for(let u=0;u<n.length;u++)if(r.matches(n[u]))return!0;return!1}function or(r,n){if(r&&r.length>0&&n.processEntities)for(let u=0;u<n.entities.length;u++){let h=n.entities[u];r=r.replace(h.regex,h.val)}return r}let ia={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(r,n){return n},attributeValueProcessor:function(r,n){return n},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&"},{regex:new RegExp(">","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1,maxNestedTags:100,jPath:!0};function fe(r){if(this.options=Object.assign({},ia,r),this.options.stopNodes&&Array.isArray(this.options.stopNodes)&&(this.options.stopNodes=this.options.stopNodes.map((u)=>typeof u=="string"&&u.startsWith("*.")?".."+u.substring(2):u)),this.stopNodeExpressions=[],this.options.stopNodes&&Array.isArray(this.options.stopNodes))for(let u=0;u<this.options.stopNodes.length;u++){let h=this.options.stopNodes[u];typeof h=="string"?this.stopNodeExpressions.push(new Be(h)):h instanceof Be&&this.stopNodeExpressions.push(h)}var n;this.options.ignoreAttributes===!0||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.ignoreAttributesFn=typeof(n=this.options.ignoreAttributes)=="function"?n:Array.isArray(n)?(u)=>{for(let h of n){if(typeof h=="string"&&u===h)return!0;if(h instanceof RegExp&&h.test(u))return!0}}:()=>!1,this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=ua),this.processTextOrObjNode=oa,this.options.format?(this.indentate=aa,this.tagEndChar=`>
|
|
17
|
-
`,this.newLine=`
|
|
18
|
-
`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function oa(r,n,u,h){let d=this.extractAttributes(r);if(h.push(n,d),this.checkStopNode(h)){let x=this.buildRawContent(r),y=this.buildAttributesForStopNode(r);return h.pop(),this.buildObjectNode(x,n,y,u)}let p=this.j2x(r,u+1,h);return h.pop(),r[this.options.textNodeName]!==void 0&&Object.keys(r).length===1?this.buildTextValNode(r[this.options.textNodeName],n,p.attrStr,u,h):this.buildObjectNode(p.val,n,p.attrStr,u)}function aa(r){return this.options.indentBy.repeat(r)}function ua(r){return!(!r.startsWith(this.options.attributeNamePrefix)||r===this.options.textNodeName)&&r.substr(this.attrPrefixLen)}fe.prototype.build=function(r){if(this.options.preserveOrder)return ta(r,this.options);{Array.isArray(r)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(r={[this.options.arrayNodeName]:r});let n=new Tt;return this.j2x(r,0,n).val}},fe.prototype.j2x=function(r,n,u){let h="",d="";if(this.options.maxNestedTags&&u.getDepth()>=this.options.maxNestedTags)throw Error("Maximum nested tags exceeded");let p=this.options.jPath?u.toString():u,x=this.checkStopNode(u);for(let y in r)if(Object.prototype.hasOwnProperty.call(r,y))if(r[y]===void 0)this.isAttribute(y)&&(d+="");else if(r[y]===null)this.isAttribute(y)||y===this.options.cdataPropName?d+="":y[0]==="?"?d+=this.indentate(n)+"<"+y+"?"+this.tagEndChar:d+=this.indentate(n)+"<"+y+"/"+this.tagEndChar;else if(r[y]instanceof Date)d+=this.buildTextValNode(r[y],y,"",n,u);else if(typeof r[y]!="object"){let N=this.isAttribute(y);if(N&&!this.ignoreAttributesFn(N,p))h+=this.buildAttrPairStr(N,""+r[y],x);else if(!N)if(y===this.options.textNodeName){let E=this.options.tagValueProcessor(y,""+r[y]);d+=this.replaceEntitiesValue(E)}else{u.push(y);let E=this.checkStopNode(u);if(u.pop(),E){let S=""+r[y];d+=S===""?this.indentate(n)+"<"+y+this.closeTag(y)+this.tagEndChar:this.indentate(n)+"<"+y+">"+S+"</"+y+this.tagEndChar}else d+=this.buildTextValNode(r[y],y,"",n,u)}}else if(Array.isArray(r[y])){let N=r[y].length,E="",S="";for(let O=0;O<N;O++){let I=r[y][O];if(I===void 0);else if(I===null)y[0]==="?"?d+=this.indentate(n)+"<"+y+"?"+this.tagEndChar:d+=this.indentate(n)+"<"+y+"/"+this.tagEndChar;else if(typeof I=="object")if(this.options.oneListGroup){u.push(y);let D=this.j2x(I,n+1,u);u.pop(),E+=D.val,this.options.attributesGroupName&&I.hasOwnProperty(this.options.attributesGroupName)&&(S+=D.attrStr)}else E+=this.processTextOrObjNode(I,y,n,u);else if(this.options.oneListGroup){let D=this.options.tagValueProcessor(y,I);D=this.replaceEntitiesValue(D),E+=D}else{u.push(y);let D=this.checkStopNode(u);if(u.pop(),D){let M=""+I;E+=M===""?this.indentate(n)+"<"+y+this.closeTag(y)+this.tagEndChar:this.indentate(n)+"<"+y+">"+M+"</"+y+this.tagEndChar}else E+=this.buildTextValNode(I,y,"",n,u)}}this.options.oneListGroup&&(E=this.buildObjectNode(E,y,S,n)),d+=E}else if(this.options.attributesGroupName&&y===this.options.attributesGroupName){let N=Object.keys(r[y]),E=N.length;for(let S=0;S<E;S++)h+=this.buildAttrPairStr(N[S],""+r[y][N[S]],x)}else d+=this.processTextOrObjNode(r[y],y,n,u);return{attrStr:h,val:d}},fe.prototype.buildAttrPairStr=function(r,n,u){return u||(n=this.options.attributeValueProcessor(r,""+n),n=this.replaceEntitiesValue(n)),this.options.suppressBooleanAttributes&&n==="true"?" "+r:" "+r+'="'+n+'"'},fe.prototype.extractAttributes=function(r){if(!r||typeof r!="object")return null;let n={},u=!1;if(this.options.attributesGroupName&&r[this.options.attributesGroupName]){let h=r[this.options.attributesGroupName];for(let d in h)Object.prototype.hasOwnProperty.call(h,d)&&(n[d.startsWith(this.options.attributeNamePrefix)?d.substring(this.options.attributeNamePrefix.length):d]=h[d],u=!0)}else for(let h in r){if(!Object.prototype.hasOwnProperty.call(r,h))continue;let d=this.isAttribute(h);d&&(n[d]=r[h],u=!0)}return u?n:null},fe.prototype.buildRawContent=function(r){if(typeof r=="string")return r;if(typeof r!="object"||r===null)return String(r);if(r[this.options.textNodeName]!==void 0)return r[this.options.textNodeName];let n="";for(let u in r){if(!Object.prototype.hasOwnProperty.call(r,u))continue;if(this.isAttribute(u))continue;if(this.options.attributesGroupName&&u===this.options.attributesGroupName)continue;let h=r[u];if(u===this.options.textNodeName)n+=h;else if(Array.isArray(h)){for(let d of h)if(typeof d=="string"||typeof d=="number")n+=`<${u}>${d}</${u}>`;else if(typeof d=="object"&&d!==null){let p=this.buildRawContent(d),x=this.buildAttributesForStopNode(d);n+=p===""?`<${u}${x}/>`:`<${u}${x}>${p}</${u}>`}}else if(typeof h=="object"&&h!==null){let d=this.buildRawContent(h),p=this.buildAttributesForStopNode(h);n+=d===""?`<${u}${p}/>`:`<${u}${p}>${d}</${u}>`}else n+=`<${u}>${h}</${u}>`}return n},fe.prototype.buildAttributesForStopNode=function(r){if(!r||typeof r!="object")return"";let n="";if(this.options.attributesGroupName&&r[this.options.attributesGroupName]){let u=r[this.options.attributesGroupName];for(let h in u){if(!Object.prototype.hasOwnProperty.call(u,h))continue;let d=h.startsWith(this.options.attributeNamePrefix)?h.substring(this.options.attributeNamePrefix.length):h,p=u[h];p===!0&&this.options.suppressBooleanAttributes?n+=" "+d:n+=" "+d+'="'+p+'"'}}else for(let u in r){if(!Object.prototype.hasOwnProperty.call(r,u))continue;let h=this.isAttribute(u);if(h){let d=r[u];d===!0&&this.options.suppressBooleanAttributes?n+=" "+h:n+=" "+h+'="'+d+'"'}}return n},fe.prototype.buildObjectNode=function(r,n,u,h){if(r==="")return n[0]==="?"?this.indentate(h)+"<"+n+u+"?"+this.tagEndChar:this.indentate(h)+"<"+n+u+this.closeTag(n)+this.tagEndChar;{let d="</"+n+this.tagEndChar,p="";return n[0]==="?"&&(p="?",d=""),!u&&u!==""||r.indexOf("<")!==-1?this.options.commentPropName!==!1&&n===this.options.commentPropName&&p.length===0?this.indentate(h)+`<!--${r}-->`+this.newLine:this.indentate(h)+"<"+n+u+p+this.tagEndChar+r+this.indentate(h)+d:this.indentate(h)+"<"+n+u+p+">"+r+d}},fe.prototype.closeTag=function(r){let n="";return this.options.unpairedTags.indexOf(r)!==-1?this.options.suppressUnpairedNode||(n="/"):n=this.options.suppressEmptyNode?"/":`></${r}`,n},fe.prototype.checkStopNode=function(r){if(!this.stopNodeExpressions||this.stopNodeExpressions.length===0)return!1;for(let n=0;n<this.stopNodeExpressions.length;n++)if(r.matches(this.stopNodeExpressions[n]))return!0;return!1},fe.prototype.buildTextValNode=function(r,n,u,h,d){if(this.options.cdataPropName!==!1&&n===this.options.cdataPropName){let p=String(r).replace(/\]\]>/g,"]]]]><![CDATA[>");return this.indentate(h)+`<![CDATA[${p}]]>`+this.newLine}if(this.options.commentPropName!==!1&&n===this.options.commentPropName){let p=String(r).replace(/--/g,"- -").replace(/-$/,"- ");return this.indentate(h)+`<!--${p}-->`+this.newLine}if(n[0]==="?")return this.indentate(h)+"<"+n+u+"?"+this.tagEndChar;{let p=this.options.tagValueProcessor(n,r);return p=this.replaceEntitiesValue(p),p===""?this.indentate(h)+"<"+n+u+this.closeTag(n)+this.tagEndChar:this.indentate(h)+"<"+n+u+">"+p+"</"+n+this.tagEndChar}},fe.prototype.replaceEntitiesValue=function(r){if(r&&r.length>0&&this.options.processEntities)for(let n=0;n<this.options.entities.length;n++){let u=this.options.entities[n];r=r.replace(u.regex,u.val)}return r};let ca=fe,la={validate:m};eo.exports=t})()});var oo=$((no)=>{Object.defineProperty(no,"__esModule",{value:!0});no.EntityDecoderImpl=no.CURRENCY=no.COMMON_HTML=no.XML=void 0;no.XML={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'};no.COMMON_HTML={nbsp:" ",copy:"©",reg:"®",trade:"™",mdash:"—",ndash:"–",hellip:"…",laquo:"«",raquo:"»",lsquo:"‘",rsquo:"’",ldquo:"“",rdquo:"”",bull:"•",para:"¶",sect:"§",deg:"°",frac12:"½",frac14:"¼",frac34:"¾"};no.CURRENCY={cent:"¢",pound:"£",curren:"¤",yen:"¥",euro:"€",dollar:"$",fnof:"ƒ",inr:"₹",af:"؋",birr:"ብር",peso:"₱",rub:"₽",won:"₩",yuan:"¥",cedil:"¸"};var Fh=new Set("!?\\/[]$%{}^&*()<>|+");function ro(e){if(e[0]==="#")throw Error(`[EntityReplacer] Invalid character '#' in entity name: "${e}"`);for(let t of e)if(Fh.has(t))throw Error(`[EntityReplacer] Invalid character '${t}' in entity name: "${e}"`);return e}function en(...e){let t=Object.create(null);for(let i of e){if(!i)continue;for(let s of Object.keys(i)){let c=i[s];if(typeof c==="string")t[s]=c;else if(c&&typeof c==="object"&&c.val!==void 0){let o=c.val;if(typeof o==="string")t[s]=o}}}return t}var Ye="external",Wt="base",tn="all";function Bh(e){if(!e||e===Ye)return new Set([Ye]);if(e===tn)return new Set([tn]);if(e===Wt)return new Set([Wt]);if(Array.isArray(e))return new Set(e);return new Set([Ye])}var le=Object.freeze({allow:0,leave:1,remove:2,throw:3}),Vh=new Set([9,10,13]);function zh(e){if(!e)return{xmlVersion:1,onLevel:le.allow,nullLevel:le.remove};let t=e.xmlVersion===1.1?1.1:1,i=le[e.onNCR??"allow"]??le.allow,s=le[e.nullNCR??"remove"]??le.remove,c=Math.max(s,le.remove);return{xmlVersion:t,onLevel:i,nullLevel:c}}var qh=class{_limit;_maxTotalExpansions;_maxExpandedLength;_postCheck;_limitTiers;_numericAllowed;_baseMap;_externalMap;_inputMap;_totalExpansions;_expandedLength;_removeSet;_leaveSet;_ncrXmlVersion;_ncrOnLevel;_ncrNullLevel;constructor(t={}){this._limit=t.limit||{},this._maxTotalExpansions=this._limit.maxTotalExpansions||0,this._maxExpandedLength=this._limit.maxExpandedLength||0,this._postCheck=typeof t.postCheck==="function"?t.postCheck:(s)=>s,this._limitTiers=Bh(this._limit.applyLimitsTo??Ye),this._numericAllowed=t.numericAllowed??!0,this._baseMap=en(no.XML,t.namedEntities||null),this._externalMap=Object.create(null),this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this._removeSet=new Set(t.remove&&Array.isArray(t.remove)?t.remove:[]),this._leaveSet=new Set(t.leave&&Array.isArray(t.leave)?t.leave:[]);let i=zh(t.ncr);this._ncrXmlVersion=i.xmlVersion,this._ncrOnLevel=i.onLevel,this._ncrNullLevel=i.nullLevel}setExternalEntities(t){if(t)for(let i of Object.keys(t))ro(i);this._externalMap=en(t)}addExternalEntity(t,i){if(ro(t),typeof i==="string"&&i.indexOf("&")===-1)this._externalMap[t]=i}addInputEntities(t){this._totalExpansions=0,this._expandedLength=0,this._inputMap=en(t)}reset(){return this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this}setXmlVersion(t){this._ncrXmlVersion=t==="1.1"||t===1.1?1.1:1}decode(t){if(typeof t!=="string"||t.length===0)return t;let i=t,s=[],c=t.length,o=0,a=0,l=this._maxTotalExpansions>0,f=this._maxExpandedLength>0,m=l||f;while(a<c){if(t.charCodeAt(a)!==38){a++;continue}let b=a+1;while(b<c&&t.charCodeAt(b)!==59&&b-a<=32)b++;if(b>=c||t.charCodeAt(b)!==59){a++;continue}let w=t.slice(a+1,b);if(w.length===0){a++;continue}let _,T;if(this._removeSet.has(w)){if(_="",T===void 0)T=Ye}else if(this._leaveSet.has(w)){a++;continue}else if(w.charCodeAt(0)===35){let P=this._resolveNCR(w);if(P===void 0){a++;continue}_=P,T=Wt}else{let P=this._resolveName(w);_=P?.value,T=P?.tier}if(_===void 0){a++;continue}if(a>o)s.push(t.slice(o,a));if(s.push(_),o=b+1,a=o,m&&this._tierCounts(T)){if(l){if(this._totalExpansions++,this._totalExpansions>this._maxTotalExpansions)throw Error(`[EntityReplacer] Entity expansion count limit exceeded: ${this._totalExpansions} > ${this._maxTotalExpansions}`)}if(f){let P=_.length-(w.length+2);if(P>0){if(this._expandedLength+=P,this._expandedLength>this._maxExpandedLength)throw Error(`[EntityReplacer] Expanded content length limit exceeded: ${this._expandedLength} > ${this._maxExpandedLength}`)}}}}if(o<c)s.push(t.slice(o));let g=s.length===0?t:s.join("");return this._postCheck(g,i)}_tierCounts(t){if(this._limitTiers.has(tn))return!0;return this._limitTiers.has(t)}_resolveName(t){if(t in this._inputMap)return{value:this._inputMap[t],tier:Ye};if(t in this._externalMap)return{value:this._externalMap[t],tier:Ye};if(t in this._baseMap)return{value:this._baseMap[t],tier:Wt};return}_classifyNCR(t){if(t===0)return this._ncrNullLevel;if(t>=55296&&t<=57343)return le.remove;if(this._ncrXmlVersion===1){if(t>=1&&t<=31&&!Vh.has(t))return le.remove}return-1}_applyNCRAction(t,i,s){switch(t){case le.allow:return String.fromCodePoint(s);case le.remove:return"";case le.leave:return;case le.throw:throw Error(`[EntityDecoder] Prohibited numeric character reference &${i}; (U+${s.toString(16).toUpperCase().padStart(4,"0")})`);default:return String.fromCodePoint(s)}}_resolveNCR(t){let i=t.charCodeAt(1),s;if(i===120||i===88)s=parseInt(t.slice(2),16);else s=parseInt(t.slice(1),10);if(Number.isNaN(s)||s<0||s>1114111)return;let c=this._classifyNCR(s);if(!this._numericAllowed&&c<le.remove)return;let o=c===-1?this._ncrOnLevel:Math.max(this._ncrOnLevel,c);return this._applyNCRAction(o,t,s)}};no.EntityDecoderImpl=qh});var uo=$((ao)=>{Object.defineProperty(ao,"__esModule",{value:!0});ao.parseXML=Qh;var kh=to(),Qt=oo(),Kt=new Qt.EntityDecoderImpl({namedEntities:{...Qt.XML,...Qt.COMMON_HTML,...Qt.CURRENCY},numericAllowed:!0,limit:{maxTotalExpansions:1/0},ncr:{xmlVersion:1.1}}),Wh=new kh.XMLParser({attributeNamePrefix:"",processEntities:{enabled:!0,maxTotalExpansions:1/0},htmlEntities:!0,entityDecoder:{setExternalEntities:(e)=>{Kt.setExternalEntities(e)},addInputEntities:(e)=>{Kt.addInputEntities(e)},reset:()=>{Kt.reset()},decode:(e)=>{return Kt.decode(e)},setXmlVersion:(e)=>{return}},ignoreAttributes:!1,ignoreDeclaration:!0,parseTagValue:!1,trimValues:!1,tagValueProcessor:(e,t)=>t.trim()===""&&t.includes(`
|
|
19
|
-
`)?"":void 0,maxNestedTags:1/0});function Qh(e){return Wh.parse(e,!0)}});var co=$((nd)=>{var Yh=uo(),Jh=/[&<>"]/g,Zh={"&":"&","<":"<",">":">",'"':"""};function vh(e){return e.replace(Jh,(t)=>Zh[t])}var ed=/[&"'<>\r\n\u0085\u2028]/g,td={"&":"&",'"':""","'":"'","<":"<",">":">","\r":"
","\n":"
","
":"…","\u2028":"
"};function rd(e){return e.replace(ed,(t)=>td[t])}class rn{value;constructor(e){this.value=e}toString(){return rd(""+this.value)}}class _t{name;children;attributes={};static of(e,t,i){let s=new _t(e);if(t!==void 0)s.addChildNode(new rn(t));if(i!==void 0)s.withName(i);return s}constructor(e,t=[]){this.name=e,this.children=t}withName(e){return this.name=e,this}addAttribute(e,t){return this.attributes[e]=t,this}addChildNode(e){return this.children.push(e),this}removeAttribute(e){return delete this.attributes[e],this}n(e){return this.name=e,this}c(e){return this.children.push(e),this}a(e,t){if(t!=null)this.attributes[e]=t;return this}cc(e,t,i=t){if(e[t]!=null){let s=_t.of(t,e[t]).withName(i);this.c(s)}}l(e,t,i,s){if(e[t]!=null)s().map((o)=>{o.withName(i),this.c(o)})}lc(e,t,i,s){if(e[t]!=null){let c=s(),o=new _t(i);c.map((a)=>{o.c(a)}),this.c(o)}}toString(){let e=Boolean(this.children.length),t=`<${this.name}`,i=this.attributes;for(let s of Object.keys(i)){let c=i[s];if(c!=null)t+=` ${s}="${vh(""+c)}"`}return t+=!e?"/>":`>${this.children.map((s)=>s.toString()).join("")}</${this.name}>`}}nd.parseXML=Yh.parseXML;nd.XmlNode=_t;nd.XmlText=rn});var Bd=$((pd)=>{var lo=Yi(),k=Vi(),De=Ji(),se=pe(),ee=Ee(),at=vi(),po=Hi(),ue=co();class ut{queryCompat;errorRegistry;constructor(e=!1){this.queryCompat=e}resolveRestContentType(e,t){let i=t.getMemberSchemas(),s=Object.values(i).find((c)=>{return!!c.getMergedTraits().httpPayload});if(s){let c=s.getMergedTraits().mediaType;if(c)return c;else if(s.isStringSchema())return"text/plain";else if(s.isBlobSchema())return"application/octet-stream";else return e}else if(!t.isUnitSchema()){if(Object.values(i).find((o)=>{let{httpQuery:a,httpQueryParams:l,httpHeader:f,httpLabel:m,httpPrefixHeaders:g}=o.getMergedTraits();return!a&&!l&&!f&&!m&&g===void 0}))return e}}async getErrorSchemaOrThrowBaseException(e,t,i,s,c,o){let a=e;if(e.includes("#"))[,a]=e.split("#");let l={$metadata:c,$fault:i.statusCode<500?"client":"server"};if(!this.errorRegistry)throw Error("@aws-sdk/core/protocols - error handler not initialized.");try{return{errorSchema:o?.(this.errorRegistry,a)??this.errorRegistry.getSchema(e),errorMetadata:l}}catch(f){s.message=s.message??s.Message??"UnknownError";let m=this.errorRegistry,g=m.getBaseException();if(g){let _=m.getErrorCtor(g)??Error;throw this.decorateServiceException(Object.assign(new _({name:a}),l),s)}let b=s,w=b?.message??b?.Message??b?.Error?.Message??b?.Error?.message;throw this.decorateServiceException(Object.assign(Error(w),{name:a},l),s)}}compose(e,t,i){let s=i;if(t.includes("#"))[s]=t.split("#");let c=k.TypeRegistry.for(s),o=k.TypeRegistry.for("smithy.ts.sdk.synthetic."+i);e.copyFrom(c),e.copyFrom(o),this.errorRegistry=e}decorateServiceException(e,t={}){if(this.queryCompat){let i=e.Message??t.Message,s=De.decorateServiceException(e,t);if(i)s.message=i;let c=s.Error??{};c.Type=s.Error?.Type,c.Code=s.Error?.Code,c.Message=s.Error?.message??s.Error?.Message??i,s.Error=c;let o=s.$metadata.requestId;if(o)s.RequestId=o;return s}return De.decorateServiceException(e,t)}setQueryCompatError(e,t){let i=t.headers?.["x-amzn-query-error"];if(e!==void 0&&i!=null){let[s,c]=i.split(";"),o=Object.keys(e),a={Code:s,Type:c};e.Code=s,e.Type=c;for(let l=0;l<o.length;l++){let f=o[l];a[f==="message"?"Message":f]=e[f]}delete a.__type,e.Error=a}}queryCompatOutput(e,t){if(e.Error)t.Error=e.Error;if(e.Type)t.Type=e.Type;if(e.Code)t.Code=e.Code}findQueryCompatibleError(e,t){try{return e.getSchema(t)}catch(i){return e.find((s)=>k.NormalizedSchema.of(s).getMergedTraits().awsQueryError?.[0]===t)}}}class mo extends lo.SmithyRpcV2CborProtocol{awsQueryCompatible;mixin;constructor({defaultNamespace:e,errorTypeRegistries:t,awsQueryCompatible:i}){super({defaultNamespace:e,errorTypeRegistries:t});this.awsQueryCompatible=!!i,this.mixin=new ut(this.awsQueryCompatible)}async serializeRequest(e,t,i){let s=await super.serializeRequest(e,t,i);if(this.awsQueryCompatible)s.headers["x-amzn-query-mode"]="true";return s}async handleError(e,t,i,s,c){if(this.awsQueryCompatible)this.mixin.setQueryCompatError(s,i);let o=(()=>{let _=i.headers["x-amzn-query-error"];if(_&&this.awsQueryCompatible)return _.split(";")[0];return lo.loadSmithyRpcV2CborErrorCode(i,s)??"Unknown"})();this.mixin.compose(this.compositeErrorRegistry,o,this.options.defaultNamespace);let{errorSchema:a,errorMetadata:l}=await this.mixin.getErrorSchemaOrThrowBaseException(o,this.options.defaultNamespace,i,s,c,this.awsQueryCompatible?this.mixin.findQueryCompatibleError:void 0),f=k.NormalizedSchema.of(a),m=s.message??s.Message??"UnknownError",b=new(this.compositeErrorRegistry.getErrorCtor(a)??Error)(m),w={};for(let[_,T]of f.structIterator())if(s[_]!=null)w[_]=this.deserializer.readValue(T,s[_]);if(this.awsQueryCompatible)this.mixin.queryCompatOutput(s,w);throw this.mixin.decorateServiceException(Object.assign(b,l,{$fault:f.getMergedTraits().error,message:m},w),s)}}var ad=(e)=>{if(e==null)return e;if(typeof e==="number"||typeof e==="bigint"){let t=Error(`Received number ${e} where a string was expected.`);return t.name="Warning",console.warn(t),String(e)}if(typeof e==="boolean"){let t=Error(`Received boolean ${e} where a string was expected.`);return t.name="Warning",console.warn(t),String(e)}return e},ud=(e)=>{if(e==null)return e;if(typeof e==="string"){let t=e.toLowerCase();if(e!==""&&t!=="false"&&t!=="true"){let i=Error(`Received string "${e}" where a boolean was expected.`);i.name="Warning",console.warn(i)}return e!==""&&t!=="false"}return e},cd=(e)=>{if(e==null)return e;if(typeof e==="string"){let t=Number(e);if(t.toString()!==e){let i=Error(`Received string "${e}" where a number was expected.`);return i.name="Warning",console.warn(i),e}return t}return e};class Ue{serdeContext;setSerdeContext(e){this.serdeContext=e}}class sn{from;to;keys;constructor(e,t){this.from=e,this.to=t;let i=Object.keys(this.from),s=new Set(i);s.delete("__type"),this.keys=s}mark(e){this.keys.delete(e)}hasUnknown(){return this.keys.size===1&&Object.keys(this.to).length===0}writeUnknown(){if(this.hasUnknown()){let e=this.keys.values().next().value,t=this.from[e];this.to.$unknown=[e,t]}}}function ld(e,t,i){if(i?.source){let s=i.source;if(typeof t==="number"){if(t>Number.MAX_SAFE_INTEGER||t<Number.MIN_SAFE_INTEGER||s!==String(t))if(s.includes("."))return new ee.NumericValue(s,"bigDecimal");else return BigInt(s)}}return t}var go=(e,t)=>De.collectBody(e,t).then((i)=>(t?.utf8Encoder??po.toUtf8)(i)),on=(e,t)=>go(e,t).then((i)=>{if(i.length)try{return JSON.parse(i)}catch(s){if(s?.name==="SyntaxError")Object.defineProperty(s,"$responseBodyText",{value:i});throw s}return{}}),hd=async(e,t)=>{let i=await on(e,t);return i.message=i.message??i.Message,i},ho=(e,t)=>Object.keys(e).find((i)=>i.toLowerCase()===t.toLowerCase()),nn=(e)=>{let t=e;if(typeof t==="number")t=t.toString();if(t.indexOf(",")>=0)t=t.split(",")[0];if(t.indexOf(":")>=0)t=t.split(":")[0];if(t.indexOf("#")>=0)t=t.split("#")[1];return t},an=(e,t)=>{let i=ho(e.headers,"x-amzn-errortype");if(i!==void 0)return nn(e.headers[i]);if(t&&typeof t==="object"){let s=ho(t,"code");if(s&&t[s]!==void 0)return nn(t[s]);if(t.__type!==void 0)return nn(t.__type)}};class un extends Ue{settings;constructor(e){super();this.settings=e}async read(e,t){return this._read(e,typeof t==="string"?JSON.parse(t,ld):await on(t,this.serdeContext))}readObject(e,t){return this._read(e,t)}_read(e,t){let i=t!==null&&typeof t==="object",s=k.NormalizedSchema.of(e);if(i){if(s.isStructSchema()){let o=t,a=s.isUnionSchema(),l={},f=void 0,{jsonName:m}=this.settings;if(m)f={};let g;if(a)g=new sn(o,l);for(let[b,w]of s.structIterator()){let _=b;if(m)_=w.getMergedTraits().jsonName??_,f[_]=b;if(a)g.mark(_);if(o[_]!=null)l[b]=this._read(w,o[_])}if(a)g.writeUnknown();else if(typeof o.__type==="string")for(let b in o){let w=o[b],_=m?f[b]??b:b;if(!(_ in l))l[_]=w}return l}if(Array.isArray(t)&&s.isListSchema()){let o=s.getValueSchema(),a=[];for(let l of t)a.push(this._read(o,l));return a}if(s.isMapSchema()){let o=s.getValueSchema(),a={};for(let l in t)a[l]=this._read(o,t[l]);return a}}if(s.isBlobSchema()&&typeof t==="string")return at.fromBase64(t);let c=s.getMergedTraits().mediaType;if(s.isStringSchema()&&typeof t==="string"&&c){if(c==="application/json"||c.endsWith("+json"))return ee.LazyJsonString.from(t);return t}if(s.isTimestampSchema()&&t!=null)switch(se.determineTimestampFormat(s,this.settings)){case 5:return ee.parseRfc3339DateTimeWithOffset(t);case 6:return ee.parseRfc7231DateTime(t);case 7:return ee.parseEpochTimestamp(t);default:return console.warn("Missing timestamp format, parsing value with Date constructor:",t),new Date(t)}if(s.isBigIntegerSchema()&&(typeof t==="number"||typeof t==="string"))return BigInt(t);if(s.isBigDecimalSchema()&&t!=null){if(t instanceof ee.NumericValue)return t;let o=t;if(o.type==="bigDecimal"&&"string"in o)return new ee.NumericValue(o.string,o.type);return new ee.NumericValue(String(t),"bigDecimal")}if(s.isNumericSchema()&&typeof t==="string"){switch(t){case"Infinity":return 1/0;case"-Infinity":return-1/0;case"NaN":return NaN}return t}if(s.isDocumentSchema())if(i){let o=Array.isArray(t)?[]:{};for(let a in t){let l=t[a];if(l instanceof ee.NumericValue)o[a]=l;else o[a]=this._read(s,l)}return o}else return structuredClone(t);return t}}var fo=String.fromCharCode(925);class yo{values=new Map;counter=0;stage=0;createReplacer(){if(this.stage===1)throw Error("@aws-sdk/core/protocols - JsonReplacer already created.");if(this.stage===2)throw Error("@aws-sdk/core/protocols - JsonReplacer exhausted.");return this.stage=1,(e,t)=>{if(t instanceof ee.NumericValue){let i=`${fo+"nv"+this.counter++}_`+t.string;return this.values.set(`"${i}"`,t.string),i}if(typeof t==="bigint"){let i=t.toString(),s=`${fo+"b"+this.counter++}_`+i;return this.values.set(`"${s}"`,i),s}return t}}replaceInJson(e){if(this.stage===0)throw Error("@aws-sdk/core/protocols - JsonReplacer not created yet.");if(this.stage===2)throw Error("@aws-sdk/core/protocols - JsonReplacer exhausted.");if(this.stage=2,this.counter===0)return e;for(let[t,i]of this.values)e=e.replace(t,i);return e}}class cn extends Ue{settings;buffer;useReplacer=!1;rootSchema;constructor(e){super();this.settings=e}write(e,t){this.rootSchema=k.NormalizedSchema.of(e),this.buffer=this._write(this.rootSchema,t)}flush(){let{rootSchema:e,useReplacer:t}=this;if(this.rootSchema=void 0,this.useReplacer=!1,e?.isStructSchema()||e?.isDocumentSchema()){if(!t)return JSON.stringify(this.buffer);let i=new yo;return i.replaceInJson(JSON.stringify(this.buffer,i.createReplacer(),0))}return this.buffer}writeDiscriminatedDocument(e,t){if(this.write(e,t),typeof this.buffer==="object")this.buffer.__type=k.NormalizedSchema.of(e).getName(!0)}_write(e,t,i){let s=t!==null&&typeof t==="object",c=k.NormalizedSchema.of(e);if(s){if(c.isStructSchema()){let o=t,a={},{jsonName:l}=this.settings,f=void 0;if(l)f={};let m=0;for(let[g,b]of c.structIterator()){let w=this._write(b,o[g],c);if(w!==void 0){let _=g;if(l)_=b.getMergedTraits().jsonName??g,f[g]=_;a[_]=w,m++}}if(c.isUnionSchema()&&m===0){let{$unknown:g}=o;if(Array.isArray(g)){let[b,w]=g;a[b]=this._write(15,w)}}else if(typeof o.__type==="string")for(let g in o){let b=o[g],w=l?f[g]??g:g;if(!(w in a))a[w]=this._write(15,b)}return a}if(Array.isArray(t)&&c.isListSchema()){let o=c.getValueSchema(),a=[],l=!!c.getMergedTraits().sparse;for(let f of t)if(l||f!=null)a.push(this._write(o,f));return a}if(c.isMapSchema()){let o=c.getValueSchema(),a={},l=!!c.getMergedTraits().sparse;for(let f in t){let m=t[f];if(l||m!=null)a[f]=this._write(o,m)}return a}if(t instanceof Uint8Array&&(c.isBlobSchema()||c.isDocumentSchema())){if(c===this.rootSchema)return t;return(this.serdeContext?.base64Encoder??at.toBase64)(t)}if(t instanceof Date&&(c.isTimestampSchema()||c.isDocumentSchema()))switch(se.determineTimestampFormat(c,this.settings)){case 5:return t.toISOString().replace(".000Z","Z");case 6:return ee.dateToUtcString(t);case 7:return t.getTime()/1000;default:return console.warn("Missing timestamp format, using epoch seconds",t),t.getTime()/1000}if(t instanceof ee.NumericValue)this.useReplacer=!0}if(t===null&&i?.isStructSchema())return;if(c.isStringSchema()){if(typeof t>"u"&&c.isIdempotencyToken())return ee.generateIdempotencyToken();let o=c.getMergedTraits().mediaType;if(t!=null&&o){if(o==="application/json"||o.endsWith("+json"))return ee.LazyJsonString.from(t)}return t}if(typeof t==="number"&&c.isNumericSchema()){if(Math.abs(t)===1/0||isNaN(t))return String(t);return t}if(typeof t==="string"&&c.isBlobSchema()){if(c===this.rootSchema)return t;return(this.serdeContext?.base64Encoder??at.toBase64)(t)}if(typeof t==="bigint")this.useReplacer=!0;if(c.isDocumentSchema())if(s){let o=Array.isArray(t)?[]:{};for(let a in t){let l=t[a];if(l instanceof ee.NumericValue)this.useReplacer=!0,o[a]=l;else o[a]=this._write(c,l)}return o}else return structuredClone(t);return t}}class Yt extends Ue{settings;constructor(e){super();this.settings=e}createSerializer(){let e=new cn(this.settings);return e.setSerdeContext(this.serdeContext),e}createDeserializer(){let e=new un(this.settings);return e.setSerdeContext(this.serdeContext),e}}class Jt extends se.RpcProtocol{serializer;deserializer;serviceTarget;codec;mixin;awsQueryCompatible;constructor({defaultNamespace:e,errorTypeRegistries:t,serviceTarget:i,awsQueryCompatible:s,jsonCodec:c}){super({defaultNamespace:e,errorTypeRegistries:t});this.serviceTarget=i,this.codec=c??new Yt({timestampFormat:{useTrait:!0,default:7},jsonName:!1}),this.serializer=this.codec.createSerializer(),this.deserializer=this.codec.createDeserializer(),this.awsQueryCompatible=!!s,this.mixin=new ut(this.awsQueryCompatible)}async serializeRequest(e,t,i){let s=await super.serializeRequest(e,t,i);if(!s.path.endsWith("/"))s.path+="/";if(s.headers["content-type"]=`application/x-amz-json-${this.getJsonRpcVersion()}`,s.headers["x-amz-target"]=`${this.serviceTarget}.${e.name}`,this.awsQueryCompatible)s.headers["x-amzn-query-mode"]="true";if(k.deref(e.input)==="unit"||!s.body)s.body="{}";return s}getPayloadCodec(){return this.codec}async handleError(e,t,i,s,c){if(this.awsQueryCompatible)this.mixin.setQueryCompatError(s,i);let o=an(i,s)??"Unknown";this.mixin.compose(this.compositeErrorRegistry,o,this.options.defaultNamespace);let{errorSchema:a,errorMetadata:l}=await this.mixin.getErrorSchemaOrThrowBaseException(o,this.options.defaultNamespace,i,s,c,this.awsQueryCompatible?this.mixin.findQueryCompatibleError:void 0),f=k.NormalizedSchema.of(a),m=s.message??s.Message??"UnknownError",b=new(this.compositeErrorRegistry.getErrorCtor(a)??Error)(m),w={},_=this.codec.createDeserializer();for(let[T,P]of f.structIterator())if(s[T]!=null)w[T]=_.readObject(P,s[T]);if(this.awsQueryCompatible)this.mixin.queryCompatOutput(s,w);throw this.mixin.decorateServiceException(Object.assign(b,l,{$fault:f.getMergedTraits().error,message:m},w),s)}}class bo extends Jt{constructor({defaultNamespace:e,errorTypeRegistries:t,serviceTarget:i,awsQueryCompatible:s,jsonCodec:c}){super({defaultNamespace:e,errorTypeRegistries:t,serviceTarget:i,awsQueryCompatible:s,jsonCodec:c})}getShapeId(){return"aws.protocols#awsJson1_0"}getJsonRpcVersion(){return"1.0"}getDefaultContentType(){return"application/x-amz-json-1.0"}}class Eo extends Jt{constructor({defaultNamespace:e,errorTypeRegistries:t,serviceTarget:i,awsQueryCompatible:s,jsonCodec:c}){super({defaultNamespace:e,errorTypeRegistries:t,serviceTarget:i,awsQueryCompatible:s,jsonCodec:c})}getShapeId(){return"aws.protocols#awsJson1_1"}getJsonRpcVersion(){return"1.1"}getDefaultContentType(){return"application/x-amz-json-1.1"}}class No extends se.HttpBindingProtocol{serializer;deserializer;codec;mixin=new ut;constructor({defaultNamespace:e,errorTypeRegistries:t}){super({defaultNamespace:e,errorTypeRegistries:t});let i={timestampFormat:{useTrait:!0,default:7},httpBindings:!0,jsonName:!0};this.codec=new Yt(i),this.serializer=new se.HttpInterceptingShapeSerializer(this.codec.createSerializer(),i),this.deserializer=new se.HttpInterceptingShapeDeserializer(this.codec.createDeserializer(),i)}getShapeId(){return"aws.protocols#restJson1"}getPayloadCodec(){return this.codec}setSerdeContext(e){this.codec.setSerdeContext(e),super.setSerdeContext(e)}async serializeRequest(e,t,i){let s=await super.serializeRequest(e,t,i),c=k.NormalizedSchema.of(e.input);if(!s.headers["content-type"]){let o=this.mixin.resolveRestContentType(this.getDefaultContentType(),c);if(o)s.headers["content-type"]=o}if(s.body==null&&s.headers["content-type"]===this.getDefaultContentType())s.body="{}";return s}async deserializeResponse(e,t,i){let s=await super.deserializeResponse(e,t,i),c=k.NormalizedSchema.of(e.output);for(let[o,a]of c.structIterator())if(a.getMemberTraits().httpPayload&&!(o in s))s[o]=null;return s}async handleError(e,t,i,s,c){let o=an(i,s)??"Unknown";this.mixin.compose(this.compositeErrorRegistry,o,this.options.defaultNamespace);let{errorSchema:a,errorMetadata:l}=await this.mixin.getErrorSchemaOrThrowBaseException(o,this.options.defaultNamespace,i,s,c),f=k.NormalizedSchema.of(a),m=s.message??s.Message??"UnknownError",b=new(this.compositeErrorRegistry.getErrorCtor(a)??Error)(m);await this.deserializeHttpMessage(a,t,i,s);let w={},_=this.codec.createDeserializer();for(let[T,P]of f.structIterator()){let V=P.getMergedTraits().jsonName??T;w[T]=_.readObject(P,s[V])}throw this.mixin.decorateServiceException(Object.assign(b,l,{$fault:f.getMergedTraits().error,message:m},w),s)}getDefaultContentType(){return"application/json"}}var dd=(e)=>{if(e==null)return;if(typeof e==="object"&&"__type"in e)delete e.__type;return De.expectUnion(e)};class Zt extends Ue{settings;stringDeserializer;constructor(e){super();this.settings=e,this.stringDeserializer=new se.FromStringShapeDeserializer(e)}setSerdeContext(e){this.serdeContext=e,this.stringDeserializer.setSerdeContext(e)}read(e,t,i){let s=k.NormalizedSchema.of(e),c=s.getMemberSchemas();if(s.isStructSchema()&&s.isMemberSchema()&&!!Object.values(c).find((f)=>{return!!f.getMemberTraits().eventPayload})){let f={},m=Object.keys(c)[0];if(c[m].isBlobSchema())f[m]=t;else f[m]=this.read(c[m],t);return f}let a=(this.serdeContext?.utf8Encoder??po.toUtf8)(t),l=this.parseXml(a);return this.readSchema(e,i?l[i]:l)}readSchema(e,t){let i=k.NormalizedSchema.of(e);if(i.isUnitSchema())return;let s=i.getMergedTraits();if(i.isListSchema()&&!Array.isArray(t))return this.readSchema(i,[t]);if(t==null)return t;if(typeof t==="object"){let c=!!s.xmlFlattened;if(i.isListSchema()){let a=i.getValueSchema(),l=[],f=a.getMergedTraits().xmlName??"member",m=c?t:(t[0]??t)[f];if(m==null)return l;let g=Array.isArray(m)?m:[m];for(let b of g)l.push(this.readSchema(a,b));return l}let o={};if(i.isMapSchema()){let a=i.getKeySchema(),l=i.getValueSchema(),f;if(c)f=Array.isArray(t)?t:[t];else f=Array.isArray(t.entry)?t.entry:[t.entry];let m=a.getMergedTraits().xmlName??"key",g=l.getMergedTraits().xmlName??"value";for(let b of f){let w=b[m],_=b[g];o[w]=this.readSchema(l,_)}return o}if(i.isStructSchema()){let a=i.isUnionSchema(),l;if(a)l=new sn(t,o);for(let[f,m]of i.structIterator()){let g=m.getMergedTraits(),b=!g.httpPayload?m.getMemberTraits().xmlName??f:g.xmlName??m.getName();if(a)l.mark(b);if(t[b]!=null)o[f]=this.readSchema(m,t[b])}if(a)l.writeUnknown();return o}if(i.isDocumentSchema())return t;throw Error(`@aws-sdk/core/protocols - xml deserializer unhandled schema type for ${i.getName(!0)}`)}if(i.isListSchema())return[];if(i.isMapSchema()||i.isStructSchema())return{};return this.stringDeserializer.read(i,t)}parseXml(e){if(e.length){let t;try{t=ue.parseXML(e)}catch(o){if(o&&typeof o==="object")Object.defineProperty(o,"$responseBodyText",{value:e});throw o}let i="#text",s=Object.keys(t)[0],c=t[s];if(c[i])c[s]=c[i],delete c[i];return De.getValueFromTextNode(c)}return{}}}class ln extends Ue{settings;buffer;constructor(e){super();this.settings=e}write(e,t,i=""){if(this.buffer===void 0)this.buffer="";let s=k.NormalizedSchema.of(e);if(i&&!i.endsWith("."))i+=".";if(s.isBlobSchema()){if(typeof t==="string"||t instanceof Uint8Array)this.writeKey(i),this.writeValue((this.serdeContext?.base64Encoder??at.toBase64)(t))}else if(s.isBooleanSchema()||s.isNumericSchema()||s.isStringSchema()){if(t!=null)this.writeKey(i),this.writeValue(String(t));else if(s.isIdempotencyToken())this.writeKey(i),this.writeValue(ee.generateIdempotencyToken())}else if(s.isBigIntegerSchema()){if(t!=null)this.writeKey(i),this.writeValue(String(t))}else if(s.isBigDecimalSchema()){if(t!=null)this.writeKey(i),this.writeValue(t instanceof ee.NumericValue?t.string:String(t))}else if(s.isTimestampSchema()){if(t instanceof Date)switch(this.writeKey(i),se.determineTimestampFormat(s,this.settings)){case 5:this.writeValue(t.toISOString().replace(".000Z","Z"));break;case 6:this.writeValue(De.dateToUtcString(t));break;case 7:this.writeValue(String(t.getTime()/1000));break}}else if(s.isDocumentSchema())if(Array.isArray(t))this.write(79,t,i);else if(t instanceof Date)this.write(4,t,i);else if(t instanceof Uint8Array)this.write(21,t,i);else if(t&&typeof t==="object")this.write(143,t,i);else this.writeKey(i),this.writeValue(String(t));else if(s.isListSchema()){if(Array.isArray(t))if(t.length===0){if(this.settings.serializeEmptyLists)this.writeKey(i),this.writeValue("")}else{let c=s.getValueSchema(),o=this.settings.flattenLists||s.getMergedTraits().xmlFlattened,a=1;for(let l of t){if(l==null)continue;let f=c.getMergedTraits(),m=this.getKey("member",f.xmlName,f.ec2QueryName),g=o?`${i}${a}`:`${i}${m}.${a}`;this.write(c,l,g),++a}}}else if(s.isMapSchema()){if(t&&typeof t==="object"){let c=s.getKeySchema(),o=s.getValueSchema(),a=s.getMergedTraits().xmlFlattened,l=1;for(let f in t){let m=t[f];if(m==null)continue;let g=c.getMergedTraits(),b=this.getKey("key",g.xmlName,g.ec2QueryName),w=a?`${i}${l}.${b}`:`${i}entry.${l}.${b}`,_=o.getMergedTraits(),T=this.getKey("value",_.xmlName,_.ec2QueryName),P=a?`${i}${l}.${T}`:`${i}entry.${l}.${T}`;this.write(c,f,w),this.write(o,m,P),++l}}}else if(s.isStructSchema()){if(t&&typeof t==="object"){let c=!1;for(let[o,a]of s.structIterator()){if(t[o]==null&&!a.isIdempotencyToken())continue;let l=a.getMergedTraits(),f=this.getKey(o,l.xmlName,l.ec2QueryName,"struct"),m=`${i}${f}`;this.write(a,t[o],m),c=!0}if(!c&&s.isUnionSchema()){let{$unknown:o}=t;if(Array.isArray(o)){let[a,l]=o,f=`${i}${a}`;this.write(15,l,f)}}}}else if(s.isUnitSchema());else throw Error(`@aws-sdk/core/protocols - QuerySerializer unrecognized schema type ${s.getName(!0)}`)}flush(){if(this.buffer===void 0)throw Error("@aws-sdk/core/protocols - QuerySerializer cannot flush with nothing written to buffer.");let e=this.buffer;return delete this.buffer,e}getKey(e,t,i,s){let{ec2:c,capitalizeKeys:o}=this.settings;if(c&&i)return i;let a=t??e;if(o&&s==="struct")return a[0].toUpperCase()+a.slice(1);return a}writeKey(e){if(e.endsWith("."))e=e.slice(0,e.length-1);this.buffer+=`&${se.extendedEncodeURIComponent(e)}=`}writeValue(e){this.buffer+=se.extendedEncodeURIComponent(e)}}class hn extends se.RpcProtocol{options;serializer;deserializer;mixin=new ut;constructor(e){super({defaultNamespace:e.defaultNamespace,errorTypeRegistries:e.errorTypeRegistries});this.options=e;let t={timestampFormat:{useTrait:!0,default:5},httpBindings:!1,xmlNamespace:e.xmlNamespace,serviceNamespace:e.defaultNamespace,serializeEmptyLists:!0};this.serializer=new ln(t),this.deserializer=new Zt(t)}getShapeId(){return"aws.protocols#awsQuery"}setSerdeContext(e){this.serializer.setSerdeContext(e),this.deserializer.setSerdeContext(e)}getPayloadCodec(){throw Error("AWSQuery protocol has no payload codec.")}async serializeRequest(e,t,i){let s=await super.serializeRequest(e,t,i);if(!s.path.endsWith("/"))s.path+="/";if(s.headers["content-type"]="application/x-www-form-urlencoded",k.deref(e.input)==="unit"||!s.body)s.body="";let c=e.name.split("#")[1]??e.name;if(s.body=`Action=${c}&Version=${this.options.version}`+s.body,s.body.endsWith("&"))s.body=s.body.slice(-1);return s}async deserializeResponse(e,t,i){let s=this.deserializer,c=k.NormalizedSchema.of(e.output),o={};if(i.statusCode>=300){let m=await se.collectBody(i.body,t);if(m.byteLength>0)Object.assign(o,await s.read(15,m));await this.handleError(e,t,i,o,this.deserializeMetadata(i))}for(let m in i.headers){let g=i.headers[m];delete i.headers[m],i.headers[m.toLowerCase()]=g}let a=e.name.split("#")[1]??e.name,l=c.isStructSchema()&&this.useNestedResult()?a+"Result":void 0,f=await se.collectBody(i.body,t);if(f.byteLength>0)Object.assign(o,await s.read(c,f,l));return o.$metadata=this.deserializeMetadata(i),o}useNestedResult(){return!0}async handleError(e,t,i,s,c){let o=this.loadQueryErrorCode(i,s)??"Unknown";this.mixin.compose(this.compositeErrorRegistry,o,this.options.defaultNamespace);let a=this.loadQueryError(s)??{},l=this.loadQueryErrorMessage(s);a.message=l,a.Error={Type:a.Type,Code:a.Code,Message:l};let{errorSchema:f,errorMetadata:m}=await this.mixin.getErrorSchemaOrThrowBaseException(o,this.options.defaultNamespace,i,a,c,this.mixin.findQueryCompatibleError),g=k.NormalizedSchema.of(f),w=new(this.compositeErrorRegistry.getErrorCtor(f)??Error)(l),_={Type:a.Error.Type,Code:a.Error.Code,Error:a.Error};for(let[T,P]of g.structIterator()){let V=P.getMergedTraits().xmlName??T,X=a[V]??s[V];_[T]=this.deserializer.readSchema(P,X)}throw this.mixin.decorateServiceException(Object.assign(w,m,{$fault:g.getMergedTraits().error,message:l},_),s)}loadQueryErrorCode(e,t){let i=(t.Errors?.[0]?.Error??t.Errors?.Error??t.Error)?.Code;if(i!==void 0)return i;if(e.statusCode==404)return"NotFound"}loadQueryError(e){return e.Errors?.[0]?.Error??e.Errors?.Error??e.Error}loadQueryErrorMessage(e){let t=this.loadQueryError(e);return t?.message??t?.Message??e.message??e.Message??"Unknown"}getDefaultContentType(){return"application/x-www-form-urlencoded"}}class wo extends hn{options;constructor(e){super(e);this.options=e;let t={capitalizeKeys:!0,flattenLists:!0,serializeEmptyLists:!1,ec2:!0};Object.assign(this.serializer.settings,t)}getShapeId(){return"aws.protocols#ec2Query"}useNestedResult(){return!1}}var xo=(e,t)=>go(e,t).then((i)=>{if(i.length){let s;try{s=ue.parseXML(i)}catch(l){if(l&&typeof l==="object")Object.defineProperty(l,"$responseBodyText",{value:i});throw l}let c="#text",o=Object.keys(s)[0],a=s[o];if(a[c])a[o]=a[c],delete a[c];return De.getValueFromTextNode(a)}return{}}),fd=async(e,t)=>{let i=await xo(e,t);if(i.Error)i.Error.message=i.Error.message??i.Error.Message;return i},So=(e,t)=>{if(t?.Error?.Code!==void 0)return t.Error.Code;if(t?.Code!==void 0)return t.Code;if(e.statusCode==404)return"NotFound"};class dn extends Ue{settings;stringBuffer;byteBuffer;buffer;constructor(e){super();this.settings=e}write(e,t){let i=k.NormalizedSchema.of(e);if(i.isStringSchema()&&typeof t==="string")this.stringBuffer=t;else if(i.isBlobSchema())this.byteBuffer="byteLength"in t?t:(this.serdeContext?.base64Decoder??at.fromBase64)(t);else{this.buffer=this.writeStruct(i,t,void 0);let s=i.getMergedTraits();if(s.httpPayload&&!s.xmlName)this.buffer.withName(i.getName())}}flush(){if(this.byteBuffer!==void 0){let t=this.byteBuffer;return delete this.byteBuffer,t}if(this.stringBuffer!==void 0){let t=this.stringBuffer;return delete this.stringBuffer,t}let e=this.buffer;if(this.settings.xmlNamespace){if(!e?.attributes?.xmlns)e.addAttribute("xmlns",this.settings.xmlNamespace)}return delete this.buffer,e.toString()}writeStruct(e,t,i){let s=e.getMergedTraits(),c=e.isMemberSchema()&&!s.httpPayload?e.getMemberTraits().xmlName??e.getMemberName():s.xmlName??e.getName();if(!c||!e.isStructSchema())throw Error(`@aws-sdk/core/protocols - xml serializer, cannot write struct with empty name or non-struct, schema=${e.getName(!0)}.`);let o=ue.XmlNode.of(c),[a,l]=this.getXmlnsAttribute(e,i);for(let[m,g]of e.structIterator()){let b=t[m];if(b!=null||g.isIdempotencyToken()){if(g.getMergedTraits().xmlAttribute){o.addAttribute(g.getMergedTraits().xmlName??m,this.writeSimple(g,b));continue}if(g.isListSchema())this.writeList(g,b,o,l);else if(g.isMapSchema())this.writeMap(g,b,o,l);else if(g.isStructSchema())o.addChildNode(this.writeStruct(g,b,l));else{let w=ue.XmlNode.of(g.getMergedTraits().xmlName??g.getMemberName());this.writeSimpleInto(g,b,w,l),o.addChildNode(w)}}}let{$unknown:f}=t;if(f&&e.isUnionSchema()&&Array.isArray(f)&&Object.keys(t).length===1){let[m,g]=f,b=ue.XmlNode.of(m);if(typeof g!=="string")if(t instanceof ue.XmlNode||t instanceof ue.XmlText)o.addChildNode(t);else throw Error("@aws-sdk - $unknown union member in XML requires value of type string, @aws-sdk/xml-builder::XmlNode or XmlText.");this.writeSimpleInto(0,g,b,l),o.addChildNode(b)}if(l)o.addAttribute(a,l);return o}writeList(e,t,i,s){if(!e.isMemberSchema())throw Error(`@aws-sdk/core/protocols - xml serializer, cannot write non-member list: ${e.getName(!0)}`);let c=e.getMergedTraits(),o=e.getValueSchema(),a=o.getMergedTraits(),l=!!a.sparse,f=!!c.xmlFlattened,[m,g]=this.getXmlnsAttribute(e,s),b=(w,_)=>{if(o.isListSchema())this.writeList(o,Array.isArray(_)?_:[_],w,g);else if(o.isMapSchema())this.writeMap(o,_,w,g);else if(o.isStructSchema()){let T=this.writeStruct(o,_,g);w.addChildNode(T.withName(f?c.xmlName??e.getMemberName():a.xmlName??"member"))}else{let T=ue.XmlNode.of(f?c.xmlName??e.getMemberName():a.xmlName??"member");this.writeSimpleInto(o,_,T,g),w.addChildNode(T)}};if(f){for(let w of t)if(l||w!=null)b(i,w)}else{let w=ue.XmlNode.of(c.xmlName??e.getMemberName());if(g)w.addAttribute(m,g);for(let _ of t)if(l||_!=null)b(w,_);i.addChildNode(w)}}writeMap(e,t,i,s,c=!1){if(!e.isMemberSchema())throw Error(`@aws-sdk/core/protocols - xml serializer, cannot write non-member map: ${e.getName(!0)}`);let o=e.getMergedTraits(),a=e.getKeySchema(),f=a.getMergedTraits().xmlName??"key",m=e.getValueSchema(),g=m.getMergedTraits(),b=g.xmlName??"value",w=!!g.sparse,_=!!o.xmlFlattened,[T,P]=this.getXmlnsAttribute(e,s),V=(X,B,j)=>{let v=ue.XmlNode.of(f,B),[he,G]=this.getXmlnsAttribute(a,P);if(G)v.addAttribute(he,G);X.addChildNode(v);let me=ue.XmlNode.of(b);if(m.isListSchema())this.writeList(m,j,me,P);else if(m.isMapSchema())this.writeMap(m,j,me,P,!0);else if(m.isStructSchema())me=this.writeStruct(m,j,P);else this.writeSimpleInto(m,j,me,P);X.addChildNode(me)};if(_)for(let X in t){let B=t[X];if(w||B!=null){let j=ue.XmlNode.of(o.xmlName??e.getMemberName());V(j,X,B),i.addChildNode(j)}}else{let X;if(!c){if(X=ue.XmlNode.of(o.xmlName??e.getMemberName()),P)X.addAttribute(T,P);i.addChildNode(X)}for(let B in t){let j=t[B];if(w||j!=null){let v=ue.XmlNode.of("entry");V(v,B,j),(c?i:X).addChildNode(v)}}}}writeSimple(e,t){if(t===null)throw Error("@aws-sdk/core/protocols - (XML serializer) cannot write null value.");let i=k.NormalizedSchema.of(e),s=null;if(t&&typeof t==="object")if(i.isBlobSchema())s=(this.serdeContext?.base64Encoder??at.toBase64)(t);else if(i.isTimestampSchema()&&t instanceof Date)switch(se.determineTimestampFormat(i,this.settings)){case 5:s=t.toISOString().replace(".000Z","Z");break;case 6:s=De.dateToUtcString(t);break;case 7:s=String(t.getTime()/1000);break;default:console.warn("Missing timestamp format, using http date",t),s=De.dateToUtcString(t);break}else if(i.isBigDecimalSchema()&&t){if(t instanceof ee.NumericValue)return t.string;return String(t)}else if(i.isMapSchema()||i.isListSchema())throw Error("@aws-sdk/core/protocols - xml serializer, cannot call _write() on List/Map schema, call writeList or writeMap() instead.");else throw Error(`@aws-sdk/core/protocols - xml serializer, unhandled schema type for object value and schema: ${i.getName(!0)}`);if(i.isBooleanSchema()||i.isNumericSchema()||i.isBigIntegerSchema()||i.isBigDecimalSchema())s=String(t);if(i.isStringSchema())if(t===void 0&&i.isIdempotencyToken())s=ee.generateIdempotencyToken();else s=String(t);if(s===null)throw Error(`Unhandled schema-value pair ${i.getName(!0)}=${t}`);return s}writeSimpleInto(e,t,i,s){let c=this.writeSimple(e,t),o=k.NormalizedSchema.of(e),a=new ue.XmlText(c),[l,f]=this.getXmlnsAttribute(o,s);if(f)i.addAttribute(l,f);i.addChildNode(a)}getXmlnsAttribute(e,t){let i=e.getMergedTraits(),[s,c]=i.xmlNamespace??[];if(c&&c!==t)return[s?`xmlns:${s}`:"xmlns",c];return[void 0,void 0]}}class fn extends Ue{settings;constructor(e){super();this.settings=e}createSerializer(){let e=new dn(this.settings);return e.setSerdeContext(this.serdeContext),e}createDeserializer(){let e=new Zt(this.settings);return e.setSerdeContext(this.serdeContext),e}}class _o extends se.HttpBindingProtocol{codec;serializer;deserializer;mixin=new ut;constructor(e){super(e);let t={timestampFormat:{useTrait:!0,default:5},httpBindings:!0,xmlNamespace:e.xmlNamespace,serviceNamespace:e.defaultNamespace};this.codec=new fn(t),this.serializer=new se.HttpInterceptingShapeSerializer(this.codec.createSerializer(),t),this.deserializer=new se.HttpInterceptingShapeDeserializer(this.codec.createDeserializer(),t)}getPayloadCodec(){return this.codec}getShapeId(){return"aws.protocols#restXml"}async serializeRequest(e,t,i){let s=await super.serializeRequest(e,t,i),c=k.NormalizedSchema.of(e.input);if(!s.headers["content-type"]){let o=this.mixin.resolveRestContentType(this.getDefaultContentType(),c);if(o)s.headers["content-type"]=o}if(typeof s.body==="string"&&s.headers["content-type"]===this.getDefaultContentType()&&!s.body.startsWith("<?xml ")&&!this.hasUnstructuredPayloadBinding(c))s.body='<?xml version="1.0" encoding="UTF-8"?>'+s.body;return s}async deserializeResponse(e,t,i){return super.deserializeResponse(e,t,i)}async handleError(e,t,i,s,c){let o=So(i,s)??"Unknown";if(this.mixin.compose(this.compositeErrorRegistry,o,this.options.defaultNamespace),s.Error&&typeof s.Error==="object"){for(let T of Object.keys(s.Error))if(s[T]=s.Error[T],T.toLowerCase()==="message")s.message=s.Error[T]}if(s.RequestId&&!c.requestId)c.requestId=s.RequestId;let{errorSchema:a,errorMetadata:l}=await this.mixin.getErrorSchemaOrThrowBaseException(o,this.options.defaultNamespace,i,s,c),f=k.NormalizedSchema.of(a),m=s.Error?.message??s.Error?.Message??s.message??s.Message??"UnknownError",b=new(this.compositeErrorRegistry.getErrorCtor(a)??Error)(m);await this.deserializeHttpMessage(a,t,i,s);let w={},_=this.codec.createDeserializer();for(let[T,P]of f.structIterator()){let V=P.getMergedTraits().xmlName??T,X=s.Error?.[V]??s[V];w[T]=_.readSchema(P,X)}throw this.mixin.decorateServiceException(Object.assign(b,l,{$fault:f.getMergedTraits().error,message:m},w),s)}getDefaultContentType(){return"application/xml"}hasUnstructuredPayloadBinding(e){for(let[,t]of e.structIterator())if(t.getMergedTraits().httpPayload)return!(t.isStructSchema()||t.isMapSchema()||t.isListSchema());return!1}}pd.AwsEc2QueryProtocol=wo;pd.AwsJson1_0Protocol=bo;pd.AwsJson1_1Protocol=Eo;pd.AwsJsonRpcProtocol=Jt;pd.AwsQueryProtocol=hn;pd.AwsRestJsonProtocol=No;pd.AwsRestXmlProtocol=_o;pd.AwsSmithyRpcV2CborProtocol=mo;pd.JsonCodec=Yt;pd.JsonShapeDeserializer=un;pd.JsonShapeSerializer=cn;pd.QueryShapeSerializer=ln;pd.XmlCodec=fn;pd.XmlShapeDeserializer=Zt;pd.XmlShapeSerializer=dn;pd._toBool=ud;pd._toNum=cd;pd._toStr=ad;pd.awsExpectUnion=dd;pd.loadRestJsonErrorCode=an;pd.loadRestXmlErrorCode=So;pd.parseJsonBody=on;pd.parseJsonErrorBody=hd;pd.parseXmlBody=xo;pd.parseXmlErrorBody=fd});var zd=$((vt)=>{Object.defineProperty(vt,"__esModule",{value:!0});vt.toBase64=vt.fromBase64=void 0;var To=Ee();Object.defineProperty(vt,"fromBase64",{enumerable:!0,get:function(){return To.fromBase64}});Object.defineProperty(vt,"toBase64",{enumerable:!0,get:function(){return To.toBase64}})});
|
|
20
|
-
export{bl as K9,Na as L9,Oa as M9,Ua as N9,qn as O9,Xn as P9,es as Q9,hs as R9,gr as S9,Cu as T9,Ru as U9,ju as V9,Hu as W9,Nl as X9,wl as Y9,Sl as Z9,Ai as _9,Gl as $9,Ql as a_,ds as b_,Jl as c_,eh as d_,Hi as e_,Bd as f_,zd as g_,Zu as h_,ec as i_};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{Ura as Q,Vra as V,Wra as W,Xra as X,Yra as Y,Zra as Z,isa as w}from"./cli-1.1.12-zdsde34g.mjs";import{bta as v}from"./cli-1.1.12-2nzqqw4h.mjs";function J(j,z){if(!(j instanceof Error))return!1;for(let G=Object.getPrototypeOf(j);G!==null;G=Object.getPrototypeOf(G))if(G.constructor?.name===z)return!0;return!1}function S(j){return j instanceof Q||J(j,"APIError")}function k(j){return j instanceof W||J(j,"APIConnectionError")}function F(j){return j instanceof X||J(j,"APIConnectionTimeoutError")}function D(j){return j instanceof V||J(j,"APIUserAbortError")}function P(j){return j instanceof Y||J(j,"AuthenticationError")}function x(j){return j instanceof Z||J(j,"NotFoundError")}function y(j){return j instanceof _||D(j)||j instanceof Error&&j.name==="AbortError"}function f(j,z){return j instanceof Error&&j.message===z}function N(j){return j instanceof Error?j:Error(String(j))}function I(j){return j instanceof Error?j.message:String(j)}function $(j){if(j&&typeof j==="object"&&"code"in j&&typeof j.code==="string")return j.code;return}function A(j){return $(j)==="ENOENT"}function p(j){if(j&&typeof j==="object"&&"path"in j&&typeof j.path==="string")return j.path;return}function C(j,z=5){if(!(j instanceof Error))return String(j);if(!j.stack)return j.message;let G=j.stack.split(`
|
|
2
|
-
`),H=G[0]??j.message,K=G.slice(1).filter((q)=>q.trim().startsWith("at "));if(K.length<=z)return j.stack;return[H,...K.slice(0,z)].join(`
|
|
3
|
-
`)}function h(j){let z=$(j);return z==="ENOENT"||z==="EACCES"||z==="EPERM"||z==="ENOTDIR"||z==="ELOOP"}function E(j){let z=I(j);if(!j||typeof j!=="object"||!("isAxiosError"in j)||!j.isAxiosError)return{kind:"other",message:z};let G=j,H=G.response?.status;if(H===401||H===403)return{kind:"auth",status:H,message:z};if(G.code==="ECONNABORTED")return{kind:"timeout",status:H,message:z};if(G.code==="ECONNREFUSED"||G.code==="ENOTFOUND")return{kind:"network",status:H,message:z};return{kind:"http",status:H,message:z}}var B,L,_,T,O,R,U;var b=v(()=>{w();B=class B extends Error{constructor(j,z){super(j,z);this.name=this.constructor.name}};L=class L extends Error{};_=class _ extends Error{constructor(j){super(j);this.name="AbortError"}};T=class T extends Error{filePath;defaultConfig;constructor(j,z,G){super(j);this.name="ConfigParseError",this.filePath=z,this.defaultConfig=G}};O=class O extends Error{stdout;stderr;code;interrupted;constructor(j,z,G,H){super("Shell command failed");this.stdout=j;this.stderr=z;this.code=G;this.interrupted=H;this.name="ShellError"}};R=class R extends Error{formattedMessage;constructor(j,z){super(j);this.formattedMessage=z;this.name="TeleportOperationError"}};U=class U extends Error{telemetryMessage;constructor(j,z){super(j);this.name="TelemetrySafeError",this.telemetryMessage=z??j}}});
|
|
4
|
-
export{B as $ka,L as ala,_ as bla,S as cla,k as dla,F as ela,D as fla,P as gla,x as hla,y as ila,T as jla,O as kla,R as lla,U as mla,f as nla,N as ola,I as pla,$ as qla,A as rla,p as sla,C as tla,h as ula,E as vla,b as wla};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import{Xka as ZX,_ka as y8}from"./cli-1.1.12-vmt4b9p8.mjs";import{qla as r,wla as R8}from"./cli-1.1.12-fx9tstdr.mjs";import{Cla as NJ,Mla as j8,zla as $X}from"./cli-1.1.12-pyh14x7q.mjs";import{$la as $Q,Ama as hX,Bma as hJ,Cma as wX,Dma as y,Ema as OJ,Fma as gQ,Gma as m6,Jma as O,Kma as GJ,Nla as dQ,Ola as P6,Tla as qJ,Ula as oX,Xla as eJ,Yla as fX,Zla as fQ,_la as T6,ama as cX,dma as JQ,ema as pX,fma as g,gma as oJ,hma as n,ima as LQ,lma as pQ,mma as v6,pma as l,pra as sQ,qma as wQ,qna as XX,rma as w,sma as kQ,vma as yJ,wma as OX,xma as h,yma as vJ,zma as tJ}from"./cli-1.1.12-fpn24m0s.mjs";import{Cra as L,Dra as XJ,Ira as LJ,Jra as zX,Ora as V,Pra as xJ,qra as SJ,rra as CX,wra as cJ,xra as TX,yra as HJ,zra as J6}from"./cli-1.1.12-fkqwvtrq.mjs";import{ata as uJ,bta as U,dta as N,eta as W}from"./cli-1.1.12-2nzqqw4h.mjs";function zJ({writeFn:J,flushIntervalMs:Q=1000,maxBufferSize:X=100,maxBufferBytes:$=1/0,immediateMode:Y=!1}){let Z=[],q=0,H=null,G=null;function I(){if(H)clearTimeout(H),H=null}function B(){if(G)J(G.join("")),G=null;if(Z.length===0)return;J(Z.join("")),Z=[],q=0,I()}function M(){if(!H)H=setTimeout(B,Q)}function F(){if(G){G.push(...Z),Z=[],q=0,I();return}let x=Z;Z=[],q=0,I(),G=x,setImmediate(()=>{let v=G;if(G=null,v)J(v.join(""))})}return{write(x){if(Y){J(x);return}if(Z.push(x),q+=x.length,M(),Z.length>=X||q>=$)F()},flush:B,dispose(){B()}}}var BJ=()=>{};function IJ(J){return t.add(J),()=>t.delete(J)}async function r8(){await Promise.all(Array.from(t).map((J)=>J()))}var t;var CJ=U(()=>{t=new Set});function WX(J){let Q=[],X=J.match(/^MCP server ["']([^"']+)["']/);if(X&&X[1])Q.push("mcp"),Q.push(X[1].toLowerCase());else{let Z=J.match(/^([^:[]+):/);if(Z&&Z[1])Q.push(Z[1].trim().toLowerCase())}let $=J.match(/^\[([^\]]+)]/);if($&&$[1])Q.push($[1].trim().toLowerCase());if(J.toLowerCase().includes("1p event:"))Q.push("1p");let Y=J.match(/:\s*([^:]+?)(?:\s+(?:type|mode|status|event))?:/);if(Y&&Y[1]){let Z=Y[1].trim().toLowerCase();if(Z.length<30&&!Z.includes(" "))Q.push(Z)}return Array.from(new Set(Q))}function EX(J,Q){if(!Q)return!0;if(J.length===0)return!1;if(Q.isExclusive)return!J.some((X)=>Q.exclude.includes(X));else return J.some((X)=>Q.include.includes(X))}function VJ(J,Q){if(!Q)return!0;let X=WX(J);return EX(X,Q)}var FJ;var DJ=U(()=>{xJ();FJ=V((J)=>{if(!J||J.trim()==="")return null;let Q=J.split(",").map((Z)=>Z.trim()).filter(Boolean);if(Q.length===0)return null;let X=Q.some((Z)=>Z.startsWith("!")),$=Q.some((Z)=>!Z.startsWith("!"));if(X&&$)return null;let Y=Q.map((Z)=>Z.replace(/^!/,"").toLowerCase());return{include:X?[]:Y,exclude:X?Y:[],isExclusive:X}})});function MX(J,Q){var X=-1,$=J==null?0:J.length;while(++X<$)if(Q(J[X],X,J)===!1)break;return J}var RJ;var AJ=U(()=>{RJ=MX});var BX,e;var _J=U(()=>{zX();BX=function(){try{var J=LJ(Object,"defineProperty");return J({},"",{}),J}catch(Q){}}(),e=BX});function IX(J,Q,X){if(Q=="__proto__"&&e)e(J,Q,{configurable:!0,enumerable:!0,value:X,writable:!0});else J[Q]=X}var m;var JJ=U(()=>{_J();m=IX});function VX(J,Q,X){var $=J[Q];if(!(FX.call(J,Q)&&SJ($,X))||X===void 0&&!(Q in J))m(J,Q,X)}var xX,FX,j;var QJ=U(()=>{JJ();CX();xX=Object.prototype,FX=xX.hasOwnProperty;j=VX});function DX(J,Q,X,$){var Y=!X;X||(X={});var Z=-1,q=Q.length;while(++Z<q){var H=Q[Z],G=$?$(X[H],J[H],H,X,J):void 0;if(G===void 0)G=J[H];if(Y)m(X,H,G);else j(X,H,G)}return X}var R;var k=U(()=>{QJ();JJ();R=DX});function RX(J,Q){return J&&R(Q,y(Q),J)}var wJ;var kJ=U(()=>{k();OJ();wJ=RX});function AX(J){var Q=[];if(J!=null)for(var X in Object(J))Q.push(X);return Q}var PJ;var TJ=U(()=>{PJ=AX});function SX(J){if(!L(J))return PJ(J);var Q=h(J),X=[];for(var $ in J)if(!($=="constructor"&&(Q||!_X.call(J,$))))X.push($);return X}var LX,_X,mJ;var jJ=U(()=>{XJ();vJ();TJ();LX=Object.prototype,_X=LX.hasOwnProperty;mJ=SX});function kX(J){return hJ(J)?yJ(J,!0):mJ(J)}var _;var d=U(()=>{OX();jJ();wX();_=kX});function PX(J,Q){return J&&R(Q,_(Q),J)}var dJ;var fJ=U(()=>{k();d();dJ=PX});var p={};uJ(p,{default:()=>$J});function mX(J,Q){if(Q)return J.slice();var X=J.length,$=bJ?bJ(X):new J.constructor(X);return J.copy($),$}var nJ,pJ,vX,gJ,bJ,$J;var lJ=U(()=>{TX();nJ=typeof p=="object"&&p&&!p.nodeType&&p,pJ=nJ&&typeof f=="object"&&f&&!f.nodeType&&f,vX=pJ&&pJ.exports===nJ,gJ=vX?cJ.Buffer:void 0,bJ=gJ?gJ.allocUnsafe:void 0;$J=mX});function jX(J,Q){var X=-1,$=J.length;Q||(Q=Array($));while(++X<$)Q[X]=J[X];return Q}var iJ;var rJ=U(()=>{iJ=jX});function yX(J,Q){return R(J,g(J),Q)}var sJ;var aJ=U(()=>{k();oJ();sJ=yX});var dX,b;var ZJ=U(()=>{hX();dX=tJ(Object.getPrototypeOf,Object),b=dX});var gX,bX,u;var YJ=U(()=>{fX();ZJ();oJ();pX();gX=Object.getOwnPropertySymbols,bX=!gX?JQ:function(J){var Q=[];while(J)eJ(Q,g(J)),J=b(J);return Q},u=bX});function uX(J,Q){return R(J,u(J),Q)}var QQ;var XQ=U(()=>{k();YJ();QQ=uX});function nX(J){return $Q(J,_,u)}var ZQ;var YQ=U(()=>{cX();YJ();d();ZQ=nX});function rX(J){var Q=J.length,X=new J.constructor(Q);if(Q&&typeof J[0]=="string"&&iX.call(J,"index"))X.index=J.index,X.input=J.input;return X}var lX,iX,qQ;var HQ=U(()=>{lX=Object.prototype,iX=lX.hasOwnProperty;qQ=rX});function sX(J){var Q=new J.constructor(J.byteLength);return new qJ(Q).set(new qJ(J)),Q}var S;var c=U(()=>{oX();S=sX});function aX(J,Q){var X=Q?S(J.buffer):J.buffer;return new J.constructor(X,J.byteOffset,J.byteLength)}var GQ;var KQ=U(()=>{c();GQ=aX});function eX(J){var Q=new J.constructor(J.source,tX.exec(J));return Q.lastIndex=J.lastIndex,Q}var tX,UQ;var NQ=U(()=>{tX=/\w*$/;UQ=eX});function Q6(J){return EQ?Object(EQ.call(J)):{}}var WQ,EQ,MQ;var zQ=U(()=>{J6();WQ=HJ?HJ.prototype:void 0,EQ=WQ?WQ.valueOf:void 0;MQ=Q6});function X6(J,Q){var X=Q?S(J.buffer):J.buffer;return new J.constructor(X,J.byteOffset,J.length)}var BQ;var IQ=U(()=>{c();BQ=X6});function D6(J,Q,X){var $=J.constructor;switch(Q){case N6:return S(J);case $6:case Z6:return new $(+J);case W6:return GQ(J,X);case E6:case M6:case z6:case B6:case I6:case C6:case x6:case F6:case V6:return BQ(J,X);case Y6:return new $;case q6:case K6:return new $(J);case H6:return UQ(J);case G6:return new $;case U6:return MQ(J)}}var $6="[object Boolean]",Z6="[object Date]",Y6="[object Map]",q6="[object Number]",H6="[object RegExp]",G6="[object Set]",K6="[object String]",U6="[object Symbol]",N6="[object ArrayBuffer]",W6="[object DataView]",E6="[object Float32Array]",M6="[object Float64Array]",z6="[object Int8Array]",B6="[object Int16Array]",I6="[object Int32Array]",C6="[object Uint8Array]",x6="[object Uint8ClampedArray]",F6="[object Uint16Array]",V6="[object Uint32Array]",CQ;var xQ=U(()=>{c();KQ();NQ();zQ();IQ();CQ=D6});var FQ,R6,VQ;var DQ=U(()=>{XJ();FQ=Object.create,R6=function(){function J(){}return function(Q){if(!L(Q))return{};if(FQ)return FQ(Q);J.prototype=Q;var X=new J;return J.prototype=void 0,X}}(),VQ=R6});function A6(J){return typeof J.constructor=="function"&&!h(J)?VQ(b(J)):{}}var RQ;var AQ=U(()=>{DQ();ZJ();vJ();RQ=A6});function _6(J){return n(J)&&O(J)==L6}var L6="[object Map]",_Q;var SQ=U(()=>{GJ();LQ();_Q=_6});var OQ,S6,PQ;var TQ=U(()=>{SQ();wQ();kQ();OQ=w&&w.isMap,S6=OQ?l(OQ):_Q,PQ=S6});function w6(J){return n(J)&&O(J)==O6}var O6="[object Set]",vQ;var mQ=U(()=>{GJ();LQ();vQ=w6});var jQ,k6,yQ;var hQ=U(()=>{mQ();wQ();kQ();jQ=w&&w.isSet,k6=jQ?l(jQ):vQ,yQ=k6});function i(J,Q,X,$,Y,Z){var q,H=Q&j6,G=Q&y6,I=Q&h6;if(X)q=Y?X(J,$,Y,Z):X(J);if(q!==void 0)return q;if(!L(J))return J;var B=fQ(J);if(B){if(q=qQ(J),!H)return iJ(J,q)}else{var M=O(J),F=M==uQ||M==b6;if(pQ(J))return $J(J,H);if(M==cQ||M==bQ||F&&!Y){if(q=G||F?{}:RQ(J),!H)return G?QQ(J,dJ(q,J)):sJ(J,wJ(q,J))}else{if(!z[M])return Y?J:{};q=CQ(J,M,H)}}Z||(Z=new dQ);var x=Z.get(J);if(x)return x;if(Z.set(J,q),yQ(J))J.forEach(function(D){q.add(i(D,Q,X,D,J,Z))});else if(PQ(J))J.forEach(function(D,A){q.set(A,i(D,Q,X,A,J,Z))});var v=I?G?ZQ:gQ:G?_:y,MJ=B?void 0:v(J);return RJ(MJ||J,function(D,A){if(MJ)A=D,D=J[A];j(q,A,i(D,Q,X,A,J,Z))}),q}var j6=1,y6=2,h6=4,bQ="[object Arguments]",d6="[object Array]",f6="[object Boolean]",p6="[object Date]",g6="[object Error]",uQ="[object Function]",b6="[object GeneratorFunction]",u6="[object Map]",c6="[object Number]",cQ="[object Object]",n6="[object RegExp]",l6="[object Set]",i6="[object String]",r6="[object Symbol]",o6="[object WeakMap]",s6="[object ArrayBuffer]",a6="[object DataView]",t6="[object Float32Array]",e6="[object Float64Array]",J8="[object Int8Array]",Q8="[object Int16Array]",X8="[object Int32Array]",$8="[object Uint8Array]",Z8="[object Uint8ClampedArray]",Y8="[object Uint16Array]",q8="[object Uint32Array]",z,nQ;var lQ=U(()=>{P6();AJ();QJ();kJ();fJ();lJ();rJ();aJ();XQ();m6();YQ();GJ();HQ();xQ();AQ();T6();v6();TQ();XJ();hQ();OJ();d();z={};z[bQ]=z[d6]=z[s6]=z[a6]=z[f6]=z[p6]=z[t6]=z[e6]=z[J8]=z[Q8]=z[X8]=z[u6]=z[c6]=z[cQ]=z[n6]=z[l6]=z[i6]=z[r6]=z[$8]=z[Z8]=z[Y8]=z[q8]=!0;z[g6]=z[uQ]=z[o6]=!1;nQ=i});function K8(J){return nQ(J,H8|G8)}var H8=1,G8=4,iQ;var rQ=U(()=>{lQ();iQ=K8});var V8={};uJ(V8,{writeFileSync_DEPRECATED:()=>F8,slowLogging:()=>E,jsonStringify:()=>KJ,jsonParse:()=>I8,cloneDeep:()=>x8,clone:()=>C8,callerFrame:()=>M8,SLOW_OPERATION_THRESHOLD_MS:()=>E8});import{closeSync as U8,writeFileSync as oQ,fsyncSync as N8,openSync as W8}from"fs";function M8(J){if(!J)return"";for(let Q of J.split(`
|
|
2
|
-
`)){if(Q.includes("slowOperations"))continue;let X=Q.match(/([^/\\]+?):(\d+):\d+\)?$/);if(X)return` @ ${X[1]}:${X[2]}`}return""}function B8(){return z8}function KJ(J,Q,X){let Y=[];try{const $=N(Y,E`JSON.stringify(${J})`,0);return JSON.stringify(J,Q,X)}catch(Z){var q=Z,H=1}finally{W(Y,q,H)}}function C8(J,Q){let $=[];try{const X=N($,E`structuredClone(${J})`,0);return structuredClone(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}}function x8(J){let X=[];try{const Q=N(X,E`cloneDeep(${J})`,0);return iQ(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}}function F8(J,Q,X){let Z=[];try{const $=N(Z,E`fs.writeFileSync(${J}, ${Q})`,0);let Y=X!==null&&typeof X==="object"&&"flush"in X&&X.flush===!0;if(Y){let I=typeof X==="object"&&"encoding"in X?X.encoding:void 0,B=typeof X==="object"&&"mode"in X?X.mode:void 0,M;try{M=W8(J,"w",B),oQ(M,Q,{encoding:I??void 0}),N8(M)}finally{if(M!==void 0)U8(M)}}else oQ(J,Q,X)}catch(q){var H=q,G=1}finally{W(Z,H,G)}}var E8,z8,E,I8=(J,Q)=>{let $=[];try{const X=N($,E`JSON.parse(${J})`,0);return typeof Q>"u"?JSON.parse(J):JSON.parse(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}};var UJ=U(()=>{rQ();sQ();aQ();E8=(()=>{let J=process.env.CLAUDE_CODE_SLOW_OPERATION_THRESHOLD_MS;if(J!==void 0){let Q=Number(J);if(!Number.isNaN(Q)&&Q>=0)return Q}return 1/0})();z8={[Symbol.dispose](){}};E=B8});import*as K from"fs";import{mkdir as A8,open as o,readdir as L8,readFile as tQ,copyFile as _8,rename as S8,rmdir as O8,rm as w8,stat as k8,unlink as P8}from"fs/promises";import{homedir as eQ}from"os";import*as C from"path";function JX(J,Q){if(Q.startsWith("//")||Q.startsWith("\\\\"))return{resolvedPath:Q,isSymlink:!1,isCanonical:!1};try{let X=J.lstatSync(Q);if(X.isFIFO()||X.isSocket()||X.isCharacterDevice()||X.isBlockDevice())return{resolvedPath:Q,isSymlink:!1,isCanonical:!1};let $=J.realpathSync(Q);return{resolvedPath:$,isSymlink:$!==Q,isCanonical:!0}}catch(X){return{resolvedPath:Q,isSymlink:!1,isCanonical:!1}}}function H1(J,Q,X){let{resolvedPath:$}=JX(J,Q);if(X.has($))return!0;return X.add($),!1}function T8(J,Q){let X=Q,$=[];while(X!==C.dirname(X)){let Y;try{Y=J.lstatSync(X)}catch{$.unshift(C.basename(X)),X=C.dirname(X);continue}if(Y.isSymbolicLink())try{let Z=J.realpathSync(X);return $.length===0?Z:C.join(Z,...$)}catch{let Z=J.readlinkSync(X),q=C.isAbsolute(Z)?Z:C.resolve(C.dirname(X),Z);return $.length===0?q:C.join(q,...$)}try{let Z=J.realpathSync(X);if(Z!==X)return $.length===0?Z:C.join(Z,...$)}catch{}return}return}function G1(J){let Q=J;if(Q==="~")Q=eQ().normalize("NFC");else if(Q.startsWith("~/"))Q=C.join(eQ().normalize("NFC"),Q.slice(2));let X=new Set,$=s();if(X.add(Q),Q.startsWith("//")||Q.startsWith("\\\\"))return Array.from(X);try{let q=Q,H=new Set,G=40;for(let I=0;I<G;I++){if(H.has(q))break;if(H.add(q),!$.existsSync(q)){if(q===Q){let x=T8($,Q);if(x!==void 0)X.add(x)}break}let B=$.lstatSync(q);if(B.isFIFO()||B.isSocket()||B.isCharacterDevice()||B.isBlockDevice())break;if(!B.isSymbolicLink())break;let M=$.readlinkSync(q),F=C.isAbsolute(M)?M:C.resolve(C.dirname(q),M);X.add(F),q=F}}catch{}let{resolvedPath:Y,isSymlink:Z}=JX($,Q);if(Z&&Y!==Q)X.add(Y);return Array.from(X)}function s(){return m8}async function K1(J,Q,X){let G=[];try{const $=N(G,await o(J,"r"),1);let Y=(await $.stat()).size;if(Y<=Q)return null;let Z=Math.min(Y-Q,X);let q=Buffer.allocUnsafe(Z);let H=0;while(H<Z){let{bytesRead:x}=await $.read(q,H,Z-H,Q+H);if(x===0)break;H+=x}return{content:q.toString("utf8",0,H),bytesRead:H,bytesTotal:Y}}catch(I){var B=I,M=1}finally{var F=W(G,B,M);F&&await F}}async function U1(J,Q){let G=[];try{const X=N(G,await o(J,"r"),1);let $=(await X.stat()).size;if($===0)return{content:"",bytesRead:0,bytesTotal:0};let Y=Math.max(0,$-Q);let Z=$-Y;let q=Buffer.allocUnsafe(Z);let H=0;while(H<Z){let{bytesRead:x}=await X.read(q,H,Z-H,Y+H);if(x===0)break;H+=x}return{content:q.toString("utf8",0,H),bytesRead:H,bytesTotal:$}}catch(I){var B=I,M=1}finally{var F=W(G,B,M);F&&await F}}async function*N1(J){let X=await o(J,"r");try{let Y=(await X.stat()).size,Z=Buffer.alloc(0),q=Buffer.alloc(4096);while(Y>0){let H=Math.min(4096,Y);Y-=H,await X.read(q,0,H,Y);let G=Buffer.concat([q.subarray(0,H),Z]),I=G.indexOf(10);if(I===-1){Z=G;continue}Z=Buffer.from(G.subarray(0,I));let B=G.toString("utf8",I+1).split(`
|
|
3
|
-
`);for(let M=B.length-1;M>=0;M--){let F=B[M];if(F)yield F}}if(Z.length>0)yield Z.toString("utf8")}finally{await X.close()}}var v8,m8;var QX=U(()=>{R8();UJ();v8={cwd(){return process.cwd()},existsSync(J){let X=[];try{const Q=N(X,E`fs.existsSync(${J})`,0);return K.existsSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},async stat(J){return k8(J)},async readdir(J){return L8(J,{withFileTypes:!0})},async unlink(J){return P8(J)},async rmdir(J){return O8(J)},async rm(J,Q){return w8(J,Q)},async mkdir(J,Q){try{await A8(J,{recursive:!0,...Q})}catch(X){if(r(X)!=="EEXIST")throw X}},async readFile(J,Q){return tQ(J,{encoding:Q.encoding})},async rename(J,Q){return S8(J,Q)},async copyFile(J,Q){let $=[];try{const X=N($,E`fs.copyFile(${J} → ${Q})`,0);return _8(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},statSync(J){let X=[];try{const Q=N(X,E`fs.statSync(${J})`,0);return K.statSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},lstatSync(J){let X=[];try{const Q=N(X,E`fs.lstatSync(${J})`,0);return K.lstatSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},readFileSync(J,Q){let $=[];try{const X=N($,E`fs.readFileSync(${J})`,0);return K.readFileSync(J,{encoding:Q.encoding})}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},readFileBytesSync(J){let X=[];try{const Q=N(X,E`fs.readFileBytesSync(${J})`,0);return K.readFileSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},readSync(J,Q){let Y=[];try{const X=N(Y,E`fs.readSync(${J}, ${Q.length} bytes)`,0);let $=void 0;try{$=K.openSync(J,"r");let G=Buffer.alloc(Q.length),I=K.readSync($,G,0,Q.length,0);return{buffer:G,bytesRead:I}}finally{if($)K.closeSync($)}}catch(Z){var q=Z,H=1}finally{W(Y,q,H)}},appendFileSync(J,Q,X){let Y=[];try{const $=N(Y,E`fs.appendFileSync(${J}, ${Q.length} chars)`,0);if(X?.mode!==void 0)try{let G=K.openSync(J,"ax",X.mode);try{K.appendFileSync(G,Q)}finally{K.closeSync(G)}return}catch(G){if(r(G)!=="EEXIST")throw G}K.appendFileSync(J,Q)}catch(Z){var q=Z,H=1}finally{W(Y,q,H)}},copyFileSync(J,Q){let $=[];try{const X=N($,E`fs.copyFileSync(${J} → ${Q})`,0);K.copyFileSync(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},unlinkSync(J){let X=[];try{const Q=N(X,E`fs.unlinkSync(${J})`,0);K.unlinkSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},renameSync(J,Q){let $=[];try{const X=N($,E`fs.renameSync(${J} → ${Q})`,0);K.renameSync(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},linkSync(J,Q){let $=[];try{const X=N($,E`fs.linkSync(${J} → ${Q})`,0);K.linkSync(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},symlinkSync(J,Q,X){let Y=[];try{const $=N(Y,E`fs.symlinkSync(${J} → ${Q})`,0);K.symlinkSync(J,Q,X)}catch(Z){var q=Z,H=1}finally{W(Y,q,H)}},readlinkSync(J){let X=[];try{const Q=N(X,E`fs.readlinkSync(${J})`,0);return K.readlinkSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},realpathSync(J){let X=[];try{const Q=N(X,E`fs.realpathSync(${J})`,0);return K.realpathSync(J).normalize("NFC")}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},mkdirSync(J,Q){let Y=[];try{const X=N(Y,E`fs.mkdirSync(${J})`,0);let $={recursive:!0};if(Q?.mode!==void 0)$.mode=Q.mode;try{K.mkdirSync(J,$)}catch(G){if(r(G)!=="EEXIST")throw G}}catch(Z){var q=Z,H=1}finally{W(Y,q,H)}},readdirSync(J){let X=[];try{const Q=N(X,E`fs.readdirSync(${J})`,0);return K.readdirSync(J,{withFileTypes:!0})}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},readdirStringSync(J){let X=[];try{const Q=N(X,E`fs.readdirStringSync(${J})`,0);return K.readdirSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},isDirEmptySync(J){let $=[];try{const Q=N($,E`fs.isDirEmptySync(${J})`,0);let X=this.readdirSync(J);return X.length===0}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},rmdirSync(J){let X=[];try{const Q=N(X,E`fs.rmdirSync(${J})`,0);K.rmdirSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},rmSync(J,Q){let $=[];try{const X=N($,E`fs.rmSync(${J})`,0);K.rmSync(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},createWriteStream(J){return K.createWriteStream(J)},async readFileBytes(J,Q){if(Q===void 0)return tQ(J);let X=await o(J,"r");try{let{size:$}=await X.stat(),Y=Math.min($,Q),Z=Buffer.allocUnsafe(Y),q=0;while(q<Y){let{bytesRead:H}=await X.read(Z,q,Y-q,q);if(H===0)break;q+=H}return q<Y?Z.subarray(0,q):Z}finally{await X.close()}}},m8=v8});import{appendFile as h8,mkdir as d8,symlink as f8,unlink as p8}from"fs/promises";import{dirname as YX,join as qX}from"path";function L1(){let J=T();return HX=!0,T.cache.clear?.(),J}function u8(J){if(!T())return!1;if(typeof process>"u"||typeof process.versions>"u"||typeof process.versions.node>"u")return!1;let Q=b8();return VJ(J,Q)}function _1(J){EJ=J}function S1(){return EJ}async function c8(J,Q,X,$){if(J)await d8(Q,{recursive:!0}).catch(()=>{});await h8(X,$),NX()}function n8(){}function l8(){if(!P){let J=null;P=zJ({writeFn:(Q)=>{let X=UX(),$=YX(X),Y=J!==$;if(J=$,T()){if(Y)try{s().mkdirSync($)}catch{}s().appendFileSync(X,Q),NX();return}a=a.then(c8.bind(null,Y,$,X,Q)).catch(n8)},flushIntervalMs:1000,maxBufferSize:100,immediateMode:T()}),IJ(async()=>{P?.dispose(),await a})}return P}async function O1(){P?.flush(),await a}function D8(J,{level:Q}={level:"debug"}){if(WJ[Q]<WJ[g8()])return;if(!u8(J))return;if(EJ&&J.includes(`
|
|
4
|
-
`))J=KJ(J);let $=`${new Date().toISOString()} [${Q.toUpperCase()}] ${J.trim()}
|
|
5
|
-
`;if(GX()){ZX($);return}l8().write($)}function UX(){return KX()??process.env.CLAUDE_CODE_DEBUG_LOGS_DIR??qX($X(),"debug",`${XX()}.txt`)}function w1(J,Q){}var WJ,g8,HX=!1,T,b8,GX,KX,EJ=!1,P=null,a,NX;var aQ=U(()=>{xJ();sQ();BJ();CJ();DJ();j8();QX();y8();UJ();WJ={verbose:0,debug:1,info:2,warn:3,error:4},g8=V(()=>{let J=process.env.CLAUDE_CODE_DEBUG_LOG_LEVEL?.toLowerCase().trim();if(J&&Object.hasOwn(WJ,J))return J;return"debug"}),T=V(()=>{return HX||NJ(process.env.DEBUG)||NJ(process.env.DEBUG_SDK)||process.argv.includes("--debug")||process.argv.includes("-d")||GX()||process.argv.some((J)=>J.startsWith("--debug="))||KX()!==null});b8=V(()=>{let J=process.argv.find((X)=>X.startsWith("--debug="));if(!J)return null;let Q=J.substring(8);return FJ(Q)}),GX=V(()=>{return process.argv.includes("--debug-to-stderr")||process.argv.includes("-D")}),KX=V(()=>{for(let J=0;J<process.argv.length;J++){let Q=process.argv[J];if(Q.startsWith("--debug-file="))return Q.substring(13);if(Q==="--debug-file"&&J+1<process.argv.length)return process.argv[J+1]}return null});a=Promise.resolve();NX=V(async()=>{try{let J=UX(),Q=YX(J),X=qX(Q,"latest");await p8(X).catch(()=>{}),await f8(J,X)}catch{}})});
|
|
6
|
-
export{zJ as Sja,BJ as Tja,IJ as Uja,r8 as Vja,CJ as Wja,e as Xja,_J as Yja,m as Zja,JJ as _ja,j as $ja,QJ as aka,R as bka,k as cka,_ as dka,d as eka,$J as fka,lJ as gka,iJ as hka,rJ as ika,b as jka,ZJ as kka,ZQ as lka,YQ as mka,BQ as nka,IQ as oka,RQ as pka,AQ as qka,nQ as rka,lQ as ska,E as tka,KJ as uka,I8 as vka,C8 as wka,F8 as xka,V8 as yka,UJ as zka,JX as Aka,H1 as Bka,G1 as Cka,s as Dka,K1 as Eka,U1 as Fka,N1 as Gka,QX as Hka,g8 as Ika,T as Jka,L1 as Kka,b8 as Lka,GX as Mka,KX as Nka,_1 as Oka,S1 as Pka,O1 as Qka,D8 as Rka,UX as Ska,w1 as Tka,aQ as Uka};
|