@fluxscape/react-runtime 1.0.7 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -997,8 +997,8 @@ NodeScope.prototype.sendEventFromThisScope = function(e, t, n, o, r) {
997
997
  } else if (n === "children") {
998
998
  var u = this.nodes;
999
999
  for (var d in u) {
1000
- var p = u[d].children;
1001
- p && p.forEach((g) => {
1000
+ var h = u[d].children;
1001
+ h && h.forEach((g) => {
1002
1002
  if (g.name && this.context.hasComponentModelWithName(g.name)) {
1003
1003
  var b = g.nodeScope.sendEventFromThisScope(
1004
1004
  e,
@@ -1015,9 +1015,9 @@ NodeScope.prototype.sendEventFromThisScope = function(e, t, n, o, r) {
1015
1015
  if (this.componentOwner.parent ? g = this.componentOwner.parent.nodeScope : g = this.componentOwner.parentNodeScope, !g) return;
1016
1016
  var u = g.nodes;
1017
1017
  for (var d in u) {
1018
- var p = u[d].children;
1019
- if (p) {
1020
- var f = p.filter(
1018
+ var h = u[d].children;
1019
+ if (h) {
1020
+ var f = h.filter(
1021
1021
  (A) => A.name && this.context.hasComponentModelWithName(A.name) && A.nodeScope !== this
1022
1022
  );
1023
1023
  f.forEach((A) => {
@@ -1520,9 +1520,9 @@ NodeContext.prototype.showPopup = async function(e, t, n) {
1520
1520
  );
1521
1521
  if (l && l.length > 0)
1522
1522
  for (var u = 0; u < l.length; u++)
1523
- l[u]._setCloseCallback((d, p) => {
1523
+ l[u]._setCloseCallback((d, h) => {
1524
1524
  this.scheduleNextFrame(() => {
1525
- o.hasNodeWithId(s.id) && (this.onClosePopup(s), o.deleteNode(s), n && n.onClosePopup && n.onClosePopup(d, p));
1525
+ o.hasNodeWithId(s.id) && (this.onClosePopup(s), o.deleteNode(s), n && n.onClosePopup && n.onClosePopup(d, h));
1526
1526
  });
1527
1527
  });
1528
1528
  this.onShowPopup(s), requestAnimationFrame(() => {
@@ -1739,7 +1739,7 @@ EditorConnection.prototype.sendDynamicPorts = function(e, t, n) {
1739
1739
  var r = Array.isArray(n.detectRenamed) ? n.detectRenamed : [n.detectRenamed], s = [];
1740
1740
  r.forEach((a) => {
1741
1741
  var l = JSON.parse(dynamicPortsHash[e]), u = [].concat(t);
1742
- a.prefix && (l = l.filter((p) => p.name.startsWith(a.prefix)), u = u.filter((p) => p.name.startsWith(a.prefix))), a.plug && (l = l.filter((p) => p.plug === a.plug), u = u.filter((p) => p.plug === a.plug)), u = u.map((p) => p.name.substring((a.prefix || "").length)), l = l.map((p) => p.name.substring((a.prefix || "").length));
1742
+ a.prefix && (l = l.filter((h) => h.name.startsWith(a.prefix)), u = u.filter((h) => h.name.startsWith(a.prefix))), a.plug && (l = l.filter((h) => h.plug === a.plug), u = u.filter((h) => h.plug === a.plug)), u = u.map((h) => h.name.substring((a.prefix || "").length)), l = l.map((h) => h.name.substring((a.prefix || "").length));
1743
1743
  var d = _detectRename(l, u);
1744
1744
  d && s.push({
1745
1745
  plug: a.plug,
@@ -2053,11 +2053,11 @@ function generateNodeLibrary(e) {
2053
2053
  searchTags: a.searchTags
2054
2054
  };
2055
2055
  t.nodetypes.push(l), a.version && (l.version = a.version), a.displayNodeName && (l.displayNodeName = a.displayNodeName), a.nodeDoubleClickAction && (l.nodeDoubleClickAction = a.nodeDoubleClickAction), a.shortDesc && (l.shortDesc = a.shortDesc), a.module && (l.module = a.module), a.deprecated && (l.deprecated = !0), a.haveComponentPorts && (l.haveComponentPorts = !0), a.category === "Visual" && (l.allowAsChild = !0, l.allowAsExportRoot = !0, l.color = "visual"), a.allowAsExportRoot !== void 0 && (l.allowAsExportRoot = a.allowAsExportRoot), a.allowChildren && (l.allowChildrenWithCategory = ["Visual"], l.color = "visual"), a.allowChildrenWithCategory && (l.allowChildrenWithCategory = a.allowChildrenWithCategory), a.singleton && (l.singleton = !0), a.allowAsChild && (l.allowAsChild = !0), a.docs && (l.docs = a.docs), a.shortDocs ? l.shortDocs = a.shortDocs : a.docs && a.docs.indexOf("https://docs.noodl.net") === 0 && (l.shortDocs = a.docs.replace("/#", "") + "-short.md"), l.category = a.category, a.panels && (l.panels = a.panels), a.usePortAsLabel && (l.usePortAsLabel = a.usePortAsLabel, l.portLabelTruncationMode = a.portLabelTruncationMode), a.color && (l.color = a.color), a.dynamicports && (l.dynamicports = formatDynamicPorts(a)), a.exportDynamicPorts && (l.exportDynamicPorts = a.exportDynamicPorts), a.visualStates && (l.visualStates = a.visualStates), a.useVariants && (l.useVariants = a.useVariants), a.connectionPanel && (l.connectionPanel = a.connectionPanel), l.ports = [];
2056
- var u = l.dynamicports || [], d = {}, p = {};
2056
+ var u = l.dynamicports || [], d = {}, h = {};
2057
2057
  u.filter((g) => g.channelPort !== void 0).forEach((g) => {
2058
- p[g.channelPort.plug + "/" + g.channelPort.name] = !0;
2058
+ h[g.channelPort.plug + "/" + g.channelPort.name] = !0;
2059
2059
  }), u.length && (l.dynamicports = u), Object.keys(a.inputs).forEach(function(g) {
2060
- if (!(d.hasOwnProperty("input/" + g) || p.hasOwnProperty("input/" + g))) {
2060
+ if (!(d.hasOwnProperty("input/" + g) || h.hasOwnProperty("input/" + g))) {
2061
2061
  var b = a.inputs[g];
2062
2062
  b.exportToEditor !== !1 && l.ports.push(formatPort(g, b, "input"));
2063
2063
  }
@@ -2071,7 +2071,7 @@ function generateNodeLibrary(e) {
2071
2071
  b.group && (_.group = b.group), b.displayName && (_.displayName = b.displayName), b.editorName && (_.editorName = b.editorName), b.hasOwnProperty("index") && (_.index = b.index), l.ports.push(_);
2072
2072
  }
2073
2073
  Object.keys(a.outputs).forEach(function(g) {
2074
- if (!(d.hasOwnProperty("output/" + g) || p.hasOwnProperty("output/" + g))) {
2074
+ if (!(d.hasOwnProperty("output/" + g) || h.hasOwnProperty("output/" + g))) {
2075
2075
  var b = a.outputs[g];
2076
2076
  f(g, b);
2077
2077
  }
@@ -2931,18 +2931,18 @@ function defineNode(e) {
2931
2931
  }), r = function(s, a, l) {
2932
2932
  const u = new o(s, a);
2933
2933
  return u._inputs = Object.create(n), Object.keys(e.inputs).forEach(function(d) {
2934
- var p = e.inputs[d];
2935
- p.valueChangedToTrue && (u._inputs[d] = {
2934
+ var h = e.inputs[d];
2935
+ h.valueChangedToTrue && (u._inputs[d] = {
2936
2936
  set: createSetter({
2937
- valueChangedToTrue: p.valueChangedToTrue
2937
+ valueChangedToTrue: h.valueChangedToTrue
2938
2938
  })
2939
2939
  });
2940
2940
  }), Object.keys(e.outputs).forEach(function(d) {
2941
- var p = e.outputs[d];
2942
- p.type === "signal" ? u.registerOutput(d, {
2941
+ var h = e.outputs[d];
2942
+ h.type === "signal" ? u.registerOutput(d, {
2943
2943
  getter() {
2944
2944
  }
2945
- }) : u.registerOutput(d, p);
2945
+ }) : u.registerOutput(d, h);
2946
2946
  }), e.numberedInputs && registerNumberedInputs(u, e.numberedInputs), u.nodeScope = l, initializeDefaultValues(u._inputValues, t.inputs), e.initialize.call(u), u;
2947
2947
  };
2948
2948
  return r.metadata = t, e.numberedInputs && registerSetupFunctionForNumberedInputs(
@@ -2957,16 +2957,16 @@ function registerSetupFunctionForNumberedInputs(e, t, n) {
2957
2957
  const a = r.editorConnection;
2958
2958
  if (!a || !a.isRunningLocally())
2959
2959
  return;
2960
- function l(d, p, f) {
2960
+ function l(d, h, f) {
2961
2961
  const g = d.component.getConnectionsTo(d.id).map((A) => A.targetPort), b = Object.keys(d.parameters).concat(g).filter(
2962
- (A) => A.startsWith(p + " ")
2962
+ (A) => A.startsWith(h + " ")
2963
2963
  ), _ = (b.length ? 1 + Math.max(
2964
- ...b.map((A) => Number(A.slice(p.length + 1)))
2964
+ ...b.map((A) => Number(A.slice(h.length + 1)))
2965
2965
  ) : 0) + 1, T = [];
2966
2966
  for (let A = 0; A < _; A++) {
2967
2967
  const v = {
2968
- name: p + " " + A,
2969
- displayName: (f.displayPrefix || p) + " " + A,
2968
+ name: h + " " + A,
2969
+ displayName: (f.displayPrefix || h) + " " + A,
2970
2970
  type: f.type,
2971
2971
  plug: "input",
2972
2972
  group: f.group
@@ -2976,10 +2976,10 @@ function registerSetupFunctionForNumberedInputs(e, t, n) {
2976
2976
  return T;
2977
2977
  }
2978
2978
  function u(d) {
2979
- const p = o.map(
2979
+ const h = o.map(
2980
2980
  (f) => l(d, f, n[f])
2981
2981
  ).flat();
2982
- a.sendDynamicPorts(d.id, p);
2982
+ a.sendDynamicPorts(d.id, h);
2983
2983
  }
2984
2984
  s.on("nodeAdded." + t, (d) => {
2985
2985
  u(d), d.on("parameterUpdated", () => {
@@ -3008,9 +3008,9 @@ function difference$1(e, t) {
3008
3008
  }
3009
3009
  async function handleEvent(e, t, n) {
3010
3010
  function o(l, u) {
3011
- var d = {}, p = {};
3011
+ var d = {}, h = {};
3012
3012
  u.forEach(function(v) {
3013
- v && v.plug === "outputs" && (v.plug = "output"), (v.plug === "input" || v.plug === "input/output") && (d[v.name] = v), (v.plug === "output" || v.plug === "input/output") && (p[v.name] = v);
3013
+ v && v.plug === "outputs" && (v.plug = "output"), (v.plug === "input" || v.plug === "input/output") && (d[v.name] = v), (v.plug === "output" || v.plug === "input/output") && (h[v.name] = v);
3014
3014
  });
3015
3015
  var f = Object.keys(l.getInputPorts()), g = difference$1(
3016
3016
  f,
@@ -3025,24 +3025,24 @@ async function handleEvent(e, t, n) {
3025
3025
  v,
3026
3026
  l.parameters[v]
3027
3027
  );
3028
- }), l.updateOutputPortTypes(p);
3028
+ }), l.updateOutputPortTypes(h);
3029
3029
  var _ = Object.keys(l.getOutputPorts()), T = difference$1(
3030
3030
  _,
3031
- Object.keys(p)
3031
+ Object.keys(h)
3032
3032
  ), A = difference$1(
3033
- Object.keys(p),
3033
+ Object.keys(h),
3034
3034
  _
3035
3035
  );
3036
3036
  T.forEach(
3037
3037
  l.removeOutputPortWithName.bind(l)
3038
3038
  ), A.forEach(function(v) {
3039
- l.addOutputPort(p[v]);
3039
+ l.addOutputPort(h[v]);
3040
3040
  });
3041
3041
  }
3042
- function r(l, u, d, p) {
3042
+ function r(l, u, d, h) {
3043
3043
  var f = l.getNodesWithIdRecursive(u.id);
3044
3044
  f.forEach(function(g) {
3045
- g.queueInput(d, p);
3045
+ g.queueInput(d, h);
3046
3046
  });
3047
3047
  }
3048
3048
  var s;
@@ -3091,8 +3091,8 @@ async function handleEvent(e, t, n) {
3091
3091
  const d = new Set(
3092
3092
  Object.keys(l.parameters).concat(Object.keys(l.oldParameters))
3093
3093
  );
3094
- for (const p of d)
3095
- u.setParameter(p, l.parameters[p]);
3094
+ for (const h of d)
3095
+ u.setParameter(h, l.parameters[h]);
3096
3096
  }
3097
3097
  l.parameterName && u.setParameter(
3098
3098
  l.parameterName,
@@ -3906,8 +3906,8 @@ const RunTasksDefinition = {
3906
3906
  var l = this.status, u = this.getResponseHeader("content-type"), d = this.response;
3907
3907
  if (delete this._xhr, u) {
3908
3908
  u = u.toLowerCase();
3909
- const p = u.indexOf("json") !== -1 ? JSON.parse(d) : d;
3910
- o.doResponse(l, p, e), a = !0;
3909
+ const h = u.indexOf("json") !== -1 ? JSON.parse(d) : d;
3910
+ o.doResponse(l, h, e), a = !0;
3911
3911
  }
3912
3912
  a === !1 && o.doResponse(l, d, e);
3913
3913
  }
@@ -3999,26 +3999,26 @@ function _parseScriptForErrors(e, t, n, o, r, s) {
3999
3999
  o.id,
4000
4000
  "rest-parse-waring-" + n
4001
4001
  );
4002
- } catch (p) {
4002
+ } catch (h) {
4003
4003
  r.editorConnection.sendWarning(
4004
4004
  o.component.name,
4005
4005
  o.id,
4006
4006
  "rest-parse-waring-" + n,
4007
4007
  {
4008
- message: "<strong>" + n + "</strong>: " + p.message,
4008
+ message: "<strong>" + n + "</strong>: " + h.message,
4009
4009
  showGlobally: !0
4010
4010
  }
4011
4011
  );
4012
4012
  }
4013
- function a(p) {
4014
- return s.find((f) => f.name === p) !== void 0;
4013
+ function a(h) {
4014
+ return s.find((f) => f.name === h) !== void 0;
4015
4015
  }
4016
4016
  const l = e.replace(/\/\*[\s\S]*?\*\/|\/\/.*/g, ""), u = l.match(/Inputs\.[A-Za-z0-9]+/g);
4017
4017
  if (u) {
4018
- const p = {};
4018
+ const h = {};
4019
4019
  u.forEach((f) => {
4020
- p[f.substring(7)] = !0;
4021
- }), Object.keys(p).forEach((f) => {
4020
+ h[f.substring(7)] = !0;
4021
+ }), Object.keys(h).forEach((f) => {
4022
4022
  a("in-" + f) || s.push({
4023
4023
  name: "in-" + f,
4024
4024
  displayName: f,
@@ -4030,10 +4030,10 @@ function _parseScriptForErrors(e, t, n, o, r, s) {
4030
4030
  }
4031
4031
  const d = l.match(/Outputs\.[A-Za-z0-9]+/g);
4032
4032
  if (d) {
4033
- const p = {};
4033
+ const h = {};
4034
4034
  d.forEach((f) => {
4035
- p[f.substring(8)] = !0;
4036
- }), Object.keys(p).forEach((f) => {
4035
+ h[f.substring(8)] = !0;
4036
+ }), Object.keys(h).forEach((f) => {
4037
4037
  a("out-" + f) || s.push({
4038
4038
  name: "out-" + f,
4039
4039
  displayName: f,
@@ -4063,10 +4063,10 @@ const RestNode$1 = {
4063
4063
  if (o.parameters.resource) {
4064
4064
  var l = o.parameters.resource.match(/\{[A-Za-z0-9_]*\}/g);
4065
4065
  for (var u in l) {
4066
- var d = l[u], p = d.replace("{", "").replace("}", "");
4067
- a("in-" + p) || s.push({
4068
- name: "in-" + p,
4069
- displayName: p,
4066
+ var d = l[u], h = d.replace("{", "").replace("}", "");
4067
+ a("in-" + h) || s.push({
4068
+ name: "in-" + h,
4069
+ displayName: h,
4070
4070
  type: "string",
4071
4071
  plug: "input",
4072
4072
  group: "Inputs"
@@ -4110,7 +4110,7 @@ var lodash_difference, hasRequiredLodash_difference;
4110
4110
  function requireLodash_difference() {
4111
4111
  if (hasRequiredLodash_difference) return lodash_difference;
4112
4112
  hasRequiredLodash_difference = 1;
4113
- var e = 200, t = "__lodash_hash_undefined__", n = 9007199254740991, o = "[object Arguments]", r = "[object Function]", s = "[object GeneratorFunction]", a = /[\\^$.*+?()[\]{}|]/g, l = /^\[object .+?Constructor\]$/, u = typeof commonjsGlobal$1 == "object" && commonjsGlobal$1 && commonjsGlobal$1.Object === Object && commonjsGlobal$1, d = typeof self == "object" && self && self.Object === Object && self, p = u || d || Function("return this")();
4113
+ var e = 200, t = "__lodash_hash_undefined__", n = 9007199254740991, o = "[object Arguments]", r = "[object Function]", s = "[object GeneratorFunction]", a = /[\\^$.*+?()[\]{}|]/g, l = /^\[object .+?Constructor\]$/, u = typeof commonjsGlobal$1 == "object" && commonjsGlobal$1 && commonjsGlobal$1.Object === Object && commonjsGlobal$1, d = typeof self == "object" && self && self.Object === Object && self, h = u || d || Function("return this")();
4114
4114
  function f(C, x, V) {
4115
4115
  switch (V.length) {
4116
4116
  case 0:
@@ -4165,12 +4165,12 @@ function requireLodash_difference() {
4165
4165
  }
4166
4166
  return x;
4167
4167
  }
4168
- var N = Array.prototype, w = Function.prototype, E = Object.prototype, F = p["__core-js_shared__"], L = function() {
4168
+ var N = Array.prototype, w = Function.prototype, E = Object.prototype, F = h["__core-js_shared__"], L = function() {
4169
4169
  var C = /[^.]+$/.exec(F && F.keys && F.keys.IE_PROTO || "");
4170
4170
  return C ? "Symbol(src)_1." + C : "";
4171
4171
  }(), B = w.toString, H = E.hasOwnProperty, J = E.toString, ie = RegExp(
4172
4172
  "^" + B.call(H).replace(a, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
4173
- ), pe = p.Symbol, xe = E.propertyIsEnumerable, Me = N.splice, ae = pe ? pe.isConcatSpreadable : void 0, Ie = Math.max, Te = Se(p, "Map"), Ne = Se(Object, "create");
4173
+ ), pe = h.Symbol, xe = E.propertyIsEnumerable, Me = N.splice, ae = pe ? pe.isConcatSpreadable : void 0, Ie = Math.max, Te = Se(h, "Map"), Ne = Se(Object, "create");
4174
4174
  function me(C) {
4175
4175
  var x = -1, V = C ? C.length : 0;
4176
4176
  for (this.clear(); ++x < V; ) {
@@ -4271,7 +4271,7 @@ function requireLodash_difference() {
4271
4271
  Re.prototype.add = Re.prototype.push = We, Re.prototype.has = st;
4272
4272
  function K(C, x) {
4273
4273
  for (var V = C.length; V--; )
4274
- if (h(C[V][0], x))
4274
+ if (p(C[V][0], x))
4275
4275
  return V;
4276
4276
  return -1;
4277
4277
  }
@@ -4350,7 +4350,7 @@ function requireLodash_difference() {
4350
4350
  var c = ye(function(C, x) {
4351
4351
  return M(C) ? et(C, tt(x, 1, M)) : [];
4352
4352
  });
4353
- function h(C, x) {
4353
+ function p(C, x) {
4354
4354
  return C === x || C !== C && x !== x;
4355
4355
  }
4356
4356
  function y(C) {
@@ -5247,11 +5247,11 @@ Object.defineProperty(Array.prototype, "set", {
5247
5247
  if (e === this) return;
5248
5248
  e = e || [];
5249
5249
  function o(d) {
5250
- for (var p = {}, f = d.length, g = 0; g < f; g++) {
5250
+ for (var h = {}, f = d.length, g = 0; g < f; g++) {
5251
5251
  var b = d[g];
5252
- p[b.getId()] = b;
5252
+ h[b.getId()] = b;
5253
5253
  }
5254
- return p;
5254
+ return h;
5255
5255
  }
5256
5256
  var r = [];
5257
5257
  for (t = e.length, n = 0; n < t; n++) {
@@ -5366,8 +5366,8 @@ function convertVisualFilter(e, t) {
5366
5366
  return convertVisualFilter(e.rules[0], t);
5367
5367
  {
5368
5368
  const u = {}, d = "$" + e.combinator;
5369
- return u[d] = [], e.rules.forEach((p) => {
5370
- var f = convertVisualFilter(p, t);
5369
+ return u[d] = [], e.rules.forEach((h) => {
5370
+ var f = convertVisualFilter(h, t);
5371
5371
  f !== void 0 && u[d].push(f);
5372
5372
  }), u;
5373
5373
  }
@@ -5786,10 +5786,10 @@ var DbCollectionNode$2 = {
5786
5786
  const d = this._internal.visualFilter !== void 0 ? convertVisualFilter(this._internal.visualFilter, {
5787
5787
  queryParameters: this._internal.queryParameters,
5788
5788
  collectionName: this._internal.name
5789
- }) : void 0, p = this._internal.visualSorting !== void 0 ? convertVisualSorting(this._internal.visualSorting) : void 0;
5789
+ }) : void 0, h = this._internal.visualSorting !== void 0 ? convertVisualSorting(this._internal.visualSorting) : void 0;
5790
5790
  return {
5791
5791
  where: d,
5792
- sort: p
5792
+ sort: h
5793
5793
  };
5794
5794
  } else if (e.storageFilterType === "json") {
5795
5795
  if (!this._internal.filterFunc)
@@ -5798,12 +5798,12 @@ var DbCollectionNode$2 = {
5798
5798
  t = t.replace(/\/\*[\s\S]*?\*\/|\/\/.*/g, ""), this._internal.filterVariables = t.match(/\$[A-Za-z0-9]+/g) || [];
5799
5799
  var n = ["filter", "where", "sort", "Inputs"].concat(this._internal.filterVariables).concat([t]);
5800
5800
  this._internal.filterFunc = Function.apply(null, n);
5801
- } catch (p) {
5802
- this._internal.filterFunc = void 0, console.log("Error while parsing filter script: " + p);
5801
+ } catch (h) {
5802
+ this._internal.filterFunc = void 0, console.log("Error while parsing filter script: " + h);
5803
5803
  }
5804
5804
  if (!this._internal.filterFunc) return;
5805
- var o = {}, r = [], s = this, a = function(p) {
5806
- o = convertFilterOp(p, {
5805
+ var o = {}, r = [], s = this, a = function(h) {
5806
+ o = convertFilterOp(h, {
5807
5807
  collectionName: s._internal.name,
5808
5808
  error(f) {
5809
5809
  s.context.editorConnection.sendWarning(
@@ -5816,22 +5816,22 @@ var DbCollectionNode$2 = {
5816
5816
  );
5817
5817
  }
5818
5818
  });
5819
- }, l = function(p) {
5820
- r = p;
5819
+ }, l = function(h) {
5820
+ r = h;
5821
5821
  };
5822
5822
  const d = {};
5823
- for (let p in e)
5824
- p.startsWith("storageFilterValue-") && (d[p.substring(19)] = e[p]);
5823
+ for (let h in e)
5824
+ h.startsWith("storageFilterValue-") && (d[h.substring(19)] = e[h]);
5825
5825
  var u = [a, a, l, d];
5826
- this._internal.filterVariables.forEach((p) => {
5826
+ this._internal.filterVariables.forEach((h) => {
5827
5827
  u.push(
5828
- e["storageFilterValue-" + p.substring(1)]
5828
+ e["storageFilterValue-" + h.substring(1)]
5829
5829
  );
5830
5830
  });
5831
5831
  try {
5832
5832
  this._internal.filterFunc.apply(this, u);
5833
- } catch (p) {
5834
- console.log("Error while running filter script: " + p);
5833
+ } catch (h) {
5834
+ console.log("Error while running filter script: " + h);
5835
5835
  }
5836
5836
  return { where: o, sort: r };
5837
5837
  }
@@ -6025,10 +6025,10 @@ function updatePorts$6$1(e, t, n, o) {
6025
6025
  var d = t.storageJSONFilter;
6026
6026
  if (d) {
6027
6027
  d = d.replace(/\/\*[\s\S]*?\*\/|\/\/.*/g, "");
6028
- var p = d.match(/\$[A-Za-z0-9]+/g);
6029
- if (p) {
6028
+ var h = d.match(/\$[A-Za-z0-9]+/g);
6029
+ if (h) {
6030
6030
  const f = {};
6031
- p.forEach((g) => {
6031
+ h.forEach((g) => {
6032
6032
  f[g] = !0;
6033
6033
  }), Object.keys(f).forEach((g) => {
6034
6034
  r.push({
@@ -6331,9 +6331,9 @@ function updatePorts$5$1(e, t, n, o) {
6331
6331
  var u = s.find((g) => g.name === t.collectionName);
6332
6332
  if (u === void 0 && a && (u = a.find((g) => g.name === t.collectionName)), u && u.schema && u.schema.properties) {
6333
6333
  var d = u.schema.properties;
6334
- for (var p in d) {
6335
- var f = d[p];
6336
- if (!r.find((g) => g.name === p) && f.type !== "Relation") {
6334
+ for (var h in d) {
6335
+ var f = d[h];
6336
+ if (!r.find((g) => g.name === h) && f.type !== "Relation") {
6337
6337
  const g = {
6338
6338
  String: "string",
6339
6339
  Boolean: "boolean",
@@ -6346,14 +6346,14 @@ function updatePorts$5$1(e, t, n, o) {
6346
6346
  },
6347
6347
  plug: "output",
6348
6348
  group: "Properties",
6349
- name: "prop-" + p,
6350
- displayName: p
6349
+ name: "prop-" + h,
6350
+ displayName: h
6351
6351
  }), r.push({
6352
6352
  type: "signal",
6353
6353
  plug: "output",
6354
6354
  group: "Changed Events",
6355
- displayName: p + " Changed",
6356
- name: "changed-" + p
6355
+ displayName: h + " Changed",
6356
+ name: "changed-" + h
6357
6357
  });
6358
6358
  }
6359
6359
  }
@@ -6461,7 +6461,7 @@ function addBaseInfo$1(e, t) {
6461
6461
  function a(l) {
6462
6462
  function u() {
6463
6463
  var d = [];
6464
- const p = s.getMetaData("dbCollections"), f = s.getMetaData("systemCollections"), g = [
6464
+ const h = s.getMetaData("dbCollections"), f = s.getMetaData("systemCollections"), g = [
6465
6465
  { label: "User", value: "_User" },
6466
6466
  { label: "Role", value: "_Role" }
6467
6467
  ], b = l.parameters;
@@ -6472,13 +6472,13 @@ function addBaseInfo$1(e, t) {
6472
6472
  type: {
6473
6473
  name: "enum",
6474
6474
  enums: g.concat(
6475
- p !== void 0 ? p.map((I) => ({ value: I.name, label: I.name })) : []
6475
+ h !== void 0 ? h.map((I) => ({ value: I.name, label: I.name })) : []
6476
6476
  ),
6477
6477
  allowEditOnly: !0
6478
6478
  },
6479
6479
  plug: "input"
6480
- }), o && b.collectionName && p) {
6481
- var _ = p.find(
6480
+ }), o && b.collectionName && h) {
6481
+ var _ = h.find(
6482
6482
  (I) => I.name === b.collectionName
6483
6483
  );
6484
6484
  if (_ === void 0 && f && (_ = f.find(
@@ -6494,14 +6494,14 @@ function addBaseInfo$1(e, t) {
6494
6494
  });
6495
6495
  }
6496
6496
  }
6497
- if (n && b.collectionName && p) {
6497
+ if (n && b.collectionName && h) {
6498
6498
  const I = {
6499
6499
  String: "string",
6500
6500
  Boolean: "boolean",
6501
6501
  Number: "number",
6502
6502
  Date: "date"
6503
6503
  };
6504
- var _ = p.find(
6504
+ var _ = h.find(
6505
6505
  (N) => N.name === b.collectionName
6506
6506
  );
6507
6507
  if (_ === void 0 && f && (_ = f.find(
@@ -7461,7 +7461,7 @@ function updatePorts$4$1(e, t, n, o) {
7461
7461
  }
7462
7462
  if (t.visualFilter !== void 0) {
7463
7463
  let l = function(d) {
7464
- d !== void 0 && (d.rules !== void 0 ? d.rules.forEach((p) => l(p)) : d.input !== void 0 && (u[d.input] = !0));
7464
+ d !== void 0 && (d.rules !== void 0 ? d.rules.forEach((h) => l(h)) : d.input !== void 0 && (u[d.input] = !0));
7465
7465
  };
7466
7466
  const u = {};
7467
7467
  l(t.visualFilter), Object.keys(u).forEach((d) => {
@@ -9090,8 +9090,8 @@ function updatePorts$1$1(e, t, n, o) {
9090
9090
  for (var l in a)
9091
9091
  if (d.indexOf(l) === -1) {
9092
9092
  var u = a[l];
9093
- if (!r.find((p) => p.name === l) && u.type !== "Relation") {
9094
- const p = {
9093
+ if (!r.find((h) => h.name === l) && u.type !== "Relation") {
9094
+ const h = {
9095
9095
  String: "string",
9096
9096
  Boolean: "boolean",
9097
9097
  Number: "number",
@@ -9099,7 +9099,7 @@ function updatePorts$1$1(e, t, n, o) {
9099
9099
  };
9100
9100
  r.push({
9101
9101
  type: {
9102
- name: p[u.type] ? p[u.type] : "*"
9102
+ name: h[u.type] ? h[u.type] : "*"
9103
9103
  },
9104
9104
  plug: "input",
9105
9105
  group: "Properties",
@@ -9344,8 +9344,8 @@ function updatePorts$b(e, t, n, o) {
9344
9344
  for (var l in a)
9345
9345
  if (d.indexOf(l) === -1) {
9346
9346
  var u = a[l];
9347
- if (!r.find((p) => p.name === l) && u.type !== "Relation") {
9348
- const p = {
9347
+ if (!r.find((h) => h.name === l) && u.type !== "Relation") {
9348
+ const h = {
9349
9349
  String: "string",
9350
9350
  Boolean: "boolean",
9351
9351
  Number: "number",
@@ -9353,7 +9353,7 @@ function updatePorts$b(e, t, n, o) {
9353
9353
  };
9354
9354
  r.push({
9355
9355
  type: {
9356
- name: p[u.type] ? p[u.type] : "*"
9356
+ name: h[u.type] ? h[u.type] : "*"
9357
9357
  },
9358
9358
  plug: "output",
9359
9359
  group: "Properties",
@@ -10175,10 +10175,10 @@ function createRecordsAPI(e) {
10175
10175
  select: s ? s.select : void 0,
10176
10176
  count: s ? s.count : void 0,
10177
10177
  success: (u, d) => {
10178
- const p = u.map(
10178
+ const h = u.map(
10179
10179
  (f) => n()._fromJSON(f, o)
10180
10180
  );
10181
- a(d !== void 0 ? { results: p, count: d } : p);
10181
+ a(d !== void 0 ? { results: h, count: d } : h);
10182
10182
  },
10183
10183
  error: (u) => {
10184
10184
  l(Error(u || "Failed to query."));
@@ -10320,14 +10320,14 @@ function createRecordsAPI(e) {
10320
10320
  objectId: o,
10321
10321
  data: r || l.data,
10322
10322
  acl: s ? s.acl : void 0,
10323
- success: (p) => {
10323
+ success: (h) => {
10324
10324
  n()._fromJSON(
10325
- Object.assign({ objectId: o }, p),
10325
+ Object.assign({ objectId: o }, h),
10326
10326
  a
10327
10327
  ), u();
10328
10328
  },
10329
- error: (p) => {
10330
- d(Error(p || "Failed to save."));
10329
+ error: (h) => {
10330
+ d(Error(h || "Failed to save."));
10331
10331
  }
10332
10332
  });
10333
10333
  });
@@ -10380,11 +10380,11 @@ function createRecordsAPI(e) {
10380
10380
  key: o.key,
10381
10381
  targetObjectId: a,
10382
10382
  targetClass: l,
10383
- success: (p) => {
10383
+ success: (h) => {
10384
10384
  u();
10385
10385
  },
10386
- error: (p) => {
10387
- d(Error(p || "Failed to add relation."));
10386
+ error: (h) => {
10387
+ d(Error(h || "Failed to add relation."));
10388
10388
  }
10389
10389
  });
10390
10390
  });
@@ -10400,11 +10400,11 @@ function createRecordsAPI(e) {
10400
10400
  key: o.key,
10401
10401
  targetObjectId: a,
10402
10402
  targetClass: l,
10403
- success: (p) => {
10403
+ success: (h) => {
10404
10404
  u();
10405
10405
  },
10406
- error: (p) => {
10407
- d(Error(p || "Failed to add relation."));
10406
+ error: (h) => {
10407
+ d(Error(h || "Failed to add relation."));
10408
10408
  }
10409
10409
  });
10410
10410
  });
@@ -10793,12 +10793,12 @@ function requireEvents() {
10793
10793
  }, s.prototype.on = s.prototype.addListener, s.prototype.prependListener = function(w, E) {
10794
10794
  return d(this, w, E, !0);
10795
10795
  };
10796
- function p() {
10796
+ function h() {
10797
10797
  if (!this.fired)
10798
10798
  return this.target.removeListener(this.type, this.wrapFn), this.fired = !0, arguments.length === 0 ? this.listener.call(this.target) : this.listener.apply(this.target, arguments);
10799
10799
  }
10800
10800
  function f(N, w, E) {
10801
- var F = { fired: !1, wrapFn: void 0, target: N, type: w, listener: E }, L = p.bind(F);
10801
+ var F = { fired: !1, wrapFn: void 0, target: N, type: w, listener: E }, L = h.bind(F);
10802
10802
  return L.listener = E, F.wrapFn = L, L;
10803
10803
  }
10804
10804
  s.prototype.once = function(w, E) {
@@ -11579,85 +11579,85 @@ var webfontloader = { exports: {} }, hasRequiredWebfontloader;
11579
11579
  function requireWebfontloader() {
11580
11580
  return hasRequiredWebfontloader || (hasRequiredWebfontloader = 1, function(e) {
11581
11581
  (function() {
11582
- function t(c, h, y) {
11582
+ function t(c, p, y) {
11583
11583
  return c.call.apply(c.bind, arguments);
11584
11584
  }
11585
- function n(c, h, y) {
11585
+ function n(c, p, y) {
11586
11586
  if (!c) throw Error();
11587
11587
  if (2 < arguments.length) {
11588
11588
  var S = Array.prototype.slice.call(arguments, 2);
11589
11589
  return function() {
11590
11590
  var O = Array.prototype.slice.call(arguments);
11591
- return Array.prototype.unshift.apply(O, S), c.apply(h, O);
11591
+ return Array.prototype.unshift.apply(O, S), c.apply(p, O);
11592
11592
  };
11593
11593
  }
11594
11594
  return function() {
11595
- return c.apply(h, arguments);
11595
+ return c.apply(p, arguments);
11596
11596
  };
11597
11597
  }
11598
- function o(c, h, y) {
11598
+ function o(c, p, y) {
11599
11599
  return o = Function.prototype.bind && Function.prototype.bind.toString().indexOf("native code") != -1 ? t : n, o.apply(null, arguments);
11600
11600
  }
11601
11601
  var r = Date.now || function() {
11602
11602
  return +/* @__PURE__ */ new Date();
11603
11603
  };
11604
- function s(c, h) {
11605
- this.a = c, this.o = h || c, this.c = this.o.document;
11604
+ function s(c, p) {
11605
+ this.a = c, this.o = p || c, this.c = this.o.document;
11606
11606
  }
11607
11607
  var a = !!window.FontFace;
11608
- function l(c, h, y, S) {
11609
- if (h = c.c.createElement(h), y) for (var O in y) y.hasOwnProperty(O) && (O == "style" ? h.style.cssText = y[O] : h.setAttribute(O, y[O]));
11610
- return S && h.appendChild(c.c.createTextNode(S)), h;
11608
+ function l(c, p, y, S) {
11609
+ if (p = c.c.createElement(p), y) for (var O in y) y.hasOwnProperty(O) && (O == "style" ? p.style.cssText = y[O] : p.setAttribute(O, y[O]));
11610
+ return S && p.appendChild(c.c.createTextNode(S)), p;
11611
11611
  }
11612
- function u(c, h, y) {
11613
- c = c.c.getElementsByTagName(h)[0], c || (c = document.documentElement), c.insertBefore(y, c.lastChild);
11612
+ function u(c, p, y) {
11613
+ c = c.c.getElementsByTagName(p)[0], c || (c = document.documentElement), c.insertBefore(y, c.lastChild);
11614
11614
  }
11615
11615
  function d(c) {
11616
11616
  c.parentNode && c.parentNode.removeChild(c);
11617
11617
  }
11618
- function p(c, h, y) {
11619
- h = h || [], y = y || [];
11620
- for (var S = c.className.split(/\s+/), O = 0; O < h.length; O += 1) {
11621
- for (var M = !1, U = 0; U < S.length; U += 1) if (h[O] === S[U]) {
11618
+ function h(c, p, y) {
11619
+ p = p || [], y = y || [];
11620
+ for (var S = c.className.split(/\s+/), O = 0; O < p.length; O += 1) {
11621
+ for (var M = !1, U = 0; U < S.length; U += 1) if (p[O] === S[U]) {
11622
11622
  M = !0;
11623
11623
  break;
11624
11624
  }
11625
- M || S.push(h[O]);
11625
+ M || S.push(p[O]);
11626
11626
  }
11627
- for (h = [], O = 0; O < S.length; O += 1) {
11627
+ for (p = [], O = 0; O < S.length; O += 1) {
11628
11628
  for (M = !1, U = 0; U < y.length; U += 1) if (S[O] === y[U]) {
11629
11629
  M = !0;
11630
11630
  break;
11631
11631
  }
11632
- M || h.push(S[O]);
11632
+ M || p.push(S[O]);
11633
11633
  }
11634
- c.className = h.join(" ").replace(/\s+/g, " ").replace(/^\s+|\s+$/, "");
11634
+ c.className = p.join(" ").replace(/\s+/g, " ").replace(/^\s+|\s+$/, "");
11635
11635
  }
11636
- function f(c, h) {
11637
- for (var y = c.className.split(/\s+/), S = 0, O = y.length; S < O; S++) if (y[S] == h) return !0;
11636
+ function f(c, p) {
11637
+ for (var y = c.className.split(/\s+/), S = 0, O = y.length; S < O; S++) if (y[S] == p) return !0;
11638
11638
  return !1;
11639
11639
  }
11640
11640
  function g(c) {
11641
11641
  return c.o.location.hostname || c.a.location.hostname;
11642
11642
  }
11643
- function b(c, h, y) {
11643
+ function b(c, p, y) {
11644
11644
  function S() {
11645
11645
  j && O && M && (j(U), j = null);
11646
11646
  }
11647
- h = l(c, "link", { rel: "stylesheet", href: h, media: "all" });
11647
+ p = l(c, "link", { rel: "stylesheet", href: p, media: "all" });
11648
11648
  var O = !1, M = !0, U = null, j = y || null;
11649
- a ? (h.onload = function() {
11649
+ a ? (p.onload = function() {
11650
11650
  O = !0, S();
11651
- }, h.onerror = function() {
11651
+ }, p.onerror = function() {
11652
11652
  O = !0, U = Error("Stylesheet failed to load"), S();
11653
11653
  }) : setTimeout(function() {
11654
11654
  O = !0, S();
11655
- }, 0), u(c, "head", h);
11655
+ }, 0), u(c, "head", p);
11656
11656
  }
11657
- function _(c, h, y, S) {
11657
+ function _(c, p, y, S) {
11658
11658
  var O = c.c.getElementsByTagName("head")[0];
11659
11659
  if (O) {
11660
- var M = l(c, "script", { src: h }), U = !1;
11660
+ var M = l(c, "script", { src: p }), U = !1;
11661
11661
  return M.onload = M.onreadystatechange = function() {
11662
11662
  U || this.readyState && this.readyState != "loaded" && this.readyState != "complete" || (U = !0, y && y(null), M.onload = M.onreadystatechange = null, M.parentNode.tagName == "HEAD" && O.removeChild(M));
11663
11663
  }, O.appendChild(M), setTimeout(function() {
@@ -11674,8 +11674,8 @@ function requireWebfontloader() {
11674
11674
  c.a--, I(c);
11675
11675
  };
11676
11676
  }
11677
- function v(c, h) {
11678
- c.c = h, I(c);
11677
+ function v(c, p) {
11678
+ c.c = p, I(c);
11679
11679
  }
11680
11680
  function I(c) {
11681
11681
  c.a == 0 && c.c && (c.c(), c.c = null);
@@ -11684,66 +11684,66 @@ function requireWebfontloader() {
11684
11684
  this.a = c || "-";
11685
11685
  }
11686
11686
  k.prototype.c = function(c) {
11687
- for (var h = [], y = 0; y < arguments.length; y++) h.push(arguments[y].replace(/[\W_]+/g, "").toLowerCase());
11688
- return h.join(this.a);
11687
+ for (var p = [], y = 0; y < arguments.length; y++) p.push(arguments[y].replace(/[\W_]+/g, "").toLowerCase());
11688
+ return p.join(this.a);
11689
11689
  };
11690
- function N(c, h) {
11690
+ function N(c, p) {
11691
11691
  this.c = c, this.f = 4, this.a = "n";
11692
- var y = (h || "n4").match(/^([nio])([1-9])$/i);
11692
+ var y = (p || "n4").match(/^([nio])([1-9])$/i);
11693
11693
  y && (this.a = y[1], this.f = parseInt(y[2], 10));
11694
11694
  }
11695
11695
  function w(c) {
11696
11696
  return L(c) + " " + (c.f + "00") + " 300px " + E(c.c);
11697
11697
  }
11698
11698
  function E(c) {
11699
- var h = [];
11699
+ var p = [];
11700
11700
  c = c.split(/,\s*/);
11701
11701
  for (var y = 0; y < c.length; y++) {
11702
11702
  var S = c[y].replace(/['"]/g, "");
11703
- S.indexOf(" ") != -1 || /^\d/.test(S) ? h.push("'" + S + "'") : h.push(S);
11703
+ S.indexOf(" ") != -1 || /^\d/.test(S) ? p.push("'" + S + "'") : p.push(S);
11704
11704
  }
11705
- return h.join(",");
11705
+ return p.join(",");
11706
11706
  }
11707
11707
  function F(c) {
11708
11708
  return c.a + c.f;
11709
11709
  }
11710
11710
  function L(c) {
11711
- var h = "normal";
11712
- return c.a === "o" ? h = "oblique" : c.a === "i" && (h = "italic"), h;
11711
+ var p = "normal";
11712
+ return c.a === "o" ? p = "oblique" : c.a === "i" && (p = "italic"), p;
11713
11713
  }
11714
11714
  function B(c) {
11715
- var h = 4, y = "n", S = null;
11716
- return c && ((S = c.match(/(normal|oblique|italic)/i)) && S[1] && (y = S[1].substr(0, 1).toLowerCase()), (S = c.match(/([1-9]00|normal|bold)/i)) && S[1] && (/bold/i.test(S[1]) ? h = 7 : /[1-9]00/.test(S[1]) && (h = parseInt(S[1].substr(0, 1), 10)))), y + h;
11715
+ var p = 4, y = "n", S = null;
11716
+ return c && ((S = c.match(/(normal|oblique|italic)/i)) && S[1] && (y = S[1].substr(0, 1).toLowerCase()), (S = c.match(/([1-9]00|normal|bold)/i)) && S[1] && (/bold/i.test(S[1]) ? p = 7 : /[1-9]00/.test(S[1]) && (p = parseInt(S[1].substr(0, 1), 10)))), y + p;
11717
11717
  }
11718
- function H(c, h) {
11719
- this.c = c, this.f = c.o.document.documentElement, this.h = h, this.a = new k("-"), this.j = h.events !== !1, this.g = h.classes !== !1;
11718
+ function H(c, p) {
11719
+ this.c = c, this.f = c.o.document.documentElement, this.h = p, this.a = new k("-"), this.j = p.events !== !1, this.g = p.classes !== !1;
11720
11720
  }
11721
11721
  function J(c) {
11722
- c.g && p(c.f, [c.a.c("wf", "loading")]), pe(c, "loading");
11722
+ c.g && h(c.f, [c.a.c("wf", "loading")]), pe(c, "loading");
11723
11723
  }
11724
11724
  function ie(c) {
11725
11725
  if (c.g) {
11726
- var h = f(c.f, c.a.c("wf", "active")), y = [], S = [c.a.c("wf", "loading")];
11727
- h || y.push(c.a.c("wf", "inactive")), p(c.f, y, S);
11726
+ var p = f(c.f, c.a.c("wf", "active")), y = [], S = [c.a.c("wf", "loading")];
11727
+ p || y.push(c.a.c("wf", "inactive")), h(c.f, y, S);
11728
11728
  }
11729
11729
  pe(c, "inactive");
11730
11730
  }
11731
- function pe(c, h, y) {
11732
- c.j && c.h[h] && (y ? c.h[h](y.c, F(y)) : c.h[h]());
11731
+ function pe(c, p, y) {
11732
+ c.j && c.h[p] && (y ? c.h[p](y.c, F(y)) : c.h[p]());
11733
11733
  }
11734
11734
  function xe() {
11735
11735
  this.c = {};
11736
11736
  }
11737
- function Me(c, h, y) {
11737
+ function Me(c, p, y) {
11738
11738
  var S = [], O;
11739
- for (O in h) if (h.hasOwnProperty(O)) {
11739
+ for (O in p) if (p.hasOwnProperty(O)) {
11740
11740
  var M = c.c[O];
11741
- M && S.push(M(h[O], y));
11741
+ M && S.push(M(p[O], y));
11742
11742
  }
11743
11743
  return S;
11744
11744
  }
11745
- function ae(c, h) {
11746
- this.c = c, this.f = h, this.a = l(this.c, "span", { "aria-hidden": "true" }, this.f);
11745
+ function ae(c, p) {
11746
+ this.c = c, this.f = p, this.a = l(this.c, "span", { "aria-hidden": "true" }, this.f);
11747
11747
  }
11748
11748
  function Ie(c) {
11749
11749
  u(c.c, "body", c.a);
@@ -11751,13 +11751,13 @@ function requireWebfontloader() {
11751
11751
  function Te(c) {
11752
11752
  return "display:block;position:absolute;top:-9999px;left:-9999px;font-size:300px;width:auto;height:auto;line-height:normal;margin:0;padding:0;font-variant:normal;white-space:nowrap;font-family:" + E(c.c) + ";" + ("font-style:" + L(c) + ";font-weight:" + (c.f + "00") + ";");
11753
11753
  }
11754
- function Ne(c, h, y, S, O, M) {
11755
- this.g = c, this.j = h, this.a = S, this.c = y, this.f = O || 3e3, this.h = M || void 0;
11754
+ function Ne(c, p, y, S, O, M) {
11755
+ this.g = c, this.j = p, this.a = S, this.c = y, this.f = O || 3e3, this.h = M || void 0;
11756
11756
  }
11757
11757
  Ne.prototype.start = function() {
11758
- var c = this.c.o.document, h = this, y = r(), S = new Promise(function(U, j) {
11758
+ var c = this.c.o.document, p = this, y = r(), S = new Promise(function(U, j) {
11759
11759
  function z() {
11760
- r() - y >= h.f ? j() : c.fonts.load(w(h.a), h.h).then(function(q) {
11760
+ r() - y >= p.f ? j() : c.fonts.load(w(p.a), p.h).then(function(q) {
11761
11761
  1 <= q.length ? U() : setTimeout(z, 25);
11762
11762
  }, function() {
11763
11763
  j();
@@ -11765,16 +11765,16 @@ function requireWebfontloader() {
11765
11765
  }
11766
11766
  z();
11767
11767
  }), O = null, M = new Promise(function(U, j) {
11768
- O = setTimeout(j, h.f);
11768
+ O = setTimeout(j, p.f);
11769
11769
  });
11770
11770
  Promise.race([M, S]).then(function() {
11771
- O && (clearTimeout(O), O = null), h.g(h.a);
11771
+ O && (clearTimeout(O), O = null), p.g(p.a);
11772
11772
  }, function() {
11773
- h.j(h.a);
11773
+ p.j(p.a);
11774
11774
  });
11775
11775
  };
11776
- function me(c, h, y, S, O, M, U) {
11777
- this.v = c, this.B = h, this.c = y, this.a = S, this.s = U || "BESbswy", this.f = {}, this.w = O || 3e3, this.u = M || null, this.m = this.j = this.h = this.g = null, this.g = new ae(this.c, this.s), this.h = new ae(this.c, this.s), this.j = new ae(this.c, this.s), this.m = new ae(this.c, this.s), c = new N(this.a.c + ",serif", F(this.a)), c = Te(c), this.g.a.style.cssText = c, c = new N(this.a.c + ",sans-serif", F(this.a)), c = Te(c), this.h.a.style.cssText = c, c = new N("serif", F(this.a)), c = Te(c), this.j.a.style.cssText = c, c = new N("sans-serif", F(this.a)), c = Te(c), this.m.a.style.cssText = c, Ie(this.g), Ie(this.h), Ie(this.j), Ie(this.m);
11776
+ function me(c, p, y, S, O, M, U) {
11777
+ this.v = c, this.B = p, this.c = y, this.a = S, this.s = U || "BESbswy", this.f = {}, this.w = O || 3e3, this.u = M || null, this.m = this.j = this.h = this.g = null, this.g = new ae(this.c, this.s), this.h = new ae(this.c, this.s), this.j = new ae(this.c, this.s), this.m = new ae(this.c, this.s), c = new N(this.a.c + ",serif", F(this.a)), c = Te(c), this.g.a.style.cssText = c, c = new N(this.a.c + ",sans-serif", F(this.a)), c = Te(c), this.h.a.style.cssText = c, c = new N("serif", F(this.a)), c = Te(c), this.j.a.style.cssText = c, c = new N("sans-serif", F(this.a)), c = Te(c), this.m.a.style.cssText = c, Ie(this.g), Ie(this.h), Ie(this.j), Ie(this.m);
11778
11778
  }
11779
11779
  var Ee = { D: "serif", C: "sans-serif" }, Ae = null;
11780
11780
  function qe() {
@@ -11787,41 +11787,41 @@ function requireWebfontloader() {
11787
11787
  me.prototype.start = function() {
11788
11788
  this.f.serif = this.j.a.offsetWidth, this.f["sans-serif"] = this.m.a.offsetWidth, this.A = r(), Y(this);
11789
11789
  };
11790
- function Fe(c, h, y) {
11791
- for (var S in Ee) if (Ee.hasOwnProperty(S) && h === c.f[Ee[S]] && y === c.f[Ee[S]]) return !0;
11790
+ function Fe(c, p, y) {
11791
+ for (var S in Ee) if (Ee.hasOwnProperty(S) && p === c.f[Ee[S]] && y === c.f[Ee[S]]) return !0;
11792
11792
  return !1;
11793
11793
  }
11794
11794
  function Y(c) {
11795
- var h = c.g.a.offsetWidth, y = c.h.a.offsetWidth, S;
11796
- (S = h === c.f.serif && y === c.f["sans-serif"]) || (S = qe() && Fe(c, h, y)), S ? r() - c.A >= c.w ? qe() && Fe(c, h, y) && (c.u === null || c.u.hasOwnProperty(c.a.c)) ? Ve(c, c.v) : Ve(c, c.B) : ve(c) : Ve(c, c.v);
11795
+ var p = c.g.a.offsetWidth, y = c.h.a.offsetWidth, S;
11796
+ (S = p === c.f.serif && y === c.f["sans-serif"]) || (S = qe() && Fe(c, p, y)), S ? r() - c.A >= c.w ? qe() && Fe(c, p, y) && (c.u === null || c.u.hasOwnProperty(c.a.c)) ? Ve(c, c.v) : Ve(c, c.B) : ve(c) : Ve(c, c.v);
11797
11797
  }
11798
11798
  function ve(c) {
11799
11799
  setTimeout(o(function() {
11800
11800
  Y(this);
11801
11801
  }, c), 50);
11802
11802
  }
11803
- function Ve(c, h) {
11803
+ function Ve(c, p) {
11804
11804
  setTimeout(o(function() {
11805
- d(this.g.a), d(this.h.a), d(this.j.a), d(this.m.a), h(this.a);
11805
+ d(this.g.a), d(this.h.a), d(this.j.a), d(this.m.a), p(this.a);
11806
11806
  }, c), 0);
11807
11807
  }
11808
- function re(c, h, y) {
11809
- this.c = c, this.a = h, this.f = 0, this.m = this.j = !1, this.s = y;
11808
+ function re(c, p, y) {
11809
+ this.c = c, this.a = p, this.f = 0, this.m = this.j = !1, this.s = y;
11810
11810
  }
11811
11811
  var Oe = null;
11812
11812
  re.prototype.g = function(c) {
11813
- var h = this.a;
11814
- h.g && p(h.f, [h.a.c("wf", c.c, F(c).toString(), "active")], [h.a.c("wf", c.c, F(c).toString(), "loading"), h.a.c("wf", c.c, F(c).toString(), "inactive")]), pe(h, "fontactive", c), this.m = !0, $e(this);
11813
+ var p = this.a;
11814
+ p.g && h(p.f, [p.a.c("wf", c.c, F(c).toString(), "active")], [p.a.c("wf", c.c, F(c).toString(), "loading"), p.a.c("wf", c.c, F(c).toString(), "inactive")]), pe(p, "fontactive", c), this.m = !0, $e(this);
11815
11815
  }, re.prototype.h = function(c) {
11816
- var h = this.a;
11817
- if (h.g) {
11818
- var y = f(h.f, h.a.c("wf", c.c, F(c).toString(), "active")), S = [], O = [h.a.c("wf", c.c, F(c).toString(), "loading")];
11819
- y || S.push(h.a.c("wf", c.c, F(c).toString(), "inactive")), p(h.f, S, O);
11816
+ var p = this.a;
11817
+ if (p.g) {
11818
+ var y = f(p.f, p.a.c("wf", c.c, F(c).toString(), "active")), S = [], O = [p.a.c("wf", c.c, F(c).toString(), "loading")];
11819
+ y || S.push(p.a.c("wf", c.c, F(c).toString(), "inactive")), h(p.f, S, O);
11820
11820
  }
11821
- pe(h, "fontinactive", c), $e(this);
11821
+ pe(p, "fontinactive", c), $e(this);
11822
11822
  };
11823
11823
  function $e(c) {
11824
- --c.f == 0 && c.j && (c.m ? (c = c.a, c.g && p(c.f, [c.a.c("wf", "active")], [c.a.c("wf", "loading"), c.a.c("wf", "inactive")]), pe(c, "active")) : ie(c.a));
11824
+ --c.f == 0 && c.j && (c.m ? (c = c.a, c.g && h(c.f, [c.a.c("wf", "active")], [c.a.c("wf", "loading"), c.a.c("wf", "inactive")]), pe(c, "active")) : ie(c.a));
11825
11825
  }
11826
11826
  function Le(c) {
11827
11827
  this.j = c, this.a = new xe(), this.h = 0, this.f = this.g = !0;
@@ -11829,39 +11829,39 @@ function requireWebfontloader() {
11829
11829
  Le.prototype.load = function(c) {
11830
11830
  this.c = new s(this.j, c.context || this.j), this.g = c.events !== !1, this.f = c.classes !== !1, Xe(this, new H(this.c, c), c);
11831
11831
  };
11832
- function fe(c, h, y, S, O) {
11832
+ function fe(c, p, y, S, O) {
11833
11833
  var M = --c.h == 0;
11834
11834
  (c.f || c.g) && setTimeout(function() {
11835
11835
  var U = O || null, j = S || null || {};
11836
- if (y.length === 0 && M) ie(h.a);
11836
+ if (y.length === 0 && M) ie(p.a);
11837
11837
  else {
11838
- h.f += y.length, M && (h.j = M);
11838
+ p.f += y.length, M && (p.j = M);
11839
11839
  var z, q = [];
11840
11840
  for (z = 0; z < y.length; z++) {
11841
- var C = y[z], x = j[C.c], V = h.a, G = C;
11842
- if (V.g && p(V.f, [V.a.c("wf", G.c, F(G).toString(), "loading")]), pe(V, "fontloading", G), V = null, Oe === null) if (window.FontFace) {
11841
+ var C = y[z], x = j[C.c], V = p.a, G = C;
11842
+ if (V.g && h(V.f, [V.a.c("wf", G.c, F(G).toString(), "loading")]), pe(V, "fontloading", G), V = null, Oe === null) if (window.FontFace) {
11843
11843
  var G = /Gecko.*Firefox\/(\d+)/.exec(window.navigator.userAgent), ee = /OS X.*Version\/10\..*Safari/.exec(window.navigator.userAgent) && /Apple/.exec(window.navigator.vendor);
11844
11844
  Oe = G ? 42 < parseInt(G[1], 10) : !ee;
11845
11845
  } else Oe = !1;
11846
- Oe ? V = new Ne(o(h.g, h), o(h.h, h), h.c, C, h.s, x) : V = new me(o(h.g, h), o(h.h, h), h.c, C, h.s, U, x), q.push(V);
11846
+ Oe ? V = new Ne(o(p.g, p), o(p.h, p), p.c, C, p.s, x) : V = new me(o(p.g, p), o(p.h, p), p.c, C, p.s, U, x), q.push(V);
11847
11847
  }
11848
11848
  for (z = 0; z < q.length; z++) q[z].start();
11849
11849
  }
11850
11850
  }, 0);
11851
11851
  }
11852
- function Xe(c, h, y) {
11852
+ function Xe(c, p, y) {
11853
11853
  var O = [], S = y.timeout;
11854
- J(h);
11855
- var O = Me(c.a, y, c.c), M = new re(c.c, h, S);
11856
- for (c.h = O.length, h = 0, y = O.length; h < y; h++) O[h].load(function(U, j, z) {
11854
+ J(p);
11855
+ var O = Me(c.a, y, c.c), M = new re(c.c, p, S);
11856
+ for (c.h = O.length, p = 0, y = O.length; p < y; p++) O[p].load(function(U, j, z) {
11857
11857
  fe(c, M, U, j, z);
11858
11858
  });
11859
11859
  }
11860
- function Be(c, h) {
11861
- this.c = c, this.a = h;
11860
+ function Be(c, p) {
11861
+ this.c = c, this.a = p;
11862
11862
  }
11863
11863
  Be.prototype.load = function(c) {
11864
- function h() {
11864
+ function p() {
11865
11865
  if (M["__mti_fntLst" + S]) {
11866
11866
  var U = M["__mti_fntLst" + S](), j = [], z;
11867
11867
  if (U) for (var q = 0; q < U.length; q++) {
@@ -11870,7 +11870,7 @@ function requireWebfontloader() {
11870
11870
  }
11871
11871
  c(j);
11872
11872
  } else setTimeout(function() {
11873
- h();
11873
+ p();
11874
11874
  }, 50);
11875
11875
  }
11876
11876
  var y = this, S = y.a.projectId, O = y.a.version;
@@ -11879,30 +11879,30 @@ function requireWebfontloader() {
11879
11879
  _(this.c, (y.a.api || "https://fast.fonts.net/jsapi") + "/" + S + ".js" + (O ? "?v=" + O : ""), function(U) {
11880
11880
  U ? c([]) : (M["__MonotypeConfiguration__" + S] = function() {
11881
11881
  return y.a;
11882
- }, h());
11882
+ }, p());
11883
11883
  }).id = "__MonotypeAPIScript__" + S;
11884
11884
  } else c([]);
11885
11885
  };
11886
- function De(c, h) {
11887
- this.c = c, this.a = h;
11886
+ function De(c, p) {
11887
+ this.c = c, this.a = p;
11888
11888
  }
11889
11889
  De.prototype.load = function(c) {
11890
- var h, y, S = this.a.urls || [], O = this.a.families || [], M = this.a.testStrings || {}, U = new T();
11891
- for (h = 0, y = S.length; h < y; h++) b(this.c, S[h], A(U));
11890
+ var p, y, S = this.a.urls || [], O = this.a.families || [], M = this.a.testStrings || {}, U = new T();
11891
+ for (p = 0, y = S.length; p < y; p++) b(this.c, S[p], A(U));
11892
11892
  var j = [];
11893
- for (h = 0, y = O.length; h < y; h++) if (S = O[h].split(":"), S[1]) for (var z = S[1].split(","), q = 0; q < z.length; q += 1) j.push(new N(S[0], z[q]));
11893
+ for (p = 0, y = O.length; p < y; p++) if (S = O[p].split(":"), S[1]) for (var z = S[1].split(","), q = 0; q < z.length; q += 1) j.push(new N(S[0], z[q]));
11894
11894
  else j.push(new N(S[0]));
11895
11895
  v(U, function() {
11896
11896
  c(j, M);
11897
11897
  });
11898
11898
  };
11899
- function Ue(c, h) {
11900
- c ? this.c = c : this.c = je, this.a = [], this.f = [], this.g = h || "";
11899
+ function Ue(c, p) {
11900
+ c ? this.c = c : this.c = je, this.a = [], this.f = [], this.g = p || "";
11901
11901
  }
11902
11902
  var je = "https://fonts.googleapis.com/css";
11903
- function Re(c, h) {
11904
- for (var y = h.length, S = 0; S < y; S++) {
11905
- var O = h[S].split(":");
11903
+ function Re(c, p) {
11904
+ for (var y = p.length, S = 0; S < y; S++) {
11905
+ var O = p[S].split(":");
11906
11906
  O.length == 3 && c.f.push(O.pop());
11907
11907
  var M = "";
11908
11908
  O.length == 2 && O[1] != "" && (M = ":"), c.a.push(O.join(M));
@@ -11911,15 +11911,15 @@ function requireWebfontloader() {
11911
11911
  function We(c) {
11912
11912
  if (c.a.length == 0) throw Error("No fonts to load!");
11913
11913
  if (c.c.indexOf("kit=") != -1) return c.c;
11914
- for (var h = c.a.length, y = [], S = 0; S < h; S++) y.push(c.a[S].replace(/ /g, "+"));
11915
- return h = c.c + "?family=" + y.join("%7C"), 0 < c.f.length && (h += "&subset=" + c.f.join(",")), 0 < c.g.length && (h += "&text=" + encodeURIComponent(c.g)), h;
11914
+ for (var p = c.a.length, y = [], S = 0; S < p; S++) y.push(c.a[S].replace(/ /g, "+"));
11915
+ return p = c.c + "?family=" + y.join("%7C"), 0 < c.f.length && (p += "&subset=" + c.f.join(",")), 0 < c.g.length && (p += "&text=" + encodeURIComponent(c.g)), p;
11916
11916
  }
11917
11917
  function st(c) {
11918
11918
  this.f = c, this.a = [], this.c = {};
11919
11919
  }
11920
11920
  var K = { latin: "BESbswy", "latin-ext": "çöüğş", cyrillic: "йяЖ", greek: "αβΣ", khmer: "កខគ", Hanuman: "កខគ" }, et = { thin: "1", extralight: "2", "extra-light": "2", ultralight: "2", "ultra-light": "2", light: "3", regular: "4", book: "4", medium: "5", "semi-bold": "6", semibold: "6", "demi-bold": "6", demibold: "6", bold: "7", "extra-bold": "8", extrabold: "8", "ultra-bold": "8", ultrabold: "8", black: "9", heavy: "9", l: "3", r: "4", b: "7" }, tt = { i: "i", italic: "i", n: "n", normal: "n" }, le = /^(thin|(?:(?:extra|ultra)-?)?light|regular|book|medium|(?:(?:semi|demi|extra|ultra)-?)?bold|black|heavy|l|r|b|[1-9]00)?(n|i|normal|italic)?$/;
11921
11921
  function ye(c) {
11922
- for (var h = c.f.length, y = 0; y < h; y++) {
11922
+ for (var p = c.f.length, y = 0; y < p; y++) {
11923
11923
  var S = c.f[y].split(":"), O = S[0].replace(/\+/g, " "), M = ["n4"];
11924
11924
  if (2 <= S.length) {
11925
11925
  var U, j = S[1];
@@ -11941,24 +11941,24 @@ function requireWebfontloader() {
11941
11941
  for (c.c[O] || (S = K[O]) && (c.c[O] = S), S = 0; S < M.length; S += 1) c.a.push(new N(O, M[S]));
11942
11942
  }
11943
11943
  }
11944
- function ue(c, h) {
11945
- this.c = c, this.a = h;
11944
+ function ue(c, p) {
11945
+ this.c = c, this.a = p;
11946
11946
  }
11947
11947
  var Se = { Arimo: !0, Cousine: !0, Tinos: !0 };
11948
11948
  ue.prototype.load = function(c) {
11949
- var h = new T(), y = this.c, S = new Ue(this.a.api, this.a.text), O = this.a.families;
11949
+ var p = new T(), y = this.c, S = new Ue(this.a.api, this.a.text), O = this.a.families;
11950
11950
  Re(S, O);
11951
11951
  var M = new st(O);
11952
- ye(M), b(y, We(S), A(h)), v(h, function() {
11952
+ ye(M), b(y, We(S), A(p)), v(p, function() {
11953
11953
  c(M.a, M.c, Se);
11954
11954
  });
11955
11955
  };
11956
- function ge(c, h) {
11957
- this.c = c, this.a = h;
11956
+ function ge(c, p) {
11957
+ this.c = c, this.a = p;
11958
11958
  }
11959
11959
  ge.prototype.load = function(c) {
11960
- var h = this.a.id, y = this.c.o;
11961
- h ? _(this.c, (this.a.api || "https://use.typekit.net") + "/" + h + ".js", function(S) {
11960
+ var p = this.a.id, y = this.c.o;
11961
+ p ? _(this.c, (this.a.api || "https://use.typekit.net") + "/" + p + ".js", function(S) {
11962
11962
  if (S) c([]);
11963
11963
  else if (y.Typekit && y.Typekit.config && y.Typekit.config.fn) {
11964
11964
  S = y.Typekit.config.fn;
@@ -11971,32 +11971,32 @@ function requireWebfontloader() {
11971
11971
  }
11972
11972
  }, 2e3) : c([]);
11973
11973
  };
11974
- function ze(c, h) {
11975
- this.c = c, this.f = h, this.a = [];
11974
+ function ze(c, p) {
11975
+ this.c = c, this.f = p, this.a = [];
11976
11976
  }
11977
11977
  ze.prototype.load = function(c) {
11978
- var h = this.f.id, y = this.c.o, S = this;
11979
- h ? (y.__webfontfontdeckmodule__ || (y.__webfontfontdeckmodule__ = {}), y.__webfontfontdeckmodule__[h] = function(O, M) {
11978
+ var p = this.f.id, y = this.c.o, S = this;
11979
+ p ? (y.__webfontfontdeckmodule__ || (y.__webfontfontdeckmodule__ = {}), y.__webfontfontdeckmodule__[p] = function(O, M) {
11980
11980
  for (var U = 0, j = M.fonts.length; U < j; ++U) {
11981
11981
  var z = M.fonts[U];
11982
11982
  S.a.push(new N(z.name, B("font-weight:" + z.weight + ";font-style:" + z.style)));
11983
11983
  }
11984
11984
  c(S.a);
11985
- }, _(this.c, (this.f.api || "https://f.fontdeck.com/s/css/js/") + g(this.c) + "/" + h + ".js", function(O) {
11985
+ }, _(this.c, (this.f.api || "https://f.fontdeck.com/s/css/js/") + g(this.c) + "/" + p + ".js", function(O) {
11986
11986
  O && c([]);
11987
11987
  })) : c([]);
11988
11988
  };
11989
11989
  var Z = new Le(window);
11990
- Z.a.c.custom = function(c, h) {
11991
- return new De(h, c);
11992
- }, Z.a.c.fontdeck = function(c, h) {
11993
- return new ze(h, c);
11994
- }, Z.a.c.monotype = function(c, h) {
11995
- return new Be(h, c);
11996
- }, Z.a.c.typekit = function(c, h) {
11997
- return new ge(h, c);
11998
- }, Z.a.c.google = function(c, h) {
11999
- return new ue(h, c);
11990
+ Z.a.c.custom = function(c, p) {
11991
+ return new De(p, c);
11992
+ }, Z.a.c.fontdeck = function(c, p) {
11993
+ return new ze(p, c);
11994
+ }, Z.a.c.monotype = function(c, p) {
11995
+ return new Be(p, c);
11996
+ }, Z.a.c.typekit = function(c, p) {
11997
+ return new ge(p, c);
11998
+ }, Z.a.c.google = function(c, p) {
11999
+ return new ue(p, c);
12000
12000
  };
12001
12001
  var Ce = { load: o(Z.load, Z) };
12002
12002
  e.exports ? e.exports = Ce : (window.WebFont = Ce, window.WebFontConfig && Z.load(window.WebFontConfig));
@@ -12659,12 +12659,12 @@ const NodeSharedPortDefinitions = {
12659
12659
  const n = t.defaults || {}, o = t.styleTag;
12660
12660
  n.borderRadius || (n.borderRadius = 0);
12661
12661
  function r(a, l, u, d) {
12662
- const p = (b) => `${b} ${l ? "(" + l + ")" : ""}`, f = { group: "corners", tab: u, label: l }, g = `border${l}Radius`;
12662
+ const h = (b) => `${b} ${l ? "(" + l + ")" : ""}`, f = { group: "corners", tab: u, label: l }, g = `border${l}Radius`;
12663
12663
  addInputs$1(a, {
12664
12664
  [g]: {
12665
12665
  index: 240 + d,
12666
12666
  displayName: "Corner Radius",
12667
- editorName: p("Corner Radius"),
12667
+ editorName: h("Corner Radius"),
12668
12668
  group: "Corner Radius",
12669
12669
  type: {
12670
12670
  name: "number",
@@ -12682,8 +12682,8 @@ const NodeSharedPortDefinitions = {
12682
12682
  }
12683
12683
  r(e, "", "corners-all", 0), r(e, "TopLeft", "corners-top-left", 1), r(e, "TopRight", "corners-top-right", 2), r(e, "BottomRight", "corners-bottom-right", 3), r(e, "BottomLeft", "corners-bottom-left", 4), e.methods._updateCornerRadii = function() {
12684
12684
  const a = this._internal.borderRadius;
12685
- function l(d, p) {
12686
- const f = `border${p}Radius`;
12685
+ function l(d, h) {
12686
+ const f = `border${h}Radius`;
12687
12687
  d[f] = a[f] || a.borderRadius;
12688
12688
  }
12689
12689
  const u = {};
@@ -12699,20 +12699,20 @@ const NodeSharedPortDefinitions = {
12699
12699
  const n = t.defaults || {}, o = t.styleTag;
12700
12700
  n.borderStyle === void 0 && (n.borderStyle = "none"), n.borderWidth === void 0 && (n.borderWidth = 2), n.borderColor === void 0 && (n.borderColor = "#000000");
12701
12701
  function r(a, l, u, d) {
12702
- const p = `border${l}Style`, f = `border${l}Width`, g = `border${l}Color`;
12702
+ const h = `border${l}Style`, f = `border${l}Width`, g = `border${l}Color`;
12703
12703
  let b = n.borderStyle !== "none" ? "OR borderStyle NOT SET" : "";
12704
- l ? (n[p] && n[p] !== "none" && (b += `OR ${p} NOT SET`), addDynamicInputPorts(
12704
+ l ? (n[h] && n[h] !== "none" && (b += `OR ${h} NOT SET`), addDynamicInputPorts(
12705
12705
  a,
12706
- `${p} = solid OR ${p} = dashed OR ${p} = dotted OR borderStyle = solid OR borderStyle = dashed OR borderStyle = dotted ${b}`,
12706
+ `${h} = solid OR ${h} = dashed OR ${h} = dotted OR borderStyle = solid OR borderStyle = dashed OR borderStyle = dotted ${b}`,
12707
12707
  [`${f}`, `${g}`]
12708
12708
  )) : addDynamicInputPorts(
12709
12709
  a,
12710
- `${p} = solid OR ${p} = dashed OR ${p} = dotted ${b}`,
12710
+ `${h} = solid OR ${h} = dashed OR ${h} = dotted ${b}`,
12711
12711
  [`${f}`, `${g}`]
12712
12712
  );
12713
12713
  const _ = { group: "border-styles", tab: u, label: l }, T = (v) => `${v} ${l ? "(" + l + ")" : ""}`, A = 202 + d * 4;
12714
12714
  addInputs$1(a, {
12715
- [p]: {
12715
+ [h]: {
12716
12716
  index: A + 1,
12717
12717
  displayName: "Border Style",
12718
12718
  editorName: T("Border Style"),
@@ -12727,10 +12727,10 @@ const NodeSharedPortDefinitions = {
12727
12727
  { label: "Dashed", value: "dashed" }
12728
12728
  ]
12729
12729
  },
12730
- default: n[p],
12730
+ default: n[h],
12731
12731
  tab: _,
12732
12732
  set(v) {
12733
- this._internal.borders[p] = v, this._updateBorders();
12733
+ this._internal.borders[h] = v, this._updateBorders();
12734
12734
  }
12735
12735
  },
12736
12736
  [f]: {
@@ -12767,8 +12767,8 @@ const NodeSharedPortDefinitions = {
12767
12767
  }
12768
12768
  r(e, "", "borders-all", 0), r(e, "Left", "borders-left", 1), r(e, "Top", "borders-top", 2), r(e, "Right", "borders-right", 3), r(e, "Bottom", "borders-bottom", 4), e.methods._updateBorders = function() {
12769
12769
  const a = this._internal.borders;
12770
- function l(d, p) {
12771
- const f = `border${p}Width`, g = `border${p}Color`, b = `border${p}Style`;
12770
+ function l(d, h) {
12771
+ const f = `border${h}Width`, g = `border${h}Color`, b = `border${h}Style`;
12772
12772
  d[f] = a[f] || a.borderWidth, d[g] = a[g] || a.borderColor, d[b] = a[b] || a.borderStyle;
12773
12773
  }
12774
12774
  const u = {};
@@ -13110,8 +13110,8 @@ const NodeSharedPortDefinitions = {
13110
13110
  editorName: l("Font Family"),
13111
13111
  set(d) {
13112
13112
  if (d) {
13113
- let p = d;
13114
- p.split(".").length > 1 && (FontLoader.instance.loadFont(p), p = p.replace(/\.[^/.]+$/, ""), p = p.split("/").pop()), this.setStyle({ fontFamily: p }, o);
13113
+ let h = d;
13114
+ h.split(".").length > 1 && (FontLoader.instance.loadFont(h), h = h.replace(/\.[^/.]+$/, ""), h = h.split("/").pop()), this.setStyle({ fontFamily: h }, o);
13115
13115
  } else
13116
13116
  this.removeStyle(["fontFamily"], o);
13117
13117
  this.props[s] && this.forceUpdate();
@@ -13224,8 +13224,8 @@ const NodeSharedPortDefinitions = {
13224
13224
  }
13225
13225
  });
13226
13226
  const u = r + "fontFamily";
13227
- e.setup = function(d, p) {
13228
- p.on("nodeAdded." + e.name, function(f) {
13227
+ e.setup = function(d, h) {
13228
+ h.on("nodeAdded." + e.name, function(f) {
13229
13229
  f.parameters[u] && f.parameters[u].split(".").length > 1 && FontLoader.instance.loadFont(f.parameters[u]), f.on("parameterUpdated", function(g) {
13230
13230
  g.name === u && g.value && g.value.split(".").length > 1 && FontLoader.instance.loadFont(g.value);
13231
13231
  });
@@ -13366,7 +13366,7 @@ function requireBezierEasing() {
13366
13366
  function d(T) {
13367
13367
  return 3 * T;
13368
13368
  }
13369
- function p(T, A, v) {
13369
+ function h(T, A, v) {
13370
13370
  return ((l(A, v) * T + u(A, v)) * T + d(A)) * T;
13371
13371
  }
13372
13372
  function f(T, A, v) {
@@ -13375,7 +13375,7 @@ function requireBezierEasing() {
13375
13375
  function g(T, A, v, I, k) {
13376
13376
  var N, w, E = 0;
13377
13377
  do
13378
- w = A + (v - A) / 2, N = p(w, I, k) - T, N > 0 ? v = w : A = w;
13378
+ w = A + (v - A) / 2, N = h(w, I, k) - T, N > 0 ? v = w : A = w;
13379
13379
  while (Math.abs(N) > n && ++E < o);
13380
13380
  return w;
13381
13381
  }
@@ -13383,7 +13383,7 @@ function requireBezierEasing() {
13383
13383
  for (var k = 0; k < e; ++k) {
13384
13384
  var N = f(A, v, I);
13385
13385
  if (N === 0) return A;
13386
- var w = p(A, v, I) - T;
13386
+ var w = h(A, v, I) - T;
13387
13387
  A -= w / N;
13388
13388
  }
13389
13389
  return A;
@@ -13404,7 +13404,7 @@ function requireBezierEasing() {
13404
13404
  return _.prototype = {
13405
13405
  get: function(T) {
13406
13406
  var A = this._p[0], v = this._p[1], I = this._p[2], k = this._p[3];
13407
- return this._precomputed || this._precompute(), A === v && I === k ? T : T === 0 ? 0 : T === 1 ? 1 : p(this._getTForX(T), v, k);
13407
+ return this._precomputed || this._precompute(), A === v && I === k ? T : T === 0 ? 0 : T === 1 ? 1 : h(this._getTForX(T), v, k);
13408
13408
  },
13409
13409
  getPoints: function() {
13410
13410
  return this._p;
@@ -13422,7 +13422,7 @@ function requireBezierEasing() {
13422
13422
  },
13423
13423
  _calcSampleValues: function() {
13424
13424
  for (var T = this._p[0], A = this._p[2], v = 0; v < r; ++v)
13425
- this._mSampleValues[v] = p(v * s, T, A);
13425
+ this._mSampleValues[v] = h(v * s, T, A);
13426
13426
  },
13427
13427
  /**
13428
13428
  * getTForX chose the fastest heuristic to determine the percentage value precisely from a given X projection.
@@ -13720,7 +13720,7 @@ function createNodeFromReactComponent(e) {
13720
13720
  outputProps: l,
13721
13721
  dynamicports: u,
13722
13722
  defaultCss: d = {},
13723
- methods: p
13723
+ methods: h
13724
13724
  } = e, f = Object.assign({}, d), g = {};
13725
13725
  for (const v in s) {
13726
13726
  const I = s[v], k = I.hasOwnProperty("default") && I.applyDefault !== !1;
@@ -14209,8 +14209,8 @@ function createNodeFromReactComponent(e) {
14209
14209
  return this.outputPropValues[v];
14210
14210
  }), T.outputs[v] = I;
14211
14211
  }
14212
- for (const v in p)
14213
- T.methods[v] = p[v];
14212
+ for (const v in h)
14213
+ T.methods[v] = h[v];
14214
14214
  return {
14215
14215
  node: T,
14216
14216
  setup: e.setup
@@ -14476,67 +14476,44 @@ const Utils$1 = {
14476
14476
  controlEvents: controlEvents$1
14477
14477
  };
14478
14478
  function Button$2(e) {
14479
- const t = { ...e.style };
14480
- Layout.size(t, e), Layout.align(t, e);
14481
- const n = e.textStyle !== void 0 ? {
14482
- ...t,
14483
- ...e.textStyle,
14484
- color: e.noodlNode.context.styles.resolveColor(
14485
- e.textStyle.color
14486
- )
14487
- } : t, o = React.useMemo(() => {
14488
- if (!e.useIcon) return null;
14489
- const l = {};
14490
- if (e.useLabel && (l[e.iconPlacement === "right" ? "marginLeft" : "marginRight"] = e.iconSpacing), e.iconSourceType === "image" && e.iconImageSource) {
14491
- const u = { width: e.iconSize, height: e.iconSize };
14492
- let d = e.iconImageSource;
14493
- if (typeof d == "string" && d.startsWith("/")) {
14494
- const p = Noodl.Env.BaseUrl;
14495
- p && (d = p + d.substring(1));
14496
- }
14497
- return /* @__PURE__ */ React.createElement("img", { alt: "", src: d, style: { ...l, ...u } });
14498
- }
14499
- if (e.iconSourceType === "icon" && e.iconIconSource) {
14500
- const u = { fontSize: e.iconSize, color: e.iconColor };
14501
- return e.iconIconSource.codeAsClass ? /* @__PURE__ */ React.createElement(
14479
+ let t = { ...e.style };
14480
+ Layout.size(t, e), Layout.align(t, e), e.textStyle !== void 0 && (t = Object.assign({}, e.textStyle, t), t.color = e.noodlNode.context.styles.resolveColor(t.color));
14481
+ function n() {
14482
+ const s = {};
14483
+ if (e.useLabel && (e.iconPlacement === "left" || e.iconPlacement === void 0 ? s.marginRight = e.iconSpacing : s.marginLeft = e.iconSpacing), e.iconSourceType === "image" && e.iconImageSource !== void 0) {
14484
+ s.width = e.iconSize, s.height = e.iconSize;
14485
+ let a = e.iconImageSource;
14486
+ if (typeof a == "string" && a.startsWith("/")) {
14487
+ const l = Noodl.Env.BaseUrl;
14488
+ l && (a = l + a.substring(1));
14489
+ }
14490
+ return /* @__PURE__ */ React.createElement("img", { alt: "", src: a, style: s });
14491
+ } else if (e.iconSourceType === "icon" && e.iconIconSource !== void 0)
14492
+ return s.fontSize = e.iconSize, s.color = e.iconColor, e.iconIconSource.codeAsClass === !0 ? /* @__PURE__ */ React.createElement(
14502
14493
  "span",
14503
14494
  {
14504
- className: `${e.iconIconSource.class} ${e.iconIconSource.code}`,
14505
- style: { ...l, ...u }
14495
+ className: [
14496
+ e.iconIconSource.class,
14497
+ e.iconIconSource.code
14498
+ ].join(" "),
14499
+ style: s
14506
14500
  }
14507
- ) : /* @__PURE__ */ React.createElement(
14508
- "span",
14509
- {
14510
- className: e.iconIconSource.class,
14511
- style: { ...l, ...u }
14512
- },
14513
- e.iconIconSource.code
14514
- );
14515
- }
14501
+ ) : /* @__PURE__ */ React.createElement("span", { className: e.iconIconSource.class, style: s }, e.iconIconSource.code);
14516
14502
  return null;
14517
- }, [
14518
- e.useIcon,
14519
- e.useLabel,
14520
- e.iconPlacement,
14521
- e.iconSpacing,
14522
- e.iconSourceType,
14523
- e.iconImageSource,
14524
- e.iconIconSource,
14525
- e.iconSize,
14526
- e.iconColor
14527
- ]), r = /* @__PURE__ */ React.createElement(React.Fragment, null, e.useLabel && e.iconPlacement === "left" && o, e.useLabel && e.label, e.useLabel && e.iconPlacement === "right" && o, !e.useLabel && e.useIcon && o), s = ["ndl-controls-button", e.className].filter(Boolean).join(" "), a = React.useCallback(() => {
14528
- e.onClick?.();
14529
- }, [e.onClick]);
14530
- return /* @__PURE__ */ React.createElement(
14503
+ }
14504
+ let o = "ndl-controls-button";
14505
+ e.className && (o = o + " " + e.className);
14506
+ let r = null;
14507
+ return e.useLabel && e.useIcon ? r = /* @__PURE__ */ React.createElement(React.Fragment, null, e.iconPlacement === "left" ? n() : null, String(e.label), e.iconPlacement === "right" ? n() : null) : e.useLabel ? r = String(e.label) : e.useIcon && (r = n()), /* @__PURE__ */ React.createElement(
14531
14508
  "button",
14532
14509
  {
14533
14510
  ...e.attrs,
14534
- className: s,
14511
+ className: o,
14535
14512
  disabled: !e.enabled,
14536
14513
  ...Utils$1.controlEvents(e),
14537
14514
  type: e.buttonType,
14538
- style: n,
14539
- onClick: a
14515
+ style: t,
14516
+ onClick: e.onClick
14540
14517
  },
14541
14518
  r,
14542
14519
  e.children
@@ -14957,8 +14934,8 @@ function Select(e) {
14957
14934
  alignItems: "center",
14958
14935
  ...e.styles.inputWrapper,
14959
14936
  cursor: e.enabled ? "" : "default"
14960
- }, p = s && s[String(s).length - 1] === "%";
14961
- e.useLabel ? p ? d.flexGrow = 1 : d.height = s : (Object.assign(d, a), d.height = s);
14937
+ }, h = s && s[String(s).length - 1] === "%";
14938
+ e.useLabel ? h ? d.flexGrow = 1 : d.height = s : (Object.assign(d, a), d.height = s);
14962
14939
  let f = [];
14963
14940
  e.items && (f = e.items.map((_) => /* @__PURE__ */ React__default.createElement(
14964
14941
  "option",
@@ -15013,7 +14990,7 @@ function Select(e) {
15013
14990
  display: "flex",
15014
14991
  flexDirection: "column"
15015
14992
  };
15016
- return p && (_.height = s), /* @__PURE__ */ React__default.createElement("div", { style: _ }, /* @__PURE__ */ React__default.createElement(
14993
+ return h && (_.height = s), /* @__PURE__ */ React__default.createElement("div", { style: _ }, /* @__PURE__ */ React__default.createElement(
15017
14994
  "label",
15018
14995
  {
15019
14996
  htmlFor: e.id,
@@ -15586,8 +15563,8 @@ function setBorderStyle(e, t, n) {
15586
15563
  function o(r, s) {
15587
15564
  const a = `${t}Border${s}Width`, l = `${t}Border${s}Color`, u = `${t}Border${s}Style`, d = n[a] || n[`${t}BorderWidth`];
15588
15565
  d !== void 0 && (r[`border${s}Width`] = d);
15589
- const p = r[l] = n[l] || n[`${t}BorderColor`];
15590
- p !== void 0 && (r[`border${s}Color`] = p);
15566
+ const h = r[l] = n[l] || n[`${t}BorderColor`];
15567
+ h !== void 0 && (r[`border${s}Color`] = h);
15591
15568
  const f = n[u] || n[`${t}BorderStyle`];
15592
15569
  f !== void 0 && (r[`border${s}Style`] = f);
15593
15570
  }
@@ -15640,13 +15617,13 @@ function Slider(e) {
15640
15617
  display: "flex",
15641
15618
  alignItems: "center",
15642
15619
  ...r
15643
- }, d = (t - e.min) / (e.max - e.min), p = {
15620
+ }, d = (t - e.min) / (e.max - e.min), h = {
15644
15621
  position: "absolute",
15645
15622
  width: "100%",
15646
15623
  height: e.trackHeight,
15647
15624
  background: `linear-gradient(to right, ${e.trackActiveColor} 0%, ${e.trackActiveColor} ${d * 100}%, ${e.trackColor} ${d * 100}%, ${e.trackColor} 100%)`
15648
15625
  };
15649
- setBorderStyle(p, "track", e), setBorderRadius(p, "track", e), setShadow(p, "track", e);
15626
+ setBorderStyle(h, "track", e), setBorderRadius(h, "track", e), setShadow(h, "track", e);
15650
15627
  const f = {
15651
15628
  position: "absolute",
15652
15629
  left: "calc((100% - " + e.thumbWidth + ") * " + d + ")",
@@ -15654,7 +15631,7 @@ function Slider(e) {
15654
15631
  height: e.thumbHeight,
15655
15632
  backgroundColor: e.thumbColor
15656
15633
  };
15657
- return setBorderStyle(f, "thumb", e), setBorderRadius(f, "thumb", e), setShadow(f, "thumb", e), /* @__PURE__ */ React__default.createElement("div", { style: u }, /* @__PURE__ */ React__default.createElement("div", { style: p }), /* @__PURE__ */ React__default.createElement("div", { style: f }), /* @__PURE__ */ React__default.createElement(
15634
+ return setBorderStyle(f, "thumb", e), setBorderRadius(f, "thumb", e), setShadow(f, "thumb", e), /* @__PURE__ */ React__default.createElement("div", { style: u }, /* @__PURE__ */ React__default.createElement("div", { style: h }), /* @__PURE__ */ React__default.createElement("div", { style: f }), /* @__PURE__ */ React__default.createElement(
15658
15635
  "input",
15659
15636
  {
15660
15637
  className: a,
@@ -15859,15 +15836,15 @@ function addBorderInputs(e, t) {
15859
15836
  n.borderStyle = "none", n.borderWidth = 0, n.borderColor = "#000000";
15860
15837
  const r = t.propPrefix[0].toUpperCase() + t.propPrefix.slice(1);
15861
15838
  function s(a, l, u, d) {
15862
- const p = t.propPrefix + `Border${l}Style`, f = t.propPrefix + `Border${l}Width`, g = t.propPrefix + `Border${l}Color`;
15839
+ const h = t.propPrefix + `Border${l}Style`, f = t.propPrefix + `Border${l}Width`, g = t.propPrefix + `Border${l}Color`;
15863
15840
  let b = n.borderStyle !== "none" ? "OR borderStyle NOT SET" : "";
15864
- l ? (n[p] && n[p] !== "none" && (b += `OR ${p} NOT SET`), NodeSharedPortDefinitions.addDynamicInputPorts(
15841
+ l ? (n[h] && n[h] !== "none" && (b += `OR ${h} NOT SET`), NodeSharedPortDefinitions.addDynamicInputPorts(
15865
15842
  a,
15866
- `${p} = solid OR ${p} = dashed OR ${p} = dotted OR borderStyle = solid OR borderStyle = dashed OR borderStyle = dotted ${b}`,
15843
+ `${h} = solid OR ${h} = dashed OR ${h} = dotted OR borderStyle = solid OR borderStyle = dashed OR borderStyle = dotted ${b}`,
15867
15844
  [`${f}`, `${g}`]
15868
15845
  )) : NodeSharedPortDefinitions.addDynamicInputPorts(
15869
15846
  a,
15870
- `${p} = solid OR ${p} = dashed OR ${p} = dotted ${b}`,
15847
+ `${h} = solid OR ${h} = dashed OR ${h} = dotted ${b}`,
15871
15848
  [`${f}`, `${g}`]
15872
15849
  );
15873
15850
  const _ = {
@@ -15876,7 +15853,7 @@ function addBorderInputs(e, t) {
15876
15853
  label: l
15877
15854
  }, T = (I) => `${r} ${I} ${l ? "(" + l + ")" : ""}`, A = 202 + d * 4, v = r + " Border Style";
15878
15855
  NodeSharedPortDefinitions.addInputProps(a, {
15879
- [p]: {
15856
+ [h]: {
15880
15857
  index: A + 1,
15881
15858
  displayName: "Border Style",
15882
15859
  editorName: T("Border Style"),
@@ -15931,7 +15908,7 @@ function addBorderRadius(e, t) {
15931
15908
  n.borderRadius || (n.borderRadius = 0);
15932
15909
  const r = t.propPrefix[0].toUpperCase() + t.propPrefix.slice(1);
15933
15910
  function s(a, l, u, d) {
15934
- const p = (b) => `${r} ${b} ${l ? "(" + l + ")" : ""}`, f = {
15911
+ const h = (b) => `${r} ${b} ${l ? "(" + l + ")" : ""}`, f = {
15935
15912
  group: t.propPrefix + "-corners",
15936
15913
  tab: u,
15937
15914
  label: l
@@ -15940,7 +15917,7 @@ function addBorderRadius(e, t) {
15940
15917
  [t.propPrefix + g]: {
15941
15918
  index: 240 + d,
15942
15919
  displayName: "Corner Radius",
15943
- editorName: p("Corner Radius"),
15920
+ editorName: h("Corner Radius"),
15944
15921
  group: r + " Corner Radius",
15945
15922
  type: {
15946
15923
  name: "number",
@@ -16144,7 +16121,7 @@ let TextInput$2 = class extends React__default.Component {
16144
16121
  d.color = s.noodlNode.context.styles.resolveColor(
16145
16122
  d.color
16146
16123
  );
16147
- const p = {
16124
+ const h = {
16148
16125
  ...s.attrs,
16149
16126
  id: s.id,
16150
16127
  value: this.state.value,
@@ -16163,18 +16140,18 @@ let TextInput$2 = class extends React__default.Component {
16163
16140
  this.ref.current = _;
16164
16141
  },
16165
16142
  type: this.props.type,
16166
- ...p,
16143
+ ...h,
16167
16144
  onKeyDown: (_) => this.onKeyDown(_),
16168
16145
  onMouseDown: () => window.addEventListener("click", preventGlobalFocusChange$1, !0),
16169
16146
  "noodl-style-tag": "input"
16170
16147
  }
16171
- ) : (p.style.resize = "none", u = /* @__PURE__ */ React__default.createElement(
16148
+ ) : (h.style.resize = "none", u = /* @__PURE__ */ React__default.createElement(
16172
16149
  "textarea",
16173
16150
  {
16174
16151
  ref: (_) => {
16175
16152
  this.ref.current = _;
16176
16153
  },
16177
- ...p,
16154
+ ...h,
16178
16155
  onKeyDown: (_) => this.onKeyDown(_),
16179
16156
  "noodl-style-tag": "input"
16180
16157
  }
@@ -17043,10 +17020,10 @@ const PageStack = {
17043
17020
  var o = t.getNavigationRemainingPath();
17044
17021
  if (o === void 0) return;
17045
17022
  var r = this._getSearchParams();
17046
- function s(d, p) {
17047
- for (var f = {}, g = 0; g < p.length; g++) {
17023
+ function s(d, h) {
17024
+ for (var f = {}, g = 0; g < h.length; g++) {
17048
17025
  if (d[g] === void 0) return;
17049
- var b = p[g];
17026
+ var b = h[g];
17050
17027
  if (b[0] === "{" && b[b.length - 1] === "}")
17051
17028
  f[b.substring(1, b.length - 1)] = decodeURIComponent(
17052
17029
  d[g]
@@ -17055,7 +17032,7 @@ const PageStack = {
17055
17032
  }
17056
17033
  return {
17057
17034
  params: f,
17058
- remainingPathParts: d.splice(p.length)
17035
+ remainingPathParts: d.splice(h.length)
17059
17036
  };
17060
17037
  }
17061
17038
  for (var a of this._internal.pages) {
@@ -17831,13 +17808,13 @@ const RouterNode = {
17831
17808
  const n = this._getSearchParams();
17832
17809
  function o(l, u) {
17833
17810
  const d = {};
17834
- for (let p = 0; p < u.length; p++) {
17835
- const f = u[p];
17811
+ for (let h = 0; h < u.length; h++) {
17812
+ const f = u[h];
17836
17813
  if (f[0] === "{" && f[f.length - 1] === "}")
17837
- l[p] !== void 0 && (d[f.substring(1, f.length - 1)] = decodeURIComponent(
17838
- l[p]
17814
+ l[h] !== void 0 && (d[f.substring(1, f.length - 1)] = decodeURIComponent(
17815
+ l[h]
17839
17816
  ));
17840
- else if (l[p] === void 0 || f !== l[p]) return;
17817
+ else if (l[h] === void 0 || f !== l[h]) return;
17841
17818
  }
17842
17819
  return {
17843
17820
  params: d,
@@ -17854,8 +17831,8 @@ const RouterNode = {
17854
17831
  let u = l.path;
17855
17832
  if (u === void 0) continue;
17856
17833
  u = _trimUrlPart(u), this._internal.urlPath !== void 0 && (u = _trimUrlPart(this._internal.urlPath) + "/" + u);
17857
- const d = u.split("/"), p = o(t, d), f = Math.abs(d.length - t.length);
17858
- p && a > f && (s = { match: p, pageInfo: l }, a = f);
17834
+ const d = u.split("/"), h = o(t, d), f = Math.abs(d.length - t.length);
17835
+ h && a > f && (s = { match: h, pageInfo: l }, a = f);
17859
17836
  }
17860
17837
  return s ? (this._internal.remainingNavigationPath = s.match.remainingPathParts, {
17861
17838
  page: s.pageInfo,
@@ -18022,7 +17999,7 @@ let Circle$1 = class extends React__default.Component {
18022
17999
  );
18023
18000
  }
18024
18001
  if (this.props.strokeEnabled) {
18025
- const { strokeColor: l, strokeWidth: u, strokeLineCap: d } = this.props, p = o - this.props.strokeWidth / 2, f = arc(o, o, p, r, s);
18002
+ const { strokeColor: l, strokeWidth: u, strokeLineCap: d } = this.props, h = o - this.props.strokeWidth / 2, f = arc(o, o, h, r, s);
18026
18003
  n = /* @__PURE__ */ React__default.createElement(
18027
18004
  "path",
18028
18005
  {
@@ -18378,8 +18355,8 @@ component = '/MyComponent';`, ForEachDefinition = {
18378
18355
  } else
18379
18356
  this._mapInputs(r, e), r._forEachModelChangeListener = () => this._mapInputs(r, e), e.on("change", r._forEachModelChangeListener);
18380
18357
  r._internal.creatorCallbacks = {
18381
- onOutputChanged: (u, d, p) => {
18382
- (p === !1 || p === void 0) && d === !0 && n.itemOutputSignals[u] && this.itemOutputSignalTriggered(u, e, r);
18358
+ onOutputChanged: (u, d, h) => {
18359
+ (h === !1 || h === void 0) && d === !0 && n.itemOutputSignals[u] && this.itemOutputSignalTriggered(u, e, r);
18383
18360
  }
18384
18361
  };
18385
18362
  for (var a = r.nodeScope.getNodesWithType("For Each Actions"), l = 0; l < a.length; l++)
@@ -18561,8 +18538,8 @@ map({
18561
18538
  var l = [], u = t.components[a];
18562
18539
  if (u !== void 0) {
18563
18540
  for (var d in u.outputPorts) {
18564
- var p = u.outputPorts[d];
18565
- _typeName(p.type) === "signal" ? l.push({
18541
+ var h = u.outputPorts[d];
18542
+ _typeName(h.type) === "signal" ? l.push({
18566
18543
  name: "itemOutputSignal-" + d,
18567
18544
  displayName: d,
18568
18545
  type: "signal",
@@ -18571,15 +18548,15 @@ map({
18571
18548
  }) : l.push({
18572
18549
  name: "itemOutput-" + d,
18573
18550
  displayName: d,
18574
- type: p.type,
18551
+ type: h.type,
18575
18552
  plug: "output",
18576
18553
  group: "Item Outputs"
18577
18554
  });
18578
18555
  }
18579
18556
  var f = "";
18580
18557
  for (var g in u.inputPorts) {
18581
- var p = u.inputPorts[g];
18582
- _typeName(p.type) !== "signal" && (f += " '" + g + "': '" + g + `',
18558
+ var h = u.inputPorts[g];
18559
+ _typeName(h.type) !== "signal" && (f += " '" + g + "': '" + g + `',
18583
18560
  `);
18584
18561
  }
18585
18562
  l.push({
@@ -18635,12 +18612,12 @@ function _calcAutofold(e, t, n, o) {
18635
18612
  { expected: 0, min: 0, max: null }
18636
18613
  ), l = e;
18637
18614
  a.expected < a.min && l.pop();
18638
- const u = l.reduce((f, g) => f + g, 0), d = 100 / u, p = l.length;
18615
+ const u = l.reduce((f, g) => f + g, 0), d = 100 / u, h = l.length;
18639
18616
  return {
18640
18617
  layout: l,
18641
18618
  totalFractions: u,
18642
18619
  fractionSize: d,
18643
- columnAmount: p
18620
+ columnAmount: h
18644
18621
  };
18645
18622
  }
18646
18623
  function Columns$1(e) {
@@ -18675,11 +18652,11 @@ function Columns$1(e) {
18675
18652
  o,
18676
18653
  e.marginX
18677
18654
  );
18678
- let d = [], p = null;
18655
+ let d = [], h = null;
18679
18656
  return Array.isArray(e.children) ? (d = e.children.filter(
18680
18657
  // @ts-expect-error
18681
18658
  (f) => f.type !== ForEachComponent
18682
- ), p = e.children.find(
18659
+ ), h = e.children.find(
18683
18660
  // @ts-expect-error
18684
18661
  (f) => f.type === ForEachComponent
18685
18662
  )) : e.children.type !== ForEachComponent && (d = [e.children]), /* @__PURE__ */ React__default.createElement(
@@ -18702,7 +18679,7 @@ function Columns$1(e) {
18702
18679
  ...e.style
18703
18680
  }
18704
18681
  },
18705
- p && p,
18682
+ h && h,
18706
18683
  d.map((f, g) => /* @__PURE__ */ React__default.createElement(
18707
18684
  "div",
18708
18685
  {
@@ -18914,8 +18891,8 @@ function requireReactDraggable_min() {
18914
18891
  /***/
18915
18892
  404: (
18916
18893
  /***/
18917
- function(u, d, p) {
18918
- p.r(d), p.d(d, {
18894
+ function(u, d, h) {
18895
+ h.r(d), h.d(d, {
18919
18896
  DraggableCore: function() {
18920
18897
  return (
18921
18898
  /* reexport */
@@ -18929,28 +18906,28 @@ function requireReactDraggable_min() {
18929
18906
  );
18930
18907
  }
18931
18908
  });
18932
- var f = p(359), g = p(697), b = /* @__PURE__ */ p.n(g), _ = p(318), T = /* @__PURE__ */ p.n(_);
18909
+ var f = h(359), g = h(697), b = /* @__PURE__ */ h.n(g), _ = h(318), T = /* @__PURE__ */ h.n(_);
18933
18910
  function A(c) {
18934
- var h, y, S = "";
18911
+ var p, y, S = "";
18935
18912
  if (typeof c == "string" || typeof c == "number")
18936
18913
  S += c;
18937
18914
  else if (typeof c == "object")
18938
18915
  if (Array.isArray(c))
18939
- for (h = 0; h < c.length; h++)
18940
- c[h] && (y = A(c[h])) && (S && (S += " "), S += y);
18916
+ for (p = 0; p < c.length; p++)
18917
+ c[p] && (y = A(c[p])) && (S && (S += " "), S += y);
18941
18918
  else
18942
- for (h in c)
18943
- c[h] && (S && (S += " "), S += h);
18919
+ for (p in c)
18920
+ c[p] && (S && (S += " "), S += p);
18944
18921
  return S;
18945
18922
  }
18946
18923
  function v() {
18947
- for (var c = 0, h, y, S = ""; c < arguments.length; )
18948
- (h = arguments[c++]) && (y = A(h)) && (S && (S += " "), S += y);
18924
+ for (var c = 0, p, y, S = ""; c < arguments.length; )
18925
+ (p = arguments[c++]) && (y = A(p)) && (S && (S += " "), S += y);
18949
18926
  return S;
18950
18927
  }
18951
- function I(c, h) {
18928
+ function I(c, p) {
18952
18929
  for (let y = 0, S = c.length; y < S; y++)
18953
- if (h.apply(h, [c[y], y, c])) return c[y];
18930
+ if (p.apply(p, [c[y], y, c])) return c[y];
18954
18931
  }
18955
18932
  function k(c) {
18956
18933
  return typeof c == "function" || Object.prototype.toString.call(c) === "[object Function]";
@@ -18961,114 +18938,114 @@ function requireReactDraggable_min() {
18961
18938
  function w(c) {
18962
18939
  return parseInt(c, 10);
18963
18940
  }
18964
- function E(c, h, y) {
18965
- if (c[h])
18966
- return new Error("Invalid prop ".concat(h, " passed to ").concat(y, " - do not set this, set it on the child."));
18941
+ function E(c, p, y) {
18942
+ if (c[p])
18943
+ return new Error("Invalid prop ".concat(p, " passed to ").concat(y, " - do not set this, set it on the child."));
18967
18944
  }
18968
18945
  const F = ["Moz", "Webkit", "O", "ms"];
18969
18946
  function L() {
18970
18947
  var c;
18971
- let h = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "transform";
18948
+ let p = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "transform";
18972
18949
  if (typeof window > "u") return "";
18973
18950
  const y = (c = window.document) === null || c === void 0 || (c = c.documentElement) === null || c === void 0 ? void 0 : c.style;
18974
- if (!y || h in y) return "";
18951
+ if (!y || p in y) return "";
18975
18952
  for (let S = 0; S < F.length; S++)
18976
- if (B(h, F[S]) in y) return F[S];
18953
+ if (B(p, F[S]) in y) return F[S];
18977
18954
  return "";
18978
18955
  }
18979
- function B(c, h) {
18980
- return h ? "".concat(h).concat(H(c)) : c;
18956
+ function B(c, p) {
18957
+ return p ? "".concat(p).concat(H(c)) : c;
18981
18958
  }
18982
18959
  function H(c) {
18983
- let h = "", y = !0;
18960
+ let p = "", y = !0;
18984
18961
  for (let S = 0; S < c.length; S++)
18985
- y ? (h += c[S].toUpperCase(), y = !1) : c[S] === "-" ? y = !0 : h += c[S];
18986
- return h;
18962
+ y ? (p += c[S].toUpperCase(), y = !1) : c[S] === "-" ? y = !0 : p += c[S];
18963
+ return p;
18987
18964
  }
18988
18965
  var J = L();
18989
18966
  let ie = "";
18990
- function pe(c, h) {
18967
+ function pe(c, p) {
18991
18968
  return ie || (ie = I(["matches", "webkitMatchesSelector", "mozMatchesSelector", "msMatchesSelector", "oMatchesSelector"], function(y) {
18992
18969
  return k(c[y]);
18993
- })), k(c[ie]) ? c[ie](h) : !1;
18970
+ })), k(c[ie]) ? c[ie](p) : !1;
18994
18971
  }
18995
- function xe(c, h, y) {
18972
+ function xe(c, p, y) {
18996
18973
  let S = c;
18997
18974
  do {
18998
- if (pe(S, h)) return !0;
18975
+ if (pe(S, p)) return !0;
18999
18976
  if (S === y) return !1;
19000
18977
  S = S.parentNode;
19001
18978
  } while (S);
19002
18979
  return !1;
19003
18980
  }
19004
- function Me(c, h, y, S) {
18981
+ function Me(c, p, y, S) {
19005
18982
  if (!c) return;
19006
18983
  const O = {
19007
18984
  capture: !0,
19008
18985
  ...S
19009
18986
  };
19010
- c.addEventListener ? c.addEventListener(h, y, O) : c.attachEvent ? c.attachEvent("on" + h, y) : c["on" + h] = y;
18987
+ c.addEventListener ? c.addEventListener(p, y, O) : c.attachEvent ? c.attachEvent("on" + p, y) : c["on" + p] = y;
19011
18988
  }
19012
- function ae(c, h, y, S) {
18989
+ function ae(c, p, y, S) {
19013
18990
  if (!c) return;
19014
18991
  const O = {
19015
18992
  capture: !0,
19016
18993
  ...S
19017
18994
  };
19018
- c.removeEventListener ? c.removeEventListener(h, y, O) : c.detachEvent ? c.detachEvent("on" + h, y) : c["on" + h] = null;
18995
+ c.removeEventListener ? c.removeEventListener(p, y, O) : c.detachEvent ? c.detachEvent("on" + p, y) : c["on" + p] = null;
19019
18996
  }
19020
18997
  function Ie(c) {
19021
- let h = c.clientHeight;
18998
+ let p = c.clientHeight;
19022
18999
  const y = c.ownerDocument.defaultView.getComputedStyle(c);
19023
- return h += w(y.borderTopWidth), h += w(y.borderBottomWidth), h;
19000
+ return p += w(y.borderTopWidth), p += w(y.borderBottomWidth), p;
19024
19001
  }
19025
19002
  function Te(c) {
19026
- let h = c.clientWidth;
19003
+ let p = c.clientWidth;
19027
19004
  const y = c.ownerDocument.defaultView.getComputedStyle(c);
19028
- return h += w(y.borderLeftWidth), h += w(y.borderRightWidth), h;
19005
+ return p += w(y.borderLeftWidth), p += w(y.borderRightWidth), p;
19029
19006
  }
19030
19007
  function Ne(c) {
19031
- let h = c.clientHeight;
19008
+ let p = c.clientHeight;
19032
19009
  const y = c.ownerDocument.defaultView.getComputedStyle(c);
19033
- return h -= w(y.paddingTop), h -= w(y.paddingBottom), h;
19010
+ return p -= w(y.paddingTop), p -= w(y.paddingBottom), p;
19034
19011
  }
19035
19012
  function me(c) {
19036
- let h = c.clientWidth;
19013
+ let p = c.clientWidth;
19037
19014
  const y = c.ownerDocument.defaultView.getComputedStyle(c);
19038
- return h -= w(y.paddingLeft), h -= w(y.paddingRight), h;
19015
+ return p -= w(y.paddingLeft), p -= w(y.paddingRight), p;
19039
19016
  }
19040
- function Ee(c, h, y) {
19041
- const O = h === h.ownerDocument.body ? {
19017
+ function Ee(c, p, y) {
19018
+ const O = p === p.ownerDocument.body ? {
19042
19019
  left: 0,
19043
19020
  top: 0
19044
- } : h.getBoundingClientRect(), M = (c.clientX + h.scrollLeft - O.left) / y, U = (c.clientY + h.scrollTop - O.top) / y;
19021
+ } : p.getBoundingClientRect(), M = (c.clientX + p.scrollLeft - O.left) / y, U = (c.clientY + p.scrollTop - O.top) / y;
19045
19022
  return {
19046
19023
  x: M,
19047
19024
  y: U
19048
19025
  };
19049
19026
  }
19050
- function Ae(c, h) {
19051
- const y = Fe(c, h, "px");
19027
+ function Ae(c, p) {
19028
+ const y = Fe(c, p, "px");
19052
19029
  return {
19053
19030
  [B("transform", J)]: y
19054
19031
  };
19055
19032
  }
19056
- function qe(c, h) {
19057
- return Fe(c, h, "");
19033
+ function qe(c, p) {
19034
+ return Fe(c, p, "");
19058
19035
  }
19059
- function Fe(c, h, y) {
19036
+ function Fe(c, p, y) {
19060
19037
  let {
19061
19038
  x: S,
19062
19039
  y: O
19063
19040
  } = c, M = "translate(".concat(S).concat(y, ",").concat(O).concat(y, ")");
19064
- if (h) {
19065
- const U = "".concat(typeof h.x == "string" ? h.x : h.x + y), j = "".concat(typeof h.y == "string" ? h.y : h.y + y);
19041
+ if (p) {
19042
+ const U = "".concat(typeof p.x == "string" ? p.x : p.x + y), j = "".concat(typeof p.y == "string" ? p.y : p.y + y);
19066
19043
  M = "translate(".concat(U, ", ").concat(j, ")") + M;
19067
19044
  }
19068
19045
  return M;
19069
19046
  }
19070
- function Y(c, h) {
19071
- return c.targetTouches && I(c.targetTouches, (y) => h === y.identifier) || c.changedTouches && I(c.changedTouches, (y) => h === y.identifier);
19047
+ function Y(c, p) {
19048
+ return c.targetTouches && I(c.targetTouches, (y) => p === y.identifier) || c.changedTouches && I(c.changedTouches, (y) => p === y.identifier);
19072
19049
  }
19073
19050
  function ve(c) {
19074
19051
  if (c.targetTouches && c.targetTouches[0]) return c.targetTouches[0].identifier;
@@ -19076,10 +19053,10 @@ function requireReactDraggable_min() {
19076
19053
  }
19077
19054
  function Ve(c) {
19078
19055
  if (!c) return;
19079
- let h = c.getElementById("react-draggable-style-el");
19080
- h || (h = c.createElement("style"), h.type = "text/css", h.id = "react-draggable-style-el", h.innerHTML = `.react-draggable-transparent-selection *::-moz-selection {all: inherit;}
19081
- `, h.innerHTML += `.react-draggable-transparent-selection *::selection {all: inherit;}
19082
- `, c.getElementsByTagName("head")[0].appendChild(h)), c.body && Oe(c.body, "react-draggable-transparent-selection");
19056
+ let p = c.getElementById("react-draggable-style-el");
19057
+ p || (p = c.createElement("style"), p.type = "text/css", p.id = "react-draggable-style-el", p.innerHTML = `.react-draggable-transparent-selection *::-moz-selection {all: inherit;}
19058
+ `, p.innerHTML += `.react-draggable-transparent-selection *::selection {all: inherit;}
19059
+ `, c.getElementsByTagName("head")[0].appendChild(p)), c.body && Oe(c.body, "react-draggable-transparent-selection");
19083
19060
  }
19084
19061
  function re(c) {
19085
19062
  if (c)
@@ -19087,20 +19064,20 @@ function requireReactDraggable_min() {
19087
19064
  if (c.body && $e(c.body, "react-draggable-transparent-selection"), c.selection)
19088
19065
  c.selection.empty();
19089
19066
  else {
19090
- const h = (c.defaultView || window).getSelection();
19091
- h && h.type !== "Caret" && h.removeAllRanges();
19067
+ const p = (c.defaultView || window).getSelection();
19068
+ p && p.type !== "Caret" && p.removeAllRanges();
19092
19069
  }
19093
19070
  } catch {
19094
19071
  }
19095
19072
  }
19096
- function Oe(c, h) {
19097
- c.classList ? c.classList.add(h) : c.className.match(new RegExp("(?:^|\\s)".concat(h, "(?!\\S)"))) || (c.className += " ".concat(h));
19073
+ function Oe(c, p) {
19074
+ c.classList ? c.classList.add(p) : c.className.match(new RegExp("(?:^|\\s)".concat(p, "(?!\\S)"))) || (c.className += " ".concat(p));
19098
19075
  }
19099
- function $e(c, h) {
19100
- c.classList ? c.classList.remove(h) : c.className = c.className.replace(new RegExp("(?:^|\\s)".concat(h, "(?!\\S)"), "g"), "");
19076
+ function $e(c, p) {
19077
+ c.classList ? c.classList.remove(p) : c.className = c.className.replace(new RegExp("(?:^|\\s)".concat(p, "(?!\\S)"), "g"), "");
19101
19078
  }
19102
- function Le(c, h, y) {
19103
- if (!c.props.bounds) return [h, y];
19079
+ function Le(c, p, y) {
19080
+ if (!c.props.bounds) return [p, y];
19104
19081
  let {
19105
19082
  bounds: S
19106
19083
  } = c.props;
@@ -19121,10 +19098,10 @@ function requireReactDraggable_min() {
19121
19098
  bottom: Ne(z) - Ie(O) - O.offsetTop + w(C.paddingBottom) - w(q.marginBottom)
19122
19099
  };
19123
19100
  }
19124
- return N(S.right) && (h = Math.min(h, S.right)), N(S.bottom) && (y = Math.min(y, S.bottom)), N(S.left) && (h = Math.max(h, S.left)), N(S.top) && (y = Math.max(y, S.top)), [h, y];
19101
+ return N(S.right) && (p = Math.min(p, S.right)), N(S.bottom) && (y = Math.min(y, S.bottom)), N(S.left) && (p = Math.max(p, S.left)), N(S.top) && (y = Math.max(y, S.top)), [p, y];
19125
19102
  }
19126
- function fe(c, h, y) {
19127
- const S = Math.round(h / c[0]) * c[0], O = Math.round(y / c[1]) * c[1];
19103
+ function fe(c, p, y) {
19104
+ const S = Math.round(p / c[0]) * c[0], O = Math.round(y / c[1]) * c[1];
19128
19105
  return [S, O];
19129
19106
  }
19130
19107
  function Xe(c) {
@@ -19133,40 +19110,40 @@ function requireReactDraggable_min() {
19133
19110
  function Be(c) {
19134
19111
  return c.props.axis === "both" || c.props.axis === "y";
19135
19112
  }
19136
- function De(c, h, y) {
19137
- const S = typeof h == "number" ? Y(c, h) : null;
19138
- if (typeof h == "number" && !S) return null;
19113
+ function De(c, p, y) {
19114
+ const S = typeof p == "number" ? Y(c, p) : null;
19115
+ if (typeof p == "number" && !S) return null;
19139
19116
  const O = We(y), M = y.props.offsetParent || O.offsetParent || O.ownerDocument.body;
19140
19117
  return Ee(S || c, M, y.props.scale);
19141
19118
  }
19142
- function Ue(c, h, y) {
19119
+ function Ue(c, p, y) {
19143
19120
  const S = !N(c.lastX), O = We(c);
19144
19121
  return S ? {
19145
19122
  node: O,
19146
19123
  deltaX: 0,
19147
19124
  deltaY: 0,
19148
- lastX: h,
19125
+ lastX: p,
19149
19126
  lastY: y,
19150
- x: h,
19127
+ x: p,
19151
19128
  y
19152
19129
  } : {
19153
19130
  node: O,
19154
- deltaX: h - c.lastX,
19131
+ deltaX: p - c.lastX,
19155
19132
  deltaY: y - c.lastY,
19156
19133
  lastX: c.lastX,
19157
19134
  lastY: c.lastY,
19158
- x: h,
19135
+ x: p,
19159
19136
  y
19160
19137
  };
19161
19138
  }
19162
- function je(c, h) {
19139
+ function je(c, p) {
19163
19140
  const y = c.props.scale;
19164
19141
  return {
19165
- node: h.node,
19166
- x: c.state.x + h.deltaX / y,
19167
- y: c.state.y + h.deltaY / y,
19168
- deltaX: h.deltaX / y,
19169
- deltaY: h.deltaY / y,
19142
+ node: p.node,
19143
+ x: c.state.x + p.deltaX / y,
19144
+ y: c.state.y + p.deltaY / y,
19145
+ deltaX: p.deltaX / y,
19146
+ deltaY: p.deltaY / y,
19170
19147
  lastX: c.state.x,
19171
19148
  lastY: c.state.y
19172
19149
  };
@@ -19180,29 +19157,29 @@ function requireReactDraggable_min() {
19180
19157
  };
19181
19158
  }
19182
19159
  function We(c) {
19183
- const h = c.findDOMNode();
19184
- if (!h)
19160
+ const p = c.findDOMNode();
19161
+ if (!p)
19185
19162
  throw new Error("<DraggableCore>: Unmounted during event!");
19186
- return h;
19163
+ return p;
19187
19164
  }
19188
19165
  function st() {
19189
19166
  }
19190
- function K(c, h, y) {
19191
- return h = et(h), h in c ? Object.defineProperty(c, h, { value: y, enumerable: !0, configurable: !0, writable: !0 }) : c[h] = y, c;
19167
+ function K(c, p, y) {
19168
+ return p = et(p), p in c ? Object.defineProperty(c, p, { value: y, enumerable: !0, configurable: !0, writable: !0 }) : c[p] = y, c;
19192
19169
  }
19193
19170
  function et(c) {
19194
- var h = tt(c, "string");
19195
- return typeof h == "symbol" ? h : String(h);
19171
+ var p = tt(c, "string");
19172
+ return typeof p == "symbol" ? p : String(p);
19196
19173
  }
19197
- function tt(c, h) {
19174
+ function tt(c, p) {
19198
19175
  if (typeof c != "object" || c === null) return c;
19199
19176
  var y = c[Symbol.toPrimitive];
19200
19177
  if (y !== void 0) {
19201
- var S = y.call(c, h);
19178
+ var S = y.call(c, p);
19202
19179
  if (typeof S != "object") return S;
19203
19180
  throw new TypeError("@@toPrimitive must return a primitive value.");
19204
19181
  }
19205
- return (h === "string" ? String : Number)(c);
19182
+ return (p === "string" ? String : Number)(c);
19206
19183
  }
19207
19184
  const le = {
19208
19185
  touch: {
@@ -19219,28 +19196,28 @@ function requireReactDraggable_min() {
19219
19196
  let ye = le.mouse;
19220
19197
  class ue extends f.Component {
19221
19198
  constructor() {
19222
- super(...arguments), K(this, "dragging", !1), K(this, "lastX", NaN), K(this, "lastY", NaN), K(this, "touchIdentifier", null), K(this, "mounted", !1), K(this, "handleDragStart", (h) => {
19223
- if (this.props.onMouseDown(h), !this.props.allowAnyClick && typeof h.button == "number" && h.button !== 0) return !1;
19199
+ super(...arguments), K(this, "dragging", !1), K(this, "lastX", NaN), K(this, "lastY", NaN), K(this, "touchIdentifier", null), K(this, "mounted", !1), K(this, "handleDragStart", (p) => {
19200
+ if (this.props.onMouseDown(p), !this.props.allowAnyClick && typeof p.button == "number" && p.button !== 0) return !1;
19224
19201
  const y = this.findDOMNode();
19225
19202
  if (!y || !y.ownerDocument || !y.ownerDocument.body)
19226
19203
  throw new Error("<DraggableCore> not mounted on DragStart!");
19227
19204
  const {
19228
19205
  ownerDocument: S
19229
19206
  } = y;
19230
- if (this.props.disabled || !(h.target instanceof S.defaultView.Node) || this.props.handle && !xe(h.target, this.props.handle, y) || this.props.cancel && xe(h.target, this.props.cancel, y))
19207
+ if (this.props.disabled || !(p.target instanceof S.defaultView.Node) || this.props.handle && !xe(p.target, this.props.handle, y) || this.props.cancel && xe(p.target, this.props.cancel, y))
19231
19208
  return;
19232
- h.type === "touchstart" && h.preventDefault();
19233
- const O = ve(h);
19209
+ p.type === "touchstart" && p.preventDefault();
19210
+ const O = ve(p);
19234
19211
  this.touchIdentifier = O;
19235
- const M = De(h, O, this);
19212
+ const M = De(p, O, this);
19236
19213
  if (M == null) return;
19237
19214
  const {
19238
19215
  x: U,
19239
19216
  y: j
19240
19217
  } = M, z = Ue(this, U, j);
19241
- this.props.onStart, !(this.props.onStart(h, z) === !1 || this.mounted === !1) && (this.props.enableUserSelectHack && Ve(S), this.dragging = !0, this.lastX = U, this.lastY = j, Me(S, ye.move, this.handleDrag), Me(S, ye.stop, this.handleDragStop));
19242
- }), K(this, "handleDrag", (h) => {
19243
- const y = De(h, this.touchIdentifier, this);
19218
+ this.props.onStart, !(this.props.onStart(p, z) === !1 || this.mounted === !1) && (this.props.enableUserSelectHack && Ve(S), this.dragging = !0, this.lastX = U, this.lastY = j, Me(S, ye.move, this.handleDrag), Me(S, ye.stop, this.handleDragStop));
19219
+ }), K(this, "handleDrag", (p) => {
19220
+ const y = De(p, this.touchIdentifier, this);
19244
19221
  if (y == null) return;
19245
19222
  let {
19246
19223
  x: S,
@@ -19252,7 +19229,7 @@ function requireReactDraggable_min() {
19252
19229
  S = this.lastX + j, O = this.lastY + z;
19253
19230
  }
19254
19231
  const M = Ue(this, S, O);
19255
- if (this.props.onDrag(h, M) === !1 || this.mounted === !1) {
19232
+ if (this.props.onDrag(p, M) === !1 || this.mounted === !1) {
19256
19233
  try {
19257
19234
  this.handleDragStop(new MouseEvent("mouseup"));
19258
19235
  } catch {
@@ -19262,9 +19239,9 @@ function requireReactDraggable_min() {
19262
19239
  return;
19263
19240
  }
19264
19241
  this.lastX = S, this.lastY = O;
19265
- }), K(this, "handleDragStop", (h) => {
19242
+ }), K(this, "handleDragStop", (p) => {
19266
19243
  if (!this.dragging) return;
19267
- const y = De(h, this.touchIdentifier, this);
19244
+ const y = De(p, this.touchIdentifier, this);
19268
19245
  if (y == null) return;
19269
19246
  let {
19270
19247
  x: S,
@@ -19275,26 +19252,26 @@ function requireReactDraggable_min() {
19275
19252
  [z, q] = fe(this.props.grid, z, q), S = this.lastX + z, O = this.lastY + q;
19276
19253
  }
19277
19254
  const M = Ue(this, S, O);
19278
- if (this.props.onStop(h, M) === !1 || this.mounted === !1) return !1;
19255
+ if (this.props.onStop(p, M) === !1 || this.mounted === !1) return !1;
19279
19256
  const j = this.findDOMNode();
19280
19257
  j && this.props.enableUserSelectHack && re(j.ownerDocument), this.dragging = !1, this.lastX = NaN, this.lastY = NaN, j && (ae(j.ownerDocument, ye.move, this.handleDrag), ae(j.ownerDocument, ye.stop, this.handleDragStop));
19281
- }), K(this, "onMouseDown", (h) => (ye = le.mouse, this.handleDragStart(h))), K(this, "onMouseUp", (h) => (ye = le.mouse, this.handleDragStop(h))), K(this, "onTouchStart", (h) => (ye = le.touch, this.handleDragStart(h))), K(this, "onTouchEnd", (h) => (ye = le.touch, this.handleDragStop(h)));
19258
+ }), K(this, "onMouseDown", (p) => (ye = le.mouse, this.handleDragStart(p))), K(this, "onMouseUp", (p) => (ye = le.mouse, this.handleDragStop(p))), K(this, "onTouchStart", (p) => (ye = le.touch, this.handleDragStart(p))), K(this, "onTouchEnd", (p) => (ye = le.touch, this.handleDragStop(p)));
19282
19259
  }
19283
19260
  componentDidMount() {
19284
19261
  this.mounted = !0;
19285
- const h = this.findDOMNode();
19286
- h && Me(h, le.touch.start, this.onTouchStart, {
19262
+ const p = this.findDOMNode();
19263
+ p && Me(p, le.touch.start, this.onTouchStart, {
19287
19264
  passive: !1
19288
19265
  });
19289
19266
  }
19290
19267
  componentWillUnmount() {
19291
19268
  this.mounted = !1;
19292
- const h = this.findDOMNode();
19293
- if (h) {
19269
+ const p = this.findDOMNode();
19270
+ if (p) {
19294
19271
  const {
19295
19272
  ownerDocument: y
19296
- } = h;
19297
- ae(y, le.mouse.move, this.handleDrag), ae(y, le.touch.move, this.handleDrag), ae(y, le.mouse.stop, this.handleDragStop), ae(y, le.touch.stop, this.handleDragStop), ae(h, le.touch.start, this.onTouchStart, {
19273
+ } = p;
19274
+ ae(y, le.mouse.move, this.handleDrag), ae(y, le.touch.move, this.handleDrag), ae(y, le.mouse.stop, this.handleDragStop), ae(y, le.touch.stop, this.handleDragStop), ae(p, le.touch.start, this.onTouchStart, {
19298
19275
  passive: !1
19299
19276
  }), this.props.enableUserSelectHack && re(y);
19300
19277
  }
@@ -19302,8 +19279,8 @@ function requireReactDraggable_min() {
19302
19279
  // React Strict Mode compatibility: if `nodeRef` is passed, we will use it instead of trying to find
19303
19280
  // the underlying DOM node ourselves. See the README for more information.
19304
19281
  findDOMNode() {
19305
- var h, y;
19306
- return (h = this.props) !== null && h !== void 0 && h.nodeRef ? (y = this.props) === null || y === void 0 || (y = y.nodeRef) === null || y === void 0 ? void 0 : y.current : T().findDOMNode(this);
19282
+ var p, y;
19283
+ return (p = this.props) !== null && p !== void 0 && p.nodeRef ? (y = this.props) === null || y === void 0 || (y = y.nodeRef) === null || y === void 0 ? void 0 : y.current : T().findDOMNode(this);
19307
19284
  }
19308
19285
  render() {
19309
19286
  return /* @__PURE__ */ f.cloneElement(f.Children.only(this.props.children), {
@@ -19342,8 +19319,8 @@ function requireReactDraggable_min() {
19342
19319
  * `offsetParent`, if set, uses the passed DOM node to compute drag offsets
19343
19320
  * instead of using the parent node.
19344
19321
  */
19345
- offsetParent: function(c, h) {
19346
- if (c[h] && c[h].nodeType !== 1)
19322
+ offsetParent: function(c, p) {
19323
+ if (c[p] && c[p].nodeType !== 1)
19347
19324
  throw new Error("Draggable's offsetParent must be a DOM Node.");
19348
19325
  },
19349
19326
  /**
@@ -19457,38 +19434,38 @@ function requireReactDraggable_min() {
19457
19434
  });
19458
19435
  function Se() {
19459
19436
  return Se = Object.assign ? Object.assign.bind() : function(c) {
19460
- for (var h = 1; h < arguments.length; h++) {
19461
- var y = arguments[h];
19437
+ for (var p = 1; p < arguments.length; p++) {
19438
+ var y = arguments[p];
19462
19439
  for (var S in y)
19463
19440
  Object.prototype.hasOwnProperty.call(y, S) && (c[S] = y[S]);
19464
19441
  }
19465
19442
  return c;
19466
19443
  }, Se.apply(this, arguments);
19467
19444
  }
19468
- function ge(c, h, y) {
19469
- return h = ze(h), h in c ? Object.defineProperty(c, h, { value: y, enumerable: !0, configurable: !0, writable: !0 }) : c[h] = y, c;
19445
+ function ge(c, p, y) {
19446
+ return p = ze(p), p in c ? Object.defineProperty(c, p, { value: y, enumerable: !0, configurable: !0, writable: !0 }) : c[p] = y, c;
19470
19447
  }
19471
19448
  function ze(c) {
19472
- var h = Z(c, "string");
19473
- return typeof h == "symbol" ? h : String(h);
19449
+ var p = Z(c, "string");
19450
+ return typeof p == "symbol" ? p : String(p);
19474
19451
  }
19475
- function Z(c, h) {
19452
+ function Z(c, p) {
19476
19453
  if (typeof c != "object" || c === null) return c;
19477
19454
  var y = c[Symbol.toPrimitive];
19478
19455
  if (y !== void 0) {
19479
- var S = y.call(c, h);
19456
+ var S = y.call(c, p);
19480
19457
  if (typeof S != "object") return S;
19481
19458
  throw new TypeError("@@toPrimitive must return a primitive value.");
19482
19459
  }
19483
- return (h === "string" ? String : Number)(c);
19460
+ return (p === "string" ? String : Number)(c);
19484
19461
  }
19485
19462
  class Ce extends f.Component {
19486
19463
  // React 16.3+
19487
19464
  // Arity (props, state)
19488
- static getDerivedStateFromProps(h, y) {
19465
+ static getDerivedStateFromProps(p, y) {
19489
19466
  let {
19490
19467
  position: S
19491
- } = h, {
19468
+ } = p, {
19492
19469
  prevPropsPosition: O
19493
19470
  } = y;
19494
19471
  return S && (!O || S.x !== O.x || S.y !== O.y) ? {
@@ -19499,8 +19476,8 @@ function requireReactDraggable_min() {
19499
19476
  }
19500
19477
  } : null;
19501
19478
  }
19502
- constructor(h) {
19503
- super(h), ge(this, "onDragStart", (y, S) => {
19479
+ constructor(p) {
19480
+ super(p), ge(this, "onDragStart", (y, S) => {
19504
19481
  if (this.props.onStart(y, je(this, S)) === !1) return !1;
19505
19482
  this.setState({
19506
19483
  dragging: !0,
@@ -19546,17 +19523,17 @@ function requireReactDraggable_min() {
19546
19523
  // Whether or not we have been dragged before.
19547
19524
  dragged: !1,
19548
19525
  // Current transform x and y.
19549
- x: h.position ? h.position.x : h.defaultPosition.x,
19550
- y: h.position ? h.position.y : h.defaultPosition.y,
19526
+ x: p.position ? p.position.x : p.defaultPosition.x,
19527
+ y: p.position ? p.position.y : p.defaultPosition.y,
19551
19528
  prevPropsPosition: {
19552
- ...h.position
19529
+ ...p.position
19553
19530
  },
19554
19531
  // Used for compensating for out-of-bounds drags
19555
19532
  slackX: 0,
19556
19533
  slackY: 0,
19557
19534
  // Can only determine if SVG after mounting
19558
19535
  isElementSVG: !1
19559
- }, h.position && !(h.onDrag || h.onStop) && console.warn("A `position` was applied to this <Draggable>, without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.");
19536
+ }, p.position && !(p.onDrag || p.onStop) && console.warn("A `position` was applied to this <Draggable>, without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.");
19560
19537
  }
19561
19538
  componentDidMount() {
19562
19539
  typeof window.SVGElement < "u" && this.findDOMNode() instanceof window.SVGElement && this.setState({
@@ -19571,12 +19548,12 @@ function requireReactDraggable_min() {
19571
19548
  // React Strict Mode compatibility: if `nodeRef` is passed, we will use it instead of trying to find
19572
19549
  // the underlying DOM node ourselves. See the README for more information.
19573
19550
  findDOMNode() {
19574
- var h, y;
19575
- return (h = (y = this.props) === null || y === void 0 || (y = y.nodeRef) === null || y === void 0 ? void 0 : y.current) !== null && h !== void 0 ? h : T().findDOMNode(this);
19551
+ var p, y;
19552
+ return (p = (y = this.props) === null || y === void 0 || (y = y.nodeRef) === null || y === void 0 ? void 0 : y.current) !== null && p !== void 0 ? p : T().findDOMNode(this);
19576
19553
  }
19577
19554
  render() {
19578
19555
  const {
19579
- axis: h,
19556
+ axis: p,
19580
19557
  bounds: y,
19581
19558
  children: S,
19582
19559
  defaultPosition: O,
@@ -19739,19 +19716,19 @@ function requireReactDraggable_min() {
19739
19716
  /***/
19740
19717
  16: (
19741
19718
  /***/
19742
- function(u, d, p) {
19719
+ function(u, d, h) {
19743
19720
  const {
19744
19721
  default: f,
19745
19722
  DraggableCore: g
19746
- } = p(404);
19723
+ } = h(404);
19747
19724
  u.exports = f, u.exports.default = f, u.exports.DraggableCore = g;
19748
19725
  }
19749
19726
  ),
19750
19727
  /***/
19751
19728
  703: (
19752
19729
  /***/
19753
- function(u, d, p) {
19754
- var f = p(414);
19730
+ function(u, d, h) {
19731
+ var f = h(414);
19755
19732
  function g() {
19756
19733
  }
19757
19734
  function b() {
@@ -19799,8 +19776,8 @@ function requireReactDraggable_min() {
19799
19776
  /***/
19800
19777
  697: (
19801
19778
  /***/
19802
- function(u, d, p) {
19803
- u.exports = p(703)();
19779
+ function(u, d, h) {
19780
+ u.exports = h(703)();
19804
19781
  }
19805
19782
  ),
19806
19783
  /***/
@@ -19831,7 +19808,7 @@ function requireReactDraggable_min() {
19831
19808
  var d = s[u];
19832
19809
  if (d !== void 0)
19833
19810
  return d.exports;
19834
- var p = s[u] = {
19811
+ var h = s[u] = {
19835
19812
  /******/
19836
19813
  // no module.id needed
19837
19814
  /******/
@@ -19840,7 +19817,7 @@ function requireReactDraggable_min() {
19840
19817
  exports: {}
19841
19818
  /******/
19842
19819
  };
19843
- return r[u](p, p.exports, a), p.exports;
19820
+ return r[u](h, h.exports, a), h.exports;
19844
19821
  }
19845
19822
  (function() {
19846
19823
  a.n = function(u) {
@@ -19859,8 +19836,8 @@ function requireReactDraggable_min() {
19859
19836
  };
19860
19837
  })(), function() {
19861
19838
  a.d = function(u, d) {
19862
- for (var p in d)
19863
- a.o(d, p) && !a.o(u, p) && Object.defineProperty(u, p, { enumerable: !0, get: d[p] });
19839
+ for (var h in d)
19840
+ a.o(d, h) && !a.o(u, h) && Object.defineProperty(u, h, { enumerable: !0, get: d[h] });
19864
19841
  };
19865
19842
  }(), function() {
19866
19843
  a.o = function(u, d) {
@@ -20408,11 +20385,11 @@ function click(e, t) {
20408
20385
  e.type === "mouseup" ? n = e : (e.type === "touchend" || e.type === "touchcancel") && (n = e.changedTouches[0]);
20409
20386
  var o = {};
20410
20387
  n && (o.screenX = n.screenX || 0, o.screenY = n.screenY || 0, o.clientX = n.clientX || 0, o.clientY = n.clientY || 0);
20411
- var r, s = !0, a = !0, l = e.ctrlKey, u = e.shiftKey, d = e.altKey, p = e.metaKey, f = {
20388
+ var r, s = !0, a = !0, l = e.ctrlKey, u = e.shiftKey, d = e.altKey, h = e.metaKey, f = {
20412
20389
  ctrlKey: l,
20413
20390
  shiftKey: u,
20414
20391
  altKey: d,
20415
- metaKey: p
20392
+ metaKey: h
20416
20393
  };
20417
20394
  if (typeof MouseEvent < "u")
20418
20395
  try {
@@ -20526,8 +20503,8 @@ var EventEmitter$1 = (
20526
20503
  var r = this.events[t];
20527
20504
  if (r)
20528
20505
  for (var s = r.length, a = __spreadArrays$1(r), l, u = 0; u < s; u++) {
20529
- var d = a[u], p = d[0], f = d[1];
20530
- if (p && (l = p.apply(f, n), l === !0))
20506
+ var d = a[u], h = d[0], f = d[1];
20507
+ if (h && (l = h.apply(f, n), l === !0))
20531
20508
  return l;
20532
20509
  }
20533
20510
  }, e.prototype.registerType = function(t) {
@@ -20633,12 +20610,12 @@ var EventEmitter$1 = (
20633
20610
  ]), this.handleDOMEvents();
20634
20611
  }
20635
20612
  return e.prototype.handleDOMEvents = function() {
20636
- var t = this.options, n = t.bindToWrapper, o = t.disableMouse, r = t.disableTouch, s = t.click, a = this.wrapper, l = n ? a : window, u = [], d = [], p = !r, f = !o;
20613
+ var t = this.options, n = t.bindToWrapper, o = t.disableMouse, r = t.disableTouch, s = t.click, a = this.wrapper, l = n ? a : window, u = [], d = [], h = !r, f = !o;
20637
20614
  s && u.push({
20638
20615
  name: "click",
20639
20616
  handler: this.click.bind(this),
20640
20617
  capture: !0
20641
- }), p && (u.push({
20618
+ }), h && (u.push({
20642
20619
  name: "touchstart",
20643
20620
  handler: this.start.bind(this)
20644
20621
  }), d.push({
@@ -20776,8 +20753,8 @@ var EventEmitter$1 = (
20776
20753
  }, e;
20777
20754
  }()
20778
20755
  ), isValidPostion = function(e, t, n, o) {
20779
- var r = function(d, p) {
20780
- var f = d - p, g = f > 0 ? -1 : f < 0 ? 1 : 0;
20756
+ var r = function(d, h) {
20757
+ var f = d - h, g = f > 0 ? -1 : f < 0 ? 1 : 0;
20781
20758
  return g;
20782
20759
  }, s = r(t.x, e.x), a = r(t.y, e.y), l = n.x - o.x, u = n.y - o.y;
20783
20760
  return s * l <= 0 && a * u <= 0;
@@ -20831,7 +20808,7 @@ var EventEmitter$1 = (
20831
20808
  }
20832
20809
  this.animate(n, o, r, s);
20833
20810
  }, t.prototype.animate = function(n, o, r, s) {
20834
- var a = this, l = getNow$1(), u = l + r, d = this.options.probeType === 3, p = function() {
20811
+ var a = this, l = getNow$1(), u = l + r, d = this.options.probeType === 3, h = function() {
20835
20812
  var f = getNow$1();
20836
20813
  if (f >= u) {
20837
20814
  a.translate(o), d && a.hooks.trigger(a.hooks.eventTypes.move, o), a.hooks.trigger(a.hooks.eventTypes.end, o);
@@ -20842,9 +20819,9 @@ var EventEmitter$1 = (
20842
20819
  Object.keys(o).forEach(function(_) {
20843
20820
  var T = n[_], A = o[_];
20844
20821
  b[_] = (A - T) * g + T;
20845
- }), a.translate(b), d && a.hooks.trigger(a.hooks.eventTypes.move, b), a.pending && (a.timer = requestAnimationFrame$1(p)), a.pending || (a.callStopWhenPending ? a.callStopWhenPending = !1 : a.hooks.trigger(a.hooks.eventTypes.end, o));
20822
+ }), a.translate(b), d && a.hooks.trigger(a.hooks.eventTypes.move, b), a.pending && (a.timer = requestAnimationFrame$1(h)), a.pending || (a.callStopWhenPending ? a.callStopWhenPending = !1 : a.hooks.trigger(a.hooks.eventTypes.end, o));
20846
20823
  };
20847
- this.setPending(!0), this.callStopWhenPending && this.setCallStop(!1), cancelAnimationFrame(this.timer), p();
20824
+ this.setPending(!0), this.callStopWhenPending && this.setCallStop(!1), cancelAnimationFrame(this.timer), h();
20848
20825
  }, t.prototype.doStop = function() {
20849
20826
  var n = this.pending;
20850
20827
  if (this.setForceStopped(!1), this.setCallStop(!1), n) {
@@ -20910,8 +20887,8 @@ var Behavior = (
20910
20887
  return n;
20911
20888
  }, e.prototype.momentum = function(t, n, o, r, s, a, l) {
20912
20889
  l === void 0 && (l = this.options);
20913
- var u = t - n, d = Math.abs(u) / o, p = l.deceleration, f = l.swipeBounceTime, g = l.swipeTime, b = Math.min(g, d * 2 / p), _ = {
20914
- destination: t + d * d / p * (u < 0 ? -1 : 1),
20890
+ var u = t - n, d = Math.abs(u) / o, h = l.deceleration, f = l.swipeBounceTime, g = l.swipeTime, b = Math.min(g, d * 2 / h), _ = {
20891
+ destination: t + d * d / h * (u < 0 ? -1 : 1),
20915
20892
  duration: b,
20916
20893
  rate: 15
20917
20894
  };
@@ -21047,10 +21024,10 @@ var Behavior = (
21047
21024
  return !0;
21048
21025
  if (this.directionLockAction.checkMovingDirection(r, s, o))
21049
21026
  return this.actionsHandler.setInitiated(), !0;
21050
- var l = this.directionLockAction.adjustDelta(t, n), u = this.scrollBehaviorX.getCurrentPos(), d = this.scrollBehaviorX.move(l.deltaX), p = this.scrollBehaviorY.getCurrentPos(), f = this.scrollBehaviorY.move(l.deltaY);
21027
+ var l = this.directionLockAction.adjustDelta(t, n), u = this.scrollBehaviorX.getCurrentPos(), d = this.scrollBehaviorX.move(l.deltaX), h = this.scrollBehaviorY.getCurrentPos(), f = this.scrollBehaviorY.move(l.deltaY);
21051
21028
  if (!this.hooks.trigger(this.hooks.eventTypes.detectMovingDirection)) {
21052
21029
  this.fingerMoved || (this.fingerMoved = !0);
21053
- var g = d !== u || f !== p;
21030
+ var g = d !== u || f !== h;
21054
21031
  !this.contentMoved && !g && this.hooks.trigger(this.hooks.eventTypes.contentNotMoved), !this.contentMoved && g && (this.contentMoved = !0, this.hooks.trigger(this.hooks.eventTypes.scrollStart)), this.contentMoved && g && (this.animater.translate({
21055
21032
  x: d,
21056
21033
  y: f
@@ -21326,16 +21303,16 @@ var MIN_SCROLL_DISTANCE = 1, Scroller = (
21326
21303
  y: n
21327
21304
  }, s.end);
21328
21305
  if (this.hooks.trigger(this.hooks.eventTypes.scrollTo, d), !isSamePoint(u, d)) {
21329
- var p = Math.abs(d.x - u.x), f = Math.abs(d.y - u.y);
21330
- p < MIN_SCROLL_DISTANCE && f < MIN_SCROLL_DISTANCE && (o = 0, this.hooks.trigger(this.hooks.eventTypes.minDistanceScroll)), this.animater.move(u, d, o, a);
21306
+ var h = Math.abs(d.x - u.x), f = Math.abs(d.y - u.y);
21307
+ h < MIN_SCROLL_DISTANCE && f < MIN_SCROLL_DISTANCE && (o = 0, this.hooks.trigger(this.hooks.eventTypes.minDistanceScroll)), this.animater.move(u, d, o, a);
21331
21308
  }
21332
21309
  }, e.prototype.scrollToElement = function(t, n, o, r, s) {
21333
- var a = getElement(t), l = offset(a), u = function(p, f, g) {
21334
- return typeof p == "number" ? p : p ? Math.round(f / 2 - g / 2) : 0;
21310
+ var a = getElement(t), l = offset(a), u = function(h, f, g) {
21311
+ return typeof h == "number" ? h : h ? Math.round(f / 2 - g / 2) : 0;
21335
21312
  };
21336
21313
  o = u(o, a.offsetWidth, this.wrapper.offsetWidth), r = u(r, a.offsetHeight, this.wrapper.offsetHeight);
21337
- var d = function(p, f, g, b) {
21338
- return p -= f, p = b.adjustPosition(p - g), p;
21314
+ var d = function(h, f, g, b) {
21315
+ return h -= f, h = b.adjustPosition(h - g), h;
21339
21316
  };
21340
21317
  l.left = d(l.left, this.wrapperOffset.left, o, this.scrollBehaviorX), l.top = d(l.top, this.wrapperOffset.top, r, this.scrollBehaviorY), !this.hooks.trigger(this.hooks.eventTypes.scrollToElement, a, l) && this.scrollTo(l.left, l.top, n, s);
21341
21318
  }, e.prototype.resetPosition = function(t, n) {
@@ -21685,13 +21662,13 @@ var EventRegister$1 = (
21685
21662
  this.cleanCache();
21686
21663
  var l = this.scroll.scroller, u = l.scrollBehaviorX, d = l.scrollBehaviorY;
21687
21664
  u.setMovingDirection(-t.directionX), d.setMovingDirection(-t.directionY), u.setDirection(t.x), d.setDirection(t.y);
21688
- var p = u.performDampingAlgorithm(Math.round(t.x) + a.x, s), f = d.performDampingAlgorithm(Math.round(t.y) + a.x, s);
21665
+ var h = u.performDampingAlgorithm(Math.round(t.x) + a.x, s), f = d.performDampingAlgorithm(Math.round(t.y) + a.x, s);
21689
21666
  if (!this.scroll.trigger(this.scroll.eventTypes.mousewheelMove, {
21690
- x: p,
21667
+ x: h,
21691
21668
  y: f
21692
21669
  })) {
21693
21670
  var g = this.getEaseTime();
21694
- (p !== this.scroll.x || f !== this.scroll.y) && this.scroll.scrollTo(p, f, g);
21671
+ (h !== this.scroll.x || f !== this.scroll.y) && this.scroll.scrollTo(h, f, g);
21695
21672
  }
21696
21673
  r && (this.wheelMoveTimer = window.setTimeout(function() {
21697
21674
  n.wheelMoveTimer = 0;
@@ -21918,8 +21895,8 @@ var style = {
21918
21895
  var r = this.events[t];
21919
21896
  if (r)
21920
21897
  for (var s = r.length, a = __spreadArrays(r), l, u = 0; u < s; u++) {
21921
- var d = a[u], p = d[0], f = d[1];
21922
- if (p && (l = p.apply(f, n), l === !0))
21898
+ var d = a[u], h = d[0], f = d[1];
21899
+ if (h && (l = h.apply(f, n), l === !0))
21923
21900
  return l;
21924
21901
  }
21925
21902
  }, e.prototype.registerType = function(t) {
@@ -22034,7 +22011,7 @@ var style = {
22034
22011
  }), this.registerHooks(a, a.eventTypes.mousewheelEnd, function() {
22035
22012
  t.fade();
22036
22013
  }))), r) {
22037
- var p = this.scroll.options, f = p.disableMouse, g = p.disableTouch;
22014
+ var h = this.scroll.options, f = h.disableMouse, g = h.disableTouch;
22038
22015
  this.eventHandler = new EventHandler(this, {
22039
22016
  disableMouse: f,
22040
22017
  disableTouch: g
@@ -22113,10 +22090,10 @@ var style = {
22113
22090
  var n = this.caculatePosAndSize(t, this.scrollInfo), o = n.pos, r = n.size;
22114
22091
  this.refreshStyle(r, o), this.currentPos = o;
22115
22092
  }, e.prototype.caculatePosAndSize = function(t, n) {
22116
- var o = this.keysMap.pos, r = n.sizeRatio, s = n.baseSize, a = n.maxScrollPos, l = n.minScrollPos, u = this.options.minSize, d = Math.round(r * t[o]), p;
22117
- return d < l ? (p = Math.max(s + d * 3, u), d = l) : d > a ? (p = Math.max(s - (d - a) * 3, u), d = a + s - p) : p = s, {
22093
+ var o = this.keysMap.pos, r = n.sizeRatio, s = n.baseSize, a = n.maxScrollPos, l = n.minScrollPos, u = this.options.minSize, d = Math.round(r * t[o]), h;
22094
+ return d < l ? (h = Math.max(s + d * 3, u), d = l) : d > a ? (h = Math.max(s - (d - a) * 3, u), d = a + s - h) : h = s, {
22118
22095
  pos: d,
22119
- size: p
22096
+ size: h
22120
22097
  };
22121
22098
  }, e.prototype.refreshStyle = function(t, n) {
22122
22099
  var o = this.keysMap, r = o.translateProperty, s = o.size, a = this.scroll.options.translateZ;
@@ -22140,8 +22117,8 @@ var style = {
22140
22117
  var n = this.currentPos, o = this.scrollInfo, r = o.maxScrollPos, s = o.minScrollPos, a = n === s && t <= 0 || n === r && t >= 0;
22141
22118
  return a;
22142
22119
  }, e.prototype.syncBScroll = function(t) {
22143
- var n = getNow(), o = this.scroll, r = o.x, s = o.y, a = o.options, l = o.scroller, u = o.maxScrollY, d = o.minScrollY, p = o.maxScrollX, f = o.minScrollX, g = a.probeType, b = a.momentumLimitTime, _ = { x: r, y: s };
22144
- this.direction === "vertical" ? _.y = between(t, u, d) : _.x = between(t, p, f), l.translater.translate(_), n - this.startTime > b && (this.startTime = n, g === 1 && l.hooks.trigger(l.hooks.eventTypes.scroll, _)), g > 1 && l.hooks.trigger(l.hooks.eventTypes.scroll, _);
22120
+ var n = getNow(), o = this.scroll, r = o.x, s = o.y, a = o.options, l = o.scroller, u = o.maxScrollY, d = o.minScrollY, h = o.maxScrollX, f = o.minScrollX, g = a.probeType, b = a.momentumLimitTime, _ = { x: r, y: s };
22121
+ this.direction === "vertical" ? _.y = between(t, u, d) : _.x = between(t, h, f), l.translater.translate(_), n - this.startTime > b && (this.startTime = n, g === 1 && l.hooks.trigger(l.hooks.eventTypes.scroll, _)), g > 1 && l.hooks.trigger(l.hooks.eventTypes.scroll, _);
22145
22122
  }, e.prototype.newPos = function(t, n, o) {
22146
22123
  var r = o.maxScrollPos, s = o.sizeRatio, a = o.minScrollPos, l = t + n;
22147
22124
  return l = between(l, a, r), Math.round(l / s);
@@ -22187,8 +22164,8 @@ var style = {
22187
22164
  ], a = this.options.customElements, l = 0; l < r.length; l++) {
22188
22165
  var u = r[l];
22189
22166
  if (n.options[u]) {
22190
- var d = a.shift(), p = s[l], f = !1, g = d || this.createScrollbarElement(p);
22191
- g !== d ? n.wrapper.appendChild(g) : f = !0, t = __assign(__assign({ wrapper: g, direction: p }, this.options), { isCustom: f }), o.push(new Indicator(n, t));
22167
+ var d = a.shift(), h = s[l], f = !1, g = d || this.createScrollbarElement(h);
22168
+ g !== d ? n.wrapper.appendChild(g) : f = !0, t = __assign(__assign({ wrapper: g, direction: h }, this.options), { isCustom: f }), o.push(new Indicator(n, t));
22192
22169
  }
22193
22170
  }
22194
22171
  this.indicators = o;
@@ -22290,8 +22267,8 @@ function calculateDepths(e, t) {
22290
22267
  return n;
22291
22268
  }
22292
22269
  function checkBeyondBoundary(e) {
22293
- var t = hasScroll(e), n = t.hasHorizontalScroll, o = t.hasVerticalScroll, r = e.scroller, s = r.scrollBehaviorX, a = r.scrollBehaviorY, l = e.x >= e.minScrollX && s.movingDirection === -1, u = e.x <= e.maxScrollX && s.movingDirection === 1, d = e.y >= e.minScrollY && a.movingDirection === -1, p = e.y <= e.maxScrollY && a.movingDirection === 1;
22294
- return o ? d || p : n ? l || u : !1;
22270
+ var t = hasScroll(e), n = t.hasHorizontalScroll, o = t.hasVerticalScroll, r = e.scroller, s = r.scrollBehaviorX, a = r.scrollBehaviorY, l = e.x >= e.minScrollX && s.movingDirection === -1, u = e.x <= e.maxScrollX && s.movingDirection === 1, d = e.y >= e.minScrollY && a.movingDirection === -1, h = e.y <= e.maxScrollY && a.movingDirection === 1;
22271
+ return o ? d || h : n ? l || u : !1;
22295
22272
  }
22296
22273
  function setupData(e) {
22297
22274
  var t = hasScroll(e), n = t.hasHorizontalScroll, o = t.hasVerticalScroll, r = e.scroller, s = r.actions, a = r.scrollBehaviorX, l = r.scrollBehaviorY;
@@ -22307,9 +22284,9 @@ function patchedMomentum(e, t, n, o, r, s, a) {
22307
22284
  a === void 0 && (a = this.options);
22308
22285
  var l = e - t, u = Math.abs(l) / n, d = a.deceleration;
22309
22286
  a.swipeBounceTime;
22310
- var p = a.swipeTime, f = {
22287
+ var h = a.swipeTime, f = {
22311
22288
  destination: e + u / d * (l < 0 ? -1 : 1),
22312
- duration: p,
22289
+ duration: h,
22313
22290
  rate: 15
22314
22291
  };
22315
22292
  return this.hooks.trigger(this.hooks.eventTypes.momentum, f, l), f.destination < o ? (f.destination = s ? Math.max(
@@ -22428,11 +22405,11 @@ var ease = {
22428
22405
  };
22429
22406
  }
22430
22407
  }, e.prototype.computePagePosInfo = function(t, n) {
22431
- var o = [], r = 0, s, a, l, u = 0, d, p = this.scroll.scroller.scrollBehaviorX.maxScrollPos, f = this.scroll.scroller.scrollBehaviorY.maxScrollPos;
22408
+ var o = [], r = 0, s, a, l, u = 0, d, h = this.scroll.scroller.scrollBehaviorX.maxScrollPos, f = this.scroll.scroller.scrollBehaviorY.maxScrollPos;
22432
22409
  for (a = Math.round(t / 2), l = Math.round(n / 2); r > -this.scrollerWidth; ) {
22433
22410
  for (o[u] = [], d = 0, s = 0; s > -this.scrollerHeight; )
22434
22411
  o[u][d] = {
22435
- x: Math.max(r, p),
22412
+ x: Math.max(r, h),
22436
22413
  y: Math.max(s, f),
22437
22414
  width: t,
22438
22415
  height: n,
@@ -22443,8 +22420,8 @@ var ease = {
22443
22420
  }
22444
22421
  return o;
22445
22422
  }, e.prototype.computePagePosInfoByEl = function(t) {
22446
- for (var n = [], o = 0, r = 0, s, a, l = 0, u = t.length, d = 0, p = -1, f, g = this.scroll.scroller.scrollBehaviorX.maxScrollPos, b = this.scroll.scroller.scrollBehaviorY.maxScrollPos; l < u; l++)
22447
- f = getRect(t[l]), (l === 0 || f.left <= getRect(t[l - 1]).left) && (d = 0, p++), n[d] || (n[d] = []), o = Math.max(-f.left, g), r = Math.max(-f.top, b), s = o - Math.round(f.width / 2), a = r - Math.round(f.height / 2), n[d][p] = {
22423
+ for (var n = [], o = 0, r = 0, s, a, l = 0, u = t.length, d = 0, h = -1, f, g = this.scroll.scroller.scrollBehaviorX.maxScrollPos, b = this.scroll.scroller.scrollBehaviorY.maxScrollPos; l < u; l++)
22424
+ f = getRect(t[l]), (l === 0 || f.left <= getRect(t[l - 1]).left) && (d = 0, h++), n[d] || (n[d] = []), o = Math.max(-f.left, g), r = Math.max(-f.top, b), s = o - Math.round(f.width / 2), a = r - Math.round(f.height / 2), n[d][h] = {
22448
22425
  x: o,
22449
22426
  y: r,
22450
22427
  width: f.width,
@@ -22626,12 +22603,12 @@ var ease = {
22626
22603
  var a = this.setSlideWidth(o), l = this.setSlideHeight(
22627
22604
  this.scroll.scroller.wrapper,
22628
22605
  o
22629
- ), u = a || l, d = this.scroll.hooks, p = this.scroll.scroller.hooks;
22630
- this.registorHooks(d, "refresh", this.initSlideState), this.registorHooks(d, "destroy", this.destroy), this.registorHooks(p, "momentum", this.modifyScrollMetaHandler), this.registorHooks(this.scroll, "scrollEnd", this.amendCurrentPage), this.registorHooks(p, "beforeStart", this.setTouchFlag), this.registorHooks(p, "scroll", this.scrollMoving), this.registorHooks(p, "resize", this.resize), this.scroll.eventTypes.mousewheelMove && this.scroll.eventTypes.mousewheelEnd && (this.registorHooks(this.scroll, "mousewheelMove", function() {
22606
+ ), u = a || l, d = this.scroll.hooks, h = this.scroll.scroller.hooks;
22607
+ this.registorHooks(d, "refresh", this.initSlideState), this.registorHooks(d, "destroy", this.destroy), this.registorHooks(h, "momentum", this.modifyScrollMetaHandler), this.registorHooks(this.scroll, "scrollEnd", this.amendCurrentPage), this.registorHooks(h, "beforeStart", this.setTouchFlag), this.registorHooks(h, "scroll", this.scrollMoving), this.registorHooks(h, "resize", this.resize), this.scroll.eventTypes.mousewheelMove && this.scroll.eventTypes.mousewheelEnd && (this.registorHooks(this.scroll, "mousewheelMove", function() {
22631
22608
  return !0;
22632
22609
  }), this.registorHooks(this.scroll, "mousewheelEnd", function(f) {
22633
22610
  (f.directionX === 1 || f.directionY === 1) && t.next(), (f.directionX === -1 || f.directionY === -1) && t.prev();
22634
- })), n.listenFlick !== !1 && this.registorHooks(p, "flick", this.flickHandler), !r && !u ? this.initSlideState() : this.scroll.refresh();
22611
+ })), n.listenFlick !== !1 && this.registorHooks(h, "flick", this.flickHandler), !r && !u ? this.initSlideState() : this.scroll.refresh();
22635
22612
  }, e.prototype.resize = function() {
22636
22613
  var t = this, n = this.scroll.scroller.content, o = this.scroll.scroller.wrapper;
22637
22614
  return clearTimeout(this.resizeTimeout), this.resizeTimeout = window.setTimeout(function() {
@@ -22770,8 +22747,8 @@ var ease = {
22770
22747
  n === void 0 && (n = 0);
22771
22748
  var s = this.page.change2safePage(t, n);
22772
22749
  if (s) {
22773
- var a = r || this.slideOpt.easing || ease.bounce, l = s.x, u = s.y, d = l - this.scroll.scroller.scrollBehaviorX.currentPos, p = u - this.scroll.scroller.scrollBehaviorY.currentPos;
22774
- !d && !p || (o = o === void 0 ? this.getAnimateTime(d, p) : o, this.page.changeCurrentPage({
22750
+ var a = r || this.slideOpt.easing || ease.bounce, l = s.x, u = s.y, d = l - this.scroll.scroller.scrollBehaviorX.currentPos, h = u - this.scroll.scroller.scrollBehaviorY.currentPos;
22751
+ !d && !h || (o = o === void 0 ? this.getAnimateTime(d, h) : o, this.page.changeCurrentPage({
22775
22752
  x: l,
22776
22753
  y: u,
22777
22754
  pageX: s.pageX,
@@ -26685,15 +26662,15 @@ const EventSender$1 = {
26685
26662
  for (let _ of b)
26686
26663
  d[_] = !0;
26687
26664
  });
26688
- var p = [];
26665
+ var h = [];
26689
26666
  for (var f in d)
26690
- p.push({
26667
+ h.push({
26691
26668
  name: f,
26692
26669
  type: "*",
26693
26670
  plug: "output",
26694
26671
  displayName: f
26695
26672
  });
26696
- e.editorConnection.sendDynamicPorts(o.id, p, {
26673
+ e.editorConnection.sendDynamicPorts(o.id, h, {
26697
26674
  detectRenamed: {
26698
26675
  plug: "output"
26699
26676
  }
@@ -27214,7 +27191,7 @@ const JavaScript = {
27214
27191
  });
27215
27192
  }), _parseAndSourceJavascript(o, e, function(u) {
27216
27193
  u.forEach((d) => {
27217
- s.find((p) => p.name === d.name && p.plug === d.plug) || s.push(d);
27194
+ s.find((h) => h.name === d.name && h.plug === d.plug) || s.push(d);
27218
27195
  }), e.editorConnection.sendDynamicPorts(o.id, s);
27219
27196
  });
27220
27197
  }
@@ -27418,8 +27395,8 @@ const StatesNode = {
27418
27395
  u
27419
27396
  );
27420
27397
  else if (this.valueTypes[a] === "color") {
27421
- let d = this.startValues[a], p = this.targetValues[a];
27422
- s[0] = Math.floor(EaseCurves.linear(d[0], p[0], u)), s[1] = Math.floor(EaseCurves.linear(d[1], p[1], u)), s[2] = Math.floor(EaseCurves.linear(d[2], p[2], u)), s[3] = Math.floor(EaseCurves.linear(d[3], p[3], u)), r[a] = rgbaToHex(s);
27398
+ let d = this.startValues[a], h = this.targetValues[a];
27399
+ s[0] = Math.floor(EaseCurves.linear(d[0], h[0], u)), s[1] = Math.floor(EaseCurves.linear(d[1], h[1], u)), s[2] = Math.floor(EaseCurves.linear(d[2], h[2], u)), s[3] = Math.floor(EaseCurves.linear(d[3], h[3], u)), r[a] = rgbaToHex(s);
27423
27400
  }
27424
27401
  }
27425
27402
  e.flagOutputDirty(a);
@@ -27603,11 +27580,11 @@ const StatesNode = {
27603
27580
  for (var s in t.values) {
27604
27581
  var a = t.values[s];
27605
27582
  t.startValues[a] = t.currentValues[a];
27606
- const p = t.stateParameterTypes["type-" + a];
27607
- if (p === "boolean") {
27583
+ const h = t.stateParameterTypes["type-" + a];
27584
+ if (h === "boolean") {
27608
27585
  var l = t.stateParameters["value-" + e + "-" + a];
27609
27586
  t.currentValues[a] = l === void 0 ? !1 : !!l, this.flagOutputDirty(a);
27610
- } else if (p === "string" || p === "textStyle")
27587
+ } else if (h === "string" || h === "textStyle")
27611
27588
  t.currentValues[a] = t.stateParameters["value-" + e + "-" + a], this.flagOutputDirty(a);
27612
27589
  else {
27613
27590
  var u = t.stateParameters["transition-" + e + "-" + a];
@@ -27743,8 +27720,8 @@ function updatePorts$9(e, t, n) {
27743
27720
  previousStates[e] = o;
27744
27721
  var d = detectRename$1(previousValues[e], r);
27745
27722
  previousValues[e] = r;
27746
- let p;
27747
- u ? (p = {
27723
+ let h;
27724
+ u ? (h = {
27748
27725
  plug: "input",
27749
27726
  before: u.before,
27750
27727
  after: u.after,
@@ -27760,8 +27737,8 @@ function updatePorts$9(e, t, n) {
27760
27737
  "reached-{{*}}"
27761
27738
  ]
27762
27739
  }, r && r.forEach(function(f) {
27763
- p.patterns.push("value-{{*}}-" + f);
27764
- })) : d && (p = [
27740
+ h.patterns.push("value-{{*}}-" + f);
27741
+ })) : d && (h = [
27765
27742
  {
27766
27743
  plug: "output",
27767
27744
  before: d.before,
@@ -27782,7 +27759,7 @@ function updatePorts$9(e, t, n) {
27782
27759
  return "value-" + f + "-{{*}}";
27783
27760
  }) : void 0
27784
27761
  }
27785
- ]), n.sendDynamicPorts(e, s, { renamed: p });
27762
+ ]), n.sendDynamicPorts(e, s, { renamed: h });
27786
27763
  }
27787
27764
  const States = {
27788
27765
  node: StatesNode,
@@ -28477,16 +28454,16 @@ function extendSetComponentObjectProperties(e) {
28477
28454
  if (u) {
28478
28455
  u = u ? u.split(",") : void 0;
28479
28456
  for (var d in u) {
28480
- var p = u[d];
28457
+ var h = u[d];
28481
28458
  a.push({
28482
28459
  type: {
28483
- name: r["type-" + p] === void 0 ? "*" : r["type-" + p]
28460
+ name: r["type-" + h] === void 0 ? "*" : r["type-" + h]
28484
28461
  },
28485
28462
  plug: "input",
28486
28463
  group: "Property Values",
28487
- displayName: p,
28464
+ displayName: h,
28488
28465
  // editorName:p,
28489
- name: "prop-" + p
28466
+ name: "prop-" + h
28490
28467
  }), a.push({
28491
28468
  type: {
28492
28469
  name: "enum",
@@ -28495,9 +28472,9 @@ function extendSetComponentObjectProperties(e) {
28495
28472
  },
28496
28473
  plug: "input",
28497
28474
  group: "Property Types",
28498
- displayName: p,
28475
+ displayName: h,
28499
28476
  default: "*",
28500
- name: "type-" + p
28477
+ name: "type-" + h
28501
28478
  });
28502
28479
  }
28503
28480
  }
@@ -30323,10 +30300,10 @@ const NavigateBack$1 = {
30323
30300
  n && (o = n.map(function(d) {
30324
30301
  return d.replace("{", "").replace("}", "");
30325
30302
  })), o.forEach(function(d) {
30326
- var p = e.params[d];
30303
+ var h = e.params[d];
30327
30304
  t = t.replace(
30328
30305
  "{" + d + "}",
30329
- p !== void 0 ? p : ""
30306
+ h !== void 0 ? h : ""
30330
30307
  );
30331
30308
  });
30332
30309
  var r, s, a = Runtime.instance.getProjectSettings().navigationPathType;
@@ -30367,14 +30344,14 @@ const NavigateBack$1 = {
30367
30344
  function s() {
30368
30345
  var a = [];
30369
30346
  if (r.parameters.path !== void 0)
30370
- var l = r.parameters.path.match(/\{[A-Za-z0-9_]*\}/g) || [], u = l.map(function(p) {
30371
- return p.replace("{", "").replace("}", "");
30372
- }), a = u.filter(function(p, f, g) {
30373
- return g.indexOf(p) === f;
30374
- }).map(function(p) {
30347
+ var l = r.parameters.path.match(/\{[A-Za-z0-9_]*\}/g) || [], u = l.map(function(h) {
30348
+ return h.replace("{", "").replace("}", "");
30349
+ }), a = u.filter(function(h, f, g) {
30350
+ return g.indexOf(h) === f;
30351
+ }).map(function(h) {
30375
30352
  return {
30376
- name: "p-" + p,
30377
- displayName: p,
30353
+ name: "p-" + h,
30354
+ displayName: h,
30378
30355
  group: "Parameter",
30379
30356
  type: "*",
30380
30357
  plug: "input"
@@ -30557,11 +30534,11 @@ function setup(e, t) {
30557
30534
  var u = o.parameters.transition || "Push";
30558
30535
  Transitions[u] && (l = l.concat(Transitions[u].ports(o.parameters)));
30559
30536
  }
30560
- const p = t.getNodesWithType("Page Stack").find(
30537
+ const h = t.getNodesWithType("Page Stack").find(
30561
30538
  (f) => (f.parameters.name || "Main") === (o.parameters.stack || "Main")
30562
30539
  );
30563
- if (p !== void 0) {
30564
- const f = p.parameters.pages;
30540
+ if (h !== void 0) {
30541
+ const f = h.parameters.pages;
30565
30542
  if (f !== void 0 && f.length > 0) {
30566
30543
  l.push({
30567
30544
  plug: "input",
@@ -30577,7 +30554,7 @@ function setup(e, t) {
30577
30554
  name: "target",
30578
30555
  default: f[0].id
30579
30556
  });
30580
- const g = o.parameters.target || f[0].id, b = p.parameters["pageComp-" + g];
30557
+ const g = o.parameters.target || f[0].id, b = h.parameters["pageComp-" + g];
30581
30558
  if (b !== void 0) {
30582
30559
  const _ = t.components[b];
30583
30560
  if (_ !== void 0) {
@@ -30622,9 +30599,9 @@ function setup(e, t) {
30622
30599
  if (u !== void 0) {
30623
30600
  var d = u.parameters.pages;
30624
30601
  if (!(d === void 0 || d.length === 0)) {
30625
- var p = u.parameters["pageComp-" + (o.parameters.target || d[0].id)];
30626
- if (p !== void 0) {
30627
- var f = t.components[p];
30602
+ var h = u.parameters["pageComp-" + (o.parameters.target || d[0].id)];
30603
+ if (h !== void 0) {
30604
+ var f = t.components[h];
30628
30605
  if (f !== void 0) {
30629
30606
  f.on("inputPortAdded", r), f.on("inputPortRemoved", r);
30630
30607
  for (const g of f.getNodesWithType("PageStackNavigateBack"))
@@ -30763,11 +30740,11 @@ const Navigate$1 = {
30763
30740
  var u = t.components[l];
30764
30741
  if (u) {
30765
30742
  for (var d in u.inputPorts) {
30766
- var p = u.inputPorts[d];
30743
+ var h = u.inputPorts[d];
30767
30744
  a.push({
30768
30745
  name: "popupParam-" + d,
30769
30746
  displayName: d,
30770
- type: p.type || "*",
30747
+ type: h.type || "*",
30771
30748
  plug: "input",
30772
30749
  group: "Params"
30773
30750
  });
@@ -30916,8 +30893,8 @@ const Navigate$1 = {
30916
30893
  var d = o.parameters.closeActions;
30917
30894
  if (d) {
30918
30895
  d = d ? d.split(",") : void 0;
30919
- for (const p in d) {
30920
- const f = d[p];
30896
+ for (const h in d) {
30897
+ const f = d[h];
30921
30898
  s.push({
30922
30899
  type: "signal",
30923
30900
  plug: "input",
@@ -31401,8 +31378,8 @@ function updatePorts$5(e, t, n, o) {
31401
31378
  for (var l in a)
31402
31379
  if (d.indexOf(l) === -1) {
31403
31380
  var u = a[l];
31404
- if (!r.find((p) => p.name === l) && u.type !== "Relation") {
31405
- const p = {
31381
+ if (!r.find((h) => h.name === l) && u.type !== "Relation") {
31382
+ const h = {
31406
31383
  String: "string",
31407
31384
  Boolean: "boolean",
31408
31385
  Number: "number",
@@ -31410,7 +31387,7 @@ function updatePorts$5(e, t, n, o) {
31410
31387
  };
31411
31388
  r.push({
31412
31389
  type: {
31413
- name: p[u.type] ? p[u.type] : "*"
31390
+ name: h[u.type] ? h[u.type] : "*"
31414
31391
  },
31415
31392
  plug: "input",
31416
31393
  group: "Properties",
@@ -33586,8 +33563,8 @@ lodash_isequal.exports;
33586
33563
  var hasRequiredLodash_isequal;
33587
33564
  function requireLodash_isequal() {
33588
33565
  return hasRequiredLodash_isequal || (hasRequiredLodash_isequal = 1, function(e, t) {
33589
- var n = 200, o = "__lodash_hash_undefined__", r = 1, s = 2, a = 9007199254740991, l = "[object Arguments]", u = "[object Array]", d = "[object AsyncFunction]", p = "[object Boolean]", f = "[object Date]", g = "[object Error]", b = "[object Function]", _ = "[object GeneratorFunction]", T = "[object Map]", A = "[object Number]", v = "[object Null]", I = "[object Object]", k = "[object Promise]", N = "[object Proxy]", w = "[object RegExp]", E = "[object Set]", F = "[object String]", L = "[object Symbol]", B = "[object Undefined]", H = "[object WeakMap]", J = "[object ArrayBuffer]", ie = "[object DataView]", pe = "[object Float32Array]", xe = "[object Float64Array]", Me = "[object Int8Array]", ae = "[object Int16Array]", Ie = "[object Int32Array]", Te = "[object Uint8Array]", Ne = "[object Uint8ClampedArray]", me = "[object Uint16Array]", Ee = "[object Uint32Array]", Ae = /[\\^$.*+?()[\]{}|]/g, qe = /^\[object .+?Constructor\]$/, Fe = /^(?:0|[1-9]\d*)$/, Y = {};
33590
- Y[pe] = Y[xe] = Y[Me] = Y[ae] = Y[Ie] = Y[Te] = Y[Ne] = Y[me] = Y[Ee] = !0, Y[l] = Y[u] = Y[J] = Y[p] = Y[ie] = Y[f] = Y[g] = Y[b] = Y[T] = Y[A] = Y[I] = Y[w] = Y[E] = Y[F] = Y[H] = !1;
33566
+ var n = 200, o = "__lodash_hash_undefined__", r = 1, s = 2, a = 9007199254740991, l = "[object Arguments]", u = "[object Array]", d = "[object AsyncFunction]", h = "[object Boolean]", f = "[object Date]", g = "[object Error]", b = "[object Function]", _ = "[object GeneratorFunction]", T = "[object Map]", A = "[object Number]", v = "[object Null]", I = "[object Object]", k = "[object Promise]", N = "[object Proxy]", w = "[object RegExp]", E = "[object Set]", F = "[object String]", L = "[object Symbol]", B = "[object Undefined]", H = "[object WeakMap]", J = "[object ArrayBuffer]", ie = "[object DataView]", pe = "[object Float32Array]", xe = "[object Float64Array]", Me = "[object Int8Array]", ae = "[object Int16Array]", Ie = "[object Int32Array]", Te = "[object Uint8Array]", Ne = "[object Uint8ClampedArray]", me = "[object Uint16Array]", Ee = "[object Uint32Array]", Ae = /[\\^$.*+?()[\]{}|]/g, qe = /^\[object .+?Constructor\]$/, Fe = /^(?:0|[1-9]\d*)$/, Y = {};
33567
+ Y[pe] = Y[xe] = Y[Me] = Y[ae] = Y[Ie] = Y[Te] = Y[Ne] = Y[me] = Y[Ee] = !0, Y[l] = Y[u] = Y[J] = Y[h] = Y[ie] = Y[f] = Y[g] = Y[b] = Y[T] = Y[A] = Y[I] = Y[w] = Y[E] = Y[F] = Y[H] = !1;
33591
33568
  var ve = typeof commonjsGlobal == "object" && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal, Ve = typeof self == "object" && self && self.Object === Object && self, re = ve || Ve || Function("return this")(), Oe = t && !t.nodeType && t, $e = Oe && !0 && e && !e.nodeType && e, Le = $e && $e.exports === Oe, fe = Le && ve.process, Xe = function() {
33592
33569
  try {
33593
33570
  return fe && fe.binding && fe.binding("util");
@@ -33648,7 +33625,7 @@ function requireLodash_isequal() {
33648
33625
  var ye = Array.prototype, ue = Function.prototype, Se = Object.prototype, ge = re["__core-js_shared__"], ze = ue.toString, Z = Se.hasOwnProperty, Ce = function() {
33649
33626
  var m = /[^.]+$/.exec(ge && ge.keys && ge.keys.IE_PROTO || "");
33650
33627
  return m ? "Symbol(src)_1." + m : "";
33651
- }(), c = Se.toString, h = RegExp(
33628
+ }(), c = Se.toString, p = RegExp(
33652
33629
  "^" + ze.call(Z).replace(Ae, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
33653
33630
  ), y = Le ? re.Buffer : void 0, S = re.Symbol, O = re.Uint8Array, M = Se.propertyIsEnumerable, U = ye.splice, j = S ? S.toStringTag : void 0, z = Object.getOwnPropertySymbols, q = y ? y.isBuffer : void 0, C = tt(Object.keys, Object), x = lt(re, "DataView"), V = lt(re, "Map"), G = lt(re, "Promise"), ee = lt(re, "Set"), oe = lt(re, "WeakMap"), de = lt(Object, "create"), ke = ot(x), Ye = ot(V), St = ot(G), Je = ot(ee), at = ot(oe), ut = S ? S.prototype : void 0, bt = ut ? ut.valueOf : void 0;
33654
33631
  function nt(m) {
@@ -33832,7 +33809,7 @@ function requireLodash_isequal() {
33832
33809
  function on(m) {
33833
33810
  if (!Tt(m) || hn(m))
33834
33811
  return !1;
33835
- var P = wt(m) ? h : qe;
33812
+ var P = wt(m) ? p : qe;
33836
33813
  return P.test(ot(m));
33837
33814
  }
33838
33815
  function rn(m) {
@@ -33887,7 +33864,7 @@ function requireLodash_isequal() {
33887
33864
  m = m.buffer, P = P.buffer;
33888
33865
  case J:
33889
33866
  return !(m.byteLength != P.byteLength || !X(new O(m), new O(P)));
33890
- case p:
33867
+ case h:
33891
33868
  case f:
33892
33869
  case A:
33893
33870
  return Ot(+m, +P);
@@ -34553,9 +34530,9 @@ function updatePorts$1(e, t, n, o) {
34553
34530
  },
34554
34531
  plug: "input"
34555
34532
  }), t.$ndlCollectionName && o) {
34556
- var p = o.find((_) => _.name === t.$ndlCollectionName);
34557
- if (p && p.schema && p.schema.properties) {
34558
- var f = p.schema.properties;
34533
+ var h = o.find((_) => _.name === t.$ndlCollectionName);
34534
+ if (h && h.schema && h.schema.properties) {
34535
+ var f = h.schema.properties;
34559
34536
  for (var g in f) {
34560
34537
  var l = f[g];
34561
34538
  r.find((T) => T.name === g) || (l.type === "Relation" ? (r.push({
@@ -34713,8 +34690,8 @@ function _convertFilterOp(e, t) {
34713
34690
  var l = Model.get(g.pointsTo);
34714
34691
  if (CloudStore._collections[t.collectionName])
34715
34692
  var u = CloudStore._collections[t.collectionName].schema;
34716
- var d = u && u.properties && u.properties[r] ? u.properties[r].targetClass : void 0, p = u && u.properties && u.properties[r] ? u.properties[r].type : void 0;
34717
- p === "Relation" ? o[r] = {
34693
+ var d = u && u.properties && u.properties[r] ? u.properties[r].targetClass : void 0, h = u && u.properties && u.properties[r] ? u.properties[r].type : void 0;
34694
+ h === "Relation" ? o[r] = {
34718
34695
  __type: "Pointer",
34719
34696
  objectId: g.pointsTo,
34720
34697
  className: d
@@ -34951,14 +34928,14 @@ var DbCollectionNode = {
34951
34928
  const g = {};
34952
34929
  for (let b in e)
34953
34930
  b.startsWith("storageFilterValue-") && (g[b.substring(19)] = e[b]);
34954
- var p = [u, u, d, g];
34931
+ var h = [u, u, d, g];
34955
34932
  this._internal.filterVariables.forEach((b) => {
34956
- p.push(
34933
+ h.push(
34957
34934
  e["storageFilterValue-" + b.substring(1)]
34958
34935
  );
34959
34936
  });
34960
34937
  try {
34961
- this._internal.filterFunc.apply(this, p);
34938
+ this._internal.filterFunc.apply(this, h);
34962
34939
  } catch (b) {
34963
34940
  console.log("Error while running filter script: " + b);
34964
34941
  }
@@ -35109,9 +35086,9 @@ function updatePorts(e, t, n, o) {
35109
35086
  editorName: d + " filter | Type",
35110
35087
  name: "storageFilterType-" + d
35111
35088
  });
35112
- var p = t["storageFilterType-" + d];
35089
+ var h = t["storageFilterType-" + d];
35113
35090
  r.push({
35114
- type: { name: "enum", enums: u[p || "string"] },
35091
+ type: { name: "enum", enums: u[h || "string"] },
35115
35092
  default: "eq",
35116
35093
  plug: "input",
35117
35094
  group: d + " filter",
@@ -35119,7 +35096,7 @@ function updatePorts(e, t, n, o) {
35119
35096
  editorName: d + " filter| Op",
35120
35097
  name: "storageFilterOp-" + d
35121
35098
  }), r.push({
35122
- type: p || "string",
35099
+ type: h || "string",
35123
35100
  plug: "input",
35124
35101
  group: d + " filter",
35125
35102
  displayName: "Value",
@@ -35136,7 +35113,7 @@ function updatePorts(e, t, n, o) {
35136
35113
  displayName: "Sort"
35137
35114
  }), t.storageSort) {
35138
35115
  var s = t.storageSort.split(",");
35139
- s.forEach((p) => {
35116
+ s.forEach((h) => {
35140
35117
  r.push({
35141
35118
  type: {
35142
35119
  name: "enum",
@@ -35147,10 +35124,10 @@ function updatePorts(e, t, n, o) {
35147
35124
  },
35148
35125
  default: "ascending",
35149
35126
  plug: "input",
35150
- group: p + " sort",
35127
+ group: h + " sort",
35151
35128
  displayName: "Sort",
35152
- editorName: p + " sorting",
35153
- name: "storageSort-" + p
35129
+ editorName: h + " sorting",
35130
+ name: "storageSort-" + h
35154
35131
  });
35155
35132
  });
35156
35133
  }