@symbo.ls/uikit 2.11.146 → 2.11.147

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
@@ -1387,7 +1387,7 @@ var require_cjs = __commonJS({
1387
1387
  setVariables: () => setVariables
1388
1388
  });
1389
1389
  var import_globals = __toESM2(require_cjs7(), 1);
1390
- var import_utils15 = __toESM2(require_cjs22(), 1);
1390
+ var import_utils14 = __toESM2(require_cjs22(), 1);
1391
1391
  var ENV = "development";
1392
1392
  var colorStringToRgbaArray = (color) => {
1393
1393
  if (color === "")
@@ -1515,9 +1515,9 @@ var require_cjs = __commonJS({
1515
1515
  return `rgba(${arr})`;
1516
1516
  };
1517
1517
  var getRgbTone = (rgb, tone) => {
1518
- if ((0, import_utils15.isString)(rgb))
1518
+ if ((0, import_utils14.isString)(rgb))
1519
1519
  rgb = rgb.split(", ").map((v) => parseFloat(v));
1520
- if ((0, import_utils15.isNumber)(tone))
1520
+ if ((0, import_utils14.isNumber)(tone))
1521
1521
  tone += "";
1522
1522
  const toHex = rgbArrayToHex(rgb);
1523
1523
  const abs2 = tone.slice(0, 1);
@@ -2451,7 +2451,7 @@ var require_cjs = __commonJS({
2451
2451
  const str = `${value.join(", ")}, ${FONT_FAMILY_TYPES2[type]}`;
2452
2452
  return { var: CSSvar, value: str, arr: value, type };
2453
2453
  };
2454
- var import_utils152 = __toESM2(require_cjs22(), 1);
2454
+ var import_utils15 = __toESM2(require_cjs22(), 1);
2455
2455
  var runThroughMedia = (props6) => {
2456
2456
  const CONFIG22 = getActiveConfig3();
2457
2457
  const { TYPOGRAPHY: TYPOGRAPHY2, MEDIA: MEDIA2 } = CONFIG22;
@@ -2459,7 +2459,7 @@ var require_cjs = __commonJS({
2459
2459
  const mediaProps = props6[prop];
2460
2460
  if (prop.slice(0, 1) === "@") {
2461
2461
  const { type, base, ratio, range, subSequence, h1Matches, unit } = props6;
2462
- (0, import_utils152.merge)(mediaProps, {
2462
+ (0, import_utils15.merge)(mediaProps, {
2463
2463
  type,
2464
2464
  base,
2465
2465
  ratio,
@@ -3159,14 +3159,14 @@ var require_types = __commonJS({
3159
3159
  isNot: () => isNot3,
3160
3160
  isNull: () => isNull,
3161
3161
  isNumber: () => isNumber,
3162
- isObject: () => isObject6,
3162
+ isObject: () => isObject5,
3163
3163
  isObjectLike: () => isObjectLike3,
3164
3164
  isString: () => isString7,
3165
3165
  isUndefined: () => isUndefined
3166
3166
  });
3167
3167
  module2.exports = __toCommonJS2(types_exports);
3168
3168
  var import_node = require_node();
3169
- var isObject6 = (arg) => {
3169
+ var isObject5 = (arg) => {
3170
3170
  if (arg === null)
3171
3171
  return false;
3172
3172
  return typeof arg === "object" && arg.constructor === Object;
@@ -3183,7 +3183,7 @@ var require_types = __commonJS({
3183
3183
  return typeof arg === "object";
3184
3184
  };
3185
3185
  var isDefined = (arg) => {
3186
- return isObject6(arg) || isObjectLike3(arg) || isString7(arg) || isNumber(arg) || isFunction3(arg) || isArray5(arg) || isObjectLike3(arg) || isBoolean(arg) || isNull(arg);
3186
+ return isObject5(arg) || isObjectLike3(arg) || isString7(arg) || isNumber(arg) || isFunction3(arg) || isArray5(arg) || isObjectLike3(arg) || isBoolean(arg) || isNull(arg);
3187
3187
  };
3188
3188
  var isUndefined = (arg) => {
3189
3189
  return arg === void 0;
@@ -3191,7 +3191,7 @@ var require_types = __commonJS({
3191
3191
  var TYPES = {
3192
3192
  boolean: isBoolean,
3193
3193
  array: isArray5,
3194
- object: isObject6,
3194
+ object: isObject5,
3195
3195
  string: isString7,
3196
3196
  number: isNumber,
3197
3197
  null: isNull,
@@ -4221,12 +4221,12 @@ var require_on = __commonJS({
4221
4221
  triggerEventOnUpdate: () => triggerEventOnUpdate
4222
4222
  });
4223
4223
  module2.exports = __toCommonJS2(on_exports);
4224
- var import_utils15 = require_cjs2();
4224
+ var import_utils14 = require_cjs2();
4225
4225
  var applyEvent = (param, element, state, context, options) => {
4226
4226
  return param(element, state || element.state, context || element.context, options);
4227
4227
  };
4228
4228
  var triggerEventOn = (param, element, options) => {
4229
- if (element.on && (0, import_utils15.isFunction)(element.on[param])) {
4229
+ if (element.on && (0, import_utils14.isFunction)(element.on[param])) {
4230
4230
  const { state, context } = element;
4231
4231
  return applyEvent(element.on[param], element, state, context, options);
4232
4232
  }
@@ -4235,7 +4235,7 @@ var require_on = __commonJS({
4235
4235
  return param(updatedObj, element, state || element.state, context || element.context, options);
4236
4236
  };
4237
4237
  var triggerEventOnUpdate = (param, updatedObj, element, options) => {
4238
- if (element.on && (0, import_utils15.isFunction)(element.on[param])) {
4238
+ if (element.on && (0, import_utils14.isFunction)(element.on[param])) {
4239
4239
  const { state, context } = element;
4240
4240
  return applyEventUpdate(element.on[param], updatedObj, element, state, context, options);
4241
4241
  }
@@ -4246,7 +4246,7 @@ var require_on = __commonJS({
4246
4246
  if (param === "init" || param === "beforeClassAssign" || param === "render" || param === "renderRouter" || param === "attachNode" || param === "stateInit" || param === "stateCreated" || param === "initStateUpdated" || param === "stateUpdated" || param === "initUpdate" || param === "update")
4247
4247
  continue;
4248
4248
  const appliedFunction = element.on[param];
4249
- if ((0, import_utils15.isFunction)(appliedFunction)) {
4249
+ if ((0, import_utils14.isFunction)(appliedFunction)) {
4250
4250
  const { state, context } = element;
4251
4251
  node2.addEventListener(param, (event) => appliedFunction(event, element, state, context));
4252
4252
  }
@@ -4379,10 +4379,10 @@ var require_can = __commonJS({
4379
4379
  });
4380
4380
  module2.exports = __toCommonJS2(can_exports);
4381
4381
  var import_report = require_cjs3();
4382
- var import_utils15 = require_cjs2();
4382
+ var import_utils14 = require_cjs2();
4383
4383
  var canRender = (element) => {
4384
4384
  const tag = element.tag || "div";
4385
- return (0, import_utils15.isValidHtmlTag)(tag) || (0, import_report.report)("HTMLInvalidTag");
4385
+ return (0, import_utils14.isValidHtmlTag)(tag) || (0, import_report.report)("HTMLInvalidTag");
4386
4386
  };
4387
4387
  }
4388
4388
  });
@@ -4447,11 +4447,11 @@ var require_methods = __commonJS({
4447
4447
  toggle: () => toggle
4448
4448
  });
4449
4449
  module2.exports = __toCommonJS2(methods_exports);
4450
- var import_utils15 = require_cjs2();
4450
+ var import_utils14 = require_cjs2();
4451
4451
  var import_ignore = require_ignore();
4452
4452
  var parse2 = function() {
4453
4453
  const state = this;
4454
- if ((0, import_utils15.isObject)(state)) {
4454
+ if ((0, import_utils14.isObject)(state)) {
4455
4455
  const obj = {};
4456
4456
  for (const param in state) {
4457
4457
  if (!import_ignore.IGNORE_STATE_PARAMS.includes(param)) {
@@ -4459,7 +4459,7 @@ var require_methods = __commonJS({
4459
4459
  }
4460
4460
  }
4461
4461
  return obj;
4462
- } else if ((0, import_utils15.isArray)(state)) {
4462
+ } else if ((0, import_utils14.isArray)(state)) {
4463
4463
  return state.filter((item) => !import_ignore.IGNORE_STATE_PARAMS.includes(item));
4464
4464
  }
4465
4465
  };
@@ -4479,7 +4479,7 @@ var require_methods = __commonJS({
4479
4479
  const state = this;
4480
4480
  const element = state.__element;
4481
4481
  const stateKey = element.__ref.__state;
4482
- if ((0, import_utils15.isString)(stateKey)) {
4482
+ if ((0, import_utils14.isString)(stateKey)) {
4483
4483
  element.parent.state.remove(stateKey, { isHoisted: true, ...options });
4484
4484
  return element.state;
4485
4485
  }
@@ -4514,10 +4514,10 @@ var require_methods = __commonJS({
4514
4514
  };
4515
4515
  var add = function(value, options = {}) {
4516
4516
  const state = this;
4517
- if ((0, import_utils15.isArray)(state)) {
4517
+ if ((0, import_utils14.isArray)(state)) {
4518
4518
  state.push(value);
4519
4519
  state.update(state.parse(), { overwrite: "replace", ...options });
4520
- } else if ((0, import_utils15.isObject)(state)) {
4520
+ } else if ((0, import_utils14.isObject)(state)) {
4521
4521
  const key = Object.keys(state).length;
4522
4522
  state.update({ [key]: value }, options);
4523
4523
  }
@@ -4528,10 +4528,10 @@ var require_methods = __commonJS({
4528
4528
  };
4529
4529
  var remove = function(key, options = {}) {
4530
4530
  const state = this;
4531
- if ((0, import_utils15.isArray)(state))
4532
- (0, import_utils15.removeFromArray)(state, key);
4533
- if ((0, import_utils15.isObject)(state))
4534
- (0, import_utils15.removeFromObject)(state, key);
4531
+ if ((0, import_utils14.isArray)(state))
4532
+ (0, import_utils14.removeFromArray)(state, key);
4533
+ if ((0, import_utils14.isObject)(state))
4534
+ (0, import_utils14.removeFromObject)(state, key);
4535
4535
  return state.update(state.parse(), { replace: true, ...options });
4536
4536
  };
4537
4537
  var set2 = function(value, options = {}) {
@@ -4540,7 +4540,7 @@ var require_methods = __commonJS({
4540
4540
  };
4541
4541
  var apply = function(func, options = {}) {
4542
4542
  const state = this;
4543
- if ((0, import_utils15.isFunction)(func)) {
4543
+ if ((0, import_utils14.isFunction)(func)) {
4544
4544
  func(state);
4545
4545
  return state.update(state, { replace: true, ...options });
4546
4546
  }
@@ -4580,7 +4580,7 @@ var require_inherit = __commonJS({
4580
4580
  isState: () => isState3
4581
4581
  });
4582
4582
  module2.exports = __toCommonJS2(inherit_exports);
4583
- var import_utils15 = require_cjs2();
4583
+ var import_utils14 = require_cjs2();
4584
4584
  var import_ignore = require_ignore();
4585
4585
  var getParentStateInKey = (stateKey, parentState) => {
4586
4586
  if (!stateKey.includes("../"))
@@ -4634,9 +4634,9 @@ var require_inherit = __commonJS({
4634
4634
  const inheritedState = findInheritedState(element, parent);
4635
4635
  if (!inheritedState)
4636
4636
  return element.state;
4637
- if ((0, import_utils15.is)(inheritedState)("object", "array")) {
4638
- return (0, import_utils15.deepClone)(inheritedState, import_ignore.IGNORE_STATE_PARAMS);
4639
- } else if ((0, import_utils15.is)(inheritedState)("string", "number")) {
4637
+ if ((0, import_utils14.is)(inheritedState)("object", "array")) {
4638
+ return (0, import_utils14.deepClone)(inheritedState, import_ignore.IGNORE_STATE_PARAMS);
4639
+ } else if ((0, import_utils14.is)(inheritedState)("string", "number")) {
4640
4640
  ref.__stateType = "string";
4641
4641
  return { value: inheritedState };
4642
4642
  }
@@ -4645,12 +4645,12 @@ var require_inherit = __commonJS({
4645
4645
  var checkIfInherits = (element) => {
4646
4646
  const ref = element.__ref;
4647
4647
  const stateKey = ref.__state;
4648
- if (!stateKey || (0, import_utils15.isNot)(stateKey)("number", "string"))
4648
+ if (!stateKey || (0, import_utils14.isNot)(stateKey)("number", "string"))
4649
4649
  return false;
4650
4650
  return true;
4651
4651
  };
4652
4652
  var isState3 = function(state) {
4653
- if (!(0, import_utils15.isObjectLike)(state))
4653
+ if (!(0, import_utils14.isObjectLike)(state))
4654
4654
  return false;
4655
4655
  return state.update && state.parse && state.clean && state.create && state.parent && state.destroy && state.rootUpdate && state.parentUpdate && state.toggle && state.add && state.apply && state.__element && state.__children;
4656
4656
  };
@@ -4699,7 +4699,7 @@ var require_updateState = __commonJS({
4699
4699
  var import_report = require_cjs3();
4700
4700
  var import_event = require_cjs4();
4701
4701
  var import_ignore = require_ignore();
4702
- var import_utils15 = require_cjs2();
4702
+ var import_utils14 = require_cjs2();
4703
4703
  var import_inherit = require_inherit();
4704
4704
  var STATE_UPDATE_OPTIONS = {
4705
4705
  overwrite: true,
@@ -4713,7 +4713,7 @@ var require_updateState = __commonJS({
4713
4713
  const state = this;
4714
4714
  const element = state.__element;
4715
4715
  if (!options.updateByState)
4716
- (0, import_utils15.merge)(options, STATE_UPDATE_OPTIONS);
4716
+ (0, import_utils14.merge)(options, STATE_UPDATE_OPTIONS);
4717
4717
  if (!state.__element)
4718
4718
  (0, import_report.report)("ElementOnStateIsNotDefined");
4719
4719
  if (options.preventInheritAtCurrentState === true) {
@@ -4743,10 +4743,10 @@ var require_updateState = __commonJS({
4743
4743
  const shallow = overwrite === "shallow";
4744
4744
  const merge22 = overwrite === "merge";
4745
4745
  if (merge22) {
4746
- (0, import_utils15.deepMerge)(state, obj, import_ignore.IGNORE_STATE_PARAMS);
4746
+ (0, import_utils14.deepMerge)(state, obj, import_ignore.IGNORE_STATE_PARAMS);
4747
4747
  return;
4748
4748
  }
4749
- const overwriteFunc = shallow ? import_utils15.overwriteShallow : import_utils15.overwriteDeep;
4749
+ const overwriteFunc = shallow ? import_utils14.overwriteShallow : import_utils14.overwriteDeep;
4750
4750
  overwriteFunc(state, obj, import_ignore.IGNORE_STATE_PARAMS);
4751
4751
  };
4752
4752
  var hoistStateUpdate = (state, obj, options) => {
@@ -4837,7 +4837,7 @@ var require_create = __commonJS({
4837
4837
  });
4838
4838
  module2.exports = __toCommonJS2(create_exports);
4839
4839
  var import_event = require_cjs4();
4840
- var import_utils15 = require_cjs2();
4840
+ var import_utils14 = require_cjs2();
4841
4841
  var import_ignore = require_ignore();
4842
4842
  var import_methods = require_methods();
4843
4843
  var import_updateState = require_updateState();
@@ -4851,7 +4851,7 @@ var require_create = __commonJS({
4851
4851
  if (objectizeState === false)
4852
4852
  return parent.state || {};
4853
4853
  else
4854
- element.state = (0, import_utils15.deepClone)(objectizeState, import_ignore.IGNORE_STATE_PARAMS);
4854
+ element.state = (0, import_utils14.deepClone)(objectizeState, import_ignore.IGNORE_STATE_PARAMS);
4855
4855
  const whatInitReturns = (0, import_event.triggerEventOn)("stateInit", element, options);
4856
4856
  if (whatInitReturns === false)
4857
4857
  return element.state;
@@ -4870,17 +4870,17 @@ var require_create = __commonJS({
4870
4870
  const { __ref: ref } = state;
4871
4871
  if (!ref)
4872
4872
  return;
4873
- const dependentState = (0, import_utils15.deepClone)(ref, import_ignore.IGNORE_STATE_PARAMS);
4873
+ const dependentState = (0, import_utils14.deepClone)(ref, import_ignore.IGNORE_STATE_PARAMS);
4874
4874
  const newDepends = { [element.key]: dependentState };
4875
- ref.__depends = (0, import_utils15.isObject)(ref.__depends) ? { ...ref.__depends, ...newDepends } : newDepends;
4875
+ ref.__depends = (0, import_utils14.isObject)(ref.__depends) ? { ...ref.__depends, ...newDepends } : newDepends;
4876
4876
  return dependentState;
4877
4877
  };
4878
4878
  var checkForTypes = (element) => {
4879
4879
  const { state, __ref: ref } = element;
4880
- if ((0, import_utils15.isFunction)(state)) {
4880
+ if ((0, import_utils14.isFunction)(state)) {
4881
4881
  ref.__state = state;
4882
- return (0, import_utils15.exec)(state, element);
4883
- } else if ((0, import_utils15.is)(state)("string", "number")) {
4882
+ return (0, import_utils14.exec)(state, element);
4883
+ } else if ((0, import_utils14.is)(state)("string", "number")) {
4884
4884
  ref.__state = state;
4885
4885
  return {};
4886
4886
  } else if (state === true) {
@@ -4927,7 +4927,7 @@ var require_create = __commonJS({
4927
4927
  __children: {},
4928
4928
  __root: ref.__root ? ref.__root.state : state
4929
4929
  };
4930
- if ((0, import_utils15.isArray)(state)) {
4930
+ if ((0, import_utils14.isArray)(state)) {
4931
4931
  addProtoToArray(state, proto);
4932
4932
  } else {
4933
4933
  Object.setPrototypeOf(state, proto);
@@ -4984,7 +4984,7 @@ var require_moment = __commonJS({
4984
4984
  function isArray5(input) {
4985
4985
  return input instanceof Array || Object.prototype.toString.call(input) === "[object Array]";
4986
4986
  }
4987
- function isObject6(input) {
4987
+ function isObject5(input) {
4988
4988
  return input != null && Object.prototype.toString.call(input) === "[object Object]";
4989
4989
  }
4990
4990
  function hasOwnProp(a, b) {
@@ -5232,7 +5232,7 @@ var require_moment = __commonJS({
5232
5232
  var res = extend({}, parentConfig), prop;
5233
5233
  for (prop in childConfig) {
5234
5234
  if (hasOwnProp(childConfig, prop)) {
5235
- if (isObject6(parentConfig[prop]) && isObject6(childConfig[prop])) {
5235
+ if (isObject5(parentConfig[prop]) && isObject5(childConfig[prop])) {
5236
5236
  res[prop] = {};
5237
5237
  extend(res[prop], parentConfig[prop]);
5238
5238
  extend(res[prop], childConfig[prop]);
@@ -5244,7 +5244,7 @@ var require_moment = __commonJS({
5244
5244
  }
5245
5245
  }
5246
5246
  for (prop in parentConfig) {
5247
- if (hasOwnProp(parentConfig, prop) && !hasOwnProp(childConfig, prop) && isObject6(parentConfig[prop])) {
5247
+ if (hasOwnProp(parentConfig, prop) && !hasOwnProp(childConfig, prop) && isObject5(parentConfig[prop])) {
5248
5248
  res[prop] = extend({}, res[prop]);
5249
5249
  }
5250
5250
  }
@@ -7027,7 +7027,7 @@ var require_moment = __commonJS({
7027
7027
  return parseInt(obj, 10);
7028
7028
  });
7029
7029
  configFromArray(config);
7030
- } else if (isObject6(input)) {
7030
+ } else if (isObject5(input)) {
7031
7031
  configFromObject(config);
7032
7032
  } else if (isNumber(input)) {
7033
7033
  config._d = new Date(input);
@@ -7045,7 +7045,7 @@ var require_moment = __commonJS({
7045
7045
  strict = locale2;
7046
7046
  locale2 = void 0;
7047
7047
  }
7048
- if (isObject6(input) && isObjectEmpty(input) || isArray5(input) && input.length === 0) {
7048
+ if (isObject5(input) && isObjectEmpty(input) || isArray5(input) && input.length === 0) {
7049
7049
  input = void 0;
7050
7050
  }
7051
7051
  c._isAMomentObject = true;
@@ -7464,7 +7464,7 @@ var require_moment = __commonJS({
7464
7464
  return isMoment(input) || isDate(input) || isString7(input) || isNumber(input) || isNumberOrStringArray(input) || isMomentInputObject(input) || input === null || input === void 0;
7465
7465
  }
7466
7466
  function isMomentInputObject(input) {
7467
- var objectTest = isObject6(input) && !isObjectEmpty(input), propertyTest = false, properties = [
7467
+ var objectTest = isObject5(input) && !isObjectEmpty(input), propertyTest = false, properties = [
7468
7468
  "years",
7469
7469
  "year",
7470
7470
  "y",
@@ -7506,7 +7506,7 @@ var require_moment = __commonJS({
7506
7506
  return arrayTest && dataTypeTest;
7507
7507
  }
7508
7508
  function isCalendarSpec(input) {
7509
- var objectTest = isObject6(input) && !isObjectEmpty(input), propertyTest = false, properties = [
7509
+ var objectTest = isObject5(input) && !isObjectEmpty(input), propertyTest = false, properties = [
7510
7510
  "sameDay",
7511
7511
  "nextDay",
7512
7512
  "lastDay",
@@ -9176,8 +9176,8 @@ var require_cjs6 = __commonJS({
9176
9176
  router: () => router
9177
9177
  });
9178
9178
  module2.exports = __toCommonJS2(router_exports);
9179
- var import_utils15 = require_cjs2();
9180
- var getActiveRoute = (level = 0, route = import_utils15.window.location.pathname) => {
9179
+ var import_utils14 = require_cjs2();
9180
+ var getActiveRoute = (level = 0, route = import_utils14.window.location.pathname) => {
9181
9181
  const routeArray = route.split("/");
9182
9182
  const activeRoute = routeArray[level + 1];
9183
9183
  if (activeRoute)
@@ -9191,7 +9191,7 @@ var require_cjs6 = __commonJS({
9191
9191
  initialRender: false,
9192
9192
  scrollToTop: true,
9193
9193
  scrollToNode: false,
9194
- scrollNode: import_utils15.document && import_utils15.document.documentElement,
9194
+ scrollNode: import_utils14.document && import_utils14.document.documentElement,
9195
9195
  scrollBody: false,
9196
9196
  useFragment: false,
9197
9197
  updateState: true,
@@ -9206,13 +9206,13 @@ var require_cjs6 = __commonJS({
9206
9206
  const route = getActiveRoute(options.level, pathname);
9207
9207
  const content = element.routes[route || "/"] || element.routes["/*"];
9208
9208
  const scrollNode = options.scrollToNode ? rootNode : options.scrollNode;
9209
- const hashChanged = hash2 && hash2 !== import_utils15.window.location.hash.slice(1);
9209
+ const hashChanged = hash2 && hash2 !== import_utils14.window.location.hash.slice(1);
9210
9210
  const pathChanged = pathname !== lastPathname;
9211
9211
  lastPathname = pathname;
9212
9212
  if (!content)
9213
9213
  return;
9214
9214
  if (options.pushState) {
9215
- import_utils15.window.history.pushState(state, null, pathname + (hash2 ? `#${hash2}` : ""));
9215
+ import_utils14.window.history.pushState(state, null, pathname + (hash2 ? `#${hash2}` : ""));
9216
9216
  }
9217
9217
  if (pathChanged || !hashChanged) {
9218
9218
  if (options.updateState) {
@@ -9238,7 +9238,7 @@ var require_cjs6 = __commonJS({
9238
9238
  });
9239
9239
  }
9240
9240
  if (hash2) {
9241
- const activeNode = import_utils15.document.getElementById(hash2);
9241
+ const activeNode = import_utils14.document.getElementById(hash2);
9242
9242
  if (activeNode) {
9243
9243
  const top = activeNode.getBoundingClientRect().top + rootNode.scrollTop - options.scrollToOffset || 0;
9244
9244
  scrollNode.scrollTo({
@@ -10473,12 +10473,11 @@ var Shape = {
10473
10473
  };
10474
10474
 
10475
10475
  // Atoms/Text.js
10476
- var import_utils4 = __toESM(require_cjs2());
10477
10476
  var import_scratch8 = __toESM(require_cjs());
10478
10477
  var Text = {
10479
- deps: { isObject: import_utils4.isObject, getFontSizeByKey: import_scratch8.getFontSizeByKey, getFontFamily: import_scratch8.getFontFamily },
10478
+ deps: { getFontSizeByKey: import_scratch8.getFontSizeByKey, getFontFamily: import_scratch8.getFontFamily },
10480
10479
  text: ({ key, props: props6, state, deps }) => {
10481
- if (deps.isObject(props6) && props6.text === true)
10480
+ if (props6.text === true)
10482
10481
  return state && state[key] || props6 && props6[key];
10483
10482
  return props6.text;
10484
10483
  },
@@ -10542,7 +10541,7 @@ var XYZ = {
10542
10541
 
10543
10542
  // Atoms/Animation.js
10544
10543
  var import_scratch9 = __toESM(require_cjs());
10545
- var import_utils6 = __toESM(require_cjs2());
10544
+ var import_utils5 = __toESM(require_cjs2());
10546
10545
 
10547
10546
  // ../../node_modules/@emotion/sheet/dist/emotion-sheet.browser.esm.js
10548
10547
  function sheetForTag(tag) {
@@ -11893,7 +11892,7 @@ var emotion = createEmotion3();
11893
11892
  // Atoms/Animation.js
11894
11893
  var { keyframes } = emotion;
11895
11894
  var applyAnimationProps = (animation, element) => {
11896
- if ((0, import_utils6.isObject)(animation))
11895
+ if ((0, import_utils5.isObject)(animation))
11897
11896
  return { animationName: keyframes(animation) };
11898
11897
  const { ANIMATION } = element.context && element.context.designSystem;
11899
11898
  const record = ANIMATION[animation];
@@ -11938,7 +11937,7 @@ var Animation = {
11938
11937
  };
11939
11938
 
11940
11939
  // Box/index.js
11941
- var import_utils7 = __toESM(require_cjs2());
11940
+ var import_utils6 = __toESM(require_cjs2());
11942
11941
  var PropsCSS = {
11943
11942
  class: {
11944
11943
  style: ({ props: props6 }) => props6 && props6.style
@@ -11961,8 +11960,8 @@ var Box = {
11961
11960
  Animation
11962
11961
  ],
11963
11962
  attr: {
11964
- id: ({ props: props6 }) => (0, import_utils7.isString)(props6.id) && props6.id,
11965
- title: ({ props: props6 }) => (0, import_utils7.isString)(props6.title) && props6.title,
11963
+ id: ({ props: props6 }) => (0, import_utils6.isString)(props6.id) && props6.id,
11964
+ title: ({ props: props6 }) => (0, import_utils6.isString)(props6.title) && props6.title,
11966
11965
  contentEditable: ({ props: props6 }) => props6.contentEditable || props6.contenteditable,
11967
11966
  dir: ({ props: props6 }) => props6.dir,
11968
11967
  draggable: ({ props: props6 }) => props6.draggable,
@@ -12375,6 +12374,7 @@ var AvatarChooser = {
12375
12374
  },
12376
12375
  select: {
12377
12376
  props: {
12377
+ id: "avatar-chooser",
12378
12378
  outline: "none",
12379
12379
  pointerEvents: "all",
12380
12380
  appearance: "none",
@@ -12388,7 +12388,7 @@ var AvatarChooser = {
12388
12388
  margin: "0 0 0 -B1+X",
12389
12389
  padding: "0 A 0 B1+X"
12390
12390
  },
12391
- attr: { name: "avatar-chooser", id: "avatar-chooser" },
12391
+ attr: { name: "avatar-chooser" },
12392
12392
  childExtend: { tag: "option" },
12393
12393
  $setPropsCollection: ({ parent }) => parent.props.options,
12394
12394
  on: {
@@ -13556,11 +13556,11 @@ var RouteLink = {
13556
13556
  };
13557
13557
 
13558
13558
  // Input/index.js
13559
- var import_utils8 = __toESM(require_cjs2());
13559
+ var import_utils7 = __toESM(require_cjs2());
13560
13560
  var Input2 = {
13561
13561
  extend: [Focusable],
13562
13562
  tag: "input",
13563
- deps: { isString: import_utils8.isString, replaceLiteralsWithObjectFields: import_utils8.replaceLiteralsWithObjectFields },
13563
+ deps: { isString: import_utils7.isString, replaceLiteralsWithObjectFields: import_utils7.replaceLiteralsWithObjectFields },
13564
13564
  props: {
13565
13565
  border: "none",
13566
13566
  type: "input",
@@ -13626,7 +13626,7 @@ var Flex2 = {
13626
13626
  var import_scratch11 = __toESM(require_cjs());
13627
13627
 
13628
13628
  // Field/node_modules/@symbo.ls/atoms/Media.js
13629
- var import_utils9 = __toESM(require_cjs2());
13629
+ var import_utils8 = __toESM(require_cjs2());
13630
13630
 
13631
13631
  // Field/node_modules/@symbo.ls/atoms/Theme.js
13632
13632
  var import_scratch14 = __toESM(require_cjs());
@@ -13666,13 +13666,13 @@ var Focusable2 = {
13666
13666
 
13667
13667
  // Field/node_modules/@symbo.ls/atoms/Collection.js
13668
13668
  var import_state2 = __toESM(require_cjs5());
13669
- var import_utils10 = __toESM(require_cjs2());
13669
+ var import_utils9 = __toESM(require_cjs2());
13670
13670
 
13671
13671
  // Field/node_modules/@symbo.ls/atoms/Position.js
13672
13672
  var import_scratch15 = __toESM(require_cjs());
13673
13673
 
13674
13674
  // Field/node_modules/@symbo.ls/atoms/Shape/index.js
13675
- var import_utils11 = __toESM(require_cjs2());
13675
+ var import_utils10 = __toESM(require_cjs2());
13676
13676
  var import_scratch16 = __toESM(require_cjs());
13677
13677
 
13678
13678
  // Field/node_modules/@symbo.ls/atoms/Text.js
@@ -13680,7 +13680,7 @@ var import_scratch17 = __toESM(require_cjs());
13680
13680
 
13681
13681
  // Field/node_modules/@symbo.ls/atoms/Animation.js
13682
13682
  var import_scratch18 = __toESM(require_cjs());
13683
- var import_utils12 = __toESM(require_cjs2());
13683
+ var import_utils11 = __toESM(require_cjs2());
13684
13684
 
13685
13685
  // Field/node_modules/@symbo.ls/emotion/index.js
13686
13686
  var createEmotion4 = (key = "smbls", container) => {
@@ -13805,7 +13805,7 @@ var Video = {
13805
13805
  };
13806
13806
 
13807
13807
  // Range/index.js
13808
- var import_utils13 = __toESM(require_cjs2());
13808
+ var import_utils12 = __toESM(require_cjs2());
13809
13809
  var import_scratch19 = __toESM(require_cjs());
13810
13810
  var props4 = {
13811
13811
  appearance: "none",
@@ -13873,7 +13873,7 @@ var Range = {
13873
13873
  };
13874
13874
  var listenProp = (el, prop, def) => {
13875
13875
  const val = el.props && el.props[prop];
13876
- const r = (0, import_utils13.isFunction)(val) ? val(el, el.state) : val !== void 0 ? val : def !== void 0 ? def : 50;
13876
+ const r = (0, import_utils12.isFunction)(val) ? val(el, el.state) : val !== void 0 ? val : def !== void 0 ? def : 50;
13877
13877
  return r + "";
13878
13878
  };
13879
13879
  var RangeWithButtons = {
@@ -13882,7 +13882,7 @@ var RangeWithButtons = {
13882
13882
  props: { theme: "tertiary", icon: "minus" },
13883
13883
  on: {
13884
13884
  click: (ev, el, s) => {
13885
- el.props && (0, import_utils13.isFunction)(el.props.onClick) && el.props.onClick(ev, el, s);
13885
+ el.props && (0, import_utils12.isFunction)(el.props.onClick) && el.props.onClick(ev, el, s);
13886
13886
  }
13887
13887
  }
13888
13888
  },
@@ -13903,8 +13903,8 @@ var RangeWithButtons = {
13903
13903
  step: (el, s) => listenProp(el, "step", 1)
13904
13904
  },
13905
13905
  on: {
13906
- input: (ev, el, s) => el.props && (0, import_utils13.isFunction)(el.props.onInput) && el.props.onInput(ev, el, el.state),
13907
- change: (ev, el, s) => el.props && (0, import_utils13.isFunction)(el.props.onChange) && el.props.onChange(ev, el, el.state)
13906
+ input: (ev, el, s) => el.props && (0, import_utils12.isFunction)(el.props.onInput) && el.props.onInput(ev, el, el.state),
13907
+ change: (ev, el, s) => el.props && (0, import_utils12.isFunction)(el.props.onChange) && el.props.onChange(ev, el, el.state)
13908
13908
  }
13909
13909
  },
13910
13910
  plus: {
@@ -13912,7 +13912,7 @@ var RangeWithButtons = {
13912
13912
  props: { theme: "tertiary", icon: "plus" },
13913
13913
  on: {
13914
13914
  click: (ev, el, s) => {
13915
- el.props && (0, import_utils13.isFunction)(el.props.onClick) && el.props.onClick(ev, el, el.state);
13915
+ el.props && (0, import_utils12.isFunction)(el.props.onClick) && el.props.onClick(ev, el, el.state);
13916
13916
  }
13917
13917
  }
13918
13918
  }
@@ -13939,7 +13939,7 @@ var style_default = {
13939
13939
 
13940
13940
  // Slider/index.js
13941
13941
  var import_scratch20 = __toESM(require_cjs());
13942
- var import_utils14 = __toESM(require_cjs2());
13942
+ var import_utils13 = __toESM(require_cjs2());
13943
13943
  (0, import_scratch20.set)({
13944
13944
  theme: {
13945
13945
  sliderThumb: {
@@ -13971,7 +13971,7 @@ var RangeSlider = {
13971
13971
  };
13972
13972
  var listenProp2 = (el, prop, def) => {
13973
13973
  const val = el && el.props && el.props[prop];
13974
- const r = ((0, import_utils14.isFunction)(val) ? val() : val) || (def !== void 0 ? def : 50);
13974
+ const r = ((0, import_utils13.isFunction)(val) ? val() : val) || (def !== void 0 ? def : 50);
13975
13975
  return r;
13976
13976
  };
13977
13977
  var Slider = {
@@ -13982,10 +13982,10 @@ var Slider = {
13982
13982
  },
13983
13983
  on: {
13984
13984
  click: (ev, el, s) => {
13985
- el.props && (0, import_utils14.isFunction)(el.props.click) && el.props.click(ev, el, s);
13985
+ el.props && (0, import_utils13.isFunction)(el.props.click) && el.props.click(ev, el, s);
13986
13986
  const input = el.parent.input;
13987
13987
  const props6 = input.props;
13988
- const value = (0, import_utils14.isFunction)(props6.value) ? props6.value() : props6.value;
13988
+ const value = (0, import_utils13.isFunction)(props6.value) ? props6.value() : props6.value;
13989
13989
  input.node.value = value;
13990
13990
  }
13991
13991
  }
@@ -14008,8 +14008,8 @@ var Slider = {
14008
14008
  step: (el, s) => listenProp2(el, "step", 1)
14009
14009
  },
14010
14010
  on: {
14011
- input: (ev, el, s) => el.props && (0, import_utils14.isFunction)(el.props.input) && el.props.input(ev, el, s),
14012
- change: (ev, el, s) => el.props && (0, import_utils14.isFunction)(el.props.change) && el.props.change(ev, el, s)
14011
+ input: (ev, el, s) => el.props && (0, import_utils13.isFunction)(el.props.input) && el.props.input(ev, el, s),
14012
+ change: (ev, el, s) => el.props && (0, import_utils13.isFunction)(el.props.change) && el.props.change(ev, el, s)
14013
14013
  }
14014
14014
  },
14015
14015
  button1: {
@@ -14019,10 +14019,10 @@ var Slider = {
14019
14019
  },
14020
14020
  on: {
14021
14021
  click: (ev, el, s) => {
14022
- el.props && (0, import_utils14.isFunction)(el.props.click) && el.props.click(ev, el, s);
14022
+ el.props && (0, import_utils13.isFunction)(el.props.click) && el.props.click(ev, el, s);
14023
14023
  const input = el.parent.input;
14024
14024
  const props6 = input.props;
14025
- const value = (0, import_utils14.isFunction)(props6.value) ? props6.value() : props6.value;
14025
+ const value = (0, import_utils13.isFunction)(props6.value) ? props6.value() : props6.value;
14026
14026
  input.node.value = value;
14027
14027
  }
14028
14028
  }
@@ -14796,7 +14796,7 @@ var Card = {
14796
14796
  title: { props: { text: "Total crypto assets" } },
14797
14797
  icon: { extend: Icon, props: { name: "arrowUpRight" } }
14798
14798
  },
14799
- content: {
14799
+ contentx: {
14800
14800
  extend: AmountWithLabel,
14801
14801
  amount: { props: { text: "$ 12,759" } },
14802
14802
  label: { props: { text: "+ 8.8%" } }