@symbo.ls/uikit 2.11.110 → 2.11.113

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -30,9 +30,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
30
30
  ));
31
31
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
32
32
 
33
- // ../../packages/scratch/dist/cjs/index.js
33
+ // node_modules/@symbo.ls/scratch/dist/cjs/index.js
34
34
  var require_cjs = __commonJS({
35
- "../../packages/scratch/dist/cjs/index.js"(exports, module2) {
35
+ "node_modules/@symbo.ls/scratch/dist/cjs/index.js"(exports, module2) {
36
36
  "use strict";
37
37
  var __create2 = Object.create;
38
38
  var __defProp2 = Object.defineProperty;
@@ -381,7 +381,7 @@ var require_cjs = __commonJS({
381
381
  isBoolean: () => isBoolean,
382
382
  isDefined: () => isDefined2,
383
383
  isFunction: () => isFunction22,
384
- isNot: () => isNot3,
384
+ isNot: () => isNot2,
385
385
  isNull: () => isNull,
386
386
  isNumber: () => isNumber2,
387
387
  isObject: () => isObject7,
@@ -434,7 +434,7 @@ var require_cjs = __commonJS({
434
434
  return args.map((val) => TYPES[val](arg)).filter((v) => v).length > 0;
435
435
  };
436
436
  };
437
- var isNot3 = (arg) => {
437
+ var isNot2 = (arg) => {
438
438
  return (...args) => {
439
439
  return args.map((val) => TYPES[val](arg)).filter((v) => v).length === 0;
440
440
  };
@@ -596,16 +596,16 @@ var require_cjs = __commonJS({
596
596
  var object_exports = {};
597
597
  __export22(object_exports, {
598
598
  clone: () => clone,
599
- deepClone: () => deepClone22,
599
+ deepClone: () => deepClone2,
600
600
  deepCloneExclude: () => deepCloneExclude,
601
601
  deepDestringify: () => deepDestringify,
602
602
  deepMerge: () => deepMerge3,
603
603
  deepStringify: () => deepStringify,
604
604
  detachFunctionsFromObject: () => detachFunctionsFromObject,
605
- diff: () => diff3,
605
+ diff: () => diff2,
606
606
  diffArrays: () => diffArrays,
607
607
  diffObjects: () => diffObjects,
608
- exec: () => exec3,
608
+ exec: () => exec2,
609
609
  flattenRecursive: () => flattenRecursive,
610
610
  isEqualDeep: () => isEqualDeep,
611
611
  map: () => map,
@@ -615,7 +615,7 @@ var require_cjs = __commonJS({
615
615
  objectToString: () => objectToString,
616
616
  overwrite: () => overwrite,
617
617
  overwriteDeep: () => overwriteDeep2,
618
- overwriteShallow: () => overwriteShallow3,
618
+ overwriteShallow: () => overwriteShallow2,
619
619
  removeFromObject: () => removeFromObject,
620
620
  stringToObject: () => stringToObject
621
621
  });
@@ -624,7 +624,7 @@ var require_cjs = __commonJS({
624
624
  var import_types = require_types2();
625
625
  var import_array = require_array2();
626
626
  var import_string = require_string2();
627
- var exec3 = (param, element, state, context) => {
627
+ var exec2 = (param, element, state, context) => {
628
628
  if ((0, import_types.isFunction)(param)) {
629
629
  return param(
630
630
  element,
@@ -636,7 +636,7 @@ var require_cjs = __commonJS({
636
636
  };
637
637
  var map = (obj, extention, element) => {
638
638
  for (const e in extention) {
639
- obj[e] = exec3(extention[e], element);
639
+ obj[e] = exec2(extention[e], element);
640
640
  }
641
641
  };
642
642
  var merge5 = (element, obj, excludeFrom = []) => {
@@ -698,7 +698,7 @@ var require_cjs = __commonJS({
698
698
  var mergeArrayExclude = (arr, excl = []) => {
699
699
  return arr.reduce((acc, curr) => deepMerge3(acc, deepCloneExclude(curr, excl)), {});
700
700
  };
701
- var deepClone22 = (obj, excludeFrom = []) => {
701
+ var deepClone2 = (obj, excludeFrom = []) => {
702
702
  const o = (0, import_types.isArray)(obj) ? [] : {};
703
703
  for (const prop in obj) {
704
704
  if (excludeFrom.includes(prop) || prop.startsWith("__"))
@@ -708,7 +708,7 @@ var require_cjs = __commonJS({
708
708
  objProp = (0, import_array.mergeArray)(objProp);
709
709
  }
710
710
  if ((0, import_types.isObjectLike)(objProp)) {
711
- o[prop] = deepClone22(objProp, excludeFrom);
711
+ o[prop] = deepClone2(objProp, excludeFrom);
712
712
  } else
713
713
  o[prop] = objProp;
714
714
  }
@@ -862,7 +862,7 @@ var require_cjs = __commonJS({
862
862
  const objToDiffProp = objToDiff[e];
863
863
  if ((0, import_types.isObject)(originalProp) && (0, import_types.isObject)(objToDiffProp)) {
864
864
  cache[e] = {};
865
- diff3(originalProp, objToDiffProp, cache[e]);
865
+ diff2(originalProp, objToDiffProp, cache[e]);
866
866
  } else if (objToDiffProp !== void 0) {
867
867
  cache[e] = objToDiffProp;
868
868
  }
@@ -875,7 +875,7 @@ var require_cjs = __commonJS({
875
875
  } else {
876
876
  const diffArr = [];
877
877
  for (let i = 0; i < original.length; i++) {
878
- const diffObj = diff3(original[i], objToDiff[i]);
878
+ const diffObj = diff2(original[i], objToDiff[i]);
879
879
  if (Object.keys(diffObj).length > 0) {
880
880
  diffArr.push(diffObj);
881
881
  }
@@ -886,7 +886,7 @@ var require_cjs = __commonJS({
886
886
  }
887
887
  return cache;
888
888
  };
889
- var diff3 = (original, objToDiff, cache = {}) => {
889
+ var diff2 = (original, objToDiff, cache = {}) => {
890
890
  if ((0, import_types.isArray)(original) && (0, import_types.isArray)(objToDiff)) {
891
891
  cache = [];
892
892
  diffArrays(original, objToDiff, cache);
@@ -910,7 +910,7 @@ var require_cjs = __commonJS({
910
910
  }
911
911
  return changes;
912
912
  };
913
- var overwriteShallow3 = (obj, params, excludeFrom = []) => {
913
+ var overwriteShallow2 = (obj, params, excludeFrom = []) => {
914
914
  for (const e in params) {
915
915
  if (excludeFrom.includes(e) || e.startsWith("__"))
916
916
  continue;
@@ -1104,7 +1104,7 @@ var require_cjs = __commonJS({
1104
1104
  BREAKPOINTS: () => BREAKPOINTS,
1105
1105
  CASES: () => CASES,
1106
1106
  COLOR: () => COLOR,
1107
- CONFIG: () => CONFIG3,
1107
+ CONFIG: () => CONFIG2,
1108
1108
  CSS_VARS: () => CSS_VARS,
1109
1109
  DEVICES: () => DEVICES,
1110
1110
  DOCUMENT: () => DOCUMENT,
@@ -1144,27 +1144,27 @@ var require_cjs = __commonJS({
1144
1144
  generateSequence: () => generateSequence,
1145
1145
  generateSprite: () => generateSprite,
1146
1146
  generateSubSequence: () => generateSubSequence,
1147
- getActiveConfig: () => getActiveConfig3,
1148
- getColor: () => getColor3,
1147
+ getActiveConfig: () => getActiveConfig2,
1148
+ getColor: () => getColor2,
1149
1149
  getColorShade: () => getColorShade,
1150
1150
  getDefaultOrFirstKey: () => getDefaultOrFirstKey,
1151
1151
  getFontFace: () => getFontFace,
1152
1152
  getFontFaceEach: () => getFontFaceEach,
1153
1153
  getFontFaceEachString: () => getFontFaceEachString,
1154
1154
  getFontFaceString: () => getFontFaceString,
1155
- getFontFamily: () => getFontFamily3,
1155
+ getFontFamily: () => getFontFamily2,
1156
1156
  getFontFormat: () => getFontFormat,
1157
- getFontSizeByKey: () => getFontSizeByKey3,
1158
- getMediaColor: () => getMediaColor5,
1159
- getMediaTheme: () => getMediaTheme3,
1157
+ getFontSizeByKey: () => getFontSizeByKey2,
1158
+ getMediaColor: () => getMediaColor3,
1159
+ getMediaTheme: () => getMediaTheme2,
1160
1160
  getRgbTone: () => getRgbTone,
1161
1161
  getSequenceValue: () => getSequenceValue,
1162
1162
  getSequenceValuePropertyPair: () => getSequenceValuePropertyPair,
1163
- getSpacingBasedOnRatio: () => getSpacingBasedOnRatio7,
1164
- getSpacingByKey: () => getSpacingByKey5,
1165
- getTheme: () => getTheme3,
1166
- getTimingByKey: () => getTimingByKey3,
1167
- getTimingFunction: () => getTimingFunction5,
1163
+ getSpacingBasedOnRatio: () => getSpacingBasedOnRatio4,
1164
+ getSpacingByKey: () => getSpacingByKey3,
1165
+ getTheme: () => getTheme2,
1166
+ getTimingByKey: () => getTimingByKey2,
1167
+ getTimingFunction: () => getTimingFunction3,
1168
1168
  hexToRgb: () => hexToRgb,
1169
1169
  hexToRgbArray: () => hexToRgbArray,
1170
1170
  hexToRgba: () => hexToRgba,
@@ -1197,14 +1197,14 @@ var require_cjs = __commonJS({
1197
1197
  setTheme: () => setTheme,
1198
1198
  setValue: () => setValue,
1199
1199
  setVariables: () => setVariables,
1200
- splitTransition: () => splitTransition3,
1201
- transformBackgroundImage: () => transformBackgroundImage3,
1202
- transformBorder: () => transformBorder3,
1203
- transformDuration: () => transformDuration3,
1204
- transformShadow: () => transformShadow3,
1205
- transformTextStroke: () => transformTextStroke3,
1200
+ splitTransition: () => splitTransition2,
1201
+ transformBackgroundImage: () => transformBackgroundImage2,
1202
+ transformBorder: () => transformBorder2,
1203
+ transformDuration: () => transformDuration2,
1204
+ transformShadow: () => transformShadow2,
1205
+ transformTextStroke: () => transformTextStroke2,
1206
1206
  transformTransition: () => transformTransition,
1207
- transfromGap: () => transfromGap3
1207
+ transfromGap: () => transfromGap2
1208
1208
  });
1209
1209
  module2.exports = __toCommonJS2(src_exports);
1210
1210
  var utils_exports = {};
@@ -1247,7 +1247,7 @@ var require_cjs = __commonJS({
1247
1247
  setVariables: () => setVariables
1248
1248
  });
1249
1249
  var import_globals = __toESM2(require_cjs10(), 1);
1250
- var import_utils13 = __toESM2(require_cjs42(), 1);
1250
+ var import_utils8 = __toESM2(require_cjs42(), 1);
1251
1251
  var ENV = "development";
1252
1252
  var colorStringToRgbaArray = (color) => {
1253
1253
  if (color === "")
@@ -1375,9 +1375,9 @@ var require_cjs = __commonJS({
1375
1375
  return `rgba(${arr})`;
1376
1376
  };
1377
1377
  var getRgbTone = (rgb, tone) => {
1378
- if ((0, import_utils13.isString)(rgb))
1378
+ if ((0, import_utils8.isString)(rgb))
1379
1379
  rgb = rgb.split(", ").map((v) => parseFloat(v));
1380
- if ((0, import_utils13.isNumber)(tone))
1380
+ if ((0, import_utils8.isNumber)(tone))
1381
1381
  tone += "";
1382
1382
  const toHex = rgbArrayToHex(rgb);
1383
1383
  const abs2 = tone.slice(0, 1);
@@ -1621,17 +1621,17 @@ var require_cjs = __commonJS({
1621
1621
  var SVG_DATA = {};
1622
1622
  var RESET = {};
1623
1623
  var CSS_VARS = {};
1624
- var CONFIG3 = {
1624
+ var CONFIG2 = {
1625
1625
  verbose: false,
1626
1626
  useVariable: true,
1627
1627
  useReset: true,
1628
1628
  CSS_VARS,
1629
1629
  ...defaultConfig_exports
1630
1630
  };
1631
- var cachedConfig = (0, import_utils42.deepClone)(CONFIG3);
1631
+ var cachedConfig = (0, import_utils42.deepClone)(CONFIG2);
1632
1632
  var FACTORY = {
1633
1633
  active: "0",
1634
- 0: CONFIG3
1634
+ 0: CONFIG2
1635
1635
  };
1636
1636
  var activateConfig = (def) => {
1637
1637
  if ((0, import_utils42.isDefined)(def)) {
@@ -1639,7 +1639,7 @@ var require_cjs = __commonJS({
1639
1639
  }
1640
1640
  return FACTORY[def || FACTORY.active];
1641
1641
  };
1642
- var getActiveConfig3 = (def) => {
1642
+ var getActiveConfig2 = (def) => {
1643
1643
  return FACTORY[def || FACTORY.active];
1644
1644
  };
1645
1645
  var setActiveConfig = (newConfig) => {
@@ -1693,8 +1693,8 @@ var require_cjs = __commonJS({
1693
1693
  var generateSubSequence = (props6, sequenceProps) => {
1694
1694
  const { key, base, value, ratio, variable, index } = props6;
1695
1695
  const next2 = value * ratio;
1696
- const diff3 = next2 - value;
1697
- const smallscale = diff3 / 1.618;
1696
+ const diff2 = next2 - value;
1697
+ const smallscale = diff2 / 1.618;
1698
1698
  const valueRounded = ~~value;
1699
1699
  const nextRounded = ~~next2;
1700
1700
  const diffRounded = nextRounded - valueRounded;
@@ -1748,7 +1748,7 @@ var require_cjs = __commonJS({
1748
1748
  return sequenceProps;
1749
1749
  };
1750
1750
  var getSequenceValue = (value = "A", sequenceProps) => {
1751
- const CONFIG22 = getActiveConfig3();
1751
+ const CONFIG22 = getActiveConfig2();
1752
1752
  const { UNIT: UNIT2 } = CONFIG22;
1753
1753
  const {
1754
1754
  sequence,
@@ -1818,7 +1818,7 @@ var require_cjs = __commonJS({
1818
1818
  };
1819
1819
  var import_utils72 = __toESM2(require_cjs42(), 1);
1820
1820
  var setVariables = (result, key) => {
1821
- const CONFIG22 = getActiveConfig3();
1821
+ const CONFIG22 = getActiveConfig2();
1822
1822
  const { CSS_VARS: CSS_VARS2 } = CONFIG22;
1823
1823
  if ((0, import_utils72.isObjectLike)(result.value)) {
1824
1824
  } else {
@@ -1826,7 +1826,7 @@ var require_cjs = __commonJS({
1826
1826
  }
1827
1827
  };
1828
1828
  var applySequenceVars = (props6, mediaName, options = {}) => {
1829
- const CONFIG22 = getActiveConfig3();
1829
+ const CONFIG22 = getActiveConfig2();
1830
1830
  const { UNIT: UNIT2, MEDIA: MEDIA2, TIMING: TIMING2, CSS_VARS: CSS_VARS2 } = CONFIG22;
1831
1831
  const unit = props6.unit || UNIT2.default;
1832
1832
  const { sequence, scales } = props6;
@@ -1856,7 +1856,7 @@ var require_cjs = __commonJS({
1856
1856
  };
1857
1857
  var import_utils82 = __toESM2(require_cjs42(), 1);
1858
1858
  var generateSprite = (icons) => {
1859
- const CONFIG22 = getActiveConfig3();
1859
+ const CONFIG22 = getActiveConfig2();
1860
1860
  let sprite = "";
1861
1861
  for (const key in icons) {
1862
1862
  if (CONFIG22.__svg_cache[key])
@@ -1921,16 +1921,16 @@ var require_cjs = __commonJS({
1921
1921
  applySpacingSequence: () => applySpacingSequence,
1922
1922
  applyTimingSequence: () => applyTimingSequence,
1923
1923
  applyTypographySequence: () => applyTypographySequence,
1924
- getColor: () => getColor3,
1925
- getFontFamily: () => getFontFamily3,
1926
- getFontSizeByKey: () => getFontSizeByKey3,
1927
- getMediaColor: () => getMediaColor5,
1928
- getMediaTheme: () => getMediaTheme3,
1929
- getSpacingBasedOnRatio: () => getSpacingBasedOnRatio7,
1930
- getSpacingByKey: () => getSpacingByKey5,
1931
- getTheme: () => getTheme3,
1932
- getTimingByKey: () => getTimingByKey3,
1933
- getTimingFunction: () => getTimingFunction5,
1924
+ getColor: () => getColor2,
1925
+ getFontFamily: () => getFontFamily2,
1926
+ getFontSizeByKey: () => getFontSizeByKey2,
1927
+ getMediaColor: () => getMediaColor3,
1928
+ getMediaTheme: () => getMediaTheme2,
1929
+ getSpacingBasedOnRatio: () => getSpacingBasedOnRatio4,
1930
+ getSpacingByKey: () => getSpacingByKey3,
1931
+ getTheme: () => getTheme2,
1932
+ getTimingByKey: () => getTimingByKey2,
1933
+ getTimingFunction: () => getTimingFunction3,
1934
1934
  runThroughMedia: () => runThroughMedia,
1935
1935
  setColor: () => setColor,
1936
1936
  setFont: () => setFont,
@@ -1941,10 +1941,10 @@ var require_cjs = __commonJS({
1941
1941
  setSVG: () => setSVG,
1942
1942
  setTheme: () => setTheme
1943
1943
  });
1944
- var import_utils92 = __toESM2(require_cjs42(), 1);
1945
- var getColor3 = (value, key, config) => {
1946
- const CONFIG22 = config || getActiveConfig3();
1947
- if (!(0, import_utils92.isString)(value)) {
1944
+ var import_utils9 = __toESM2(require_cjs42(), 1);
1945
+ var getColor2 = (value, key, config) => {
1946
+ const CONFIG22 = config || getActiveConfig2();
1947
+ if (!(0, import_utils9.isString)(value)) {
1948
1948
  if (CONFIG22.verbose)
1949
1949
  console.warn(value, "- type for color is not valid");
1950
1950
  return;
@@ -1953,7 +1953,7 @@ var require_cjs = __commonJS({
1953
1953
  return `var(${value})`;
1954
1954
  if (key && value[key])
1955
1955
  value = value[key];
1956
- const [name, alpha, tone] = (0, import_utils92.isArray)(value) ? value : value.split(" ");
1956
+ const [name, alpha, tone] = (0, import_utils9.isArray)(value) ? value : value.split(" ");
1957
1957
  const { COLOR: COLOR2, GRADIENT: GRADIENT2 } = CONFIG22;
1958
1958
  let val = COLOR2[name] || GRADIENT2[name];
1959
1959
  if (!val) {
@@ -1981,32 +1981,32 @@ var require_cjs = __commonJS({
1981
1981
  return `rgba(${rgb}, ${alpha})`;
1982
1982
  return CONFIG22.useVariable ? `var(${val.var})` : `rgb(${rgb})`;
1983
1983
  };
1984
- var getMediaColor5 = (value, globalTheme, config) => {
1985
- const CONFIG22 = config || getActiveConfig3();
1984
+ var getMediaColor3 = (value, globalTheme, config) => {
1985
+ const CONFIG22 = config || getActiveConfig2();
1986
1986
  if (!globalTheme)
1987
1987
  globalTheme = CONFIG22.globalTheme;
1988
- if (!(0, import_utils92.isString)(value)) {
1988
+ if (!(0, import_utils9.isString)(value)) {
1989
1989
  if (CONFIG22.verbose)
1990
1990
  console.warn(value, "- type for color is not valid");
1991
1991
  return;
1992
1992
  }
1993
1993
  if (value.slice(0, 2) === "--")
1994
1994
  return `var(${value})`;
1995
- const [name] = (0, import_utils92.isArray)(value) ? value : value.split(" ");
1995
+ const [name] = (0, import_utils9.isArray)(value) ? value : value.split(" ");
1996
1996
  const { COLOR: COLOR2, GRADIENT: GRADIENT2 } = CONFIG22;
1997
1997
  const val = COLOR2[name] || GRADIENT2[name];
1998
- const isObj = (0, import_utils92.isObject)(val);
1998
+ const isObj = (0, import_utils9.isObject)(val);
1999
1999
  if (isObj && val.value)
2000
- return getColor3(value, `@${globalTheme}`, config);
2000
+ return getColor2(value, `@${globalTheme}`, config);
2001
2001
  else if (isObj) {
2002
2002
  if (globalTheme)
2003
- return getColor3(value, `@${globalTheme}`, config);
2003
+ return getColor2(value, `@${globalTheme}`, config);
2004
2004
  else {
2005
2005
  const obj = {};
2006
2006
  for (const mediaName in val) {
2007
2007
  const query = CONFIG22.MEDIA[mediaName.slice(1)];
2008
2008
  const media = `@media screen and ${query}`;
2009
- obj[media] = getColor3(value, mediaName, config);
2009
+ obj[media] = getColor2(value, mediaName, config);
2010
2010
  }
2011
2011
  return obj;
2012
2012
  }
@@ -2017,16 +2017,16 @@ var require_cjs = __commonJS({
2017
2017
  }
2018
2018
  };
2019
2019
  var setColor = (val, key, suffix) => {
2020
- const CONFIG22 = getActiveConfig3();
2021
- if ((0, import_utils92.isString)(val) && val.slice(0, 2) === "--")
2022
- val = getColor3(val.slice(2));
2023
- if ((0, import_utils92.isArray)(val)) {
2020
+ const CONFIG22 = getActiveConfig2();
2021
+ if ((0, import_utils9.isString)(val) && val.slice(0, 2) === "--")
2022
+ val = getColor2(val.slice(2));
2023
+ if ((0, import_utils9.isArray)(val)) {
2024
2024
  return {
2025
2025
  "@light": setColor(val[0], key, "light"),
2026
2026
  "@dark": setColor(val[1], key, "dark")
2027
2027
  };
2028
2028
  }
2029
- if ((0, import_utils92.isObject)(val)) {
2029
+ if ((0, import_utils9.isObject)(val)) {
2030
2030
  const obj = {};
2031
2031
  for (const variant in val)
2032
2032
  obj[variant] = setColor(val[variant], key, variant.slice(0, 1) === "@" ? variant.slice(1) : variant);
@@ -2048,16 +2048,16 @@ var require_cjs = __commonJS({
2048
2048
  };
2049
2049
  };
2050
2050
  var setGradient = (val, key, suffix) => {
2051
- const CONFIG22 = getActiveConfig3();
2052
- if ((0, import_utils92.isString)(val) && val.slice(0, 2) === "--")
2053
- val = getColor3(val.slice(2));
2054
- if ((0, import_utils92.isArray)(val)) {
2051
+ const CONFIG22 = getActiveConfig2();
2052
+ if ((0, import_utils9.isString)(val) && val.slice(0, 2) === "--")
2053
+ val = getColor2(val.slice(2));
2054
+ if ((0, import_utils9.isArray)(val)) {
2055
2055
  return {
2056
2056
  "@light": setGradient(val[0], key, "light"),
2057
2057
  "@dark": setGradient(val[0], key, "dark")
2058
2058
  };
2059
2059
  }
2060
- if ((0, import_utils92.isObject)(val)) {
2060
+ if ((0, import_utils9.isObject)(val)) {
2061
2061
  const obj = {};
2062
2062
  for (const variant in val)
2063
2063
  obj[variant] = setGradient(val[variant], key, variant.slice(0, 1) === "@" ? variant.slice(1) : variant);
@@ -2072,7 +2072,7 @@ var require_cjs = __commonJS({
2072
2072
  value: val.value || val
2073
2073
  };
2074
2074
  };
2075
- var import_utils112 = __toESM2(require_cjs42(), 1);
2075
+ var import_utils11 = __toESM2(require_cjs42(), 1);
2076
2076
  var setThemeValue = (theme) => {
2077
2077
  const value = {};
2078
2078
  const { state, media, helpers, ...rest } = theme;
@@ -2080,7 +2080,7 @@ var require_cjs = __commonJS({
2080
2080
  keys.map((key) => {
2081
2081
  const conditions = ["color", "Color", "background", "border"];
2082
2082
  const isColor = conditions.some((k) => key.includes(k));
2083
- return value[key] = isColor ? getColor3(theme[key]) : theme[key];
2083
+ return value[key] = isColor ? getColor2(theme[key]) : theme[key];
2084
2084
  });
2085
2085
  return value;
2086
2086
  };
@@ -2090,12 +2090,12 @@ var require_cjs = __commonJS({
2090
2090
  theme.value = setThemeValue(theme);
2091
2091
  return theme.value;
2092
2092
  };
2093
- var getTheme3 = (value, modifier) => {
2094
- const CONFIG22 = getActiveConfig3();
2093
+ var getTheme2 = (value, modifier) => {
2094
+ const CONFIG22 = getActiveConfig2();
2095
2095
  if (CONFIG22.useVariable)
2096
- return getMediaTheme3(value, modifier);
2096
+ return getMediaTheme2(value, modifier);
2097
2097
  const { THEME: THEME2 } = CONFIG22;
2098
- if ((0, import_utils112.isString)(value)) {
2098
+ if ((0, import_utils11.isString)(value)) {
2099
2099
  const [theme, subtheme] = value.split(" ");
2100
2100
  const isOurTheme = THEME2[theme];
2101
2101
  if (isOurTheme) {
@@ -2104,7 +2104,7 @@ var require_cjs = __commonJS({
2104
2104
  value = [theme, subtheme || modifier];
2105
2105
  }
2106
2106
  }
2107
- if ((0, import_utils112.isObjectLike)(value) && value[1]) {
2107
+ if ((0, import_utils11.isObjectLike)(value) && value[1]) {
2108
2108
  const themeName = value[0];
2109
2109
  const subThemeName = value[1];
2110
2110
  const { helpers, media, state } = THEME2[themeName];
@@ -2114,11 +2114,11 @@ var require_cjs = __commonJS({
2114
2114
  return getThemeValue(helpers[subThemeName]);
2115
2115
  if (state && state[subThemeName])
2116
2116
  return getThemeValue(state[subThemeName]);
2117
- } else if ((0, import_utils112.isObject)(value))
2117
+ } else if ((0, import_utils11.isObject)(value))
2118
2118
  return setThemeValue(value);
2119
2119
  };
2120
2120
  var setInverseTheme = (theme, variant, value) => {
2121
- if ((0, import_utils112.isObject)(variant)) {
2121
+ if ((0, import_utils11.isObject)(variant)) {
2122
2122
  theme.variants.inverse.value = setThemeValue(variant);
2123
2123
  } else if (variant === true) {
2124
2124
  const { color, background } = value;
@@ -2131,9 +2131,9 @@ var require_cjs = __commonJS({
2131
2131
  }
2132
2132
  };
2133
2133
  var setPseudo = (theme, key, variant, themeValue) => {
2134
- const result = getTheme3(variant);
2134
+ const result = getTheme2(variant);
2135
2135
  themeValue[`&:${key}`] = result;
2136
- if ((0, import_utils112.isObject)(variant) && !variant.value)
2136
+ if ((0, import_utils11.isObject)(variant) && !variant.value)
2137
2137
  variant.value = result;
2138
2138
  };
2139
2139
  var setSelectors = (theme, value) => {
@@ -2149,9 +2149,9 @@ var require_cjs = __commonJS({
2149
2149
  return theme;
2150
2150
  };
2151
2151
  var setPrefersScheme = (theme, key, variant, themeValue) => {
2152
- const result = getTheme3(variant);
2152
+ const result = getTheme2(variant);
2153
2153
  themeValue[`@media (prefers-color-scheme: ${key})`] = result;
2154
- if ((0, import_utils112.isObject)(variant) && !variant.value)
2154
+ if ((0, import_utils11.isObject)(variant) && !variant.value)
2155
2155
  variant.value = result;
2156
2156
  };
2157
2157
  var setMedia = (theme, value) => {
@@ -2170,14 +2170,14 @@ var require_cjs = __commonJS({
2170
2170
  return theme;
2171
2171
  };
2172
2172
  var setHelpers = (theme, value) => {
2173
- const CONFIG22 = getActiveConfig3();
2173
+ const CONFIG22 = getActiveConfig2();
2174
2174
  const { helpers } = theme;
2175
2175
  if (!helpers)
2176
2176
  return;
2177
2177
  const keys = Object.keys(helpers);
2178
2178
  keys.map((key) => {
2179
2179
  const helper = helpers[key];
2180
- if ((0, import_utils112.isString)(helper))
2180
+ if ((0, import_utils11.isString)(helper))
2181
2181
  helpers[key] = CONFIG22.THEME[helper];
2182
2182
  else
2183
2183
  getThemeValue(helpers[key]);
@@ -2186,7 +2186,7 @@ var require_cjs = __commonJS({
2186
2186
  return theme;
2187
2187
  };
2188
2188
  var setTheme = (val, key) => {
2189
- const CONFIG22 = getActiveConfig3();
2189
+ const CONFIG22 = getActiveConfig2();
2190
2190
  if (CONFIG22.useVariable)
2191
2191
  return setMediaTheme(val, key);
2192
2192
  const { state, media, helpers } = val;
@@ -2198,10 +2198,10 @@ var require_cjs = __commonJS({
2198
2198
  return { var: CSSvar, value, state, media, helpers };
2199
2199
  };
2200
2200
  var setMediaTheme = (val, key, suffix, prefers) => {
2201
- const CONFIG22 = getActiveConfig3();
2201
+ const CONFIG22 = getActiveConfig2();
2202
2202
  const { CSS_VARS: CSS_VARS2 } = CONFIG22;
2203
2203
  const theme = { value: val };
2204
- if ((0, import_utils112.isObjectLike)(val)) {
2204
+ if ((0, import_utils11.isObjectLike)(val)) {
2205
2205
  for (const param in val) {
2206
2206
  const symb = param.slice(0, 1);
2207
2207
  const value = val[param];
@@ -2209,7 +2209,7 @@ var require_cjs = __commonJS({
2209
2209
  const hasPrefers = symb === "@" && param;
2210
2210
  theme[param] = setMediaTheme(value, key, param, prefers || hasPrefers);
2211
2211
  } else {
2212
- const color = getColor3(value, prefers);
2212
+ const color = getColor2(value, prefers);
2213
2213
  const metaSuffixes = [...new Set([prefers, suffix].filter((v) => v).map((v) => v.slice(1)))];
2214
2214
  const varmetaSuffixName = metaSuffixes.length ? "-" + metaSuffixes.join("-") : "";
2215
2215
  const CSSVar = `--theme-${key}${varmetaSuffixName}-${param}`;
@@ -2229,20 +2229,20 @@ var require_cjs = __commonJS({
2229
2229
  };
2230
2230
  }
2231
2231
  }
2232
- if ((0, import_utils112.isString)(val) && val.slice(0, 2) === "--") {
2232
+ if ((0, import_utils11.isString)(val) && val.slice(0, 2) === "--") {
2233
2233
  const { THEME: THEME2 } = CONFIG22;
2234
2234
  const value = THEME2[val.slice(2)];
2235
- const getReferenced = getMediaTheme3(value, prefers);
2235
+ const getReferenced = getMediaTheme2(value, prefers);
2236
2236
  return getReferenced;
2237
2237
  }
2238
2238
  return theme;
2239
2239
  };
2240
2240
  var recursiveTheme = (val) => {
2241
- const CONFIG22 = getActiveConfig3();
2241
+ const CONFIG22 = getActiveConfig2();
2242
2242
  const obj = {};
2243
2243
  for (const param in val) {
2244
2244
  const symb = param.slice(0, 1);
2245
- if ((0, import_utils112.isObjectLike)(val[param])) {
2245
+ if ((0, import_utils11.isObjectLike)(val[param])) {
2246
2246
  if (symb === "@") {
2247
2247
  const query = CONFIG22.MEDIA[param.slice(1)];
2248
2248
  const media = `@media screen and ${query}`;
@@ -2262,23 +2262,23 @@ var require_cjs = __commonJS({
2262
2262
  return val;
2263
2263
  };
2264
2264
  var findModifier = (val, modifier) => {
2265
- if ((0, import_utils112.isArray)(modifier))
2265
+ if ((0, import_utils11.isArray)(modifier))
2266
2266
  return findModifierFromArray(val, modifier);
2267
- else if ((0, import_utils112.isString)(modifier) && val[modifier])
2267
+ else if ((0, import_utils11.isString)(modifier) && val[modifier])
2268
2268
  return val[modifier];
2269
2269
  else
2270
2270
  return val;
2271
2271
  };
2272
- var getMediaTheme3 = (val, mod) => {
2273
- const CONFIG22 = getActiveConfig3();
2274
- if ((0, import_utils112.isString)(val) && val.slice(0, 2) === "--")
2275
- val = getMediaTheme3(val.slice(2));
2276
- if (!val || !(0, import_utils112.isString)(val)) {
2272
+ var getMediaTheme2 = (val, mod) => {
2273
+ const CONFIG22 = getActiveConfig2();
2274
+ if ((0, import_utils11.isString)(val) && val.slice(0, 2) === "--")
2275
+ val = getMediaTheme2(val.slice(2));
2276
+ if (!val || !(0, import_utils11.isString)(val)) {
2277
2277
  if (CONFIG22.verbose)
2278
2278
  console.warn(val, "- theme is not string");
2279
2279
  return;
2280
2280
  }
2281
- const [name, ...modifier] = (0, import_utils112.isArray)(val) ? val : val.split(" ");
2281
+ const [name, ...modifier] = (0, import_utils11.isArray)(val) ? val : val.split(" ");
2282
2282
  let value = CONFIG22.THEME[name];
2283
2283
  if (value && (modifier || mod)) {
2284
2284
  value = findModifier(value, modifier.length ? modifier : mod);
@@ -2286,24 +2286,24 @@ var require_cjs = __commonJS({
2286
2286
  const r = recursiveTheme(value);
2287
2287
  return r;
2288
2288
  };
2289
- var import_utils122 = __toESM2(require_cjs42(), 1);
2289
+ var import_utils12 = __toESM2(require_cjs42(), 1);
2290
2290
  var setFont = (val, key) => {
2291
2291
  const CSSvar = `--font-${key}`;
2292
2292
  const fontFace = val[0] ? getFontFaceEach(key, val) : setCustomFontMedia(key, val.url);
2293
2293
  return { var: CSSvar, value: val, fontFace };
2294
2294
  };
2295
- var getFontFamily3 = (key, factory) => {
2296
- const CONFIG22 = getActiveConfig3();
2295
+ var getFontFamily2 = (key, factory) => {
2296
+ const CONFIG22 = getActiveConfig2();
2297
2297
  const { FONT_FAMILY: FONT_FAMILY2 } = CONFIG22;
2298
2298
  return getDefaultOrFirstKey(factory || FONT_FAMILY2, key);
2299
2299
  };
2300
2300
  var setFontFamily = (val, key) => {
2301
- const CONFIG22 = getActiveConfig3();
2301
+ const CONFIG22 = getActiveConfig2();
2302
2302
  const { FONT_FAMILY: FONT_FAMILY2, FONT_FAMILY_TYPES: FONT_FAMILY_TYPES2 } = CONFIG22;
2303
2303
  let { value, type } = val;
2304
2304
  if (val.isDefault)
2305
2305
  FONT_FAMILY2.default = key;
2306
- if ((0, import_utils122.isObject)(value))
2306
+ if ((0, import_utils12.isObject)(value))
2307
2307
  value = arrayzeValue(value);
2308
2308
  const CSSvar = `--font-family-${key}`;
2309
2309
  const str = `${value.join(", ")}, ${FONT_FAMILY_TYPES2[type]}`;
@@ -2311,7 +2311,7 @@ var require_cjs = __commonJS({
2311
2311
  };
2312
2312
  var import_utils15 = __toESM2(require_cjs42(), 1);
2313
2313
  var runThroughMedia = (props6) => {
2314
- const CONFIG22 = getActiveConfig3();
2314
+ const CONFIG22 = getActiveConfig2();
2315
2315
  const { TYPOGRAPHY: TYPOGRAPHY2, MEDIA: MEDIA2 } = CONFIG22;
2316
2316
  for (const prop in props6) {
2317
2317
  const mediaProps = props6[prop];
@@ -2341,7 +2341,7 @@ var require_cjs = __commonJS({
2341
2341
  }
2342
2342
  };
2343
2343
  var applyHeadings = (props6) => {
2344
- const CONFIG22 = getActiveConfig3();
2344
+ const CONFIG22 = getActiveConfig2();
2345
2345
  if (props6.h1Matches) {
2346
2346
  const unit = props6.unit;
2347
2347
  const HEADINGS = findHeadings(props6);
@@ -2360,15 +2360,15 @@ var require_cjs = __commonJS({
2360
2360
  }
2361
2361
  };
2362
2362
  var applyTypographySequence = () => {
2363
- const CONFIG22 = getActiveConfig3();
2363
+ const CONFIG22 = getActiveConfig2();
2364
2364
  const { TYPOGRAPHY: TYPOGRAPHY2 } = CONFIG22;
2365
2365
  generateSequence(TYPOGRAPHY2);
2366
2366
  applyHeadings(TYPOGRAPHY2);
2367
2367
  applySequenceVars(TYPOGRAPHY2);
2368
2368
  runThroughMedia(TYPOGRAPHY2);
2369
2369
  };
2370
- var getFontSizeByKey3 = (value) => {
2371
- const CONFIG22 = getActiveConfig3();
2370
+ var getFontSizeByKey2 = (value) => {
2371
+ const CONFIG22 = getActiveConfig2();
2372
2372
  const { TYPOGRAPHY: TYPOGRAPHY2 } = CONFIG22;
2373
2373
  return getSequenceValuePropertyPair(
2374
2374
  value,
@@ -2402,21 +2402,21 @@ var require_cjs = __commonJS({
2402
2402
  }
2403
2403
  };
2404
2404
  var applySpacingSequence = () => {
2405
- const CONFIG22 = getActiveConfig3();
2405
+ const CONFIG22 = getActiveConfig2();
2406
2406
  const { SPACING: SPACING2 } = CONFIG22;
2407
2407
  generateSequence(SPACING2);
2408
2408
  applySequenceVars(SPACING2);
2409
2409
  runThroughMedia2(SPACING2);
2410
2410
  };
2411
2411
  var getSequence = (sequenceProps) => {
2412
- const CONFIG22 = getActiveConfig3();
2412
+ const CONFIG22 = getActiveConfig2();
2413
2413
  const { SPACING: SPACING2 } = CONFIG22;
2414
2414
  if (!sequenceProps)
2415
2415
  return SPACING2;
2416
2416
  const hasGenerated = Object.keys(sequenceProps.sequence).length > 0;
2417
2417
  return hasGenerated ? sequenceProps : generateSequence(sequenceProps);
2418
2418
  };
2419
- var getSpacingByKey5 = (value, propertyName = "padding", sequenceProps) => {
2419
+ var getSpacingByKey3 = (value, propertyName = "padding", sequenceProps) => {
2420
2420
  const sequence = getSequence(sequenceProps);
2421
2421
  const stack = arrayzeValue(value);
2422
2422
  if (!stack)
@@ -2448,8 +2448,8 @@ var require_cjs = __commonJS({
2448
2448
  sequence
2449
2449
  );
2450
2450
  };
2451
- var getSpacingBasedOnRatio7 = (props6, propertyName, val) => {
2452
- const CONFIG22 = getActiveConfig3();
2451
+ var getSpacingBasedOnRatio4 = (props6, propertyName, val) => {
2452
+ const CONFIG22 = getActiveConfig2();
2453
2453
  const { SPACING: SPACING2 } = CONFIG22;
2454
2454
  const { spacingRatio, unit } = props6;
2455
2455
  const value = val || props6[propertyName];
@@ -2474,23 +2474,23 @@ var require_cjs = __commonJS({
2474
2474
  });
2475
2475
  }
2476
2476
  applySequenceVars(sequenceProps, null, { useDefault: false });
2477
- return getSpacingByKey5(value, propertyName, sequenceProps);
2477
+ return getSpacingByKey3(value, propertyName, sequenceProps);
2478
2478
  }
2479
- return getSpacingByKey5(value, propertyName);
2479
+ return getSpacingByKey3(value, propertyName);
2480
2480
  };
2481
2481
  var applyTimingSequence = () => {
2482
- const CONFIG22 = getActiveConfig3();
2482
+ const CONFIG22 = getActiveConfig2();
2483
2483
  const { TIMING: TIMING2 } = CONFIG22;
2484
2484
  generateSequence(TIMING2);
2485
2485
  applySequenceVars(TIMING2);
2486
2486
  };
2487
- var getTimingFunction5 = (value) => {
2488
- const CONFIG22 = getActiveConfig3();
2487
+ var getTimingFunction3 = (value) => {
2488
+ const CONFIG22 = getActiveConfig2();
2489
2489
  const { TIMING: TIMING2 } = CONFIG22;
2490
2490
  return TIMING2[value] || TIMING2[toCamelCase(value)] || value;
2491
2491
  };
2492
- var getTimingByKey3 = (value, property = "timing") => {
2493
- const CONFIG22 = getActiveConfig3();
2492
+ var getTimingByKey2 = (value, property = "timing") => {
2493
+ const CONFIG22 = getActiveConfig2();
2494
2494
  const { TIMING: TIMING2 } = CONFIG22;
2495
2495
  return getSequenceValuePropertyPair(
2496
2496
  value,
@@ -2500,7 +2500,7 @@ var require_cjs = __commonJS({
2500
2500
  };
2501
2501
  var import_utils222 = __toESM2(require_cjs42(), 1);
2502
2502
  var applyDocument = () => {
2503
- const CONFIG22 = getActiveConfig3();
2503
+ const CONFIG22 = getActiveConfig2();
2504
2504
  const { DOCUMENT: DOCUMENT2, FONT_FAMILY: FONT_FAMILY2, THEME: THEME2, TYPOGRAPHY: TYPOGRAPHY2 } = CONFIG22;
2505
2505
  return (0, import_utils222.merge)(DOCUMENT2, {
2506
2506
  theme: THEME2.document,
@@ -2514,7 +2514,7 @@ var require_cjs = __commonJS({
2514
2514
  document: import_globals2.document
2515
2515
  };
2516
2516
  var setSVG = (val, key) => {
2517
- const CONFIG22 = getActiveConfig3();
2517
+ const CONFIG22 = getActiveConfig2();
2518
2518
  if (!val) {
2519
2519
  if (CONFIG22.verbose)
2520
2520
  console.warn("setSVG: val is not defined", key);
@@ -2526,21 +2526,21 @@ var require_cjs = __commonJS({
2526
2526
  return val;
2527
2527
  };
2528
2528
  var appendSVGSprite = (LIBRARY, options = DEF_OPTIONS) => {
2529
- const CONFIG22 = getActiveConfig3();
2529
+ const CONFIG22 = getActiveConfig2();
2530
2530
  const lib = Object.keys(LIBRARY).length ? {} : CONFIG22.SVG;
2531
2531
  for (const key in LIBRARY)
2532
2532
  lib[key] = CONFIG22.SVG[key];
2533
2533
  appendSVG(lib, options);
2534
2534
  };
2535
2535
  var setIcon = (val, key) => {
2536
- const CONFIG22 = getActiveConfig3();
2536
+ const CONFIG22 = getActiveConfig2();
2537
2537
  if (CONFIG22.useIconSprite) {
2538
2538
  return setSVG(val, key);
2539
2539
  }
2540
2540
  return val;
2541
2541
  };
2542
2542
  var appendIconsSprite = (LIBRARY, options = DEF_OPTIONS) => {
2543
- const CONFIG22 = getActiveConfig3();
2543
+ const CONFIG22 = getActiveConfig2();
2544
2544
  const lib = Object.keys(LIBRARY).length ? {} : CONFIG22.ICONS;
2545
2545
  for (const key in LIBRARY)
2546
2546
  lib[key] = CONFIG22.ICONS[key];
@@ -2560,7 +2560,7 @@ var require_cjs = __commonJS({
2560
2560
  return svgElem;
2561
2561
  };
2562
2562
  var appendSVG = (lib, options = DEF_OPTIONS) => {
2563
- const CONFIG22 = getActiveConfig3();
2563
+ const CONFIG22 = getActiveConfig2();
2564
2564
  const doc = options.document || import_globals2.document;
2565
2565
  if (!doc || !doc.documentElement) {
2566
2566
  if (CONFIG22.verbose) {
@@ -2584,14 +2584,14 @@ var require_cjs = __commonJS({
2584
2584
  };
2585
2585
  var import_utils25 = __toESM2(require_cjs42(), 1);
2586
2586
  var applyReset = (reset = {}) => {
2587
- const CONFIG22 = getActiveConfig3();
2587
+ const CONFIG22 = getActiveConfig2();
2588
2588
  const { RESET: RESET2, TYPOGRAPHY: TYPOGRAPHY2, DOCUMENT: DOCUMENT2 } = CONFIG22;
2589
2589
  if (RESET2) {
2590
2590
  if (RESET2[":root"]) {
2591
2591
  const configReset = RESET2;
2592
2592
  const configTemplates = TYPOGRAPHY2.templates;
2593
2593
  configReset.body = {
2594
- ...CONFIG22.useDocumentTheme ? getMediaTheme3("document", `@${CONFIG22.globalTheme}`) : {},
2594
+ ...CONFIG22.useDocumentTheme ? getMediaTheme2("document", `@${CONFIG22.globalTheme}`) : {},
2595
2595
  ...configTemplates.body
2596
2596
  };
2597
2597
  configReset.h1 = configTemplates.h1;
@@ -2602,7 +2602,7 @@ var require_cjs = __commonJS({
2602
2602
  configReset.h6 = configTemplates.h6;
2603
2603
  }
2604
2604
  const { body, ...templates } = TYPOGRAPHY2.templates;
2605
- const globalTheme = CONFIG22.useDocumentTheme ? getMediaTheme3("document", `@${CONFIG22.globalTheme}`) : {};
2605
+ const globalTheme = CONFIG22.useDocumentTheme ? getMediaTheme2("document", `@${CONFIG22.globalTheme}`) : {};
2606
2606
  if (RESET2.html)
2607
2607
  (0, import_utils25.overwriteDeep)(RESET2.html, globalTheme);
2608
2608
  return (0, import_utils25.deepMerge)((0, import_utils25.merge)(RESET2, reset), {
@@ -2656,7 +2656,7 @@ var require_cjs = __commonJS({
2656
2656
  "outset",
2657
2657
  "initial"
2658
2658
  ].some((v) => str.includes(v));
2659
- var transformBorder3 = (border) => {
2659
+ var transformBorder2 = (border) => {
2660
2660
  const arr = border.split(", ");
2661
2661
  return arr.map((v) => {
2662
2662
  v = v.trim();
@@ -2666,39 +2666,39 @@ var require_cjs = __commonJS({
2666
2666
  return v || "solid";
2667
2667
  else if (v.slice(-2) === "px" || v.slice(-2) === "em")
2668
2668
  return v;
2669
- else if (getColor3(v).length > 2)
2670
- return getColor3(v);
2671
- return getSpacingByKey5(v, "border").border;
2669
+ else if (getColor2(v).length > 2)
2670
+ return getColor2(v);
2671
+ return getSpacingByKey3(v, "border").border;
2672
2672
  }).join(" ");
2673
2673
  };
2674
- var transformTextStroke3 = (stroke) => {
2674
+ var transformTextStroke2 = (stroke) => {
2675
2675
  return stroke.split(", ").map((v) => {
2676
2676
  if (v.slice(0, 2) === "--")
2677
2677
  return `var(${v})`;
2678
2678
  if (v.includes("px"))
2679
2679
  return v;
2680
- else if (getColor3(v))
2681
- return getColor3(v);
2680
+ else if (getColor2(v))
2681
+ return getColor2(v);
2682
2682
  return v;
2683
2683
  }).join(" ");
2684
2684
  };
2685
- var transformShadow3 = (shadows) => shadows.split("|").map((shadow) => {
2685
+ var transformShadow2 = (shadows) => shadows.split("|").map((shadow) => {
2686
2686
  return shadow.split(", ").map((v) => {
2687
2687
  v = v.trim();
2688
2688
  if (v.slice(0, 2) === "--")
2689
2689
  return `var(${v})`;
2690
- if (getColor3(v).length > 2)
2691
- return getColor3(v);
2690
+ if (getColor2(v).length > 2)
2691
+ return getColor2(v);
2692
2692
  if (v.includes("px") || v.slice(-2) === "em")
2693
2693
  return v;
2694
2694
  const arr = v.split(" ");
2695
2695
  if (!arr.length)
2696
2696
  return v;
2697
- return arr.map((v2) => getSpacingByKey5(v2, "shadow").shadow).join(" ");
2697
+ return arr.map((v2) => getSpacingByKey3(v2, "shadow").shadow).join(" ");
2698
2698
  }).join(" ");
2699
2699
  }).join(",");
2700
- var transformBackgroundImage3 = (backgroundImage, globalTheme) => {
2701
- const CONFIG22 = getActiveConfig3();
2700
+ var transformBackgroundImage2 = (backgroundImage, globalTheme) => {
2701
+ const CONFIG22 = getActiveConfig2();
2702
2702
  return backgroundImage.split(", ").map((v) => {
2703
2703
  if (v.slice(0, 2) === "--")
2704
2704
  return `var(${v})`;
@@ -2706,14 +2706,14 @@ var require_cjs = __commonJS({
2706
2706
  return v;
2707
2707
  else if (CONFIG22.GRADIENT[backgroundImage]) {
2708
2708
  return {
2709
- backgroundImage: getMediaColor5(backgroundImage, globalTheme || CONFIG22.globalTheme)
2709
+ backgroundImage: getMediaColor3(backgroundImage, globalTheme || CONFIG22.globalTheme)
2710
2710
  };
2711
2711
  } else if (v.includes("/") || v.includes("http"))
2712
2712
  return `url(${v})`;
2713
2713
  return v;
2714
2714
  }).join(" ");
2715
2715
  };
2716
- var transfromGap3 = (gap) => (0, import_utils26.isString)(gap) && gap.split(" ").map((v) => getSpacingByKey5(v, "gap").gap).join(" ");
2716
+ var transfromGap2 = (gap) => (0, import_utils26.isString)(gap) && gap.split(" ").map((v) => getSpacingByKey3(v, "gap").gap).join(" ");
2717
2717
  var transformTransition = (transition) => {
2718
2718
  const arr = transition.split(" ");
2719
2719
  if (!arr.length)
@@ -2722,20 +2722,20 @@ var require_cjs = __commonJS({
2722
2722
  if (v.slice(0, 2) === "--")
2723
2723
  return `var(${v})`;
2724
2724
  if (v.length < 3 || v.includes("ms")) {
2725
- const mapWithSequence = getTimingByKey3(v);
2725
+ const mapWithSequence = getTimingByKey2(v);
2726
2726
  return mapWithSequence.timing || v;
2727
2727
  }
2728
- if (getTimingFunction5(v))
2729
- return getTimingFunction5(v);
2728
+ if (getTimingFunction3(v))
2729
+ return getTimingFunction3(v);
2730
2730
  return v;
2731
2731
  }).join(" ");
2732
2732
  };
2733
- var transformDuration3 = (duration, props6, propertyName) => {
2733
+ var transformDuration2 = (duration, props6, propertyName) => {
2734
2734
  if (!(0, import_utils26.isString)(duration))
2735
2735
  return;
2736
- return duration.split(",").map((v) => getTimingByKey3(v).timing || v).join(",");
2736
+ return duration.split(",").map((v) => getTimingByKey2(v).timing || v).join(",");
2737
2737
  };
2738
- var splitTransition3 = (transition) => {
2738
+ var splitTransition2 = (transition) => {
2739
2739
  const arr = transition.split(",");
2740
2740
  if (!arr.length)
2741
2741
  return;
@@ -2767,7 +2767,7 @@ var require_cjs = __commonJS({
2767
2767
  animation: setSameValue
2768
2768
  };
2769
2769
  var setValue = (FACTORY_NAME, value, key) => {
2770
- const CONFIG22 = getActiveConfig3();
2770
+ const CONFIG22 = getActiveConfig2();
2771
2771
  const factoryName = FACTORY_NAME.toLowerCase();
2772
2772
  const FACTORY2 = CONFIG22[FACTORY_NAME];
2773
2773
  if (VALUE_TRANSFORMERS[factoryName]) {
@@ -2779,7 +2779,7 @@ var require_cjs = __commonJS({
2779
2779
  console.warn("Can not find", factoryName, "method in scratch");
2780
2780
  };
2781
2781
  var setEach = (factoryName, props6) => {
2782
- const CONFIG22 = getActiveConfig3();
2782
+ const CONFIG22 = getActiveConfig2();
2783
2783
  const FACTORY_NAME = factoryName.toUpperCase();
2784
2784
  const keys = Object.keys(props6);
2785
2785
  keys.map((key) => setValue(FACTORY_NAME, props6[key], key));
@@ -2787,7 +2787,7 @@ var require_cjs = __commonJS({
2787
2787
  };
2788
2788
  var SET_OPTIONS = {};
2789
2789
  var set2 = (recivedConfig, options = SET_OPTIONS) => {
2790
- let CONFIG22 = getActiveConfig3();
2790
+ let CONFIG22 = getActiveConfig2();
2791
2791
  const {
2792
2792
  version,
2793
2793
  verbose,
@@ -3159,16 +3159,16 @@ var require_types = __commonJS({
3159
3159
  __export2(types_exports, {
3160
3160
  TYPES: () => TYPES,
3161
3161
  is: () => is,
3162
- isArray: () => isArray5,
3162
+ isArray: () => isArray3,
3163
3163
  isBoolean: () => isBoolean,
3164
3164
  isDefined: () => isDefined,
3165
3165
  isFunction: () => isFunction3,
3166
- isNot: () => isNot3,
3166
+ isNot: () => isNot2,
3167
3167
  isNull: () => isNull,
3168
3168
  isNumber: () => isNumber,
3169
- isObject: () => isObject5,
3170
- isObjectLike: () => isObjectLike3,
3171
- isString: () => isString5,
3169
+ isObject: () => isObject3,
3170
+ isObjectLike: () => isObjectLike2,
3171
+ isString: () => isString3,
3172
3172
  isUndefined: () => isUndefined,
3173
3173
  isValidHtmlTag: () => isValidHtmlTag
3174
3174
  });
@@ -3176,37 +3176,37 @@ var require_types = __commonJS({
3176
3176
  var import_tags = require_cjs3();
3177
3177
  var import_node = require_node();
3178
3178
  var isValidHtmlTag = (arg) => import_tags.HTML_TAGS.body.includes(arg);
3179
- var isObject5 = (arg) => {
3179
+ var isObject3 = (arg) => {
3180
3180
  if (arg === null)
3181
3181
  return false;
3182
3182
  return typeof arg === "object" && arg.constructor === Object;
3183
3183
  };
3184
- var isString5 = (arg) => typeof arg === "string";
3184
+ var isString3 = (arg) => typeof arg === "string";
3185
3185
  var isNumber = (arg) => typeof arg === "number";
3186
3186
  var isFunction3 = (arg) => typeof arg === "function";
3187
3187
  var isBoolean = (arg) => arg === true || arg === false;
3188
3188
  var isNull = (arg) => arg === null;
3189
- var isArray5 = (arg) => Array.isArray(arg);
3190
- var isObjectLike3 = (arg) => {
3189
+ var isArray3 = (arg) => Array.isArray(arg);
3190
+ var isObjectLike2 = (arg) => {
3191
3191
  if (arg === null)
3192
3192
  return false;
3193
3193
  return typeof arg === "object";
3194
3194
  };
3195
3195
  var isDefined = (arg) => {
3196
- return isObject5(arg) || isObjectLike3(arg) || isString5(arg) || isNumber(arg) || isFunction3(arg) || isArray5(arg) || isObjectLike3(arg) || isBoolean(arg) || isNull(arg);
3196
+ return isObject3(arg) || isObjectLike2(arg) || isString3(arg) || isNumber(arg) || isFunction3(arg) || isArray3(arg) || isObjectLike2(arg) || isBoolean(arg) || isNull(arg);
3197
3197
  };
3198
3198
  var isUndefined = (arg) => {
3199
3199
  return arg === void 0;
3200
3200
  };
3201
3201
  var TYPES = {
3202
3202
  boolean: isBoolean,
3203
- array: isArray5,
3204
- object: isObject5,
3205
- string: isString5,
3203
+ array: isArray3,
3204
+ object: isObject3,
3205
+ string: isString3,
3206
3206
  number: isNumber,
3207
3207
  null: isNull,
3208
3208
  function: isFunction3,
3209
- objectLike: isObjectLike3,
3209
+ objectLike: isObjectLike2,
3210
3210
  node: import_node.isNode,
3211
3211
  htmlElement: import_node.isHtmlElement,
3212
3212
  defined: isDefined
@@ -3216,7 +3216,7 @@ var require_types = __commonJS({
3216
3216
  return args.map((val) => TYPES[val](arg)).filter((v) => v).length > 0;
3217
3217
  };
3218
3218
  };
3219
- var isNot3 = (arg) => {
3219
+ var isNot2 = (arg) => {
3220
3220
  return (...args) => {
3221
3221
  return args.map((val) => TYPES[val](arg)).filter((v) => v).length === 0;
3222
3222
  };
@@ -3384,26 +3384,26 @@ var require_object = __commonJS({
3384
3384
  var object_exports = {};
3385
3385
  __export2(object_exports, {
3386
3386
  clone: () => clone,
3387
- deepClone: () => deepClone3,
3387
+ deepClone: () => deepClone2,
3388
3388
  deepCloneExclude: () => deepCloneExclude,
3389
3389
  deepDestringify: () => deepDestringify,
3390
3390
  deepMerge: () => deepMerge,
3391
3391
  deepStringify: () => deepStringify,
3392
3392
  detachFunctionsFromObject: () => detachFunctionsFromObject,
3393
- diff: () => diff3,
3393
+ diff: () => diff2,
3394
3394
  diffArrays: () => diffArrays,
3395
3395
  diffObjects: () => diffObjects,
3396
- exec: () => exec3,
3396
+ exec: () => exec2,
3397
3397
  flattenRecursive: () => flattenRecursive,
3398
3398
  isEqualDeep: () => isEqualDeep,
3399
3399
  map: () => map,
3400
- merge: () => merge5,
3400
+ merge: () => merge3,
3401
3401
  mergeArrayExclude: () => mergeArrayExclude,
3402
3402
  mergeIfExisted: () => mergeIfExisted,
3403
3403
  objectToString: () => objectToString,
3404
3404
  overwrite: () => overwrite,
3405
3405
  overwriteDeep: () => overwriteDeep,
3406
- overwriteShallow: () => overwriteShallow3,
3406
+ overwriteShallow: () => overwriteShallow2,
3407
3407
  removeFromObject: () => removeFromObject,
3408
3408
  stringToObject: () => stringToObject
3409
3409
  });
@@ -3412,7 +3412,7 @@ var require_object = __commonJS({
3412
3412
  var import_types = require_types();
3413
3413
  var import_array = require_array();
3414
3414
  var import_string = require_string();
3415
- var exec3 = (param, element, state, context) => {
3415
+ var exec2 = (param, element, state, context) => {
3416
3416
  if ((0, import_types.isFunction)(param)) {
3417
3417
  return param(
3418
3418
  element,
@@ -3424,10 +3424,10 @@ var require_object = __commonJS({
3424
3424
  };
3425
3425
  var map = (obj, extention, element) => {
3426
3426
  for (const e in extention) {
3427
- obj[e] = exec3(extention[e], element);
3427
+ obj[e] = exec2(extention[e], element);
3428
3428
  }
3429
3429
  };
3430
- var merge5 = (element, obj, excludeFrom = []) => {
3430
+ var merge3 = (element, obj, excludeFrom = []) => {
3431
3431
  for (const e in obj) {
3432
3432
  if (excludeFrom.includes(e) || e.startsWith("__"))
3433
3433
  continue;
@@ -3486,7 +3486,7 @@ var require_object = __commonJS({
3486
3486
  var mergeArrayExclude = (arr, excl = []) => {
3487
3487
  return arr.reduce((acc, curr) => deepMerge(acc, deepCloneExclude(curr, excl)), {});
3488
3488
  };
3489
- var deepClone3 = (obj, excludeFrom = []) => {
3489
+ var deepClone2 = (obj, excludeFrom = []) => {
3490
3490
  const o = (0, import_types.isArray)(obj) ? [] : {};
3491
3491
  for (const prop in obj) {
3492
3492
  if (excludeFrom.includes(prop) || prop.startsWith("__"))
@@ -3496,7 +3496,7 @@ var require_object = __commonJS({
3496
3496
  objProp = (0, import_array.mergeArray)(objProp);
3497
3497
  }
3498
3498
  if ((0, import_types.isObjectLike)(objProp)) {
3499
- o[prop] = deepClone3(objProp, excludeFrom);
3499
+ o[prop] = deepClone2(objProp, excludeFrom);
3500
3500
  } else
3501
3501
  o[prop] = objProp;
3502
3502
  }
@@ -3650,7 +3650,7 @@ var require_object = __commonJS({
3650
3650
  const objToDiffProp = objToDiff[e];
3651
3651
  if ((0, import_types.isObject)(originalProp) && (0, import_types.isObject)(objToDiffProp)) {
3652
3652
  cache[e] = {};
3653
- diff3(originalProp, objToDiffProp, cache[e]);
3653
+ diff2(originalProp, objToDiffProp, cache[e]);
3654
3654
  } else if (objToDiffProp !== void 0) {
3655
3655
  cache[e] = objToDiffProp;
3656
3656
  }
@@ -3663,7 +3663,7 @@ var require_object = __commonJS({
3663
3663
  } else {
3664
3664
  const diffArr = [];
3665
3665
  for (let i = 0; i < original.length; i++) {
3666
- const diffObj = diff3(original[i], objToDiff[i]);
3666
+ const diffObj = diff2(original[i], objToDiff[i]);
3667
3667
  if (Object.keys(diffObj).length > 0) {
3668
3668
  diffArr.push(diffObj);
3669
3669
  }
@@ -3674,7 +3674,7 @@ var require_object = __commonJS({
3674
3674
  }
3675
3675
  return cache;
3676
3676
  };
3677
- var diff3 = (original, objToDiff, cache = {}) => {
3677
+ var diff2 = (original, objToDiff, cache = {}) => {
3678
3678
  if ((0, import_types.isArray)(original) && (0, import_types.isArray)(objToDiff)) {
3679
3679
  cache = [];
3680
3680
  diffArrays(original, objToDiff, cache);
@@ -3698,7 +3698,7 @@ var require_object = __commonJS({
3698
3698
  }
3699
3699
  return changes;
3700
3700
  };
3701
- var overwriteShallow3 = (obj, params, excludeFrom = []) => {
3701
+ var overwriteShallow2 = (obj, params, excludeFrom = []) => {
3702
3702
  for (const e in params) {
3703
3703
  if (excludeFrom.includes(e) || e.startsWith("__"))
3704
3704
  continue;
@@ -3972,12 +3972,12 @@ var require_on = __commonJS({
3972
3972
  triggerEventOnUpdate: () => triggerEventOnUpdate
3973
3973
  });
3974
3974
  module2.exports = __toCommonJS2(on_exports);
3975
- var import_utils13 = require_cjs5();
3975
+ var import_utils8 = require_cjs5();
3976
3976
  var applyEvent = (param, element, state, context, options) => {
3977
3977
  return param(element, state || element.state, context || element.context, options);
3978
3978
  };
3979
3979
  var triggerEventOn = (param, element, options) => {
3980
- if (element.on && (0, import_utils13.isFunction)(element.on[param])) {
3980
+ if (element.on && (0, import_utils8.isFunction)(element.on[param])) {
3981
3981
  const { state, context } = element;
3982
3982
  return applyEvent(element.on[param], element, state, context, options);
3983
3983
  }
@@ -3986,7 +3986,7 @@ var require_on = __commonJS({
3986
3986
  return param(updatedObj, element, state || element.state, context || element.context, options);
3987
3987
  };
3988
3988
  var triggerEventOnUpdate = (param, updatedObj, element, options) => {
3989
- if (element.on && (0, import_utils13.isFunction)(element.on[param])) {
3989
+ if (element.on && (0, import_utils8.isFunction)(element.on[param])) {
3990
3990
  const { state, context } = element;
3991
3991
  return applyEventUpdate(element.on[param], updatedObj, element, state, context, options);
3992
3992
  }
@@ -3997,7 +3997,7 @@ var require_on = __commonJS({
3997
3997
  if (param === "init" || param === "beforeClassAssign" || param === "render" || param === "renderRouter" || param === "attachNode" || param === "stateInit" || param === "stateCreated" || param === "initStateUpdated" || param === "stateUpdated" || param === "initUpdate" || param === "update")
3998
3998
  continue;
3999
3999
  const appliedFunction = element.on[param];
4000
- if ((0, import_utils13.isFunction)(appliedFunction)) {
4000
+ if ((0, import_utils8.isFunction)(appliedFunction)) {
4001
4001
  const { state, context } = element;
4002
4002
  node2.addEventListener(param, (event) => appliedFunction(event, element, state, context));
4003
4003
  }
@@ -4130,10 +4130,10 @@ var require_can = __commonJS({
4130
4130
  });
4131
4131
  module2.exports = __toCommonJS2(can_exports);
4132
4132
  var import_report = require_cjs6();
4133
- var import_utils13 = require_cjs5();
4133
+ var import_utils8 = require_cjs5();
4134
4134
  var canRender = (element) => {
4135
4135
  const tag = element.tag || "div";
4136
- return (0, import_utils13.isValidHtmlTag)(tag) || (0, import_report.report)("HTMLInvalidTag");
4136
+ return (0, import_utils8.isValidHtmlTag)(tag) || (0, import_report.report)("HTMLInvalidTag");
4137
4137
  };
4138
4138
  }
4139
4139
  });
@@ -4198,11 +4198,11 @@ var require_methods = __commonJS({
4198
4198
  toggle: () => toggle
4199
4199
  });
4200
4200
  module2.exports = __toCommonJS2(methods_exports);
4201
- var import_utils13 = require_cjs5();
4201
+ var import_utils8 = require_cjs5();
4202
4202
  var import_ignore = require_ignore();
4203
4203
  var parse2 = function() {
4204
4204
  const state = this;
4205
- if ((0, import_utils13.isObject)(state)) {
4205
+ if ((0, import_utils8.isObject)(state)) {
4206
4206
  const obj = {};
4207
4207
  for (const param in state) {
4208
4208
  if (!import_ignore.IGNORE_STATE_PARAMS.includes(param)) {
@@ -4210,7 +4210,7 @@ var require_methods = __commonJS({
4210
4210
  }
4211
4211
  }
4212
4212
  return obj;
4213
- } else if ((0, import_utils13.isArray)(state)) {
4213
+ } else if ((0, import_utils8.isArray)(state)) {
4214
4214
  return state.filter((item) => !import_ignore.IGNORE_STATE_PARAMS.includes(item));
4215
4215
  }
4216
4216
  };
@@ -4230,7 +4230,7 @@ var require_methods = __commonJS({
4230
4230
  const state = this;
4231
4231
  const element = state.__element;
4232
4232
  const stateKey = element.__ref.__state;
4233
- if ((0, import_utils13.isString)(stateKey)) {
4233
+ if ((0, import_utils8.isString)(stateKey)) {
4234
4234
  element.parent.state.remove(stateKey, { isHoisted: true, ...options });
4235
4235
  return element.state;
4236
4236
  }
@@ -4265,10 +4265,10 @@ var require_methods = __commonJS({
4265
4265
  };
4266
4266
  var add = function(value, options = {}) {
4267
4267
  const state = this;
4268
- if ((0, import_utils13.isArray)(state)) {
4268
+ if ((0, import_utils8.isArray)(state)) {
4269
4269
  state.push(value);
4270
4270
  state.update(state.parse(), { overwrite: "replace", ...options });
4271
- } else if ((0, import_utils13.isObject)(state)) {
4271
+ } else if ((0, import_utils8.isObject)(state)) {
4272
4272
  const key = Object.keys(state).length;
4273
4273
  state.update({ [key]: value }, options);
4274
4274
  }
@@ -4279,10 +4279,10 @@ var require_methods = __commonJS({
4279
4279
  };
4280
4280
  var remove = function(key, options = {}) {
4281
4281
  const state = this;
4282
- if ((0, import_utils13.isArray)(state))
4283
- (0, import_utils13.removeFromArray)(state, key);
4284
- if ((0, import_utils13.isObject)(state))
4285
- (0, import_utils13.removeFromObject)(state, key);
4282
+ if ((0, import_utils8.isArray)(state))
4283
+ (0, import_utils8.removeFromArray)(state, key);
4284
+ if ((0, import_utils8.isObject)(state))
4285
+ (0, import_utils8.removeFromObject)(state, key);
4286
4286
  return state.update(state.parse(), { replace: true, ...options });
4287
4287
  };
4288
4288
  var set2 = function(value, options = {}) {
@@ -4291,7 +4291,7 @@ var require_methods = __commonJS({
4291
4291
  };
4292
4292
  var apply = function(func, options = {}) {
4293
4293
  const state = this;
4294
- if ((0, import_utils13.isFunction)(func)) {
4294
+ if ((0, import_utils8.isFunction)(func)) {
4295
4295
  func(state);
4296
4296
  return state.update(state, { replace: true, ...options });
4297
4297
  }
@@ -4326,12 +4326,12 @@ var require_inherit = __commonJS({
4326
4326
  createChangesByKey: () => createChangesByKey,
4327
4327
  createInheritedState: () => createInheritedState,
4328
4328
  findInheritedState: () => findInheritedState,
4329
- getChildStateInKey: () => getChildStateInKey3,
4329
+ getChildStateInKey: () => getChildStateInKey2,
4330
4330
  getParentStateInKey: () => getParentStateInKey,
4331
- isState: () => isState3
4331
+ isState: () => isState2
4332
4332
  });
4333
4333
  module2.exports = __toCommonJS2(inherit_exports);
4334
- var import_utils13 = require_cjs5();
4334
+ var import_utils8 = require_cjs5();
4335
4335
  var import_ignore = require_ignore();
4336
4336
  var getParentStateInKey = (stateKey, parentState) => {
4337
4337
  if (!stateKey.includes("../"))
@@ -4345,7 +4345,7 @@ var require_inherit = __commonJS({
4345
4345
  }
4346
4346
  return parentState;
4347
4347
  };
4348
- var getChildStateInKey3 = (stateKey, parentState, options = {}) => {
4348
+ var getChildStateInKey2 = (stateKey, parentState, options = {}) => {
4349
4349
  const arr = stateKey.split("/");
4350
4350
  const arrLength = arr.length - 1;
4351
4351
  for (let i = 0; i < arrLength; i++) {
@@ -4375,16 +4375,16 @@ var require_inherit = __commonJS({
4375
4375
  }
4376
4376
  if (!parentState)
4377
4377
  return;
4378
- return getChildStateInKey3(stateKey, parentState, options);
4378
+ return getChildStateInKey2(stateKey, parentState, options);
4379
4379
  };
4380
4380
  var createInheritedState = (element, parent) => {
4381
4381
  const ref = element.__ref;
4382
4382
  const inheritedState = findInheritedState(element, parent);
4383
4383
  if (!inheritedState)
4384
4384
  return element.state;
4385
- if ((0, import_utils13.is)(inheritedState)("object", "array")) {
4386
- return (0, import_utils13.deepClone)(inheritedState, import_ignore.IGNORE_STATE_PARAMS);
4387
- } else if ((0, import_utils13.is)(inheritedState)("string", "number")) {
4385
+ if ((0, import_utils8.is)(inheritedState)("object", "array")) {
4386
+ return (0, import_utils8.deepClone)(inheritedState, import_ignore.IGNORE_STATE_PARAMS);
4387
+ } else if ((0, import_utils8.is)(inheritedState)("string", "number")) {
4388
4388
  ref.__stateType = "string";
4389
4389
  return { value: inheritedState };
4390
4390
  }
@@ -4393,15 +4393,15 @@ var require_inherit = __commonJS({
4393
4393
  var checkIfInherits = (element) => {
4394
4394
  const ref = element.__ref;
4395
4395
  const stateKey = ref.__state;
4396
- if (!stateKey || (0, import_utils13.isNot)(stateKey)("number", "string"))
4396
+ if (!stateKey || (0, import_utils8.isNot)(stateKey)("number", "string"))
4397
4397
  return false;
4398
4398
  return true;
4399
4399
  };
4400
- var isState3 = function(state) {
4401
- if (!(0, import_utils13.isObjectLike)(state))
4400
+ var isState2 = function(state) {
4401
+ if (!(0, import_utils8.isObjectLike)(state))
4402
4402
  return false;
4403
4403
  const keys = Object.keys(state);
4404
- return (0, import_utils13.arrayContainsOtherArray)(keys, ["update", "parse", "clean", "create", "parent", "rootUpdate"]);
4404
+ return (0, import_utils8.arrayContainsOtherArray)(keys, ["update", "parse", "clean", "create", "parent", "rootUpdate"]);
4405
4405
  };
4406
4406
  var createChangesByKey = (path, value) => {
4407
4407
  if (!path) {
@@ -4448,7 +4448,7 @@ var require_updateState = __commonJS({
4448
4448
  var import_report = require_cjs6();
4449
4449
  var import_event = require_cjs7();
4450
4450
  var import_ignore = require_ignore();
4451
- var import_utils13 = require_cjs5();
4451
+ var import_utils8 = require_cjs5();
4452
4452
  var import_inherit = require_inherit();
4453
4453
  var STATE_UPDATE_OPTIONS = {
4454
4454
  overwrite: true,
@@ -4462,7 +4462,7 @@ var require_updateState = __commonJS({
4462
4462
  const state = this;
4463
4463
  const element = state.__element;
4464
4464
  if (!options.updateByState)
4465
- (0, import_utils13.merge)(options, STATE_UPDATE_OPTIONS);
4465
+ (0, import_utils8.merge)(options, STATE_UPDATE_OPTIONS);
4466
4466
  if (!state.__element)
4467
4467
  (0, import_report.report)("ElementOnStateIsNotDefined");
4468
4468
  if (options.preventInheritAtCurrentState === true) {
@@ -4492,10 +4492,10 @@ var require_updateState = __commonJS({
4492
4492
  const shallow = overwrite === "shallow";
4493
4493
  const merge22 = overwrite === "merge";
4494
4494
  if (merge22) {
4495
- (0, import_utils13.deepMerge)(state, obj, import_ignore.IGNORE_STATE_PARAMS);
4495
+ (0, import_utils8.deepMerge)(state, obj, import_ignore.IGNORE_STATE_PARAMS);
4496
4496
  return;
4497
4497
  }
4498
- const overwriteFunc = shallow ? import_utils13.overwriteShallow : import_utils13.overwriteDeep;
4498
+ const overwriteFunc = shallow ? import_utils8.overwriteShallow : import_utils8.overwriteDeep;
4499
4499
  overwriteFunc(state, obj, import_ignore.IGNORE_STATE_PARAMS);
4500
4500
  };
4501
4501
  var hoistStateUpdate = (state, obj, options) => {
@@ -4585,7 +4585,7 @@ var require_createState = __commonJS({
4585
4585
  });
4586
4586
  module2.exports = __toCommonJS2(createState_exports);
4587
4587
  var import_event = require_cjs7();
4588
- var import_utils13 = require_cjs5();
4588
+ var import_utils8 = require_cjs5();
4589
4589
  var import_ignore = require_ignore();
4590
4590
  var import_methods = require_methods();
4591
4591
  var import_updateState = require_updateState();
@@ -4596,7 +4596,7 @@ var require_createState = __commonJS({
4596
4596
  if (objectizeState === false)
4597
4597
  return parent.state || {};
4598
4598
  else
4599
- element.state = (0, import_utils13.deepClone)(objectizeState, import_ignore.IGNORE_STATE_PARAMS);
4599
+ element.state = (0, import_utils8.deepClone)(objectizeState, import_ignore.IGNORE_STATE_PARAMS);
4600
4600
  const whatInitReturns = (0, import_event.triggerEventOn)("stateInit", element, options);
4601
4601
  if (whatInitReturns === false)
4602
4602
  return element.state;
@@ -4622,18 +4622,18 @@ var require_createState = __commonJS({
4622
4622
  const { __ref: ref } = state;
4623
4623
  if (!ref)
4624
4624
  return;
4625
- const dependentState = (0, import_utils13.deepClone)(ref, import_ignore.IGNORE_STATE_PARAMS);
4625
+ const dependentState = (0, import_utils8.deepClone)(ref, import_ignore.IGNORE_STATE_PARAMS);
4626
4626
  const newDepends = { [element.key]: dependentState };
4627
- ref.__depends = (0, import_utils13.isObject)(ref.__depends) ? { ...ref.__depends, ...newDepends } : newDepends;
4627
+ ref.__depends = (0, import_utils8.isObject)(ref.__depends) ? { ...ref.__depends, ...newDepends } : newDepends;
4628
4628
  return dependentState;
4629
4629
  };
4630
4630
  var checkForTypes = (element) => {
4631
4631
  const { state, __ref: ref } = element;
4632
- if ((0, import_utils13.isFunction)(state)) {
4632
+ if ((0, import_utils8.isFunction)(state)) {
4633
4633
  ref.__state = state;
4634
- return (0, import_utils13.exec)(state, element);
4634
+ return (0, import_utils8.exec)(state, element);
4635
4635
  }
4636
- if ((0, import_utils13.is)(state)("string", "number")) {
4636
+ if ((0, import_utils8.is)(state)("string", "number")) {
4637
4637
  ref.__state = state;
4638
4638
  return {};
4639
4639
  }
@@ -4714,10 +4714,10 @@ var require_moment = __commonJS({
4714
4714
  function setHookCallback(callback) {
4715
4715
  hookCallback = callback;
4716
4716
  }
4717
- function isArray5(input) {
4717
+ function isArray3(input) {
4718
4718
  return input instanceof Array || Object.prototype.toString.call(input) === "[object Array]";
4719
4719
  }
4720
- function isObject5(input) {
4720
+ function isObject3(input) {
4721
4721
  return input != null && Object.prototype.toString.call(input) === "[object Object]";
4722
4722
  }
4723
4723
  function hasOwnProp(a, b) {
@@ -4965,7 +4965,7 @@ var require_moment = __commonJS({
4965
4965
  var res = extend({}, parentConfig), prop;
4966
4966
  for (prop in childConfig) {
4967
4967
  if (hasOwnProp(childConfig, prop)) {
4968
- if (isObject5(parentConfig[prop]) && isObject5(childConfig[prop])) {
4968
+ if (isObject3(parentConfig[prop]) && isObject3(childConfig[prop])) {
4969
4969
  res[prop] = {};
4970
4970
  extend(res[prop], parentConfig[prop]);
4971
4971
  extend(res[prop], childConfig[prop]);
@@ -4977,7 +4977,7 @@ var require_moment = __commonJS({
4977
4977
  }
4978
4978
  }
4979
4979
  for (prop in parentConfig) {
4980
- if (hasOwnProp(parentConfig, prop) && !hasOwnProp(childConfig, prop) && isObject5(parentConfig[prop])) {
4980
+ if (hasOwnProp(parentConfig, prop) && !hasOwnProp(childConfig, prop) && isObject3(parentConfig[prop])) {
4981
4981
  res[prop] = extend({}, res[prop]);
4982
4982
  }
4983
4983
  }
@@ -5141,8 +5141,8 @@ var require_moment = __commonJS({
5141
5141
  var output = this._relativeTime[string];
5142
5142
  return isFunction3(output) ? output(number, withoutSuffix, string, isFuture) : output.replace(/%d/i, number);
5143
5143
  }
5144
- function pastFuture(diff4, output) {
5145
- var format2 = this._relativeTime[diff4 > 0 ? "future" : "past"];
5144
+ function pastFuture(diff3, output) {
5145
+ var format2 = this._relativeTime[diff3 > 0 ? "future" : "past"];
5146
5146
  return isFunction3(format2) ? format2(output) : format2.replace(/%s/i, output);
5147
5147
  }
5148
5148
  var aliases = {};
@@ -5362,15 +5362,15 @@ var require_moment = __commonJS({
5362
5362
  ), defaultLocaleMonthsShort = "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"), MONTHS_IN_FORMAT = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/, defaultMonthsShortRegex = matchWord, defaultMonthsRegex = matchWord;
5363
5363
  function localeMonths(m, format2) {
5364
5364
  if (!m) {
5365
- return isArray5(this._months) ? this._months : this._months["standalone"];
5365
+ return isArray3(this._months) ? this._months : this._months["standalone"];
5366
5366
  }
5367
- return isArray5(this._months) ? this._months[m.month()] : this._months[(this._months.isFormat || MONTHS_IN_FORMAT).test(format2) ? "format" : "standalone"][m.month()];
5367
+ return isArray3(this._months) ? this._months[m.month()] : this._months[(this._months.isFormat || MONTHS_IN_FORMAT).test(format2) ? "format" : "standalone"][m.month()];
5368
5368
  }
5369
5369
  function localeMonthsShort(m, format2) {
5370
5370
  if (!m) {
5371
- return isArray5(this._monthsShort) ? this._monthsShort : this._monthsShort["standalone"];
5371
+ return isArray3(this._monthsShort) ? this._monthsShort : this._monthsShort["standalone"];
5372
5372
  }
5373
- return isArray5(this._monthsShort) ? this._monthsShort[m.month()] : this._monthsShort[MONTHS_IN_FORMAT.test(format2) ? "format" : "standalone"][m.month()];
5373
+ return isArray3(this._monthsShort) ? this._monthsShort[m.month()] : this._monthsShort[MONTHS_IN_FORMAT.test(format2) ? "format" : "standalone"][m.month()];
5374
5374
  }
5375
5375
  function handleStrictParse(monthName, format2, strict) {
5376
5376
  var i, ii, mom, llc = monthName.toLocaleLowerCase();
@@ -5755,7 +5755,7 @@ var require_moment = __commonJS({
5755
5755
  }
5756
5756
  var defaultLocaleWeekdays = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), defaultLocaleWeekdaysShort = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"), defaultLocaleWeekdaysMin = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"), defaultWeekdaysRegex = matchWord, defaultWeekdaysShortRegex = matchWord, defaultWeekdaysMinRegex = matchWord;
5757
5757
  function localeWeekdays(m, format2) {
5758
- var weekdays = isArray5(this._weekdays) ? this._weekdays : this._weekdays[m && m !== true && this._weekdays.isFormat.test(format2) ? "format" : "standalone"];
5758
+ var weekdays = isArray3(this._weekdays) ? this._weekdays : this._weekdays[m && m !== true && this._weekdays.isFormat.test(format2) ? "format" : "standalone"];
5759
5759
  return m === true ? shiftWeekdays(weekdays, this._week.dow) : m ? weekdays[m.day()] : weekdays;
5760
5760
  }
5761
5761
  function localeWeekdaysShort(m) {
@@ -6257,7 +6257,7 @@ var require_moment = __commonJS({
6257
6257
  if (!key) {
6258
6258
  return globalLocale;
6259
6259
  }
6260
- if (!isArray5(key)) {
6260
+ if (!isArray3(key)) {
6261
6261
  locale2 = loadLocale(key);
6262
6262
  if (locale2) {
6263
6263
  return locale2;
@@ -6735,7 +6735,7 @@ var require_moment = __commonJS({
6735
6735
  return new Moment(checkOverflow(input));
6736
6736
  } else if (isDate(input)) {
6737
6737
  config._d = input;
6738
- } else if (isArray5(format2)) {
6738
+ } else if (isArray3(format2)) {
6739
6739
  configFromStringAndArray(config);
6740
6740
  } else if (format2) {
6741
6741
  configFromStringAndFormat(config);
@@ -6755,12 +6755,12 @@ var require_moment = __commonJS({
6755
6755
  config._d = new Date(input.valueOf());
6756
6756
  } else if (typeof input === "string") {
6757
6757
  configFromString(config);
6758
- } else if (isArray5(input)) {
6758
+ } else if (isArray3(input)) {
6759
6759
  config._a = map(input.slice(0), function(obj) {
6760
6760
  return parseInt(obj, 10);
6761
6761
  });
6762
6762
  configFromArray(config);
6763
- } else if (isObject5(input)) {
6763
+ } else if (isObject3(input)) {
6764
6764
  configFromObject(config);
6765
6765
  } else if (isNumber(input)) {
6766
6766
  config._d = new Date(input);
@@ -6778,7 +6778,7 @@ var require_moment = __commonJS({
6778
6778
  strict = locale2;
6779
6779
  locale2 = void 0;
6780
6780
  }
6781
- if (isObject5(input) && isObjectEmpty(input) || isArray5(input) && input.length === 0) {
6781
+ if (isObject3(input) && isObjectEmpty(input) || isArray3(input) && input.length === 0) {
6782
6782
  input = void 0;
6783
6783
  }
6784
6784
  c._isAMomentObject = true;
@@ -6815,7 +6815,7 @@ var require_moment = __commonJS({
6815
6815
  );
6816
6816
  function pickBy(fn, moments) {
6817
6817
  var res, i;
6818
- if (moments.length === 1 && isArray5(moments[0])) {
6818
+ if (moments.length === 1 && isArray3(moments[0])) {
6819
6819
  moments = moments[0];
6820
6820
  }
6821
6821
  if (!moments.length) {
@@ -6937,11 +6937,11 @@ var require_moment = __commonJS({
6937
6937
  return minutes2 === 0 ? 0 : parts[0] === "+" ? minutes2 : -minutes2;
6938
6938
  }
6939
6939
  function cloneWithOffset(input, model) {
6940
- var res, diff4;
6940
+ var res, diff3;
6941
6941
  if (model._isUTC) {
6942
6942
  res = model.clone();
6943
- diff4 = (isMoment(input) || isDate(input) ? input.valueOf() : createLocal(input).valueOf()) - res.valueOf();
6944
- res._d.setTime(res._d.valueOf() + diff4);
6943
+ diff3 = (isMoment(input) || isDate(input) ? input.valueOf() : createLocal(input).valueOf()) - res.valueOf();
6944
+ res._d.setTime(res._d.valueOf() + diff3);
6945
6945
  hooks.updateOffset(res, false);
6946
6946
  return res;
6947
6947
  } else {
@@ -7190,14 +7190,14 @@ var require_moment = __commonJS({
7190
7190
  }
7191
7191
  }
7192
7192
  var add = createAdder(1, "add"), subtract = createAdder(-1, "subtract");
7193
- function isString5(input) {
7193
+ function isString3(input) {
7194
7194
  return typeof input === "string" || input instanceof String;
7195
7195
  }
7196
7196
  function isMomentInput(input) {
7197
- return isMoment(input) || isDate(input) || isString5(input) || isNumber(input) || isNumberOrStringArray(input) || isMomentInputObject(input) || input === null || input === void 0;
7197
+ return isMoment(input) || isDate(input) || isString3(input) || isNumber(input) || isNumberOrStringArray(input) || isMomentInputObject(input) || input === null || input === void 0;
7198
7198
  }
7199
7199
  function isMomentInputObject(input) {
7200
- var objectTest = isObject5(input) && !isObjectEmpty(input), propertyTest = false, properties = [
7200
+ var objectTest = isObject3(input) && !isObjectEmpty(input), propertyTest = false, properties = [
7201
7201
  "years",
7202
7202
  "year",
7203
7203
  "y",
@@ -7230,16 +7230,16 @@ var require_moment = __commonJS({
7230
7230
  return objectTest && propertyTest;
7231
7231
  }
7232
7232
  function isNumberOrStringArray(input) {
7233
- var arrayTest = isArray5(input), dataTypeTest = false;
7233
+ var arrayTest = isArray3(input), dataTypeTest = false;
7234
7234
  if (arrayTest) {
7235
7235
  dataTypeTest = input.filter(function(item) {
7236
- return !isNumber(item) && isString5(input);
7236
+ return !isNumber(item) && isString3(input);
7237
7237
  }).length === 0;
7238
7238
  }
7239
7239
  return arrayTest && dataTypeTest;
7240
7240
  }
7241
7241
  function isCalendarSpec(input) {
7242
- var objectTest = isObject5(input) && !isObjectEmpty(input), propertyTest = false, properties = [
7242
+ var objectTest = isObject3(input) && !isObjectEmpty(input), propertyTest = false, properties = [
7243
7243
  "sameDay",
7244
7244
  "nextDay",
7245
7245
  "lastDay",
@@ -7254,8 +7254,8 @@ var require_moment = __commonJS({
7254
7254
  return objectTest && propertyTest;
7255
7255
  }
7256
7256
  function getCalendarFormat(myMoment, now2) {
7257
- var diff4 = myMoment.diff(now2, "days", true);
7258
- return diff4 < -6 ? "sameElse" : diff4 < -1 ? "lastWeek" : diff4 < 0 ? "lastDay" : diff4 < 1 ? "sameDay" : diff4 < 2 ? "nextDay" : diff4 < 7 ? "nextWeek" : "sameElse";
7257
+ var diff3 = myMoment.diff(now2, "days", true);
7258
+ return diff3 < -6 ? "sameElse" : diff3 < -1 ? "lastWeek" : diff3 < 0 ? "lastDay" : diff3 < 1 ? "sameDay" : diff3 < 2 ? "nextDay" : diff3 < 7 ? "nextWeek" : "sameElse";
7259
7259
  }
7260
7260
  function calendar$1(time, formats) {
7261
7261
  if (arguments.length === 1) {
@@ -7329,7 +7329,7 @@ var require_moment = __commonJS({
7329
7329
  function isSameOrBefore(input, units) {
7330
7330
  return this.isSame(input, units) || this.isBefore(input, units);
7331
7331
  }
7332
- function diff3(input, units, asFloat) {
7332
+ function diff2(input, units, asFloat) {
7333
7333
  var that, zoneDelta, output;
7334
7334
  if (!this.isValid()) {
7335
7335
  return NaN;
@@ -8061,7 +8061,7 @@ var require_moment = __commonJS({
8061
8061
  proto.add = add;
8062
8062
  proto.calendar = calendar$1;
8063
8063
  proto.clone = clone;
8064
- proto.diff = diff3;
8064
+ proto.diff = diff2;
8065
8065
  proto.endOf = endOf;
8066
8066
  proto.format = format;
8067
8067
  proto.from = from2;
@@ -9036,8 +9036,8 @@ __export(domql_exports, {
9036
9036
  Headline: () => Headline,
9037
9037
  Hoverable: () => Hoverable,
9038
9038
  Hr: () => Hr,
9039
- Icon: () => Icon2,
9040
- IconText: () => IconText2,
9039
+ Icon: () => Icon,
9040
+ IconText: () => IconText,
9041
9041
  Iframe: () => Iframe,
9042
9042
  Img: () => Img,
9043
9043
  Input: () => Input2,
@@ -9100,7 +9100,7 @@ __export(domql_exports, {
9100
9100
  });
9101
9101
  module.exports = __toCommonJS(domql_exports);
9102
9102
 
9103
- // Atoms/Block.js
9103
+ // node_modules/@symbo.ls/atoms/Block.js
9104
9104
  var import_scratch = __toESM(require_cjs());
9105
9105
  var Block = {
9106
9106
  class: {
@@ -9254,7 +9254,7 @@ var List = {
9254
9254
  childExtend: { tag: "li" }
9255
9255
  };
9256
9256
 
9257
- // Atoms/Direction.js
9257
+ // node_modules/@symbo.ls/atoms/Direction.js
9258
9258
  var Direction = {
9259
9259
  props: {
9260
9260
  direction: "ltr"
@@ -9264,7 +9264,7 @@ var Direction = {
9264
9264
  }
9265
9265
  };
9266
9266
 
9267
- // Atoms/Flex.js
9267
+ // node_modules/@symbo.ls/atoms/Flex.js
9268
9268
  var Flex = {
9269
9269
  props: {
9270
9270
  display: "flex"
@@ -9281,7 +9281,7 @@ var Flex = {
9281
9281
  }
9282
9282
  };
9283
9283
 
9284
- // Atoms/Grid.js
9284
+ // node_modules/@symbo.ls/atoms/Grid.js
9285
9285
  var import_scratch2 = __toESM(require_cjs());
9286
9286
  var Grid = {
9287
9287
  props: { display: "grid" },
@@ -9305,7 +9305,7 @@ var Grid = {
9305
9305
  }
9306
9306
  };
9307
9307
 
9308
- // Atoms/Img.js
9308
+ // node_modules/@symbo.ls/atoms/Img.js
9309
9309
  var Img = {
9310
9310
  tag: "img",
9311
9311
  props: {
@@ -9320,7 +9320,7 @@ var Img = {
9320
9320
  }
9321
9321
  };
9322
9322
 
9323
- // Atoms/Form.js
9323
+ // node_modules/@symbo.ls/atoms/Form.js
9324
9324
  var Form = {
9325
9325
  tag: "form",
9326
9326
  props: {},
@@ -9331,16 +9331,16 @@ var Form = {
9331
9331
  }
9332
9332
  };
9333
9333
 
9334
- // Atoms/Media.js
9334
+ // node_modules/@symbo.ls/atoms/Media.js
9335
9335
  var import_utils = __toESM(require_cjs5());
9336
9336
 
9337
- // Atoms/Theme.js
9337
+ // node_modules/@symbo.ls/atoms/Theme.js
9338
9338
  var import_scratch5 = __toESM(require_cjs());
9339
9339
 
9340
- // Atoms/Shape/style.js
9340
+ // node_modules/@symbo.ls/atoms/Shape/style.js
9341
9341
  var import_scratch4 = __toESM(require_cjs());
9342
9342
 
9343
- // Atoms/Timing.js
9343
+ // node_modules/@symbo.ls/atoms/Timing.js
9344
9344
  var import_scratch3 = __toESM(require_cjs());
9345
9345
  var Timing = {
9346
9346
  class: {
@@ -9366,7 +9366,7 @@ var Timing = {
9366
9366
  }
9367
9367
  };
9368
9368
 
9369
- // Atoms/Shape/style.js
9369
+ // node_modules/@symbo.ls/atoms/Shape/style.js
9370
9370
  var CONFIG = (0, import_scratch4.getActiveConfig)();
9371
9371
  var depth = {
9372
9372
  4: { boxShadow: `rgba(0,0,0,.10) 0 2${CONFIG.UNIT.default} 4${CONFIG.UNIT.default}` },
@@ -9380,8 +9380,8 @@ var getComputedBackgroundColor = ({ props: props6 }) => {
9380
9380
  return (0, import_scratch4.getColor)(props6.shapeDirectionColor) || (0, import_scratch4.getColor)(props6.borderColor) || (0, import_scratch4.getColor)(props6.backgroundColor) || (0, import_scratch4.getColor)(props6.background);
9381
9381
  };
9382
9382
  var inheritTransition = ({ props: props6 }) => {
9383
- const exec3 = Timing.class.transition({ props: props6 });
9384
- return exec3 && exec3.transition;
9383
+ const exec2 = Timing.class.transition({ props: props6 });
9384
+ return exec2 && exec2.transition;
9385
9385
  };
9386
9386
  var SHAPES = {
9387
9387
  rectangle: {},
@@ -9557,7 +9557,7 @@ var SHAPES = {
9557
9557
  }
9558
9558
  };
9559
9559
 
9560
- // Atoms/Theme.js
9560
+ // node_modules/@symbo.ls/atoms/Theme.js
9561
9561
  var getSystemTheme = ({ context, state }) => {
9562
9562
  const rootState = state && state.__root;
9563
9563
  return rootState ? rootState.globalTheme : context.designSystem && context.designSystem.globalTheme;
@@ -9662,7 +9662,7 @@ var Theme = {
9662
9662
  }
9663
9663
  };
9664
9664
 
9665
- // Atoms/Media.js
9665
+ // node_modules/@symbo.ls/atoms/Media.js
9666
9666
  var keySetters = {
9667
9667
  "@": (key, props6, result, element, isSubtree) => applyMediaProps(
9668
9668
  key,
@@ -9840,7 +9840,7 @@ var Media = {
9840
9840
  on: { beforeClassAssign }
9841
9841
  };
9842
9842
 
9843
- // Atoms/Iframe.js
9843
+ // node_modules/@symbo.ls/atoms/Iframe.js
9844
9844
  var Iframe = {
9845
9845
  tag: "iframe",
9846
9846
  props: {
@@ -9856,7 +9856,7 @@ var Iframe = {
9856
9856
  }
9857
9857
  };
9858
9858
 
9859
- // Atoms/Interaction.js
9859
+ // node_modules/@symbo.ls/atoms/Interaction.js
9860
9860
  var Interaction = {
9861
9861
  class: {
9862
9862
  userSelect: ({ props: props6 }) => props6.userSelect && { userSelect: props6.userSelect },
@@ -9865,7 +9865,7 @@ var Interaction = {
9865
9865
  }
9866
9866
  };
9867
9867
 
9868
- // Atoms/InteractiveComponent.js
9868
+ // node_modules/@symbo.ls/atoms/InteractiveComponent.js
9869
9869
  var style = {
9870
9870
  appearance: "none",
9871
9871
  border: "none",
@@ -9936,14 +9936,14 @@ var FocusableComponent = {
9936
9936
  }
9937
9937
  };
9938
9938
 
9939
- // Atoms/Overflow.js
9939
+ // node_modules/@symbo.ls/atoms/Overflow.js
9940
9940
  var Overflow = {
9941
9941
  class: {
9942
9942
  overflow: ({ props: props6 }) => props6.overflow && { overflow: props6.overflow }
9943
9943
  }
9944
9944
  };
9945
9945
 
9946
- // Atoms/Collection.js
9946
+ // node_modules/@symbo.ls/atoms/Collection.js
9947
9947
  var import_state = __toESM(require_cjs8());
9948
9948
  var import_utils2 = __toESM(require_cjs5());
9949
9949
  var Collection = {
@@ -10020,7 +10020,7 @@ var Collection = {
10020
10020
  }
10021
10021
  };
10022
10022
 
10023
- // Atoms/Position.js
10023
+ // node_modules/@symbo.ls/atoms/Position.js
10024
10024
  var import_scratch6 = __toESM(require_cjs());
10025
10025
  var Position = {
10026
10026
  props: {},
@@ -10039,7 +10039,7 @@ var Position = {
10039
10039
  }
10040
10040
  };
10041
10041
 
10042
- // Atoms/Picture.js
10042
+ // node_modules/@symbo.ls/atoms/Picture.js
10043
10043
  var Picture = {
10044
10044
  tag: "picture",
10045
10045
  childExtend: {
@@ -10066,14 +10066,14 @@ var Picture = {
10066
10066
  })
10067
10067
  };
10068
10068
 
10069
- // Atoms/Pseudo.js
10069
+ // node_modules/@symbo.ls/atoms/Pseudo.js
10070
10070
  var Pseudo = {
10071
10071
  class: {
10072
10072
  content: ({ props: props6 }) => props6.content && { content: props6.content }
10073
10073
  }
10074
10074
  };
10075
10075
 
10076
- // Atoms/Svg.js
10076
+ // node_modules/@symbo.ls/atoms/Svg.js
10077
10077
  var Svg = {
10078
10078
  tag: "svg",
10079
10079
  props: {
@@ -10111,7 +10111,7 @@ var Svg = {
10111
10111
  }
10112
10112
  };
10113
10113
 
10114
- // Atoms/Shape/index.js
10114
+ // node_modules/@symbo.ls/atoms/Shape/index.js
10115
10115
  var import_utils3 = __toESM(require_cjs5());
10116
10116
  var import_scratch7 = __toESM(require_cjs());
10117
10117
  var transformBorderRadius = (radius, props6, propertyName) => {
@@ -10147,7 +10147,7 @@ var Shape = {
10147
10147
  }
10148
10148
  };
10149
10149
 
10150
- // Atoms/Text.js
10150
+ // node_modules/@symbo.ls/atoms/Text.js
10151
10151
  var import_scratch8 = __toESM(require_cjs());
10152
10152
  var Text = {
10153
10153
  text: ({ key, props: props6, state }) => {
@@ -10198,7 +10198,7 @@ var Footnote = {
10198
10198
  props: { fontSize: "Z" }
10199
10199
  };
10200
10200
 
10201
- // Atoms/Transform.js
10201
+ // node_modules/@symbo.ls/atoms/Transform.js
10202
10202
  var Transform = {
10203
10203
  class: {
10204
10204
  transform: ({ props: props6 }) => props6.transform && { transform: props6.transform },
@@ -10206,14 +10206,14 @@ var Transform = {
10206
10206
  }
10207
10207
  };
10208
10208
 
10209
- // Atoms/XYZ.js
10209
+ // node_modules/@symbo.ls/atoms/XYZ.js
10210
10210
  var XYZ = {
10211
10211
  class: {
10212
10212
  zIndex: ({ props: props6 }) => props6.zIndex && { zIndex: props6.zIndex }
10213
10213
  }
10214
10214
  };
10215
10215
 
10216
- // Atoms/Animation.js
10216
+ // node_modules/@symbo.ls/atoms/Animation.js
10217
10217
  var import_scratch9 = __toESM(require_cjs());
10218
10218
  var import_utils5 = __toESM(require_cjs5());
10219
10219
 
@@ -11066,7 +11066,7 @@ var createCache = function createCache2(options) {
11066
11066
  return cache;
11067
11067
  };
11068
11068
 
11069
- // ../../packages/emotion/node_modules/@emotion/hash/dist/emotion-hash.esm.js
11069
+ // node_modules/@emotion/hash/dist/emotion-hash.esm.js
11070
11070
  function murmur2(str) {
11071
11071
  var h = 0;
11072
11072
  var k, i = 0, len = str.length;
@@ -11096,7 +11096,7 @@ function murmur2(str) {
11096
11096
  return ((h ^ h >>> 15) >>> 0).toString(36);
11097
11097
  }
11098
11098
 
11099
- // ../../packages/emotion/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js
11099
+ // node_modules/@emotion/unitless/dist/emotion-unitless.esm.js
11100
11100
  var unitlessKeys = {
11101
11101
  animationIterationCount: 1,
11102
11102
  aspectRatio: 1,
@@ -11147,7 +11147,7 @@ var unitlessKeys = {
11147
11147
  strokeWidth: 1
11148
11148
  };
11149
11149
 
11150
- // ../../packages/emotion/node_modules/@emotion/serialize/dist/emotion-serialize.browser.esm.js
11150
+ // node_modules/@emotion/serialize/dist/emotion-serialize.browser.esm.js
11151
11151
  var ILLEGAL_ESCAPE_SEQUENCE_ERROR = `You have illegal escape sequence in your template literal, most likely inside content's property value.
11152
11152
  Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
11153
11153
  You can read more about this here:
@@ -11192,7 +11192,7 @@ if (true) {
11192
11192
  msPattern = /^-ms-/;
11193
11193
  hyphenPattern = /-(.)/g;
11194
11194
  hyphenatedCache = {};
11195
- processStyleValue = function processStyleValue5(key, value) {
11195
+ processStyleValue = function processStyleValue3(key, value) {
11196
11196
  if (key === "content") {
11197
11197
  if (typeof value !== "string" || contentValues.indexOf(value) === -1 && !contentValuePattern.test(value) && (value.charAt(0) !== value.charAt(value.length - 1) || value.charAt(0) !== '"' && value.charAt(0) !== "'")) {
11198
11198
  throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"" + value + "\"'`");
@@ -11400,7 +11400,7 @@ var serializeStyles = function serializeStyles2(args, registered, mergedProps) {
11400
11400
  };
11401
11401
  };
11402
11402
 
11403
- // ../../packages/emotion/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js
11403
+ // node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js
11404
11404
  var isBrowser = true;
11405
11405
  function getRegisteredStyles(registered, registeredStyles, classNames) {
11406
11406
  var rawClassName = "";
@@ -11442,7 +11442,7 @@ var insertStyles = function insertStyles2(cache, serialized, isStringTag) {
11442
11442
  }
11443
11443
  };
11444
11444
 
11445
- // ../../packages/emotion/node_modules/@emotion/css/create-instance/dist/emotion-css-create-instance.esm.js
11445
+ // node_modules/@emotion/css/create-instance/dist/emotion-css-create-instance.esm.js
11446
11446
  function insertWithoutScoping(cache, serialized) {
11447
11447
  if (cache.inserted[serialized.name] === void 0) {
11448
11448
  return cache.insert("", serialized, cache.sheet, true);
@@ -11473,7 +11473,7 @@ var createEmotion = function createEmotion2(options) {
11473
11473
  insertStyles(cache, serialized, false);
11474
11474
  return cache.key + "-" + serialized.name;
11475
11475
  };
11476
- var keyframes3 = function keyframes4() {
11476
+ var keyframes2 = function keyframes3() {
11477
11477
  for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
11478
11478
  args[_key2] = arguments[_key2];
11479
11479
  }
@@ -11502,7 +11502,7 @@ var createEmotion = function createEmotion2(options) {
11502
11502
  css,
11503
11503
  cx,
11504
11504
  injectGlobal,
11505
- keyframes: keyframes3,
11505
+ keyframes: keyframes2,
11506
11506
  hydrate: function hydrate(ids) {
11507
11507
  ids.forEach(function(key) {
11508
11508
  cache.inserted[key] = true;
@@ -11556,14 +11556,14 @@ var classnames = function classnames2(args) {
11556
11556
  return cls;
11557
11557
  };
11558
11558
 
11559
- // ../../packages/emotion/index.js
11559
+ // node_modules/@symbo.ls/emotion/index.js
11560
11560
  var createEmotion3 = (key = "smbls", container) => {
11561
11561
  const cleanKey = key.replaceAll(/\./g, "-");
11562
11562
  return createEmotion({ key: cleanKey, container });
11563
11563
  };
11564
11564
  var emotion = createEmotion3();
11565
11565
 
11566
- // Atoms/Animation.js
11566
+ // node_modules/@symbo.ls/atoms/Animation.js
11567
11567
  var { keyframes } = emotion;
11568
11568
  var applyAnimationProps = (animation, element) => {
11569
11569
  if ((0, import_utils5.isObject)(animation))
@@ -11610,7 +11610,7 @@ var Animation = {
11610
11610
  }
11611
11611
  };
11612
11612
 
11613
- // Box/index.js
11613
+ // node_modules/@symbo.ls/box/index.js
11614
11614
  var PropsCSS = {
11615
11615
  class: {
11616
11616
  style: ({ props: props6 }) => props6 && props6.style
@@ -11651,7 +11651,7 @@ var Circle = {
11651
11651
  }
11652
11652
  };
11653
11653
 
11654
- // Icon/index.js
11654
+ // node_modules/@symbo.ls/icon/index.js
11655
11655
  var Icon = {
11656
11656
  extend: Svg,
11657
11657
  props: ({ key, props: props6, parent, context }) => {
@@ -11659,7 +11659,7 @@ var Icon = {
11659
11659
  const { toCamelCase } = context && context.utils;
11660
11660
  const iconName = props6.inheritedString || props6.name || props6.icon || key;
11661
11661
  const camelCase = toCamelCase(iconName);
11662
- const isArray5 = camelCase.split(/([a-z])([A-Z])/g);
11662
+ const isArray3 = camelCase.split(/([a-z])([A-Z])/g);
11663
11663
  let activeIconName;
11664
11664
  if (props6.active) {
11665
11665
  activeIconName = props6[".active"].name || props6[".active"].icon;
@@ -11672,10 +11672,10 @@ var Icon = {
11672
11672
  validIconName = activeIconName;
11673
11673
  if (ICONS[camelCase])
11674
11674
  validIconName = camelCase;
11675
- else if (ICONS[isArray5[0] + isArray5[1]])
11676
- validIconName = isArray5[0] + isArray5[1];
11677
- else if (ICONS[isArray5[0]])
11678
- validIconName = isArray5[0];
11675
+ else if (ICONS[isArray3[0] + isArray3[1]])
11676
+ validIconName = isArray3[0] + isArray3[1];
11677
+ else if (ICONS[isArray3[0]])
11678
+ validIconName = isArray3[0];
11679
11679
  else {
11680
11680
  if (verbose)
11681
11681
  console.warn("Can't find icon:", iconName, validIconName);
@@ -11716,8 +11716,22 @@ var IconText = {
11716
11716
  props: { flow: "column" }
11717
11717
  }
11718
11718
  };
11719
+ var FileIcon = {
11720
+ extend: Flex,
11721
+ props: {
11722
+ theme: "tertiary",
11723
+ boxSize: "C1",
11724
+ align: "center center",
11725
+ round: "Z"
11726
+ },
11727
+ Icon: {
11728
+ fontSize: "B",
11729
+ margin: "auto",
11730
+ icon: "file"
11731
+ }
11732
+ };
11719
11733
 
11720
- // Button/index.js
11734
+ // node_modules/@symbo.ls/button/index.js
11721
11735
  var Button = {
11722
11736
  extend: [FocusableComponent, IconText],
11723
11737
  tag: "button",
@@ -11764,7 +11778,7 @@ var KangorooButton = {
11764
11778
  childExtend: IconText
11765
11779
  };
11766
11780
 
11767
- // Avatar/index.js
11781
+ // node_modules/@symbo.ls/avatar/index.js
11768
11782
  var Avatar = {
11769
11783
  extend: Img,
11770
11784
  props: {
@@ -11832,7 +11846,7 @@ var AvatarChooser = {
11832
11846
  }
11833
11847
  };
11834
11848
 
11835
- // Dialog/index.js
11849
+ // node_modules/@symbo.ls/dialog/index.js
11836
11850
  var Dialog = {
11837
11851
  props: {
11838
11852
  theme: "tertiary",
@@ -11881,7 +11895,7 @@ var DialogFooter = {
11881
11895
  }
11882
11896
  };
11883
11897
 
11884
- // Datepicker/days.js
11898
+ // node_modules/@symbo.ls/datepicker/days.js
11885
11899
  var DatePickerDay = {
11886
11900
  extend: Button,
11887
11901
  state: true,
@@ -11925,7 +11939,7 @@ var DatePickerDay = {
11925
11939
  }
11926
11940
  };
11927
11941
 
11928
- // Datepicker/weekdays.js
11942
+ // node_modules/@symbo.ls/datepicker/weekdays.js
11929
11943
  var DatePickerWeekDays = {
11930
11944
  extend: Grid,
11931
11945
  props: {
@@ -11961,7 +11975,7 @@ var DatePickerWeekDays = {
11961
11975
  ]
11962
11976
  };
11963
11977
 
11964
- // Datepicker/months.js
11978
+ // node_modules/@symbo.ls/datepicker/months.js
11965
11979
  var DatePickerMonthsSlider = {
11966
11980
  extend: Flex,
11967
11981
  props: {
@@ -12105,7 +12119,7 @@ var DatePickerMonthsSlider = {
12105
12119
  }
12106
12120
  };
12107
12121
 
12108
- // Datepicker/years.js
12122
+ // node_modules/@symbo.ls/datepicker/years.js
12109
12123
  var DatePickerYears = {
12110
12124
  tag: "aside",
12111
12125
  props: {
@@ -12184,7 +12198,7 @@ var DatePickerYears = {
12184
12198
  }
12185
12199
  };
12186
12200
 
12187
- // Datepicker/grid.js
12201
+ // node_modules/@symbo.ls/datepicker/grid.js
12188
12202
  var import_headless_datepicker = __toESM(require_headless_datepicker());
12189
12203
  var calendar = new import_headless_datepicker.HeadlessDatepicker.Calendar({
12190
12204
  calendarMode: "exact"
@@ -12281,7 +12295,7 @@ var DatePickerGridContainer = {
12281
12295
  }
12282
12296
  };
12283
12297
 
12284
- // Datepicker/index.js
12298
+ // node_modules/@symbo.ls/datepicker/index.js
12285
12299
  var DatePicker = {
12286
12300
  extend: [Dialog, Flex],
12287
12301
  state: ({ props: props6 }) => {
@@ -12338,7 +12352,7 @@ var DatePickerTwoColumns = {
12338
12352
  }
12339
12353
  };
12340
12354
 
12341
- // TimePicker/TimePickerItem.js
12355
+ // node_modules/@symbo.ls/timepicker/TimePickerItem.js
12342
12356
  var props = {
12343
12357
  align: "center center",
12344
12358
  flow: "column",
@@ -12381,7 +12395,7 @@ var TimePickerItem = {
12381
12395
  Button_minus: { icon: "minus" }
12382
12396
  };
12383
12397
 
12384
- // TimePicker/TimeSwitcher.js
12398
+ // node_modules/@symbo.ls/timepicker/TimeSwitcher.js
12385
12399
  var props2 = {
12386
12400
  boxSize: "C B2",
12387
12401
  flow: "column",
@@ -12417,7 +12431,7 @@ var TimeSwitcher = {
12417
12431
  pm: { text: "pm" }
12418
12432
  };
12419
12433
 
12420
- // TimePicker/index.js
12434
+ // node_modules/@symbo.ls/timepicker/index.js
12421
12435
  var TimePicker = {
12422
12436
  extend: [Dialog, Flex],
12423
12437
  state: {
@@ -12483,7 +12497,7 @@ var TimePicker = {
12483
12497
  }
12484
12498
  };
12485
12499
 
12486
- // Dropdown/index.js
12500
+ // node_modules/@symbo.ls/dropdown/index.js
12487
12501
  var DropdownList = {
12488
12502
  extend: Flex,
12489
12503
  props: {
@@ -12543,7 +12557,7 @@ var DropdownParent = {
12543
12557
  }
12544
12558
  };
12545
12559
 
12546
- // Form/FieldLabel.js
12560
+ // node_modules/@symbo.ls/form/FieldLabel.js
12547
12561
  var props3 = {
12548
12562
  flow: "column",
12549
12563
  gap: "Y2",
@@ -12566,7 +12580,7 @@ var FieldLabel = {
12566
12580
  }
12567
12581
  };
12568
12582
 
12569
- // Form/Checkbox.js
12583
+ // node_modules/@symbo.ls/form/Checkbox.js
12570
12584
  var Input = {
12571
12585
  props: {
12572
12586
  type: "checkbox",
@@ -12649,7 +12663,7 @@ var CheckBoxWithLabel = {
12649
12663
  FieldLabel
12650
12664
  };
12651
12665
 
12652
- // Form/Radio.js
12666
+ // node_modules/@symbo.ls/form/Radio.js
12653
12667
  var Radio = {
12654
12668
  extend: Checkbox,
12655
12669
  Input: {
@@ -12681,7 +12695,7 @@ var RadioWithLabel = {
12681
12695
  FieldLabel
12682
12696
  };
12683
12697
 
12684
- // Form/ToggleSwitch.js
12698
+ // node_modules/@symbo.ls/form/ToggleSwitch.js
12685
12699
  var ToggleSwitch = {
12686
12700
  extend: Checkbox,
12687
12701
  props: {
@@ -12724,87 +12738,7 @@ var ToggleSwithWithLabel = {
12724
12738
  FieldLabel: { padding: "Z - - -" }
12725
12739
  };
12726
12740
 
12727
- // node_modules/@symbo.ls/icon/index.js
12728
- var Icon2 = {
12729
- extend: Svg,
12730
- props: ({ key, props: props6, parent, context }) => {
12731
- const { ICONS, useIconSprite, verbose } = context && context.designSystem;
12732
- const { toCamelCase } = context && context.utils;
12733
- const iconName = props6.inheritedString || props6.name || props6.icon || key;
12734
- const camelCase = toCamelCase(iconName);
12735
- const isArray5 = camelCase.split(/([a-z])([A-Z])/g);
12736
- let activeIconName;
12737
- if (props6.active) {
12738
- activeIconName = props6[".active"].name || props6[".active"].icon;
12739
- }
12740
- if (parent && parent.props && parent.props.active && parent.props[".active"] && parent.props[".active"].icon) {
12741
- activeIconName = parent.props[".active"].icon.name || parent.props[".active"].icon.icon || parent.props[".active"].icon;
12742
- }
12743
- let validIconName;
12744
- if (ICONS[activeIconName])
12745
- validIconName = activeIconName;
12746
- if (ICONS[camelCase])
12747
- validIconName = camelCase;
12748
- else if (ICONS[isArray5[0] + isArray5[1]])
12749
- validIconName = isArray5[0] + isArray5[1];
12750
- else if (ICONS[isArray5[0]])
12751
- validIconName = isArray5[0];
12752
- else {
12753
- if (verbose)
12754
- console.warn("Can't find icon:", iconName, validIconName);
12755
- }
12756
- const iconFromLibrary = ICONS[validIconName];
12757
- const directSrc = parent && parent.props && parent.props.src || props6.src;
12758
- return {
12759
- width: "A",
12760
- height: "A",
12761
- display: "inline-block",
12762
- spriteId: useIconSprite && validIconName,
12763
- src: iconFromLibrary || directSrc || ICONS.noIcon,
12764
- style: { fill: "currentColor" }
12765
- };
12766
- },
12767
- attr: { viewBox: "0 0 24 24" }
12768
- };
12769
- var IconText2 = {
12770
- extend: Flex,
12771
- props: {
12772
- align: "center center",
12773
- lineHeight: 1
12774
- },
12775
- // TODO: remove this variant
12776
- icon: {
12777
- extend: Icon2,
12778
- if: ({ parent }) => parent.props.icon
12779
- },
12780
- Icon: {
12781
- props: {},
12782
- if: ({ props: props6 }) => props6.name || props6.icon
12783
- },
12784
- text: ({ props: props6 }) => props6.text,
12785
- ".reversed": {
12786
- props: { flow: "row-reverse" }
12787
- },
12788
- ".vertical": {
12789
- props: { flow: "column" }
12790
- }
12791
- };
12792
- var FileIcon = {
12793
- extend: Flex,
12794
- props: {
12795
- theme: "tertiary",
12796
- boxSize: "C1",
12797
- align: "center center",
12798
- round: "Z"
12799
- },
12800
- Icon: {
12801
- fontSize: "B",
12802
- margin: "auto",
12803
- icon: "file"
12804
- }
12805
- };
12806
-
12807
- // Link/index.js
12741
+ // node_modules/@symbo.ls/link/index.js
12808
12742
  var import_router = __toESM(require_cjs9());
12809
12743
  var Link = {
12810
12744
  extend: Focusable,
@@ -12818,8 +12752,8 @@ var Link = {
12818
12752
  },
12819
12753
  attr: {
12820
12754
  href: (el, s, ctx) => {
12821
- const { exec: exec3 } = ctx.utils;
12822
- return exec3(el.props.href, el) || exec3(el.props, el).href;
12755
+ const { exec: exec2 } = ctx.utils;
12756
+ return exec2(el.props.href, el) || exec2(el.props, el).href;
12823
12757
  },
12824
12758
  target: ({ props: props6 }) => props6.target,
12825
12759
  "aria-label": ({ props: props6 }) => props6.aria ? props6.aria.label : props6.text,
@@ -12851,7 +12785,7 @@ var RouteLink = {
12851
12785
  extend: [Link, RouterLink]
12852
12786
  };
12853
12787
 
12854
- // Input/index.js
12788
+ // node_modules/@symbo.ls/input/index.js
12855
12789
  var Input2 = {
12856
12790
  extend: [Focusable],
12857
12791
  tag: "input",
@@ -12891,632 +12825,69 @@ var NumberInput = {
12891
12825
  }
12892
12826
  };
12893
12827
 
12894
- // Field/node_modules/@symbo.ls/atoms/Block.js
12895
- var import_scratch10 = __toESM(require_cjs());
12896
-
12897
- // Field/node_modules/@symbo.ls/atoms/Grid.js
12898
- var import_scratch11 = __toESM(require_cjs());
12899
-
12900
- // Field/node_modules/@symbo.ls/atoms/Media.js
12901
- var import_utils6 = __toESM(require_cjs5());
12902
-
12903
- // Field/node_modules/@symbo.ls/atoms/Theme.js
12904
- var import_scratch14 = __toESM(require_cjs());
12905
-
12906
- // Field/node_modules/@symbo.ls/atoms/Shape/style.js
12907
- var import_scratch13 = __toESM(require_cjs());
12908
-
12909
- // Field/node_modules/@symbo.ls/atoms/Timing.js
12910
- var import_scratch12 = __toESM(require_cjs());
12911
-
12912
- // Field/node_modules/@symbo.ls/atoms/Shape/style.js
12913
- var CONFIG2 = (0, import_scratch13.getActiveConfig)();
12914
- var depth2 = {
12915
- 4: { boxShadow: `rgba(0,0,0,.10) 0 2${CONFIG2.UNIT.default} 4${CONFIG2.UNIT.default}` },
12916
- 6: { boxShadow: `rgba(0,0,0,.10) 0 3${CONFIG2.UNIT.default} 6${CONFIG2.UNIT.default}` },
12917
- 10: { boxShadow: `rgba(0,0,0,.10) 0 4${CONFIG2.UNIT.default} 10${CONFIG2.UNIT.default}` },
12918
- 16: { boxShadow: `rgba(0,0,0,.10) 0 8${CONFIG2.UNIT.default} 16${CONFIG2.UNIT.default}` },
12919
- 26: { boxShadow: `rgba(0,0,0,.10) 0 14${CONFIG2.UNIT.default} 26${CONFIG2.UNIT.default}` },
12920
- 42: { boxShadow: `rgba(0,0,0,.10) 0 20${CONFIG2.UNIT.default} 42${CONFIG2.UNIT.default}` }
12828
+ // node_modules/@symbo.ls/field/index.js
12829
+ var Field = {
12830
+ extend: [IconText],
12831
+ props: ({ state, key }) => ({
12832
+ value: state[key],
12833
+ depth: 16,
12834
+ placeholder: "",
12835
+ padding: "A B",
12836
+ round: "C",
12837
+ type: "text",
12838
+ position: "relative",
12839
+ width: "G",
12840
+ appearance: "none",
12841
+ outline: 0,
12842
+ border: "none",
12843
+ cursor: "pointer",
12844
+ fontFamily: "inherit",
12845
+ boxSizing: "border-box",
12846
+ input: {
12847
+ width: "100%",
12848
+ height: "100%",
12849
+ border: "none"
12850
+ },
12851
+ svg: {
12852
+ position: "absolute",
12853
+ right: "A"
12854
+ }
12855
+ }),
12856
+ input: { extend: [Focusable, Input2] }
12921
12857
  };
12922
12858
 
12923
- // Field/node_modules/@symbo.ls/atoms/InteractiveComponent.js
12924
- var Focusable2 = {
12925
- props: {
12926
- border: "none",
12927
- outline: "solid, 0, blue .3",
12928
- ":focus-visible": {
12929
- opacity: 1,
12930
- outline: "solid, X, blue .3"
12859
+ // node_modules/@symbo.ls/video/index.js
12860
+ var Video = {
12861
+ tag: "video",
12862
+ childExtend: {
12863
+ tag: "source",
12864
+ attr: {
12865
+ src: ({ props: props6 }) => props6.src,
12866
+ controls: ({ props: props6 }) => props6.controls
12931
12867
  }
12932
12868
  },
12869
+ props: {
12870
+ controls: true
12871
+ },
12933
12872
  attr: {
12934
- placeholder: ({ props: props6 }) => props6.placeholder,
12935
- tabIndex: ({ props: props6 }) => props6.tabIndex
12873
+ src: ({ props: props6 }) => props6.src,
12874
+ autoplay: ({ props: props6 }) => props6.autoplay,
12875
+ loop: ({ props: props6 }) => props6.loop,
12876
+ poster: ({ props: props6 }) => props6.poster,
12877
+ muted: ({ props: props6 }) => props6.muted,
12878
+ preload: ({ props: props6 }) => props6.preload,
12879
+ controls: ({ props: props6 }) => props6.controls
12936
12880
  }
12937
12881
  };
12938
12882
 
12939
- // Field/node_modules/@symbo.ls/atoms/Collection.js
12940
- var import_state2 = __toESM(require_cjs8());
12941
- var import_utils7 = __toESM(require_cjs5());
12942
-
12943
- // Field/node_modules/@symbo.ls/atoms/Position.js
12944
- var import_scratch15 = __toESM(require_cjs());
12945
-
12946
- // Field/node_modules/@symbo.ls/atoms/Shape/index.js
12947
- var import_utils8 = __toESM(require_cjs5());
12948
- var import_scratch16 = __toESM(require_cjs());
12949
-
12950
- // Field/node_modules/@symbo.ls/atoms/Text.js
12951
- var import_scratch17 = __toESM(require_cjs());
12952
-
12953
- // Field/node_modules/@symbo.ls/atoms/Animation.js
12954
- var import_scratch18 = __toESM(require_cjs());
12955
- var import_utils10 = __toESM(require_cjs5());
12956
-
12957
- // Field/node_modules/@emotion/hash/dist/emotion-hash.esm.js
12958
- function murmur22(str) {
12959
- var h = 0;
12960
- var k, i = 0, len = str.length;
12961
- for (; len >= 4; ++i, len -= 4) {
12962
- k = str.charCodeAt(i) & 255 | (str.charCodeAt(++i) & 255) << 8 | (str.charCodeAt(++i) & 255) << 16 | (str.charCodeAt(++i) & 255) << 24;
12963
- k = /* Math.imul(k, m): */
12964
- (k & 65535) * 1540483477 + ((k >>> 16) * 59797 << 16);
12965
- k ^= /* k >>> r: */
12966
- k >>> 24;
12967
- h = /* Math.imul(k, m): */
12968
- (k & 65535) * 1540483477 + ((k >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
12969
- (h & 65535) * 1540483477 + ((h >>> 16) * 59797 << 16);
12970
- }
12971
- switch (len) {
12972
- case 3:
12973
- h ^= (str.charCodeAt(i + 2) & 255) << 16;
12974
- case 2:
12975
- h ^= (str.charCodeAt(i + 1) & 255) << 8;
12976
- case 1:
12977
- h ^= str.charCodeAt(i) & 255;
12978
- h = /* Math.imul(h, m): */
12979
- (h & 65535) * 1540483477 + ((h >>> 16) * 59797 << 16);
12980
- }
12981
- h ^= h >>> 13;
12982
- h = /* Math.imul(h, m): */
12983
- (h & 65535) * 1540483477 + ((h >>> 16) * 59797 << 16);
12984
- return ((h ^ h >>> 15) >>> 0).toString(36);
12985
- }
12986
-
12987
- // Field/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js
12988
- var unitlessKeys2 = {
12989
- animationIterationCount: 1,
12990
- aspectRatio: 1,
12991
- borderImageOutset: 1,
12992
- borderImageSlice: 1,
12993
- borderImageWidth: 1,
12994
- boxFlex: 1,
12995
- boxFlexGroup: 1,
12996
- boxOrdinalGroup: 1,
12997
- columnCount: 1,
12998
- columns: 1,
12999
- flex: 1,
13000
- flexGrow: 1,
13001
- flexPositive: 1,
13002
- flexShrink: 1,
13003
- flexNegative: 1,
13004
- flexOrder: 1,
13005
- gridRow: 1,
13006
- gridRowEnd: 1,
13007
- gridRowSpan: 1,
13008
- gridRowStart: 1,
13009
- gridColumn: 1,
13010
- gridColumnEnd: 1,
13011
- gridColumnSpan: 1,
13012
- gridColumnStart: 1,
13013
- msGridRow: 1,
13014
- msGridRowSpan: 1,
13015
- msGridColumn: 1,
13016
- msGridColumnSpan: 1,
13017
- fontWeight: 1,
13018
- lineHeight: 1,
13019
- opacity: 1,
13020
- order: 1,
13021
- orphans: 1,
13022
- tabSize: 1,
13023
- widows: 1,
13024
- zIndex: 1,
13025
- zoom: 1,
13026
- WebkitLineClamp: 1,
13027
- // SVG-related properties
13028
- fillOpacity: 1,
13029
- floodOpacity: 1,
13030
- stopOpacity: 1,
13031
- strokeDasharray: 1,
13032
- strokeDashoffset: 1,
13033
- strokeMiterlimit: 1,
13034
- strokeOpacity: 1,
13035
- strokeWidth: 1
13036
- };
13037
-
13038
- // Field/node_modules/@emotion/serialize/dist/emotion-serialize.browser.esm.js
13039
- var ILLEGAL_ESCAPE_SEQUENCE_ERROR2 = `You have illegal escape sequence in your template literal, most likely inside content's property value.
13040
- Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
13041
- You can read more about this here:
13042
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`;
13043
- var UNDEFINED_AS_OBJECT_KEY_ERROR2 = "You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).";
13044
- var hyphenateRegex2 = /[A-Z]|^ms/g;
13045
- var animationRegex2 = /_EMO_([^_]+?)_([^]*?)_EMO_/g;
13046
- var isCustomProperty3 = function isCustomProperty4(property) {
13047
- return property.charCodeAt(1) === 45;
13048
- };
13049
- var isProcessableValue3 = function isProcessableValue4(value) {
13050
- return value != null && typeof value !== "boolean";
13051
- };
13052
- var processStyleName2 = /* @__PURE__ */ memoize(function(styleName) {
13053
- return isCustomProperty3(styleName) ? styleName : styleName.replace(hyphenateRegex2, "-$&").toLowerCase();
13054
- });
13055
- var processStyleValue3 = function processStyleValue4(key, value) {
13056
- switch (key) {
13057
- case "animation":
13058
- case "animationName": {
13059
- if (typeof value === "string") {
13060
- return value.replace(animationRegex2, function(match2, p1, p2) {
13061
- cursor2 = {
13062
- name: p1,
13063
- styles: p2,
13064
- next: cursor2
13065
- };
13066
- return p1;
13067
- });
13068
- }
13069
- }
13070
- }
13071
- if (unitlessKeys2[key] !== 1 && !isCustomProperty3(key) && typeof value === "number" && value !== 0) {
13072
- return value + "px";
13073
- }
13074
- return value;
13075
- };
13076
- if (true) {
13077
- contentValuePattern = /(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/;
13078
- contentValues = ["normal", "none", "initial", "inherit", "unset"];
13079
- oldProcessStyleValue = processStyleValue3;
13080
- msPattern = /^-ms-/;
13081
- hyphenPattern = /-(.)/g;
13082
- hyphenatedCache = {};
13083
- processStyleValue3 = function processStyleValue5(key, value) {
13084
- if (key === "content") {
13085
- if (typeof value !== "string" || contentValues.indexOf(value) === -1 && !contentValuePattern.test(value) && (value.charAt(0) !== value.charAt(value.length - 1) || value.charAt(0) !== '"' && value.charAt(0) !== "'")) {
13086
- throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"" + value + "\"'`");
13087
- }
13088
- }
13089
- var processed = oldProcessStyleValue(key, value);
13090
- if (processed !== "" && !isCustomProperty3(key) && key.indexOf("-") !== -1 && hyphenatedCache[key] === void 0) {
13091
- hyphenatedCache[key] = true;
13092
- console.error("Using kebab-case for css properties in objects is not supported. Did you mean " + key.replace(msPattern, "ms-").replace(hyphenPattern, function(str, _char) {
13093
- return _char.toUpperCase();
13094
- }) + "?");
13095
- }
13096
- return processed;
13097
- };
13098
- }
13099
- var contentValuePattern;
13100
- var contentValues;
13101
- var oldProcessStyleValue;
13102
- var msPattern;
13103
- var hyphenPattern;
13104
- var hyphenatedCache;
13105
- var noComponentSelectorMessage2 = "Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";
13106
- function handleInterpolation2(mergedProps, registered, interpolation) {
13107
- if (interpolation == null) {
13108
- return "";
13109
- }
13110
- if (interpolation.__emotion_styles !== void 0) {
13111
- if (interpolation.toString() === "NO_COMPONENT_SELECTOR") {
13112
- throw new Error(noComponentSelectorMessage2);
13113
- }
13114
- return interpolation;
13115
- }
13116
- switch (typeof interpolation) {
13117
- case "boolean": {
13118
- return "";
13119
- }
13120
- case "object": {
13121
- if (interpolation.anim === 1) {
13122
- cursor2 = {
13123
- name: interpolation.name,
13124
- styles: interpolation.styles,
13125
- next: cursor2
13126
- };
13127
- return interpolation.name;
13128
- }
13129
- if (interpolation.styles !== void 0) {
13130
- var next2 = interpolation.next;
13131
- if (next2 !== void 0) {
13132
- while (next2 !== void 0) {
13133
- cursor2 = {
13134
- name: next2.name,
13135
- styles: next2.styles,
13136
- next: cursor2
13137
- };
13138
- next2 = next2.next;
13139
- }
13140
- }
13141
- var styles = interpolation.styles + ";";
13142
- if (interpolation.map !== void 0) {
13143
- styles += interpolation.map;
13144
- }
13145
- return styles;
13146
- }
13147
- return createStringFromObject2(mergedProps, registered, interpolation);
13148
- }
13149
- case "function": {
13150
- if (mergedProps !== void 0) {
13151
- var previousCursor = cursor2;
13152
- var result = interpolation(mergedProps);
13153
- cursor2 = previousCursor;
13154
- return handleInterpolation2(mergedProps, registered, result);
13155
- } else if (true) {
13156
- console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");
13157
- }
13158
- break;
13159
- }
13160
- case "string":
13161
- if (true) {
13162
- var matched = [];
13163
- var replaced = interpolation.replace(animationRegex2, function(match2, p1, p2) {
13164
- var fakeVarName = "animation" + matched.length;
13165
- matched.push("const " + fakeVarName + " = keyframes`" + p2.replace(/^@keyframes animation-\w+/, "") + "`");
13166
- return "${" + fakeVarName + "}";
13167
- });
13168
- if (matched.length) {
13169
- console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n" + [].concat(matched, ["`" + replaced + "`"]).join("\n") + "\n\nYou should wrap it with `css` like this:\n\n" + ("css`" + replaced + "`"));
13170
- }
13171
- }
13172
- break;
13173
- }
13174
- if (registered == null) {
13175
- return interpolation;
13176
- }
13177
- var cached = registered[interpolation];
13178
- return cached !== void 0 ? cached : interpolation;
13179
- }
13180
- function createStringFromObject2(mergedProps, registered, obj) {
13181
- var string = "";
13182
- if (Array.isArray(obj)) {
13183
- for (var i = 0; i < obj.length; i++) {
13184
- string += handleInterpolation2(mergedProps, registered, obj[i]) + ";";
13185
- }
13186
- } else {
13187
- for (var _key in obj) {
13188
- var value = obj[_key];
13189
- if (typeof value !== "object") {
13190
- if (registered != null && registered[value] !== void 0) {
13191
- string += _key + "{" + registered[value] + "}";
13192
- } else if (isProcessableValue3(value)) {
13193
- string += processStyleName2(_key) + ":" + processStyleValue3(_key, value) + ";";
13194
- }
13195
- } else {
13196
- if (_key === "NO_COMPONENT_SELECTOR" && true) {
13197
- throw new Error(noComponentSelectorMessage2);
13198
- }
13199
- if (Array.isArray(value) && typeof value[0] === "string" && (registered == null || registered[value[0]] === void 0)) {
13200
- for (var _i = 0; _i < value.length; _i++) {
13201
- if (isProcessableValue3(value[_i])) {
13202
- string += processStyleName2(_key) + ":" + processStyleValue3(_key, value[_i]) + ";";
13203
- }
13204
- }
13205
- } else {
13206
- var interpolated = handleInterpolation2(mergedProps, registered, value);
13207
- switch (_key) {
13208
- case "animation":
13209
- case "animationName": {
13210
- string += processStyleName2(_key) + ":" + interpolated + ";";
13211
- break;
13212
- }
13213
- default: {
13214
- if (_key === "undefined") {
13215
- console.error(UNDEFINED_AS_OBJECT_KEY_ERROR2);
13216
- }
13217
- string += _key + "{" + interpolated + "}";
13218
- }
13219
- }
13220
- }
13221
- }
13222
- }
13223
- }
13224
- return string;
13225
- }
13226
- var labelPattern2 = /label:\s*([^\s;\n{]+)\s*(;|$)/g;
13227
- var sourceMapPattern2;
13228
- if (true) {
13229
- sourceMapPattern2 = /\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g;
13230
- }
13231
- var cursor2;
13232
- var serializeStyles3 = function serializeStyles4(args, registered, mergedProps) {
13233
- if (args.length === 1 && typeof args[0] === "object" && args[0] !== null && args[0].styles !== void 0) {
13234
- return args[0];
13235
- }
13236
- var stringMode = true;
13237
- var styles = "";
13238
- cursor2 = void 0;
13239
- var strings = args[0];
13240
- if (strings == null || strings.raw === void 0) {
13241
- stringMode = false;
13242
- styles += handleInterpolation2(mergedProps, registered, strings);
13243
- } else {
13244
- if (strings[0] === void 0) {
13245
- console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR2);
13246
- }
13247
- styles += strings[0];
13248
- }
13249
- for (var i = 1; i < args.length; i++) {
13250
- styles += handleInterpolation2(mergedProps, registered, args[i]);
13251
- if (stringMode) {
13252
- if (strings[i] === void 0) {
13253
- console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR2);
13254
- }
13255
- styles += strings[i];
13256
- }
13257
- }
13258
- var sourceMap;
13259
- if (true) {
13260
- styles = styles.replace(sourceMapPattern2, function(match3) {
13261
- sourceMap = match3;
13262
- return "";
13263
- });
13264
- }
13265
- labelPattern2.lastIndex = 0;
13266
- var identifierName = "";
13267
- var match2;
13268
- while ((match2 = labelPattern2.exec(styles)) !== null) {
13269
- identifierName += "-" + // $FlowFixMe we know it's not null
13270
- match2[1];
13271
- }
13272
- var name = murmur22(styles) + identifierName;
13273
- if (true) {
13274
- return {
13275
- name,
13276
- styles,
13277
- map: sourceMap,
13278
- next: cursor2,
13279
- toString: function toString() {
13280
- return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
13281
- }
13282
- };
13283
- }
13284
- return {
13285
- name,
13286
- styles,
13287
- next: cursor2
13288
- };
13289
- };
13290
-
13291
- // Field/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js
13292
- var isBrowser2 = true;
13293
- function getRegisteredStyles2(registered, registeredStyles, classNames) {
13294
- var rawClassName = "";
13295
- classNames.split(" ").forEach(function(className) {
13296
- if (registered[className] !== void 0) {
13297
- registeredStyles.push(registered[className] + ";");
13298
- } else {
13299
- rawClassName += className + " ";
13300
- }
13301
- });
13302
- return rawClassName;
13303
- }
13304
- var registerStyles3 = function registerStyles4(cache, serialized, isStringTag) {
13305
- var className = cache.key + "-" + serialized.name;
13306
- if (
13307
- // we only need to add the styles to the registered cache if the
13308
- // class name could be used further down
13309
- // the tree but if it's a string tag, we know it won't
13310
- // so we don't have to add it to registered cache.
13311
- // this improves memory usage since we can avoid storing the whole style string
13312
- (isStringTag === false || // we need to always store it if we're in compat mode and
13313
- // in node since emotion-server relies on whether a style is in
13314
- // the registered cache to know whether a style is global or not
13315
- // also, note that this check will be dead code eliminated in the browser
13316
- isBrowser2 === false) && cache.registered[className] === void 0
13317
- ) {
13318
- cache.registered[className] = serialized.styles;
13319
- }
13320
- };
13321
- var insertStyles3 = function insertStyles4(cache, serialized, isStringTag) {
13322
- registerStyles3(cache, serialized, isStringTag);
13323
- var className = cache.key + "-" + serialized.name;
13324
- if (cache.inserted[serialized.name] === void 0) {
13325
- var current = serialized;
13326
- do {
13327
- cache.insert(serialized === current ? "." + className : "", current, cache.sheet, true);
13328
- current = current.next;
13329
- } while (current !== void 0);
13330
- }
13331
- };
13332
-
13333
- // Field/node_modules/@emotion/css/create-instance/dist/emotion-css-create-instance.esm.js
13334
- function insertWithoutScoping2(cache, serialized) {
13335
- if (cache.inserted[serialized.name] === void 0) {
13336
- return cache.insert("", serialized, cache.sheet, true);
13337
- }
13338
- }
13339
- function merge4(registered, css, className) {
13340
- var registeredStyles = [];
13341
- var rawClassName = getRegisteredStyles2(registered, registeredStyles, className);
13342
- if (registeredStyles.length < 2) {
13343
- return className;
13344
- }
13345
- return rawClassName + css(registeredStyles);
13346
- }
13347
- var createEmotion4 = function createEmotion5(options) {
13348
- var cache = createCache(options);
13349
- cache.sheet.speedy = function(value) {
13350
- if (this.ctr !== 0) {
13351
- throw new Error("speedy must be changed before any rules are inserted");
13352
- }
13353
- this.isSpeedy = value;
13354
- };
13355
- cache.compat = true;
13356
- var css = function css2() {
13357
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
13358
- args[_key] = arguments[_key];
13359
- }
13360
- var serialized = serializeStyles3(args, cache.registered, void 0);
13361
- insertStyles3(cache, serialized, false);
13362
- return cache.key + "-" + serialized.name;
13363
- };
13364
- var keyframes3 = function keyframes4() {
13365
- for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
13366
- args[_key2] = arguments[_key2];
13367
- }
13368
- var serialized = serializeStyles3(args, cache.registered);
13369
- var animation = "animation-" + serialized.name;
13370
- insertWithoutScoping2(cache, {
13371
- name: serialized.name,
13372
- styles: "@keyframes " + animation + "{" + serialized.styles + "}"
13373
- });
13374
- return animation;
13375
- };
13376
- var injectGlobal = function injectGlobal2() {
13377
- for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
13378
- args[_key3] = arguments[_key3];
13379
- }
13380
- var serialized = serializeStyles3(args, cache.registered);
13381
- insertWithoutScoping2(cache, serialized);
13382
- };
13383
- var cx = function cx2() {
13384
- for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
13385
- args[_key4] = arguments[_key4];
13386
- }
13387
- return merge4(cache.registered, css, classnames3(args));
13388
- };
13389
- return {
13390
- css,
13391
- cx,
13392
- injectGlobal,
13393
- keyframes: keyframes3,
13394
- hydrate: function hydrate(ids) {
13395
- ids.forEach(function(key) {
13396
- cache.inserted[key] = true;
13397
- });
13398
- },
13399
- flush: function flush() {
13400
- cache.registered = {};
13401
- cache.inserted = {};
13402
- cache.sheet.flush();
13403
- },
13404
- // $FlowFixMe
13405
- sheet: cache.sheet,
13406
- cache,
13407
- getRegisteredStyles: getRegisteredStyles2.bind(null, cache.registered),
13408
- merge: merge4.bind(null, cache.registered, css)
13409
- };
13410
- };
13411
- var classnames3 = function classnames4(args) {
13412
- var cls = "";
13413
- for (var i = 0; i < args.length; i++) {
13414
- var arg = args[i];
13415
- if (arg == null)
13416
- continue;
13417
- var toAdd = void 0;
13418
- switch (typeof arg) {
13419
- case "boolean":
13420
- break;
13421
- case "object": {
13422
- if (Array.isArray(arg)) {
13423
- toAdd = classnames4(arg);
13424
- } else {
13425
- toAdd = "";
13426
- for (var k in arg) {
13427
- if (arg[k] && k) {
13428
- toAdd && (toAdd += " ");
13429
- toAdd += k;
13430
- }
13431
- }
13432
- }
13433
- break;
13434
- }
13435
- default: {
13436
- toAdd = arg;
13437
- }
13438
- }
13439
- if (toAdd) {
13440
- cls && (cls += " ");
13441
- cls += toAdd;
13442
- }
13443
- }
13444
- return cls;
13445
- };
13446
-
13447
- // Field/node_modules/@symbo.ls/emotion/index.js
13448
- var createEmotion6 = (key = "smbls", container) => {
13449
- const cleanKey = key.replaceAll(/\./g, "-");
13450
- return createEmotion4({ key: cleanKey, container });
13451
- };
13452
- var emotion2 = createEmotion6();
13453
-
13454
- // Field/node_modules/@symbo.ls/atoms/Animation.js
13455
- var { keyframes: keyframes2 } = emotion2;
13456
-
13457
- // Field/index.js
13458
- var Field = {
13459
- extend: [IconText],
13460
- props: ({ state, key }) => ({
13461
- value: state[key],
13462
- depth: 16,
13463
- placeholder: "",
13464
- padding: "A B",
13465
- round: "C",
13466
- type: "text",
13467
- position: "relative",
13468
- width: "G",
13469
- appearance: "none",
13470
- outline: 0,
13471
- border: "none",
13472
- cursor: "pointer",
13473
- fontFamily: "inherit",
13474
- boxSizing: "border-box",
13475
- input: {
13476
- width: "100%",
13477
- height: "100%",
13478
- border: "none"
13479
- },
13480
- svg: {
13481
- position: "absolute",
13482
- right: "A"
13483
- }
13484
- }),
13485
- input: { extend: [Focusable2, Input2] }
13486
- };
13487
-
13488
- // Video/index.js
13489
- var Video = {
13490
- tag: "video",
13491
- childExtend: {
13492
- tag: "source",
13493
- attr: {
13494
- src: ({ props: props6 }) => props6.src,
13495
- controls: ({ props: props6 }) => props6.controls
13496
- }
13497
- },
13498
- props: {
13499
- controls: true
13500
- },
13501
- attr: {
13502
- src: ({ props: props6 }) => props6.src,
13503
- autoplay: ({ props: props6 }) => props6.autoplay,
13504
- loop: ({ props: props6 }) => props6.loop,
13505
- poster: ({ props: props6 }) => props6.poster,
13506
- muted: ({ props: props6 }) => props6.muted,
13507
- preload: ({ props: props6 }) => props6.preload,
13508
- controls: ({ props: props6 }) => props6.controls
13509
- }
13510
- };
13511
-
13512
- // Range/index.js
13513
- var import_utils11 = __toESM(require_cjs5());
13514
- var import_scratch19 = __toESM(require_cjs());
13515
- var props4 = {
13516
- appearance: "none",
13517
- width: "100%",
13518
- height: "2px",
13519
- outline: "none",
12883
+ // node_modules/@symbo.ls/range/index.js
12884
+ var import_utils6 = __toESM(require_cjs5());
12885
+ var import_scratch10 = __toESM(require_cjs());
12886
+ var props4 = {
12887
+ appearance: "none",
12888
+ width: "100%",
12889
+ height: "2px",
12890
+ outline: "none",
13520
12891
  flex: 1,
13521
12892
  onInput: (ev, el, s) => s.update({ value: el.node.value }),
13522
12893
  onChange: (ev, el, s) => s.update({ value: el.node.value }),
@@ -13540,11 +12911,11 @@ var props4 = {
13540
12911
  background: "white 0.2",
13541
12912
  "::-webkit-slider-thumb": {
13542
12913
  background: "#232526",
13543
- borderColor: (0, import_scratch19.opacify)("#454646", 0.75)
12914
+ borderColor: (0, import_scratch10.opacify)("#454646", 0.75)
13544
12915
  },
13545
12916
  ":hover": {
13546
12917
  "::-webkit-slider-thumb": {
13547
- borderColor: (0, import_scratch19.opacify)("#fff", 0.35)
12918
+ borderColor: (0, import_scratch10.opacify)("#fff", 0.35)
13548
12919
  }
13549
12920
  },
13550
12921
  ":focus": {
@@ -13578,7 +12949,7 @@ var Range = {
13578
12949
  };
13579
12950
  var listenProp = (el, prop, def) => {
13580
12951
  const val = el.props && el.props[prop];
13581
- const r = (0, import_utils11.isFunction)(val) ? val(el, el.state) : val !== void 0 ? val : def !== void 0 ? def : 50;
12952
+ const r = (0, import_utils6.isFunction)(val) ? val(el, el.state) : val !== void 0 ? val : def !== void 0 ? def : 50;
13582
12953
  return r + "";
13583
12954
  };
13584
12955
  var RangeWithButtons = {
@@ -13587,7 +12958,7 @@ var RangeWithButtons = {
13587
12958
  props: { theme: "tertiary", icon: "minus" },
13588
12959
  on: {
13589
12960
  click: (ev, el, s) => {
13590
- el.props && (0, import_utils11.isFunction)(el.props.onClick) && el.props.onClick(ev, el, s);
12961
+ el.props && (0, import_utils6.isFunction)(el.props.onClick) && el.props.onClick(ev, el, s);
13591
12962
  }
13592
12963
  }
13593
12964
  },
@@ -13608,8 +12979,8 @@ var RangeWithButtons = {
13608
12979
  step: (el, s) => listenProp(el, "step", 1)
13609
12980
  },
13610
12981
  on: {
13611
- input: (ev, el, s) => el.props && (0, import_utils11.isFunction)(el.props.onInput) && el.props.onInput(ev, el, s),
13612
- change: (ev, el, s) => el.props && (0, import_utils11.isFunction)(el.props.onChange) && el.props.onChange(ev, el, s)
12982
+ input: (ev, el, s) => el.props && (0, import_utils6.isFunction)(el.props.onInput) && el.props.onInput(ev, el, s),
12983
+ change: (ev, el, s) => el.props && (0, import_utils6.isFunction)(el.props.onChange) && el.props.onChange(ev, el, s)
13613
12984
  }
13614
12985
  },
13615
12986
  plus: {
@@ -13617,13 +12988,13 @@ var RangeWithButtons = {
13617
12988
  props: { theme: "tertiary", icon: "plus" },
13618
12989
  on: {
13619
12990
  click: (ev, el, s) => {
13620
- el.props && (0, import_utils11.isFunction)(el.props.onClick) && el.props.onClick(ev, el, s);
12991
+ el.props && (0, import_utils6.isFunction)(el.props.onClick) && el.props.onClick(ev, el, s);
13621
12992
  }
13622
12993
  }
13623
12994
  }
13624
12995
  };
13625
12996
 
13626
- // Slider/style.js
12997
+ // node_modules/@symbo.ls/slider/style.js
13627
12998
  var style_default = {
13628
12999
  appearance: "none",
13629
13000
  width: "100%",
@@ -13642,20 +13013,20 @@ var style_default = {
13642
13013
  }
13643
13014
  };
13644
13015
 
13645
- // Slider/index.js
13646
- var import_scratch20 = __toESM(require_cjs());
13647
- var import_utils12 = __toESM(require_cjs5());
13648
- (0, import_scratch20.set)({
13016
+ // node_modules/@symbo.ls/slider/index.js
13017
+ var import_scratch11 = __toESM(require_cjs());
13018
+ var import_utils7 = __toESM(require_cjs5());
13019
+ (0, import_scratch11.set)({
13649
13020
  theme: {
13650
13021
  sliderThumb: {
13651
13022
  background: "white 0.2",
13652
13023
  "&::-webkit-slider-thumb": {
13653
13024
  background: "#232526",
13654
- borderColor: (0, import_scratch20.opacify)("#454646", 0.75)
13025
+ borderColor: (0, import_scratch11.opacify)("#454646", 0.75)
13655
13026
  },
13656
13027
  "&:hover": {
13657
13028
  "&::-webkit-slider-thumb": {
13658
- borderColor: (0, import_scratch20.opacify)("#fff", 0.35)
13029
+ borderColor: (0, import_scratch11.opacify)("#fff", 0.35)
13659
13030
  }
13660
13031
  },
13661
13032
  "&:focus, &:active": {
@@ -13676,7 +13047,7 @@ var RangeSlider = {
13676
13047
  };
13677
13048
  var listenProp2 = (el, prop, def) => {
13678
13049
  const val = el && el.props && el.props[prop];
13679
- const r = ((0, import_utils12.isFunction)(val) ? val() : val) || (def !== void 0 ? def : 50);
13050
+ const r = ((0, import_utils7.isFunction)(val) ? val() : val) || (def !== void 0 ? def : 50);
13680
13051
  return r;
13681
13052
  };
13682
13053
  var Slider = {
@@ -13687,10 +13058,10 @@ var Slider = {
13687
13058
  },
13688
13059
  on: {
13689
13060
  click: (ev, el, s) => {
13690
- el.props && (0, import_utils12.isFunction)(el.props.click) && el.props.click(ev, el, s);
13061
+ el.props && (0, import_utils7.isFunction)(el.props.click) && el.props.click(ev, el, s);
13691
13062
  const input = el.parent.input;
13692
13063
  const props6 = input.props;
13693
- const value = (0, import_utils12.isFunction)(props6.value) ? props6.value() : props6.value;
13064
+ const value = (0, import_utils7.isFunction)(props6.value) ? props6.value() : props6.value;
13694
13065
  input.node.value = value;
13695
13066
  }
13696
13067
  }
@@ -13713,8 +13084,8 @@ var Slider = {
13713
13084
  step: (el, s) => listenProp2(el, "step", 1)
13714
13085
  },
13715
13086
  on: {
13716
- input: (ev, el, s) => el.props && (0, import_utils12.isFunction)(el.props.input) && el.props.input(ev, el, s),
13717
- change: (ev, el, s) => el.props && (0, import_utils12.isFunction)(el.props.change) && el.props.change(ev, el, s)
13087
+ input: (ev, el, s) => el.props && (0, import_utils7.isFunction)(el.props.input) && el.props.input(ev, el, s),
13088
+ change: (ev, el, s) => el.props && (0, import_utils7.isFunction)(el.props.change) && el.props.change(ev, el, s)
13718
13089
  }
13719
13090
  },
13720
13091
  button1: {
@@ -13724,17 +13095,17 @@ var Slider = {
13724
13095
  },
13725
13096
  on: {
13726
13097
  click: (ev, el, s) => {
13727
- el.props && (0, import_utils12.isFunction)(el.props.click) && el.props.click(ev, el, s);
13098
+ el.props && (0, import_utils7.isFunction)(el.props.click) && el.props.click(ev, el, s);
13728
13099
  const input = el.parent.input;
13729
13100
  const props6 = input.props;
13730
- const value = (0, import_utils12.isFunction)(props6.value) ? props6.value() : props6.value;
13101
+ const value = (0, import_utils7.isFunction)(props6.value) ? props6.value() : props6.value;
13731
13102
  input.node.value = value;
13732
13103
  }
13733
13104
  }
13734
13105
  }
13735
13106
  };
13736
13107
 
13737
- // Notification/index.js
13108
+ // node_modules/@symbo.ls/notification/index.js
13738
13109
  var Notification = {
13739
13110
  extend: Flex,
13740
13111
  props: {
@@ -13773,7 +13144,7 @@ var Notification = {
13773
13144
  }
13774
13145
  };
13775
13146
 
13776
- // Tooltip/index.js
13147
+ // node_modules/@symbo.ls/tooltip/index.js
13777
13148
  var Tooltip = {
13778
13149
  extend: Flex,
13779
13150
  props: {
@@ -13821,7 +13192,7 @@ var TooltipParent = {
13821
13192
  }
13822
13193
  };
13823
13194
 
13824
- // Textarea/index.js
13195
+ // node_modules/@symbo.ls/textarea/index.js
13825
13196
  var Textarea = {
13826
13197
  extend: [Input2],
13827
13198
  tag: "textarea",
@@ -13834,7 +13205,7 @@ var Textarea = {
13834
13205
  }
13835
13206
  };
13836
13207
 
13837
- // Upload/UploadResult.js
13208
+ // node_modules/@symbo.ls/upload/UploadResult.js
13838
13209
  var Captions = {
13839
13210
  extend: Flex,
13840
13211
  props: {
@@ -13899,7 +13270,7 @@ var UploadResult = {
13899
13270
  }
13900
13271
  };
13901
13272
 
13902
- // Upload/UploadLabel.js
13273
+ // node_modules/@symbo.ls/upload/UploadLabel.js
13903
13274
  var UploadLabel = {
13904
13275
  extend: [Focusable, Flex],
13905
13276
  tag: "label",
@@ -13944,7 +13315,7 @@ var UploadLabel = {
13944
13315
  }
13945
13316
  };
13946
13317
 
13947
- // Upload/UploadModal.js
13318
+ // node_modules/@symbo.ls/upload/UploadModal.js
13948
13319
  var UploadModalFooter = {
13949
13320
  extend: Flex,
13950
13321
  props: {
@@ -14074,7 +13445,7 @@ var UploadModal = {
14074
13445
  UploadModalFooter: {}
14075
13446
  };
14076
13447
 
14077
- // Upload/UploadProgress.js
13448
+ // node_modules/@symbo.ls/upload/UploadProgress.js
14078
13449
  var UploadProgress = {
14079
13450
  tag: "progress",
14080
13451
  props: {
@@ -14099,7 +13470,7 @@ var UploadProgress = {
14099
13470
  }
14100
13471
  };
14101
13472
 
14102
- // Label/index.js
13473
+ // node_modules/@symbo.ls/label/index.js
14103
13474
  var Label = {
14104
13475
  extend: Button,
14105
13476
  props: {
@@ -14118,7 +13489,7 @@ var Label = {
14118
13489
  }
14119
13490
  };
14120
13491
 
14121
- // Pills/index.js
13492
+ // node_modules/@symbo.ls/pills/index.js
14122
13493
  var Pills = {
14123
13494
  extend: Flex,
14124
13495
  props: {
@@ -14145,7 +13516,7 @@ var Pills = {
14145
13516
  $setCollection: ({ props: props6, state }) => new Array(props6.qty).fill({})
14146
13517
  };
14147
13518
 
14148
- // Select/index.js
13519
+ // node_modules/@symbo.ls/select/index.js
14149
13520
  var Select = {
14150
13521
  extend: Focusable,
14151
13522
  tag: "select",
@@ -14176,7 +13547,7 @@ var Select = {
14176
13547
  }
14177
13548
  };
14178
13549
 
14179
- // Tab/index.js
13550
+ // node_modules/@symbo.ls/tab/index.js
14180
13551
  var props5 = {
14181
13552
  gap: "Z",
14182
13553
  theme: "tertiary",
@@ -14207,7 +13578,7 @@ var Tab = {
14207
13578
  }
14208
13579
  };
14209
13580
 
14210
- // Search/index.js
13581
+ // node_modules/@symbo.ls/search/index.js
14211
13582
  var Search = {
14212
13583
  extend: Flex,
14213
13584
  props: {