@symbo.ls/create 2.11.208 → 2.11.209

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.
@@ -206,51 +206,51 @@ var require_types = __commonJS({
206
206
  __export2(types_exports, {
207
207
  TYPES: () => TYPES,
208
208
  is: () => is,
209
- isArray: () => isArray8,
209
+ isArray: () => isArray6,
210
210
  isBoolean: () => isBoolean,
211
211
  isDefined: () => isDefined,
212
212
  isFunction: () => isFunction4,
213
- isNot: () => isNot3,
213
+ isNot: () => isNot2,
214
214
  isNull: () => isNull,
215
215
  isNumber: () => isNumber,
216
- isObject: () => isObject14,
217
- isObjectLike: () => isObjectLike4,
218
- isString: () => isString10,
216
+ isObject: () => isObject12,
217
+ isObjectLike: () => isObjectLike3,
218
+ isString: () => isString8,
219
219
  isUndefined: () => isUndefined3
220
220
  });
221
221
  module2.exports = __toCommonJS2(types_exports);
222
222
  var import_node = require_node();
223
- var isObject14 = (arg) => {
223
+ var isObject12 = (arg) => {
224
224
  if (arg === null)
225
225
  return false;
226
226
  return typeof arg === "object" && arg.constructor === Object;
227
227
  };
228
- var isString10 = (arg) => typeof arg === "string";
228
+ var isString8 = (arg) => typeof arg === "string";
229
229
  var isNumber = (arg) => typeof arg === "number";
230
230
  var isFunction4 = (arg) => typeof arg === "function";
231
231
  var isBoolean = (arg) => arg === true || arg === false;
232
232
  var isNull = (arg) => arg === null;
233
- var isArray8 = (arg) => Array.isArray(arg);
234
- var isObjectLike4 = (arg) => {
233
+ var isArray6 = (arg) => Array.isArray(arg);
234
+ var isObjectLike3 = (arg) => {
235
235
  if (arg === null)
236
236
  return false;
237
237
  return typeof arg === "object";
238
238
  };
239
239
  var isDefined = (arg) => {
240
- return isObject14(arg) || isObjectLike4(arg) || isString10(arg) || isNumber(arg) || isFunction4(arg) || isArray8(arg) || isObjectLike4(arg) || isBoolean(arg) || isNull(arg);
240
+ return isObject12(arg) || isObjectLike3(arg) || isString8(arg) || isNumber(arg) || isFunction4(arg) || isArray6(arg) || isObjectLike3(arg) || isBoolean(arg) || isNull(arg);
241
241
  };
242
242
  var isUndefined3 = (arg) => {
243
243
  return arg === void 0;
244
244
  };
245
245
  var TYPES = {
246
246
  boolean: isBoolean,
247
- array: isArray8,
248
- object: isObject14,
249
- string: isString10,
247
+ array: isArray6,
248
+ object: isObject12,
249
+ string: isString8,
250
250
  number: isNumber,
251
251
  null: isNull,
252
252
  function: isFunction4,
253
- objectLike: isObjectLike4,
253
+ objectLike: isObjectLike3,
254
254
  node: import_node.isNode,
255
255
  htmlElement: import_node.isHtmlElement,
256
256
  defined: isDefined
@@ -260,7 +260,7 @@ var require_types = __commonJS({
260
260
  return args.map((val) => TYPES[val](arg)).filter((v) => v).length > 0;
261
261
  };
262
262
  };
263
- var isNot3 = (arg) => {
263
+ var isNot2 = (arg) => {
264
264
  return (...args) => {
265
265
  return args.map((val) => TYPES[val](arg)).filter((v) => v).length === 0;
266
266
  };
@@ -451,26 +451,26 @@ var require_object = __commonJS({
451
451
  var object_exports = {};
452
452
  __export2(object_exports, {
453
453
  clone: () => clone,
454
- deepClone: () => deepClone5,
454
+ deepClone: () => deepClone4,
455
455
  deepCloneExclude: () => deepCloneExclude,
456
456
  deepDestringify: () => deepDestringify,
457
457
  deepMerge: () => deepMerge4,
458
458
  deepStringify: () => deepStringify,
459
459
  detachFunctionsFromObject: () => detachFunctionsFromObject,
460
- diff: () => diff3,
460
+ diff: () => diff2,
461
461
  diffArrays: () => diffArrays,
462
462
  diffObjects: () => diffObjects,
463
- exec: () => exec5,
463
+ exec: () => exec4,
464
464
  flattenRecursive: () => flattenRecursive,
465
465
  isEqualDeep: () => isEqualDeep2,
466
466
  map: () => map2,
467
- merge: () => merge5,
467
+ merge: () => merge4,
468
468
  mergeArrayExclude: () => mergeArrayExclude,
469
469
  mergeIfExisted: () => mergeIfExisted,
470
470
  objectToString: () => objectToString,
471
471
  overwrite: () => overwrite,
472
472
  overwriteDeep: () => overwriteDeep,
473
- overwriteShallow: () => overwriteShallow3,
473
+ overwriteShallow: () => overwriteShallow2,
474
474
  removeFromObject: () => removeFromObject,
475
475
  stringToObject: () => stringToObject
476
476
  });
@@ -479,7 +479,7 @@ var require_object = __commonJS({
479
479
  var import_types = require_types();
480
480
  var import_array = require_array();
481
481
  var import_string = require_string();
482
- var exec5 = (param, element, state, context) => {
482
+ var exec4 = (param, element, state, context) => {
483
483
  if ((0, import_types.isFunction)(param)) {
484
484
  return param(
485
485
  element,
@@ -491,10 +491,10 @@ var require_object = __commonJS({
491
491
  };
492
492
  var map2 = (obj, extention, element) => {
493
493
  for (const e in extention) {
494
- obj[e] = exec5(extention[e], element);
494
+ obj[e] = exec4(extention[e], element);
495
495
  }
496
496
  };
497
- var merge5 = (element, obj, excludeFrom = []) => {
497
+ var merge4 = (element, obj, excludeFrom = []) => {
498
498
  for (const e in obj) {
499
499
  const hasOwnProperty = Object.prototype.hasOwnProperty.call(obj, e);
500
500
  if (!hasOwnProperty || excludeFrom.includes(e) || e.startsWith("__"))
@@ -557,7 +557,7 @@ var require_object = __commonJS({
557
557
  var mergeArrayExclude = (arr, excl = []) => {
558
558
  return arr.reduce((acc, curr) => deepMerge4(acc, deepCloneExclude(curr, excl)), {});
559
559
  };
560
- var deepClone5 = (obj, excludeFrom = []) => {
560
+ var deepClone4 = (obj, excludeFrom = []) => {
561
561
  const o = (0, import_types.isArray)(obj) ? [] : {};
562
562
  for (const prop in obj) {
563
563
  if (prop === "__proto__")
@@ -569,7 +569,7 @@ var require_object = __commonJS({
569
569
  objProp = (0, import_array.mergeArray)(objProp);
570
570
  }
571
571
  if ((0, import_types.isObjectLike)(objProp)) {
572
- o[prop] = deepClone5(objProp, excludeFrom);
572
+ o[prop] = deepClone4(objProp, excludeFrom);
573
573
  } else
574
574
  o[prop] = objProp;
575
575
  }
@@ -726,7 +726,7 @@ var require_object = __commonJS({
726
726
  const objToDiffProp = objToDiff[e];
727
727
  if ((0, import_types.isObject)(originalProp) && (0, import_types.isObject)(objToDiffProp)) {
728
728
  cache2[e] = {};
729
- diff3(originalProp, objToDiffProp, cache2[e]);
729
+ diff2(originalProp, objToDiffProp, cache2[e]);
730
730
  } else if (objToDiffProp !== void 0) {
731
731
  cache2[e] = objToDiffProp;
732
732
  }
@@ -739,7 +739,7 @@ var require_object = __commonJS({
739
739
  } else {
740
740
  const diffArr = [];
741
741
  for (let i2 = 0; i2 < original.length; i2++) {
742
- const diffObj = diff3(original[i2], objToDiff[i2]);
742
+ const diffObj = diff2(original[i2], objToDiff[i2]);
743
743
  if (Object.keys(diffObj).length > 0) {
744
744
  diffArr.push(diffObj);
745
745
  }
@@ -750,7 +750,7 @@ var require_object = __commonJS({
750
750
  }
751
751
  return cache2;
752
752
  };
753
- var diff3 = (original, objToDiff, cache2 = {}) => {
753
+ var diff2 = (original, objToDiff, cache2 = {}) => {
754
754
  if ((0, import_types.isArray)(original) && (0, import_types.isArray)(objToDiff)) {
755
755
  cache2 = [];
756
756
  diffArrays(original, objToDiff, cache2);
@@ -774,7 +774,7 @@ var require_object = __commonJS({
774
774
  }
775
775
  return changes;
776
776
  };
777
- var overwriteShallow3 = (obj, params, excludeFrom = []) => {
777
+ var overwriteShallow2 = (obj, params, excludeFrom = []) => {
778
778
  for (const e in params) {
779
779
  if (excludeFrom.includes(e) || e.startsWith("__"))
780
780
  continue;
@@ -1331,11 +1331,11 @@ var require_tree = __commonJS({
1331
1331
  TREE: () => TREE
1332
1332
  });
1333
1333
  module2.exports = __toCommonJS2(tree_exports);
1334
- var import_utils25 = require_cjs();
1334
+ var import_utils21 = require_cjs();
1335
1335
  var import_report = require_cjs2();
1336
1336
  var ROOT = {
1337
1337
  key: ":root",
1338
- node: import_utils25.document ? import_utils25.document.body : (0, import_report.report)("DocumentNotDefined", import_utils25.document)
1338
+ node: import_utils21.document ? import_utils21.document.body : (0, import_report.report)("DocumentNotDefined", import_utils21.document)
1339
1339
  };
1340
1340
  var TREE = ROOT;
1341
1341
  }
@@ -1371,12 +1371,12 @@ var require_on = __commonJS({
1371
1371
  triggerEventOnUpdate: () => triggerEventOnUpdate
1372
1372
  });
1373
1373
  module2.exports = __toCommonJS2(on_exports);
1374
- var import_utils25 = require_cjs();
1374
+ var import_utils21 = require_cjs();
1375
1375
  var applyEvent = (param, element, state, context, options) => {
1376
1376
  return param(element, state || element.state, context || element.context, options);
1377
1377
  };
1378
1378
  var triggerEventOn = (param, element, options) => {
1379
- if (element.on && (0, import_utils25.isFunction)(element.on[param])) {
1379
+ if (element.on && (0, import_utils21.isFunction)(element.on[param])) {
1380
1380
  const { state, context } = element;
1381
1381
  return applyEvent(element.on[param], element, state, context, options);
1382
1382
  }
@@ -1385,7 +1385,7 @@ var require_on = __commonJS({
1385
1385
  return param(updatedObj, element, state || element.state, context || element.context, options);
1386
1386
  };
1387
1387
  var triggerEventOnUpdate = (param, updatedObj, element, options) => {
1388
- if (element.on && (0, import_utils25.isFunction)(element.on[param])) {
1388
+ if (element.on && (0, import_utils21.isFunction)(element.on[param])) {
1389
1389
  const { state, context } = element;
1390
1390
  return applyEventUpdate(element.on[param], updatedObj, element, state, context, options);
1391
1391
  }
@@ -1396,7 +1396,7 @@ var require_on = __commonJS({
1396
1396
  if (param === "init" || param === "beforeClassAssign" || param === "render" || param === "renderRouter" || param === "attachNode" || param === "stateInit" || param === "stateCreated" || param === "initStateUpdated" || param === "stateUpdated" || param === "initUpdate" || param === "update")
1397
1397
  continue;
1398
1398
  const appliedFunction = element.on[param];
1399
- if ((0, import_utils25.isFunction)(appliedFunction)) {
1399
+ if ((0, import_utils21.isFunction)(appliedFunction)) {
1400
1400
  const { state, context } = element;
1401
1401
  node2.addEventListener(param, (event) => appliedFunction(event, element, state, context));
1402
1402
  }
@@ -1432,10 +1432,10 @@ var require_can = __commonJS({
1432
1432
  });
1433
1433
  module2.exports = __toCommonJS2(can_exports);
1434
1434
  var import_report = require_cjs2();
1435
- var import_utils25 = require_cjs();
1435
+ var import_utils21 = require_cjs();
1436
1436
  var canRender = (element) => {
1437
1437
  const tag = element.tag || "div";
1438
- return (0, import_utils25.isValidHtmlTag)(tag) || (0, import_report.report)("HTMLInvalidTag");
1438
+ return (0, import_utils21.isValidHtmlTag)(tag) || (0, import_report.report)("HTMLInvalidTag");
1439
1439
  };
1440
1440
  }
1441
1441
  });
@@ -1526,7 +1526,7 @@ var require_cache = __commonJS({
1526
1526
  module2.exports = __toCommonJS2(cache_exports);
1527
1527
  var import_report = require_cjs2();
1528
1528
  var import_event = require_cjs3();
1529
- var import_utils25 = require_cjs();
1529
+ var import_utils21 = require_cjs();
1530
1530
  var cache2 = {};
1531
1531
  var createHTMLNode = (element) => {
1532
1532
  const { tag } = element;
@@ -1545,15 +1545,15 @@ var require_cache = __commonJS({
1545
1545
  };
1546
1546
  var detectTag = (element) => {
1547
1547
  let { tag, key } = element;
1548
- tag = (0, import_utils25.exec)(tag, element);
1548
+ tag = (0, import_utils21.exec)(tag, element);
1549
1549
  if (tag === true)
1550
1550
  tag = key;
1551
- if ((0, import_utils25.isString)(tag)) {
1552
- const tagExists = (0, import_utils25.isValidHtmlTag)(tag);
1551
+ if ((0, import_utils21.isString)(tag)) {
1552
+ const tagExists = (0, import_utils21.isValidHtmlTag)(tag);
1553
1553
  if (tagExists)
1554
1554
  return tag;
1555
1555
  } else {
1556
- const isKeyATag = (0, import_utils25.isValidHtmlTag)(key);
1556
+ const isKeyATag = (0, import_utils21.isValidHtmlTag)(key);
1557
1557
  if (isKeyATag)
1558
1558
  return key;
1559
1559
  }
@@ -1672,16 +1672,16 @@ var require_attr = __commonJS({
1672
1672
  default: () => attr_default
1673
1673
  });
1674
1674
  module2.exports = __toCommonJS2(attr_exports);
1675
- var import_utils25 = require_cjs();
1675
+ var import_utils21 = require_cjs();
1676
1676
  var import_report = require_cjs2();
1677
1677
  var attr_default = (params, element, node2) => {
1678
1678
  const { __ref } = element;
1679
1679
  const { __attr } = __ref;
1680
- if ((0, import_utils25.isNot)("object"))
1680
+ if ((0, import_utils21.isNot)("object"))
1681
1681
  (0, import_report.report)("HTMLInvalidAttr", params);
1682
1682
  if (params) {
1683
1683
  for (const attr in params) {
1684
- const val = (0, import_utils25.exec)(params[attr], element);
1684
+ const val = (0, import_utils21.exec)(params[attr], element);
1685
1685
  if (val && node2.setAttribute)
1686
1686
  node2.setAttribute(attr, val);
1687
1687
  else if (node2.removeAttribute)
@@ -1724,7 +1724,7 @@ var require_classList = __commonJS({
1724
1724
  default: () => classList_default
1725
1725
  });
1726
1726
  module2.exports = __toCommonJS2(classList_exports);
1727
- var import_utils25 = require_cjs();
1727
+ var import_utils21 = require_cjs();
1728
1728
  var assignKeyAsClassname = (element) => {
1729
1729
  const { key } = element;
1730
1730
  if (element.class === true)
@@ -1742,7 +1742,7 @@ var require_classList = __commonJS({
1742
1742
  else if (typeof param === "string")
1743
1743
  className += ` ${param}`;
1744
1744
  else if (typeof param === "function") {
1745
- className += ` ${(0, import_utils25.exec)(param, element)}`;
1745
+ className += ` ${(0, import_utils21.exec)(param, element)}`;
1746
1746
  }
1747
1747
  }
1748
1748
  return className;
@@ -1753,9 +1753,9 @@ var require_classList = __commonJS({
1753
1753
  const { key } = element;
1754
1754
  if (params === true)
1755
1755
  params = element.class = { key };
1756
- if ((0, import_utils25.isString)(params))
1756
+ if ((0, import_utils21.isString)(params))
1757
1757
  params = element.class = { default: params };
1758
- if ((0, import_utils25.isObject)(params))
1758
+ if ((0, import_utils21.isObject)(params))
1759
1759
  params = classify2(params, element);
1760
1760
  const className = params.replace(/\s+/g, " ").trim();
1761
1761
  if (element.ref)
@@ -1839,7 +1839,7 @@ var require_set = __commonJS({
1839
1839
  default: () => set_default
1840
1840
  });
1841
1841
  module2.exports = __toCommonJS2(set_exports);
1842
- var import_utils25 = require_cjs();
1842
+ var import_utils21 = require_cjs();
1843
1843
  var import_create = __toESM2(require_create4(), 1);
1844
1844
  var import_options3 = __toESM2(require_options(), 1);
1845
1845
  var import_mixins = require_mixins();
@@ -1847,7 +1847,7 @@ var require_set = __commonJS({
1847
1847
  var set5 = function(params, options = {}, el) {
1848
1848
  const element = el || this;
1849
1849
  const __contentRef = element.content && element.content.__ref;
1850
- if (__contentRef && __contentRef.__cached && (0, import_utils25.isEqualDeep)(params, element.content)) {
1850
+ if (__contentRef && __contentRef.__cached && (0, import_utils21.isEqualDeep)(params, element.content)) {
1851
1851
  return element;
1852
1852
  }
1853
1853
  (0, import_content.removeContent)(element);
@@ -1907,7 +1907,7 @@ var require_content = __commonJS({
1907
1907
  updateContent: () => updateContent
1908
1908
  });
1909
1909
  module2.exports = __toCommonJS2(content_exports);
1910
- var import_utils25 = require_cjs();
1910
+ var import_utils21 = require_cjs();
1911
1911
  var import_set = __toESM2(require_set(), 1);
1912
1912
  var updateContent = function(params, options) {
1913
1913
  const element = this;
@@ -1930,7 +1930,7 @@ var require_content = __commonJS({
1930
1930
  if (__cached && __cached.content) {
1931
1931
  if (__cached.content.tag === "fragment")
1932
1932
  __cached.content.parent.node.innerHTML = "";
1933
- else if (__cached.content && (0, import_utils25.isFunction)(__cached.content.remove))
1933
+ else if (__cached.content && (0, import_utils21.isFunction)(__cached.content.remove))
1934
1934
  __cached.content.remove();
1935
1935
  }
1936
1936
  delete element.content;
@@ -1975,15 +1975,15 @@ var require_data = __commonJS({
1975
1975
  default: () => data_default
1976
1976
  });
1977
1977
  module2.exports = __toCommonJS2(data_exports);
1978
- var import_utils25 = require_cjs();
1978
+ var import_utils21 = require_cjs();
1979
1979
  var import_report = require_cjs2();
1980
1980
  var data_default = (params, element, node2) => {
1981
1981
  if (params && params.showOnNode) {
1982
- if (!(0, import_utils25.isObject)(params))
1982
+ if (!(0, import_utils21.isObject)(params))
1983
1983
  (0, import_report.report)("HTMLInvalidData", params);
1984
1984
  for (const dataset in params) {
1985
1985
  if (dataset !== "showOnNode") {
1986
- node2.dataset[dataset] = (0, import_utils25.exec)(params[dataset], element);
1986
+ node2.dataset[dataset] = (0, import_utils21.exec)(params[dataset], element);
1987
1987
  }
1988
1988
  }
1989
1989
  }
@@ -2017,9 +2017,9 @@ var require_html = __commonJS({
2017
2017
  default: () => html_default
2018
2018
  });
2019
2019
  module2.exports = __toCommonJS2(html_exports);
2020
- var import_utils25 = require_cjs();
2020
+ var import_utils21 = require_cjs();
2021
2021
  var html_default = (param, element, node2) => {
2022
- const prop = (0, import_utils25.exec)(param, element);
2022
+ const prop = (0, import_utils21.exec)(param, element);
2023
2023
  const { __ref } = element;
2024
2024
  if (prop !== __ref.__html) {
2025
2025
  if (node2.nodeName === "SVG")
@@ -2058,12 +2058,12 @@ var require_style = __commonJS({
2058
2058
  default: () => style_default2
2059
2059
  });
2060
2060
  module2.exports = __toCommonJS2(style_exports);
2061
- var import_utils25 = require_cjs();
2061
+ var import_utils21 = require_cjs();
2062
2062
  var import_report = require_cjs2();
2063
2063
  var style_default2 = (params, element, node2) => {
2064
2064
  if (params) {
2065
- if ((0, import_utils25.isObject)(params))
2066
- (0, import_utils25.map)(node2.style, params, element);
2065
+ if ((0, import_utils21.isObject)(params))
2066
+ (0, import_utils21.map)(node2.style, params, element);
2067
2067
  else
2068
2068
  (0, import_report.report)("HTMLInvalidStyles", params);
2069
2069
  }
@@ -2099,9 +2099,9 @@ var require_text = __commonJS({
2099
2099
  });
2100
2100
  module2.exports = __toCommonJS2(text_exports);
2101
2101
  var import__ = require_cjs7();
2102
- var import_utils25 = require_cjs();
2102
+ var import_utils21 = require_cjs();
2103
2103
  var asd = (param, element, node2) => {
2104
- const prop = (0, import_utils25.exec)(param, element);
2104
+ const prop = (0, import_utils21.exec)(param, element);
2105
2105
  if (element.tag === "string") {
2106
2106
  node2.nodeValue = prop;
2107
2107
  } else if (param !== void 0 || param !== null) {
@@ -2115,9 +2115,9 @@ var require_text = __commonJS({
2115
2115
  }
2116
2116
  };
2117
2117
  var text_default = (param, element, node2) => {
2118
- let prop = (0, import_utils25.exec)(param, element);
2119
- if ((0, import_utils25.isString)(prop) && prop.includes("{{")) {
2120
- prop = (0, import_utils25.replaceLiteralsWithObjectFields)(prop, element.state);
2118
+ let prop = (0, import_utils21.exec)(param, element);
2119
+ if ((0, import_utils21.isString)(prop) && prop.includes("{{")) {
2120
+ prop = (0, import_utils21.replaceLiteralsWithObjectFields)(prop, element.state);
2121
2121
  }
2122
2122
  if (element.tag === "string") {
2123
2123
  if (element.text === prop)
@@ -2221,11 +2221,11 @@ var require_methods = __commonJS({
2221
2221
  toggle: () => toggle
2222
2222
  });
2223
2223
  module2.exports = __toCommonJS2(methods_exports);
2224
- var import_utils25 = require_cjs();
2224
+ var import_utils21 = require_cjs();
2225
2225
  var import_ignore = require_ignore();
2226
2226
  var parse3 = function() {
2227
2227
  const state = this;
2228
- if ((0, import_utils25.isObject)(state)) {
2228
+ if ((0, import_utils21.isObject)(state)) {
2229
2229
  const obj = {};
2230
2230
  for (const param in state) {
2231
2231
  if (!import_ignore.IGNORE_STATE_PARAMS.includes(param)) {
@@ -2233,7 +2233,7 @@ var require_methods = __commonJS({
2233
2233
  }
2234
2234
  }
2235
2235
  return obj;
2236
- } else if ((0, import_utils25.isArray)(state)) {
2236
+ } else if ((0, import_utils21.isArray)(state)) {
2237
2237
  return state.filter((item) => !import_ignore.IGNORE_STATE_PARAMS.includes(item));
2238
2238
  }
2239
2239
  };
@@ -2253,7 +2253,7 @@ var require_methods = __commonJS({
2253
2253
  const state = this;
2254
2254
  const element = state.__element;
2255
2255
  const stateKey = element.__ref.__state;
2256
- if ((0, import_utils25.isString)(stateKey)) {
2256
+ if ((0, import_utils21.isString)(stateKey)) {
2257
2257
  element.parent.state.remove(stateKey, { isHoisted: true, ...options });
2258
2258
  return element.state;
2259
2259
  }
@@ -2288,10 +2288,10 @@ var require_methods = __commonJS({
2288
2288
  };
2289
2289
  var add = function(value2, options = {}) {
2290
2290
  const state = this;
2291
- if ((0, import_utils25.isArray)(state)) {
2291
+ if ((0, import_utils21.isArray)(state)) {
2292
2292
  state.push(value2);
2293
2293
  state.update(state.parse(), { overwrite: "replace", ...options });
2294
- } else if ((0, import_utils25.isObject)(state)) {
2294
+ } else if ((0, import_utils21.isObject)(state)) {
2295
2295
  const key = Object.keys(state).length;
2296
2296
  state.update({ [key]: value2 }, options);
2297
2297
  }
@@ -2302,10 +2302,10 @@ var require_methods = __commonJS({
2302
2302
  };
2303
2303
  var remove = function(key, options = {}) {
2304
2304
  const state = this;
2305
- if ((0, import_utils25.isArray)(state))
2306
- (0, import_utils25.removeFromArray)(state, key);
2307
- if ((0, import_utils25.isObject)(state))
2308
- (0, import_utils25.removeFromObject)(state, key);
2305
+ if ((0, import_utils21.isArray)(state))
2306
+ (0, import_utils21.removeFromArray)(state, key);
2307
+ if ((0, import_utils21.isObject)(state))
2308
+ (0, import_utils21.removeFromObject)(state, key);
2309
2309
  return state.update(state.parse(), { replace: true, ...options });
2310
2310
  };
2311
2311
  var set5 = function(value2, options = {}) {
@@ -2314,7 +2314,7 @@ var require_methods = __commonJS({
2314
2314
  };
2315
2315
  var apply = function(func, options = {}) {
2316
2316
  const state = this;
2317
- if ((0, import_utils25.isFunction)(func)) {
2317
+ if ((0, import_utils21.isFunction)(func)) {
2318
2318
  func(state);
2319
2319
  return state.update(state, { replace: true, ...options });
2320
2320
  }
@@ -2349,12 +2349,12 @@ var require_inherit = __commonJS({
2349
2349
  createChangesByKey: () => createChangesByKey,
2350
2350
  createInheritedState: () => createInheritedState,
2351
2351
  findInheritedState: () => findInheritedState,
2352
- getChildStateInKey: () => getChildStateInKey3,
2352
+ getChildStateInKey: () => getChildStateInKey2,
2353
2353
  getParentStateInKey: () => getParentStateInKey,
2354
- isState: () => isState3
2354
+ isState: () => isState2
2355
2355
  });
2356
2356
  module2.exports = __toCommonJS2(inherit_exports);
2357
- var import_utils25 = require_cjs();
2357
+ var import_utils21 = require_cjs();
2358
2358
  var import_ignore = require_ignore();
2359
2359
  var getParentStateInKey = (stateKey, parentState) => {
2360
2360
  if (!stateKey.includes("../"))
@@ -2368,7 +2368,7 @@ var require_inherit = __commonJS({
2368
2368
  }
2369
2369
  return parentState;
2370
2370
  };
2371
- var getChildStateInKey3 = (stateKey, parentState, options = {}) => {
2371
+ var getChildStateInKey2 = (stateKey, parentState, options = {}) => {
2372
2372
  const arr = stateKey.split("/");
2373
2373
  const arrLength = arr.length - 1;
2374
2374
  for (let i2 = 0; i2 < arrLength; i2++) {
@@ -2401,16 +2401,16 @@ var require_inherit = __commonJS({
2401
2401
  }
2402
2402
  if (!parentState)
2403
2403
  return;
2404
- return getChildStateInKey3(stateKey, parentState, options);
2404
+ return getChildStateInKey2(stateKey, parentState, options);
2405
2405
  };
2406
2406
  var createInheritedState = (element, parent) => {
2407
2407
  const ref = element.__ref;
2408
2408
  const inheritedState = findInheritedState(element, parent);
2409
2409
  if (!inheritedState)
2410
2410
  return element.state;
2411
- if ((0, import_utils25.is)(inheritedState)("object", "array")) {
2412
- return (0, import_utils25.deepClone)(inheritedState, import_ignore.IGNORE_STATE_PARAMS);
2413
- } else if ((0, import_utils25.is)(inheritedState)("string", "number")) {
2411
+ if ((0, import_utils21.is)(inheritedState)("object", "array")) {
2412
+ return (0, import_utils21.deepClone)(inheritedState, import_ignore.IGNORE_STATE_PARAMS);
2413
+ } else if ((0, import_utils21.is)(inheritedState)("string", "number")) {
2414
2414
  ref.__stateType = "string";
2415
2415
  return { value: inheritedState };
2416
2416
  }
@@ -2419,12 +2419,12 @@ var require_inherit = __commonJS({
2419
2419
  var checkIfInherits = (element) => {
2420
2420
  const ref = element.__ref;
2421
2421
  const stateKey = ref.__state;
2422
- if (!stateKey || (0, import_utils25.isNot)(stateKey)("number", "string"))
2422
+ if (!stateKey || (0, import_utils21.isNot)(stateKey)("number", "string"))
2423
2423
  return false;
2424
2424
  return true;
2425
2425
  };
2426
- var isState3 = function(state) {
2427
- if (!(0, import_utils25.isObjectLike)(state))
2426
+ var isState2 = function(state) {
2427
+ if (!(0, import_utils21.isObjectLike)(state))
2428
2428
  return false;
2429
2429
  return state.update && state.parse && state.clean && state.create && state.parent && state.destroy && state.rootUpdate && state.parentUpdate && state.toggle && state.add && state.apply && state.__element && state.__children;
2430
2430
  };
@@ -2473,7 +2473,7 @@ var require_updateState = __commonJS({
2473
2473
  var import_report = require_cjs2();
2474
2474
  var import_event = require_cjs3();
2475
2475
  var import_ignore = require_ignore();
2476
- var import_utils25 = require_cjs();
2476
+ var import_utils21 = require_cjs();
2477
2477
  var import_inherit = require_inherit();
2478
2478
  var STATE_UPDATE_OPTIONS = {
2479
2479
  overwrite: true,
@@ -2487,7 +2487,7 @@ var require_updateState = __commonJS({
2487
2487
  const state = this;
2488
2488
  const element = state.__element;
2489
2489
  if (!options.updateByState)
2490
- (0, import_utils25.merge)(options, STATE_UPDATE_OPTIONS);
2490
+ (0, import_utils21.merge)(options, STATE_UPDATE_OPTIONS);
2491
2491
  if (!state.__element)
2492
2492
  (0, import_report.report)("ElementOnStateIsNotDefined");
2493
2493
  if (options.preventInheritAtCurrentState === true) {
@@ -2517,10 +2517,10 @@ var require_updateState = __commonJS({
2517
2517
  const shallow = overwrite === "shallow";
2518
2518
  const merge22 = overwrite === "merge";
2519
2519
  if (merge22) {
2520
- (0, import_utils25.deepMerge)(state, obj, import_ignore.IGNORE_STATE_PARAMS);
2520
+ (0, import_utils21.deepMerge)(state, obj, import_ignore.IGNORE_STATE_PARAMS);
2521
2521
  return;
2522
2522
  }
2523
- const overwriteFunc = shallow ? import_utils25.overwriteShallow : import_utils25.overwriteDeep;
2523
+ const overwriteFunc = shallow ? import_utils21.overwriteShallow : import_utils21.overwriteDeep;
2524
2524
  overwriteFunc(state, obj, import_ignore.IGNORE_STATE_PARAMS);
2525
2525
  };
2526
2526
  var hoistStateUpdate = (state, obj, options) => {
@@ -2611,7 +2611,7 @@ var require_create2 = __commonJS({
2611
2611
  });
2612
2612
  module2.exports = __toCommonJS2(create_exports);
2613
2613
  var import_event = require_cjs3();
2614
- var import_utils25 = require_cjs();
2614
+ var import_utils21 = require_cjs();
2615
2615
  var import_ignore = require_ignore();
2616
2616
  var import_methods = require_methods();
2617
2617
  var import_updateState = require_updateState();
@@ -2625,7 +2625,7 @@ var require_create2 = __commonJS({
2625
2625
  if (objectizeState === false)
2626
2626
  return parent.state || {};
2627
2627
  else
2628
- element.state = (0, import_utils25.deepClone)(objectizeState, import_ignore.IGNORE_STATE_PARAMS);
2628
+ element.state = (0, import_utils21.deepClone)(objectizeState, import_ignore.IGNORE_STATE_PARAMS);
2629
2629
  const whatInitReturns = (0, import_event.triggerEventOn)("stateInit", element, options);
2630
2630
  if (whatInitReturns === false)
2631
2631
  return element.state;
@@ -2644,17 +2644,17 @@ var require_create2 = __commonJS({
2644
2644
  const { __ref: ref } = state;
2645
2645
  if (!ref)
2646
2646
  return;
2647
- const dependentState = (0, import_utils25.deepClone)(ref, import_ignore.IGNORE_STATE_PARAMS);
2647
+ const dependentState = (0, import_utils21.deepClone)(ref, import_ignore.IGNORE_STATE_PARAMS);
2648
2648
  const newDepends = { [element.key]: dependentState };
2649
- ref.__depends = (0, import_utils25.isObject)(ref.__depends) ? { ...ref.__depends, ...newDepends } : newDepends;
2649
+ ref.__depends = (0, import_utils21.isObject)(ref.__depends) ? { ...ref.__depends, ...newDepends } : newDepends;
2650
2650
  return dependentState;
2651
2651
  };
2652
2652
  var checkForTypes = (element) => {
2653
2653
  const { state, __ref: ref } = element;
2654
- if ((0, import_utils25.isFunction)(state)) {
2654
+ if ((0, import_utils21.isFunction)(state)) {
2655
2655
  ref.__state = state;
2656
- return (0, import_utils25.exec)(state, element);
2657
- } else if ((0, import_utils25.is)(state)("string", "number")) {
2656
+ return (0, import_utils21.exec)(state, element);
2657
+ } else if ((0, import_utils21.is)(state)("string", "number")) {
2658
2658
  ref.__state = state;
2659
2659
  return {};
2660
2660
  } else if (state === true) {
@@ -2701,7 +2701,7 @@ var require_create2 = __commonJS({
2701
2701
  __children: {},
2702
2702
  __root: ref.__root ? ref.__root.state : state
2703
2703
  };
2704
- if ((0, import_utils25.isArray)(state)) {
2704
+ if ((0, import_utils21.isArray)(state)) {
2705
2705
  addProtoToArray(state, proto);
2706
2706
  } else {
2707
2707
  Object.setPrototypeOf(state, proto);
@@ -2768,17 +2768,17 @@ var require_state = __commonJS({
2768
2768
  state: () => state
2769
2769
  });
2770
2770
  module2.exports = __toCommonJS2(state_exports);
2771
- var import_state3 = require_cjs5();
2772
- var import_utils25 = require_cjs();
2771
+ var import_state2 = require_cjs5();
2772
+ var import_utils21 = require_cjs();
2773
2773
  var state = (params, element, node2) => {
2774
- const state2 = (0, import_utils25.exec)(params, element);
2775
- if ((0, import_utils25.isObject)(state2)) {
2774
+ const state2 = (0, import_utils21.exec)(params, element);
2775
+ if ((0, import_utils21.isObject)(state2)) {
2776
2776
  for (const param in state2) {
2777
- if (import_state3.IGNORE_STATE_PARAMS.includes(param))
2777
+ if (import_state2.IGNORE_STATE_PARAMS.includes(param))
2778
2778
  continue;
2779
2779
  if (!Object.hasOwnProperty.call(state2, param))
2780
2780
  continue;
2781
- element.state[param] = (0, import_utils25.exec)(state2[param], element);
2781
+ element.state[param] = (0, import_utils21.exec)(state2[param], element);
2782
2782
  }
2783
2783
  }
2784
2784
  return element;
@@ -2924,8 +2924,8 @@ var require_mixins = __commonJS({
2924
2924
  data: () => import_data.default,
2925
2925
  html: () => import_html.default,
2926
2926
  registry: () => import_registry.default,
2927
- state: () => import_state3.default,
2928
- style: () => import_style6.default,
2927
+ state: () => import_state2.default,
2928
+ style: () => import_style4.default,
2929
2929
  text: () => import_text.default
2930
2930
  });
2931
2931
  module2.exports = __toCommonJS2(mixins_exports);
@@ -2934,9 +2934,9 @@ var require_mixins = __commonJS({
2934
2934
  var import_content = __toESM2(require_content(), 1);
2935
2935
  var import_data = __toESM2(require_data(), 1);
2936
2936
  var import_html = __toESM2(require_html(), 1);
2937
- var import_style6 = __toESM2(require_style(), 1);
2937
+ var import_style4 = __toESM2(require_style(), 1);
2938
2938
  var import_text = __toESM2(require_text(), 1);
2939
- var import_state3 = __toESM2(require_state(), 1);
2939
+ var import_state2 = __toESM2(require_state(), 1);
2940
2940
  var import_registry = __toESM2(require_registry(), 1);
2941
2941
  __reExport2(mixins_exports, require_registry(), module2.exports);
2942
2942
  }
@@ -2981,7 +2981,7 @@ var require_methods2 = __commonJS({
2981
2981
  spotByPath: () => spotByPath
2982
2982
  });
2983
2983
  module2.exports = __toCommonJS2(methods_exports);
2984
- var import_utils25 = require_cjs();
2984
+ var import_utils21 = require_cjs();
2985
2985
  var import_tree = require_tree();
2986
2986
  var import_mixins = require_mixins();
2987
2987
  var spotByPath = function(path) {
@@ -3014,9 +3014,9 @@ var require_methods2 = __commonJS({
3014
3014
  };
3015
3015
  var remove = function(params) {
3016
3016
  const element = this;
3017
- if ((0, import_utils25.isFunction)(element.node.remove))
3017
+ if ((0, import_utils21.isFunction)(element.node.remove))
3018
3018
  element.node.remove();
3019
- else if (!(0, import_utils25.isProduction)()) {
3019
+ else if (!(0, import_utils21.isProduction)()) {
3020
3020
  console.warn("This item cant be removed");
3021
3021
  element.log();
3022
3022
  }
@@ -3056,12 +3056,12 @@ var require_methods2 = __commonJS({
3056
3056
  if (v === "state") {
3057
3057
  if (element.__ref && element.__ref.__hasRootState)
3058
3058
  return;
3059
- if ((0, import_utils25.isFunction)(val && val.parse))
3059
+ if ((0, import_utils21.isFunction)(val && val.parse))
3060
3060
  val = val.parse();
3061
3061
  } else if (v === "props") {
3062
3062
  const { __element, update, ...props4 } = element[v];
3063
3063
  obj[v] = props4;
3064
- } else if ((0, import_utils25.isDefined)(val))
3064
+ } else if ((0, import_utils21.isDefined)(val))
3065
3065
  obj[v] = val;
3066
3066
  });
3067
3067
  return obj;
@@ -3072,7 +3072,7 @@ var require_methods2 = __commonJS({
3072
3072
  for (const v in obj) {
3073
3073
  if (excl.includes(v))
3074
3074
  return;
3075
- if ((0, import_utils25.isObjectLike)(obj[v])) {
3075
+ if ((0, import_utils21.isObjectLike)(obj[v])) {
3076
3076
  obj[v] = parseDeep.call(obj[v], excl);
3077
3077
  }
3078
3078
  }
@@ -3190,18 +3190,18 @@ var require_inherit2 = __commonJS({
3190
3190
  inheritParentProps: () => inheritParentProps
3191
3191
  });
3192
3192
  module2.exports = __toCommonJS2(inherit_exports);
3193
- var import_utils25 = require_cjs();
3193
+ var import_utils21 = require_cjs();
3194
3194
  var objectizeStringProperty = (propValue) => {
3195
- if ((0, import_utils25.is)(propValue)("string", "number")) {
3195
+ if ((0, import_utils21.is)(propValue)("string", "number")) {
3196
3196
  return { inheritedString: propValue };
3197
3197
  }
3198
3198
  return propValue;
3199
3199
  };
3200
3200
  var inheritParentProps = (element, parent) => {
3201
3201
  let propsStack = [];
3202
- const parentProps = (0, import_utils25.exec)(parent, parent.state).props;
3202
+ const parentProps = (0, import_utils21.exec)(parent, parent.state).props;
3203
3203
  const matchParent = parent.props && parentProps[element.key];
3204
- const matchParentIsString = (0, import_utils25.isString)(matchParent);
3204
+ const matchParentIsString = (0, import_utils21.isString)(matchParent);
3205
3205
  const matchParentChildProps = parentProps && parentProps.childProps;
3206
3206
  if (matchParent) {
3207
3207
  if (matchParentIsString) {
@@ -3249,19 +3249,19 @@ var require_create3 = __commonJS({
3249
3249
  syncProps: () => syncProps
3250
3250
  });
3251
3251
  module2.exports = __toCommonJS2(create_exports);
3252
- var import_utils25 = require_cjs();
3252
+ var import_utils21 = require_cjs();
3253
3253
  var import_ignore = require_ignore2();
3254
3254
  var import_inherit = require_inherit2();
3255
3255
  var createPropsStack = (element, parent) => {
3256
3256
  const { props: props4, __ref } = element;
3257
3257
  const propsStack = __ref.__props = (0, import_inherit.inheritParentProps)(element, parent);
3258
- if ((0, import_utils25.isObject)(props4))
3258
+ if ((0, import_utils21.isObject)(props4))
3259
3259
  propsStack.push(props4);
3260
3260
  else if (props4 === "inherit" && parent.props)
3261
3261
  propsStack.push(parent.props);
3262
3262
  else if (props4)
3263
3263
  propsStack.push(props4);
3264
- if ((0, import_utils25.isArray)(__ref.__extend)) {
3264
+ if ((0, import_utils21.isArray)(__ref.__extend)) {
3265
3265
  __ref.__extend.forEach((extend) => {
3266
3266
  if (extend.props)
3267
3267
  propsStack.push(extend.props);
@@ -3276,12 +3276,12 @@ var require_create3 = __commonJS({
3276
3276
  props4.forEach((v) => {
3277
3277
  if (import_ignore.IGNORE_PROPS_PARAMS.includes(v))
3278
3278
  return;
3279
- const execProps = (0, import_utils25.exec)(v, element);
3280
- if ((0, import_utils25.isObject)(execProps) && execProps.__element)
3279
+ const execProps = (0, import_utils21.exec)(v, element);
3280
+ if ((0, import_utils21.isObject)(execProps) && execProps.__element)
3281
3281
  return;
3282
- element.props = (0, import_utils25.deepMerge)(
3282
+ element.props = (0, import_utils21.deepMerge)(
3283
3283
  mergedProps,
3284
- (0, import_utils25.deepClone)(execProps, import_ignore.IGNORE_PROPS_PARAMS),
3284
+ (0, import_utils21.deepClone)(execProps, import_ignore.IGNORE_PROPS_PARAMS),
3285
3285
  import_ignore.IGNORE_PROPS_PARAMS
3286
3286
  );
3287
3287
  });
@@ -3402,7 +3402,7 @@ var require_object2 = __commonJS({
3402
3402
  __export2(object_exports, {
3403
3403
  METHODS_EXL: () => METHODS_EXL,
3404
3404
  clone: () => clone,
3405
- deepClone: () => deepClone5,
3405
+ deepClone: () => deepClone4,
3406
3406
  deepMerge: () => deepMerge4,
3407
3407
  flattenRecursive: () => flattenRecursive,
3408
3408
  mergeAndCloneIfArray: () => mergeAndCloneIfArray,
@@ -3410,17 +3410,17 @@ var require_object2 = __commonJS({
3410
3410
  mergeIfExisted: () => mergeIfExisted,
3411
3411
  overwrite: () => overwrite,
3412
3412
  overwriteDeep: () => overwriteDeep,
3413
- overwriteShallow: () => overwriteShallow3
3413
+ overwriteShallow: () => overwriteShallow2
3414
3414
  });
3415
3415
  module2.exports = __toCommonJS2(object_exports);
3416
- var import_utils25 = require_cjs();
3417
- var import_state3 = require_cjs5();
3416
+ var import_utils21 = require_cjs();
3417
+ var import_state2 = require_cjs5();
3418
3418
  var import_props = require_props();
3419
3419
  var import_methods = require_methods2();
3420
- var METHODS_EXL = (0, import_utils25.joinArrays)(
3420
+ var METHODS_EXL = (0, import_utils21.joinArrays)(
3421
3421
  ["node", "state", "context", "extend"],
3422
3422
  import_methods.METHODS,
3423
- import_state3.IGNORE_STATE_PARAMS,
3423
+ import_state2.IGNORE_STATE_PARAMS,
3424
3424
  import_props.IGNORE_PROPS_PARAMS
3425
3425
  );
3426
3426
  var deepMerge4 = (element, extend, exclude = METHODS_EXL) => {
@@ -3431,7 +3431,7 @@ var require_object2 = __commonJS({
3431
3431
  const extendProp = extend[e];
3432
3432
  if (elementProp === void 0) {
3433
3433
  element[e] = extendProp;
3434
- } else if ((0, import_utils25.isObjectLike)(elementProp) && (0, import_utils25.isObject)(extendProp)) {
3434
+ } else if ((0, import_utils21.isObjectLike)(elementProp) && (0, import_utils21.isObject)(extendProp)) {
3435
3435
  deepMerge4(elementProp, extendProp);
3436
3436
  }
3437
3437
  }
@@ -3446,17 +3446,17 @@ var require_object2 = __commonJS({
3446
3446
  }
3447
3447
  return o;
3448
3448
  };
3449
- var deepClone5 = (obj, exclude = METHODS_EXL) => {
3450
- const o = (0, import_utils25.isArray)(obj) ? [] : {};
3449
+ var deepClone4 = (obj, exclude = METHODS_EXL) => {
3450
+ const o = (0, import_utils21.isArray)(obj) ? [] : {};
3451
3451
  for (const e in obj) {
3452
3452
  if (exclude.includes(e))
3453
3453
  continue;
3454
3454
  let objProp = obj[e];
3455
- if (e === "extend" && (0, import_utils25.isArray)(objProp)) {
3455
+ if (e === "extend" && (0, import_utils21.isArray)(objProp)) {
3456
3456
  objProp = mergeArray(objProp, exclude);
3457
3457
  }
3458
- if ((0, import_utils25.isObjectLike)(objProp)) {
3459
- o[e] = deepClone5(objProp, exclude);
3458
+ if ((0, import_utils21.isObjectLike)(objProp)) {
3459
+ o[e] = deepClone4(objProp, exclude);
3460
3460
  } else
3461
3461
  o[e] = objProp;
3462
3462
  }
@@ -3480,7 +3480,7 @@ var require_object2 = __commonJS({
3480
3480
  }
3481
3481
  return changes;
3482
3482
  };
3483
- var overwriteShallow3 = (obj, params, exclude = METHODS_EXL) => {
3483
+ var overwriteShallow2 = (obj, params, exclude = METHODS_EXL) => {
3484
3484
  for (const e in params) {
3485
3485
  if (exclude.includes(e))
3486
3486
  continue;
@@ -3494,7 +3494,7 @@ var require_object2 = __commonJS({
3494
3494
  continue;
3495
3495
  const objProp = obj[e];
3496
3496
  const paramsProp = params[e];
3497
- if ((0, import_utils25.isObjectLike)(objProp) && (0, import_utils25.isObjectLike)(paramsProp)) {
3497
+ if ((0, import_utils21.isObjectLike)(objProp) && (0, import_utils21.isObjectLike)(paramsProp)) {
3498
3498
  overwriteDeep(objProp, paramsProp);
3499
3499
  } else if (paramsProp !== void 0) {
3500
3500
  obj[e] = paramsProp;
@@ -3503,15 +3503,15 @@ var require_object2 = __commonJS({
3503
3503
  return obj;
3504
3504
  };
3505
3505
  var mergeIfExisted = (a, b) => {
3506
- if ((0, import_utils25.isObjectLike)(a) && (0, import_utils25.isObjectLike)(b))
3506
+ if ((0, import_utils21.isObjectLike)(a) && (0, import_utils21.isObjectLike)(b))
3507
3507
  return deepMerge4(a, b);
3508
3508
  return a || b;
3509
3509
  };
3510
3510
  var mergeArray = (arr, exclude = ["parent", "node", "__element", "state", "context", "__ref"]) => {
3511
- return arr.reduce((a, c) => deepMerge4(a, deepClone5(c, exclude)), {});
3511
+ return arr.reduce((a, c) => deepMerge4(a, deepClone4(c, exclude)), {});
3512
3512
  };
3513
3513
  var mergeAndCloneIfArray = (obj) => {
3514
- return (0, import_utils25.isArray)(obj) ? mergeArray(obj) : deepClone5(obj);
3514
+ return (0, import_utils21.isArray)(obj) ? mergeArray(obj) : deepClone4(obj);
3515
3515
  };
3516
3516
  var flattenRecursive = (param, prop, stack = []) => {
3517
3517
  const objectized = mergeAndCloneIfArray(param);
@@ -3567,7 +3567,7 @@ var require_extendUtils = __commonJS({
3567
3567
  setHashedExtend: () => setHashedExtend
3568
3568
  });
3569
3569
  module2.exports = __toCommonJS2(extendUtils_exports);
3570
- var import_utils25 = require_cjs();
3570
+ var import_utils21 = require_cjs();
3571
3571
  var ENV2 = "development";
3572
3572
  var generateHash = () => Math.random().toString(36).substring(2);
3573
3573
  var extendStackRegistry = {};
@@ -3577,7 +3577,7 @@ var require_extendUtils = __commonJS({
3577
3577
  };
3578
3578
  var setHashedExtend = (extend, stack) => {
3579
3579
  const hash2 = generateHash();
3580
- if (!(0, import_utils25.isString)(extend)) {
3580
+ if (!(0, import_utils21.isString)(extend)) {
3581
3581
  extend.__hash = hash2;
3582
3582
  }
3583
3583
  extendStackRegistry[hash2] = stack;
@@ -3603,7 +3603,7 @@ var require_extendUtils = __commonJS({
3603
3603
  var flattenExtend = (extend, stack) => {
3604
3604
  if (!extend)
3605
3605
  return stack;
3606
- if ((0, import_utils25.isArray)(extend))
3606
+ if ((0, import_utils21.isArray)(extend))
3607
3607
  return extractArrayExtend(extend, stack);
3608
3608
  stack.push(extend);
3609
3609
  if (extend.extend)
@@ -3616,9 +3616,9 @@ var require_extendUtils = __commonJS({
3616
3616
  if (["parent", "node", "__element"].indexOf(prop) > -1)
3617
3617
  continue;
3618
3618
  const objProp = obj[prop];
3619
- if ((0, import_utils25.isObject)(objProp)) {
3619
+ if ((0, import_utils21.isObject)(objProp)) {
3620
3620
  o[prop] = deepCloneExtend(objProp);
3621
- } else if ((0, import_utils25.isArray)(objProp)) {
3621
+ } else if ((0, import_utils21.isArray)(objProp)) {
3622
3622
  o[prop] = objProp.map((x) => x);
3623
3623
  } else
3624
3624
  o[prop] = objProp;
@@ -3633,14 +3633,14 @@ var require_extendUtils = __commonJS({
3633
3633
  const extendProp = extend[e];
3634
3634
  if (elementProp === void 0) {
3635
3635
  element[e] = extendProp;
3636
- } else if ((0, import_utils25.isObject)(elementProp) && (0, import_utils25.isObject)(extendProp)) {
3636
+ } else if ((0, import_utils21.isObject)(elementProp) && (0, import_utils21.isObject)(extendProp)) {
3637
3637
  deepMergeExtend(elementProp, extendProp);
3638
- } else if ((0, import_utils25.isArray)(elementProp) && (0, import_utils25.isArray)(extendProp)) {
3638
+ } else if ((0, import_utils21.isArray)(elementProp) && (0, import_utils21.isArray)(extendProp)) {
3639
3639
  element[e] = elementProp.concat(extendProp);
3640
- } else if ((0, import_utils25.isArray)(elementProp) && (0, import_utils25.isObject)(extendProp)) {
3640
+ } else if ((0, import_utils21.isArray)(elementProp) && (0, import_utils21.isObject)(extendProp)) {
3641
3641
  const obj = deepMergeExtend({}, elementProp);
3642
3642
  element[e] = deepMergeExtend(obj, extendProp);
3643
- } else if (elementProp === void 0 && (0, import_utils25.isFunction)(extendProp)) {
3643
+ } else if (elementProp === void 0 && (0, import_utils21.isFunction)(extendProp)) {
3644
3644
  element[e] = extendProp;
3645
3645
  }
3646
3646
  }
@@ -3653,7 +3653,7 @@ var require_extendUtils = __commonJS({
3653
3653
  };
3654
3654
  var fallbackStringExtend = (extend, context, options) => {
3655
3655
  const COMPONENTS = context && context.components || options.components;
3656
- if ((0, import_utils25.isString)(extend)) {
3656
+ if ((0, import_utils21.isString)(extend)) {
3657
3657
  console.log("extend", extend);
3658
3658
  console.log(COMPONENTS[extend]);
3659
3659
  if (COMPONENTS && COMPONENTS[extend]) {
@@ -3685,11 +3685,11 @@ var require_extendUtils = __commonJS({
3685
3685
  var replaceStringsWithComponents = (stack, context, options) => {
3686
3686
  const COMPONENTS = context && context.components || options.components;
3687
3687
  return stack.map((v) => {
3688
- if ((0, import_utils25.isString)(v)) {
3688
+ if ((0, import_utils21.isString)(v)) {
3689
3689
  const component = COMPONENTS[v];
3690
3690
  return component;
3691
3691
  }
3692
- if ((0, import_utils25.isString)(v.extend)) {
3692
+ if ((0, import_utils21.isString)(v.extend)) {
3693
3693
  v.extend = COMPONENTS[v.extend];
3694
3694
  return { ...getExtendMerged(v.extend), ...v };
3695
3695
  }
@@ -3725,15 +3725,15 @@ var require_extend = __commonJS({
3725
3725
  applyExtend: () => applyExtend
3726
3726
  });
3727
3727
  module2.exports = __toCommonJS2(extend_exports);
3728
- var import_utils25 = require_cjs();
3729
- var import_utils26 = require_utils();
3728
+ var import_utils21 = require_cjs();
3729
+ var import_utils22 = require_utils();
3730
3730
  var ENV2 = "development";
3731
3731
  var applyExtend = (element, parent, options = {}) => {
3732
- if ((0, import_utils25.isFunction)(element))
3733
- element = (0, import_utils25.exec)(element, parent);
3732
+ if ((0, import_utils21.isFunction)(element))
3733
+ element = (0, import_utils21.exec)(element, parent);
3734
3734
  let { extend, props: props4, context, __ref } = element;
3735
- extend = (0, import_utils26.fallbackStringExtend)(extend, context, options);
3736
- const extendStack = (0, import_utils26.getExtendStack)(extend);
3735
+ extend = (0, import_utils22.fallbackStringExtend)(extend, context, options);
3736
+ const extendStack = (0, import_utils22.getExtendStack)(extend);
3737
3737
  if (ENV2 !== "test" || ENV2 !== "development")
3738
3738
  delete element.extend;
3739
3739
  let childExtendStack = [];
@@ -3742,12 +3742,12 @@ var require_extend = __commonJS({
3742
3742
  if (!options.ignoreChildExtend) {
3743
3743
  if (props4 && props4.ignoreChildExtend)
3744
3744
  return;
3745
- childExtendStack = (0, import_utils26.getExtendStack)(parent.childExtend);
3745
+ childExtendStack = (0, import_utils22.getExtendStack)(parent.childExtend);
3746
3746
  const ignoreChildExtendRecursive = props4 && props4.ignoreChildExtendRecursive;
3747
3747
  if (parent.childExtendRecursive && !ignoreChildExtendRecursive) {
3748
3748
  const canExtendRecursive = element.key !== "__text";
3749
3749
  if (canExtendRecursive) {
3750
- const childExtendRecursiveStack = (0, import_utils26.getExtendStack)(parent.childExtendRecursive);
3750
+ const childExtendRecursiveStack = (0, import_utils22.getExtendStack)(parent.childExtendRecursive);
3751
3751
  childExtendStack = childExtendStack.concat(childExtendRecursiveStack);
3752
3752
  element.childExtendRecursive = parent.childExtendRecursive;
3753
3753
  }
@@ -3758,7 +3758,7 @@ var require_extend = __commonJS({
3758
3758
  const childExtendLength = childExtendStack.length;
3759
3759
  let stack = [];
3760
3760
  if (extendLength && childExtendLength) {
3761
- stack = (0, import_utils26.jointStacks)(extendStack, childExtendStack);
3761
+ stack = (0, import_utils22.jointStacks)(extendStack, childExtendStack);
3762
3762
  } else if (extendLength) {
3763
3763
  stack = extendStack;
3764
3764
  } else if (childExtendLength) {
@@ -3766,20 +3766,20 @@ var require_extend = __commonJS({
3766
3766
  } else if (!options.extend)
3767
3767
  return element;
3768
3768
  if (options.extend) {
3769
- const defaultOptionsExtend = (0, import_utils26.getExtendStack)(options.extend);
3769
+ const defaultOptionsExtend = (0, import_utils22.getExtendStack)(options.extend);
3770
3770
  stack = [].concat(stack, defaultOptionsExtend);
3771
3771
  }
3772
3772
  if (__ref)
3773
3773
  __ref.__extend = stack;
3774
- const findAndReplaceStrings = (0, import_utils26.replaceStringsWithComponents)(stack, context, options);
3775
- let mergedExtend = (0, import_utils26.cloneAndMergeArrayExtend)(findAndReplaceStrings);
3774
+ const findAndReplaceStrings = (0, import_utils22.replaceStringsWithComponents)(stack, context, options);
3775
+ let mergedExtend = (0, import_utils22.cloneAndMergeArrayExtend)(findAndReplaceStrings);
3776
3776
  const COMPONENTS = context && context.components || options.components;
3777
- const component = (0, import_utils25.exec)(element.component || mergedExtend.component, element);
3777
+ const component = (0, import_utils21.exec)(element.component || mergedExtend.component, element);
3778
3778
  if (component && COMPONENTS && COMPONENTS[component]) {
3779
- const componentExtend = (0, import_utils26.cloneAndMergeArrayExtend)((0, import_utils26.getExtendStack)(COMPONENTS[component]));
3780
- mergedExtend = (0, import_utils26.deepMergeExtend)(componentExtend, mergedExtend);
3779
+ const componentExtend = (0, import_utils22.cloneAndMergeArrayExtend)((0, import_utils22.getExtendStack)(COMPONENTS[component]));
3780
+ mergedExtend = (0, import_utils22.deepMergeExtend)(componentExtend, mergedExtend);
3781
3781
  }
3782
- return (0, import_utils26.deepMergeExtend)(element, mergedExtend);
3782
+ return (0, import_utils22.deepMergeExtend)(element, mergedExtend);
3783
3783
  };
3784
3784
  }
3785
3785
  });
@@ -3818,11 +3818,11 @@ var require_component = __commonJS({
3818
3818
  overwriteVariant: () => overwriteVariant
3819
3819
  });
3820
3820
  module2.exports = __toCommonJS2(component_exports);
3821
- var import_utils25 = require_cjs();
3821
+ var import_utils21 = require_cjs();
3822
3822
  var import_extend = require_extend();
3823
3823
  var ENV2 = "development";
3824
3824
  var checkIfKeyIsComponent = (key) => {
3825
- const isFirstKeyString = (0, import_utils25.isString)(key);
3825
+ const isFirstKeyString = (0, import_utils21.isString)(key);
3826
3826
  if (!isFirstKeyString)
3827
3827
  return;
3828
3828
  const firstCharKey = key.slice(0, 1);
@@ -3830,7 +3830,7 @@ var require_component = __commonJS({
3830
3830
  };
3831
3831
  var addAdditionalExtend = (newExtend, element) => {
3832
3832
  const { extend } = element;
3833
- const preserveExtend = (0, import_utils25.isArray)(extend) ? extend : [extend];
3833
+ const preserveExtend = (0, import_utils21.isArray)(extend) ? extend : [extend];
3834
3834
  return {
3835
3835
  ...element,
3836
3836
  extend: [newExtend].concat(preserveExtend)
@@ -3853,10 +3853,10 @@ var require_component = __commonJS({
3853
3853
  };
3854
3854
  } else if (extend) {
3855
3855
  addAdditionalExtend(extendKey, element);
3856
- } else if ((0, import_utils25.isFunction)(element)) {
3856
+ } else if ((0, import_utils21.isFunction)(element)) {
3857
3857
  return {
3858
3858
  extend: extendKey,
3859
- props: { ...(0, import_utils25.exec)(element, parent) }
3859
+ props: { ...(0, import_utils21.exec)(element, parent) }
3860
3860
  };
3861
3861
  }
3862
3862
  };
@@ -3869,8 +3869,8 @@ var require_component = __commonJS({
3869
3869
  return;
3870
3870
  const { components } = context;
3871
3871
  const { extend } = element;
3872
- const execExtend = (0, import_utils25.exec)(extend, element);
3873
- if ((0, import_utils25.isString)(execExtend)) {
3872
+ const execExtend = (0, import_utils21.exec)(extend, element);
3873
+ if ((0, import_utils21.isString)(execExtend)) {
3874
3874
  if (components[execExtend])
3875
3875
  element.extend = components[execExtend];
3876
3876
  else {
@@ -3883,29 +3883,29 @@ var require_component = __commonJS({
3883
3883
  }
3884
3884
  };
3885
3885
  var isVariant = (param) => {
3886
- if (!(0, import_utils25.isString)(param))
3886
+ if (!(0, import_utils21.isString)(param))
3887
3887
  return;
3888
3888
  const firstCharKey = param.slice(0, 1);
3889
3889
  return firstCharKey === ".";
3890
3890
  };
3891
3891
  var hasVariantProp = (element) => {
3892
3892
  const { props: props4 } = element;
3893
- if ((0, import_utils25.isObject)(props4) && (0, import_utils25.isString)(props4.variant))
3893
+ if ((0, import_utils21.isObject)(props4) && (0, import_utils21.isString)(props4.variant))
3894
3894
  return true;
3895
3895
  };
3896
3896
  var overwriteVariant = (element, variant, variantProps) => {
3897
3897
  let variantElement = element[variant];
3898
3898
  if (!variantElement)
3899
3899
  return;
3900
- const props4 = (0, import_utils25.isObject)(variantProps) ? variantProps : {};
3901
- if ((0, import_utils25.isString)(variantElement)) {
3900
+ const props4 = (0, import_utils21.isObject)(variantProps) ? variantProps : {};
3901
+ if ((0, import_utils21.isString)(variantElement)) {
3902
3902
  variantElement = {
3903
3903
  extend: [{ props: props4 }, variantElement]
3904
3904
  };
3905
3905
  } else if (variantElement.extend) {
3906
3906
  variantElement = addAdditionalExtend({ props: props4 }, variantElement);
3907
3907
  }
3908
- return (0, import_utils25.overwriteDeep)(element, (0, import_extend.applyExtend)(variantElement));
3908
+ return (0, import_utils21.overwriteDeep)(element, (0, import_extend.applyExtend)(variantElement));
3909
3909
  };
3910
3910
  var applyVariant = (element) => {
3911
3911
  const { props: props4 } = element;
@@ -3980,8 +3980,8 @@ var require_iterate = __commonJS({
3980
3980
  throughUpdatedExec: () => throughUpdatedExec
3981
3981
  });
3982
3982
  module2.exports = __toCommonJS2(iterate_exports);
3983
- var import_utils25 = require_cjs();
3984
- var import_utils26 = require_utils();
3983
+ var import_utils21 = require_cjs();
3984
+ var import_utils22 = require_utils();
3985
3985
  var import_methods = require_methods2();
3986
3986
  var throughInitialExec = (element, exclude = {}) => {
3987
3987
  const { __ref: ref } = element;
@@ -3989,13 +3989,13 @@ var require_iterate = __commonJS({
3989
3989
  if (exclude[param])
3990
3990
  continue;
3991
3991
  const prop = element[param];
3992
- if ((0, import_utils25.isFunction)(prop) && !(0, import_methods.isMethod)(param) && !(0, import_utils26.isVariant)(param)) {
3992
+ if ((0, import_utils21.isFunction)(prop) && !(0, import_methods.isMethod)(param) && !(0, import_utils22.isVariant)(param)) {
3993
3993
  ref.__exec[param] = prop;
3994
3994
  element[param] = prop(element, element.state);
3995
3995
  }
3996
3996
  }
3997
3997
  };
3998
- var throughUpdatedExec = (element, options = { excludes: import_utils26.METHODS_EXL }) => {
3998
+ var throughUpdatedExec = (element, options = { excludes: import_utils22.METHODS_EXL }) => {
3999
3999
  const { __ref: ref } = element;
4000
4000
  const changes = {};
4001
4001
  for (const param in ref.__exec) {
@@ -4004,13 +4004,13 @@ var require_iterate = __commonJS({
4004
4004
  if (isDefinedParam)
4005
4005
  continue;
4006
4006
  const newExec = ref.__exec[param](element, element.state, element.context);
4007
- const execReturnsString = (0, import_utils25.isString)(newExec) || (0, import_utils25.isNumber)(newExec);
4007
+ const execReturnsString = (0, import_utils21.isString)(newExec) || (0, import_utils21.isNumber)(newExec);
4008
4008
  if (prop && prop.node && execReturnsString) {
4009
- (0, import_utils26.overwrite)(prop, { text: newExec }, options);
4009
+ (0, import_utils22.overwrite)(prop, { text: newExec }, options);
4010
4010
  } else if (newExec !== prop) {
4011
- if ((0, import_utils26.checkIfKeyIsComponent)(param)) {
4012
- const { extend, ...newElem } = (0, import_utils26.extendizeByKey)(newExec, element, param);
4013
- (0, import_utils26.overwrite)(prop, newElem, options);
4011
+ if ((0, import_utils22.checkIfKeyIsComponent)(param)) {
4012
+ const { extend, ...newElem } = (0, import_utils22.extendizeByKey)(newExec, element, param);
4013
+ (0, import_utils22.overwrite)(prop, newElem, options);
4014
4014
  } else {
4015
4015
  ref.__cached[param] = changes[param] = prop;
4016
4016
  element[param] = newExec;
@@ -4022,16 +4022,16 @@ var require_iterate = __commonJS({
4022
4022
  var throughInitialDefine = (element) => {
4023
4023
  const { define, context, __ref: ref } = element;
4024
4024
  let defineObj = {};
4025
- const hasGlobalDefine = context && (0, import_utils25.isObject)(context.define);
4026
- if ((0, import_utils25.isObject)(define))
4025
+ const hasGlobalDefine = context && (0, import_utils21.isObject)(context.define);
4026
+ if ((0, import_utils21.isObject)(define))
4027
4027
  defineObj = { ...define };
4028
4028
  if (hasGlobalDefine)
4029
4029
  defineObj = { ...defineObj, ...context.define };
4030
4030
  for (const param in defineObj) {
4031
4031
  let elementProp = element[param];
4032
- if ((0, import_utils25.isFunction)(elementProp) && !(0, import_methods.isMethod)(param) && !(0, import_utils26.isVariant)(param)) {
4032
+ if ((0, import_utils21.isFunction)(elementProp) && !(0, import_methods.isMethod)(param) && !(0, import_utils22.isVariant)(param)) {
4033
4033
  ref.__exec[param] = elementProp;
4034
- const execParam2 = elementProp = (0, import_utils25.exec)(elementProp, element);
4034
+ const execParam2 = elementProp = (0, import_utils21.exec)(elementProp, element);
4035
4035
  if (execParam2) {
4036
4036
  elementProp = element[param] = execParam2.parse ? execParam2.parse() : execParam2;
4037
4037
  ref.__defineCache[param] = elementProp;
@@ -4047,15 +4047,15 @@ var require_iterate = __commonJS({
4047
4047
  const { context, define, __ref: ref } = element;
4048
4048
  const changes = {};
4049
4049
  let obj = {};
4050
- if ((0, import_utils25.isObject)(define))
4050
+ if ((0, import_utils21.isObject)(define))
4051
4051
  obj = { ...define };
4052
- if ((0, import_utils25.isObject)(context && context.define))
4052
+ if ((0, import_utils21.isObject)(context && context.define))
4053
4053
  obj = { ...obj, ...context.define };
4054
4054
  for (const param in obj) {
4055
4055
  const execParam = ref.__exec[param];
4056
4056
  if (execParam)
4057
4057
  ref.__defineCache[param] = execParam(element, element.state, element.context);
4058
- const cached = (0, import_utils25.exec)(ref.__defineCache[param], element);
4058
+ const cached = (0, import_utils21.exec)(ref.__defineCache[param], element);
4059
4059
  const newExecParam = obj[param](cached, element, element.state, element.context);
4060
4060
  if (newExecParam)
4061
4061
  element[param] = newExecParam;
@@ -4091,7 +4091,7 @@ var require_applyParam = __commonJS({
4091
4091
  applyParam: () => applyParam
4092
4092
  });
4093
4093
  module2.exports = __toCommonJS2(applyParam_exports);
4094
- var import_utils25 = require_cjs();
4094
+ var import_utils21 = require_cjs();
4095
4095
  var import_mixins = require_mixins();
4096
4096
  var applyParam = (param, element, options) => {
4097
4097
  const { node: node2, context, __ref: ref } = element;
@@ -4104,7 +4104,7 @@ var require_applyParam = __commonJS({
4104
4104
  if (!ref.__if)
4105
4105
  return;
4106
4106
  if (isGlobalTransformer && !hasContextDefine) {
4107
- if ((0, import_utils25.isFunction)(isGlobalTransformer)) {
4107
+ if ((0, import_utils21.isFunction)(isGlobalTransformer)) {
4108
4108
  isGlobalTransformer(prop, element, node2, options);
4109
4109
  return;
4110
4110
  }
@@ -4151,7 +4151,7 @@ var require_node2 = __commonJS({
4151
4151
  default: () => node_default
4152
4152
  });
4153
4153
  module2.exports = __toCommonJS2(node_exports);
4154
- var import_utils25 = require_cjs();
4154
+ var import_utils21 = require_cjs();
4155
4155
  var import_event = require_cjs3();
4156
4156
  var import_render = require_cjs4();
4157
4157
  var import_methods = require_methods2();
@@ -4159,7 +4159,7 @@ var require_node2 = __commonJS({
4159
4159
  var import_iterate = require_iterate();
4160
4160
  var import_mixins = require_mixins();
4161
4161
  var import_applyParam = require_applyParam();
4162
- var import_utils26 = require_utils();
4162
+ var import_utils22 = require_utils();
4163
4163
  var ENV2 = "development";
4164
4164
  var createNode = (element, options) => {
4165
4165
  let { node: node2, tag, __ref: ref } = element;
@@ -4176,23 +4176,23 @@ var require_node2 = __commonJS({
4176
4176
  }
4177
4177
  if (ENV2 === "test" || ENV2 === "development" || options.alowRefReference) {
4178
4178
  node2.ref = element;
4179
- if ((0, import_utils25.isFunction)(node2.setAttribute))
4179
+ if ((0, import_utils21.isFunction)(node2.setAttribute))
4180
4180
  node2.setAttribute("key", element.key);
4181
4181
  }
4182
4182
  if (element.tag !== "string" || element.tag !== "fragment") {
4183
4183
  (0, import_iterate.throughInitialDefine)(element);
4184
4184
  (0, import_iterate.throughInitialExec)(element);
4185
- if (isNewNode && (0, import_utils25.isObject)(element.on))
4185
+ if (isNewNode && (0, import_utils21.isObject)(element.on))
4186
4186
  (0, import_event.applyEventsOnNode)(element);
4187
4187
  for (const param in element) {
4188
4188
  const prop = element[param];
4189
- if ((0, import_utils25.isUndefined)(prop) || (0, import_methods.isMethod)(param) || (0, import_utils26.isVariant)(param) || (0, import_utils25.isObject)(import_mixins.registry[param]))
4189
+ if ((0, import_utils21.isUndefined)(prop) || (0, import_methods.isMethod)(param) || (0, import_utils22.isVariant)(param) || (0, import_utils21.isObject)(import_mixins.registry[param]))
4190
4190
  continue;
4191
4191
  const isElement = (0, import_applyParam.applyParam)(param, element, options);
4192
4192
  if (isElement) {
4193
4193
  const { hasDefine, hasContextDefine } = isElement;
4194
4194
  if (element[param] && !hasDefine && !hasContextDefine) {
4195
- const createAsync = () => (0, import_create.default)((0, import_utils25.exec)(prop, element), element, param, options);
4195
+ const createAsync = () => (0, import_create.default)((0, import_utils21.exec)(prop, element), element, param, options);
4196
4196
  if (element.props && element.props.lazyLoad || options.lazyLoad) {
4197
4197
  window.requestAnimationFrame(() => createAsync());
4198
4198
  } else
@@ -4233,7 +4233,7 @@ var require_methods3 = __commonJS({
4233
4233
  DEFAULT_METHODS: () => DEFAULT_METHODS
4234
4234
  });
4235
4235
  module2.exports = __toCommonJS2(methods_exports);
4236
- var import_utils25 = require_cjs();
4236
+ var import_utils21 = require_cjs();
4237
4237
  var DEFAULT_METHODS = {
4238
4238
  key: {},
4239
4239
  tag: {},
@@ -4254,7 +4254,7 @@ var require_methods3 = __commonJS({
4254
4254
  text: (element, state) => {
4255
4255
  element.ref.text = {
4256
4256
  tag: "text",
4257
- text: (0, import_utils25.exec)(element.text, element, state)
4257
+ text: (0, import_utils21.exec)(element.text, element, state)
4258
4258
  };
4259
4259
  },
4260
4260
  innerHTML: {},
@@ -4491,19 +4491,19 @@ var require_update2 = __commonJS({
4491
4491
  default: () => update_default
4492
4492
  });
4493
4493
  module2.exports = __toCommonJS2(update_exports);
4494
- var import_utils25 = require_cjs();
4494
+ var import_utils21 = require_cjs();
4495
4495
  var import_event = require_cjs3();
4496
4496
  var import_methods = require_methods2();
4497
4497
  var import_props = require_props();
4498
- var import_state3 = require_cjs5();
4499
- var import_utils26 = require_utils();
4498
+ var import_state2 = require_cjs5();
4499
+ var import_utils22 = require_utils();
4500
4500
  var import_create = __toESM2(require_create4(), 1);
4501
4501
  var import_iterate = require_iterate();
4502
4502
  var import_mixins = require_mixins();
4503
4503
  var import_applyParam = require_applyParam();
4504
4504
  var import_options3 = __toESM2(require_options(), 1);
4505
4505
  var snapshot = {
4506
- snapshotId: import_utils25.createSnapshotId
4506
+ snapshotId: import_utils21.createSnapshotId
4507
4507
  };
4508
4508
  var UPDATE_DEFAULT_OPTIONS = {
4509
4509
  stackChanges: false,
@@ -4511,7 +4511,7 @@ var require_update2 = __commonJS({
4511
4511
  preventRecursive: false,
4512
4512
  currentSnapshot: false,
4513
4513
  calleeElement: false,
4514
- excludes: import_utils26.METHODS_EXL
4514
+ excludes: import_utils22.METHODS_EXL
4515
4515
  };
4516
4516
  var update = function(params = {}, options = UPDATE_DEFAULT_OPTIONS) {
4517
4517
  const element = this;
@@ -4520,14 +4520,14 @@ var require_update2 = __commonJS({
4520
4520
  if (preventInheritAtCurrentState && preventInheritAtCurrentState.__element === element)
4521
4521
  return;
4522
4522
  if (!excludes)
4523
- (0, import_utils25.merge)(options, UPDATE_DEFAULT_OPTIONS);
4523
+ (0, import_utils21.merge)(options, UPDATE_DEFAULT_OPTIONS);
4524
4524
  let ref = element.__ref;
4525
4525
  if (!ref)
4526
4526
  ref = element.__ref = {};
4527
4527
  const [snapshotOnCallee, calleeElement, snapshotHasUpdated] = captureSnapshot(element, options);
4528
4528
  if (snapshotHasUpdated)
4529
4529
  return;
4530
- if ((0, import_utils25.isString)(params) || (0, import_utils25.isNumber)(params)) {
4530
+ if ((0, import_utils21.isString)(params) || (0, import_utils21.isNumber)(params)) {
4531
4531
  params = { text: params };
4532
4532
  }
4533
4533
  const ifFails = checkIfOnUpdate(element, parent, options);
@@ -4538,7 +4538,7 @@ var require_update2 = __commonJS({
4538
4538
  return;
4539
4539
  if (ref.__if && !options.preventPropsUpdate) {
4540
4540
  const hasParentProps = parent.props && (parent.props[key] || parent.props.childProps);
4541
- const hasFunctionInProps = ref.__props.filter((v) => (0, import_utils25.isFunction)(v));
4541
+ const hasFunctionInProps = ref.__props.filter((v) => (0, import_utils21.isFunction)(v));
4542
4542
  const props4 = params.props || hasParentProps || hasFunctionInProps.length;
4543
4543
  if (props4)
4544
4544
  (0, import_props.updateProps)(props4, element, parent);
@@ -4551,11 +4551,11 @@ var require_update2 = __commonJS({
4551
4551
  if (initUpdateReturns === false)
4552
4552
  return element;
4553
4553
  }
4554
- const overwriteChanges = (0, import_utils25.overwriteDeep)(element, params, import_utils26.METHODS_EXL);
4554
+ const overwriteChanges = (0, import_utils21.overwriteDeep)(element, params, import_utils22.METHODS_EXL);
4555
4555
  const execChanges = (0, import_iterate.throughUpdatedExec)(element, { ignore: UPDATE_DEFAULT_OPTIONS });
4556
4556
  const definedChanges = (0, import_iterate.throughUpdatedDefine)(element);
4557
4557
  if (options.stackChanges && element.__stackChanges) {
4558
- const stackChanges = (0, import_utils25.merge)(definedChanges, (0, import_utils25.merge)(execChanges, overwriteChanges));
4558
+ const stackChanges = (0, import_utils21.merge)(definedChanges, (0, import_utils21.merge)(execChanges, overwriteChanges));
4559
4559
  element.__stackChanges.push(stackChanges);
4560
4560
  }
4561
4561
  if (!ref.__if)
@@ -4566,16 +4566,16 @@ var require_update2 = __commonJS({
4566
4566
  for (const param in element) {
4567
4567
  const prop = element[param];
4568
4568
  const hasOnlyUpdateFalsy = options.onlyUpdate && (options.onlyUpdate !== param || !element.lookup(options.onlyUpdate));
4569
- const isInPreventUpdate = (0, import_utils25.isArray)(options.preventUpdate) && options.preventUpdate.includes(param);
4570
- const isInPreventDefineUpdate = (0, import_utils25.isArray)(options.preventDefineUpdate) && options.preventDefineUpdate.includes(param);
4571
- if ((0, import_utils25.isUndefined)(prop) || hasOnlyUpdateFalsy || isInPreventUpdate || isInPreventDefineUpdate || options.preventDefineUpdate === true || options.preventDefineUpdate === param || options.preventContentUpdate && param === "content" || (options.preventStateUpdate && param) === "state" || (0, import_methods.isMethod)(param) || (0, import_utils25.isObject)(import_mixins.registry[param]) || (0, import_utils26.isVariant)(param))
4569
+ const isInPreventUpdate = (0, import_utils21.isArray)(options.preventUpdate) && options.preventUpdate.includes(param);
4570
+ const isInPreventDefineUpdate = (0, import_utils21.isArray)(options.preventDefineUpdate) && options.preventDefineUpdate.includes(param);
4571
+ if ((0, import_utils21.isUndefined)(prop) || hasOnlyUpdateFalsy || isInPreventUpdate || isInPreventDefineUpdate || options.preventDefineUpdate === true || options.preventDefineUpdate === param || options.preventContentUpdate && param === "content" || (options.preventStateUpdate && param) === "state" || (0, import_methods.isMethod)(param) || (0, import_utils21.isObject)(import_mixins.registry[param]) || (0, import_utils22.isVariant)(param))
4572
4572
  continue;
4573
4573
  if (options.preventStateUpdate === "once")
4574
4574
  options.preventStateUpdate = false;
4575
4575
  const isElement = (0, import_applyParam.applyParam)(param, element, options);
4576
4576
  if (isElement) {
4577
4577
  const { hasDefine, hasContextDefine } = isElement;
4578
- const canUpdate = (0, import_utils25.isObject)(prop) && !hasDefine && !hasContextDefine && !options.preventRecursive;
4578
+ const canUpdate = (0, import_utils21.isObject)(prop) && !hasDefine && !hasContextDefine && !options.preventRecursive;
4579
4579
  if (!canUpdate)
4580
4580
  continue;
4581
4581
  const childUpdateCall = () => update.call(prop, params[prop], {
@@ -4584,7 +4584,7 @@ var require_update2 = __commonJS({
4584
4584
  calleeElement
4585
4585
  });
4586
4586
  if (element.props && element.props.lazyLoad || options.lazyLoad) {
4587
- import_utils25.window.requestAnimationFrame(() => childUpdateCall());
4587
+ import_utils21.window.requestAnimationFrame(() => childUpdateCall());
4588
4588
  } else
4589
4589
  childUpdateCall();
4590
4590
  }
@@ -4608,7 +4608,7 @@ var require_update2 = __commonJS({
4608
4608
  return [snapshotOnCallee, calleeElement];
4609
4609
  };
4610
4610
  var checkIfOnUpdate = (element, parent, options) => {
4611
- if (!(0, import_utils25.isFunction)(element.if) || !element.state || !parent)
4611
+ if (!(0, import_utils21.isFunction)(element.if) || !element.state || !parent)
4612
4612
  return;
4613
4613
  const ref = element.__ref;
4614
4614
  const ifPassed = element.if(element, element.state, element.context, options);
@@ -4625,7 +4625,7 @@ var require_update2 = __commonJS({
4625
4625
  element.state = ref.__state;
4626
4626
  }
4627
4627
  const created = (0, import_create.default)(element, parent, element.key, import_options3.default.create);
4628
- if (options.preventUpdate !== true && element.on && (0, import_utils25.isFunction)(element.on.update)) {
4628
+ if (options.preventUpdate !== true && element.on && (0, import_utils21.isFunction)(element.on.update)) {
4629
4629
  (0, import_event.applyEvent)(element.on.update, created, created.state);
4630
4630
  }
4631
4631
  return created;
@@ -4646,9 +4646,9 @@ var require_update2 = __commonJS({
4646
4646
  return;
4647
4647
  }
4648
4648
  const { isHoisted, execStateFunction, stateFunctionOverwrite } = options;
4649
- const shouldForceStateUpdate = (0, import_utils25.isFunction)(stateKey) && (!isHoisted && execStateFunction && stateFunctionOverwrite);
4649
+ const shouldForceStateUpdate = (0, import_utils21.isFunction)(stateKey) && (!isHoisted && execStateFunction && stateFunctionOverwrite);
4650
4650
  if (shouldForceStateUpdate) {
4651
- const execState = (0, import_utils25.exec)(stateKey, element);
4651
+ const execState = (0, import_utils21.exec)(stateKey, element);
4652
4652
  state.set(execState, {
4653
4653
  ...options,
4654
4654
  preventUpdate: true
@@ -4671,7 +4671,7 @@ var require_update2 = __commonJS({
4671
4671
  };
4672
4672
  var createStateUpdate = (element, parent, options) => {
4673
4673
  const __stateChildren = element.state.__children;
4674
- const newState = (0, import_state3.createState)(element, parent);
4674
+ const newState = (0, import_state2.createState)(element, parent);
4675
4675
  element.state = newState;
4676
4676
  for (const child in __stateChildren) {
4677
4677
  if (newState[child])
@@ -4720,7 +4720,7 @@ var require_set2 = __commonJS({
4720
4720
  addMethods: () => addMethods
4721
4721
  });
4722
4722
  module2.exports = __toCommonJS2(set_exports);
4723
- var import_utils25 = require_cjs();
4723
+ var import_utils21 = require_cjs();
4724
4724
  var import_set = __toESM2(require_set(), 1);
4725
4725
  var import_update = __toESM2(require_update2(), 1);
4726
4726
  var import__ = require_methods2();
@@ -4741,7 +4741,7 @@ var require_set2 = __commonJS({
4741
4741
  nextElement: import__.nextElement.bind(element),
4742
4742
  previousElement: import__.previousElement.bind(element)
4743
4743
  };
4744
- if ((0, import_utils25.isDevelopment)())
4744
+ if ((0, import_utils21.isDevelopment)())
4745
4745
  proto.log = import__.log.bind(element);
4746
4746
  Object.setPrototypeOf(element, proto);
4747
4747
  };
@@ -4789,7 +4789,7 @@ var require_create4 = __commonJS({
4789
4789
  var import_registry = require_cjs6();
4790
4790
  var import_event = require_cjs3();
4791
4791
  var import_render = require_cjs4();
4792
- var import_state3 = require_cjs5();
4792
+ var import_state2 = require_cjs5();
4793
4793
  var import_methods = require_methods2();
4794
4794
  var import_props = require_props();
4795
4795
  var import_extend = require_extend();
@@ -4797,7 +4797,7 @@ var require_create4 = __commonJS({
4797
4797
  var import_set = require_set2();
4798
4798
  var import_classList = require_classList();
4799
4799
  var import_iterate = require_iterate();
4800
- var import_utils25 = require_cjs();
4800
+ var import_utils21 = require_cjs();
4801
4801
  var import_options3 = __toESM2(require_options(), 1);
4802
4802
  var import_component = require_component();
4803
4803
  var ENV2 = "development";
@@ -4810,7 +4810,7 @@ var require_create4 = __commonJS({
4810
4810
  parent = redefineParent(element, parent, key);
4811
4811
  key = createKey(element, parent, key);
4812
4812
  const ref = addRef(element, parent, key);
4813
- ref.__initialProps = (0, import_utils25.deepClone)(element.props, []);
4813
+ ref.__initialProps = (0, import_utils21.deepClone)(element.props, []);
4814
4814
  applyContext(element, parent, options);
4815
4815
  (0, import_component.applyComponentFromContext)(element, parent, options);
4816
4816
  (0, import_extend.applyExtend)(element, parent, options);
@@ -4821,7 +4821,7 @@ var require_create4 = __commonJS({
4821
4821
  replaceOptions(element, parent, options);
4822
4822
  addCaching(element, parent);
4823
4823
  (0, import_set.addMethods)(element, parent);
4824
- (0, import_state3.createState)(element, parent);
4824
+ (0, import_state2.createState)(element, parent);
4825
4825
  createIfConditionFlag(element, parent);
4826
4826
  if (element.node && ref.__if) {
4827
4827
  return (0, import_render.assignNode)(element, parent, key);
@@ -4845,7 +4845,7 @@ var require_create4 = __commonJS({
4845
4845
  }
4846
4846
  return {};
4847
4847
  }
4848
- if ((0, import_utils25.isString)(key) && key.slice(0, 2 === "__")) {
4848
+ if ((0, import_utils21.isString)(key) && key.slice(0, 2 === "__")) {
4849
4849
  if (ENV2 === "test" || ENV2 === "development") {
4850
4850
  console.warn(key, "seems like to be in __ref");
4851
4851
  }
@@ -4872,7 +4872,7 @@ var require_create4 = __commonJS({
4872
4872
  var redefineParent = (element, parent, key, options) => {
4873
4873
  if (!parent)
4874
4874
  return import_tree.ROOT;
4875
- if ((0, import_utils25.isNode)(parent)) {
4875
+ if ((0, import_utils21.isNode)(parent)) {
4876
4876
  const parentNodeWrapper = { key: ":root", node: parent };
4877
4877
  import_tree.ROOT[`${key}_parent`] = parentNodeWrapper;
4878
4878
  return parentNodeWrapper;
@@ -4886,7 +4886,7 @@ var require_create4 = __commonJS({
4886
4886
  }
4887
4887
  };
4888
4888
  var createKey = (element, parent, key) => {
4889
- return ((0, import_utils25.exec)(key, element) || key || element.key || (0, import_utils25.generateKey)()).toString();
4889
+ return ((0, import_utils21.exec)(key, element) || key || element.key || (0, import_utils21.generateKey)()).toString();
4890
4890
  };
4891
4891
  var addRef = (element, parent) => {
4892
4892
  if (element.__ref)
@@ -4916,7 +4916,7 @@ var require_create4 = __commonJS({
4916
4916
  (0, import_event.triggerEventOn)("render", element, options);
4917
4917
  };
4918
4918
  var checkIfPrimitive = (element) => {
4919
- return (0, import_utils25.is)(element)("string", "number");
4919
+ return (0, import_utils21.is)(element)("string", "number");
4920
4920
  };
4921
4921
  var applyValueAsText = (element, parent, key) => {
4922
4922
  const extendTag = element.extend && element.extend.tag;
@@ -4935,7 +4935,7 @@ var require_create4 = __commonJS({
4935
4935
  };
4936
4936
  var createIfConditionFlag = (element, parent) => {
4937
4937
  const { __ref: ref } = element;
4938
- if ((0, import_utils25.isFunction)(element.if)) {
4938
+ if ((0, import_utils21.isFunction)(element.if)) {
4939
4939
  const ifPassed = element.if(element, element.state);
4940
4940
  if (!ifPassed) {
4941
4941
  const ifFragment = (0, import_render.cacheNode)({ tag: "fragment" });
@@ -5002,9 +5002,9 @@ var require_create4 = __commonJS({
5002
5002
  ref2.__children = [];
5003
5003
  }
5004
5004
  (0, import_set.addMethods)(element, parent);
5005
- (0, import_state3.createState)(element, parent);
5005
+ (0, import_state2.createState)(element, parent);
5006
5006
  const ref = __ref;
5007
- if ((0, import_utils25.isFunction)(element.if)) {
5007
+ if ((0, import_utils21.isFunction)(element.if)) {
5008
5008
  const ifPassed = element.if(element, element.state);
5009
5009
  if (!ifPassed) {
5010
5010
  delete ref.__if;
@@ -5023,7 +5023,7 @@ var require_create4 = __commonJS({
5023
5023
  (0, import_iterate.throughInitialDefine)(element);
5024
5024
  (0, import_iterate.throughInitialExec)(element);
5025
5025
  for (const k in element) {
5026
- if ((0, import_utils25.isUndefined)(element[k]) || (0, import_methods.isMethod)(k) || (0, import_utils25.isObject)(import_mixins.registry[k]) || (0, import_component.isVariant)(k))
5026
+ if ((0, import_utils21.isUndefined)(element[k]) || (0, import_methods.isMethod)(k) || (0, import_utils21.isObject)(import_mixins.registry[k]) || (0, import_component.isVariant)(k))
5027
5027
  continue;
5028
5028
  const hasDefine = element.define && element.define[k];
5029
5029
  const contextHasDefine = element.context && element.context.define && element.context.define[k];
@@ -5031,7 +5031,7 @@ var require_create4 = __commonJS({
5031
5031
  if (import_mixins.registry[k] && !optionsHasDefine) {
5032
5032
  continue;
5033
5033
  } else if (element[k] && !hasDefine && !optionsHasDefine && !contextHasDefine) {
5034
- create2((0, import_utils25.exec)(element[k], element), element, k, options);
5034
+ create2((0, import_utils21.exec)(element[k], element), element, k, options);
5035
5035
  }
5036
5036
  }
5037
5037
  }
@@ -5429,16 +5429,16 @@ var require_cjs9 = __commonJS({
5429
5429
  __export22(types_exports, {
5430
5430
  TYPES: () => TYPES,
5431
5431
  is: () => is,
5432
- isArray: () => isArray62,
5432
+ isArray: () => isArray6,
5433
5433
  isBoolean: () => isBoolean,
5434
5434
  isDefined: () => isDefined2,
5435
5435
  isFunction: () => isFunction22,
5436
- isNot: () => isNot3,
5436
+ isNot: () => isNot2,
5437
5437
  isNull: () => isNull,
5438
5438
  isNumber: () => isNumber2,
5439
5439
  isObject: () => isObject72,
5440
- isObjectLike: () => isObjectLike32,
5441
- isString: () => isString92,
5440
+ isObjectLike: () => isObjectLike3,
5441
+ isString: () => isString9,
5442
5442
  isUndefined: () => isUndefined3
5443
5443
  });
5444
5444
  module22.exports = __toCommonJS22(types_exports);
@@ -5448,32 +5448,32 @@ var require_cjs9 = __commonJS({
5448
5448
  return false;
5449
5449
  return typeof arg === "object" && arg.constructor === Object;
5450
5450
  };
5451
- var isString92 = (arg) => typeof arg === "string";
5451
+ var isString9 = (arg) => typeof arg === "string";
5452
5452
  var isNumber2 = (arg) => typeof arg === "number";
5453
5453
  var isFunction22 = (arg) => typeof arg === "function";
5454
5454
  var isBoolean = (arg) => arg === true || arg === false;
5455
5455
  var isNull = (arg) => arg === null;
5456
- var isArray62 = (arg) => Array.isArray(arg);
5457
- var isObjectLike32 = (arg) => {
5456
+ var isArray6 = (arg) => Array.isArray(arg);
5457
+ var isObjectLike3 = (arg) => {
5458
5458
  if (arg === null)
5459
5459
  return false;
5460
5460
  return typeof arg === "object";
5461
5461
  };
5462
5462
  var isDefined2 = (arg) => {
5463
- return isObject72(arg) || isObjectLike32(arg) || isString92(arg) || isNumber2(arg) || isFunction22(arg) || isArray62(arg) || isObjectLike32(arg) || isBoolean(arg) || isNull(arg);
5463
+ return isObject72(arg) || isObjectLike3(arg) || isString9(arg) || isNumber2(arg) || isFunction22(arg) || isArray6(arg) || isObjectLike3(arg) || isBoolean(arg) || isNull(arg);
5464
5464
  };
5465
5465
  var isUndefined3 = (arg) => {
5466
5466
  return arg === void 0;
5467
5467
  };
5468
5468
  var TYPES = {
5469
5469
  boolean: isBoolean,
5470
- array: isArray62,
5470
+ array: isArray6,
5471
5471
  object: isObject72,
5472
- string: isString92,
5472
+ string: isString9,
5473
5473
  number: isNumber2,
5474
5474
  null: isNull,
5475
5475
  function: isFunction22,
5476
- objectLike: isObjectLike32,
5476
+ objectLike: isObjectLike3,
5477
5477
  node: import_node.isNode,
5478
5478
  htmlElement: import_node.isHtmlElement,
5479
5479
  defined: isDefined2
@@ -5483,7 +5483,7 @@ var require_cjs9 = __commonJS({
5483
5483
  return args.map((val) => TYPES[val](arg)).filter((v) => v).length > 0;
5484
5484
  };
5485
5485
  };
5486
- var isNot3 = (arg) => {
5486
+ var isNot2 = (arg) => {
5487
5487
  return (...args) => {
5488
5488
  return args.map((val) => TYPES[val](arg)).filter((v) => v).length === 0;
5489
5489
  };
@@ -5674,10 +5674,10 @@ var require_cjs9 = __commonJS({
5674
5674
  deepMerge: () => deepMerge32,
5675
5675
  deepStringify: () => deepStringify,
5676
5676
  detachFunctionsFromObject: () => detachFunctionsFromObject,
5677
- diff: () => diff3,
5677
+ diff: () => diff2,
5678
5678
  diffArrays: () => diffArrays,
5679
5679
  diffObjects: () => diffObjects,
5680
- exec: () => exec5,
5680
+ exec: () => exec4,
5681
5681
  flattenRecursive: () => flattenRecursive,
5682
5682
  isEqualDeep: () => isEqualDeep2,
5683
5683
  map: () => map2,
@@ -5687,7 +5687,7 @@ var require_cjs9 = __commonJS({
5687
5687
  objectToString: () => objectToString,
5688
5688
  overwrite: () => overwrite,
5689
5689
  overwriteDeep: () => overwriteDeep2,
5690
- overwriteShallow: () => overwriteShallow3,
5690
+ overwriteShallow: () => overwriteShallow2,
5691
5691
  removeFromObject: () => removeFromObject,
5692
5692
  stringToObject: () => stringToObject
5693
5693
  });
@@ -5696,7 +5696,7 @@ var require_cjs9 = __commonJS({
5696
5696
  var import_types = require_types2();
5697
5697
  var import_array = require_array2();
5698
5698
  var import_string = require_string2();
5699
- var exec5 = (param, element, state, context) => {
5699
+ var exec4 = (param, element, state, context) => {
5700
5700
  if ((0, import_types.isFunction)(param)) {
5701
5701
  return param(
5702
5702
  element,
@@ -5708,7 +5708,7 @@ var require_cjs9 = __commonJS({
5708
5708
  };
5709
5709
  var map2 = (obj, extention, element) => {
5710
5710
  for (const e in extention) {
5711
- obj[e] = exec5(extention[e], element);
5711
+ obj[e] = exec4(extention[e], element);
5712
5712
  }
5713
5713
  };
5714
5714
  var merge5 = (element, obj, excludeFrom = []) => {
@@ -5943,7 +5943,7 @@ var require_cjs9 = __commonJS({
5943
5943
  const objToDiffProp = objToDiff[e];
5944
5944
  if ((0, import_types.isObject)(originalProp) && (0, import_types.isObject)(objToDiffProp)) {
5945
5945
  cache2[e] = {};
5946
- diff3(originalProp, objToDiffProp, cache2[e]);
5946
+ diff2(originalProp, objToDiffProp, cache2[e]);
5947
5947
  } else if (objToDiffProp !== void 0) {
5948
5948
  cache2[e] = objToDiffProp;
5949
5949
  }
@@ -5956,7 +5956,7 @@ var require_cjs9 = __commonJS({
5956
5956
  } else {
5957
5957
  const diffArr = [];
5958
5958
  for (let i2 = 0; i2 < original.length; i2++) {
5959
- const diffObj = diff3(original[i2], objToDiff[i2]);
5959
+ const diffObj = diff2(original[i2], objToDiff[i2]);
5960
5960
  if (Object.keys(diffObj).length > 0) {
5961
5961
  diffArr.push(diffObj);
5962
5962
  }
@@ -5967,7 +5967,7 @@ var require_cjs9 = __commonJS({
5967
5967
  }
5968
5968
  return cache2;
5969
5969
  };
5970
- var diff3 = (original, objToDiff, cache2 = {}) => {
5970
+ var diff2 = (original, objToDiff, cache2 = {}) => {
5971
5971
  if ((0, import_types.isArray)(original) && (0, import_types.isArray)(objToDiff)) {
5972
5972
  cache2 = [];
5973
5973
  diffArrays(original, objToDiff, cache2);
@@ -5991,7 +5991,7 @@ var require_cjs9 = __commonJS({
5991
5991
  }
5992
5992
  return changes;
5993
5993
  };
5994
- var overwriteShallow3 = (obj, params, excludeFrom = []) => {
5994
+ var overwriteShallow2 = (obj, params, excludeFrom = []) => {
5995
5995
  for (const e in params) {
5996
5996
  if (excludeFrom.includes(e) || e.startsWith("__"))
5997
5997
  continue;
@@ -6419,7 +6419,7 @@ var require_cjs9 = __commonJS({
6419
6419
  BREAKPOINTS: () => BREAKPOINTS,
6420
6420
  CASES: () => CASES,
6421
6421
  COLOR: () => COLOR3,
6422
- CONFIG: () => CONFIG4,
6422
+ CONFIG: () => CONFIG3,
6423
6423
  CSS_VARS: () => CSS_VARS,
6424
6424
  DEVICES: () => DEVICES,
6425
6425
  DOCUMENT: () => DOCUMENT,
@@ -6460,27 +6460,27 @@ var require_cjs9 = __commonJS({
6460
6460
  generateSequence: () => generateSequence,
6461
6461
  generateSprite: () => generateSprite,
6462
6462
  generateSubSequence: () => generateSubSequence,
6463
- getActiveConfig: () => getActiveConfig4,
6464
- getColor: () => getColor3,
6463
+ getActiveConfig: () => getActiveConfig3,
6464
+ getColor: () => getColor2,
6465
6465
  getColorShade: () => getColorShade,
6466
6466
  getDefaultOrFirstKey: () => getDefaultOrFirstKey,
6467
6467
  getFontFace: () => getFontFace,
6468
6468
  getFontFaceEach: () => getFontFaceEach,
6469
6469
  getFontFaceEachString: () => getFontFaceEachString,
6470
6470
  getFontFaceString: () => getFontFaceString2,
6471
- getFontFamily: () => getFontFamily3,
6471
+ getFontFamily: () => getFontFamily2,
6472
6472
  getFontFormat: () => getFontFormat,
6473
- getFontSizeByKey: () => getFontSizeByKey3,
6474
- getMediaColor: () => getMediaColor5,
6475
- getMediaTheme: () => getMediaTheme3,
6473
+ getFontSizeByKey: () => getFontSizeByKey2,
6474
+ getMediaColor: () => getMediaColor3,
6475
+ getMediaTheme: () => getMediaTheme2,
6476
6476
  getRgbTone: () => getRgbTone,
6477
6477
  getSequenceValue: () => getSequenceValue,
6478
6478
  getSequenceValuePropertyPair: () => getSequenceValuePropertyPair,
6479
- getSpacingBasedOnRatio: () => getSpacingBasedOnRatio7,
6480
- getSpacingByKey: () => getSpacingByKey5,
6479
+ getSpacingBasedOnRatio: () => getSpacingBasedOnRatio4,
6480
+ getSpacingByKey: () => getSpacingByKey3,
6481
6481
  getTheme: () => getTheme,
6482
- getTimingByKey: () => getTimingByKey3,
6483
- getTimingFunction: () => getTimingFunction5,
6482
+ getTimingByKey: () => getTimingByKey2,
6483
+ getTimingFunction: () => getTimingFunction3,
6484
6484
  hexToRgb: () => hexToRgb,
6485
6485
  hexToRgbArray: () => hexToRgbArray,
6486
6486
  hexToRgba: () => hexToRgba,
@@ -6513,14 +6513,14 @@ var require_cjs9 = __commonJS({
6513
6513
  setTheme: () => setTheme,
6514
6514
  setValue: () => setValue,
6515
6515
  setVariables: () => setVariables,
6516
- splitTransition: () => splitTransition3,
6517
- transformBackgroundImage: () => transformBackgroundImage3,
6518
- transformBorder: () => transformBorder3,
6519
- transformDuration: () => transformDuration3,
6520
- transformShadow: () => transformShadow3,
6521
- transformTextStroke: () => transformTextStroke3,
6516
+ splitTransition: () => splitTransition2,
6517
+ transformBackgroundImage: () => transformBackgroundImage2,
6518
+ transformBorder: () => transformBorder2,
6519
+ transformDuration: () => transformDuration2,
6520
+ transformShadow: () => transformShadow2,
6521
+ transformTextStroke: () => transformTextStroke2,
6522
6522
  transformTransition: () => transformTransition,
6523
- transfromGap: () => transfromGap3
6523
+ transfromGap: () => transfromGap2
6524
6524
  });
6525
6525
  module2.exports = __toCommonJS2(src_exports2);
6526
6526
  var utils_exports = {};
@@ -6563,7 +6563,7 @@ var require_cjs9 = __commonJS({
6563
6563
  setVariables: () => setVariables
6564
6564
  });
6565
6565
  var import_globals2 = __toESM2(require_cjs13(), 1);
6566
- var import_utils25 = __toESM2(require_cjs22(), 1);
6566
+ var import_utils21 = __toESM2(require_cjs22(), 1);
6567
6567
  var ENV2 = "development";
6568
6568
  var colorStringToRgbaArray = (color) => {
6569
6569
  if (color === "")
@@ -6691,9 +6691,9 @@ var require_cjs9 = __commonJS({
6691
6691
  return `rgba(${arr})`;
6692
6692
  };
6693
6693
  var getRgbTone = (rgb, tone) => {
6694
- if ((0, import_utils25.isString)(rgb))
6694
+ if ((0, import_utils21.isString)(rgb))
6695
6695
  rgb = rgb.split(", ").map((v) => parseFloat(v));
6696
- if ((0, import_utils25.isNumber)(tone))
6696
+ if ((0, import_utils21.isNumber)(tone))
6697
6697
  tone += "";
6698
6698
  const toHex = rgbArrayToHex(rgb);
6699
6699
  const abs2 = tone.slice(0, 1);
@@ -6758,7 +6758,7 @@ var require_cjs9 = __commonJS({
6758
6758
  };
6759
6759
  var import_utils52 = __toESM2(require_cjs22(), 1);
6760
6760
  var import_utils32 = __toESM2(require_cjs22());
6761
- var import_utils26 = __toESM2(require_cjs22());
6761
+ var import_utils22 = __toESM2(require_cjs22());
6762
6762
  var toCamelCase2 = (str) => {
6763
6763
  return str.replace(/(?:^\w|[A-Z]|\b\w)/g, function(word, index) {
6764
6764
  return index === 0 ? word.toLowerCase() : word.toUpperCase();
@@ -6939,17 +6939,17 @@ var require_cjs9 = __commonJS({
6939
6939
  var TEMPLATES = {};
6940
6940
  var RESET = {};
6941
6941
  var CSS_VARS = {};
6942
- var CONFIG4 = {
6942
+ var CONFIG3 = {
6943
6943
  verbose: false,
6944
6944
  useVariable: true,
6945
6945
  useReset: true,
6946
6946
  CSS_VARS,
6947
6947
  ...defaultConfig_exports
6948
6948
  };
6949
- var cachedConfig = (0, import_utils42.deepClone)(CONFIG4);
6949
+ var cachedConfig = (0, import_utils42.deepClone)(CONFIG3);
6950
6950
  var FACTORY = {
6951
6951
  active: "0",
6952
- 0: CONFIG4
6952
+ 0: CONFIG3
6953
6953
  };
6954
6954
  var activateConfig = (def) => {
6955
6955
  if ((0, import_utils42.isDefined)(def)) {
@@ -6957,7 +6957,7 @@ var require_cjs9 = __commonJS({
6957
6957
  }
6958
6958
  return FACTORY[def || FACTORY.active];
6959
6959
  };
6960
- var getActiveConfig4 = (def) => {
6960
+ var getActiveConfig3 = (def) => {
6961
6961
  return FACTORY[def || FACTORY.active];
6962
6962
  };
6963
6963
  var setActiveConfig = (newConfig) => {
@@ -7011,8 +7011,8 @@ var require_cjs9 = __commonJS({
7011
7011
  var generateSubSequence = (props4, sequenceProps) => {
7012
7012
  const { key, base, value: value2, ratio, variable, index } = props4;
7013
7013
  const next2 = value2 * ratio;
7014
- const diff3 = next2 - value2;
7015
- const smallscale = diff3 / 1.618;
7014
+ const diff2 = next2 - value2;
7015
+ const smallscale = diff2 / 1.618;
7016
7016
  const valueRounded = ~~value2;
7017
7017
  const nextRounded = ~~next2;
7018
7018
  const diffRounded = nextRounded - valueRounded;
@@ -7066,7 +7066,7 @@ var require_cjs9 = __commonJS({
7066
7066
  return sequenceProps;
7067
7067
  };
7068
7068
  var getSequenceValue = (value2 = "A", sequenceProps) => {
7069
- const CONFIG22 = getActiveConfig4();
7069
+ const CONFIG22 = getActiveConfig3();
7070
7070
  const { UNIT: UNIT2 } = CONFIG22;
7071
7071
  const {
7072
7072
  sequence,
@@ -7136,7 +7136,7 @@ var require_cjs9 = __commonJS({
7136
7136
  };
7137
7137
  var import_utils72 = __toESM2(require_cjs22(), 1);
7138
7138
  var setVariables = (result, key) => {
7139
- const CONFIG22 = getActiveConfig4();
7139
+ const CONFIG22 = getActiveConfig3();
7140
7140
  const { CSS_VARS: CSS_VARS2 } = CONFIG22;
7141
7141
  if ((0, import_utils72.isObjectLike)(result.value)) {
7142
7142
  } else {
@@ -7144,7 +7144,7 @@ var require_cjs9 = __commonJS({
7144
7144
  }
7145
7145
  };
7146
7146
  var applySequenceVars = (props4, mediaName, options = {}) => {
7147
- const CONFIG22 = getActiveConfig4();
7147
+ const CONFIG22 = getActiveConfig3();
7148
7148
  const { UNIT: UNIT2, MEDIA: MEDIA2, TIMING: TIMING2, CSS_VARS: CSS_VARS2 } = CONFIG22;
7149
7149
  const unit = props4.unit || UNIT2.default;
7150
7150
  const { sequence, scales } = props4;
@@ -7174,7 +7174,7 @@ var require_cjs9 = __commonJS({
7174
7174
  };
7175
7175
  var import_utils82 = __toESM2(require_cjs22(), 1);
7176
7176
  var generateSprite = (icons) => {
7177
- const CONFIG22 = getActiveConfig4();
7177
+ const CONFIG22 = getActiveConfig3();
7178
7178
  let sprite = "";
7179
7179
  for (const key in icons) {
7180
7180
  if (CONFIG22.__svg_cache[key])
@@ -7239,16 +7239,16 @@ var require_cjs9 = __commonJS({
7239
7239
  applySpacingSequence: () => applySpacingSequence,
7240
7240
  applyTimingSequence: () => applyTimingSequence,
7241
7241
  applyTypographySequence: () => applyTypographySequence,
7242
- getColor: () => getColor3,
7243
- getFontFamily: () => getFontFamily3,
7244
- getFontSizeByKey: () => getFontSizeByKey3,
7245
- getMediaColor: () => getMediaColor5,
7246
- getMediaTheme: () => getMediaTheme3,
7247
- getSpacingBasedOnRatio: () => getSpacingBasedOnRatio7,
7248
- getSpacingByKey: () => getSpacingByKey5,
7242
+ getColor: () => getColor2,
7243
+ getFontFamily: () => getFontFamily2,
7244
+ getFontSizeByKey: () => getFontSizeByKey2,
7245
+ getMediaColor: () => getMediaColor3,
7246
+ getMediaTheme: () => getMediaTheme2,
7247
+ getSpacingBasedOnRatio: () => getSpacingBasedOnRatio4,
7248
+ getSpacingByKey: () => getSpacingByKey3,
7249
7249
  getTheme: () => getTheme,
7250
- getTimingByKey: () => getTimingByKey3,
7251
- getTimingFunction: () => getTimingFunction5,
7250
+ getTimingByKey: () => getTimingByKey2,
7251
+ getTimingFunction: () => getTimingFunction3,
7252
7252
  runThroughMedia: () => runThroughMedia,
7253
7253
  setColor: () => setColor,
7254
7254
  setFont: () => setFont,
@@ -7260,8 +7260,8 @@ var require_cjs9 = __commonJS({
7260
7260
  setTheme: () => setTheme
7261
7261
  });
7262
7262
  var import_utils92 = __toESM2(require_cjs22(), 1);
7263
- var getColor3 = (value2, key, config) => {
7264
- const CONFIG22 = config || getActiveConfig4();
7263
+ var getColor2 = (value2, key, config) => {
7264
+ const CONFIG22 = config || getActiveConfig3();
7265
7265
  if (!(0, import_utils92.isString)(value2)) {
7266
7266
  if (CONFIG22.verbose)
7267
7267
  console.warn(value2, "- type for color is not valid");
@@ -7299,8 +7299,8 @@ var require_cjs9 = __commonJS({
7299
7299
  return `rgba(${rgb}, ${alpha})`;
7300
7300
  return CONFIG22.useVariable ? `var(${val.var})` : `rgb(${rgb})`;
7301
7301
  };
7302
- var getMediaColor5 = (value2, globalTheme, config) => {
7303
- const CONFIG22 = config || getActiveConfig4();
7302
+ var getMediaColor3 = (value2, globalTheme, config) => {
7303
+ const CONFIG22 = config || getActiveConfig3();
7304
7304
  if (!globalTheme)
7305
7305
  globalTheme = CONFIG22.globalTheme;
7306
7306
  if (!(0, import_utils92.isString)(value2)) {
@@ -7315,16 +7315,16 @@ var require_cjs9 = __commonJS({
7315
7315
  const val = COLOR22[name] || GRADIENT22[name];
7316
7316
  const isObj = (0, import_utils92.isObject)(val);
7317
7317
  if (isObj && val.value)
7318
- return getColor3(value2, `@${globalTheme}`, config);
7318
+ return getColor2(value2, `@${globalTheme}`, config);
7319
7319
  else if (isObj) {
7320
7320
  if (globalTheme)
7321
- return getColor3(value2, `@${globalTheme}`, config);
7321
+ return getColor2(value2, `@${globalTheme}`, config);
7322
7322
  else {
7323
7323
  const obj = {};
7324
7324
  for (const mediaName in val) {
7325
7325
  const query = CONFIG22.MEDIA[mediaName.slice(1)];
7326
7326
  const media = `@media screen and ${query}`;
7327
- obj[media] = getColor3(value2, mediaName, config);
7327
+ obj[media] = getColor2(value2, mediaName, config);
7328
7328
  }
7329
7329
  return obj;
7330
7330
  }
@@ -7335,9 +7335,9 @@ var require_cjs9 = __commonJS({
7335
7335
  }
7336
7336
  };
7337
7337
  var setColor = (val, key, suffix) => {
7338
- const CONFIG22 = getActiveConfig4();
7338
+ const CONFIG22 = getActiveConfig3();
7339
7339
  if ((0, import_utils92.isString)(val) && val.slice(0, 2) === "--")
7340
- val = getColor3(val.slice(2));
7340
+ val = getColor2(val.slice(2));
7341
7341
  if ((0, import_utils92.isArray)(val)) {
7342
7342
  return {
7343
7343
  "@light": setColor(val[0], key, "light"),
@@ -7366,9 +7366,9 @@ var require_cjs9 = __commonJS({
7366
7366
  };
7367
7367
  };
7368
7368
  var setGradient = (val, key, suffix) => {
7369
- const CONFIG22 = getActiveConfig4();
7369
+ const CONFIG22 = getActiveConfig3();
7370
7370
  if ((0, import_utils92.isString)(val) && val.slice(0, 2) === "--")
7371
- val = getColor3(val.slice(2));
7371
+ val = getColor2(val.slice(2));
7372
7372
  if ((0, import_utils92.isArray)(val)) {
7373
7373
  return {
7374
7374
  "@light": setGradient(val[0], key, "light"),
@@ -7398,7 +7398,7 @@ var require_cjs9 = __commonJS({
7398
7398
  keys.map((key) => {
7399
7399
  const conditions = ["color", "Color", "background", "border"];
7400
7400
  const isColor = conditions.some((k) => key.includes(k));
7401
- return value2[key] = isColor ? getColor3(theme[key]) : theme[key];
7401
+ return value2[key] = isColor ? getColor2(theme[key]) : theme[key];
7402
7402
  });
7403
7403
  return value2;
7404
7404
  };
@@ -7409,9 +7409,9 @@ var require_cjs9 = __commonJS({
7409
7409
  return theme.value;
7410
7410
  };
7411
7411
  var getTheme = (value2, modifier) => {
7412
- const CONFIG22 = getActiveConfig4();
7412
+ const CONFIG22 = getActiveConfig3();
7413
7413
  if (CONFIG22.useVariable)
7414
- return getMediaTheme3(value2, modifier);
7414
+ return getMediaTheme2(value2, modifier);
7415
7415
  const { THEME: THEME22 } = CONFIG22;
7416
7416
  if ((0, import_utils112.isString)(value2)) {
7417
7417
  const [theme, subtheme] = value2.split(" ");
@@ -7488,7 +7488,7 @@ var require_cjs9 = __commonJS({
7488
7488
  return theme;
7489
7489
  };
7490
7490
  var setHelpers = (theme, value2) => {
7491
- const CONFIG22 = getActiveConfig4();
7491
+ const CONFIG22 = getActiveConfig3();
7492
7492
  const { helpers } = theme;
7493
7493
  if (!helpers)
7494
7494
  return;
@@ -7504,7 +7504,7 @@ var require_cjs9 = __commonJS({
7504
7504
  return theme;
7505
7505
  };
7506
7506
  var setTheme = (val, key) => {
7507
- const CONFIG22 = getActiveConfig4();
7507
+ const CONFIG22 = getActiveConfig3();
7508
7508
  if (CONFIG22.useVariable)
7509
7509
  return setMediaTheme(val, key);
7510
7510
  const { state, media, helpers } = val;
@@ -7516,7 +7516,7 @@ var require_cjs9 = __commonJS({
7516
7516
  return { var: CSSvar, value: value2, state, media, helpers };
7517
7517
  };
7518
7518
  var setMediaTheme = (val, key, suffix, prefers) => {
7519
- const CONFIG22 = getActiveConfig4();
7519
+ const CONFIG22 = getActiveConfig3();
7520
7520
  const { CSS_VARS: CSS_VARS2 } = CONFIG22;
7521
7521
  const theme = { value: val };
7522
7522
  if ((0, import_utils112.isObjectLike)(val)) {
@@ -7527,7 +7527,7 @@ var require_cjs9 = __commonJS({
7527
7527
  const hasPrefers = symb === "@" && param;
7528
7528
  theme[param] = setMediaTheme(value2, key, param, prefers || hasPrefers);
7529
7529
  } else {
7530
- const color = getColor3(value2, prefers);
7530
+ const color = getColor2(value2, prefers);
7531
7531
  const metaSuffixes = [...new Set([prefers, suffix].filter((v) => v).map((v) => v.slice(1)))];
7532
7532
  const varmetaSuffixName = metaSuffixes.length ? "-" + metaSuffixes.join("-") : "";
7533
7533
  const CSSVar = `--theme-${key}${varmetaSuffixName}-${param}`;
@@ -7550,13 +7550,13 @@ var require_cjs9 = __commonJS({
7550
7550
  if ((0, import_utils112.isString)(val) && val.slice(0, 2) === "--") {
7551
7551
  const { THEME: THEME22 } = CONFIG22;
7552
7552
  const value2 = THEME22[val.slice(2)];
7553
- const getReferenced = getMediaTheme3(value2, prefers);
7553
+ const getReferenced = getMediaTheme2(value2, prefers);
7554
7554
  return getReferenced;
7555
7555
  }
7556
7556
  return theme;
7557
7557
  };
7558
7558
  var recursiveTheme = (val) => {
7559
- const CONFIG22 = getActiveConfig4();
7559
+ const CONFIG22 = getActiveConfig3();
7560
7560
  const obj = {};
7561
7561
  for (const param in val) {
7562
7562
  const symb = param.slice(0, 1);
@@ -7587,10 +7587,10 @@ var require_cjs9 = __commonJS({
7587
7587
  else
7588
7588
  return val;
7589
7589
  };
7590
- var getMediaTheme3 = (val, mod) => {
7591
- const CONFIG22 = getActiveConfig4();
7590
+ var getMediaTheme2 = (val, mod) => {
7591
+ const CONFIG22 = getActiveConfig3();
7592
7592
  if ((0, import_utils112.isString)(val) && val.slice(0, 2) === "--")
7593
- val = getMediaTheme3(val.slice(2));
7593
+ val = getMediaTheme2(val.slice(2));
7594
7594
  if (!val || !(0, import_utils112.isString)(val)) {
7595
7595
  if (CONFIG22.verbose)
7596
7596
  console.warn(val, "- theme is not string");
@@ -7610,13 +7610,13 @@ var require_cjs9 = __commonJS({
7610
7610
  const fontFace = val[0] ? getFontFaceEach(key, val) : setCustomFontMedia(key, val.url);
7611
7611
  return { var: CSSvar, value: val, fontFace };
7612
7612
  };
7613
- var getFontFamily3 = (key, factory) => {
7614
- const CONFIG22 = getActiveConfig4();
7613
+ var getFontFamily2 = (key, factory) => {
7614
+ const CONFIG22 = getActiveConfig3();
7615
7615
  const { FONT_FAMILY: FONT_FAMILY22 } = CONFIG22;
7616
7616
  return getDefaultOrFirstKey(factory || FONT_FAMILY22, key);
7617
7617
  };
7618
7618
  var setFontFamily = (val, key) => {
7619
- const CONFIG22 = getActiveConfig4();
7619
+ const CONFIG22 = getActiveConfig3();
7620
7620
  const { FONT_FAMILY: FONT_FAMILY22, FONT_FAMILY_TYPES: FONT_FAMILY_TYPES2 } = CONFIG22;
7621
7621
  let { value: value2, type } = val;
7622
7622
  if (val.isDefault)
@@ -7629,7 +7629,7 @@ var require_cjs9 = __commonJS({
7629
7629
  };
7630
7630
  var import_utils152 = __toESM2(require_cjs22(), 1);
7631
7631
  var runThroughMedia = (props4) => {
7632
- const CONFIG22 = getActiveConfig4();
7632
+ const CONFIG22 = getActiveConfig3();
7633
7633
  const { TYPOGRAPHY: TYPOGRAPHY22, MEDIA: MEDIA2 } = CONFIG22;
7634
7634
  for (const prop in props4) {
7635
7635
  const mediaProps = props4[prop];
@@ -7659,7 +7659,7 @@ var require_cjs9 = __commonJS({
7659
7659
  }
7660
7660
  };
7661
7661
  var applyHeadings = (props4) => {
7662
- const CONFIG22 = getActiveConfig4();
7662
+ const CONFIG22 = getActiveConfig3();
7663
7663
  if (props4.h1Matches) {
7664
7664
  const unit = props4.unit;
7665
7665
  const HEADINGS = findHeadings(props4);
@@ -7678,15 +7678,15 @@ var require_cjs9 = __commonJS({
7678
7678
  }
7679
7679
  };
7680
7680
  var applyTypographySequence = () => {
7681
- const CONFIG22 = getActiveConfig4();
7681
+ const CONFIG22 = getActiveConfig3();
7682
7682
  const { TYPOGRAPHY: TYPOGRAPHY22 } = CONFIG22;
7683
7683
  generateSequence(TYPOGRAPHY22);
7684
7684
  applyHeadings(TYPOGRAPHY22);
7685
7685
  applySequenceVars(TYPOGRAPHY22);
7686
7686
  runThroughMedia(TYPOGRAPHY22);
7687
7687
  };
7688
- var getFontSizeByKey3 = (value2) => {
7689
- const CONFIG22 = getActiveConfig4();
7688
+ var getFontSizeByKey2 = (value2) => {
7689
+ const CONFIG22 = getActiveConfig3();
7690
7690
  const { TYPOGRAPHY: TYPOGRAPHY22 } = CONFIG22;
7691
7691
  return getSequenceValuePropertyPair(
7692
7692
  value2,
@@ -7720,21 +7720,21 @@ var require_cjs9 = __commonJS({
7720
7720
  }
7721
7721
  };
7722
7722
  var applySpacingSequence = () => {
7723
- const CONFIG22 = getActiveConfig4();
7723
+ const CONFIG22 = getActiveConfig3();
7724
7724
  const { SPACING: SPACING22 } = CONFIG22;
7725
7725
  generateSequence(SPACING22);
7726
7726
  applySequenceVars(SPACING22);
7727
7727
  runThroughMedia2(SPACING22);
7728
7728
  };
7729
7729
  var getSequence = (sequenceProps) => {
7730
- const CONFIG22 = getActiveConfig4();
7730
+ const CONFIG22 = getActiveConfig3();
7731
7731
  const { SPACING: SPACING22 } = CONFIG22;
7732
7732
  if (!sequenceProps)
7733
7733
  return SPACING22;
7734
7734
  const hasGenerated = Object.keys(sequenceProps.sequence).length > 0;
7735
7735
  return hasGenerated ? sequenceProps : generateSequence(sequenceProps);
7736
7736
  };
7737
- var getSpacingByKey5 = (value2, propertyName = "padding", sequenceProps) => {
7737
+ var getSpacingByKey3 = (value2, propertyName = "padding", sequenceProps) => {
7738
7738
  const sequence = getSequence(sequenceProps);
7739
7739
  const stack = arrayzeValue2(value2);
7740
7740
  if (!stack)
@@ -7766,8 +7766,8 @@ var require_cjs9 = __commonJS({
7766
7766
  sequence
7767
7767
  );
7768
7768
  };
7769
- var getSpacingBasedOnRatio7 = (props4, propertyName, val) => {
7770
- const CONFIG22 = getActiveConfig4();
7769
+ var getSpacingBasedOnRatio4 = (props4, propertyName, val) => {
7770
+ const CONFIG22 = getActiveConfig3();
7771
7771
  const { SPACING: SPACING22 } = CONFIG22;
7772
7772
  const { spacingRatio, unit } = props4;
7773
7773
  const value2 = val || props4[propertyName];
@@ -7792,23 +7792,23 @@ var require_cjs9 = __commonJS({
7792
7792
  });
7793
7793
  }
7794
7794
  applySequenceVars(sequenceProps, null, { useDefault: false });
7795
- return getSpacingByKey5(value2, propertyName, sequenceProps);
7795
+ return getSpacingByKey3(value2, propertyName, sequenceProps);
7796
7796
  }
7797
- return getSpacingByKey5(value2, propertyName);
7797
+ return getSpacingByKey3(value2, propertyName);
7798
7798
  };
7799
7799
  var applyTimingSequence = () => {
7800
- const CONFIG22 = getActiveConfig4();
7800
+ const CONFIG22 = getActiveConfig3();
7801
7801
  const { TIMING: TIMING2 } = CONFIG22;
7802
7802
  generateSequence(TIMING2);
7803
7803
  applySequenceVars(TIMING2);
7804
7804
  };
7805
- var getTimingFunction5 = (value2) => {
7806
- const CONFIG22 = getActiveConfig4();
7805
+ var getTimingFunction3 = (value2) => {
7806
+ const CONFIG22 = getActiveConfig3();
7807
7807
  const { TIMING: TIMING2 } = CONFIG22;
7808
7808
  return TIMING2[value2] || TIMING2[toCamelCase2(value2)] || value2;
7809
7809
  };
7810
- var getTimingByKey3 = (value2, property = "timing") => {
7811
- const CONFIG22 = getActiveConfig4();
7810
+ var getTimingByKey2 = (value2, property = "timing") => {
7811
+ const CONFIG22 = getActiveConfig3();
7812
7812
  const { TIMING: TIMING2 } = CONFIG22;
7813
7813
  return getSequenceValuePropertyPair(
7814
7814
  value2,
@@ -7818,7 +7818,7 @@ var require_cjs9 = __commonJS({
7818
7818
  };
7819
7819
  var import_utils222 = __toESM2(require_cjs22(), 1);
7820
7820
  var applyDocument = () => {
7821
- const CONFIG22 = getActiveConfig4();
7821
+ const CONFIG22 = getActiveConfig3();
7822
7822
  const { DOCUMENT: DOCUMENT2, FONT_FAMILY: FONT_FAMILY22, THEME: THEME22, TYPOGRAPHY: TYPOGRAPHY22 } = CONFIG22;
7823
7823
  return (0, import_utils222.merge)(DOCUMENT2, {
7824
7824
  theme: THEME22.document,
@@ -7832,7 +7832,7 @@ var require_cjs9 = __commonJS({
7832
7832
  document: import_globals22.document
7833
7833
  };
7834
7834
  var setSVG = (val, key) => {
7835
- const CONFIG22 = getActiveConfig4();
7835
+ const CONFIG22 = getActiveConfig3();
7836
7836
  if (!val) {
7837
7837
  if (CONFIG22.verbose)
7838
7838
  console.warn("setSVG: val is not defined", key);
@@ -7844,21 +7844,21 @@ var require_cjs9 = __commonJS({
7844
7844
  return val;
7845
7845
  };
7846
7846
  var appendSVGSprite2 = (LIBRARY, options = DEF_OPTIONS) => {
7847
- const CONFIG22 = getActiveConfig4();
7847
+ const CONFIG22 = getActiveConfig3();
7848
7848
  const lib = Object.keys(LIBRARY).length ? {} : CONFIG22.SVG;
7849
7849
  for (const key in LIBRARY)
7850
7850
  lib[key] = CONFIG22.SVG[key];
7851
7851
  appendSVG(lib, options);
7852
7852
  };
7853
7853
  var setIcon = (val, key) => {
7854
- const CONFIG22 = getActiveConfig4();
7854
+ const CONFIG22 = getActiveConfig3();
7855
7855
  if (CONFIG22.useIconSprite) {
7856
7856
  return setSVG(val, key);
7857
7857
  }
7858
7858
  return val;
7859
7859
  };
7860
7860
  var appendIconsSprite2 = (LIBRARY, options = DEF_OPTIONS) => {
7861
- const CONFIG22 = getActiveConfig4();
7861
+ const CONFIG22 = getActiveConfig3();
7862
7862
  const lib = Object.keys(LIBRARY).length ? {} : CONFIG22.ICONS;
7863
7863
  for (const key in LIBRARY)
7864
7864
  lib[key] = CONFIG22.ICONS[key];
@@ -7878,7 +7878,7 @@ var require_cjs9 = __commonJS({
7878
7878
  return svgElem;
7879
7879
  };
7880
7880
  var appendSVG = (lib, options = DEF_OPTIONS) => {
7881
- const CONFIG22 = getActiveConfig4();
7881
+ const CONFIG22 = getActiveConfig3();
7882
7882
  const doc = options.document || import_globals22.document;
7883
7883
  if (!doc || !doc.documentElement) {
7884
7884
  if (CONFIG22.verbose) {
@@ -7900,16 +7900,16 @@ var require_cjs9 = __commonJS({
7900
7900
  }
7901
7901
  }
7902
7902
  };
7903
- var import_utils252 = __toESM2(require_cjs22(), 1);
7903
+ var import_utils25 = __toESM2(require_cjs22(), 1);
7904
7904
  var applyReset = (reset = {}) => {
7905
- const CONFIG22 = getActiveConfig4();
7905
+ const CONFIG22 = getActiveConfig3();
7906
7906
  const { RESET: RESET2, TYPOGRAPHY: TYPOGRAPHY22, DOCUMENT: DOCUMENT2 } = CONFIG22;
7907
7907
  if (RESET2) {
7908
7908
  if (RESET2[":root"]) {
7909
7909
  const configReset = RESET2;
7910
7910
  const configTemplates = TYPOGRAPHY22.templates;
7911
7911
  configReset.body = {
7912
- ...CONFIG22.useDocumentTheme ? getMediaTheme3("document", `@${CONFIG22.globalTheme}`) : {},
7912
+ ...CONFIG22.useDocumentTheme ? getMediaTheme2("document", `@${CONFIG22.globalTheme}`) : {},
7913
7913
  ...configTemplates.body
7914
7914
  };
7915
7915
  configReset.h1 = configTemplates.h1;
@@ -7920,10 +7920,10 @@ var require_cjs9 = __commonJS({
7920
7920
  configReset.h6 = configTemplates.h6;
7921
7921
  }
7922
7922
  const { body, ...templates } = TYPOGRAPHY22.templates;
7923
- const globalTheme = CONFIG22.useDocumentTheme ? getMediaTheme3("document", `@${CONFIG22.globalTheme}`) : {};
7923
+ const globalTheme = CONFIG22.useDocumentTheme ? getMediaTheme2("document", `@${CONFIG22.globalTheme}`) : {};
7924
7924
  if (RESET2.html)
7925
- (0, import_utils252.overwriteDeep)(RESET2.html, globalTheme);
7926
- return (0, import_utils252.deepMerge)((0, import_utils252.merge)(RESET2, reset), {
7925
+ (0, import_utils25.overwriteDeep)(RESET2.html, globalTheme);
7926
+ return (0, import_utils25.deepMerge)((0, import_utils25.merge)(RESET2, reset), {
7927
7927
  html: {
7928
7928
  position: "absolute",
7929
7929
  // overflow: 'hidden',
@@ -7960,7 +7960,7 @@ var require_cjs9 = __commonJS({
7960
7960
  });
7961
7961
  }
7962
7962
  };
7963
- var import_utils262 = __toESM2(require_cjs22(), 1);
7963
+ var import_utils26 = __toESM2(require_cjs22(), 1);
7964
7964
  var isBorderStyle = (str) => [
7965
7965
  "none",
7966
7966
  "hidden",
@@ -7974,7 +7974,7 @@ var require_cjs9 = __commonJS({
7974
7974
  "outset",
7975
7975
  "initial"
7976
7976
  ].some((v) => str.includes(v));
7977
- var transformBorder3 = (border) => {
7977
+ var transformBorder2 = (border) => {
7978
7978
  const arr = border.split(", ");
7979
7979
  return arr.map((v) => {
7980
7980
  v = v.trim();
@@ -7984,39 +7984,39 @@ var require_cjs9 = __commonJS({
7984
7984
  return v || "solid";
7985
7985
  else if (v.slice(-2) === "px" || v.slice(-2) === "em")
7986
7986
  return v;
7987
- else if (getColor3(v).length > 2)
7988
- return getColor3(v);
7989
- return getSpacingByKey5(v, "border").border;
7987
+ else if (getColor2(v).length > 2)
7988
+ return getColor2(v);
7989
+ return getSpacingByKey3(v, "border").border;
7990
7990
  }).join(" ");
7991
7991
  };
7992
- var transformTextStroke3 = (stroke) => {
7992
+ var transformTextStroke2 = (stroke) => {
7993
7993
  return stroke.split(", ").map((v) => {
7994
7994
  if (v.slice(0, 2) === "--")
7995
7995
  return `var(${v})`;
7996
7996
  if (v.includes("px"))
7997
7997
  return v;
7998
- else if (getColor3(v))
7999
- return getColor3(v);
7998
+ else if (getColor2(v))
7999
+ return getColor2(v);
8000
8000
  return v;
8001
8001
  }).join(" ");
8002
8002
  };
8003
- var transformShadow3 = (shadows) => shadows.split("|").map((shadow) => {
8003
+ var transformShadow2 = (shadows) => shadows.split("|").map((shadow) => {
8004
8004
  return shadow.split(", ").map((v) => {
8005
8005
  v = v.trim();
8006
8006
  if (v.slice(0, 2) === "--")
8007
8007
  return `var(${v})`;
8008
- if (getColor3(v).length > 2)
8009
- return getColor3(v);
8008
+ if (getColor2(v).length > 2)
8009
+ return getColor2(v);
8010
8010
  if (v.includes("px") || v.slice(-2) === "em")
8011
8011
  return v;
8012
8012
  const arr = v.split(" ");
8013
8013
  if (!arr.length)
8014
8014
  return v;
8015
- return arr.map((v2) => getSpacingByKey5(v2, "shadow").shadow).join(" ");
8015
+ return arr.map((v2) => getSpacingByKey3(v2, "shadow").shadow).join(" ");
8016
8016
  }).join(" ");
8017
8017
  }).join(",");
8018
- var transformBackgroundImage3 = (backgroundImage, globalTheme) => {
8019
- const CONFIG22 = getActiveConfig4();
8018
+ var transformBackgroundImage2 = (backgroundImage, globalTheme) => {
8019
+ const CONFIG22 = getActiveConfig3();
8020
8020
  return backgroundImage.split(", ").map((v) => {
8021
8021
  if (v.slice(0, 2) === "--")
8022
8022
  return `var(${v})`;
@@ -8024,14 +8024,14 @@ var require_cjs9 = __commonJS({
8024
8024
  return v;
8025
8025
  else if (CONFIG22.GRADIENT[backgroundImage]) {
8026
8026
  return {
8027
- backgroundImage: getMediaColor5(backgroundImage, globalTheme || CONFIG22.globalTheme)
8027
+ backgroundImage: getMediaColor3(backgroundImage, globalTheme || CONFIG22.globalTheme)
8028
8028
  };
8029
8029
  } else if (v.includes("/") || v.includes("http"))
8030
8030
  return `url(${v})`;
8031
8031
  return v;
8032
8032
  }).join(" ");
8033
8033
  };
8034
- var transfromGap3 = (gap) => (0, import_utils262.isString)(gap) && gap.split(" ").map((v) => getSpacingByKey5(v, "gap").gap).join(" ");
8034
+ var transfromGap2 = (gap) => (0, import_utils26.isString)(gap) && gap.split(" ").map((v) => getSpacingByKey3(v, "gap").gap).join(" ");
8035
8035
  var transformTransition = (transition) => {
8036
8036
  const arr = transition.split(" ");
8037
8037
  if (!arr.length)
@@ -8040,20 +8040,20 @@ var require_cjs9 = __commonJS({
8040
8040
  if (v.slice(0, 2) === "--")
8041
8041
  return `var(${v})`;
8042
8042
  if (v.length < 3 || v.includes("ms")) {
8043
- const mapWithSequence = getTimingByKey3(v);
8043
+ const mapWithSequence = getTimingByKey2(v);
8044
8044
  return mapWithSequence.timing || v;
8045
8045
  }
8046
- if (getTimingFunction5(v))
8047
- return getTimingFunction5(v);
8046
+ if (getTimingFunction3(v))
8047
+ return getTimingFunction3(v);
8048
8048
  return v;
8049
8049
  }).join(" ");
8050
8050
  };
8051
- var transformDuration3 = (duration, props4, propertyName) => {
8052
- if (!(0, import_utils262.isString)(duration))
8051
+ var transformDuration2 = (duration, props4, propertyName) => {
8052
+ if (!(0, import_utils26.isString)(duration))
8053
8053
  return;
8054
- return duration.split(",").map((v) => getTimingByKey3(v).timing || v).join(",");
8054
+ return duration.split(",").map((v) => getTimingByKey2(v).timing || v).join(",");
8055
8055
  };
8056
- var splitTransition3 = (transition) => {
8056
+ var splitTransition2 = (transition) => {
8057
8057
  const arr = transition.split(",");
8058
8058
  if (!arr.length)
8059
8059
  return;
@@ -8085,7 +8085,7 @@ var require_cjs9 = __commonJS({
8085
8085
  animation: setSameValue
8086
8086
  };
8087
8087
  var setValue = (FACTORY_NAME, value2, key) => {
8088
- const CONFIG22 = getActiveConfig4();
8088
+ const CONFIG22 = getActiveConfig3();
8089
8089
  const factoryName = FACTORY_NAME.toLowerCase();
8090
8090
  const FACTORY2 = CONFIG22[FACTORY_NAME];
8091
8091
  if (VALUE_TRANSFORMERS[factoryName]) {
@@ -8097,7 +8097,7 @@ var require_cjs9 = __commonJS({
8097
8097
  console.warn("Can not find", factoryName, "method in scratch");
8098
8098
  };
8099
8099
  var setEach = (factoryName, props4) => {
8100
- const CONFIG22 = getActiveConfig4();
8100
+ const CONFIG22 = getActiveConfig3();
8101
8101
  const FACTORY_NAME = factoryName.toUpperCase();
8102
8102
  const keys = Object.keys(props4);
8103
8103
  keys.map((key) => setValue(FACTORY_NAME, props4[key], key));
@@ -8105,7 +8105,7 @@ var require_cjs9 = __commonJS({
8105
8105
  };
8106
8106
  var SET_OPTIONS2 = {};
8107
8107
  var set5 = (recivedConfig, options = SET_OPTIONS2) => {
8108
- let CONFIG22 = getActiveConfig4();
8108
+ let CONFIG22 = getActiveConfig3();
8109
8109
  const {
8110
8110
  version,
8111
8111
  verbose,
@@ -8183,8 +8183,8 @@ var require_cjs10 = __commonJS({
8183
8183
  router: () => router2
8184
8184
  });
8185
8185
  module2.exports = __toCommonJS2(router_exports);
8186
- var import_utils25 = require_cjs();
8187
- var getActiveRoute = (level = 0, route = import_utils25.window.location.pathname) => {
8186
+ var import_utils21 = require_cjs();
8187
+ var getActiveRoute = (level = 0, route = import_utils21.window.location.pathname) => {
8188
8188
  const routeArray = route.split("/");
8189
8189
  const activeRoute = routeArray[level + 1];
8190
8190
  if (activeRoute)
@@ -8198,7 +8198,7 @@ var require_cjs10 = __commonJS({
8198
8198
  initialRender: false,
8199
8199
  scrollToTop: true,
8200
8200
  scrollToNode: false,
8201
- scrollNode: import_utils25.document && import_utils25.document.documentElement,
8201
+ scrollNode: import_utils21.document && import_utils21.document.documentElement,
8202
8202
  scrollBody: false,
8203
8203
  useFragment: false,
8204
8204
  updateState: true,
@@ -8213,13 +8213,13 @@ var require_cjs10 = __commonJS({
8213
8213
  const route = getActiveRoute(options.level, pathname);
8214
8214
  const content = element.routes[route || "/"] || element.routes["/*"];
8215
8215
  const scrollNode = options.scrollToNode ? rootNode : options.scrollNode;
8216
- const hashChanged = hash2 && hash2 !== import_utils25.window.location.hash.slice(1);
8216
+ const hashChanged = hash2 && hash2 !== import_utils21.window.location.hash.slice(1);
8217
8217
  const pathChanged = pathname !== lastPathname;
8218
8218
  lastPathname = pathname;
8219
8219
  if (!content)
8220
8220
  return;
8221
8221
  if (options.pushState) {
8222
- import_utils25.window.history.pushState(state, null, pathname + (hash2 ? `#${hash2}` : ""));
8222
+ import_utils21.window.history.pushState(state, null, pathname + (hash2 ? `#${hash2}` : ""));
8223
8223
  }
8224
8224
  if (pathChanged || !hashChanged) {
8225
8225
  if (options.updateState) {
@@ -8245,7 +8245,7 @@ var require_cjs10 = __commonJS({
8245
8245
  });
8246
8246
  }
8247
8247
  if (hash2) {
8248
- const activeNode = import_utils25.document.getElementById(hash2);
8248
+ const activeNode = import_utils21.document.getElementById(hash2);
8249
8249
  if (activeNode) {
8250
8250
  const top = activeNode.getBoundingClientRect().top + rootNode.scrollTop - options.scrollToOffset || 0;
8251
8251
  scrollNode.scrollTo({
@@ -8397,237 +8397,237 @@ var require_cjs12 = __commonJS({
8397
8397
  }
8398
8398
  });
8399
8399
 
8400
- // node_modules/@symbo.ls/default-icons/src/logo.svg
8400
+ // ../../uikit/icons/default-icons/src/logo.svg
8401
8401
  var require_logo = __commonJS({
8402
- "node_modules/@symbo.ls/default-icons/src/logo.svg"() {
8402
+ "../../uikit/icons/default-icons/src/logo.svg"() {
8403
8403
  }
8404
8404
  });
8405
8405
 
8406
- // node_modules/@symbo.ls/default-icons/src/arrow-down-circle.svg
8406
+ // ../../uikit/icons/default-icons/src/arrow-down-circle.svg
8407
8407
  var require_arrow_down_circle = __commonJS({
8408
- "node_modules/@symbo.ls/default-icons/src/arrow-down-circle.svg"() {
8408
+ "../../uikit/icons/default-icons/src/arrow-down-circle.svg"() {
8409
8409
  }
8410
8410
  });
8411
8411
 
8412
- // node_modules/@symbo.ls/default-icons/src/arrow-down-left.svg
8412
+ // ../../uikit/icons/default-icons/src/arrow-down-left.svg
8413
8413
  var require_arrow_down_left = __commonJS({
8414
- "node_modules/@symbo.ls/default-icons/src/arrow-down-left.svg"() {
8414
+ "../../uikit/icons/default-icons/src/arrow-down-left.svg"() {
8415
8415
  }
8416
8416
  });
8417
8417
 
8418
- // node_modules/@symbo.ls/default-icons/src/arrow-down-right.svg
8418
+ // ../../uikit/icons/default-icons/src/arrow-down-right.svg
8419
8419
  var require_arrow_down_right = __commonJS({
8420
- "node_modules/@symbo.ls/default-icons/src/arrow-down-right.svg"() {
8420
+ "../../uikit/icons/default-icons/src/arrow-down-right.svg"() {
8421
8421
  }
8422
8422
  });
8423
8423
 
8424
- // node_modules/@symbo.ls/default-icons/src/arrow-down.svg
8424
+ // ../../uikit/icons/default-icons/src/arrow-down.svg
8425
8425
  var require_arrow_down = __commonJS({
8426
- "node_modules/@symbo.ls/default-icons/src/arrow-down.svg"() {
8426
+ "../../uikit/icons/default-icons/src/arrow-down.svg"() {
8427
8427
  }
8428
8428
  });
8429
8429
 
8430
- // node_modules/@symbo.ls/default-icons/src/arrow-left-circle.svg
8430
+ // ../../uikit/icons/default-icons/src/arrow-left-circle.svg
8431
8431
  var require_arrow_left_circle = __commonJS({
8432
- "node_modules/@symbo.ls/default-icons/src/arrow-left-circle.svg"() {
8432
+ "../../uikit/icons/default-icons/src/arrow-left-circle.svg"() {
8433
8433
  }
8434
8434
  });
8435
8435
 
8436
- // node_modules/@symbo.ls/default-icons/src/arrow-left.svg
8436
+ // ../../uikit/icons/default-icons/src/arrow-left.svg
8437
8437
  var require_arrow_left = __commonJS({
8438
- "node_modules/@symbo.ls/default-icons/src/arrow-left.svg"() {
8438
+ "../../uikit/icons/default-icons/src/arrow-left.svg"() {
8439
8439
  }
8440
8440
  });
8441
8441
 
8442
- // node_modules/@symbo.ls/default-icons/src/arrow-right.svg
8442
+ // ../../uikit/icons/default-icons/src/arrow-right.svg
8443
8443
  var require_arrow_right = __commonJS({
8444
- "node_modules/@symbo.ls/default-icons/src/arrow-right.svg"() {
8444
+ "../../uikit/icons/default-icons/src/arrow-right.svg"() {
8445
8445
  }
8446
8446
  });
8447
8447
 
8448
- // node_modules/@symbo.ls/default-icons/src/arrow-right-circle.svg
8448
+ // ../../uikit/icons/default-icons/src/arrow-right-circle.svg
8449
8449
  var require_arrow_right_circle = __commonJS({
8450
- "node_modules/@symbo.ls/default-icons/src/arrow-right-circle.svg"() {
8450
+ "../../uikit/icons/default-icons/src/arrow-right-circle.svg"() {
8451
8451
  }
8452
8452
  });
8453
8453
 
8454
- // node_modules/@symbo.ls/default-icons/src/arrow-up-circle.svg
8454
+ // ../../uikit/icons/default-icons/src/arrow-up-circle.svg
8455
8455
  var require_arrow_up_circle = __commonJS({
8456
- "node_modules/@symbo.ls/default-icons/src/arrow-up-circle.svg"() {
8456
+ "../../uikit/icons/default-icons/src/arrow-up-circle.svg"() {
8457
8457
  }
8458
8458
  });
8459
8459
 
8460
- // node_modules/@symbo.ls/default-icons/src/arrow-up-left.svg
8460
+ // ../../uikit/icons/default-icons/src/arrow-up-left.svg
8461
8461
  var require_arrow_up_left = __commonJS({
8462
- "node_modules/@symbo.ls/default-icons/src/arrow-up-left.svg"() {
8462
+ "../../uikit/icons/default-icons/src/arrow-up-left.svg"() {
8463
8463
  }
8464
8464
  });
8465
8465
 
8466
- // node_modules/@symbo.ls/default-icons/src/arrow-up-right.svg
8466
+ // ../../uikit/icons/default-icons/src/arrow-up-right.svg
8467
8467
  var require_arrow_up_right = __commonJS({
8468
- "node_modules/@symbo.ls/default-icons/src/arrow-up-right.svg"() {
8468
+ "../../uikit/icons/default-icons/src/arrow-up-right.svg"() {
8469
8469
  }
8470
8470
  });
8471
8471
 
8472
- // node_modules/@symbo.ls/default-icons/src/arrow-up.svg
8472
+ // ../../uikit/icons/default-icons/src/arrow-up.svg
8473
8473
  var require_arrow_up = __commonJS({
8474
- "node_modules/@symbo.ls/default-icons/src/arrow-up.svg"() {
8474
+ "../../uikit/icons/default-icons/src/arrow-up.svg"() {
8475
8475
  }
8476
8476
  });
8477
8477
 
8478
- // node_modules/@symbo.ls/default-icons/src/check-circle.svg
8478
+ // ../../uikit/icons/default-icons/src/check-circle.svg
8479
8479
  var require_check_circle = __commonJS({
8480
- "node_modules/@symbo.ls/default-icons/src/check-circle.svg"() {
8480
+ "../../uikit/icons/default-icons/src/check-circle.svg"() {
8481
8481
  }
8482
8482
  });
8483
8483
 
8484
- // node_modules/@symbo.ls/default-icons/src/check.svg
8484
+ // ../../uikit/icons/default-icons/src/check.svg
8485
8485
  var require_check = __commonJS({
8486
- "node_modules/@symbo.ls/default-icons/src/check.svg"() {
8486
+ "../../uikit/icons/default-icons/src/check.svg"() {
8487
8487
  }
8488
8488
  });
8489
8489
 
8490
- // node_modules/@symbo.ls/default-icons/src/chevron-down.svg
8490
+ // ../../uikit/icons/default-icons/src/chevron-down.svg
8491
8491
  var require_chevron_down = __commonJS({
8492
- "node_modules/@symbo.ls/default-icons/src/chevron-down.svg"() {
8492
+ "../../uikit/icons/default-icons/src/chevron-down.svg"() {
8493
8493
  }
8494
8494
  });
8495
8495
 
8496
- // node_modules/@symbo.ls/default-icons/src/chevron-left.svg
8496
+ // ../../uikit/icons/default-icons/src/chevron-left.svg
8497
8497
  var require_chevron_left = __commonJS({
8498
- "node_modules/@symbo.ls/default-icons/src/chevron-left.svg"() {
8498
+ "../../uikit/icons/default-icons/src/chevron-left.svg"() {
8499
8499
  }
8500
8500
  });
8501
8501
 
8502
- // node_modules/@symbo.ls/default-icons/src/chevron-right.svg
8502
+ // ../../uikit/icons/default-icons/src/chevron-right.svg
8503
8503
  var require_chevron_right = __commonJS({
8504
- "node_modules/@symbo.ls/default-icons/src/chevron-right.svg"() {
8504
+ "../../uikit/icons/default-icons/src/chevron-right.svg"() {
8505
8505
  }
8506
8506
  });
8507
8507
 
8508
- // node_modules/@symbo.ls/default-icons/src/chevron-up.svg
8508
+ // ../../uikit/icons/default-icons/src/chevron-up.svg
8509
8509
  var require_chevron_up = __commonJS({
8510
- "node_modules/@symbo.ls/default-icons/src/chevron-up.svg"() {
8510
+ "../../uikit/icons/default-icons/src/chevron-up.svg"() {
8511
8511
  }
8512
8512
  });
8513
8513
 
8514
- // node_modules/@symbo.ls/default-icons/src/copy.svg
8514
+ // ../../uikit/icons/default-icons/src/copy.svg
8515
8515
  var require_copy = __commonJS({
8516
- "node_modules/@symbo.ls/default-icons/src/copy.svg"() {
8516
+ "../../uikit/icons/default-icons/src/copy.svg"() {
8517
8517
  }
8518
8518
  });
8519
8519
 
8520
- // node_modules/@symbo.ls/default-icons/src/dribbble.svg
8520
+ // ../../uikit/icons/default-icons/src/dribbble.svg
8521
8521
  var require_dribbble = __commonJS({
8522
- "node_modules/@symbo.ls/default-icons/src/dribbble.svg"() {
8522
+ "../../uikit/icons/default-icons/src/dribbble.svg"() {
8523
8523
  }
8524
8524
  });
8525
8525
 
8526
- // node_modules/@symbo.ls/default-icons/src/eye-off.svg
8526
+ // ../../uikit/icons/default-icons/src/eye-off.svg
8527
8527
  var require_eye_off = __commonJS({
8528
- "node_modules/@symbo.ls/default-icons/src/eye-off.svg"() {
8528
+ "../../uikit/icons/default-icons/src/eye-off.svg"() {
8529
8529
  }
8530
8530
  });
8531
8531
 
8532
- // node_modules/@symbo.ls/default-icons/src/eye.svg
8532
+ // ../../uikit/icons/default-icons/src/eye.svg
8533
8533
  var require_eye = __commonJS({
8534
- "node_modules/@symbo.ls/default-icons/src/eye.svg"() {
8534
+ "../../uikit/icons/default-icons/src/eye.svg"() {
8535
8535
  }
8536
8536
  });
8537
8537
 
8538
- // node_modules/@symbo.ls/default-icons/src/file.svg
8538
+ // ../../uikit/icons/default-icons/src/file.svg
8539
8539
  var require_file = __commonJS({
8540
- "node_modules/@symbo.ls/default-icons/src/file.svg"() {
8540
+ "../../uikit/icons/default-icons/src/file.svg"() {
8541
8541
  }
8542
8542
  });
8543
8543
 
8544
- // node_modules/@symbo.ls/default-icons/src/info.svg
8544
+ // ../../uikit/icons/default-icons/src/info.svg
8545
8545
  var require_info = __commonJS({
8546
- "node_modules/@symbo.ls/default-icons/src/info.svg"() {
8546
+ "../../uikit/icons/default-icons/src/info.svg"() {
8547
8547
  }
8548
8548
  });
8549
8549
 
8550
- // node_modules/@symbo.ls/default-icons/src/minus.svg
8550
+ // ../../uikit/icons/default-icons/src/minus.svg
8551
8551
  var require_minus = __commonJS({
8552
- "node_modules/@symbo.ls/default-icons/src/minus.svg"() {
8552
+ "../../uikit/icons/default-icons/src/minus.svg"() {
8553
8553
  }
8554
8554
  });
8555
8555
 
8556
- // node_modules/@symbo.ls/default-icons/src/moon.svg
8556
+ // ../../uikit/icons/default-icons/src/moon.svg
8557
8557
  var require_moon = __commonJS({
8558
- "node_modules/@symbo.ls/default-icons/src/moon.svg"() {
8558
+ "../../uikit/icons/default-icons/src/moon.svg"() {
8559
8559
  }
8560
8560
  });
8561
8561
 
8562
- // node_modules/@symbo.ls/default-icons/src/more-horizontal.svg
8562
+ // ../../uikit/icons/default-icons/src/more-horizontal.svg
8563
8563
  var require_more_horizontal = __commonJS({
8564
- "node_modules/@symbo.ls/default-icons/src/more-horizontal.svg"() {
8564
+ "../../uikit/icons/default-icons/src/more-horizontal.svg"() {
8565
8565
  }
8566
8566
  });
8567
8567
 
8568
- // node_modules/@symbo.ls/default-icons/src/more-vertical.svg
8568
+ // ../../uikit/icons/default-icons/src/more-vertical.svg
8569
8569
  var require_more_vertical = __commonJS({
8570
- "node_modules/@symbo.ls/default-icons/src/more-vertical.svg"() {
8570
+ "../../uikit/icons/default-icons/src/more-vertical.svg"() {
8571
8571
  }
8572
8572
  });
8573
8573
 
8574
- // node_modules/@symbo.ls/default-icons/src/sun.svg
8574
+ // ../../uikit/icons/default-icons/src/sun.svg
8575
8575
  var require_sun = __commonJS({
8576
- "node_modules/@symbo.ls/default-icons/src/sun.svg"() {
8576
+ "../../uikit/icons/default-icons/src/sun.svg"() {
8577
8577
  }
8578
8578
  });
8579
8579
 
8580
- // node_modules/@symbo.ls/default-icons/src/send.svg
8580
+ // ../../uikit/icons/default-icons/src/send.svg
8581
8581
  var require_send = __commonJS({
8582
- "node_modules/@symbo.ls/default-icons/src/send.svg"() {
8582
+ "../../uikit/icons/default-icons/src/send.svg"() {
8583
8583
  }
8584
8584
  });
8585
8585
 
8586
- // node_modules/@symbo.ls/default-icons/src/smile.svg
8586
+ // ../../uikit/icons/default-icons/src/smile.svg
8587
8587
  var require_smile = __commonJS({
8588
- "node_modules/@symbo.ls/default-icons/src/smile.svg"() {
8588
+ "../../uikit/icons/default-icons/src/smile.svg"() {
8589
8589
  }
8590
8590
  });
8591
8591
 
8592
- // node_modules/@symbo.ls/default-icons/src/search.svg
8592
+ // ../../uikit/icons/default-icons/src/search.svg
8593
8593
  var require_search = __commonJS({
8594
- "node_modules/@symbo.ls/default-icons/src/search.svg"() {
8594
+ "../../uikit/icons/default-icons/src/search.svg"() {
8595
8595
  }
8596
8596
  });
8597
8597
 
8598
- // node_modules/@symbo.ls/default-icons/src/phone.svg
8598
+ // ../../uikit/icons/default-icons/src/phone.svg
8599
8599
  var require_phone = __commonJS({
8600
- "node_modules/@symbo.ls/default-icons/src/phone.svg"() {
8600
+ "../../uikit/icons/default-icons/src/phone.svg"() {
8601
8601
  }
8602
8602
  });
8603
8603
 
8604
- // node_modules/@symbo.ls/default-icons/src/twitch.svg
8604
+ // ../../uikit/icons/default-icons/src/twitch.svg
8605
8605
  var require_twitch = __commonJS({
8606
- "node_modules/@symbo.ls/default-icons/src/twitch.svg"() {
8606
+ "../../uikit/icons/default-icons/src/twitch.svg"() {
8607
8607
  }
8608
8608
  });
8609
8609
 
8610
- // node_modules/@symbo.ls/default-icons/src/upload.svg
8610
+ // ../../uikit/icons/default-icons/src/upload.svg
8611
8611
  var require_upload = __commonJS({
8612
- "node_modules/@symbo.ls/default-icons/src/upload.svg"() {
8612
+ "../../uikit/icons/default-icons/src/upload.svg"() {
8613
8613
  }
8614
8614
  });
8615
8615
 
8616
- // node_modules/@symbo.ls/default-icons/src/video.svg
8616
+ // ../../uikit/icons/default-icons/src/video.svg
8617
8617
  var require_video = __commonJS({
8618
- "node_modules/@symbo.ls/default-icons/src/video.svg"() {
8618
+ "../../uikit/icons/default-icons/src/video.svg"() {
8619
8619
  }
8620
8620
  });
8621
8621
 
8622
- // node_modules/@symbo.ls/default-icons/src/x.svg
8622
+ // ../../uikit/icons/default-icons/src/x.svg
8623
8623
  var require_x = __commonJS({
8624
- "node_modules/@symbo.ls/default-icons/src/x.svg"() {
8624
+ "../../uikit/icons/default-icons/src/x.svg"() {
8625
8625
  }
8626
8626
  });
8627
8627
 
8628
- // node_modules/@symbo.ls/default-icons/src/plus.svg
8628
+ // ../../uikit/icons/default-icons/src/plus.svg
8629
8629
  var require_plus = __commonJS({
8630
- "node_modules/@symbo.ls/default-icons/src/plus.svg"() {
8630
+ "../../uikit/icons/default-icons/src/plus.svg"() {
8631
8631
  }
8632
8632
  });
8633
8633
 
@@ -8640,7 +8640,7 @@ __export(src_exports, {
8640
8640
  });
8641
8641
  module.exports = __toCommonJS(src_exports);
8642
8642
  var import_domql = __toESM(require_cjs8(), 1);
8643
- var import_utils24 = __toESM(require_cjs(), 1);
8643
+ var import_utils20 = __toESM(require_cjs(), 1);
8644
8644
 
8645
8645
  // src/utilImports.js
8646
8646
  var utilImports_exports = {};
@@ -10097,7 +10097,7 @@ var SET_OPTIONS = {
10097
10097
  useSvgSprite: true
10098
10098
  };
10099
10099
  var init = (config, options = SET_OPTIONS) => {
10100
- const emotion4 = options.emotion || emotion;
10100
+ const emotion2 = options.emotion || emotion;
10101
10101
  const resultConfig = mergeWithLocalFile(config || {});
10102
10102
  const conf = (0, import_scratch.set)({
10103
10103
  verbose: options.verbose,
@@ -10118,11 +10118,11 @@ var init = (config, options = SET_OPTIONS) => {
10118
10118
  const useIconSprite = conf.useIconSprite;
10119
10119
  const hasIcons = config.icons || config.ICONS;
10120
10120
  if (useFontImport)
10121
- emotion4.injectGlobal(FontFace);
10121
+ emotion2.injectGlobal(FontFace);
10122
10122
  if (useVariable)
10123
- emotion4.injectGlobal({ ":root": conf.CSS_VARS });
10123
+ emotion2.injectGlobal({ ":root": conf.CSS_VARS });
10124
10124
  if (useReset)
10125
- emotion4.injectGlobal(conf.RESET);
10125
+ emotion2.injectGlobal(conf.RESET);
10126
10126
  if (hasSvgs)
10127
10127
  (0, import_scratch.appendSVGSprite)(hasSvgs, { document: options.document });
10128
10128
  else if (useSvgSprite)
@@ -10137,14 +10137,14 @@ var UPDATE_OPTIONS = {
10137
10137
  emotion
10138
10138
  };
10139
10139
  var updateReset = (config, RC_FILE, options = UPDATE_OPTIONS) => {
10140
- const emotion4 = options.emotion || emotion;
10140
+ const emotion2 = options.emotion || emotion;
10141
10141
  const resultConfig = mergeWithLocalFile(config || {}, RC_FILE);
10142
10142
  const conf = (0, import_scratch.set)({
10143
10143
  verbose: false,
10144
10144
  ...resultConfig
10145
10145
  });
10146
- emotion4.injectGlobal({ ":root": conf.CSS_VARS });
10147
- emotion4.injectGlobal(conf.RESET);
10146
+ emotion2.injectGlobal({ ":root": conf.CSS_VARS });
10147
+ emotion2.injectGlobal(conf.RESET);
10148
10148
  };
10149
10149
 
10150
10150
  // src/utilImports.js
@@ -10652,8 +10652,8 @@ var getComputedBackgroundColor = ({ props: props4 }) => {
10652
10652
  return (0, import_scratch6.getColor)(props4.shapeDirectionColor) || (0, import_scratch6.getColor)(props4.borderColor) || (0, import_scratch6.getColor)(props4.backgroundColor) || (0, import_scratch6.getColor)(props4.background);
10653
10653
  };
10654
10654
  var inheritTransition = ({ props: props4, deps }) => {
10655
- const exec5 = Timing.class.transition({ props: props4, deps });
10656
- return exec5 && exec5.transition;
10655
+ const exec4 = Timing.class.transition({ props: props4, deps });
10656
+ return exec4 && exec4.transition;
10657
10657
  };
10658
10658
  var SHAPES = {
10659
10659
  rectangle: {},
@@ -10851,8 +10851,8 @@ var Theme = {
10851
10851
  const globalTheme = deps.getSystemTheme(element);
10852
10852
  if (!props4.theme)
10853
10853
  return;
10854
- const getMediaTheme3 = deps.getMediaTheme(props4.theme, `@${props4.themeModifier || globalTheme}`);
10855
- return getMediaTheme3;
10854
+ const getMediaTheme2 = deps.getMediaTheme(props4.theme, `@${props4.themeModifier || globalTheme}`);
10855
+ return getMediaTheme2;
10856
10856
  },
10857
10857
  color: (element) => {
10858
10858
  const { props: props4, deps } = element;
@@ -11615,7 +11615,7 @@ var Icon = {
11615
11615
  const { toCamelCase: toCamelCase2 } = context && context.utils;
11616
11616
  const iconName = props4.inheritedString || props4.name || props4.icon || key;
11617
11617
  const camelCase = toCamelCase2(iconName);
11618
- const isArray8 = camelCase.split(/([a-z])([A-Z])/g);
11618
+ const isArray6 = camelCase.split(/([a-z])([A-Z])/g);
11619
11619
  let activeIconName;
11620
11620
  if (props4.active) {
11621
11621
  activeIconName = props4[".active"].name || props4[".active"].icon;
@@ -11628,10 +11628,10 @@ var Icon = {
11628
11628
  validIconName = activeIconName;
11629
11629
  if (ICONS[camelCase])
11630
11630
  validIconName = camelCase;
11631
- else if (ICONS[isArray8[0] + isArray8[1]])
11632
- validIconName = isArray8[0] + isArray8[1];
11633
- else if (ICONS[isArray8[0]])
11634
- validIconName = isArray8[0];
11631
+ else if (ICONS[isArray6[0] + isArray6[1]])
11632
+ validIconName = isArray6[0] + isArray6[1];
11633
+ else if (ICONS[isArray6[0]])
11634
+ validIconName = isArray6[0];
11635
11635
  else {
11636
11636
  if (verbose)
11637
11637
  console.warn("Can't find icon:", iconName, validIconName);
@@ -11931,8 +11931,8 @@ var Link = {
11931
11931
  attr: {
11932
11932
  href: (el) => {
11933
11933
  const { context: ctx } = el;
11934
- const { exec: exec5 } = ctx.utils;
11935
- return exec5(el.props.href, el) || exec5(el.props, el).href;
11934
+ const { exec: exec4 } = ctx.utils;
11935
+ return exec4(el.props.href, el) || exec4(el.props, el).href;
11936
11936
  },
11937
11937
  target: ({ props: props4 }) => props4.target,
11938
11938
  "aria-label": ({ props: props4 }) => props4.aria ? props4.aria.label : props4.text,
@@ -12036,8 +12036,8 @@ var Input = {
12036
12036
  autocomplete: ({ props: props4 }) => props4.autocomplete,
12037
12037
  placeholder: ({ props: props4 }) => props4.placeholder,
12038
12038
  value: ({ props: props4, state, deps }) => {
12039
- const { isString: isString10, replaceLiteralsWithObjectFields: replaceLiteralsWithObjectFields2 } = deps;
12040
- if (isString10(props4.value) && props4.value.includes("{{")) {
12039
+ const { isString: isString8, replaceLiteralsWithObjectFields: replaceLiteralsWithObjectFields2 } = deps;
12040
+ if (isString8(props4.value) && props4.value.includes("{{")) {
12041
12041
  return replaceLiteralsWithObjectFields2(props4.value, state);
12042
12042
  }
12043
12043
  return props4.value;
@@ -14175,137 +14175,6 @@ var TimePickerItem = {
14175
14175
  Button_minus: { icon: "minus" }
14176
14176
  };
14177
14177
 
14178
- // ../../uikit/domql/TimePicker/node_modules/@symbo.ls/icon/index.js
14179
- var Icon2 = {
14180
- extend: Svg,
14181
- props: ({ key, props: props4, parent, context }) => {
14182
- const { ICONS, useIconSprite, verbose } = context && context.designSystem;
14183
- const { toCamelCase: toCamelCase2 } = context && context.utils;
14184
- const iconName = props4.inheritedString || props4.name || props4.icon || key;
14185
- const camelCase = toCamelCase2(iconName);
14186
- const isArray8 = camelCase.split(/([a-z])([A-Z])/g);
14187
- let activeIconName;
14188
- if (props4.active) {
14189
- activeIconName = props4[".active"].name || props4[".active"].icon;
14190
- }
14191
- if (parent && parent.props && parent.props.active && parent.props[".active"] && parent.props[".active"].icon) {
14192
- activeIconName = parent.props[".active"].icon.name || parent.props[".active"].icon.icon || parent.props[".active"].icon;
14193
- }
14194
- let validIconName;
14195
- if (ICONS[activeIconName])
14196
- validIconName = activeIconName;
14197
- if (ICONS[camelCase])
14198
- validIconName = camelCase;
14199
- else if (ICONS[isArray8[0] + isArray8[1]])
14200
- validIconName = isArray8[0] + isArray8[1];
14201
- else if (ICONS[isArray8[0]])
14202
- validIconName = isArray8[0];
14203
- else {
14204
- if (verbose)
14205
- console.warn("Can't find icon:", iconName, validIconName);
14206
- }
14207
- const iconFromLibrary = ICONS[validIconName];
14208
- const directSrc = parent && parent.props && parent.props.src || props4.src;
14209
- return {
14210
- width: "A",
14211
- height: "A",
14212
- display: "inline-block",
14213
- spriteId: useIconSprite && validIconName,
14214
- src: iconFromLibrary || directSrc || ICONS.noIcon,
14215
- style: { fill: "currentColor" }
14216
- };
14217
- },
14218
- attr: { viewBox: "0 0 24 24" }
14219
- };
14220
- var IconText2 = {
14221
- extend: Flex,
14222
- props: {
14223
- align: "center center",
14224
- lineHeight: 1
14225
- },
14226
- // TODO: remove this variant
14227
- icon: {
14228
- extend: Icon2,
14229
- if: ({ parent }) => parent.props.icon
14230
- },
14231
- Icon: {
14232
- props: {},
14233
- if: ({ props: props4 }) => props4.name || props4.icon
14234
- },
14235
- text: ({ props: props4 }) => props4.text,
14236
- ".reversed": {
14237
- props: { flow: "row-reverse" }
14238
- },
14239
- ".vertical": {
14240
- props: { flow: "column" }
14241
- }
14242
- };
14243
-
14244
- // ../../uikit/domql/TimePicker/node_modules/@symbo.ls/button/index.js
14245
- var Button2 = {
14246
- extend: [FocusableComponent, IconText2],
14247
- tag: "button",
14248
- props: {
14249
- fontSize: "A",
14250
- type: "button",
14251
- border: "none",
14252
- display: "inline-flex",
14253
- align: "center center",
14254
- textDecoration: "none",
14255
- lineHeight: "1",
14256
- whiteSpace: "nowrap",
14257
- padding: "Z A1",
14258
- fontFamily: "inherit",
14259
- round: "C2"
14260
- },
14261
- attr: {
14262
- type: ({ props: props4 }) => props4.type
14263
- }
14264
- };
14265
- var CommonButton2 = {
14266
- extend: Button2,
14267
- props: {
14268
- color: "white",
14269
- background: "blue",
14270
- boxSize: "fit-content",
14271
- padding: "A A2",
14272
- round: "Z2",
14273
- gap: "Y2",
14274
- position: "relative"
14275
- },
14276
- icon: {
14277
- props: { fontSize: "C" }
14278
- },
14279
- Caption: {
14280
- props: {
14281
- text: "Button",
14282
- line_height: "1em"
14283
- }
14284
- }
14285
- };
14286
- var CancelConfirmButtons2 = {
14287
- extend: Flex,
14288
- childExtend: {
14289
- extend: CommonButton2,
14290
- props: {
14291
- minWidth: "D2",
14292
- ":first-child": {
14293
- background: "transparent",
14294
- border: "1px solid #20202B"
14295
- },
14296
- ":last-child": {}
14297
- }
14298
- },
14299
- ...[
14300
- { Caption: { text: "No" } },
14301
- { Caption: { text: "Yes" } }
14302
- ],
14303
- props: {
14304
- gap: "Z",
14305
- maxWidth: "fit-content"
14306
- }
14307
- };
14308
-
14309
14178
  // ../../uikit/domql/TimePicker/TimeSwitcher.js
14310
14179
  var props3 = {
14311
14180
  boxSize: "C B2",
@@ -14318,7 +14187,7 @@ var TimeSwitcher = {
14318
14187
  props: props3,
14319
14188
  extend: Flex,
14320
14189
  childExtend: {
14321
- extend: Button2,
14190
+ extend: Button,
14322
14191
  props: ({ state, key }) => ({
14323
14192
  active: state.activeShift === key,
14324
14193
  padding: "0",
@@ -15788,7 +15657,7 @@ var applyClassListOnNode = (params, element, node2) => {
15788
15657
  };
15789
15658
 
15790
15659
  // ../../node_modules/@domql/emotion/index.js
15791
- var transformEmotionStyle = (emotion4) => {
15660
+ var transformEmotionStyle = (emotion2) => {
15792
15661
  return (params, element, state) => {
15793
15662
  const execParams = (0, import_utils16.exec)(params, element);
15794
15663
  if (params) {
@@ -15797,10 +15666,10 @@ var transformEmotionStyle = (emotion4) => {
15797
15666
  else
15798
15667
  element.class = { elementStyle: execParams };
15799
15668
  }
15800
- transformEmotionClass(emotion4)(element.class, element, element.state, true);
15669
+ transformEmotionClass(emotion2)(element.class, element, element.state, true);
15801
15670
  };
15802
15671
  };
15803
- var transformEmotionClass = (emotion4) => {
15672
+ var transformEmotionClass = (emotion2) => {
15804
15673
  return (params, element, state, flag) => {
15805
15674
  if (element.style && !flag)
15806
15675
  return;
@@ -15819,7 +15688,7 @@ var transformEmotionClass = (emotion4) => {
15819
15688
  if (!isEqual) {
15820
15689
  if (!(0, import_utils16.isProduction)() && (0, import_utils16.isObject)(prop))
15821
15690
  prop.label = key || element.key;
15822
- const CSSed = emotion4.css(prop);
15691
+ const CSSed = emotion2.css(prop);
15823
15692
  __class[key] = prop;
15824
15693
  __classNames[key] = CSSed;
15825
15694
  }
@@ -15827,43 +15696,32 @@ var transformEmotionClass = (emotion4) => {
15827
15696
  applyClassListOnNode(__classNames, element, element.node);
15828
15697
  };
15829
15698
  };
15830
- var transformDOMQLEmotion = (emotion4, options) => {
15831
- if (!emotion4)
15832
- emotion4 = createEmotion(options || { key: "smbls" });
15699
+ var transformDOMQLEmotion = (emotion2, options) => {
15700
+ if (!emotion2)
15701
+ emotion2 = createEmotion(options || { key: "smbls" });
15833
15702
  return {
15834
- style: transformEmotionStyle(emotion4),
15835
- class: transformEmotionClass(emotion4)
15703
+ style: transformEmotionStyle(emotion2),
15704
+ class: transformEmotionClass(emotion2)
15836
15705
  };
15837
15706
  };
15838
15707
 
15839
- // node_modules/@symbo.ls/emotion/index.js
15840
- var createEmotion4 = (key = "smbls", container) => {
15841
- const cleanKey = key.replaceAll(/\./g, "-");
15842
- return createEmotion({ key: cleanKey, container });
15843
- };
15844
- var emotion2 = createEmotion4();
15845
-
15846
15708
  // src/initEmotion.js
15847
15709
  var import_utils17 = __toESM(require_cjs(), 1);
15848
15710
 
15849
15711
  // src/options.js
15850
- var options_default = {
15851
- editor: {},
15712
+ var DESIGN_SYSTEM_OPTIONS = {
15713
+ useReset: true,
15714
+ useVariable: true,
15715
+ useIconSprite: true,
15716
+ useSvgSprite: true,
15717
+ useDocumentTheme: true,
15718
+ useFontImport: true
15719
+ };
15720
+ var CREATE_OPTIONS = {
15721
+ defaultConfig: true,
15852
15722
  state: {},
15853
15723
  pages: {},
15854
- defaultConfig: true,
15855
- designSystem: {
15856
- useReset: true,
15857
- useVariable: true,
15858
- useIconSprite: true,
15859
- useSvgSprite: true,
15860
- useDocumentTheme: true,
15861
- useFontImport: true
15862
- },
15863
15724
  components: {},
15864
- initOptions: {
15865
- emotion: emotion2
15866
- },
15867
15725
  router: {
15868
15726
  initRouter: true,
15869
15727
  popState: true,
@@ -15871,8 +15729,9 @@ var options_default = {
15871
15729
  },
15872
15730
  define: defaultDefine
15873
15731
  };
15732
+ var options_default = CREATE_OPTIONS;
15874
15733
 
15875
- // node_modules/@symbo.ls/default-icons/index.js
15734
+ // ../../uikit/icons/default-icons/index.js
15876
15735
  var default_icons_default = {
15877
15736
  symbols: require_logo(),
15878
15737
  arrowDownCircle: require_arrow_down_circle(),
@@ -15916,7 +15775,7 @@ var default_icons_default = {
15916
15775
  plus: require_plus()
15917
15776
  };
15918
15777
 
15919
- // node_modules/@symbo.ls/default-config/src/color.js
15778
+ // ../default-config/src/color.js
15920
15779
  var COLOR = {
15921
15780
  transparent: "rgba(0, 0, 0, 0)",
15922
15781
  black: "black",
@@ -15969,7 +15828,7 @@ var GRADIENT = {
15969
15828
  )`
15970
15829
  };
15971
15830
 
15972
- // node_modules/@symbo.ls/default-config/src/theme.js
15831
+ // ../default-config/src/theme.js
15973
15832
  var PRIORITIES = {
15974
15833
  primary: {
15975
15834
  "@dark": {
@@ -16106,7 +15965,7 @@ var THEME = {
16106
15965
  }
16107
15966
  };
16108
15967
 
16109
- // node_modules/@symbo.ls/default-config/src/typography.js
15968
+ // ../default-config/src/typography.js
16110
15969
  var TYPOGRAPHY = {
16111
15970
  base: 16,
16112
15971
  ratio: 1.125,
@@ -16114,14 +15973,14 @@ var TYPOGRAPHY = {
16114
15973
  templates: {}
16115
15974
  };
16116
15975
 
16117
- // node_modules/@symbo.ls/default-config/src/spacing.js
15976
+ // ../default-config/src/spacing.js
16118
15977
  var SPACING = {
16119
15978
  base: 16,
16120
15979
  ratio: 1.618,
16121
15980
  subSequence: true
16122
15981
  };
16123
15982
 
16124
- // node_modules/@symbo.ls/default-config/src/font.js
15983
+ // ../default-config/src/font.js
16125
15984
  var FONT = {};
16126
15985
  var FONT_FAMILY = {
16127
15986
  system: {
@@ -16131,7 +15990,7 @@ var FONT_FAMILY = {
16131
15990
  }
16132
15991
  };
16133
15992
 
16134
- // node_modules/@symbo.ls/default-config/src/index.js
15993
+ // ../default-config/src/index.js
16135
15994
  var DEFAULT_CONFIG = {
16136
15995
  version: "0.0.1",
16137
15996
  COLOR,
@@ -16167,28 +16026,28 @@ var DEFAULT_CONFIG = {
16167
16026
  var src_default = DEFAULT_CONFIG;
16168
16027
 
16169
16028
  // src/initEmotion.js
16170
- var initEmotion = (key, options = options_default) => {
16029
+ var initEmotion = (key, options = DESIGN_SYSTEM_OPTIONS) => {
16171
16030
  const doc = options.parent || options.document || document;
16172
16031
  const initOptions = options.initOptions || {};
16173
- const emotion4 = initOptions.emotion || emotion2;
16032
+ const emotion2 = initOptions.emotion;
16174
16033
  if (!initOptions.emotion)
16175
- initOptions.emotion = emotion4;
16034
+ initOptions.emotion = emotion;
16176
16035
  const registry = options.registry || transformDOMQLEmotion(initOptions.emotion, options);
16177
16036
  const designSystem = options.designSystem || (options.defaultConfig ? (0, import_utils17.deepClone)(src_default) : {});
16178
16037
  const scratchSystem2 = init(designSystem, {
16179
16038
  key,
16180
- emotion: emotion4,
16039
+ emotion: emotion2,
16181
16040
  verbose: options.verbose,
16182
16041
  document: doc,
16183
- ...options_default.designSystem,
16042
+ ...DESIGN_SYSTEM_OPTIONS,
16184
16043
  ...initOptions
16185
16044
  });
16186
- return [scratchSystem2, emotion4, registry];
16045
+ return [scratchSystem2, emotion2, registry];
16187
16046
  };
16188
16047
 
16189
16048
  // ../socket-ui/byld-socket.js
16190
16049
  var import_router3 = __toESM(require_cjs10());
16191
- var import_scratch23 = __toESM(require_cjs9());
16050
+ var import_scratch14 = __toESM(require_cjs9());
16192
16051
 
16193
16052
  // ../socket/client.js
16194
16053
  var utils = __toESM(require_cjs(), 1);
@@ -19587,121 +19446,11 @@ function send(event = "change", changes, options) {
19587
19446
  this.emit(event, changes, { ...options, ...defautlOpts });
19588
19447
  }
19589
19448
 
19590
- // ../socket-ui/node_modules/@symbo.ls/atoms/Block.js
19591
- var import_scratch14 = __toESM(require_cjs9());
19592
-
19593
- // ../socket-ui/node_modules/@symbo.ls/atoms/Flex.js
19594
- var Flex2 = {
19595
- props: {
19596
- display: "flex"
19597
- },
19598
- class: {
19599
- flow: ({ props: props4 }) => props4.flow && { flexFlow: props4.flow },
19600
- wrap: ({ props: props4 }) => props4.wrap && { flexWrap: props4.wrap },
19601
- align: ({ props: props4 }) => {
19602
- if (typeof props4.align !== "string")
19603
- return;
19604
- const [alignItems, justifyContent] = props4.align.split(" ");
19605
- return { alignItems, justifyContent };
19606
- }
19607
- }
19608
- };
19609
-
19610
- // ../socket-ui/node_modules/@symbo.ls/atoms/Grid.js
19611
- var import_scratch15 = __toESM(require_cjs9());
19612
-
19613
- // ../socket-ui/node_modules/@symbo.ls/atoms/Media.js
19614
- var import_utils18 = __toESM(require_cjs());
19615
-
19616
- // ../socket-ui/node_modules/@symbo.ls/atoms/Theme.js
19617
- var import_scratch18 = __toESM(require_cjs9());
19618
-
19619
- // ../socket-ui/node_modules/@symbo.ls/atoms/Shape/style.js
19620
- var import_scratch17 = __toESM(require_cjs9());
19621
-
19622
- // ../socket-ui/node_modules/@symbo.ls/atoms/Timing.js
19623
- var import_scratch16 = __toESM(require_cjs9());
19624
-
19625
- // ../socket-ui/node_modules/@symbo.ls/atoms/Shape/style.js
19626
- var CONFIG3 = (0, import_scratch17.getActiveConfig)();
19627
- var depth2 = {
19628
- 4: { boxShadow: `rgba(0,0,0,.10) 0 2${CONFIG3.UNIT.default} 4${CONFIG3.UNIT.default}` },
19629
- 6: { boxShadow: `rgba(0,0,0,.10) 0 3${CONFIG3.UNIT.default} 6${CONFIG3.UNIT.default}` },
19630
- 10: { boxShadow: `rgba(0,0,0,.10) 0 4${CONFIG3.UNIT.default} 10${CONFIG3.UNIT.default}` },
19631
- 16: { boxShadow: `rgba(0,0,0,.10) 0 8${CONFIG3.UNIT.default} 16${CONFIG3.UNIT.default}` },
19632
- 26: { boxShadow: `rgba(0,0,0,.10) 0 14${CONFIG3.UNIT.default} 26${CONFIG3.UNIT.default}` },
19633
- 42: { boxShadow: `rgba(0,0,0,.10) 0 20${CONFIG3.UNIT.default} 42${CONFIG3.UNIT.default}` }
19634
- };
19635
-
19636
- // ../socket-ui/node_modules/@symbo.ls/atoms/Collection.js
19637
- var import_state2 = __toESM(require_cjs5());
19638
- var import_utils19 = __toESM(require_cjs());
19639
-
19640
- // ../socket-ui/node_modules/@symbo.ls/atoms/Position.js
19641
- var import_scratch19 = __toESM(require_cjs9());
19642
-
19643
- // ../socket-ui/node_modules/@symbo.ls/atoms/Shape/index.js
19644
- var import_utils20 = __toESM(require_cjs());
19645
- var import_scratch20 = __toESM(require_cjs9());
19646
-
19647
- // ../socket-ui/node_modules/@symbo.ls/atoms/Text.js
19648
- var import_scratch21 = __toESM(require_cjs9());
19649
-
19650
- // ../socket-ui/node_modules/@symbo.ls/atoms/Animation.js
19651
- var import_scratch22 = __toESM(require_cjs9());
19652
- var import_utils21 = __toESM(require_cjs());
19653
-
19654
- // ../socket-ui/node_modules/@symbo.ls/emotion/index.js
19655
- var createEmotion5 = (key = "smbls", container) => {
19656
- const cleanKey = key.replaceAll(/\./g, "-");
19657
- return createEmotion({ key: cleanKey, container });
19658
- };
19659
- var emotion3 = createEmotion5();
19660
-
19661
- // ../socket-ui/node_modules/@symbo.ls/notification/index.js
19662
- var Notification2 = {
19663
- extend: Flex2,
19664
- props: {
19665
- theme: "alert",
19666
- padding: "Z1 B Z A",
19667
- round: "A A A Y2",
19668
- gap: "X2",
19669
- cursor: "pointer",
19670
- align: "flex-start center"
19671
- },
19672
- IconText: {
19673
- props: {
19674
- icon: "info outline"
19675
- }
19676
- },
19677
- Flex: {
19678
- props: {
19679
- flow: "column",
19680
- align: "flex-start",
19681
- gap: "X2"
19682
- },
19683
- Title: {
19684
- props: {
19685
- fontWeight: "600",
19686
- lineHeight: "1em",
19687
- text: "Notification"
19688
- }
19689
- },
19690
- P: {
19691
- props: {
19692
- fontSize: "Z",
19693
- margin: "0",
19694
- text: "is not always a distraction"
19695
- }
19696
- }
19697
- }
19698
- };
19699
-
19700
19449
  // ../socket-ui/byld-socket.js
19701
19450
  var import_globals = __toESM(require_cjs11());
19702
19451
 
19703
19452
  // ../socket-ui/devFocus.js
19704
- var import_utils22 = __toESM(require_cjs());
19453
+ var import_utils18 = __toESM(require_cjs());
19705
19454
  var DevFocus = {
19706
19455
  props: {
19707
19456
  ".preventSelect": {
@@ -19755,7 +19504,7 @@ var DevFocus = {
19755
19504
  on: {
19756
19505
  init: ({ context }) => {
19757
19506
  const { components } = context;
19758
- if ((0, import_utils22.isObject)(components)) {
19507
+ if ((0, import_utils18.isObject)(components)) {
19759
19508
  const { Content, ...rest } = components;
19760
19509
  for (const key in rest) {
19761
19510
  if (domql_exports[key])
@@ -19864,7 +19613,7 @@ var COLOR2 = {
19864
19613
  black: "#000000",
19865
19614
  blue: "#3686F7"
19866
19615
  };
19867
- (0, import_scratch23.set)({
19616
+ (0, import_scratch14.set)({
19868
19617
  COLOR: COLOR2,
19869
19618
  ANIMATION
19870
19619
  });
@@ -19942,7 +19691,7 @@ var Notifications = {
19942
19691
  zIndex: "999"
19943
19692
  },
19944
19693
  childExtend: {
19945
- extend: [Notification2],
19694
+ extend: [Notification],
19946
19695
  props: ({ state }) => ({
19947
19696
  animation: "fadeInUp",
19948
19697
  animationDuration: "C",
@@ -19977,13 +19726,13 @@ var Sync = {
19977
19726
  };
19978
19727
 
19979
19728
  // src/syncExtend.js
19980
- var import_utils23 = __toESM(require_cjs(), 1);
19729
+ var import_utils19 = __toESM(require_cjs(), 1);
19981
19730
  var applySyncDebug = (extend, options) => {
19982
19731
  const { editor } = options;
19983
19732
  if (!editor)
19984
19733
  return extend;
19985
- const inspect = (0, import_utils23.isUndefined)(editor.inspect) ? (0, import_utils23.isDevelopment)() : editor.inspect;
19986
- const liveSync = (0, import_utils23.isUndefined)(editor.liveSync) ? (0, import_utils23.isDevelopment)() : editor.liveSync;
19734
+ const inspect = (0, import_utils19.isUndefined)(editor.inspect) ? (0, import_utils19.isDevelopment)() : editor.inspect;
19735
+ const liveSync = (0, import_utils19.isUndefined)(editor.liveSync) ? (0, import_utils19.isDevelopment)() : editor.liveSync;
19987
19736
  if (inspect)
19988
19737
  extend.push(DevFocus);
19989
19738
  if (liveSync)
@@ -19994,7 +19743,7 @@ var applyInspectListener = (root, options) => {
19994
19743
  const { editor } = options;
19995
19744
  if (!editor)
19996
19745
  return;
19997
- const inspect = (0, import_utils23.isUndefined)(editor.inspect) ? (0, import_utils23.isDevelopment)() : editor.inspect;
19746
+ const inspect = (0, import_utils19.isUndefined)(editor.inspect) ? (0, import_utils19.isDevelopment)() : editor.inspect;
19998
19747
  if (inspect)
19999
19748
  inspectOnKey(root);
20000
19749
  };
@@ -20002,12 +19751,12 @@ var applyInspectListener = (root, options) => {
20002
19751
  // src/index.js
20003
19752
  var SYMBOLS_KEY = process.env.SYMBOLS_KEY;
20004
19753
  var mergeWithLocalFile2 = (options, optionsExternalFile) => {
20005
- const rcfile = (0, import_utils24.isObject)(optionsExternalFile) ? optionsExternalFile : dynamic_default || {};
20006
- return (0, import_utils24.deepMerge)(options, rcfile);
19754
+ const rcfile = (0, import_utils20.isObject)(optionsExternalFile) ? optionsExternalFile : dynamic_default || {};
19755
+ return (0, import_utils20.deepMerge)(options, rcfile);
20007
19756
  };
20008
19757
  var create = async (App, options = options_default, optionsExternalFile) => {
20009
- const appIsKey = (0, import_utils24.isString)(App);
20010
- options = (0, import_utils24.deepMerge)(mergeWithLocalFile2(options, optionsExternalFile), options_default);
19758
+ const appIsKey = (0, import_utils20.isString)(App);
19759
+ options = { ...options_default, ...mergeWithLocalFile2(options, optionsExternalFile) };
20011
19760
  const key = options.key || SYMBOLS_KEY || (appIsKey ? App : "");
20012
19761
  if (appIsKey)
20013
19762
  App = {};
@@ -20020,7 +19769,7 @@ var create = async (App, options = options_default, optionsExternalFile) => {
20020
19769
  document = window.document;
20021
19770
  }
20022
19771
  const doc = options.parent || options.document || document;
20023
- const [scratchSystem2, emotion4, registry] = initEmotion(key, options);
19772
+ const [scratchSystem2, emotion2, registry] = initEmotion(key, options);
20024
19773
  let state;
20025
19774
  if (options.state)
20026
19775
  state = options.state;
@@ -20049,7 +19798,7 @@ var create = async (App, options = options_default, optionsExternalFile) => {
20049
19798
  utils: snippets,
20050
19799
  define,
20051
19800
  registry,
20052
- emotion: emotion4,
19801
+ emotion: emotion2,
20053
19802
  routerOptions,
20054
19803
  document: doc
20055
19804
  }
@@ -20069,7 +19818,7 @@ var create = async (App, options = options_default, optionsExternalFile) => {
20069
19818
  return domqlApp;
20070
19819
  };
20071
19820
  var createSync = (App, options = options_default, optionsExternalFile) => {
20072
- const appIsKey = (0, import_utils24.isString)(App);
19821
+ const appIsKey = (0, import_utils20.isString)(App);
20073
19822
  options = mergeWithLocalFile2(options, optionsExternalFile);
20074
19823
  const key = options.key || SYMBOLS_KEY || (appIsKey ? App : "");
20075
19824
  if (appIsKey)
@@ -20088,7 +19837,7 @@ var createSync = (App, options = options_default, optionsExternalFile) => {
20088
19837
  parent = options.document;
20089
19838
  else
20090
19839
  parent = document.body;
20091
- const [scratchSystem2, emotion4, registry] = initEmotion(key, options);
19840
+ const [scratchSystem2, emotion2, registry] = initEmotion(key, options);
20092
19841
  let state;
20093
19842
  if (options.state)
20094
19843
  state = options.state;
@@ -20116,7 +19865,7 @@ var createSync = (App, options = options_default, optionsExternalFile) => {
20116
19865
  utils: snippets,
20117
19866
  define,
20118
19867
  registry,
20119
- emotion: emotion4,
19868
+ emotion: emotion2,
20120
19869
  // routerOptions,
20121
19870
  document
20122
19871
  }