@symbo.ls/create 2.11.389 → 2.11.394

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.
@@ -220,7 +220,7 @@ var require_types = __commonJS({
220
220
  isObject: () => isObject12,
221
221
  isObjectLike: () => isObjectLike4,
222
222
  isString: () => isString18,
223
- isUndefined: () => isUndefined15
223
+ isUndefined: () => isUndefined17
224
224
  });
225
225
  module2.exports = __toCommonJS12(types_exports);
226
226
  var import_node = require_node();
@@ -244,7 +244,7 @@ var require_types = __commonJS({
244
244
  var isDefined2 = (arg) => {
245
245
  return isObject12(arg) || isObjectLike4(arg) || isString18(arg) || isNumber(arg) || isFunction4(arg) || isArray7(arg) || isObjectLike4(arg) || isBoolean(arg) || isDate(arg) || isNull(arg);
246
246
  };
247
- var isUndefined15 = (arg) => {
247
+ var isUndefined17 = (arg) => {
248
248
  return arg === void 0;
249
249
  };
250
250
  var TYPES = {
@@ -535,7 +535,7 @@ var require_object = __commonJS({
535
535
  isEqualDeep: () => isEqualDeep2,
536
536
  makeObjectWithoutPrototype: () => makeObjectWithoutPrototype,
537
537
  map: () => map2,
538
- merge: () => merge7,
538
+ merge: () => merge6,
539
539
  mergeArrayExclude: () => mergeArrayExclude,
540
540
  mergeIfExisted: () => mergeIfExisted,
541
541
  objectToString: () => objectToString,
@@ -565,7 +565,7 @@ var require_object = __commonJS({
565
565
  obj[e] = exec5(extention[e], element);
566
566
  }
567
567
  };
568
- var merge7 = (element, obj, excludeFrom = []) => {
568
+ var merge6 = (element, obj, excludeFrom = []) => {
569
569
  for (const e in obj) {
570
570
  const hasOwnProperty2 = Object.prototype.hasOwnProperty.call(obj, e);
571
571
  if (!hasOwnProperty2 || excludeFrom.includes(e) || e.startsWith("__"))
@@ -1146,20 +1146,21 @@ var require_cookie = __commonJS({
1146
1146
  });
1147
1147
  module2.exports = __toCommonJS12(cookie_exports);
1148
1148
  var import_types = require_types();
1149
+ var import_utils43 = require_cjs();
1149
1150
  var isMobile = (() => typeof navigator === "undefined" ? false : /Mobi/.test(navigator.userAgent))();
1150
1151
  var setCookie = (cname, cvalue, exdays = 365) => {
1151
- if ((0, import_types.isUndefined)(document) || (0, import_types.isUndefined)(document.cookie))
1152
+ if ((0, import_types.isUndefined)(import_utils43.document) || (0, import_types.isUndefined)(import_utils43.document.cookie))
1152
1153
  return;
1153
1154
  const d = /* @__PURE__ */ new Date();
1154
1155
  d.setTime(d.getTime() + exdays * 24 * 60 * 60 * 1e3);
1155
1156
  const expires = `expires=${d.toUTCString()}`;
1156
- document.cookie = `${cname}=${cvalue};${expires};path=/`;
1157
+ import_utils43.document.cookie = `${cname}=${cvalue};${expires};path=/`;
1157
1158
  };
1158
1159
  var getCookie = (cname) => {
1159
- if ((0, import_types.isUndefined)(document) || (0, import_types.isUndefined)(document.cookie))
1160
+ if ((0, import_types.isUndefined)(import_utils43.document) || (0, import_types.isUndefined)(import_utils43.document.cookie))
1160
1161
  return;
1161
1162
  const name = `${cname}=`;
1162
- const decodedCookie = decodeURIComponent(document.cookie);
1163
+ const decodedCookie = decodeURIComponent(import_utils43.document.cookie);
1163
1164
  const ca = decodedCookie.split(";");
1164
1165
  for (let i2 = 0; i2 < ca.length; i2++) {
1165
1166
  let c = ca[i2];
@@ -2535,20 +2536,21 @@ var require_cjs2 = __commonJS({
2535
2536
  });
2536
2537
  module22.exports = __toCommonJS32(cookie_exports);
2537
2538
  var import_types = require_types2();
2539
+ var import_utils292 = require_cjs22();
2538
2540
  var isMobile = (() => typeof navigator === "undefined" ? false : /Mobi/.test(navigator.userAgent))();
2539
2541
  var setCookie = (cname, cvalue, exdays = 365) => {
2540
- if ((0, import_types.isUndefined)(document) || (0, import_types.isUndefined)(document.cookie))
2542
+ if ((0, import_types.isUndefined)(import_utils292.document) || (0, import_types.isUndefined)(import_utils292.document.cookie))
2541
2543
  return;
2542
2544
  const d = /* @__PURE__ */ new Date();
2543
2545
  d.setTime(d.getTime() + exdays * 24 * 60 * 60 * 1e3);
2544
2546
  const expires = `expires=${d.toUTCString()}`;
2545
- document.cookie = `${cname}=${cvalue};${expires};path=/`;
2547
+ import_utils292.document.cookie = `${cname}=${cvalue};${expires};path=/`;
2546
2548
  };
2547
2549
  var getCookie = (cname) => {
2548
- if ((0, import_types.isUndefined)(document) || (0, import_types.isUndefined)(document.cookie))
2550
+ if ((0, import_types.isUndefined)(import_utils292.document) || (0, import_types.isUndefined)(import_utils292.document.cookie))
2549
2551
  return;
2550
2552
  const name = `${cname}=`;
2551
- const decodedCookie = decodeURIComponent(document.cookie);
2553
+ const decodedCookie = decodeURIComponent(import_utils292.document.cookie);
2552
2554
  const ca = decodedCookie.split(";");
2553
2555
  for (let i2 = 0; i2 < ca.length; i2++) {
2554
2556
  let c = ca[i2];
@@ -2936,7 +2938,7 @@ var require_cjs2 = __commonJS({
2936
2938
  return unit === "em" || unit === "rem" || unit === "vw" || unit === "vh" || unit === "vmax" || unit === "vmin";
2937
2939
  };
2938
2940
  var import_globals2 = __toESM6(require_cjs14(), 1);
2939
- var import_utils44 = __toESM6(require_cjs22(), 1);
2941
+ var import_utils43 = __toESM6(require_cjs22(), 1);
2940
2942
  var ENV2 = "development";
2941
2943
  var colorStringToRgbaArray = (color) => {
2942
2944
  if (color === "")
@@ -3068,11 +3070,11 @@ var require_cjs2 = __commonJS({
3068
3070
  return `rgba(${arr})`;
3069
3071
  };
3070
3072
  var getRgbTone = (rgb, tone) => {
3071
- if ((0, import_utils44.isString)(rgb) && rgb.includes("rgb"))
3073
+ if ((0, import_utils43.isString)(rgb) && rgb.includes("rgb"))
3072
3074
  rgb = colorStringToRgbaArray(rgb).join(", ");
3073
- if ((0, import_utils44.isString)(rgb))
3075
+ if ((0, import_utils43.isString)(rgb))
3074
3076
  rgb = rgb.split(",").map((v) => parseFloat(v.trim()));
3075
- if ((0, import_utils44.isNumber)(tone))
3077
+ if ((0, import_utils43.isNumber)(tone))
3076
3078
  tone += "";
3077
3079
  const toHex = rgbArrayToHex(rgb);
3078
3080
  const abs2 = tone.slice(0, 1);
@@ -4257,20 +4259,21 @@ var require_cjs2 = __commonJS({
4257
4259
  });
4258
4260
  module22.exports = __toCommonJS222(cookie_exports);
4259
4261
  var import_types = require_types22();
4262
+ var import_utils322 = require_cjs32();
4260
4263
  var isMobile = (() => typeof navigator === "undefined" ? false : /Mobi/.test(navigator.userAgent))();
4261
4264
  var setCookie = (cname, cvalue, exdays = 365) => {
4262
- if ((0, import_types.isUndefined)(document) || (0, import_types.isUndefined)(document.cookie))
4265
+ if ((0, import_types.isUndefined)(import_utils322.document) || (0, import_types.isUndefined)(import_utils322.document.cookie))
4263
4266
  return;
4264
4267
  const d = /* @__PURE__ */ new Date();
4265
4268
  d.setTime(d.getTime() + exdays * 24 * 60 * 60 * 1e3);
4266
4269
  const expires = `expires=${d.toUTCString()}`;
4267
- document.cookie = `${cname}=${cvalue};${expires};path=/`;
4270
+ import_utils322.document.cookie = `${cname}=${cvalue};${expires};path=/`;
4268
4271
  };
4269
4272
  var getCookie = (cname) => {
4270
- if ((0, import_types.isUndefined)(document) || (0, import_types.isUndefined)(document.cookie))
4273
+ if ((0, import_types.isUndefined)(import_utils322.document) || (0, import_types.isUndefined)(import_utils322.document.cookie))
4271
4274
  return;
4272
4275
  const name = `${cname}=`;
4273
- const decodedCookie = decodeURIComponent(document.cookie);
4276
+ const decodedCookie = decodeURIComponent(import_utils322.document.cookie);
4274
4277
  const ca = decodedCookie.split(";");
4275
4278
  for (let i2 = 0; i2 < ca.length; i2++) {
4276
4279
  let c = ca[i2];
@@ -4490,6 +4493,7 @@ var require_cjs2 = __commonJS({
4490
4493
  findClosestNumber: () => findClosestNumber,
4491
4494
  findClosestNumberInFactory: () => findClosestNumberInFactory,
4492
4495
  formatDate: () => formatDate,
4496
+ loadJavascript: () => loadJavascript,
4493
4497
  loadJavascriptFile: () => loadJavascriptFile,
4494
4498
  removeChars: () => removeChars,
4495
4499
  toCamelCase: () => toCamelCase,
@@ -4561,6 +4565,17 @@ var require_cjs2 = __commonJS({
4561
4565
  }
4562
4566
  });
4563
4567
  };
4568
+ var loadJavascript = (body, async = true, doc = document, type = "text/javascript") => {
4569
+ try {
4570
+ const scriptEle = doc.createElement("script");
4571
+ scriptEle.type = type;
4572
+ scriptEle.async = async;
4573
+ scriptEle.innerHTML = body;
4574
+ doc.body.appendChild(scriptEle);
4575
+ } catch (error) {
4576
+ console.warn(error);
4577
+ }
4578
+ };
4564
4579
  var copyStringToClipboard = (str) => {
4565
4580
  const el = document.createElement("textarea");
4566
4581
  el.value = str;
@@ -4587,6 +4602,8 @@ var require_cjs2 = __commonJS({
4587
4602
  );
4588
4603
  var toDashCase = (val) => val.replace(/[^a-zA-Z0-9]/g, " ").trim().toLowerCase().replace(/\s+/g, "-").replace(/-+/g, "-").replace(/^-|-$/g, "");
4589
4604
  var toDescriptionCase = (str = "") => {
4605
+ if (typeof str !== "string")
4606
+ return;
4590
4607
  const result = str.replace(/([A-Z])/g, " $1");
4591
4608
  return result.charAt(0).toUpperCase() + result.slice(1);
4592
4609
  };
@@ -4600,7 +4617,7 @@ var require_cjs2 = __commonJS({
4600
4617
  if ((0, import_utils210.isNumber)(val))
4601
4618
  return [val];
4602
4619
  };
4603
- var import_utils45 = __toESM6(require_cjs22(), 1);
4620
+ var import_utils44 = __toESM6(require_cjs22(), 1);
4604
4621
  var defaultConfig_exports = {};
4605
4622
  __export12(defaultConfig_exports, {
4606
4623
  ANIMATION: () => ANIMATION,
@@ -4763,25 +4780,25 @@ var require_cjs2 = __commonJS({
4763
4780
  CSS_VARS,
4764
4781
  ...defaultConfig_exports
4765
4782
  };
4766
- var cachedConfig = (0, import_utils45.deepClone)(CONFIG4);
4783
+ var cachedConfig = (0, import_utils44.deepClone)(CONFIG4);
4767
4784
  var FACTORY = {
4768
4785
  active: "0",
4769
4786
  0: CONFIG4
4770
4787
  };
4771
4788
  var activateConfig = (def) => {
4772
- if ((0, import_utils45.isDefined)(def)) {
4789
+ if ((0, import_utils44.isDefined)(def)) {
4773
4790
  FACTORY.active = def;
4774
4791
  }
4775
4792
  return FACTORY[def || FACTORY.active];
4776
4793
  };
4777
4794
  var getActiveConfig4 = (def) => {
4778
- return FACTORY[def || FACTORY.active];
4795
+ return FACTORY[def || FACTORY.active] || CONFIG4;
4779
4796
  };
4780
4797
  var setActiveConfig = (newConfig) => {
4781
- if (!(0, import_utils45.isObject)(newConfig))
4798
+ if (!(0, import_utils44.isObject)(newConfig))
4782
4799
  return;
4783
4800
  FACTORY.active = "1";
4784
- FACTORY["1"] = (0, import_utils45.deepMerge)(newConfig, (0, import_utils45.deepClone)(cachedConfig));
4801
+ FACTORY["1"] = (0, import_utils44.deepMerge)(newConfig, (0, import_utils44.deepClone)(cachedConfig));
4785
4802
  return newConfig;
4786
4803
  };
4787
4804
  var numToLetterMap = {
@@ -6429,7 +6446,7 @@ var require_cjs3 = __commonJS({
6429
6446
  isObject: () => isObject32,
6430
6447
  isObjectLike: () => isObjectLike4,
6431
6448
  isString: () => isString22,
6432
- isUndefined: () => isUndefined15
6449
+ isUndefined: () => isUndefined17
6433
6450
  });
6434
6451
  module22.exports = __toCommonJS22(types_exports);
6435
6452
  var import_node = require_node3();
@@ -6453,7 +6470,7 @@ var require_cjs3 = __commonJS({
6453
6470
  var isDefined2 = (arg) => {
6454
6471
  return isObject32(arg) || isObjectLike4(arg) || isString22(arg) || isNumber2(arg) || isFunction4(arg) || isArray32(arg) || isObjectLike4(arg) || isBoolean(arg) || isDate(arg) || isNull(arg);
6455
6472
  };
6456
- var isUndefined15 = (arg) => {
6473
+ var isUndefined17 = (arg) => {
6457
6474
  return arg === void 0;
6458
6475
  };
6459
6476
  var TYPES = {
@@ -6738,7 +6755,7 @@ var require_cjs3 = __commonJS({
6738
6755
  isEqualDeep: () => isEqualDeep2,
6739
6756
  makeObjectWithoutPrototype: () => makeObjectWithoutPrototype,
6740
6757
  map: () => map2,
6741
- merge: () => merge7,
6758
+ merge: () => merge6,
6742
6759
  mergeArrayExclude: () => mergeArrayExclude,
6743
6760
  mergeIfExisted: () => mergeIfExisted,
6744
6761
  objectToString: () => objectToString,
@@ -6768,7 +6785,7 @@ var require_cjs3 = __commonJS({
6768
6785
  obj[e] = exec5(extention[e], element);
6769
6786
  }
6770
6787
  };
6771
- var merge7 = (element, obj, excludeFrom = []) => {
6788
+ var merge6 = (element, obj, excludeFrom = []) => {
6772
6789
  for (const e in obj) {
6773
6790
  const hasOwnProperty2 = Object.prototype.hasOwnProperty.call(obj, e);
6774
6791
  if (!hasOwnProperty2 || excludeFrom.includes(e) || e.startsWith("__"))
@@ -7343,20 +7360,21 @@ var require_cjs3 = __commonJS({
7343
7360
  });
7344
7361
  module22.exports = __toCommonJS22(cookie_exports);
7345
7362
  var import_types = require_types2();
7363
+ var import_utils310 = require_cjs14();
7346
7364
  var isMobile = (() => typeof navigator === "undefined" ? false : /Mobi/.test(navigator.userAgent))();
7347
7365
  var setCookie = (cname, cvalue, exdays = 365) => {
7348
- if ((0, import_types.isUndefined)(document) || (0, import_types.isUndefined)(document.cookie))
7366
+ if ((0, import_types.isUndefined)(import_utils310.document) || (0, import_types.isUndefined)(import_utils310.document.cookie))
7349
7367
  return;
7350
7368
  const d = /* @__PURE__ */ new Date();
7351
7369
  d.setTime(d.getTime() + exdays * 24 * 60 * 60 * 1e3);
7352
7370
  const expires = `expires=${d.toUTCString()}`;
7353
- document.cookie = `${cname}=${cvalue};${expires};path=/`;
7371
+ import_utils310.document.cookie = `${cname}=${cvalue};${expires};path=/`;
7354
7372
  };
7355
7373
  var getCookie = (cname) => {
7356
- if ((0, import_types.isUndefined)(document) || (0, import_types.isUndefined)(document.cookie))
7374
+ if ((0, import_types.isUndefined)(import_utils310.document) || (0, import_types.isUndefined)(import_utils310.document.cookie))
7357
7375
  return;
7358
7376
  const name = `${cname}=`;
7359
- const decodedCookie = decodeURIComponent(document.cookie);
7377
+ const decodedCookie = decodeURIComponent(import_utils310.document.cookie);
7360
7378
  const ca = decodedCookie.split(";");
7361
7379
  for (let i2 = 0; i2 < ca.length; i2++) {
7362
7380
  let c = ca[i2];
@@ -7576,6 +7594,7 @@ var require_cjs3 = __commonJS({
7576
7594
  findClosestNumber: () => findClosestNumber,
7577
7595
  findClosestNumberInFactory: () => findClosestNumberInFactory,
7578
7596
  formatDate: () => formatDate,
7597
+ loadJavascript: () => loadJavascript,
7579
7598
  loadJavascriptFile: () => loadJavascriptFile,
7580
7599
  removeChars: () => removeChars,
7581
7600
  toCamelCase: () => toCamelCase,
@@ -7595,15 +7614,15 @@ var require_cjs3 = __commonJS({
7595
7614
  document.exitFullscreen();
7596
7615
  }
7597
7616
  };
7598
- var import_utils44 = __toESM6(require_cjs14(), 1);
7617
+ var import_utils43 = __toESM6(require_cjs14(), 1);
7599
7618
  var findClosestNumber = (number, arr) => {
7600
- return ((0, import_utils44.isArray)(arr) ? arr : Object.values(arr)).reduce((prev3, curr) => {
7619
+ return ((0, import_utils43.isArray)(arr) ? arr : Object.values(arr)).reduce((prev3, curr) => {
7601
7620
  return Math.abs(curr - number) < Math.abs(prev3 - number) ? curr : prev3;
7602
7621
  });
7603
7622
  };
7604
7623
  var findClosestNumberInFactory = (val, factory) => {
7605
7624
  val = parseFloat(val);
7606
- if ((0, import_utils44.isObject)(factory))
7625
+ if ((0, import_utils43.isObject)(factory))
7607
7626
  factory = Object.values(factory);
7608
7627
  return findClosestNumber(val, factory);
7609
7628
  };
@@ -7647,6 +7666,17 @@ var require_cjs3 = __commonJS({
7647
7666
  }
7648
7667
  });
7649
7668
  };
7669
+ var loadJavascript = (body, async = true, doc = document, type = "text/javascript") => {
7670
+ try {
7671
+ const scriptEle = doc.createElement("script");
7672
+ scriptEle.type = type;
7673
+ scriptEle.async = async;
7674
+ scriptEle.innerHTML = body;
7675
+ doc.body.appendChild(scriptEle);
7676
+ } catch (error) {
7677
+ console.warn(error);
7678
+ }
7679
+ };
7650
7680
  var copyStringToClipboard = (str) => {
7651
7681
  const el = document.createElement("textarea");
7652
7682
  el.value = str;
@@ -7673,6 +7703,8 @@ var require_cjs3 = __commonJS({
7673
7703
  );
7674
7704
  var toDashCase = (val) => val.replace(/[^a-zA-Z0-9]/g, " ").trim().toLowerCase().replace(/\s+/g, "-").replace(/-+/g, "-").replace(/^-|-$/g, "");
7675
7705
  var toDescriptionCase = (str = "") => {
7706
+ if (typeof str !== "string")
7707
+ return;
7676
7708
  const result = str.replace(/([A-Z])/g, " $1");
7677
7709
  return result.charAt(0).toUpperCase() + result.slice(1);
7678
7710
  };
@@ -9182,7 +9214,7 @@ var init_init = __esm({
9182
9214
  useSvgSprite: true
9183
9215
  };
9184
9216
  init = (config, options = SET_OPTIONS) => {
9185
- const emotion3 = options.emotion || emotion;
9217
+ const emotion4 = options.emotion || emotion;
9186
9218
  const resultConfig = mergeWithLocalFile(config || {});
9187
9219
  const conf = (0, import_scratch.set)({
9188
9220
  verbose: options.verbose,
@@ -9204,11 +9236,11 @@ var init_init = __esm({
9204
9236
  const useIconSprite = conf.useIconSprite;
9205
9237
  const hasIcons = config.icons || config.ICONS;
9206
9238
  if (useFontImport)
9207
- emotion3.injectGlobal(FontFace);
9239
+ emotion4.injectGlobal(FontFace);
9208
9240
  if (useVariable)
9209
- emotion3.injectGlobal({ ":root": conf.CSS_VARS });
9241
+ emotion4.injectGlobal({ ":root": conf.CSS_VARS });
9210
9242
  if (useReset)
9211
- emotion3.injectGlobal(conf.RESET);
9243
+ emotion4.injectGlobal(conf.RESET);
9212
9244
  if (hasSvgs)
9213
9245
  (0, import_scratch.appendSVGSprite)(hasSvgs, { document: options.document });
9214
9246
  else if (useSvgSprite)
@@ -9223,22 +9255,22 @@ var init_init = __esm({
9223
9255
  emotion
9224
9256
  };
9225
9257
  reInit = (config, RC_FILE, options = UPDATE_OPTIONS) => {
9226
- const emotion3 = options.emotion || emotion;
9258
+ const emotion4 = options.emotion || emotion;
9227
9259
  const resultConfig = mergeWithLocalFile(config || {}, RC_FILE);
9228
9260
  const conf = (0, import_scratch.set)({
9229
9261
  verbose: false,
9230
9262
  ...resultConfig
9231
9263
  });
9232
- emotion3.injectGlobal({ ":root": conf.CSS_VARS });
9233
- emotion3.injectGlobal(conf.RESET);
9264
+ emotion4.injectGlobal({ ":root": conf.CSS_VARS });
9265
+ emotion4.injectGlobal(conf.RESET);
9234
9266
  };
9235
9267
  applyCSS = (styles, options = UPDATE_OPTIONS) => {
9236
- const emotion3 = options.emotion || emotion;
9237
- emotion3.injectGlobal(styles);
9268
+ const emotion4 = options.emotion || emotion;
9269
+ emotion4.injectGlobal(styles);
9238
9270
  };
9239
9271
  updateVars = (config, options = UPDATE_OPTIONS) => {
9240
- const emotion3 = options.emotion || emotion;
9241
- emotion3.injectGlobal({ ":root": config.CSS_VARS });
9272
+ const emotion4 = options.emotion || emotion;
9273
+ emotion4.injectGlobal({ ":root": config.CSS_VARS });
9242
9274
  };
9243
9275
  setClass = (props2, options = UPDATE_OPTIONS) => {
9244
9276
  };
@@ -9372,13 +9404,12 @@ var require_on = __commonJS({
9372
9404
  triggerEventOnUpdate: () => triggerEventOnUpdate
9373
9405
  });
9374
9406
  module2.exports = __toCommonJS12(on_exports);
9375
- var import_utils44 = require_cjs();
9407
+ var import_utils43 = require_cjs();
9376
9408
  var applyEvent = (param, element, state, context, options) => {
9377
- const binded = param.bind(context == null ? void 0 : context.window);
9378
- return binded.call((context == null ? void 0 : context.window) || window, element, state || element.state, context || element.context, options);
9409
+ return param.call((context == null ? void 0 : context.window) || window, element, state || element.state, context || element.context, options);
9379
9410
  };
9380
9411
  var triggerEventOn = (param, element, options) => {
9381
- if (element.on && (0, import_utils44.isFunction)(element.on[param])) {
9412
+ if (element.on && (0, import_utils43.isFunction)(element.on[param])) {
9382
9413
  const { state, context } = element;
9383
9414
  return applyEvent(element.on[param], element, state, context, options);
9384
9415
  }
@@ -9387,7 +9418,7 @@ var require_on = __commonJS({
9387
9418
  return param.call((context == null ? void 0 : context.window) || window, updatedObj, element, state || element.state, context || element.context, options);
9388
9419
  };
9389
9420
  var triggerEventOnUpdate = (param, updatedObj, element, options) => {
9390
- if (element.on && (0, import_utils44.isFunction)(element.on[param])) {
9421
+ if (element.on && (0, import_utils43.isFunction)(element.on[param])) {
9391
9422
  const { state, context } = element;
9392
9423
  return applyEventUpdate(element.on[param], updatedObj, element, state, context, options);
9393
9424
  }
@@ -9398,7 +9429,7 @@ var require_on = __commonJS({
9398
9429
  if (param === "init" || param === "beforeClassAssign" || param === "render" || param === "renderRouter" || param === "attachNode" || param === "stateInit" || param === "stateCreated" || param === "beforeStateUpdate" || param === "stateUpdate" || param === "beforeUpdate" || param === "update")
9399
9430
  continue;
9400
9431
  const appliedFunction = element.on[param];
9401
- if ((0, import_utils44.isFunction)(appliedFunction)) {
9432
+ if ((0, import_utils43.isFunction)(appliedFunction)) {
9402
9433
  node2.addEventListener(param, (event) => {
9403
9434
  const { state, context } = element;
9404
9435
  appliedFunction.call((context == null ? void 0 : context.window) || window, event, element, state, context, options);
@@ -9436,9 +9467,9 @@ var require_can = __commonJS({
9436
9467
  });
9437
9468
  module2.exports = __toCommonJS12(can_exports);
9438
9469
  var import_report = require_cjs4();
9439
- var import_utils44 = require_cjs();
9470
+ var import_utils43 = require_cjs();
9440
9471
  var canRenderTag = (tag) => {
9441
- return (0, import_utils44.isValidHtmlTag)(tag || "div") || (0, import_report.report)("HTMLInvalidTag");
9472
+ return (0, import_utils43.isValidHtmlTag)(tag || "div") || (0, import_report.report)("HTMLInvalidTag");
9442
9473
  };
9443
9474
  }
9444
9475
  });
@@ -9499,8 +9530,8 @@ var require_cjs6 = __commonJS({
9499
9530
  });
9500
9531
  module2.exports = __toCommonJS12(router_exports3);
9501
9532
  var import_event = require_cjs5();
9502
- var import_utils44 = require_cjs();
9503
- var getActiveRoute = (level = 0, route = import_utils44.window.location.pathname) => {
9533
+ var import_utils43 = require_cjs();
9534
+ var getActiveRoute = (level = 0, route = import_utils43.window.location.pathname) => {
9504
9535
  const routeArray = route.split("/");
9505
9536
  const activeRoute = routeArray[level + 1];
9506
9537
  if (activeRoute)
@@ -9514,7 +9545,7 @@ var require_cjs6 = __commonJS({
9514
9545
  initialRender: false,
9515
9546
  scrollToTop: true,
9516
9547
  scrollToNode: false,
9517
- scrollNode: import_utils44.document && import_utils44.document.documentElement,
9548
+ scrollNode: import_utils43.document && import_utils43.document.documentElement,
9518
9549
  scrollBody: false,
9519
9550
  useFragment: false,
9520
9551
  updateState: true,
@@ -9522,6 +9553,8 @@ var require_cjs6 = __commonJS({
9522
9553
  scrollToOptions: { behavior: "smooth" }
9523
9554
  };
9524
9555
  var router2 = (path, element, state = {}, passedOptions = {}) => {
9556
+ const win = element.context.window || import_utils43.window;
9557
+ const doc = element.context.document || import_utils43.document;
9525
9558
  const options = { ...defaultOptions, ...element.context.routerOptions, ...passedOptions };
9526
9559
  lastLevel = options.lastLevel;
9527
9560
  const contentElementKey = options.contentElementKey;
@@ -9530,7 +9563,7 @@ var require_cjs6 = __commonJS({
9530
9563
  const route = getActiveRoute(options.level, pathname);
9531
9564
  const content = element.routes[route || "/"] || element.routes["/*"];
9532
9565
  const scrollNode = options.scrollToNode ? rootNode : options.scrollNode;
9533
- const hashChanged = hash2 && hash2 !== import_utils44.window.location.hash.slice(1);
9566
+ const hashChanged = hash2 && hash2 !== win.location.hash.slice(1);
9534
9567
  const pathChanged = pathname !== lastPathname;
9535
9568
  lastPathname = pathname;
9536
9569
  if (!content || element.state.root.debugging) {
@@ -9538,7 +9571,7 @@ var require_cjs6 = __commonJS({
9538
9571
  return;
9539
9572
  }
9540
9573
  if (options.pushState) {
9541
- import_utils44.window.history.pushState(state, null, pathname + (hash2 ? `#${hash2}` : ""));
9574
+ win.history.pushState(state, null, pathname + (hash2 ? `#${hash2}` : ""));
9542
9575
  }
9543
9576
  if (pathChanged || !hashChanged) {
9544
9577
  if (options.updateState) {
@@ -9567,7 +9600,7 @@ var require_cjs6 = __commonJS({
9567
9600
  });
9568
9601
  }
9569
9602
  if (hash2) {
9570
- const activeNode = import_utils44.document.getElementById(hash2);
9603
+ const activeNode = doc.getElementById(hash2);
9571
9604
  if (activeNode) {
9572
9605
  const top = activeNode.getBoundingClientRect().top + rootNode.scrollTop - options.scrollToOffset || 0;
9573
9606
  scrollNode.scrollTo({
@@ -10669,144 +10702,17 @@ var init_src = __esm({
10669
10702
  }
10670
10703
  });
10671
10704
 
10672
- // ../../node_modules/@symbo.ls/emotion/node_modules/@emotion/css/create-instance/dist/emotion-css-create-instance.esm.js
10673
- function insertWithoutScoping2(cache2, serialized) {
10674
- if (cache2.inserted[serialized.name] === void 0) {
10675
- return cache2.insert("", serialized, cache2.sheet, true);
10676
- }
10677
- }
10678
- function merge2(registered, css, className) {
10679
- var registeredStyles = [];
10680
- var rawClassName = getRegisteredStyles(registered, registeredStyles, className);
10681
- if (registeredStyles.length < 2) {
10682
- return className;
10683
- }
10684
- return rawClassName + css(registeredStyles);
10685
- }
10686
- var createEmotion4, classnames3;
10687
- var init_emotion_css_create_instance_esm2 = __esm({
10688
- "../../node_modules/@symbo.ls/emotion/node_modules/@emotion/css/create-instance/dist/emotion-css-create-instance.esm.js"() {
10689
- init_emotion_cache_browser_esm();
10690
- init_emotion_serialize_browser_esm();
10691
- init_emotion_utils_browser_esm();
10692
- createEmotion4 = function createEmotion5(options) {
10693
- var cache2 = createCache(options);
10694
- cache2.sheet.speedy = function(value2) {
10695
- if (this.ctr !== 0) {
10696
- throw new Error("speedy must be changed before any rules are inserted");
10697
- }
10698
- this.isSpeedy = value2;
10699
- };
10700
- cache2.compat = true;
10701
- var css = function css2() {
10702
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
10703
- args[_key] = arguments[_key];
10704
- }
10705
- var serialized = serializeStyles(args, cache2.registered, void 0);
10706
- insertStyles(cache2, serialized, false);
10707
- return cache2.key + "-" + serialized.name;
10708
- };
10709
- var keyframes = function keyframes2() {
10710
- for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
10711
- args[_key2] = arguments[_key2];
10712
- }
10713
- var serialized = serializeStyles(args, cache2.registered);
10714
- var animation = "animation-" + serialized.name;
10715
- insertWithoutScoping2(cache2, {
10716
- name: serialized.name,
10717
- styles: "@keyframes " + animation + "{" + serialized.styles + "}"
10718
- });
10719
- return animation;
10720
- };
10721
- var injectGlobal = function injectGlobal2() {
10722
- for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
10723
- args[_key3] = arguments[_key3];
10724
- }
10725
- var serialized = serializeStyles(args, cache2.registered);
10726
- insertWithoutScoping2(cache2, serialized);
10727
- };
10728
- var cx = function cx2() {
10729
- for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
10730
- args[_key4] = arguments[_key4];
10731
- }
10732
- return merge2(cache2.registered, css, classnames3(args));
10733
- };
10734
- return {
10735
- css,
10736
- cx,
10737
- injectGlobal,
10738
- keyframes,
10739
- hydrate: function hydrate(ids) {
10740
- ids.forEach(function(key) {
10741
- cache2.inserted[key] = true;
10742
- });
10743
- },
10744
- flush: function flush() {
10745
- cache2.registered = {};
10746
- cache2.inserted = {};
10747
- cache2.sheet.flush();
10748
- },
10749
- // $FlowFixMe
10750
- sheet: cache2.sheet,
10751
- cache: cache2,
10752
- getRegisteredStyles: getRegisteredStyles.bind(null, cache2.registered),
10753
- merge: merge2.bind(null, cache2.registered, css)
10754
- };
10755
- };
10756
- classnames3 = function classnames4(args) {
10757
- var cls = "";
10758
- for (var i2 = 0; i2 < args.length; i2++) {
10759
- var arg = args[i2];
10760
- if (arg == null)
10761
- continue;
10762
- var toAdd = void 0;
10763
- switch (typeof arg) {
10764
- case "boolean":
10765
- break;
10766
- case "object": {
10767
- if (Array.isArray(arg)) {
10768
- toAdd = classnames4(arg);
10769
- } else {
10770
- toAdd = "";
10771
- for (var k in arg) {
10772
- if (arg[k] && k) {
10773
- toAdd && (toAdd += " ");
10774
- toAdd += k;
10775
- }
10776
- }
10777
- }
10778
- break;
10779
- }
10780
- default: {
10781
- toAdd = arg;
10782
- }
10783
- }
10784
- if (toAdd) {
10785
- cls && (cls += " ");
10786
- cls += toAdd;
10787
- }
10788
- }
10789
- return cls;
10790
- };
10791
- }
10792
- });
10793
-
10794
- // ../../node_modules/@symbo.ls/emotion/index.js
10795
- var emotion_exports = {};
10796
- __export(emotion_exports, {
10797
- createEmotion: () => createEmotion6,
10798
- emotion: () => emotion2
10799
- });
10800
- var createEmotion6, emotion2;
10705
+ // ../smbls/node_modules/@symbo.ls/emotion/index.js
10706
+ var createEmotion4, emotion2;
10801
10707
  var init_emotion2 = __esm({
10802
- "../../node_modules/@symbo.ls/emotion/index.js"() {
10708
+ "../smbls/node_modules/@symbo.ls/emotion/index.js"() {
10803
10709
  "use strict";
10804
- init_emotion_css_create_instance_esm2();
10805
- createEmotion6 = (key = "smbls", container) => {
10710
+ init_emotion_css_create_instance_esm();
10711
+ createEmotion4 = (key = "smbls", container) => {
10806
10712
  const cleanKey = key.replaceAll(/\./g, "-");
10807
- return createEmotion4({ key: cleanKey, container });
10713
+ return createEmotion({ key: cleanKey, container });
10808
10714
  };
10809
- emotion2 = createEmotion6();
10715
+ emotion2 = createEmotion4();
10810
10716
  }
10811
10717
  });
10812
10718
 
@@ -10855,7 +10761,7 @@ var init_utilImports = __esm({
10855
10761
 
10856
10762
  // dist/cjs/router.js
10857
10763
  var router_exports = {};
10858
- var __defProp3, __getOwnPropDesc3, __getOwnPropNames3, __hasOwnProp3, __export3, __copyProps3, __toCommonJS3, router_exports2, import_router, import_utils6, import_uikit, DEFAULT_ROUTING_OPTIONS, initRouter, popStateFired, popStateRouter, injectRouterInLinkComponent;
10764
+ var __defProp3, __getOwnPropDesc3, __getOwnPropNames3, __hasOwnProp3, __export3, __copyProps3, __toCommonJS3, router_exports2, import_router, import_utils5, import_uikit, DEFAULT_ROUTING_OPTIONS, initRouter, popStateFired, popStateRouter, injectRouterInLinkComponent;
10859
10765
  var init_router = __esm({
10860
10766
  "dist/cjs/router.js"() {
10861
10767
  "use strict";
@@ -10884,7 +10790,7 @@ var init_router = __esm({
10884
10790
  });
10885
10791
  module.exports = __toCommonJS3(router_exports2);
10886
10792
  import_router = require_cjs6();
10887
- import_utils6 = require_cjs();
10793
+ import_utils5 = require_cjs();
10888
10794
  import_uikit = (init_uikit(), __toCommonJS(uikit_exports));
10889
10795
  DEFAULT_ROUTING_OPTIONS = {
10890
10796
  initRouter: true,
@@ -10897,16 +10803,16 @@ var init_router = __esm({
10897
10803
  else if (options.router === true)
10898
10804
  options.router = DEFAULT_ROUTING_OPTIONS;
10899
10805
  else
10900
- (0, import_utils6.merge)(options.router || {}, DEFAULT_ROUTING_OPTIONS);
10806
+ (0, import_utils5.merge)(options.router || {}, DEFAULT_ROUTING_OPTIONS);
10901
10807
  const routerOptions = options.router;
10902
10808
  const router2 = options.snippets && options.snippets.router ? options.snippets.router : import_router.router;
10903
10809
  const onRouterRenderDefault = (el, s) => {
10904
- const { pathname, hash: hash2 } = import_utils6.window.location;
10810
+ const { pathname, hash: hash2 } = import_utils5.window.location;
10905
10811
  const url2 = pathname + hash2;
10906
10812
  if (el.routes)
10907
10813
  router2(url2, el, {}, { initialRender: true });
10908
10814
  };
10909
- const hasRenderRouter = element.on && !(0, import_utils6.isUndefined)(element.on.renderRouter);
10815
+ const hasRenderRouter = element.on && !(0, import_utils5.isUndefined)(element.on.renderRouter);
10910
10816
  if (routerOptions && routerOptions.initRouter && !hasRenderRouter) {
10911
10817
  if (element.on) {
10912
10818
  element.on.renderRouter = onRouterRenderDefault;
@@ -10927,15 +10833,15 @@ var init_router = __esm({
10927
10833
  if (!routerOptions.popState)
10928
10834
  return;
10929
10835
  const router2 = options.snippets && options.snippets.router ? options.snippets.router : import_router.router;
10930
- import_utils6.window.onpopstate = (e) => {
10931
- const { pathname, hash: hash2 } = import_utils6.window.location;
10836
+ import_utils5.window.onpopstate = (e) => {
10837
+ const { pathname, hash: hash2 } = import_utils5.window.location;
10932
10838
  const url2 = pathname + hash2;
10933
10839
  router2(url2, element, {}, { pushState: false, scrollToTop: false, level: 0 });
10934
10840
  };
10935
10841
  };
10936
10842
  injectRouterInLinkComponent = (routerOptions) => {
10937
10843
  if (routerOptions && routerOptions.injectRouterInLinkComponent) {
10938
- return (0, import_utils6.deepMerge)(import_uikit.Link, import_uikit.RouterLink);
10844
+ return (0, import_utils5.deepMerge)(import_uikit.Link, import_uikit.RouterLink);
10939
10845
  }
10940
10846
  };
10941
10847
  }
@@ -11085,7 +10991,7 @@ var require_cjs8 = __commonJS({
11085
10991
 
11086
10992
  // dist/cjs/ferchOnCreate.js
11087
10993
  var ferchOnCreate_exports = {};
11088
- var __defProp4, __getOwnPropDesc4, __getOwnPropNames4, __hasOwnProp4, __export4, __copyProps4, __toCommonJS4, ferchOnCreate_exports2, import_utils7, import_fetch, fetchSync, fetchAsync;
10994
+ var __defProp4, __getOwnPropDesc4, __getOwnPropNames4, __hasOwnProp4, __export4, __copyProps4, __toCommonJS4, ferchOnCreate_exports2, import_utils6, import_fetch, fetchSync, fetchAsync;
11089
10995
  var init_ferchOnCreate = __esm({
11090
10996
  "dist/cjs/ferchOnCreate.js"() {
11091
10997
  "use strict";
@@ -11112,7 +11018,7 @@ var init_ferchOnCreate = __esm({
11112
11018
  fetchSync: () => fetchSync
11113
11019
  });
11114
11020
  module.exports = __toCommonJS4(ferchOnCreate_exports2);
11115
- import_utils7 = require_cjs();
11021
+ import_utils6 = require_cjs();
11116
11022
  import_fetch = require_cjs8();
11117
11023
  fetchSync = async (key, options) => {
11118
11024
  if (key && options.editor) {
@@ -11129,10 +11035,10 @@ var init_ferchOnCreate = __esm({
11129
11035
  try {
11130
11036
  if (options.editor.async) {
11131
11037
  (0, import_fetch.fetchProjectAsync)(key, options, callback || ((data) => {
11132
- if ((0, import_utils7.isObject)(data.designsystem)) {
11038
+ if ((0, import_utils6.isObject)(data.designsystem)) {
11133
11039
  options.utils.init(data.designsystem);
11134
11040
  }
11135
- if ((0, import_utils7.isObject)(data.state)) {
11041
+ if ((0, import_utils6.isObject)(data.state)) {
11136
11042
  app.state.set(data.state);
11137
11043
  }
11138
11044
  }));
@@ -14774,7 +14680,7 @@ var init_client = __esm({
14774
14680
 
14775
14681
  // ../socket-ui/devFocus.js
14776
14682
  function returnStringExtend(extend) {
14777
- return (0, import_utils8.isString)(extend) ? extend : (0, import_utils8.isArray)(extend) ? extend.find((extItem) => (0, import_utils8.isString)(extItem)) : "";
14683
+ return (0, import_utils7.isString)(extend) ? extend : (0, import_utils7.isArray)(extend) ? extend.find((extItem) => (0, import_utils7.isString)(extItem)) : "";
14778
14684
  }
14779
14685
  function getComponentKey(el) {
14780
14686
  if (!el)
@@ -14799,12 +14705,12 @@ function findComponent(el) {
14799
14705
  }
14800
14706
  return findComponent(el.parent);
14801
14707
  }
14802
- var import_utils8, DevFocus, inspectOnKey;
14708
+ var import_utils7, DevFocus, inspectOnKey;
14803
14709
  var init_devFocus = __esm({
14804
14710
  "../socket-ui/devFocus.js"() {
14805
14711
  "use strict";
14806
14712
  init_uikit();
14807
- import_utils8 = __toESM(require_cjs());
14713
+ import_utils7 = __toESM(require_cjs());
14808
14714
  init_client();
14809
14715
  DevFocus = {
14810
14716
  props: {
@@ -14846,7 +14752,7 @@ var init_devFocus = __esm({
14846
14752
  on: {
14847
14753
  init: ({ context }) => {
14848
14754
  const { components } = context;
14849
- if ((0, import_utils8.isObject)(components)) {
14755
+ if ((0, import_utils7.isObject)(components)) {
14850
14756
  const { Content, ...rest } = components;
14851
14757
  for (const key in rest) {
14852
14758
  if (uikit_exports[key])
@@ -14959,7 +14865,7 @@ __export(byld_socket_exports, {
14959
14865
  Sync: () => Sync,
14960
14866
  inspectOnKey: () => inspectOnKey
14961
14867
  });
14962
- var import_router2, import_globals, import_utils9, isLocalhost, connectedToSymbols, onConnect, onDisconnect, onChange, NOTIF_COLORS, Notifications, Sync;
14868
+ var import_router2, import_globals, import_utils8, isLocalhost, connectedToSymbols, onConnect, onDisconnect, onChange, NOTIF_COLORS, Notifications, Sync;
14963
14869
  var init_byld_socket = __esm({
14964
14870
  "../socket-ui/byld-socket.js"() {
14965
14871
  "use strict";
@@ -14967,7 +14873,7 @@ var init_byld_socket = __esm({
14967
14873
  init_init();
14968
14874
  init_client();
14969
14875
  import_globals = __toESM(require_cjs7());
14970
- import_utils9 = __toESM(require_cjs());
14876
+ import_utils8 = __toESM(require_cjs());
14971
14877
  init_devFocus();
14972
14878
  isLocalhost = import_globals.window && import_globals.window.location && import_globals.window.location.host.includes("local");
14973
14879
  connectedToSymbols = (clients, element, state) => {
@@ -15016,13 +14922,13 @@ var init_byld_socket = __esm({
15016
14922
  const { state, designSystem, pages, components, snippets } = obj.DATA;
15017
14923
  const { utils: utils4 } = ctx;
15018
14924
  if (pages) {
15019
- (0, import_utils9.overwriteDeep)(ctx.pages, pages);
14925
+ (0, import_utils8.overwriteDeep)(ctx.pages, pages);
15020
14926
  }
15021
14927
  if (components) {
15022
- (0, import_utils9.overwriteDeep)(ctx.components, components);
14928
+ (0, import_utils8.overwriteDeep)(ctx.components, components);
15023
14929
  }
15024
14930
  if (snippets) {
15025
- (0, import_utils9.overwriteDeep)(ctx.snippets, snippets);
14931
+ (0, import_utils8.overwriteDeep)(ctx.snippets, snippets);
15026
14932
  }
15027
14933
  if (state) {
15028
14934
  const route = state.route;
@@ -15098,7 +15004,7 @@ var init_byld_socket = __esm({
15098
15004
 
15099
15005
  // dist/cjs/syncExtend.js
15100
15006
  var syncExtend_exports = {};
15101
- var __defProp5, __getOwnPropDesc5, __getOwnPropNames5, __hasOwnProp5, __export5, __copyProps5, __toCommonJS5, syncExtend_exports2, import_socket_ui, import_utils10, applySyncDebug, applyInspectListener;
15007
+ var __defProp5, __getOwnPropDesc5, __getOwnPropNames5, __hasOwnProp5, __export5, __copyProps5, __toCommonJS5, syncExtend_exports2, import_socket_ui, import_utils9, applySyncDebug, applyInspectListener;
15102
15008
  var init_syncExtend = __esm({
15103
15009
  "dist/cjs/syncExtend.js"() {
15104
15010
  "use strict";
@@ -15126,15 +15032,15 @@ var init_syncExtend = __esm({
15126
15032
  });
15127
15033
  module.exports = __toCommonJS5(syncExtend_exports2);
15128
15034
  import_socket_ui = (init_byld_socket(), __toCommonJS(byld_socket_exports));
15129
- import_utils10 = require_cjs();
15035
+ import_utils9 = require_cjs();
15130
15036
  applySyncDebug = (extend, options) => {
15131
15037
  const { editor } = options;
15132
15038
  if (!editor)
15133
15039
  return extend;
15134
- const inspect = (0, import_utils10.isUndefined)(editor.inspect) ? (0, import_utils10.isDevelopment)() : editor.inspect;
15040
+ const inspect = (0, import_utils9.isUndefined)(editor.inspect) ? (0, import_utils9.isDevelopment)() : editor.inspect;
15135
15041
  if (inspect)
15136
15042
  extend.push(import_socket_ui.DevFocus);
15137
- const liveSync = (0, import_utils10.isUndefined)(editor.liveSync) ? (0, import_utils10.isDevelopment)() : editor.liveSync;
15043
+ const liveSync = (0, import_utils9.isUndefined)(editor.liveSync) ? (0, import_utils9.isDevelopment)() : editor.liveSync;
15138
15044
  if (liveSync)
15139
15045
  extend.push(import_socket_ui.Sync);
15140
15046
  return extend;
@@ -15143,7 +15049,7 @@ var init_syncExtend = __esm({
15143
15049
  const { editor } = options;
15144
15050
  if (!editor)
15145
15051
  return;
15146
- const inspect = (0, import_utils10.isUndefined)(editor.inspect) ? (0, import_utils10.isDevelopment)() : editor.inspect;
15052
+ const inspect = (0, import_utils9.isUndefined)(editor.inspect) ? (0, import_utils9.isDevelopment)() : editor.inspect;
15147
15053
  if (inspect)
15148
15054
  (0, import_socket_ui.inspectOnKey)(root, options);
15149
15055
  };
@@ -15151,11 +15057,11 @@ var init_syncExtend = __esm({
15151
15057
  });
15152
15058
 
15153
15059
  // node_modules/@symbo.ls/atoms/Block.js
15154
- var import_utils11, import_scratch6, Block2, Hr2, Br2, Div2, Span2, Ul2, Gutter2;
15060
+ var import_utils10, import_scratch6, Block2, Hr2, Br2, Div2, Span2, Li2, Ul2, Gutter2;
15155
15061
  var init_Block2 = __esm({
15156
15062
  "node_modules/@symbo.ls/atoms/Block.js"() {
15157
15063
  "use strict";
15158
- import_utils11 = __toESM(require_cjs());
15064
+ import_utils10 = __toESM(require_cjs());
15159
15065
  import_scratch6 = __toESM(require_cjs2());
15160
15066
  Block2 = {
15161
15067
  deps: {
@@ -15163,20 +15069,22 @@ var init_Block2 = __esm({
15163
15069
  getSpacingByKey: import_scratch6.getSpacingByKey,
15164
15070
  transfromGap: import_scratch6.transfromGap,
15165
15071
  transformSizeRatio: import_scratch6.transformSizeRatio,
15166
- transformSize: import_scratch6.transformSize
15072
+ transformSize: import_scratch6.transformSize,
15073
+ isUndefined: import_utils10.isUndefined,
15074
+ isString: import_utils10.isString
15167
15075
  },
15168
15076
  class: {
15169
- boxSizing: ({ props: props2 }) => !(0, import_utils11.isUndefined)(props2.boxSizing) ? { boxSizing: props2.boxSizing } : { boxSizing: "border-box" },
15170
- display: ({ props: props2 }) => !(0, import_utils11.isUndefined)(props2.display) && {
15077
+ boxSizing: ({ props: props2, deps }) => !deps.isUndefined(props2.boxSizing) ? { boxSizing: props2.boxSizing } : { boxSizing: "border-box" },
15078
+ display: ({ props: props2, deps }) => !deps.isUndefined(props2.display) && {
15171
15079
  display: props2.display
15172
15080
  },
15173
- hide: ({ props: props2 }) => props2.hide && {
15081
+ hide: ({ props: props2, deps }) => props2.hide && {
15174
15082
  display: "none !important"
15175
15083
  },
15176
15084
  width: ({ props: props2, deps }) => deps.transformSizeRatio("width", props2),
15177
15085
  height: ({ props: props2, deps }) => deps.transformSizeRatio("height", props2),
15178
15086
  boxSize: ({ props: props2, deps }) => {
15179
- if (!(0, import_utils11.isString)(props2.boxSize))
15087
+ if (!deps.isString(props2.boxSize))
15180
15088
  return;
15181
15089
  const [height, width] = props2.boxSize.split(" ");
15182
15090
  return {
@@ -15187,7 +15095,7 @@ var init_Block2 = __esm({
15187
15095
  minWidth: ({ props: props2, deps }) => deps.transformSizeRatio("minWidth", props2),
15188
15096
  maxWidth: ({ props: props2, deps }) => deps.transformSizeRatio("maxWidth", props2),
15189
15097
  widthRange: ({ props: props2, deps }) => {
15190
- if (!(0, import_utils11.isString)(props2.widthRange))
15098
+ if (!deps.isString(props2.widthRange))
15191
15099
  return;
15192
15100
  const [minWidth, maxWidth] = props2.widthRange.split(" ");
15193
15101
  return {
@@ -15198,7 +15106,7 @@ var init_Block2 = __esm({
15198
15106
  minHeight: ({ props: props2, deps }) => deps.transformSizeRatio("minHeight", props2),
15199
15107
  maxHeight: ({ props: props2, deps }) => deps.transformSizeRatio("maxHeight", props2),
15200
15108
  heightRange: ({ props: props2, deps }) => {
15201
- if (!(0, import_utils11.isString)(props2.heightRange))
15109
+ if (!deps.isString(props2.heightRange))
15202
15110
  return;
15203
15111
  const [minHeight, maxHeight] = props2.heightRange.split(" ");
15204
15112
  return {
@@ -15207,7 +15115,7 @@ var init_Block2 = __esm({
15207
15115
  };
15208
15116
  },
15209
15117
  minSize: ({ props: props2, deps }) => {
15210
- if (!(0, import_utils11.isString)(props2.minSize))
15118
+ if (!deps.isString(props2.minSize))
15211
15119
  return;
15212
15120
  const [minHeight, minWidth] = props2.minSize.split(" ");
15213
15121
  return {
@@ -15216,7 +15124,7 @@ var init_Block2 = __esm({
15216
15124
  };
15217
15125
  },
15218
15126
  maxSize: ({ props: props2, deps }) => {
15219
- if (!(0, import_utils11.isString)(props2.maxSize))
15127
+ if (!deps.isString(props2.maxSize))
15220
15128
  return;
15221
15129
  const [maxHeight, maxWidth] = props2.maxSize.split(" ");
15222
15130
  return {
@@ -15224,17 +15132,17 @@ var init_Block2 = __esm({
15224
15132
  ...deps.transformSize("maxWidth", maxWidth || maxHeight)
15225
15133
  };
15226
15134
  },
15227
- direction: ({ props: props2 }) => !(0, import_utils11.isUndefined)(props2.direction) && {
15135
+ direction: ({ props: props2, deps }) => !deps.isUndefined(props2.direction) && {
15228
15136
  direction: props2.direction
15229
15137
  },
15230
- aspectRatio: ({ props: props2 }) => !(0, import_utils11.isUndefined)(props2.aspectRatio) && {
15138
+ aspectRatio: ({ props: props2, deps }) => !deps.isUndefined(props2.aspectRatio) && {
15231
15139
  aspectRatio: props2.aspectRatio
15232
15140
  },
15233
15141
  borderWidth: ({ props: props2, deps }) => deps.transformSizeRatio("borderWidth", props2),
15234
15142
  padding: ({ props: props2, deps }) => deps.transformSizeRatio("padding", props2),
15235
15143
  scrollPadding: ({ props: props2, deps }) => deps.transformSizeRatio("scrollPadding", props2),
15236
15144
  paddingInline: ({ props: props2, deps }) => {
15237
- if (!(0, import_utils11.isString)(props2.paddingInline))
15145
+ if (!deps.isString(props2.paddingInline))
15238
15146
  return;
15239
15147
  const [paddingInlineStart, paddingInlineEnd] = props2.paddingInline.split(" ");
15240
15148
  return {
@@ -15243,7 +15151,7 @@ var init_Block2 = __esm({
15243
15151
  };
15244
15152
  },
15245
15153
  paddingBlock: ({ props: props2, deps }) => {
15246
- if (!(0, import_utils11.isString)(props2.paddingBlock))
15154
+ if (!deps.isString(props2.paddingBlock))
15247
15155
  return;
15248
15156
  const [paddingBlockStart, paddingBlockEnd] = props2.paddingBlock.split(" ");
15249
15157
  return {
@@ -15257,7 +15165,7 @@ var init_Block2 = __esm({
15257
15165
  paddingBlockEnd: ({ props: props2, deps }) => deps.transformSizeRatio("paddingBlockEnd", props2),
15258
15166
  margin: ({ props: props2, deps }) => deps.transformSizeRatio("margin", props2),
15259
15167
  marginInline: ({ props: props2, deps }) => {
15260
- if (!(0, import_utils11.isString)(props2.marginInline))
15168
+ if (!deps.isString(props2.marginInline))
15261
15169
  return;
15262
15170
  const [marginInlineStart, marginInlineEnd] = props2.marginInline.split(" ");
15263
15171
  return {
@@ -15266,7 +15174,7 @@ var init_Block2 = __esm({
15266
15174
  };
15267
15175
  },
15268
15176
  marginBlock: ({ props: props2, deps }) => {
15269
- if (!(0, import_utils11.isString)(props2.marginBlock))
15177
+ if (!deps.isString(props2.marginBlock))
15270
15178
  return;
15271
15179
  const [marginBlockStart, marginBlockEnd] = props2.marginBlock.split(" ");
15272
15180
  return {
@@ -15278,41 +15186,44 @@ var init_Block2 = __esm({
15278
15186
  marginInlineEnd: ({ props: props2, deps }) => deps.transformSizeRatio("marginInlineEnd", props2),
15279
15187
  marginBlockStart: ({ props: props2, deps }) => deps.transformSizeRatio("marginBlockStart", props2),
15280
15188
  marginBlockEnd: ({ props: props2, deps }) => deps.transformSizeRatio("marginBlockEnd", props2),
15281
- gap: ({ props: props2 }) => !(0, import_utils11.isUndefined)(props2.gap) && {
15189
+ gap: ({ props: props2, deps }) => !deps.isUndefined(props2.gap) && {
15282
15190
  gap: (0, import_scratch6.transfromGap)(props2.gap)
15283
15191
  },
15284
15192
  gridArea: ({ props: props2, deps }) => props2.gridArea && { gridArea: props2.gridArea },
15285
- flex: ({ props: props2 }) => props2.flex && {
15193
+ float: ({ props: props2, deps }) => !deps.isUndefined(props2.float) && {
15194
+ float: props2.float
15195
+ },
15196
+ flex: ({ props: props2, deps }) => props2.flex && {
15286
15197
  flex: props2.flex
15287
15198
  },
15288
- flexDirection: ({ props: props2 }) => !(0, import_utils11.isUndefined)(props2.flexDirection) && {
15199
+ flexDirection: ({ props: props2, deps }) => !deps.isUndefined(props2.flexDirection) && {
15289
15200
  flexDirection: props2.flexDirection
15290
15201
  },
15291
- alignItems: ({ props: props2 }) => !(0, import_utils11.isUndefined)(props2.alignItems) && {
15202
+ alignItems: ({ props: props2, deps }) => !deps.isUndefined(props2.alignItems) && {
15292
15203
  alignItems: props2.alignItems
15293
15204
  },
15294
- alignContent: ({ props: props2 }) => !(0, import_utils11.isUndefined)(props2.alignContent) && {
15205
+ alignContent: ({ props: props2, deps }) => !deps.isUndefined(props2.alignContent) && {
15295
15206
  alignContent: props2.alignContent
15296
15207
  },
15297
- justifyContent: ({ props: props2 }) => !(0, import_utils11.isUndefined)(props2.justifyContent) && {
15208
+ justifyContent: ({ props: props2, deps }) => !deps.isUndefined(props2.justifyContent) && {
15298
15209
  justifyContent: props2.justifyContent
15299
15210
  },
15300
- justifyItems: ({ props: props2 }) => !(0, import_utils11.isUndefined)(props2.justifyItems) && {
15211
+ justifyItems: ({ props: props2, deps }) => !deps.isUndefined(props2.justifyItems) && {
15301
15212
  justifyItems: props2.justifyItems
15302
15213
  },
15303
- alignSelf: ({ props: props2 }) => !(0, import_utils11.isUndefined)(props2.alignSelf) && {
15214
+ alignSelf: ({ props: props2, deps }) => !deps.isUndefined(props2.alignSelf) && {
15304
15215
  alignSelf: props2.alignSelf
15305
15216
  },
15306
- order: ({ props: props2 }) => !(0, import_utils11.isUndefined)(props2.order) && {
15217
+ order: ({ props: props2, deps }) => !deps.isUndefined(props2.order) && {
15307
15218
  order: props2.order
15308
15219
  },
15309
- flexWrap: ({ props: props2 }) => !(0, import_utils11.isUndefined)(props2.flexWrap) && {
15220
+ flexWrap: ({ props: props2, deps }) => !deps.isUndefined(props2.flexWrap) && {
15310
15221
  display: "flex",
15311
15222
  flexFlow: (props2.flexFlow || "row").split(" ")[0] + " " + props2.flexWrap
15312
15223
  },
15313
- flexFlow: ({ props: props2 }) => {
15224
+ flexFlow: ({ props: props2, deps }) => {
15314
15225
  const { flexFlow, reverse } = props2;
15315
- if (!(0, import_utils11.isString)(flexFlow))
15226
+ if (!deps.isString(flexFlow))
15316
15227
  return;
15317
15228
  let [direction, wrap] = (flexFlow || "row").split(" ");
15318
15229
  if (flexFlow.startsWith("x") || flexFlow === "row")
@@ -15324,8 +15235,8 @@ var init_Block2 = __esm({
15324
15235
  flexFlow: (direction || "") + (!direction.includes("-reverse") && reverse ? "-reverse" : "") + " " + (wrap || "")
15325
15236
  };
15326
15237
  },
15327
- flexAlign: ({ props: props2 }) => {
15328
- if (!(0, import_utils11.isString)(props2.flexAlign))
15238
+ flexAlign: ({ props: props2, deps }) => {
15239
+ if (!deps.isString(props2.flexAlign))
15329
15240
  return;
15330
15241
  const [alignItems, justifyContent] = props2.flexAlign.split(" ");
15331
15242
  return {
@@ -15334,20 +15245,20 @@ var init_Block2 = __esm({
15334
15245
  justifyContent
15335
15246
  };
15336
15247
  },
15337
- gridColumn: ({ props: props2 }) => !(0, import_utils11.isUndefined)(props2.gridColumn) && {
15248
+ gridColumn: ({ props: props2, deps }) => !deps.isUndefined(props2.gridColumn) && {
15338
15249
  gridColumn: props2.gridColumn
15339
15250
  },
15340
- gridColumnStart: ({ props: props2 }) => !(0, import_utils11.isUndefined)(props2.gridColumnStart) && {
15251
+ gridColumnStart: ({ props: props2, deps }) => !deps.isUndefined(props2.gridColumnStart) && {
15341
15252
  gridColumnStart: props2.gridColumnStart
15342
15253
  },
15343
- gridRow: ({ props: props2 }) => !(0, import_utils11.isUndefined)(props2.gridRow) && {
15254
+ gridRow: ({ props: props2, deps }) => !deps.isUndefined(props2.gridRow) && {
15344
15255
  gridRow: props2.gridRow
15345
15256
  },
15346
- gridRowStart: ({ props: props2 }) => !(0, import_utils11.isUndefined)(props2.gridRowStart) && {
15257
+ gridRowStart: ({ props: props2, deps }) => !deps.isUndefined(props2.gridRowStart) && {
15347
15258
  gridRowStart: props2.gridRowStart
15348
15259
  },
15349
15260
  size: ({ props: props2, deps }) => {
15350
- if (!(0, import_utils11.isString)(props2.heightRange))
15261
+ if (!deps.isString(props2.heightRange))
15351
15262
  return;
15352
15263
  const [minHeight, maxHeight] = props2.heightRange.split(" ");
15353
15264
  return {
@@ -15355,27 +15266,27 @@ var init_Block2 = __esm({
15355
15266
  ...deps.transformSizeRatio("maxHeight", maxHeight || minHeight)
15356
15267
  };
15357
15268
  },
15358
- resize: ({ props: props2 }) => !(0, import_utils11.isUndefined)(props2.resize) && {
15269
+ resize: ({ props: props2, deps }) => !deps.isUndefined(props2.resize) && {
15359
15270
  resize: props2.resize
15360
15271
  },
15361
- verticalAlign: ({ props: props2 }) => !(0, import_utils11.isUndefined)(props2.verticalAlign) && { verticalAlign: props2.verticalAlign },
15362
- columns: ({ props: props2 }) => !(0, import_utils11.isUndefined)(props2.columns) && {
15272
+ verticalAlign: ({ props: props2, deps }) => !deps.isUndefined(props2.verticalAlign) && { verticalAlign: props2.verticalAlign },
15273
+ columns: ({ props: props2, deps }) => !deps.isUndefined(props2.columns) && {
15363
15274
  columns: props2.columns
15364
15275
  },
15365
- columnRule: ({ props: props2 }) => !(0, import_utils11.isUndefined)(props2.columnRule) && {
15276
+ columnRule: ({ props: props2, deps }) => !deps.isUndefined(props2.columnRule) && {
15366
15277
  columnRule: props2.columnRule
15367
15278
  },
15368
- columnWidth: ({ props: props2 }) => !(0, import_utils11.isUndefined)(props2.columnWidth) && {
15279
+ columnWidth: ({ props: props2, deps }) => !deps.isUndefined(props2.columnWidth) && {
15369
15280
  columnWidth: props2.columnWidth
15370
15281
  },
15371
15282
  columnGap: ({ props: props2, deps }) => deps.transformSizeRatio("columnGap", props2),
15372
- columnSpan: ({ props: props2 }) => !(0, import_utils11.isUndefined)(props2.columnSpan) && {
15283
+ columnSpan: ({ props: props2, deps }) => !deps.isUndefined(props2.columnSpan) && {
15373
15284
  columnSpan: props2.columnSpan
15374
15285
  },
15375
- columnFill: ({ props: props2 }) => !(0, import_utils11.isUndefined)(props2.columnFill) && {
15286
+ columnFill: ({ props: props2, deps }) => !deps.isUndefined(props2.columnFill) && {
15376
15287
  columnFill: props2.columnFill
15377
15288
  },
15378
- columnCount: ({ props: props2 }) => !(0, import_utils11.isUndefined)(props2.columnCount) && {
15289
+ columnCount: ({ props: props2, deps }) => !deps.isUndefined(props2.columnCount) && {
15379
15290
  columnCount: props2.columnCount
15380
15291
  }
15381
15292
  }
@@ -15387,9 +15298,10 @@ var init_Block2 = __esm({
15387
15298
  Br2 = { tag: "br" };
15388
15299
  Div2 = { tag: "div" };
15389
15300
  Span2 = { tag: "span" };
15301
+ Li2 = { tag: "li" };
15390
15302
  Ul2 = {
15391
15303
  tag: "ul",
15392
- childExtend: { tag: "li" }
15304
+ childExtend: { extend: "Li" }
15393
15305
  };
15394
15306
  Gutter2 = {
15395
15307
  deps: { getSpacingByKey: import_scratch6.getSpacingByKey },
@@ -15398,7 +15310,7 @@ var init_Block2 = __esm({
15398
15310
  },
15399
15311
  class: {
15400
15312
  size: ({ props: props2, deps }) => {
15401
- if (!(0, import_utils11.isString)(props2.size))
15313
+ if (!deps.isString(props2.size))
15402
15314
  return;
15403
15315
  const [height, width] = props2.size.split(" ");
15404
15316
  return {
@@ -15428,11 +15340,11 @@ var init_Direction2 = __esm({
15428
15340
  });
15429
15341
 
15430
15342
  // node_modules/@symbo.ls/atoms/Flex.js
15431
- var import_utils12, Flex2;
15343
+ var import_utils11, Flex2;
15432
15344
  var init_Flex2 = __esm({
15433
15345
  "node_modules/@symbo.ls/atoms/Flex.js"() {
15434
15346
  "use strict";
15435
- import_utils12 = __toESM(require_cjs());
15347
+ import_utils11 = __toESM(require_cjs());
15436
15348
  Flex2 = {
15437
15349
  props: {
15438
15350
  display: "flex"
@@ -15440,7 +15352,7 @@ var init_Flex2 = __esm({
15440
15352
  class: {
15441
15353
  flow: ({ props: props2 }) => {
15442
15354
  const { flow, reverse } = props2;
15443
- if (!(0, import_utils12.isString)(flow))
15355
+ if (!(0, import_utils11.isString)(flow))
15444
15356
  return;
15445
15357
  let [direction, wrap] = (flow || "row").split(" ");
15446
15358
  if (flow.startsWith("x") || flow === "row")
@@ -15453,7 +15365,7 @@ var init_Flex2 = __esm({
15453
15365
  },
15454
15366
  wrap: ({ props: props2 }) => props2.wrap && { flexWrap: props2.wrap },
15455
15367
  align: ({ props: props2 }) => {
15456
- if (!(0, import_utils12.isString)(props2.align))
15368
+ if (!(0, import_utils11.isString)(props2.align))
15457
15369
  return;
15458
15370
  const [alignItems, justifyContent] = props2.align.split(" ");
15459
15371
  return { alignItems, justifyContent };
@@ -15780,13 +15692,13 @@ var init_style = __esm({
15780
15692
  });
15781
15693
 
15782
15694
  // node_modules/@symbo.ls/atoms/Theme.js
15783
- var import_scratch10, import_utils13, getSystemGlobalTheme, Theme;
15695
+ var import_scratch10, import_utils12, getSystemGlobalTheme, Theme;
15784
15696
  var init_Theme = __esm({
15785
15697
  "node_modules/@symbo.ls/atoms/Theme.js"() {
15786
15698
  "use strict";
15787
15699
  import_scratch10 = __toESM(require_cjs2());
15788
15700
  init_style();
15789
- import_utils13 = __toESM(require_cjs());
15701
+ import_utils12 = __toESM(require_cjs());
15790
15702
  getSystemGlobalTheme = ({ context, state }) => {
15791
15703
  const rootState = state && state.root;
15792
15704
  return rootState && rootState.globalTheme ? rootState.globalTheme : context.designSystem && context.designSystem.globalTheme;
@@ -15804,7 +15716,7 @@ var init_Theme = __esm({
15804
15716
  transformBackgroundImage: import_scratch10.transformBackgroundImage
15805
15717
  },
15806
15718
  class: {
15807
- depth: ({ props: props2, deps }) => !(0, import_utils13.isUndefined)(props2.depth) && deps.depth[props2.depth],
15719
+ depth: ({ props: props2, deps }) => !(0, import_utils12.isUndefined)(props2.depth) && deps.depth[props2.depth],
15808
15720
  theme: (element) => {
15809
15721
  const { props: props2, deps } = element;
15810
15722
  const globalTheme = deps.getSystemGlobalTheme(element);
@@ -15856,22 +15768,22 @@ var init_Theme = __esm({
15856
15768
  backgroundImage: deps.transformBackgroundImage(props2.backgroundImage, globalTheme)
15857
15769
  };
15858
15770
  },
15859
- backgroundSize: ({ props: props2 }) => !(0, import_utils13.isUndefined)(props2.backgroundSize) ? {
15771
+ backgroundSize: ({ props: props2 }) => !(0, import_utils12.isUndefined)(props2.backgroundSize) ? {
15860
15772
  backgroundSize: props2.backgroundSize
15861
15773
  } : null,
15862
- backgroundPosition: ({ props: props2 }) => !(0, import_utils13.isUndefined)(props2.backgroundPosition) ? {
15774
+ backgroundPosition: ({ props: props2 }) => !(0, import_utils12.isUndefined)(props2.backgroundPosition) ? {
15863
15775
  backgroundPosition: props2.backgroundPosition
15864
15776
  } : null,
15865
- backgroundRepeat: ({ props: props2 }) => !(0, import_utils13.isUndefined)(props2.backgroundRepeat) ? {
15777
+ backgroundRepeat: ({ props: props2 }) => !(0, import_utils12.isUndefined)(props2.backgroundRepeat) ? {
15866
15778
  backgroundRepeat: props2.backgroundRepeat
15867
15779
  } : null,
15868
- textStroke: ({ props: props2, deps }) => !(0, import_utils13.isUndefined)(props2.textStroke) ? {
15780
+ textStroke: ({ props: props2, deps }) => !(0, import_utils12.isUndefined)(props2.textStroke) ? {
15869
15781
  WebkitTextStroke: deps.transformTextStroke(props2.textStroke)
15870
15782
  } : null,
15871
- outline: ({ props: props2, deps }) => !(0, import_utils13.isUndefined)(props2.outline) && {
15783
+ outline: ({ props: props2, deps }) => !(0, import_utils12.isUndefined)(props2.outline) && {
15872
15784
  outline: deps.transformBorder(props2.outline)
15873
15785
  },
15874
- border: ({ props: props2, deps }) => !(0, import_utils13.isUndefined)(props2.border) && {
15786
+ border: ({ props: props2, deps }) => !(0, import_utils12.isUndefined)(props2.border) && {
15875
15787
  border: deps.transformBorder(props2.border)
15876
15788
  },
15877
15789
  borderColor: (element) => {
@@ -15883,19 +15795,19 @@ var init_Theme = __esm({
15883
15795
  borderColor: deps.getMediaColor(props2.borderColor, globalTheme)
15884
15796
  };
15885
15797
  },
15886
- borderStyle: ({ props: props2 }) => !(0, import_utils13.isUndefined)(props2.borderStyle) && {
15798
+ borderStyle: ({ props: props2 }) => !(0, import_utils12.isUndefined)(props2.borderStyle) && {
15887
15799
  borderStyle: props2.borderStyle
15888
15800
  },
15889
- borderLeft: ({ props: props2, deps }) => !(0, import_utils13.isUndefined)(props2.borderLeft) && {
15801
+ borderLeft: ({ props: props2, deps }) => !(0, import_utils12.isUndefined)(props2.borderLeft) && {
15890
15802
  borderLeft: deps.transformBorder(props2.borderLeft)
15891
15803
  },
15892
- borderTop: ({ props: props2, deps }) => !(0, import_utils13.isUndefined)(props2.borderTop) && {
15804
+ borderTop: ({ props: props2, deps }) => !(0, import_utils12.isUndefined)(props2.borderTop) && {
15893
15805
  borderTop: deps.transformBorder(props2.borderTop)
15894
15806
  },
15895
- borderRight: ({ props: props2, deps }) => !(0, import_utils13.isUndefined)(props2.borderRight) && {
15807
+ borderRight: ({ props: props2, deps }) => !(0, import_utils12.isUndefined)(props2.borderRight) && {
15896
15808
  borderRight: deps.transformBorder(props2.borderRight)
15897
15809
  },
15898
- borderBottom: ({ props: props2, deps }) => !(0, import_utils13.isUndefined)(props2.borderBottom) && {
15810
+ borderBottom: ({ props: props2, deps }) => !(0, import_utils12.isUndefined)(props2.borderBottom) && {
15899
15811
  borderBottom: deps.transformBorder(props2.borderBottom)
15900
15812
  },
15901
15813
  shadow: (element) => {
@@ -15907,31 +15819,31 @@ var init_Theme = __esm({
15907
15819
  boxShadow: deps.transformShadow(props2.shadow, globalTheme)
15908
15820
  };
15909
15821
  },
15910
- boxShadow: ({ props: props2, deps }) => (0, import_utils13.isString)(props2.boxShadow) && {
15822
+ boxShadow: ({ props: props2, deps }) => (0, import_utils12.isString)(props2.boxShadow) && {
15911
15823
  boxShadow: deps.transformBoxShadow(props2.boxShadow)
15912
15824
  },
15913
- textShadow: ({ props: props2, deps }) => !(0, import_utils13.isUndefined)(props2.textShadow) && {
15825
+ textShadow: ({ props: props2, deps }) => !(0, import_utils12.isUndefined)(props2.textShadow) && {
15914
15826
  textShadow: deps.transformBoxShadow(props2.textShadow)
15915
15827
  },
15916
- backdropFilter: ({ props: props2, deps }) => !(0, import_utils13.isUndefined)(props2.backdropFilter) && {
15828
+ backdropFilter: ({ props: props2, deps }) => !(0, import_utils12.isUndefined)(props2.backdropFilter) && {
15917
15829
  backdropFilter: props2.backdropFilter
15918
15830
  },
15919
- opacity: ({ props: props2 }) => !(0, import_utils13.isUndefined)(props2.opacity) && {
15831
+ opacity: ({ props: props2 }) => !(0, import_utils12.isUndefined)(props2.opacity) && {
15920
15832
  opacity: props2.opacity
15921
15833
  },
15922
- visibility: ({ props: props2 }) => !(0, import_utils13.isUndefined)(props2.visibility) && {
15834
+ visibility: ({ props: props2 }) => !(0, import_utils12.isUndefined)(props2.visibility) && {
15923
15835
  visibility: props2.visibility
15924
15836
  },
15925
- columnRule: ({ props: props2, deps }) => !(0, import_utils13.isUndefined)(props2.columnRule) && {
15837
+ columnRule: ({ props: props2, deps }) => !(0, import_utils12.isUndefined)(props2.columnRule) && {
15926
15838
  columnRule: deps.transformBorder(props2.columnRule)
15927
15839
  },
15928
- filter: ({ props: props2, deps }) => !(0, import_utils13.isUndefined)(props2.filter) && {
15840
+ filter: ({ props: props2, deps }) => !(0, import_utils12.isUndefined)(props2.filter) && {
15929
15841
  filter: props2.filter
15930
15842
  },
15931
- mixBlendMode: ({ props: props2, deps }) => !(0, import_utils13.isUndefined)(props2.mixBlendMode) && {
15843
+ mixBlendMode: ({ props: props2, deps }) => !(0, import_utils12.isUndefined)(props2.mixBlendMode) && {
15932
15844
  mixBlendMode: props2.mixBlendMode
15933
15845
  },
15934
- appearance: ({ props: props2 }) => !(0, import_utils13.isUndefined)(props2.appearance) && {
15846
+ appearance: ({ props: props2 }) => !(0, import_utils12.isUndefined)(props2.appearance) && {
15935
15847
  appearance: props2.appearance
15936
15848
  }
15937
15849
  }
@@ -15940,11 +15852,11 @@ var init_Theme = __esm({
15940
15852
  });
15941
15853
 
15942
15854
  // node_modules/@symbo.ls/atoms/Media.js
15943
- var import_utils14, keySetters, execClass, convertPropsToClass, applyMediaProps, applyAndProps, applySelectorProps, applyCaseProps, applyVariableProps, applyConditionalCaseProps, applyConditionalFalsyProps, applyTrueProps, beforeClassAssign, Media;
15855
+ var import_utils13, keySetters, execClass, convertPropsToClass, applyMediaProps, applyAndProps, applySelectorProps, applyCaseProps, applyVariableProps, applyConditionalCaseProps, applyConditionalFalsyProps, applyTrueProps, beforeClassAssign, Media;
15944
15856
  var init_Media = __esm({
15945
15857
  "node_modules/@symbo.ls/atoms/Media.js"() {
15946
15858
  "use strict";
15947
- import_utils14 = __toESM(require_cjs());
15859
+ import_utils13 = __toESM(require_cjs());
15948
15860
  init_Theme();
15949
15861
  keySetters = {
15950
15862
  "@": (key, props2, result, element, isSubtree) => applyMediaProps(
@@ -16031,8 +15943,8 @@ var init_Media = __esm({
16031
15943
  state: element.state,
16032
15944
  deps: element.deps
16033
15945
  });
16034
- if ((0, import_utils14.isArray)(classExec))
16035
- classExec = classExec.reduce((a, c) => (0, import_utils14.merge)(a, c), {});
15946
+ if ((0, import_utils13.isArray)(classExec))
15947
+ classExec = classExec.reduce((a, c) => (0, import_utils13.merge)(a, c), {});
16036
15948
  for (const finalProp in classExec) {
16037
15949
  result[finalProp] = classExec[finalProp];
16038
15950
  }
@@ -16064,7 +15976,7 @@ var init_Media = __esm({
16064
15976
  const matchesGlobal = name === globalTheme;
16065
15977
  if (globalTheme && isTheme) {
16066
15978
  if (matchesGlobal)
16067
- return (0, import_utils14.merge)(result, generatedClass);
15979
+ return (0, import_utils13.merge)(result, generatedClass);
16068
15980
  return;
16069
15981
  }
16070
15982
  const mediaKey = mediaValue ? `@media screen and ${mediaValue}` : key;
@@ -16086,7 +15998,7 @@ var init_Media = __esm({
16086
15998
  const isPropTrue = element.props[caseKey];
16087
15999
  if (!CASES[caseKey] && !isPropTrue)
16088
16000
  return;
16089
- return (0, import_utils14.merge)(result, convertPropsToClass(props2, result, element));
16001
+ return (0, import_utils13.merge)(result, convertPropsToClass(props2, result, element));
16090
16002
  };
16091
16003
  applyVariableProps = (key, props2, result, element) => {
16092
16004
  result[key] = props2;
@@ -16097,15 +16009,15 @@ var init_Media = __esm({
16097
16009
  const isPropTrue = element.props[caseKey] || element.state[caseKey];
16098
16010
  if (!isPropTrue)
16099
16011
  return;
16100
- return (0, import_utils14.overwriteDeep)(result, convertPropsToClass(props2, result, element));
16012
+ return (0, import_utils13.overwriteDeep)(result, convertPropsToClass(props2, result, element));
16101
16013
  };
16102
16014
  applyConditionalFalsyProps = (key, props2, result, element) => {
16103
16015
  const caseKey = key.slice(1);
16104
16016
  const isPropTrue = element.props[caseKey] || element.state[caseKey] === true;
16105
16017
  if (!isPropTrue)
16106
- return (0, import_utils14.overwriteDeep)(result, convertPropsToClass(props2, result, element));
16018
+ return (0, import_utils13.overwriteDeep)(result, convertPropsToClass(props2, result, element));
16107
16019
  };
16108
- applyTrueProps = (props2, result, element) => (0, import_utils14.merge)(result, convertPropsToClass(props2, result, element));
16020
+ applyTrueProps = (props2, result, element) => (0, import_utils13.merge)(result, convertPropsToClass(props2, result, element));
16109
16021
  beforeClassAssign = (element, s) => {
16110
16022
  const { props: props2, class: className, context } = element;
16111
16023
  const CLASS_NAMES = {
@@ -16148,7 +16060,7 @@ var init_Media = __esm({
16148
16060
  preventDefineUpdate: true
16149
16061
  });
16150
16062
  }
16151
- (0, import_utils14.overwriteShallow)(className, CLASS_NAMES);
16063
+ (0, import_utils13.overwriteShallow)(className, CLASS_NAMES);
16152
16064
  };
16153
16065
  Media = {
16154
16066
  class: {
@@ -16177,6 +16089,9 @@ var init_Iframe = __esm({
16177
16089
  },
16178
16090
  attr: {
16179
16091
  src: ({ props: props2 }) => props2.src,
16092
+ srcdoc: ({ props: props2 }) => props2.srcdoc,
16093
+ sandbox: ({ props: props2 }) => props2.sandbox,
16094
+ seamless: ({ props: props2 }) => props2.seamless,
16180
16095
  loading: ({ props: props2 }) => props2.loading,
16181
16096
  allowfullscreen: ({ props: props2 }) => props2.allowfullscreen,
16182
16097
  frameborder: ({ props: props2 }) => props2.frameborder,
@@ -16393,11 +16308,11 @@ var require_methods = __commonJS({
16393
16308
  toggle: () => toggle
16394
16309
  });
16395
16310
  module2.exports = __toCommonJS12(methods_exports);
16396
- var import_utils44 = require_cjs();
16311
+ var import_utils43 = require_cjs();
16397
16312
  var import_ignore = require_ignore();
16398
16313
  var parse3 = function() {
16399
16314
  const state = this;
16400
- if ((0, import_utils44.isObject)(state)) {
16315
+ if ((0, import_utils43.isObject)(state)) {
16401
16316
  const obj = {};
16402
16317
  for (const param in state) {
16403
16318
  if (!import_ignore.IGNORE_STATE_PARAMS.includes(param)) {
@@ -16405,7 +16320,7 @@ var require_methods = __commonJS({
16405
16320
  }
16406
16321
  }
16407
16322
  return obj;
16408
- } else if ((0, import_utils44.isArray)(state)) {
16323
+ } else if ((0, import_utils43.isArray)(state)) {
16409
16324
  return state.filter((item) => !import_ignore.IGNORE_STATE_PARAMS.includes(item));
16410
16325
  }
16411
16326
  };
@@ -16425,7 +16340,7 @@ var require_methods = __commonJS({
16425
16340
  const state = this;
16426
16341
  const element = state.__element;
16427
16342
  const stateKey = element.__ref.__state;
16428
- if ((0, import_utils44.isString)(stateKey)) {
16343
+ if ((0, import_utils43.isString)(stateKey)) {
16429
16344
  element.parent.state.remove(stateKey, { isHoisted: true, ...options });
16430
16345
  return element.state;
16431
16346
  }
@@ -16438,7 +16353,7 @@ var require_methods = __commonJS({
16438
16353
  for (const key in state.__children) {
16439
16354
  const child = state.__children[key];
16440
16355
  if (child.state) {
16441
- if ((0, import_utils44.isArray)(child.state)) {
16356
+ if ((0, import_utils43.isArray)(child.state)) {
16442
16357
  Object.defineProperty(child.state, "parent", {
16443
16358
  value: state.parent,
16444
16359
  enumerable: false,
@@ -16472,10 +16387,10 @@ var require_methods = __commonJS({
16472
16387
  };
16473
16388
  var add = function(value2, options = {}) {
16474
16389
  const state = this;
16475
- if ((0, import_utils44.isArray)(state)) {
16390
+ if ((0, import_utils43.isArray)(state)) {
16476
16391
  state.push(value2);
16477
16392
  state.update(state.parse(), { overwrite: true, ...options });
16478
- } else if ((0, import_utils44.isObject)(state)) {
16393
+ } else if ((0, import_utils43.isObject)(state)) {
16479
16394
  const key = Object.keys(state).length;
16480
16395
  state.update({ [key]: value2 }, options);
16481
16396
  }
@@ -16491,31 +16406,31 @@ var require_methods = __commonJS({
16491
16406
  };
16492
16407
  var set3 = function(val, options = {}) {
16493
16408
  const state = this;
16494
- const value2 = (0, import_utils44.deepCloneWithExtend)(val);
16409
+ const value2 = (0, import_utils43.deepCloneWithExtend)(val);
16495
16410
  return state.clean({ preventStateUpdate: true, ...options }).update(value2, { replace: true, ...options });
16496
16411
  };
16497
16412
  var reset = function(options = {}) {
16498
16413
  const state = this;
16499
- const value2 = (0, import_utils44.deepCloneWithExtend)(state.parse());
16414
+ const value2 = (0, import_utils43.deepCloneWithExtend)(state.parse());
16500
16415
  return state.set(value2, { replace: true, ...options });
16501
16416
  };
16502
16417
  var apply = function(func, options = {}) {
16503
16418
  const state = this;
16504
- if ((0, import_utils44.isFunction)(func)) {
16419
+ if ((0, import_utils43.isFunction)(func)) {
16505
16420
  const value2 = func(state);
16506
16421
  return state.update(value2, { replace: true, ...options });
16507
16422
  }
16508
16423
  };
16509
16424
  var applyReplace = function(func, options = {}) {
16510
16425
  const state = this;
16511
- if ((0, import_utils44.isFunction)(func)) {
16426
+ if ((0, import_utils43.isFunction)(func)) {
16512
16427
  const value2 = func(state);
16513
16428
  return state.replace(value2, options);
16514
16429
  }
16515
16430
  };
16516
16431
  var applyFunction = function(func, options = {}) {
16517
16432
  const state = this;
16518
- if ((0, import_utils44.isFunction)(func)) {
16433
+ if ((0, import_utils43.isFunction)(func)) {
16519
16434
  func(state);
16520
16435
  return state.update(state.parse(), { replace: true, ...options });
16521
16436
  }
@@ -16571,7 +16486,7 @@ var require_inherit = __commonJS({
16571
16486
  isState: () => isState3
16572
16487
  });
16573
16488
  module2.exports = __toCommonJS12(inherit_exports);
16574
- var import_utils44 = require_cjs();
16489
+ var import_utils43 = require_cjs();
16575
16490
  var import_ignore = require_ignore();
16576
16491
  var getRootStateInKey = (stateKey, parentState) => {
16577
16492
  if (!stateKey.includes("~/"))
@@ -16636,11 +16551,11 @@ var require_inherit = __commonJS({
16636
16551
  var createInheritedState = (element, parent) => {
16637
16552
  const ref = element.__ref;
16638
16553
  const inheritedState = findInheritedState(element, parent);
16639
- if ((0, import_utils44.isUndefined)(inheritedState))
16554
+ if ((0, import_utils43.isUndefined)(inheritedState))
16640
16555
  return element.state;
16641
- if ((0, import_utils44.is)(inheritedState)("object", "array")) {
16642
- return (0, import_utils44.deepCloneWithExtend)(inheritedState, import_ignore.IGNORE_STATE_PARAMS);
16643
- } else if ((0, import_utils44.is)(inheritedState)("string", "number", "boolean")) {
16556
+ if ((0, import_utils43.is)(inheritedState)("object", "array")) {
16557
+ return (0, import_utils43.deepCloneWithExtend)(inheritedState, import_ignore.IGNORE_STATE_PARAMS);
16558
+ } else if ((0, import_utils43.is)(inheritedState)("string", "number", "boolean")) {
16644
16559
  ref.__stateType = typeof inheritedState;
16645
16560
  return { value: inheritedState };
16646
16561
  }
@@ -16649,12 +16564,12 @@ var require_inherit = __commonJS({
16649
16564
  var checkIfInherits = (element) => {
16650
16565
  const ref = element.__ref;
16651
16566
  const stateKey = ref.__state;
16652
- if (stateKey && (0, import_utils44.is)(stateKey)("number", "string", "boolean"))
16567
+ if (stateKey && (0, import_utils43.is)(stateKey)("number", "string", "boolean"))
16653
16568
  return true;
16654
16569
  return false;
16655
16570
  };
16656
16571
  var isState3 = function(state) {
16657
- if (!(0, import_utils44.isObjectLike)(state))
16572
+ if (!(0, import_utils43.isObjectLike)(state))
16658
16573
  return false;
16659
16574
  return state.update && state.parse && state.clean && state.create && state.parent && state.destroy && state.rootUpdate && state.parentUpdate && state.toggle && state.replace && state.quietUpdate && state.quietReplace && state.add && state.apply && state.applyReplace && state.applyFunction && state.__element && state.__children;
16660
16575
  };
@@ -16703,7 +16618,7 @@ var require_updateState = __commonJS({
16703
16618
  var import_report = require_cjs4();
16704
16619
  var import_event = require_cjs5();
16705
16620
  var import_ignore = require_ignore();
16706
- var import_utils44 = require_cjs();
16621
+ var import_utils43 = require_cjs();
16707
16622
  var import_inherit = require_inherit();
16708
16623
  var STATE_UPDATE_OPTIONS = {
16709
16624
  overwrite: true,
@@ -16718,7 +16633,7 @@ var require_updateState = __commonJS({
16718
16633
  if (options.onEach)
16719
16634
  options.onEach(element, state, element.context, options);
16720
16635
  if (!options.updateByState)
16721
- (0, import_utils44.merge)(options, STATE_UPDATE_OPTIONS);
16636
+ (0, import_utils43.merge)(options, STATE_UPDATE_OPTIONS);
16722
16637
  if (!state.__element)
16723
16638
  (0, import_report.report)("ElementOnStateIsNotDefined");
16724
16639
  if (options.preventInheritAtCurrentState === true) {
@@ -16748,10 +16663,10 @@ var require_updateState = __commonJS({
16748
16663
  const shallow = overwrite === "shallow" || overwrite === "shallow-once";
16749
16664
  const merge22 = overwrite === "merge";
16750
16665
  if (merge22) {
16751
- (0, import_utils44.deepMerge)(state, obj, import_ignore.IGNORE_STATE_PARAMS);
16666
+ (0, import_utils43.deepMerge)(state, obj, import_ignore.IGNORE_STATE_PARAMS);
16752
16667
  return;
16753
16668
  }
16754
- const overwriteFunc = shallow ? import_utils44.overwriteShallow : import_utils44.overwriteDeep;
16669
+ const overwriteFunc = shallow ? import_utils43.overwriteShallow : import_utils43.overwriteDeep;
16755
16670
  if (options.overwrite === "shallow-once")
16756
16671
  options.overwrite = true;
16757
16672
  overwriteFunc(state, obj, import_ignore.IGNORE_STATE_PARAMS);
@@ -16776,7 +16691,7 @@ var require_updateState = __commonJS({
16776
16691
  const changesValue = (0, import_inherit.createNestedObjectByKeyPath)(stateKey, passedValue);
16777
16692
  const targetParent = findRootState || findGrandParentState || parent.state;
16778
16693
  if (options.replace)
16779
- (0, import_utils44.overwriteDeep)(targetParent, changesValue || value2);
16694
+ (0, import_utils43.overwriteDeep)(targetParent, changesValue || value2);
16780
16695
  targetParent.update(changesValue, {
16781
16696
  execStateFunction: false,
16782
16697
  isHoisted: true,
@@ -16845,7 +16760,7 @@ var require_create = __commonJS({
16845
16760
  });
16846
16761
  module2.exports = __toCommonJS12(create_exports);
16847
16762
  var import_event = require_cjs5();
16848
- var import_utils44 = require_cjs();
16763
+ var import_utils43 = require_cjs();
16849
16764
  var import_ignore = require_ignore();
16850
16765
  var import_methods = require_methods();
16851
16766
  var import_updateState = require_updateState();
@@ -16859,13 +16774,13 @@ var require_create = __commonJS({
16859
16774
  if (objectizeState === false)
16860
16775
  return parent.state || {};
16861
16776
  else
16862
- element.state = (0, import_utils44.deepCloneWithExtend)(objectizeState, import_ignore.IGNORE_STATE_PARAMS);
16777
+ element.state = (0, import_utils43.deepCloneWithExtend)(objectizeState, import_ignore.IGNORE_STATE_PARAMS);
16863
16778
  const whatInitReturns = (0, import_event.triggerEventOn)("stateInit", element, options);
16864
16779
  if (whatInitReturns === false)
16865
16780
  return element.state;
16866
16781
  if ((0, import_inherit.checkIfInherits)(element)) {
16867
16782
  const inheritedState = (0, import_inherit.createInheritedState)(element, parent);
16868
- element.state = (0, import_utils44.isUndefined)(inheritedState) ? {} : inheritedState;
16783
+ element.state = (0, import_utils43.isUndefined)(inheritedState) ? {} : inheritedState;
16869
16784
  }
16870
16785
  const dependentState = applyDependentState(element, element.state);
16871
16786
  if (dependentState)
@@ -16878,17 +16793,17 @@ var require_create = __commonJS({
16878
16793
  const { __ref: ref } = state;
16879
16794
  if (!ref)
16880
16795
  return;
16881
- const dependentState = (0, import_utils44.deepCloneWithExtend)(ref, import_ignore.IGNORE_STATE_PARAMS);
16796
+ const dependentState = (0, import_utils43.deepCloneWithExtend)(ref, import_ignore.IGNORE_STATE_PARAMS);
16882
16797
  const newDepends = { [element.key]: dependentState };
16883
- ref.__depends = (0, import_utils44.isObject)(ref.__depends) ? { ...ref.__depends, ...newDepends } : newDepends;
16798
+ ref.__depends = (0, import_utils43.isObject)(ref.__depends) ? { ...ref.__depends, ...newDepends } : newDepends;
16884
16799
  return dependentState;
16885
16800
  };
16886
16801
  var checkForTypes = (element) => {
16887
16802
  const { state, __ref: ref } = element;
16888
- if ((0, import_utils44.isFunction)(state)) {
16803
+ if ((0, import_utils43.isFunction)(state)) {
16889
16804
  ref.__state = state;
16890
- return (0, import_utils44.exec)(state, element);
16891
- } else if ((0, import_utils44.is)(state)("string", "number")) {
16805
+ return (0, import_utils43.exec)(state, element);
16806
+ } else if ((0, import_utils43.is)(state)("string", "number")) {
16892
16807
  ref.__state = state;
16893
16808
  return {};
16894
16809
  } else if (state === true) {
@@ -16941,7 +16856,7 @@ var require_create = __commonJS({
16941
16856
  __children: {},
16942
16857
  root: ref.root ? ref.root.state : state
16943
16858
  };
16944
- if ((0, import_utils44.isArray)(state)) {
16859
+ if ((0, import_utils43.isArray)(state)) {
16945
16860
  addProtoToArray(state, proto);
16946
16861
  } else {
16947
16862
  Object.setPrototypeOf(state, proto);
@@ -16982,25 +16897,25 @@ var require_cjs9 = __commonJS({
16982
16897
  });
16983
16898
 
16984
16899
  // node_modules/@symbo.ls/atoms/Collection.js
16985
- var import_state, import_utils15, Collection;
16900
+ var import_state, import_utils14, Collection;
16986
16901
  var init_Collection = __esm({
16987
16902
  "node_modules/@symbo.ls/atoms/Collection.js"() {
16988
16903
  "use strict";
16989
16904
  import_state = __toESM(require_cjs9());
16990
- import_utils15 = __toESM(require_cjs());
16905
+ import_utils14 = __toESM(require_cjs());
16991
16906
  Collection = {
16992
16907
  define: {
16993
16908
  $collection: (param, el, state) => {
16994
16909
  const { __ref: ref } = el;
16995
16910
  const { children, childrenAs, childrenExtend } = el.props || {};
16996
- const hasChildren = (0, import_utils15.isArray)(children);
16911
+ const hasChildren = (0, import_utils14.isArray)(children);
16997
16912
  if (hasChildren) {
16998
16913
  param = children;
16999
16914
  if (childrenAs)
17000
16915
  param = param.map((v) => ({ extend: childrenExtend, [childrenAs]: v }));
17001
16916
  } else if (!param)
17002
16917
  return;
17003
- if ((0, import_utils15.isString)(param)) {
16918
+ if ((0, import_utils14.isString)(param)) {
17004
16919
  if (param === "state")
17005
16920
  param = state.parse();
17006
16921
  else
@@ -17008,20 +16923,20 @@ var init_Collection = __esm({
17008
16923
  }
17009
16924
  if ((0, import_state.isState)(param))
17010
16925
  param = param.parse();
17011
- if ((0, import_utils15.isNot)(param)("array", "object"))
16926
+ if ((0, import_utils14.isNot)(param)("array", "object"))
17012
16927
  return;
17013
- param = (0, import_utils15.deepCloneWithExtend)(param);
16928
+ param = (0, import_utils14.deepCloneWithExtend)(param);
17014
16929
  if (ref.__collectionCache) {
17015
16930
  const equals = JSON.stringify(param) === JSON.stringify(ref.__collectionCache);
17016
16931
  if (equals) {
17017
16932
  ref.__noCollectionDifference = true;
17018
16933
  return;
17019
16934
  } else {
17020
- ref.__collectionCache = (0, import_utils15.deepCloneWithExtend)(param);
16935
+ ref.__collectionCache = (0, import_utils14.deepCloneWithExtend)(param);
17021
16936
  delete ref.__noCollectionDifference;
17022
16937
  }
17023
16938
  } else {
17024
- ref.__collectionCache = (0, import_utils15.deepCloneWithExtend)(param);
16939
+ ref.__collectionCache = (0, import_utils14.deepCloneWithExtend)(param);
17025
16940
  }
17026
16941
  const obj = {
17027
16942
  tag: "fragment",
@@ -17032,7 +16947,7 @@ var init_Collection = __esm({
17032
16947
  for (const key in param) {
17033
16948
  const value2 = param[key];
17034
16949
  if (value2)
17035
- obj[key] = (0, import_utils15.isObjectLike)(value2) ? value2 : { value: value2 };
16950
+ obj[key] = (0, import_utils14.isObjectLike)(value2) ? value2 : { value: value2 };
17036
16951
  }
17037
16952
  el.removeContent();
17038
16953
  el.content = obj;
@@ -17040,13 +16955,13 @@ var init_Collection = __esm({
17040
16955
  $setCollection: (param, el, state) => {
17041
16956
  if (!param)
17042
16957
  return;
17043
- if ((0, import_utils15.isString)(param)) {
16958
+ if ((0, import_utils14.isString)(param)) {
17044
16959
  if (param === "state")
17045
16960
  param = state.parse();
17046
16961
  else
17047
16962
  param = (0, import_state.getChildStateInKey)(param, state);
17048
16963
  }
17049
- const data = ((0, import_utils15.isArray)(param) ? param : (0, import_utils15.isObject)(param) ? Object.values(param) : []).map((item) => !(0, import_utils15.isObjectLike)(item) ? { props: { value: item } } : item);
16964
+ const data = ((0, import_utils14.isArray)(param) ? param : (0, import_utils14.isObject)(param) ? Object.values(param) : []).map((item) => !(0, import_utils14.isObjectLike)(item) ? { props: { value: item } } : item);
17050
16965
  if (data.length) {
17051
16966
  const t = setTimeout(() => {
17052
16967
  el.set({ tag: "fragment", ...data }, { preventDefineUpdate: "$setCollection" });
@@ -17058,7 +16973,7 @@ var init_Collection = __esm({
17058
16973
  $stateCollection: (param, el, state) => {
17059
16974
  if (!param)
17060
16975
  return;
17061
- if ((0, import_utils15.isString)(param)) {
16976
+ if ((0, import_utils14.isString)(param)) {
17062
16977
  if (param === "state")
17063
16978
  param = state.parse();
17064
16979
  else
@@ -17066,21 +16981,21 @@ var init_Collection = __esm({
17066
16981
  }
17067
16982
  if ((0, import_state.isState)(param))
17068
16983
  param = param.parse();
17069
- if ((0, import_utils15.isNot)(param)("array", "object"))
16984
+ if ((0, import_utils14.isNot)(param)("array", "object"))
17070
16985
  return;
17071
16986
  const { __ref: ref } = el;
17072
- param = (0, import_utils15.deepCloneWithExtend)(param);
16987
+ param = (0, import_utils14.deepCloneWithExtend)(param);
17073
16988
  if (ref.__stateCollectionCache) {
17074
16989
  const equals = JSON.stringify(param) === JSON.stringify(ref.__stateCollectionCache);
17075
16990
  if (equals) {
17076
16991
  ref.__noCollectionDifference = true;
17077
16992
  return;
17078
16993
  } else {
17079
- ref.__stateCollectionCache = (0, import_utils15.deepCloneWithExtend)(param);
16994
+ ref.__stateCollectionCache = (0, import_utils14.deepCloneWithExtend)(param);
17080
16995
  delete ref.__noCollectionDifference;
17081
16996
  }
17082
16997
  } else {
17083
- ref.__stateCollectionCache = (0, import_utils15.deepCloneWithExtend)(param);
16998
+ ref.__stateCollectionCache = (0, import_utils14.deepCloneWithExtend)(param);
17084
16999
  }
17085
17000
  const obj = {
17086
17001
  tag: "fragment",
@@ -17091,7 +17006,7 @@ var init_Collection = __esm({
17091
17006
  for (const key in param) {
17092
17007
  const value2 = param[key];
17093
17008
  if (value2)
17094
- obj[key] = { state: (0, import_utils15.isObjectLike)(value2) ? value2 : { value: value2 } };
17009
+ obj[key] = { state: (0, import_utils14.isObjectLike)(value2) ? value2 : { value: value2 } };
17095
17010
  }
17096
17011
  el.removeContent();
17097
17012
  el.content = obj;
@@ -17099,7 +17014,7 @@ var init_Collection = __esm({
17099
17014
  $propsCollection: (param, el, state) => {
17100
17015
  if (!param)
17101
17016
  return;
17102
- if ((0, import_utils15.isString)(param)) {
17017
+ if ((0, import_utils14.isString)(param)) {
17103
17018
  if (param === "state")
17104
17019
  param = state.parse();
17105
17020
  else
@@ -17107,21 +17022,21 @@ var init_Collection = __esm({
17107
17022
  }
17108
17023
  if ((0, import_state.isState)(param))
17109
17024
  param = param.parse();
17110
- if ((0, import_utils15.isNot)(param)("array", "object"))
17025
+ if ((0, import_utils14.isNot)(param)("array", "object"))
17111
17026
  return;
17112
17027
  const { __ref: ref } = el;
17113
- param = (0, import_utils15.deepCloneWithExtend)(param);
17028
+ param = (0, import_utils14.deepCloneWithExtend)(param);
17114
17029
  if (ref.__propsCollectionCache) {
17115
17030
  const equals = JSON.stringify(param) === JSON.stringify(ref.__propsCollectionCache);
17116
17031
  if (equals) {
17117
17032
  ref.__noCollectionDifference = true;
17118
17033
  return;
17119
17034
  } else {
17120
- ref.__propsCollectionCache = (0, import_utils15.deepCloneWithExtend)(param);
17035
+ ref.__propsCollectionCache = (0, import_utils14.deepCloneWithExtend)(param);
17121
17036
  delete ref.__noCollectionDifference;
17122
17037
  }
17123
17038
  } else {
17124
- ref.__propsCollectionCache = (0, import_utils15.deepCloneWithExtend)(param);
17039
+ ref.__propsCollectionCache = (0, import_utils14.deepCloneWithExtend)(param);
17125
17040
  }
17126
17041
  const obj = {
17127
17042
  tag: "fragment",
@@ -17132,7 +17047,7 @@ var init_Collection = __esm({
17132
17047
  for (const key in param) {
17133
17048
  const value2 = param[key];
17134
17049
  if (value2)
17135
- obj[key] = { props: (0, import_utils15.isObjectLike)(value2) ? value2 : { value: value2 } };
17050
+ obj[key] = { props: (0, import_utils14.isObjectLike)(value2) ? value2 : { value: value2 } };
17136
17051
  }
17137
17052
  el.removeContent();
17138
17053
  el.content = obj;
@@ -17251,6 +17166,8 @@ var init_Svg = __esm({
17251
17166
  "xmlns:xlink": "http://www.w3.org/1999/xlink"
17252
17167
  },
17253
17168
  html: ({ key, props: props2, context, ...el }) => {
17169
+ if (props2.semantic_symbols)
17170
+ return;
17254
17171
  const { designSystem, utils: utils4 } = context;
17255
17172
  const SVG = designSystem && designSystem.SVG;
17256
17173
  const useSvgSprite = props2.spriteId || context.designSystem && context.designSystem.useSvgSprite;
@@ -17280,16 +17197,16 @@ var init_Svg = __esm({
17280
17197
  });
17281
17198
 
17282
17199
  // node_modules/@symbo.ls/atoms/Shape/index.js
17283
- var import_utils16, import_scratch12, transformBorderRadius, Shape;
17200
+ var import_utils15, import_scratch12, transformBorderRadius, Shape;
17284
17201
  var init_Shape = __esm({
17285
17202
  "node_modules/@symbo.ls/atoms/Shape/index.js"() {
17286
17203
  "use strict";
17287
- import_utils16 = __toESM(require_cjs());
17204
+ import_utils15 = __toESM(require_cjs());
17288
17205
  init_style();
17289
17206
  import_scratch12 = __toESM(require_cjs2());
17290
17207
  init_Pseudo();
17291
17208
  transformBorderRadius = (radius, props2, propertyName) => {
17292
- if (!(0, import_utils16.isString)(radius))
17209
+ if (!(0, import_utils15.isString)(radius))
17293
17210
  return;
17294
17211
  return {
17295
17212
  borderRadius: radius.split(" ").map((v, k) => (0, import_scratch12.getSpacingBasedOnRatio)(props2, propertyName, v)[propertyName]).join(" ")
@@ -17297,7 +17214,7 @@ var init_Shape = __esm({
17297
17214
  };
17298
17215
  Shape = {
17299
17216
  extend: Pseudo,
17300
- deps: { exec: import_utils16.exec, getSpacingBasedOnRatio: import_scratch12.getSpacingBasedOnRatio, getMediaColor: import_scratch12.getMediaColor, transformBorderRadius },
17217
+ deps: { exec: import_utils15.exec, getSpacingBasedOnRatio: import_scratch12.getSpacingBasedOnRatio, getMediaColor: import_scratch12.getMediaColor, transformBorderRadius },
17301
17218
  class: {
17302
17219
  shape: ({ props: props2, deps }) => {
17303
17220
  const { shape } = props2;
@@ -17325,11 +17242,11 @@ var init_Shape = __esm({
17325
17242
  });
17326
17243
 
17327
17244
  // node_modules/@symbo.ls/atoms/Text.js
17328
- var import_utils17, import_scratch13, Text, H1, H2, H3, H4, H5, H6, P, Caption, Strong, Underline, Italic, Title, Headline, Subhead, Footnote, B, I;
17245
+ var import_utils16, import_scratch13, Text, H1, H2, H3, H4, H5, H6, P, Caption, Strong, Underline, Italic, Title, Headline, Subhead, Footnote, B, I;
17329
17246
  var init_Text = __esm({
17330
17247
  "node_modules/@symbo.ls/atoms/Text.js"() {
17331
17248
  "use strict";
17332
- import_utils17 = __toESM(require_cjs());
17249
+ import_utils16 = __toESM(require_cjs());
17333
17250
  import_scratch13 = __toESM(require_cjs2());
17334
17251
  Text = {
17335
17252
  deps: { getFontSizeByKey: import_scratch13.getFontSizeByKey, getFontFamily: import_scratch13.getFontFamily },
@@ -17343,23 +17260,23 @@ var init_Text = __esm({
17343
17260
  const { props: props2, deps } = el;
17344
17261
  return props2.fontSize ? deps.getFontSizeByKey(props2.fontSize) : null;
17345
17262
  },
17346
- font: ({ props: props2 }) => !(0, import_utils17.isUndefined)(props2.font) && { font: props2.font },
17347
- fontFamily: ({ props: props2, deps }) => !(0, import_utils17.isUndefined)(props2.fontFamily) && {
17263
+ font: ({ props: props2 }) => !(0, import_utils16.isUndefined)(props2.font) && { font: props2.font },
17264
+ fontFamily: ({ props: props2, deps }) => !(0, import_utils16.isUndefined)(props2.fontFamily) && {
17348
17265
  fontFamily: deps.getFontFamily(props2.fontFamily) || props2.fontFamily
17349
17266
  },
17350
- lineHeight: ({ props: props2 }) => !(0, import_utils17.isUndefined)(props2.lineHeight) && { lineHeight: props2.lineHeight },
17267
+ lineHeight: ({ props: props2 }) => !(0, import_utils16.isUndefined)(props2.lineHeight) && { lineHeight: props2.lineHeight },
17351
17268
  // lineHeight: ({ props }) => !isUndefined(props.lineHeight) && getSpacingBasedOnRatio(props, 'lineHeight', null, ''),
17352
- textDecoration: ({ props: props2 }) => !(0, import_utils17.isUndefined)(props2.textDecoration) && { textDecoration: props2.textDecoration },
17353
- textTransform: ({ props: props2 }) => !(0, import_utils17.isUndefined)(props2.textTransform) && { textTransform: props2.textTransform },
17354
- wordBreak: ({ props: props2 }) => !(0, import_utils17.isUndefined)(props2.wordBreak) && { wordBreak: props2.wordBreak },
17355
- whiteSpace: ({ props: props2 }) => !(0, import_utils17.isUndefined)(props2.whiteSpace) && { whiteSpace: props2.whiteSpace },
17356
- wordWrap: ({ props: props2 }) => !(0, import_utils17.isUndefined)(props2.wordWrap) && { wordWrap: props2.wordWrap },
17357
- letterSpacing: ({ props: props2 }) => !(0, import_utils17.isUndefined)(props2.letterSpacing) && { letterSpacing: props2.letterSpacing },
17358
- textOverflow: ({ props: props2 }) => !(0, import_utils17.isUndefined)(props2.textOverflow) && { textOverflow: props2.textOverflow },
17359
- textAlign: ({ props: props2 }) => !(0, import_utils17.isUndefined)(props2.textAlign) && { textAlign: props2.textAlign },
17360
- writingMode: ({ props: props2 }) => !(0, import_utils17.isUndefined)(props2.writingMode) && { writingMode: props2.writingMode },
17361
- textOrientation: ({ props: props2 }) => !(0, import_utils17.isUndefined)(props2.textOrientation) && { textOrientation: props2.textOrientation },
17362
- fontWeight: ({ props: props2 }) => !(0, import_utils17.isUndefined)(props2.fontWeight) && {
17269
+ textDecoration: ({ props: props2 }) => !(0, import_utils16.isUndefined)(props2.textDecoration) && { textDecoration: props2.textDecoration },
17270
+ textTransform: ({ props: props2 }) => !(0, import_utils16.isUndefined)(props2.textTransform) && { textTransform: props2.textTransform },
17271
+ wordBreak: ({ props: props2 }) => !(0, import_utils16.isUndefined)(props2.wordBreak) && { wordBreak: props2.wordBreak },
17272
+ whiteSpace: ({ props: props2 }) => !(0, import_utils16.isUndefined)(props2.whiteSpace) && { whiteSpace: props2.whiteSpace },
17273
+ wordWrap: ({ props: props2 }) => !(0, import_utils16.isUndefined)(props2.wordWrap) && { wordWrap: props2.wordWrap },
17274
+ letterSpacing: ({ props: props2 }) => !(0, import_utils16.isUndefined)(props2.letterSpacing) && { letterSpacing: props2.letterSpacing },
17275
+ textOverflow: ({ props: props2 }) => !(0, import_utils16.isUndefined)(props2.textOverflow) && { textOverflow: props2.textOverflow },
17276
+ textAlign: ({ props: props2 }) => !(0, import_utils16.isUndefined)(props2.textAlign) && { textAlign: props2.textAlign },
17277
+ writingMode: ({ props: props2 }) => !(0, import_utils16.isUndefined)(props2.writingMode) && { writingMode: props2.writingMode },
17278
+ textOrientation: ({ props: props2 }) => !(0, import_utils16.isUndefined)(props2.textOrientation) && { textOrientation: props2.textOrientation },
17279
+ fontWeight: ({ props: props2 }) => !(0, import_utils16.isUndefined)(props2.fontWeight) && {
17363
17280
  fontWeight: props2.fontWeight,
17364
17281
  fontVariationSettings: '"wght" ' + props2.fontWeight
17365
17282
  }
@@ -17427,25 +17344,44 @@ var init_XYZ = __esm({
17427
17344
  }
17428
17345
  });
17429
17346
 
17347
+ // node_modules/@symbo.ls/emotion/index.js
17348
+ var emotion_exports = {};
17349
+ __export(emotion_exports, {
17350
+ createEmotion: () => createEmotion5,
17351
+ emotion: () => emotion3
17352
+ });
17353
+ var createEmotion5, emotion3;
17354
+ var init_emotion3 = __esm({
17355
+ "node_modules/@symbo.ls/emotion/index.js"() {
17356
+ "use strict";
17357
+ init_emotion_css_create_instance_esm();
17358
+ createEmotion5 = (key = "smbls", container) => {
17359
+ const cleanKey = key.replaceAll(/\./g, "-");
17360
+ return createEmotion({ key: cleanKey, container });
17361
+ };
17362
+ emotion3 = createEmotion5();
17363
+ }
17364
+ });
17365
+
17430
17366
  // node_modules/@symbo.ls/atoms/Animation.js
17431
- var import_scratch14, import_utils18, applyAnimationProps, Animation;
17367
+ var import_scratch14, import_utils17, applyAnimationProps, Animation;
17432
17368
  var init_Animation = __esm({
17433
17369
  "node_modules/@symbo.ls/atoms/Animation.js"() {
17434
17370
  "use strict";
17435
17371
  import_scratch14 = __toESM(require_cjs2());
17436
- import_utils18 = __toESM(require_cjs());
17437
- init_emotion2();
17372
+ import_utils17 = __toESM(require_cjs());
17373
+ init_emotion3();
17438
17374
  applyAnimationProps = (animation, element) => {
17439
17375
  const { emotion: ctxEmotion } = element.context;
17440
- const { keyframes } = ctxEmotion || emotion2;
17441
- if ((0, import_utils18.isObject)(animation))
17376
+ const { keyframes } = ctxEmotion || emotion3;
17377
+ if ((0, import_utils17.isObject)(animation))
17442
17378
  return { animationName: keyframes(animation) };
17443
17379
  const { ANIMATION } = element.context && element.context.designSystem;
17444
17380
  const record = ANIMATION[animation];
17445
17381
  return keyframes(record);
17446
17382
  };
17447
17383
  Animation = {
17448
- deps: { isObject: import_utils18.isObject, getTimingByKey: import_scratch14.getTimingByKey, getTimingFunction: import_scratch14.getTimingFunction, applyAnimationProps },
17384
+ deps: { isObject: import_utils17.isObject, getTimingByKey: import_scratch14.getTimingByKey, getTimingFunction: import_scratch14.getTimingFunction, applyAnimationProps },
17449
17385
  class: {
17450
17386
  animation: (el) => el.props.animation && {
17451
17387
  animationName: el.deps.applyAnimationProps(el.props.animation, el),
@@ -17518,6 +17454,7 @@ __export(atoms_exports, {
17518
17454
  Img: () => Img2,
17519
17455
  Interaction: () => Interaction,
17520
17456
  Italic: () => Italic,
17457
+ Li: () => Li2,
17521
17458
  Media: () => Media,
17522
17459
  Overflow: () => Overflow,
17523
17460
  P: () => P,
@@ -17704,11 +17641,11 @@ var require_tree = __commonJS({
17704
17641
  TREE: () => TREE
17705
17642
  });
17706
17643
  module2.exports = __toCommonJS12(tree_exports);
17707
- var import_utils44 = require_cjs();
17644
+ var import_utils43 = require_cjs();
17708
17645
  var import_report = require_cjs4();
17709
17646
  var ROOT = {
17710
17647
  key: ":root",
17711
- node: import_utils44.document ? import_utils44.document.body : (0, import_report.report)("DocumentNotDefined", import_utils44.document)
17648
+ node: import_utils43.document ? import_utils43.document.body : (0, import_report.report)("DocumentNotDefined", import_utils43.document)
17712
17649
  };
17713
17650
  var TREE = ROOT;
17714
17651
  }
@@ -17775,35 +17712,35 @@ var require_cache = __commonJS({
17775
17712
  module2.exports = __toCommonJS12(cache_exports);
17776
17713
  var import_report = require_cjs4();
17777
17714
  var import_event = require_cjs5();
17778
- var import_utils44 = require_cjs();
17779
- var cache2 = {};
17715
+ var import_utils43 = require_cjs();
17780
17716
  var createHTMLNode = (element) => {
17781
- const { tag } = element;
17717
+ const { tag, context } = element;
17718
+ const doc = context.document || import_utils43.document;
17782
17719
  if (tag) {
17783
17720
  if (tag === "string")
17784
- return document.createTextNode(element.text);
17721
+ return doc.createTextNode(element.text);
17785
17722
  else if (tag === "fragment") {
17786
- return document.createDocumentFragment();
17723
+ return doc.createDocumentFragment();
17787
17724
  } else if (tag === "svg" || tag === "path") {
17788
- return document.createElementNS("http://www.w3.org/2000/svg", tag);
17725
+ return doc.createElementNS("http://www.w3.org/2000/svg", tag);
17789
17726
  } else
17790
- return document.createElement(tag);
17727
+ return doc.createElement(tag);
17791
17728
  } else {
17792
- return document.createElement("div");
17729
+ return doc.createElement("div");
17793
17730
  }
17794
17731
  };
17795
17732
  var detectTag = (element) => {
17796
17733
  let { tag, key, props: props2 } = element;
17797
- tag = (0, import_utils44.exec)(tag, element);
17734
+ tag = (0, import_utils43.exec)(tag, element);
17798
17735
  if (tag === true)
17799
17736
  tag = key;
17800
- if ((0, import_utils44.isObject)(props2) && (0, import_utils44.isString)(props2.tag)) {
17801
- const tagExists = (0, import_utils44.isValidHtmlTag)(props2.tag);
17737
+ if ((0, import_utils43.isObject)(props2) && (0, import_utils43.isString)(props2.tag)) {
17738
+ const tagExists = (0, import_utils43.isValidHtmlTag)(props2.tag);
17802
17739
  if (tagExists)
17803
17740
  return props2.tag;
17804
17741
  }
17805
- if ((0, import_utils44.isString)(tag)) {
17806
- if ((0, import_utils44.isValidHtmlTag)(tag))
17742
+ if ((0, import_utils43.isString)(tag)) {
17743
+ if ((0, import_utils43.isValidHtmlTag)(tag))
17807
17744
  return tag;
17808
17745
  } else {
17809
17746
  let keyAsTag = key.toLowerCase();
@@ -17811,19 +17748,23 @@ var require_cache = __commonJS({
17811
17748
  keyAsTag = keyAsTag.split(".")[0];
17812
17749
  if (keyAsTag.includes("_"))
17813
17750
  keyAsTag = keyAsTag.split("_")[0];
17814
- if ((0, import_utils44.isValidHtmlTag)(keyAsTag))
17751
+ if ((0, import_utils43.isValidHtmlTag)(keyAsTag))
17815
17752
  return keyAsTag;
17816
17753
  }
17817
17754
  return "div";
17818
17755
  };
17819
17756
  var cacheNode = (element) => {
17757
+ const { context } = element;
17758
+ const win = context.window || window;
17820
17759
  const tag = element.tag = detectTag(element);
17821
17760
  if (!(0, import_event.canRenderTag)(tag)) {
17822
17761
  return (0, import_report.report)("HTMLInvalidTag", element.tag, element);
17823
17762
  }
17824
- let cachedTag = cache2[tag];
17763
+ if (!win.nodeCaches)
17764
+ win.nodeCaches = {};
17765
+ let cachedTag = win.nodeCaches[tag];
17825
17766
  if (!cachedTag)
17826
- cachedTag = cache2[tag] = createHTMLNode(element);
17767
+ cachedTag = win.nodeCaches[tag] = createHTMLNode(element);
17827
17768
  const clonedNode = cachedTag.cloneNode(true);
17828
17769
  if (tag === "string")
17829
17770
  clonedNode.nodeValue = element.text;
@@ -17945,16 +17886,16 @@ var require_attr = __commonJS({
17945
17886
  default: () => attr_default
17946
17887
  });
17947
17888
  module2.exports = __toCommonJS12(attr_exports);
17948
- var import_utils44 = require_cjs();
17889
+ var import_utils43 = require_cjs();
17949
17890
  var import_report = require_cjs4();
17950
17891
  var attr_default = (params, element, node2) => {
17951
17892
  const { __ref } = element;
17952
17893
  const { __attr } = __ref;
17953
- if ((0, import_utils44.isNot)("object"))
17894
+ if ((0, import_utils43.isNot)("object"))
17954
17895
  (0, import_report.report)("HTMLInvalidAttr", params);
17955
17896
  if (params) {
17956
17897
  for (const attr in params) {
17957
- const val = (0, import_utils44.exec)(params[attr], element);
17898
+ const val = (0, import_utils43.exec)(params[attr], element);
17958
17899
  if (val && node2.setAttribute)
17959
17900
  node2.setAttribute(attr, val);
17960
17901
  else if (node2.removeAttribute)
@@ -17997,7 +17938,7 @@ var require_classList = __commonJS({
17997
17938
  default: () => classList_default
17998
17939
  });
17999
17940
  module2.exports = __toCommonJS12(classList_exports);
18000
- var import_utils44 = require_cjs();
17941
+ var import_utils43 = require_cjs();
18001
17942
  var assignKeyAsClassname = (element) => {
18002
17943
  const { key } = element;
18003
17944
  if (element.class === true)
@@ -18015,7 +17956,7 @@ var require_classList = __commonJS({
18015
17956
  else if (typeof param === "string")
18016
17957
  className += ` ${param}`;
18017
17958
  else if (typeof param === "function") {
18018
- className += ` ${(0, import_utils44.exec)(param, element)}`;
17959
+ className += ` ${(0, import_utils43.exec)(param, element)}`;
18019
17960
  }
18020
17961
  }
18021
17962
  return className;
@@ -18026,9 +17967,9 @@ var require_classList = __commonJS({
18026
17967
  const { key } = element;
18027
17968
  if (params === true)
18028
17969
  params = element.class = { key };
18029
- if ((0, import_utils44.isString)(params))
17970
+ if ((0, import_utils43.isString)(params))
18030
17971
  params = element.class = { default: params };
18031
- if ((0, import_utils44.isObject)(params))
17972
+ if ((0, import_utils43.isObject)(params))
18032
17973
  params = classify2(params, element);
18033
17974
  const className = params.replace(/\s+/g, " ").trim();
18034
17975
  if (element.ref)
@@ -18113,7 +18054,7 @@ var require_set = __commonJS({
18113
18054
  resetElement: () => resetElement
18114
18055
  });
18115
18056
  module2.exports = __toCommonJS12(set_exports);
18116
- var import_utils44 = require_cjs();
18057
+ var import_utils43 = require_cjs();
18117
18058
  var import_create = __toESM6(require_create4(), 1);
18118
18059
  var import_options5 = __toESM6(require_options(), 1);
18119
18060
  var import_mixins = require_mixins();
@@ -18136,7 +18077,7 @@ var require_set = __commonJS({
18136
18077
  const hasCollection = element.$collection || element.$stateCollection || element.$propsCollection;
18137
18078
  if (options.preventContentUpdate === true && !hasCollection)
18138
18079
  return;
18139
- if (ref.__noCollectionDifference || __contentRef && __contentRef.__cached && (0, import_utils44.deepContains)(params, content)) {
18080
+ if (ref.__noCollectionDifference || __contentRef && __contentRef.__cached && (0, import_utils43.deepContains)(params, content)) {
18140
18081
  if (content == null ? void 0 : content.update)
18141
18082
  content.update();
18142
18083
  return;
@@ -18195,7 +18136,7 @@ var require_content = __commonJS({
18195
18136
  updateContent: () => updateContent
18196
18137
  });
18197
18138
  module2.exports = __toCommonJS12(content_exports);
18198
- var import_utils44 = require_cjs();
18139
+ var import_utils43 = require_cjs();
18199
18140
  var import_set = __toESM6(require_set(), 1);
18200
18141
  var updateContent = function(params, options) {
18201
18142
  const element = this;
@@ -18218,7 +18159,7 @@ var require_content = __commonJS({
18218
18159
  if (__cached && __cached.content) {
18219
18160
  if (__cached.content.tag === "fragment")
18220
18161
  __cached.content.parent.node.innerHTML = "";
18221
- else if (__cached.content && (0, import_utils44.isFunction)(__cached.content.remove))
18162
+ else if (__cached.content && (0, import_utils43.isFunction)(__cached.content.remove))
18222
18163
  __cached.content.remove();
18223
18164
  }
18224
18165
  delete element.content;
@@ -18263,15 +18204,15 @@ var require_data = __commonJS({
18263
18204
  default: () => data_default
18264
18205
  });
18265
18206
  module2.exports = __toCommonJS12(data_exports);
18266
- var import_utils44 = require_cjs();
18207
+ var import_utils43 = require_cjs();
18267
18208
  var import_report = require_cjs4();
18268
18209
  var data_default = (params, element, node2) => {
18269
18210
  if (params && params.showOnNode) {
18270
- if (!(0, import_utils44.isObject)(params))
18211
+ if (!(0, import_utils43.isObject)(params))
18271
18212
  (0, import_report.report)("HTMLInvalidData", params);
18272
18213
  for (const dataset in params) {
18273
18214
  if (dataset !== "showOnNode") {
18274
- node2.dataset[dataset] = (0, import_utils44.exec)(params[dataset], element);
18215
+ node2.dataset[dataset] = (0, import_utils43.exec)(params[dataset], element);
18275
18216
  }
18276
18217
  }
18277
18218
  }
@@ -18305,9 +18246,9 @@ var require_html = __commonJS({
18305
18246
  default: () => html_default
18306
18247
  });
18307
18248
  module2.exports = __toCommonJS12(html_exports);
18308
- var import_utils44 = require_cjs();
18249
+ var import_utils43 = require_cjs();
18309
18250
  var html_default = (param, element, node2) => {
18310
- const prop = (0, import_utils44.exec)(param, element);
18251
+ const prop = (0, import_utils43.exec)(param, element);
18311
18252
  const { __ref } = element;
18312
18253
  if (prop !== __ref.__html) {
18313
18254
  if (node2.nodeName === "SVG")
@@ -18346,12 +18287,12 @@ var require_style = __commonJS({
18346
18287
  default: () => style_default2
18347
18288
  });
18348
18289
  module2.exports = __toCommonJS12(style_exports);
18349
- var import_utils44 = require_cjs();
18290
+ var import_utils43 = require_cjs();
18350
18291
  var import_report = require_cjs4();
18351
18292
  var style_default2 = (params, element, node2) => {
18352
18293
  if (params) {
18353
- if ((0, import_utils44.isObject)(params))
18354
- (0, import_utils44.map)(node2.style, params, element);
18294
+ if ((0, import_utils43.isObject)(params))
18295
+ (0, import_utils43.map)(node2.style, params, element);
18355
18296
  else
18356
18297
  (0, import_report.report)("HTMLInvalidStyles", params);
18357
18298
  }
@@ -18386,11 +18327,11 @@ var require_text = __commonJS({
18386
18327
  });
18387
18328
  module2.exports = __toCommonJS12(text_exports);
18388
18329
  var import__ = require_cjs12();
18389
- var import_utils44 = require_cjs();
18330
+ var import_utils43 = require_cjs();
18390
18331
  var text_default = (param, element, node2) => {
18391
- let prop = (0, import_utils44.exec)(param, element);
18392
- if ((0, import_utils44.isString)(prop) && prop.includes("{{")) {
18393
- prop = (0, import_utils44.replaceLiteralsWithObjectFields)(prop, element.state);
18332
+ let prop = (0, import_utils43.exec)(param, element);
18333
+ if ((0, import_utils43.isString)(prop) && prop.includes("{{")) {
18334
+ prop = (0, import_utils43.replaceLiteralsWithObjectFields)(prop, element.state);
18394
18335
  }
18395
18336
  if (element.tag === "string") {
18396
18337
  node2.nodeValue = prop;
@@ -18436,10 +18377,10 @@ var require_state = __commonJS({
18436
18377
  });
18437
18378
  module2.exports = __toCommonJS12(state_exports);
18438
18379
  var import_state3 = require_cjs9();
18439
- var import_utils44 = require_cjs();
18380
+ var import_utils43 = require_cjs();
18440
18381
  var state = (params, element, node2) => {
18441
- const state2 = (0, import_utils44.exec)(params, element);
18442
- if ((0, import_utils44.isObject)(state2)) {
18382
+ const state2 = (0, import_utils43.exec)(params, element);
18383
+ if ((0, import_utils43.isObject)(state2)) {
18443
18384
  for (const param in state2) {
18444
18385
  if (import_state3.IGNORE_STATE_PARAMS.includes(param))
18445
18386
  continue;
@@ -18479,13 +18420,13 @@ var require_scope = __commonJS({
18479
18420
  default: () => scope_default
18480
18421
  });
18481
18422
  module2.exports = __toCommonJS12(scope_exports);
18482
- var import_utils44 = require_cjs();
18423
+ var import_utils43 = require_cjs();
18483
18424
  var scope_default = (params, element, node2) => {
18484
- if (!(0, import_utils44.isObject)(params))
18425
+ if (!(0, import_utils43.isObject)(params))
18485
18426
  return;
18486
18427
  for (const scopeItem in params) {
18487
18428
  const value2 = params[scopeItem];
18488
- if ((0, import_utils44.isFunction)(value2)) {
18429
+ if ((0, import_utils43.isFunction)(value2)) {
18489
18430
  element.scope[scopeItem] = value2.bind(element);
18490
18431
  } else {
18491
18432
  element.scope[scopeItem] = value2;
@@ -18705,7 +18646,7 @@ var require_methods2 = __commonJS({
18705
18646
  spotByPath: () => spotByPath
18706
18647
  });
18707
18648
  module2.exports = __toCommonJS12(methods_exports);
18708
- var import_utils44 = require_cjs();
18649
+ var import_utils43 = require_cjs();
18709
18650
  var import_tree = require_tree();
18710
18651
  var import_mixins = require_mixins();
18711
18652
  var spotByPath = function(path) {
@@ -18727,7 +18668,7 @@ var require_methods2 = __commonJS({
18727
18668
  var lookup3 = function(param) {
18728
18669
  const el = this;
18729
18670
  let { parent } = el;
18730
- if ((0, import_utils44.isFunction)(param)) {
18671
+ if ((0, import_utils43.isFunction)(param)) {
18731
18672
  if (parent.state && param(parent, parent.state, parent.context))
18732
18673
  return parent;
18733
18674
  else if (parent.parent)
@@ -18746,9 +18687,9 @@ var require_methods2 = __commonJS({
18746
18687
  };
18747
18688
  var remove = function() {
18748
18689
  const element = this;
18749
- if ((0, import_utils44.isFunction)(element.node.remove))
18690
+ if ((0, import_utils43.isFunction)(element.node.remove))
18750
18691
  element.node.remove();
18751
- else if (!(0, import_utils44.isProduction)()) {
18692
+ else if (!(0, import_utils43.isProduction)()) {
18752
18693
  console.warn("This item cant be removed");
18753
18694
  element.log();
18754
18695
  }
@@ -18788,8 +18729,8 @@ var require_methods2 = __commonJS({
18788
18729
  if (v === "state") {
18789
18730
  if (element.__ref && !element.__ref.__hasRootState)
18790
18731
  return;
18791
- const parsedVal = (0, import_utils44.isFunction)(val && val.parse) ? val.parse() : val;
18792
- obj[v] = (0, import_utils44.isFunction)(parsedVal) ? parsedVal : JSON.parse(JSON.stringify(parsedVal || {}));
18732
+ const parsedVal = (0, import_utils43.isFunction)(val && val.parse) ? val.parse() : val;
18733
+ obj[v] = (0, import_utils43.isFunction)(parsedVal) ? parsedVal : JSON.parse(JSON.stringify(parsedVal || {}));
18793
18734
  } else if (v === "scope") {
18794
18735
  if (element.__ref && !element.__ref.__hasRootScope)
18795
18736
  return;
@@ -18797,7 +18738,7 @@ var require_methods2 = __commonJS({
18797
18738
  } else if (v === "props") {
18798
18739
  const { __element, update, ...props2 } = element[v];
18799
18740
  obj[v] = props2;
18800
- } else if ((0, import_utils44.isDefined)(val))
18741
+ } else if ((0, import_utils43.isDefined)(val))
18801
18742
  obj[v] = val;
18802
18743
  });
18803
18744
  return obj;
@@ -18808,7 +18749,7 @@ var require_methods2 = __commonJS({
18808
18749
  for (const v in obj) {
18809
18750
  if (excl.includes(v))
18810
18751
  return;
18811
- if ((0, import_utils44.isObjectLike)(obj[v])) {
18752
+ if ((0, import_utils43.isObjectLike)(obj[v])) {
18812
18753
  obj[v] = parseDeep.call(obj[v], excl);
18813
18754
  }
18814
18755
  }
@@ -18926,18 +18867,18 @@ var require_inherit2 = __commonJS({
18926
18867
  inheritParentProps: () => inheritParentProps
18927
18868
  });
18928
18869
  module2.exports = __toCommonJS12(inherit_exports);
18929
- var import_utils44 = require_cjs();
18870
+ var import_utils43 = require_cjs();
18930
18871
  var objectizeStringProperty = (propValue) => {
18931
- if ((0, import_utils44.is)(propValue)("string", "number")) {
18872
+ if ((0, import_utils43.is)(propValue)("string", "number")) {
18932
18873
  return { inheritedString: propValue };
18933
18874
  }
18934
18875
  return propValue;
18935
18876
  };
18936
18877
  var inheritParentProps = (element, parent) => {
18937
18878
  let propsStack = [];
18938
- const parentProps = (0, import_utils44.exec)(parent, parent.state).props;
18879
+ const parentProps = (0, import_utils43.exec)(parent, parent.state).props;
18939
18880
  const matchParent = parent.props && parentProps[element.key];
18940
- const matchParentIsString = (0, import_utils44.isString)(matchParent);
18881
+ const matchParentIsString = (0, import_utils43.isString)(matchParent);
18941
18882
  const matchParentChildProps = parentProps && parentProps.childProps;
18942
18883
  if (matchParent) {
18943
18884
  if (matchParentIsString) {
@@ -18985,19 +18926,19 @@ var require_create3 = __commonJS({
18985
18926
  syncProps: () => syncProps
18986
18927
  });
18987
18928
  module2.exports = __toCommonJS12(create_exports);
18988
- var import_utils44 = require_cjs();
18929
+ var import_utils43 = require_cjs();
18989
18930
  var import_ignore = require_ignore2();
18990
18931
  var import_inherit = require_inherit2();
18991
18932
  var createPropsStack = (element, parent) => {
18992
18933
  const { props: props2, __ref } = element;
18993
18934
  const propsStack = __ref.__props = (0, import_inherit.inheritParentProps)(element, parent);
18994
- if ((0, import_utils44.isObject)(props2))
18935
+ if ((0, import_utils43.isObject)(props2))
18995
18936
  propsStack.push(props2);
18996
18937
  else if (props2 === "inherit" && parent.props)
18997
18938
  propsStack.push(parent.props);
18998
18939
  else if (props2)
18999
18940
  propsStack.push(props2);
19000
- if ((0, import_utils44.isArray)(__ref.__extend)) {
18941
+ if ((0, import_utils43.isArray)(__ref.__extend)) {
19001
18942
  __ref.__extend.forEach((extend) => {
19002
18943
  if (extend.props && extend.props !== props2)
19003
18944
  propsStack.push(extend.props);
@@ -19012,10 +18953,10 @@ var require_create3 = __commonJS({
19012
18953
  props2.forEach((v) => {
19013
18954
  if (import_ignore.IGNORE_PROPS_PARAMS.includes(v))
19014
18955
  return;
19015
- const execProps = (0, import_utils44.exec)(v, element);
19016
- element.props = (0, import_utils44.deepMerge)(
18956
+ const execProps = (0, import_utils43.exec)(v, element);
18957
+ element.props = (0, import_utils43.deepMerge)(
19017
18958
  mergedProps,
19018
- (0, import_utils44.deepClone)(execProps, import_ignore.IGNORE_PROPS_PARAMS),
18959
+ (0, import_utils43.deepClone)(execProps, import_ignore.IGNORE_PROPS_PARAMS),
19019
18960
  import_ignore.IGNORE_PROPS_PARAMS
19020
18961
  );
19021
18962
  });
@@ -19163,11 +19104,11 @@ var require_object2 = __commonJS({
19163
19104
  overwriteShallow: () => overwriteShallow3
19164
19105
  });
19165
19106
  module2.exports = __toCommonJS12(object_exports);
19166
- var import_utils44 = require_cjs();
19107
+ var import_utils43 = require_cjs();
19167
19108
  var import_state3 = require_cjs9();
19168
19109
  var import_props = require_props();
19169
19110
  var import_methods = require_methods2();
19170
- var METHODS_EXL = (0, import_utils44.joinArrays)(
19111
+ var METHODS_EXL = (0, import_utils43.joinArrays)(
19171
19112
  ["node", "state", "context", "extend", "__element"],
19172
19113
  import_methods.METHODS,
19173
19114
  import_state3.IGNORE_STATE_PARAMS,
@@ -19181,7 +19122,7 @@ var require_object2 = __commonJS({
19181
19122
  const extendProp = extend[e];
19182
19123
  if (elementProp === void 0) {
19183
19124
  element[e] = extendProp;
19184
- } else if ((0, import_utils44.isObjectLike)(elementProp) && (0, import_utils44.isObject)(extendProp)) {
19125
+ } else if ((0, import_utils43.isObjectLike)(elementProp) && (0, import_utils43.isObject)(extendProp)) {
19185
19126
  deepMerge7(elementProp, extendProp);
19186
19127
  }
19187
19128
  }
@@ -19197,15 +19138,15 @@ var require_object2 = __commonJS({
19197
19138
  return o;
19198
19139
  };
19199
19140
  var deepClone3 = (obj, exclude = METHODS_EXL) => {
19200
- const o = (0, import_utils44.isArray)(obj) ? [] : {};
19141
+ const o = (0, import_utils43.isArray)(obj) ? [] : {};
19201
19142
  for (const e in obj) {
19202
19143
  if (exclude.includes(e))
19203
19144
  continue;
19204
19145
  let objProp = obj[e];
19205
- if (e === "extend" && (0, import_utils44.isArray)(objProp)) {
19146
+ if (e === "extend" && (0, import_utils43.isArray)(objProp)) {
19206
19147
  objProp = mergeArray(objProp, exclude);
19207
19148
  }
19208
- if ((0, import_utils44.isObjectLike)(objProp)) {
19149
+ if ((0, import_utils43.isObjectLike)(objProp)) {
19209
19150
  o[e] = deepClone3(objProp, exclude);
19210
19151
  } else
19211
19152
  o[e] = objProp;
@@ -19244,7 +19185,7 @@ var require_object2 = __commonJS({
19244
19185
  continue;
19245
19186
  const objProp = obj[e];
19246
19187
  const paramsProp = params[e];
19247
- if ((0, import_utils44.isObjectLike)(objProp) && (0, import_utils44.isObjectLike)(paramsProp)) {
19188
+ if ((0, import_utils43.isObjectLike)(objProp) && (0, import_utils43.isObjectLike)(paramsProp)) {
19248
19189
  overwriteDeep4(objProp, paramsProp);
19249
19190
  } else if (paramsProp !== void 0) {
19250
19191
  obj[e] = paramsProp;
@@ -19253,7 +19194,7 @@ var require_object2 = __commonJS({
19253
19194
  return obj;
19254
19195
  };
19255
19196
  var mergeIfExisted = (a, b) => {
19256
- if ((0, import_utils44.isObjectLike)(a) && (0, import_utils44.isObjectLike)(b))
19197
+ if ((0, import_utils43.isObjectLike)(a) && (0, import_utils43.isObjectLike)(b))
19257
19198
  return deepMerge7(a, b);
19258
19199
  return a || b;
19259
19200
  };
@@ -19261,7 +19202,7 @@ var require_object2 = __commonJS({
19261
19202
  return arr.reduce((a, c) => deepMerge7(a, deepClone3(c, exclude)), {});
19262
19203
  };
19263
19204
  var mergeAndCloneIfArray = (obj) => {
19264
- return (0, import_utils44.isArray)(obj) ? mergeArray(obj) : deepClone3(obj);
19205
+ return (0, import_utils43.isArray)(obj) ? mergeArray(obj) : deepClone3(obj);
19265
19206
  };
19266
19207
  var flattenRecursive = (param, prop, stack = []) => {
19267
19208
  const objectized = mergeAndCloneIfArray(param);
@@ -19315,7 +19256,7 @@ var require_extendUtils = __commonJS({
19315
19256
  setHashedExtend: () => setHashedExtend
19316
19257
  });
19317
19258
  module2.exports = __toCommonJS12(extendUtils_exports);
19318
- var import_utils44 = require_cjs();
19259
+ var import_utils43 = require_cjs();
19319
19260
  var ENV2 = "development";
19320
19261
  var generateHash = () => Math.random().toString(36).substring(2);
19321
19262
  var extendStackRegistry = {};
@@ -19325,7 +19266,7 @@ var require_extendUtils = __commonJS({
19325
19266
  };
19326
19267
  var setHashedExtend = (extend, stack) => {
19327
19268
  const hash2 = generateHash();
19328
- if (!(0, import_utils44.isString)(extend)) {
19269
+ if (!(0, import_utils43.isString)(extend)) {
19329
19270
  extend.__hash = hash2;
19330
19271
  }
19331
19272
  extendStackRegistry[hash2] = stack;
@@ -19351,9 +19292,9 @@ var require_extendUtils = __commonJS({
19351
19292
  var flattenExtend = (extend, stack, context) => {
19352
19293
  if (!extend)
19353
19294
  return stack;
19354
- if ((0, import_utils44.isArray)(extend))
19295
+ if ((0, import_utils43.isArray)(extend))
19355
19296
  return extractArrayExtend(extend, stack, context);
19356
- if ((0, import_utils44.isString)(extend))
19297
+ if ((0, import_utils43.isString)(extend))
19357
19298
  extend = fallbackStringExtend(extend, context);
19358
19299
  stack.push(extend);
19359
19300
  if (extend.extend)
@@ -19368,14 +19309,14 @@ var require_extendUtils = __commonJS({
19368
19309
  const extendProp = extend[e];
19369
19310
  if (elementProp === void 0) {
19370
19311
  element[e] = extendProp;
19371
- } else if ((0, import_utils44.isObject)(elementProp) && (0, import_utils44.isObject)(extendProp)) {
19312
+ } else if ((0, import_utils43.isObject)(elementProp) && (0, import_utils43.isObject)(extendProp)) {
19372
19313
  deepMergeExtend(elementProp, extendProp);
19373
- } else if ((0, import_utils44.isArray)(elementProp) && (0, import_utils44.isArray)(extendProp)) {
19314
+ } else if ((0, import_utils43.isArray)(elementProp) && (0, import_utils43.isArray)(extendProp)) {
19374
19315
  element[e] = elementProp.concat(extendProp);
19375
- } else if ((0, import_utils44.isArray)(elementProp) && (0, import_utils44.isObject)(extendProp)) {
19316
+ } else if ((0, import_utils43.isArray)(elementProp) && (0, import_utils43.isObject)(extendProp)) {
19376
19317
  const obj = deepMergeExtend({}, elementProp);
19377
19318
  element[e] = deepMergeExtend(obj, extendProp);
19378
- } else if (elementProp === void 0 && (0, import_utils44.isFunction)(extendProp)) {
19319
+ } else if (elementProp === void 0 && (0, import_utils43.isFunction)(extendProp)) {
19379
19320
  element[e] = extendProp;
19380
19321
  }
19381
19322
  }
@@ -19383,13 +19324,13 @@ var require_extendUtils = __commonJS({
19383
19324
  };
19384
19325
  var cloneAndMergeArrayExtend = (stack) => {
19385
19326
  return stack.reduce((a, c) => {
19386
- return deepMergeExtend(a, (0, import_utils44.deepCloneWithExtend)(c));
19327
+ return deepMergeExtend(a, (0, import_utils43.deepCloneWithExtend)(c));
19387
19328
  }, {});
19388
19329
  };
19389
19330
  var fallbackStringExtend = (extend, context, options = {}) => {
19390
19331
  const COMPONENTS = context && context.components || options.components;
19391
19332
  const PAGES = context && context.pages || options.pages;
19392
- if ((0, import_utils44.isString)(extend)) {
19333
+ if ((0, import_utils43.isString)(extend)) {
19393
19334
  const componentExists = COMPONENTS && (COMPONENTS[extend] || COMPONENTS["smbls." + extend]);
19394
19335
  const pageExists = PAGES && extend.startsWith("/") && PAGES[extend];
19395
19336
  if (componentExists)
@@ -19449,13 +19390,13 @@ var require_extend = __commonJS({
19449
19390
  applyExtend: () => applyExtend
19450
19391
  });
19451
19392
  module2.exports = __toCommonJS12(extend_exports);
19452
- var import_utils44 = require_cjs();
19393
+ var import_utils43 = require_cjs();
19453
19394
  var import_utils210 = require_utils();
19454
19395
  var ENV2 = "development";
19455
19396
  var mainExtend;
19456
19397
  var applyExtend = (element, parent, options = {}) => {
19457
- if ((0, import_utils44.isFunction)(element))
19458
- element = (0, import_utils44.exec)(element, parent);
19398
+ if ((0, import_utils43.isFunction)(element))
19399
+ element = (0, import_utils43.exec)(element, parent);
19459
19400
  let { extend, props: props2, context, __ref } = element;
19460
19401
  extend = (0, import_utils210.fallbackStringExtend)(extend, context, options);
19461
19402
  const extendStack = (0, import_utils210.getExtendStack)(extend, context);
@@ -19500,7 +19441,7 @@ var require_extend = __commonJS({
19500
19441
  __ref.__extend = stack;
19501
19442
  let mergedExtend = (0, import_utils210.cloneAndMergeArrayExtend)(stack);
19502
19443
  const COMPONENTS = context && context.components || options.components;
19503
- const component = (0, import_utils44.exec)(element.component || mergedExtend.component, element);
19444
+ const component = (0, import_utils43.exec)(element.component || mergedExtend.component, element);
19504
19445
  if (component && COMPONENTS && COMPONENTS[component]) {
19505
19446
  const componentExtend = (0, import_utils210.cloneAndMergeArrayExtend)((0, import_utils210.getExtendStack)(COMPONENTS[component]));
19506
19447
  mergedExtend = (0, import_utils210.deepMergeExtend)(componentExtend, mergedExtend);
@@ -19547,7 +19488,7 @@ var require_component = __commonJS({
19547
19488
  overwriteVariant: () => overwriteVariant
19548
19489
  });
19549
19490
  module2.exports = __toCommonJS12(component_exports);
19550
- var import_utils44 = require_cjs();
19491
+ var import_utils43 = require_cjs();
19551
19492
  var import_extend = require_extend();
19552
19493
  var ENV2 = "development";
19553
19494
  var DOMQL_BUILTINS = [
@@ -19564,14 +19505,14 @@ var require_component = __commonJS({
19564
19505
  "tag"
19565
19506
  ];
19566
19507
  var checkIfKeyIsComponent3 = (key) => {
19567
- const isFirstKeyString = (0, import_utils44.isString)(key);
19508
+ const isFirstKeyString = (0, import_utils43.isString)(key);
19568
19509
  if (!isFirstKeyString)
19569
19510
  return;
19570
19511
  const firstCharKey = key.slice(0, 1);
19571
19512
  return /^[A-Z]*$/.test(firstCharKey);
19572
19513
  };
19573
19514
  var checkIfKeyIsProperty = (key) => {
19574
- const isFirstKeyString = (0, import_utils44.isString)(key);
19515
+ const isFirstKeyString = (0, import_utils43.isString)(key);
19575
19516
  if (!isFirstKeyString)
19576
19517
  return;
19577
19518
  const firstCharKey = key.slice(0, 1);
@@ -19579,9 +19520,9 @@ var require_component = __commonJS({
19579
19520
  };
19580
19521
  var addAdditionalExtend = (newExtend, element) => {
19581
19522
  const { extend: elementExtend } = element;
19582
- const originalArray = (0, import_utils44.isArray)(elementExtend) ? elementExtend : [elementExtend];
19583
- const receivedArray = (0, import_utils44.isArray)(newExtend) ? newExtend : [newExtend];
19584
- const extend = (0, import_utils44.joinArrays)(receivedArray, originalArray);
19523
+ const originalArray = (0, import_utils43.isArray)(elementExtend) ? elementExtend : [elementExtend];
19524
+ const receivedArray = (0, import_utils43.isArray)(newExtend) ? newExtend : [newExtend];
19525
+ const extend = (0, import_utils43.joinArrays)(receivedArray, originalArray);
19585
19526
  return { ...element, extend };
19586
19527
  };
19587
19528
  var replaceOnKeys = (key) => key.replace(/on\w+/g, (match2) => match2.substring(2));
@@ -19611,7 +19552,7 @@ var require_component = __commonJS({
19611
19552
  var extendizeByKey = (element, parent, key) => {
19612
19553
  const { context, tag, extend, props: props2, attr, state, childExtend, childProps, on: on2, if: condition, data } = element;
19613
19554
  const hasComponentAttrs = extend || childExtend || props2 || state || on2 || condition || attr || data;
19614
- const extendFromKey = key.includes("+") ? key.split("+") : key.includes("_") ? key.split("_")[0] : key.includes(".") ? key.split(".")[0] : [key];
19555
+ const extendFromKey = key.includes("+") ? key.split("+") : key.includes("_") ? key.split("_")[0] : key.includes(".") && !checkIfKeyIsComponent3(key.split(".")[1]) ? key.split(".")[0] : [key];
19615
19556
  const isExtendKeyComponent = context && context.components[extendFromKey];
19616
19557
  if (element === isExtendKeyComponent)
19617
19558
  return element;
@@ -19629,11 +19570,11 @@ var require_component = __commonJS({
19629
19570
  };
19630
19571
  } else if (extend) {
19631
19572
  return addAdditionalExtend(extendFromKey, element);
19632
- } else if ((0, import_utils44.isFunction)(element)) {
19573
+ } else if ((0, import_utils43.isFunction)(element)) {
19633
19574
  return {
19634
19575
  extend: extendFromKey,
19635
19576
  tag,
19636
- props: { ...(0, import_utils44.exec)(element, parent) }
19577
+ props: { ...(0, import_utils43.exec)(element, parent) }
19637
19578
  };
19638
19579
  }
19639
19580
  };
@@ -19646,8 +19587,8 @@ var require_component = __commonJS({
19646
19587
  return;
19647
19588
  const { components } = context;
19648
19589
  const { extend } = element;
19649
- const execExtend = (0, import_utils44.exec)(extend, element);
19650
- if ((0, import_utils44.isString)(execExtend)) {
19590
+ const execExtend = (0, import_utils43.exec)(extend, element);
19591
+ if ((0, import_utils43.isString)(execExtend)) {
19651
19592
  const componentExists = components[execExtend] || components["smbls." + execExtend];
19652
19593
  if (componentExists)
19653
19594
  element.extend = componentExists;
@@ -19661,29 +19602,29 @@ var require_component = __commonJS({
19661
19602
  }
19662
19603
  };
19663
19604
  var isVariant = (param) => {
19664
- if (!(0, import_utils44.isString)(param))
19605
+ if (!(0, import_utils43.isString)(param))
19665
19606
  return;
19666
19607
  const firstCharKey = param.slice(0, 1);
19667
19608
  return firstCharKey === ".";
19668
19609
  };
19669
19610
  var hasVariantProp = (element) => {
19670
19611
  const { props: props2 } = element;
19671
- if ((0, import_utils44.isObject)(props2) && (0, import_utils44.isString)(props2.variant))
19612
+ if ((0, import_utils43.isObject)(props2) && (0, import_utils43.isString)(props2.variant))
19672
19613
  return true;
19673
19614
  };
19674
19615
  var overwriteVariant = (element, variant, variantProps) => {
19675
19616
  let variantElement = element[variant];
19676
19617
  if (!variantElement)
19677
19618
  return;
19678
- const props2 = (0, import_utils44.isObject)(variantProps) ? variantProps : {};
19679
- if ((0, import_utils44.isString)(variantElement)) {
19619
+ const props2 = (0, import_utils43.isObject)(variantProps) ? variantProps : {};
19620
+ if ((0, import_utils43.isString)(variantElement)) {
19680
19621
  variantElement = {
19681
19622
  extend: [{ props: props2 }, variantElement]
19682
19623
  };
19683
19624
  } else if (variantElement.extend) {
19684
19625
  variantElement = addAdditionalExtend({ props: props2 }, variantElement);
19685
19626
  }
19686
- return (0, import_utils44.overwriteDeep)(element, (0, import_extend.applyExtend)(variantElement));
19627
+ return (0, import_utils43.overwriteDeep)(element, (0, import_extend.applyExtend)(variantElement));
19687
19628
  };
19688
19629
  var applyVariant = (element) => {
19689
19630
  const { props: props2 } = element;
@@ -19758,7 +19699,7 @@ var require_iterate = __commonJS({
19758
19699
  throughUpdatedExec: () => throughUpdatedExec
19759
19700
  });
19760
19701
  module2.exports = __toCommonJS12(iterate_exports);
19761
- var import_utils44 = require_cjs();
19702
+ var import_utils43 = require_cjs();
19762
19703
  var import_utils210 = require_utils();
19763
19704
  var import_methods = require_methods2();
19764
19705
  var throughInitialExec = (element, exclude = {}) => {
@@ -19767,7 +19708,7 @@ var require_iterate = __commonJS({
19767
19708
  if (exclude[param])
19768
19709
  continue;
19769
19710
  const prop = element[param];
19770
- if ((0, import_utils44.isFunction)(prop) && !(0, import_methods.isMethod)(param) && !(0, import_utils210.isVariant)(param)) {
19711
+ if ((0, import_utils43.isFunction)(prop) && !(0, import_methods.isMethod)(param) && !(0, import_utils210.isVariant)(param)) {
19771
19712
  ref.__exec[param] = prop;
19772
19713
  element[param] = prop(element, element.state, element.context);
19773
19714
  }
@@ -19782,7 +19723,7 @@ var require_iterate = __commonJS({
19782
19723
  if (isDefinedParam)
19783
19724
  continue;
19784
19725
  const newExec = ref.__exec[param](element, element.state, element.context);
19785
- const execReturnsString = (0, import_utils44.isString)(newExec) || (0, import_utils44.isNumber)(newExec);
19726
+ const execReturnsString = (0, import_utils43.isString)(newExec) || (0, import_utils43.isNumber)(newExec);
19786
19727
  if (prop && prop.node && execReturnsString) {
19787
19728
  (0, import_utils210.overwrite)(prop, { text: newExec }, options);
19788
19729
  } else if (newExec !== prop) {
@@ -19800,16 +19741,16 @@ var require_iterate = __commonJS({
19800
19741
  var throughInitialDefine = (element) => {
19801
19742
  const { define, context, __ref: ref } = element;
19802
19743
  let defineObj = {};
19803
- const hasGlobalDefine = context && (0, import_utils44.isObject)(context.define);
19804
- if ((0, import_utils44.isObject)(define))
19744
+ const hasGlobalDefine = context && (0, import_utils43.isObject)(context.define);
19745
+ if ((0, import_utils43.isObject)(define))
19805
19746
  defineObj = { ...define };
19806
19747
  if (hasGlobalDefine)
19807
19748
  defineObj = { ...defineObj, ...context.define };
19808
19749
  for (const param in defineObj) {
19809
19750
  let elementProp = element[param];
19810
- if ((0, import_utils44.isFunction)(elementProp) && !(0, import_methods.isMethod)(param) && !(0, import_utils210.isVariant)(param)) {
19751
+ if ((0, import_utils43.isFunction)(elementProp) && !(0, import_methods.isMethod)(param) && !(0, import_utils210.isVariant)(param)) {
19811
19752
  ref.__exec[param] = elementProp;
19812
- const execParam2 = elementProp = (0, import_utils44.exec)(elementProp, element);
19753
+ const execParam2 = elementProp = (0, import_utils43.exec)(elementProp, element);
19813
19754
  if (execParam2) {
19814
19755
  elementProp = element[param] = execParam2.parse ? execParam2.parse() : execParam2;
19815
19756
  ref.__defineCache[param] = elementProp;
@@ -19825,15 +19766,15 @@ var require_iterate = __commonJS({
19825
19766
  const { context, define, __ref: ref } = element;
19826
19767
  const changes = {};
19827
19768
  let obj = {};
19828
- if ((0, import_utils44.isObject)(define))
19769
+ if ((0, import_utils43.isObject)(define))
19829
19770
  obj = { ...define };
19830
- if ((0, import_utils44.isObject)(context && context.define))
19771
+ if ((0, import_utils43.isObject)(context && context.define))
19831
19772
  obj = { ...obj, ...context.define };
19832
19773
  for (const param in obj) {
19833
19774
  const execParam = ref.__exec[param];
19834
19775
  if (execParam)
19835
19776
  ref.__defineCache[param] = execParam(element, element.state, element.context);
19836
- const cached = (0, import_utils44.exec)(ref.__defineCache[param], element);
19777
+ const cached = (0, import_utils43.exec)(ref.__defineCache[param], element);
19837
19778
  const newExecParam = obj[param](cached, element, element.state, element.context);
19838
19779
  if (newExecParam)
19839
19780
  element[param] = newExecParam;
@@ -19869,7 +19810,7 @@ var require_applyParam = __commonJS({
19869
19810
  applyParam: () => applyParam
19870
19811
  });
19871
19812
  module2.exports = __toCommonJS12(applyParam_exports);
19872
- var import_utils44 = require_cjs();
19813
+ var import_utils43 = require_cjs();
19873
19814
  var import_mixins = require_mixins();
19874
19815
  var applyParam = (param, element, options) => {
19875
19816
  const { node: node2, context, __ref: ref } = element;
@@ -19882,7 +19823,7 @@ var require_applyParam = __commonJS({
19882
19823
  if (!ref.__if)
19883
19824
  return;
19884
19825
  if (isGlobalTransformer && !hasContextDefine) {
19885
- if ((0, import_utils44.isFunction)(isGlobalTransformer)) {
19826
+ if ((0, import_utils43.isFunction)(isGlobalTransformer)) {
19886
19827
  isGlobalTransformer(prop, element, node2, options);
19887
19828
  return;
19888
19829
  }
@@ -19918,15 +19859,15 @@ var require_propEvents = __commonJS({
19918
19859
  propagateEventsFromProps: () => propagateEventsFromProps
19919
19860
  });
19920
19861
  module2.exports = __toCommonJS12(propEvents_exports);
19921
- var import_utils44 = require_cjs();
19862
+ var import_utils43 = require_cjs();
19922
19863
  var propagateEventsFromProps = (element) => {
19923
19864
  const { props: props2, on: on2 } = element;
19924
19865
  const eventKeysFromProps = Object.keys(props2).filter((key) => key.startsWith("on"));
19925
19866
  eventKeysFromProps.forEach((v) => {
19926
- const eventName = (0, import_utils44.lowercaseFirstLetter)(v.split("on")[1]);
19867
+ const eventName = (0, import_utils43.lowercaseFirstLetter)(v.split("on")[1]);
19927
19868
  const origEvent = on2[eventName];
19928
19869
  const funcFromProps = props2[v];
19929
- if ((0, import_utils44.isFunction)(origEvent)) {
19870
+ if ((0, import_utils43.isFunction)(origEvent)) {
19930
19871
  on2[eventName] = (...args) => {
19931
19872
  const originalEventRetunrs = origEvent(...args);
19932
19873
  if (originalEventRetunrs !== false)
@@ -19976,7 +19917,7 @@ var require_node2 = __commonJS({
19976
19917
  default: () => node_default
19977
19918
  });
19978
19919
  module2.exports = __toCommonJS12(node_exports);
19979
- var import_utils44 = require_cjs();
19920
+ var import_utils43 = require_cjs();
19980
19921
  var import_event = require_cjs5();
19981
19922
  var import_render = require_cjs10();
19982
19923
  var import_methods = require_methods2();
@@ -20002,27 +19943,27 @@ var require_node2 = __commonJS({
20002
19943
  }
20003
19944
  if (ENV2 === "test" || ENV2 === "development" || options.alowRefReference) {
20004
19945
  node2.ref = element;
20005
- if ((0, import_utils44.isFunction)(node2.setAttribute))
19946
+ if ((0, import_utils43.isFunction)(node2.setAttribute))
20006
19947
  node2.setAttribute("key", element.key);
20007
19948
  }
20008
19949
  (0, import_iterate.throughInitialDefine)(element);
20009
19950
  (0, import_iterate.throughInitialExec)(element);
20010
19951
  if (element.tag !== "string" && element.tag !== "fragment") {
20011
19952
  (0, import_propEvents.propagateEventsFromProps)(element);
20012
- if (isNewNode && (0, import_utils44.isObject)(element.on))
19953
+ if (isNewNode && (0, import_utils43.isObject)(element.on))
20013
19954
  (0, import_event.applyEventsOnNode)(element, options);
20014
19955
  }
20015
19956
  for (const param in element) {
20016
19957
  const value2 = element[param];
20017
19958
  if (!Object.hasOwnProperty.call(element, param))
20018
19959
  continue;
20019
- if ((0, import_utils44.isUndefined)(value2) || (0, import_methods.isMethod)(param) || (0, import_utils210.isVariant)(param) || (0, import_utils44.isObject)(import_mixins.registry[param]))
19960
+ if ((0, import_utils43.isUndefined)(value2) || (0, import_methods.isMethod)(param) || (0, import_utils210.isVariant)(param) || (0, import_utils43.isObject)(import_mixins.registry[param]))
20020
19961
  continue;
20021
19962
  const isElement = (0, import_applyParam.applyParam)(param, element, options);
20022
19963
  if (isElement) {
20023
19964
  const { hasDefine, hasContextDefine } = isElement;
20024
19965
  if (element[param] && !hasDefine && !hasContextDefine) {
20025
- const createAsync3 = () => (0, import_create.default)((0, import_utils44.exec)(value2, element), element, param, options);
19966
+ const createAsync3 = () => (0, import_create.default)((0, import_utils43.exec)(value2, element), element, param, options);
20026
19967
  if (element.props && element.props.lazyLoad || options.lazyLoad) {
20027
19968
  window.requestAnimationFrame(() => createAsync3());
20028
19969
  } else
@@ -20062,7 +20003,7 @@ var require_methods3 = __commonJS({
20062
20003
  DEFAULT_METHODS: () => DEFAULT_METHODS
20063
20004
  });
20064
20005
  module2.exports = __toCommonJS12(methods_exports);
20065
- var import_utils44 = require_cjs();
20006
+ var import_utils43 = require_cjs();
20066
20007
  var DEFAULT_METHODS = {
20067
20008
  key: {},
20068
20009
  tag: {},
@@ -20083,7 +20024,7 @@ var require_methods3 = __commonJS({
20083
20024
  text: (element, state) => {
20084
20025
  element.ref.text = {
20085
20026
  tag: "text",
20086
- text: (0, import_utils44.exec)(element.text, element, state)
20027
+ text: (0, import_utils43.exec)(element.text, element, state)
20087
20028
  };
20088
20029
  },
20089
20030
  innerHTML: {},
@@ -20320,7 +20261,7 @@ var require_update2 = __commonJS({
20320
20261
  default: () => update_default
20321
20262
  });
20322
20263
  module2.exports = __toCommonJS12(update_exports);
20323
- var import_utils44 = require_cjs();
20264
+ var import_utils43 = require_cjs();
20324
20265
  var import_event = require_cjs5();
20325
20266
  var import_methods = require_methods2();
20326
20267
  var import_props = require_props();
@@ -20332,7 +20273,7 @@ var require_update2 = __commonJS({
20332
20273
  var import_applyParam = require_applyParam();
20333
20274
  var import_options5 = __toESM6(require_options(), 1);
20334
20275
  var snapshot = {
20335
- snapshotId: import_utils44.createSnapshotId
20276
+ snapshotId: import_utils43.createSnapshotId
20336
20277
  };
20337
20278
  var UPDATE_DEFAULT_OPTIONS = {
20338
20279
  stackChanges: false,
@@ -20354,14 +20295,14 @@ var require_update2 = __commonJS({
20354
20295
  if (preventInheritAtCurrentState && preventInheritAtCurrentState.__element === element)
20355
20296
  return;
20356
20297
  if (!excludes)
20357
- (0, import_utils44.merge)(options, UPDATE_DEFAULT_OPTIONS);
20298
+ (0, import_utils43.merge)(options, UPDATE_DEFAULT_OPTIONS);
20358
20299
  let ref = element.__ref;
20359
20300
  if (!ref)
20360
20301
  ref = element.__ref = {};
20361
20302
  const [snapshotOnCallee, calleeElement, snapshotHasUpdated] = captureSnapshot(element, options);
20362
20303
  if (snapshotHasUpdated)
20363
20304
  return;
20364
- if ((0, import_utils44.isString)(params) || (0, import_utils44.isNumber)(params)) {
20305
+ if ((0, import_utils43.isString)(params) || (0, import_utils43.isNumber)(params)) {
20365
20306
  params = { text: params };
20366
20307
  }
20367
20308
  const inheritState = inheritStateUpdates(element, options);
@@ -20372,7 +20313,7 @@ var require_update2 = __commonJS({
20372
20313
  return;
20373
20314
  if (ref.__if && !options.preventPropsUpdate) {
20374
20315
  const hasParentProps = parent.props && (parent.props[key] || parent.props.childProps);
20375
- const hasFunctionInProps = ref.__props.filter((v) => (0, import_utils44.isFunction)(v));
20316
+ const hasFunctionInProps = ref.__props.filter((v) => (0, import_utils43.isFunction)(v));
20376
20317
  const props2 = params.props || hasParentProps || hasFunctionInProps.length;
20377
20318
  if (props2)
20378
20319
  (0, import_props.updateProps)(props2, element, parent);
@@ -20382,14 +20323,14 @@ var require_update2 = __commonJS({
20382
20323
  if (beforeUpdateReturns === false)
20383
20324
  return element;
20384
20325
  }
20385
- const overwriteChanges = (0, import_utils44.overwriteDeep)(element, params, import_utils210.METHODS_EXL);
20326
+ const overwriteChanges = (0, import_utils43.overwriteDeep)(element, params, import_utils210.METHODS_EXL);
20386
20327
  const execChanges = (0, import_iterate.throughUpdatedExec)(element, { ignore: UPDATE_DEFAULT_OPTIONS });
20387
20328
  const definedChanges = (0, import_iterate.throughUpdatedDefine)(element);
20388
20329
  if (!options.isForced && !options.preventListeners) {
20389
20330
  (0, import_event.triggerEventOn)("beforeClassAssign", element, options);
20390
20331
  }
20391
20332
  if (options.stackChanges && element.__stackChanges) {
20392
- const stackChanges = (0, import_utils44.merge)(definedChanges, (0, import_utils44.merge)(execChanges, overwriteChanges));
20333
+ const stackChanges = (0, import_utils43.merge)(definedChanges, (0, import_utils43.merge)(execChanges, overwriteChanges));
20393
20334
  element.__stackChanges.push(stackChanges);
20394
20335
  }
20395
20336
  if (!ref.__if)
@@ -20409,7 +20350,7 @@ var require_update2 = __commonJS({
20409
20350
  preventUpdateAfterCount
20410
20351
  } = options;
20411
20352
  if (preventUpdateAfter) {
20412
- if ((0, import_utils44.isNumber)(preventUpdateAfterCount) && preventUpdateAfter <= preventUpdateAfterCount)
20353
+ if ((0, import_utils43.isNumber)(preventUpdateAfterCount) && preventUpdateAfter <= preventUpdateAfterCount)
20413
20354
  return;
20414
20355
  else if (options.preventUpdateAfterCount === void 0)
20415
20356
  options.preventUpdateAfterCount = 1;
@@ -20421,17 +20362,17 @@ var require_update2 = __commonJS({
20421
20362
  if (!Object.hasOwnProperty.call(element, param))
20422
20363
  continue;
20423
20364
  const hasOnlyUpdateFalsy = onlyUpdate && (onlyUpdate !== param || !element.lookup(onlyUpdate));
20424
- const isInPreventUpdate = (0, import_utils44.isArray)(preventUpdate) && preventUpdate.includes(param);
20425
- const isInPreventDefineUpdate = (0, import_utils44.isArray)(preventDefineUpdate) && preventDefineUpdate.includes(param);
20365
+ const isInPreventUpdate = (0, import_utils43.isArray)(preventUpdate) && preventUpdate.includes(param);
20366
+ const isInPreventDefineUpdate = (0, import_utils43.isArray)(preventDefineUpdate) && preventDefineUpdate.includes(param);
20426
20367
  const hasCollection = element.$collection || element.$stateCollection || element.$propsCollection;
20427
- if ((0, import_utils44.isUndefined)(prop) || hasOnlyUpdateFalsy || isInPreventUpdate || isInPreventDefineUpdate || preventDefineUpdate === true || preventDefineUpdate === param || preventContentUpdate && param === "content" && !hasCollection || (preventStateUpdate && param) === "state" || (0, import_methods.isMethod)(param) || (0, import_utils44.isObject)(import_mixins.registry[param]) || (0, import_utils210.isVariant)(param))
20368
+ if ((0, import_utils43.isUndefined)(prop) || hasOnlyUpdateFalsy || isInPreventUpdate || isInPreventDefineUpdate || preventDefineUpdate === true || preventDefineUpdate === param || preventContentUpdate && param === "content" && !hasCollection || (preventStateUpdate && param) === "state" || (0, import_methods.isMethod)(param) || (0, import_utils43.isObject)(import_mixins.registry[param]) || (0, import_utils210.isVariant)(param))
20428
20369
  continue;
20429
20370
  if (preventStateUpdate === "once")
20430
20371
  options.preventStateUpdate = false;
20431
20372
  const isElement = (0, import_applyParam.applyParam)(param, element, options);
20432
20373
  if (isElement) {
20433
20374
  const { hasDefine, hasContextDefine } = isElement;
20434
- const canUpdate = (0, import_utils44.isObject)(prop) && !hasDefine && !hasContextDefine && !preventRecursive;
20375
+ const canUpdate = (0, import_utils43.isObject)(prop) && !hasDefine && !hasContextDefine && !preventRecursive;
20435
20376
  if (!canUpdate)
20436
20377
  continue;
20437
20378
  const lazyLoad = element.props.lazyLoad || options.lazyLoad;
@@ -20440,7 +20381,7 @@ var require_update2 = __commonJS({
20440
20381
  currentSnapshot: snapshotOnCallee,
20441
20382
  calleeElement
20442
20383
  });
20443
- lazyLoad ? import_utils44.window.requestAnimationFrame(() => childUpdateCall()) : childUpdateCall();
20384
+ lazyLoad ? import_utils43.window.requestAnimationFrame(() => childUpdateCall()) : childUpdateCall();
20444
20385
  }
20445
20386
  }
20446
20387
  if (!preventUpdateListener)
@@ -20463,7 +20404,7 @@ var require_update2 = __commonJS({
20463
20404
  };
20464
20405
  var checkIfOnUpdate = (element, parent, options) => {
20465
20406
  var _a;
20466
- if (!(0, import_utils44.isFunction)(element.if) || !parent)
20407
+ if (!(0, import_utils43.isFunction)(element.if) || !parent)
20467
20408
  return;
20468
20409
  const ref = element.__ref;
20469
20410
  const ifPassed = element.if(element, element.state, element.context, options);
@@ -20503,7 +20444,7 @@ var require_update2 = __commonJS({
20503
20444
  delete element.__ref;
20504
20445
  delete element.parent;
20505
20446
  const created = (0, import_create.default)(element, parent, element.key, import_options5.default.create, attachOptions);
20506
- if (options.preventUpdate !== true && element.on && (0, import_utils44.isFunction)(element.on.update)) {
20447
+ if (options.preventUpdate !== true && element.on && (0, import_utils43.isFunction)(element.on.update)) {
20507
20448
  (0, import_event.applyEvent)(element.on.update, created, created.state);
20508
20449
  }
20509
20450
  return created;
@@ -20524,9 +20465,9 @@ var require_update2 = __commonJS({
20524
20465
  element.state = parent && parent.state || {};
20525
20466
  return;
20526
20467
  }
20527
- const shouldForceFunctionState = (0, import_utils44.isFunction)(stateKey) && !isHoisted && execStateFunction;
20468
+ const shouldForceFunctionState = (0, import_utils43.isFunction)(stateKey) && !isHoisted && execStateFunction;
20528
20469
  if (shouldForceFunctionState) {
20529
- const execState = (0, import_utils44.exec)(stateKey, element);
20470
+ const execState = (0, import_utils43.exec)(stateKey, element);
20530
20471
  state.set(execState, { ...options, preventUpdate: true, preventStateUpdateListener: false, updatedByStateFunction: true });
20531
20472
  return;
20532
20473
  }
@@ -20594,7 +20535,7 @@ var require_set2 = __commonJS({
20594
20535
  addMethods: () => addMethods
20595
20536
  });
20596
20537
  module2.exports = __toCommonJS12(set_exports);
20597
- var import_utils44 = require_cjs();
20538
+ var import_utils43 = require_cjs();
20598
20539
  var import_set = __toESM6(require_set(), 1);
20599
20540
  var import_update = __toESM6(require_update2(), 1);
20600
20541
  var import__ = require_methods2();
@@ -20615,7 +20556,7 @@ var require_set2 = __commonJS({
20615
20556
  nextElement: import__.nextElement.bind(element),
20616
20557
  previousElement: import__.previousElement.bind(element)
20617
20558
  };
20618
- if ((0, import_utils44.isDevelopment)())
20559
+ if ((0, import_utils43.isDevelopment)())
20619
20560
  proto.log = import__.log.bind(element);
20620
20561
  Object.setPrototypeOf(element, proto);
20621
20562
  };
@@ -20671,7 +20612,7 @@ var require_create4 = __commonJS({
20671
20612
  var import_set = require_set2();
20672
20613
  var import_classList = require_classList();
20673
20614
  var import_iterate = require_iterate();
20674
- var import_utils44 = require_cjs();
20615
+ var import_utils43 = require_cjs();
20675
20616
  var import_options5 = __toESM6(require_options(), 1);
20676
20617
  var import_component = require_component();
20677
20618
  var ENV2 = "development";
@@ -20684,7 +20625,7 @@ var require_create4 = __commonJS({
20684
20625
  parent = redefineParent(element, parent, key);
20685
20626
  key = createKey(element, parent, key);
20686
20627
  const ref = addRef(element, parent, key);
20687
- ref.__initialProps = (0, import_utils44.deepClone)(element.props, []);
20628
+ ref.__initialProps = (0, import_utils43.deepClone)(element.props, []);
20688
20629
  applyContext(element, parent, options);
20689
20630
  (0, import_component.applyComponentFromContext)(element, parent, options);
20690
20631
  if (!ref.__skipCreate) {
@@ -20727,7 +20668,7 @@ var require_create4 = __commonJS({
20727
20668
  }
20728
20669
  return {};
20729
20670
  }
20730
- if ((0, import_utils44.isString)(key) && key.slice(0, 2 === "__")) {
20671
+ if ((0, import_utils43.isString)(key) && key.slice(0, 2 === "__")) {
20731
20672
  if (ENV2 === "test" || ENV2 === "development") {
20732
20673
  console.warn(key, "seems like to be in __ref");
20733
20674
  }
@@ -20760,7 +20701,7 @@ var require_create4 = __commonJS({
20760
20701
  var redefineParent = (element, parent, key, options) => {
20761
20702
  if (!parent)
20762
20703
  return import_tree.ROOT;
20763
- if ((0, import_utils44.isNode)(parent)) {
20704
+ if ((0, import_utils43.isNode)(parent)) {
20764
20705
  const parentNodeWrapper = { key: ":root", node: parent };
20765
20706
  import_tree.ROOT[`${key}_parent`] = parentNodeWrapper;
20766
20707
  return parentNodeWrapper;
@@ -20774,7 +20715,7 @@ var require_create4 = __commonJS({
20774
20715
  }
20775
20716
  };
20776
20717
  var createKey = (element, parent, key) => {
20777
- return ((0, import_utils44.exec)(key, element) || key || element.key || (0, import_utils44.generateKey)()).toString();
20718
+ return ((0, import_utils43.exec)(key, element) || key || element.key || (0, import_utils43.generateKey)()).toString();
20778
20719
  };
20779
20720
  var addRef = (element, parent) => {
20780
20721
  if (element.__ref)
@@ -20811,7 +20752,7 @@ var require_create4 = __commonJS({
20811
20752
  (0, import_event.triggerEventOn)("render", element, options);
20812
20753
  (0, import_event.triggerEventOn)("done", element, options);
20813
20754
  };
20814
- var checkIfPrimitive = (element) => (0, import_utils44.is)(element)("string", "number");
20755
+ var checkIfPrimitive = (element) => (0, import_utils43.is)(element)("string", "number");
20815
20756
  var applyValueAsText = (element, parent, key) => {
20816
20757
  const extendTag = element.extend && element.extend.tag;
20817
20758
  const childExtendTag = parent.childExtend && parent.childExtend.tag;
@@ -20835,7 +20776,7 @@ var require_create4 = __commonJS({
20835
20776
  };
20836
20777
  var createIfConditionFlag = (element, parent) => {
20837
20778
  const { __ref: ref } = element;
20838
- if ((0, import_utils44.isFunction)(element.if) && !element.if(element, element.state)) {
20779
+ if ((0, import_utils43.isFunction)(element.if) && !element.if(element, element.state)) {
20839
20780
  delete ref.__if;
20840
20781
  } else
20841
20782
  ref.__if = true;
@@ -20898,7 +20839,7 @@ var require_create4 = __commonJS({
20898
20839
  (0, import_iterate.throughInitialDefine)(element);
20899
20840
  (0, import_iterate.throughInitialExec)(element);
20900
20841
  for (const k in element) {
20901
- if ((0, import_utils44.isUndefined)(element[k]) || (0, import_methods.isMethod)(k) || (0, import_utils44.isObject)(import_mixins.registry[k]) || (0, import_component.isVariant)(k))
20842
+ if ((0, import_utils43.isUndefined)(element[k]) || (0, import_methods.isMethod)(k) || (0, import_utils43.isObject)(import_mixins.registry[k]) || (0, import_component.isVariant)(k))
20902
20843
  continue;
20903
20844
  const hasDefine = element.define && element.define[k];
20904
20845
  const contextHasDefine = element.context && element.context.define && element.context.define[k];
@@ -20906,7 +20847,7 @@ var require_create4 = __commonJS({
20906
20847
  if (!ref.__skipCreate && import_mixins.registry[k] && !optionsHasDefine) {
20907
20848
  continue;
20908
20849
  } else if (element[k] && !hasDefine && !optionsHasDefine && !contextHasDefine) {
20909
- create3((0, import_utils44.exec)(element[k], element), element, k, options);
20850
+ create3((0, import_utils43.exec)(element[k], element), element, k, options);
20910
20851
  }
20911
20852
  }
20912
20853
  }
@@ -21071,11 +21012,11 @@ var require_cjs13 = __commonJS({
21071
21012
  });
21072
21013
 
21073
21014
  // ../../node_modules/@domql/classlist/index.js
21074
- var import_utils19, classify, classList, applyClassListOnNode;
21015
+ var import_utils18, classify, classList, applyClassListOnNode;
21075
21016
  var init_classlist = __esm({
21076
21017
  "../../node_modules/@domql/classlist/index.js"() {
21077
21018
  "use strict";
21078
- import_utils19 = __toESM(require_cjs());
21019
+ import_utils18 = __toESM(require_cjs());
21079
21020
  classify = (obj, element) => {
21080
21021
  let className = "";
21081
21022
  for (const item in obj) {
@@ -21085,7 +21026,7 @@ var init_classlist = __esm({
21085
21026
  else if (typeof param === "string")
21086
21027
  className += ` ${param}`;
21087
21028
  else if (typeof param === "function") {
21088
- className += ` ${(0, import_utils19.exec)(param, element)}`;
21029
+ className += ` ${(0, import_utils18.exec)(param, element)}`;
21089
21030
  }
21090
21031
  }
21091
21032
  return className;
@@ -21096,9 +21037,9 @@ var init_classlist = __esm({
21096
21037
  const { key } = element;
21097
21038
  if (params === true)
21098
21039
  params = element.class = { key };
21099
- if ((0, import_utils19.isString)(params))
21040
+ if ((0, import_utils18.isString)(params))
21100
21041
  params = element.class = { default: params };
21101
- if ((0, import_utils19.isObject)(params))
21042
+ if ((0, import_utils18.isObject)(params))
21102
21043
  params = classify(params, element);
21103
21044
  const className = params.replace(/\s+/g, " ").trim();
21104
21045
  if (element.ref)
@@ -21120,32 +21061,32 @@ __export(emotion_exports2, {
21120
21061
  transformEmotionClass: () => transformEmotionClass,
21121
21062
  transformEmotionStyle: () => transformEmotionStyle
21122
21063
  });
21123
- var import_utils20, transformEmotionStyle, transformEmotionClass, transformDOMQLEmotion;
21124
- var init_emotion3 = __esm({
21064
+ var import_utils19, transformEmotionStyle, transformEmotionClass, transformDOMQLEmotion;
21065
+ var init_emotion4 = __esm({
21125
21066
  "../../node_modules/@domql/emotion/index.js"() {
21126
21067
  "use strict";
21127
- import_utils20 = __toESM(require_cjs());
21068
+ import_utils19 = __toESM(require_cjs());
21128
21069
  init_classlist();
21129
21070
  init_emotion_css_create_instance_esm();
21130
- transformEmotionStyle = (emotion3) => {
21071
+ transformEmotionStyle = (emotion4) => {
21131
21072
  return (params, element, state) => {
21132
- const execParams = (0, import_utils20.exec)(params, element);
21073
+ const execParams = (0, import_utils19.exec)(params, element);
21133
21074
  if (params) {
21134
- if ((0, import_utils20.isObjectLike)(element.class))
21075
+ if ((0, import_utils19.isObjectLike)(element.class))
21135
21076
  element.class.elementStyle = execParams;
21136
21077
  else
21137
21078
  element.class = { elementStyle: execParams };
21138
21079
  }
21139
- transformEmotionClass(emotion3)(element.class, element, element.state, true);
21080
+ transformEmotionClass(emotion4)(element.class, element, element.state, true);
21140
21081
  };
21141
21082
  };
21142
- transformEmotionClass = (emotion3) => {
21083
+ transformEmotionClass = (emotion4) => {
21143
21084
  return (params, element, state, flag) => {
21144
21085
  if (element.style && !flag)
21145
21086
  return;
21146
21087
  const { __ref } = element;
21147
21088
  const { __class, __classNames } = __ref;
21148
- if (!(0, import_utils20.isObjectLike)(params))
21089
+ if (!(0, import_utils19.isObjectLike)(params))
21149
21090
  return;
21150
21091
  if (element.props.class) {
21151
21092
  __classNames.classProps = element.props.class;
@@ -21154,17 +21095,17 @@ var init_emotion3 = __esm({
21154
21095
  __classNames.class = element.attr.class;
21155
21096
  }
21156
21097
  for (const key in params) {
21157
- const prop = (0, import_utils20.exec)(params[key], element);
21098
+ const prop = (0, import_utils19.exec)(params[key], element);
21158
21099
  if (!prop) {
21159
21100
  delete __class[key];
21160
21101
  delete __classNames[key];
21161
21102
  continue;
21162
21103
  }
21163
- const isEqual = (0, import_utils20.isEqualDeep)(__class[key], prop);
21104
+ const isEqual = (0, import_utils19.isEqualDeep)(__class[key], prop);
21164
21105
  if (!isEqual) {
21165
- if (!(0, import_utils20.isProduction)() && (0, import_utils20.isObject)(prop))
21106
+ if (!(0, import_utils19.isProduction)() && (0, import_utils19.isObject)(prop))
21166
21107
  prop.label = key || element.key;
21167
- const CSSed = emotion3.css(prop);
21108
+ const CSSed = emotion4.css(prop);
21168
21109
  __class[key] = prop;
21169
21110
  __classNames[key] = CSSed;
21170
21111
  }
@@ -21172,231 +21113,231 @@ var init_emotion3 = __esm({
21172
21113
  applyClassListOnNode(__classNames, element, element.node);
21173
21114
  };
21174
21115
  };
21175
- transformDOMQLEmotion = (emotion3, options) => {
21176
- if (!emotion3)
21177
- emotion3 = createEmotion(options || { key: "smbls" });
21116
+ transformDOMQLEmotion = (emotion4, options) => {
21117
+ if (!emotion4)
21118
+ emotion4 = createEmotion(options || { key: "smbls" });
21178
21119
  return {
21179
- style: transformEmotionStyle(emotion3),
21180
- class: transformEmotionClass(emotion3)
21120
+ style: transformEmotionStyle(emotion4),
21121
+ class: transformEmotionClass(emotion4)
21181
21122
  };
21182
21123
  };
21183
21124
  }
21184
21125
  });
21185
21126
 
21186
- // ../../node_modules/@symbo.ls/default-icons/src/logo.svg
21127
+ // node_modules/@symbo.ls/default-icons/src/logo.svg
21187
21128
  var require_logo2 = __commonJS({
21188
- "../../node_modules/@symbo.ls/default-icons/src/logo.svg"() {
21129
+ "node_modules/@symbo.ls/default-icons/src/logo.svg"() {
21189
21130
  }
21190
21131
  });
21191
21132
 
21192
- // ../../node_modules/@symbo.ls/default-icons/src/arrow-down-circle.svg
21133
+ // node_modules/@symbo.ls/default-icons/src/arrow-down-circle.svg
21193
21134
  var require_arrow_down_circle2 = __commonJS({
21194
- "../../node_modules/@symbo.ls/default-icons/src/arrow-down-circle.svg"() {
21135
+ "node_modules/@symbo.ls/default-icons/src/arrow-down-circle.svg"() {
21195
21136
  }
21196
21137
  });
21197
21138
 
21198
- // ../../node_modules/@symbo.ls/default-icons/src/arrow-down-left.svg
21139
+ // node_modules/@symbo.ls/default-icons/src/arrow-down-left.svg
21199
21140
  var require_arrow_down_left2 = __commonJS({
21200
- "../../node_modules/@symbo.ls/default-icons/src/arrow-down-left.svg"() {
21141
+ "node_modules/@symbo.ls/default-icons/src/arrow-down-left.svg"() {
21201
21142
  }
21202
21143
  });
21203
21144
 
21204
- // ../../node_modules/@symbo.ls/default-icons/src/arrow-down-right.svg
21145
+ // node_modules/@symbo.ls/default-icons/src/arrow-down-right.svg
21205
21146
  var require_arrow_down_right2 = __commonJS({
21206
- "../../node_modules/@symbo.ls/default-icons/src/arrow-down-right.svg"() {
21147
+ "node_modules/@symbo.ls/default-icons/src/arrow-down-right.svg"() {
21207
21148
  }
21208
21149
  });
21209
21150
 
21210
- // ../../node_modules/@symbo.ls/default-icons/src/arrow-down.svg
21151
+ // node_modules/@symbo.ls/default-icons/src/arrow-down.svg
21211
21152
  var require_arrow_down2 = __commonJS({
21212
- "../../node_modules/@symbo.ls/default-icons/src/arrow-down.svg"() {
21153
+ "node_modules/@symbo.ls/default-icons/src/arrow-down.svg"() {
21213
21154
  }
21214
21155
  });
21215
21156
 
21216
- // ../../node_modules/@symbo.ls/default-icons/src/arrow-left-circle.svg
21157
+ // node_modules/@symbo.ls/default-icons/src/arrow-left-circle.svg
21217
21158
  var require_arrow_left_circle2 = __commonJS({
21218
- "../../node_modules/@symbo.ls/default-icons/src/arrow-left-circle.svg"() {
21159
+ "node_modules/@symbo.ls/default-icons/src/arrow-left-circle.svg"() {
21219
21160
  }
21220
21161
  });
21221
21162
 
21222
- // ../../node_modules/@symbo.ls/default-icons/src/arrow-left.svg
21163
+ // node_modules/@symbo.ls/default-icons/src/arrow-left.svg
21223
21164
  var require_arrow_left2 = __commonJS({
21224
- "../../node_modules/@symbo.ls/default-icons/src/arrow-left.svg"() {
21165
+ "node_modules/@symbo.ls/default-icons/src/arrow-left.svg"() {
21225
21166
  }
21226
21167
  });
21227
21168
 
21228
- // ../../node_modules/@symbo.ls/default-icons/src/arrow-right.svg
21169
+ // node_modules/@symbo.ls/default-icons/src/arrow-right.svg
21229
21170
  var require_arrow_right2 = __commonJS({
21230
- "../../node_modules/@symbo.ls/default-icons/src/arrow-right.svg"() {
21171
+ "node_modules/@symbo.ls/default-icons/src/arrow-right.svg"() {
21231
21172
  }
21232
21173
  });
21233
21174
 
21234
- // ../../node_modules/@symbo.ls/default-icons/src/arrow-right-circle.svg
21175
+ // node_modules/@symbo.ls/default-icons/src/arrow-right-circle.svg
21235
21176
  var require_arrow_right_circle2 = __commonJS({
21236
- "../../node_modules/@symbo.ls/default-icons/src/arrow-right-circle.svg"() {
21177
+ "node_modules/@symbo.ls/default-icons/src/arrow-right-circle.svg"() {
21237
21178
  }
21238
21179
  });
21239
21180
 
21240
- // ../../node_modules/@symbo.ls/default-icons/src/arrow-up-circle.svg
21181
+ // node_modules/@symbo.ls/default-icons/src/arrow-up-circle.svg
21241
21182
  var require_arrow_up_circle2 = __commonJS({
21242
- "../../node_modules/@symbo.ls/default-icons/src/arrow-up-circle.svg"() {
21183
+ "node_modules/@symbo.ls/default-icons/src/arrow-up-circle.svg"() {
21243
21184
  }
21244
21185
  });
21245
21186
 
21246
- // ../../node_modules/@symbo.ls/default-icons/src/arrow-up-left.svg
21187
+ // node_modules/@symbo.ls/default-icons/src/arrow-up-left.svg
21247
21188
  var require_arrow_up_left2 = __commonJS({
21248
- "../../node_modules/@symbo.ls/default-icons/src/arrow-up-left.svg"() {
21189
+ "node_modules/@symbo.ls/default-icons/src/arrow-up-left.svg"() {
21249
21190
  }
21250
21191
  });
21251
21192
 
21252
- // ../../node_modules/@symbo.ls/default-icons/src/arrow-up-right.svg
21193
+ // node_modules/@symbo.ls/default-icons/src/arrow-up-right.svg
21253
21194
  var require_arrow_up_right2 = __commonJS({
21254
- "../../node_modules/@symbo.ls/default-icons/src/arrow-up-right.svg"() {
21195
+ "node_modules/@symbo.ls/default-icons/src/arrow-up-right.svg"() {
21255
21196
  }
21256
21197
  });
21257
21198
 
21258
- // ../../node_modules/@symbo.ls/default-icons/src/arrow-up.svg
21199
+ // node_modules/@symbo.ls/default-icons/src/arrow-up.svg
21259
21200
  var require_arrow_up2 = __commonJS({
21260
- "../../node_modules/@symbo.ls/default-icons/src/arrow-up.svg"() {
21201
+ "node_modules/@symbo.ls/default-icons/src/arrow-up.svg"() {
21261
21202
  }
21262
21203
  });
21263
21204
 
21264
- // ../../node_modules/@symbo.ls/default-icons/src/check-circle.svg
21205
+ // node_modules/@symbo.ls/default-icons/src/check-circle.svg
21265
21206
  var require_check_circle2 = __commonJS({
21266
- "../../node_modules/@symbo.ls/default-icons/src/check-circle.svg"() {
21207
+ "node_modules/@symbo.ls/default-icons/src/check-circle.svg"() {
21267
21208
  }
21268
21209
  });
21269
21210
 
21270
- // ../../node_modules/@symbo.ls/default-icons/src/check.svg
21211
+ // node_modules/@symbo.ls/default-icons/src/check.svg
21271
21212
  var require_check2 = __commonJS({
21272
- "../../node_modules/@symbo.ls/default-icons/src/check.svg"() {
21213
+ "node_modules/@symbo.ls/default-icons/src/check.svg"() {
21273
21214
  }
21274
21215
  });
21275
21216
 
21276
- // ../../node_modules/@symbo.ls/default-icons/src/chevron-down.svg
21217
+ // node_modules/@symbo.ls/default-icons/src/chevron-down.svg
21277
21218
  var require_chevron_down2 = __commonJS({
21278
- "../../node_modules/@symbo.ls/default-icons/src/chevron-down.svg"() {
21219
+ "node_modules/@symbo.ls/default-icons/src/chevron-down.svg"() {
21279
21220
  }
21280
21221
  });
21281
21222
 
21282
- // ../../node_modules/@symbo.ls/default-icons/src/chevron-left.svg
21223
+ // node_modules/@symbo.ls/default-icons/src/chevron-left.svg
21283
21224
  var require_chevron_left2 = __commonJS({
21284
- "../../node_modules/@symbo.ls/default-icons/src/chevron-left.svg"() {
21225
+ "node_modules/@symbo.ls/default-icons/src/chevron-left.svg"() {
21285
21226
  }
21286
21227
  });
21287
21228
 
21288
- // ../../node_modules/@symbo.ls/default-icons/src/chevron-right.svg
21229
+ // node_modules/@symbo.ls/default-icons/src/chevron-right.svg
21289
21230
  var require_chevron_right2 = __commonJS({
21290
- "../../node_modules/@symbo.ls/default-icons/src/chevron-right.svg"() {
21231
+ "node_modules/@symbo.ls/default-icons/src/chevron-right.svg"() {
21291
21232
  }
21292
21233
  });
21293
21234
 
21294
- // ../../node_modules/@symbo.ls/default-icons/src/chevron-up.svg
21235
+ // node_modules/@symbo.ls/default-icons/src/chevron-up.svg
21295
21236
  var require_chevron_up2 = __commonJS({
21296
- "../../node_modules/@symbo.ls/default-icons/src/chevron-up.svg"() {
21237
+ "node_modules/@symbo.ls/default-icons/src/chevron-up.svg"() {
21297
21238
  }
21298
21239
  });
21299
21240
 
21300
- // ../../node_modules/@symbo.ls/default-icons/src/copy.svg
21241
+ // node_modules/@symbo.ls/default-icons/src/copy.svg
21301
21242
  var require_copy2 = __commonJS({
21302
- "../../node_modules/@symbo.ls/default-icons/src/copy.svg"() {
21243
+ "node_modules/@symbo.ls/default-icons/src/copy.svg"() {
21303
21244
  }
21304
21245
  });
21305
21246
 
21306
- // ../../node_modules/@symbo.ls/default-icons/src/eye-off.svg
21247
+ // node_modules/@symbo.ls/default-icons/src/eye-off.svg
21307
21248
  var require_eye_off2 = __commonJS({
21308
- "../../node_modules/@symbo.ls/default-icons/src/eye-off.svg"() {
21249
+ "node_modules/@symbo.ls/default-icons/src/eye-off.svg"() {
21309
21250
  }
21310
21251
  });
21311
21252
 
21312
- // ../../node_modules/@symbo.ls/default-icons/src/eye.svg
21253
+ // node_modules/@symbo.ls/default-icons/src/eye.svg
21313
21254
  var require_eye2 = __commonJS({
21314
- "../../node_modules/@symbo.ls/default-icons/src/eye.svg"() {
21255
+ "node_modules/@symbo.ls/default-icons/src/eye.svg"() {
21315
21256
  }
21316
21257
  });
21317
21258
 
21318
- // ../../node_modules/@symbo.ls/default-icons/src/info.svg
21259
+ // node_modules/@symbo.ls/default-icons/src/info.svg
21319
21260
  var require_info2 = __commonJS({
21320
- "../../node_modules/@symbo.ls/default-icons/src/info.svg"() {
21261
+ "node_modules/@symbo.ls/default-icons/src/info.svg"() {
21321
21262
  }
21322
21263
  });
21323
21264
 
21324
- // ../../node_modules/@symbo.ls/default-icons/src/minus.svg
21265
+ // node_modules/@symbo.ls/default-icons/src/minus.svg
21325
21266
  var require_minus2 = __commonJS({
21326
- "../../node_modules/@symbo.ls/default-icons/src/minus.svg"() {
21267
+ "node_modules/@symbo.ls/default-icons/src/minus.svg"() {
21327
21268
  }
21328
21269
  });
21329
21270
 
21330
- // ../../node_modules/@symbo.ls/default-icons/src/sun.svg
21271
+ // node_modules/@symbo.ls/default-icons/src/sun.svg
21331
21272
  var require_sun2 = __commonJS({
21332
- "../../node_modules/@symbo.ls/default-icons/src/sun.svg"() {
21273
+ "node_modules/@symbo.ls/default-icons/src/sun.svg"() {
21333
21274
  }
21334
21275
  });
21335
21276
 
21336
- // ../../node_modules/@symbo.ls/default-icons/src/moon.svg
21277
+ // node_modules/@symbo.ls/default-icons/src/moon.svg
21337
21278
  var require_moon2 = __commonJS({
21338
- "../../node_modules/@symbo.ls/default-icons/src/moon.svg"() {
21279
+ "node_modules/@symbo.ls/default-icons/src/moon.svg"() {
21339
21280
  }
21340
21281
  });
21341
21282
 
21342
- // ../../node_modules/@symbo.ls/default-icons/src/more-horizontal.svg
21283
+ // node_modules/@symbo.ls/default-icons/src/more-horizontal.svg
21343
21284
  var require_more_horizontal2 = __commonJS({
21344
- "../../node_modules/@symbo.ls/default-icons/src/more-horizontal.svg"() {
21285
+ "node_modules/@symbo.ls/default-icons/src/more-horizontal.svg"() {
21345
21286
  }
21346
21287
  });
21347
21288
 
21348
- // ../../node_modules/@symbo.ls/default-icons/src/more-vertical.svg
21289
+ // node_modules/@symbo.ls/default-icons/src/more-vertical.svg
21349
21290
  var require_more_vertical2 = __commonJS({
21350
- "../../node_modules/@symbo.ls/default-icons/src/more-vertical.svg"() {
21291
+ "node_modules/@symbo.ls/default-icons/src/more-vertical.svg"() {
21351
21292
  }
21352
21293
  });
21353
21294
 
21354
- // ../../node_modules/@symbo.ls/default-icons/src/send.svg
21295
+ // node_modules/@symbo.ls/default-icons/src/send.svg
21355
21296
  var require_send2 = __commonJS({
21356
- "../../node_modules/@symbo.ls/default-icons/src/send.svg"() {
21297
+ "node_modules/@symbo.ls/default-icons/src/send.svg"() {
21357
21298
  }
21358
21299
  });
21359
21300
 
21360
- // ../../node_modules/@symbo.ls/default-icons/src/smile.svg
21301
+ // node_modules/@symbo.ls/default-icons/src/smile.svg
21361
21302
  var require_smile2 = __commonJS({
21362
- "../../node_modules/@symbo.ls/default-icons/src/smile.svg"() {
21303
+ "node_modules/@symbo.ls/default-icons/src/smile.svg"() {
21363
21304
  }
21364
21305
  });
21365
21306
 
21366
- // ../../node_modules/@symbo.ls/default-icons/src/search.svg
21307
+ // node_modules/@symbo.ls/default-icons/src/search.svg
21367
21308
  var require_search2 = __commonJS({
21368
- "../../node_modules/@symbo.ls/default-icons/src/search.svg"() {
21309
+ "node_modules/@symbo.ls/default-icons/src/search.svg"() {
21369
21310
  }
21370
21311
  });
21371
21312
 
21372
- // ../../node_modules/@symbo.ls/default-icons/src/upload.svg
21313
+ // node_modules/@symbo.ls/default-icons/src/upload.svg
21373
21314
  var require_upload2 = __commonJS({
21374
- "../../node_modules/@symbo.ls/default-icons/src/upload.svg"() {
21315
+ "node_modules/@symbo.ls/default-icons/src/upload.svg"() {
21375
21316
  }
21376
21317
  });
21377
21318
 
21378
- // ../../node_modules/@symbo.ls/default-icons/src/video.svg
21319
+ // node_modules/@symbo.ls/default-icons/src/video.svg
21379
21320
  var require_video2 = __commonJS({
21380
- "../../node_modules/@symbo.ls/default-icons/src/video.svg"() {
21321
+ "node_modules/@symbo.ls/default-icons/src/video.svg"() {
21381
21322
  }
21382
21323
  });
21383
21324
 
21384
- // ../../node_modules/@symbo.ls/default-icons/src/x.svg
21325
+ // node_modules/@symbo.ls/default-icons/src/x.svg
21385
21326
  var require_x2 = __commonJS({
21386
- "../../node_modules/@symbo.ls/default-icons/src/x.svg"() {
21327
+ "node_modules/@symbo.ls/default-icons/src/x.svg"() {
21387
21328
  }
21388
21329
  });
21389
21330
 
21390
- // ../../node_modules/@symbo.ls/default-icons/src/plus.svg
21331
+ // node_modules/@symbo.ls/default-icons/src/plus.svg
21391
21332
  var require_plus2 = __commonJS({
21392
- "../../node_modules/@symbo.ls/default-icons/src/plus.svg"() {
21333
+ "node_modules/@symbo.ls/default-icons/src/plus.svg"() {
21393
21334
  }
21394
21335
  });
21395
21336
 
21396
- // ../../node_modules/@symbo.ls/default-icons/index.js
21337
+ // node_modules/@symbo.ls/default-icons/index.js
21397
21338
  var default_icons_default;
21398
21339
  var init_default_icons = __esm({
21399
- "../../node_modules/@symbo.ls/default-icons/index.js"() {
21340
+ "node_modules/@symbo.ls/default-icons/index.js"() {
21400
21341
  "use strict";
21401
21342
  default_icons_default = {
21402
21343
  logo: require_logo2(),
@@ -21438,10 +21379,10 @@ var init_default_icons = __esm({
21438
21379
  }
21439
21380
  });
21440
21381
 
21441
- // ../../node_modules/@symbo.ls/default-config/src/color.js
21382
+ // node_modules/@symbo.ls/default-config/src/color.js
21442
21383
  var COLOR2, GRADIENT2;
21443
21384
  var init_color2 = __esm({
21444
- "../../node_modules/@symbo.ls/default-config/src/color.js"() {
21385
+ "node_modules/@symbo.ls/default-config/src/color.js"() {
21445
21386
  "use strict";
21446
21387
  COLOR2 = {
21447
21388
  blue: "#213eb0",
@@ -21512,10 +21453,10 @@ var init_color2 = __esm({
21512
21453
  }
21513
21454
  });
21514
21455
 
21515
- // ../../node_modules/@symbo.ls/default-config/src/theme.js
21456
+ // node_modules/@symbo.ls/default-config/src/theme.js
21516
21457
  var PRIORITIES2, STATES2, UI2, THEME2;
21517
21458
  var init_theme2 = __esm({
21518
- "../../node_modules/@symbo.ls/default-config/src/theme.js"() {
21459
+ "node_modules/@symbo.ls/default-config/src/theme.js"() {
21519
21460
  "use strict";
21520
21461
  PRIORITIES2 = {
21521
21462
  primary: {
@@ -21734,10 +21675,10 @@ var init_theme2 = __esm({
21734
21675
  }
21735
21676
  });
21736
21677
 
21737
- // ../../node_modules/@symbo.ls/default-config/src/typography.js
21678
+ // node_modules/@symbo.ls/default-config/src/typography.js
21738
21679
  var TYPOGRAPHY2;
21739
21680
  var init_typography2 = __esm({
21740
- "../../node_modules/@symbo.ls/default-config/src/typography.js"() {
21681
+ "node_modules/@symbo.ls/default-config/src/typography.js"() {
21741
21682
  "use strict";
21742
21683
  TYPOGRAPHY2 = {
21743
21684
  base: 16,
@@ -21748,10 +21689,10 @@ var init_typography2 = __esm({
21748
21689
  }
21749
21690
  });
21750
21691
 
21751
- // ../../node_modules/@symbo.ls/default-config/src/spacing.js
21692
+ // node_modules/@symbo.ls/default-config/src/spacing.js
21752
21693
  var SPACING2;
21753
21694
  var init_spacing2 = __esm({
21754
- "../../node_modules/@symbo.ls/default-config/src/spacing.js"() {
21695
+ "node_modules/@symbo.ls/default-config/src/spacing.js"() {
21755
21696
  "use strict";
21756
21697
  SPACING2 = {
21757
21698
  ratio: 1.618,
@@ -21760,10 +21701,10 @@ var init_spacing2 = __esm({
21760
21701
  }
21761
21702
  });
21762
21703
 
21763
- // ../../node_modules/@symbo.ls/default-config/src/font.js
21704
+ // node_modules/@symbo.ls/default-config/src/font.js
21764
21705
  var FONT2, FONT_FAMILY2;
21765
21706
  var init_font2 = __esm({
21766
- "../../node_modules/@symbo.ls/default-config/src/font.js"() {
21707
+ "node_modules/@symbo.ls/default-config/src/font.js"() {
21767
21708
  "use strict";
21768
21709
  FONT2 = {
21769
21710
  SourceSans: [{
@@ -21779,10 +21720,10 @@ var init_font2 = __esm({
21779
21720
  }
21780
21721
  });
21781
21722
 
21782
- // ../../node_modules/@symbo.ls/default-config/src/media.js
21723
+ // node_modules/@symbo.ls/default-config/src/media.js
21783
21724
  var MEDIA2;
21784
21725
  var init_media2 = __esm({
21785
- "../../node_modules/@symbo.ls/default-config/src/media.js"() {
21726
+ "node_modules/@symbo.ls/default-config/src/media.js"() {
21786
21727
  "use strict";
21787
21728
  MEDIA2 = {
21788
21729
  tv: "(min-width: 2780px)",
@@ -21813,10 +21754,10 @@ var init_media2 = __esm({
21813
21754
  }
21814
21755
  });
21815
21756
 
21816
- // ../../node_modules/@symbo.ls/default-config/src/timing.js
21757
+ // node_modules/@symbo.ls/default-config/src/timing.js
21817
21758
  var TIMING2;
21818
21759
  var init_timing2 = __esm({
21819
- "../../node_modules/@symbo.ls/default-config/src/timing.js"() {
21760
+ "node_modules/@symbo.ls/default-config/src/timing.js"() {
21820
21761
  "use strict";
21821
21762
  TIMING2 = {
21822
21763
  base: 150,
@@ -21827,7 +21768,7 @@ var init_timing2 = __esm({
21827
21768
  }
21828
21769
  });
21829
21770
 
21830
- // ../../node_modules/@symbo.ls/default-config/src/index.js
21771
+ // node_modules/@symbo.ls/default-config/src/index.js
21831
21772
  var src_exports = {};
21832
21773
  __export(src_exports, {
21833
21774
  DEFAULT_CONFIG: () => DEFAULT_CONFIG2,
@@ -21835,7 +21776,7 @@ __export(src_exports, {
21835
21776
  });
21836
21777
  var DEFAULT_CONFIG2, src_default;
21837
21778
  var init_src2 = __esm({
21838
- "../../node_modules/@symbo.ls/default-config/src/index.js"() {
21779
+ "node_modules/@symbo.ls/default-config/src/index.js"() {
21839
21780
  "use strict";
21840
21781
  init_default_icons();
21841
21782
  init_color2();
@@ -21878,7 +21819,7 @@ var init_src2 = __esm({
21878
21819
 
21879
21820
  // dist/cjs/initEmotion.js
21880
21821
  var initEmotion_exports = {};
21881
- var __create2, __defProp8, __getOwnPropDesc8, __getOwnPropNames8, __getProtoOf2, __hasOwnProp8, __export8, __copyProps8, __toESM2, __toCommonJS8, initEmotion_exports2, import_emotion3, import_emotion22, import_init4, import_utils21, import_options, import_default_config, initEmotion;
21822
+ var __create2, __defProp8, __getOwnPropDesc8, __getOwnPropNames8, __getProtoOf2, __hasOwnProp8, __export8, __copyProps8, __toESM2, __toCommonJS8, initEmotion_exports2, import_emotion3, import_emotion22, import_init4, import_utils20, import_options, import_default_config, initEmotion;
21882
21823
  var init_initEmotion = __esm({
21883
21824
  "dist/cjs/initEmotion.js"() {
21884
21825
  "use strict";
@@ -21914,37 +21855,37 @@ var init_initEmotion = __esm({
21914
21855
  initEmotion: () => initEmotion
21915
21856
  });
21916
21857
  module.exports = __toCommonJS8(initEmotion_exports2);
21917
- import_emotion3 = (init_emotion3(), __toCommonJS(emotion_exports2));
21918
- import_emotion22 = (init_emotion2(), __toCommonJS(emotion_exports));
21858
+ import_emotion3 = (init_emotion4(), __toCommonJS(emotion_exports2));
21859
+ import_emotion22 = (init_emotion3(), __toCommonJS(emotion_exports));
21919
21860
  import_init4 = (init_init(), __toCommonJS(init_exports));
21920
- import_utils21 = require_cjs();
21861
+ import_utils20 = require_cjs();
21921
21862
  import_options = (init_options(), __toCommonJS(options_exports));
21922
21863
  import_default_config = __toESM2((init_src2(), __toCommonJS(src_exports)), 1);
21923
21864
  initEmotion = (key, options = {}) => {
21924
21865
  const doc = options.parent || options.document || document;
21925
21866
  const initOptions = options.initOptions || {};
21926
- const emotion3 = initOptions.emotion;
21867
+ const emotion4 = initOptions.emotion;
21927
21868
  if (!initOptions.emotion)
21928
21869
  initOptions.emotion = import_emotion22.emotion;
21929
21870
  const registry = options.registry || (0, import_emotion3.transformDOMQLEmotion)(initOptions.emotion, options);
21930
- const defaultDesignSystem = (0, import_utils21.deepClone)(import_default_config.default);
21931
- const designSystem = initOptions.useDefaultConfig || options.useDefaultConfig ? (0, import_utils21.deepMerge)(options.designSystem, defaultDesignSystem) : options.designSystem || defaultDesignSystem;
21871
+ const defaultDesignSystem = (0, import_utils20.deepClone)(import_default_config.default);
21872
+ const designSystem = initOptions.useDefaultConfig || options.useDefaultConfig ? (0, import_utils20.deepMerge)(options.designSystem, defaultDesignSystem) : options.designSystem || defaultDesignSystem;
21932
21873
  const scratchSystem2 = (0, import_init4.init)(designSystem, {
21933
21874
  key,
21934
- emotion: emotion3,
21875
+ emotion: emotion4,
21935
21876
  verbose: options.verbose,
21936
21877
  document: doc,
21937
21878
  ...import_options.DESIGN_SYSTEM_OPTIONS,
21938
21879
  ...initOptions
21939
21880
  });
21940
- return [scratchSystem2, emotion3, registry];
21881
+ return [scratchSystem2, emotion4, registry];
21941
21882
  };
21942
21883
  }
21943
21884
  });
21944
21885
 
21945
21886
  // dist/cjs/prepare.js
21946
21887
  var prepare_exports = {};
21947
- var __create3, __defProp9, __getOwnPropDesc9, __getOwnPropNames9, __getProtoOf3, __hasOwnProp9, __export9, __copyProps9, __toESM3, __toCommonJS9, prepare_exports2, import_utils22, import_initEmotion, uikit, utils2, checkIfKeyIsComponent, UIkitWithPrefix, prepareComponents, prepareUtils, preparePackages, prepareDesignSystem, prepareState, preparePages, prepareDocument;
21888
+ var __create3, __defProp9, __getOwnPropDesc9, __getOwnPropNames9, __getProtoOf3, __hasOwnProp9, __export9, __copyProps9, __toESM3, __toCommonJS9, prepare_exports2, import_utils21, import_initEmotion, uikit, utils2, checkIfKeyIsComponent, UIkitWithPrefix, prepareComponents, prepareUtils, preparePackages, prepareDesignSystem, prepareState, preparePages, prepareDocument;
21948
21889
  var init_prepare = __esm({
21949
21890
  "dist/cjs/prepare.js"() {
21950
21891
  "use strict";
@@ -21987,12 +21928,12 @@ var init_prepare = __esm({
21987
21928
  prepareUtils: () => prepareUtils
21988
21929
  });
21989
21930
  module.exports = __toCommonJS9(prepare_exports2);
21990
- import_utils22 = require_cjs();
21931
+ import_utils21 = require_cjs();
21991
21932
  import_initEmotion = (init_initEmotion(), __toCommonJS(initEmotion_exports));
21992
21933
  uikit = __toESM3((init_uikit(), __toCommonJS(uikit_exports)), 1);
21993
21934
  utils2 = __toESM3((init_utilImports(), __toCommonJS(utilImports_exports2)), 1);
21994
21935
  checkIfKeyIsComponent = (key) => {
21995
- const isFirstKeyString = (0, import_utils22.isString)(key);
21936
+ const isFirstKeyString = (0, import_utils21.isString)(key);
21996
21937
  if (!isFirstKeyString)
21997
21938
  return;
21998
21939
  const firstCharKey = key.slice(0, 1);
@@ -22020,23 +21961,23 @@ var init_prepare = __esm({
22020
21961
  preparePackages = (packages, opts) => {
22021
21962
  const windowOpts = opts.window || window;
22022
21963
  if (windowOpts.packages) {
22023
- windowOpts.packages = (0, import_utils22.merge)(windowOpts.packages, packages);
21964
+ windowOpts.packages = (0, import_utils21.merge)(windowOpts.packages, packages);
22024
21965
  } else {
22025
21966
  windowOpts.packages = packages;
22026
21967
  windowOpts.require = (key) => windowOpts.packages[key];
22027
21968
  }
22028
21969
  };
22029
21970
  prepareDesignSystem = (options, key) => {
22030
- const [scratcDesignhSystem, emotion3, registry] = (0, import_initEmotion.initEmotion)(key, options);
22031
- return [scratcDesignhSystem, emotion3, registry];
21971
+ const [scratcDesignhSystem, emotion4, registry] = (0, import_initEmotion.initEmotion)(key, options);
21972
+ return [scratcDesignhSystem, emotion4, registry];
22032
21973
  };
22033
21974
  prepareState = (options, App) => {
22034
21975
  const state = {};
22035
21976
  if (options.state)
22036
21977
  utils2.deepMerge(state, options.state);
22037
21978
  if (App && App.state)
22038
- (0, import_utils22.deepMerge)(state, App.state);
22039
- return (0, import_utils22.deepCloneWithExtend)(state);
21979
+ (0, import_utils21.deepMerge)(state, App.state);
21980
+ return (0, import_utils21.deepCloneWithExtend)(state);
22040
21981
  };
22041
21982
  preparePages = (options) => {
22042
21983
  const pages = options.pages;
@@ -22069,7 +22010,7 @@ var init_prepare = __esm({
22069
22010
 
22070
22011
  // dist/cjs/createDomql.js
22071
22012
  var createDomql_exports = {};
22072
- var __create4, __defProp10, __getOwnPropDesc10, __getOwnPropNames10, __getProtoOf4, __hasOwnProp10, __export10, __copyProps10, __toESM4, __toCommonJS10, createDomql_exports2, import_domql, import_utils23, uikit2, import_define2, import_router3, import_syncExtend, import_prepare, SYMBOLS_KEY, createDomqlElement;
22013
+ var __create4, __defProp10, __getOwnPropDesc10, __getOwnPropNames10, __getProtoOf4, __hasOwnProp10, __export10, __copyProps10, __toESM4, __toCommonJS10, createDomql_exports2, import_domql, import_utils22, uikit2, import_define2, import_router3, import_syncExtend, import_prepare, SYMBOLS_KEY, createDomqlElement;
22073
22014
  var init_createDomql = __esm({
22074
22015
  "dist/cjs/createDomql.js"() {
22075
22016
  "use strict";
@@ -22106,7 +22047,7 @@ var init_createDomql = __esm({
22106
22047
  });
22107
22048
  module.exports = __toCommonJS10(createDomql_exports2);
22108
22049
  import_domql = __toESM4(require_cjs13(), 1);
22109
- import_utils23 = require_cjs();
22050
+ import_utils22 = require_cjs();
22110
22051
  uikit2 = __toESM4((init_uikit(), __toCommonJS(uikit_exports)), 1);
22111
22052
  import_define2 = (init_define(), __toCommonJS(define_exports));
22112
22053
  import_router3 = (init_router(), __toCommonJS(router_exports));
@@ -22114,9 +22055,9 @@ var init_createDomql = __esm({
22114
22055
  import_prepare = (init_prepare(), __toCommonJS(prepare_exports));
22115
22056
  SYMBOLS_KEY = process.env.SYMBOLS_KEY;
22116
22057
  createDomqlElement = (App, options) => {
22117
- const key = options.key || SYMBOLS_KEY || ((0, import_utils23.isString)(App) ? App : "");
22118
- const [scratcDesignSystem, emotion3, registry] = (0, import_prepare.prepareDesignSystem)(options, key);
22119
- if ((0, import_utils23.isString)(App))
22058
+ const key = options.key || SYMBOLS_KEY || ((0, import_utils22.isString)(App) ? App : "");
22059
+ const [scratcDesignSystem, emotion4, registry] = (0, import_prepare.prepareDesignSystem)(options, key);
22060
+ if ((0, import_utils22.isString)(App))
22120
22061
  App = {};
22121
22062
  const doc = (0, import_prepare.prepareDocument)(options);
22122
22063
  const state = (0, import_prepare.prepareState)(options, App);
@@ -22145,7 +22086,7 @@ var init_createDomql = __esm({
22145
22086
  utils: snippets,
22146
22087
  define,
22147
22088
  registry,
22148
- emotion: emotion3,
22089
+ emotion: emotion4,
22149
22090
  routerOptions,
22150
22091
  socket: options.socket,
22151
22092
  editor: options.editor,
@@ -22162,7 +22103,7 @@ var init_createDomql = __esm({
22162
22103
  });
22163
22104
 
22164
22105
  // dist/cjs/index.js
22165
- var __create5, __defProp11, __getOwnPropDesc11, __getOwnPropNames11, __getProtoOf5, __hasOwnProp11, __export11, __copyProps11, __toESM5, __toCommonJS11, src_exports2, import_utils24, utils3, import_router4, import_ferchOnCreate, import_syncExtend2, import_options2, import_dynamic2, import_createDomql, SYMBOLS_KEY2, mergeWithLocalFile2, create, createAsync, createSync, createSkeleton, src_default2;
22106
+ var __create5, __defProp11, __getOwnPropDesc11, __getOwnPropNames11, __getProtoOf5, __hasOwnProp11, __export11, __copyProps11, __toESM5, __toCommonJS11, src_exports2, import_utils23, utils3, import_router4, import_ferchOnCreate, import_syncExtend2, import_options2, import_dynamic2, import_createDomql, SYMBOLS_KEY2, mergeWithLocalFile2, create, createAsync, createSync, createSkeleton, src_default2;
22166
22107
  var init_cjs = __esm({
22167
22108
  "dist/cjs/index.js"() {
22168
22109
  "use strict";
@@ -22202,7 +22143,7 @@ var init_cjs = __esm({
22202
22143
  default: () => src_default2
22203
22144
  });
22204
22145
  module.exports = __toCommonJS11(src_exports2);
22205
- import_utils24 = require_cjs();
22146
+ import_utils23 = require_cjs();
22206
22147
  utils3 = __toESM5((init_utilImports(), __toCommonJS(utilImports_exports2)), 1);
22207
22148
  import_router4 = (init_router(), __toCommonJS(router_exports));
22208
22149
  import_ferchOnCreate = (init_ferchOnCreate(), __toCommonJS(ferchOnCreate_exports));
@@ -22211,9 +22152,9 @@ var init_cjs = __esm({
22211
22152
  import_dynamic2 = __toESM5(require_dynamic(), 1);
22212
22153
  import_createDomql = (init_createDomql(), __toCommonJS(createDomql_exports));
22213
22154
  SYMBOLS_KEY2 = process.env.SYMBOLS_KEY;
22214
- mergeWithLocalFile2 = (options, optionsExternalFile) => (0, import_utils24.deepMerge)(
22155
+ mergeWithLocalFile2 = (options, optionsExternalFile) => (0, import_utils23.deepMerge)(
22215
22156
  options,
22216
- (0, import_utils24.isObject)(optionsExternalFile) ? optionsExternalFile : import_dynamic2.default || {}
22157
+ (0, import_utils23.isObject)(optionsExternalFile) ? optionsExternalFile : import_dynamic2.default || {}
22217
22158
  );
22218
22159
  create = (App, options = import_options2.default, optionsExternalFile) => {
22219
22160
  const redefinedOptions = { ...import_options2.default, ...mergeWithLocalFile2(options, optionsExternalFile) };
@@ -22240,10 +22181,13 @@ var init_cjs = __esm({
22240
22181
  redefinedOptions.on.create(domqlApp, redefinedOptions);
22241
22182
  return domqlApp;
22242
22183
  };
22243
- createSkeleton = (App, options = import_options2.default, optionsExternalFile) => {
22184
+ createSkeleton = (App = {}, options = import_options2.default, optionsExternalFile) => {
22244
22185
  return create(
22245
- App,
22246
- (0, import_utils24.deepMerge)({ domqlOptions: { onlyResolveExtends: true } }, options),
22186
+ {
22187
+ deps: { isUndefined: import_utils23.isUndefined },
22188
+ ...App
22189
+ },
22190
+ (0, import_utils23.deepMerge)({ domqlOptions: { onlyResolveExtends: true } }, options),
22247
22191
  optionsExternalFile
22248
22192
  );
22249
22193
  };
@@ -22431,7 +22375,7 @@ __export(smbls_exports, {
22431
22375
  Video: () => Video,
22432
22376
  XYZ: () => XYZ2,
22433
22377
  applyCSS: () => applyCSS,
22434
- createEmotion: () => createEmotion6,
22378
+ createEmotion: () => createEmotion4,
22435
22379
  emotion: () => emotion2,
22436
22380
  getSystemGlobalTheme: () => getSystemGlobalTheme2,
22437
22381
  init: () => init,
@@ -22691,13 +22635,13 @@ var init_style2 = __esm({
22691
22635
  });
22692
22636
 
22693
22637
  // ../uikit/Atoms/Theme.js
22694
- var import_scratch17, import_utils25, getSystemGlobalTheme2, Theme2;
22638
+ var import_scratch17, import_utils24, getSystemGlobalTheme2, Theme2;
22695
22639
  var init_Theme2 = __esm({
22696
22640
  "../uikit/Atoms/Theme.js"() {
22697
22641
  "use strict";
22698
22642
  import_scratch17 = __toESM(require_cjs2());
22699
22643
  init_style2();
22700
- import_utils25 = __toESM(require_cjs());
22644
+ import_utils24 = __toESM(require_cjs());
22701
22645
  getSystemGlobalTheme2 = ({ context, state }) => {
22702
22646
  const rootState = state && state.root;
22703
22647
  return rootState && rootState.globalTheme ? rootState.globalTheme : context.designSystem && context.designSystem.globalTheme;
@@ -22715,7 +22659,7 @@ var init_Theme2 = __esm({
22715
22659
  transformBackgroundImage: import_scratch17.transformBackgroundImage
22716
22660
  },
22717
22661
  class: {
22718
- depth: ({ props: props2, deps }) => !(0, import_utils25.isUndefined)(props2.depth) && deps.depth[props2.depth],
22662
+ depth: ({ props: props2, deps }) => !(0, import_utils24.isUndefined)(props2.depth) && deps.depth[props2.depth],
22719
22663
  theme: (element) => {
22720
22664
  const { props: props2, deps } = element;
22721
22665
  const globalTheme = deps.getSystemGlobalTheme(element);
@@ -22767,22 +22711,22 @@ var init_Theme2 = __esm({
22767
22711
  backgroundImage: deps.transformBackgroundImage(props2.backgroundImage, globalTheme)
22768
22712
  };
22769
22713
  },
22770
- backgroundSize: ({ props: props2 }) => !(0, import_utils25.isUndefined)(props2.backgroundSize) ? {
22714
+ backgroundSize: ({ props: props2 }) => !(0, import_utils24.isUndefined)(props2.backgroundSize) ? {
22771
22715
  backgroundSize: props2.backgroundSize
22772
22716
  } : null,
22773
- backgroundPosition: ({ props: props2 }) => !(0, import_utils25.isUndefined)(props2.backgroundPosition) ? {
22717
+ backgroundPosition: ({ props: props2 }) => !(0, import_utils24.isUndefined)(props2.backgroundPosition) ? {
22774
22718
  backgroundPosition: props2.backgroundPosition
22775
22719
  } : null,
22776
- backgroundRepeat: ({ props: props2 }) => !(0, import_utils25.isUndefined)(props2.backgroundRepeat) ? {
22720
+ backgroundRepeat: ({ props: props2 }) => !(0, import_utils24.isUndefined)(props2.backgroundRepeat) ? {
22777
22721
  backgroundRepeat: props2.backgroundRepeat
22778
22722
  } : null,
22779
- textStroke: ({ props: props2, deps }) => !(0, import_utils25.isUndefined)(props2.textStroke) ? {
22723
+ textStroke: ({ props: props2, deps }) => !(0, import_utils24.isUndefined)(props2.textStroke) ? {
22780
22724
  WebkitTextStroke: deps.transformTextStroke(props2.textStroke)
22781
22725
  } : null,
22782
- outline: ({ props: props2, deps }) => !(0, import_utils25.isUndefined)(props2.outline) && {
22726
+ outline: ({ props: props2, deps }) => !(0, import_utils24.isUndefined)(props2.outline) && {
22783
22727
  outline: deps.transformBorder(props2.outline)
22784
22728
  },
22785
- border: ({ props: props2, deps }) => !(0, import_utils25.isUndefined)(props2.border) && {
22729
+ border: ({ props: props2, deps }) => !(0, import_utils24.isUndefined)(props2.border) && {
22786
22730
  border: deps.transformBorder(props2.border)
22787
22731
  },
22788
22732
  borderColor: (element) => {
@@ -22794,19 +22738,19 @@ var init_Theme2 = __esm({
22794
22738
  borderColor: deps.getMediaColor(props2.borderColor, globalTheme)
22795
22739
  };
22796
22740
  },
22797
- borderStyle: ({ props: props2 }) => !(0, import_utils25.isUndefined)(props2.borderStyle) && {
22741
+ borderStyle: ({ props: props2 }) => !(0, import_utils24.isUndefined)(props2.borderStyle) && {
22798
22742
  borderStyle: props2.borderStyle
22799
22743
  },
22800
- borderLeft: ({ props: props2, deps }) => !(0, import_utils25.isUndefined)(props2.borderLeft) && {
22744
+ borderLeft: ({ props: props2, deps }) => !(0, import_utils24.isUndefined)(props2.borderLeft) && {
22801
22745
  borderLeft: deps.transformBorder(props2.borderLeft)
22802
22746
  },
22803
- borderTop: ({ props: props2, deps }) => !(0, import_utils25.isUndefined)(props2.borderTop) && {
22747
+ borderTop: ({ props: props2, deps }) => !(0, import_utils24.isUndefined)(props2.borderTop) && {
22804
22748
  borderTop: deps.transformBorder(props2.borderTop)
22805
22749
  },
22806
- borderRight: ({ props: props2, deps }) => !(0, import_utils25.isUndefined)(props2.borderRight) && {
22750
+ borderRight: ({ props: props2, deps }) => !(0, import_utils24.isUndefined)(props2.borderRight) && {
22807
22751
  borderRight: deps.transformBorder(props2.borderRight)
22808
22752
  },
22809
- borderBottom: ({ props: props2, deps }) => !(0, import_utils25.isUndefined)(props2.borderBottom) && {
22753
+ borderBottom: ({ props: props2, deps }) => !(0, import_utils24.isUndefined)(props2.borderBottom) && {
22810
22754
  borderBottom: deps.transformBorder(props2.borderBottom)
22811
22755
  },
22812
22756
  shadow: (element) => {
@@ -22818,31 +22762,31 @@ var init_Theme2 = __esm({
22818
22762
  boxShadow: deps.transformShadow(props2.shadow, globalTheme)
22819
22763
  };
22820
22764
  },
22821
- boxShadow: ({ props: props2, deps }) => (0, import_utils25.isString)(props2.boxShadow) && {
22765
+ boxShadow: ({ props: props2, deps }) => (0, import_utils24.isString)(props2.boxShadow) && {
22822
22766
  boxShadow: deps.transformBoxShadow(props2.boxShadow)
22823
22767
  },
22824
- textShadow: ({ props: props2, deps }) => !(0, import_utils25.isUndefined)(props2.textShadow) && {
22768
+ textShadow: ({ props: props2, deps }) => !(0, import_utils24.isUndefined)(props2.textShadow) && {
22825
22769
  textShadow: deps.transformBoxShadow(props2.textShadow)
22826
22770
  },
22827
- backdropFilter: ({ props: props2, deps }) => !(0, import_utils25.isUndefined)(props2.backdropFilter) && {
22771
+ backdropFilter: ({ props: props2, deps }) => !(0, import_utils24.isUndefined)(props2.backdropFilter) && {
22828
22772
  backdropFilter: props2.backdropFilter
22829
22773
  },
22830
- opacity: ({ props: props2 }) => !(0, import_utils25.isUndefined)(props2.opacity) && {
22774
+ opacity: ({ props: props2 }) => !(0, import_utils24.isUndefined)(props2.opacity) && {
22831
22775
  opacity: props2.opacity
22832
22776
  },
22833
- visibility: ({ props: props2 }) => !(0, import_utils25.isUndefined)(props2.visibility) && {
22777
+ visibility: ({ props: props2 }) => !(0, import_utils24.isUndefined)(props2.visibility) && {
22834
22778
  visibility: props2.visibility
22835
22779
  },
22836
- columnRule: ({ props: props2, deps }) => !(0, import_utils25.isUndefined)(props2.columnRule) && {
22780
+ columnRule: ({ props: props2, deps }) => !(0, import_utils24.isUndefined)(props2.columnRule) && {
22837
22781
  columnRule: deps.transformBorder(props2.columnRule)
22838
22782
  },
22839
- filter: ({ props: props2, deps }) => !(0, import_utils25.isUndefined)(props2.filter) && {
22783
+ filter: ({ props: props2, deps }) => !(0, import_utils24.isUndefined)(props2.filter) && {
22840
22784
  filter: props2.filter
22841
22785
  },
22842
- mixBlendMode: ({ props: props2, deps }) => !(0, import_utils25.isUndefined)(props2.mixBlendMode) && {
22786
+ mixBlendMode: ({ props: props2, deps }) => !(0, import_utils24.isUndefined)(props2.mixBlendMode) && {
22843
22787
  mixBlendMode: props2.mixBlendMode
22844
22788
  },
22845
- appearance: ({ props: props2 }) => !(0, import_utils25.isUndefined)(props2.appearance) && {
22789
+ appearance: ({ props: props2 }) => !(0, import_utils24.isUndefined)(props2.appearance) && {
22846
22790
  appearance: props2.appearance
22847
22791
  }
22848
22792
  }
@@ -22851,11 +22795,11 @@ var init_Theme2 = __esm({
22851
22795
  });
22852
22796
 
22853
22797
  // ../uikit/Atoms/Media.js
22854
- var import_utils26, keySetters2, execClass2, convertPropsToClass2, applyMediaProps2, applyAndProps2, applySelectorProps2, applyCaseProps2, applyVariableProps2, applyConditionalCaseProps2, applyConditionalFalsyProps2, applyTrueProps2, beforeClassAssign2, Media2;
22798
+ var import_utils25, keySetters2, execClass2, convertPropsToClass2, applyMediaProps2, applyAndProps2, applySelectorProps2, applyCaseProps2, applyVariableProps2, applyConditionalCaseProps2, applyConditionalFalsyProps2, applyTrueProps2, beforeClassAssign2, Media2;
22855
22799
  var init_Media2 = __esm({
22856
22800
  "../uikit/Atoms/Media.js"() {
22857
22801
  "use strict";
22858
- import_utils26 = __toESM(require_cjs());
22802
+ import_utils25 = __toESM(require_cjs());
22859
22803
  init_Theme2();
22860
22804
  keySetters2 = {
22861
22805
  "@": (key, props2, result, element, isSubtree) => applyMediaProps2(
@@ -22942,8 +22886,8 @@ var init_Media2 = __esm({
22942
22886
  state: element.state,
22943
22887
  deps: element.deps
22944
22888
  });
22945
- if ((0, import_utils26.isArray)(classExec))
22946
- classExec = classExec.reduce((a, c) => (0, import_utils26.merge)(a, c), {});
22889
+ if ((0, import_utils25.isArray)(classExec))
22890
+ classExec = classExec.reduce((a, c) => (0, import_utils25.merge)(a, c), {});
22947
22891
  for (const finalProp in classExec) {
22948
22892
  result[finalProp] = classExec[finalProp];
22949
22893
  }
@@ -22975,7 +22919,7 @@ var init_Media2 = __esm({
22975
22919
  const matchesGlobal = name === globalTheme;
22976
22920
  if (globalTheme && isTheme) {
22977
22921
  if (matchesGlobal)
22978
- return (0, import_utils26.merge)(result, generatedClass);
22922
+ return (0, import_utils25.merge)(result, generatedClass);
22979
22923
  return;
22980
22924
  }
22981
22925
  const mediaKey = mediaValue ? `@media screen and ${mediaValue}` : key;
@@ -22997,7 +22941,7 @@ var init_Media2 = __esm({
22997
22941
  const isPropTrue = element.props[caseKey];
22998
22942
  if (!CASES[caseKey] && !isPropTrue)
22999
22943
  return;
23000
- return (0, import_utils26.merge)(result, convertPropsToClass2(props2, result, element));
22944
+ return (0, import_utils25.merge)(result, convertPropsToClass2(props2, result, element));
23001
22945
  };
23002
22946
  applyVariableProps2 = (key, props2, result, element) => {
23003
22947
  result[key] = props2;
@@ -23008,15 +22952,15 @@ var init_Media2 = __esm({
23008
22952
  const isPropTrue = element.props[caseKey] || element.state[caseKey];
23009
22953
  if (!isPropTrue)
23010
22954
  return;
23011
- return (0, import_utils26.overwriteDeep)(result, convertPropsToClass2(props2, result, element));
22955
+ return (0, import_utils25.overwriteDeep)(result, convertPropsToClass2(props2, result, element));
23012
22956
  };
23013
22957
  applyConditionalFalsyProps2 = (key, props2, result, element) => {
23014
22958
  const caseKey = key.slice(1);
23015
22959
  const isPropTrue = element.props[caseKey] || element.state[caseKey] === true;
23016
22960
  if (!isPropTrue)
23017
- return (0, import_utils26.overwriteDeep)(result, convertPropsToClass2(props2, result, element));
22961
+ return (0, import_utils25.overwriteDeep)(result, convertPropsToClass2(props2, result, element));
23018
22962
  };
23019
- applyTrueProps2 = (props2, result, element) => (0, import_utils26.merge)(result, convertPropsToClass2(props2, result, element));
22963
+ applyTrueProps2 = (props2, result, element) => (0, import_utils25.merge)(result, convertPropsToClass2(props2, result, element));
23020
22964
  beforeClassAssign2 = (element, s) => {
23021
22965
  const { props: props2, class: className, context } = element;
23022
22966
  const CLASS_NAMES = {
@@ -23059,7 +23003,7 @@ var init_Media2 = __esm({
23059
23003
  preventDefineUpdate: true
23060
23004
  });
23061
23005
  }
23062
- (0, import_utils26.overwriteShallow)(className, CLASS_NAMES);
23006
+ (0, import_utils25.overwriteShallow)(className, CLASS_NAMES);
23063
23007
  };
23064
23008
  Media2 = {
23065
23009
  class: {
@@ -23212,25 +23156,25 @@ var init_Overflow2 = __esm({
23212
23156
  });
23213
23157
 
23214
23158
  // ../uikit/Atoms/Collection.js
23215
- var import_state2, import_utils27, Collection2;
23159
+ var import_state2, import_utils26, Collection2;
23216
23160
  var init_Collection2 = __esm({
23217
23161
  "../uikit/Atoms/Collection.js"() {
23218
23162
  "use strict";
23219
23163
  import_state2 = __toESM(require_cjs9());
23220
- import_utils27 = __toESM(require_cjs());
23164
+ import_utils26 = __toESM(require_cjs());
23221
23165
  Collection2 = {
23222
23166
  define: {
23223
23167
  $collection: (param, el, state) => {
23224
23168
  const { __ref: ref } = el;
23225
23169
  const { children, childrenAs, childrenExtend } = el.props || {};
23226
- const hasChildren = (0, import_utils27.isArray)(children);
23170
+ const hasChildren = (0, import_utils26.isArray)(children);
23227
23171
  if (hasChildren) {
23228
23172
  param = children;
23229
23173
  if (childrenAs)
23230
23174
  param = param.map((v) => ({ extend: childrenExtend, [childrenAs]: v }));
23231
23175
  } else if (!param)
23232
23176
  return;
23233
- if ((0, import_utils27.isString)(param)) {
23177
+ if ((0, import_utils26.isString)(param)) {
23234
23178
  if (param === "state")
23235
23179
  param = state.parse();
23236
23180
  else
@@ -23238,20 +23182,20 @@ var init_Collection2 = __esm({
23238
23182
  }
23239
23183
  if ((0, import_state2.isState)(param))
23240
23184
  param = param.parse();
23241
- if ((0, import_utils27.isNot)(param)("array", "object"))
23185
+ if ((0, import_utils26.isNot)(param)("array", "object"))
23242
23186
  return;
23243
- param = (0, import_utils27.deepCloneWithExtend)(param);
23187
+ param = (0, import_utils26.deepCloneWithExtend)(param);
23244
23188
  if (ref.__collectionCache) {
23245
23189
  const equals = JSON.stringify(param) === JSON.stringify(ref.__collectionCache);
23246
23190
  if (equals) {
23247
23191
  ref.__noCollectionDifference = true;
23248
23192
  return;
23249
23193
  } else {
23250
- ref.__collectionCache = (0, import_utils27.deepCloneWithExtend)(param);
23194
+ ref.__collectionCache = (0, import_utils26.deepCloneWithExtend)(param);
23251
23195
  delete ref.__noCollectionDifference;
23252
23196
  }
23253
23197
  } else {
23254
- ref.__collectionCache = (0, import_utils27.deepCloneWithExtend)(param);
23198
+ ref.__collectionCache = (0, import_utils26.deepCloneWithExtend)(param);
23255
23199
  }
23256
23200
  const obj = {
23257
23201
  tag: "fragment",
@@ -23262,7 +23206,7 @@ var init_Collection2 = __esm({
23262
23206
  for (const key in param) {
23263
23207
  const value2 = param[key];
23264
23208
  if (value2)
23265
- obj[key] = (0, import_utils27.isObjectLike)(value2) ? value2 : { value: value2 };
23209
+ obj[key] = (0, import_utils26.isObjectLike)(value2) ? value2 : { value: value2 };
23266
23210
  }
23267
23211
  el.removeContent();
23268
23212
  el.content = obj;
@@ -23270,13 +23214,13 @@ var init_Collection2 = __esm({
23270
23214
  $setCollection: (param, el, state) => {
23271
23215
  if (!param)
23272
23216
  return;
23273
- if ((0, import_utils27.isString)(param)) {
23217
+ if ((0, import_utils26.isString)(param)) {
23274
23218
  if (param === "state")
23275
23219
  param = state.parse();
23276
23220
  else
23277
23221
  param = (0, import_state2.getChildStateInKey)(param, state);
23278
23222
  }
23279
- const data = ((0, import_utils27.isArray)(param) ? param : (0, import_utils27.isObject)(param) ? Object.values(param) : []).map((item) => !(0, import_utils27.isObjectLike)(item) ? { props: { value: item } } : item);
23223
+ const data = ((0, import_utils26.isArray)(param) ? param : (0, import_utils26.isObject)(param) ? Object.values(param) : []).map((item) => !(0, import_utils26.isObjectLike)(item) ? { props: { value: item } } : item);
23280
23224
  if (data.length) {
23281
23225
  const t = setTimeout(() => {
23282
23226
  el.set({ tag: "fragment", ...data }, { preventDefineUpdate: "$setCollection" });
@@ -23288,7 +23232,7 @@ var init_Collection2 = __esm({
23288
23232
  $stateCollection: (param, el, state) => {
23289
23233
  if (!param)
23290
23234
  return;
23291
- if ((0, import_utils27.isString)(param)) {
23235
+ if ((0, import_utils26.isString)(param)) {
23292
23236
  if (param === "state")
23293
23237
  param = state.parse();
23294
23238
  else
@@ -23296,21 +23240,21 @@ var init_Collection2 = __esm({
23296
23240
  }
23297
23241
  if ((0, import_state2.isState)(param))
23298
23242
  param = param.parse();
23299
- if ((0, import_utils27.isNot)(param)("array", "object"))
23243
+ if ((0, import_utils26.isNot)(param)("array", "object"))
23300
23244
  return;
23301
23245
  const { __ref: ref } = el;
23302
- param = (0, import_utils27.deepCloneWithExtend)(param);
23246
+ param = (0, import_utils26.deepCloneWithExtend)(param);
23303
23247
  if (ref.__stateCollectionCache) {
23304
23248
  const equals = JSON.stringify(param) === JSON.stringify(ref.__stateCollectionCache);
23305
23249
  if (equals) {
23306
23250
  ref.__noCollectionDifference = true;
23307
23251
  return;
23308
23252
  } else {
23309
- ref.__stateCollectionCache = (0, import_utils27.deepCloneWithExtend)(param);
23253
+ ref.__stateCollectionCache = (0, import_utils26.deepCloneWithExtend)(param);
23310
23254
  delete ref.__noCollectionDifference;
23311
23255
  }
23312
23256
  } else {
23313
- ref.__stateCollectionCache = (0, import_utils27.deepCloneWithExtend)(param);
23257
+ ref.__stateCollectionCache = (0, import_utils26.deepCloneWithExtend)(param);
23314
23258
  }
23315
23259
  const obj = {
23316
23260
  tag: "fragment",
@@ -23321,7 +23265,7 @@ var init_Collection2 = __esm({
23321
23265
  for (const key in param) {
23322
23266
  const value2 = param[key];
23323
23267
  if (value2)
23324
- obj[key] = { state: (0, import_utils27.isObjectLike)(value2) ? value2 : { value: value2 } };
23268
+ obj[key] = { state: (0, import_utils26.isObjectLike)(value2) ? value2 : { value: value2 } };
23325
23269
  }
23326
23270
  el.removeContent();
23327
23271
  el.content = obj;
@@ -23329,7 +23273,7 @@ var init_Collection2 = __esm({
23329
23273
  $propsCollection: (param, el, state) => {
23330
23274
  if (!param)
23331
23275
  return;
23332
- if ((0, import_utils27.isString)(param)) {
23276
+ if ((0, import_utils26.isString)(param)) {
23333
23277
  if (param === "state")
23334
23278
  param = state.parse();
23335
23279
  else
@@ -23337,21 +23281,21 @@ var init_Collection2 = __esm({
23337
23281
  }
23338
23282
  if ((0, import_state2.isState)(param))
23339
23283
  param = param.parse();
23340
- if ((0, import_utils27.isNot)(param)("array", "object"))
23284
+ if ((0, import_utils26.isNot)(param)("array", "object"))
23341
23285
  return;
23342
23286
  const { __ref: ref } = el;
23343
- param = (0, import_utils27.deepCloneWithExtend)(param);
23287
+ param = (0, import_utils26.deepCloneWithExtend)(param);
23344
23288
  if (ref.__propsCollectionCache) {
23345
23289
  const equals = JSON.stringify(param) === JSON.stringify(ref.__propsCollectionCache);
23346
23290
  if (equals) {
23347
23291
  ref.__noCollectionDifference = true;
23348
23292
  return;
23349
23293
  } else {
23350
- ref.__propsCollectionCache = (0, import_utils27.deepCloneWithExtend)(param);
23294
+ ref.__propsCollectionCache = (0, import_utils26.deepCloneWithExtend)(param);
23351
23295
  delete ref.__noCollectionDifference;
23352
23296
  }
23353
23297
  } else {
23354
- ref.__propsCollectionCache = (0, import_utils27.deepCloneWithExtend)(param);
23298
+ ref.__propsCollectionCache = (0, import_utils26.deepCloneWithExtend)(param);
23355
23299
  }
23356
23300
  const obj = {
23357
23301
  tag: "fragment",
@@ -23362,7 +23306,7 @@ var init_Collection2 = __esm({
23362
23306
  for (const key in param) {
23363
23307
  const value2 = param[key];
23364
23308
  if (value2)
23365
- obj[key] = { props: (0, import_utils27.isObjectLike)(value2) ? value2 : { value: value2 } };
23309
+ obj[key] = { props: (0, import_utils26.isObjectLike)(value2) ? value2 : { value: value2 } };
23366
23310
  }
23367
23311
  el.removeContent();
23368
23312
  el.content = obj;
@@ -23512,16 +23456,16 @@ var init_Svg2 = __esm({
23512
23456
  });
23513
23457
 
23514
23458
  // ../uikit/Atoms/Shape/index.js
23515
- var import_utils28, import_scratch19, transformBorderRadius2, Shape2;
23459
+ var import_utils27, import_scratch19, transformBorderRadius2, Shape2;
23516
23460
  var init_Shape2 = __esm({
23517
23461
  "../uikit/Atoms/Shape/index.js"() {
23518
23462
  "use strict";
23519
- import_utils28 = __toESM(require_cjs());
23463
+ import_utils27 = __toESM(require_cjs());
23520
23464
  init_style2();
23521
23465
  import_scratch19 = __toESM(require_cjs2());
23522
23466
  init_Pseudo2();
23523
23467
  transformBorderRadius2 = (radius, props2, propertyName) => {
23524
- if (!(0, import_utils28.isString)(radius))
23468
+ if (!(0, import_utils27.isString)(radius))
23525
23469
  return;
23526
23470
  return {
23527
23471
  borderRadius: radius.split(" ").map((v, k) => (0, import_scratch19.getSpacingBasedOnRatio)(props2, propertyName, v)[propertyName]).join(" ")
@@ -23529,7 +23473,7 @@ var init_Shape2 = __esm({
23529
23473
  };
23530
23474
  Shape2 = {
23531
23475
  extend: Pseudo2,
23532
- deps: { exec: import_utils28.exec, getSpacingBasedOnRatio: import_scratch19.getSpacingBasedOnRatio, getMediaColor: import_scratch19.getMediaColor, transformBorderRadius: transformBorderRadius2 },
23476
+ deps: { exec: import_utils27.exec, getSpacingBasedOnRatio: import_scratch19.getSpacingBasedOnRatio, getMediaColor: import_scratch19.getMediaColor, transformBorderRadius: transformBorderRadius2 },
23533
23477
  class: {
23534
23478
  shape: ({ props: props2, deps }) => {
23535
23479
  const { shape } = props2;
@@ -23557,11 +23501,11 @@ var init_Shape2 = __esm({
23557
23501
  });
23558
23502
 
23559
23503
  // ../uikit/Atoms/Text.js
23560
- var import_utils29, import_scratch20, Text2, H12, H22, H32, H42, H52, H62, P2, Caption2, Strong2, Underline2, Italic2, Title2, Headline2, Subhead2, Footnote2, B2, I2;
23504
+ var import_utils28, import_scratch20, Text2, H12, H22, H32, H42, H52, H62, P2, Caption2, Strong2, Underline2, Italic2, Title2, Headline2, Subhead2, Footnote2, B2, I2;
23561
23505
  var init_Text2 = __esm({
23562
23506
  "../uikit/Atoms/Text.js"() {
23563
23507
  "use strict";
23564
- import_utils29 = __toESM(require_cjs());
23508
+ import_utils28 = __toESM(require_cjs());
23565
23509
  import_scratch20 = __toESM(require_cjs2());
23566
23510
  Text2 = {
23567
23511
  deps: { getFontSizeByKey: import_scratch20.getFontSizeByKey, getFontFamily: import_scratch20.getFontFamily },
@@ -23575,23 +23519,23 @@ var init_Text2 = __esm({
23575
23519
  const { props: props2, deps } = el;
23576
23520
  return props2.fontSize ? deps.getFontSizeByKey(props2.fontSize) : null;
23577
23521
  },
23578
- font: ({ props: props2 }) => !(0, import_utils29.isUndefined)(props2.font) && { font: props2.font },
23579
- fontFamily: ({ props: props2, deps }) => !(0, import_utils29.isUndefined)(props2.fontFamily) && {
23522
+ font: ({ props: props2 }) => !(0, import_utils28.isUndefined)(props2.font) && { font: props2.font },
23523
+ fontFamily: ({ props: props2, deps }) => !(0, import_utils28.isUndefined)(props2.fontFamily) && {
23580
23524
  fontFamily: deps.getFontFamily(props2.fontFamily) || props2.fontFamily
23581
23525
  },
23582
- lineHeight: ({ props: props2 }) => !(0, import_utils29.isUndefined)(props2.lineHeight) && { lineHeight: props2.lineHeight },
23526
+ lineHeight: ({ props: props2 }) => !(0, import_utils28.isUndefined)(props2.lineHeight) && { lineHeight: props2.lineHeight },
23583
23527
  // lineHeight: ({ props }) => !isUndefined(props.lineHeight) && getSpacingBasedOnRatio(props, 'lineHeight', null, ''),
23584
- textDecoration: ({ props: props2 }) => !(0, import_utils29.isUndefined)(props2.textDecoration) && { textDecoration: props2.textDecoration },
23585
- textTransform: ({ props: props2 }) => !(0, import_utils29.isUndefined)(props2.textTransform) && { textTransform: props2.textTransform },
23586
- wordBreak: ({ props: props2 }) => !(0, import_utils29.isUndefined)(props2.wordBreak) && { wordBreak: props2.wordBreak },
23587
- whiteSpace: ({ props: props2 }) => !(0, import_utils29.isUndefined)(props2.whiteSpace) && { whiteSpace: props2.whiteSpace },
23588
- wordWrap: ({ props: props2 }) => !(0, import_utils29.isUndefined)(props2.wordWrap) && { wordWrap: props2.wordWrap },
23589
- letterSpacing: ({ props: props2 }) => !(0, import_utils29.isUndefined)(props2.letterSpacing) && { letterSpacing: props2.letterSpacing },
23590
- textOverflow: ({ props: props2 }) => !(0, import_utils29.isUndefined)(props2.textOverflow) && { textOverflow: props2.textOverflow },
23591
- textAlign: ({ props: props2 }) => !(0, import_utils29.isUndefined)(props2.textAlign) && { textAlign: props2.textAlign },
23592
- writingMode: ({ props: props2 }) => !(0, import_utils29.isUndefined)(props2.writingMode) && { writingMode: props2.writingMode },
23593
- textOrientation: ({ props: props2 }) => !(0, import_utils29.isUndefined)(props2.textOrientation) && { textOrientation: props2.textOrientation },
23594
- fontWeight: ({ props: props2 }) => !(0, import_utils29.isUndefined)(props2.fontWeight) && {
23528
+ textDecoration: ({ props: props2 }) => !(0, import_utils28.isUndefined)(props2.textDecoration) && { textDecoration: props2.textDecoration },
23529
+ textTransform: ({ props: props2 }) => !(0, import_utils28.isUndefined)(props2.textTransform) && { textTransform: props2.textTransform },
23530
+ wordBreak: ({ props: props2 }) => !(0, import_utils28.isUndefined)(props2.wordBreak) && { wordBreak: props2.wordBreak },
23531
+ whiteSpace: ({ props: props2 }) => !(0, import_utils28.isUndefined)(props2.whiteSpace) && { whiteSpace: props2.whiteSpace },
23532
+ wordWrap: ({ props: props2 }) => !(0, import_utils28.isUndefined)(props2.wordWrap) && { wordWrap: props2.wordWrap },
23533
+ letterSpacing: ({ props: props2 }) => !(0, import_utils28.isUndefined)(props2.letterSpacing) && { letterSpacing: props2.letterSpacing },
23534
+ textOverflow: ({ props: props2 }) => !(0, import_utils28.isUndefined)(props2.textOverflow) && { textOverflow: props2.textOverflow },
23535
+ textAlign: ({ props: props2 }) => !(0, import_utils28.isUndefined)(props2.textAlign) && { textAlign: props2.textAlign },
23536
+ writingMode: ({ props: props2 }) => !(0, import_utils28.isUndefined)(props2.writingMode) && { writingMode: props2.writingMode },
23537
+ textOrientation: ({ props: props2 }) => !(0, import_utils28.isUndefined)(props2.textOrientation) && { textOrientation: props2.textOrientation },
23538
+ fontWeight: ({ props: props2 }) => !(0, import_utils28.isUndefined)(props2.fontWeight) && {
23595
23539
  fontWeight: props2.fontWeight,
23596
23540
  fontVariationSettings: '"wght" ' + props2.fontWeight
23597
23541
  }
@@ -23660,24 +23604,24 @@ var init_XYZ2 = __esm({
23660
23604
  });
23661
23605
 
23662
23606
  // ../uikit/Atoms/Animation.js
23663
- var import_scratch21, import_utils30, applyAnimationProps2, Animation2;
23607
+ var import_scratch21, import_utils29, applyAnimationProps2, Animation2;
23664
23608
  var init_Animation2 = __esm({
23665
23609
  "../uikit/Atoms/Animation.js"() {
23666
23610
  "use strict";
23667
23611
  import_scratch21 = __toESM(require_cjs2());
23668
- import_utils30 = __toESM(require_cjs());
23612
+ import_utils29 = __toESM(require_cjs());
23669
23613
  init_emotion();
23670
23614
  applyAnimationProps2 = (animation, element) => {
23671
23615
  const { emotion: ctxEmotion } = element.context;
23672
23616
  const { keyframes } = ctxEmotion || emotion;
23673
- if ((0, import_utils30.isObject)(animation))
23617
+ if ((0, import_utils29.isObject)(animation))
23674
23618
  return { animationName: keyframes(animation) };
23675
23619
  const { ANIMATION } = element.context && element.context.designSystem;
23676
23620
  const record = ANIMATION[animation];
23677
23621
  return keyframes(record);
23678
23622
  };
23679
23623
  Animation2 = {
23680
- deps: { isObject: import_utils30.isObject, getTimingByKey: import_scratch21.getTimingByKey, getTimingFunction: import_scratch21.getTimingFunction, applyAnimationProps: applyAnimationProps2 },
23624
+ deps: { isObject: import_utils29.isObject, getTimingByKey: import_scratch21.getTimingByKey, getTimingFunction: import_scratch21.getTimingFunction, applyAnimationProps: applyAnimationProps2 },
23681
23625
  class: {
23682
23626
  animation: (el) => el.props.animation && {
23683
23627
  animationName: el.deps.applyAnimationProps(el.props.animation, el),
@@ -23748,12 +23692,12 @@ var init_Atoms = __esm({
23748
23692
  });
23749
23693
 
23750
23694
  // ../uikit/Box/index.js
23751
- var import_utils31, PropsCSS, Box, Circle;
23695
+ var import_utils30, PropsCSS, Box, Circle;
23752
23696
  var init_Box = __esm({
23753
23697
  "../uikit/Box/index.js"() {
23754
23698
  "use strict";
23755
23699
  init_Atoms();
23756
- import_utils31 = __toESM(require_cjs());
23700
+ import_utils30 = __toESM(require_cjs());
23757
23701
  PropsCSS = {
23758
23702
  class: {
23759
23703
  style: ({ props: props2 }) => props2 && props2.style
@@ -23775,7 +23719,7 @@ var init_Box = __esm({
23775
23719
  XYZ2,
23776
23720
  Animation2
23777
23721
  ],
23778
- deps: { isString: import_utils31.isString },
23722
+ deps: { isString: import_utils30.isString, isUndefined: import_utils30.isUndefined },
23779
23723
  attr: {
23780
23724
  id: ({ props: props2, deps }) => deps.isString(props2.id) && props2.id,
23781
23725
  title: ({ props: props2, deps }) => deps.isString(props2.title) && props2.title,
@@ -23798,21 +23742,21 @@ var init_Box = __esm({
23798
23742
  });
23799
23743
 
23800
23744
  // ../uikit/Icon/index.js
23801
- var import_utils32, getIconName, Icon, IconText, FileIcon;
23745
+ var import_utils31, getIconName, Icon, IconText, FileIcon;
23802
23746
  var init_Icon = __esm({
23803
23747
  "../uikit/Icon/index.js"() {
23804
23748
  "use strict";
23805
- import_utils32 = __toESM(require_cjs());
23749
+ import_utils31 = __toESM(require_cjs());
23806
23750
  getIconName = ({ key, props: props2, context, deps, state }) => {
23807
23751
  let iconName = props2.name || props2.icon || key;
23808
- if ((0, import_utils32.isString)(iconName) && iconName.includes("{{")) {
23752
+ if ((0, import_utils31.isString)(iconName) && iconName.includes("{{")) {
23809
23753
  iconName = deps.replaceLiteralsWithObjectFields(iconName, state);
23810
23754
  }
23811
23755
  return deps.isString(iconName) ? iconName : key;
23812
23756
  };
23813
23757
  Icon = {
23814
23758
  extend: "Svg",
23815
- deps: { isString: import_utils32.isString, replaceLiteralsWithObjectFields: import_utils32.replaceLiteralsWithObjectFields },
23759
+ deps: { isString: import_utils31.isString, replaceLiteralsWithObjectFields: import_utils31.replaceLiteralsWithObjectFields },
23816
23760
  props: ({ key, props: props2, parent, context, deps, state }) => {
23817
23761
  const { ICONS, SEMANTIC_ICONS, useIconSprite, verbose } = context && context.designSystem;
23818
23762
  const { toCamelCase } = context && context.utils;
@@ -23838,7 +23782,7 @@ var init_Icon = __esm({
23838
23782
  display: "inline-block",
23839
23783
  style: {
23840
23784
  color: "currentColor",
23841
- fontFamily: "'SF Pro Icons', 'SF Pro', 'Segoe UI'"
23785
+ fontFamily: "'SF Pro Icons', 'SF Pro', 'SF Symbols', 'Segoe UI'"
23842
23786
  }
23843
23787
  }
23844
23788
  };
@@ -23850,7 +23794,7 @@ var init_Icon = __esm({
23850
23794
  if (parent && parent.props && parent.props.active && parent.props[".active"] && parent.props[".active"].icon) {
23851
23795
  activeIconName = parent.props[".active"].icon.name || parent.props[".active"].icon.icon || parent.props[".active"].icon;
23852
23796
  }
23853
- if ((0, import_utils32.isString)(activeIconName) && activeIconName.includes("{{")) {
23797
+ if ((0, import_utils31.isString)(activeIconName) && activeIconName.includes("{{")) {
23854
23798
  activeIconName = deps.replaceLiteralsWithObjectFields(activeIconName, state);
23855
23799
  }
23856
23800
  let validIconName;
@@ -24358,15 +24302,15 @@ var init_DoubleHr = __esm({
24358
24302
  });
24359
24303
 
24360
24304
  // ../uikit/Input/Input.js
24361
- var import_utils33, Input;
24305
+ var import_utils32, Input;
24362
24306
  var init_Input = __esm({
24363
24307
  "../uikit/Input/Input.js"() {
24364
24308
  "use strict";
24365
- import_utils33 = __toESM(require_cjs());
24309
+ import_utils32 = __toESM(require_cjs());
24366
24310
  Input = {
24367
24311
  extend: ["Focusable"],
24368
24312
  tag: "input",
24369
- deps: { isString: import_utils33.isString, replaceLiteralsWithObjectFields: import_utils33.replaceLiteralsWithObjectFields },
24313
+ deps: { isString: import_utils32.isString, replaceLiteralsWithObjectFields: import_utils32.replaceLiteralsWithObjectFields },
24370
24314
  props: {
24371
24315
  border: "none",
24372
24316
  type: "input",
@@ -25244,11 +25188,11 @@ var init_Progress = __esm({
25244
25188
  });
25245
25189
 
25246
25190
  // ../uikit/Range/index.js
25247
- var import_utils34, import_scratch22, props, returnPropertyValue, Range, RangeWithButtons;
25191
+ var import_utils33, import_scratch22, props, returnPropertyValue, Range, RangeWithButtons;
25248
25192
  var init_Range = __esm({
25249
25193
  "../uikit/Range/index.js"() {
25250
25194
  "use strict";
25251
- import_utils34 = __toESM(require_cjs());
25195
+ import_utils33 = __toESM(require_cjs());
25252
25196
  import_scratch22 = __toESM(require_cjs2());
25253
25197
  props = {
25254
25198
  appearance: "none",
@@ -25311,7 +25255,7 @@ var init_Range = __esm({
25311
25255
  };
25312
25256
  returnPropertyValue = (el, property, def) => {
25313
25257
  const val = el.props && el.props[property];
25314
- const r = (0, import_utils34.isFunction)(val) ? val(el, el.state) : val !== void 0 ? val : def !== void 0 ? def : 0;
25258
+ const r = (0, import_utils33.isFunction)(val) ? val(el, el.state) : val !== void 0 ? val : def !== void 0 ? def : 0;
25315
25259
  return r + "";
25316
25260
  };
25317
25261
  Range = {
@@ -25327,7 +25271,7 @@ var init_Range = __esm({
25327
25271
  on: {
25328
25272
  input: (ev, el, s) => {
25329
25273
  const props2 = el.props;
25330
- if ((0, import_utils34.isFunction)(props2.onInput)) {
25274
+ if ((0, import_utils33.isFunction)(props2.onInput)) {
25331
25275
  props2.onInput(ev, el, s);
25332
25276
  } else {
25333
25277
  s.update({ value: parseFloat(el.node.value) });
@@ -25335,7 +25279,7 @@ var init_Range = __esm({
25335
25279
  },
25336
25280
  change: (ev, el, s) => {
25337
25281
  const props2 = el.props;
25338
- if ((0, import_utils34.isFunction)(props2.onChange)) {
25282
+ if ((0, import_utils33.isFunction)(props2.onChange)) {
25339
25283
  props2.onChange(ev, el, s);
25340
25284
  } else {
25341
25285
  s.update({ value: parseFloat(el.node.value) });
@@ -25350,7 +25294,7 @@ var init_Range = __esm({
25350
25294
  on: {
25351
25295
  click: (ev, el, s) => {
25352
25296
  const parentProps = el.parent.props;
25353
- if ((0, import_utils34.isFunction)(parentProps.onDecrease)) {
25297
+ if ((0, import_utils33.isFunction)(parentProps.onDecrease)) {
25354
25298
  parentProps.onDecrease(ev, el.parent, s);
25355
25299
  } else {
25356
25300
  const value2 = parseFloat(s.value);
@@ -25382,7 +25326,7 @@ var init_Range = __esm({
25382
25326
  on: {
25383
25327
  input: (ev, el, s) => {
25384
25328
  const parentProps = el.parent.props;
25385
- if ((0, import_utils34.isFunction)(parentProps.onInput)) {
25329
+ if ((0, import_utils33.isFunction)(parentProps.onInput)) {
25386
25330
  parentProps.onInput(ev, el, s);
25387
25331
  } else {
25388
25332
  s.update({ value: parseFloat(el.node.value) });
@@ -25390,7 +25334,7 @@ var init_Range = __esm({
25390
25334
  },
25391
25335
  change: (ev, el, s) => {
25392
25336
  const parentProps = el.parent.props;
25393
- if ((0, import_utils34.isFunction)(parentProps.onChange)) {
25337
+ if ((0, import_utils33.isFunction)(parentProps.onChange)) {
25394
25338
  parentProps.onChange(ev, el, s);
25395
25339
  } else {
25396
25340
  s.update({ value: parseFloat(el.node.value) });
@@ -25404,7 +25348,7 @@ var init_Range = __esm({
25404
25348
  on: {
25405
25349
  click: (ev, el, s) => {
25406
25350
  const parentProps = el.parent.props;
25407
- if ((0, import_utils34.isFunction)(parentProps.onIncrease)) {
25351
+ if ((0, import_utils33.isFunction)(parentProps.onIncrease)) {
25408
25352
  parentProps.onIncrease(ev, el.parent, s);
25409
25353
  } else {
25410
25354
  const value2 = parseFloat(s.value);
@@ -25447,12 +25391,12 @@ var init_style3 = __esm({
25447
25391
  });
25448
25392
 
25449
25393
  // ../uikit/Slider/index.js
25450
- var import_utils35, RangeSlider, listenProp, Slider;
25394
+ var import_utils34, RangeSlider, listenProp, Slider;
25451
25395
  var init_Slider = __esm({
25452
25396
  "../uikit/Slider/index.js"() {
25453
25397
  "use strict";
25454
25398
  init_style3();
25455
- import_utils35 = __toESM(require_cjs());
25399
+ import_utils34 = __toESM(require_cjs());
25456
25400
  init_Button();
25457
25401
  RangeSlider = {
25458
25402
  props: {
@@ -25464,7 +25408,7 @@ var init_Slider = __esm({
25464
25408
  };
25465
25409
  listenProp = (el, prop, def) => {
25466
25410
  const val = el && el.props && el.props[prop];
25467
- const r = ((0, import_utils35.isFunction)(val) ? val() : val) || (def !== void 0 ? def : 50);
25411
+ const r = ((0, import_utils34.isFunction)(val) ? val() : val) || (def !== void 0 ? def : 50);
25468
25412
  return r;
25469
25413
  };
25470
25414
  Slider = {
@@ -25475,10 +25419,10 @@ var init_Slider = __esm({
25475
25419
  },
25476
25420
  on: {
25477
25421
  click: (ev, el, s) => {
25478
- el.props && (0, import_utils35.isFunction)(el.props.click) && el.props.click(ev, el, s);
25422
+ el.props && (0, import_utils34.isFunction)(el.props.click) && el.props.click(ev, el, s);
25479
25423
  const input = el.parent.input;
25480
25424
  const props2 = input.props;
25481
- const value2 = (0, import_utils35.isFunction)(props2.value) ? props2.value() : props2.value;
25425
+ const value2 = (0, import_utils34.isFunction)(props2.value) ? props2.value() : props2.value;
25482
25426
  input.node.value = value2;
25483
25427
  }
25484
25428
  }
@@ -25501,8 +25445,8 @@ var init_Slider = __esm({
25501
25445
  step: (el, s) => listenProp(el, "step", 1)
25502
25446
  },
25503
25447
  on: {
25504
- input: (ev, el, s) => el.props && (0, import_utils35.isFunction)(el.props.input) && el.props.input(ev, el, s),
25505
- change: (ev, el, s) => el.props && (0, import_utils35.isFunction)(el.props.change) && el.props.change(ev, el, s)
25448
+ input: (ev, el, s) => el.props && (0, import_utils34.isFunction)(el.props.input) && el.props.input(ev, el, s),
25449
+ change: (ev, el, s) => el.props && (0, import_utils34.isFunction)(el.props.change) && el.props.change(ev, el, s)
25506
25450
  }
25507
25451
  },
25508
25452
  button1: {
@@ -25512,10 +25456,10 @@ var init_Slider = __esm({
25512
25456
  },
25513
25457
  on: {
25514
25458
  click: (ev, el, s) => {
25515
- el.props && (0, import_utils35.isFunction)(el.props.click) && el.props.click(ev, el, s);
25459
+ el.props && (0, import_utils34.isFunction)(el.props.click) && el.props.click(ev, el, s);
25516
25460
  const input = el.parent.input;
25517
25461
  const props2 = input.props;
25518
- const value2 = (0, import_utils35.isFunction)(props2.value) ? props2.value() : props2.value;
25462
+ const value2 = (0, import_utils34.isFunction)(props2.value) ? props2.value() : props2.value;
25519
25463
  input.node.value = value2;
25520
25464
  }
25521
25465
  }
@@ -25782,11 +25726,11 @@ var init_Notification = __esm({
25782
25726
  });
25783
25727
 
25784
25728
  // ../uikit/Tooltip/index.js
25785
- var import_utils36, Tooltip, TooltipHidden, TooltipParent;
25729
+ var import_utils35, Tooltip, TooltipHidden, TooltipParent;
25786
25730
  var init_Tooltip = __esm({
25787
25731
  "../uikit/Tooltip/index.js"() {
25788
25732
  "use strict";
25789
- import_utils36 = __toESM(require_cjs());
25733
+ import_utils35 = __toESM(require_cjs());
25790
25734
  Tooltip = {
25791
25735
  extend: "Flex",
25792
25736
  props: {
@@ -25805,7 +25749,7 @@ var init_Tooltip = __esm({
25805
25749
  },
25806
25750
  attr: { tooltip: true },
25807
25751
  Title: {
25808
- if: ({ parent, props: props2 }) => (0, import_utils36.isDefined)(parent.props.title) || props2.text,
25752
+ if: ({ parent, props: props2 }) => (0, import_utils35.isDefined)(parent.props.title) || props2.text,
25809
25753
  props: ({ parent }) => ({
25810
25754
  width: "fit-content",
25811
25755
  fontWeight: 500,
@@ -25814,7 +25758,7 @@ var init_Tooltip = __esm({
25814
25758
  })
25815
25759
  },
25816
25760
  P: {
25817
- if: ({ parent, props: props2 }) => (0, import_utils36.isDefined)(parent.props.description) || props2.text,
25761
+ if: ({ parent, props: props2 }) => (0, import_utils35.isDefined)(parent.props.description) || props2.text,
25818
25762
  props: ({ parent }) => ({
25819
25763
  width: "fit-content",
25820
25764
  fontSize: "Z2",
@@ -27566,7 +27510,7 @@ __export(src_exports3, {
27566
27510
  default: () => src_default3
27567
27511
  });
27568
27512
  module.exports = __toCommonJS(src_exports3);
27569
- var import_utils43 = __toESM(require_cjs(), 1);
27513
+ var import_utils42 = __toESM(require_cjs(), 1);
27570
27514
 
27571
27515
  // src/utilImports.js
27572
27516
  var utilImports_exports = {};
@@ -27587,7 +27531,7 @@ __reExport(utilImports_exports, __toESM(require_cjs6(), 1));
27587
27531
 
27588
27532
  // src/router.js
27589
27533
  var import_router6 = __toESM(require_cjs6(), 1);
27590
- var import_utils37 = __toESM(require_cjs(), 1);
27534
+ var import_utils36 = __toESM(require_cjs(), 1);
27591
27535
  init_uikit();
27592
27536
  var DEFAULT_ROUTING_OPTIONS2 = {
27593
27537
  initRouter: true,
@@ -27600,16 +27544,16 @@ var initRouter2 = (element, options) => {
27600
27544
  else if (options.router === true)
27601
27545
  options.router = DEFAULT_ROUTING_OPTIONS2;
27602
27546
  else
27603
- (0, import_utils37.merge)(options.router || {}, DEFAULT_ROUTING_OPTIONS2);
27547
+ (0, import_utils36.merge)(options.router || {}, DEFAULT_ROUTING_OPTIONS2);
27604
27548
  const routerOptions = options.router;
27605
27549
  const router2 = options.snippets && options.snippets.router ? options.snippets.router : import_router6.router;
27606
27550
  const onRouterRenderDefault = (el, s) => {
27607
- const { pathname, hash: hash2 } = import_utils37.window.location;
27551
+ const { pathname, hash: hash2 } = import_utils36.window.location;
27608
27552
  const url2 = pathname + hash2;
27609
27553
  if (el.routes)
27610
27554
  router2(url2, el, {}, { initialRender: true });
27611
27555
  };
27612
- const hasRenderRouter = element.on && !(0, import_utils37.isUndefined)(element.on.renderRouter);
27556
+ const hasRenderRouter = element.on && !(0, import_utils36.isUndefined)(element.on.renderRouter);
27613
27557
  if (routerOptions && routerOptions.initRouter && !hasRenderRouter) {
27614
27558
  if (element.on) {
27615
27559
  element.on.renderRouter = onRouterRenderDefault;
@@ -27631,20 +27575,20 @@ var popStateRouter2 = (element, options) => {
27631
27575
  if (!routerOptions.popState)
27632
27576
  return;
27633
27577
  const router2 = options.snippets && options.snippets.router ? options.snippets.router : import_router6.router;
27634
- import_utils37.window.onpopstate = (e) => {
27635
- const { pathname, hash: hash2 } = import_utils37.window.location;
27578
+ import_utils36.window.onpopstate = (e) => {
27579
+ const { pathname, hash: hash2 } = import_utils36.window.location;
27636
27580
  const url2 = pathname + hash2;
27637
27581
  router2(url2, element, {}, { pushState: false, scrollToTop: false, level: 0 });
27638
27582
  };
27639
27583
  };
27640
27584
  var injectRouterInLinkComponent2 = (routerOptions) => {
27641
27585
  if (routerOptions && routerOptions.injectRouterInLinkComponent) {
27642
- return (0, import_utils37.deepMerge)(Link, RouterLink);
27586
+ return (0, import_utils36.deepMerge)(Link, RouterLink);
27643
27587
  }
27644
27588
  };
27645
27589
 
27646
27590
  // src/ferchOnCreate.js
27647
- var import_utils38 = __toESM(require_cjs(), 1);
27591
+ var import_utils37 = __toESM(require_cjs(), 1);
27648
27592
  var import_fetch2 = __toESM(require_cjs8(), 1);
27649
27593
  var fetchSync2 = async (key, options) => {
27650
27594
  if (key && options.editor) {
@@ -27661,10 +27605,10 @@ var fetchAsync2 = (app, key, options, callback) => {
27661
27605
  try {
27662
27606
  if (options.editor.async) {
27663
27607
  (0, import_fetch2.fetchProjectAsync)(key, options, callback || ((data) => {
27664
- if ((0, import_utils38.isObject)(data.designsystem)) {
27608
+ if ((0, import_utils37.isObject)(data.designsystem)) {
27665
27609
  options.utils.init(data.designsystem);
27666
27610
  }
27667
- if ((0, import_utils38.isObject)(data.state)) {
27611
+ if ((0, import_utils37.isObject)(data.state)) {
27668
27612
  app.state.set(data.state);
27669
27613
  }
27670
27614
  }));
@@ -27677,15 +27621,15 @@ var fetchAsync2 = (app, key, options, callback) => {
27677
27621
 
27678
27622
  // src/syncExtend.js
27679
27623
  init_byld_socket();
27680
- var import_utils39 = __toESM(require_cjs(), 1);
27624
+ var import_utils38 = __toESM(require_cjs(), 1);
27681
27625
  var applySyncDebug2 = (extend, options) => {
27682
27626
  const { editor } = options;
27683
27627
  if (!editor)
27684
27628
  return extend;
27685
- const inspect = (0, import_utils39.isUndefined)(editor.inspect) ? (0, import_utils39.isDevelopment)() : editor.inspect;
27629
+ const inspect = (0, import_utils38.isUndefined)(editor.inspect) ? (0, import_utils38.isDevelopment)() : editor.inspect;
27686
27630
  if (inspect)
27687
27631
  extend.push(DevFocus);
27688
- const liveSync = (0, import_utils39.isUndefined)(editor.liveSync) ? (0, import_utils39.isDevelopment)() : editor.liveSync;
27632
+ const liveSync = (0, import_utils38.isUndefined)(editor.liveSync) ? (0, import_utils38.isDevelopment)() : editor.liveSync;
27689
27633
  if (liveSync)
27690
27634
  extend.push(Sync);
27691
27635
  return extend;
@@ -27694,7 +27638,7 @@ var applyInspectListener2 = (root, options) => {
27694
27638
  const { editor } = options;
27695
27639
  if (!editor)
27696
27640
  return;
27697
- const inspect = (0, import_utils39.isUndefined)(editor.inspect) ? (0, import_utils39.isDevelopment)() : editor.inspect;
27641
+ const inspect = (0, import_utils38.isUndefined)(editor.inspect) ? (0, import_utils38.isDevelopment)() : editor.inspect;
27698
27642
  if (inspect)
27699
27643
  inspectOnKey(root, options);
27700
27644
  };
@@ -27751,42 +27695,42 @@ var import_dynamic3 = __toESM(require_dynamic(), 1);
27751
27695
 
27752
27696
  // src/createDomql.js
27753
27697
  var import_domql2 = __toESM(require_cjs13(), 1);
27754
- var import_utils42 = __toESM(require_cjs(), 1);
27698
+ var import_utils41 = __toESM(require_cjs(), 1);
27755
27699
  init_uikit();
27756
27700
 
27757
27701
  // src/prepare.js
27758
- var import_utils41 = __toESM(require_cjs(), 1);
27702
+ var import_utils40 = __toESM(require_cjs(), 1);
27759
27703
 
27760
27704
  // src/initEmotion.js
27705
+ init_emotion4();
27761
27706
  init_emotion3();
27762
- init_emotion2();
27763
27707
  init_init();
27764
- var import_utils40 = __toESM(require_cjs(), 1);
27708
+ var import_utils39 = __toESM(require_cjs(), 1);
27765
27709
  init_src2();
27766
27710
  var initEmotion2 = (key, options = {}) => {
27767
27711
  const doc = options.parent || options.document || document;
27768
27712
  const initOptions = options.initOptions || {};
27769
- const emotion3 = initOptions.emotion;
27713
+ const emotion4 = initOptions.emotion;
27770
27714
  if (!initOptions.emotion)
27771
- initOptions.emotion = emotion2;
27715
+ initOptions.emotion = emotion3;
27772
27716
  const registry = options.registry || transformDOMQLEmotion(initOptions.emotion, options);
27773
- const defaultDesignSystem = (0, import_utils40.deepClone)(src_default);
27774
- const designSystem = initOptions.useDefaultConfig || options.useDefaultConfig ? (0, import_utils40.deepMerge)(options.designSystem, defaultDesignSystem) : options.designSystem || defaultDesignSystem;
27717
+ const defaultDesignSystem = (0, import_utils39.deepClone)(src_default);
27718
+ const designSystem = initOptions.useDefaultConfig || options.useDefaultConfig ? (0, import_utils39.deepMerge)(options.designSystem, defaultDesignSystem) : options.designSystem || defaultDesignSystem;
27775
27719
  const scratchSystem2 = init(designSystem, {
27776
27720
  key,
27777
- emotion: emotion3,
27721
+ emotion: emotion4,
27778
27722
  verbose: options.verbose,
27779
27723
  document: doc,
27780
27724
  ...DESIGN_SYSTEM_OPTIONS2,
27781
27725
  ...initOptions
27782
27726
  });
27783
- return [scratchSystem2, emotion3, registry];
27727
+ return [scratchSystem2, emotion4, registry];
27784
27728
  };
27785
27729
 
27786
27730
  // src/prepare.js
27787
27731
  init_uikit();
27788
27732
  var checkIfKeyIsComponent2 = (key) => {
27789
- const isFirstKeyString = (0, import_utils41.isString)(key);
27733
+ const isFirstKeyString = (0, import_utils40.isString)(key);
27790
27734
  if (!isFirstKeyString)
27791
27735
  return;
27792
27736
  const firstCharKey = key.slice(0, 1);
@@ -27814,23 +27758,23 @@ var prepareUtils2 = (options) => {
27814
27758
  var preparePackages2 = (packages, opts) => {
27815
27759
  const windowOpts = opts.window || window;
27816
27760
  if (windowOpts.packages) {
27817
- windowOpts.packages = (0, import_utils41.merge)(windowOpts.packages, packages);
27761
+ windowOpts.packages = (0, import_utils40.merge)(windowOpts.packages, packages);
27818
27762
  } else {
27819
27763
  windowOpts.packages = packages;
27820
27764
  windowOpts.require = (key) => windowOpts.packages[key];
27821
27765
  }
27822
27766
  };
27823
27767
  var prepareDesignSystem2 = (options, key) => {
27824
- const [scratcDesignhSystem, emotion3, registry] = initEmotion2(key, options);
27825
- return [scratcDesignhSystem, emotion3, registry];
27768
+ const [scratcDesignhSystem, emotion4, registry] = initEmotion2(key, options);
27769
+ return [scratcDesignhSystem, emotion4, registry];
27826
27770
  };
27827
27771
  var prepareState2 = (options, App) => {
27828
27772
  const state = {};
27829
27773
  if (options.state)
27830
27774
  utilImports_exports.deepMerge(state, options.state);
27831
27775
  if (App && App.state)
27832
- (0, import_utils41.deepMerge)(state, App.state);
27833
- return (0, import_utils41.deepCloneWithExtend)(state);
27776
+ (0, import_utils40.deepMerge)(state, App.state);
27777
+ return (0, import_utils40.deepCloneWithExtend)(state);
27834
27778
  };
27835
27779
  var preparePages2 = (options) => {
27836
27780
  const pages = options.pages;
@@ -27862,9 +27806,9 @@ var prepareDocument2 = (options) => {
27862
27806
  // src/createDomql.js
27863
27807
  var SYMBOLS_KEY3 = process.env.SYMBOLS_KEY;
27864
27808
  var createDomqlElement2 = (App, options) => {
27865
- const key = options.key || SYMBOLS_KEY3 || ((0, import_utils42.isString)(App) ? App : "");
27866
- const [scratcDesignSystem, emotion3, registry] = prepareDesignSystem2(options, key);
27867
- if ((0, import_utils42.isString)(App))
27809
+ const key = options.key || SYMBOLS_KEY3 || ((0, import_utils41.isString)(App) ? App : "");
27810
+ const [scratcDesignSystem, emotion4, registry] = prepareDesignSystem2(options, key);
27811
+ if ((0, import_utils41.isString)(App))
27868
27812
  App = {};
27869
27813
  const doc = prepareDocument2(options);
27870
27814
  const state = prepareState2(options, App);
@@ -27893,7 +27837,7 @@ var createDomqlElement2 = (App, options) => {
27893
27837
  utils: snippets,
27894
27838
  define,
27895
27839
  registry,
27896
- emotion: emotion3,
27840
+ emotion: emotion4,
27897
27841
  routerOptions,
27898
27842
  socket: options.socket,
27899
27843
  editor: options.editor,
@@ -27909,9 +27853,9 @@ var createDomqlElement2 = (App, options) => {
27909
27853
 
27910
27854
  // src/index.js
27911
27855
  var SYMBOLS_KEY4 = process.env.SYMBOLS_KEY;
27912
- var mergeWithLocalFile3 = (options, optionsExternalFile) => (0, import_utils43.deepMerge)(
27856
+ var mergeWithLocalFile3 = (options, optionsExternalFile) => (0, import_utils42.deepMerge)(
27913
27857
  options,
27914
- (0, import_utils43.isObject)(optionsExternalFile) ? optionsExternalFile : import_dynamic3.default || {}
27858
+ (0, import_utils42.isObject)(optionsExternalFile) ? optionsExternalFile : import_dynamic3.default || {}
27915
27859
  );
27916
27860
  var create2 = (App, options = options_default2, optionsExternalFile) => {
27917
27861
  const redefinedOptions = { ...options_default2, ...mergeWithLocalFile3(options, optionsExternalFile) };
@@ -27938,10 +27882,13 @@ var createSync2 = async (App, options = options_default2, optionsExternalFile) =
27938
27882
  redefinedOptions.on.create(domqlApp, redefinedOptions);
27939
27883
  return domqlApp;
27940
27884
  };
27941
- var createSkeleton2 = (App, options = options_default2, optionsExternalFile) => {
27885
+ var createSkeleton2 = (App = {}, options = options_default2, optionsExternalFile) => {
27942
27886
  return create2(
27943
- App,
27944
- (0, import_utils43.deepMerge)({ domqlOptions: { onlyResolveExtends: true } }, options),
27887
+ {
27888
+ deps: { isUndefined: import_utils42.isUndefined },
27889
+ ...App
27890
+ },
27891
+ (0, import_utils42.deepMerge)({ domqlOptions: { onlyResolveExtends: true } }, options),
27945
27892
  optionsExternalFile
27946
27893
  );
27947
27894
  };