@design-edito/tools 0.1.72 → 0.2.0
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/agnostic/arrays/find-duplicates/index.js +1 -1
- package/agnostic/arrays/index.js +6 -6
- package/agnostic/arrays/is-array-of/index.js +1 -1
- package/agnostic/arrays/make/index.js +1 -1
- package/agnostic/arrays/random-pick/index.js +1 -1
- package/agnostic/arrays/shuffle/index.js +1 -1
- package/agnostic/booleans/index.js +1 -1
- package/agnostic/booleans/is-falsy/index.js +1 -1
- package/agnostic/colors/complement-color/index.js +1 -1
- package/agnostic/colors/hex-to-rgb/index.js +1 -1
- package/agnostic/colors/hsl-to-rgb/index.js +1 -1
- package/agnostic/colors/index.js +12 -12
- package/agnostic/colors/lighten-color/index.js +3 -3
- package/agnostic/colors/rgb-to-hex/index.js +1 -1
- package/agnostic/colors/rgb-to-hsl/index.js +1 -1
- package/agnostic/colors/saturate-color/index.js +3 -3
- package/agnostic/css/bem/index.js +3 -3
- package/agnostic/css/generate-nice-color/index.js +1 -1
- package/agnostic/css/index.js +12 -12
- package/agnostic/css/is-valid-css-class-name/index.js +1 -1
- package/agnostic/css/styles-set/index.js +1 -1
- package/agnostic/errors/index.js +1 -1
- package/agnostic/errors/register/index.js +1 -1
- package/agnostic/errors/unknown-to-string/index.js +1 -1
- package/agnostic/html/get-node-ancestors/index.js +1 -1
- package/agnostic/html/get-position-inside-parent/index.js +1 -1
- package/agnostic/html/hyper-json/cast/index.js +3 -3
- package/agnostic/html/hyper-json/index.js +4 -4
- package/agnostic/html/hyper-json/method/index.js +1 -1
- package/agnostic/html/hyper-json/serialize/index.js +1 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/spread/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/index.js +1 -1
- package/agnostic/html/hyper-json/smart-tags/isolated/any/index.js +1 -1
- package/agnostic/html/hyper-json/smart-tags/isolated/array/index.js +1 -1
- package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/isolated/element/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/isolated/get/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/isolated/global/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/isolated/null/index.js +1 -1
- package/agnostic/html/hyper-json/smart-tags/isolated/number/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/isolated/record/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/isolated/string/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/isolated/text/index.js +3 -3
- package/agnostic/html/hyper-json/transformer/index.js +1 -1
- package/agnostic/html/hyper-json/tree/index.js +3 -3
- package/agnostic/html/hyper-json/types/index.js +1 -1
- package/agnostic/html/hyper-json/utils/index.js +3 -3
- package/agnostic/html/index.js +10 -10
- package/agnostic/html/insert-node/index.js +1 -1
- package/agnostic/html/placeholders/index.js +1 -1
- package/agnostic/html/replace-in-element/index.js +1 -1
- package/agnostic/html/sanitize/index.js +1 -1
- package/agnostic/html/selector-to-element/index.js +1 -1
- package/agnostic/html/string-to-nodes/index.js +1 -1
- package/agnostic/misc/assert/index.js +1 -1
- package/agnostic/misc/cast/index.js +1 -1
- package/agnostic/misc/crawler/index.js +1 -1
- package/agnostic/misc/crossenv/detect-runtime/index.js +1 -1
- package/agnostic/misc/crossenv/index.js +1 -1
- package/agnostic/misc/crossenv/types/index.js +1 -1
- package/agnostic/misc/crossenv/window/index.js +1 -1
- package/agnostic/misc/data-size/index.js +2 -2
- package/agnostic/misc/elo/index.js +1 -1
- package/agnostic/misc/get-current-downlink/index.js +1 -1
- package/agnostic/misc/index.js +17 -17
- package/agnostic/misc/is-constructor-function/index.js +1 -1
- package/agnostic/misc/is-nullish/index.js +1 -1
- package/agnostic/misc/logs/index.js +1 -1
- package/agnostic/misc/logs/logger/index.js +1 -1
- package/agnostic/misc/logs/make-text-block/index.js +1 -1
- package/agnostic/misc/logs/styles/index.js +1 -1
- package/agnostic/misc/lorem-ipsum/index.js +7 -7
- package/agnostic/misc/normalize-extension/index.js +1 -1
- package/agnostic/misc/outcome/index.js +1 -1
- package/agnostic/numbers/absolute-modulo/index.js +1 -1
- package/agnostic/numbers/clamp/index.js +1 -1
- package/agnostic/numbers/index.js +4 -4
- package/agnostic/numbers/interpolate/index.js +1 -1
- package/agnostic/numbers/responsive-harmonics/index.js +1 -1
- package/agnostic/numbers/round/index.js +1 -1
- package/agnostic/objects/deep-get-property/index.js +1 -1
- package/agnostic/objects/enums/index.js +1 -1
- package/agnostic/objects/enums/is-in-enum/index.js +1 -1
- package/agnostic/objects/flatten-getters/index.js +1 -1
- package/agnostic/objects/index.js +11 -11
- package/agnostic/objects/is-object/index.js +1 -1
- package/agnostic/objects/is-record/index.js +1 -1
- package/agnostic/objects/record-format/index.js +1 -1
- package/agnostic/objects/record-map/index.js +1 -1
- package/agnostic/objects/validation/index.js +1 -1
- package/agnostic/optim/index.js +1 -1
- package/agnostic/optim/memoize/index.js +1 -1
- package/agnostic/optim/throttle-debounce/index.js +1 -1
- package/agnostic/random/hex-char/index.js +1 -1
- package/agnostic/random/index.js +1 -1
- package/agnostic/random/random/index.js +1 -1
- package/agnostic/random/uuid/index.js +1 -1
- package/agnostic/regexps/index.js +1 -1
- package/agnostic/sanitization/index.js +4 -1280
- package/agnostic/strings/char-codes/index.js +1 -1
- package/agnostic/strings/index.js +12 -12
- package/agnostic/strings/matches/index.js +1 -1
- package/agnostic/strings/normalize-indent/index.js +1 -1
- package/agnostic/strings/replace-all/index.js +1 -1
- package/agnostic/strings/to-alphanum/index.js +1 -1
- package/agnostic/strings/trim/index.js +1 -1
- package/agnostic/time/dates/format-date/index.js +1 -1
- package/agnostic/time/dates/index.js +1 -1
- package/agnostic/time/duration/index.js +1 -1
- package/agnostic/time/index.js +4 -4
- package/agnostic/time/timeout/index.js +1 -1
- package/agnostic/time/transitions/index.js +1 -1
- package/agnostic/time/wait/index.js +1 -1
- package/chunks/chunk-24MJDYQE.js +18 -0
- package/chunks/{chunk-OYUM24PM.js → chunk-24ZUWYIR.js} +6 -6
- package/chunks/{chunk-MPYCQ5IF.js → chunk-2JH4TCT2.js} +1 -1
- package/chunks/{chunk-HNFSETMT.js → chunk-2V7TLVCV.js} +6 -6
- package/chunks/{chunk-6RJY3F7A.js → chunk-2VJ4QISD.js} +7 -7
- package/chunks/{chunk-CEY7OIFX.js → chunk-37TRFYZT.js} +1 -1
- package/chunks/{chunk-26V5RC4U.js → chunk-3CLGBOHN.js} +1 -1
- package/chunks/{chunk-UU35YSBK.js → chunk-3RLCDQOJ.js} +12 -12
- package/chunks/{chunk-LBDZQNBM.js → chunk-3TKBCG7Y.js} +5 -9
- package/chunks/{chunk-XFMKYZKH.js → chunk-3XRPOHUB.js} +1 -1
- package/chunks/{chunk-6STIUASQ.js → chunk-42K3MQQ5.js} +1 -1
- package/chunks/{chunk-AOWLA5T2.js → chunk-4BPSIDYW.js} +19 -19
- package/chunks/{chunk-KOBZRZBX.js → chunk-4EFX53Y4.js} +10 -6
- package/chunks/chunk-4KNB7WYD.js +19 -0
- package/chunks/{chunk-3J4WAVX6.js → chunk-4OK2UH4M.js} +7 -7
- package/chunks/{chunk-24O4C4HG.js → chunk-4W7NAQMC.js} +4 -4
- package/chunks/{chunk-5WARYKLO.js → chunk-4XBUJAQU.js} +10 -10
- package/chunks/{chunk-LF4VYSOT.js → chunk-4XSDRT23.js} +8 -9
- package/chunks/chunk-5BQFHNTR.js +21 -0
- package/chunks/chunk-5KVGIG6J.js +31 -0
- package/chunks/chunk-5PAFOSWF.js +16 -0
- package/chunks/{chunk-BTJ2JXDV.js → chunk-5VHFXWFM.js} +1 -1
- package/chunks/chunk-5XBCPKNW.js +18 -0
- package/chunks/{chunk-FWR7ZA4M.js → chunk-5ZJ3KJPK.js} +1 -1
- package/chunks/{chunk-QP5GNEJY.js → chunk-646R6BQZ.js} +6 -6
- package/chunks/chunk-6FMANHGH.js +15 -0
- package/chunks/{chunk-XIMUZN5X.js → chunk-6IYUA43Q.js} +1 -1
- package/chunks/{chunk-V7FJOKAC.js → chunk-6LDTWID7.js} +10 -10
- package/chunks/{chunk-YXIFWOKO.js → chunk-6NLNUGBI.js} +6 -6
- package/chunks/{chunk-AVVDAISH.js → chunk-74CFPDKM.js} +7 -7
- package/chunks/{chunk-KBOL3LMK.js → chunk-7CHYRYXJ.js} +34 -34
- package/chunks/{chunk-VSYAOEKE.js → chunk-7DV4CM2Z.js} +1 -1
- package/chunks/chunk-7HSB4A2G.js +31 -0
- package/chunks/{chunk-GZWZ5SSG.js → chunk-7J2AUDU2.js} +19 -19
- package/chunks/{chunk-2RFYHF6F.js → chunk-7J7CYOXU.js} +1 -1
- package/chunks/{chunk-HL6LO6QF.js → chunk-7KSMK42F.js} +7 -7
- package/chunks/chunk-ABQMMHCL.js +16 -0
- package/chunks/{chunk-J5TWVAJJ.js → chunk-AIC5YAJU.js} +7 -7
- package/chunks/{chunk-XDTFPTMG.js → chunk-AKCO3SNC.js} +33 -33
- package/chunks/{chunk-J467ZNXE.js → chunk-ANPXBD2G.js} +1 -1
- package/chunks/{chunk-M6B5J46K.js → chunk-AU6JLO5B.js} +3 -3
- package/chunks/chunk-AW3I75FU.js +79 -0
- package/chunks/{chunk-OSZCNQBA.js → chunk-AY7SJG3R.js} +11 -11
- package/chunks/chunk-B5C6VXNI.js +18 -0
- package/chunks/{chunk-HY7RNBYE.js → chunk-BD56ZAYF.js} +7 -7
- package/chunks/{chunk-5HE6JLK7.js → chunk-BE7OXZRK.js} +1 -1
- package/chunks/{chunk-EAV5YDBD.js → chunk-BGSJ5XCH.js} +3 -3
- package/chunks/chunk-BN4MCFBZ.js +35 -0
- package/chunks/{chunk-YQ7FI6RT.js → chunk-BP3KL5L2.js} +9 -9
- package/chunks/chunk-BSLVDJVW.js +32 -0
- package/chunks/{chunk-EHLTUOGZ.js → chunk-BSUQNHAM.js} +1 -1
- package/chunks/chunk-BVPHULMY.js +21 -0
- package/chunks/{chunk-TQZ46CBX.js → chunk-BWYH445G.js} +1 -1
- package/chunks/{chunk-ME7RF24X.js → chunk-C2MFLI7A.js} +16 -16
- package/chunks/{chunk-3G4NTP23.js → chunk-C6QTHDDM.js} +8 -9
- package/chunks/{chunk-WQD2VKTO.js → chunk-CA3UPHYO.js} +6 -6
- package/chunks/{chunk-AXTDGCSY.js → chunk-CAV4FNVR.js} +19 -19
- package/chunks/chunk-CGITTQIW.js +42 -0
- package/chunks/{chunk-HP722G2E.js → chunk-CHKEZ72M.js} +4 -24
- package/chunks/chunk-CKENYYWH.js +28 -0
- package/chunks/{chunk-FR3BXMR5.js → chunk-CNYSX2L2.js} +1 -1
- package/chunks/{chunk-FTOEQNF6.js → chunk-CVDCTI7F.js} +1 -1
- package/chunks/{chunk-4XS5UIQF.js → chunk-CWZFRUBS.js} +1 -1
- package/chunks/{chunk-TLYXVMR5.js → chunk-CXUWFKJG.js} +6 -6
- package/chunks/{chunk-7WYDM5OX.js → chunk-CYBPWE5F.js} +1 -1
- package/chunks/chunk-D67AGMZF.js +23 -0
- package/chunks/{chunk-ZWWJ52EY.js → chunk-D7PZ7633.js} +8 -8
- package/chunks/{chunk-4MLQ42IU.js → chunk-DPQRXSZH.js} +6 -6
- package/chunks/chunk-ELPQUBKJ.js +30 -0
- package/chunks/chunk-EOTOFHUR.js +42 -0
- package/chunks/chunk-EWQDQMIO.js +22 -0
- package/chunks/{chunk-V4YB22WN.js → chunk-EZ22Z22X.js} +7 -7
- package/chunks/chunk-F4GFAM6X.js +31 -0
- package/chunks/{chunk-MP6CL7F7.js → chunk-FB3GNE2B.js} +1 -1
- package/chunks/chunk-FCB366FH.js +40 -0
- package/chunks/chunk-FD5WR2A5.js +63 -0
- package/chunks/{chunk-NX2FQWHA.js → chunk-FE4DECBU.js} +1 -1
- package/chunks/{chunk-QKK6WQDI.js → chunk-FF5NURFO.js} +1 -1
- package/chunks/chunk-FI675VZO.js +11609 -0
- package/chunks/chunk-FRJBHV4A.js +21 -0
- package/chunks/{chunk-JJA4KGAD.js → chunk-FS6LRTDK.js} +6 -6
- package/chunks/chunk-G4Y2EOVP.js +18 -0
- package/chunks/{chunk-UBJACMOZ.js → chunk-G5RRNREY.js} +4 -4
- package/chunks/chunk-GE7DNPF6.js +63 -0
- package/chunks/chunk-GGYWRA4A.js +231 -0
- package/chunks/chunk-GKCKBPY2.js +16 -0
- package/chunks/chunk-GZIEUPBF.js +18 -0
- package/chunks/{chunk-DJ7ABCYK.js → chunk-H4LW6FP3.js} +6 -6
- package/chunks/{chunk-HDGHODNO.js → chunk-H5O26IRG.js} +7 -7
- package/chunks/{chunk-LUZ7ZWWJ.js → chunk-HD7QU6D6.js} +11 -11
- package/chunks/{chunk-NCLB3UH3.js → chunk-HKTNK262.js} +1 -1
- package/chunks/{chunk-54B7VIY6.js → chunk-HRNDUTZE.js} +1 -1
- package/chunks/{chunk-TEQE3HY3.js → chunk-HRWQVASA.js} +14 -14
- package/chunks/{chunk-5RA25FYM.js → chunk-HWEGQVBQ.js} +1 -1
- package/chunks/{chunk-G2XDDBWE.js → chunk-HWVEI3RH.js} +1 -1
- package/chunks/chunk-HX5PHI2P.js +42 -0
- package/chunks/{chunk-2DYDNCZK.js → chunk-HY4V3SPP.js} +22 -22
- package/chunks/chunk-IFZ4CMF4.js +16 -0
- package/chunks/{chunk-H4NHF72W.js → chunk-IV75M3KE.js} +6 -8
- package/chunks/chunk-JAENHN5Z.js +42 -0
- package/chunks/chunk-JNQPNZTB.js +42 -0
- package/chunks/{chunk-B5OUYMUU.js → chunk-JQAOGZPV.js} +4 -4
- package/chunks/{chunk-NP5UEOSJ.js → chunk-JTJA7DGW.js} +2 -2
- package/chunks/chunk-JV6I54AC.js +16 -0
- package/chunks/{chunk-5CYREVPP.js → chunk-KJAEVOIW.js} +1 -1
- package/chunks/chunk-KOD5LUT3.js +28 -0
- package/chunks/{chunk-ESUBE7BB.js → chunk-KQCU3AXU.js} +6 -6
- package/chunks/{chunk-SCOY7PVB.js → chunk-KRICEY6O.js} +4 -4
- package/chunks/chunk-KUT7FQGS.js +16 -0
- package/chunks/chunk-LJO4SDD2.js +79 -0
- package/chunks/{chunk-KPYPESIY.js → chunk-LNL6TUDC.js} +14 -14
- package/chunks/chunk-LQ2H2YVS.js +60 -0
- package/chunks/chunk-LQ3PCG4Z.js +18 -0
- package/chunks/chunk-LRBVQNQI.js +40 -0
- package/chunks/chunk-LSZVKXDZ.js +37 -0
- package/chunks/chunk-LV4WOREW.js +40 -0
- package/chunks/chunk-LVCQ3CSC.js +21 -0
- package/chunks/chunk-M32C4GP2.js +15 -0
- package/chunks/{chunk-MYCT3HYF.js → chunk-MJFB3YE6.js} +3 -3
- package/chunks/chunk-MJMBDBEH.js +69 -0
- package/chunks/chunk-MKHTR43Q.js +231 -0
- package/chunks/{chunk-A3VTK5UF.js → chunk-N2T672IG.js} +1 -1
- package/chunks/chunk-NFSRT4ED.js +18 -0
- package/chunks/chunk-NHKKX4F7.js +18 -0
- package/chunks/{chunk-JZ6Z7V7F.js → chunk-NJVVOZVZ.js} +4 -4
- package/chunks/{chunk-Z2VDSEND.js → chunk-NMYVJJXV.js} +1 -1
- package/chunks/{chunk-4PAHEIPV.js → chunk-NOLQR5RW.js} +6 -6
- package/chunks/{chunk-YU5NILJC.js → chunk-NWGNIT4B.js} +3 -3
- package/chunks/chunk-O3V5DTNL.js +40 -0
- package/chunks/chunk-O6TWC4IK.js +56 -0
- package/chunks/{chunk-TOGOF74B.js → chunk-OA7Y2A5T.js} +6 -6
- package/chunks/chunk-OAGKCS7I.js +24 -0
- package/chunks/chunk-OMLGI3Y2.js +16 -0
- package/chunks/{chunk-2UPQ73EE.js → chunk-ON6LC3HE.js} +12 -11
- package/chunks/chunk-OT4SVHDX.js +11609 -0
- package/chunks/{chunk-6NZOSESD.js → chunk-PAIUCLVK.js} +1 -1
- package/chunks/chunk-PFYLNAAX.js +24 -0
- package/chunks/{chunk-HUT6SDJH.js → chunk-PGT5NXPS.js} +129 -42
- package/chunks/chunk-Q2SKOY7I.js +37 -0
- package/chunks/{chunk-BOJEVEPB.js → chunk-QCOO4PV5.js} +1 -1
- package/chunks/{chunk-IOZR2LGL.js → chunk-QDVDHFMZ.js} +1 -1
- package/chunks/{chunk-SSJ5YQMJ.js → chunk-QH64MYGA.js} +1 -1
- package/chunks/{chunk-6SSGHEQX.js → chunk-QLDN574K.js} +1 -1
- package/chunks/chunk-QTF7LWGT.js +28 -0
- package/chunks/{chunk-FTGHUU73.js → chunk-QTPSR7ZJ.js} +15 -15
- package/chunks/{chunk-ZO5FRL3M.js → chunk-QVPS2BCJ.js} +1 -1
- package/chunks/{chunk-QQAPFSMW.js → chunk-QWZ4ZNFA.js} +10 -10
- package/chunks/chunk-R4BWUNSM.js +28 -0
- package/chunks/chunk-REXT5ZMP.js +32 -0
- package/chunks/{chunk-CXU3QPN2.js → chunk-REZC75LB.js} +1 -1
- package/chunks/chunk-RNLVCCL2.js +151 -0
- package/chunks/{chunk-GKTDEHC6.js → chunk-RWO53U4X.js} +1 -1
- package/chunks/chunk-RXBMGIPJ.js +42 -0
- package/chunks/chunk-SEYXG56Q.js +23 -0
- package/chunks/{chunk-PUPASUMS.js → chunk-SHXOKSK3.js} +2 -2
- package/chunks/chunk-SP7EOGMF.js +30 -0
- package/chunks/chunk-SX2M5777.js +177 -0
- package/chunks/{chunk-PPJYUWHH.js → chunk-TGVYEQIA.js} +1 -1
- package/chunks/chunk-TQHR6A2P.js +40 -0
- package/chunks/chunk-TSAR3HF6.js +35 -0
- package/chunks/chunk-U2KKX7UV.js +19 -0
- package/chunks/{chunk-IQUEVQBN.js → chunk-UEAMPAHK.js} +7 -7
- package/chunks/{chunk-LUETT72P.js → chunk-UJ5LGWZL.js} +1 -1
- package/chunks/{chunk-7WUVBSIC.js → chunk-UK2F7CWI.js} +1 -1
- package/chunks/{chunk-EEZ3NV4Q.js → chunk-UK4HNSEJ.js} +6 -6
- package/chunks/chunk-UX2O74SG.js +42 -0
- package/chunks/chunk-UXEKCYL7.js +28 -0
- package/chunks/{chunk-4IHBBNAG.js → chunk-V3GX7SIJ.js} +4 -8
- package/chunks/{chunk-YCNUTWOG.js → chunk-V3L55I2S.js} +1 -1
- package/chunks/chunk-VEKKX6Z5.js +173 -0
- package/chunks/chunk-VISMB7RN.js +60 -0
- package/chunks/chunk-VJHE6WHS.js +164 -0
- package/chunks/{chunk-IIXTJZ6G.js → chunk-VROZGPC5.js} +6 -8
- package/chunks/chunk-VSM742EZ.js +40 -0
- package/chunks/{chunk-FNIJLHH2.js → chunk-W3G73JUU.js} +3 -3
- package/chunks/{chunk-JKAHSFJD.js → chunk-W3RXHN5I.js} +1 -1
- package/chunks/{chunk-HGDSHJEX.js → chunk-WAHPAZQS.js} +1 -1
- package/chunks/{chunk-V7JZNA6N.js → chunk-WG56WT6T.js} +3 -3
- package/chunks/chunk-WHLM3KTR.js +20 -0
- package/chunks/chunk-WJ3XV35I.js +28 -0
- package/chunks/chunk-WKGSTVTK.js +28 -0
- package/chunks/chunk-WMDZHUBQ.js +56 -0
- package/chunks/chunk-WS3JRFP7.js +69 -0
- package/chunks/chunk-WSFCRVEQ.js +9 -0
- package/chunks/chunk-X33GT7VY.js +28 -0
- package/chunks/chunk-XJ23DJY4.js +173 -0
- package/chunks/chunk-XNJYYULL.js +177 -0
- package/chunks/chunk-XNWEMAIP.js +42 -0
- package/chunks/chunk-XOUITWSM.js +21 -0
- package/chunks/{chunk-P5CBBXGK.js → chunk-XOXH4XNN.js} +3 -3
- package/chunks/chunk-XQ4V4LVP.js +28 -0
- package/chunks/chunk-Y6EREGHZ.js +20 -0
- package/chunks/chunk-YB2KZLMN.js +65 -0
- package/chunks/chunk-YDIFL3IZ.js +151 -0
- package/chunks/chunk-YJE3G6BE.js +16 -0
- package/chunks/{chunk-NXV33ZSC.js → chunk-YKPA3MQL.js} +1 -1
- package/chunks/chunk-YVWQXQTE.js +42 -0
- package/chunks/{chunk-S3GEV44K.js → chunk-Z4B2Z7QO.js} +124 -37
- package/chunks/{chunk-NHMEZ6ZP.js → chunk-ZEZCYPLQ.js} +6 -8
- package/chunks/chunk-ZH3QMMVD.js +28 -0
- package/chunks/{chunk-B7E3DQ4Z.js → chunk-ZJTWDCNZ.js} +1 -1
- package/chunks/chunk-ZKAK6JOS.js +98 -0
- package/chunks/chunk-ZN6IQRZT.js +141 -0
- package/chunks/{chunk-Z566RJUU.js → chunk-ZNA7SWFK.js} +1 -1
- package/chunks/chunk-ZQY2MR66.js +42 -0
- package/chunks/{chunk-ZAIWJI6A.js → chunk-ZSUG52DO.js} +6 -8
- package/chunks/chunk-ZUQEHFGL.js +42 -0
- package/components/Comp/index.js +1 -1
- package/node/@aws-s3/index.js +15 -16
- package/node/@aws-s3/storage/directory/copy-dir/index.js +2 -3
- package/node/@aws-s3/storage/directory/index.js +8 -9
- package/node/@aws-s3/storage/directory/list/index.js +2 -3
- package/node/@aws-s3/storage/directory/move-dir/index.js +2 -3
- package/node/@aws-s3/storage/directory/remove-dir/index.js +2 -3
- package/node/@aws-s3/storage/file/copy/index.js +2 -3
- package/node/@aws-s3/storage/file/download/index.js +2 -3
- package/node/@aws-s3/storage/file/exists/index.js +2 -3
- package/node/@aws-s3/storage/file/index.js +11 -12
- package/node/@aws-s3/storage/file/move/index.js +2 -3
- package/node/@aws-s3/storage/file/remove/index.js +2 -3
- package/node/@aws-s3/storage/file/stat/index.js +2 -3
- package/node/@aws-s3/storage/file/upload/index.js +2 -3
- package/node/@aws-s3/storage/index.js +15 -16
- package/node/@design-edito/index.js +1 -1
- package/node/@express/@multer/index.js +2 -2
- package/node/@express/index.js +2 -2
- package/node/@google-cloud/index.js +22 -22
- package/node/@google-cloud/storage/bucket/get-metadata/index.js +2 -2
- package/node/@google-cloud/storage/bucket/index.js +8 -8
- package/node/@google-cloud/storage/directory/copy-dir/index.js +2 -2
- package/node/@google-cloud/storage/directory/index.js +8 -8
- package/node/@google-cloud/storage/directory/list/index.js +2 -2
- package/node/@google-cloud/storage/directory/move-dir/index.js +2 -2
- package/node/@google-cloud/storage/directory/remove-dir/index.js +2 -2
- package/node/@google-cloud/storage/file/copy/index.js +2 -2
- package/node/@google-cloud/storage/file/download/index.js +2 -2
- package/node/@google-cloud/storage/file/exists/index.js +2 -2
- package/node/@google-cloud/storage/file/generate-signed-url/index.js +2 -2
- package/node/@google-cloud/storage/file/get-metadata/index.js +2 -2
- package/node/@google-cloud/storage/file/get-permissions/index.js +2 -2
- package/node/@google-cloud/storage/file/index.js +19 -19
- package/node/@google-cloud/storage/file/move/index.js +2 -2
- package/node/@google-cloud/storage/file/remove/index.js +2 -2
- package/node/@google-cloud/storage/file/revoke-signed-urls/index.js +5 -5
- package/node/@google-cloud/storage/file/stat/index.js +2 -2
- package/node/@google-cloud/storage/file/update-metadata/index.js +2 -2
- package/node/@google-cloud/storage/file/upload/index.js +2 -2
- package/node/@google-cloud/storage/index.js +24 -24
- package/node/cloud-storage/clients/index.js +2 -3
- package/node/cloud-storage/index.js +58 -59
- package/node/cloud-storage/operations/copy-dir/index.js +7 -8
- package/node/cloud-storage/operations/copy-file/index.js +7 -8
- package/node/cloud-storage/operations/download-file/index.js +7 -8
- package/node/cloud-storage/operations/exists-file/index.js +7 -8
- package/node/cloud-storage/operations/index.js +63 -64
- package/node/cloud-storage/operations/list-dir/index.js +7 -8
- package/node/cloud-storage/operations/move-dir/index.js +7 -8
- package/node/cloud-storage/operations/move-file/index.js +7 -8
- package/node/cloud-storage/operations/remove-dir/index.js +7 -8
- package/node/cloud-storage/operations/remove-file/index.js +7 -8
- package/node/cloud-storage/operations/stat-file/index.js +7 -8
- package/node/cloud-storage/operations/upload-file/index.js +7 -8
- package/node/encryption/@aes-256-gcm/buffer/index.js +3 -3
- package/node/encryption/@aes-256-gcm/index.js +4 -4
- package/node/encryption/@aes-256-gcm/uint8-array/index.js +2 -2
- package/node/encryption/index.js +5 -5
- package/node/encryption/key/index.js +2 -2
- package/node/files/index.js +5 -5
- package/node/files/is-in-directory/index.js +1 -1
- package/node/files/read-write/index.js +1 -1
- package/node/files/subpaths/index.js +1 -1
- package/node/ftps/directory/copy-dir/index.js +2 -2
- package/node/ftps/directory/index.js +8 -8
- package/node/ftps/directory/list/index.js +2 -2
- package/node/ftps/directory/move-dir/index.js +2 -2
- package/node/ftps/directory/remove-dir/index.js +2 -2
- package/node/ftps/file/copy/index.js +2 -2
- package/node/ftps/file/download/index.js +2 -2
- package/node/ftps/file/exists/index.js +2 -2
- package/node/ftps/file/index.js +11 -11
- package/node/ftps/file/move/index.js +2 -2
- package/node/ftps/file/remove/index.js +2 -2
- package/node/ftps/file/stat/index.js +2 -2
- package/node/ftps/file/upload/index.js +2 -2
- package/node/ftps/index.js +14 -14
- package/node/images/format/index.js +3 -3
- package/node/images/index.js +35 -35
- package/node/images/prepare/index.js +35 -35
- package/node/images/transform/_utils/color-schema/index.js +3 -3
- package/node/images/transform/_utils/operation-names/index.js +1 -1
- package/node/images/transform/_utils/positions/index.d.ts +8 -22
- package/node/images/transform/_utils/positions/index.js +3 -3
- package/node/images/transform/blur/index.js +3 -3
- package/node/images/transform/brighten/index.js +3 -3
- package/node/images/transform/compose/index.js +5 -5
- package/node/images/transform/extend/index.js +4 -4
- package/node/images/transform/extract/index.js +3 -3
- package/node/images/transform/flatten/index.js +4 -4
- package/node/images/transform/flip/index.js +3 -3
- package/node/images/transform/flop/index.js +3 -3
- package/node/images/transform/frame/backgrounds/create-line-background/index.d.ts +34 -127
- package/node/images/transform/frame/backgrounds/create-line-background/index.js +3 -3
- package/node/images/transform/frame/backgrounds/create-tile-background/index.d.ts +75 -76
- package/node/images/transform/frame/backgrounds/create-tile-background/index.js +3 -3
- package/node/images/transform/frame/index.js +7 -7
- package/node/images/transform/hue-rotate/index.js +3 -3
- package/node/images/transform/index.js +33 -33
- package/node/images/transform/lighten/index.js +3 -3
- package/node/images/transform/lineate-levels/index.js +3 -3
- package/node/images/transform/modulate/index.js +3 -3
- package/node/images/transform/normalize/index.js +3 -3
- package/node/images/transform/operations/_utils/compose/index.js +1 -1
- package/node/images/transform/operations/_utils/frame/backgrounds/create-line-background/index.js +5 -5
- package/node/images/transform/operations/_utils/frame/backgrounds/create-tile-background/index.js +1 -1
- package/node/images/transform/operations/_utils/frame/create-color-palette/index.js +5 -5
- package/node/images/transform/operations/_utils/frame/extract-colors-from-image/index.js +1 -1
- package/node/images/transform/operations/_utils/frame/index.js +8 -8
- package/node/images/transform/operations/_utils/positions/index.js +1 -1
- package/node/images/transform/operations/_utils/scale/index.js +1 -1
- package/node/images/transform/resize/index.js +4 -4
- package/node/images/transform/rotate/index.js +3 -3
- package/node/images/transform/saturate/index.js +3 -3
- package/node/images/transform/scale/index.js +4 -4
- package/node/process/index.js +1 -1
- package/node/process/on-exit/index.js +1 -1
- package/node/sftp/directory/copy-dir/index.js +2 -2
- package/node/sftp/directory/index.js +8 -8
- package/node/sftp/directory/list/index.js +2 -2
- package/node/sftp/directory/move-dir/index.js +2 -2
- package/node/sftp/directory/remove-dir/index.js +2 -2
- package/node/sftp/file/copy/index.js +2 -2
- package/node/sftp/file/download/index.js +2 -2
- package/node/sftp/file/exists/index.js +2 -2
- package/node/sftp/file/index.js +11 -11
- package/node/sftp/file/move/index.js +2 -2
- package/node/sftp/file/remove/index.js +2 -2
- package/node/sftp/file/stat/index.js +2 -2
- package/node/sftp/file/upload/index.js +2 -2
- package/node/sftp/index.js +14 -14
- package/package.json +9 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/setproperties/index.d.ts +0 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/setproperties/index.js +0 -21
- package/agnostic/misc/crossenv/get-document/index.d.ts +0 -2
- package/agnostic/misc/crossenv/get-document/index.js +0 -7
- package/agnostic/misc/crossenv/get-window/browser.d.ts +0 -2
- package/agnostic/misc/crossenv/get-window/index.d.ts +0 -2
- package/agnostic/misc/crossenv/get-window/index.js +0 -6
- package/agnostic/misc/crossenv/types.d.ts +0 -3
- package/chunks/chunk-2ALVFCSP.js +0 -211
- package/chunks/chunk-2NXYSAFE.js +0 -67
- package/chunks/chunk-2YGNPA2R.js +0 -79
- package/chunks/chunk-34C35EX6.js +0 -16
- package/chunks/chunk-36CTYZYA.js +0 -28
- package/chunks/chunk-45S766KF.js +0 -15
- package/chunks/chunk-4GUDL44X.js +0 -13
- package/chunks/chunk-4QQBKBYH.js +0 -59
- package/chunks/chunk-5HW7QLTB.js +0 -35
- package/chunks/chunk-5IR2PWO6.js +0 -211
- package/chunks/chunk-73FTH5T3.js +0 -211
- package/chunks/chunk-73V5RDSG.js +0 -13
- package/chunks/chunk-7647NLB2.js +0 -16
- package/chunks/chunk-B446JIN3.js +0 -29
- package/chunks/chunk-BEZTX3QU.js +0 -1
- package/chunks/chunk-BVCNQIKY.js +0 -18
- package/chunks/chunk-BW5CY5YB.js +0 -1
- package/chunks/chunk-CHUOCTRP.js +0 -26
- package/chunks/chunk-DIPJ73JH.js +0 -1
- package/chunks/chunk-DRH7Q4FL.js +0 -127
- package/chunks/chunk-E3NHW6J4.js +0 -211
- package/chunks/chunk-EAY65ZP6.js +0 -22
- package/chunks/chunk-EFFU6KXJ.js +0 -1
- package/chunks/chunk-EW46EXFB.js +0 -8
- package/chunks/chunk-EWQZUF22.js +0 -211
- package/chunks/chunk-EZW6DNPL.js +0 -23
- package/chunks/chunk-FCU6IHKD.js +0 -15
- package/chunks/chunk-FTDA7PRI.js +0 -2405
- package/chunks/chunk-FVPFKY5G.js +0 -2391
- package/chunks/chunk-GDYVCEWA.js +0 -38
- package/chunks/chunk-HCNRPWKW.js +0 -63
- package/chunks/chunk-HEJV6JIO.js +0 -133
- package/chunks/chunk-HLUWFMD7.js +0 -67
- package/chunks/chunk-HRWQ4TUA.js +0 -2405
- package/chunks/chunk-HZJY7N36.js +0 -2405
- package/chunks/chunk-IJIE2SLT.js +0 -211
- package/chunks/chunk-IPB3U2PD.js +0 -278
- package/chunks/chunk-IY44AG73.js +0 -69
- package/chunks/chunk-IZP4VIFZ.js +0 -35933
- package/chunks/chunk-JEYO7UP7.js +0 -44
- package/chunks/chunk-JFWEEBSR.js +0 -18
- package/chunks/chunk-JKISSFTR.js +0 -211
- package/chunks/chunk-JWF5EKM2.js +0 -127
- package/chunks/chunk-KH45J4DC.js +0 -48
- package/chunks/chunk-KNE7WIIW.js +0 -1
- package/chunks/chunk-LCFDDWJR.js +0 -278
- package/chunks/chunk-LCLAV6Q2.js +0 -1
- package/chunks/chunk-LVPFSXKA.js +0 -37
- package/chunks/chunk-LYMZZ4BB.js +0 -22
- package/chunks/chunk-MF56TTC5.js +0 -15
- package/chunks/chunk-MQ4Y3GBI.js +0 -19
- package/chunks/chunk-N4EJZLME.js +0 -21
- package/chunks/chunk-N7FA7QJK.js +0 -30
- package/chunks/chunk-NQNEYA4Z.js +0 -32
- package/chunks/chunk-O4AEYNFT.js +0 -16
- package/chunks/chunk-OO5SJJDW.js +0 -35
- package/chunks/chunk-P5TKDJ4T.js +0 -37
- package/chunks/chunk-PCAKH6ZJ.js +0 -1
- package/chunks/chunk-PO3V3I57.js +0 -23
- package/chunks/chunk-Q7XL3D4H.js +0 -37
- package/chunks/chunk-QQRJPDR7.js +0 -1
- package/chunks/chunk-R2H52CYP.js +0 -44
- package/chunks/chunk-R6KCN6CK.js +0 -40
- package/chunks/chunk-RUCTSKYQ.js +0 -2391
- package/chunks/chunk-S23WCXQK.js +0 -211
- package/chunks/chunk-S4FNXSMM.js +0 -18
- package/chunks/chunk-SA2IY5LN.js +0 -35
- package/chunks/chunk-SQZGZ3VT.js +0 -15
- package/chunks/chunk-T4KFB6QN.js +0 -4072
- package/chunks/chunk-UFKH5WD2.js +0 -21
- package/chunks/chunk-UOWPJDWO.js +0 -37
- package/chunks/chunk-UQVDRQ77.js +0 -2391
- package/chunks/chunk-UWAMSJ2X.js +0 -28
- package/chunks/chunk-VA6HXRX4.js +0 -211
- package/chunks/chunk-VDNIN3V5.js +0 -23
- package/chunks/chunk-W3MRYBZJ.js +0 -37
- package/chunks/chunk-W7YBGJ4H.js +0 -28
- package/chunks/chunk-WECTUHS5.js +0 -127
- package/chunks/chunk-WHGU2Q46.js +0 -31
- package/chunks/chunk-WTAMA5WX.js +0 -37
- package/chunks/chunk-WZ2EV5JB.js +0 -211
- package/chunks/chunk-WZBNXYN3.js +0 -1
- package/chunks/chunk-X2DODW4G.js +0 -211
- package/chunks/chunk-X7KWB2VQ.js +0 -21
- package/chunks/chunk-XCKXCF4A.js +0 -1
- package/chunks/chunk-XI2XIH6L.js +0 -2391
- package/chunks/chunk-XKMSDS3Z.js +0 -18
- package/chunks/chunk-XYNIGHGL.js +0 -654
- package/chunks/chunk-YCX3R64F.js +0 -211
- package/chunks/chunk-YMPNQJ4Z.js +0 -21
- package/chunks/chunk-YVUJ4WBL.js +0 -16
- package/chunks/chunk-YYE2MVZO.js +0 -211
- package/chunks/chunk-ZB73RE7P.js +0 -35
- package/chunks/chunk-ZONKYNKA.js +0 -28
- package/chunks/chunk-ZUWQPR2N.js +0 -37
- package/chunks/chunk-ZVJO36JU.js +0 -1
- package/index.d.ts +0 -3
- package/index.js +0 -96
- package/utils/agnostic/absolute-modulo/index.d.ts +0 -1
- package/utils/agnostic/absolute-modulo/index.js +0 -1
- package/utils/agnostic/array/index.d.ts +0 -7
- package/utils/agnostic/array/index.js +0 -1
- package/utils/agnostic/assert/index.d.ts +0 -3
- package/utils/agnostic/assert/index.js +0 -1
- package/utils/agnostic/await-timeout/index.d.ts +0 -2
- package/utils/agnostic/await-timeout/index.js +0 -1
- package/utils/agnostic/bem/BEM.d.ts +0 -29
- package/utils/agnostic/bem/getNamesArr.d.ts +0 -2
- package/utils/agnostic/bem/index.d.ts +0 -5
- package/utils/agnostic/bem/index.js +0 -1
- package/utils/agnostic/cast/index.d.ts +0 -7
- package/utils/agnostic/cast/index.js +0 -1
- package/utils/agnostic/charcode-string/index.d.ts +0 -2
- package/utils/agnostic/charcode-string/index.js +0 -1
- package/utils/agnostic/clamp/index.d.ts +0 -1
- package/utils/agnostic/clamp/index.js +0 -1
- package/utils/agnostic/clientside-html-sanitizer/index.d.ts +0 -22
- package/utils/agnostic/clientside-html-sanitizer/index.js +0 -1
- package/utils/agnostic/crossenv/index.d.ts +0 -11
- package/utils/agnostic/crossenv/index.js +0 -1
- package/utils/agnostic/flatten-getters/index.d.ts +0 -1
- package/utils/agnostic/flatten-getters/index.js +0 -1
- package/utils/agnostic/generate-html-placeholders/index.d.ts +0 -7
- package/utils/agnostic/generate-html-placeholders/index.js +0 -5
- package/utils/agnostic/generate-nice-color/index.d.ts +0 -3
- package/utils/agnostic/generate-nice-color/index.js +0 -1
- package/utils/agnostic/insert-node/index.d.ts +0 -2
- package/utils/agnostic/insert-node/index.js +0 -1
- package/utils/agnostic/interpolate/index.d.ts +0 -3
- package/utils/agnostic/interpolate/index.js +0 -1
- package/utils/agnostic/is-array-of/index.d.ts +0 -5
- package/utils/agnostic/is-array-of/index.js +0 -1
- package/utils/agnostic/is-constructor-function/index.d.ts +0 -2
- package/utils/agnostic/is-constructor-function/index.js +0 -1
- package/utils/agnostic/is-falsy/index.d.ts +0 -8
- package/utils/agnostic/is-falsy/index.js +0 -1
- package/utils/agnostic/is-in-enum/index.d.ts +0 -1
- package/utils/agnostic/is-in-enum/index.js +0 -1
- package/utils/agnostic/is-nullish/index.d.ts +0 -5
- package/utils/agnostic/is-nullish/index.js +0 -1
- package/utils/agnostic/is-object/index.d.ts +0 -1
- package/utils/agnostic/is-object/index.js +0 -1
- package/utils/agnostic/is-record/index.d.ts +0 -1
- package/utils/agnostic/is-record/index.js +0 -1
- package/utils/agnostic/is-valid-css-class-name/index.d.ts +0 -2
- package/utils/agnostic/is-valid-css-class-name/index.js +0 -1
- package/utils/agnostic/memoize/index.d.ts +0 -3
- package/utils/agnostic/memoize/index.js +0 -1
- package/utils/agnostic/object-validate-from-partial/index.d.ts +0 -1
- package/utils/agnostic/object-validate-from-partial/index.js +0 -1
- package/utils/agnostic/random/index.d.ts +0 -9
- package/utils/agnostic/random/index.js +0 -1
- package/utils/agnostic/record-format/index.d.ts +0 -11
- package/utils/agnostic/record-format/index.js +0 -1
- package/utils/agnostic/regexp/index.d.ts +0 -21
- package/utils/agnostic/regexp/index.js +0 -1
- package/utils/agnostic/replace-all/index.d.ts +0 -1
- package/utils/agnostic/replace-all/index.js +0 -1
- package/utils/agnostic/responsive-harmonics/index.d.ts +0 -10
- package/utils/agnostic/responsive-harmonics/index.js +0 -1
- package/utils/agnostic/round-numbers/index.d.ts +0 -1
- package/utils/agnostic/round-numbers/index.js +0 -1
- package/utils/agnostic/selector-to-element/index.d.ts +0 -1
- package/utils/agnostic/selector-to-element/index.js +0 -1
- package/utils/agnostic/silent-log/index.d.ts +0 -53
- package/utils/agnostic/silent-log/index.js +0 -9
- package/utils/agnostic/str-to-nodes/index.d.ts +0 -7
- package/utils/agnostic/str-to-nodes/index.js +0 -1
- package/utils/agnostic/string-matches/index.d.ts +0 -4
- package/utils/agnostic/string-matches/index.js +0 -1
- package/utils/agnostic/string-normalize-indent/index.d.ts +0 -1
- package/utils/agnostic/string-normalize-indent/index.js +0 -3
- package/utils/agnostic/throttle-debounce/index.d.ts +0 -30
- package/utils/agnostic/throttle-debounce/index.js +0 -1
- package/utils/agnostic/throttle-debounce/types.d.ts +0 -3
- package/utils/agnostic/to-alphanum/index.d.ts +0 -1
- package/utils/agnostic/to-alphanum/index.js +0 -1
- package/utils/agnostic/transition/index.d.ts +0 -39
- package/utils/agnostic/transition/index.js +0 -1
- package/utils/agnostic/wait/index.d.ts +0 -1
- package/utils/agnostic/wait/index.js +0 -1
- package/utils/browser/dynamic-css/index.d.ts +0 -4
- package/utils/browser/dynamic-css/index.js +0 -2
- package/utils/browser/get-current-downlink/index.d.ts +0 -1
- package/utils/browser/get-current-downlink/index.js +0 -1
- package/utils/browser/get-node-ancestors/index.d.ts +0 -1
- package/utils/browser/get-node-ancestors/index.js +0 -1
- package/utils/node/is-in-directory/index.d.ts +0 -1
- package/utils/node/is-in-directory/index.js +0 -1
- package/utils/node/list-subpaths/index.d.ts +0 -33
- package/utils/node/list-subpaths/index.js +0 -1
- package/utils/node/process-exit/index.d.ts +0 -5
- package/utils/node/process-exit/index.js +0 -1
- package/utils/node/read-write-file/index.d.ts +0 -12
- package/utils/node/read-write-file/index.js +0 -1
- package/chunks/{chunk-33GNX62K.js → chunk-3BSVGWTK.js} +6 -6
- package/chunks/{chunk-H5HM5EBO.js → chunk-6V6SYSHX.js} +5 -5
- package/chunks/{chunk-6LY5FJXY.js → chunk-OL4JB46K.js} +11 -11
- package/chunks/{chunk-DCKTGQOX.js → chunk-OVG5RGI3.js} +4 -4
- package/chunks/{chunk-2COSSNOE.js → chunk-SAFV7TBT.js} +6 -6
- package/chunks/{chunk-LMF52IW7.js → chunk-XTOAQTLP.js} +4 -4
@@ -0,0 +1,28 @@
|
|
1
|
+
import {
|
2
|
+
get_metadata_exports
|
3
|
+
} from "./chunk-ZNA7SWFK.js";
|
4
|
+
import {
|
5
|
+
remove_dir_exports
|
6
|
+
} from "./chunk-QLDN574K.js";
|
7
|
+
import {
|
8
|
+
list_exports
|
9
|
+
} from "./chunk-37TRFYZT.js";
|
10
|
+
import {
|
11
|
+
move_dir_exports
|
12
|
+
} from "./chunk-BWYH445G.js";
|
13
|
+
import {
|
14
|
+
__export
|
15
|
+
} from "./chunk-WSFCRVEQ.js";
|
16
|
+
|
17
|
+
// src/node/@google-cloud/storage/bucket/index.ts
|
18
|
+
var bucket_exports = {};
|
19
|
+
__export(bucket_exports, {
|
20
|
+
GetMetadata: () => get_metadata_exports,
|
21
|
+
List: () => list_exports,
|
22
|
+
MoveDir: () => move_dir_exports,
|
23
|
+
RemoveDir: () => remove_dir_exports
|
24
|
+
});
|
25
|
+
|
26
|
+
export {
|
27
|
+
bucket_exports
|
28
|
+
};
|
@@ -1,10 +1,6 @@
|
|
1
1
|
import {
|
2
|
-
|
3
|
-
} from "./chunk-
|
4
|
-
import {
|
5
|
-
__export,
|
6
|
-
__toESM
|
7
|
-
} from "./chunk-KH45J4DC.js";
|
2
|
+
__export
|
3
|
+
} from "./chunk-WSFCRVEQ.js";
|
8
4
|
|
9
5
|
// src/node/cloud-storage/clients/index.ts
|
10
6
|
var clients_exports = {};
|
@@ -14,12 +10,12 @@ __export(clients_exports, {
|
|
14
10
|
isS3ClientWithBucket: () => isS3ClientWithBucket,
|
15
11
|
isSftpClient: () => isSftpClient
|
16
12
|
});
|
17
|
-
var import_client_s3 = __toESM(require_dist_cjs(), 1);
|
18
13
|
import { Bucket as GCSBucket } from "@google-cloud/storage";
|
14
|
+
import { S3Client } from "@aws-sdk/client-s3";
|
19
15
|
import { Client as FtpClient } from "basic-ftp";
|
20
16
|
import SftpClient from "ssh2-sftp-client";
|
21
17
|
var isGcsBucket = (client) => client instanceof GCSBucket;
|
22
|
-
var isS3ClientWithBucket = (client) => "bucketName" in client && typeof client.bucketName === "string" && "client" in client && client.client instanceof
|
18
|
+
var isS3ClientWithBucket = (client) => "bucketName" in client && typeof client.bucketName === "string" && "client" in client && client.client instanceof S3Client;
|
23
19
|
var isFtpClient = (client) => client instanceof FtpClient;
|
24
20
|
var isSftpClient = (client) => client instanceof SftpClient;
|
25
21
|
|
@@ -0,0 +1,173 @@
|
|
1
|
+
import {
|
2
|
+
Random
|
3
|
+
} from "./chunk-OVG5RGI3.js";
|
4
|
+
import {
|
5
|
+
register
|
6
|
+
} from "./chunk-SJLH36CH.js";
|
7
|
+
|
8
|
+
// src/agnostic/css/styles-set/index.tsx
|
9
|
+
import { Component } from "react";
|
10
|
+
import { createRoot as reactCreateRoot } from "react-dom/client";
|
11
|
+
import { Fragment, jsx } from "react/jsx-runtime";
|
12
|
+
var StylesSet = class _StylesSet {
|
13
|
+
static defaultPrivateIDAttribute = "data-styleset-private-id";
|
14
|
+
static defaultPublicIDAttribute = "data-styleset-public-id";
|
15
|
+
tagsPrivateIDAttribute = _StylesSet.defaultPrivateIDAttribute;
|
16
|
+
tagsPublicIDAttribute = _StylesSet.defaultPublicIDAttribute;
|
17
|
+
_items = /* @__PURE__ */ new Map();
|
18
|
+
get items() {
|
19
|
+
const sortedItemsArray = Array.from(this._items).map(([privateId, item]) => {
|
20
|
+
const targetPosition = this.getTargetPosition(privateId) ?? 0;
|
21
|
+
return { targetPosition, privateId, item };
|
22
|
+
}).sort((a, b) => a.targetPosition - b.targetPosition).map(({ item, privateId }) => [privateId, item]);
|
23
|
+
const sortedItemsMap = new Map(sortedItemsArray);
|
24
|
+
return sortedItemsMap;
|
25
|
+
}
|
26
|
+
getTargetPosition(privateId) {
|
27
|
+
const orderedStyles = Array.from(this._items).map(([privateId2, data]) => ({ privateId: privateId2, data })).sort((a, b) => {
|
28
|
+
const aPos = a.data.position ?? 0;
|
29
|
+
const bPos = b.data.position ?? 0;
|
30
|
+
return aPos - bPos;
|
31
|
+
});
|
32
|
+
const foundIndex = orderedStyles.findIndex((item) => item.privateId === privateId);
|
33
|
+
return foundIndex === -1 ? null : foundIndex;
|
34
|
+
}
|
35
|
+
setTagsPrivateIDAttribute(str) {
|
36
|
+
this.tagsPrivateIDAttribute = str;
|
37
|
+
return this;
|
38
|
+
}
|
39
|
+
setTagsPublicIDAttribute(str) {
|
40
|
+
this.tagsPublicIDAttribute = str;
|
41
|
+
return this;
|
42
|
+
}
|
43
|
+
getById(id) {
|
44
|
+
const found = Array.from(this._items.values()).find((entry) => entry.id === id);
|
45
|
+
if (found === void 0) return void 0;
|
46
|
+
return found;
|
47
|
+
}
|
48
|
+
generateUniquePrivateId() {
|
49
|
+
const existingIds = Array.from(this._items.keys());
|
50
|
+
const generated = Random.randomHash(12);
|
51
|
+
if (existingIds.includes(generated)) return this.generateUniquePrivateId();
|
52
|
+
return generated;
|
53
|
+
}
|
54
|
+
_rendered = /* @__PURE__ */ new Map();
|
55
|
+
render(element) {
|
56
|
+
const root = reactCreateRoot(element);
|
57
|
+
const items = this.items;
|
58
|
+
root.render(/* @__PURE__ */ jsx(
|
59
|
+
StylesSetComp,
|
60
|
+
{
|
61
|
+
items,
|
62
|
+
privateIDAttribute: this.tagsPrivateIDAttribute,
|
63
|
+
publicIDAttribute: this.tagsPublicIDAttribute
|
64
|
+
}
|
65
|
+
));
|
66
|
+
this._rendered.set(element, root);
|
67
|
+
return this;
|
68
|
+
}
|
69
|
+
unmount(element) {
|
70
|
+
if (!this._rendered.has(element)) return this;
|
71
|
+
const root = this._rendered.get(element);
|
72
|
+
if (root === void 0) return this;
|
73
|
+
root.unmount();
|
74
|
+
this._rendered.delete(element);
|
75
|
+
return this;
|
76
|
+
}
|
77
|
+
updateRendered() {
|
78
|
+
const { items } = this;
|
79
|
+
this._rendered.forEach((root) => root.render(/* @__PURE__ */ jsx(
|
80
|
+
StylesSetComp,
|
81
|
+
{
|
82
|
+
items,
|
83
|
+
privateIDAttribute: this.tagsPrivateIDAttribute,
|
84
|
+
publicIDAttribute: this.tagsPublicIDAttribute
|
85
|
+
}
|
86
|
+
)));
|
87
|
+
return this;
|
88
|
+
}
|
89
|
+
addItem(item, abortIfIdExists = true) {
|
90
|
+
const existing = Array.from(this._items.entries()).map(([privateId2, entry]) => ({ privateId: privateId2, entry })).find(({ entry }) => entry.id !== void 0 && entry.id === item.id);
|
91
|
+
if (existing !== void 0) {
|
92
|
+
if (abortIfIdExists) return this;
|
93
|
+
this._items.delete(existing.privateId);
|
94
|
+
}
|
95
|
+
const privateId = this.generateUniquePrivateId();
|
96
|
+
this._items.set(privateId, item);
|
97
|
+
this.updateRendered();
|
98
|
+
return this;
|
99
|
+
}
|
100
|
+
removeItem(idOrPosition) {
|
101
|
+
if (typeof idOrPosition === "string") {
|
102
|
+
const existing = Array.from(this._items.entries()).map(([privateId, entry]) => ({ privateId, entry })).find(({ entry }) => entry.id !== void 0 && entry.id === idOrPosition);
|
103
|
+
if (existing === void 0) return this;
|
104
|
+
this._items.delete(existing.privateId);
|
105
|
+
this.updateRendered();
|
106
|
+
return this;
|
107
|
+
}
|
108
|
+
const toRemove = Array.from(this._items).map(([privateId, entry]) => ({ privateId, entry })).at(idOrPosition);
|
109
|
+
if (toRemove === void 0) return this;
|
110
|
+
this._items.delete(toRemove.privateId);
|
111
|
+
this.updateRendered();
|
112
|
+
return this;
|
113
|
+
}
|
114
|
+
async getDomString(documentObj) {
|
115
|
+
const actualDocumentObj = documentObj ?? window.document;
|
116
|
+
if (actualDocumentObj === null) throw register.getError("no-window-document-on-runtime" /* NO_DOCUMENT */);
|
117
|
+
return new Promise((resolve) => {
|
118
|
+
const tempElt = actualDocumentObj.createElement("div");
|
119
|
+
const tempRoot = reactCreateRoot(tempElt);
|
120
|
+
const { items } = this;
|
121
|
+
const onRendered = () => {
|
122
|
+
resolve(tempElt.innerHTML);
|
123
|
+
tempRoot.unmount();
|
124
|
+
tempElt.remove();
|
125
|
+
};
|
126
|
+
tempRoot.render(/* @__PURE__ */ jsx(
|
127
|
+
StylesSetComp,
|
128
|
+
{
|
129
|
+
items,
|
130
|
+
privateIDAttribute: this.tagsPrivateIDAttribute,
|
131
|
+
publicIDAttribute: this.tagsPublicIDAttribute,
|
132
|
+
onRendered
|
133
|
+
}
|
134
|
+
));
|
135
|
+
});
|
136
|
+
}
|
137
|
+
};
|
138
|
+
var StylesSetComp = class extends Component {
|
139
|
+
componentDidMount() {
|
140
|
+
const { props } = this;
|
141
|
+
const { onRendered } = props;
|
142
|
+
if (onRendered !== void 0) onRendered();
|
143
|
+
}
|
144
|
+
componentDidUpdate() {
|
145
|
+
const { props } = this;
|
146
|
+
const { onRendered } = props;
|
147
|
+
if (onRendered !== void 0) onRendered();
|
148
|
+
}
|
149
|
+
render() {
|
150
|
+
const { props } = this;
|
151
|
+
const items = props.items ?? /* @__PURE__ */ new Map();
|
152
|
+
const pidAttr = props.privateIDAttribute ?? StylesSet.defaultPrivateIDAttribute;
|
153
|
+
const idAttr = props.publicIDAttribute ?? StylesSet.defaultPublicIDAttribute;
|
154
|
+
return /* @__PURE__ */ jsx(Fragment, { children: Array.from(items).map(([privateId, itemData]) => {
|
155
|
+
const customAttributes = { [pidAttr]: privateId, [idAttr]: itemData.id };
|
156
|
+
if (itemData.type === "url") return /* @__PURE__ */ jsx(
|
157
|
+
"link",
|
158
|
+
{
|
159
|
+
onLoad: itemData.onLoad,
|
160
|
+
rel: "stylesheet",
|
161
|
+
href: itemData.content,
|
162
|
+
...customAttributes
|
163
|
+
}
|
164
|
+
);
|
165
|
+
return /* @__PURE__ */ jsx("style", { ...customAttributes, children: itemData.content });
|
166
|
+
}) });
|
167
|
+
}
|
168
|
+
};
|
169
|
+
|
170
|
+
export {
|
171
|
+
StylesSet,
|
172
|
+
StylesSetComp
|
173
|
+
};
|
@@ -0,0 +1,60 @@
|
|
1
|
+
import {
|
2
|
+
revoke_signed_urls_exports
|
3
|
+
} from "./chunk-G5RRNREY.js";
|
4
|
+
import {
|
5
|
+
update_metadata_exports
|
6
|
+
} from "./chunk-HWVEI3RH.js";
|
7
|
+
import {
|
8
|
+
generate_signed_url_exports
|
9
|
+
} from "./chunk-PAIUCLVK.js";
|
10
|
+
import {
|
11
|
+
get_permissions_exports
|
12
|
+
} from "./chunk-YKPA3MQL.js";
|
13
|
+
import {
|
14
|
+
get_metadata_exports
|
15
|
+
} from "./chunk-42K3MQQ5.js";
|
16
|
+
import {
|
17
|
+
move_exports
|
18
|
+
} from "./chunk-6IYUA43Q.js";
|
19
|
+
import {
|
20
|
+
remove_exports
|
21
|
+
} from "./chunk-7J7CYOXU.js";
|
22
|
+
import {
|
23
|
+
stat_exports
|
24
|
+
} from "./chunk-W3RXHN5I.js";
|
25
|
+
import {
|
26
|
+
upload_exports
|
27
|
+
} from "./chunk-FB3GNE2B.js";
|
28
|
+
import {
|
29
|
+
download_exports
|
30
|
+
} from "./chunk-2JH4TCT2.js";
|
31
|
+
import {
|
32
|
+
copy_exports
|
33
|
+
} from "./chunk-CWZFRUBS.js";
|
34
|
+
import {
|
35
|
+
exists_exports
|
36
|
+
} from "./chunk-5VHFXWFM.js";
|
37
|
+
import {
|
38
|
+
__export
|
39
|
+
} from "./chunk-WSFCRVEQ.js";
|
40
|
+
|
41
|
+
// src/node/@google-cloud/storage/file/index.ts
|
42
|
+
var file_exports = {};
|
43
|
+
__export(file_exports, {
|
44
|
+
Copy: () => copy_exports,
|
45
|
+
Download: () => download_exports,
|
46
|
+
Exists: () => exists_exports,
|
47
|
+
GenerateSignedUrl: () => generate_signed_url_exports,
|
48
|
+
GetMetaData: () => get_metadata_exports,
|
49
|
+
GetPermissions: () => get_permissions_exports,
|
50
|
+
Move: () => move_exports,
|
51
|
+
Remove: () => remove_exports,
|
52
|
+
RevokeSignedUrls: () => revoke_signed_urls_exports,
|
53
|
+
Stat: () => stat_exports,
|
54
|
+
UpdateMetadata: () => update_metadata_exports,
|
55
|
+
Upload: () => upload_exports
|
56
|
+
});
|
57
|
+
|
58
|
+
export {
|
59
|
+
file_exports
|
60
|
+
};
|
@@ -0,0 +1,164 @@
|
|
1
|
+
import {
|
2
|
+
getRelativePxPositionsInWrapperFor
|
3
|
+
} from "./chunk-OCM3RLO6.js";
|
4
|
+
import {
|
5
|
+
createColorPalette
|
6
|
+
} from "./chunk-ZKAK6JOS.js";
|
7
|
+
import {
|
8
|
+
createLineBackground
|
9
|
+
} from "./chunk-LNSDOGTR.js";
|
10
|
+
import {
|
11
|
+
createTileBackground
|
12
|
+
} from "./chunk-GGYWRA4A.js";
|
13
|
+
import {
|
14
|
+
clamp
|
15
|
+
} from "./chunk-OSAXBA7G.js";
|
16
|
+
|
17
|
+
// src/node/images/transform/operations/_utils/frame/index.ts
|
18
|
+
import sharp from "sharp";
|
19
|
+
async function frame(imageSharp, params) {
|
20
|
+
const imageMetadata = await imageSharp.metadata();
|
21
|
+
const imageDimensions = {
|
22
|
+
widthPx: imageMetadata.width ?? 0,
|
23
|
+
heightPx: imageMetadata.height ?? 0
|
24
|
+
};
|
25
|
+
const scaledImage = scaleImageToFrame(
|
26
|
+
imageSharp,
|
27
|
+
imageDimensions,
|
28
|
+
params.dimensions,
|
29
|
+
params.imageScale
|
30
|
+
);
|
31
|
+
imageSharp = scaledImage.sharpInstance;
|
32
|
+
imageDimensions.widthPx = scaledImage.widthPx;
|
33
|
+
imageDimensions.heightPx = scaledImage.heightPx;
|
34
|
+
const defaultBackgroundColorCreate = getDefaultBackgroundColor(params.background);
|
35
|
+
const imagePositions = getRelativePxPositionsInWrapperFor(imageDimensions, params.dimensions, params.positions);
|
36
|
+
const backgroundOverlays = await getBackgroundOverlays(
|
37
|
+
{
|
38
|
+
sharp: imageSharp,
|
39
|
+
dimensions: imageDimensions
|
40
|
+
},
|
41
|
+
params.background,
|
42
|
+
params.dimensions,
|
43
|
+
{
|
44
|
+
x: imagePositions.x,
|
45
|
+
y: imagePositions.y,
|
46
|
+
w: imageDimensions.widthPx,
|
47
|
+
h: imageDimensions.heightPx
|
48
|
+
}
|
49
|
+
);
|
50
|
+
const composition = [
|
51
|
+
...backgroundOverlays,
|
52
|
+
{
|
53
|
+
input: await imageSharp.toFormat("png").png({ quality: 100 }).toBuffer(),
|
54
|
+
/* Make sure we work with the best quality of our file */
|
55
|
+
left: imagePositions.x,
|
56
|
+
top: imagePositions.y
|
57
|
+
}
|
58
|
+
];
|
59
|
+
const frameSharpInstance = sharp({
|
60
|
+
create: {
|
61
|
+
background: defaultBackgroundColorCreate,
|
62
|
+
width: params.dimensions.widthPx,
|
63
|
+
height: params.dimensions.heightPx,
|
64
|
+
channels: 4
|
65
|
+
}
|
66
|
+
}).ensureAlpha(0).composite(composition).png({ quality: 100 });
|
67
|
+
return frameSharpInstance;
|
68
|
+
}
|
69
|
+
var scaleImageToFrame = (imageSharp, imageDimensions, frameDimensions, imageScale) => {
|
70
|
+
const scale = {
|
71
|
+
xRatio: 1,
|
72
|
+
yRatio: 1
|
73
|
+
};
|
74
|
+
const frameZoneDimensions = {
|
75
|
+
widthPx: frameDimensions.widthPx,
|
76
|
+
heightPx: frameDimensions.heightPx
|
77
|
+
};
|
78
|
+
if (imageScale) {
|
79
|
+
frameZoneDimensions.widthPx = frameDimensions.widthPx * (imageScale.xRatio || 1);
|
80
|
+
frameZoneDimensions.heightPx = frameDimensions.heightPx * (imageScale.yRatio || 1);
|
81
|
+
}
|
82
|
+
const containedRatiosPercents = getContainedRatios(
|
83
|
+
imageDimensions.widthPx,
|
84
|
+
imageDimensions.heightPx,
|
85
|
+
frameZoneDimensions.widthPx,
|
86
|
+
frameZoneDimensions.heightPx
|
87
|
+
);
|
88
|
+
if (imageScale || !imageScale && imageDimensions.widthPx < frameDimensions.widthPx && imageDimensions.heightPx < frameDimensions.heightPx) {
|
89
|
+
scale.xRatio = containedRatiosPercents.xPercent;
|
90
|
+
scale.yRatio = containedRatiosPercents.yPercent;
|
91
|
+
}
|
92
|
+
if (scale.xRatio !== 1 || scale.yRatio !== 1) {
|
93
|
+
imageDimensions.widthPx = clamp(Math.round(imageDimensions.widthPx * scale.xRatio), 0, frameDimensions.widthPx);
|
94
|
+
imageDimensions.heightPx = clamp(Math.round(imageDimensions.heightPx * scale.yRatio), 0, frameDimensions.heightPx);
|
95
|
+
imageSharp = imageSharp.resize({
|
96
|
+
width: imageDimensions.widthPx,
|
97
|
+
height: imageDimensions.heightPx,
|
98
|
+
fit: sharp.fit.inside,
|
99
|
+
position: "center",
|
100
|
+
fastShrinkOnLoad: false
|
101
|
+
});
|
102
|
+
}
|
103
|
+
return {
|
104
|
+
sharpInstance: imageSharp,
|
105
|
+
widthPx: imageDimensions.widthPx,
|
106
|
+
heightPx: imageDimensions.heightPx
|
107
|
+
};
|
108
|
+
};
|
109
|
+
var getDefaultBackgroundColor = (background) => {
|
110
|
+
if (background && (typeof background === "object" && "r" in background)) {
|
111
|
+
return {
|
112
|
+
r: background.r || 255,
|
113
|
+
g: background.g || 255,
|
114
|
+
b: background.b || 255,
|
115
|
+
alpha: background.alpha || 0
|
116
|
+
};
|
117
|
+
}
|
118
|
+
return { r: 255, g: 255, b: 255, alpha: 0 };
|
119
|
+
};
|
120
|
+
var getBackgroundOverlays = (imageInput, background, dimensions, imageCoordinates) => {
|
121
|
+
const backgroundOverlays = [];
|
122
|
+
return new Promise(async (resolve, reject) => {
|
123
|
+
if (!background || typeof background !== "object" || typeof background === "object" && !("type" in background)) {
|
124
|
+
resolve(backgroundOverlays);
|
125
|
+
return;
|
126
|
+
}
|
127
|
+
const imageBuffer = await imageInput.sharp.raw().toBuffer();
|
128
|
+
const nbImageChannels = (await imageInput.sharp.metadata()).channels || 3;
|
129
|
+
const colorPalette = createColorPalette(
|
130
|
+
{
|
131
|
+
buffer: imageBuffer,
|
132
|
+
nbChannels: nbImageChannels,
|
133
|
+
dimensions: imageInput.dimensions
|
134
|
+
},
|
135
|
+
background.colorPalette
|
136
|
+
);
|
137
|
+
switch (background.type) {
|
138
|
+
case "line":
|
139
|
+
return resolve(createLineBackground(background, dimensions, colorPalette));
|
140
|
+
case "tile":
|
141
|
+
return resolve(createTileBackground(background, dimensions, imageCoordinates, colorPalette));
|
142
|
+
default:
|
143
|
+
resolve(backgroundOverlays);
|
144
|
+
}
|
145
|
+
reject(new Error("Unknown background type"));
|
146
|
+
});
|
147
|
+
};
|
148
|
+
function getContainedRatios(widthPx, heightPx, wrapperWidthPx, wrapperHeightPx, withoutReduction) {
|
149
|
+
if (withoutReduction && widthPx <= wrapperWidthPx && heightPx <= wrapperHeightPx) {
|
150
|
+
return { xPercent: 100, yPercent: 100 };
|
151
|
+
}
|
152
|
+
const wrapperRatio = wrapperWidthPx / wrapperHeightPx;
|
153
|
+
const imgRatio = widthPx / heightPx;
|
154
|
+
const containRatio = clamp(imgRatio > wrapperRatio ? wrapperWidthPx / widthPx : wrapperHeightPx / heightPx, 0, 100);
|
155
|
+
return {
|
156
|
+
xPercent: containRatio,
|
157
|
+
yPercent: containRatio
|
158
|
+
};
|
159
|
+
}
|
160
|
+
|
161
|
+
export {
|
162
|
+
frame,
|
163
|
+
getContainedRatios
|
164
|
+
};
|
@@ -1,6 +1,3 @@
|
|
1
|
-
import {
|
2
|
-
require_dist_cjs4 as require_dist_cjs
|
3
|
-
} from "./chunk-IZP4VIFZ.js";
|
4
1
|
import {
|
5
2
|
Outcome
|
6
3
|
} from "./chunk-JMU5PDBD.js";
|
@@ -8,21 +5,22 @@ import {
|
|
8
5
|
unknownToString
|
9
6
|
} from "./chunk-FENXVJYO.js";
|
10
7
|
import {
|
11
|
-
__export
|
12
|
-
|
13
|
-
} from "./chunk-KH45J4DC.js";
|
8
|
+
__export
|
9
|
+
} from "./chunk-WSFCRVEQ.js";
|
14
10
|
|
15
11
|
// src/node/@aws-s3/storage/file/stat/index.ts
|
16
12
|
var stat_exports = {};
|
17
13
|
__export(stat_exports, {
|
18
14
|
stat: () => stat
|
19
15
|
});
|
20
|
-
|
16
|
+
import {
|
17
|
+
HeadObjectCommand
|
18
|
+
} from "@aws-sdk/client-s3";
|
21
19
|
async function stat(client, bucket, key, options) {
|
22
20
|
const { headObjectOptions } = options ?? {};
|
23
21
|
try {
|
24
22
|
const res = await client.send(
|
25
|
-
new
|
23
|
+
new HeadObjectCommand({ Bucket: bucket, Key: key, ...headObjectOptions })
|
26
24
|
);
|
27
25
|
const stat2 = {
|
28
26
|
size: res.ContentLength,
|
@@ -0,0 +1,40 @@
|
|
1
|
+
import {
|
2
|
+
move_exports
|
3
|
+
} from "./chunk-FE4DECBU.js";
|
4
|
+
import {
|
5
|
+
remove_exports
|
6
|
+
} from "./chunk-ANPXBD2G.js";
|
7
|
+
import {
|
8
|
+
copy_exports
|
9
|
+
} from "./chunk-QH64MYGA.js";
|
10
|
+
import {
|
11
|
+
download_exports
|
12
|
+
} from "./chunk-HWEGQVBQ.js";
|
13
|
+
import {
|
14
|
+
exists_exports
|
15
|
+
} from "./chunk-QVPS2BCJ.js";
|
16
|
+
import {
|
17
|
+
upload_exports
|
18
|
+
} from "./chunk-QDVDHFMZ.js";
|
19
|
+
import {
|
20
|
+
stat_exports
|
21
|
+
} from "./chunk-TGVYEQIA.js";
|
22
|
+
import {
|
23
|
+
__export
|
24
|
+
} from "./chunk-WSFCRVEQ.js";
|
25
|
+
|
26
|
+
// src/node/sftp/file/index.ts
|
27
|
+
var file_exports = {};
|
28
|
+
__export(file_exports, {
|
29
|
+
Copy: () => copy_exports,
|
30
|
+
Download: () => download_exports,
|
31
|
+
Exists: () => exists_exports,
|
32
|
+
Move: () => move_exports,
|
33
|
+
Remove: () => remove_exports,
|
34
|
+
Stat: () => stat_exports,
|
35
|
+
Upload: () => upload_exports
|
36
|
+
});
|
37
|
+
|
38
|
+
export {
|
39
|
+
file_exports
|
40
|
+
};
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import {
|
2
2
|
directory_exports
|
3
|
-
} from "./chunk-
|
3
|
+
} from "./chunk-KOD5LUT3.js";
|
4
4
|
import {
|
5
5
|
file_exports
|
6
|
-
} from "./chunk-
|
6
|
+
} from "./chunk-FCB366FH.js";
|
7
7
|
import {
|
8
8
|
__export
|
9
|
-
} from "./chunk-
|
9
|
+
} from "./chunk-WSFCRVEQ.js";
|
10
10
|
|
11
11
|
// src/node/@aws-s3/storage/index.ts
|
12
12
|
var storage_exports = {};
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import {
|
2
|
+
directory_exports
|
3
|
+
} from "./chunk-H5O26IRG.js";
|
4
|
+
import {
|
5
|
+
file_exports
|
6
|
+
} from "./chunk-AY7SJG3R.js";
|
7
|
+
import {
|
8
|
+
__export
|
9
|
+
} from "./chunk-WSFCRVEQ.js";
|
10
|
+
|
11
|
+
// src/node/@aws-s3/storage/index.ts
|
12
|
+
var storage_exports = {};
|
13
|
+
__export(storage_exports, {
|
14
|
+
Directory: () => directory_exports,
|
15
|
+
File: () => file_exports
|
16
|
+
});
|
17
|
+
|
18
|
+
export {
|
19
|
+
storage_exports
|
20
|
+
};
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import {
|
2
|
+
move_dir_exports
|
3
|
+
} from "./chunk-BWYH445G.js";
|
4
|
+
import {
|
5
|
+
remove_dir_exports
|
6
|
+
} from "./chunk-QLDN574K.js";
|
7
|
+
import {
|
8
|
+
copy_dir_exports
|
9
|
+
} from "./chunk-V3L55I2S.js";
|
10
|
+
import {
|
11
|
+
list_exports
|
12
|
+
} from "./chunk-37TRFYZT.js";
|
13
|
+
import {
|
14
|
+
__export
|
15
|
+
} from "./chunk-WSFCRVEQ.js";
|
16
|
+
|
17
|
+
// src/node/@google-cloud/storage/directory/index.ts
|
18
|
+
var directory_exports = {};
|
19
|
+
__export(directory_exports, {
|
20
|
+
CopyDir: () => copy_dir_exports,
|
21
|
+
List: () => list_exports,
|
22
|
+
MoveDir: () => move_dir_exports,
|
23
|
+
RemoveDir: () => remove_dir_exports
|
24
|
+
});
|
25
|
+
|
26
|
+
export {
|
27
|
+
directory_exports
|
28
|
+
};
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import {
|
2
|
+
get_metadata_exports
|
3
|
+
} from "./chunk-ZNA7SWFK.js";
|
4
|
+
import {
|
5
|
+
remove_dir_exports
|
6
|
+
} from "./chunk-QLDN574K.js";
|
7
|
+
import {
|
8
|
+
move_dir_exports
|
9
|
+
} from "./chunk-BWYH445G.js";
|
10
|
+
import {
|
11
|
+
list_exports
|
12
|
+
} from "./chunk-37TRFYZT.js";
|
13
|
+
import {
|
14
|
+
__export
|
15
|
+
} from "./chunk-WSFCRVEQ.js";
|
16
|
+
|
17
|
+
// src/node/@google-cloud/storage/bucket/index.ts
|
18
|
+
var bucket_exports = {};
|
19
|
+
__export(bucket_exports, {
|
20
|
+
GetMetadata: () => get_metadata_exports,
|
21
|
+
List: () => list_exports,
|
22
|
+
MoveDir: () => move_dir_exports,
|
23
|
+
RemoveDir: () => remove_dir_exports
|
24
|
+
});
|
25
|
+
|
26
|
+
export {
|
27
|
+
bucket_exports
|
28
|
+
};
|