easy-email-pro-theme 1.4.1 → 1.5.0

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.
Files changed (2) hide show
  1. package/lib/index.js +563 -562
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -62,7 +62,7 @@ import { NodeUtils, BlockManager, ElementType, EditorCore, t, ElementCategory, c
62
62
  import { Editor, Transforms, Path, Node as Node$1, createEditor, Text as Text$2, Range, Element as Element$1, Point } from "slate";
63
63
  import ReactDOM, { createPortal, unstable_batchedUpdates } from "react-dom";
64
64
  import { cloneDeep, isEqual as isEqual$3, get, set, omit as omit$2, merge as merge$1, debounce as debounce$2, isUndefined as isUndefined$1, isString as isString$1, isNumber as isNumber$1, uniqueId, upperFirst, sum, flatMap, camelCase } from "lodash";
65
- import { Form, Input, Modal, Collapse as Collapse$1, Space, Grid, Empty, Card, Button as Button$1, Radio, Popover, Message, Spin, Select as Select$1, Drawer, Divider as Divider$1, Switch, Tabs, Slider, Typography as Typography$1, InputNumber, Tooltip, Tag, Link as Link$1, List, Alert, Popconfirm, PageHeader, Skeleton, Layout as Layout$2 } from "@arco-design/web-react";
65
+ import { Form, Input, Modal, Collapse as Collapse$1, Space, Grid, Empty, Card, Button as Button$1, Radio, Message, Popover, Spin, Select as Select$1, Drawer, Divider as Divider$1, Switch, Tabs, Slider, Typography as Typography$1, InputNumber, Tooltip, Tag, Link as Link$1, List, Alert, Popconfirm, PageHeader, Skeleton, Layout as Layout$2 } from "@arco-design/web-react";
66
66
  import { IconDelete, IconClose, IconPlus, IconCopy, IconDragArrow, IconLock, IconUnlock, IconQuestionCircle, IconLink, IconEdit, IconLeft, IconUndo, IconRedo, IconMinus, IconEye, IconSubscribeAdd, IconCheckCircleFill } from "@arco-design/web-react/icon";
67
67
  import mjml from "mjml-browser";
68
68
  import { HistoryEditor } from "slate-history";
@@ -855,10 +855,10 @@ const DraggingProvider = ({
855
855
  }, [dragHandle2]);
856
856
  return /* @__PURE__ */ React__default.createElement(DraggingProviderContext.Provider, { value }, children);
857
857
  };
858
- const getNodePathName = (path2, name2) => {
859
- if (!name2)
858
+ const getNodePathName = (path2, name) => {
859
+ if (!name)
860
860
  return path2.join(".children.");
861
- return path2.join(".children.") + "." + name2;
861
+ return path2.join(".children.") + "." + name;
862
862
  };
863
863
  const EditorContext = createContext({});
864
864
  const getInited = (editor) => {
@@ -919,75 +919,75 @@ const EditorContextProvider = (props) => {
919
919
  const { lock } = useEditorState();
920
920
  const { universalElementSetting } = useEditorProps();
921
921
  const valid = !lock;
922
- const getFieldValue = useEventCallback((path2, name2) => {
922
+ const getFieldValue = useEventCallback((path2, name) => {
923
923
  if (!path2)
924
- return form.getFieldValue(name2);
924
+ return form.getFieldValue(name);
925
925
  try {
926
926
  const node = Node$1.get(editor, path2);
927
- if (name2 === "")
927
+ if (name === "")
928
928
  return node;
929
- return get(node, name2);
929
+ return get(node, name);
930
930
  } catch (error2) {
931
931
  return void 0;
932
932
  }
933
933
  });
934
- const getFieldDirty = useEventCallback((path2, name2) => {
934
+ const getFieldDirty = useEventCallback((path2, name) => {
935
935
  if (!path2) {
936
- return form.getFieldValue(name2);
936
+ return form.getFieldValue(name);
937
937
  }
938
- const field = getNodePathName(path2, name2);
938
+ const field = getNodePathName(path2, name);
939
939
  return !isEqual$3(
940
940
  get(initialValuesRef.current.content, field),
941
- getFieldValue(path2, name2)
941
+ getFieldValue(path2, name)
942
942
  );
943
943
  });
944
944
  const setFieldValue = useEventCallback(
945
- (path2, name2, val2) => {
945
+ (path2, name, val) => {
946
946
  if (!path2) {
947
- form.setFieldValue(name2, val2);
947
+ form.setFieldValue(name, val);
948
948
  return;
949
949
  }
950
950
  try {
951
951
  const node = Node$1.get(editor, path2);
952
952
  if (NodeUtils.isTextNode(node)) {
953
- Transforms.insertText(editor, val2, {
953
+ Transforms.insertText(editor, val, {
954
954
  at: path2
955
955
  });
956
956
  } else {
957
- if (name2 === "children") {
957
+ if (name === "children") {
958
958
  const cloneNode = cloneDeep(node);
959
- set(cloneNode, name2, val2);
959
+ set(cloneNode, name, val);
960
960
  editor.replaceNode({
961
961
  path: path2,
962
962
  node: cloneNode
963
963
  });
964
- } else if (name2 === "") {
964
+ } else if (name === "") {
965
965
  editor.replaceNode({
966
966
  path: path2,
967
- node: val2
967
+ node: val
968
968
  });
969
969
  } else {
970
970
  const cloneNode = cloneDeep(omit$2(node, "children"));
971
- if (val2 === void 0) {
972
- const dotIndex = name2.lastIndexOf(".");
971
+ if (val === void 0) {
972
+ const dotIndex = name.lastIndexOf(".");
973
973
  if (dotIndex > -1) {
974
- const parentName = name2.substring(0, dotIndex);
974
+ const parentName = name.substring(0, dotIndex);
975
975
  const parent2 = get(cloneNode, parentName);
976
976
  if (parent2) {
977
- parent2[name2.substring(dotIndex + 1)] = void 0;
977
+ parent2[name.substring(dotIndex + 1)] = void 0;
978
978
  }
979
979
  } else {
980
- cloneNode[name2] = void 0;
980
+ cloneNode[name] = void 0;
981
981
  }
982
982
  } else {
983
- set(cloneNode, name2, val2);
983
+ set(cloneNode, name, val);
984
984
  }
985
985
  Transforms.setNodes(editor, cloneNode, {
986
986
  at: path2
987
987
  });
988
988
  }
989
989
  }
990
- form.setFieldValue(getNodePathName(path2, name2), val2);
990
+ form.setFieldValue(getNodePathName(path2, name), val);
991
991
  } catch (error2) {
992
992
  console.log(error2);
993
993
  }
@@ -2372,10 +2372,10 @@ function ColorPickerContent(props) {
2372
2372
  const { list: colors, addCurrentColor } = useColorContext();
2373
2373
  const { onChange } = props;
2374
2374
  const [color2, setColor] = useState(props.value);
2375
- const onChangeColor = (val2) => {
2376
- addCurrentColor(val2);
2377
- setColor(val2);
2378
- onChange(val2);
2375
+ const onChangeColor = (val) => {
2376
+ addCurrentColor(val);
2377
+ setColor(val);
2378
+ onChange(val);
2379
2379
  };
2380
2380
  useEffect(() => {
2381
2381
  setColor(props.value);
@@ -2626,20 +2626,20 @@ var simpleSwizzle = {
2626
2626
  simpleSwizzleExports = v;
2627
2627
  }
2628
2628
  };
2629
- var isArrayish$1 = function isArrayish2(obj) {
2629
+ var isArrayish$1 = function isArrayish(obj) {
2630
2630
  if (!obj || typeof obj === "string") {
2631
2631
  return false;
2632
2632
  }
2633
2633
  return obj instanceof Array || Array.isArray(obj) || obj.length >= 0 && (obj.splice instanceof Function || Object.getOwnPropertyDescriptor(obj, obj.length - 1) && obj.constructor.name !== "String");
2634
2634
  };
2635
- var isArrayish = isArrayish$1;
2635
+ var isArrayish2 = isArrayish$1;
2636
2636
  var concat = Array.prototype.concat;
2637
2637
  var slice = Array.prototype.slice;
2638
- var swizzle$1 = simpleSwizzle.exports = function swizzle2(args) {
2638
+ var swizzle$1 = simpleSwizzle.exports = function swizzle(args) {
2639
2639
  var results = [];
2640
2640
  for (var i = 0, len = args.length; i < len; i++) {
2641
2641
  var arg = args[i];
2642
- if (isArrayish(arg)) {
2642
+ if (isArrayish2(arg)) {
2643
2643
  results = concat.call(results, slice.call(arg));
2644
2644
  } else {
2645
2645
  results.push(arg);
@@ -2653,7 +2653,7 @@ swizzle$1.wrap = function(fn) {
2653
2653
  };
2654
2654
  };
2655
2655
  var colorNames = colorName;
2656
- var swizzle = simpleSwizzleExports;
2656
+ var swizzle2 = simpleSwizzleExports;
2657
2657
  var hasOwnProperty$e = Object.hasOwnProperty;
2658
2658
  var reverseNames = /* @__PURE__ */ Object.create(null);
2659
2659
  for (var name in colorNames) {
@@ -2667,26 +2667,26 @@ var cs = colorString$1.exports = {
2667
2667
  };
2668
2668
  cs.get = function(string) {
2669
2669
  var prefix2 = string.substring(0, 3).toLowerCase();
2670
- var val2;
2670
+ var val;
2671
2671
  var model;
2672
2672
  switch (prefix2) {
2673
2673
  case "hsl":
2674
- val2 = cs.get.hsl(string);
2674
+ val = cs.get.hsl(string);
2675
2675
  model = "hsl";
2676
2676
  break;
2677
2677
  case "hwb":
2678
- val2 = cs.get.hwb(string);
2678
+ val = cs.get.hwb(string);
2679
2679
  model = "hwb";
2680
2680
  break;
2681
2681
  default:
2682
- val2 = cs.get.rgb(string);
2682
+ val = cs.get.rgb(string);
2683
2683
  model = "rgb";
2684
2684
  break;
2685
2685
  }
2686
- if (!val2) {
2686
+ if (!val) {
2687
2687
  return null;
2688
2688
  }
2689
- return { model, value: val2 };
2689
+ return { model, value: val };
2690
2690
  };
2691
2691
  cs.get.rgb = function(string) {
2692
2692
  if (!string) {
@@ -2794,26 +2794,26 @@ cs.get.hwb = function(string) {
2794
2794
  return null;
2795
2795
  };
2796
2796
  cs.to.hex = function() {
2797
- var rgba = swizzle(arguments);
2797
+ var rgba = swizzle2(arguments);
2798
2798
  return "#" + hexDouble(rgba[0]) + hexDouble(rgba[1]) + hexDouble(rgba[2]) + (rgba[3] < 1 ? hexDouble(Math.round(rgba[3] * 255)) : "");
2799
2799
  };
2800
2800
  cs.to.rgb = function() {
2801
- var rgba = swizzle(arguments);
2801
+ var rgba = swizzle2(arguments);
2802
2802
  return rgba.length < 4 || rgba[3] === 1 ? "rgb(" + Math.round(rgba[0]) + ", " + Math.round(rgba[1]) + ", " + Math.round(rgba[2]) + ")" : "rgba(" + Math.round(rgba[0]) + ", " + Math.round(rgba[1]) + ", " + Math.round(rgba[2]) + ", " + rgba[3] + ")";
2803
2803
  };
2804
2804
  cs.to.rgb.percent = function() {
2805
- var rgba = swizzle(arguments);
2805
+ var rgba = swizzle2(arguments);
2806
2806
  var r = Math.round(rgba[0] / 255 * 100);
2807
2807
  var g = Math.round(rgba[1] / 255 * 100);
2808
2808
  var b = Math.round(rgba[2] / 255 * 100);
2809
2809
  return rgba.length < 4 || rgba[3] === 1 ? "rgb(" + r + "%, " + g + "%, " + b + "%)" : "rgba(" + r + "%, " + g + "%, " + b + "%, " + rgba[3] + ")";
2810
2810
  };
2811
2811
  cs.to.hsl = function() {
2812
- var hsla = swizzle(arguments);
2812
+ var hsla = swizzle2(arguments);
2813
2813
  return hsla.length < 4 || hsla[3] === 1 ? "hsl(" + hsla[0] + ", " + hsla[1] + "%, " + hsla[2] + "%)" : "hsla(" + hsla[0] + ", " + hsla[1] + "%, " + hsla[2] + "%, " + hsla[3] + ")";
2814
2814
  };
2815
2815
  cs.to.hwb = function() {
2816
- var hwba = swizzle(arguments);
2816
+ var hwba = swizzle2(arguments);
2817
2817
  var a = "";
2818
2818
  if (hwba.length >= 4 && hwba[3] !== 1) {
2819
2819
  a = ", " + hwba[3];
@@ -3018,10 +3018,10 @@ convert$2.hsl.rgb = function(hsl) {
3018
3018
  const l = hsl[2] / 100;
3019
3019
  let t2;
3020
3020
  let t3;
3021
- let val2;
3021
+ let val;
3022
3022
  if (s === 0) {
3023
- val2 = l * 255;
3024
- return [val2, val2, val2];
3023
+ val = l * 255;
3024
+ return [val, val, val];
3025
3025
  }
3026
3026
  if (l < 0.5) {
3027
3027
  t2 = l * (1 + s);
@@ -3039,15 +3039,15 @@ convert$2.hsl.rgb = function(hsl) {
3039
3039
  t3--;
3040
3040
  }
3041
3041
  if (6 * t3 < 1) {
3042
- val2 = t1 + (t2 - t1) * 6 * t3;
3042
+ val = t1 + (t2 - t1) * 6 * t3;
3043
3043
  } else if (2 * t3 < 1) {
3044
- val2 = t2;
3044
+ val = t2;
3045
3045
  } else if (3 * t3 < 2) {
3046
- val2 = t1 + (t2 - t1) * (2 / 3 - t3) * 6;
3046
+ val = t1 + (t2 - t1) * (2 / 3 - t3) * 6;
3047
3047
  } else {
3048
- val2 = t1;
3048
+ val = t1;
3049
3049
  }
3050
- rgb[i] = val2 * 255;
3050
+ rgb[i] = val * 255;
3051
3051
  }
3052
3052
  return rgb;
3053
3053
  };
@@ -3069,10 +3069,10 @@ convert$2.hsv.rgb = function(hsv) {
3069
3069
  const s = hsv[1] / 100;
3070
3070
  let v = hsv[2] / 100;
3071
3071
  const hi = Math.floor(h) % 6;
3072
- const f2 = h - Math.floor(h);
3072
+ const f = h - Math.floor(h);
3073
3073
  const p = 255 * v * (1 - s);
3074
- const q = 255 * v * (1 - s * f2);
3075
- const t2 = 255 * v * (1 - s * (1 - f2));
3074
+ const q = 255 * v * (1 - s * f);
3075
+ const t2 = 255 * v * (1 - s * (1 - f));
3076
3076
  v *= 255;
3077
3077
  switch (hi) {
3078
3078
  case 0:
@@ -3109,18 +3109,18 @@ convert$2.hwb.rgb = function(hwb) {
3109
3109
  let wh = hwb[1] / 100;
3110
3110
  let bl = hwb[2] / 100;
3111
3111
  const ratio = wh + bl;
3112
- let f2;
3112
+ let f;
3113
3113
  if (ratio > 1) {
3114
3114
  wh /= ratio;
3115
3115
  bl /= ratio;
3116
3116
  }
3117
3117
  const i = Math.floor(6 * h);
3118
3118
  const v = 1 - bl;
3119
- f2 = 6 * h - i;
3119
+ f = 6 * h - i;
3120
3120
  if ((i & 1) !== 0) {
3121
- f2 = 1 - f2;
3121
+ f = 1 - f;
3122
3122
  }
3123
- const n = wh + f2 * (v - wh);
3123
+ const n = wh + f * (v - wh);
3124
3124
  let r;
3125
3125
  let g;
3126
3126
  let b;
@@ -3358,21 +3358,21 @@ convert$2.hsl.hcg = function(hsl) {
3358
3358
  const s = hsl[1] / 100;
3359
3359
  const l = hsl[2] / 100;
3360
3360
  const c = l < 0.5 ? 2 * s * l : 2 * s * (1 - l);
3361
- let f2 = 0;
3361
+ let f = 0;
3362
3362
  if (c < 1) {
3363
- f2 = (l - 0.5 * c) / (1 - c);
3363
+ f = (l - 0.5 * c) / (1 - c);
3364
3364
  }
3365
- return [hsl[0], c * 100, f2 * 100];
3365
+ return [hsl[0], c * 100, f * 100];
3366
3366
  };
3367
3367
  convert$2.hsv.hcg = function(hsv) {
3368
3368
  const s = hsv[1] / 100;
3369
3369
  const v = hsv[2] / 100;
3370
3370
  const c = s * v;
3371
- let f2 = 0;
3371
+ let f = 0;
3372
3372
  if (c < 1) {
3373
- f2 = (v - c) / (1 - c);
3373
+ f = (v - c) / (1 - c);
3374
3374
  }
3375
- return [hsv[0], c * 100, f2 * 100];
3375
+ return [hsv[0], c * 100, f * 100];
3376
3376
  };
3377
3377
  convert$2.hcg.rgb = function(hcg) {
3378
3378
  const h = hcg[0] / 360;
@@ -3428,11 +3428,11 @@ convert$2.hcg.hsv = function(hcg) {
3428
3428
  const c = hcg[1] / 100;
3429
3429
  const g = hcg[2] / 100;
3430
3430
  const v = c + g * (1 - c);
3431
- let f2 = 0;
3431
+ let f = 0;
3432
3432
  if (v > 0) {
3433
- f2 = c / v;
3433
+ f = c / v;
3434
3434
  }
3435
- return [hcg[0], f2 * 100, v * 100];
3435
+ return [hcg[0], f * 100, v * 100];
3436
3436
  };
3437
3437
  convert$2.hcg.hsl = function(hcg) {
3438
3438
  const c = hcg[1] / 100;
@@ -3486,14 +3486,14 @@ convert$2.gray.lab = function(gray) {
3486
3486
  return [gray[0], 0, 0];
3487
3487
  };
3488
3488
  convert$2.gray.hex = function(gray) {
3489
- const val2 = Math.round(gray[0] / 100 * 255) & 255;
3490
- const integer = (val2 << 16) + (val2 << 8) + val2;
3489
+ const val = Math.round(gray[0] / 100 * 255) & 255;
3490
+ const integer = (val << 16) + (val << 8) + val;
3491
3491
  const string = integer.toString(16).toUpperCase();
3492
3492
  return "000000".substring(string.length) + string;
3493
3493
  };
3494
3494
  convert$2.rgb.gray = function(rgb) {
3495
- const val2 = (rgb[0] + rgb[1] + rgb[2]) / 3;
3496
- return [val2 / 255 * 100];
3495
+ const val = (rgb[0] + rgb[1] + rgb[2]) / 3;
3496
+ return [val / 255 * 100];
3497
3497
  };
3498
3498
  const conversions$1 = conversions$2;
3499
3499
  function buildGraph() {
@@ -4005,74 +4005,75 @@ const JsonAdapter = {
4005
4005
  if (!val)
4006
4006
  return void 0;
4007
4007
  try {
4008
- return JSON.parse(JSON.stringify(eval("(" + val + ")")));
4008
+ return JSON.parse(val);
4009
4009
  } catch (error2) {
4010
+ Message.error("Invalid JSON");
4010
4011
  }
4011
4012
  return val;
4012
4013
  }
4013
4014
  };
4014
4015
  const colorAdapter = {
4015
- formatter(val2) {
4016
- if (!isString$1(val2) && !val2)
4016
+ formatter(val) {
4017
+ if (!isString$1(val) && !val)
4017
4018
  return void 0;
4018
4019
  try {
4019
- val2 = val2.toString();
4020
- if (val2.startsWith("#") && Color$1(val2).hex()) {
4021
- return val2.replace("#", "");
4020
+ val = val.toString();
4021
+ if (val.startsWith("#") && Color$1(val).hex()) {
4022
+ return val.replace("#", "");
4022
4023
  }
4023
4024
  } catch (error2) {
4024
4025
  }
4025
- return val2;
4026
+ return val;
4026
4027
  },
4027
- normalize(val2) {
4028
- if (!isString$1(val2))
4028
+ normalize(val) {
4029
+ if (!isString$1(val))
4029
4030
  return void 0;
4030
- val2 = val2.toString().trim();
4031
- if (!val2)
4031
+ val = val.toString().trim();
4032
+ if (!val)
4032
4033
  return void 0;
4033
4034
  try {
4034
- if (Color$1(`#${val2}`).hex())
4035
- return `#${val2}`;
4035
+ if (Color$1(`#${val}`).hex())
4036
+ return `#${val}`;
4036
4037
  } catch (error2) {
4037
4038
  }
4038
- return val2;
4039
+ return val;
4039
4040
  }
4040
4041
  };
4041
4042
  const pixelNumberAdapter = {
4042
- formatter(val2) {
4043
- if (!isString$1(val2))
4043
+ formatter(val) {
4044
+ if (!isString$1(val))
4044
4045
  return void 0;
4045
- val2 = val2.toString();
4046
- if (/^\d+px$/.test(val2.trim()))
4047
- return +val2.replace("px", "");
4048
- return +val2;
4046
+ val = val.toString();
4047
+ if (/^\d+px$/.test(val.trim()))
4048
+ return +val.replace("px", "");
4049
+ return +val;
4049
4050
  },
4050
- normalize(val2) {
4051
- if (!isNumber$1(val2))
4051
+ normalize(val) {
4052
+ if (!isNumber$1(val))
4052
4053
  return void 0;
4053
- if (/^\d+$/.test(String(val2)))
4054
- return val2 + "px";
4055
- if (!val2)
4054
+ if (/^\d+$/.test(String(val)))
4055
+ return val + "px";
4056
+ if (!val)
4056
4057
  return void 0;
4057
- return val2;
4058
+ return val;
4058
4059
  }
4059
4060
  };
4060
4061
  const fontWeightAdapter = {
4061
- formatter(val2) {
4062
- if (!val2)
4062
+ formatter(val) {
4063
+ if (!val)
4063
4064
  return "normal";
4064
- return val2;
4065
+ return val;
4065
4066
  },
4066
- normalize(val2) {
4067
- if (val2 === "normal")
4067
+ normalize(val) {
4068
+ if (val === "normal")
4068
4069
  return void 0;
4069
- return val2;
4070
+ return val;
4070
4071
  }
4071
4072
  };
4072
4073
  const italicAdapter = {
4073
4074
  formatter(fontStyle) {
4074
- const val2 = fontStyle;
4075
- return val2 === "italic";
4075
+ const val = fontStyle;
4076
+ return val === "italic";
4076
4077
  },
4077
4078
  normalize(active) {
4078
4079
  if (!active)
@@ -4347,12 +4348,12 @@ function isPlainObject$5(obj) {
4347
4348
  }
4348
4349
  return Object.getPrototypeOf(obj) === proto;
4349
4350
  }
4350
- function miniKindOf(val2) {
4351
- if (val2 === void 0)
4351
+ function miniKindOf(val) {
4352
+ if (val === void 0)
4352
4353
  return "undefined";
4353
- if (val2 === null)
4354
+ if (val === null)
4354
4355
  return "null";
4355
- var type = typeof val2;
4356
+ var type = typeof val;
4356
4357
  switch (type) {
4357
4358
  case "boolean":
4358
4359
  case "string":
@@ -4362,13 +4363,13 @@ function miniKindOf(val2) {
4362
4363
  return type;
4363
4364
  }
4364
4365
  }
4365
- if (Array.isArray(val2))
4366
+ if (Array.isArray(val))
4366
4367
  return "array";
4367
- if (isDate$1(val2))
4368
+ if (isDate$1(val))
4368
4369
  return "date";
4369
- if (isError(val2))
4370
+ if (isError(val))
4370
4371
  return "error";
4371
- var constructorName = ctorName(val2);
4372
+ var constructorName = ctorName(val);
4372
4373
  switch (constructorName) {
4373
4374
  case "Symbol":
4374
4375
  case "Promise":
@@ -4380,21 +4381,21 @@ function miniKindOf(val2) {
4380
4381
  }
4381
4382
  return type.slice(8, -1).toLowerCase().replace(/\s/g, "");
4382
4383
  }
4383
- function ctorName(val2) {
4384
- return typeof val2.constructor === "function" ? val2.constructor.name : null;
4384
+ function ctorName(val) {
4385
+ return typeof val.constructor === "function" ? val.constructor.name : null;
4385
4386
  }
4386
- function isError(val2) {
4387
- return val2 instanceof Error || typeof val2.message === "string" && val2.constructor && typeof val2.constructor.stackTraceLimit === "number";
4387
+ function isError(val) {
4388
+ return val instanceof Error || typeof val.message === "string" && val.constructor && typeof val.constructor.stackTraceLimit === "number";
4388
4389
  }
4389
- function isDate$1(val2) {
4390
- if (val2 instanceof Date)
4390
+ function isDate$1(val) {
4391
+ if (val instanceof Date)
4391
4392
  return true;
4392
- return typeof val2.toDateString === "function" && typeof val2.getDate === "function" && typeof val2.setDate === "function";
4393
+ return typeof val.toDateString === "function" && typeof val.getDate === "function" && typeof val.setDate === "function";
4393
4394
  }
4394
- function kindOf$1(val2) {
4395
- var typeOfVal = typeof val2;
4395
+ function kindOf$1(val) {
4396
+ var typeOfVal = typeof val;
4396
4397
  if (process.env.NODE_ENV !== "production") {
4397
- typeOfVal = miniKindOf(val2);
4398
+ typeOfVal = miniKindOf(val);
4398
4399
  }
4399
4400
  return typeOfVal;
4400
4401
  }
@@ -4626,7 +4627,7 @@ function requireReactIs_production_min$1() {
4626
4627
  if (hasRequiredReactIs_production_min$1)
4627
4628
  return reactIs_production_min$1;
4628
4629
  hasRequiredReactIs_production_min$1 = 1;
4629
- var b = "function" === typeof Symbol && Symbol.for, c = b ? Symbol.for("react.element") : 60103, d = b ? Symbol.for("react.portal") : 60106, e = b ? Symbol.for("react.fragment") : 60107, f2 = b ? Symbol.for("react.strict_mode") : 60108, g = b ? Symbol.for("react.profiler") : 60114, h = b ? Symbol.for("react.provider") : 60109, k = b ? Symbol.for("react.context") : 60110, l = b ? Symbol.for("react.async_mode") : 60111, m = b ? Symbol.for("react.concurrent_mode") : 60111, n = b ? Symbol.for("react.forward_ref") : 60112, p = b ? Symbol.for("react.suspense") : 60113, q = b ? Symbol.for("react.suspense_list") : 60120, r = b ? Symbol.for("react.memo") : 60115, t2 = b ? Symbol.for("react.lazy") : 60116, v = b ? Symbol.for("react.block") : 60121, w = b ? Symbol.for("react.fundamental") : 60117, x = b ? Symbol.for("react.responder") : 60118, y = b ? Symbol.for("react.scope") : 60119;
4630
+ var b = "function" === typeof Symbol && Symbol.for, c = b ? Symbol.for("react.element") : 60103, d = b ? Symbol.for("react.portal") : 60106, e = b ? Symbol.for("react.fragment") : 60107, f = b ? Symbol.for("react.strict_mode") : 60108, g = b ? Symbol.for("react.profiler") : 60114, h = b ? Symbol.for("react.provider") : 60109, k = b ? Symbol.for("react.context") : 60110, l = b ? Symbol.for("react.async_mode") : 60111, m = b ? Symbol.for("react.concurrent_mode") : 60111, n = b ? Symbol.for("react.forward_ref") : 60112, p = b ? Symbol.for("react.suspense") : 60113, q = b ? Symbol.for("react.suspense_list") : 60120, r = b ? Symbol.for("react.memo") : 60115, t2 = b ? Symbol.for("react.lazy") : 60116, v = b ? Symbol.for("react.block") : 60121, w = b ? Symbol.for("react.fundamental") : 60117, x = b ? Symbol.for("react.responder") : 60118, y = b ? Symbol.for("react.scope") : 60119;
4630
4631
  function z(a) {
4631
4632
  if ("object" === typeof a && null !== a) {
4632
4633
  var u = a.$$typeof;
@@ -4637,7 +4638,7 @@ function requireReactIs_production_min$1() {
4637
4638
  case m:
4638
4639
  case e:
4639
4640
  case g:
4640
- case f2:
4641
+ case f:
4641
4642
  case p:
4642
4643
  return a;
4643
4644
  default:
@@ -4671,7 +4672,7 @@ function requireReactIs_production_min$1() {
4671
4672
  reactIs_production_min$1.Memo = r;
4672
4673
  reactIs_production_min$1.Portal = d;
4673
4674
  reactIs_production_min$1.Profiler = g;
4674
- reactIs_production_min$1.StrictMode = f2;
4675
+ reactIs_production_min$1.StrictMode = f;
4675
4676
  reactIs_production_min$1.Suspense = p;
4676
4677
  reactIs_production_min$1.isAsyncMode = function(a) {
4677
4678
  return A(a) || z(a) === l;
@@ -4705,13 +4706,13 @@ function requireReactIs_production_min$1() {
4705
4706
  return z(a) === g;
4706
4707
  };
4707
4708
  reactIs_production_min$1.isStrictMode = function(a) {
4708
- return z(a) === f2;
4709
+ return z(a) === f;
4709
4710
  };
4710
4711
  reactIs_production_min$1.isSuspense = function(a) {
4711
4712
  return z(a) === p;
4712
4713
  };
4713
4714
  reactIs_production_min$1.isValidElementType = function(a) {
4714
- return "string" === typeof a || "function" === typeof a || a === e || a === m || a === g || a === f2 || a === p || a === q || "object" === typeof a && null !== a && (a.$$typeof === t2 || a.$$typeof === r || a.$$typeof === h || a.$$typeof === k || a.$$typeof === n || a.$$typeof === w || a.$$typeof === x || a.$$typeof === y || a.$$typeof === v);
4715
+ return "string" === typeof a || "function" === typeof a || a === e || a === m || a === g || a === f || a === p || a === q || "object" === typeof a && null !== a && (a.$$typeof === t2 || a.$$typeof === r || a.$$typeof === h || a.$$typeof === k || a.$$typeof === n || a.$$typeof === w || a.$$typeof === x || a.$$typeof === y || a.$$typeof === v);
4715
4716
  };
4716
4717
  reactIs_production_min$1.typeOf = z;
4717
4718
  return reactIs_production_min$1;
@@ -4901,11 +4902,11 @@ object-assign
4901
4902
  var getOwnPropertySymbols$1 = Object.getOwnPropertySymbols;
4902
4903
  var hasOwnProperty$d = Object.prototype.hasOwnProperty;
4903
4904
  var propIsEnumerable = Object.prototype.propertyIsEnumerable;
4904
- function toObject(val2) {
4905
- if (val2 === null || val2 === void 0) {
4905
+ function toObject(val) {
4906
+ if (val === null || val === void 0) {
4906
4907
  throw new TypeError("Object.assign cannot be called with null or undefined");
4907
4908
  }
4908
- return Object(val2);
4909
+ return Object(val);
4909
4910
  }
4910
4911
  function shouldUseNative() {
4911
4912
  try {
@@ -4986,13 +4987,13 @@ function requireCheckPropTypes() {
4986
4987
  if (hasRequiredCheckPropTypes)
4987
4988
  return checkPropTypes_1;
4988
4989
  hasRequiredCheckPropTypes = 1;
4989
- var printWarning2 = function() {
4990
+ var printWarning = function() {
4990
4991
  };
4991
4992
  if (process.env.NODE_ENV !== "production") {
4992
4993
  var ReactPropTypesSecret = requireReactPropTypesSecret();
4993
4994
  var loggedTypeFailures = {};
4994
4995
  var has3 = requireHas();
4995
- printWarning2 = function(text) {
4996
+ printWarning = function(text) {
4996
4997
  var message = "Warning: " + text;
4997
4998
  if (typeof console !== "undefined") {
4998
4999
  console.error(message);
@@ -5021,14 +5022,14 @@ function requireCheckPropTypes() {
5021
5022
  error2 = ex;
5022
5023
  }
5023
5024
  if (error2 && !(error2 instanceof Error)) {
5024
- printWarning2(
5025
+ printWarning(
5025
5026
  (componentName || "React class") + ": type specification of " + location + " `" + typeSpecName + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof error2 + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
5026
5027
  );
5027
5028
  }
5028
5029
  if (error2 instanceof Error && !(error2.message in loggedTypeFailures)) {
5029
5030
  loggedTypeFailures[error2.message] = true;
5030
5031
  var stack = getStack ? getStack() : "";
5031
- printWarning2(
5032
+ printWarning(
5032
5033
  "Failed " + location + " type: " + error2.message + (stack != null ? stack : "")
5033
5034
  );
5034
5035
  }
@@ -5050,15 +5051,15 @@ function requireFactoryWithTypeCheckers() {
5050
5051
  if (hasRequiredFactoryWithTypeCheckers)
5051
5052
  return factoryWithTypeCheckers;
5052
5053
  hasRequiredFactoryWithTypeCheckers = 1;
5053
- var ReactIs2 = requireReactIs();
5054
+ var ReactIs = requireReactIs();
5054
5055
  var assign2 = objectAssign;
5055
5056
  var ReactPropTypesSecret = requireReactPropTypesSecret();
5056
5057
  var has3 = requireHas();
5057
5058
  var checkPropTypes = requireCheckPropTypes();
5058
- var printWarning2 = function() {
5059
+ var printWarning = function() {
5059
5060
  };
5060
5061
  if (process.env.NODE_ENV !== "production") {
5061
- printWarning2 = function(text) {
5062
+ printWarning = function(text) {
5062
5063
  var message = "Warning: " + text;
5063
5064
  if (typeof console !== "undefined") {
5064
5065
  console.error(message);
@@ -5072,7 +5073,7 @@ function requireFactoryWithTypeCheckers() {
5072
5073
  function emptyFunctionThatReturnsNull() {
5073
5074
  return null;
5074
5075
  }
5075
- factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess2) {
5076
+ factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
5076
5077
  var ITERATOR_SYMBOL = typeof Symbol === "function" && Symbol.iterator;
5077
5078
  var FAUX_ITERATOR_SYMBOL = "@@iterator";
5078
5079
  function getIteratorFn(maybeIterable) {
@@ -5125,7 +5126,7 @@ function requireFactoryWithTypeCheckers() {
5125
5126
  componentName = componentName || ANONYMOUS;
5126
5127
  propFullName = propFullName || propName;
5127
5128
  if (secret !== ReactPropTypesSecret) {
5128
- if (throwOnDirectAccess2) {
5129
+ if (throwOnDirectAccess) {
5129
5130
  var err = new Error(
5130
5131
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
5131
5132
  );
@@ -5135,7 +5136,7 @@ function requireFactoryWithTypeCheckers() {
5135
5136
  var cacheKey = componentName + ":" + propName;
5136
5137
  if (!manualPropTypeCallCache[cacheKey] && // Avoid spamming the console because they are often not actionable except for lib authors
5137
5138
  manualPropTypeWarningCount < 3) {
5138
- printWarning2(
5139
+ printWarning(
5139
5140
  "You are manually calling a React.PropTypes validation function for the `" + propFullName + "` prop on `" + componentName + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
5140
5141
  );
5141
5142
  manualPropTypeCallCache[cacheKey] = true;
@@ -5211,7 +5212,7 @@ function requireFactoryWithTypeCheckers() {
5211
5212
  function createElementTypeTypeChecker() {
5212
5213
  function validate(props, propName, componentName, location, propFullName) {
5213
5214
  var propValue = props[propName];
5214
- if (!ReactIs2.isValidElementType(propValue)) {
5215
+ if (!ReactIs.isValidElementType(propValue)) {
5215
5216
  var propType = getPropType(propValue);
5216
5217
  return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected a single ReactElement type."));
5217
5218
  }
@@ -5234,11 +5235,11 @@ function requireFactoryWithTypeCheckers() {
5234
5235
  if (!Array.isArray(expectedValues)) {
5235
5236
  if (process.env.NODE_ENV !== "production") {
5236
5237
  if (arguments.length > 1) {
5237
- printWarning2(
5238
+ printWarning(
5238
5239
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
5239
5240
  );
5240
5241
  } else {
5241
- printWarning2("Invalid argument supplied to oneOf, expected an array.");
5242
+ printWarning("Invalid argument supplied to oneOf, expected an array.");
5242
5243
  }
5243
5244
  }
5244
5245
  return emptyFunctionThatReturnsNull;
@@ -5285,13 +5286,13 @@ function requireFactoryWithTypeCheckers() {
5285
5286
  }
5286
5287
  function createUnionTypeChecker(arrayOfTypeCheckers) {
5287
5288
  if (!Array.isArray(arrayOfTypeCheckers)) {
5288
- process.env.NODE_ENV !== "production" ? printWarning2("Invalid argument supplied to oneOfType, expected an instance of array.") : void 0;
5289
+ process.env.NODE_ENV !== "production" ? printWarning("Invalid argument supplied to oneOfType, expected an instance of array.") : void 0;
5289
5290
  return emptyFunctionThatReturnsNull;
5290
5291
  }
5291
5292
  for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
5292
5293
  var checker = arrayOfTypeCheckers[i];
5293
5294
  if (typeof checker !== "function") {
5294
- printWarning2(
5295
+ printWarning(
5295
5296
  "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + getPostfixForTypeWarning(checker) + " at index " + i + "."
5296
5297
  );
5297
5298
  return emptyFunctionThatReturnsNull;
@@ -5832,14 +5833,14 @@ function requireReactIs_production_min() {
5832
5833
  if (hasRequiredReactIs_production_min)
5833
5834
  return reactIs_production_min;
5834
5835
  hasRequiredReactIs_production_min = 1;
5835
- var b = 60103, c = 60106, d = 60107, e = 60108, f2 = 60114, g = 60109, h = 60110, k = 60112, l = 60113, m = 60120, n = 60115, p = 60116, q = 60121, r = 60122, u = 60117, v = 60129, w = 60131;
5836
+ var b = 60103, c = 60106, d = 60107, e = 60108, f = 60114, g = 60109, h = 60110, k = 60112, l = 60113, m = 60120, n = 60115, p = 60116, q = 60121, r = 60122, u = 60117, v = 60129, w = 60131;
5836
5837
  if ("function" === typeof Symbol && Symbol.for) {
5837
5838
  var x = Symbol.for;
5838
5839
  b = x("react.element");
5839
5840
  c = x("react.portal");
5840
5841
  d = x("react.fragment");
5841
5842
  e = x("react.strict_mode");
5842
- f2 = x("react.profiler");
5843
+ f = x("react.profiler");
5843
5844
  g = x("react.provider");
5844
5845
  h = x("react.context");
5845
5846
  k = x("react.forward_ref");
@@ -5860,7 +5861,7 @@ function requireReactIs_production_min() {
5860
5861
  case b:
5861
5862
  switch (a = a.type, a) {
5862
5863
  case d:
5863
- case f2:
5864
+ case f:
5864
5865
  case e:
5865
5866
  case l:
5866
5867
  case m:
@@ -5882,7 +5883,7 @@ function requireReactIs_production_min() {
5882
5883
  }
5883
5884
  }
5884
5885
  }
5885
- var z = g, A = b, B = k, C = d, D = p, E = n, F = c, G = f2, H = e, I = l;
5886
+ var z = g, A = b, B = k, C = d, D = p, E = n, F = c, G = f, H = e, I = l;
5886
5887
  reactIs_production_min.ContextConsumer = h;
5887
5888
  reactIs_production_min.ContextProvider = z;
5888
5889
  reactIs_production_min.Element = A;
@@ -5925,7 +5926,7 @@ function requireReactIs_production_min() {
5925
5926
  return y(a) === c;
5926
5927
  };
5927
5928
  reactIs_production_min.isProfiler = function(a) {
5928
- return y(a) === f2;
5929
+ return y(a) === f;
5929
5930
  };
5930
5931
  reactIs_production_min.isStrictMode = function(a) {
5931
5932
  return y(a) === e;
@@ -5934,7 +5935,7 @@ function requireReactIs_production_min() {
5934
5935
  return y(a) === l;
5935
5936
  };
5936
5937
  reactIs_production_min.isValidElementType = function(a) {
5937
- return "string" === typeof a || "function" === typeof a || a === d || a === f2 || a === v || a === e || a === l || a === m || a === w || "object" === typeof a && null !== a && (a.$$typeof === p || a.$$typeof === n || a.$$typeof === g || a.$$typeof === h || a.$$typeof === k || a.$$typeof === u || a.$$typeof === q || a[0] === r) ? true : false;
5938
+ return "string" === typeof a || "function" === typeof a || a === d || a === f || a === v || a === e || a === l || a === m || a === w || "object" === typeof a && null !== a && (a.$$typeof === p || a.$$typeof === n || a.$$typeof === g || a.$$typeof === h || a.$$typeof === k || a.$$typeof === u || a.$$typeof === q || a[0] === r) ? true : false;
5938
5939
  };
5939
5940
  reactIs_production_min.typeOf = y;
5940
5941
  return reactIs_production_min;
@@ -6227,8 +6228,8 @@ function connectAdvanced(selectorFactory, _ref) {
6227
6228
  if (_ref === void 0) {
6228
6229
  _ref = {};
6229
6230
  }
6230
- var _ref2 = _ref, _ref2$getDisplayName = _ref2.getDisplayName, getDisplayName2 = _ref2$getDisplayName === void 0 ? function(name2) {
6231
- return "ConnectAdvanced(" + name2 + ")";
6231
+ var _ref2 = _ref, _ref2$getDisplayName = _ref2.getDisplayName, getDisplayName2 = _ref2$getDisplayName === void 0 ? function(name) {
6232
+ return "ConnectAdvanced(" + name + ")";
6232
6233
  } : _ref2$getDisplayName, _ref2$methodName = _ref2.methodName, methodName = _ref2$methodName === void 0 ? "connectAdvanced" : _ref2$methodName, _ref2$renderCountProp = _ref2.renderCountProp, renderCountProp = _ref2$renderCountProp === void 0 ? void 0 : _ref2$renderCountProp, _ref2$shouldHandleSta = _ref2.shouldHandleStateChanges, shouldHandleStateChanges = _ref2$shouldHandleSta === void 0 ? true : _ref2$shouldHandleSta, _ref2$storeKey = _ref2.storeKey, storeKey = _ref2$storeKey === void 0 ? "store" : _ref2$storeKey, _ref2$withRef = _ref2.withRef, withRef = _ref2$withRef === void 0 ? false : _ref2$withRef, _ref2$forwardRef = _ref2.forwardRef, forwardRef2 = _ref2$forwardRef === void 0 ? false : _ref2$forwardRef, _ref2$context = _ref2.context, context = _ref2$context === void 0 ? ReactReduxContext : _ref2$context, connectOptions = _objectWithoutPropertiesLoose(_ref2, _excluded$2);
6233
6234
  if (process.env.NODE_ENV !== "production") {
6234
6235
  if (renderCountProp !== void 0) {
@@ -6593,14 +6594,14 @@ function finalPropsSelectorFactory(dispatch, _ref2) {
6593
6594
  return selectorFactory(mapStateToProps, mapDispatchToProps2, mergeProps, dispatch, options2);
6594
6595
  }
6595
6596
  var _excluded = ["pure", "areStatesEqual", "areOwnPropsEqual", "areStatePropsEqual", "areMergedPropsEqual"];
6596
- function match(arg, factories, name2) {
6597
+ function match(arg, factories, name) {
6597
6598
  for (var i = factories.length - 1; i >= 0; i--) {
6598
6599
  var result = factories[i](arg);
6599
6600
  if (result)
6600
6601
  return result;
6601
6602
  }
6602
6603
  return function(dispatch, options2) {
6603
- throw new Error("Invalid value of type " + typeof arg + " for " + name2 + " argument when connecting component " + options2.wrappedComponentName + ".");
6604
+ throw new Error("Invalid value of type " + typeof arg + " for " + name + " argument when connecting component " + options2.wrappedComponentName + ".");
6604
6605
  };
6605
6606
  }
6606
6607
  function strictEqual(a, b) {
@@ -6620,8 +6621,8 @@ function createConnect(_temp) {
6620
6621
  // used in error messages
6621
6622
  methodName: "connect",
6622
6623
  // used to compute Connect's displayName from the wrapped component's displayName.
6623
- getDisplayName: function getDisplayName2(name2) {
6624
- return "Connect(" + name2 + ")";
6624
+ getDisplayName: function getDisplayName2(name) {
6625
+ return "Connect(" + name + ")";
6625
6626
  },
6626
6627
  // if mapStateToProps is falsy, the Connect component doesn't subscribe to store state changes
6627
6628
  shouldHandleStateChanges: Boolean(mapStateToProps),
@@ -6764,7 +6765,7 @@ var parse = function parse2(raw) {
6764
6765
  !!isNaN(result) ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Could not parse value [raw: " + raw + ", without suffix: " + value + "]") : invariant$1(false) : void 0;
6765
6766
  return result;
6766
6767
  };
6767
- var getWindowScroll$1 = function getWindowScroll2() {
6768
+ var getWindowScroll$1 = function getWindowScroll() {
6768
6769
  return {
6769
6770
  x: window.pageXOffset,
6770
6771
  y: window.pageYOffset
@@ -6939,7 +6940,7 @@ var prefix = "Invariant failed";
6939
6940
  function RbdInvariant(message) {
6940
6941
  this.message = message;
6941
6942
  }
6942
- RbdInvariant.prototype.toString = function toString2() {
6943
+ RbdInvariant.prototype.toString = function toString() {
6943
6944
  return this.message;
6944
6945
  };
6945
6946
  function invariant(condition, message) {
@@ -7073,13 +7074,13 @@ var origin = {
7073
7074
  x: 0,
7074
7075
  y: 0
7075
7076
  };
7076
- var add$1 = function add2(point1, point2) {
7077
+ var add$1 = function add(point1, point2) {
7077
7078
  return {
7078
7079
  x: point1.x + point2.x,
7079
7080
  y: point1.y + point2.y
7080
7081
  };
7081
7082
  };
7082
- var subtract$1 = function subtract2(point1, point2) {
7083
+ var subtract$1 = function subtract(point1, point2) {
7083
7084
  return {
7084
7085
  x: point1.x - point2.x,
7085
7086
  y: point1.y - point2.y
@@ -7094,7 +7095,7 @@ var negate = function negate2(point) {
7094
7095
  y: point.y !== 0 ? -point.y : 0
7095
7096
  };
7096
7097
  };
7097
- var patch$1 = function patch2(line, value, otherValue) {
7098
+ var patch$1 = function patch(line, value, otherValue) {
7098
7099
  var _ref;
7099
7100
  if (otherValue === void 0) {
7100
7101
  otherValue = 0;
@@ -7109,7 +7110,7 @@ var closest = function closest2(target, points) {
7109
7110
  return distance(target, point);
7110
7111
  }));
7111
7112
  };
7112
- var apply$2 = function apply2(fn) {
7113
+ var apply$2 = function apply(fn) {
7113
7114
  return function(point) {
7114
7115
  return {
7115
7116
  x: fn(point.x),
@@ -7158,7 +7159,7 @@ var noSpacing = {
7158
7159
  bottom: 0,
7159
7160
  left: 0
7160
7161
  };
7161
- var scroll$1 = function scroll2(target, frame) {
7162
+ var scroll$1 = function scroll(target, frame) {
7162
7163
  if (!frame) {
7163
7164
  return target;
7164
7165
  }
@@ -9536,7 +9537,7 @@ var drop$1 = function(_ref) {
9536
9537
  };
9537
9538
  };
9538
9539
  };
9539
- var getWindowScroll = function() {
9540
+ var getWindowScroll2 = function() {
9540
9541
  return {
9541
9542
  x: window.pageXOffset,
9542
9543
  y: window.pageYOffset
@@ -9560,7 +9561,7 @@ function getWindowScrollBinding(update2) {
9560
9561
  function getScrollListener(_ref) {
9561
9562
  var onWindowScroll = _ref.onWindowScroll;
9562
9563
  function updateScroll() {
9563
- onWindowScroll(getWindowScroll());
9564
+ onWindowScroll(getWindowScroll2());
9564
9565
  }
9565
9566
  var scheduled = rafSchd$1(updateScroll);
9566
9567
  var binding = getWindowScrollBinding(scheduled);
@@ -10121,7 +10122,7 @@ var getMaxWindowScroll = function() {
10121
10122
  return maxScroll;
10122
10123
  };
10123
10124
  var getViewport = function() {
10124
- var scroll3 = getWindowScroll();
10125
+ var scroll3 = getWindowScroll2();
10125
10126
  var maxScroll = getMaxWindowScroll();
10126
10127
  var top = scroll3.y;
10127
10128
  var left = scroll3.x;
@@ -12101,8 +12102,8 @@ var supportedMatchesName = function() {
12101
12102
  return base;
12102
12103
  }
12103
12104
  var candidates = [base, "msMatchesSelector", "webkitMatchesSelector"];
12104
- var value = find(candidates, function(name2) {
12105
- return name2 in Element.prototype;
12105
+ var value = find(candidates, function(name) {
12106
+ return name in Element.prototype;
12106
12107
  });
12107
12108
  return value || base;
12108
12109
  }();
@@ -12962,7 +12963,7 @@ var empty = {
12962
12963
  height: 0,
12963
12964
  margin: noSpacing
12964
12965
  };
12965
- var getSize$1 = function getSize2(_ref) {
12966
+ var getSize$1 = function getSize(_ref) {
12966
12967
  var isAnimatingOpenOnMount = _ref.isAnimatingOpenOnMount, placeholder2 = _ref.placeholder, animate = _ref.animate;
12967
12968
  if (isAnimatingOpenOnMount) {
12968
12969
  return empty;
@@ -14286,16 +14287,16 @@ const kindOfTest = (type) => {
14286
14287
  const typeOfTest = (type) => (thing) => typeof thing === type;
14287
14288
  const { isArray: isArray$8 } = Array;
14288
14289
  const isUndefined = typeOfTest("undefined");
14289
- function isBuffer$3(val2) {
14290
- return val2 !== null && !isUndefined(val2) && val2.constructor !== null && !isUndefined(val2.constructor) && isFunction$4(val2.constructor.isBuffer) && val2.constructor.isBuffer(val2);
14290
+ function isBuffer$3(val) {
14291
+ return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor) && isFunction$4(val.constructor.isBuffer) && val.constructor.isBuffer(val);
14291
14292
  }
14292
14293
  const isArrayBuffer = kindOfTest("ArrayBuffer");
14293
- function isArrayBufferView(val2) {
14294
+ function isArrayBufferView(val) {
14294
14295
  let result;
14295
14296
  if (typeof ArrayBuffer !== "undefined" && ArrayBuffer.isView) {
14296
- result = ArrayBuffer.isView(val2);
14297
+ result = ArrayBuffer.isView(val);
14297
14298
  } else {
14298
- result = val2 && val2.buffer && isArrayBuffer(val2.buffer);
14299
+ result = val && val.buffer && isArrayBuffer(val.buffer);
14299
14300
  }
14300
14301
  return result;
14301
14302
  }
@@ -14304,18 +14305,18 @@ const isFunction$4 = typeOfTest("function");
14304
14305
  const isNumber = typeOfTest("number");
14305
14306
  const isObject$a = (thing) => thing !== null && typeof thing === "object";
14306
14307
  const isBoolean = (thing) => thing === true || thing === false;
14307
- const isPlainObject$3 = (val2) => {
14308
- if (kindOf(val2) !== "object") {
14308
+ const isPlainObject$3 = (val) => {
14309
+ if (kindOf(val) !== "object") {
14309
14310
  return false;
14310
14311
  }
14311
- const prototype2 = getPrototypeOf(val2);
14312
- return (prototype2 === null || prototype2 === Object.prototype || Object.getPrototypeOf(prototype2) === null) && !(Symbol.toStringTag in val2) && !(Symbol.iterator in val2);
14312
+ const prototype2 = getPrototypeOf(val);
14313
+ return (prototype2 === null || prototype2 === Object.prototype || Object.getPrototypeOf(prototype2) === null) && !(Symbol.toStringTag in val) && !(Symbol.iterator in val);
14313
14314
  };
14314
14315
  const isDate = kindOfTest("Date");
14315
14316
  const isFile = kindOfTest("File");
14316
14317
  const isBlob = kindOfTest("Blob");
14317
14318
  const isFileList = kindOfTest("FileList");
14318
- const isStream = (val2) => isObject$a(val2) && isFunction$4(val2.pipe);
14319
+ const isStream = (val) => isObject$a(val) && isFunction$4(val.pipe);
14319
14320
  const isFormData = (thing) => {
14320
14321
  let kind;
14321
14322
  return thing && (typeof FormData === "function" && thing instanceof FormData || isFunction$4(thing.append) && ((kind = kindOf(thing)) === "formdata" || // detect form-data instance
@@ -14368,16 +14369,16 @@ const isContextDefined = (context) => !isUndefined(context) && context !== _glob
14368
14369
  function merge() {
14369
14370
  const { caseless } = isContextDefined(this) && this || {};
14370
14371
  const result = {};
14371
- const assignValue2 = (val2, key2) => {
14372
+ const assignValue2 = (val, key2) => {
14372
14373
  const targetKey = caseless && findKey(result, key2) || key2;
14373
- if (isPlainObject$3(result[targetKey]) && isPlainObject$3(val2)) {
14374
- result[targetKey] = merge(result[targetKey], val2);
14375
- } else if (isPlainObject$3(val2)) {
14376
- result[targetKey] = merge({}, val2);
14377
- } else if (isArray$8(val2)) {
14378
- result[targetKey] = val2.slice();
14374
+ if (isPlainObject$3(result[targetKey]) && isPlainObject$3(val)) {
14375
+ result[targetKey] = merge(result[targetKey], val);
14376
+ } else if (isPlainObject$3(val)) {
14377
+ result[targetKey] = merge({}, val);
14378
+ } else if (isArray$8(val)) {
14379
+ result[targetKey] = val.slice();
14379
14380
  } else {
14380
- result[targetKey] = val2;
14381
+ result[targetKey] = val;
14381
14382
  }
14382
14383
  };
14383
14384
  for (let i = 0, l = arguments.length; i < l; i++) {
@@ -14386,11 +14387,11 @@ function merge() {
14386
14387
  return result;
14387
14388
  }
14388
14389
  const extend = (a, b, thisArg, { allOwnKeys } = {}) => {
14389
- forEach$2(b, (val2, key2) => {
14390
- if (thisArg && isFunction$4(val2)) {
14391
- a[key2] = bind(val2, thisArg);
14390
+ forEach$2(b, (val, key2) => {
14391
+ if (thisArg && isFunction$4(val)) {
14392
+ a[key2] = bind(val, thisArg);
14392
14393
  } else {
14393
- a[key2] = val2;
14394
+ a[key2] = val;
14394
14395
  }
14395
14396
  }, { allOwnKeys });
14396
14397
  return a;
@@ -14490,19 +14491,19 @@ const isRegExp = kindOfTest("RegExp");
14490
14491
  const reduceDescriptors = (obj, reducer2) => {
14491
14492
  const descriptors2 = Object.getOwnPropertyDescriptors(obj);
14492
14493
  const reducedDescriptors = {};
14493
- forEach$2(descriptors2, (descriptor, name2) => {
14494
- if (reducer2(descriptor, name2, obj) !== false) {
14495
- reducedDescriptors[name2] = descriptor;
14494
+ forEach$2(descriptors2, (descriptor, name) => {
14495
+ if (reducer2(descriptor, name, obj) !== false) {
14496
+ reducedDescriptors[name] = descriptor;
14496
14497
  }
14497
14498
  });
14498
14499
  Object.defineProperties(obj, reducedDescriptors);
14499
14500
  };
14500
14501
  const freezeMethods = (obj) => {
14501
- reduceDescriptors(obj, (descriptor, name2) => {
14502
- if (isFunction$4(obj) && ["arguments", "caller", "callee"].indexOf(name2) !== -1) {
14502
+ reduceDescriptors(obj, (descriptor, name) => {
14503
+ if (isFunction$4(obj) && ["arguments", "caller", "callee"].indexOf(name) !== -1) {
14503
14504
  return false;
14504
14505
  }
14505
- const value = obj[name2];
14506
+ const value = obj[name];
14506
14507
  if (!isFunction$4(value))
14507
14508
  return;
14508
14509
  descriptor.enumerable = false;
@@ -14512,7 +14513,7 @@ const freezeMethods = (obj) => {
14512
14513
  }
14513
14514
  if (!descriptor.set) {
14514
14515
  descriptor.set = () => {
14515
- throw Error("Can not rewrite read-only method '" + name2 + "'");
14516
+ throw Error("Can not rewrite read-only method '" + name + "'");
14516
14517
  };
14517
14518
  }
14518
14519
  });
@@ -14830,10 +14831,10 @@ function AxiosURLSearchParams(params, options2) {
14830
14831
  params && toFormData(params, this, options2);
14831
14832
  }
14832
14833
  const prototype = AxiosURLSearchParams.prototype;
14833
- prototype.append = function append(name2, value) {
14834
- this._pairs.push([name2, value]);
14834
+ prototype.append = function append(name, value) {
14835
+ this._pairs.push([name, value]);
14835
14836
  };
14836
- prototype.toString = function toString3(encoder) {
14837
+ prototype.toString = function toString2(encoder) {
14837
14838
  const _encode = encoder ? function(value) {
14838
14839
  return encoder.call(this, value, encode$1);
14839
14840
  } : encode$1;
@@ -14841,8 +14842,8 @@ prototype.toString = function toString3(encoder) {
14841
14842
  return _encode(pair[0]) + "=" + _encode(pair[1]);
14842
14843
  }, "").join("&");
14843
14844
  };
14844
- function encode(val2) {
14845
- return encodeURIComponent(val2).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
14845
+ function encode(val) {
14846
+ return encodeURIComponent(val).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
14846
14847
  }
14847
14848
  function buildURL(url, params, options2) {
14848
14849
  if (!params) {
@@ -14968,8 +14969,8 @@ function toURLEncodedForm(data, options2) {
14968
14969
  }
14969
14970
  }, options2));
14970
14971
  }
14971
- function parsePropPath(name2) {
14972
- return utils$5.matchAll(/\w+|\[(\w*)]/g, name2).map((match2) => {
14972
+ function parsePropPath(name) {
14973
+ return utils$5.matchAll(/\w+|\[(\w*)]/g, name).map((match2) => {
14973
14974
  return match2[0] === "[]" ? "" : match2[1] || match2[0];
14974
14975
  });
14975
14976
  }
@@ -14987,31 +14988,31 @@ function arrayToObject(arr) {
14987
14988
  }
14988
14989
  function formDataToJSON(formData) {
14989
14990
  function buildPath(path2, value, target, index2) {
14990
- let name2 = path2[index2++];
14991
- const isNumericKey = Number.isFinite(+name2);
14991
+ let name = path2[index2++];
14992
+ const isNumericKey = Number.isFinite(+name);
14992
14993
  const isLast = index2 >= path2.length;
14993
- name2 = !name2 && utils$5.isArray(target) ? target.length : name2;
14994
+ name = !name && utils$5.isArray(target) ? target.length : name;
14994
14995
  if (isLast) {
14995
- if (utils$5.hasOwnProp(target, name2)) {
14996
- target[name2] = [target[name2], value];
14996
+ if (utils$5.hasOwnProp(target, name)) {
14997
+ target[name] = [target[name], value];
14997
14998
  } else {
14998
- target[name2] = value;
14999
+ target[name] = value;
14999
15000
  }
15000
15001
  return !isNumericKey;
15001
15002
  }
15002
- if (!target[name2] || !utils$5.isObject(target[name2])) {
15003
- target[name2] = [];
15003
+ if (!target[name] || !utils$5.isObject(target[name])) {
15004
+ target[name] = [];
15004
15005
  }
15005
- const result = buildPath(path2, value, target[name2], index2);
15006
- if (result && utils$5.isArray(target[name2])) {
15007
- target[name2] = arrayToObject(target[name2]);
15006
+ const result = buildPath(path2, value, target[name], index2);
15007
+ if (result && utils$5.isArray(target[name])) {
15008
+ target[name] = arrayToObject(target[name]);
15008
15009
  }
15009
15010
  return !isNumericKey;
15010
15011
  }
15011
15012
  if (utils$5.isFormData(formData) && utils$5.isFunction(formData.entries)) {
15012
15013
  const obj = {};
15013
- utils$5.forEachEntry(formData, (name2, value) => {
15014
- buildPath(parsePropPath(name2), value, obj, 0);
15014
+ utils$5.forEachEntry(formData, (name, value) => {
15015
+ buildPath(parsePropPath(name), value, obj, 0);
15015
15016
  });
15016
15017
  return obj;
15017
15018
  }
@@ -15151,23 +15152,23 @@ const ignoreDuplicateOf = utils$5.toObjectSet([
15151
15152
  const parseHeaders = (rawHeaders) => {
15152
15153
  const parsed = {};
15153
15154
  let key2;
15154
- let val2;
15155
+ let val;
15155
15156
  let i;
15156
15157
  rawHeaders && rawHeaders.split("\n").forEach(function parser(line) {
15157
15158
  i = line.indexOf(":");
15158
15159
  key2 = line.substring(0, i).trim().toLowerCase();
15159
- val2 = line.substring(i + 1).trim();
15160
+ val = line.substring(i + 1).trim();
15160
15161
  if (!key2 || parsed[key2] && ignoreDuplicateOf[key2]) {
15161
15162
  return;
15162
15163
  }
15163
15164
  if (key2 === "set-cookie") {
15164
15165
  if (parsed[key2]) {
15165
- parsed[key2].push(val2);
15166
+ parsed[key2].push(val);
15166
15167
  } else {
15167
- parsed[key2] = [val2];
15168
+ parsed[key2] = [val];
15168
15169
  }
15169
15170
  } else {
15170
- parsed[key2] = parsed[key2] ? parsed[key2] + ", " + val2 : val2;
15171
+ parsed[key2] = parsed[key2] ? parsed[key2] + ", " + val : val;
15171
15172
  }
15172
15173
  });
15173
15174
  return parsed;
@@ -15419,9 +15420,9 @@ const cookies = platform.isStandardBrowserEnv ? (
15419
15420
  // Standard browser envs support document.cookie
15420
15421
  function standardBrowserEnv() {
15421
15422
  return {
15422
- write: function write(name2, value, expires, path2, domain, secure) {
15423
+ write: function write(name, value, expires, path2, domain, secure) {
15423
15424
  const cookie = [];
15424
- cookie.push(name2 + "=" + encodeURIComponent(value));
15425
+ cookie.push(name + "=" + encodeURIComponent(value));
15425
15426
  if (utils$5.isNumber(expires)) {
15426
15427
  cookie.push("expires=" + new Date(expires).toGMTString());
15427
15428
  }
@@ -15436,12 +15437,12 @@ const cookies = platform.isStandardBrowserEnv ? (
15436
15437
  }
15437
15438
  document.cookie = cookie.join("; ");
15438
15439
  },
15439
- read: function read(name2) {
15440
- const match2 = document.cookie.match(new RegExp("(^|;\\s*)(" + name2 + ")=([^;]*)"));
15440
+ read: function read(name) {
15441
+ const match2 = document.cookie.match(new RegExp("(^|;\\s*)(" + name + ")=([^;]*)"));
15441
15442
  return match2 ? decodeURIComponent(match2[3]) : null;
15442
15443
  },
15443
- remove: function remove2(name2) {
15444
- this.write(name2, "", Date.now() - 864e5);
15444
+ remove: function remove2(name) {
15445
+ this.write(name, "", Date.now() - 864e5);
15445
15446
  }
15446
15447
  };
15447
15448
  }()
@@ -15672,8 +15673,8 @@ const xhrAdapter = isXHRAdapterSupported && function(config2) {
15672
15673
  }
15673
15674
  requestData === void 0 && requestHeaders.setContentType(null);
15674
15675
  if ("setRequestHeader" in request) {
15675
- utils$5.forEach(requestHeaders.toJSON(), function setRequestHeader(val2, key2) {
15676
- request.setRequestHeader(key2, val2);
15676
+ utils$5.forEach(requestHeaders.toJSON(), function setRequestHeader(val, key2) {
15677
+ request.setRequestHeader(key2, val);
15677
15678
  });
15678
15679
  }
15679
15680
  if (!utils$5.isUndefined(config2.withCredentials)) {
@@ -16973,7 +16974,7 @@ const borderStyleOptions$1 = [
16973
16974
  }
16974
16975
  ];
16975
16976
  function Border(props) {
16976
- const { label = t("Border"), path: path2, name: name2 } = props;
16977
+ const { label = t("Border"), path: path2, name } = props;
16977
16978
  const { getFieldValue } = useEditorContext();
16978
16979
  const editor = useSlate();
16979
16980
  const source = Node$1.get(editor, props.path);
@@ -16981,23 +16982,23 @@ function Border(props) {
16981
16982
  type: source.type,
16982
16983
  path: props.path
16983
16984
  });
16984
- let isEnabledBorder = getFieldValue(path2, `${name2}.border-enabled`);
16985
+ let isEnabledBorder = getFieldValue(path2, `${name}.border-enabled`);
16985
16986
  if (isUndefined$1(isEnabledBorder)) {
16986
- isEnabledBorder = get(defaultElement, `${name2}.border-enabled`);
16987
+ isEnabledBorder = get(defaultElement, `${name}.border-enabled`);
16987
16988
  }
16988
16989
  return useMemo$1(() => {
16989
16990
  return /* @__PURE__ */ React__default.createElement("div", null, /* @__PURE__ */ React__default.createElement(
16990
16991
  AttributeField.SwitchField,
16991
16992
  {
16992
16993
  label,
16993
- name: `${name2}.border-enabled`,
16994
+ name: `${name}.border-enabled`,
16994
16995
  path: path2
16995
16996
  }
16996
16997
  ), /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, isEnabledBorder && /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(
16997
16998
  AttributeField.SelectField,
16998
16999
  {
16999
17000
  label: t("Style"),
17000
- name: `${name2}.border-style`,
17001
+ name: `${name}.border-style`,
17001
17002
  path: path2,
17002
17003
  options: borderStyleOptions$1
17003
17004
  }
@@ -17007,7 +17008,7 @@ function Border(props) {
17007
17008
  label: /* @__PURE__ */ React__default.createElement("div", null),
17008
17009
  path: path2,
17009
17010
  suffix: t("px"),
17010
- name: `${name2}.border-width`,
17011
+ name: `${name}.border-width`,
17011
17012
  min: 1,
17012
17013
  required: true
17013
17014
  }
@@ -17016,10 +17017,10 @@ function Border(props) {
17016
17017
  {
17017
17018
  label: /* @__PURE__ */ React__default.createElement("div", null),
17018
17019
  path: path2,
17019
- name: `${name2}.border-color`
17020
+ name: `${name}.border-color`
17020
17021
  }
17021
17022
  ))));
17022
- }, [isEnabledBorder, label, name2, path2]);
17023
+ }, [isEnabledBorder, label, name, path2]);
17023
17024
  }
17024
17025
  function FontFamily$1(props) {
17025
17026
  const { fontList } = useFontFamily();
@@ -17066,8 +17067,8 @@ const renderUnderlineProps$1 = (active) => {
17066
17067
  };
17067
17068
  const underLineAdapter$1 = {
17068
17069
  formatter(textDecoration) {
17069
- const val2 = textDecoration;
17070
- return val2 === "underline";
17070
+ const val = textDecoration;
17071
+ return val === "underline";
17071
17072
  },
17072
17073
  normalize(active) {
17073
17074
  if (!active)
@@ -17181,10 +17182,10 @@ function FontWeight(props) {
17181
17182
  );
17182
17183
  }
17183
17184
  const getFallbackValue = (params) => {
17184
- const { mode, name: name2, defaultElement } = params;
17185
+ const { mode, name, defaultElement } = params;
17185
17186
  if (!defaultElement)
17186
17187
  return void 0;
17187
- return mode === ActiveTabKeys.DESKTOP ? get(defaultElement, "attributes." + name2) : get(defaultElement, "mobileAttributes." + name2);
17188
+ return mode === ActiveTabKeys.DESKTOP ? get(defaultElement, "attributes." + name) : get(defaultElement, "mobileAttributes." + name);
17188
17189
  };
17189
17190
  function Typography(props) {
17190
17191
  const { label = t("Font"), path: path2, defaultElement } = props;
@@ -17368,19 +17369,19 @@ function LineHeight(props) {
17368
17369
  (unit2) => {
17369
17370
  var _a3, _b;
17370
17371
  if (unit2 === "px") {
17371
- const val2 = ((_a3 = value.toString()) == null ? void 0 : _a3.replace("%", "")) || "100";
17372
+ const val = ((_a3 = value.toString()) == null ? void 0 : _a3.replace("%", "")) || "100";
17372
17373
  setFieldValue(
17373
17374
  props.path,
17374
17375
  props.name,
17375
- `${(+val2 / 100 * fontSize).toFixed(0)}px`
17376
+ `${(+val / 100 * fontSize).toFixed(0)}px`
17376
17377
  );
17377
17378
  } else {
17378
- const val2 = (_b = value.toString()) == null ? void 0 : _b.replace("px", "");
17379
- if (val2) {
17379
+ const val = (_b = value.toString()) == null ? void 0 : _b.replace("px", "");
17380
+ if (val) {
17380
17381
  setFieldValue(
17381
17382
  props.path,
17382
17383
  props.name,
17383
- (val2 / fontSize * 100).toFixed(0) + "%"
17384
+ (val / fontSize * 100).toFixed(0) + "%"
17384
17385
  );
17385
17386
  } else {
17386
17387
  setFieldValue(props.path, props.name, "120%");
@@ -17391,19 +17392,19 @@ function LineHeight(props) {
17391
17392
  );
17392
17393
  return useMemo$1(() => {
17393
17394
  const adapter = {
17394
- formatter(val2) {
17395
+ formatter(val) {
17395
17396
  var _a3;
17396
- if (!val2)
17397
+ if (!val)
17397
17398
  return void 0;
17398
- val2 = val2.toString();
17399
- return +((_a3 = val2.replace("px", "")) == null ? void 0 : _a3.replace("%", ""));
17399
+ val = val.toString();
17400
+ return +((_a3 = val.replace("px", "")) == null ? void 0 : _a3.replace("%", ""));
17400
17401
  },
17401
- normalize(val2) {
17402
- if (!isNumber$1(val2))
17402
+ normalize(val) {
17403
+ if (!isNumber$1(val))
17403
17404
  return void 0;
17404
- if (!val2)
17405
+ if (!val)
17405
17406
  return void 0;
17406
- return val2 + unit;
17407
+ return val + unit;
17407
17408
  }
17408
17409
  };
17409
17410
  return /* @__PURE__ */ React__default.createElement(Grid.Row, null, /* @__PURE__ */ React__default.createElement(Grid.Col, { span: 16, style: { textAlign: "right" } }, /* @__PURE__ */ React__default.createElement(
@@ -17698,8 +17699,8 @@ const renderItalicProps = (active) => {
17698
17699
  };
17699
17700
  const underLineAdapter = {
17700
17701
  formatter(textDecoration) {
17701
- const val2 = textDecoration;
17702
- return val2 === "underline";
17702
+ const val = textDecoration;
17703
+ return val === "underline";
17703
17704
  },
17704
17705
  normalize(active) {
17705
17706
  if (!active)
@@ -18340,14 +18341,14 @@ function ConditionItem({
18340
18341
  gIndex,
18341
18342
  ggIndex
18342
18343
  }) {
18343
- const name2 = `${path2}.${gIndex}.groups.${ggIndex}`;
18344
- const value = Form.useWatch(name2);
18344
+ const name = `${path2}.${gIndex}.groups.${ggIndex}`;
18345
+ const value = Form.useWatch(name);
18345
18346
  const hideRight = value.operator === ConditionOperator.TRUTHY || value.operator === ConditionOperator.FALSY;
18346
18347
  return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(Grid.Row, { align: "end" }, /* @__PURE__ */ React__default.createElement(Grid.Col, { span: 8 }, /* @__PURE__ */ React__default.createElement(
18347
18348
  Form.Item,
18348
18349
  {
18349
18350
  label: t("Variable"),
18350
- field: `${name2}.left`,
18351
+ field: `${name}.left`,
18351
18352
  layout: "vertical"
18352
18353
  },
18353
18354
  /* @__PURE__ */ React__default.createElement(Input, { placeholder: "customer.country" })
@@ -18355,7 +18356,7 @@ function ConditionItem({
18355
18356
  Form.Item,
18356
18357
  {
18357
18358
  label: t("Operator"),
18358
- field: `${name2}.operator`,
18359
+ field: `${name}.operator`,
18359
18360
  layout: "vertical"
18360
18361
  },
18361
18362
  /* @__PURE__ */ React__default.createElement(Select$1, { options: options$4 }, options$4.map((item2) => {
@@ -18365,7 +18366,7 @@ function ConditionItem({
18365
18366
  Form.Item,
18366
18367
  {
18367
18368
  label: t("Value"),
18368
- field: `${name2}.right`,
18369
+ field: `${name}.right`,
18369
18370
  layout: "vertical"
18370
18371
  },
18371
18372
  /* @__PURE__ */ React__default.createElement(Input, { placeholder: "Canda" })
@@ -18553,7 +18554,7 @@ const borderStyleOptions = [
18553
18554
  }
18554
18555
  ];
18555
18556
  function DividerLine(props) {
18556
- const { path: path2, name: name2 } = props;
18557
+ const { path: path2, name } = props;
18557
18558
  return useMemo$1(() => {
18558
18559
  return /* @__PURE__ */ React__default.createElement("div", null, /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(
18559
18560
  AttributeField.Width,
@@ -18561,7 +18562,7 @@ function DividerLine(props) {
18561
18562
  label: t("Height"),
18562
18563
  path: path2,
18563
18564
  suffix: t("px"),
18564
- name: `${name2}.border-width`,
18565
+ name: `${name}.border-width`,
18565
18566
  min: 1,
18566
18567
  required: true
18567
18568
  }
@@ -18569,7 +18570,7 @@ function DividerLine(props) {
18569
18570
  AttributeField.SelectField,
18570
18571
  {
18571
18572
  label: t("Style"),
18572
- name: `${name2}.border-style`,
18573
+ name: `${name}.border-style`,
18573
18574
  path: path2,
18574
18575
  options: borderStyleOptions
18575
18576
  }
@@ -18578,10 +18579,10 @@ function DividerLine(props) {
18578
18579
  {
18579
18580
  label: t("Color"),
18580
18581
  path: path2,
18581
- name: `${name2}.border-color`
18582
+ name: `${name}.border-color`
18582
18583
  }
18583
18584
  )));
18584
- }, [name2, path2]);
18585
+ }, [name, path2]);
18585
18586
  }
18586
18587
  function Link(props) {
18587
18588
  const { label = t("URL") } = props;
@@ -18752,19 +18753,19 @@ function PixelAndPercentField(props) {
18752
18753
  );
18753
18754
  return useMemo$1(() => {
18754
18755
  const adapter = {
18755
- formatter(val2) {
18756
+ formatter(val) {
18756
18757
  var _a3;
18757
- if (!val2)
18758
+ if (!val)
18758
18759
  return void 0;
18759
- val2 = val2.toString();
18760
- return +((_a3 = val2.replace("px", "")) == null ? void 0 : _a3.replace("%", ""));
18760
+ val = val.toString();
18761
+ return +((_a3 = val.replace("px", "")) == null ? void 0 : _a3.replace("%", ""));
18761
18762
  },
18762
- normalize(val2) {
18763
- if (!isNumber$1(val2))
18763
+ normalize(val) {
18764
+ if (!isNumber$1(val))
18764
18765
  return void 0;
18765
- if (!val2)
18766
+ if (!val)
18766
18767
  return void 0;
18767
- return val2 + unit;
18768
+ return val + unit;
18768
18769
  }
18769
18770
  };
18770
18771
  return /* @__PURE__ */ React__default.createElement(Grid.Row, null, /* @__PURE__ */ React__default.createElement(Grid.Col, { span: 16, style: { textAlign: "right" } }, /* @__PURE__ */ React__default.createElement(
@@ -18812,9 +18813,9 @@ function ImageWidth(props) {
18812
18813
  value === void 0 ? "Full" : "Fixed"
18813
18814
  );
18814
18815
  const onChangeWidthType = useCallback$1(
18815
- (val2) => {
18816
- setWidthType(val2);
18817
- if (val2 === "Full") {
18816
+ (val) => {
18817
+ setWidthType(val);
18818
+ if (val === "Full") {
18818
18819
  setFieldValue(props.path, props.name, void 0);
18819
18820
  }
18820
18821
  },
@@ -18878,14 +18879,14 @@ const DirectionOptions = [
18878
18879
  }
18879
18880
  ];
18880
18881
  function Direction$1(props) {
18881
- const _a2 = props, { path: path2, name: name2 } = _a2, rest = __objRest(_a2, ["path", "name"]);
18882
+ const _a2 = props, { path: path2, name } = _a2, rest = __objRest(_a2, ["path", "name"]);
18882
18883
  return useMemo$1(() => {
18883
18884
  var _a3;
18884
18885
  return /* @__PURE__ */ React__default.createElement("div", null, /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(
18885
18886
  AttributeField.ButtonGroupField,
18886
18887
  __spreadProps(__spreadValues({
18887
18888
  label: t("Direction"),
18888
- name: `${name2}.direction`,
18889
+ name: `${name}.direction`,
18889
18890
  path: path2,
18890
18891
  options: DirectionOptions
18891
18892
  }, rest), {
@@ -18896,7 +18897,7 @@ function Direction$1(props) {
18896
18897
  })
18897
18898
  })
18898
18899
  )));
18899
- }, [name2, path2, rest]);
18900
+ }, [name, path2, rest]);
18900
18901
  }
18901
18902
  var FieldType = /* @__PURE__ */ ((FieldType2) => {
18902
18903
  FieldType2["PIXEL"] = "pixel";
@@ -19402,11 +19403,11 @@ const Page = ({ nodePath }) => {
19402
19403
  )));
19403
19404
  };
19404
19405
  const buttonWidthAdapter = {
19405
- formatter(val2) {
19406
- return val2 === "100%" ? "100%" : "auto";
19406
+ formatter(val) {
19407
+ return val === "100%" ? "100%" : "auto";
19407
19408
  },
19408
- normalize(val2) {
19409
- return val2 === "100%" ? "100%" : void 0;
19409
+ normalize(val) {
19410
+ return val === "100%" ? "100%" : void 0;
19410
19411
  }
19411
19412
  };
19412
19413
  const Button = ({ nodePath }) => {
@@ -19531,11 +19532,11 @@ function AttributesContainer$9({
19531
19532
  )));
19532
19533
  }
19533
19534
  const imageAdapter = {
19534
- formatter(val2) {
19535
- return Boolean(val2);
19535
+ formatter(val) {
19536
+ return Boolean(val);
19536
19537
  },
19537
- normalize(val2) {
19538
- return val2 ? "true" : void 0;
19538
+ normalize(val) {
19539
+ return val ? "true" : void 0;
19539
19540
  }
19540
19541
  };
19541
19542
  const Image$1 = ({ nodePath }) => {
@@ -20824,8 +20825,8 @@ function createAdjustmentFn(modifier) {
20824
20825
  }, __spreadValues({}, object3));
20825
20826
  };
20826
20827
  }
20827
- const add = /* @__PURE__ */ createAdjustmentFn(1);
20828
- const subtract = /* @__PURE__ */ createAdjustmentFn(-1);
20828
+ const add2 = /* @__PURE__ */ createAdjustmentFn(1);
20829
+ const subtract2 = /* @__PURE__ */ createAdjustmentFn(-1);
20829
20830
  function hasViewportRelativeCoordinates(event) {
20830
20831
  return "clientX" in event && "clientY" in event;
20831
20832
  }
@@ -21679,7 +21680,7 @@ function getScrollElementRect(element) {
21679
21680
  }
21680
21681
  function getScrollOffsets(scrollableAncestors) {
21681
21682
  return scrollableAncestors.reduce((acc, node) => {
21682
- return add(acc, getScrollCoordinates(node));
21683
+ return add2(acc, getScrollCoordinates(node));
21683
21684
  }, defaultCoordinates);
21684
21685
  }
21685
21686
  function getScrollXOffset(scrollableAncestors) {
@@ -21920,7 +21921,7 @@ class KeyboardSensor {
21920
21921
  currentCoordinates
21921
21922
  });
21922
21923
  if (newCoordinates) {
21923
- const coordinatesDelta = subtract(newCoordinates, currentCoordinates);
21924
+ const coordinatesDelta = subtract2(newCoordinates, currentCoordinates);
21924
21925
  const scrollDelta = {
21925
21926
  x: 0,
21926
21927
  y: 0
@@ -21991,7 +21992,7 @@ class KeyboardSensor {
21991
21992
  break;
21992
21993
  }
21993
21994
  }
21994
- this.handleMove(event, add(subtract(newCoordinates, this.referenceCoordinates), scrollDelta));
21995
+ this.handleMove(event, add2(subtract2(newCoordinates, this.referenceCoordinates), scrollDelta));
21995
21996
  }
21996
21997
  }
21997
21998
  }
@@ -22167,7 +22168,7 @@ class AbstractPointerSensor {
22167
22168
  return;
22168
22169
  }
22169
22170
  const coordinates = (_getEventCoordinates2 = getEventCoordinates(event)) != null ? _getEventCoordinates2 : defaultCoordinates;
22170
- const delta = subtract(initialCoordinates, coordinates);
22171
+ const delta = subtract2(initialCoordinates, coordinates);
22171
22172
  if (!activated && activationConstraint) {
22172
22173
  if (isDelayConstraint(activationConstraint)) {
22173
22174
  if (hasExceededDistance(delta, activationConstraint.tolerance)) {
@@ -22814,7 +22815,7 @@ function useScrollOffsets(elements2) {
22814
22815
  }, [handleScroll, elements2]);
22815
22816
  return useMemo$1(() => {
22816
22817
  if (elements2.length) {
22817
- return scrollCoordinates ? Array.from(scrollCoordinates.values()).reduce((acc, coordinates) => add(acc, coordinates), defaultCoordinates) : getScrollOffsets(elements2);
22818
+ return scrollCoordinates ? Array.from(scrollCoordinates.values()).reduce((acc, coordinates) => add2(acc, coordinates), defaultCoordinates) : getScrollOffsets(elements2);
22818
22819
  }
22819
22820
  return defaultCoordinates;
22820
22821
  }, [elements2, scrollCoordinates]);
@@ -22840,7 +22841,7 @@ function useScrollOffsetsDelta(scrollOffsets, dependencies) {
22840
22841
  initialScrollOffsets.current = null;
22841
22842
  }
22842
22843
  }, [scrollOffsets]);
22843
- return initialScrollOffsets.current ? subtract(scrollOffsets, initialScrollOffsets.current) : defaultCoordinates;
22844
+ return initialScrollOffsets.current ? subtract2(scrollOffsets, initialScrollOffsets.current) : defaultCoordinates;
22844
22845
  }
22845
22846
  function useSensorSetup(sensors) {
22846
22847
  useEffect(
@@ -23414,11 +23415,11 @@ const DndContext = /* @__PURE__ */ memo(function DndContext2(_ref) {
23414
23415
  scrollableAncestorRects,
23415
23416
  windowRect
23416
23417
  });
23417
- const pointerCoordinates = activationCoordinates ? add(activationCoordinates, translate) : null;
23418
+ const pointerCoordinates = activationCoordinates ? add2(activationCoordinates, translate) : null;
23418
23419
  const scrollOffsets = useScrollOffsets(scrollableAncestors);
23419
23420
  const scrollAdjustment = useScrollOffsetsDelta(scrollOffsets);
23420
23421
  const activeNodeScrollDelta = useScrollOffsetsDelta(scrollOffsets, [activeNodeRect]);
23421
- const scrollAdjustedTranslate = add(modifiedTranslate, scrollAdjustment);
23422
+ const scrollAdjustedTranslate = add2(modifiedTranslate, scrollAdjustment);
23422
23423
  const collisionRect = draggingNodeRect ? getAdjustedRect(draggingNodeRect, modifiedTranslate) : null;
23423
23424
  const collisions = active && collisionRect ? collisionDetection({
23424
23425
  active,
@@ -23429,7 +23430,7 @@ const DndContext = /* @__PURE__ */ memo(function DndContext2(_ref) {
23429
23430
  }) : null;
23430
23431
  const overId = getFirstCollision(collisions, "id");
23431
23432
  const [over, setOver] = useState(null);
23432
- const appliedTranslate = usesDragOverlay ? modifiedTranslate : add(modifiedTranslate, activeNodeScrollDelta);
23433
+ const appliedTranslate = usesDragOverlay ? modifiedTranslate : add2(modifiedTranslate, activeNodeScrollDelta);
23433
23434
  const transform = adjustScale(appliedTranslate, (_over$rect = over == null ? void 0 : over.rect) != null ? _over$rect : null, activeNodeRect);
23434
23435
  const instantiateSensor = useCallback$1(
23435
23436
  (event, _ref2) => {
@@ -26281,14 +26282,14 @@ function parseHotkey(hotkey, options2) {
26281
26282
  if (optional) {
26282
26283
  value = value.slice(0, -1);
26283
26284
  }
26284
- var name2 = toKeyName(value);
26285
- var modifier = MODIFIERS[name2];
26286
- if (value.length > 1 && !modifier && !ALIASES[value] && !CODES[name2]) {
26285
+ var name = toKeyName(value);
26286
+ var modifier = MODIFIERS[name];
26287
+ if (value.length > 1 && !modifier && !ALIASES[value] && !CODES[name]) {
26287
26288
  throw new TypeError('Unknown modifier: "' + value + '"');
26288
26289
  }
26289
26290
  if (length2 === 1 || !modifier) {
26290
26291
  if (byKey) {
26291
- ret.key = name2;
26292
+ ret.key = name;
26292
26293
  } else {
26293
26294
  ret.which = toKeyCode(value);
26294
26295
  }
@@ -26336,15 +26337,15 @@ function compareHotkey(object3, event) {
26336
26337
  }
26337
26338
  return true;
26338
26339
  }
26339
- function toKeyCode(name2) {
26340
- name2 = toKeyName(name2);
26341
- var code = CODES[name2] || name2.toUpperCase().charCodeAt(0);
26340
+ function toKeyCode(name) {
26341
+ name = toKeyName(name);
26342
+ var code = CODES[name] || name.toUpperCase().charCodeAt(0);
26342
26343
  return code;
26343
26344
  }
26344
- function toKeyName(name2) {
26345
- name2 = name2.toLowerCase();
26346
- name2 = ALIASES[name2] || name2;
26347
- return name2;
26345
+ function toKeyName(name) {
26346
+ name = name.toLowerCase();
26347
+ name = ALIASES[name] || name;
26348
+ return name;
26348
26349
  }
26349
26350
  lib$1.default = isHotkey;
26350
26351
  lib$1.isHotkey = isHotkey;
@@ -26970,9 +26971,9 @@ const VariablesEditorField = () => {
26970
26971
  [mergetagsData]
26971
26972
  );
26972
26973
  const onChange = useCallback$1(
26973
- (val2) => {
26974
+ (val) => {
26974
26975
  try {
26975
- setMergetagsData(JSON.parse(val2));
26976
+ setMergetagsData(JSON.parse(val));
26976
26977
  } catch (error2) {
26977
26978
  console.error((error2 == null ? void 0 : error2.message) || error2);
26978
26979
  }
@@ -27188,11 +27189,11 @@ var OverlayScrollbars = {
27188
27189
  return {
27189
27190
  _cssPrefixes: cssPrefixes,
27190
27191
  _jsPrefixes: jsPrefixes,
27191
- _cssProperty: function(name2) {
27192
- var result = cssCache[name2];
27193
- if (cssCache[LEXICON.hOP](name2))
27192
+ _cssProperty: function(name) {
27193
+ var result = cssCache[name];
27194
+ if (cssCache[LEXICON.hOP](name))
27194
27195
  return result;
27195
- var uppercasedName = firstLetterToUpper(name2);
27196
+ var uppercasedName = firstLetterToUpper(name);
27196
27197
  var elmStyle = document2.createElement("div")[LEXICON.s];
27197
27198
  var resultPossibilities;
27198
27199
  var i = 0;
@@ -27201,9 +27202,9 @@ var OverlayScrollbars = {
27201
27202
  for (; i < cssPrefixes.length; i++) {
27202
27203
  currVendorWithoutDashes = cssPrefixes[i].replace(/-/g, "");
27203
27204
  resultPossibilities = [
27204
- name2,
27205
+ name,
27205
27206
  //transition
27206
- cssPrefixes[i] + name2,
27207
+ cssPrefixes[i] + name,
27207
27208
  //-webkit-transition
27208
27209
  currVendorWithoutDashes + uppercasedName,
27209
27210
  //webkitTransition
@@ -27217,13 +27218,13 @@ var OverlayScrollbars = {
27217
27218
  }
27218
27219
  }
27219
27220
  }
27220
- cssCache[name2] = result;
27221
+ cssCache[name] = result;
27221
27222
  return result;
27222
27223
  },
27223
27224
  _cssPropertyValue: function(property, values2, suffix2) {
27224
- var name2 = property + " " + values2;
27225
- var result = cssCache[name2];
27226
- if (cssCache[LEXICON.hOP](name2))
27225
+ var name = property + " " + values2;
27226
+ var result = cssCache[name];
27227
+ if (cssCache[LEXICON.hOP](name))
27227
27228
  return result;
27228
27229
  var dummyStyle = document2.createElement("div")[LEXICON.s];
27229
27230
  var possbleValues = values2.split(" ");
@@ -27241,17 +27242,17 @@ var OverlayScrollbars = {
27241
27242
  }
27242
27243
  }
27243
27244
  }
27244
- cssCache[name2] = result;
27245
+ cssCache[name] = result;
27245
27246
  return result;
27246
27247
  },
27247
- _jsAPI: function(name2, isInterface, fallback) {
27248
+ _jsAPI: function(name, isInterface, fallback) {
27248
27249
  var i = 0;
27249
- var result = jsCache[name2];
27250
- if (!jsCache[LEXICON.hOP](name2)) {
27251
- result = window2[name2];
27250
+ var result = jsCache[name];
27251
+ if (!jsCache[LEXICON.hOP](name)) {
27252
+ result = window2[name];
27252
27253
  for (; i < jsPrefixes[LEXICON.l]; i++)
27253
- result = result || window2[(isInterface ? jsPrefixes[i] : jsPrefixes[i].toLowerCase()) + firstLetterToUpper(name2)];
27254
- jsCache[name2] = result;
27254
+ result = result || window2[(isInterface ? jsPrefixes[i] : jsPrefixes[i].toLowerCase()) + firstLetterToUpper(name)];
27255
+ jsCache[name] = result;
27255
27256
  }
27256
27257
  return result || fallback;
27257
27258
  }
@@ -27633,7 +27634,7 @@ var OverlayScrollbars = {
27633
27634
  zoom: true
27634
27635
  };
27635
27636
  function extend2() {
27636
- var src, copyIsArray, copy, name2, options2, clone2, target = arguments[0] || {}, i = 1, length2 = arguments[LEXICON.l], deep = false;
27637
+ var src, copyIsArray, copy, name, options2, clone2, target = arguments[0] || {}, i = 1, length2 = arguments[LEXICON.l], deep = false;
27637
27638
  if (_type(target) == TYPES.b) {
27638
27639
  deep = target;
27639
27640
  target = arguments[1] || {};
@@ -27648,9 +27649,9 @@ var OverlayScrollbars = {
27648
27649
  }
27649
27650
  for (; i < length2; i++) {
27650
27651
  if ((options2 = arguments[i]) != null) {
27651
- for (name2 in options2) {
27652
- src = target[name2];
27653
- copy = options2[name2];
27652
+ for (name in options2) {
27653
+ src = target[name];
27654
+ copy = options2[name];
27654
27655
  if (target === copy) {
27655
27656
  continue;
27656
27657
  }
@@ -27661,9 +27662,9 @@ var OverlayScrollbars = {
27661
27662
  } else {
27662
27663
  clone2 = src && isPlainObject2(src) ? src : {};
27663
27664
  }
27664
- target[name2] = extend2(deep, clone2, copy);
27665
+ target[name] = extend2(deep, clone2, copy);
27665
27666
  } else if (copy !== undefined$1) {
27666
- target[name2] = copy;
27667
+ target[name] = copy;
27667
27668
  }
27668
27669
  }
27669
27670
  }
@@ -27680,7 +27681,7 @@ var OverlayScrollbars = {
27680
27681
  return _type(obj) == TYPES.f;
27681
27682
  }
27682
27683
  function isEmptyObject(obj) {
27683
- for (var name2 in obj)
27684
+ for (var name in obj)
27684
27685
  return false;
27685
27686
  return true;
27686
27687
  }
@@ -27740,17 +27741,17 @@ var OverlayScrollbars = {
27740
27741
  else
27741
27742
  el.insertAdjacentElement(strategy, child.nodeType ? child : child[0]);
27742
27743
  }
27743
- function setCSSVal(el, prop2, val2) {
27744
+ function setCSSVal(el, prop2, val) {
27744
27745
  try {
27745
27746
  if (el[LEXICON.s][prop2] !== undefined$1)
27746
- el[LEXICON.s][prop2] = parseCSSVal(prop2, val2);
27747
+ el[LEXICON.s][prop2] = parseCSSVal(prop2, val);
27747
27748
  } catch (e) {
27748
27749
  }
27749
27750
  }
27750
- function parseCSSVal(prop2, val2) {
27751
- if (!_cssNumber[prop2.toLowerCase()] && _type(val2) == TYPES.n)
27752
- val2 += "px";
27753
- return val2;
27751
+ function parseCSSVal(prop2, val) {
27752
+ if (!_cssNumber[prop2.toLowerCase()] && _type(val) == TYPES.n)
27753
+ val += "px";
27754
+ return val;
27754
27755
  }
27755
27756
  function startNextAnimationInQ(animObj, removeFromQ) {
27756
27757
  var index2;
@@ -28095,19 +28096,19 @@ var OverlayScrollbars = {
28095
28096
  });
28096
28097
  },
28097
28098
  //DOM NODE MANIPULATION / INFORMATION:
28098
- css: function(styles2, val2) {
28099
+ css: function(styles2, val) {
28099
28100
  var el;
28100
28101
  var key2;
28101
28102
  var cptStyle;
28102
28103
  var getCptStyle = window2.getComputedStyle;
28103
28104
  if (_type(styles2) == TYPES.s) {
28104
- if (val2 === undefined$1) {
28105
+ if (val === undefined$1) {
28105
28106
  el = this[0];
28106
28107
  cptStyle = getCptStyle ? getCptStyle(el, null) : el.currentStyle[styles2];
28107
28108
  return getCptStyle ? cptStyle != null ? cptStyle.getPropertyValue(styles2) : el[LEXICON.s][styles2] : cptStyle;
28108
28109
  } else {
28109
28110
  return this.each(function() {
28110
- setCSSVal(this, styles2, val2);
28111
+ setCSSVal(this, styles2, val);
28111
28112
  });
28112
28113
  }
28113
28114
  } else {
@@ -28516,17 +28517,17 @@ var OverlayScrollbars = {
28516
28517
  var convert2 = function(template) {
28517
28518
  var recursive = function(obj) {
28518
28519
  var key2;
28519
- var val2;
28520
+ var val;
28520
28521
  var valType;
28521
28522
  for (key2 in obj) {
28522
28523
  if (!obj[LEXICON.hOP](key2))
28523
28524
  continue;
28524
- val2 = obj[key2];
28525
- valType = type(val2);
28525
+ val = obj[key2];
28526
+ valType = type(val);
28526
28527
  if (valType == TYPES.a)
28527
- obj[key2] = val2[template ? 1 : 0];
28528
+ obj[key2] = val[template ? 1 : 0];
28528
28529
  else if (valType == TYPES.o)
28529
- obj[key2] = recursive(val2);
28530
+ obj[key2] = recursive(val);
28530
28531
  }
28531
28532
  return obj;
28532
28533
  };
@@ -29351,8 +29352,8 @@ var OverlayScrollbars = {
29351
29352
  if (_domExists && mutationIsClass && !doUpdateForce) {
29352
29353
  if (oldMutationVal.indexOf(_classNameHostElementForeign) > -1 && newClassVal.indexOf(_classNameHostElementForeign) < 0) {
29353
29354
  hostClassNameRegex = createHostClassNameRegExp(true);
29354
- _hostElementNative.className = newClassVal.split(_strSpace).concat(oldMutationVal.split(_strSpace).filter(function(name2) {
29355
- return name2.match(hostClassNameRegex);
29355
+ _hostElementNative.className = newClassVal.split(_strSpace).concat(oldMutationVal.split(_strSpace).filter(function(name) {
29356
+ return name.match(hostClassNameRegex);
29356
29357
  })).join(_strSpace);
29357
29358
  doUpdate = doUpdateForce = true;
29358
29359
  }
@@ -29660,9 +29661,9 @@ var OverlayScrollbars = {
29660
29661
  var checkX = _overflowBehaviorCache.x === _strS || _overflowBehaviorCache.x === _strVS;
29661
29662
  var checkY = _overflowBehaviorCache.y === _strS || _overflowBehaviorCache.y === _strVS;
29662
29663
  var sizeIsAffected = false;
29663
- var checkPropertyName = function(arr, name2) {
29664
+ var checkPropertyName = function(arr, name) {
29664
29665
  for (var i = 0; i < arr[LEXICON.l]; i++) {
29665
- if (arr[i] === name2)
29666
+ if (arr[i] === name)
29666
29667
  return true;
29667
29668
  }
29668
29669
  return false;
@@ -30733,8 +30734,8 @@ var OverlayScrollbars = {
30733
30734
  function getPointerPosition(event) {
30734
30735
  return _msieVersion && insideIFrame ? event["screen" + XY] : COMPATIBILITY.page(event)[xy];
30735
30736
  }
30736
- function getPreparedScrollbarsOption(name2) {
30737
- return _currentPreparedOptions.scrollbars[name2];
30737
+ function getPreparedScrollbarsOption(name) {
30738
+ return _currentPreparedOptions.scrollbars[name];
30738
30739
  }
30739
30740
  function increaseTrackScrollAmount() {
30740
30741
  scrollDurationFactor = 0.5;
@@ -31179,12 +31180,12 @@ var OverlayScrollbars = {
31179
31180
  }
31180
31181
  });
31181
31182
  }
31182
- function dispatchCallback(name2, args, dependent) {
31183
+ function dispatchCallback(name, args, dependent) {
31183
31184
  if (dependent === false)
31184
31185
  return;
31185
31186
  if (_initialized) {
31186
- var callback = _currentPreparedOptions.callbacks[name2];
31187
- var extensionOnName = name2;
31187
+ var callback = _currentPreparedOptions.callbacks[name];
31188
+ var extensionOnName = name;
31188
31189
  var ext;
31189
31190
  if (extensionOnName.substr(0, 2) === "on")
31190
31191
  extensionOnName = extensionOnName.substr(2, 1).toLowerCase() + extensionOnName.substr(3);
@@ -31196,7 +31197,7 @@ var OverlayScrollbars = {
31196
31197
  ext.on(extensionOnName, args);
31197
31198
  });
31198
31199
  } else if (!_destroyed)
31199
- _callbacksInitQeueue.push({ n: name2, a: args });
31200
+ _callbacksInitQeueue.push({ n: name, a: args });
31200
31201
  }
31201
31202
  function setTopRightBottomLeft(targetCSSObject, prefix2, values2) {
31202
31203
  prefix2 = prefix2 || _strEmpty;
@@ -31366,24 +31367,24 @@ var OverlayScrollbars = {
31366
31367
  function getObjectPropVal(obj, path2) {
31367
31368
  var splits = path2.split(_strDot);
31368
31369
  var i = 0;
31369
- var val2;
31370
+ var val;
31370
31371
  for (; i < splits.length; i++) {
31371
31372
  if (!obj[LEXICON.hOP](splits[i]))
31372
31373
  return;
31373
- val2 = obj[splits[i]];
31374
- if (i < splits.length && type(val2) == TYPES.o)
31375
- obj = val2;
31374
+ val = obj[splits[i]];
31375
+ if (i < splits.length && type(val) == TYPES.o)
31376
+ obj = val;
31376
31377
  }
31377
- return val2;
31378
+ return val;
31378
31379
  }
31379
- function setObjectPropVal(obj, path2, val2) {
31380
+ function setObjectPropVal(obj, path2, val) {
31380
31381
  var splits = path2.split(_strDot);
31381
31382
  var splitsLength = splits.length;
31382
31383
  var i = 0;
31383
31384
  var extendObj = {};
31384
31385
  var extendObjRoot = extendObj;
31385
31386
  for (; i < splitsLength; i++)
31386
- extendObj = extendObj[splits[i]] = i + 1 < splitsLength ? {} : val2;
31387
+ extendObj = extendObj[splits[i]] = i + 1 < splitsLength ? {} : val;
31387
31388
  FRAMEWORK.extend(obj, extendObjRoot, true);
31388
31389
  }
31389
31390
  function eachUpdateOnLoad(action2) {
@@ -32270,7 +32271,7 @@ function mergeHostClassNames(osInstance, className) {
32270
32271
  if (OverlayScrollbarsExports.valid(osInstance)) {
32271
32272
  const { host } = osInstance.getElements();
32272
32273
  const regex = new RegExp(`(^os-host([-_].+|)$)|${osInstance.options().className.replace(/\s/g, "$|")}$`, "g");
32273
- const osClassNames = host.className.split(" ").filter((name2) => name2.match(regex)).join(" ");
32274
+ const osClassNames = host.className.split(" ").filter((name) => name.match(regex)).join(" ");
32274
32275
  host.className = `${osClassNames} ${className || ""}`;
32275
32276
  }
32276
32277
  }
@@ -32329,11 +32330,11 @@ const BgColor = () => {
32329
32330
  var _a2;
32330
32331
  (_a2 = ref2.current) == null ? void 0 : _a2.click();
32331
32332
  };
32332
- const onChange = (val2) => {
32333
+ const onChange = (val) => {
32333
32334
  Transforms.setNodes(
32334
32335
  editor,
32335
32336
  {
32336
- [TextFormat.BACKGROUND_COLOR]: val2
32337
+ [TextFormat.BACKGROUND_COLOR]: val
32337
32338
  },
32338
32339
  { match: Text$2.isText, split: true }
32339
32340
  );
@@ -32401,11 +32402,11 @@ const FontColor = () => {
32401
32402
  var _a2;
32402
32403
  (_a2 = ref2.current) == null ? void 0 : _a2.click();
32403
32404
  };
32404
- const onChange = (val2) => {
32405
+ const onChange = (val) => {
32405
32406
  Transforms.setNodes(
32406
32407
  editor,
32407
32408
  {
32408
- [TextFormat.TEXT_COLOR]: val2
32409
+ [TextFormat.TEXT_COLOR]: val
32409
32410
  },
32410
32411
  { match: Text$2.isText, split: true }
32411
32412
  );
@@ -32887,11 +32888,11 @@ const FontSize = () => {
32887
32888
  }
32888
32889
  return [...new Set(list)].sort().map((item2) => ({ label: item2, value: item2 }));
32889
32890
  }, [fontSizeList, fontSizeValue]);
32890
- const onChange = (val2) => {
32891
+ const onChange = (val) => {
32891
32892
  Transforms.setNodes(
32892
32893
  editor,
32893
32894
  {
32894
- [TextFormat.FONT_SIZE]: val2
32895
+ [TextFormat.FONT_SIZE]: val
32895
32896
  },
32896
32897
  { match: Text$2.isText, split: true }
32897
32898
  );
@@ -32943,11 +32944,11 @@ const FontFamily = () => {
32943
32944
  }
32944
32945
  return list;
32945
32946
  }, [fontFamilyValue, fontList]);
32946
- const onChange = (val2) => {
32947
+ const onChange = (val) => {
32947
32948
  Transforms.setNodes(
32948
32949
  editor,
32949
32950
  {
32950
- [TextFormat.FONT_FAMILY]: val2
32951
+ [TextFormat.FONT_FAMILY]: val
32951
32952
  },
32952
32953
  { match: Text$2.isText, split: true }
32953
32954
  );
@@ -32980,14 +32981,14 @@ const RichTextBar = ({ list }) => {
32980
32981
  }) : null;
32981
32982
  const mergetagNode = mergetagNodeEntry == null ? void 0 : mergetagNodeEntry[0];
32982
32983
  const onSave = useCallback$1(
32983
- (val2) => {
32984
+ (val) => {
32984
32985
  if (!mergetagNode)
32985
32986
  return;
32986
32987
  Transforms.setNodes(
32987
32988
  editor,
32988
32989
  {
32989
32990
  data: {
32990
- default: val2
32991
+ default: val
32991
32992
  }
32992
32993
  },
32993
32994
  {
@@ -33300,7 +33301,7 @@ function requireEvEmitter() {
33300
33301
  return evEmitterExports;
33301
33302
  }
33302
33303
  var getSizeExports = {};
33303
- var getSize = {
33304
+ var getSize2 = {
33304
33305
  get exports() {
33305
33306
  return getSizeExports;
33306
33307
  },
@@ -33440,7 +33441,7 @@ function requireGetSize() {
33440
33441
  }
33441
33442
  return getSize3;
33442
33443
  });
33443
- })(getSize);
33444
+ })(getSize2);
33444
33445
  return getSizeExports;
33445
33446
  }
33446
33447
  var utilsExports$1 = {};
@@ -35166,7 +35167,7 @@ function apply$1(func, thisArg, args) {
35166
35167
  return func.apply(thisArg, args);
35167
35168
  }
35168
35169
  var _apply = apply$1;
35169
- var apply = _apply;
35170
+ var apply2 = _apply;
35170
35171
  var nativeMax$1 = Math.max;
35171
35172
  function overRest$2(func, start3, transform) {
35172
35173
  start3 = nativeMax$1(start3 === void 0 ? func.length - 1 : start3, 0);
@@ -35181,7 +35182,7 @@ function overRest$2(func, start3, transform) {
35181
35182
  otherArgs[index2] = args[index2];
35182
35183
  }
35183
35184
  otherArgs[start3] = transform(array2);
35184
- return apply(func, this, otherArgs);
35185
+ return apply2(func, this, otherArgs);
35185
35186
  };
35186
35187
  }
35187
35188
  var _overRest = overRest$2;
@@ -35566,14 +35567,14 @@ var reporter = function(quiet) {
35566
35567
  error: noop3
35567
35568
  };
35568
35569
  if (!quiet && window.console) {
35569
- var attachFunction = function(reporter3, name2) {
35570
- reporter3[name2] = function reporterProxy() {
35571
- var f2 = console[name2];
35572
- if (f2.apply) {
35573
- f2.apply(console, arguments);
35570
+ var attachFunction = function(reporter3, name) {
35571
+ reporter3[name] = function reporterProxy() {
35572
+ var f = console[name];
35573
+ if (f.apply) {
35574
+ f.apply(console, arguments);
35574
35575
  } else {
35575
35576
  for (var i = 0; i < arguments.length; i++) {
35576
- f2(arguments[i]);
35577
+ f(arguments[i]);
35577
35578
  }
35578
35579
  }
35579
35580
  };
@@ -35628,15 +35629,15 @@ var utils$2 = {
35628
35629
  };
35629
35630
  var utils$1 = utils$2.exports = {};
35630
35631
  utils$1.getOption = getOption$1;
35631
- function getOption$1(options2, name2, defaultValue2) {
35632
- var value = options2[name2];
35632
+ function getOption$1(options2, name, defaultValue2) {
35633
+ var value = options2[name];
35633
35634
  if ((value === void 0 || value === null) && defaultValue2 !== void 0) {
35634
35635
  return defaultValue2;
35635
35636
  }
35636
35637
  return value;
35637
35638
  }
35638
35639
  var utils = utilsExports;
35639
- var batchProcessor = function batchProcessorMaker2(options2) {
35640
+ var batchProcessor = function batchProcessorMaker(options2) {
35640
35641
  options2 = options2 || {};
35641
35642
  var reporter2 = options2.reporter;
35642
35643
  var asyncProcess = utils.getOption(options2, "async", true);
@@ -35906,7 +35907,7 @@ var object = function(options2) {
35906
35907
  };
35907
35908
  };
35908
35909
  var forEach$1 = collectionUtilsExports.forEach;
35909
- var scroll = function(options2) {
35910
+ var scroll2 = function(options2) {
35910
35911
  options2 = options2 || {};
35911
35912
  var reporter2 = options2.reporter;
35912
35913
  var batchProcessor2 = options2.batchProcessor;
@@ -35972,20 +35973,20 @@ var scroll = function(options2) {
35972
35973
  function addAnimationClass(element) {
35973
35974
  element.className += " " + detectionContainerClass + "_animation_active";
35974
35975
  }
35975
- function addEvent(el, name2, cb) {
35976
+ function addEvent(el, name, cb) {
35976
35977
  if (el.addEventListener) {
35977
- el.addEventListener(name2, cb);
35978
+ el.addEventListener(name, cb);
35978
35979
  } else if (el.attachEvent) {
35979
- el.attachEvent("on" + name2, cb);
35980
+ el.attachEvent("on" + name, cb);
35980
35981
  } else {
35981
35982
  return reporter2.error("[scroll] Don't know how to add event listeners.");
35982
35983
  }
35983
35984
  }
35984
- function removeEvent(el, name2, cb) {
35985
+ function removeEvent(el, name, cb) {
35985
35986
  if (el.removeEventListener) {
35986
- el.removeEventListener(name2, cb);
35987
+ el.removeEventListener(name, cb);
35987
35988
  } else if (el.detachEvent) {
35988
- el.detachEvent("on" + name2, cb);
35989
+ el.detachEvent("on" + name, cb);
35989
35990
  } else {
35990
35991
  return reporter2.error("[scroll] Don't know how to remove event listeners.");
35991
35992
  }
@@ -36392,10 +36393,10 @@ var idGeneratorMaker = idGenerator;
36392
36393
  var idHandlerMaker = idHandler;
36393
36394
  var reporterMaker = reporter;
36394
36395
  var browserDetector = browserDetectorExports;
36395
- var batchProcessorMaker = batchProcessor;
36396
+ var batchProcessorMaker2 = batchProcessor;
36396
36397
  var stateHandler = stateHandler$1;
36397
36398
  var objectStrategyMaker = object;
36398
- var scrollStrategyMaker = scroll;
36399
+ var scrollStrategyMaker = scroll2;
36399
36400
  function isCollection(obj) {
36400
36401
  return Array.isArray(obj) || obj.length !== void 0;
36401
36402
  }
@@ -36436,7 +36437,7 @@ var elementResizeDetector = function(options2) {
36436
36437
  var quiet = reporter2 === false;
36437
36438
  reporter2 = reporterMaker(quiet);
36438
36439
  }
36439
- var batchProcessor2 = getOption(options2, "batchProcessor", batchProcessorMaker({ reporter: reporter2 }));
36440
+ var batchProcessor2 = getOption(options2, "batchProcessor", batchProcessorMaker2({ reporter: reporter2 }));
36440
36441
  var globalOptions = {};
36441
36442
  globalOptions.callOnAdd = !!getOption(options2, "callOnAdd", true);
36442
36443
  globalOptions.debug = !!getOption(options2, "debug", false);
@@ -36596,8 +36597,8 @@ var elementResizeDetector = function(options2) {
36596
36597
  initDocument
36597
36598
  };
36598
36599
  };
36599
- function getOption(options2, name2, defaultValue2) {
36600
- var value = options2[name2];
36600
+ function getOption(options2, name, defaultValue2) {
36601
+ var value = options2[name];
36601
36602
  if ((value === void 0 || value === null) && defaultValue2 !== void 0) {
36602
36603
  return defaultValue2;
36603
36604
  }
@@ -37629,14 +37630,14 @@ if (process.env.NODE_ENV !== "production") {
37629
37630
  }
37630
37631
  };
37631
37632
  }
37632
- function _invariant(condition, format, a, b, c, d, e, f2) {
37633
+ function _invariant(condition, format, a, b, c, d, e, f) {
37633
37634
  validateFormat(format);
37634
37635
  if (!condition) {
37635
37636
  var error2;
37636
37637
  if (format === void 0) {
37637
37638
  error2 = new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");
37638
37639
  } else {
37639
- var args = [a, b, c, d, e, f2];
37640
+ var args = [a, b, c, d, e, f];
37640
37641
  var argIndex = 0;
37641
37642
  error2 = new Error(format.replace(/%s/g, function() {
37642
37643
  return args[argIndex++];
@@ -38000,20 +38001,20 @@ function factory$1(ReactComponent, isValidElement, ReactNoopUpdateQueue2) {
38000
38001
  }
38001
38002
  }
38002
38003
  }
38003
- function validateMethodOverride(isAlreadyDefined, name2) {
38004
- var specPolicy = ReactClassInterface.hasOwnProperty(name2) ? ReactClassInterface[name2] : null;
38005
- if (ReactClassMixin.hasOwnProperty(name2)) {
38004
+ function validateMethodOverride(isAlreadyDefined, name) {
38005
+ var specPolicy = ReactClassInterface.hasOwnProperty(name) ? ReactClassInterface[name] : null;
38006
+ if (ReactClassMixin.hasOwnProperty(name)) {
38006
38007
  _invariant(
38007
38008
  specPolicy === "OVERRIDE_BASE",
38008
38009
  "ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",
38009
- name2
38010
+ name
38010
38011
  );
38011
38012
  }
38012
38013
  if (isAlreadyDefined) {
38013
38014
  _invariant(
38014
38015
  specPolicy === "DEFINE_MANY" || specPolicy === "DEFINE_MANY_MERGED",
38015
38016
  "ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",
38016
- name2
38017
+ name
38017
38018
  );
38018
38019
  }
38019
38020
  }
@@ -38046,44 +38047,44 @@ function factory$1(ReactComponent, isValidElement, ReactNoopUpdateQueue2) {
38046
38047
  if (spec.hasOwnProperty(MIXINS_KEY)) {
38047
38048
  RESERVED_SPEC_KEYS.mixins(Constructor, spec.mixins);
38048
38049
  }
38049
- for (var name2 in spec) {
38050
- if (!spec.hasOwnProperty(name2)) {
38050
+ for (var name in spec) {
38051
+ if (!spec.hasOwnProperty(name)) {
38051
38052
  continue;
38052
38053
  }
38053
- if (name2 === MIXINS_KEY) {
38054
+ if (name === MIXINS_KEY) {
38054
38055
  continue;
38055
38056
  }
38056
- var property = spec[name2];
38057
- var isAlreadyDefined = proto.hasOwnProperty(name2);
38058
- validateMethodOverride(isAlreadyDefined, name2);
38059
- if (RESERVED_SPEC_KEYS.hasOwnProperty(name2)) {
38060
- RESERVED_SPEC_KEYS[name2](Constructor, property);
38057
+ var property = spec[name];
38058
+ var isAlreadyDefined = proto.hasOwnProperty(name);
38059
+ validateMethodOverride(isAlreadyDefined, name);
38060
+ if (RESERVED_SPEC_KEYS.hasOwnProperty(name)) {
38061
+ RESERVED_SPEC_KEYS[name](Constructor, property);
38061
38062
  } else {
38062
- var isReactClassMethod = ReactClassInterface.hasOwnProperty(name2);
38063
+ var isReactClassMethod = ReactClassInterface.hasOwnProperty(name);
38063
38064
  var isFunction2 = typeof property === "function";
38064
38065
  var shouldAutoBind = isFunction2 && !isReactClassMethod && !isAlreadyDefined && spec.autobind !== false;
38065
38066
  if (shouldAutoBind) {
38066
- autoBindPairs.push(name2, property);
38067
- proto[name2] = property;
38067
+ autoBindPairs.push(name, property);
38068
+ proto[name] = property;
38068
38069
  } else {
38069
38070
  if (isAlreadyDefined) {
38070
- var specPolicy = ReactClassInterface[name2];
38071
+ var specPolicy = ReactClassInterface[name];
38071
38072
  _invariant(
38072
38073
  isReactClassMethod && (specPolicy === "DEFINE_MANY_MERGED" || specPolicy === "DEFINE_MANY"),
38073
38074
  "ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",
38074
38075
  specPolicy,
38075
- name2
38076
+ name
38076
38077
  );
38077
38078
  if (specPolicy === "DEFINE_MANY_MERGED") {
38078
- proto[name2] = createMergedResultFunction(proto[name2], property);
38079
+ proto[name] = createMergedResultFunction(proto[name], property);
38079
38080
  } else if (specPolicy === "DEFINE_MANY") {
38080
- proto[name2] = createChainedFunction(proto[name2], property);
38081
+ proto[name] = createChainedFunction(proto[name], property);
38081
38082
  }
38082
38083
  } else {
38083
- proto[name2] = property;
38084
+ proto[name] = property;
38084
38085
  if (process.env.NODE_ENV !== "production") {
38085
38086
  if (typeof property === "function" && spec.displayName) {
38086
- proto[name2].displayName = spec.displayName + "_" + name2;
38087
+ proto[name].displayName = spec.displayName + "_" + name;
38087
38088
  }
38088
38089
  }
38089
38090
  }
@@ -38095,29 +38096,29 @@ function factory$1(ReactComponent, isValidElement, ReactNoopUpdateQueue2) {
38095
38096
  if (!statics) {
38096
38097
  return;
38097
38098
  }
38098
- for (var name2 in statics) {
38099
- var property = statics[name2];
38100
- if (!statics.hasOwnProperty(name2)) {
38099
+ for (var name in statics) {
38100
+ var property = statics[name];
38101
+ if (!statics.hasOwnProperty(name)) {
38101
38102
  continue;
38102
38103
  }
38103
- var isReserved = name2 in RESERVED_SPEC_KEYS;
38104
+ var isReserved = name in RESERVED_SPEC_KEYS;
38104
38105
  _invariant(
38105
38106
  !isReserved,
38106
38107
  'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',
38107
- name2
38108
+ name
38108
38109
  );
38109
- var isAlreadyDefined = name2 in Constructor;
38110
+ var isAlreadyDefined = name in Constructor;
38110
38111
  if (isAlreadyDefined) {
38111
- var specPolicy = ReactClassStaticInterface.hasOwnProperty(name2) ? ReactClassStaticInterface[name2] : null;
38112
+ var specPolicy = ReactClassStaticInterface.hasOwnProperty(name) ? ReactClassStaticInterface[name] : null;
38112
38113
  _invariant(
38113
38114
  specPolicy === "DEFINE_MANY_MERGED",
38114
38115
  "ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",
38115
- name2
38116
+ name
38116
38117
  );
38117
- Constructor[name2] = createMergedResultFunction(Constructor[name2], property);
38118
+ Constructor[name] = createMergedResultFunction(Constructor[name], property);
38118
38119
  return;
38119
38120
  }
38120
- Constructor[name2] = property;
38121
+ Constructor[name] = property;
38121
38122
  }
38122
38123
  }
38123
38124
  function mergeIntoWithNoDuplicateKeys(one, two) {
@@ -39996,12 +39997,12 @@ var niceErrors = {
39996
39997
  24: function _6(thing) {
39997
39998
  return "Cannot obtain administration from " + thing;
39998
39999
  },
39999
- 25: function _7(property, name2) {
40000
- return "the entry '" + property + "' does not exist in the observable map '" + name2 + "'";
40000
+ 25: function _7(property, name) {
40001
+ return "the entry '" + property + "' does not exist in the observable map '" + name + "'";
40001
40002
  },
40002
40003
  26: "please specify a property",
40003
- 27: function _8(property, name2) {
40004
- return "no observable property '" + property.toString() + "' found on the observable object '" + name2 + "'";
40004
+ 27: function _8(property, name) {
40005
+ return "no observable property '" + property.toString() + "' found on the observable object '" + name + "'";
40005
40006
  },
40006
40007
  28: function _9(thing) {
40007
40008
  return "Cannot obtain atom from " + thing;
@@ -40009,14 +40010,14 @@ var niceErrors = {
40009
40010
  29: "Expecting some object",
40010
40011
  30: "invalid action stack. did you forget to finish an action?",
40011
40012
  31: "missing option for computed: get",
40012
- 32: function _10(name2, derivation) {
40013
- return "Cycle detected in computation " + name2 + ": " + derivation;
40013
+ 32: function _10(name, derivation) {
40014
+ return "Cycle detected in computation " + name + ": " + derivation;
40014
40015
  },
40015
- 33: function _11(name2) {
40016
- return "The setter of computed value '" + name2 + "' is trying to update itself. Did you intend to update an _observable_ value, instead of the computed property?";
40016
+ 33: function _11(name) {
40017
+ return "The setter of computed value '" + name + "' is trying to update itself. Did you intend to update an _observable_ value, instead of the computed property?";
40017
40018
  },
40018
- 34: function _12(name2) {
40019
- return "[ComputedValue '" + name2 + "'] It is not possible to assign a new value to a computed value.";
40019
+ 34: function _12(name) {
40020
+ return "[ComputedValue '" + name + "'] It is not possible to assign a new value to a computed value.";
40020
40021
  },
40021
40022
  35: "There are multiple, different versions of MobX active. Make sure MobX is loaded only once or use `configure({ isolateGlobalState: true })`",
40022
40023
  36: "isolateGlobalState should be called before MobX is running any reactions",
@@ -40143,8 +40144,8 @@ function addHiddenFinalProp(object3, propName, value) {
40143
40144
  value
40144
40145
  });
40145
40146
  }
40146
- function createInstanceofPredicate(name2, theClass) {
40147
- var propName = "isMobX" + name2;
40147
+ function createInstanceofPredicate(name, theClass) {
40148
+ var propName = "isMobX" + name;
40148
40149
  theClass.prototype[propName] = true;
40149
40150
  return function(x) {
40150
40151
  return isObject(x) && x[propName] === true;
@@ -40374,14 +40375,14 @@ var Atom = /* @__PURE__ */ function() {
40374
40375
  return Atom2;
40375
40376
  }();
40376
40377
  var isAtom = /* @__PURE__ */ createInstanceofPredicate("Atom", Atom);
40377
- function createAtom(name2, onBecomeObservedHandler, onBecomeUnobservedHandler) {
40378
+ function createAtom(name, onBecomeObservedHandler, onBecomeUnobservedHandler) {
40378
40379
  if (onBecomeObservedHandler === void 0) {
40379
40380
  onBecomeObservedHandler = noop;
40380
40381
  }
40381
40382
  if (onBecomeUnobservedHandler === void 0) {
40382
40383
  onBecomeUnobservedHandler = noop;
40383
40384
  }
40384
- var atom = new Atom(name2);
40385
+ var atom = new Atom(name);
40385
40386
  if (onBecomeObservedHandler !== noop) {
40386
40387
  onBecomeObserved(atom, onBecomeObservedHandler);
40387
40388
  }
@@ -40411,40 +40412,40 @@ var comparer = {
40411
40412
  "default": defaultComparer,
40412
40413
  shallow: shallowComparer
40413
40414
  };
40414
- function deepEnhancer(v, _14, name2) {
40415
+ function deepEnhancer(v, _14, name) {
40415
40416
  if (isObservable(v)) {
40416
40417
  return v;
40417
40418
  }
40418
40419
  if (Array.isArray(v)) {
40419
40420
  return observable.array(v, {
40420
- name: name2
40421
+ name
40421
40422
  });
40422
40423
  }
40423
40424
  if (isPlainObject(v)) {
40424
40425
  return observable.object(v, void 0, {
40425
- name: name2
40426
+ name
40426
40427
  });
40427
40428
  }
40428
40429
  if (isES6Map(v)) {
40429
40430
  return observable.map(v, {
40430
- name: name2
40431
+ name
40431
40432
  });
40432
40433
  }
40433
40434
  if (isES6Set(v)) {
40434
40435
  return observable.set(v, {
40435
- name: name2
40436
+ name
40436
40437
  });
40437
40438
  }
40438
40439
  if (typeof v === "function" && !isAction(v) && !isFlow(v)) {
40439
40440
  if (isGenerator(v)) {
40440
40441
  return flow(v);
40441
40442
  } else {
40442
- return autoAction(name2, v);
40443
+ return autoAction(name, v);
40443
40444
  }
40444
40445
  }
40445
40446
  return v;
40446
40447
  }
40447
- function shallowEnhancer(v, _14, name2) {
40448
+ function shallowEnhancer(v, _14, name) {
40448
40449
  if (v === void 0 || v === null) {
40449
40450
  return v;
40450
40451
  }
@@ -40453,25 +40454,25 @@ function shallowEnhancer(v, _14, name2) {
40453
40454
  }
40454
40455
  if (Array.isArray(v)) {
40455
40456
  return observable.array(v, {
40456
- name: name2,
40457
+ name,
40457
40458
  deep: false
40458
40459
  });
40459
40460
  }
40460
40461
  if (isPlainObject(v)) {
40461
40462
  return observable.object(v, void 0, {
40462
- name: name2,
40463
+ name,
40463
40464
  deep: false
40464
40465
  });
40465
40466
  }
40466
40467
  if (isES6Map(v)) {
40467
40468
  return observable.map(v, {
40468
- name: name2,
40469
+ name,
40469
40470
  deep: false
40470
40471
  });
40471
40472
  }
40472
40473
  if (isES6Set(v)) {
40473
40474
  return observable.set(v, {
40474
- name: name2,
40475
+ name,
40475
40476
  deep: false
40476
40477
  });
40477
40478
  }
@@ -40495,9 +40496,9 @@ var OVERRIDE = "override";
40495
40496
  function isOverride(annotation) {
40496
40497
  return annotation.annotationType_ === OVERRIDE;
40497
40498
  }
40498
- function createActionAnnotation(name2, options2) {
40499
+ function createActionAnnotation(name, options2) {
40499
40500
  return {
40500
- annotationType_: name2,
40501
+ annotationType_: name,
40501
40502
  options_: options2,
40502
40503
  make_: make_$1,
40503
40504
  extend_: extend_$1
@@ -40558,9 +40559,9 @@ function createActionDescriptor(adm, annotation, key2, descriptor, safeDescripto
40558
40559
  writable: safeDescriptors ? false : true
40559
40560
  };
40560
40561
  }
40561
- function createFlowAnnotation(name2, options2) {
40562
+ function createFlowAnnotation(name, options2) {
40562
40563
  return {
40563
- annotationType_: name2,
40564
+ annotationType_: name,
40564
40565
  options_: options2,
40565
40566
  make_: make_$2,
40566
40567
  extend_: extend_$2
@@ -40621,9 +40622,9 @@ function createFlowDescriptor(adm, annotation, key2, descriptor, bound, safeDesc
40621
40622
  writable: safeDescriptors ? false : true
40622
40623
  };
40623
40624
  }
40624
- function createComputedAnnotation(name2, options2) {
40625
+ function createComputedAnnotation(name, options2) {
40625
40626
  return {
40626
- annotationType_: name2,
40627
+ annotationType_: name,
40627
40628
  options_: options2,
40628
40629
  make_: make_$3,
40629
40630
  extend_: extend_$3
@@ -40646,9 +40647,9 @@ function assertComputedDescriptor(adm, _ref, key2, _ref2) {
40646
40647
  die("Cannot apply '" + annotationType_ + "' to '" + adm.name_ + "." + key2.toString() + "':" + ("\n'" + annotationType_ + "' can only be used on getter(+setter) properties."));
40647
40648
  }
40648
40649
  }
40649
- function createObservableAnnotation(name2, options2) {
40650
+ function createObservableAnnotation(name, options2) {
40650
40651
  return {
40651
- annotationType_: name2,
40652
+ annotationType_: name,
40652
40653
  options_: options2,
40653
40654
  make_: make_$4,
40654
40655
  extend_: extend_$4
@@ -41375,7 +41376,7 @@ function checkIfStateReadsAreAllowed(observable2) {
41375
41376
  console.warn("[mobx] Observable '" + observable2.name_ + "' being read outside a reactive context.");
41376
41377
  }
41377
41378
  }
41378
- function trackDerivedFunction(derivation, f2, context) {
41379
+ function trackDerivedFunction(derivation, f, context) {
41379
41380
  var prevAllowStateReads = allowStateReadsStart(true);
41380
41381
  changeDependenciesStateTo0(derivation);
41381
41382
  derivation.newObserving_ = new Array(derivation.observing_.length + 100);
@@ -41386,10 +41387,10 @@ function trackDerivedFunction(derivation, f2, context) {
41386
41387
  globalState.inBatch++;
41387
41388
  var result;
41388
41389
  if (globalState.disableErrorBoundaries === true) {
41389
- result = f2.call(context);
41390
+ result = f.call(context);
41390
41391
  } else {
41391
41392
  try {
41392
- result = f2.call(context);
41393
+ result = f.call(context);
41393
41394
  } catch (e) {
41394
41395
  result = new CaughtException(e);
41395
41396
  }
@@ -41804,8 +41805,8 @@ var Reaction = /* @__PURE__ */ function() {
41804
41805
  error: "" + error2
41805
41806
  });
41806
41807
  }
41807
- globalState.globalReactionErrorHandlers.forEach(function(f2) {
41808
- return f2(error2, _this);
41808
+ globalState.globalReactionErrorHandlers.forEach(function(f) {
41809
+ return f(error2, _this);
41809
41810
  });
41810
41811
  };
41811
41812
  _proto.dispose = function dispose() {
@@ -41835,8 +41836,8 @@ var Reaction = /* @__PURE__ */ function() {
41835
41836
  return Reaction2;
41836
41837
  }();
41837
41838
  var MAX_REACTION_ITERATIONS = 100;
41838
- var reactionScheduler = function reactionScheduler2(f2) {
41839
- return f2();
41839
+ var reactionScheduler = function reactionScheduler2(f) {
41840
+ return f();
41840
41841
  };
41841
41842
  function runReactions() {
41842
41843
  if (globalState.inBatch > 0 || globalState.isRunningReactions) {
@@ -41863,9 +41864,9 @@ function runReactionsHelper() {
41863
41864
  var isReaction = /* @__PURE__ */ createInstanceofPredicate("Reaction", Reaction);
41864
41865
  function setReactionScheduler(fn) {
41865
41866
  var baseScheduler = reactionScheduler;
41866
- reactionScheduler = function reactionScheduler3(f2) {
41867
+ reactionScheduler = function reactionScheduler3(f) {
41867
41868
  return fn(function() {
41868
- return baseScheduler(f2);
41869
+ return baseScheduler(f);
41869
41870
  });
41870
41871
  };
41871
41872
  }
@@ -41985,17 +41986,17 @@ function autorun(view, opts) {
41985
41986
  die("Autorun does not accept actions since actions are untrackable");
41986
41987
  }
41987
41988
  }
41988
- var name2 = (_opts$name = (_opts = opts) == null ? void 0 : _opts.name) != null ? _opts$name : process.env.NODE_ENV !== "production" ? view.name || "Autorun@" + getNextId() : "Autorun";
41989
+ var name = (_opts$name = (_opts = opts) == null ? void 0 : _opts.name) != null ? _opts$name : process.env.NODE_ENV !== "production" ? view.name || "Autorun@" + getNextId() : "Autorun";
41989
41990
  var runSync = !opts.scheduler && !opts.delay;
41990
41991
  var reaction;
41991
41992
  if (runSync) {
41992
- reaction = new Reaction(name2, function() {
41993
+ reaction = new Reaction(name, function() {
41993
41994
  this.track(reactionRunner);
41994
41995
  }, opts.onError, opts.requiresObservable);
41995
41996
  } else {
41996
41997
  var scheduler = createSchedulerFromOptions(opts);
41997
41998
  var isScheduled = false;
41998
- reaction = new Reaction(name2, function() {
41999
+ reaction = new Reaction(name, function() {
41999
42000
  if (!isScheduled) {
42000
42001
  isScheduled = true;
42001
42002
  scheduler(function() {
@@ -42013,12 +42014,12 @@ function autorun(view, opts) {
42013
42014
  reaction.schedule_();
42014
42015
  return reaction.getDisposer_();
42015
42016
  }
42016
- var run = function run2(f2) {
42017
- return f2();
42017
+ var run = function run2(f) {
42018
+ return f();
42018
42019
  };
42019
42020
  function createSchedulerFromOptions(opts) {
42020
- return opts.scheduler ? opts.scheduler : opts.delay ? function(f2) {
42021
- return setTimeout(f2, opts.delay);
42021
+ return opts.scheduler ? opts.scheduler : opts.delay ? function(f) {
42022
+ return setTimeout(f, opts.delay);
42022
42023
  } : run;
42023
42024
  }
42024
42025
  var ON_BECOME_OBSERVED = "onBO";
@@ -42147,12 +42148,12 @@ var flow = /* @__PURE__ */ Object.assign(function flow2(arg1, arg2) {
42147
42148
  die("Flow expects single argument with generator function");
42148
42149
  }
42149
42150
  var generator = arg1;
42150
- var name2 = generator.name || "<unnamed flow>";
42151
+ var name = generator.name || "<unnamed flow>";
42151
42152
  var res = function res2() {
42152
42153
  var ctx = this;
42153
42154
  var args = arguments;
42154
42155
  var runId = ++generatorId;
42155
- var gen = action(name2 + " - runid: " + runId + " - init", generator).apply(ctx, args);
42156
+ var gen = action(name + " - runid: " + runId + " - init", generator).apply(ctx, args);
42156
42157
  var rejector;
42157
42158
  var pendingPromise = void 0;
42158
42159
  var promise = new Promise(function(resolve, reject) {
@@ -42162,7 +42163,7 @@ var flow = /* @__PURE__ */ Object.assign(function flow2(arg1, arg2) {
42162
42163
  pendingPromise = void 0;
42163
42164
  var ret;
42164
42165
  try {
42165
- ret = action(name2 + " - runid: " + runId + " - yield " + stepId++, gen.next).call(gen, res3);
42166
+ ret = action(name + " - runid: " + runId + " - yield " + stepId++, gen.next).call(gen, res3);
42166
42167
  } catch (e) {
42167
42168
  return reject(e);
42168
42169
  }
@@ -42172,7 +42173,7 @@ var flow = /* @__PURE__ */ Object.assign(function flow2(arg1, arg2) {
42172
42173
  pendingPromise = void 0;
42173
42174
  var ret;
42174
42175
  try {
42175
- ret = action(name2 + " - runid: " + runId + " - yield " + stepId++, gen["throw"]).call(gen, err);
42176
+ ret = action(name + " - runid: " + runId + " - yield " + stepId++, gen["throw"]).call(gen, err);
42176
42177
  } catch (e) {
42177
42178
  return reject(e);
42178
42179
  }
@@ -42191,7 +42192,7 @@ var flow = /* @__PURE__ */ Object.assign(function flow2(arg1, arg2) {
42191
42192
  }
42192
42193
  onFulfilled(void 0);
42193
42194
  });
42194
- promise.cancel = action(name2 + " - runid: " + runId + " - cancel", function() {
42195
+ promise.cancel = action(name + " - runid: " + runId + " - cancel", function() {
42195
42196
  try {
42196
42197
  if (pendingPromise) {
42197
42198
  cancelPromise(pendingPromise);
@@ -42285,41 +42286,41 @@ function getAdm(target) {
42285
42286
  return target[$mobx];
42286
42287
  }
42287
42288
  var objectProxyTraps = {
42288
- has: function has2(target, name2) {
42289
+ has: function has2(target, name) {
42289
42290
  if (process.env.NODE_ENV !== "production" && globalState.trackingDerivation) {
42290
42291
  warnAboutProxyRequirement("detect new properties using the 'in' operator. Use 'has' from 'mobx' instead.");
42291
42292
  }
42292
- return getAdm(target).has_(name2);
42293
+ return getAdm(target).has_(name);
42293
42294
  },
42294
- get: function get3(target, name2) {
42295
- return getAdm(target).get_(name2);
42295
+ get: function get3(target, name) {
42296
+ return getAdm(target).get_(name);
42296
42297
  },
42297
- set: function set3(target, name2, value) {
42298
+ set: function set3(target, name, value) {
42298
42299
  var _getAdm$set_;
42299
- if (!isStringish(name2)) {
42300
+ if (!isStringish(name)) {
42300
42301
  return false;
42301
42302
  }
42302
- if (process.env.NODE_ENV !== "production" && !getAdm(target).values_.has(name2)) {
42303
+ if (process.env.NODE_ENV !== "production" && !getAdm(target).values_.has(name)) {
42303
42304
  warnAboutProxyRequirement("add a new observable property through direct assignment. Use 'set' from 'mobx' instead.");
42304
42305
  }
42305
- return (_getAdm$set_ = getAdm(target).set_(name2, value, true)) != null ? _getAdm$set_ : true;
42306
+ return (_getAdm$set_ = getAdm(target).set_(name, value, true)) != null ? _getAdm$set_ : true;
42306
42307
  },
42307
- deleteProperty: function deleteProperty(target, name2) {
42308
+ deleteProperty: function deleteProperty(target, name) {
42308
42309
  var _getAdm$delete_;
42309
42310
  if (process.env.NODE_ENV !== "production") {
42310
42311
  warnAboutProxyRequirement("delete properties from an observable object. Use 'remove' from 'mobx' instead.");
42311
42312
  }
42312
- if (!isStringish(name2)) {
42313
+ if (!isStringish(name)) {
42313
42314
  return false;
42314
42315
  }
42315
- return (_getAdm$delete_ = getAdm(target).delete_(name2, true)) != null ? _getAdm$delete_ : true;
42316
+ return (_getAdm$delete_ = getAdm(target).delete_(name, true)) != null ? _getAdm$delete_ : true;
42316
42317
  },
42317
- defineProperty: function defineProperty2(target, name2, descriptor) {
42318
+ defineProperty: function defineProperty2(target, name, descriptor) {
42318
42319
  var _getAdm$definePropert;
42319
42320
  if (process.env.NODE_ENV !== "production") {
42320
42321
  warnAboutProxyRequirement("define property on an observable object. Use 'defineProperty' from 'mobx' instead.");
42321
42322
  }
42322
- return (_getAdm$definePropert = getAdm(target).defineProperty_(name2, descriptor)) != null ? _getAdm$definePropert : true;
42323
+ return (_getAdm$definePropert = getAdm(target).defineProperty_(name, descriptor)) != null ? _getAdm$definePropert : true;
42323
42324
  },
42324
42325
  ownKeys: function ownKeys2(target) {
42325
42326
  if (process.env.NODE_ENV !== "production" && globalState.trackingDerivation) {
@@ -42414,31 +42415,31 @@ var SPLICE = "splice";
42414
42415
  var UPDATE = "update";
42415
42416
  var MAX_SPLICE_SIZE = 1e4;
42416
42417
  var arrayTraps = {
42417
- get: function get4(target, name2) {
42418
+ get: function get4(target, name) {
42418
42419
  var adm = target[$mobx];
42419
- if (name2 === $mobx) {
42420
+ if (name === $mobx) {
42420
42421
  return adm;
42421
42422
  }
42422
- if (name2 === "length") {
42423
+ if (name === "length") {
42423
42424
  return adm.getArrayLength_();
42424
42425
  }
42425
- if (typeof name2 === "string" && !isNaN(name2)) {
42426
- return adm.get_(parseInt(name2));
42426
+ if (typeof name === "string" && !isNaN(name)) {
42427
+ return adm.get_(parseInt(name));
42427
42428
  }
42428
- if (hasProp(arrayExtensions, name2)) {
42429
- return arrayExtensions[name2];
42429
+ if (hasProp(arrayExtensions, name)) {
42430
+ return arrayExtensions[name];
42430
42431
  }
42431
- return target[name2];
42432
+ return target[name];
42432
42433
  },
42433
- set: function set4(target, name2, value) {
42434
+ set: function set4(target, name, value) {
42434
42435
  var adm = target[$mobx];
42435
- if (name2 === "length") {
42436
+ if (name === "length") {
42436
42437
  adm.setArrayLength_(value);
42437
42438
  }
42438
- if (typeof name2 === "symbol" || isNaN(name2)) {
42439
- target[name2] = value;
42439
+ if (typeof name === "symbol" || isNaN(name)) {
42440
+ target[name] = value;
42440
42441
  } else {
42441
- adm.set_(parseInt(name2), value);
42442
+ adm.set_(parseInt(name), value);
42442
42443
  }
42443
42444
  return true;
42444
42445
  },
@@ -42447,9 +42448,9 @@ var arrayTraps = {
42447
42448
  }
42448
42449
  };
42449
42450
  var ObservableArrayAdministration = /* @__PURE__ */ function() {
42450
- function ObservableArrayAdministration2(name2, enhancer2, owned_, legacyMode_) {
42451
- if (name2 === void 0) {
42452
- name2 = process.env.NODE_ENV !== "production" ? "ObservableArray@" + getNextId() : "ObservableArray";
42451
+ function ObservableArrayAdministration2(name, enhancer2, owned_, legacyMode_) {
42452
+ if (name === void 0) {
42453
+ name = process.env.NODE_ENV !== "production" ? "ObservableArray@" + getNextId() : "ObservableArray";
42453
42454
  }
42454
42455
  this.owned_ = void 0;
42455
42456
  this.legacyMode_ = void 0;
@@ -42463,9 +42464,9 @@ var ObservableArrayAdministration = /* @__PURE__ */ function() {
42463
42464
  this.lastKnownLength_ = 0;
42464
42465
  this.owned_ = owned_;
42465
42466
  this.legacyMode_ = legacyMode_;
42466
- this.atom_ = new Atom(name2);
42467
+ this.atom_ = new Atom(name);
42467
42468
  this.enhancer_ = function(newV, oldV) {
42468
- return enhancer2(newV, oldV, process.env.NODE_ENV !== "production" ? name2 + "[..]" : "ObservableArray[..]");
42469
+ return enhancer2(newV, oldV, process.env.NODE_ENV !== "production" ? name + "[..]" : "ObservableArray[..]");
42469
42470
  };
42470
42471
  }
42471
42472
  var _proto = ObservableArrayAdministration2.prototype;
@@ -42691,15 +42692,15 @@ var ObservableArrayAdministration = /* @__PURE__ */ function() {
42691
42692
  };
42692
42693
  return ObservableArrayAdministration2;
42693
42694
  }();
42694
- function createObservableArray(initialValues, enhancer2, name2, owned) {
42695
- if (name2 === void 0) {
42696
- name2 = process.env.NODE_ENV !== "production" ? "ObservableArray@" + getNextId() : "ObservableArray";
42695
+ function createObservableArray(initialValues, enhancer2, name, owned) {
42696
+ if (name === void 0) {
42697
+ name = process.env.NODE_ENV !== "production" ? "ObservableArray@" + getNextId() : "ObservableArray";
42697
42698
  }
42698
42699
  if (owned === void 0) {
42699
42700
  owned = false;
42700
42701
  }
42701
42702
  assertProxies();
42702
- var adm = new ObservableArrayAdministration(name2, enhancer2, owned, false);
42703
+ var adm = new ObservableArrayAdministration(name, enhancer2, owned, false);
42703
42704
  addHiddenFinalProp(adm.values_, $mobx, adm);
42704
42705
  var proxy = new Proxy(adm.values_, arrayTraps);
42705
42706
  adm.proxy_ = proxy;
@@ -43878,8 +43879,8 @@ function asObservableObject(target, options2) {
43878
43879
  if (process.env.NODE_ENV !== "production" && !Object.isExtensible(target)) {
43879
43880
  die("Cannot make the designated object observable; it is not extensible");
43880
43881
  }
43881
- var name2 = (_options$name = options2 == null ? void 0 : options2.name) != null ? _options$name : process.env.NODE_ENV !== "production" ? (isPlainObject(target) ? "ObservableObject" : target.constructor.name) + "@" + getNextId() : "ObservableObject";
43882
- var adm = new ObservableObjectAdministration(target, /* @__PURE__ */ new Map(), String(name2), getAnnotationFromOptions(options2));
43882
+ var name = (_options$name = options2 == null ? void 0 : options2.name) != null ? _options$name : process.env.NODE_ENV !== "production" ? (isPlainObject(target) ? "ObservableObject" : target.constructor.name) + "@" + getNextId() : "ObservableObject";
43883
+ var adm = new ObservableObjectAdministration(target, /* @__PURE__ */ new Map(), String(name), getAnnotationFromOptions(options2));
43883
43884
  addHiddenProp(target, $mobx, adm);
43884
43885
  return target;
43885
43886
  }
@@ -43934,16 +43935,16 @@ function inherit(ctor, proto) {
43934
43935
  inherit(StubArray, Array.prototype);
43935
43936
  var LegacyObservableArray = /* @__PURE__ */ function(_StubArray, _Symbol$toStringTag2, _Symbol$iterator2) {
43936
43937
  _inheritsLoose(LegacyObservableArray2, _StubArray);
43937
- function LegacyObservableArray2(initialValues, enhancer2, name2, owned) {
43938
+ function LegacyObservableArray2(initialValues, enhancer2, name, owned) {
43938
43939
  var _this;
43939
- if (name2 === void 0) {
43940
- name2 = process.env.NODE_ENV !== "production" ? "ObservableArray@" + getNextId() : "ObservableArray";
43940
+ if (name === void 0) {
43941
+ name = process.env.NODE_ENV !== "production" ? "ObservableArray@" + getNextId() : "ObservableArray";
43941
43942
  }
43942
43943
  if (owned === void 0) {
43943
43944
  owned = false;
43944
43945
  }
43945
43946
  _this = _StubArray.call(this) || this;
43946
- var adm = new ObservableArrayAdministration(name2, enhancer2, owned, true);
43947
+ var adm = new ObservableArrayAdministration(name, enhancer2, owned, true);
43947
43948
  adm.proxy_ = _assertThisInitialized(_this);
43948
43949
  addHiddenFinalProp(_assertThisInitialized(_this), $mobx, adm);
43949
43950
  if (initialValues && initialValues.length) {
@@ -44031,8 +44032,8 @@ function reserveArrayBuffer(max) {
44031
44032
  }
44032
44033
  }
44033
44034
  reserveArrayBuffer(1e3);
44034
- function createLegacyArray(initialValues, enhancer2, name2) {
44035
- return new LegacyObservableArray(initialValues, enhancer2, name2);
44035
+ function createLegacyArray(initialValues, enhancer2, name) {
44036
+ return new LegacyObservableArray(initialValues, enhancer2, name);
44036
44037
  }
44037
44038
  function getAtom(thing, property) {
44038
44039
  if (typeof thing === "object" && thing !== null) {
@@ -44106,7 +44107,7 @@ function getDebugName(thing, property) {
44106
44107
  }
44107
44108
  return named.name_;
44108
44109
  }
44109
- var toString = objectPrototype.toString;
44110
+ var toString3 = objectPrototype.toString;
44110
44111
  function deepEqual(a, b, depth) {
44111
44112
  if (depth === void 0) {
44112
44113
  depth = -1;
@@ -44127,8 +44128,8 @@ function eq(a, b, depth, aStack, bStack) {
44127
44128
  if (type !== "function" && type !== "object" && typeof b != "object") {
44128
44129
  return false;
44129
44130
  }
44130
- var className = toString.call(a);
44131
- if (className !== toString.call(b)) {
44131
+ var className = toString3.call(a);
44132
+ if (className !== toString3.call(b)) {
44132
44133
  return false;
44133
44134
  }
44134
44135
  switch (className) {
@@ -44594,20 +44595,20 @@ globalThis && globalThis.__read || function(o, n) {
44594
44595
  };
44595
44596
  observerBatching(unstable_batchedUpdates);
44596
44597
  var symbolId = 0;
44597
- function createSymbol(name2) {
44598
+ function createSymbol(name) {
44598
44599
  if (typeof Symbol === "function") {
44599
- return Symbol(name2);
44600
+ return Symbol(name);
44600
44601
  }
44601
- var symbol = "__$mobx-react " + name2 + " (" + symbolId + ")";
44602
+ var symbol = "__$mobx-react " + name + " (" + symbolId + ")";
44602
44603
  symbolId++;
44603
44604
  return symbol;
44604
44605
  }
44605
44606
  var createdSymbols = {};
44606
- function newSymbol(name2) {
44607
- if (!createdSymbols[name2]) {
44608
- createdSymbols[name2] = createSymbol(name2);
44607
+ function newSymbol(name) {
44608
+ if (!createdSymbols[name]) {
44609
+ createdSymbols[name] = createSymbol(name);
44609
44610
  }
44610
- return createdSymbols[name2];
44611
+ return createdSymbols[name];
44611
44612
  }
44612
44613
  function shallowEqual(objA, objB) {
44613
44614
  if (is(objA, objB)) {
@@ -44686,7 +44687,7 @@ function wrapFunction(realMethod, mixins) {
44686
44687
  };
44687
44688
  return fn;
44688
44689
  }
44689
- function patch(target, methodName, mixinMethod) {
44690
+ function patch2(target, methodName, mixinMethod) {
44690
44691
  var mixins = getMixins(target, methodName);
44691
44692
  if (mixins.methods.indexOf(mixinMethod) < 0) {
44692
44693
  mixins.methods.push(mixinMethod);
@@ -44750,13 +44751,13 @@ function makeClassComponentObserver(componentClass) {
44750
44751
  this.render = createReactiveRender.call(this, originalRender);
44751
44752
  return this.render();
44752
44753
  };
44753
- patch(target, "componentDidMount", function() {
44754
+ patch2(target, "componentDidMount", function() {
44754
44755
  this[mobxIsUnmounted] = false;
44755
44756
  if (!this.render[mobxAdminProperty]) {
44756
44757
  Component.prototype.forceUpdate.call(this);
44757
44758
  }
44758
44759
  });
44759
- patch(target, "componentWillUnmount", function() {
44760
+ patch2(target, "componentWillUnmount", function() {
44760
44761
  var reaction = this.render[mobxAdminProperty];
44761
44762
  if (reaction) {
44762
44763
  reaction.dispose();
@@ -46212,12 +46213,12 @@ const getItemNode = (node) => {
46212
46213
  };
46213
46214
  } else if (node.nodeType === Node.ELEMENT_NODE && node instanceof Element) {
46214
46215
  const attrs = {};
46215
- node.getAttributeNames().forEach((name2) => {
46216
- let key2 = camelCase(name2);
46216
+ node.getAttributeNames().forEach((name) => {
46217
+ let key2 = camelCase(name);
46217
46218
  if (key2 === "class") {
46218
46219
  key2 = "className";
46219
46220
  }
46220
- attrs[key2] = node.getAttribute(name2) || "";
46221
+ attrs[key2] = node.getAttribute(name) || "";
46221
46222
  });
46222
46223
  const tagName = node.tagName.toLowerCase();
46223
46224
  if (tagName === "br") {
@@ -46338,10 +46339,10 @@ const mjmlToJson = (content) => {
46338
46339
  throw new Error("Invalid content");
46339
46340
  }
46340
46341
  const attributes = {};
46341
- node.getAttributeNames().forEach((name2) => {
46342
- const value = node.getAttribute(name2);
46342
+ node.getAttributeNames().forEach((name) => {
46343
+ const value = node.getAttribute(name);
46343
46344
  if (isString$1(value)) {
46344
- attributes[name2] = value;
46345
+ attributes[name] = value;
46345
46346
  }
46346
46347
  });
46347
46348
  const type = node.tagName.replace("mj-", "");
@@ -46408,10 +46409,10 @@ function mjmlTransform(data) {
46408
46409
  if (item22.tagName === "mj-all") {
46409
46410
  page.data.globalAttributes = __spreadValues(__spreadValues({}, page.data.globalAttributes), item22.attributes);
46410
46411
  } else if (item22.tagName === "mj-class") {
46411
- const name2 = item22.attributes.name;
46412
+ const name = item22.attributes.name;
46412
46413
  delete item22.attributes.name;
46413
46414
  page.data.classAttributes = __spreadProps(__spreadValues({}, page.data.classAttributes), {
46414
- [name2]: item22.attributes
46415
+ [name]: item22.attributes
46415
46416
  });
46416
46417
  } else {
46417
46418
  page.data.categoryAttributes = __spreadProps(__spreadValues({}, page.data.categoryAttributes), {