@design-edito/tools 0.1.52 → 0.1.53

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 (316) hide show
  1. package/agnostic/arrays/find-duplicates/index.js +1 -0
  2. package/agnostic/arrays/index.js +7 -6
  3. package/agnostic/arrays/is-array-of/index.js +1 -0
  4. package/agnostic/arrays/make/index.js +1 -0
  5. package/agnostic/arrays/random-pick/index.js +5 -4
  6. package/agnostic/arrays/shuffle/index.js +1 -0
  7. package/agnostic/booleans/index.js +1 -0
  8. package/agnostic/booleans/is-falsy/index.js +1 -0
  9. package/agnostic/css/bem/index.js +3 -2
  10. package/agnostic/css/generate-nice-color/index.js +1 -0
  11. package/agnostic/css/index.js +14 -13
  12. package/agnostic/css/is-valid-css-class-name/index.js +1 -0
  13. package/agnostic/css/styles-set/index.js +5 -4
  14. package/agnostic/errors/index.js +3 -2
  15. package/agnostic/errors/register/index.js +1 -0
  16. package/agnostic/errors/unknown-to-string/index.js +1 -0
  17. package/agnostic/html/get-node-ancestors/index.js +1 -0
  18. package/agnostic/html/get-position-inside-parent/index.js +1 -0
  19. package/agnostic/html/hyper-json/cast/index.js +6 -5
  20. package/agnostic/html/hyper-json/index.js +7 -6
  21. package/agnostic/html/hyper-json/method/index.js +1 -0
  22. package/agnostic/html/hyper-json/serialize/index.js +1 -0
  23. package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.js +6 -5
  24. package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.js +6 -5
  25. package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.js +6 -5
  26. package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.js +6 -5
  27. package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.js +6 -5
  28. package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.js +6 -5
  29. package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.js +6 -5
  30. package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.js +6 -5
  31. package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.js +6 -5
  32. package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.js +6 -5
  33. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.js +6 -5
  34. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.js +6 -5
  35. package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.js +6 -5
  36. package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.js +6 -5
  37. package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.js +6 -5
  38. package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.js +6 -5
  39. package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.js +6 -5
  40. package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.js +6 -5
  41. package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.js +6 -5
  42. package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.js +6 -5
  43. package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.js +6 -5
  44. package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.js +6 -5
  45. package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.js +6 -5
  46. package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.js +6 -5
  47. package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.js +6 -5
  48. package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.js +6 -5
  49. package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.js +6 -5
  50. package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.js +6 -5
  51. package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.js +6 -5
  52. package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.js +6 -5
  53. package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.js +6 -5
  54. package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.js +6 -5
  55. package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.js +6 -5
  56. package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.js +6 -5
  57. package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.js +6 -5
  58. package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.js +6 -5
  59. package/agnostic/html/hyper-json/smart-tags/coalesced/spread/index.js +6 -5
  60. package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.js +6 -5
  61. package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.js +6 -5
  62. package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.js +6 -5
  63. package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.js +6 -5
  64. package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.js +6 -5
  65. package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.js +6 -5
  66. package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.js +6 -5
  67. package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.js +6 -5
  68. package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.js +6 -5
  69. package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.js +6 -5
  70. package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.js +6 -5
  71. package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.js +6 -5
  72. package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.js +6 -5
  73. package/agnostic/html/hyper-json/smart-tags/index.js +1 -0
  74. package/agnostic/html/hyper-json/smart-tags/isolated/any/index.js +1 -0
  75. package/agnostic/html/hyper-json/smart-tags/isolated/array/index.js +1 -0
  76. package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.js +6 -5
  77. package/agnostic/html/hyper-json/smart-tags/isolated/element/index.js +6 -5
  78. package/agnostic/html/hyper-json/smart-tags/isolated/get/index.js +6 -5
  79. package/agnostic/html/hyper-json/smart-tags/isolated/global/index.js +6 -5
  80. package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.js +6 -5
  81. package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.js +6 -5
  82. package/agnostic/html/hyper-json/smart-tags/isolated/null/index.js +1 -0
  83. package/agnostic/html/hyper-json/smart-tags/isolated/number/index.js +6 -5
  84. package/agnostic/html/hyper-json/smart-tags/isolated/record/index.js +6 -5
  85. package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.js +6 -5
  86. package/agnostic/html/hyper-json/smart-tags/isolated/string/index.js +6 -5
  87. package/agnostic/html/hyper-json/smart-tags/isolated/text/index.js +6 -5
  88. package/agnostic/html/hyper-json/transformer/index.js +1 -0
  89. package/agnostic/html/hyper-json/tree/index.js +6 -5
  90. package/agnostic/html/hyper-json/types/index.js +1 -0
  91. package/agnostic/html/hyper-json/utils/index.js +6 -5
  92. package/agnostic/html/index.js +20 -19
  93. package/agnostic/html/insert-node/index.js +1 -0
  94. package/agnostic/html/placeholders/index.js +1 -0
  95. package/agnostic/html/replace-in-element/index.js +1 -0
  96. package/agnostic/html/sanitize/index.js +5 -4
  97. package/agnostic/html/selector-to-element/index.js +5 -4
  98. package/agnostic/html/string-to-nodes/index.js +6 -5
  99. package/agnostic/misc/assert/index.js +4 -3
  100. package/agnostic/misc/cast/index.js +1 -0
  101. package/agnostic/misc/crawler/index.js +1 -0
  102. package/agnostic/misc/crossenv/detect-runtime/index.js +1 -0
  103. package/agnostic/misc/crossenv/index.js +1 -0
  104. package/agnostic/misc/crossenv/types/index.js +1 -0
  105. package/agnostic/misc/crossenv/window/index.js +1 -0
  106. package/agnostic/misc/data-size/index.js +1 -0
  107. package/agnostic/misc/elo/index.js +2 -0
  108. package/agnostic/misc/get-current-downlink/index.js +1 -0
  109. package/agnostic/misc/index.js +26 -25
  110. package/agnostic/misc/is-constructor-function/index.js +1 -0
  111. package/agnostic/misc/is-nullish/index.js +1 -0
  112. package/agnostic/misc/logs/index.js +3 -2
  113. package/agnostic/misc/logs/logger/index.js +1 -0
  114. package/agnostic/misc/logs/make-text-block/index.js +1 -0
  115. package/agnostic/misc/logs/styles/index.js +1 -0
  116. package/agnostic/misc/lorem-ipsum/index.js +12 -11
  117. package/agnostic/misc/outcome/index.js +1 -0
  118. package/agnostic/numbers/absolute-modulo/index.js +1 -0
  119. package/agnostic/numbers/clamp/index.js +1 -0
  120. package/agnostic/numbers/index.js +6 -5
  121. package/agnostic/numbers/interpolate/index.js +1 -0
  122. package/agnostic/numbers/responsive-harmonics/index.js +1 -0
  123. package/agnostic/numbers/round/index.js +1 -0
  124. package/agnostic/objects/deep-get-property/index.js +1 -0
  125. package/agnostic/objects/enums/index.js +1 -0
  126. package/agnostic/objects/enums/is-in-enum/index.js +1 -0
  127. package/agnostic/objects/flatten-getters/index.js +1 -0
  128. package/agnostic/objects/index.js +15 -14
  129. package/agnostic/objects/is-object/index.js +1 -0
  130. package/agnostic/objects/is-record/index.js +1 -0
  131. package/agnostic/objects/record-format/index.js +1 -0
  132. package/agnostic/objects/record-map/index.js +1 -0
  133. package/agnostic/objects/validation/index.js +1 -0
  134. package/agnostic/optim/index.js +1 -0
  135. package/agnostic/optim/memoize/index.js +1 -0
  136. package/agnostic/optim/throttle-debounce/index.js +1 -0
  137. package/agnostic/random/hex-char/index.js +1 -0
  138. package/agnostic/random/index.js +1 -0
  139. package/agnostic/random/random/index.js +1 -0
  140. package/agnostic/random/uuid/index.js +1 -0
  141. package/agnostic/regexps/index.js +2 -0
  142. package/agnostic/strings/char-codes/index.js +1 -0
  143. package/agnostic/strings/index.js +6 -5
  144. package/agnostic/strings/matches/index.js +1 -0
  145. package/agnostic/strings/normalize-indent/index.js +1 -0
  146. package/agnostic/strings/replace-all/index.js +1 -0
  147. package/agnostic/strings/to-alphanum/index.js +1 -0
  148. package/agnostic/strings/trim/index.js +1 -0
  149. package/agnostic/time/dates/format-date/index.js +1 -0
  150. package/agnostic/time/dates/index.js +1 -0
  151. package/agnostic/time/duration/index.js +1 -0
  152. package/agnostic/time/index.js +4 -3
  153. package/agnostic/time/timeout/index.js +1 -0
  154. package/agnostic/time/transitions/index.js +1 -0
  155. package/agnostic/time/wait/index.js +1 -0
  156. package/chunks/chunk-2KCKWG7R.js +104 -0
  157. package/chunks/chunk-365LSZZ7.js +37 -0
  158. package/chunks/chunk-4FOK7DUZ.js +35 -0
  159. package/chunks/chunk-4LCL2RIC.js +209 -0
  160. package/chunks/chunk-4WOAFIVN.js +31 -0
  161. package/chunks/chunk-53MBV4TG.js +6212 -0
  162. package/chunks/chunk-57YCNOX7.js +15 -0
  163. package/chunks/chunk-5QVKJGTN.js +95 -0
  164. package/chunks/chunk-6GZXU2Z3.js +191 -0
  165. package/chunks/chunk-7QIYI4CK.js +209 -0
  166. package/chunks/chunk-AF2MI5O5.js +29 -0
  167. package/chunks/chunk-ARDAQZRR.js +239 -0
  168. package/chunks/chunk-BLAAWANI.js +191 -0
  169. package/chunks/chunk-BV67SWXG.js +20 -0
  170. package/chunks/chunk-CIJQHLIW.js +31 -0
  171. package/chunks/chunk-DHMARF6D.js +62 -0
  172. package/chunks/chunk-DHWHB53F.js +191 -0
  173. package/chunks/chunk-DMR2WE3C.js +62 -0
  174. package/chunks/chunk-DPBYDWV3.js +2369 -0
  175. package/chunks/chunk-ECKOTCS4.js +2369 -0
  176. package/chunks/chunk-EEIJDUNV.js +209 -0
  177. package/chunks/chunk-EIU72AEZ.js +31 -0
  178. package/chunks/chunk-F5GXXF3A.js +31 -0
  179. package/chunks/chunk-FG53JEP2.js +31 -0
  180. package/chunks/chunk-FTIDPZZ5.js +209 -0
  181. package/chunks/chunk-GARJTJ6V.js +6 -0
  182. package/chunks/chunk-GL54CDM2.js +20 -0
  183. package/chunks/chunk-GNZY3ZTH.js +14 -0
  184. package/chunks/chunk-GWXVHCAB.js +31 -0
  185. package/chunks/chunk-I2ILSLBK.js +32 -0
  186. package/chunks/chunk-IGHRNHVK.js +16 -0
  187. package/chunks/chunk-IOWZMFCU.js +28 -0
  188. package/chunks/chunk-IPON4W2H.js +31 -0
  189. package/chunks/chunk-IUFAHY2R.js +38 -0
  190. package/chunks/chunk-JBSS64SA.js +6 -0
  191. package/chunks/chunk-JRXTMXKV.js +15967 -0
  192. package/chunks/chunk-KEYRP27F.js +191 -0
  193. package/chunks/chunk-KYMCGWPM.js +31 -0
  194. package/chunks/chunk-L5JWJRZ7.js +484 -0
  195. package/chunks/chunk-L7EUEQZP.js +0 -0
  196. package/chunks/chunk-LAA2DQDK.js +31 -0
  197. package/chunks/chunk-LATEK24U.js +31 -0
  198. package/chunks/chunk-LDLSU4OG.js +191 -0
  199. package/chunks/chunk-LWWXPVXY.js +25173 -0
  200. package/chunks/chunk-MMPJODO2.js +31 -0
  201. package/chunks/chunk-MY4VMHSH.js +191 -0
  202. package/chunks/chunk-MZ2RAM5Y.js +62 -0
  203. package/chunks/chunk-NGYJGQT3.js +25002 -0
  204. package/chunks/chunk-NIOOIUSD.js +104 -0
  205. package/chunks/chunk-NLHFSJYR.js +15 -0
  206. package/chunks/chunk-NQ5ESZNO.js +191 -0
  207. package/chunks/chunk-O6NULFZI.js +37 -0
  208. package/chunks/chunk-OVMNSJOW.js +6 -0
  209. package/chunks/chunk-PPK2JEO6.js +28 -0
  210. package/chunks/chunk-PVHLWKA6.js +31 -0
  211. package/chunks/chunk-QMWX2A56.js +56 -0
  212. package/chunks/chunk-QPBY235R.js +239 -0
  213. package/chunks/chunk-REBANVPP.js +104 -0
  214. package/chunks/chunk-RSMUYH5H.js +31 -0
  215. package/chunks/chunk-RVVJ4QD4.js +173 -0
  216. package/chunks/chunk-TSQVG7GA.js +31 -0
  217. package/chunks/chunk-TXOUGP37.js +62 -0
  218. package/chunks/chunk-UG36UPJK.js +31 -0
  219. package/chunks/chunk-UXM54YBI.js +68 -0
  220. package/chunks/chunk-VHFMQI7Z.js +20 -0
  221. package/chunks/chunk-VP3Y6EMX.js +190 -0
  222. package/chunks/chunk-WLHJM76F.js +2369 -0
  223. package/chunks/chunk-WNLP6R5Y.js +191 -0
  224. package/chunks/chunk-WQKFVIUF.js +37 -0
  225. package/chunks/chunk-WSFCRVEQ.js +9 -0
  226. package/chunks/chunk-WTPUSGMJ.js +104 -0
  227. package/chunks/chunk-XCBH6NLF.js +42 -0
  228. package/chunks/chunk-XETVQW6S.js +56 -0
  229. package/chunks/chunk-XT6XKGKK.js +20 -0
  230. package/chunks/chunk-YDNQHZRS.js +31 -0
  231. package/chunks/chunk-YHT73ULP.js +2369 -0
  232. package/chunks/chunk-YRSNU7IX.js +49 -0
  233. package/chunks/chunk-YVSS4IT2.js +37 -0
  234. package/chunks/chunk-YZDZQ7AZ.js +37 -0
  235. package/chunks/chunk-Z4SQDCFG.js +37 -0
  236. package/chunks/chunk-ZS5OHINP.js +31 -0
  237. package/components/Comp/index.js +2 -0
  238. package/node/@design-edito/index.d.ts +2 -0
  239. package/node/@design-edito/index.js +12 -0
  240. package/node/@design-edito/thumbnails/colors/index.d.ts +35 -0
  241. package/node/@design-edito/thumbnails/colors/index.js +29 -0
  242. package/node/@design-edito/thumbnails/common/index.d.ts +5 -0
  243. package/node/@design-edito/thumbnails/common/index.js +15 -0
  244. package/node/@design-edito/thumbnails/easings/index.d.ts +8 -0
  245. package/node/@design-edito/thumbnails/easings/index.js +21 -0
  246. package/node/@design-edito/thumbnails/index.d.ts +5 -0
  247. package/node/@design-edito/thumbnails/index.js +20 -0
  248. package/node/@design-edito/thumbnails/layout/index.d.ts +63 -0
  249. package/node/@design-edito/thumbnails/layout/index.js +31 -0
  250. package/node/@express/@multer/index.d.ts +22 -0
  251. package/node/@express/@multer/index.js +9 -0
  252. package/node/@express/index.d.ts +2 -0
  253. package/node/@express/index.js +9 -0
  254. package/node/@google-cloud/index.d.ts +2 -0
  255. package/node/@google-cloud/index.js +24 -0
  256. package/node/@google-cloud/storage/bucket/get-metadata/index.d.ts +18 -0
  257. package/node/@google-cloud/storage/bucket/get-metadata/index.js +9 -0
  258. package/node/@google-cloud/storage/bucket/index.d.ts +3 -0
  259. package/node/@google-cloud/storage/bucket/index.js +14 -0
  260. package/node/@google-cloud/storage/bucket/list/index.d.ts +17 -0
  261. package/node/@google-cloud/storage/bucket/list/index.js +9 -0
  262. package/node/@google-cloud/storage/file/copy/index.d.ts +21 -0
  263. package/node/@google-cloud/storage/file/copy/index.js +9 -0
  264. package/node/@google-cloud/storage/file/download/index.d.ts +20 -0
  265. package/node/@google-cloud/storage/file/download/index.js +9 -0
  266. package/node/@google-cloud/storage/file/erase/index.d.ts +20 -0
  267. package/node/@google-cloud/storage/file/erase/index.js +9 -0
  268. package/node/@google-cloud/storage/file/exists/index.d.ts +19 -0
  269. package/node/@google-cloud/storage/file/exists/index.js +9 -0
  270. package/node/@google-cloud/storage/file/generate-signed-url/index.d.ts +23 -0
  271. package/node/@google-cloud/storage/file/generate-signed-url/index.js +9 -0
  272. package/node/@google-cloud/storage/file/get-metadata/index.d.ts +22 -0
  273. package/node/@google-cloud/storage/file/get-metadata/index.js +9 -0
  274. package/node/@google-cloud/storage/file/get-permissions/index.d.ts +19 -0
  275. package/node/@google-cloud/storage/file/get-permissions/index.js +9 -0
  276. package/node/@google-cloud/storage/file/index.d.ts +12 -0
  277. package/node/@google-cloud/storage/file/index.js +50 -0
  278. package/node/@google-cloud/storage/file/move/index.d.ts +24 -0
  279. package/node/@google-cloud/storage/file/move/index.js +9 -0
  280. package/node/@google-cloud/storage/file/revoke-signed-urls/index.d.ts +26 -0
  281. package/node/@google-cloud/storage/file/revoke-signed-urls/index.js +12 -0
  282. package/node/@google-cloud/storage/file/update-metadata/index.d.ts +24 -0
  283. package/node/@google-cloud/storage/file/update-metadata/index.js +9 -0
  284. package/node/@google-cloud/storage/file/upload/index.d.ts +21 -0
  285. package/node/@google-cloud/storage/file/upload/index.js +9 -0
  286. package/node/@google-cloud/storage/index.d.ts +3 -0
  287. package/node/@google-cloud/storage/index.js +27 -0
  288. package/node/encryption/buffer/index.d.ts +55 -0
  289. package/node/encryption/buffer/index.js +16 -0
  290. package/node/encryption/generate-key/index.d.ts +16 -0
  291. package/node/encryption/generate-key/index.js +7 -0
  292. package/node/encryption/index.d.ts +5 -0
  293. package/node/encryption/index.js +29 -0
  294. package/node/encryption/uint8-array/index.d.ts +57 -0
  295. package/node/encryption/uint8-array/index.js +15 -0
  296. package/node/files/index.d.ts +4 -6
  297. package/node/files/index.js +10 -10
  298. package/node/files/is-in-directory/index.js +1 -0
  299. package/node/files/read-write/index.d.ts +1 -1
  300. package/node/files/read-write/index.js +1 -0
  301. package/node/files/subpaths/index.js +1 -0
  302. package/node/images/exports/index.d.ts +15 -0
  303. package/node/images/exports/index.js +11 -0
  304. package/node/images/index.d.ts +4 -0
  305. package/node/images/index.js +24 -0
  306. package/node/images/prepare/index.d.ts +17 -0
  307. package/node/images/prepare/index.js +22 -0
  308. package/node/images/transform/area-composition/index.d.ts +60 -0
  309. package/node/images/transform/area-composition/index.js +16 -0
  310. package/node/images/transform/index.d.ts +30 -0
  311. package/node/images/transform/index.js +17 -0
  312. package/node/index.d.ts +8 -6
  313. package/node/process/index.d.ts +5 -7
  314. package/node/process/index.js +11 -9
  315. package/node/process/on-exit/index.js +1 -0
  316. package/package.json +15 -2
@@ -0,0 +1,209 @@
1
+ import {
2
+ require_lib
3
+ } from "./chunk-53MBV4TG.js";
4
+ import {
5
+ thumbnails_exports
6
+ } from "./chunk-IOWZMFCU.js";
7
+ import {
8
+ __toESM
9
+ } from "./chunk-XCBH6NLF.js";
10
+
11
+ // src/node/images/transform/area-composition/index.ts
12
+ var import_sharp = __toESM(require_lib(), 1);
13
+ var DEFAULT_GENERATE_OPTIONS = {
14
+ formats: ["jpeg"],
15
+ nbOutputs: 1,
16
+ imagePosition: "center",
17
+ imageOccupation: 60,
18
+ dimensions: { w: 300, h: 500 },
19
+ palette: ["default"],
20
+ maxPaletteDensity: 100,
21
+ extractPaletteDensity: 8,
22
+ lightenIntensity: 20,
23
+ saturateIntensity: 20,
24
+ colorFilterApply: "all",
25
+ tileDensityA: { min: 1, max: 1 },
26
+ tileDensityB: { min: 1, max: 1 },
27
+ tileCoverage: 50,
28
+ tileFormat: "default",
29
+ tileXEasing: "none",
30
+ tileYEasing: "none"
31
+ };
32
+ async function areaCompose(inputSharp, customOptions) {
33
+ const options = getOptions(customOptions);
34
+ const inputMetadata = await inputSharp.metadata();
35
+ const initialDimensions = {
36
+ w: inputMetadata.width || 0,
37
+ h: inputMetadata.height || 0
38
+ };
39
+ const inputBufferData = await inputSharp.raw().toBuffer();
40
+ const imagePalette = thumbnails_exports.Colors.extractPaletteFromImage(inputBufferData, initialDimensions, options);
41
+ const composedPalette = composePalette(imagePalette, options.palette, options.maxPaletteDensity);
42
+ inputSharp.png({ quality: 100 });
43
+ const outputDimensions = {
44
+ w: options.dimensions.w,
45
+ h: options.dimensions.h
46
+ };
47
+ const resizeInputDimensions = getNewInputImageDimensions(outputDimensions, options.imageOccupation);
48
+ const resizedInput = inputSharp.resize({
49
+ width: resizeInputDimensions.w,
50
+ height: resizeInputDimensions.h,
51
+ fit: "contain",
52
+ background: { r: 255, g: 255, b: 255, alpha: 0 }
53
+ // Add a transparent background
54
+ }).toFormat("png");
55
+ const resizedInputPositions = getImagePositions(options.imagePosition, resizeInputDimensions, resizeInputDimensions, outputDimensions);
56
+ const shapesLayout = thumbnails_exports.Layout.packAreasAndTiles(
57
+ {
58
+ ...resizedInputPositions,
59
+ ...resizeInputDimensions
60
+ },
61
+ outputDimensions,
62
+ options.tileCoverage,
63
+ { A: options.tileDensityA, B: options.tileDensityB },
64
+ { X: options.tileXEasing, Y: options.tileYEasing }
65
+ );
66
+ const sharpShapes = getSharpTilesInputs(shapesLayout, composedPalette);
67
+ const sharpShapesForComposite = [];
68
+ for await (const sharpShape of sharpShapes) {
69
+ ;
70
+ sharpShapesForComposite.push({
71
+ input: await sharpShape.input.toFormat("png").toBuffer(),
72
+ left: sharpShape.left,
73
+ top: sharpShape.top
74
+ });
75
+ }
76
+ const background = composedPalette[0] || [255, 255, 255];
77
+ const outputSharp = await createSharpShape(outputDimensions, background).toFormat("webp");
78
+ const composedSharp = outputSharp.composite([
79
+ {
80
+ input: await resizedInput.toFormat("webp").toBuffer(),
81
+ /* Converting to png to handle alpha */
82
+ left: Math.round(resizedInputPositions.x),
83
+ top: Math.round(resizedInputPositions.y)
84
+ },
85
+ ...sharpShapesForComposite
86
+ ]);
87
+ return await composedSharp.flatten();
88
+ }
89
+ function getOptions(customOptions) {
90
+ if (!customOptions) {
91
+ return DEFAULT_GENERATE_OPTIONS;
92
+ }
93
+ ;
94
+ const options = {
95
+ ...DEFAULT_GENERATE_OPTIONS,
96
+ ...customOptions
97
+ };
98
+ return options;
99
+ }
100
+ function getNewInputImageDimensions(formatDimensions, imageOccupation) {
101
+ const placeRatio = imageOccupation / 100;
102
+ return {
103
+ w: Math.round(formatDimensions.w * placeRatio),
104
+ h: Math.round(formatDimensions.h * placeRatio)
105
+ };
106
+ }
107
+ function composePalette(palette, paletteOption, maxPaletteDensity) {
108
+ let composedPalette = [];
109
+ if (paletteOption.includes("default-lighten")) {
110
+ composedPalette = [...composedPalette, ...palette.default.lighten];
111
+ }
112
+ if (paletteOption.includes("default-saturate")) {
113
+ composedPalette = [...composedPalette, ...palette.default.saturate];
114
+ }
115
+ if (paletteOption.includes("complementary")) {
116
+ composedPalette = [...composedPalette, ...palette.complementary.default];
117
+ }
118
+ if (paletteOption.includes("complementary-lighten")) {
119
+ composedPalette = [...composedPalette, ...palette.complementary.lighten];
120
+ }
121
+ if (paletteOption.includes("complementary-saturate")) {
122
+ composedPalette = [...composedPalette, ...palette.complementary.saturate];
123
+ }
124
+ if (paletteOption.includes("default") || !composedPalette.length) {
125
+ composedPalette = [...composedPalette, ...palette.default.default];
126
+ }
127
+ const shuffledPalette = thumbnails_exports.Common.shuffleArray(composedPalette);
128
+ const outputPalette = composedPalette.length > maxPaletteDensity ? shuffledPalette.splice(0, maxPaletteDensity) : shuffledPalette;
129
+ return outputPalette;
130
+ }
131
+ function getImagePositions(position, resizedImageDimensions, containedImageDimensions, wrapperDimensions) {
132
+ switch (position) {
133
+ case "top-left":
134
+ return thumbnails_exports.Layout.alignTopLeft(resizedImageDimensions, containedImageDimensions, wrapperDimensions);
135
+ case "top-center":
136
+ return thumbnails_exports.Layout.alignTopCenter(resizedImageDimensions, containedImageDimensions, wrapperDimensions);
137
+ case "top-right":
138
+ return thumbnails_exports.Layout.alignTopRight(resizedImageDimensions, containedImageDimensions, wrapperDimensions);
139
+ case "left-center":
140
+ return thumbnails_exports.Layout.alignLeftCenter(resizedImageDimensions, containedImageDimensions, wrapperDimensions);
141
+ case "center":
142
+ return thumbnails_exports.Layout.alignCenter(resizedImageDimensions, containedImageDimensions, wrapperDimensions);
143
+ case "right-center":
144
+ return thumbnails_exports.Layout.alignRightCenter(resizedImageDimensions, containedImageDimensions, wrapperDimensions);
145
+ case "bottom-left":
146
+ return thumbnails_exports.Layout.alignBottomLeft(resizedImageDimensions, containedImageDimensions, wrapperDimensions);
147
+ case "bottom-center":
148
+ return thumbnails_exports.Layout.alignBottomCenter(resizedImageDimensions, containedImageDimensions, wrapperDimensions);
149
+ case "bottom-right":
150
+ return thumbnails_exports.Layout.alignBottomRight(resizedImageDimensions, containedImageDimensions, wrapperDimensions);
151
+ default:
152
+ return { x: 0, y: 0 };
153
+ }
154
+ }
155
+ function createSharpShape(dimensions, background) {
156
+ return (0, import_sharp.default)(
157
+ {
158
+ create: getCreateSharpShape(dimensions, background)
159
+ }
160
+ );
161
+ }
162
+ function getCreateSharpShape(dimensions, background) {
163
+ return {
164
+ width: Math.round(dimensions.w),
165
+ height: Math.round(dimensions.h),
166
+ channels: 4,
167
+ background: { r: background[0], g: background[1], b: background[2], alpha: 1 }
168
+ };
169
+ }
170
+ function getSharpTilesInputs(tiles, palette) {
171
+ let usedColorsIndexes = [];
172
+ const paletteLength = palette.length;
173
+ const getUnusedColorIndex = () => {
174
+ const paletteIndex = thumbnails_exports.Common.randomInt(paletteLength);
175
+ resetUnusedColorIndexesIfNeeded();
176
+ if (usedColorsIndexes.includes(paletteIndex)) {
177
+ return getUnusedColorIndex();
178
+ }
179
+ usedColorsIndexes.push(paletteIndex);
180
+ return paletteIndex;
181
+ };
182
+ const resetUnusedColorIndexesIfNeeded = () => {
183
+ if (usedColorsIndexes.length !== paletteLength) {
184
+ return;
185
+ }
186
+ usedColorsIndexes = [];
187
+ };
188
+ return tiles.map((tile) => {
189
+ const paletteIndex = getUnusedColorIndex();
190
+ const color = palette[paletteIndex];
191
+ if (!color) {
192
+ return;
193
+ }
194
+ return {
195
+ top: Math.round(tile.y),
196
+ left: Math.round(tile.x),
197
+ input: (0, import_sharp.default)(
198
+ {
199
+ create: getCreateSharpShape(tile, color)
200
+ }
201
+ )
202
+ };
203
+ }).filter((sharpShape) => sharpShape !== void 0);
204
+ }
205
+
206
+ export {
207
+ areaCompose,
208
+ getSharpTilesInputs
209
+ };
@@ -0,0 +1,31 @@
1
+ import {
2
+ shuffle
3
+ } from "./chunk-VJJIYJMY.js";
4
+ import {
5
+ randomPick,
6
+ randomPickMany
7
+ } from "./chunk-AQBJ6HNB.js";
8
+ import {
9
+ findDuplicates
10
+ } from "./chunk-YS6WMSWC.js";
11
+ import {
12
+ make
13
+ } from "./chunk-RLAZR3NL.js";
14
+ import {
15
+ isArrayOf
16
+ } from "./chunk-6RGDWX4A.js";
17
+
18
+ // src/agnostic/arrays/index.tsx
19
+ var Arrays;
20
+ ((Arrays2) => {
21
+ Arrays2.findDuplicates = findDuplicates;
22
+ Arrays2.isArrayOf = isArrayOf;
23
+ Arrays2.make = make;
24
+ Arrays2.randomPick = randomPick;
25
+ Arrays2.randomPickMany = randomPickMany;
26
+ Arrays2.shuffle = shuffle;
27
+ })(Arrays || (Arrays = {}));
28
+
29
+ export {
30
+ Arrays
31
+ };
@@ -0,0 +1,31 @@
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-XCBH6NLF.js";
10
+
11
+ // src/node/@google-cloud/storage/file/get-permissions/index.ts
12
+ var get_permissions_exports = {};
13
+ __export(get_permissions_exports, {
14
+ getPermissions: () => getPermissions
15
+ });
16
+ async function getPermissions(sourcePath, bucket, options) {
17
+ const { fileOptions, getAclOptions } = options ?? {};
18
+ try {
19
+ const file = bucket.file(sourcePath, fileOptions);
20
+ const [acl] = await file.acl.get(getAclOptions);
21
+ return Outcome.makeSuccess(acl);
22
+ } catch (err) {
23
+ const errStr = unknownToString(err);
24
+ return Outcome.makeFailure(errStr);
25
+ }
26
+ }
27
+
28
+ export {
29
+ getPermissions,
30
+ get_permissions_exports
31
+ };
@@ -0,0 +1,31 @@
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-XCBH6NLF.js";
10
+
11
+ // src/node/@google-cloud/storage/file/erase/index.ts
12
+ var erase_exports = {};
13
+ __export(erase_exports, {
14
+ erase: () => erase
15
+ });
16
+ async function erase(sourcePath, bucket, options) {
17
+ const { fileOptions, deleteOptions } = options ?? {};
18
+ try {
19
+ const file = bucket.file(sourcePath, fileOptions);
20
+ await file.delete(deleteOptions);
21
+ return Outcome.makeSuccess(true);
22
+ } catch (err) {
23
+ const errStr = unknownToString(err);
24
+ return Outcome.makeFailure(errStr);
25
+ }
26
+ }
27
+
28
+ export {
29
+ erase,
30
+ erase_exports
31
+ };
@@ -0,0 +1,209 @@
1
+ import {
2
+ thumbnails_exports
3
+ } from "./chunk-PPK2JEO6.js";
4
+ import {
5
+ require_lib
6
+ } from "./chunk-53MBV4TG.js";
7
+ import {
8
+ __toESM
9
+ } from "./chunk-XCBH6NLF.js";
10
+
11
+ // src/node/images/transform/area-composition/index.ts
12
+ var import_sharp = __toESM(require_lib(), 1);
13
+ var DEFAULT_GENERATE_OPTIONS = {
14
+ formats: ["jpeg"],
15
+ nbOutputs: 1,
16
+ imagePosition: "center",
17
+ imageOccupation: 60,
18
+ dimensions: { w: 300, h: 500 },
19
+ palette: ["default"],
20
+ maxPaletteDensity: 100,
21
+ extractPaletteDensity: 8,
22
+ lightenIntensity: 20,
23
+ saturateIntensity: 20,
24
+ colorFilterApply: "all",
25
+ tileDensityA: { min: 1, max: 1 },
26
+ tileDensityB: { min: 1, max: 1 },
27
+ tileCoverage: 50,
28
+ tileFormat: "default",
29
+ tileXEasing: "none",
30
+ tileYEasing: "none"
31
+ };
32
+ async function areaCompose(inputSharp, customOptions) {
33
+ const options = getOptions(customOptions);
34
+ const inputMetadata = await inputSharp.metadata();
35
+ const initialDimensions = {
36
+ w: inputMetadata.width || 0,
37
+ h: inputMetadata.height || 0
38
+ };
39
+ const inputBufferData = await inputSharp.raw().toBuffer();
40
+ const imagePalette = thumbnails_exports.Colors.extractPaletteFromImage(inputBufferData, initialDimensions, options);
41
+ const composedPalette = composePalette(imagePalette, options.palette, options.maxPaletteDensity);
42
+ inputSharp.png({ quality: 100 });
43
+ const outputDimensions = {
44
+ w: options.dimensions.w,
45
+ h: options.dimensions.h
46
+ };
47
+ const resizeInputDimensions = getNewInputImageDimensions(outputDimensions, options.imageOccupation);
48
+ const resizedInput = inputSharp.resize({
49
+ width: resizeInputDimensions.w,
50
+ height: resizeInputDimensions.h,
51
+ fit: "contain",
52
+ background: { r: 255, g: 255, b: 255, alpha: 0 }
53
+ // Add a transparent background
54
+ }).toFormat("png");
55
+ const resizedInputPositions = getImagePositions(options.imagePosition, resizeInputDimensions, resizeInputDimensions, outputDimensions);
56
+ const shapesLayout = thumbnails_exports.Layout.packAreasAndTiles(
57
+ {
58
+ ...resizedInputPositions,
59
+ ...resizeInputDimensions
60
+ },
61
+ outputDimensions,
62
+ options.tileCoverage,
63
+ { A: options.tileDensityA, B: options.tileDensityB },
64
+ { X: options.tileXEasing, Y: options.tileYEasing }
65
+ );
66
+ const sharpShapes = getSharpTilesInputs(shapesLayout, composedPalette);
67
+ const sharpShapesForComposite = [];
68
+ for await (const sharpShape of sharpShapes) {
69
+ ;
70
+ sharpShapesForComposite.push({
71
+ input: await sharpShape.input.toFormat("png").toBuffer(),
72
+ left: sharpShape.left,
73
+ top: sharpShape.top
74
+ });
75
+ }
76
+ const background = composedPalette[0] || [255, 255, 255];
77
+ const outputSharp = await createSharpShape(outputDimensions, background).toFormat("webp");
78
+ const composedSharp = outputSharp.composite([
79
+ {
80
+ input: await resizedInput.toFormat("webp").toBuffer(),
81
+ /* Converting to png to handle alpha */
82
+ left: Math.round(resizedInputPositions.x),
83
+ top: Math.round(resizedInputPositions.y)
84
+ },
85
+ ...sharpShapesForComposite
86
+ ]);
87
+ return await composedSharp.flatten();
88
+ }
89
+ function getOptions(customOptions) {
90
+ if (!customOptions) {
91
+ return DEFAULT_GENERATE_OPTIONS;
92
+ }
93
+ ;
94
+ const options = {
95
+ ...DEFAULT_GENERATE_OPTIONS,
96
+ ...customOptions
97
+ };
98
+ return options;
99
+ }
100
+ function getNewInputImageDimensions(formatDimensions, imageOccupation) {
101
+ const placeRatio = imageOccupation / 100;
102
+ return {
103
+ w: Math.round(formatDimensions.w * placeRatio),
104
+ h: Math.round(formatDimensions.h * placeRatio)
105
+ };
106
+ }
107
+ function composePalette(palette, paletteOption, maxPaletteDensity) {
108
+ let composedPalette = [];
109
+ if (paletteOption.includes("default-lighten")) {
110
+ composedPalette = [...composedPalette, ...palette.default.lighten];
111
+ }
112
+ if (paletteOption.includes("default-saturate")) {
113
+ composedPalette = [...composedPalette, ...palette.default.saturate];
114
+ }
115
+ if (paletteOption.includes("complementary")) {
116
+ composedPalette = [...composedPalette, ...palette.complementary.default];
117
+ }
118
+ if (paletteOption.includes("complementary-lighten")) {
119
+ composedPalette = [...composedPalette, ...palette.complementary.lighten];
120
+ }
121
+ if (paletteOption.includes("complementary-saturate")) {
122
+ composedPalette = [...composedPalette, ...palette.complementary.saturate];
123
+ }
124
+ if (paletteOption.includes("default") || !composedPalette.length) {
125
+ composedPalette = [...composedPalette, ...palette.default.default];
126
+ }
127
+ const shuffledPalette = thumbnails_exports.Common.shuffleArray(composedPalette);
128
+ const outputPalette = composedPalette.length > maxPaletteDensity ? shuffledPalette.splice(0, maxPaletteDensity) : shuffledPalette;
129
+ return outputPalette;
130
+ }
131
+ function getImagePositions(position, resizedImageDimensions, containedImageDimensions, wrapperDimensions) {
132
+ switch (position) {
133
+ case "top-left":
134
+ return thumbnails_exports.Layout.alignTopLeft(resizedImageDimensions, containedImageDimensions, wrapperDimensions);
135
+ case "top-center":
136
+ return thumbnails_exports.Layout.alignTopCenter(resizedImageDimensions, containedImageDimensions, wrapperDimensions);
137
+ case "top-right":
138
+ return thumbnails_exports.Layout.alignTopRight(resizedImageDimensions, containedImageDimensions, wrapperDimensions);
139
+ case "left-center":
140
+ return thumbnails_exports.Layout.alignLeftCenter(resizedImageDimensions, containedImageDimensions, wrapperDimensions);
141
+ case "center":
142
+ return thumbnails_exports.Layout.alignCenter(resizedImageDimensions, containedImageDimensions, wrapperDimensions);
143
+ case "right-center":
144
+ return thumbnails_exports.Layout.alignRightCenter(resizedImageDimensions, containedImageDimensions, wrapperDimensions);
145
+ case "bottom-left":
146
+ return thumbnails_exports.Layout.alignBottomLeft(resizedImageDimensions, containedImageDimensions, wrapperDimensions);
147
+ case "bottom-center":
148
+ return thumbnails_exports.Layout.alignBottomCenter(resizedImageDimensions, containedImageDimensions, wrapperDimensions);
149
+ case "bottom-right":
150
+ return thumbnails_exports.Layout.alignBottomRight(resizedImageDimensions, containedImageDimensions, wrapperDimensions);
151
+ default:
152
+ return { x: 0, y: 0 };
153
+ }
154
+ }
155
+ function createSharpShape(dimensions, background) {
156
+ return (0, import_sharp.default)(
157
+ {
158
+ create: getCreateSharpShape(dimensions, background)
159
+ }
160
+ );
161
+ }
162
+ function getCreateSharpShape(dimensions, background) {
163
+ return {
164
+ width: Math.round(dimensions.w),
165
+ height: Math.round(dimensions.h),
166
+ channels: 4,
167
+ background: { r: background[0], g: background[1], b: background[2], alpha: 1 }
168
+ };
169
+ }
170
+ function getSharpTilesInputs(tiles, palette) {
171
+ let usedColorsIndexes = [];
172
+ const paletteLength = palette.length;
173
+ const getUnusedColorIndex = () => {
174
+ const paletteIndex = thumbnails_exports.Common.randomInt(paletteLength);
175
+ resetUnusedColorIndexesIfNeeded();
176
+ if (usedColorsIndexes.includes(paletteIndex)) {
177
+ return getUnusedColorIndex();
178
+ }
179
+ usedColorsIndexes.push(paletteIndex);
180
+ return paletteIndex;
181
+ };
182
+ const resetUnusedColorIndexesIfNeeded = () => {
183
+ if (usedColorsIndexes.length !== paletteLength) {
184
+ return;
185
+ }
186
+ usedColorsIndexes = [];
187
+ };
188
+ return tiles.map((tile) => {
189
+ const paletteIndex = getUnusedColorIndex();
190
+ const color = palette[paletteIndex];
191
+ if (!color) {
192
+ return;
193
+ }
194
+ return {
195
+ top: Math.round(tile.y),
196
+ left: Math.round(tile.x),
197
+ input: (0, import_sharp.default)(
198
+ {
199
+ create: getCreateSharpShape(tile, color)
200
+ }
201
+ )
202
+ };
203
+ }).filter((sharpShape) => sharpShape !== void 0);
204
+ }
205
+
206
+ export {
207
+ areaCompose,
208
+ getSharpTilesInputs
209
+ };
@@ -0,0 +1,6 @@
1
+ // src/node/images/exports/index.ts
2
+ var exports_exports = {};
3
+
4
+ export {
5
+ exports_exports
6
+ };
@@ -0,0 +1,20 @@
1
+ import {
2
+ list_exports
3
+ } from "./chunk-KYMCGWPM.js";
4
+ import {
5
+ get_metadata_exports
6
+ } from "./chunk-AF2MI5O5.js";
7
+ import {
8
+ __export
9
+ } from "./chunk-XCBH6NLF.js";
10
+
11
+ // src/node/@google-cloud/storage/bucket/index.ts
12
+ var bucket_exports = {};
13
+ __export(bucket_exports, {
14
+ GetMetadata: () => get_metadata_exports,
15
+ List: () => list_exports
16
+ });
17
+
18
+ export {
19
+ bucket_exports
20
+ };
@@ -0,0 +1,14 @@
1
+ // src/node/encryption/generate-key/index.ts
2
+ import { pbkdf2Sync, randomBytes } from "node:crypto";
3
+ function generateEncryptionKey(passphrase, outputByteLength, options) {
4
+ const { saltLength = 16, iterations = 1e5 } = options ?? {};
5
+ const salt = randomBytes(saltLength);
6
+ const key = pbkdf2Sync(passphrase, salt, iterations, outputByteLength, "sha256");
7
+ const saltString = salt.toString("hex");
8
+ const keyString = key.toString("hex");
9
+ return `${saltString}:${keyString}`;
10
+ }
11
+
12
+ export {
13
+ generateEncryptionKey
14
+ };
@@ -0,0 +1,31 @@
1
+ import {
2
+ randomPick,
3
+ randomPickMany
4
+ } from "./chunk-C7SRAQMW.js";
5
+ import {
6
+ shuffle
7
+ } from "./chunk-VJJIYJMY.js";
8
+ import {
9
+ findDuplicates
10
+ } from "./chunk-YS6WMSWC.js";
11
+ import {
12
+ isArrayOf
13
+ } from "./chunk-6RGDWX4A.js";
14
+ import {
15
+ make
16
+ } from "./chunk-RLAZR3NL.js";
17
+
18
+ // src/agnostic/arrays/index.tsx
19
+ var Arrays;
20
+ ((Arrays2) => {
21
+ Arrays2.findDuplicates = findDuplicates;
22
+ Arrays2.isArrayOf = isArrayOf;
23
+ Arrays2.make = make;
24
+ Arrays2.randomPick = randomPick;
25
+ Arrays2.randomPickMany = randomPickMany;
26
+ Arrays2.shuffle = shuffle;
27
+ })(Arrays || (Arrays = {}));
28
+
29
+ export {
30
+ Arrays
31
+ };
@@ -0,0 +1,32 @@
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-XCBH6NLF.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(sourcePath, destinationPath, bucket, options) {
17
+ const { fileOptions, copyOptions, deleteOptions } = options ?? {};
18
+ try {
19
+ const file = bucket.file(sourcePath, fileOptions);
20
+ await file.copy(destinationPath, copyOptions);
21
+ await file.delete(deleteOptions);
22
+ return Outcome.makeSuccess(true);
23
+ } catch (err) {
24
+ const errStr = unknownToString(err);
25
+ return Outcome.makeFailure(errStr);
26
+ }
27
+ }
28
+
29
+ export {
30
+ move,
31
+ move_exports
32
+ };
@@ -0,0 +1,16 @@
1
+ import {
2
+ __export
3
+ } from "./chunk-WSFCRVEQ.js";
4
+
5
+ // src/node/@design-edito/thumbnails/index.ts
6
+ var thumbnails_exports = {};
7
+ __export(thumbnails_exports, {
8
+ generateThumbnails: () => generateThumbnails
9
+ });
10
+ async function generateThumbnails() {
11
+ }
12
+
13
+ export {
14
+ generateThumbnails,
15
+ thumbnails_exports
16
+ };
@@ -0,0 +1,28 @@
1
+ import {
2
+ colors_exports
3
+ } from "./chunk-L5JWJRZ7.js";
4
+ import {
5
+ layout_exports
6
+ } from "./chunk-QPBY235R.js";
7
+ import {
8
+ common_exports
9
+ } from "./chunk-YRSNU7IX.js";
10
+ import {
11
+ easings_exports
12
+ } from "./chunk-UXM54YBI.js";
13
+ import {
14
+ __export
15
+ } from "./chunk-XCBH6NLF.js";
16
+
17
+ // src/node/@design-edito/thumbnails/index.ts
18
+ var thumbnails_exports = {};
19
+ __export(thumbnails_exports, {
20
+ Colors: () => colors_exports,
21
+ Common: () => common_exports,
22
+ Easings: () => easings_exports,
23
+ Layout: () => layout_exports
24
+ });
25
+
26
+ export {
27
+ thumbnails_exports
28
+ };