@fluxscape/react-runtime 1.0.6 → 1.0.7

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 h = u[d].children;
1001
- h && h.forEach((g) => {
1000
+ var p = u[d].children;
1001
+ p && p.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 h = u[d].children;
1019
- if (h) {
1020
- var f = h.filter(
1018
+ var p = u[d].children;
1019
+ if (p) {
1020
+ var f = p.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, h) => {
1523
+ l[u]._setCloseCallback((d, p) => {
1524
1524
  this.scheduleNextFrame(() => {
1525
- o.hasNodeWithId(s.id) && (this.onClosePopup(s), o.deleteNode(s), n && n.onClosePopup && n.onClosePopup(d, h));
1525
+ o.hasNodeWithId(s.id) && (this.onClosePopup(s), o.deleteNode(s), n && n.onClosePopup && n.onClosePopup(d, p));
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((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));
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));
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 = {}, h = {};
2056
+ var u = l.dynamicports || [], d = {}, p = {};
2057
2057
  u.filter((g) => g.channelPort !== void 0).forEach((g) => {
2058
- h[g.channelPort.plug + "/" + g.channelPort.name] = !0;
2058
+ p[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) || h.hasOwnProperty("input/" + g))) {
2060
+ if (!(d.hasOwnProperty("input/" + g) || p.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) || h.hasOwnProperty("output/" + g))) {
2074
+ if (!(d.hasOwnProperty("output/" + g) || p.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 h = e.inputs[d];
2935
- h.valueChangedToTrue && (u._inputs[d] = {
2934
+ var p = e.inputs[d];
2935
+ p.valueChangedToTrue && (u._inputs[d] = {
2936
2936
  set: createSetter({
2937
- valueChangedToTrue: h.valueChangedToTrue
2937
+ valueChangedToTrue: p.valueChangedToTrue
2938
2938
  })
2939
2939
  });
2940
2940
  }), Object.keys(e.outputs).forEach(function(d) {
2941
- var h = e.outputs[d];
2942
- h.type === "signal" ? u.registerOutput(d, {
2941
+ var p = e.outputs[d];
2942
+ p.type === "signal" ? u.registerOutput(d, {
2943
2943
  getter() {
2944
2944
  }
2945
- }) : u.registerOutput(d, h);
2945
+ }) : u.registerOutput(d, p);
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, h, f) {
2960
+ function l(d, p, 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(h + " ")
2962
+ (A) => A.startsWith(p + " ")
2963
2963
  ), _ = (b.length ? 1 + Math.max(
2964
- ...b.map((A) => Number(A.slice(h.length + 1)))
2964
+ ...b.map((A) => Number(A.slice(p.length + 1)))
2965
2965
  ) : 0) + 1, T = [];
2966
2966
  for (let A = 0; A < _; A++) {
2967
2967
  const v = {
2968
- name: h + " " + A,
2969
- displayName: (f.displayPrefix || h) + " " + A,
2968
+ name: p + " " + A,
2969
+ displayName: (f.displayPrefix || p) + " " + 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 h = o.map(
2979
+ const p = o.map(
2980
2980
  (f) => l(d, f, n[f])
2981
2981
  ).flat();
2982
- a.sendDynamicPorts(d.id, h);
2982
+ a.sendDynamicPorts(d.id, p);
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 = {}, h = {};
3011
+ var d = {}, p = {};
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") && (h[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") && (p[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(h);
3028
+ }), l.updateOutputPortTypes(p);
3029
3029
  var _ = Object.keys(l.getOutputPorts()), T = difference$1(
3030
3030
  _,
3031
- Object.keys(h)
3031
+ Object.keys(p)
3032
3032
  ), A = difference$1(
3033
- Object.keys(h),
3033
+ Object.keys(p),
3034
3034
  _
3035
3035
  );
3036
3036
  T.forEach(
3037
3037
  l.removeOutputPortWithName.bind(l)
3038
3038
  ), A.forEach(function(v) {
3039
- l.addOutputPort(h[v]);
3039
+ l.addOutputPort(p[v]);
3040
3040
  });
3041
3041
  }
3042
- function r(l, u, d, h) {
3042
+ function r(l, u, d, p) {
3043
3043
  var f = l.getNodesWithIdRecursive(u.id);
3044
3044
  f.forEach(function(g) {
3045
- g.queueInput(d, h);
3045
+ g.queueInput(d, p);
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 h of d)
3095
- u.setParameter(h, l.parameters[h]);
3094
+ for (const p of d)
3095
+ u.setParameter(p, l.parameters[p]);
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 h = u.indexOf("json") !== -1 ? JSON.parse(d) : d;
3910
- o.doResponse(l, h, e), a = !0;
3909
+ const p = u.indexOf("json") !== -1 ? JSON.parse(d) : d;
3910
+ o.doResponse(l, p, 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 (h) {
4002
+ } catch (p) {
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>: " + h.message,
4008
+ message: "<strong>" + n + "</strong>: " + p.message,
4009
4009
  showGlobally: !0
4010
4010
  }
4011
4011
  );
4012
4012
  }
4013
- function a(h) {
4014
- return s.find((f) => f.name === h) !== void 0;
4013
+ function a(p) {
4014
+ return s.find((f) => f.name === p) !== 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 h = {};
4018
+ const p = {};
4019
4019
  u.forEach((f) => {
4020
- h[f.substring(7)] = !0;
4021
- }), Object.keys(h).forEach((f) => {
4020
+ p[f.substring(7)] = !0;
4021
+ }), Object.keys(p).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 h = {};
4033
+ const p = {};
4034
4034
  d.forEach((f) => {
4035
- h[f.substring(8)] = !0;
4036
- }), Object.keys(h).forEach((f) => {
4035
+ p[f.substring(8)] = !0;
4036
+ }), Object.keys(p).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], h = d.replace("{", "").replace("}", "");
4067
- a("in-" + h) || s.push({
4068
- name: "in-" + h,
4069
- displayName: h,
4066
+ var d = l[u], p = d.replace("{", "").replace("}", "");
4067
+ a("in-" + p) || s.push({
4068
+ name: "in-" + p,
4069
+ displayName: p,
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, h = 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, p = 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 = h["__core-js_shared__"], L = function() {
4168
+ var N = Array.prototype, w = Function.prototype, E = Object.prototype, F = p["__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 = 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");
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");
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 (p(C[V][0], x))
4274
+ if (h(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 p(C, x) {
4353
+ function h(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 h = {}, f = d.length, g = 0; g < f; g++) {
5250
+ for (var p = {}, f = d.length, g = 0; g < f; g++) {
5251
5251
  var b = d[g];
5252
- h[b.getId()] = b;
5252
+ p[b.getId()] = b;
5253
5253
  }
5254
- return h;
5254
+ return p;
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((h) => {
5370
- var f = convertVisualFilter(h, t);
5369
+ return u[d] = [], e.rules.forEach((p) => {
5370
+ var f = convertVisualFilter(p, 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, h = this._internal.visualSorting !== void 0 ? convertVisualSorting(this._internal.visualSorting) : void 0;
5789
+ }) : void 0, p = this._internal.visualSorting !== void 0 ? convertVisualSorting(this._internal.visualSorting) : void 0;
5790
5790
  return {
5791
5791
  where: d,
5792
- sort: h
5792
+ sort: p
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 (h) {
5802
- this._internal.filterFunc = void 0, console.log("Error while parsing filter script: " + h);
5801
+ } catch (p) {
5802
+ this._internal.filterFunc = void 0, console.log("Error while parsing filter script: " + p);
5803
5803
  }
5804
5804
  if (!this._internal.filterFunc) return;
5805
- var o = {}, r = [], s = this, a = function(h) {
5806
- o = convertFilterOp(h, {
5805
+ var o = {}, r = [], s = this, a = function(p) {
5806
+ o = convertFilterOp(p, {
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(h) {
5820
- r = h;
5819
+ }, l = function(p) {
5820
+ r = p;
5821
5821
  };
5822
5822
  const d = {};
5823
- for (let h in e)
5824
- h.startsWith("storageFilterValue-") && (d[h.substring(19)] = e[h]);
5823
+ for (let p in e)
5824
+ p.startsWith("storageFilterValue-") && (d[p.substring(19)] = e[p]);
5825
5825
  var u = [a, a, l, d];
5826
- this._internal.filterVariables.forEach((h) => {
5826
+ this._internal.filterVariables.forEach((p) => {
5827
5827
  u.push(
5828
- e["storageFilterValue-" + h.substring(1)]
5828
+ e["storageFilterValue-" + p.substring(1)]
5829
5829
  );
5830
5830
  });
5831
5831
  try {
5832
5832
  this._internal.filterFunc.apply(this, u);
5833
- } catch (h) {
5834
- console.log("Error while running filter script: " + h);
5833
+ } catch (p) {
5834
+ console.log("Error while running filter script: " + p);
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 h = d.match(/\$[A-Za-z0-9]+/g);
6029
- if (h) {
6028
+ var p = d.match(/\$[A-Za-z0-9]+/g);
6029
+ if (p) {
6030
6030
  const f = {};
6031
- h.forEach((g) => {
6031
+ p.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 h in d) {
6335
- var f = d[h];
6336
- if (!r.find((g) => g.name === h) && f.type !== "Relation") {
6334
+ for (var p in d) {
6335
+ var f = d[p];
6336
+ if (!r.find((g) => g.name === p) && 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-" + h,
6350
- displayName: h
6349
+ name: "prop-" + p,
6350
+ displayName: p
6351
6351
  }), r.push({
6352
6352
  type: "signal",
6353
6353
  plug: "output",
6354
6354
  group: "Changed Events",
6355
- displayName: h + " Changed",
6356
- name: "changed-" + h
6355
+ displayName: p + " Changed",
6356
+ name: "changed-" + p
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 h = s.getMetaData("dbCollections"), f = s.getMetaData("systemCollections"), g = [
6464
+ const p = 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
- h !== void 0 ? h.map((I) => ({ value: I.name, label: I.name })) : []
6475
+ p !== void 0 ? p.map((I) => ({ value: I.name, label: I.name })) : []
6476
6476
  ),
6477
6477
  allowEditOnly: !0
6478
6478
  },
6479
6479
  plug: "input"
6480
- }), o && b.collectionName && h) {
6481
- var _ = h.find(
6480
+ }), o && b.collectionName && p) {
6481
+ var _ = p.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 && h) {
6497
+ if (n && b.collectionName && p) {
6498
6498
  const I = {
6499
6499
  String: "string",
6500
6500
  Boolean: "boolean",
6501
6501
  Number: "number",
6502
6502
  Date: "date"
6503
6503
  };
6504
- var _ = h.find(
6504
+ var _ = p.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((h) => l(h)) : d.input !== void 0 && (u[d.input] = !0));
7464
+ d !== void 0 && (d.rules !== void 0 ? d.rules.forEach((p) => l(p)) : 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((h) => h.name === l) && u.type !== "Relation") {
9094
- const h = {
9093
+ if (!r.find((p) => p.name === l) && u.type !== "Relation") {
9094
+ const p = {
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: h[u.type] ? h[u.type] : "*"
9102
+ name: p[u.type] ? p[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((h) => h.name === l) && u.type !== "Relation") {
9348
- const h = {
9347
+ if (!r.find((p) => p.name === l) && u.type !== "Relation") {
9348
+ const p = {
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: h[u.type] ? h[u.type] : "*"
9356
+ name: p[u.type] ? p[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 h = u.map(
10178
+ const p = u.map(
10179
10179
  (f) => n()._fromJSON(f, o)
10180
10180
  );
10181
- a(d !== void 0 ? { results: h, count: d } : h);
10181
+ a(d !== void 0 ? { results: p, count: d } : p);
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: (h) => {
10323
+ success: (p) => {
10324
10324
  n()._fromJSON(
10325
- Object.assign({ objectId: o }, h),
10325
+ Object.assign({ objectId: o }, p),
10326
10326
  a
10327
10327
  ), u();
10328
10328
  },
10329
- error: (h) => {
10330
- d(Error(h || "Failed to save."));
10329
+ error: (p) => {
10330
+ d(Error(p || "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: (h) => {
10383
+ success: (p) => {
10384
10384
  u();
10385
10385
  },
10386
- error: (h) => {
10387
- d(Error(h || "Failed to add relation."));
10386
+ error: (p) => {
10387
+ d(Error(p || "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: (h) => {
10403
+ success: (p) => {
10404
10404
  u();
10405
10405
  },
10406
- error: (h) => {
10407
- d(Error(h || "Failed to add relation."));
10406
+ error: (p) => {
10407
+ d(Error(p || "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 h() {
10796
+ function p() {
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 = h.bind(F);
10801
+ var F = { fired: !1, wrapFn: void 0, target: N, type: w, listener: E }, L = p.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, p, y) {
11582
+ function t(c, h, y) {
11583
11583
  return c.call.apply(c.bind, arguments);
11584
11584
  }
11585
- function n(c, p, y) {
11585
+ function n(c, h, 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(p, O);
11591
+ return Array.prototype.unshift.apply(O, S), c.apply(h, O);
11592
11592
  };
11593
11593
  }
11594
11594
  return function() {
11595
- return c.apply(p, arguments);
11595
+ return c.apply(h, arguments);
11596
11596
  };
11597
11597
  }
11598
- function o(c, p, y) {
11598
+ function o(c, h, 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, p) {
11605
- this.a = c, this.o = p || c, this.c = this.o.document;
11604
+ function s(c, h) {
11605
+ this.a = c, this.o = h || c, this.c = this.o.document;
11606
11606
  }
11607
11607
  var a = !!window.FontFace;
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;
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;
11611
11611
  }
11612
- function u(c, p, y) {
11613
- c = c.c.getElementsByTagName(p)[0], c || (c = document.documentElement), c.insertBefore(y, c.lastChild);
11612
+ function u(c, h, y) {
11613
+ c = c.c.getElementsByTagName(h)[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 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]) {
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]) {
11622
11622
  M = !0;
11623
11623
  break;
11624
11624
  }
11625
- M || S.push(p[O]);
11625
+ M || S.push(h[O]);
11626
11626
  }
11627
- for (p = [], O = 0; O < S.length; O += 1) {
11627
+ for (h = [], 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 || p.push(S[O]);
11632
+ M || h.push(S[O]);
11633
11633
  }
11634
- c.className = p.join(" ").replace(/\s+/g, " ").replace(/^\s+|\s+$/, "");
11634
+ c.className = h.join(" ").replace(/\s+/g, " ").replace(/^\s+|\s+$/, "");
11635
11635
  }
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;
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;
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, p, y) {
11643
+ function b(c, h, y) {
11644
11644
  function S() {
11645
11645
  j && O && M && (j(U), j = null);
11646
11646
  }
11647
- p = l(c, "link", { rel: "stylesheet", href: p, media: "all" });
11647
+ h = l(c, "link", { rel: "stylesheet", href: h, media: "all" });
11648
11648
  var O = !1, M = !0, U = null, j = y || null;
11649
- a ? (p.onload = function() {
11649
+ a ? (h.onload = function() {
11650
11650
  O = !0, S();
11651
- }, p.onerror = function() {
11651
+ }, h.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", p);
11655
+ }, 0), u(c, "head", h);
11656
11656
  }
11657
- function _(c, p, y, S) {
11657
+ function _(c, h, y, S) {
11658
11658
  var O = c.c.getElementsByTagName("head")[0];
11659
11659
  if (O) {
11660
- var M = l(c, "script", { src: p }), U = !1;
11660
+ var M = l(c, "script", { src: h }), 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, p) {
11678
- c.c = p, I(c);
11677
+ function v(c, h) {
11678
+ c.c = h, 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 p = [], y = 0; y < arguments.length; y++) p.push(arguments[y].replace(/[\W_]+/g, "").toLowerCase());
11688
- return p.join(this.a);
11687
+ for (var h = [], y = 0; y < arguments.length; y++) h.push(arguments[y].replace(/[\W_]+/g, "").toLowerCase());
11688
+ return h.join(this.a);
11689
11689
  };
11690
- function N(c, p) {
11690
+ function N(c, h) {
11691
11691
  this.c = c, this.f = 4, this.a = "n";
11692
- var y = (p || "n4").match(/^([nio])([1-9])$/i);
11692
+ var y = (h || "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 p = [];
11699
+ var h = [];
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) ? p.push("'" + S + "'") : p.push(S);
11703
+ S.indexOf(" ") != -1 || /^\d/.test(S) ? h.push("'" + S + "'") : h.push(S);
11704
11704
  }
11705
- return p.join(",");
11705
+ return h.join(",");
11706
11706
  }
11707
11707
  function F(c) {
11708
11708
  return c.a + c.f;
11709
11709
  }
11710
11710
  function L(c) {
11711
- var p = "normal";
11712
- return c.a === "o" ? p = "oblique" : c.a === "i" && (p = "italic"), p;
11711
+ var h = "normal";
11712
+ return c.a === "o" ? h = "oblique" : c.a === "i" && (h = "italic"), h;
11713
11713
  }
11714
11714
  function B(c) {
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;
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;
11717
11717
  }
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;
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;
11720
11720
  }
11721
11721
  function J(c) {
11722
- c.g && h(c.f, [c.a.c("wf", "loading")]), pe(c, "loading");
11722
+ c.g && p(c.f, [c.a.c("wf", "loading")]), pe(c, "loading");
11723
11723
  }
11724
11724
  function ie(c) {
11725
11725
  if (c.g) {
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);
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);
11728
11728
  }
11729
11729
  pe(c, "inactive");
11730
11730
  }
11731
- function pe(c, p, y) {
11732
- c.j && c.h[p] && (y ? c.h[p](y.c, F(y)) : c.h[p]());
11731
+ function pe(c, h, y) {
11732
+ c.j && c.h[h] && (y ? c.h[h](y.c, F(y)) : c.h[h]());
11733
11733
  }
11734
11734
  function xe() {
11735
11735
  this.c = {};
11736
11736
  }
11737
- function Me(c, p, y) {
11737
+ function Me(c, h, y) {
11738
11738
  var S = [], O;
11739
- for (O in p) if (p.hasOwnProperty(O)) {
11739
+ for (O in h) if (h.hasOwnProperty(O)) {
11740
11740
  var M = c.c[O];
11741
- M && S.push(M(p[O], y));
11741
+ M && S.push(M(h[O], y));
11742
11742
  }
11743
11743
  return S;
11744
11744
  }
11745
- function ae(c, p) {
11746
- this.c = c, this.f = p, this.a = l(this.c, "span", { "aria-hidden": "true" }, this.f);
11745
+ function ae(c, h) {
11746
+ this.c = c, this.f = h, 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, 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;
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;
11756
11756
  }
11757
11757
  Ne.prototype.start = function() {
11758
- var c = this.c.o.document, p = this, y = r(), S = new Promise(function(U, j) {
11758
+ var c = this.c.o.document, h = this, y = r(), S = new Promise(function(U, j) {
11759
11759
  function z() {
11760
- r() - y >= p.f ? j() : c.fonts.load(w(p.a), p.h).then(function(q) {
11760
+ r() - y >= h.f ? j() : c.fonts.load(w(h.a), h.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, p.f);
11768
+ O = setTimeout(j, h.f);
11769
11769
  });
11770
11770
  Promise.race([M, S]).then(function() {
11771
- O && (clearTimeout(O), O = null), p.g(p.a);
11771
+ O && (clearTimeout(O), O = null), h.g(h.a);
11772
11772
  }, function() {
11773
- p.j(p.a);
11773
+ h.j(h.a);
11774
11774
  });
11775
11775
  };
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);
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);
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, p, y) {
11791
- for (var S in Ee) if (Ee.hasOwnProperty(S) && p === c.f[Ee[S]] && y === c.f[Ee[S]]) return !0;
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;
11792
11792
  return !1;
11793
11793
  }
11794
11794
  function Y(c) {
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);
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);
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, p) {
11803
+ function Ve(c, h) {
11804
11804
  setTimeout(o(function() {
11805
- d(this.g.a), d(this.h.a), d(this.j.a), d(this.m.a), p(this.a);
11805
+ d(this.g.a), d(this.h.a), d(this.j.a), d(this.m.a), h(this.a);
11806
11806
  }, c), 0);
11807
11807
  }
11808
- function re(c, p, y) {
11809
- this.c = c, this.a = p, this.f = 0, this.m = this.j = !1, this.s = y;
11808
+ function re(c, h, y) {
11809
+ this.c = c, this.a = h, 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 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);
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);
11815
11815
  }, re.prototype.h = function(c) {
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);
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);
11820
11820
  }
11821
- pe(p, "fontinactive", c), $e(this);
11821
+ pe(h, "fontinactive", c), $e(this);
11822
11822
  };
11823
11823
  function $e(c) {
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));
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));
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, p, y, S, O) {
11832
+ function fe(c, h, 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(p.a);
11836
+ if (y.length === 0 && M) ie(h.a);
11837
11837
  else {
11838
- p.f += y.length, M && (p.j = M);
11838
+ h.f += y.length, M && (h.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 = 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) {
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) {
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(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);
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);
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, p, y) {
11852
+ function Xe(c, h, y) {
11853
11853
  var O = [], S = y.timeout;
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) {
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) {
11857
11857
  fe(c, M, U, j, z);
11858
11858
  });
11859
11859
  }
11860
- function Be(c, p) {
11861
- this.c = c, this.a = p;
11860
+ function Be(c, h) {
11861
+ this.c = c, this.a = h;
11862
11862
  }
11863
11863
  Be.prototype.load = function(c) {
11864
- function p() {
11864
+ function h() {
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
- p();
11873
+ h();
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
- }, p());
11882
+ }, h());
11883
11883
  }).id = "__MonotypeAPIScript__" + S;
11884
11884
  } else c([]);
11885
11885
  };
11886
- function De(c, p) {
11887
- this.c = c, this.a = p;
11886
+ function De(c, h) {
11887
+ this.c = c, this.a = h;
11888
11888
  }
11889
11889
  De.prototype.load = function(c) {
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));
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));
11892
11892
  var j = [];
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]));
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]));
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, p) {
11900
- c ? this.c = c : this.c = je, this.a = [], this.f = [], this.g = p || "";
11899
+ function Ue(c, h) {
11900
+ c ? this.c = c : this.c = je, this.a = [], this.f = [], this.g = h || "";
11901
11901
  }
11902
11902
  var je = "https://fonts.googleapis.com/css";
11903
- function Re(c, p) {
11904
- for (var y = p.length, S = 0; S < y; S++) {
11905
- var O = p[S].split(":");
11903
+ function Re(c, h) {
11904
+ for (var y = h.length, S = 0; S < y; S++) {
11905
+ var O = h[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 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;
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;
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 p = c.f.length, y = 0; y < p; y++) {
11922
+ for (var h = c.f.length, y = 0; y < h; 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, p) {
11945
- this.c = c, this.a = p;
11944
+ function ue(c, h) {
11945
+ this.c = c, this.a = h;
11946
11946
  }
11947
11947
  var Se = { Arimo: !0, Cousine: !0, Tinos: !0 };
11948
11948
  ue.prototype.load = function(c) {
11949
- var p = new T(), y = this.c, S = new Ue(this.a.api, this.a.text), O = this.a.families;
11949
+ var h = 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(p)), v(p, function() {
11952
+ ye(M), b(y, We(S), A(h)), v(h, function() {
11953
11953
  c(M.a, M.c, Se);
11954
11954
  });
11955
11955
  };
11956
- function ge(c, p) {
11957
- this.c = c, this.a = p;
11956
+ function ge(c, h) {
11957
+ this.c = c, this.a = h;
11958
11958
  }
11959
11959
  ge.prototype.load = function(c) {
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) {
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) {
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, p) {
11975
- this.c = c, this.f = p, this.a = [];
11974
+ function ze(c, h) {
11975
+ this.c = c, this.f = h, this.a = [];
11976
11976
  }
11977
11977
  ze.prototype.load = function(c) {
11978
- var p = this.f.id, y = this.c.o, S = this;
11979
- p ? (y.__webfontfontdeckmodule__ || (y.__webfontfontdeckmodule__ = {}), y.__webfontfontdeckmodule__[p] = function(O, M) {
11978
+ var h = this.f.id, y = this.c.o, S = this;
11979
+ h ? (y.__webfontfontdeckmodule__ || (y.__webfontfontdeckmodule__ = {}), y.__webfontfontdeckmodule__[h] = 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) + "/" + p + ".js", function(O) {
11985
+ }, _(this.c, (this.f.api || "https://f.fontdeck.com/s/css/js/") + g(this.c) + "/" + h + ".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, 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);
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);
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 h = (b) => `${b} ${l ? "(" + l + ")" : ""}`, f = { group: "corners", tab: u, label: l }, g = `border${l}Radius`;
12662
+ const p = (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: h("Corner Radius"),
12667
+ editorName: p("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, h) {
12686
- const f = `border${h}Radius`;
12685
+ function l(d, p) {
12686
+ const f = `border${p}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 h = `border${l}Style`, f = `border${l}Width`, g = `border${l}Color`;
12702
+ const p = `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[h] && n[h] !== "none" && (b += `OR ${h} NOT SET`), addDynamicInputPorts(
12704
+ l ? (n[p] && n[p] !== "none" && (b += `OR ${p} NOT SET`), addDynamicInputPorts(
12705
12705
  a,
12706
- `${h} = solid OR ${h} = dashed OR ${h} = dotted OR borderStyle = solid OR borderStyle = dashed OR borderStyle = dotted ${b}`,
12706
+ `${p} = solid OR ${p} = dashed OR ${p} = dotted OR borderStyle = solid OR borderStyle = dashed OR borderStyle = dotted ${b}`,
12707
12707
  [`${f}`, `${g}`]
12708
12708
  )) : addDynamicInputPorts(
12709
12709
  a,
12710
- `${h} = solid OR ${h} = dashed OR ${h} = dotted ${b}`,
12710
+ `${p} = solid OR ${p} = dashed OR ${p} = 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
- [h]: {
12715
+ [p]: {
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[h],
12730
+ default: n[p],
12731
12731
  tab: _,
12732
12732
  set(v) {
12733
- this._internal.borders[h] = v, this._updateBorders();
12733
+ this._internal.borders[p] = 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, h) {
12771
- const f = `border${h}Width`, g = `border${h}Color`, b = `border${h}Style`;
12770
+ function l(d, p) {
12771
+ const f = `border${p}Width`, g = `border${p}Color`, b = `border${p}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 h = d;
13114
- h.split(".").length > 1 && (FontLoader.instance.loadFont(h), h = h.replace(/\.[^/.]+$/, ""), h = h.split("/").pop()), this.setStyle({ fontFamily: h }, o);
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);
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, h) {
13228
- h.on("nodeAdded." + e.name, function(f) {
13227
+ e.setup = function(d, p) {
13228
+ p.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 h(T, A, v) {
13369
+ function p(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 = h(w, I, k) - T, N > 0 ? v = w : A = w;
13378
+ w = A + (v - A) / 2, N = p(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 = h(A, v, I) - T;
13386
+ var w = p(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 : h(this._getTForX(T), v, k);
13407
+ return this._precomputed || this._precompute(), A === v && I === k ? T : T === 0 ? 0 : T === 1 ? 1 : p(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] = h(v * s, T, A);
13425
+ this._mSampleValues[v] = p(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: h
13723
+ methods: p
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 h)
14213
- T.methods[v] = h[v];
14212
+ for (const v in p)
14213
+ T.methods[v] = p[v];
14214
14214
  return {
14215
14215
  node: T,
14216
14216
  setup: e.setup
@@ -14476,44 +14476,67 @@ const Utils$1 = {
14476
14476
  controlEvents: controlEvents$1
14477
14477
  };
14478
14478
  function Button$2(e) {
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(
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(
14493
14502
  "span",
14494
14503
  {
14495
- className: [
14496
- e.iconIconSource.class,
14497
- e.iconIconSource.code
14498
- ].join(" "),
14499
- style: s
14504
+ className: `${e.iconIconSource.class} ${e.iconIconSource.code}`,
14505
+ style: { ...l, ...u }
14500
14506
  }
14501
- ) : /* @__PURE__ */ React.createElement("span", { className: e.iconIconSource.class, style: s }, e.iconIconSource.code);
14507
+ ) : /* @__PURE__ */ React.createElement(
14508
+ "span",
14509
+ {
14510
+ className: e.iconIconSource.class,
14511
+ style: { ...l, ...u }
14512
+ },
14513
+ e.iconIconSource.code
14514
+ );
14515
+ }
14502
14516
  return null;
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(
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(
14508
14531
  "button",
14509
14532
  {
14510
14533
  ...e.attrs,
14511
- className: o,
14534
+ className: s,
14512
14535
  disabled: !e.enabled,
14513
14536
  ...Utils$1.controlEvents(e),
14514
14537
  type: e.buttonType,
14515
- style: t,
14516
- onClick: e.onClick
14538
+ style: n,
14539
+ onClick: a
14517
14540
  },
14518
14541
  r,
14519
14542
  e.children
@@ -14934,8 +14957,8 @@ function Select(e) {
14934
14957
  alignItems: "center",
14935
14958
  ...e.styles.inputWrapper,
14936
14959
  cursor: e.enabled ? "" : "default"
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);
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);
14939
14962
  let f = [];
14940
14963
  e.items && (f = e.items.map((_) => /* @__PURE__ */ React__default.createElement(
14941
14964
  "option",
@@ -14990,7 +15013,7 @@ function Select(e) {
14990
15013
  display: "flex",
14991
15014
  flexDirection: "column"
14992
15015
  };
14993
- return h && (_.height = s), /* @__PURE__ */ React__default.createElement("div", { style: _ }, /* @__PURE__ */ React__default.createElement(
15016
+ return p && (_.height = s), /* @__PURE__ */ React__default.createElement("div", { style: _ }, /* @__PURE__ */ React__default.createElement(
14994
15017
  "label",
14995
15018
  {
14996
15019
  htmlFor: e.id,
@@ -15563,8 +15586,8 @@ function setBorderStyle(e, t, n) {
15563
15586
  function o(r, s) {
15564
15587
  const a = `${t}Border${s}Width`, l = `${t}Border${s}Color`, u = `${t}Border${s}Style`, d = n[a] || n[`${t}BorderWidth`];
15565
15588
  d !== void 0 && (r[`border${s}Width`] = d);
15566
- const h = r[l] = n[l] || n[`${t}BorderColor`];
15567
- h !== void 0 && (r[`border${s}Color`] = h);
15589
+ const p = r[l] = n[l] || n[`${t}BorderColor`];
15590
+ p !== void 0 && (r[`border${s}Color`] = p);
15568
15591
  const f = n[u] || n[`${t}BorderStyle`];
15569
15592
  f !== void 0 && (r[`border${s}Style`] = f);
15570
15593
  }
@@ -15617,13 +15640,13 @@ function Slider(e) {
15617
15640
  display: "flex",
15618
15641
  alignItems: "center",
15619
15642
  ...r
15620
- }, d = (t - e.min) / (e.max - e.min), h = {
15643
+ }, d = (t - e.min) / (e.max - e.min), p = {
15621
15644
  position: "absolute",
15622
15645
  width: "100%",
15623
15646
  height: e.trackHeight,
15624
15647
  background: `linear-gradient(to right, ${e.trackActiveColor} 0%, ${e.trackActiveColor} ${d * 100}%, ${e.trackColor} ${d * 100}%, ${e.trackColor} 100%)`
15625
15648
  };
15626
- setBorderStyle(h, "track", e), setBorderRadius(h, "track", e), setShadow(h, "track", e);
15649
+ setBorderStyle(p, "track", e), setBorderRadius(p, "track", e), setShadow(p, "track", e);
15627
15650
  const f = {
15628
15651
  position: "absolute",
15629
15652
  left: "calc((100% - " + e.thumbWidth + ") * " + d + ")",
@@ -15631,7 +15654,7 @@ function Slider(e) {
15631
15654
  height: e.thumbHeight,
15632
15655
  backgroundColor: e.thumbColor
15633
15656
  };
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(
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(
15635
15658
  "input",
15636
15659
  {
15637
15660
  className: a,
@@ -15836,15 +15859,15 @@ function addBorderInputs(e, t) {
15836
15859
  n.borderStyle = "none", n.borderWidth = 0, n.borderColor = "#000000";
15837
15860
  const r = t.propPrefix[0].toUpperCase() + t.propPrefix.slice(1);
15838
15861
  function s(a, l, u, d) {
15839
- const h = t.propPrefix + `Border${l}Style`, f = t.propPrefix + `Border${l}Width`, g = t.propPrefix + `Border${l}Color`;
15862
+ const p = t.propPrefix + `Border${l}Style`, f = t.propPrefix + `Border${l}Width`, g = t.propPrefix + `Border${l}Color`;
15840
15863
  let b = n.borderStyle !== "none" ? "OR borderStyle NOT SET" : "";
15841
- l ? (n[h] && n[h] !== "none" && (b += `OR ${h} NOT SET`), NodeSharedPortDefinitions.addDynamicInputPorts(
15864
+ l ? (n[p] && n[p] !== "none" && (b += `OR ${p} NOT SET`), NodeSharedPortDefinitions.addDynamicInputPorts(
15842
15865
  a,
15843
- `${h} = solid OR ${h} = dashed OR ${h} = dotted OR borderStyle = solid OR borderStyle = dashed OR borderStyle = dotted ${b}`,
15866
+ `${p} = solid OR ${p} = dashed OR ${p} = dotted OR borderStyle = solid OR borderStyle = dashed OR borderStyle = dotted ${b}`,
15844
15867
  [`${f}`, `${g}`]
15845
15868
  )) : NodeSharedPortDefinitions.addDynamicInputPorts(
15846
15869
  a,
15847
- `${h} = solid OR ${h} = dashed OR ${h} = dotted ${b}`,
15870
+ `${p} = solid OR ${p} = dashed OR ${p} = dotted ${b}`,
15848
15871
  [`${f}`, `${g}`]
15849
15872
  );
15850
15873
  const _ = {
@@ -15853,7 +15876,7 @@ function addBorderInputs(e, t) {
15853
15876
  label: l
15854
15877
  }, T = (I) => `${r} ${I} ${l ? "(" + l + ")" : ""}`, A = 202 + d * 4, v = r + " Border Style";
15855
15878
  NodeSharedPortDefinitions.addInputProps(a, {
15856
- [h]: {
15879
+ [p]: {
15857
15880
  index: A + 1,
15858
15881
  displayName: "Border Style",
15859
15882
  editorName: T("Border Style"),
@@ -15908,7 +15931,7 @@ function addBorderRadius(e, t) {
15908
15931
  n.borderRadius || (n.borderRadius = 0);
15909
15932
  const r = t.propPrefix[0].toUpperCase() + t.propPrefix.slice(1);
15910
15933
  function s(a, l, u, d) {
15911
- const h = (b) => `${r} ${b} ${l ? "(" + l + ")" : ""}`, f = {
15934
+ const p = (b) => `${r} ${b} ${l ? "(" + l + ")" : ""}`, f = {
15912
15935
  group: t.propPrefix + "-corners",
15913
15936
  tab: u,
15914
15937
  label: l
@@ -15917,7 +15940,7 @@ function addBorderRadius(e, t) {
15917
15940
  [t.propPrefix + g]: {
15918
15941
  index: 240 + d,
15919
15942
  displayName: "Corner Radius",
15920
- editorName: h("Corner Radius"),
15943
+ editorName: p("Corner Radius"),
15921
15944
  group: r + " Corner Radius",
15922
15945
  type: {
15923
15946
  name: "number",
@@ -16121,7 +16144,7 @@ let TextInput$2 = class extends React__default.Component {
16121
16144
  d.color = s.noodlNode.context.styles.resolveColor(
16122
16145
  d.color
16123
16146
  );
16124
- const h = {
16147
+ const p = {
16125
16148
  ...s.attrs,
16126
16149
  id: s.id,
16127
16150
  value: this.state.value,
@@ -16140,18 +16163,18 @@ let TextInput$2 = class extends React__default.Component {
16140
16163
  this.ref.current = _;
16141
16164
  },
16142
16165
  type: this.props.type,
16143
- ...h,
16166
+ ...p,
16144
16167
  onKeyDown: (_) => this.onKeyDown(_),
16145
16168
  onMouseDown: () => window.addEventListener("click", preventGlobalFocusChange$1, !0),
16146
16169
  "noodl-style-tag": "input"
16147
16170
  }
16148
- ) : (h.style.resize = "none", u = /* @__PURE__ */ React__default.createElement(
16171
+ ) : (p.style.resize = "none", u = /* @__PURE__ */ React__default.createElement(
16149
16172
  "textarea",
16150
16173
  {
16151
16174
  ref: (_) => {
16152
16175
  this.ref.current = _;
16153
16176
  },
16154
- ...h,
16177
+ ...p,
16155
16178
  onKeyDown: (_) => this.onKeyDown(_),
16156
16179
  "noodl-style-tag": "input"
16157
16180
  }
@@ -17020,10 +17043,10 @@ const PageStack = {
17020
17043
  var o = t.getNavigationRemainingPath();
17021
17044
  if (o === void 0) return;
17022
17045
  var r = this._getSearchParams();
17023
- function s(d, h) {
17024
- for (var f = {}, g = 0; g < h.length; g++) {
17046
+ function s(d, p) {
17047
+ for (var f = {}, g = 0; g < p.length; g++) {
17025
17048
  if (d[g] === void 0) return;
17026
- var b = h[g];
17049
+ var b = p[g];
17027
17050
  if (b[0] === "{" && b[b.length - 1] === "}")
17028
17051
  f[b.substring(1, b.length - 1)] = decodeURIComponent(
17029
17052
  d[g]
@@ -17032,7 +17055,7 @@ const PageStack = {
17032
17055
  }
17033
17056
  return {
17034
17057
  params: f,
17035
- remainingPathParts: d.splice(h.length)
17058
+ remainingPathParts: d.splice(p.length)
17036
17059
  };
17037
17060
  }
17038
17061
  for (var a of this._internal.pages) {
@@ -17544,6 +17567,7 @@ const RouterNode = {
17544
17567
  name: "Router",
17545
17568
  displayNodeName: "Page Router",
17546
17569
  category: "Visuals",
17570
+ usePortAsLabel: "name",
17547
17571
  docs: "https://docs.noodl.net/nodes/navigation/page-router",
17548
17572
  useVariants: !1,
17549
17573
  connectionPanel: {
@@ -17807,13 +17831,13 @@ const RouterNode = {
17807
17831
  const n = this._getSearchParams();
17808
17832
  function o(l, u) {
17809
17833
  const d = {};
17810
- for (let h = 0; h < u.length; h++) {
17811
- const f = u[h];
17834
+ for (let p = 0; p < u.length; p++) {
17835
+ const f = u[p];
17812
17836
  if (f[0] === "{" && f[f.length - 1] === "}")
17813
- l[h] !== void 0 && (d[f.substring(1, f.length - 1)] = decodeURIComponent(
17814
- l[h]
17837
+ l[p] !== void 0 && (d[f.substring(1, f.length - 1)] = decodeURIComponent(
17838
+ l[p]
17815
17839
  ));
17816
- else if (l[h] === void 0 || f !== l[h]) return;
17840
+ else if (l[p] === void 0 || f !== l[p]) return;
17817
17841
  }
17818
17842
  return {
17819
17843
  params: d,
@@ -17830,8 +17854,8 @@ const RouterNode = {
17830
17854
  let u = l.path;
17831
17855
  if (u === void 0) continue;
17832
17856
  u = _trimUrlPart(u), this._internal.urlPath !== void 0 && (u = _trimUrlPart(this._internal.urlPath) + "/" + u);
17833
- const d = u.split("/"), h = o(t, d), f = Math.abs(d.length - t.length);
17834
- h && a > f && (s = { match: h, pageInfo: l }, a = f);
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);
17835
17859
  }
17836
17860
  return s ? (this._internal.remainingNavigationPath = s.match.remainingPathParts, {
17837
17861
  page: s.pageInfo,
@@ -17998,7 +18022,7 @@ let Circle$1 = class extends React__default.Component {
17998
18022
  );
17999
18023
  }
18000
18024
  if (this.props.strokeEnabled) {
18001
- const { strokeColor: l, strokeWidth: u, strokeLineCap: d } = this.props, h = o - this.props.strokeWidth / 2, f = arc(o, o, h, r, s);
18025
+ const { strokeColor: l, strokeWidth: u, strokeLineCap: d } = this.props, p = o - this.props.strokeWidth / 2, f = arc(o, o, p, r, s);
18002
18026
  n = /* @__PURE__ */ React__default.createElement(
18003
18027
  "path",
18004
18028
  {
@@ -18354,8 +18378,8 @@ component = '/MyComponent';`, ForEachDefinition = {
18354
18378
  } else
18355
18379
  this._mapInputs(r, e), r._forEachModelChangeListener = () => this._mapInputs(r, e), e.on("change", r._forEachModelChangeListener);
18356
18380
  r._internal.creatorCallbacks = {
18357
- onOutputChanged: (u, d, h) => {
18358
- (h === !1 || h === void 0) && d === !0 && n.itemOutputSignals[u] && this.itemOutputSignalTriggered(u, e, r);
18381
+ onOutputChanged: (u, d, p) => {
18382
+ (p === !1 || p === void 0) && d === !0 && n.itemOutputSignals[u] && this.itemOutputSignalTriggered(u, e, r);
18359
18383
  }
18360
18384
  };
18361
18385
  for (var a = r.nodeScope.getNodesWithType("For Each Actions"), l = 0; l < a.length; l++)
@@ -18537,8 +18561,8 @@ map({
18537
18561
  var l = [], u = t.components[a];
18538
18562
  if (u !== void 0) {
18539
18563
  for (var d in u.outputPorts) {
18540
- var h = u.outputPorts[d];
18541
- _typeName(h.type) === "signal" ? l.push({
18564
+ var p = u.outputPorts[d];
18565
+ _typeName(p.type) === "signal" ? l.push({
18542
18566
  name: "itemOutputSignal-" + d,
18543
18567
  displayName: d,
18544
18568
  type: "signal",
@@ -18547,15 +18571,15 @@ map({
18547
18571
  }) : l.push({
18548
18572
  name: "itemOutput-" + d,
18549
18573
  displayName: d,
18550
- type: h.type,
18574
+ type: p.type,
18551
18575
  plug: "output",
18552
18576
  group: "Item Outputs"
18553
18577
  });
18554
18578
  }
18555
18579
  var f = "";
18556
18580
  for (var g in u.inputPorts) {
18557
- var h = u.inputPorts[g];
18558
- _typeName(h.type) !== "signal" && (f += " '" + g + "': '" + g + `',
18581
+ var p = u.inputPorts[g];
18582
+ _typeName(p.type) !== "signal" && (f += " '" + g + "': '" + g + `',
18559
18583
  `);
18560
18584
  }
18561
18585
  l.push({
@@ -18611,12 +18635,12 @@ function _calcAutofold(e, t, n, o) {
18611
18635
  { expected: 0, min: 0, max: null }
18612
18636
  ), l = e;
18613
18637
  a.expected < a.min && l.pop();
18614
- const u = l.reduce((f, g) => f + g, 0), d = 100 / u, h = l.length;
18638
+ const u = l.reduce((f, g) => f + g, 0), d = 100 / u, p = l.length;
18615
18639
  return {
18616
18640
  layout: l,
18617
18641
  totalFractions: u,
18618
18642
  fractionSize: d,
18619
- columnAmount: h
18643
+ columnAmount: p
18620
18644
  };
18621
18645
  }
18622
18646
  function Columns$1(e) {
@@ -18651,11 +18675,11 @@ function Columns$1(e) {
18651
18675
  o,
18652
18676
  e.marginX
18653
18677
  );
18654
- let d = [], h = null;
18678
+ let d = [], p = null;
18655
18679
  return Array.isArray(e.children) ? (d = e.children.filter(
18656
18680
  // @ts-expect-error
18657
18681
  (f) => f.type !== ForEachComponent
18658
- ), h = e.children.find(
18682
+ ), p = e.children.find(
18659
18683
  // @ts-expect-error
18660
18684
  (f) => f.type === ForEachComponent
18661
18685
  )) : e.children.type !== ForEachComponent && (d = [e.children]), /* @__PURE__ */ React__default.createElement(
@@ -18678,7 +18702,7 @@ function Columns$1(e) {
18678
18702
  ...e.style
18679
18703
  }
18680
18704
  },
18681
- h && h,
18705
+ p && p,
18682
18706
  d.map((f, g) => /* @__PURE__ */ React__default.createElement(
18683
18707
  "div",
18684
18708
  {
@@ -18890,8 +18914,8 @@ function requireReactDraggable_min() {
18890
18914
  /***/
18891
18915
  404: (
18892
18916
  /***/
18893
- function(u, d, h) {
18894
- h.r(d), h.d(d, {
18917
+ function(u, d, p) {
18918
+ p.r(d), p.d(d, {
18895
18919
  DraggableCore: function() {
18896
18920
  return (
18897
18921
  /* reexport */
@@ -18905,28 +18929,28 @@ function requireReactDraggable_min() {
18905
18929
  );
18906
18930
  }
18907
18931
  });
18908
- var f = h(359), g = h(697), b = /* @__PURE__ */ h.n(g), _ = h(318), T = /* @__PURE__ */ h.n(_);
18932
+ var f = p(359), g = p(697), b = /* @__PURE__ */ p.n(g), _ = p(318), T = /* @__PURE__ */ p.n(_);
18909
18933
  function A(c) {
18910
- var p, y, S = "";
18934
+ var h, y, S = "";
18911
18935
  if (typeof c == "string" || typeof c == "number")
18912
18936
  S += c;
18913
18937
  else if (typeof c == "object")
18914
18938
  if (Array.isArray(c))
18915
- for (p = 0; p < c.length; p++)
18916
- c[p] && (y = A(c[p])) && (S && (S += " "), S += y);
18939
+ for (h = 0; h < c.length; h++)
18940
+ c[h] && (y = A(c[h])) && (S && (S += " "), S += y);
18917
18941
  else
18918
- for (p in c)
18919
- c[p] && (S && (S += " "), S += p);
18942
+ for (h in c)
18943
+ c[h] && (S && (S += " "), S += h);
18920
18944
  return S;
18921
18945
  }
18922
18946
  function v() {
18923
- for (var c = 0, p, y, S = ""; c < arguments.length; )
18924
- (p = arguments[c++]) && (y = A(p)) && (S && (S += " "), S += y);
18947
+ for (var c = 0, h, y, S = ""; c < arguments.length; )
18948
+ (h = arguments[c++]) && (y = A(h)) && (S && (S += " "), S += y);
18925
18949
  return S;
18926
18950
  }
18927
- function I(c, p) {
18951
+ function I(c, h) {
18928
18952
  for (let y = 0, S = c.length; y < S; y++)
18929
- if (p.apply(p, [c[y], y, c])) return c[y];
18953
+ if (h.apply(h, [c[y], y, c])) return c[y];
18930
18954
  }
18931
18955
  function k(c) {
18932
18956
  return typeof c == "function" || Object.prototype.toString.call(c) === "[object Function]";
@@ -18937,114 +18961,114 @@ function requireReactDraggable_min() {
18937
18961
  function w(c) {
18938
18962
  return parseInt(c, 10);
18939
18963
  }
18940
- function E(c, p, y) {
18941
- if (c[p])
18942
- return new Error("Invalid prop ".concat(p, " passed to ").concat(y, " - do not set this, set it on the child."));
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."));
18943
18967
  }
18944
18968
  const F = ["Moz", "Webkit", "O", "ms"];
18945
18969
  function L() {
18946
18970
  var c;
18947
- let p = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "transform";
18971
+ let h = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "transform";
18948
18972
  if (typeof window > "u") return "";
18949
18973
  const y = (c = window.document) === null || c === void 0 || (c = c.documentElement) === null || c === void 0 ? void 0 : c.style;
18950
- if (!y || p in y) return "";
18974
+ if (!y || h in y) return "";
18951
18975
  for (let S = 0; S < F.length; S++)
18952
- if (B(p, F[S]) in y) return F[S];
18976
+ if (B(h, F[S]) in y) return F[S];
18953
18977
  return "";
18954
18978
  }
18955
- function B(c, p) {
18956
- return p ? "".concat(p).concat(H(c)) : c;
18979
+ function B(c, h) {
18980
+ return h ? "".concat(h).concat(H(c)) : c;
18957
18981
  }
18958
18982
  function H(c) {
18959
- let p = "", y = !0;
18983
+ let h = "", y = !0;
18960
18984
  for (let S = 0; S < c.length; S++)
18961
- y ? (p += c[S].toUpperCase(), y = !1) : c[S] === "-" ? y = !0 : p += c[S];
18962
- return p;
18985
+ y ? (h += c[S].toUpperCase(), y = !1) : c[S] === "-" ? y = !0 : h += c[S];
18986
+ return h;
18963
18987
  }
18964
18988
  var J = L();
18965
18989
  let ie = "";
18966
- function pe(c, p) {
18990
+ function pe(c, h) {
18967
18991
  return ie || (ie = I(["matches", "webkitMatchesSelector", "mozMatchesSelector", "msMatchesSelector", "oMatchesSelector"], function(y) {
18968
18992
  return k(c[y]);
18969
- })), k(c[ie]) ? c[ie](p) : !1;
18993
+ })), k(c[ie]) ? c[ie](h) : !1;
18970
18994
  }
18971
- function xe(c, p, y) {
18995
+ function xe(c, h, y) {
18972
18996
  let S = c;
18973
18997
  do {
18974
- if (pe(S, p)) return !0;
18998
+ if (pe(S, h)) return !0;
18975
18999
  if (S === y) return !1;
18976
19000
  S = S.parentNode;
18977
19001
  } while (S);
18978
19002
  return !1;
18979
19003
  }
18980
- function Me(c, p, y, S) {
19004
+ function Me(c, h, y, S) {
18981
19005
  if (!c) return;
18982
19006
  const O = {
18983
19007
  capture: !0,
18984
19008
  ...S
18985
19009
  };
18986
- c.addEventListener ? c.addEventListener(p, y, O) : c.attachEvent ? c.attachEvent("on" + p, y) : c["on" + p] = y;
19010
+ c.addEventListener ? c.addEventListener(h, y, O) : c.attachEvent ? c.attachEvent("on" + h, y) : c["on" + h] = y;
18987
19011
  }
18988
- function ae(c, p, y, S) {
19012
+ function ae(c, h, y, S) {
18989
19013
  if (!c) return;
18990
19014
  const O = {
18991
19015
  capture: !0,
18992
19016
  ...S
18993
19017
  };
18994
- c.removeEventListener ? c.removeEventListener(p, y, O) : c.detachEvent ? c.detachEvent("on" + p, y) : c["on" + p] = null;
19018
+ c.removeEventListener ? c.removeEventListener(h, y, O) : c.detachEvent ? c.detachEvent("on" + h, y) : c["on" + h] = null;
18995
19019
  }
18996
19020
  function Ie(c) {
18997
- let p = c.clientHeight;
19021
+ let h = c.clientHeight;
18998
19022
  const y = c.ownerDocument.defaultView.getComputedStyle(c);
18999
- return p += w(y.borderTopWidth), p += w(y.borderBottomWidth), p;
19023
+ return h += w(y.borderTopWidth), h += w(y.borderBottomWidth), h;
19000
19024
  }
19001
19025
  function Te(c) {
19002
- let p = c.clientWidth;
19026
+ let h = c.clientWidth;
19003
19027
  const y = c.ownerDocument.defaultView.getComputedStyle(c);
19004
- return p += w(y.borderLeftWidth), p += w(y.borderRightWidth), p;
19028
+ return h += w(y.borderLeftWidth), h += w(y.borderRightWidth), h;
19005
19029
  }
19006
19030
  function Ne(c) {
19007
- let p = c.clientHeight;
19031
+ let h = c.clientHeight;
19008
19032
  const y = c.ownerDocument.defaultView.getComputedStyle(c);
19009
- return p -= w(y.paddingTop), p -= w(y.paddingBottom), p;
19033
+ return h -= w(y.paddingTop), h -= w(y.paddingBottom), h;
19010
19034
  }
19011
19035
  function me(c) {
19012
- let p = c.clientWidth;
19036
+ let h = c.clientWidth;
19013
19037
  const y = c.ownerDocument.defaultView.getComputedStyle(c);
19014
- return p -= w(y.paddingLeft), p -= w(y.paddingRight), p;
19038
+ return h -= w(y.paddingLeft), h -= w(y.paddingRight), h;
19015
19039
  }
19016
- function Ee(c, p, y) {
19017
- const O = p === p.ownerDocument.body ? {
19040
+ function Ee(c, h, y) {
19041
+ const O = h === h.ownerDocument.body ? {
19018
19042
  left: 0,
19019
19043
  top: 0
19020
- } : p.getBoundingClientRect(), M = (c.clientX + p.scrollLeft - O.left) / y, U = (c.clientY + p.scrollTop - O.top) / y;
19044
+ } : h.getBoundingClientRect(), M = (c.clientX + h.scrollLeft - O.left) / y, U = (c.clientY + h.scrollTop - O.top) / y;
19021
19045
  return {
19022
19046
  x: M,
19023
19047
  y: U
19024
19048
  };
19025
19049
  }
19026
- function Ae(c, p) {
19027
- const y = Fe(c, p, "px");
19050
+ function Ae(c, h) {
19051
+ const y = Fe(c, h, "px");
19028
19052
  return {
19029
19053
  [B("transform", J)]: y
19030
19054
  };
19031
19055
  }
19032
- function qe(c, p) {
19033
- return Fe(c, p, "");
19056
+ function qe(c, h) {
19057
+ return Fe(c, h, "");
19034
19058
  }
19035
- function Fe(c, p, y) {
19059
+ function Fe(c, h, y) {
19036
19060
  let {
19037
19061
  x: S,
19038
19062
  y: O
19039
19063
  } = c, M = "translate(".concat(S).concat(y, ",").concat(O).concat(y, ")");
19040
- if (p) {
19041
- const U = "".concat(typeof p.x == "string" ? p.x : p.x + y), j = "".concat(typeof p.y == "string" ? p.y : p.y + 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);
19042
19066
  M = "translate(".concat(U, ", ").concat(j, ")") + M;
19043
19067
  }
19044
19068
  return M;
19045
19069
  }
19046
- function Y(c, p) {
19047
- return c.targetTouches && I(c.targetTouches, (y) => p === y.identifier) || c.changedTouches && I(c.changedTouches, (y) => p === y.identifier);
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);
19048
19072
  }
19049
19073
  function ve(c) {
19050
19074
  if (c.targetTouches && c.targetTouches[0]) return c.targetTouches[0].identifier;
@@ -19052,10 +19076,10 @@ function requireReactDraggable_min() {
19052
19076
  }
19053
19077
  function Ve(c) {
19054
19078
  if (!c) return;
19055
- let p = c.getElementById("react-draggable-style-el");
19056
- 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;}
19057
- `, p.innerHTML += `.react-draggable-transparent-selection *::selection {all: inherit;}
19058
- `, c.getElementsByTagName("head")[0].appendChild(p)), c.body && Oe(c.body, "react-draggable-transparent-selection");
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");
19059
19083
  }
19060
19084
  function re(c) {
19061
19085
  if (c)
@@ -19063,20 +19087,20 @@ function requireReactDraggable_min() {
19063
19087
  if (c.body && $e(c.body, "react-draggable-transparent-selection"), c.selection)
19064
19088
  c.selection.empty();
19065
19089
  else {
19066
- const p = (c.defaultView || window).getSelection();
19067
- p && p.type !== "Caret" && p.removeAllRanges();
19090
+ const h = (c.defaultView || window).getSelection();
19091
+ h && h.type !== "Caret" && h.removeAllRanges();
19068
19092
  }
19069
19093
  } catch {
19070
19094
  }
19071
19095
  }
19072
- function Oe(c, p) {
19073
- c.classList ? c.classList.add(p) : c.className.match(new RegExp("(?:^|\\s)".concat(p, "(?!\\S)"))) || (c.className += " ".concat(p));
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));
19074
19098
  }
19075
- function $e(c, p) {
19076
- c.classList ? c.classList.remove(p) : c.className = c.className.replace(new RegExp("(?:^|\\s)".concat(p, "(?!\\S)"), "g"), "");
19099
+ function $e(c, h) {
19100
+ c.classList ? c.classList.remove(h) : c.className = c.className.replace(new RegExp("(?:^|\\s)".concat(h, "(?!\\S)"), "g"), "");
19077
19101
  }
19078
- function Le(c, p, y) {
19079
- if (!c.props.bounds) return [p, y];
19102
+ function Le(c, h, y) {
19103
+ if (!c.props.bounds) return [h, y];
19080
19104
  let {
19081
19105
  bounds: S
19082
19106
  } = c.props;
@@ -19097,10 +19121,10 @@ function requireReactDraggable_min() {
19097
19121
  bottom: Ne(z) - Ie(O) - O.offsetTop + w(C.paddingBottom) - w(q.marginBottom)
19098
19122
  };
19099
19123
  }
19100
- 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];
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
19125
  }
19102
- function fe(c, p, y) {
19103
- const S = Math.round(p / c[0]) * c[0], O = Math.round(y / c[1]) * c[1];
19126
+ function fe(c, h, y) {
19127
+ const S = Math.round(h / c[0]) * c[0], O = Math.round(y / c[1]) * c[1];
19104
19128
  return [S, O];
19105
19129
  }
19106
19130
  function Xe(c) {
@@ -19109,40 +19133,40 @@ function requireReactDraggable_min() {
19109
19133
  function Be(c) {
19110
19134
  return c.props.axis === "both" || c.props.axis === "y";
19111
19135
  }
19112
- function De(c, p, y) {
19113
- const S = typeof p == "number" ? Y(c, p) : null;
19114
- if (typeof p == "number" && !S) return null;
19136
+ function De(c, h, y) {
19137
+ const S = typeof h == "number" ? Y(c, h) : null;
19138
+ if (typeof h == "number" && !S) return null;
19115
19139
  const O = We(y), M = y.props.offsetParent || O.offsetParent || O.ownerDocument.body;
19116
19140
  return Ee(S || c, M, y.props.scale);
19117
19141
  }
19118
- function Ue(c, p, y) {
19142
+ function Ue(c, h, y) {
19119
19143
  const S = !N(c.lastX), O = We(c);
19120
19144
  return S ? {
19121
19145
  node: O,
19122
19146
  deltaX: 0,
19123
19147
  deltaY: 0,
19124
- lastX: p,
19148
+ lastX: h,
19125
19149
  lastY: y,
19126
- x: p,
19150
+ x: h,
19127
19151
  y
19128
19152
  } : {
19129
19153
  node: O,
19130
- deltaX: p - c.lastX,
19154
+ deltaX: h - c.lastX,
19131
19155
  deltaY: y - c.lastY,
19132
19156
  lastX: c.lastX,
19133
19157
  lastY: c.lastY,
19134
- x: p,
19158
+ x: h,
19135
19159
  y
19136
19160
  };
19137
19161
  }
19138
- function je(c, p) {
19162
+ function je(c, h) {
19139
19163
  const y = c.props.scale;
19140
19164
  return {
19141
- node: p.node,
19142
- x: c.state.x + p.deltaX / y,
19143
- y: c.state.y + p.deltaY / y,
19144
- deltaX: p.deltaX / y,
19145
- deltaY: p.deltaY / y,
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,
19146
19170
  lastX: c.state.x,
19147
19171
  lastY: c.state.y
19148
19172
  };
@@ -19156,29 +19180,29 @@ function requireReactDraggable_min() {
19156
19180
  };
19157
19181
  }
19158
19182
  function We(c) {
19159
- const p = c.findDOMNode();
19160
- if (!p)
19183
+ const h = c.findDOMNode();
19184
+ if (!h)
19161
19185
  throw new Error("<DraggableCore>: Unmounted during event!");
19162
- return p;
19186
+ return h;
19163
19187
  }
19164
19188
  function st() {
19165
19189
  }
19166
- function K(c, p, y) {
19167
- return p = et(p), p in c ? Object.defineProperty(c, p, { value: y, enumerable: !0, configurable: !0, writable: !0 }) : c[p] = y, c;
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;
19168
19192
  }
19169
19193
  function et(c) {
19170
- var p = tt(c, "string");
19171
- return typeof p == "symbol" ? p : String(p);
19194
+ var h = tt(c, "string");
19195
+ return typeof h == "symbol" ? h : String(h);
19172
19196
  }
19173
- function tt(c, p) {
19197
+ function tt(c, h) {
19174
19198
  if (typeof c != "object" || c === null) return c;
19175
19199
  var y = c[Symbol.toPrimitive];
19176
19200
  if (y !== void 0) {
19177
- var S = y.call(c, p);
19201
+ var S = y.call(c, h);
19178
19202
  if (typeof S != "object") return S;
19179
19203
  throw new TypeError("@@toPrimitive must return a primitive value.");
19180
19204
  }
19181
- return (p === "string" ? String : Number)(c);
19205
+ return (h === "string" ? String : Number)(c);
19182
19206
  }
19183
19207
  const le = {
19184
19208
  touch: {
@@ -19195,28 +19219,28 @@ function requireReactDraggable_min() {
19195
19219
  let ye = le.mouse;
19196
19220
  class ue extends f.Component {
19197
19221
  constructor() {
19198
- 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) => {
19199
- if (this.props.onMouseDown(p), !this.props.allowAnyClick && typeof p.button == "number" && p.button !== 0) return !1;
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;
19200
19224
  const y = this.findDOMNode();
19201
19225
  if (!y || !y.ownerDocument || !y.ownerDocument.body)
19202
19226
  throw new Error("<DraggableCore> not mounted on DragStart!");
19203
19227
  const {
19204
19228
  ownerDocument: S
19205
19229
  } = y;
19206
- 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))
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
19231
  return;
19208
- p.type === "touchstart" && p.preventDefault();
19209
- const O = ve(p);
19232
+ h.type === "touchstart" && h.preventDefault();
19233
+ const O = ve(h);
19210
19234
  this.touchIdentifier = O;
19211
- const M = De(p, O, this);
19235
+ const M = De(h, O, this);
19212
19236
  if (M == null) return;
19213
19237
  const {
19214
19238
  x: U,
19215
19239
  y: j
19216
19240
  } = M, z = Ue(this, U, j);
19217
- 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));
19218
- }), K(this, "handleDrag", (p) => {
19219
- const y = De(p, this.touchIdentifier, this);
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);
19220
19244
  if (y == null) return;
19221
19245
  let {
19222
19246
  x: S,
@@ -19228,7 +19252,7 @@ function requireReactDraggable_min() {
19228
19252
  S = this.lastX + j, O = this.lastY + z;
19229
19253
  }
19230
19254
  const M = Ue(this, S, O);
19231
- if (this.props.onDrag(p, M) === !1 || this.mounted === !1) {
19255
+ if (this.props.onDrag(h, M) === !1 || this.mounted === !1) {
19232
19256
  try {
19233
19257
  this.handleDragStop(new MouseEvent("mouseup"));
19234
19258
  } catch {
@@ -19238,9 +19262,9 @@ function requireReactDraggable_min() {
19238
19262
  return;
19239
19263
  }
19240
19264
  this.lastX = S, this.lastY = O;
19241
- }), K(this, "handleDragStop", (p) => {
19265
+ }), K(this, "handleDragStop", (h) => {
19242
19266
  if (!this.dragging) return;
19243
- const y = De(p, this.touchIdentifier, this);
19267
+ const y = De(h, this.touchIdentifier, this);
19244
19268
  if (y == null) return;
19245
19269
  let {
19246
19270
  x: S,
@@ -19251,26 +19275,26 @@ function requireReactDraggable_min() {
19251
19275
  [z, q] = fe(this.props.grid, z, q), S = this.lastX + z, O = this.lastY + q;
19252
19276
  }
19253
19277
  const M = Ue(this, S, O);
19254
- if (this.props.onStop(p, M) === !1 || this.mounted === !1) return !1;
19278
+ if (this.props.onStop(h, M) === !1 || this.mounted === !1) return !1;
19255
19279
  const j = this.findDOMNode();
19256
19280
  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));
19257
- }), 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)));
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
19282
  }
19259
19283
  componentDidMount() {
19260
19284
  this.mounted = !0;
19261
- const p = this.findDOMNode();
19262
- p && Me(p, le.touch.start, this.onTouchStart, {
19285
+ const h = this.findDOMNode();
19286
+ h && Me(h, le.touch.start, this.onTouchStart, {
19263
19287
  passive: !1
19264
19288
  });
19265
19289
  }
19266
19290
  componentWillUnmount() {
19267
19291
  this.mounted = !1;
19268
- const p = this.findDOMNode();
19269
- if (p) {
19292
+ const h = this.findDOMNode();
19293
+ if (h) {
19270
19294
  const {
19271
19295
  ownerDocument: y
19272
- } = p;
19273
- 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, {
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, {
19274
19298
  passive: !1
19275
19299
  }), this.props.enableUserSelectHack && re(y);
19276
19300
  }
@@ -19278,8 +19302,8 @@ function requireReactDraggable_min() {
19278
19302
  // React Strict Mode compatibility: if `nodeRef` is passed, we will use it instead of trying to find
19279
19303
  // the underlying DOM node ourselves. See the README for more information.
19280
19304
  findDOMNode() {
19281
- var p, y;
19282
- 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);
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);
19283
19307
  }
19284
19308
  render() {
19285
19309
  return /* @__PURE__ */ f.cloneElement(f.Children.only(this.props.children), {
@@ -19318,8 +19342,8 @@ function requireReactDraggable_min() {
19318
19342
  * `offsetParent`, if set, uses the passed DOM node to compute drag offsets
19319
19343
  * instead of using the parent node.
19320
19344
  */
19321
- offsetParent: function(c, p) {
19322
- if (c[p] && c[p].nodeType !== 1)
19345
+ offsetParent: function(c, h) {
19346
+ if (c[h] && c[h].nodeType !== 1)
19323
19347
  throw new Error("Draggable's offsetParent must be a DOM Node.");
19324
19348
  },
19325
19349
  /**
@@ -19433,38 +19457,38 @@ function requireReactDraggable_min() {
19433
19457
  });
19434
19458
  function Se() {
19435
19459
  return Se = Object.assign ? Object.assign.bind() : function(c) {
19436
- for (var p = 1; p < arguments.length; p++) {
19437
- var y = arguments[p];
19460
+ for (var h = 1; h < arguments.length; h++) {
19461
+ var y = arguments[h];
19438
19462
  for (var S in y)
19439
19463
  Object.prototype.hasOwnProperty.call(y, S) && (c[S] = y[S]);
19440
19464
  }
19441
19465
  return c;
19442
19466
  }, Se.apply(this, arguments);
19443
19467
  }
19444
- function ge(c, p, y) {
19445
- return p = ze(p), p in c ? Object.defineProperty(c, p, { value: y, enumerable: !0, configurable: !0, writable: !0 }) : c[p] = y, c;
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;
19446
19470
  }
19447
19471
  function ze(c) {
19448
- var p = Z(c, "string");
19449
- return typeof p == "symbol" ? p : String(p);
19472
+ var h = Z(c, "string");
19473
+ return typeof h == "symbol" ? h : String(h);
19450
19474
  }
19451
- function Z(c, p) {
19475
+ function Z(c, h) {
19452
19476
  if (typeof c != "object" || c === null) return c;
19453
19477
  var y = c[Symbol.toPrimitive];
19454
19478
  if (y !== void 0) {
19455
- var S = y.call(c, p);
19479
+ var S = y.call(c, h);
19456
19480
  if (typeof S != "object") return S;
19457
19481
  throw new TypeError("@@toPrimitive must return a primitive value.");
19458
19482
  }
19459
- return (p === "string" ? String : Number)(c);
19483
+ return (h === "string" ? String : Number)(c);
19460
19484
  }
19461
19485
  class Ce extends f.Component {
19462
19486
  // React 16.3+
19463
19487
  // Arity (props, state)
19464
- static getDerivedStateFromProps(p, y) {
19488
+ static getDerivedStateFromProps(h, y) {
19465
19489
  let {
19466
19490
  position: S
19467
- } = p, {
19491
+ } = h, {
19468
19492
  prevPropsPosition: O
19469
19493
  } = y;
19470
19494
  return S && (!O || S.x !== O.x || S.y !== O.y) ? {
@@ -19475,8 +19499,8 @@ function requireReactDraggable_min() {
19475
19499
  }
19476
19500
  } : null;
19477
19501
  }
19478
- constructor(p) {
19479
- super(p), ge(this, "onDragStart", (y, S) => {
19502
+ constructor(h) {
19503
+ super(h), ge(this, "onDragStart", (y, S) => {
19480
19504
  if (this.props.onStart(y, je(this, S)) === !1) return !1;
19481
19505
  this.setState({
19482
19506
  dragging: !0,
@@ -19522,17 +19546,17 @@ function requireReactDraggable_min() {
19522
19546
  // Whether or not we have been dragged before.
19523
19547
  dragged: !1,
19524
19548
  // Current transform x and y.
19525
- x: p.position ? p.position.x : p.defaultPosition.x,
19526
- y: p.position ? p.position.y : p.defaultPosition.y,
19549
+ x: h.position ? h.position.x : h.defaultPosition.x,
19550
+ y: h.position ? h.position.y : h.defaultPosition.y,
19527
19551
  prevPropsPosition: {
19528
- ...p.position
19552
+ ...h.position
19529
19553
  },
19530
19554
  // Used for compensating for out-of-bounds drags
19531
19555
  slackX: 0,
19532
19556
  slackY: 0,
19533
19557
  // Can only determine if SVG after mounting
19534
19558
  isElementSVG: !1
19535
- }, 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.");
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
19560
  }
19537
19561
  componentDidMount() {
19538
19562
  typeof window.SVGElement < "u" && this.findDOMNode() instanceof window.SVGElement && this.setState({
@@ -19547,12 +19571,12 @@ function requireReactDraggable_min() {
19547
19571
  // React Strict Mode compatibility: if `nodeRef` is passed, we will use it instead of trying to find
19548
19572
  // the underlying DOM node ourselves. See the README for more information.
19549
19573
  findDOMNode() {
19550
- var p, y;
19551
- 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);
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);
19552
19576
  }
19553
19577
  render() {
19554
19578
  const {
19555
- axis: p,
19579
+ axis: h,
19556
19580
  bounds: y,
19557
19581
  children: S,
19558
19582
  defaultPosition: O,
@@ -19715,19 +19739,19 @@ function requireReactDraggable_min() {
19715
19739
  /***/
19716
19740
  16: (
19717
19741
  /***/
19718
- function(u, d, h) {
19742
+ function(u, d, p) {
19719
19743
  const {
19720
19744
  default: f,
19721
19745
  DraggableCore: g
19722
- } = h(404);
19746
+ } = p(404);
19723
19747
  u.exports = f, u.exports.default = f, u.exports.DraggableCore = g;
19724
19748
  }
19725
19749
  ),
19726
19750
  /***/
19727
19751
  703: (
19728
19752
  /***/
19729
- function(u, d, h) {
19730
- var f = h(414);
19753
+ function(u, d, p) {
19754
+ var f = p(414);
19731
19755
  function g() {
19732
19756
  }
19733
19757
  function b() {
@@ -19775,8 +19799,8 @@ function requireReactDraggable_min() {
19775
19799
  /***/
19776
19800
  697: (
19777
19801
  /***/
19778
- function(u, d, h) {
19779
- u.exports = h(703)();
19802
+ function(u, d, p) {
19803
+ u.exports = p(703)();
19780
19804
  }
19781
19805
  ),
19782
19806
  /***/
@@ -19807,7 +19831,7 @@ function requireReactDraggable_min() {
19807
19831
  var d = s[u];
19808
19832
  if (d !== void 0)
19809
19833
  return d.exports;
19810
- var h = s[u] = {
19834
+ var p = s[u] = {
19811
19835
  /******/
19812
19836
  // no module.id needed
19813
19837
  /******/
@@ -19816,7 +19840,7 @@ function requireReactDraggable_min() {
19816
19840
  exports: {}
19817
19841
  /******/
19818
19842
  };
19819
- return r[u](h, h.exports, a), h.exports;
19843
+ return r[u](p, p.exports, a), p.exports;
19820
19844
  }
19821
19845
  (function() {
19822
19846
  a.n = function(u) {
@@ -19835,8 +19859,8 @@ function requireReactDraggable_min() {
19835
19859
  };
19836
19860
  })(), function() {
19837
19861
  a.d = function(u, d) {
19838
- for (var h in d)
19839
- a.o(d, h) && !a.o(u, h) && Object.defineProperty(u, h, { enumerable: !0, get: d[h] });
19862
+ for (var p in d)
19863
+ a.o(d, p) && !a.o(u, p) && Object.defineProperty(u, p, { enumerable: !0, get: d[p] });
19840
19864
  };
19841
19865
  }(), function() {
19842
19866
  a.o = function(u, d) {
@@ -20384,11 +20408,11 @@ function click(e, t) {
20384
20408
  e.type === "mouseup" ? n = e : (e.type === "touchend" || e.type === "touchcancel") && (n = e.changedTouches[0]);
20385
20409
  var o = {};
20386
20410
  n && (o.screenX = n.screenX || 0, o.screenY = n.screenY || 0, o.clientX = n.clientX || 0, o.clientY = n.clientY || 0);
20387
- var r, s = !0, a = !0, l = e.ctrlKey, u = e.shiftKey, d = e.altKey, h = e.metaKey, f = {
20411
+ var r, s = !0, a = !0, l = e.ctrlKey, u = e.shiftKey, d = e.altKey, p = e.metaKey, f = {
20388
20412
  ctrlKey: l,
20389
20413
  shiftKey: u,
20390
20414
  altKey: d,
20391
- metaKey: h
20415
+ metaKey: p
20392
20416
  };
20393
20417
  if (typeof MouseEvent < "u")
20394
20418
  try {
@@ -20502,8 +20526,8 @@ var EventEmitter$1 = (
20502
20526
  var r = this.events[t];
20503
20527
  if (r)
20504
20528
  for (var s = r.length, a = __spreadArrays$1(r), l, u = 0; u < s; u++) {
20505
- var d = a[u], h = d[0], f = d[1];
20506
- if (h && (l = h.apply(f, n), l === !0))
20529
+ var d = a[u], p = d[0], f = d[1];
20530
+ if (p && (l = p.apply(f, n), l === !0))
20507
20531
  return l;
20508
20532
  }
20509
20533
  }, e.prototype.registerType = function(t) {
@@ -20609,12 +20633,12 @@ var EventEmitter$1 = (
20609
20633
  ]), this.handleDOMEvents();
20610
20634
  }
20611
20635
  return e.prototype.handleDOMEvents = function() {
20612
- 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;
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
20637
  s && u.push({
20614
20638
  name: "click",
20615
20639
  handler: this.click.bind(this),
20616
20640
  capture: !0
20617
- }), h && (u.push({
20641
+ }), p && (u.push({
20618
20642
  name: "touchstart",
20619
20643
  handler: this.start.bind(this)
20620
20644
  }), d.push({
@@ -20752,8 +20776,8 @@ var EventEmitter$1 = (
20752
20776
  }, e;
20753
20777
  }()
20754
20778
  ), isValidPostion = function(e, t, n, o) {
20755
- var r = function(d, h) {
20756
- var f = d - h, g = f > 0 ? -1 : f < 0 ? 1 : 0;
20779
+ var r = function(d, p) {
20780
+ var f = d - p, g = f > 0 ? -1 : f < 0 ? 1 : 0;
20757
20781
  return g;
20758
20782
  }, s = r(t.x, e.x), a = r(t.y, e.y), l = n.x - o.x, u = n.y - o.y;
20759
20783
  return s * l <= 0 && a * u <= 0;
@@ -20807,7 +20831,7 @@ var EventEmitter$1 = (
20807
20831
  }
20808
20832
  this.animate(n, o, r, s);
20809
20833
  }, t.prototype.animate = function(n, o, r, s) {
20810
- var a = this, l = getNow$1(), u = l + r, d = this.options.probeType === 3, h = function() {
20834
+ var a = this, l = getNow$1(), u = l + r, d = this.options.probeType === 3, p = function() {
20811
20835
  var f = getNow$1();
20812
20836
  if (f >= u) {
20813
20837
  a.translate(o), d && a.hooks.trigger(a.hooks.eventTypes.move, o), a.hooks.trigger(a.hooks.eventTypes.end, o);
@@ -20818,9 +20842,9 @@ var EventEmitter$1 = (
20818
20842
  Object.keys(o).forEach(function(_) {
20819
20843
  var T = n[_], A = o[_];
20820
20844
  b[_] = (A - T) * g + T;
20821
- }), 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));
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
20846
  };
20823
- this.setPending(!0), this.callStopWhenPending && this.setCallStop(!1), cancelAnimationFrame(this.timer), h();
20847
+ this.setPending(!0), this.callStopWhenPending && this.setCallStop(!1), cancelAnimationFrame(this.timer), p();
20824
20848
  }, t.prototype.doStop = function() {
20825
20849
  var n = this.pending;
20826
20850
  if (this.setForceStopped(!1), this.setCallStop(!1), n) {
@@ -20886,8 +20910,8 @@ var Behavior = (
20886
20910
  return n;
20887
20911
  }, e.prototype.momentum = function(t, n, o, r, s, a, l) {
20888
20912
  l === void 0 && (l = this.options);
20889
- 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), _ = {
20890
- destination: t + d * d / h * (u < 0 ? -1 : 1),
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),
20891
20915
  duration: b,
20892
20916
  rate: 15
20893
20917
  };
@@ -21023,10 +21047,10 @@ var Behavior = (
21023
21047
  return !0;
21024
21048
  if (this.directionLockAction.checkMovingDirection(r, s, o))
21025
21049
  return this.actionsHandler.setInitiated(), !0;
21026
- 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);
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
21051
  if (!this.hooks.trigger(this.hooks.eventTypes.detectMovingDirection)) {
21028
21052
  this.fingerMoved || (this.fingerMoved = !0);
21029
- var g = d !== u || f !== h;
21053
+ var g = d !== u || f !== p;
21030
21054
  !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({
21031
21055
  x: d,
21032
21056
  y: f
@@ -21302,16 +21326,16 @@ var MIN_SCROLL_DISTANCE = 1, Scroller = (
21302
21326
  y: n
21303
21327
  }, s.end);
21304
21328
  if (this.hooks.trigger(this.hooks.eventTypes.scrollTo, d), !isSamePoint(u, d)) {
21305
- var h = Math.abs(d.x - u.x), f = Math.abs(d.y - u.y);
21306
- h < MIN_SCROLL_DISTANCE && f < MIN_SCROLL_DISTANCE && (o = 0, this.hooks.trigger(this.hooks.eventTypes.minDistanceScroll)), this.animater.move(u, d, o, a);
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);
21307
21331
  }
21308
21332
  }, e.prototype.scrollToElement = function(t, n, o, r, s) {
21309
- var a = getElement(t), l = offset(a), u = function(h, f, g) {
21310
- return typeof h == "number" ? h : h ? Math.round(f / 2 - g / 2) : 0;
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;
21311
21335
  };
21312
21336
  o = u(o, a.offsetWidth, this.wrapper.offsetWidth), r = u(r, a.offsetHeight, this.wrapper.offsetHeight);
21313
- var d = function(h, f, g, b) {
21314
- return h -= f, h = b.adjustPosition(h - g), h;
21337
+ var d = function(p, f, g, b) {
21338
+ return p -= f, p = b.adjustPosition(p - g), p;
21315
21339
  };
21316
21340
  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);
21317
21341
  }, e.prototype.resetPosition = function(t, n) {
@@ -21661,13 +21685,13 @@ var EventRegister$1 = (
21661
21685
  this.cleanCache();
21662
21686
  var l = this.scroll.scroller, u = l.scrollBehaviorX, d = l.scrollBehaviorY;
21663
21687
  u.setMovingDirection(-t.directionX), d.setMovingDirection(-t.directionY), u.setDirection(t.x), d.setDirection(t.y);
21664
- var h = u.performDampingAlgorithm(Math.round(t.x) + a.x, s), f = d.performDampingAlgorithm(Math.round(t.y) + a.x, s);
21688
+ var p = u.performDampingAlgorithm(Math.round(t.x) + a.x, s), f = d.performDampingAlgorithm(Math.round(t.y) + a.x, s);
21665
21689
  if (!this.scroll.trigger(this.scroll.eventTypes.mousewheelMove, {
21666
- x: h,
21690
+ x: p,
21667
21691
  y: f
21668
21692
  })) {
21669
21693
  var g = this.getEaseTime();
21670
- (h !== this.scroll.x || f !== this.scroll.y) && this.scroll.scrollTo(h, f, g);
21694
+ (p !== this.scroll.x || f !== this.scroll.y) && this.scroll.scrollTo(p, f, g);
21671
21695
  }
21672
21696
  r && (this.wheelMoveTimer = window.setTimeout(function() {
21673
21697
  n.wheelMoveTimer = 0;
@@ -21894,8 +21918,8 @@ var style = {
21894
21918
  var r = this.events[t];
21895
21919
  if (r)
21896
21920
  for (var s = r.length, a = __spreadArrays(r), l, u = 0; u < s; u++) {
21897
- var d = a[u], h = d[0], f = d[1];
21898
- if (h && (l = h.apply(f, n), l === !0))
21921
+ var d = a[u], p = d[0], f = d[1];
21922
+ if (p && (l = p.apply(f, n), l === !0))
21899
21923
  return l;
21900
21924
  }
21901
21925
  }, e.prototype.registerType = function(t) {
@@ -22010,7 +22034,7 @@ var style = {
22010
22034
  }), this.registerHooks(a, a.eventTypes.mousewheelEnd, function() {
22011
22035
  t.fade();
22012
22036
  }))), r) {
22013
- var h = this.scroll.options, f = h.disableMouse, g = h.disableTouch;
22037
+ var p = this.scroll.options, f = p.disableMouse, g = p.disableTouch;
22014
22038
  this.eventHandler = new EventHandler(this, {
22015
22039
  disableMouse: f,
22016
22040
  disableTouch: g
@@ -22089,10 +22113,10 @@ var style = {
22089
22113
  var n = this.caculatePosAndSize(t, this.scrollInfo), o = n.pos, r = n.size;
22090
22114
  this.refreshStyle(r, o), this.currentPos = o;
22091
22115
  }, e.prototype.caculatePosAndSize = function(t, n) {
22092
- 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;
22093
- 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, {
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, {
22094
22118
  pos: d,
22095
- size: h
22119
+ size: p
22096
22120
  };
22097
22121
  }, e.prototype.refreshStyle = function(t, n) {
22098
22122
  var o = this.keysMap, r = o.translateProperty, s = o.size, a = this.scroll.options.translateZ;
@@ -22116,8 +22140,8 @@ var style = {
22116
22140
  var n = this.currentPos, o = this.scrollInfo, r = o.maxScrollPos, s = o.minScrollPos, a = n === s && t <= 0 || n === r && t >= 0;
22117
22141
  return a;
22118
22142
  }, e.prototype.syncBScroll = function(t) {
22119
- 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 };
22120
- 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, _);
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, _);
22121
22145
  }, e.prototype.newPos = function(t, n, o) {
22122
22146
  var r = o.maxScrollPos, s = o.sizeRatio, a = o.minScrollPos, l = t + n;
22123
22147
  return l = between(l, a, r), Math.round(l / s);
@@ -22163,8 +22187,8 @@ var style = {
22163
22187
  ], a = this.options.customElements, l = 0; l < r.length; l++) {
22164
22188
  var u = r[l];
22165
22189
  if (n.options[u]) {
22166
- var d = a.shift(), h = s[l], f = !1, g = d || this.createScrollbarElement(h);
22167
- 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));
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));
22168
22192
  }
22169
22193
  }
22170
22194
  this.indicators = o;
@@ -22266,8 +22290,8 @@ function calculateDepths(e, t) {
22266
22290
  return n;
22267
22291
  }
22268
22292
  function checkBeyondBoundary(e) {
22269
- 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;
22270
- return o ? d || h : n ? l || u : !1;
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;
22271
22295
  }
22272
22296
  function setupData(e) {
22273
22297
  var t = hasScroll(e), n = t.hasHorizontalScroll, o = t.hasVerticalScroll, r = e.scroller, s = r.actions, a = r.scrollBehaviorX, l = r.scrollBehaviorY;
@@ -22283,9 +22307,9 @@ function patchedMomentum(e, t, n, o, r, s, a) {
22283
22307
  a === void 0 && (a = this.options);
22284
22308
  var l = e - t, u = Math.abs(l) / n, d = a.deceleration;
22285
22309
  a.swipeBounceTime;
22286
- var h = a.swipeTime, f = {
22310
+ var p = a.swipeTime, f = {
22287
22311
  destination: e + u / d * (l < 0 ? -1 : 1),
22288
- duration: h,
22312
+ duration: p,
22289
22313
  rate: 15
22290
22314
  };
22291
22315
  return this.hooks.trigger(this.hooks.eventTypes.momentum, f, l), f.destination < o ? (f.destination = s ? Math.max(
@@ -22404,11 +22428,11 @@ var ease = {
22404
22428
  };
22405
22429
  }
22406
22430
  }, e.prototype.computePagePosInfo = function(t, n) {
22407
- var o = [], r = 0, s, a, l, u = 0, d, h = this.scroll.scroller.scrollBehaviorX.maxScrollPos, f = this.scroll.scroller.scrollBehaviorY.maxScrollPos;
22431
+ var o = [], r = 0, s, a, l, u = 0, d, p = this.scroll.scroller.scrollBehaviorX.maxScrollPos, f = this.scroll.scroller.scrollBehaviorY.maxScrollPos;
22408
22432
  for (a = Math.round(t / 2), l = Math.round(n / 2); r > -this.scrollerWidth; ) {
22409
22433
  for (o[u] = [], d = 0, s = 0; s > -this.scrollerHeight; )
22410
22434
  o[u][d] = {
22411
- x: Math.max(r, h),
22435
+ x: Math.max(r, p),
22412
22436
  y: Math.max(s, f),
22413
22437
  width: t,
22414
22438
  height: n,
@@ -22419,8 +22443,8 @@ var ease = {
22419
22443
  }
22420
22444
  return o;
22421
22445
  }, e.prototype.computePagePosInfoByEl = function(t) {
22422
- 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++)
22423
- 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] = {
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] = {
22424
22448
  x: o,
22425
22449
  y: r,
22426
22450
  width: f.width,
@@ -22602,12 +22626,12 @@ var ease = {
22602
22626
  var a = this.setSlideWidth(o), l = this.setSlideHeight(
22603
22627
  this.scroll.scroller.wrapper,
22604
22628
  o
22605
- ), u = a || l, d = this.scroll.hooks, h = this.scroll.scroller.hooks;
22606
- 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() {
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() {
22607
22631
  return !0;
22608
22632
  }), this.registorHooks(this.scroll, "mousewheelEnd", function(f) {
22609
22633
  (f.directionX === 1 || f.directionY === 1) && t.next(), (f.directionX === -1 || f.directionY === -1) && t.prev();
22610
- })), n.listenFlick !== !1 && this.registorHooks(h, "flick", this.flickHandler), !r && !u ? this.initSlideState() : this.scroll.refresh();
22634
+ })), n.listenFlick !== !1 && this.registorHooks(p, "flick", this.flickHandler), !r && !u ? this.initSlideState() : this.scroll.refresh();
22611
22635
  }, e.prototype.resize = function() {
22612
22636
  var t = this, n = this.scroll.scroller.content, o = this.scroll.scroller.wrapper;
22613
22637
  return clearTimeout(this.resizeTimeout), this.resizeTimeout = window.setTimeout(function() {
@@ -22746,8 +22770,8 @@ var ease = {
22746
22770
  n === void 0 && (n = 0);
22747
22771
  var s = this.page.change2safePage(t, n);
22748
22772
  if (s) {
22749
- 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;
22750
- !d && !h || (o = o === void 0 ? this.getAnimateTime(d, h) : o, this.page.changeCurrentPage({
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({
22751
22775
  x: l,
22752
22776
  y: u,
22753
22777
  pageX: s.pageX,
@@ -26661,15 +26685,15 @@ const EventSender$1 = {
26661
26685
  for (let _ of b)
26662
26686
  d[_] = !0;
26663
26687
  });
26664
- var h = [];
26688
+ var p = [];
26665
26689
  for (var f in d)
26666
- h.push({
26690
+ p.push({
26667
26691
  name: f,
26668
26692
  type: "*",
26669
26693
  plug: "output",
26670
26694
  displayName: f
26671
26695
  });
26672
- e.editorConnection.sendDynamicPorts(o.id, h, {
26696
+ e.editorConnection.sendDynamicPorts(o.id, p, {
26673
26697
  detectRenamed: {
26674
26698
  plug: "output"
26675
26699
  }
@@ -27190,7 +27214,7 @@ const JavaScript = {
27190
27214
  });
27191
27215
  }), _parseAndSourceJavascript(o, e, function(u) {
27192
27216
  u.forEach((d) => {
27193
- s.find((h) => h.name === d.name && h.plug === d.plug) || s.push(d);
27217
+ s.find((p) => p.name === d.name && p.plug === d.plug) || s.push(d);
27194
27218
  }), e.editorConnection.sendDynamicPorts(o.id, s);
27195
27219
  });
27196
27220
  }
@@ -27394,8 +27418,8 @@ const StatesNode = {
27394
27418
  u
27395
27419
  );
27396
27420
  else if (this.valueTypes[a] === "color") {
27397
- let d = this.startValues[a], h = this.targetValues[a];
27398
- 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);
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);
27399
27423
  }
27400
27424
  }
27401
27425
  e.flagOutputDirty(a);
@@ -27579,11 +27603,11 @@ const StatesNode = {
27579
27603
  for (var s in t.values) {
27580
27604
  var a = t.values[s];
27581
27605
  t.startValues[a] = t.currentValues[a];
27582
- const h = t.stateParameterTypes["type-" + a];
27583
- if (h === "boolean") {
27606
+ const p = t.stateParameterTypes["type-" + a];
27607
+ if (p === "boolean") {
27584
27608
  var l = t.stateParameters["value-" + e + "-" + a];
27585
27609
  t.currentValues[a] = l === void 0 ? !1 : !!l, this.flagOutputDirty(a);
27586
- } else if (h === "string" || h === "textStyle")
27610
+ } else if (p === "string" || p === "textStyle")
27587
27611
  t.currentValues[a] = t.stateParameters["value-" + e + "-" + a], this.flagOutputDirty(a);
27588
27612
  else {
27589
27613
  var u = t.stateParameters["transition-" + e + "-" + a];
@@ -27719,8 +27743,8 @@ function updatePorts$9(e, t, n) {
27719
27743
  previousStates[e] = o;
27720
27744
  var d = detectRename$1(previousValues[e], r);
27721
27745
  previousValues[e] = r;
27722
- let h;
27723
- u ? (h = {
27746
+ let p;
27747
+ u ? (p = {
27724
27748
  plug: "input",
27725
27749
  before: u.before,
27726
27750
  after: u.after,
@@ -27736,8 +27760,8 @@ function updatePorts$9(e, t, n) {
27736
27760
  "reached-{{*}}"
27737
27761
  ]
27738
27762
  }, r && r.forEach(function(f) {
27739
- h.patterns.push("value-{{*}}-" + f);
27740
- })) : d && (h = [
27763
+ p.patterns.push("value-{{*}}-" + f);
27764
+ })) : d && (p = [
27741
27765
  {
27742
27766
  plug: "output",
27743
27767
  before: d.before,
@@ -27758,7 +27782,7 @@ function updatePorts$9(e, t, n) {
27758
27782
  return "value-" + f + "-{{*}}";
27759
27783
  }) : void 0
27760
27784
  }
27761
- ]), n.sendDynamicPorts(e, s, { renamed: h });
27785
+ ]), n.sendDynamicPorts(e, s, { renamed: p });
27762
27786
  }
27763
27787
  const States = {
27764
27788
  node: StatesNode,
@@ -28204,7 +28228,7 @@ const ParentComponentObject = {
28204
28228
  //we also need the connections to be setup so we can use isInputConnected
28205
28229
  //nodeScopeDidInitialize takes care of that
28206
28230
  nodeScopeDidInitialize() {
28207
- this._internal.modelId || this.context.scheduleAfterUpdate(() => {
28231
+ this._internal && !this._internal.modelId && this.context.scheduleAfterUpdate(() => {
28208
28232
  this.updateComponentState();
28209
28233
  });
28210
28234
  },
@@ -28453,16 +28477,16 @@ function extendSetComponentObjectProperties(e) {
28453
28477
  if (u) {
28454
28478
  u = u ? u.split(",") : void 0;
28455
28479
  for (var d in u) {
28456
- var h = u[d];
28480
+ var p = u[d];
28457
28481
  a.push({
28458
28482
  type: {
28459
- name: r["type-" + h] === void 0 ? "*" : r["type-" + h]
28483
+ name: r["type-" + p] === void 0 ? "*" : r["type-" + p]
28460
28484
  },
28461
28485
  plug: "input",
28462
28486
  group: "Property Values",
28463
- displayName: h,
28487
+ displayName: p,
28464
28488
  // editorName:p,
28465
- name: "prop-" + h
28489
+ name: "prop-" + p
28466
28490
  }), a.push({
28467
28491
  type: {
28468
28492
  name: "enum",
@@ -28471,9 +28495,9 @@ function extendSetComponentObjectProperties(e) {
28471
28495
  },
28472
28496
  plug: "input",
28473
28497
  group: "Property Types",
28474
- displayName: h,
28498
+ displayName: p,
28475
28499
  default: "*",
28476
- name: "type-" + h
28500
+ name: "type-" + p
28477
28501
  });
28478
28502
  }
28479
28503
  }
@@ -30299,10 +30323,10 @@ const NavigateBack$1 = {
30299
30323
  n && (o = n.map(function(d) {
30300
30324
  return d.replace("{", "").replace("}", "");
30301
30325
  })), o.forEach(function(d) {
30302
- var h = e.params[d];
30326
+ var p = e.params[d];
30303
30327
  t = t.replace(
30304
30328
  "{" + d + "}",
30305
- h !== void 0 ? h : ""
30329
+ p !== void 0 ? p : ""
30306
30330
  );
30307
30331
  });
30308
30332
  var r, s, a = Runtime.instance.getProjectSettings().navigationPathType;
@@ -30343,14 +30367,14 @@ const NavigateBack$1 = {
30343
30367
  function s() {
30344
30368
  var a = [];
30345
30369
  if (r.parameters.path !== void 0)
30346
- var l = r.parameters.path.match(/\{[A-Za-z0-9_]*\}/g) || [], u = l.map(function(h) {
30347
- return h.replace("{", "").replace("}", "");
30348
- }), a = u.filter(function(h, f, g) {
30349
- return g.indexOf(h) === f;
30350
- }).map(function(h) {
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) {
30351
30375
  return {
30352
- name: "p-" + h,
30353
- displayName: h,
30376
+ name: "p-" + p,
30377
+ displayName: p,
30354
30378
  group: "Parameter",
30355
30379
  type: "*",
30356
30380
  plug: "input"
@@ -30533,11 +30557,11 @@ function setup(e, t) {
30533
30557
  var u = o.parameters.transition || "Push";
30534
30558
  Transitions[u] && (l = l.concat(Transitions[u].ports(o.parameters)));
30535
30559
  }
30536
- const h = t.getNodesWithType("Page Stack").find(
30560
+ const p = t.getNodesWithType("Page Stack").find(
30537
30561
  (f) => (f.parameters.name || "Main") === (o.parameters.stack || "Main")
30538
30562
  );
30539
- if (h !== void 0) {
30540
- const f = h.parameters.pages;
30563
+ if (p !== void 0) {
30564
+ const f = p.parameters.pages;
30541
30565
  if (f !== void 0 && f.length > 0) {
30542
30566
  l.push({
30543
30567
  plug: "input",
@@ -30553,7 +30577,7 @@ function setup(e, t) {
30553
30577
  name: "target",
30554
30578
  default: f[0].id
30555
30579
  });
30556
- const g = o.parameters.target || f[0].id, b = h.parameters["pageComp-" + g];
30580
+ const g = o.parameters.target || f[0].id, b = p.parameters["pageComp-" + g];
30557
30581
  if (b !== void 0) {
30558
30582
  const _ = t.components[b];
30559
30583
  if (_ !== void 0) {
@@ -30598,9 +30622,9 @@ function setup(e, t) {
30598
30622
  if (u !== void 0) {
30599
30623
  var d = u.parameters.pages;
30600
30624
  if (!(d === void 0 || d.length === 0)) {
30601
- var h = u.parameters["pageComp-" + (o.parameters.target || d[0].id)];
30602
- if (h !== void 0) {
30603
- var f = t.components[h];
30625
+ var p = u.parameters["pageComp-" + (o.parameters.target || d[0].id)];
30626
+ if (p !== void 0) {
30627
+ var f = t.components[p];
30604
30628
  if (f !== void 0) {
30605
30629
  f.on("inputPortAdded", r), f.on("inputPortRemoved", r);
30606
30630
  for (const g of f.getNodesWithType("PageStackNavigateBack"))
@@ -30739,11 +30763,11 @@ const Navigate$1 = {
30739
30763
  var u = t.components[l];
30740
30764
  if (u) {
30741
30765
  for (var d in u.inputPorts) {
30742
- var h = u.inputPorts[d];
30766
+ var p = u.inputPorts[d];
30743
30767
  a.push({
30744
30768
  name: "popupParam-" + d,
30745
30769
  displayName: d,
30746
- type: h.type || "*",
30770
+ type: p.type || "*",
30747
30771
  plug: "input",
30748
30772
  group: "Params"
30749
30773
  });
@@ -30892,8 +30916,8 @@ const Navigate$1 = {
30892
30916
  var d = o.parameters.closeActions;
30893
30917
  if (d) {
30894
30918
  d = d ? d.split(",") : void 0;
30895
- for (const h in d) {
30896
- const f = d[h];
30919
+ for (const p in d) {
30920
+ const f = d[p];
30897
30921
  s.push({
30898
30922
  type: "signal",
30899
30923
  plug: "input",
@@ -31377,8 +31401,8 @@ function updatePorts$5(e, t, n, o) {
31377
31401
  for (var l in a)
31378
31402
  if (d.indexOf(l) === -1) {
31379
31403
  var u = a[l];
31380
- if (!r.find((h) => h.name === l) && u.type !== "Relation") {
31381
- const h = {
31404
+ if (!r.find((p) => p.name === l) && u.type !== "Relation") {
31405
+ const p = {
31382
31406
  String: "string",
31383
31407
  Boolean: "boolean",
31384
31408
  Number: "number",
@@ -31386,7 +31410,7 @@ function updatePorts$5(e, t, n, o) {
31386
31410
  };
31387
31411
  r.push({
31388
31412
  type: {
31389
- name: h[u.type] ? h[u.type] : "*"
31413
+ name: p[u.type] ? p[u.type] : "*"
31390
31414
  },
31391
31415
  plug: "input",
31392
31416
  group: "Properties",
@@ -33562,8 +33586,8 @@ lodash_isequal.exports;
33562
33586
  var hasRequiredLodash_isequal;
33563
33587
  function requireLodash_isequal() {
33564
33588
  return hasRequiredLodash_isequal || (hasRequiredLodash_isequal = 1, function(e, t) {
33565
- 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 = {};
33566
- 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;
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;
33567
33591
  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() {
33568
33592
  try {
33569
33593
  return fe && fe.binding && fe.binding("util");
@@ -33624,7 +33648,7 @@ function requireLodash_isequal() {
33624
33648
  var ye = Array.prototype, ue = Function.prototype, Se = Object.prototype, ge = re["__core-js_shared__"], ze = ue.toString, Z = Se.hasOwnProperty, Ce = function() {
33625
33649
  var m = /[^.]+$/.exec(ge && ge.keys && ge.keys.IE_PROTO || "");
33626
33650
  return m ? "Symbol(src)_1." + m : "";
33627
- }(), c = Se.toString, p = RegExp(
33651
+ }(), c = Se.toString, h = RegExp(
33628
33652
  "^" + ze.call(Z).replace(Ae, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
33629
33653
  ), 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;
33630
33654
  function nt(m) {
@@ -33808,7 +33832,7 @@ function requireLodash_isequal() {
33808
33832
  function on(m) {
33809
33833
  if (!Tt(m) || hn(m))
33810
33834
  return !1;
33811
- var P = wt(m) ? p : qe;
33835
+ var P = wt(m) ? h : qe;
33812
33836
  return P.test(ot(m));
33813
33837
  }
33814
33838
  function rn(m) {
@@ -33863,7 +33887,7 @@ function requireLodash_isequal() {
33863
33887
  m = m.buffer, P = P.buffer;
33864
33888
  case J:
33865
33889
  return !(m.byteLength != P.byteLength || !X(new O(m), new O(P)));
33866
- case h:
33890
+ case p:
33867
33891
  case f:
33868
33892
  case A:
33869
33893
  return Ot(+m, +P);
@@ -34529,9 +34553,9 @@ function updatePorts$1(e, t, n, o) {
34529
34553
  },
34530
34554
  plug: "input"
34531
34555
  }), t.$ndlCollectionName && o) {
34532
- var h = o.find((_) => _.name === t.$ndlCollectionName);
34533
- if (h && h.schema && h.schema.properties) {
34534
- var f = h.schema.properties;
34556
+ var p = o.find((_) => _.name === t.$ndlCollectionName);
34557
+ if (p && p.schema && p.schema.properties) {
34558
+ var f = p.schema.properties;
34535
34559
  for (var g in f) {
34536
34560
  var l = f[g];
34537
34561
  r.find((T) => T.name === g) || (l.type === "Relation" ? (r.push({
@@ -34689,8 +34713,8 @@ function _convertFilterOp(e, t) {
34689
34713
  var l = Model.get(g.pointsTo);
34690
34714
  if (CloudStore._collections[t.collectionName])
34691
34715
  var u = CloudStore._collections[t.collectionName].schema;
34692
- 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;
34693
- h === "Relation" ? o[r] = {
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] = {
34694
34718
  __type: "Pointer",
34695
34719
  objectId: g.pointsTo,
34696
34720
  className: d
@@ -34927,14 +34951,14 @@ var DbCollectionNode = {
34927
34951
  const g = {};
34928
34952
  for (let b in e)
34929
34953
  b.startsWith("storageFilterValue-") && (g[b.substring(19)] = e[b]);
34930
- var h = [u, u, d, g];
34954
+ var p = [u, u, d, g];
34931
34955
  this._internal.filterVariables.forEach((b) => {
34932
- h.push(
34956
+ p.push(
34933
34957
  e["storageFilterValue-" + b.substring(1)]
34934
34958
  );
34935
34959
  });
34936
34960
  try {
34937
- this._internal.filterFunc.apply(this, h);
34961
+ this._internal.filterFunc.apply(this, p);
34938
34962
  } catch (b) {
34939
34963
  console.log("Error while running filter script: " + b);
34940
34964
  }
@@ -35085,9 +35109,9 @@ function updatePorts(e, t, n, o) {
35085
35109
  editorName: d + " filter | Type",
35086
35110
  name: "storageFilterType-" + d
35087
35111
  });
35088
- var h = t["storageFilterType-" + d];
35112
+ var p = t["storageFilterType-" + d];
35089
35113
  r.push({
35090
- type: { name: "enum", enums: u[h || "string"] },
35114
+ type: { name: "enum", enums: u[p || "string"] },
35091
35115
  default: "eq",
35092
35116
  plug: "input",
35093
35117
  group: d + " filter",
@@ -35095,7 +35119,7 @@ function updatePorts(e, t, n, o) {
35095
35119
  editorName: d + " filter| Op",
35096
35120
  name: "storageFilterOp-" + d
35097
35121
  }), r.push({
35098
- type: h || "string",
35122
+ type: p || "string",
35099
35123
  plug: "input",
35100
35124
  group: d + " filter",
35101
35125
  displayName: "Value",
@@ -35112,7 +35136,7 @@ function updatePorts(e, t, n, o) {
35112
35136
  displayName: "Sort"
35113
35137
  }), t.storageSort) {
35114
35138
  var s = t.storageSort.split(",");
35115
- s.forEach((h) => {
35139
+ s.forEach((p) => {
35116
35140
  r.push({
35117
35141
  type: {
35118
35142
  name: "enum",
@@ -35123,10 +35147,10 @@ function updatePorts(e, t, n, o) {
35123
35147
  },
35124
35148
  default: "ascending",
35125
35149
  plug: "input",
35126
- group: h + " sort",
35150
+ group: p + " sort",
35127
35151
  displayName: "Sort",
35128
- editorName: h + " sorting",
35129
- name: "storageSort-" + h
35152
+ editorName: p + " sorting",
35153
+ name: "storageSort-" + p
35130
35154
  });
35131
35155
  });
35132
35156
  }