@design-edito/tools 0.2.24 → 0.2.28

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 (187) hide show
  1. package/agnostic/arrays/index.js +10 -10
  2. package/agnostic/arrays/random-pick/index.js +6 -6
  3. package/agnostic/colors/channels/index.js +3 -3
  4. package/agnostic/colors/contrast/index.js +4 -4
  5. package/agnostic/colors/convert/index.js +2 -2
  6. package/agnostic/colors/distance/index.js +3 -3
  7. package/agnostic/colors/grayscale/index.js +3 -3
  8. package/agnostic/colors/index.js +19 -19
  9. package/agnostic/colors/invert/index.js +3 -3
  10. package/agnostic/colors/lerp/index.js +3 -3
  11. package/agnostic/colors/luminance/index.js +3 -3
  12. package/agnostic/colors/palette/index.js +5 -5
  13. package/agnostic/colors/rotate/index.js +4 -4
  14. package/agnostic/colors/tidy/index.js +2 -2
  15. package/agnostic/css/index.js +8 -8
  16. package/agnostic/css/styles-set/index.js +6 -6
  17. package/agnostic/errors/index.js +2 -2
  18. package/agnostic/html/hyper-json/cast/index.js +5 -5
  19. package/agnostic/html/hyper-json/index.js +6 -6
  20. package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.js +5 -5
  21. package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.js +5 -5
  22. package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.js +5 -5
  23. package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.js +5 -5
  24. package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.js +5 -5
  25. package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.js +5 -5
  26. package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.js +5 -5
  27. package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.js +5 -5
  28. package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.js +5 -5
  29. package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.js +5 -5
  30. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.js +5 -5
  31. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.js +5 -5
  32. package/agnostic/html/hyper-json/smart-tags/coalesced/hjparse/index.js +5 -5
  33. package/agnostic/html/hyper-json/smart-tags/coalesced/hjstringify/index.js +5 -5
  34. package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.js +5 -5
  35. package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.js +5 -5
  36. package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.js +5 -5
  37. package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.js +5 -5
  38. package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.js +5 -5
  39. package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.js +5 -5
  40. package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.js +5 -5
  41. package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.js +5 -5
  42. package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.js +5 -5
  43. package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.js +5 -5
  44. package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.js +5 -5
  45. package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.js +5 -5
  46. package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.js +5 -5
  47. package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.js +5 -5
  48. package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.js +5 -5
  49. package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.js +5 -5
  50. package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.js +5 -5
  51. package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.js +5 -5
  52. package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.js +5 -5
  53. package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.js +5 -5
  54. package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.js +5 -5
  55. package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.js +5 -5
  56. package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.js +5 -5
  57. package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.js +5 -5
  58. package/agnostic/html/hyper-json/smart-tags/coalesced/spread/index.js +5 -5
  59. package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.js +5 -5
  60. package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.js +5 -5
  61. package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.js +5 -5
  62. package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.js +5 -5
  63. package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.js +5 -5
  64. package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.js +5 -5
  65. package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.js +5 -5
  66. package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.js +5 -5
  67. package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.js +5 -5
  68. package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.js +5 -5
  69. package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.js +5 -5
  70. package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.js +5 -5
  71. package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.js +5 -5
  72. package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.js +5 -5
  73. package/agnostic/html/hyper-json/smart-tags/isolated/element/index.js +5 -5
  74. package/agnostic/html/hyper-json/smart-tags/isolated/get/index.js +5 -5
  75. package/agnostic/html/hyper-json/smart-tags/isolated/global/index.js +5 -5
  76. package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.js +5 -5
  77. package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.js +5 -5
  78. package/agnostic/html/hyper-json/smart-tags/isolated/number/index.js +5 -5
  79. package/agnostic/html/hyper-json/smart-tags/isolated/record/index.js +5 -5
  80. package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.js +5 -5
  81. package/agnostic/html/hyper-json/smart-tags/isolated/string/index.js +5 -5
  82. package/agnostic/html/hyper-json/smart-tags/isolated/text/index.js +5 -5
  83. package/agnostic/html/hyper-json/tree/index.js +5 -5
  84. package/agnostic/html/hyper-json/utils/index.js +5 -5
  85. package/agnostic/html/index.js +17 -17
  86. package/agnostic/html/sanitize/index.js +6 -6
  87. package/agnostic/html/selector-to-element/index.js +6 -6
  88. package/agnostic/html/string-to-nodes/index.js +7 -7
  89. package/agnostic/index.js +61 -61
  90. package/agnostic/misc/assert/index.js +3 -3
  91. package/agnostic/misc/crossenv/index.js +2 -2
  92. package/agnostic/misc/index.js +14 -14
  93. package/agnostic/misc/lorem-ipsum/index.js +11 -11
  94. package/agnostic/numbers/index.js +3 -3
  95. package/agnostic/objects/index.js +5 -5
  96. package/agnostic/strings/index.js +5 -5
  97. package/agnostic/time/index.js +4 -4
  98. package/chunks/{chunk-QWNWZBIO.js → chunk-2YGE65HG.js} +1 -1
  99. package/chunks/{chunk-GC56TKQB.js → chunk-5EY7FDIL.js} +9 -9
  100. package/chunks/{chunk-BYFVTEWM.js → chunk-5ZYRXXPT.js} +13 -13
  101. package/chunks/{chunk-NCYE5WML.js → chunk-6WIKRRT5.js} +4 -4
  102. package/chunks/{chunk-6L5IVVPM.js → chunk-7CSIFGP6.js} +5 -5
  103. package/chunks/{chunk-PVRYR5KX.js → chunk-7JWUXOAT.js} +1 -1
  104. package/chunks/{chunk-EGBJXHCW.js → chunk-BJKQMSLO.js} +1 -1
  105. package/chunks/{chunk-B446JIN3.js → chunk-C7SRAQMW.js} +1 -1
  106. package/chunks/{chunk-XS5I25MY.js → chunk-CIE4SQ2R.js} +1 -1
  107. package/chunks/{chunk-36CTYZYA.js → chunk-CQEDNACN.js} +2 -2
  108. package/chunks/{chunk-CLLJV343.js → chunk-CZTIZX7S.js} +1 -1
  109. package/chunks/{chunk-WAMSK4A3.js → chunk-E4FJHD5R.js} +1 -1
  110. package/chunks/{chunk-OBJEBN4X.js → chunk-E6ETENWX.js} +2 -2
  111. package/chunks/{chunk-Y4B6LGMI.js → chunk-GBGM564N.js} +18 -18
  112. package/chunks/{chunk-Y3X4T6ML.js → chunk-IIVELPLX.js} +1 -1
  113. package/chunks/{chunk-PNDHXJKV.js → chunk-JDHBVRKO.js} +4 -4
  114. package/chunks/{chunk-DKITT7OT.js → chunk-KAG7WIK5.js} +1 -1
  115. package/chunks/{chunk-5CTAKAIP.js → chunk-KG2YA3PO.js} +2 -2
  116. package/chunks/{chunk-XPGAVZGK.js → chunk-KXJUKOMC.js} +1 -1
  117. package/chunks/{chunk-7WT5CSN6.js → chunk-LBIMKKDV.js} +17 -17
  118. package/chunks/{chunk-LIE4PJZI.js → chunk-LKLJOPG7.js} +2 -2
  119. package/chunks/{chunk-YXLHZ2KW.js → chunk-MGCOD7CI.js} +2 -2
  120. package/chunks/{chunk-MFIGSRSO.js → chunk-NCLSAIJZ.js} +1 -1
  121. package/chunks/{chunk-YVKM7N55.js → chunk-OMW6VKSN.js} +1 -1
  122. package/chunks/{chunk-CHUOCTRP.js → chunk-P2H6PV4O.js} +2 -2
  123. package/chunks/{chunk-LK2G6T6E.js → chunk-PX4DPCZM.js} +1 -1
  124. package/chunks/{chunk-NAU4AITG.js → chunk-QYEWGRKJ.js} +9 -9
  125. package/chunks/{chunk-JWF5EKM2.js → chunk-RDQJSWRC.js} +1 -1
  126. package/chunks/{chunk-3LCD73SB.js → chunk-RDSYH5NJ.js} +1 -1
  127. package/chunks/{chunk-4BTLOZQV.js → chunk-RYGUIYQP.js} +6 -6
  128. package/chunks/{chunk-3P37PQA5.js → chunk-SXC5GRYJ.js} +6 -6
  129. package/chunks/{chunk-JDLINMP5.js → chunk-T74A5BQ6.js} +2 -2
  130. package/chunks/{chunk-BVN6QBJZ.js → chunk-THR4YEHN.js} +1 -1
  131. package/chunks/{chunk-L7PIZQFC.js → chunk-TVPTWOFP.js} +1 -1
  132. package/chunks/{chunk-GTN74PRL.js → chunk-VX2CSZU6.js} +26 -22
  133. package/chunks/{chunk-NSEA3T4D.js → chunk-WHYXVF3N.js} +1 -1
  134. package/chunks/{chunk-NKHQJUGV.js → chunk-WRJA7VLE.js} +1 -1
  135. package/chunks/{chunk-D5CCWCEI.js → chunk-WUK3SRAL.js} +1 -1
  136. package/chunks/{chunk-SA2IY5LN.js → chunk-X5HMM3LD.js} +1 -1
  137. package/chunks/{chunk-STPN5KZL.js → chunk-YLNSMUZA.js} +1 -1
  138. package/chunks/{chunk-ZLBSI4TR.js → chunk-YRNTL6UO.js} +1 -1
  139. package/chunks/{chunk-WSC3WODJ.js → chunk-ZEAQ6B6I.js} +1 -1
  140. package/chunks/{chunk-P5JJOC5K.js → chunk-ZVT4KKLB.js} +1 -1
  141. package/node/@aws-s3/index.js +10 -10
  142. package/node/@aws-s3/storage/directory/index.js +6 -6
  143. package/node/@aws-s3/storage/file/index.js +10 -10
  144. package/node/@aws-s3/storage/index.js +9 -9
  145. package/node/@google-cloud/index.js +14 -14
  146. package/node/@google-cloud/storage/bucket/index.js +4 -4
  147. package/node/@google-cloud/storage/directory/index.js +6 -6
  148. package/node/@google-cloud/storage/file/index.js +14 -14
  149. package/node/@google-cloud/storage/file/revoke-signed-urls/index.js +2 -2
  150. package/node/@google-cloud/storage/index.js +15 -15
  151. package/node/cloud-storage/index.js +32 -32
  152. package/node/cloud-storage/operations/index.js +43 -43
  153. package/node/ftps/directory/index.js +6 -6
  154. package/node/ftps/file/index.js +10 -10
  155. package/node/ftps/index.js +9 -9
  156. package/node/images/create/index.js +14 -14
  157. package/node/images/format/index.js +14 -14
  158. package/node/images/index.js +27 -27
  159. package/node/images/metadata/index.js +14 -14
  160. package/node/images/transform/index.js +21 -21
  161. package/node/images/transform/operations/extend/index.js +14 -14
  162. package/node/images/transform/operations/flatten/index.js +14 -14
  163. package/node/images/transform/operations/overlay/index.js +14 -14
  164. package/node/images/transform/operations/resize/index.js +14 -14
  165. package/node/images/transform/operations/rotate/index.js +14 -14
  166. package/node/images/utils/index.js +13 -13
  167. package/node/index.js +86 -86
  168. package/node/sftp/directory/index.js +6 -6
  169. package/node/sftp/file/index.js +10 -10
  170. package/node/sftp/index.js +9 -9
  171. package/package.json +1 -1
  172. package/chunks/{chunk-WH6BPDAC.js → chunk-2KT7AKRW.js} +3 -3
  173. package/chunks/{chunk-ZBAKY6DB.js → chunk-2WIWINVL.js} +5 -5
  174. package/chunks/{chunk-CNMP2GU4.js → chunk-42B5RQDS.js} +5 -5
  175. package/chunks/{chunk-FNQAF6CQ.js → chunk-4XIY6THU.js} +3 -3
  176. package/chunks/{chunk-KTRNAXZK.js → chunk-66S3WWJV.js} +9 -9
  177. package/chunks/{chunk-SXJAI55K.js → chunk-A7DUPQSC.js} +10 -10
  178. package/chunks/{chunk-UFKH5WD2.js → chunk-FR5H2OCV.js} +3 -3
  179. package/chunks/{chunk-S4VO4PFZ.js → chunk-G5RRNREY.js} +3 -3
  180. package/chunks/{chunk-X5F6XGEP.js → chunk-HJARCTOH.js} +5 -5
  181. package/chunks/{chunk-QRGAXWZB.js → chunk-LYEZ5IRT.js} +9 -9
  182. package/chunks/{chunk-A7K5DUP7.js → chunk-MUOULXIW.js} +5 -5
  183. package/chunks/{chunk-WOYF3N4A.js → chunk-OBTYLRE3.js} +5 -5
  184. package/chunks/{chunk-F6TFHQ5U.js → chunk-OMPMEBW4.js} +18 -18
  185. package/chunks/{chunk-UEAMPAHK.js → chunk-OMTDHKJI.js} +3 -3
  186. package/chunks/{chunk-343P6DVY.js → chunk-XXRTRR5D.js} +9 -9
  187. package/chunks/{chunk-57C5ZFIF.js → chunk-YYP4JITV.js} +9 -9
@@ -2,30 +2,30 @@ import {
2
2
  isLevelOperationParams,
3
3
  level
4
4
  } from "./chunk-2HJPX7E3.js";
5
- import {
6
- isLightenOperationParams,
7
- lighten
8
- } from "./chunk-RHKFMXM3.js";
9
5
  import {
10
6
  isNormalizeOperationParams,
11
7
  normalize
12
8
  } from "./chunk-3G6FOHII.js";
9
+ import {
10
+ isLightenOperationParams,
11
+ lighten
12
+ } from "./chunk-RHKFMXM3.js";
13
13
  import {
14
14
  isOverlayOperationParams,
15
15
  overlay
16
- } from "./chunk-CLLJV343.js";
16
+ } from "./chunk-CZTIZX7S.js";
17
17
  import {
18
18
  isResizeOperationParams,
19
19
  resize
20
- } from "./chunk-STPN5KZL.js";
21
- import {
22
- isRotateOperationParams,
23
- rotate
24
- } from "./chunk-QWNWZBIO.js";
20
+ } from "./chunk-YLNSMUZA.js";
25
21
  import {
26
22
  isSaturateOperationParams,
27
23
  saturate
28
24
  } from "./chunk-QTA7ZEVX.js";
25
+ import {
26
+ isRotateOperationParams,
27
+ rotate
28
+ } from "./chunk-2YGE65HG.js";
29
29
  import {
30
30
  blur,
31
31
  isBlurOperationParams
@@ -37,28 +37,28 @@ import {
37
37
  import {
38
38
  extend,
39
39
  isExtendOperationParams
40
- } from "./chunk-YVKM7N55.js";
41
- import {
42
- flatten,
43
- isFlattenOperationParams
44
- } from "./chunk-P5JJOC5K.js";
40
+ } from "./chunk-OMW6VKSN.js";
45
41
  import {
46
42
  extract,
47
43
  isExtractOperationParams
48
44
  } from "./chunk-HFZGH6V2.js";
49
45
  import {
50
- flip
51
- } from "./chunk-WNDMYNDU.js";
46
+ flatten,
47
+ isFlattenOperationParams
48
+ } from "./chunk-ZVT4KKLB.js";
52
49
  import {
53
50
  flop
54
51
  } from "./chunk-YA2YCZUF.js";
52
+ import {
53
+ flip
54
+ } from "./chunk-WNDMYNDU.js";
55
55
  import {
56
56
  hue,
57
57
  isHueOperationParams
58
58
  } from "./chunk-QSU3CVGF.js";
59
59
  import {
60
60
  toSharpInstance
61
- } from "./chunk-D5CCWCEI.js";
61
+ } from "./chunk-WUK3SRAL.js";
62
62
  import {
63
63
  Outcome
64
64
  } from "./chunk-JMU5PDBD.js";
@@ -2,7 +2,7 @@ import {
2
2
  Cast,
3
3
  Tree,
4
4
  Utils
5
- } from "./chunk-GTN74PRL.js";
5
+ } from "./chunk-VX2CSZU6.js";
6
6
  import {
7
7
  Serialize
8
8
  } from "./chunk-SXRWMH3U.js";
@@ -1,11 +1,11 @@
1
+ import {
2
+ StylesSet,
3
+ StylesSetComp
4
+ } from "./chunk-PX4DPCZM.js";
1
5
  import {
2
6
  generateNiceColor,
3
7
  niceColors
4
8
  } from "./chunk-EDVNAV3G.js";
5
- import {
6
- StylesSet,
7
- StylesSetComp
8
- } from "./chunk-LK2G6T6E.js";
9
9
  import {
10
10
  Bem
11
11
  } from "./chunk-KIONYWA7.js";
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  toSharpColor,
6
6
  toSharpInstance
7
- } from "./chunk-D5CCWCEI.js";
7
+ } from "./chunk-WUK3SRAL.js";
8
8
  import {
9
9
  Outcome
10
10
  } from "./chunk-JMU5PDBD.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  luminance
3
- } from "./chunk-3LCD73SB.js";
3
+ } from "./chunk-RDSYH5NJ.js";
4
4
  import {
5
5
  toRgb
6
- } from "./chunk-FNQAF6CQ.js";
6
+ } from "./chunk-4XIY6THU.js";
7
7
 
8
8
  // src/agnostic/colors/contrast/index.ts
9
9
  function contrastWcag(c1, c2) {
@@ -11,7 +11,7 @@ import {
11
11
  viaLch,
12
12
  viaRgb,
13
13
  viaXyz
14
- } from "./chunk-FNQAF6CQ.js";
14
+ } from "./chunk-4XIY6THU.js";
15
15
 
16
16
  // src/agnostic/colors/lerp/index.ts
17
17
  function lerpRgb(rgb1, rgb2, amount) {
@@ -1,33 +1,33 @@
1
- import {
2
- palette
3
- } from "./chunk-MFIGSRSO.js";
4
- import {
5
- rotate
6
- } from "./chunk-YXLHZ2KW.js";
7
- import {
8
- contrast
9
- } from "./chunk-5CTAKAIP.js";
10
1
  import {
11
2
  distance
12
- } from "./chunk-L7PIZQFC.js";
3
+ } from "./chunk-TVPTWOFP.js";
13
4
  import {
14
5
  grayscale
15
- } from "./chunk-WSC3WODJ.js";
6
+ } from "./chunk-ZEAQ6B6I.js";
16
7
  import {
17
8
  invert
18
- } from "./chunk-EGBJXHCW.js";
9
+ } from "./chunk-BJKQMSLO.js";
19
10
  import {
20
11
  lerp
21
- } from "./chunk-XPGAVZGK.js";
12
+ } from "./chunk-KXJUKOMC.js";
22
13
  import {
23
- luminance
24
- } from "./chunk-3LCD73SB.js";
14
+ palette
15
+ } from "./chunk-NCLSAIJZ.js";
16
+ import {
17
+ rotate
18
+ } from "./chunk-MGCOD7CI.js";
25
19
  import {
26
20
  addChannel,
27
21
  getChannel,
28
22
  multChannel,
29
23
  setChannel
30
- } from "./chunk-NCYE5WML.js";
24
+ } from "./chunk-6WIKRRT5.js";
25
+ import {
26
+ contrast
27
+ } from "./chunk-KG2YA3PO.js";
28
+ import {
29
+ luminance
30
+ } from "./chunk-RDSYH5NJ.js";
31
31
  import {
32
32
  tidy,
33
33
  toCmyk,
@@ -44,7 +44,7 @@ import {
44
44
  viaLch,
45
45
  viaRgb,
46
46
  viaXyz
47
- } from "./chunk-FNQAF6CQ.js";
47
+ } from "./chunk-4XIY6THU.js";
48
48
  import {
49
49
  isCmyk,
50
50
  isColor,
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  file_exports
3
- } from "./chunk-343P6DVY.js";
3
+ } from "./chunk-XXRTRR5D.js";
4
4
  import {
5
5
  directory_exports
6
- } from "./chunk-A7K5DUP7.js";
6
+ } from "./chunk-MUOULXIW.js";
7
7
  import {
8
8
  __export
9
9
  } from "./chunk-WSFCRVEQ.js";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  addChannel
3
- } from "./chunk-NCYE5WML.js";
3
+ } from "./chunk-6WIKRRT5.js";
4
4
  import {
5
5
  viaLab,
6
6
  viaLch
7
- } from "./chunk-FNQAF6CQ.js";
7
+ } from "./chunk-4XIY6THU.js";
8
8
  import {
9
9
  absoluteModulo
10
10
  } from "./chunk-DNIOWD7K.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  rotate
3
- } from "./chunk-YXLHZ2KW.js";
3
+ } from "./chunk-MGCOD7CI.js";
4
4
 
5
5
  // src/agnostic/colors/palette/index.ts
6
6
  function complementaryHsl(color) {
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-DZ2T5DTY.js";
4
4
  import {
5
5
  toSharpColor
6
- } from "./chunk-D5CCWCEI.js";
6
+ } from "./chunk-WUK3SRAL.js";
7
7
  import {
8
8
  Outcome
9
9
  } from "./chunk-JMU5PDBD.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Crossenv
3
- } from "./chunk-UFKH5WD2.js";
3
+ } from "./chunk-FR5H2OCV.js";
4
4
  import {
5
5
  Errors
6
- } from "./chunk-WH6BPDAC.js";
6
+ } from "./chunk-2KT7AKRW.js";
7
7
 
8
8
  // src/shared/errors/index.ts
9
9
  var register = Errors.Register.from({
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-S32K7POB.js";
4
4
  import {
5
5
  register
6
- } from "./chunk-CHUOCTRP.js";
6
+ } from "./chunk-P2H6PV4O.js";
7
7
 
8
8
  // src/agnostic/css/styles-set/index.tsx
9
9
  import { Component } from "react";
@@ -1,27 +1,27 @@
1
- import {
2
- getPositionInsideParent
3
- } from "./chunk-VTPRO4NJ.js";
4
1
  import {
5
2
  Placeholders
6
3
  } from "./chunk-VYW4IADX.js";
4
+ import {
5
+ getNodeAncestors
6
+ } from "./chunk-LUPVHC73.js";
7
7
  import {
8
8
  selectorToElement
9
- } from "./chunk-SA2IY5LN.js";
9
+ } from "./chunk-X5HMM3LD.js";
10
10
  import {
11
11
  stringToNodes
12
- } from "./chunk-36CTYZYA.js";
12
+ } from "./chunk-CQEDNACN.js";
13
13
  import {
14
14
  Sanitize
15
- } from "./chunk-JWF5EKM2.js";
15
+ } from "./chunk-RDQJSWRC.js";
16
16
  import {
17
17
  HyperJson
18
- } from "./chunk-Y3X4T6ML.js";
18
+ } from "./chunk-IIVELPLX.js";
19
19
  import {
20
20
  insertNode
21
21
  } from "./chunk-XA4HVHJ4.js";
22
22
  import {
23
- getNodeAncestors
24
- } from "./chunk-LUPVHC73.js";
23
+ getPositionInsideParent
24
+ } from "./chunk-VTPRO4NJ.js";
25
25
 
26
26
  // src/agnostic/html/index.ts
27
27
  var Html;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  register
3
- } from "./chunk-CHUOCTRP.js";
3
+ } from "./chunk-P2H6PV4O.js";
4
4
 
5
5
  // src/agnostic/html/sanitize/index.ts
6
6
  var Sanitize;
@@ -3,7 +3,7 @@ import {
3
3
  toLab,
4
4
  toRgb,
5
5
  toXyz
6
- } from "./chunk-FNQAF6CQ.js";
6
+ } from "./chunk-4XIY6THU.js";
7
7
 
8
8
  // src/agnostic/colors/luminance/index.ts
9
9
  function luminanceRgb(rgb) {
@@ -1,15 +1,15 @@
1
- import {
2
- create_exports
3
- } from "./chunk-PVRYR5KX.js";
4
1
  import {
5
2
  format_exports
6
- } from "./chunk-DKITT7OT.js";
3
+ } from "./chunk-KAG7WIK5.js";
4
+ import {
5
+ create_exports
6
+ } from "./chunk-7JWUXOAT.js";
7
7
  import {
8
8
  metadata_exports
9
- } from "./chunk-ZLBSI4TR.js";
9
+ } from "./chunk-YRNTL6UO.js";
10
10
  import {
11
11
  transform_exports
12
- } from "./chunk-Y4B6LGMI.js";
12
+ } from "./chunk-GBGM564N.js";
13
13
  import {
14
14
  types_exports
15
15
  } from "./chunk-FKDPPFHV.js";
@@ -6,19 +6,19 @@ import {
6
6
  } from "./chunk-7AWTHZLY.js";
7
7
  import {
8
8
  LoremIpsum
9
- } from "./chunk-BVN6QBJZ.js";
9
+ } from "./chunk-THR4YEHN.js";
10
+ import {
11
+ Cast
12
+ } from "./chunk-SNJJII7A.js";
10
13
  import {
11
14
  Assert
12
- } from "./chunk-WAMSK4A3.js";
15
+ } from "./chunk-E4FJHD5R.js";
13
16
  import {
14
17
  Crawler
15
18
  } from "./chunk-YUP434IY.js";
16
19
  import {
17
20
  data_size_exports
18
21
  } from "./chunk-G4ZB72XY.js";
19
- import {
20
- Cast
21
- } from "./chunk-SNJJII7A.js";
22
22
  import {
23
23
  Outcome
24
24
  } from "./chunk-JMU5PDBD.js";
@@ -32,7 +32,7 @@ import {
32
32
  } from "./chunk-RCO57B6F.js";
33
33
  import {
34
34
  Crossenv
35
- } from "./chunk-UFKH5WD2.js";
35
+ } from "./chunk-FR5H2OCV.js";
36
36
  import {
37
37
  __export
38
38
  } from "./chunk-WSFCRVEQ.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  file_exports
3
- } from "./chunk-KTRNAXZK.js";
3
+ } from "./chunk-66S3WWJV.js";
4
4
  import {
5
5
  directory_exports
6
- } from "./chunk-ZBAKY6DB.js";
6
+ } from "./chunk-2WIWINVL.js";
7
7
  import {
8
8
  __export
9
9
  } from "./chunk-WSFCRVEQ.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-S32K7POB.js";
4
4
  import {
5
5
  Arrays
6
- } from "./chunk-GC56TKQB.js";
6
+ } from "./chunk-5EY7FDIL.js";
7
7
 
8
8
  // src/agnostic/misc/lorem-ipsum/index.ts
9
9
  var LoremIpsum;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  toLab
3
- } from "./chunk-FNQAF6CQ.js";
3
+ } from "./chunk-4XIY6THU.js";
4
4
 
5
5
  // src/agnostic/colors/distance/index.ts
6
6
  function distanceCiede2000(c1, c2) {
@@ -1,9 +1,9 @@
1
- import {
2
- array
3
- } from "./chunk-QAQZEKIF.js";
4
1
  import {
5
2
  any
6
3
  } from "./chunk-FHLCPVND.js";
4
+ import {
5
+ array
6
+ } from "./chunk-QAQZEKIF.js";
7
7
  import {
8
8
  nullFunc
9
9
  } from "./chunk-QAVYONH6.js";
@@ -25,6 +25,9 @@ import {
25
25
  import {
26
26
  insertNode
27
27
  } from "./chunk-XA4HVHJ4.js";
28
+ import {
29
+ recordMap
30
+ } from "./chunk-XNF5MLCQ.js";
28
31
  import {
29
32
  isInEnum
30
33
  } from "./chunk-E6MSDKON.js";
@@ -32,18 +35,15 @@ import {
32
35
  isRecord
33
36
  } from "./chunk-YDIBNEGA.js";
34
37
  import {
35
- recordMap
36
- } from "./chunk-XNF5MLCQ.js";
37
- import {
38
- replaceAll
39
- } from "./chunk-ZTDVUXPR.js";
38
+ trimEnd,
39
+ trimStart
40
+ } from "./chunk-6XL25OZX.js";
40
41
  import {
41
42
  Outcome
42
43
  } from "./chunk-JMU5PDBD.js";
43
44
  import {
44
- trimEnd,
45
- trimStart
46
- } from "./chunk-6XL25OZX.js";
45
+ replaceAll
46
+ } from "./chunk-ZTDVUXPR.js";
47
47
  import {
48
48
  Window
49
49
  } from "./chunk-RLJOYG64.js";
@@ -687,17 +687,20 @@ var nodelistItemSymbol = "%%-hyperjson-nodelist-%%";
687
687
  var nodelistItemSplitterSymbol = "%%-hyperjson-nodelist-splitter-%%";
688
688
  var elementItemSymbol = "%%-hyperjson-element-%%";
689
689
  function stringifier(val) {
690
- if (typeof val === "string") return `"${val}"`;
691
- if (typeof val === "number" || typeof val === "boolean" || val === null) return `${val}`;
692
- if (val instanceof Text) return `"${textItemSymbol}${val.textContent}"`;
693
- if (val instanceof Element) return `"${elementItemSymbol}${val.outerHTML}"`;
690
+ if (typeof val === "string" || typeof val === "number" || typeof val === "boolean" || val === null) return JSON.stringify(val);
691
+ if (val instanceof Text) return JSON.stringify(`${textItemSymbol}${val.textContent}`);
692
+ if (val instanceof Element) return JSON.stringify(`${elementItemSymbol}${val.outerHTML}`);
694
693
  if (val instanceof NodeList) {
695
694
  const items = Array.from(val);
696
- return `"${nodelistItemSymbol}${items.map(stringifier).join(nodelistItemSplitterSymbol)}"`;
695
+ return JSON.stringify(`${nodelistItemSymbol}${items.map(stringifier).join(nodelistItemSplitterSymbol)}`);
697
696
  }
698
- if (val instanceof Method) return `"[Object method]"`;
699
- if (Array.isArray(val)) return `[${val.map(stringifier).join(", ")}]`;
700
- return `{ ${Object.entries(val).map(([key, val2]) => `"${key}": ${stringifier(val2)}`).join(", ")} }`;
697
+ if (val instanceof Method) return `[Method object: ${val.transformer.name}`;
698
+ if (Array.isArray(val)) return JSON.stringify(val.map(stringifier));
699
+ return JSON.stringify(
700
+ Object.entries(val).reduce((acc, [key, val2]) => {
701
+ return { ...acc, [key]: stringifier(val2) };
702
+ }, {})
703
+ );
701
704
  }
702
705
  var hjstringify = SmartTags.makeSmartTag({
703
706
  name: "hjstringify",
@@ -752,11 +755,12 @@ function unescapeHyperJsonString(val) {
752
755
  }
753
756
  if (val.startsWith(nodelistItemSymbol)) {
754
757
  const trimmed = val.slice(nodelistItemSymbol.length);
755
- const splitted = trimmed.split(nodelistItemSplitterSymbol).map(unescapeHyperJsonString);
758
+ const splitted = trimmed.split(nodelistItemSplitterSymbol);
756
759
  const div = document.createElement("div");
757
760
  splitted.forEach((item) => {
758
- if (item instanceof NodeList) div.append(...Array.from(item));
759
- else div.append(item);
761
+ const unescapedItem = unescapeHyperJsonString(item);
762
+ if (unescapedItem instanceof NodeList) div.append(...Array.from(unescapedItem));
763
+ else div.append(unescapedItem);
760
764
  });
761
765
  return div.childNodes;
762
766
  }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  operations_exports
3
- } from "./chunk-F6TFHQ5U.js";
3
+ } from "./chunk-OMPMEBW4.js";
4
4
  import {
5
5
  clients_exports
6
6
  } from "./chunk-V3GX7SIJ.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  storage_exports
3
- } from "./chunk-JDLINMP5.js";
3
+ } from "./chunk-T74A5BQ6.js";
4
4
  import {
5
5
  __export
6
6
  } from "./chunk-WSFCRVEQ.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  tidy,
3
3
  toRgb
4
- } from "./chunk-FNQAF6CQ.js";
4
+ } from "./chunk-4XIY6THU.js";
5
5
  import {
6
6
  isNonNullObject
7
7
  } from "./chunk-HQLRJ7XW.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  register
3
- } from "./chunk-CHUOCTRP.js";
3
+ } from "./chunk-P2H6PV4O.js";
4
4
 
5
5
  // src/agnostic/html/selector-to-element/index.ts
6
6
  function selectorToElement(selector, documentObj) {
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-DZ2T5DTY.js";
4
4
  import {
5
5
  toSharpColor
6
- } from "./chunk-D5CCWCEI.js";
6
+ } from "./chunk-WUK3SRAL.js";
7
7
  import {
8
8
  Outcome
9
9
  } from "./chunk-JMU5PDBD.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  toSharpInstance
3
- } from "./chunk-D5CCWCEI.js";
3
+ } from "./chunk-WUK3SRAL.js";
4
4
  import {
5
5
  __export
6
6
  } from "./chunk-WSFCRVEQ.js";
@@ -6,7 +6,7 @@ import {
6
6
  viaLch,
7
7
  viaRgb,
8
8
  viaXyz
9
- } from "./chunk-FNQAF6CQ.js";
9
+ } from "./chunk-4XIY6THU.js";
10
10
 
11
11
  // src/agnostic/colors/grayscale/index.ts
12
12
  function avgGrayscaleRgb(rgb) {
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-DZ2T5DTY.js";
4
4
  import {
5
5
  toSharpColor
6
- } from "./chunk-D5CCWCEI.js";
6
+ } from "./chunk-WUK3SRAL.js";
7
7
  import {
8
8
  Outcome
9
9
  } from "./chunk-JMU5PDBD.js";
@@ -1,20 +1,20 @@
1
- import "../../chunks/chunk-NKHQJUGV.js";
1
+ import "../../chunks/chunk-WRJA7VLE.js";
2
2
  import {
3
3
  storage_exports
4
- } from "../../chunks/chunk-JDLINMP5.js";
5
- import "../../chunks/chunk-KTRNAXZK.js";
6
- import "../../chunks/chunk-ZBAKY6DB.js";
7
- import "../../chunks/chunk-ZEZCYPLQ.js";
8
- import "../../chunks/chunk-ZSUG52DO.js";
9
- import "../../chunks/chunk-QWZ4ZNFA.js";
10
- import "../../chunks/chunk-ON6LC3HE.js";
11
- import "../../chunks/chunk-4XSDRT23.js";
12
- import "../../chunks/chunk-FD5WR2A5.js";
4
+ } from "../../chunks/chunk-T74A5BQ6.js";
5
+ import "../../chunks/chunk-66S3WWJV.js";
6
+ import "../../chunks/chunk-2WIWINVL.js";
13
7
  import "../../chunks/chunk-WV5N7ESL.js";
14
8
  import "../../chunks/chunk-VROZGPC5.js";
9
+ import "../../chunks/chunk-FD5WR2A5.js";
15
10
  import "../../chunks/chunk-4XBUJAQU.js";
16
11
  import "../../chunks/chunk-C6QTHDDM.js";
17
12
  import "../../chunks/chunk-IV75M3KE.js";
13
+ import "../../chunks/chunk-ZEZCYPLQ.js";
14
+ import "../../chunks/chunk-ON6LC3HE.js";
15
+ import "../../chunks/chunk-ZSUG52DO.js";
16
+ import "../../chunks/chunk-4XSDRT23.js";
17
+ import "../../chunks/chunk-QWZ4ZNFA.js";
18
18
  import "../../chunks/chunk-JMU5PDBD.js";
19
19
  import "../../chunks/chunk-FENXVJYO.js";
20
20
  import "../../chunks/chunk-WSFCRVEQ.js";
@@ -1,16 +1,16 @@
1
- import "../../../../chunks/chunk-ZBAKY6DB.js";
1
+ import "../../../../chunks/chunk-2WIWINVL.js";
2
2
  import {
3
- list_exports
4
- } from "../../../../chunks/chunk-ZSUG52DO.js";
3
+ copy_dir_exports
4
+ } from "../../../../chunks/chunk-4XBUJAQU.js";
5
5
  import {
6
6
  move_dir_exports
7
7
  } from "../../../../chunks/chunk-ON6LC3HE.js";
8
+ import {
9
+ list_exports
10
+ } from "../../../../chunks/chunk-ZSUG52DO.js";
8
11
  import {
9
12
  remove_dir_exports
10
13
  } from "../../../../chunks/chunk-4XSDRT23.js";
11
- import {
12
- copy_dir_exports
13
- } from "../../../../chunks/chunk-4XBUJAQU.js";
14
14
  import "../../../../chunks/chunk-JMU5PDBD.js";
15
15
  import "../../../../chunks/chunk-FENXVJYO.js";
16
16
  import "../../../../chunks/chunk-WSFCRVEQ.js";