@symbo.ls/scratch 3.0.2 → 3.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cjs/set.js CHANGED
@@ -83,7 +83,7 @@ var require_cjs = __commonJS({
83
83
  var isString2 = (arg) => typeof arg === "string";
84
84
  var isNumber2 = (arg) => typeof arg === "number";
85
85
  var isArray2 = (arg) => Array.isArray(arg);
86
- var STATE_METHODS2 = [
86
+ var STATE_METHODS3 = [
87
87
  "update",
88
88
  "parse",
89
89
  "clean",
@@ -117,8 +117,8 @@ var require_cjs = __commonJS({
117
117
  "removePathCollection",
118
118
  "getByPath"
119
119
  ];
120
- var PROPS_METHODS2 = ["update", "__element"];
121
- var METHODS2 = [
120
+ var PROPS_METHODS3 = ["update", "__element"];
121
+ var METHODS3 = [
122
122
  "set",
123
123
  "reset",
124
124
  "update",
@@ -146,13 +146,84 @@ var require_cjs = __commonJS({
146
146
  "nextElement",
147
147
  "previousElement"
148
148
  ];
149
- var METHODS_EXL2 = [
149
+ var METHODS_EXL3 = [
150
150
  ...["node", "context", "extends", "__element", "__ref"],
151
- ...METHODS2,
152
- ...STATE_METHODS2,
153
- ...PROPS_METHODS2
151
+ ...METHODS3,
152
+ ...STATE_METHODS3,
153
+ ...PROPS_METHODS3
154
154
  ];
155
155
  var isMobile2 = (() => typeof navigator === "undefined" ? false : /Mobi/.test(navigator.userAgent))();
156
+ var STATE_METHODS22 = [
157
+ "update",
158
+ "parse",
159
+ "clean",
160
+ "create",
161
+ "destroy",
162
+ "add",
163
+ "toggle",
164
+ "remove",
165
+ "apply",
166
+ "set",
167
+ "reset",
168
+ "replace",
169
+ "quietReplace",
170
+ "quietUpdate",
171
+ "applyReplace",
172
+ "applyFunction",
173
+ "keys",
174
+ "values",
175
+ "ref",
176
+ "rootUpdate",
177
+ "parentUpdate",
178
+ "parent",
179
+ "__element",
180
+ "__depends",
181
+ "__ref",
182
+ "__children",
183
+ "root",
184
+ "setByPath",
185
+ "setPathCollection",
186
+ "removeByPath",
187
+ "removePathCollection",
188
+ "getByPath"
189
+ ];
190
+ var PROPS_METHODS22 = ["update", "__element"];
191
+ var METHODS22 = [
192
+ "set",
193
+ "reset",
194
+ "update",
195
+ "remove",
196
+ "updateContent",
197
+ "removeContent",
198
+ "lookup",
199
+ "lookdown",
200
+ "lookdownAll",
201
+ "getRef",
202
+ "getPath",
203
+ "setNodeStyles",
204
+ "spotByPath",
205
+ "keys",
206
+ "parse",
207
+ "setProps",
208
+ "parseDeep",
209
+ "variables",
210
+ "if",
211
+ "log",
212
+ "verbose",
213
+ "warn",
214
+ "error",
215
+ "call",
216
+ "nextElement",
217
+ "previousElement"
218
+ ];
219
+ var METHODS_EXL22 = [
220
+ ...["node", "context", "extends", "__element", "__ref"],
221
+ ...METHODS22,
222
+ ...STATE_METHODS22,
223
+ ...PROPS_METHODS22
224
+ ];
225
+ var window32 = globalThis;
226
+ var document32 = window32.document;
156
227
  async function toggleFullscreen(opts) {
157
228
  if (!document.fullscreenElement) {
158
229
  try {
@@ -333,16 +404,16 @@ __export(set_exports, {
333
404
  });
334
405
  module.exports = __toCommonJS(set_exports);
335
406
 
336
- // ../../node_modules/@domql/utils/globals.js
407
+ // ../../../domql/packages/utils/globals.js
337
408
  var window2 = globalThis;
338
409
  var document2 = window2.document;
339
410
 
340
- // ../../node_modules/@domql/utils/node.js
411
+ // ../../../domql/packages/utils/node.js
341
412
  var isDOMNode = (obj) => {
342
413
  return typeof window2 !== "undefined" && (obj instanceof window2.Node || obj instanceof window2.Window || obj === window2 || obj === document);
343
414
  };
344
415
 
345
- // ../../node_modules/@domql/utils/types.js
416
+ // ../../../domql/packages/utils/types.js
346
417
  var isObject = (arg) => {
347
418
  if (arg === null) return false;
348
419
  return typeof arg === "object" && arg.constructor === Object;
@@ -360,7 +431,7 @@ var isUndefined = (arg) => {
360
431
  return arg === void 0;
361
432
  };
362
433
 
363
- // ../../node_modules/@domql/utils/array.js
434
+ // ../../../domql/packages/utils/array.js
364
435
  var unstackArrayOfObjects = (arr, exclude = []) => {
365
436
  return arr.reduce(
366
437
  (a, c) => deepMerge(a, deepClone(c, { exclude }), exclude),
@@ -368,7 +439,7 @@ var unstackArrayOfObjects = (arr, exclude = []) => {
368
439
  );
369
440
  };
370
441
 
371
- // ../../node_modules/@domql/utils/keys.js
442
+ // ../../../domql/packages/utils/keys.js
372
443
  var STATE_METHODS = [
373
444
  "update",
374
445
  "parse",
@@ -439,7 +510,7 @@ var METHODS_EXL = [
439
510
  ...PROPS_METHODS
440
511
  ];
441
512
 
442
- // ../../node_modules/@domql/utils/object.js
513
+ // ../../../domql/packages/utils/object.js
443
514
  var merge = (element, obj, excludeFrom = []) => {
444
515
  for (const e in obj) {
445
516
  const hasOwnProperty = Object.prototype.hasOwnProperty.call(obj, e);
@@ -543,9 +614,84 @@ var overwriteDeep = (obj, params, opts = {}, visited = /* @__PURE__ */ new WeakM
543
614
  return obj;
544
615
  };
545
616
 
546
- // ../../node_modules/@domql/utils/cookie.js
617
+ // ../../../domql/packages/utils/cookie.js
547
618
  var isMobile = (() => typeof navigator === "undefined" ? false : /Mobi/.test(navigator.userAgent))();
548
619
 
620
+ // ../../../domql/packages/event/dist/esm/keys.js
621
+ var STATE_METHODS2 = [
622
+ "update",
623
+ "parse",
624
+ "clean",
625
+ "create",
626
+ "destroy",
627
+ "add",
628
+ "toggle",
629
+ "remove",
630
+ "apply",
631
+ "set",
632
+ "reset",
633
+ "replace",
634
+ "quietReplace",
635
+ "quietUpdate",
636
+ "applyReplace",
637
+ "applyFunction",
638
+ "keys",
639
+ "values",
640
+ "ref",
641
+ "rootUpdate",
642
+ "parentUpdate",
643
+ "parent",
644
+ "__element",
645
+ "__depends",
646
+ "__ref",
647
+ "__children",
648
+ "root",
649
+ "setByPath",
650
+ "setPathCollection",
651
+ "removeByPath",
652
+ "removePathCollection",
653
+ "getByPath"
654
+ ];
655
+ var PROPS_METHODS2 = ["update", "__element"];
656
+ var METHODS2 = [
657
+ "set",
658
+ "reset",
659
+ "update",
660
+ "remove",
661
+ "updateContent",
662
+ "removeContent",
663
+ "lookup",
664
+ "lookdown",
665
+ "lookdownAll",
666
+ "getRef",
667
+ "getPath",
668
+ "setNodeStyles",
669
+ "spotByPath",
670
+ "keys",
671
+ "parse",
672
+ "setProps",
673
+ "parseDeep",
674
+ "variables",
675
+ "if",
676
+ "log",
677
+ "verbose",
678
+ "warn",
679
+ "error",
680
+ "call",
681
+ "nextElement",
682
+ "previousElement"
683
+ ];
684
+ var METHODS_EXL2 = [
685
+ ...["node", "context", "extends", "__element", "__ref"],
686
+ ...METHODS2,
687
+ ...STATE_METHODS2,
688
+ ...PROPS_METHODS2
689
+ ];
690
+
691
+ // ../../../domql/packages/event/dist/esm/globals.js
692
+ var window3 = globalThis;
693
+ var document3 = window3.document;
694
+
549
695
  // src/defaultConfig/index.js
550
696
  var defaultConfig_exports = {};
551
697
  __export(defaultConfig_exports, {
@@ -891,7 +1037,7 @@ var getFontFaceEach = (name, weights) => {
891
1037
  };
892
1038
 
893
1039
  // src/utils/sequence.js
894
- var import_utils6 = __toESM(require_cjs(), 1);
1040
+ var import_utils5 = __toESM(require_cjs(), 1);
895
1041
  var numToLetterMap = {
896
1042
  "-6": "U",
897
1043
  "-5": "V",
@@ -1030,7 +1176,7 @@ var getSequenceValue = (value = "A", sequenceProps) => {
1030
1176
  useVariable
1031
1177
  } = sequenceProps;
1032
1178
  if (isString(value) && value.slice(0, 2) === "--") return `var(${value})`;
1033
- const prefix = `--${(0, import_utils6.toDashCase)(sequenceProps.type.replace(".", "-"))}-`;
1179
+ const prefix = `--${(0, import_utils5.toDashCase)(sequenceProps.type.replace(".", "-"))}-`;
1034
1180
  const startsWithDashOrLetterRegex = /^-?[a-zA-Z]/i;
1035
1181
  const startsWithDashOrLetter = startsWithDashOrLetterRegex.test(value);
1036
1182
  if (value === "none" || value === "auto" || value === "unset" || value === "inherit" || value === "fit-content" || value === "min-content" || value === "max-content" || value.includes("calc") || value.includes("var") || !startsWithDashOrLetter) return value;
@@ -1156,10 +1302,13 @@ var applyMediaSequenceVars = (FACTORY2, media, options = {}) => {
1156
1302
  };
1157
1303
 
1158
1304
  // src/utils/sprite.js
1305
+ var ENV = "development";
1306
+ var isDev = ENV === "development" || ENV === "testing";
1159
1307
  var parseRootAttributes = (htmlString) => {
1160
1308
  const val = htmlString.default || htmlString;
1161
1309
  if (!isString(val)) {
1162
- return console.warn(`parseRootAttributes: ${val} is not a string`);
1310
+ if (isDev) console.warn("parseRootAttributes:", val, "is not a string");
1311
+ return;
1163
1312
  }
1164
1313
  const match = val.match(/<svg\s+(.*?)>/);
1165
1314
  if (!match || !match[1]) {
@@ -1496,7 +1645,7 @@ var getMediaTheme = (value, modifier) => {
1496
1645
  };
1497
1646
 
1498
1647
  // src/system/font.js
1499
- var import_utils13 = __toESM(require_cjs(), 1);
1648
+ var import_utils12 = __toESM(require_cjs(), 1);
1500
1649
  var setFont = (val, key) => {
1501
1650
  const CSSvar = `--font-${key}`;
1502
1651
  if (!val || isArray(val) && !val[0]) return;
@@ -1508,7 +1657,7 @@ var setFontFamily = (val, key) => {
1508
1657
  const { FONT_FAMILY: FONT_FAMILY2, FONT_FAMILY_TYPES: FONT_FAMILY_TYPES2 } = CONFIG2;
1509
1658
  let { value, type } = val;
1510
1659
  if (val.isDefault) FONT_FAMILY2.default = key;
1511
- if (isObject(value)) value = (0, import_utils13.arrayzeValue)(value);
1660
+ if (isObject(value)) value = (0, import_utils12.arrayzeValue)(value);
1512
1661
  const CSSvar = `--font-family-${key}`;
1513
1662
  const str = `${value.join(", ")}, ${FONT_FAMILY_TYPES2[type]}`;
1514
1663
  return { var: CSSvar, value: str, arr: value, type };
@@ -1562,6 +1711,7 @@ var runThroughMedia = (FACTORY2) => {
1562
1711
  }
1563
1712
  };
1564
1713
  var applyHeadings = (props) => {
1714
+ var _a;
1565
1715
  const CONFIG2 = getActiveConfig();
1566
1716
  if (props.h1Matches) {
1567
1717
  const unit = props.unit;
@@ -1570,8 +1720,9 @@ var applyHeadings = (props) => {
1570
1720
  for (const k in HEADINGS) {
1571
1721
  const headerName = `h${parseInt(k) + 1}`;
1572
1722
  const headerStyle = templates[headerName];
1723
+ if (!HEADINGS[k]) continue;
1573
1724
  templates[headerName] = {
1574
- fontSize: CONFIG2.useVariable ? `var(${HEADINGS[k].variable})` : `${HEADINGS[k].scaling}${unit}`,
1725
+ fontSize: CONFIG2.useVariable ? `var(${(_a = HEADINGS[k]) == null ? void 0 : _a.variable})` : `${HEADINGS[k].scaling}${unit}`,
1575
1726
  margin: headerStyle ? headerStyle.margin : 0,
1576
1727
  lineHeight: headerStyle ? headerStyle.lineHeight : props.lineHeight,
1577
1728
  letterSpacing: headerStyle ? headerStyle.letterSpacing : props.letterSpacing,
@@ -1590,7 +1741,7 @@ var applyTypographySequence = () => {
1590
1741
  };
1591
1742
 
1592
1743
  // src/system/spacing.js
1593
- var import_utils17 = __toESM(require_cjs(), 1);
1744
+ var import_utils16 = __toESM(require_cjs(), 1);
1594
1745
  var runThroughMedia2 = (FACTORY2) => {
1595
1746
  for (const prop in FACTORY2) {
1596
1747
  const mediaProps = FACTORY2[prop];
@@ -1641,7 +1792,7 @@ var getSpacingByKey = (value, propertyName = "padding", sequenceProps) => {
1641
1792
  if (isString(value) && (value.includes("calc") || value.includes("var"))) {
1642
1793
  return { [propertyName]: value };
1643
1794
  }
1644
- const stack = (0, import_utils17.arrayzeValue)(value);
1795
+ const stack = (0, import_utils16.arrayzeValue)(value);
1645
1796
  if (!isArray(stack)) return;
1646
1797
  if (stack.length > 1) {
1647
1798
  let suffix = "";
@@ -1710,7 +1861,7 @@ var setShadow = (value, key, suffix, prefers) => {
1710
1861
  };
1711
1862
 
1712
1863
  // src/system/timing.js
1713
- var import_utils21 = __toESM(require_cjs(), 1);
1864
+ var import_utils20 = __toESM(require_cjs(), 1);
1714
1865
  var applyTimingSequence = () => {
1715
1866
  const CONFIG2 = getActiveConfig();
1716
1867
  const { TIMING: TIMING2 } = CONFIG2;
@@ -1858,7 +2009,13 @@ var setEach = (factoryName, props) => {
1858
2009
  const CONFIG2 = getActiveConfig();
1859
2010
  const FACTORY_NAME = factoryName.toUpperCase();
1860
2011
  const keys = Object.keys(props);
1861
- keys.map((key) => setValue(FACTORY_NAME, props[key], key));
2012
+ keys.forEach((key) => {
2013
+ try {
2014
+ return setValue(FACTORY_NAME, props[key], key);
2015
+ } catch (error) {
2016
+ if (CONFIG2.verbose) console.warn("Error setting", FACTORY_NAME, "value", props[key], key, error);
2017
+ }
2018
+ });
1862
2019
  return CONFIG2[FACTORY_NAME];
1863
2020
  };
1864
2021
  var SET_OPTIONS = {};
@@ -1895,10 +2052,29 @@ var set = (recivedConfig, options = SET_OPTIONS) => {
1895
2052
  if (!CONFIG2.__svg_cache) CONFIG2.__svg_cache = {};
1896
2053
  const keys = Object.keys(config);
1897
2054
  keys.map((key) => setEach(key, config[key]));
1898
- if (config.TYPOGRAPHY) applyTypographySequence();
1899
- if (config.SPACING) applySpacingSequence();
1900
- if (config.TIMING) applyTimingSequence();
2055
+ if (config.TYPOGRAPHY) {
2056
+ try {
2057
+ applyTypographySequence();
2058
+ } catch (e) {
2059
+ if (CONFIG2.verbose) console.warn("Error applying typography sequence", e);
2060
+ }
2061
+ }
2062
+ if (config.SPACING) {
2063
+ try {
2064
+ applySpacingSequence();
2065
+ } catch (e) {
2066
+ if (CONFIG2.verbose) console.warn("Error applying typography sequence", e);
2067
+ }
2068
+ }
2069
+ if (config.TIMING) {
2070
+ try {
2071
+ applyTimingSequence();
2072
+ } catch (e) {
2073
+ if (CONFIG2.verbose) console.warn("Error applying typography sequence", e);
2074
+ }
2075
+ }
1901
2076
  applyDocument();
1902
2077
  applyReset();
1903
2078
  return CONFIG2;
1904
2079
  };
2080
+ // @preserve-env
@@ -83,7 +83,7 @@ var require_cjs = __commonJS({
83
83
  var isString2 = (arg) => typeof arg === "string";
84
84
  var isNumber2 = (arg) => typeof arg === "number";
85
85
  var isArray2 = (arg) => Array.isArray(arg);
86
- var STATE_METHODS2 = [
86
+ var STATE_METHODS3 = [
87
87
  "update",
88
88
  "parse",
89
89
  "clean",
@@ -117,8 +117,8 @@ var require_cjs = __commonJS({
117
117
  "removePathCollection",
118
118
  "getByPath"
119
119
  ];
120
- var PROPS_METHODS2 = ["update", "__element"];
121
- var METHODS2 = [
120
+ var PROPS_METHODS3 = ["update", "__element"];
121
+ var METHODS3 = [
122
122
  "set",
123
123
  "reset",
124
124
  "update",
@@ -146,13 +146,84 @@ var require_cjs = __commonJS({
146
146
  "nextElement",
147
147
  "previousElement"
148
148
  ];
149
- var METHODS_EXL2 = [
149
+ var METHODS_EXL3 = [
150
150
  ...["node", "context", "extends", "__element", "__ref"],
151
- ...METHODS2,
152
- ...STATE_METHODS2,
153
- ...PROPS_METHODS2
151
+ ...METHODS3,
152
+ ...STATE_METHODS3,
153
+ ...PROPS_METHODS3
154
154
  ];
155
155
  var isMobile2 = (() => typeof navigator === "undefined" ? false : /Mobi/.test(navigator.userAgent))();
156
+ var STATE_METHODS22 = [
157
+ "update",
158
+ "parse",
159
+ "clean",
160
+ "create",
161
+ "destroy",
162
+ "add",
163
+ "toggle",
164
+ "remove",
165
+ "apply",
166
+ "set",
167
+ "reset",
168
+ "replace",
169
+ "quietReplace",
170
+ "quietUpdate",
171
+ "applyReplace",
172
+ "applyFunction",
173
+ "keys",
174
+ "values",
175
+ "ref",
176
+ "rootUpdate",
177
+ "parentUpdate",
178
+ "parent",
179
+ "__element",
180
+ "__depends",
181
+ "__ref",
182
+ "__children",
183
+ "root",
184
+ "setByPath",
185
+ "setPathCollection",
186
+ "removeByPath",
187
+ "removePathCollection",
188
+ "getByPath"
189
+ ];
190
+ var PROPS_METHODS22 = ["update", "__element"];
191
+ var METHODS22 = [
192
+ "set",
193
+ "reset",
194
+ "update",
195
+ "remove",
196
+ "updateContent",
197
+ "removeContent",
198
+ "lookup",
199
+ "lookdown",
200
+ "lookdownAll",
201
+ "getRef",
202
+ "getPath",
203
+ "setNodeStyles",
204
+ "spotByPath",
205
+ "keys",
206
+ "parse",
207
+ "setProps",
208
+ "parseDeep",
209
+ "variables",
210
+ "if",
211
+ "log",
212
+ "verbose",
213
+ "warn",
214
+ "error",
215
+ "call",
216
+ "nextElement",
217
+ "previousElement"
218
+ ];
219
+ var METHODS_EXL22 = [
220
+ ...["node", "context", "extends", "__element", "__ref"],
221
+ ...METHODS22,
222
+ ...STATE_METHODS22,
223
+ ...PROPS_METHODS22
224
+ ];
225
+ var window32 = globalThis;
226
+ var document32 = window32.document;
156
227
  async function toggleFullscreen(opts) {
157
228
  if (!document.fullscreenElement) {
158
229
  try {
@@ -333,16 +404,16 @@ __export(color_exports, {
333
404
  });
334
405
  module.exports = __toCommonJS(color_exports);
335
406
 
336
- // ../../node_modules/@domql/utils/globals.js
407
+ // ../../../domql/packages/utils/globals.js
337
408
  var window2 = globalThis;
338
409
  var document2 = window2.document;
339
410
 
340
- // ../../node_modules/@domql/utils/node.js
411
+ // ../../../domql/packages/utils/node.js
341
412
  var isDOMNode = (obj) => {
342
413
  return typeof window2 !== "undefined" && (obj instanceof window2.Node || obj instanceof window2.Window || obj === window2 || obj === document);
343
414
  };
344
415
 
345
- // ../../node_modules/@domql/utils/types.js
416
+ // ../../../domql/packages/utils/types.js
346
417
  var isObject = (arg) => {
347
418
  if (arg === null) return false;
348
419
  return typeof arg === "object" && arg.constructor === Object;
@@ -360,7 +431,7 @@ var isUndefined = (arg) => {
360
431
  return arg === void 0;
361
432
  };
362
433
 
363
- // ../../node_modules/@domql/utils/array.js
434
+ // ../../../domql/packages/utils/array.js
364
435
  var unstackArrayOfObjects = (arr, exclude = []) => {
365
436
  return arr.reduce(
366
437
  (a, c) => deepMerge(a, deepClone(c, { exclude }), exclude),
@@ -368,7 +439,7 @@ var unstackArrayOfObjects = (arr, exclude = []) => {
368
439
  );
369
440
  };
370
441
 
371
- // ../../node_modules/@domql/utils/keys.js
442
+ // ../../../domql/packages/utils/keys.js
372
443
  var STATE_METHODS = [
373
444
  "update",
374
445
  "parse",
@@ -439,7 +510,7 @@ var METHODS_EXL = [
439
510
  ...PROPS_METHODS
440
511
  ];
441
512
 
442
- // ../../node_modules/@domql/utils/object.js
513
+ // ../../../domql/packages/utils/object.js
443
514
  var deepMerge = (element, extend, excludeFrom = METHODS_EXL) => {
444
515
  for (const e in extend) {
445
516
  const hasOwnProperty = Object.prototype.hasOwnProperty.call(extend, e);
@@ -506,9 +577,84 @@ var deepClone = (obj, options = {}) => {
506
577
  return clone;
507
578
  };
508
579
 
509
- // ../../node_modules/@domql/utils/cookie.js
580
+ // ../../../domql/packages/utils/cookie.js
510
581
  var isMobile = (() => typeof navigator === "undefined" ? false : /Mobi/.test(navigator.userAgent))();
511
582
 
583
+ // ../../../domql/packages/event/dist/esm/keys.js
584
+ var STATE_METHODS2 = [
585
+ "update",
586
+ "parse",
587
+ "clean",
588
+ "create",
589
+ "destroy",
590
+ "add",
591
+ "toggle",
592
+ "remove",
593
+ "apply",
594
+ "set",
595
+ "reset",
596
+ "replace",
597
+ "quietReplace",
598
+ "quietUpdate",
599
+ "applyReplace",
600
+ "applyFunction",
601
+ "keys",
602
+ "values",
603
+ "ref",
604
+ "rootUpdate",
605
+ "parentUpdate",
606
+ "parent",
607
+ "__element",
608
+ "__depends",
609
+ "__ref",
610
+ "__children",
611
+ "root",
612
+ "setByPath",
613
+ "setPathCollection",
614
+ "removeByPath",
615
+ "removePathCollection",
616
+ "getByPath"
617
+ ];
618
+ var PROPS_METHODS2 = ["update", "__element"];
619
+ var METHODS2 = [
620
+ "set",
621
+ "reset",
622
+ "update",
623
+ "remove",
624
+ "updateContent",
625
+ "removeContent",
626
+ "lookup",
627
+ "lookdown",
628
+ "lookdownAll",
629
+ "getRef",
630
+ "getPath",
631
+ "setNodeStyles",
632
+ "spotByPath",
633
+ "keys",
634
+ "parse",
635
+ "setProps",
636
+ "parseDeep",
637
+ "variables",
638
+ "if",
639
+ "log",
640
+ "verbose",
641
+ "warn",
642
+ "error",
643
+ "call",
644
+ "nextElement",
645
+ "previousElement"
646
+ ];
647
+ var METHODS_EXL2 = [
648
+ ...["node", "context", "extends", "__element", "__ref"],
649
+ ...METHODS2,
650
+ ...STATE_METHODS2,
651
+ ...PROPS_METHODS2
652
+ ];
653
+
654
+ // ../../../domql/packages/event/dist/esm/globals.js
655
+ var window3 = globalThis;
656
+ var document3 = window3.document;
657
+
512
658
  // src/defaultConfig/index.js
513
659
  var defaultConfig_exports = {};
514
660
  __export(defaultConfig_exports, {
@@ -819,7 +965,7 @@ var getRgbTone = (rgb, tone) => {
819
965
  };
820
966
 
821
967
  // src/utils/sequence.js
822
- var import_utils6 = __toESM(require_cjs(), 1);
968
+ var import_utils5 = __toESM(require_cjs(), 1);
823
969
 
824
970
  // src/system/color.js
825
971
  var getColor = (value, key, config) => {
@@ -947,3 +1093,4 @@ var setGradient = (val, key, suffix) => {
947
1093
  value: val.value || val
948
1094
  };
949
1095
  };
1096
+ // @preserve-env