@design-edito/tools 0.1.70 → 0.1.72

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.
Files changed (982) hide show
  1. package/agnostic/arrays/find-duplicates/index.js +1 -1
  2. package/agnostic/arrays/index.js +10 -10
  3. package/agnostic/arrays/is-array-of/index.js +1 -1
  4. package/agnostic/arrays/make/index.js +1 -1
  5. package/agnostic/arrays/random-pick/index.js +5 -5
  6. package/agnostic/arrays/shuffle/index.js +1 -1
  7. package/agnostic/booleans/index.js +1 -1
  8. package/agnostic/booleans/is-falsy/index.js +1 -1
  9. package/agnostic/colors/complement-color/index.js +1 -1
  10. package/agnostic/colors/hex-to-rgb/index.js +1 -1
  11. package/agnostic/colors/hsl-to-rgb/index.js +1 -1
  12. package/agnostic/colors/index.js +10 -10
  13. package/agnostic/colors/lighten-color/index.js +3 -3
  14. package/agnostic/colors/rgb-to-hex/index.js +1 -1
  15. package/agnostic/colors/rgb-to-hsl/index.js +1 -1
  16. package/agnostic/colors/saturate-color/index.js +3 -3
  17. package/agnostic/css/bem/index.js +1 -1
  18. package/agnostic/css/generate-nice-color/index.js +1 -1
  19. package/agnostic/css/index.js +14 -14
  20. package/agnostic/css/is-valid-css-class-name/index.js +1 -1
  21. package/agnostic/css/styles-set/index.js +5 -5
  22. package/agnostic/errors/index.js +1 -1
  23. package/agnostic/errors/register/index.js +1 -1
  24. package/agnostic/errors/unknown-to-string/index.js +1 -1
  25. package/agnostic/html/get-node-ancestors/index.js +1 -1
  26. package/agnostic/html/get-position-inside-parent/index.js +1 -1
  27. package/agnostic/html/hyper-json/cast/index.js +7 -7
  28. package/agnostic/html/hyper-json/index.js +8 -8
  29. package/agnostic/html/hyper-json/method/index.js +1 -1
  30. package/agnostic/html/hyper-json/serialize/index.js +1 -1
  31. package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.js +7 -7
  32. package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.js +7 -7
  33. package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.js +7 -7
  34. package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.js +7 -7
  35. package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.js +7 -7
  36. package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.js +7 -7
  37. package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.js +7 -7
  38. package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.js +7 -7
  39. package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.js +7 -7
  40. package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.js +7 -7
  41. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.js +7 -7
  42. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.js +7 -7
  43. package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.js +7 -7
  44. package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.js +7 -7
  45. package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.js +7 -7
  46. package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.js +7 -7
  47. package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.js +7 -7
  48. package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.js +7 -7
  49. package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.js +7 -7
  50. package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.js +7 -7
  51. package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.js +7 -7
  52. package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.js +7 -7
  53. package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.js +7 -7
  54. package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.js +7 -7
  55. package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.js +7 -7
  56. package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.js +7 -7
  57. package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.js +7 -7
  58. package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.js +7 -7
  59. package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.js +7 -7
  60. package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.js +7 -7
  61. package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.js +7 -7
  62. package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.js +7 -7
  63. package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.js +7 -7
  64. package/agnostic/html/hyper-json/smart-tags/coalesced/setproperties/index.d.ts +4 -0
  65. package/agnostic/html/hyper-json/smart-tags/coalesced/setproperties/index.js +21 -0
  66. package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.js +7 -7
  67. package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.js +7 -7
  68. package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.js +7 -7
  69. package/agnostic/html/hyper-json/smart-tags/coalesced/spread/index.js +7 -7
  70. package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.js +7 -7
  71. package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.js +7 -7
  72. package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.js +7 -7
  73. package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.js +7 -7
  74. package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.js +7 -7
  75. package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.js +7 -7
  76. package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.js +7 -7
  77. package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.js +7 -7
  78. package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.js +7 -7
  79. package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.js +7 -7
  80. package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.js +7 -7
  81. package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.js +7 -7
  82. package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.js +7 -7
  83. package/agnostic/html/hyper-json/smart-tags/index.js +1 -1
  84. package/agnostic/html/hyper-json/smart-tags/isolated/any/index.js +1 -1
  85. package/agnostic/html/hyper-json/smart-tags/isolated/array/index.js +1 -1
  86. package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.js +7 -7
  87. package/agnostic/html/hyper-json/smart-tags/isolated/element/index.js +7 -7
  88. package/agnostic/html/hyper-json/smart-tags/isolated/get/index.js +7 -7
  89. package/agnostic/html/hyper-json/smart-tags/isolated/global/index.js +7 -7
  90. package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.js +7 -7
  91. package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.js +7 -7
  92. package/agnostic/html/hyper-json/smart-tags/isolated/null/index.js +1 -1
  93. package/agnostic/html/hyper-json/smart-tags/isolated/number/index.js +7 -7
  94. package/agnostic/html/hyper-json/smart-tags/isolated/record/index.js +7 -7
  95. package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.js +7 -7
  96. package/agnostic/html/hyper-json/smart-tags/isolated/string/index.js +7 -7
  97. package/agnostic/html/hyper-json/smart-tags/isolated/text/index.js +7 -7
  98. package/agnostic/html/hyper-json/transformer/index.js +1 -1
  99. package/agnostic/html/hyper-json/tree/index.js +7 -7
  100. package/agnostic/html/hyper-json/types/index.js +1 -1
  101. package/agnostic/html/hyper-json/utils/index.js +7 -7
  102. package/agnostic/html/index.js +17 -17
  103. package/agnostic/html/insert-node/index.js +1 -1
  104. package/agnostic/html/placeholders/index.js +1 -1
  105. package/agnostic/html/replace-in-element/index.js +1 -1
  106. package/agnostic/html/sanitize/index.js +5 -5
  107. package/agnostic/html/selector-to-element/index.js +5 -5
  108. package/agnostic/html/string-to-nodes/index.js +6 -6
  109. package/agnostic/misc/assert/index.js +1 -1
  110. package/agnostic/misc/cast/index.js +1 -1
  111. package/agnostic/misc/crawler/index.js +1 -1
  112. package/agnostic/misc/crossenv/detect-runtime/index.js +1 -1
  113. package/agnostic/misc/crossenv/get-document/index.d.ts +2 -0
  114. package/agnostic/misc/crossenv/get-document/index.js +7 -0
  115. package/agnostic/misc/crossenv/get-window/browser.d.ts +2 -0
  116. package/agnostic/misc/crossenv/get-window/index.d.ts +2 -0
  117. package/agnostic/misc/crossenv/get-window/index.js +6 -0
  118. package/agnostic/misc/crossenv/index.js +3 -3
  119. package/agnostic/misc/crossenv/types/index.js +1 -1
  120. package/agnostic/misc/crossenv/types.d.ts +3 -0
  121. package/agnostic/misc/crossenv/window/index.js +1 -1
  122. package/agnostic/misc/data-size/index.js +2 -2
  123. package/agnostic/misc/elo/index.js +1 -1
  124. package/agnostic/misc/get-current-downlink/index.js +1 -1
  125. package/agnostic/misc/index.js +20 -20
  126. package/agnostic/misc/is-constructor-function/index.js +1 -1
  127. package/agnostic/misc/is-nullish/index.js +1 -1
  128. package/agnostic/misc/logs/index.js +1 -1
  129. package/agnostic/misc/logs/logger/index.js +1 -1
  130. package/agnostic/misc/logs/make-text-block/index.js +1 -1
  131. package/agnostic/misc/logs/styles/index.js +1 -1
  132. package/agnostic/misc/lorem-ipsum/index.js +11 -11
  133. package/agnostic/misc/normalize-extension/index.js +1 -1
  134. package/agnostic/misc/outcome/index.js +1 -1
  135. package/agnostic/numbers/absolute-modulo/index.js +1 -1
  136. package/agnostic/numbers/clamp/index.js +1 -1
  137. package/agnostic/numbers/index.js +4 -4
  138. package/agnostic/numbers/interpolate/index.js +1 -1
  139. package/agnostic/numbers/responsive-harmonics/index.js +1 -1
  140. package/agnostic/numbers/round/index.js +1 -1
  141. package/agnostic/objects/deep-get-property/index.js +1 -1
  142. package/agnostic/objects/enums/index.js +1 -1
  143. package/agnostic/objects/enums/is-in-enum/index.js +1 -1
  144. package/agnostic/objects/flatten-getters/index.js +1 -1
  145. package/agnostic/objects/index.js +17 -17
  146. package/agnostic/objects/is-object/index.js +1 -1
  147. package/agnostic/objects/is-record/index.js +1 -1
  148. package/agnostic/objects/record-format/index.js +1 -1
  149. package/agnostic/objects/record-map/index.js +1 -1
  150. package/agnostic/objects/validation/index.js +1 -1
  151. package/agnostic/optim/index.js +1 -1
  152. package/agnostic/optim/memoize/index.js +1 -1
  153. package/agnostic/optim/throttle-debounce/index.js +1 -1
  154. package/agnostic/random/hex-char/index.js +1 -1
  155. package/agnostic/random/index.js +1 -1
  156. package/agnostic/random/random/index.js +1 -1
  157. package/agnostic/random/uuid/index.js +1 -1
  158. package/agnostic/regexps/index.js +1 -1
  159. package/agnostic/sanitization/index.js +1 -1
  160. package/agnostic/strings/char-codes/index.js +1 -1
  161. package/agnostic/strings/index.js +4 -4
  162. package/agnostic/strings/matches/index.js +1 -1
  163. package/agnostic/strings/normalize-indent/index.js +1 -1
  164. package/agnostic/strings/replace-all/index.js +1 -1
  165. package/agnostic/strings/to-alphanum/index.js +1 -1
  166. package/agnostic/strings/trim/index.js +1 -1
  167. package/agnostic/time/dates/format-date/index.js +1 -1
  168. package/agnostic/time/dates/index.js +1 -1
  169. package/agnostic/time/duration/index.js +1 -1
  170. package/agnostic/time/index.js +4 -4
  171. package/agnostic/time/timeout/index.js +1 -1
  172. package/agnostic/time/transitions/index.js +1 -1
  173. package/agnostic/time/wait/index.js +1 -1
  174. package/chunks/{chunk-GSZSM3BU.js → chunk-24O4C4HG.js} +4 -4
  175. package/chunks/chunk-26V5RC4U.js +29 -0
  176. package/chunks/chunk-2ALVFCSP.js +211 -0
  177. package/chunks/chunk-2DYDNCZK.js +56 -0
  178. package/chunks/chunk-2NXYSAFE.js +67 -0
  179. package/chunks/chunk-2RFYHF6F.js +36 -0
  180. package/chunks/chunk-2UPQ73EE.js +83 -0
  181. package/chunks/{chunk-UUU6DWRQ.js → chunk-2YGNPA2R.js} +5 -5
  182. package/chunks/{chunk-4PJWXOLA.js → chunk-34C35EX6.js} +3 -3
  183. package/chunks/{chunk-6Z6GDMOR.js → chunk-36CTYZYA.js} +2 -2
  184. package/chunks/chunk-3G4NTP23.js +53 -0
  185. package/chunks/chunk-3J4WAVX6.js +28 -0
  186. package/chunks/{chunk-U7R6TPHR.js → chunk-45S766KF.js} +1 -1
  187. package/chunks/chunk-4GUDL44X.js +13 -0
  188. package/chunks/chunk-4IHBBNAG.js +32 -0
  189. package/chunks/chunk-4MLQ42IU.js +42 -0
  190. package/chunks/chunk-4PAHEIPV.js +42 -0
  191. package/chunks/chunk-4QQBKBYH.js +59 -0
  192. package/chunks/chunk-4XS5UIQF.js +41 -0
  193. package/chunks/chunk-54B7VIY6.js +46 -0
  194. package/chunks/chunk-5CYREVPP.js +42 -0
  195. package/chunks/chunk-5HE6JLK7.js +42 -0
  196. package/chunks/{chunk-KL6EJPC3.js → chunk-5HW7QLTB.js} +3 -3
  197. package/chunks/chunk-5IR2PWO6.js +211 -0
  198. package/chunks/{chunk-V4S34MIM.js → chunk-5RA25FYM.js} +2 -2
  199. package/chunks/chunk-5WARYKLO.js +71 -0
  200. package/chunks/{chunk-EM37BFXO.js → chunk-6NZOSESD.js} +2 -2
  201. package/chunks/chunk-6RJY3F7A.js +28 -0
  202. package/chunks/chunk-6SSGHEQX.js +39 -0
  203. package/chunks/{chunk-KFMYB672.js → chunk-6STIUASQ.js} +2 -2
  204. package/chunks/{chunk-AZOSX3LU.js → chunk-73FTH5T3.js} +22 -2
  205. package/chunks/chunk-73V5RDSG.js +13 -0
  206. package/chunks/{chunk-W6JPRXQ4.js → chunk-7647NLB2.js} +1 -1
  207. package/chunks/chunk-7WUVBSIC.js +29 -0
  208. package/chunks/chunk-A3VTK5UF.js +62 -0
  209. package/chunks/{chunk-2M5P5V6U.js → chunk-AOWLA5T2.js} +25 -21
  210. package/chunks/chunk-AVVDAISH.js +28 -0
  211. package/chunks/chunk-AXTDGCSY.js +56 -0
  212. package/chunks/{chunk-MW3KNVTG.js → chunk-B446JIN3.js} +1 -1
  213. package/chunks/{chunk-JJ7PBKSG.js → chunk-B5OUYMUU.js} +1 -1
  214. package/chunks/chunk-B7E3DQ4Z.js +34 -0
  215. package/chunks/chunk-BEZTX3QU.js +1 -0
  216. package/chunks/{chunk-7JUKBN7P.js → chunk-BOJEVEPB.js} +1 -1
  217. package/chunks/{chunk-5VHFXWFM.js → chunk-BTJ2JXDV.js} +1 -1
  218. package/chunks/{chunk-U5WEI3QA.js → chunk-BVCNQIKY.js} +3 -3
  219. package/chunks/chunk-BW5CY5YB.js +1 -0
  220. package/chunks/chunk-CEY7OIFX.js +35 -0
  221. package/chunks/{chunk-WC2LQPQP.js → chunk-CHUOCTRP.js} +1 -1
  222. package/chunks/{chunk-REZC75LB.js → chunk-CXU3QPN2.js} +1 -1
  223. package/chunks/chunk-DIPJ73JH.js +1 -0
  224. package/chunks/chunk-DJ7ABCYK.js +42 -0
  225. package/chunks/{chunk-MTT7TVR3.js → chunk-DRH7Q4FL.js} +1 -1
  226. package/chunks/chunk-E3NHW6J4.js +211 -0
  227. package/chunks/{chunk-BGSJ5XCH.js → chunk-EAV5YDBD.js} +3 -3
  228. package/chunks/chunk-EAY65ZP6.js +22 -0
  229. package/chunks/chunk-EEZ3NV4Q.js +42 -0
  230. package/chunks/chunk-EFFU6KXJ.js +1 -0
  231. package/chunks/chunk-EHLTUOGZ.js +44 -0
  232. package/chunks/{chunk-5OBHNGEH.js → chunk-ESUBE7BB.js} +7 -3
  233. package/chunks/chunk-EW46EXFB.js +8 -0
  234. package/chunks/chunk-EWQZUF22.js +211 -0
  235. package/chunks/{chunk-GOTTGEXI.js → chunk-EZW6DNPL.js} +4 -4
  236. package/chunks/chunk-FCU6IHKD.js +15 -0
  237. package/chunks/{chunk-7SZ3QPTM.js → chunk-FNIJLHH2.js} +1 -1
  238. package/chunks/chunk-FR3BXMR5.js +38 -0
  239. package/chunks/chunk-FTDA7PRI.js +2405 -0
  240. package/chunks/{chunk-E3GK7YZ7.js → chunk-FTGHUU73.js} +1 -1
  241. package/chunks/{chunk-ADTQQNIQ.js → chunk-FTOEQNF6.js} +3 -3
  242. package/chunks/{chunk-DPBYDWV3.js → chunk-FVPFKY5G.js} +57 -35
  243. package/chunks/chunk-FWR7ZA4M.js +44 -0
  244. package/chunks/{chunk-JBDWHJ4Q.js → chunk-G2XDDBWE.js} +3 -3
  245. package/chunks/chunk-GDYVCEWA.js +38 -0
  246. package/chunks/chunk-GKTDEHC6.js +39 -0
  247. package/chunks/{chunk-3LPD7IXF.js → chunk-GZWZ5SSG.js} +24 -20
  248. package/chunks/chunk-H4NHF72W.js +40 -0
  249. package/chunks/{chunk-FVFYLT5T.js → chunk-H5HM5EBO.js} +7 -7
  250. package/chunks/chunk-HCNRPWKW.js +63 -0
  251. package/chunks/chunk-HDGHODNO.js +28 -0
  252. package/chunks/chunk-HEJV6JIO.js +133 -0
  253. package/chunks/chunk-HGDSHJEX.js +60 -0
  254. package/chunks/chunk-HL6LO6QF.js +28 -0
  255. package/chunks/chunk-HLUWFMD7.js +67 -0
  256. package/chunks/{chunk-D47ZPEUU.js → chunk-HNFSETMT.js} +1 -1
  257. package/chunks/chunk-HP722G2E.js +211 -0
  258. package/chunks/chunk-HRWQ4TUA.js +2405 -0
  259. package/chunks/chunk-HY7RNBYE.js +28 -0
  260. package/chunks/chunk-HZJY7N36.js +2405 -0
  261. package/chunks/chunk-IIXTJZ6G.js +47 -0
  262. package/chunks/{chunk-4HLAM4RP.js → chunk-IJIE2SLT.js} +23 -3
  263. package/chunks/{chunk-45WKBXSF.js → chunk-IOZR2LGL.js} +3 -3
  264. package/chunks/chunk-IPB3U2PD.js +278 -0
  265. package/chunks/chunk-IQUEVQBN.js +28 -0
  266. package/chunks/{chunk-X244JGZD.js → chunk-IY44AG73.js} +5 -5
  267. package/chunks/chunk-IZP4VIFZ.js +35933 -0
  268. package/chunks/chunk-J467ZNXE.js +35 -0
  269. package/chunks/chunk-J5TWVAJJ.js +28 -0
  270. package/chunks/chunk-JEYO7UP7.js +44 -0
  271. package/chunks/{chunk-7OK5NZTY.js → chunk-JFWEEBSR.js} +3 -3
  272. package/chunks/chunk-JJA4KGAD.js +42 -0
  273. package/chunks/chunk-JKAHSFJD.js +38 -0
  274. package/chunks/chunk-JKISSFTR.js +211 -0
  275. package/chunks/chunk-JWF5EKM2.js +127 -0
  276. package/chunks/{chunk-MAE5XZGF.js → chunk-JZ6Z7V7F.js} +1 -1
  277. package/chunks/{chunk-TP6V6CBV.js → chunk-KBOL3LMK.js} +42 -42
  278. package/chunks/{chunk-NZLE2WMY.js → chunk-KH45J4DC.js} +15 -2
  279. package/chunks/chunk-KNE7WIIW.js +1 -0
  280. package/chunks/{chunk-5TRAENM3.js → chunk-KOBZRZBX.js} +4 -8
  281. package/chunks/chunk-KPYPESIY.js +40 -0
  282. package/chunks/chunk-LBDZQNBM.js +44 -0
  283. package/chunks/chunk-LCFDDWJR.js +278 -0
  284. package/chunks/chunk-LCLAV6Q2.js +1 -0
  285. package/chunks/chunk-LF4VYSOT.js +68 -0
  286. package/chunks/{chunk-2JKV6KXE.js → chunk-LUETT72P.js} +1 -1
  287. package/chunks/chunk-LUZ7ZWWJ.js +40 -0
  288. package/chunks/{chunk-5B7VSD44.js → chunk-LVPFSXKA.js} +4 -4
  289. package/chunks/chunk-LYMZZ4BB.js +22 -0
  290. package/chunks/{chunk-7U5NS3AR.js → chunk-M6B5J46K.js} +3 -3
  291. package/chunks/{chunk-SJFY537W.js → chunk-ME7RF24X.js} +58 -1
  292. package/chunks/chunk-MF56TTC5.js +15 -0
  293. package/chunks/{chunk-KH5JTC2N.js → chunk-MP6CL7F7.js} +3 -4
  294. package/chunks/{chunk-6WVNJVBE.js → chunk-MPYCQ5IF.js} +2 -2
  295. package/chunks/{chunk-4QHGUANF.js → chunk-MQ4Y3GBI.js} +3 -3
  296. package/chunks/{chunk-HALUZA2X.js → chunk-MYCT3HYF.js} +6 -2
  297. package/chunks/{chunk-6IZ5HUJJ.js → chunk-N4EJZLME.js} +1 -1
  298. package/chunks/{chunk-YCSC7QNV.js → chunk-N7FA7QJK.js} +1 -1
  299. package/chunks/{chunk-HKTNK262.js → chunk-NCLB3UH3.js} +1 -1
  300. package/chunks/chunk-NHMEZ6ZP.js +45 -0
  301. package/chunks/{chunk-JTJA7DGW.js → chunk-NP5UEOSJ.js} +2 -2
  302. package/chunks/{chunk-LSOHLSF5.js → chunk-NQNEYA4Z.js} +2 -2
  303. package/chunks/chunk-NX2FQWHA.js +42 -0
  304. package/chunks/{chunk-GXICX4F6.js → chunk-NXV33ZSC.js} +2 -2
  305. package/chunks/{chunk-XQMUFSLU.js → chunk-O4AEYNFT.js} +3 -3
  306. package/chunks/{chunk-2HU2AWWJ.js → chunk-OO5SJJDW.js} +1 -1
  307. package/chunks/chunk-OSZCNQBA.js +40 -0
  308. package/chunks/chunk-OYUM24PM.js +42 -0
  309. package/chunks/{chunk-4DNPGCIM.js → chunk-P5CBBXGK.js} +1 -1
  310. package/chunks/chunk-P5TKDJ4T.js +37 -0
  311. package/chunks/chunk-PCAKH6ZJ.js +1 -0
  312. package/chunks/chunk-PO3V3I57.js +23 -0
  313. package/chunks/chunk-PPJYUWHH.js +38 -0
  314. package/chunks/{chunk-RCWLMVSZ.js → chunk-PUPASUMS.js} +4 -4
  315. package/chunks/chunk-Q7XL3D4H.js +37 -0
  316. package/chunks/{chunk-UJN2WZGO.js → chunk-QKK6WQDI.js} +2 -2
  317. package/chunks/chunk-QP5GNEJY.js +42 -0
  318. package/chunks/chunk-QQAPFSMW.js +63 -0
  319. package/chunks/chunk-QQRJPDR7.js +1 -0
  320. package/chunks/chunk-R2H52CYP.js +44 -0
  321. package/chunks/chunk-R6KCN6CK.js +40 -0
  322. package/chunks/{chunk-LOAOXFA2.js → chunk-RUCTSKYQ.js} +59 -37
  323. package/chunks/chunk-S23WCXQK.js +211 -0
  324. package/chunks/{chunk-UNHNZAVP.js → chunk-S4FNXSMM.js} +1 -1
  325. package/chunks/chunk-SA2IY5LN.js +35 -0
  326. package/chunks/{chunk-3XNFVOJF.js → chunk-SCOY7PVB.js} +7 -3
  327. package/chunks/chunk-SQZGZ3VT.js +15 -0
  328. package/chunks/chunk-SSJ5YQMJ.js +45 -0
  329. package/chunks/{chunk-YE67BQQN.js → chunk-T4KFB6QN.js} +1 -1
  330. package/chunks/chunk-TEQE3HY3.js +40 -0
  331. package/chunks/{chunk-Z4PVE6SR.js → chunk-TLYXVMR5.js} +2 -2
  332. package/chunks/chunk-TOGOF74B.js +42 -0
  333. package/chunks/chunk-TQZ46CBX.js +43 -0
  334. package/chunks/{chunk-LXZULGNN.js → chunk-UBJACMOZ.js} +12 -12
  335. package/chunks/chunk-UOWPJDWO.js +37 -0
  336. package/chunks/{chunk-GVS2ZPGJ.js → chunk-UQVDRQ77.js} +88 -153
  337. package/chunks/chunk-UU35YSBK.js +40 -0
  338. package/chunks/chunk-UWAMSJ2X.js +28 -0
  339. package/chunks/chunk-V4YB22WN.js +28 -0
  340. package/chunks/chunk-V7FJOKAC.js +40 -0
  341. package/chunks/{chunk-W5LE6YQ5.js → chunk-V7JZNA6N.js} +6 -2
  342. package/chunks/chunk-VA6HXRX4.js +211 -0
  343. package/chunks/chunk-VDNIN3V5.js +23 -0
  344. package/chunks/{chunk-HUC2IRGW.js → chunk-VSYAOEKE.js} +1 -1
  345. package/chunks/chunk-W3MRYBZJ.js +37 -0
  346. package/chunks/chunk-W7YBGJ4H.js +28 -0
  347. package/chunks/chunk-WECTUHS5.js +127 -0
  348. package/chunks/{chunk-WRRA3BN4.js → chunk-WHGU2Q46.js} +2 -2
  349. package/chunks/chunk-WQD2VKTO.js +42 -0
  350. package/chunks/chunk-WTAMA5WX.js +37 -0
  351. package/chunks/chunk-WZ2EV5JB.js +211 -0
  352. package/chunks/chunk-WZBNXYN3.js +1 -0
  353. package/chunks/chunk-X2DODW4G.js +211 -0
  354. package/chunks/chunk-XCKXCF4A.js +1 -0
  355. package/chunks/{chunk-FCLAFRIW.js → chunk-XDTFPTMG.js} +40 -40
  356. package/chunks/chunk-XI2XIH6L.js +2391 -0
  357. package/chunks/chunk-XIMUZN5X.js +43 -0
  358. package/chunks/{chunk-D33KC6NN.js → chunk-XKMSDS3Z.js} +1 -1
  359. package/chunks/chunk-XYNIGHGL.js +654 -0
  360. package/chunks/chunk-YCNUTWOG.js +43 -0
  361. package/chunks/chunk-YCX3R64F.js +211 -0
  362. package/chunks/{chunk-C3ZKLONL.js → chunk-YMPNQJ4Z.js} +1 -1
  363. package/chunks/chunk-YQ7FI6RT.js +28 -0
  364. package/chunks/{chunk-7UDN6KBA.js → chunk-YU5NILJC.js} +3 -3
  365. package/chunks/{chunk-JQRLQUMJ.js → chunk-YVUJ4WBL.js} +3 -3
  366. package/chunks/chunk-YXIFWOKO.js +42 -0
  367. package/chunks/chunk-YYE2MVZO.js +211 -0
  368. package/chunks/chunk-Z2VDSEND.js +47 -0
  369. package/chunks/{chunk-FTT6ZCCS.js → chunk-Z566RJUU.js} +1 -1
  370. package/chunks/chunk-ZAIWJI6A.js +42 -0
  371. package/chunks/chunk-ZB73RE7P.js +35 -0
  372. package/chunks/chunk-ZO5FRL3M.js +29 -0
  373. package/chunks/chunk-ZONKYNKA.js +28 -0
  374. package/chunks/chunk-ZUWQPR2N.js +37 -0
  375. package/chunks/chunk-ZVJO36JU.js +1 -0
  376. package/chunks/chunk-ZWWJ52EY.js +42 -0
  377. package/components/Comp/index.js +1 -1
  378. package/index.d.ts +3 -0
  379. package/index.js +96 -0
  380. package/node/@aws-s3/index.js +16 -5
  381. package/node/@aws-s3/storage/directory/copy-dir/index.d.ts +35 -0
  382. package/node/@aws-s3/storage/directory/copy-dir/index.js +10 -0
  383. package/node/@aws-s3/storage/directory/index.d.ts +5 -0
  384. package/node/@aws-s3/storage/directory/index.js +23 -0
  385. package/node/@aws-s3/storage/directory/list/index.d.ts +17 -0
  386. package/node/@aws-s3/storage/directory/list/index.js +10 -0
  387. package/node/@aws-s3/storage/directory/move-dir/index.d.ts +33 -0
  388. package/node/@aws-s3/storage/directory/move-dir/index.js +10 -0
  389. package/node/@aws-s3/storage/directory/remove-dir/index.d.ts +31 -0
  390. package/node/@aws-s3/storage/directory/remove-dir/index.js +10 -0
  391. package/node/@aws-s3/storage/file/copy/index.d.ts +30 -0
  392. package/node/@aws-s3/storage/file/copy/index.js +10 -0
  393. package/node/@aws-s3/storage/file/download/index.d.ts +15 -15
  394. package/node/@aws-s3/storage/file/download/index.js +3 -2
  395. package/node/@aws-s3/storage/file/exists/index.d.ts +23 -0
  396. package/node/@aws-s3/storage/file/exists/index.js +10 -0
  397. package/node/@aws-s3/storage/file/index.d.ts +6 -1
  398. package/node/@aws-s3/storage/file/index.js +26 -5
  399. package/node/@aws-s3/storage/file/move/index.d.ts +33 -0
  400. package/node/@aws-s3/storage/file/move/index.js +10 -0
  401. package/node/@aws-s3/storage/file/remove/index.d.ts +17 -0
  402. package/node/@aws-s3/storage/file/remove/index.js +10 -0
  403. package/node/@aws-s3/storage/file/stat/index.d.ts +24 -0
  404. package/node/@aws-s3/storage/file/stat/index.js +10 -0
  405. package/node/@aws-s3/storage/file/upload/index.d.ts +13 -19
  406. package/node/@aws-s3/storage/file/upload/index.js +3 -2
  407. package/node/@aws-s3/storage/index.d.ts +2 -1
  408. package/node/@aws-s3/storage/index.js +19 -5
  409. package/node/@design-edito/index.js +1 -1
  410. package/node/@express/@multer/index.js +2 -2
  411. package/node/@express/index.js +2 -2
  412. package/node/@google-cloud/index.js +22 -17
  413. package/node/@google-cloud/storage/bucket/get-metadata/index.js +2 -2
  414. package/node/@google-cloud/storage/bucket/index.d.ts +4 -2
  415. package/node/@google-cloud/storage/bucket/index.js +13 -5
  416. package/node/@google-cloud/storage/directory/copy-dir/index.d.ts +22 -0
  417. package/node/@google-cloud/storage/directory/copy-dir/index.js +9 -0
  418. package/node/@google-cloud/storage/directory/index.d.ts +5 -0
  419. package/node/@google-cloud/storage/directory/index.js +22 -0
  420. package/node/@google-cloud/storage/directory/list/index.d.ts +17 -0
  421. package/node/@google-cloud/storage/{bucket → directory}/list/index.js +2 -2
  422. package/node/@google-cloud/storage/directory/move-dir/index.d.ts +31 -0
  423. package/node/@google-cloud/storage/directory/move-dir/index.js +9 -0
  424. package/node/@google-cloud/storage/directory/remove-dir/index.d.ts +31 -0
  425. package/node/@google-cloud/storage/directory/remove-dir/index.js +9 -0
  426. package/node/@google-cloud/storage/file/copy/index.d.ts +21 -10
  427. package/node/@google-cloud/storage/file/copy/index.js +2 -2
  428. package/node/@google-cloud/storage/file/download/index.d.ts +2 -2
  429. package/node/@google-cloud/storage/file/download/index.js +2 -2
  430. package/node/@google-cloud/storage/file/exists/index.js +2 -2
  431. package/node/@google-cloud/storage/file/generate-signed-url/index.d.ts +2 -2
  432. package/node/@google-cloud/storage/file/generate-signed-url/index.js +2 -2
  433. package/node/@google-cloud/storage/file/get-metadata/index.d.ts +2 -2
  434. package/node/@google-cloud/storage/file/get-metadata/index.js +2 -2
  435. package/node/@google-cloud/storage/file/get-permissions/index.d.ts +2 -2
  436. package/node/@google-cloud/storage/file/get-permissions/index.js +2 -2
  437. package/node/@google-cloud/storage/file/index.d.ts +3 -2
  438. package/node/@google-cloud/storage/file/index.js +25 -21
  439. package/node/@google-cloud/storage/file/move/index.d.ts +24 -12
  440. package/node/@google-cloud/storage/file/move/index.js +2 -2
  441. package/node/@google-cloud/storage/file/remove/index.d.ts +24 -0
  442. package/node/@google-cloud/storage/file/remove/index.js +9 -0
  443. package/node/@google-cloud/storage/file/revoke-signed-urls/index.d.ts +6 -6
  444. package/node/@google-cloud/storage/file/revoke-signed-urls/index.js +5 -5
  445. package/node/@google-cloud/storage/file/stat/index.d.ts +25 -0
  446. package/node/@google-cloud/storage/file/{erase → stat}/index.js +4 -4
  447. package/node/@google-cloud/storage/file/update-metadata/index.d.ts +3 -3
  448. package/node/@google-cloud/storage/file/update-metadata/index.js +2 -2
  449. package/node/@google-cloud/storage/file/upload/index.d.ts +5 -6
  450. package/node/@google-cloud/storage/file/upload/index.js +2 -2
  451. package/node/@google-cloud/storage/index.d.ts +2 -1
  452. package/node/@google-cloud/storage/index.js +25 -17
  453. package/node/cloud-storage/clients/index.d.ts +13 -0
  454. package/node/cloud-storage/clients/index.js +14 -0
  455. package/node/cloud-storage/index.d.ts +2 -4
  456. package/node/cloud-storage/index.js +61 -24
  457. package/node/cloud-storage/operations/copy-dir/index.d.ts +15 -0
  458. package/node/cloud-storage/operations/copy-dir/index.js +15 -0
  459. package/node/cloud-storage/operations/copy-file/index.d.ts +15 -0
  460. package/node/cloud-storage/operations/copy-file/index.js +15 -0
  461. package/node/cloud-storage/operations/download-file/index.d.ts +16 -0
  462. package/node/cloud-storage/operations/download-file/index.js +15 -0
  463. package/node/cloud-storage/operations/exists-file/index.d.ts +13 -0
  464. package/node/cloud-storage/operations/exists-file/index.js +15 -0
  465. package/node/cloud-storage/operations/index.d.ts +12 -3
  466. package/node/cloud-storage/operations/index.js +92 -19
  467. package/node/cloud-storage/operations/list-dir/index.d.ts +13 -0
  468. package/node/cloud-storage/operations/list-dir/index.js +15 -0
  469. package/node/cloud-storage/operations/move-dir/index.d.ts +15 -0
  470. package/node/cloud-storage/operations/move-dir/index.js +15 -0
  471. package/node/cloud-storage/operations/move-file/index.d.ts +15 -0
  472. package/node/cloud-storage/operations/move-file/index.js +15 -0
  473. package/node/cloud-storage/operations/remove-dir/index.d.ts +15 -0
  474. package/node/cloud-storage/operations/remove-dir/index.js +15 -0
  475. package/node/cloud-storage/operations/remove-file/index.d.ts +15 -0
  476. package/node/cloud-storage/operations/remove-file/index.js +15 -0
  477. package/node/cloud-storage/operations/stat-file/index.d.ts +15 -0
  478. package/node/cloud-storage/operations/stat-file/index.js +15 -0
  479. package/node/cloud-storage/operations/upload-file/index.d.ts +16 -0
  480. package/node/cloud-storage/operations/upload-file/index.js +15 -0
  481. package/node/encryption/@aes-256-gcm/buffer/index.js +3 -3
  482. package/node/encryption/@aes-256-gcm/index.js +4 -4
  483. package/node/encryption/@aes-256-gcm/uint8-array/index.js +2 -2
  484. package/node/encryption/index.js +7 -7
  485. package/node/encryption/key/index.js +2 -2
  486. package/node/files/index.js +4 -4
  487. package/node/files/is-in-directory/index.js +1 -1
  488. package/node/files/read-write/index.js +1 -1
  489. package/node/files/subpaths/index.js +1 -1
  490. package/node/ftps/directory/copy-dir/index.d.ts +28 -0
  491. package/node/ftps/directory/copy-dir/index.js +9 -0
  492. package/node/ftps/directory/index.d.ts +5 -0
  493. package/node/ftps/directory/index.js +22 -0
  494. package/node/ftps/directory/list/index.d.ts +12 -0
  495. package/node/ftps/directory/list/index.js +9 -0
  496. package/node/ftps/directory/move-dir/index.d.ts +26 -0
  497. package/node/ftps/directory/move-dir/index.js +9 -0
  498. package/node/ftps/directory/remove-dir/index.d.ts +25 -0
  499. package/node/ftps/directory/remove-dir/index.js +9 -0
  500. package/node/ftps/file/copy/index.d.ts +28 -0
  501. package/node/ftps/file/copy/index.js +9 -0
  502. package/node/ftps/file/download/index.d.ts +2 -2
  503. package/node/ftps/file/download/index.js +2 -2
  504. package/node/ftps/file/exists/index.d.ts +21 -0
  505. package/node/ftps/file/exists/index.js +9 -0
  506. package/node/ftps/file/index.d.ts +6 -1
  507. package/node/ftps/file/index.js +25 -5
  508. package/node/ftps/file/move/index.d.ts +38 -0
  509. package/node/ftps/file/move/index.js +9 -0
  510. package/node/ftps/file/remove/index.d.ts +20 -0
  511. package/node/ftps/file/remove/index.js +9 -0
  512. package/node/ftps/file/stat/index.d.ts +17 -0
  513. package/node/ftps/file/stat/index.js +9 -0
  514. package/node/ftps/file/upload/index.d.ts +3 -3
  515. package/node/ftps/file/upload/index.js +2 -2
  516. package/node/ftps/index.d.ts +2 -1
  517. package/node/ftps/index.js +17 -4
  518. package/node/images/format/index.d.ts +9 -0
  519. package/node/images/format/index.js +21 -2
  520. package/node/images/index.js +36 -36
  521. package/node/images/prepare/index.js +36 -36
  522. package/node/images/transform/_utils/color-schema/index.js +3 -3
  523. package/node/images/transform/_utils/operation-names/index.js +1 -1
  524. package/node/images/transform/_utils/positions/index.js +3 -3
  525. package/node/images/transform/blur/index.js +3 -3
  526. package/node/images/transform/brighten/index.js +3 -3
  527. package/node/images/transform/compose/index.js +5 -5
  528. package/node/images/transform/extend/index.js +4 -4
  529. package/node/images/transform/extract/index.js +3 -3
  530. package/node/images/transform/flatten/index.js +4 -4
  531. package/node/images/transform/flip/index.js +3 -3
  532. package/node/images/transform/flop/index.js +3 -3
  533. package/node/images/transform/frame/backgrounds/create-line-background/index.d.ts +2 -2
  534. package/node/images/transform/frame/backgrounds/create-line-background/index.js +3 -3
  535. package/node/images/transform/frame/backgrounds/create-tile-background/index.d.ts +2 -2
  536. package/node/images/transform/frame/backgrounds/create-tile-background/index.js +3 -3
  537. package/node/images/transform/frame/index.js +7 -7
  538. package/node/images/transform/hue-rotate/index.js +3 -3
  539. package/node/images/transform/index.js +34 -34
  540. package/node/images/transform/lighten/index.js +3 -3
  541. package/node/images/transform/lineate-levels/index.js +3 -3
  542. package/node/images/transform/modulate/index.js +3 -3
  543. package/node/images/transform/normalize/index.js +3 -3
  544. package/node/images/transform/operations/_utils/compose/index.js +1 -1
  545. package/node/images/transform/operations/_utils/frame/backgrounds/create-line-background/index.js +5 -5
  546. package/node/images/transform/operations/_utils/frame/backgrounds/create-tile-background/index.js +1 -1
  547. package/node/images/transform/operations/_utils/frame/create-color-palette/index.js +5 -5
  548. package/node/images/transform/operations/_utils/frame/extract-colors-from-image/index.js +1 -1
  549. package/node/images/transform/operations/_utils/frame/index.js +8 -8
  550. package/node/images/transform/operations/_utils/positions/index.js +1 -1
  551. package/node/images/transform/operations/_utils/scale/index.js +1 -1
  552. package/node/images/transform/resize/index.js +4 -4
  553. package/node/images/transform/rotate/index.js +3 -3
  554. package/node/images/transform/saturate/index.js +3 -3
  555. package/node/images/transform/scale/index.js +4 -4
  556. package/node/process/index.js +1 -1
  557. package/node/process/on-exit/index.js +1 -1
  558. package/node/sftp/directory/copy-dir/index.d.ts +28 -0
  559. package/node/sftp/directory/copy-dir/index.js +9 -0
  560. package/node/sftp/directory/index.d.ts +5 -0
  561. package/node/sftp/directory/index.js +22 -0
  562. package/node/sftp/directory/list/index.d.ts +12 -0
  563. package/node/sftp/directory/list/index.js +9 -0
  564. package/node/sftp/directory/move-dir/index.d.ts +26 -0
  565. package/node/sftp/directory/move-dir/index.js +9 -0
  566. package/node/sftp/directory/remove-dir/index.d.ts +25 -0
  567. package/node/sftp/directory/remove-dir/index.js +9 -0
  568. package/node/sftp/file/copy/index.d.ts +28 -0
  569. package/node/sftp/file/copy/index.js +9 -0
  570. package/node/sftp/file/download/index.d.ts +2 -2
  571. package/node/sftp/file/download/index.js +2 -2
  572. package/node/sftp/file/exists/index.d.ts +21 -0
  573. package/node/sftp/file/exists/index.js +9 -0
  574. package/node/sftp/file/index.d.ts +6 -1
  575. package/node/sftp/file/index.js +25 -5
  576. package/node/sftp/file/move/index.d.ts +38 -0
  577. package/node/sftp/file/move/index.js +9 -0
  578. package/node/sftp/file/remove/index.d.ts +20 -0
  579. package/node/sftp/file/remove/index.js +9 -0
  580. package/node/sftp/file/stat/index.d.ts +18 -0
  581. package/node/sftp/file/stat/index.js +9 -0
  582. package/node/sftp/file/upload/index.d.ts +3 -3
  583. package/node/sftp/file/upload/index.js +2 -2
  584. package/node/sftp/index.d.ts +2 -1
  585. package/node/sftp/index.js +17 -4
  586. package/package.json +3 -2
  587. package/utils/agnostic/absolute-modulo/index.d.ts +1 -0
  588. package/utils/agnostic/absolute-modulo/index.js +1 -0
  589. package/utils/agnostic/array/index.d.ts +7 -0
  590. package/utils/agnostic/array/index.js +1 -0
  591. package/utils/agnostic/assert/index.d.ts +3 -0
  592. package/utils/agnostic/assert/index.js +1 -0
  593. package/utils/agnostic/await-timeout/index.d.ts +2 -0
  594. package/utils/agnostic/await-timeout/index.js +1 -0
  595. package/utils/agnostic/bem/BEM.d.ts +29 -0
  596. package/utils/agnostic/bem/getNamesArr.d.ts +2 -0
  597. package/utils/agnostic/bem/index.d.ts +5 -0
  598. package/utils/agnostic/bem/index.js +1 -0
  599. package/utils/agnostic/cast/index.d.ts +7 -0
  600. package/utils/agnostic/cast/index.js +1 -0
  601. package/utils/agnostic/charcode-string/index.d.ts +2 -0
  602. package/utils/agnostic/charcode-string/index.js +1 -0
  603. package/utils/agnostic/clamp/index.d.ts +1 -0
  604. package/utils/agnostic/clamp/index.js +1 -0
  605. package/utils/agnostic/clientside-html-sanitizer/index.d.ts +22 -0
  606. package/utils/agnostic/clientside-html-sanitizer/index.js +1 -0
  607. package/utils/agnostic/crossenv/index.d.ts +11 -0
  608. package/utils/agnostic/crossenv/index.js +1 -0
  609. package/utils/agnostic/flatten-getters/index.d.ts +1 -0
  610. package/utils/agnostic/flatten-getters/index.js +1 -0
  611. package/utils/agnostic/generate-html-placeholders/index.d.ts +7 -0
  612. package/utils/agnostic/generate-html-placeholders/index.js +5 -0
  613. package/utils/agnostic/generate-nice-color/index.d.ts +3 -0
  614. package/utils/agnostic/generate-nice-color/index.js +1 -0
  615. package/utils/agnostic/insert-node/index.d.ts +2 -0
  616. package/utils/agnostic/insert-node/index.js +1 -0
  617. package/utils/agnostic/interpolate/index.d.ts +3 -0
  618. package/utils/agnostic/interpolate/index.js +1 -0
  619. package/utils/agnostic/is-array-of/index.d.ts +5 -0
  620. package/utils/agnostic/is-array-of/index.js +1 -0
  621. package/utils/agnostic/is-constructor-function/index.d.ts +2 -0
  622. package/utils/agnostic/is-constructor-function/index.js +1 -0
  623. package/utils/agnostic/is-falsy/index.d.ts +8 -0
  624. package/utils/agnostic/is-falsy/index.js +1 -0
  625. package/utils/agnostic/is-in-enum/index.d.ts +1 -0
  626. package/utils/agnostic/is-in-enum/index.js +1 -0
  627. package/utils/agnostic/is-nullish/index.d.ts +5 -0
  628. package/utils/agnostic/is-nullish/index.js +1 -0
  629. package/utils/agnostic/is-object/index.d.ts +1 -0
  630. package/utils/agnostic/is-object/index.js +1 -0
  631. package/utils/agnostic/is-record/index.d.ts +1 -0
  632. package/utils/agnostic/is-record/index.js +1 -0
  633. package/utils/agnostic/is-valid-css-class-name/index.d.ts +2 -0
  634. package/utils/agnostic/is-valid-css-class-name/index.js +1 -0
  635. package/utils/agnostic/memoize/index.d.ts +3 -0
  636. package/utils/agnostic/memoize/index.js +1 -0
  637. package/utils/agnostic/object-validate-from-partial/index.d.ts +1 -0
  638. package/utils/agnostic/object-validate-from-partial/index.js +1 -0
  639. package/utils/agnostic/random/index.d.ts +9 -0
  640. package/utils/agnostic/random/index.js +1 -0
  641. package/utils/agnostic/record-format/index.d.ts +11 -0
  642. package/utils/agnostic/record-format/index.js +1 -0
  643. package/utils/agnostic/regexp/index.d.ts +21 -0
  644. package/utils/agnostic/regexp/index.js +1 -0
  645. package/utils/agnostic/replace-all/index.d.ts +1 -0
  646. package/utils/agnostic/replace-all/index.js +1 -0
  647. package/utils/agnostic/responsive-harmonics/index.d.ts +10 -0
  648. package/utils/agnostic/responsive-harmonics/index.js +1 -0
  649. package/utils/agnostic/round-numbers/index.d.ts +1 -0
  650. package/utils/agnostic/round-numbers/index.js +1 -0
  651. package/utils/agnostic/selector-to-element/index.d.ts +1 -0
  652. package/utils/agnostic/selector-to-element/index.js +1 -0
  653. package/utils/agnostic/silent-log/index.d.ts +53 -0
  654. package/utils/agnostic/silent-log/index.js +9 -0
  655. package/utils/agnostic/str-to-nodes/index.d.ts +7 -0
  656. package/utils/agnostic/str-to-nodes/index.js +1 -0
  657. package/utils/agnostic/string-matches/index.d.ts +4 -0
  658. package/utils/agnostic/string-matches/index.js +1 -0
  659. package/utils/agnostic/string-normalize-indent/index.d.ts +1 -0
  660. package/utils/agnostic/string-normalize-indent/index.js +3 -0
  661. package/utils/agnostic/throttle-debounce/index.d.ts +30 -0
  662. package/utils/agnostic/throttle-debounce/index.js +1 -0
  663. package/utils/agnostic/throttle-debounce/types.d.ts +3 -0
  664. package/utils/agnostic/to-alphanum/index.d.ts +1 -0
  665. package/utils/agnostic/to-alphanum/index.js +1 -0
  666. package/utils/agnostic/transition/index.d.ts +39 -0
  667. package/utils/agnostic/transition/index.js +1 -0
  668. package/utils/agnostic/wait/index.d.ts +1 -0
  669. package/utils/agnostic/wait/index.js +1 -0
  670. package/utils/browser/dynamic-css/index.d.ts +4 -0
  671. package/utils/browser/dynamic-css/index.js +2 -0
  672. package/utils/browser/get-current-downlink/index.d.ts +1 -0
  673. package/utils/browser/get-current-downlink/index.js +1 -0
  674. package/utils/browser/get-node-ancestors/index.d.ts +1 -0
  675. package/utils/browser/get-node-ancestors/index.js +1 -0
  676. package/utils/node/is-in-directory/index.d.ts +1 -0
  677. package/utils/node/is-in-directory/index.js +1 -0
  678. package/utils/node/list-subpaths/index.d.ts +33 -0
  679. package/utils/node/list-subpaths/index.js +1 -0
  680. package/utils/node/process-exit/index.d.ts +5 -0
  681. package/utils/node/process-exit/index.js +1 -0
  682. package/utils/node/read-write-file/index.d.ts +12 -0
  683. package/utils/node/read-write-file/index.js +1 -0
  684. package/chunks/chunk-26QQ56SS.js +0 -36
  685. package/chunks/chunk-2H5RIOJO.js +0 -16
  686. package/chunks/chunk-2PNFMIXN.js +0 -20
  687. package/chunks/chunk-334MFRHI.js +0 -56
  688. package/chunks/chunk-336RBB5E.js +0 -151
  689. package/chunks/chunk-33YK4WOA.js +0 -18
  690. package/chunks/chunk-3CQON3DO.js +0 -56
  691. package/chunks/chunk-3CZNTEF7.js +0 -151
  692. package/chunks/chunk-3KN4IIQU.js +0 -23
  693. package/chunks/chunk-3UM5CZA5.js +0 -18
  694. package/chunks/chunk-422KBDRV.js +0 -203
  695. package/chunks/chunk-454MZ5UE.js +0 -239
  696. package/chunks/chunk-46HTGOCE.js +0 -56
  697. package/chunks/chunk-4ARTWFW5.js +0 -164
  698. package/chunks/chunk-4CAHGPFA.js +0 -32
  699. package/chunks/chunk-4OCP2WZM.js +0 -100
  700. package/chunks/chunk-4TGRV2AB.js +0 -18
  701. package/chunks/chunk-4WZEYD3R.js +0 -56
  702. package/chunks/chunk-55MT7BMY.js +0 -16
  703. package/chunks/chunk-5GBYBDYQ.js +0 -36
  704. package/chunks/chunk-5IPSIDXB.js +0 -31
  705. package/chunks/chunk-5J7H5WYC.js +0 -82
  706. package/chunks/chunk-5JAITHS2.js +0 -48
  707. package/chunks/chunk-5JNJVGDX.js +0 -20
  708. package/chunks/chunk-5M7ZTA56.js +0 -43
  709. package/chunks/chunk-5RGHYFQH.js +0 -70
  710. package/chunks/chunk-5SWBMXLR.js +0 -98
  711. package/chunks/chunk-662SOZWA.js +0 -19
  712. package/chunks/chunk-6EIF24H5.js +0 -35
  713. package/chunks/chunk-6HPXM6ED.js +0 -20
  714. package/chunks/chunk-6V7VQ32U.js +0 -56
  715. package/chunks/chunk-6Y7RZ5WD.js +0 -48
  716. package/chunks/chunk-6ZBDBWLW.js +0 -164
  717. package/chunks/chunk-76QORXDC.js +0 -19
  718. package/chunks/chunk-7BCQCDGQ.js +0 -31
  719. package/chunks/chunk-7DDXALPH.js +0 -49
  720. package/chunks/chunk-7DV4CM2Z.js +0 -205
  721. package/chunks/chunk-7FJKDVBE.js +0 -49
  722. package/chunks/chunk-7KCMLH6B.js +0 -22
  723. package/chunks/chunk-7N7BJA6C.js +0 -36
  724. package/chunks/chunk-7SS2R4B6.js +0 -82
  725. package/chunks/chunk-7YSTZ7GY.js +0 -31
  726. package/chunks/chunk-7Z7CKAOH.js +0 -98
  727. package/chunks/chunk-A6OSVHIK.js +0 -20
  728. package/chunks/chunk-AIESW26U.js +0 -47
  729. package/chunks/chunk-AMXIZUFB.js +0 -16
  730. package/chunks/chunk-AZLVQV5A.js +0 -39
  731. package/chunks/chunk-B4XUXE7E.js +0 -18
  732. package/chunks/chunk-B5XLWFTJ.js +0 -20
  733. package/chunks/chunk-BANYGSW4.js +0 -20
  734. package/chunks/chunk-BGZ5OVVN.js +0 -20
  735. package/chunks/chunk-BONBND7I.js +0 -239
  736. package/chunks/chunk-BPBWY4OT.js +0 -191
  737. package/chunks/chunk-BWKM2VQJ.js +0 -191
  738. package/chunks/chunk-BWXVJB4I.js +0 -20
  739. package/chunks/chunk-BZHH4R64.js +0 -20
  740. package/chunks/chunk-CHA42BGS.js +0 -48
  741. package/chunks/chunk-CKCTYZF7.js +0 -48
  742. package/chunks/chunk-CM6AHRTS.js +0 -16
  743. package/chunks/chunk-CMWR77VW.js +0 -54
  744. package/chunks/chunk-CSZFW4R5.js +0 -69
  745. package/chunks/chunk-CYIUZX2T.js +0 -31
  746. package/chunks/chunk-D5E2CIDK.js +0 -20
  747. package/chunks/chunk-DEQ5N53D.js +0 -21
  748. package/chunks/chunk-DW4ILX77.js +0 -28
  749. package/chunks/chunk-E2BDKTLL.js +0 -48
  750. package/chunks/chunk-E6HDM2M4.js +0 -191
  751. package/chunks/chunk-E7J4E6OB.js +0 -65
  752. package/chunks/chunk-EA4L7AGZ.js +0 -48
  753. package/chunks/chunk-EBVYO2TY.js +0 -48
  754. package/chunks/chunk-ECGOI4MT.js +0 -20
  755. package/chunks/chunk-ECWDSMDZ.js +0 -20
  756. package/chunks/chunk-FFNIZRZU.js +0 -31
  757. package/chunks/chunk-FHHXI6WC.js +0 -31
  758. package/chunks/chunk-FIVB3FON.js +0 -56
  759. package/chunks/chunk-FMRPJBUC.js +0 -20
  760. package/chunks/chunk-FRP47Y6H.js +0 -2456
  761. package/chunks/chunk-FZJUZYTP.js +0 -177
  762. package/chunks/chunk-G2M3VECP.js +0 -20
  763. package/chunks/chunk-G3HAKMUB.js +0 -79
  764. package/chunks/chunk-G66DWXF3.js +0 -31
  765. package/chunks/chunk-GCHQD7MH.js +0 -63
  766. package/chunks/chunk-GD6Y5QJV.js +0 -98
  767. package/chunks/chunk-GE7DNPF6.js +0 -63
  768. package/chunks/chunk-H73SGDQI.js +0 -20
  769. package/chunks/chunk-H7LDIXVY.js +0 -48
  770. package/chunks/chunk-HBKSSDSX.js +0 -20
  771. package/chunks/chunk-HDK7W7GS.js +0 -20
  772. package/chunks/chunk-HFIE4SBE.js +0 -16
  773. package/chunks/chunk-HGQGQLLC.js +0 -4430
  774. package/chunks/chunk-HV2AHV5R.js +0 -164
  775. package/chunks/chunk-I37MGRCT.js +0 -20
  776. package/chunks/chunk-IARWH6LC.js +0 -34
  777. package/chunks/chunk-IH25CV3F.js +0 -20
  778. package/chunks/chunk-IJAFLBHD.js +0 -16
  779. package/chunks/chunk-ISFXCV7D.js +0 -20
  780. package/chunks/chunk-IXM6DCIE.js +0 -151
  781. package/chunks/chunk-IYV3EEYX.js +0 -20
  782. package/chunks/chunk-J35QFU6O.js +0 -21
  783. package/chunks/chunk-JBUM5Q5C.js +0 -48
  784. package/chunks/chunk-JBZR6R5B.js +0 -15
  785. package/chunks/chunk-JJWKHBXD.js +0 -68
  786. package/chunks/chunk-JLXITDAV.js +0 -48
  787. package/chunks/chunk-JR76DLSV.js +0 -151
  788. package/chunks/chunk-JS3NE4VI.js +0 -2456
  789. package/chunks/chunk-JSKVNOTW.js +0 -56
  790. package/chunks/chunk-JYYW4KOZ.js +0 -72
  791. package/chunks/chunk-K4Q2MG65.js +0 -56
  792. package/chunks/chunk-K66UXFDQ.js +0 -63
  793. package/chunks/chunk-KBCULP7X.js +0 -177
  794. package/chunks/chunk-KC76PUJY.js +0 -48
  795. package/chunks/chunk-KDTKA3SG.js +0 -31
  796. package/chunks/chunk-KN23H4CI.js +0 -20
  797. package/chunks/chunk-KTK3BMX2.js +0 -56
  798. package/chunks/chunk-L7EUEQZP.js +0 -0
  799. package/chunks/chunk-LH6Z6NJY.js +0 -191
  800. package/chunks/chunk-LOY7C5BP.js +0 -151
  801. package/chunks/chunk-LVBXPZUO.js +0 -104
  802. package/chunks/chunk-MDVYILPB.js +0 -56
  803. package/chunks/chunk-MFK63FMI.js +0 -31
  804. package/chunks/chunk-MFWKY3DT.js +0 -32
  805. package/chunks/chunk-MKHTR43Q.js +0 -231
  806. package/chunks/chunk-MOBGB2PH.js +0 -54
  807. package/chunks/chunk-MTGZYBK2.js +0 -129
  808. package/chunks/chunk-MV2LDBDF.js +0 -164
  809. package/chunks/chunk-MVNQWIVH.js +0 -151
  810. package/chunks/chunk-MXGGOCLX.js +0 -56
  811. package/chunks/chunk-MZKZI6JL.js +0 -37
  812. package/chunks/chunk-MZZOFFFT.js +0 -21
  813. package/chunks/chunk-N5QAGJXV.js +0 -49
  814. package/chunks/chunk-NA3M6VUU.js +0 -20
  815. package/chunks/chunk-NA7PT2KE.js +0 -21
  816. package/chunks/chunk-NAP2XNYN.js +0 -23
  817. package/chunks/chunk-NFIEXASV.js +0 -164
  818. package/chunks/chunk-NJ4ANCLV.js +0 -65
  819. package/chunks/chunk-NOBTN4IW.js +0 -4471
  820. package/chunks/chunk-O7UEQQ6H.js +0 -49
  821. package/chunks/chunk-OD33BN4K.js +0 -32
  822. package/chunks/chunk-OPU4CANL.js +0 -35
  823. package/chunks/chunk-OSCBZIZF.js +0 -28
  824. package/chunks/chunk-OSZ4BWDE.js +0 -32
  825. package/chunks/chunk-OUJTDMHK.js +0 -16
  826. package/chunks/chunk-OWCPJD6O.js +0 -16
  827. package/chunks/chunk-OXV3LVNK.js +0 -191
  828. package/chunks/chunk-P3QFJTAE.js +0 -129
  829. package/chunks/chunk-P5OGBBGM.js +0 -37
  830. package/chunks/chunk-PCTJ7TUG.js +0 -191
  831. package/chunks/chunk-PDHAMES3.js +0 -20
  832. package/chunks/chunk-PENYZ6S7.js +0 -31
  833. package/chunks/chunk-PEUWFUEZ.js +0 -98
  834. package/chunks/chunk-PLIJVLAB.js +0 -173
  835. package/chunks/chunk-PSP2DKDH.js +0 -151
  836. package/chunks/chunk-Q2ZS3QNB.js +0 -151
  837. package/chunks/chunk-Q4MSGUKR.js +0 -37
  838. package/chunks/chunk-QAE3OWOI.js +0 -79
  839. package/chunks/chunk-QHQPS7EU.js +0 -31
  840. package/chunks/chunk-QN3UAKIU.js +0 -21
  841. package/chunks/chunk-QPT6R6CL.js +0 -100
  842. package/chunks/chunk-QSSQOTGV.js +0 -20
  843. package/chunks/chunk-QUDIXNB2.js +0 -18
  844. package/chunks/chunk-QVIRBFMQ.js +0 -31
  845. package/chunks/chunk-R6F2MFZZ.js +0 -173
  846. package/chunks/chunk-R7J7Q2UL.js +0 -20
  847. package/chunks/chunk-REN2I723.js +0 -98
  848. package/chunks/chunk-RGGOIE34.js +0 -20
  849. package/chunks/chunk-RLTBF5FT.js +0 -23
  850. package/chunks/chunk-RPWYARS3.js +0 -18
  851. package/chunks/chunk-RQECU6DI.js +0 -56
  852. package/chunks/chunk-RVZ32GPI.js +0 -55
  853. package/chunks/chunk-S2PB2PLY.js +0 -191
  854. package/chunks/chunk-SARTUWB5.js +0 -20
  855. package/chunks/chunk-SC54OKBX.js +0 -43
  856. package/chunks/chunk-SDFTYOAK.js +0 -20
  857. package/chunks/chunk-SLCGLOYM.js +0 -37
  858. package/chunks/chunk-SNRRHDIZ.js +0 -31
  859. package/chunks/chunk-SUWMOLXI.js +0 -191
  860. package/chunks/chunk-SZQHLC4K.js +0 -31
  861. package/chunks/chunk-T2T5BYTW.js +0 -18
  862. package/chunks/chunk-T55QIYYV.js +0 -32
  863. package/chunks/chunk-T6IC7JVI.js +0 -37
  864. package/chunks/chunk-TC7A4P5S.js +0 -34
  865. package/chunks/chunk-TDOBYMTK.js +0 -56
  866. package/chunks/chunk-TPMYILTC.js +0 -191
  867. package/chunks/chunk-TXGV4KJD.js +0 -31
  868. package/chunks/chunk-TZ7MNWDS.js +0 -20
  869. package/chunks/chunk-U3L3X27Q.js +0 -177
  870. package/chunks/chunk-U4UHXVMV.js +0 -37
  871. package/chunks/chunk-U7CF7IDN.js +0 -35
  872. package/chunks/chunk-UERX6XGZ.js +0 -21
  873. package/chunks/chunk-UODICVLG.js +0 -173
  874. package/chunks/chunk-UUSZJMJB.js +0 -37
  875. package/chunks/chunk-UVSTFYSD.js +0 -28
  876. package/chunks/chunk-UYRX3PTS.js +0 -2456
  877. package/chunks/chunk-UZPXYAJR.js +0 -177
  878. package/chunks/chunk-V4KSJHTU.js +0 -20
  879. package/chunks/chunk-VDT6ODFV.js +0 -20
  880. package/chunks/chunk-VHAGPTVR.js +0 -37
  881. package/chunks/chunk-VHPX7UA3.js +0 -177
  882. package/chunks/chunk-VLC7LRED.js +0 -191
  883. package/chunks/chunk-VLHSIIPO.js +0 -20
  884. package/chunks/chunk-VQUF2TSY.js +0 -191
  885. package/chunks/chunk-VR5JHUKK.js +0 -32
  886. package/chunks/chunk-VSBRIQPH.js +0 -48
  887. package/chunks/chunk-VWLJ5IEE.js +0 -31
  888. package/chunks/chunk-WDXNM5YB.js +0 -20
  889. package/chunks/chunk-WGQHXHXS.js +0 -31
  890. package/chunks/chunk-WH5V6GK7.js +0 -56
  891. package/chunks/chunk-WIJBRYJ6.js +0 -20
  892. package/chunks/chunk-WLGIDY6A.js +0 -2456
  893. package/chunks/chunk-WMSE5GRO.js +0 -63
  894. package/chunks/chunk-WO2R3QFK.js +0 -20
  895. package/chunks/chunk-WOGRENMM.js +0 -31
  896. package/chunks/chunk-WQKFVIUF.js +0 -37
  897. package/chunks/chunk-WR64YJNW.js +0 -20
  898. package/chunks/chunk-WSFCRVEQ.js +0 -9
  899. package/chunks/chunk-WTILPGGX.js +0 -69
  900. package/chunks/chunk-WU3JQC7W.js +0 -164
  901. package/chunks/chunk-X24BLY5H.js +0 -31
  902. package/chunks/chunk-X34YXAEL.js +0 -31
  903. package/chunks/chunk-X4XXZ44B.js +0 -37
  904. package/chunks/chunk-X5FAZBWL.js +0 -130
  905. package/chunks/chunk-X6WCMUOP.js +0 -18
  906. package/chunks/chunk-XAZT2MME.js +0 -56
  907. package/chunks/chunk-XB3YCG6I.js +0 -48
  908. package/chunks/chunk-XB3ZOIHH.js +0 -2456
  909. package/chunks/chunk-XEAHMN2T.js +0 -4063
  910. package/chunks/chunk-XEMFIV2W.js +0 -177
  911. package/chunks/chunk-XF5QBETN.js +0 -48
  912. package/chunks/chunk-XJ23DJY4.js +0 -173
  913. package/chunks/chunk-XN44EWRS.js +0 -21
  914. package/chunks/chunk-XSVBWVVC.js +0 -20
  915. package/chunks/chunk-XTOAQTLP.js +0 -98
  916. package/chunks/chunk-XVYKCWPR.js +0 -48
  917. package/chunks/chunk-XZ7II65Z.js +0 -31
  918. package/chunks/chunk-Y5GGIBPI.js +0 -31
  919. package/chunks/chunk-Y7YEYHRZ.js +0 -69
  920. package/chunks/chunk-YEYXAV23.js +0 -16
  921. package/chunks/chunk-YLJBKSLO.js +0 -56
  922. package/chunks/chunk-YLKBLE6G.js +0 -30
  923. package/chunks/chunk-YMF7CUJA.js +0 -20
  924. package/chunks/chunk-YMRAUWRW.js +0 -20
  925. package/chunks/chunk-YMRGCRQ4.js +0 -48
  926. package/chunks/chunk-YRQ7LODK.js +0 -177
  927. package/chunks/chunk-YSDPTGYO.js +0 -31
  928. package/chunks/chunk-YUJJEKYY.js +0 -144
  929. package/chunks/chunk-YVEMIEOT.js +0 -203
  930. package/chunks/chunk-YW5ASSIQ.js +0 -31
  931. package/chunks/chunk-YXJXNTCV.js +0 -65
  932. package/chunks/chunk-YYA5VRE4.js +0 -177
  933. package/chunks/chunk-YZYA7LFK.js +0 -20
  934. package/chunks/chunk-Z2CU55CF.js +0 -20
  935. package/chunks/chunk-Z6ZTRJ67.js +0 -177
  936. package/chunks/chunk-ZBQEB3X7.js +0 -4430
  937. package/chunks/chunk-ZLNDBNP4.js +0 -31
  938. package/chunks/chunk-ZMMNN3QA.js +0 -16
  939. package/chunks/chunk-ZNA7SWFK.js +0 -29
  940. package/chunks/chunk-ZQ7ZC7TZ.js +0 -56
  941. package/chunks/chunk-ZVBMPJLH.js +0 -48
  942. package/chunks/chunk-ZVZAGTIT.js +0 -151
  943. package/chunks/chunk-ZZH6RUS3.js +0 -48
  944. package/node/@design-edito/thumbnails/colors/index.d.ts +0 -38
  945. package/node/@design-edito/thumbnails/colors/index.js +0 -33
  946. package/node/@design-edito/thumbnails/common/index.d.ts +0 -5
  947. package/node/@design-edito/thumbnails/common/index.js +0 -15
  948. package/node/@design-edito/thumbnails/easings/index.d.ts +0 -8
  949. package/node/@design-edito/thumbnails/easings/index.js +0 -21
  950. package/node/@design-edito/thumbnails/layout/index.d.ts +0 -63
  951. package/node/@design-edito/thumbnails/layout/index.js +0 -31
  952. package/node/@google-cloud/storage/bucket/list/index.d.ts +0 -17
  953. package/node/@google-cloud/storage/file/erase/index.d.ts +0 -20
  954. package/node/cloud-storage/client/index.d.ts +0 -14
  955. package/node/cloud-storage/client/index.js +0 -20
  956. package/node/cloud-storage/credentials/index.d.ts +0 -39
  957. package/node/cloud-storage/credentials/index.js +0 -18
  958. package/node/cloud-storage/endpoint/index.d.ts +0 -24
  959. package/node/cloud-storage/endpoint/index.js +0 -13
  960. package/node/cloud-storage/operations/download/index.d.ts +0 -5
  961. package/node/cloud-storage/operations/download/index.js +0 -14
  962. package/node/cloud-storage/operations/upload/index.d.ts +0 -5
  963. package/node/cloud-storage/operations/upload/index.js +0 -14
  964. package/node/images/exports/index.d.ts +0 -15
  965. package/node/images/exports/index.js +0 -9
  966. package/node/images/transform/area-composition/index.d.ts +0 -60
  967. package/node/images/transform/area-composition/index.js +0 -15
  968. package/node/images/transform/operations/area-composition/area-line-composition/index.d.ts +0 -19
  969. package/node/images/transform/operations/area-composition/area-line-composition/index.js +0 -14
  970. package/node/images/transform/operations/area-composition/area-tile-composition/index.d.ts +0 -30
  971. package/node/images/transform/operations/area-composition/area-tile-composition/index.js +0 -15
  972. package/node/images/transform/operations/area-composition/index.d.ts +0 -31
  973. package/node/images/transform/operations/area-composition/index.js +0 -15
  974. package/node/images/transform/operations/inner-resize/index.d.ts +0 -25
  975. package/node/images/transform/operations/inner-resize/index.js +0 -13
  976. package/chunks/{chunk-SAFV7TBT.js → chunk-2COSSNOE.js} +6 -6
  977. package/chunks/{chunk-4Y5XR6WC.js → chunk-33GNX62K.js} +13 -13
  978. package/chunks/{chunk-HFH6DXXC.js → chunk-6LY5FJXY.js} +14 -14
  979. package/chunks/{chunk-OVG5RGI3.js → chunk-DCKTGQOX.js} +4 -4
  980. package/chunks/{chunk-236C4IHT.js → chunk-LMF52IW7.js} +6 -6
  981. package/chunks/{chunk-HZGGYNZ5.js → chunk-S3GEV44K.js} +15 -15
  982. package/chunks/{chunk-JX45LILQ.js → chunk-XFMKYZKH.js} +3 -3
@@ -0,0 +1,43 @@
1
+ import {
2
+ Outcome
3
+ } from "./chunk-JMU5PDBD.js";
4
+ import {
5
+ unknownToString
6
+ } from "./chunk-FENXVJYO.js";
7
+ import {
8
+ __export
9
+ } from "./chunk-KH45J4DC.js";
10
+
11
+ // src/node/@google-cloud/storage/file/move/index.ts
12
+ var move_exports = {};
13
+ __export(move_exports, {
14
+ move: () => move
15
+ });
16
+ async function move(bucket, sourcePath, targetPath, options) {
17
+ const {
18
+ fileOptions,
19
+ copyOptions,
20
+ deleteOptions,
21
+ overwrite = false
22
+ } = options ?? {};
23
+ try {
24
+ const srcFile = bucket.file(sourcePath, fileOptions);
25
+ const destFile = bucket.file(targetPath, fileOptions);
26
+ if (!overwrite) {
27
+ const [exists] = await destFile.exists();
28
+ if (exists) {
29
+ return Outcome.makeFailure(`Object already exists at ${targetPath}.`);
30
+ }
31
+ }
32
+ await srcFile.copy(destFile, copyOptions);
33
+ await srcFile.delete(deleteOptions);
34
+ return Outcome.makeSuccess(true);
35
+ } catch (err) {
36
+ return Outcome.makeFailure(unknownToString(err));
37
+ }
38
+ }
39
+
40
+ export {
41
+ move,
42
+ move_exports
43
+ };
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-MOVLLUDL.js";
4
4
  import {
5
5
  esm_default
6
- } from "./chunk-YE67BQQN.js";
6
+ } from "./chunk-T4KFB6QN.js";
7
7
 
8
8
  // src/node/images/transform/rotate/index.ts
9
9
  var rotateSchema = esm_default.object({
@@ -0,0 +1,654 @@
1
+ import {
2
+ require_dist_cjs,
3
+ require_dist_cjs2,
4
+ require_dist_cjs3,
5
+ require_dist_cjs4
6
+ } from "./chunk-IZP4VIFZ.js";
7
+ import {
8
+ Outcome
9
+ } from "./chunk-JMU5PDBD.js";
10
+ import {
11
+ unknownToString
12
+ } from "./chunk-FENXVJYO.js";
13
+ import {
14
+ __commonJS,
15
+ __export,
16
+ __require,
17
+ __toESM
18
+ } from "./chunk-KH45J4DC.js";
19
+
20
+ // node_modules/@smithy/abort-controller/dist-cjs/index.js
21
+ var require_dist_cjs5 = __commonJS({
22
+ "node_modules/@smithy/abort-controller/dist-cjs/index.js"(exports, module) {
23
+ var __defProp = Object.defineProperty;
24
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
25
+ var __getOwnPropNames = Object.getOwnPropertyNames;
26
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
27
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
28
+ var __export2 = (target, all) => {
29
+ for (var name in all)
30
+ __defProp(target, name, { get: all[name], enumerable: true });
31
+ };
32
+ var __copyProps = (to, from, except, desc) => {
33
+ if (from && typeof from === "object" || typeof from === "function") {
34
+ for (let key of __getOwnPropNames(from))
35
+ if (!__hasOwnProp.call(to, key) && key !== except)
36
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
37
+ }
38
+ return to;
39
+ };
40
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
41
+ var src_exports = {};
42
+ __export2(src_exports, {
43
+ AbortController: () => AbortController,
44
+ AbortHandler: () => import_types.AbortHandler,
45
+ AbortSignal: () => AbortSignal,
46
+ IAbortController: () => import_types.AbortController,
47
+ IAbortSignal: () => import_types.AbortSignal
48
+ });
49
+ module.exports = __toCommonJS(src_exports);
50
+ var import_types = require_dist_cjs();
51
+ var AbortSignal = class {
52
+ constructor() {
53
+ this.onabort = null;
54
+ this._aborted = false;
55
+ Object.defineProperty(this, "_aborted", {
56
+ value: false,
57
+ writable: true
58
+ });
59
+ }
60
+ static {
61
+ __name(this, "AbortSignal");
62
+ }
63
+ /**
64
+ * Whether the associated operation has already been cancelled.
65
+ */
66
+ get aborted() {
67
+ return this._aborted;
68
+ }
69
+ /**
70
+ * @internal
71
+ */
72
+ abort() {
73
+ this._aborted = true;
74
+ if (this.onabort) {
75
+ this.onabort(this);
76
+ this.onabort = null;
77
+ }
78
+ }
79
+ };
80
+ var AbortController = class {
81
+ constructor() {
82
+ this.signal = new AbortSignal();
83
+ }
84
+ static {
85
+ __name(this, "AbortController");
86
+ }
87
+ abort() {
88
+ this.signal.abort();
89
+ }
90
+ };
91
+ }
92
+ });
93
+
94
+ // node_modules/@aws-sdk/lib-storage/dist-cjs/runtimeConfig.shared.js
95
+ var require_runtimeConfig_shared = __commonJS({
96
+ "node_modules/@aws-sdk/lib-storage/dist-cjs/runtimeConfig.shared.js"(exports) {
97
+ "use strict";
98
+ Object.defineProperty(exports, "__esModule", { value: true });
99
+ exports.ClientSharedValues = void 0;
100
+ exports.ClientSharedValues = {
101
+ lstatSync: () => {
102
+ }
103
+ };
104
+ }
105
+ });
106
+
107
+ // node_modules/@aws-sdk/lib-storage/dist-cjs/runtimeConfig.js
108
+ var require_runtimeConfig = __commonJS({
109
+ "node_modules/@aws-sdk/lib-storage/dist-cjs/runtimeConfig.js"(exports) {
110
+ "use strict";
111
+ Object.defineProperty(exports, "__esModule", { value: true });
112
+ exports.ClientDefaultValues = void 0;
113
+ var fs_1 = __require("fs");
114
+ var runtimeConfig_shared_1 = require_runtimeConfig_shared();
115
+ exports.ClientDefaultValues = {
116
+ ...runtimeConfig_shared_1.ClientSharedValues,
117
+ runtime: "node",
118
+ lstatSync: fs_1.lstatSync
119
+ };
120
+ }
121
+ });
122
+
123
+ // node_modules/@aws-sdk/lib-storage/dist-cjs/index.js
124
+ var require_dist_cjs6 = __commonJS({
125
+ "node_modules/@aws-sdk/lib-storage/dist-cjs/index.js"(exports, module) {
126
+ "use strict";
127
+ var __defProp = Object.defineProperty;
128
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
129
+ var __getOwnPropNames = Object.getOwnPropertyNames;
130
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
131
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
132
+ var __export2 = (target, all) => {
133
+ for (var name in all)
134
+ __defProp(target, name, { get: all[name], enumerable: true });
135
+ };
136
+ var __copyProps = (to, from, except, desc) => {
137
+ if (from && typeof from === "object" || typeof from === "function") {
138
+ for (let key of __getOwnPropNames(from))
139
+ if (!__hasOwnProp.call(to, key) && key !== except)
140
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
141
+ }
142
+ return to;
143
+ };
144
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
145
+ var index_exports = {};
146
+ __export2(index_exports, {
147
+ Upload: () => Upload2
148
+ });
149
+ module.exports = __toCommonJS(index_exports);
150
+ var import_client_s32 = require_dist_cjs4();
151
+ var import_abort_controller = require_dist_cjs5();
152
+ var import_middleware_endpoint = require_dist_cjs3();
153
+ var import_smithy_client = require_dist_cjs2();
154
+ var import_events = __require("events");
155
+ var import_buffer = __require("buffer");
156
+ var import_runtimeConfig = require_runtimeConfig();
157
+ var byteLength = /* @__PURE__ */ __name((input) => {
158
+ if (input === null || input === void 0) return 0;
159
+ if (typeof input === "string") {
160
+ return import_buffer.Buffer.byteLength(input);
161
+ }
162
+ if (typeof input.byteLength === "number") {
163
+ return input.byteLength;
164
+ } else if (typeof input.length === "number") {
165
+ return input.length;
166
+ } else if (typeof input.size === "number") {
167
+ return input.size;
168
+ } else if (typeof input.path === "string") {
169
+ try {
170
+ return import_runtimeConfig.ClientDefaultValues.lstatSync(input.path).size;
171
+ } catch (error) {
172
+ return void 0;
173
+ }
174
+ }
175
+ return void 0;
176
+ }, "byteLength");
177
+ var import_stream = __require("stream");
178
+ async function* getChunkStream(data, partSize, getNextData) {
179
+ let partNumber = 1;
180
+ const currentBuffer = { chunks: [], length: 0 };
181
+ for await (const datum of getNextData(data)) {
182
+ currentBuffer.chunks.push(datum);
183
+ currentBuffer.length += datum.byteLength;
184
+ while (currentBuffer.length > partSize) {
185
+ const dataChunk = currentBuffer.chunks.length > 1 ? import_buffer.Buffer.concat(currentBuffer.chunks) : currentBuffer.chunks[0];
186
+ yield {
187
+ partNumber,
188
+ data: dataChunk.subarray(0, partSize)
189
+ };
190
+ currentBuffer.chunks = [dataChunk.subarray(partSize)];
191
+ currentBuffer.length = currentBuffer.chunks[0].byteLength;
192
+ partNumber += 1;
193
+ }
194
+ }
195
+ yield {
196
+ partNumber,
197
+ data: currentBuffer.chunks.length !== 1 ? import_buffer.Buffer.concat(currentBuffer.chunks) : currentBuffer.chunks[0],
198
+ lastPart: true
199
+ };
200
+ }
201
+ __name(getChunkStream, "getChunkStream");
202
+ async function* getChunkUint8Array(data, partSize) {
203
+ let partNumber = 1;
204
+ let startByte = 0;
205
+ let endByte = partSize;
206
+ while (endByte < data.byteLength) {
207
+ yield {
208
+ partNumber,
209
+ data: data.subarray(startByte, endByte)
210
+ };
211
+ partNumber += 1;
212
+ startByte = endByte;
213
+ endByte = startByte + partSize;
214
+ }
215
+ yield {
216
+ partNumber,
217
+ data: data.subarray(startByte),
218
+ lastPart: true
219
+ };
220
+ }
221
+ __name(getChunkUint8Array, "getChunkUint8Array");
222
+ async function* getDataReadable(data) {
223
+ for await (const chunk of data) {
224
+ if (import_buffer.Buffer.isBuffer(chunk) || chunk instanceof Uint8Array) {
225
+ yield chunk;
226
+ } else {
227
+ yield import_buffer.Buffer.from(chunk);
228
+ }
229
+ }
230
+ }
231
+ __name(getDataReadable, "getDataReadable");
232
+ async function* getDataReadableStream(data) {
233
+ const reader = data.getReader();
234
+ try {
235
+ while (true) {
236
+ const { done, value } = await reader.read();
237
+ if (done) {
238
+ return;
239
+ }
240
+ if (import_buffer.Buffer.isBuffer(value) || value instanceof Uint8Array) {
241
+ yield value;
242
+ } else {
243
+ yield import_buffer.Buffer.from(value);
244
+ }
245
+ }
246
+ } catch (e) {
247
+ throw e;
248
+ } finally {
249
+ reader.releaseLock();
250
+ }
251
+ }
252
+ __name(getDataReadableStream, "getDataReadableStream");
253
+ var getChunk = /* @__PURE__ */ __name((data, partSize) => {
254
+ if (data instanceof Uint8Array) {
255
+ return getChunkUint8Array(data, partSize);
256
+ }
257
+ if (data instanceof import_stream.Readable) {
258
+ return getChunkStream(data, partSize, getDataReadable);
259
+ }
260
+ if (data instanceof String || typeof data === "string") {
261
+ return getChunkUint8Array(import_buffer.Buffer.from(data), partSize);
262
+ }
263
+ if (typeof data.stream === "function") {
264
+ return getChunkStream(data.stream(), partSize, getDataReadableStream);
265
+ }
266
+ if (data instanceof ReadableStream) {
267
+ return getChunkStream(data, partSize, getDataReadableStream);
268
+ }
269
+ throw new Error(
270
+ "Body Data is unsupported format, expected data to be one of: string | Uint8Array | Buffer | Readable | ReadableStream | Blob;."
271
+ );
272
+ }, "getChunk");
273
+ var Upload2 = class _Upload extends import_events.EventEmitter {
274
+ static {
275
+ __name(this, "Upload");
276
+ }
277
+ /**
278
+ * @internal
279
+ * modified in testing only.
280
+ */
281
+ static MIN_PART_SIZE = 1024 * 1024 * 5;
282
+ /**
283
+ * S3 multipart upload does not allow more than 10,000 parts.
284
+ */
285
+ MAX_PARTS = 1e4;
286
+ // Defaults.
287
+ queueSize = 4;
288
+ partSize = _Upload.MIN_PART_SIZE;
289
+ leavePartsOnError = false;
290
+ tags = [];
291
+ client;
292
+ params;
293
+ // used for reporting progress.
294
+ totalBytes;
295
+ bytesUploadedSoFar;
296
+ // used in the upload.
297
+ abortController;
298
+ concurrentUploaders = [];
299
+ createMultiPartPromise;
300
+ abortMultipartUploadCommand = null;
301
+ uploadedParts = [];
302
+ uploadEnqueuedPartsCount = 0;
303
+ /**
304
+ * Last UploadId if the upload was done with MultipartUpload and not PutObject.
305
+ */
306
+ uploadId;
307
+ uploadEvent;
308
+ isMultiPart = true;
309
+ singleUploadResult;
310
+ sent = false;
311
+ constructor(options) {
312
+ super();
313
+ this.queueSize = options.queueSize || this.queueSize;
314
+ this.partSize = options.partSize || this.partSize;
315
+ this.leavePartsOnError = options.leavePartsOnError || this.leavePartsOnError;
316
+ this.tags = options.tags || this.tags;
317
+ this.client = options.client;
318
+ this.params = options.params;
319
+ this.__validateInput();
320
+ this.totalBytes = byteLength(this.params.Body);
321
+ this.bytesUploadedSoFar = 0;
322
+ this.abortController = options.abortController ?? new import_abort_controller.AbortController();
323
+ }
324
+ async abort() {
325
+ this.abortController.abort();
326
+ }
327
+ async done() {
328
+ if (this.sent) {
329
+ throw new Error(
330
+ "@aws-sdk/lib-storage: this instance of Upload has already executed .done(). Create a new instance."
331
+ );
332
+ }
333
+ this.sent = true;
334
+ return await Promise.race([this.__doMultipartUpload(), this.__abortTimeout(this.abortController.signal)]);
335
+ }
336
+ on(event, listener) {
337
+ this.uploadEvent = event;
338
+ return super.on(event, listener);
339
+ }
340
+ async __uploadUsingPut(dataPart) {
341
+ this.isMultiPart = false;
342
+ const params = { ...this.params, Body: dataPart.data };
343
+ const clientConfig = this.client.config;
344
+ const requestHandler = clientConfig.requestHandler;
345
+ const eventEmitter = requestHandler instanceof import_events.EventEmitter ? requestHandler : null;
346
+ const uploadEventListener = /* @__PURE__ */ __name((event) => {
347
+ this.bytesUploadedSoFar = event.loaded;
348
+ this.totalBytes = event.total;
349
+ this.__notifyProgress({
350
+ loaded: this.bytesUploadedSoFar,
351
+ total: this.totalBytes,
352
+ part: dataPart.partNumber,
353
+ Key: this.params.Key,
354
+ Bucket: this.params.Bucket
355
+ });
356
+ }, "uploadEventListener");
357
+ if (eventEmitter !== null) {
358
+ eventEmitter.on("xhr.upload.progress", uploadEventListener);
359
+ }
360
+ const resolved = await Promise.all([this.client.send(new import_client_s32.PutObjectCommand(params)), clientConfig?.endpoint?.()]);
361
+ const putResult = resolved[0];
362
+ let endpoint = resolved[1];
363
+ if (!endpoint) {
364
+ endpoint = (0, import_middleware_endpoint.toEndpointV1)(
365
+ await (0, import_middleware_endpoint.getEndpointFromInstructions)(params, import_client_s32.PutObjectCommand, {
366
+ ...clientConfig
367
+ })
368
+ );
369
+ }
370
+ if (!endpoint) {
371
+ throw new Error('Could not resolve endpoint from S3 "client.config.endpoint()" nor EndpointsV2.');
372
+ }
373
+ if (eventEmitter !== null) {
374
+ eventEmitter.off("xhr.upload.progress", uploadEventListener);
375
+ }
376
+ const locationKey = this.params.Key.split("/").map((segment) => (0, import_smithy_client.extendedEncodeURIComponent)(segment)).join("/");
377
+ const locationBucket = (0, import_smithy_client.extendedEncodeURIComponent)(this.params.Bucket);
378
+ const Location = (() => {
379
+ const endpointHostnameIncludesBucket = endpoint.hostname.startsWith(`${locationBucket}.`);
380
+ const forcePathStyle = this.client.config.forcePathStyle;
381
+ const optionalPort = endpoint.port ? `:${endpoint.port}` : ``;
382
+ if (forcePathStyle) {
383
+ return `${endpoint.protocol}//${endpoint.hostname}${optionalPort}/${locationBucket}/${locationKey}`;
384
+ }
385
+ if (endpointHostnameIncludesBucket) {
386
+ return `${endpoint.protocol}//${endpoint.hostname}${optionalPort}/${locationKey}`;
387
+ }
388
+ return `${endpoint.protocol}//${locationBucket}.${endpoint.hostname}${optionalPort}/${locationKey}`;
389
+ })();
390
+ this.singleUploadResult = {
391
+ ...putResult,
392
+ Bucket: this.params.Bucket,
393
+ Key: this.params.Key,
394
+ Location
395
+ };
396
+ const totalSize = byteLength(dataPart.data);
397
+ this.__notifyProgress({
398
+ loaded: totalSize,
399
+ total: totalSize,
400
+ part: 1,
401
+ Key: this.params.Key,
402
+ Bucket: this.params.Bucket
403
+ });
404
+ }
405
+ async __createMultipartUpload() {
406
+ const requestChecksumCalculation = await this.client.config.requestChecksumCalculation();
407
+ if (!this.createMultiPartPromise) {
408
+ const createCommandParams = { ...this.params, Body: void 0 };
409
+ if (requestChecksumCalculation === "WHEN_SUPPORTED") {
410
+ createCommandParams.ChecksumAlgorithm = this.params.ChecksumAlgorithm || import_client_s32.ChecksumAlgorithm.CRC32;
411
+ }
412
+ this.createMultiPartPromise = this.client.send(new import_client_s32.CreateMultipartUploadCommand(createCommandParams)).then((createMpuResponse) => {
413
+ this.abortMultipartUploadCommand = new import_client_s32.AbortMultipartUploadCommand({
414
+ Bucket: this.params.Bucket,
415
+ Key: this.params.Key,
416
+ UploadId: createMpuResponse.UploadId
417
+ });
418
+ return createMpuResponse;
419
+ });
420
+ }
421
+ return this.createMultiPartPromise;
422
+ }
423
+ async __doConcurrentUpload(dataFeeder) {
424
+ for await (const dataPart of dataFeeder) {
425
+ if (this.uploadEnqueuedPartsCount > this.MAX_PARTS) {
426
+ throw new Error(
427
+ `Exceeded ${this.MAX_PARTS} parts in multipart upload to Bucket: ${this.params.Bucket} Key: ${this.params.Key}.`
428
+ );
429
+ }
430
+ if (this.abortController.signal.aborted) {
431
+ return;
432
+ }
433
+ if (dataPart.partNumber === 1 && dataPart.lastPart) {
434
+ return await this.__uploadUsingPut(dataPart);
435
+ }
436
+ if (!this.uploadId) {
437
+ const { UploadId } = await this.__createMultipartUpload();
438
+ this.uploadId = UploadId;
439
+ if (this.abortController.signal.aborted) {
440
+ return;
441
+ }
442
+ }
443
+ const partSize = byteLength(dataPart.data) || 0;
444
+ const requestHandler = this.client.config.requestHandler;
445
+ const eventEmitter = requestHandler instanceof import_events.EventEmitter ? requestHandler : null;
446
+ let lastSeenBytes = 0;
447
+ const uploadEventListener = /* @__PURE__ */ __name((event, request) => {
448
+ const requestPartSize = Number(request.query["partNumber"]) || -1;
449
+ if (requestPartSize !== dataPart.partNumber) {
450
+ return;
451
+ }
452
+ if (event.total && partSize) {
453
+ this.bytesUploadedSoFar += event.loaded - lastSeenBytes;
454
+ lastSeenBytes = event.loaded;
455
+ }
456
+ this.__notifyProgress({
457
+ loaded: this.bytesUploadedSoFar,
458
+ total: this.totalBytes,
459
+ part: dataPart.partNumber,
460
+ Key: this.params.Key,
461
+ Bucket: this.params.Bucket
462
+ });
463
+ }, "uploadEventListener");
464
+ if (eventEmitter !== null) {
465
+ eventEmitter.on("xhr.upload.progress", uploadEventListener);
466
+ }
467
+ this.uploadEnqueuedPartsCount += 1;
468
+ const partResult = await this.client.send(
469
+ new import_client_s32.UploadPartCommand({
470
+ ...this.params,
471
+ // dataPart.data is chunked into a non-streaming buffer
472
+ // so the ContentLength from the input should not be used for MPU.
473
+ ContentLength: void 0,
474
+ UploadId: this.uploadId,
475
+ Body: dataPart.data,
476
+ PartNumber: dataPart.partNumber
477
+ })
478
+ );
479
+ if (eventEmitter !== null) {
480
+ eventEmitter.off("xhr.upload.progress", uploadEventListener);
481
+ }
482
+ if (this.abortController.signal.aborted) {
483
+ return;
484
+ }
485
+ if (!partResult.ETag) {
486
+ throw new Error(
487
+ `Part ${dataPart.partNumber} is missing ETag in UploadPart response. Missing Bucket CORS configuration for ETag header?`
488
+ );
489
+ }
490
+ this.uploadedParts.push({
491
+ PartNumber: dataPart.partNumber,
492
+ ETag: partResult.ETag,
493
+ ...partResult.ChecksumCRC32 && { ChecksumCRC32: partResult.ChecksumCRC32 },
494
+ ...partResult.ChecksumCRC32C && { ChecksumCRC32C: partResult.ChecksumCRC32C },
495
+ ...partResult.ChecksumSHA1 && { ChecksumSHA1: partResult.ChecksumSHA1 },
496
+ ...partResult.ChecksumSHA256 && { ChecksumSHA256: partResult.ChecksumSHA256 }
497
+ });
498
+ if (eventEmitter === null) {
499
+ this.bytesUploadedSoFar += partSize;
500
+ }
501
+ this.__notifyProgress({
502
+ loaded: this.bytesUploadedSoFar,
503
+ total: this.totalBytes,
504
+ part: dataPart.partNumber,
505
+ Key: this.params.Key,
506
+ Bucket: this.params.Bucket
507
+ });
508
+ }
509
+ }
510
+ async __doMultipartUpload() {
511
+ const dataFeeder = getChunk(this.params.Body, this.partSize);
512
+ const concurrentUploaderFailures = [];
513
+ for (let index = 0; index < this.queueSize; index++) {
514
+ const currentUpload = this.__doConcurrentUpload(dataFeeder).catch((err) => {
515
+ concurrentUploaderFailures.push(err);
516
+ });
517
+ this.concurrentUploaders.push(currentUpload);
518
+ }
519
+ await Promise.all(this.concurrentUploaders);
520
+ if (concurrentUploaderFailures.length >= 1) {
521
+ await this.markUploadAsAborted();
522
+ throw concurrentUploaderFailures[0];
523
+ }
524
+ if (this.abortController.signal.aborted) {
525
+ await this.markUploadAsAborted();
526
+ throw Object.assign(new Error("Upload aborted."), { name: "AbortError" });
527
+ }
528
+ let result;
529
+ if (this.isMultiPart) {
530
+ this.uploadedParts.sort((a, b) => a.PartNumber - b.PartNumber);
531
+ const uploadCompleteParams = {
532
+ ...this.params,
533
+ Body: void 0,
534
+ UploadId: this.uploadId,
535
+ MultipartUpload: {
536
+ Parts: this.uploadedParts
537
+ }
538
+ };
539
+ result = await this.client.send(new import_client_s32.CompleteMultipartUploadCommand(uploadCompleteParams));
540
+ if (typeof result?.Location === "string" && result.Location.includes("%2F")) {
541
+ result.Location = result.Location.replace(/%2F/g, "/");
542
+ }
543
+ } else {
544
+ result = this.singleUploadResult;
545
+ }
546
+ this.abortMultipartUploadCommand = null;
547
+ if (this.tags.length) {
548
+ await this.client.send(
549
+ new import_client_s32.PutObjectTaggingCommand({
550
+ ...this.params,
551
+ Tagging: {
552
+ TagSet: this.tags
553
+ }
554
+ })
555
+ );
556
+ }
557
+ return result;
558
+ }
559
+ /**
560
+ * Abort the last multipart upload in progress
561
+ * if we know the upload id, the user did not specify to leave the parts, and
562
+ * we have a prepared AbortMultipartUpload command.
563
+ */
564
+ async markUploadAsAborted() {
565
+ if (this.uploadId && !this.leavePartsOnError && null !== this.abortMultipartUploadCommand) {
566
+ await this.client.send(this.abortMultipartUploadCommand);
567
+ this.abortMultipartUploadCommand = null;
568
+ }
569
+ }
570
+ __notifyProgress(progress) {
571
+ if (this.uploadEvent) {
572
+ this.emit(this.uploadEvent, progress);
573
+ }
574
+ }
575
+ async __abortTimeout(abortSignal) {
576
+ return new Promise((resolve, reject) => {
577
+ abortSignal.onabort = () => {
578
+ const abortError = new Error("Upload aborted.");
579
+ abortError.name = "AbortError";
580
+ reject(abortError);
581
+ };
582
+ });
583
+ }
584
+ __validateInput() {
585
+ if (!this.params) {
586
+ throw new Error(`InputError: Upload requires params to be passed to upload.`);
587
+ }
588
+ if (!this.client) {
589
+ throw new Error(`InputError: Upload requires a AWS client to do uploads with.`);
590
+ }
591
+ if (this.partSize < _Upload.MIN_PART_SIZE) {
592
+ throw new Error(
593
+ `EntityTooSmall: Your proposed upload partsize [${this.partSize}] is smaller than the minimum allowed size [${_Upload.MIN_PART_SIZE}] (5MB)`
594
+ );
595
+ }
596
+ if (this.queueSize < 1) {
597
+ throw new Error(`Queue size: Must have at least one uploading queue.`);
598
+ }
599
+ }
600
+ };
601
+ }
602
+ });
603
+
604
+ // src/node/@aws-s3/storage/file/upload/index.ts
605
+ var upload_exports = {};
606
+ __export(upload_exports, {
607
+ upload: () => upload
608
+ });
609
+ var import_client_s3 = __toESM(require_dist_cjs4(), 1);
610
+ var import_lib_storage = __toESM(require_dist_cjs6(), 1);
611
+ async function upload(s3, bucketName, targetPath, fileStream, options) {
612
+ const {
613
+ uploadSettings,
614
+ fileMetadata,
615
+ overwrite = false
616
+ } = options ?? {};
617
+ if (!overwrite) {
618
+ try {
619
+ const headCommand = new import_client_s3.HeadObjectCommand({
620
+ Bucket: bucketName,
621
+ Key: targetPath
622
+ });
623
+ await s3.send(headCommand);
624
+ return Outcome.makeFailure(`File already exists at ${targetPath}.`);
625
+ } catch (err) {
626
+ const code = err?.name ?? err?.$metadata?.httpStatusCode;
627
+ if (code !== "NotFound" && code !== 404) {
628
+ return Outcome.makeFailure(unknownToString(err));
629
+ }
630
+ }
631
+ }
632
+ const params = {
633
+ ...fileMetadata,
634
+ Bucket: bucketName,
635
+ Key: targetPath,
636
+ Body: fileStream
637
+ };
638
+ try {
639
+ const upload2 = new import_lib_storage.Upload({
640
+ client: s3,
641
+ params,
642
+ ...uploadSettings
643
+ });
644
+ await upload2.done();
645
+ return Outcome.makeSuccess(true);
646
+ } catch (err) {
647
+ return Outcome.makeFailure(unknownToString(err));
648
+ }
649
+ }
650
+
651
+ export {
652
+ upload,
653
+ upload_exports
654
+ };